4ee6222b0e
Replace the old GUARDIANS constant (arbitrary floor assignments) with a proper elemental → compound → exotic → combo progression: - Floors 10-70: Base elements (Fire, Water, Air, Earth, Light, Dark, Death) - Floor 80: Utility element (Transference) - Floors 90-110: Compound elements (Metal, Sand, Lightning) - Floors 120-140: Exotic elements (Crystal, Stellar, Void) - Floor 150+: Procedural combo guardians (scaling with floor) Key changes: - Create guardian-data.ts with BASE_GUARDIANS (14 static entries) - Simplify guardian-encounters.ts to only handle procedural combos (150+) - getGuardianForFloor() now generates names for empty-name entries - Remove old compound/exotic duplicate definitions from guardian-encounters.ts - Update spire-utils.test.ts to test the new progression - Update SpireSummaryTab.test.ts floor counts (14 static + 10 combo = 24) All 89 guardian-related tests pass. 3 pre-existing failures in room-utils-floor-state.test.ts are unrelated (speed room / floor 0 edge cases).
14 lines
623 B
Plaintext
14 lines
623 B
Plaintext
# Circular Dependencies
|
|
Generated: 2026-05-23T14:09:24.244Z
|
|
Found: 4 circular chain(s) — these MUST be fixed before modifying involved files.
|
|
|
|
1. Processed 129 files (1.5s) (3 warnings)
|
|
2. 1) stores/gameStore.ts > stores/gameActions.ts
|
|
3. 2) stores/gameStore.ts > stores/gameLoopActions.ts
|
|
4. 3) stores/gameStore.ts > stores/tick-pipeline.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) |