feat: add material crafting recipes to Fabricator
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m20s

This commit is contained in:
2026-05-27 14:39:44 +02:00
parent 3f20991d2d
commit 9a2da67006
8 changed files with 256 additions and 241 deletions
+9 -2
View File
@@ -1,4 +1,11 @@
# Circular Dependencies
Generated: 2026-05-27T10:56:11.451Z
Generated: 2026-05-27T12:13:52.087Z
Found: 1 circular chain(s) — these MUST be fixed before modifying involved files.
No circular dependencies found. ✅
1. 1) data/fabricator-recipes.ts > data/material-recipes.ts
## How to fix
1. Identify which import in the chain can be extracted to a shared types/utils file.
2. Move the shared type or function there.
3. Both files import from the new shared module instead of each other.
4. Run: bunx madge --circular src/lib/game (should return clean)
+16 -2
View File
@@ -1,6 +1,6 @@
{
"_meta": {
"generated": "2026-05-27T10:56:09.647Z",
"generated": "2026-05-27T12:13:50.329Z",
"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."
},
@@ -93,6 +93,12 @@
"stores/craftingStore.types.ts",
"types.ts"
],
"crafting-actions/crafting-material-actions.ts": [
"crafting-fabricator.ts",
"stores/combatStore.ts",
"stores/manaStore.ts",
"stores/uiStore.ts"
],
"crafting-actions/design-actions.ts": [
"crafting-design.ts",
"crafting-utils.ts",
@@ -153,6 +159,9 @@
],
"crafting-fabricator.ts": [
"data/fabricator-recipes.ts",
"stores/combatStore.ts",
"stores/manaStore.ts",
"stores/uiStore.ts",
"types.ts"
],
"crafting-loot.ts": [
@@ -357,7 +366,8 @@
"data/equipment/types.ts"
],
"data/fabricator-recipes.ts": [
"data/equipment/types.ts"
"data/equipment/types.ts",
"data/material-recipes.ts"
],
"data/golems/base-golems.ts": [
"data/golems/types.ts"
@@ -395,6 +405,9 @@
"data/loot-drops.ts": [
"types/game.ts"
],
"data/material-recipes.ts": [
"data/fabricator-recipes.ts"
],
"effects.ts": [
"data/enchantment-effects.ts",
"effects/discipline-effects.ts",
@@ -464,6 +477,7 @@
],
"stores/craftingStore.ts": [
"crafting-actions/application-actions.ts",
"crafting-actions/crafting-material-actions.ts",
"crafting-actions/equipment-actions.ts",
"crafting-actions/preparation-actions.ts",
"crafting-design.ts",
+2 -2
View File
@@ -313,11 +313,11 @@ Mana-Loop/
│ │ │ ├── crafting-recipes.ts
│ │ │ ├── enchantment-effects.ts
│ │ │ ├── enchantment-types.ts
│ │ │ ├── fabricator-recipe-types.ts
│ │ │ ├── fabricator-recipes.ts
│ │ │ ├── guardian-data.ts
│ │ │ ├── guardian-encounters.ts
│ │ │ ── loot-drops.ts
│ │ │ └── material-recipes.ts
│ │ │ ── loot-drops.ts
│ │ ├── effects/
│ │ │ ├── discipline-effects.ts
│ │ │ ├── dynamic-compute.ts