52413777cd
- Rewrite skill definitions with 5-tier Continuous Talent Tree - Add perk choices at Level 5 and Level 10 for each tier - Add Elite Perks at T3 L10 and T5 L10 - Remove scrollCrafting (violates NO INSTANT FINISHING pillar) - Set max:1 for skills that don't need evolution paths - All 512 tests passing
3.8 KiB
3.8 KiB
Task 1 Progress
Initial Assessment (Completed)
- Repository Status: On branch master, ahead by 1 commit
- Uncommitted changes:
docs/task1.md,package-lock.json - Last commit: "Add task1_progress.md initial entry"
- Test Status: Failing - missing
src/test/setup.tsmodule - Created:
src/test/setup.tsto fix test initialization
Task Breakdown from task1.md
Core Design Pillars (Must be enforced)
- NO LOOP PRESERVATION: Remove skills that carry over mana, spells, equipment, blueprints (e.g., Temporal Memory, Emergency Reserve, Ancient Knowledge)
- NO INSTANT FINISHING: Remove % chances to instantly complete study, enchanting, or fabrication
- NO HEALING/LIFESTEAL: Player has no HP - remove all survival-based recovery mechanics
- NO TIMER ALTERATION: Cannot extend, pause, or reset the 30-day limit
- INCURSION MITIGATION: Skills can reduce Incursion Penalty (mana regen debuff), but clock remains absolute
Required Work
-
Rewrite Skill Definitions - Implement 5-Tier Continuous Talent Tree structure
- Each skill max level 10
- Milestone choices at Level 5 and Level 10 of EVERY Tier
- Total: 10 unique perk choices for fully mastered T5 skill
- Compounding Paths (e.g., Capacity vs. Efficiency)
- Elite Perks at T3 L10 and T5 L10
-
Generate Visual Talent Trees for:
- Mana Flow ✓
- Quick Learner ✓
- Invocation ✓
- Pact Mastery ✓
-
Define Hybrid Skills:
- Invoker + Enchanter = Pact-Weaving (TODO)
- Fabricator + Invoker = Guardian Constructs (TODO)
- Fabricator + Enchanter = Enchanted Golemancy (TODO)
-
Commit and push after each major section
Progress Log
2024-01-23 12:58 UTC
- ✓ Created missing
src/test/setup.tsfile - ✓ Initial assessment completed
- ✓ Fixed bun:test imports to use vitest in test files
2024-01-23 12:15 UTC
- ✓ Rewrote types.ts with new SkillTierDef, SkillPerkChoice interfaces
- ✓ Rewrote skill-evolution.ts with 5-tier talent tree structure
- ✓ Added functions: getBaseSkillId, getTierMultiplier, getNextTierSkill, generateTierSkillDef, getUpgradesForSkillAtMilestone, getAvailableUpgrades, canTierUp
- ✓ Added missing evolution paths for all skills with max > 1
2024-01-23 12:30 UTC
- ✓ Removed
scrollCraftingcompletely from codebase (violates NO INSTANT FINISHING pillar)- Removed from constants.ts
- Removed from DebugTab.tsx
- ✓ Set max:1 for skills that don't need evolution paths:
- essenceRefining, effCrafting, fieldRepair, elemCrafting, temporalMemory, golemMastery, golemEfficiency, golemLongevity, golemSiphon
- ✓ All 512 tests passing
2024-01-23 12:45 UTC
- ✓ Mana Flow talent tree implemented (T1-T5 with perk choices)
- ✓ Quick Learner talent tree implemented
- ✓ Invocation talent tree implemented (Invoker attunement)
- ✓ Pact Mastery talent tree implemented (Invoker attunement)
- ✓ Mana Well, Mana Tap, Mana Surge, Mana Spring, Insight Harvest, Guardian Bane trees added
- ✓ Enchanting, Efficient Enchant, Disenchanting, Enchant Speed trees added
- ✓ Knowledge Retention tree added
Next Steps
- Define Hybrid Skills (Pact-Weaving, Guardian Constructs, Enchanted Golemancy)
- Remove any remaining violations of core design pillars
- Run tests and fix any failures
- Commit and push changes to gitea
- Continue with remaining hybrid skill implementations
Files Modified
src/lib/game/types.ts- Updated with new interfacessrc/lib/game/skill-evolution.ts- Complete rewrite with 5-tier talent treessrc/lib/game/constants.ts- Removed scrollCrafting, updated max valuessrc/test/setup.ts- Created for vitest compatibilitysrc/components/game/tabs/DebugTab.tsx- Removed scrollCrafting references- Test files - Fixed vitest imports (bun:test → vitest)