feat: add wizard and physical gear branches to Fabricator
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m21s

- Split fabricator-recipes.ts into 4 files (all under 400 lines):
  - fabricator-recipes.ts: core/elemental equipment recipes + helpers
  - fabricator-wizard-recipes.ts: 7 wizard branch recipes (staffs, circlet, robe, catalyst, pendant)
  - fabricator-physical-recipes.ts: 9 physical branch recipes (blades, helm, robe, boots, gauntlets, shields)
  - fabricator-material-recipes.ts: 12 material crafting recipes
- Added branch filter UI (All/Elemental/Wizard/Physical) to FabricatorSubTab
- All 902 tests pass
This commit is contained in:
2026-05-27 15:22:16 +02:00
parent 9a2da67006
commit 5e76fe7145
9 changed files with 510 additions and 314 deletions
+2 -9
View File
@@ -1,11 +1,4 @@
# Circular Dependencies
Generated: 2026-05-27T12:13:52.087Z
Found: 1 circular chain(s) — these MUST be fixed before modifying involved files.
Generated: 2026-05-27T12:39:49.991Z
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)
No circular dependencies found. ✅
+5 -6
View File
@@ -1,6 +1,6 @@
{
"_meta": {
"generated": "2026-05-27T12:13:50.329Z",
"generated": "2026-05-27T12:39:48.093Z",
"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."
},
@@ -365,9 +365,11 @@
"data/equipment/equipment-types-data.ts",
"data/equipment/types.ts"
],
"data/fabricator-recipe-types.ts": [
"data/equipment/types.ts"
],
"data/fabricator-recipes.ts": [
"data/equipment/types.ts",
"data/material-recipes.ts"
"data/fabricator-recipe-types.ts"
],
"data/golems/base-golems.ts": [
"data/golems/types.ts"
@@ -405,9 +407,6 @@
"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",
+3 -1
View File
@@ -313,8 +313,11 @@ Mana-Loop/
│ │ │ ├── crafting-recipes.ts
│ │ │ ├── enchantment-effects.ts
│ │ │ ├── enchantment-types.ts
│ │ │ ├── fabricator-material-recipes.ts
│ │ │ ├── fabricator-physical-recipes.ts
│ │ │ ├── fabricator-recipe-types.ts
│ │ │ ├── fabricator-recipes.ts
│ │ │ ├── fabricator-wizard-recipes.ts
│ │ │ ├── guardian-data.ts
│ │ │ ├── guardian-encounters.ts
│ │ │ └── loot-drops.ts
@@ -389,7 +392,6 @@ Mana-Loop/
├── Caddyfile
├── Dockerfile
├── README.md
├── STATS_TAB_INVESTIGATION_REPORT.md
├── bun.lock
├── bunfig.toml
├── components.json