Crystal and Stellar element recipe inconsistencies between elements.ts and conversion-costs.ts #344
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug: Crystal and Stellar element recipe inconsistencies between elements.ts and conversion-costs.ts
Steps to reproduce
src/lib/game/constants/elements.ts→crystalandstellarentriessrc/lib/game/data/conversion-costs.ts→crystalandstellarentriesExpected
The recipe in
elements.tsand the component costs inconversion-costs.tsshould match for all elements.Actual
elements.tsrecipe is["sand", "sand", "light"](3 components: 2 sand + 1 light) butconversion-costs.tshas['sand', 'light'](2 components: 1 sand + 1 light)elements.tsrecipe is["plasma", "light", "fire"](3 components) butconversion-costs.tshas['plasma', 'light'](2 components, missing fire)The conversion system uses
conversion-costs.ts, so the gameplay cost differs from what the UI recipe display suggests.Root cause
The recipes were likely updated in
elements.tsbut not propagated toconversion-costs.ts.Files
src/lib/game/constants/elements.tssrc/lib/game/data/conversion-costs.ts[Low] [Bug] Crystal element recipe inconsistency between elements.ts and conversion-costs.tsto Crystal and Stellar element recipe inconsistencies between elements.ts and conversion-costs.ts