Repair a broken working tree, and make every crafter press report
The crafter buttons doing nothing was not the crafter: Ship.gd was left mid-edit and failed to parse (undeclared SHIELD_COLOR/SHIELD_RADIUS, and a spawn() that only exists on the concrete VFX subclass). A script that does not compile takes Main.tscn's whole node tree with it, so every button in the game was dead. The project directory is the one being played from, so an unfinished edit there is a broken build - finish or revert before stopping. With that fixed, the real gap underneath: an order the crafter cannot pay for is ACCEPTED and queued (#16), which is indistinguishable from a dead button. Ordering now reports either "building now" or "queued - N more ore must be delivered here", and the transient message is rendered LAST so it is the first line read rather than buried under the standing fleet-capacity note. test_crafter_feedback covers all three presses and asserts the message survives the per-frame refresh, which is the specific way this looked broken before. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
0e071877e2
commit
004808f067
6 changed files with 413 additions and 14 deletions
1
tests/test_modal_blocks_input.gd.uid
Normal file
1
tests/test_modal_blocks_input.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://gr4k23bre8b6
|
||||
Loading…
Reference in a new issue