From 7eb6656f2a73556728db306fbf94771d980fe7ae Mon Sep 17 00:00:00 2001 From: neru Date: Thu, 18 Jun 2026 20:49:07 -0300 Subject: [PATCH] fix: remove unlockAllDLCs --- store/useInventoryStore.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/store/useInventoryStore.ts b/store/useInventoryStore.ts index 9ab615e..c3b48a3 100644 --- a/store/useInventoryStore.ts +++ b/store/useInventoryStore.ts @@ -7,12 +7,10 @@ export interface InventoryState { unlockedDLCs: string[]; items: Record; offerings: Record; - unlockAllDLCs: boolean; toggleItem: (id: string, category: 'characters' | 'customizations' | 'items' | 'offerings' | 'dlcs') => void; setItemQuantity: (id: string, qty: number) => void; setOfferingQuantity: (id: string, qty: number) => void; - setUnlockAllDLCs: (val: boolean) => void; unlockAllInCategory: (category: 'characters' | 'customizations' | 'items' | 'offerings' | 'dlcs', allIds: string[], qty?: number) => void; clearCategory: (category: 'characters' | 'customizations' | 'items' | 'offerings' | 'dlcs') => void; @@ -28,7 +26,6 @@ export const useInventoryStore = create()( unlockedDLCs: [], items: {}, offerings: {}, - unlockAllDLCs: false, toggleItem: (id, category) => set((state) => { if (category === 'characters') { @@ -87,7 +84,6 @@ export const useInventoryStore = create()( return { offerings: newOfferings }; }), - setUnlockAllDLCs: (val) => set({ unlockAllDLCs: val }), unlockAllInCategory: (category, allIds, qty = 100) => set((state) => { if (category === 'characters') { @@ -125,7 +121,6 @@ export const useInventoryStore = create()( unlockedDLCs: [], items: {}, offerings: {}, - unlockAllDLCs: false }), importProfile: (profile) => set((state) => {