💡 Remove memory slot system and Memories section from PrestigeTab #122
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Request
The memory slot system (inscribing spells into a grimoire for the next loop) should be removed. This involves:
PrestigeTab.tsx(theMemoriesCardcomponent and its usage)constants/prestige.tsprestigeStore.ts(memorySlots,memories,addMemory,removeMemory,clearMemories)Memoryinterface fromtypes.tsmemorySlotsdisplay fromStatsTab/LoopStatsSection.tsxFiles Involved
src/components/game/tabs/PrestigeTab.tsx— RemoveMemoriesCardcomponent and its usagesrc/lib/game/constants/prestige.ts— RemovedeepMemoryentrysrc/lib/game/stores/prestigeStore.ts— Remove memory-related state and actionssrc/lib/game/stores/gameLoopActions.ts— RemovedeepMemoryreference in slot calculationsrc/lib/game/types.ts— RemoveMemoryinterfacesrc/components/game/tabs/StatsTab/LoopStatsSection.tsx— Remove memory slots displaysrc/lib/game/__tests__/store-actions-combat-prestige.test.ts— Remove memory-related testssrc/components/game/tabs/PrestigeTab.test.ts— RemovedeepMemoryfrom expected upgradesContext
The memory slot system is fully wired in the store and UI but has no gameplay mechanic that populates memories — no code calls
addMemory()outside of tests. The memories array is always empty in practice. Removing this system simplifies the Prestige tab and eliminates dead code.Starting work on #122 — removing the memory slot system and Memories section from PrestigeTab. Reading all affected files first.
✅ #122 — Remove Memory Slot System — RESOLVED
Successfully removed the memory slot system across 9 files (11 files changed, 29 insertions, 151 deletions):
Source changes:
src/lib/game/constants/prestige.ts— RemoveddeepMemoryupgrade entrysrc/lib/game/types.ts— RemovedMemoryinterfacesrc/lib/game/stores/prestigeStore.ts— RemovedmemorySlots,memories,addMemory,removeMemory,clearMemoriesstate/actions; simplifiedresetPrestigeForNewLoopsignaturesrc/lib/game/stores/gameLoopActions.ts— RemoveddeepMemory/memories references fromresetPrestigeForNewLoopcallsrc/components/game/tabs/PrestigeTab.tsx— RemovedMemoriesCardcomponent and its usage; updated "memories" text referencessrc/components/game/tabs/StatsTab/LoopStatsSection.tsx— RemovedmemorySlotsdisplay statTest changes:
src/lib/game/__tests__/store-actions-combat-prestige.test.ts— Removed deepMemory test, addMemory/removeMemory/clearMemories tests, updated resetPrestigeForNewLoop testsrc/components/game/tabs/PrestigeTab.test.ts— RemoveddeepMemoryfrom expected IDs, updated count from 14→13src/lib/game/__tests__/tick-integration.test.ts— Removed memorySlots/memories from prestige store resetAll 76 tests in affected test files pass. Commit:
25109c9