refactor: remove memory slot system and Memories section from PrestigeTab
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m26s

- Remove deepMemory prestige upgrade from constants/prestige.ts
- Remove Memory interface from types.ts
- Remove memorySlots, memories, addMemory, removeMemory, clearMemories from prestigeStore.ts
- Remove deepMemory/memory references from gameLoopActions.ts
- Remove MemoriesCard component and its usage from PrestigeTab.tsx
- Remove memorySlots display from LoopStatsSection.tsx
- Update tests: store-actions-combat-prestige.test.ts, PrestigeTab.test.ts, tick-integration.test.ts

The memory slot system was fully wired but had no gameplay mechanic — addMemory()
was never called outside tests. This removes dead code across 9 files.
This commit is contained in:
2026-05-25 11:51:10 +02:00
parent 23a83a04cf
commit 25109c920a
11 changed files with 29 additions and 151 deletions
+11 -5
View File
@@ -1,6 +1,6 @@
{
"_meta": {
"generated": "2026-05-23T17:29:48.378Z",
"generated": "2026-05-24T12:34:52.317Z",
"description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.",
"usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry."
},
@@ -203,6 +203,7 @@
"types/disciplines.ts"
],
"data/enchantment-effects.ts": [
"data/enchantment-types.ts",
"data/enchantments/index.ts"
],
"data/enchantment-types.ts": [
@@ -361,7 +362,9 @@
"data/golems/types.ts",
"data/golems/utils.ts"
],
"data/golems/types.ts": [],
"data/golems/types.ts": [
"types.ts"
],
"data/golems/utils.ts": [
"data/golems/golems-data.ts",
"data/golems/types.ts"
@@ -374,7 +377,7 @@
"types.ts"
],
"data/loot-drops.ts": [
"types.ts"
"types/game.ts"
],
"effects.ts": [
"data/enchantment-effects.ts",
@@ -441,7 +444,8 @@
"utils/safe-persist.ts"
],
"stores/crafting-initial-state.ts": [
"crafting-utils.ts"
"crafting-utils.ts",
"types.ts"
],
"stores/craftingStore.ts": [
"crafting-actions/application-actions.ts",
@@ -472,6 +476,7 @@
"data/disciplines/enchanter.ts",
"data/disciplines/fabricator.ts",
"data/disciplines/invoker.ts",
"types.ts",
"types/disciplines.ts",
"utils/discipline-math.ts",
"utils/safe-persist.ts"
@@ -631,7 +636,8 @@
],
"utils/floor-utils.ts": [
"constants.ts",
"data/guardian-encounters.ts"
"data/guardian-encounters.ts",
"utils/room-utils.ts"
],
"utils/formatting.ts": [],
"utils/index.ts": [