the speed ship should have upgrades #205
Loading…
Reference in a new issue
No description provided.
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?
Implemented in commit
7883688onmain.The Propulser was the only fleet hull whose ship lab offered nothing at all. It now carries three, in the same shape as the laser's:
minimum_stats.How
Each of those was a hardcoded constant: the dash recharge on the component, the dash distance in
DashController, and the drain rate inGameState. All three are vessel stats now, so the ship lab reaches them the way it reaches every other upgrade. The old constants remain as what the definition declares and what an unresearched hull falls back to. The dash guide reads the same stat the dash uses, so it cannot promise reach the fleet has not researched.Verification
New
test_propulser_upgrades.gdchecks each upgrade reaches the thing it changes rather than only reading well in the menu - including that a hull built AFTER the research carries it, since a stat that never reaches the component upgrades nothing. It also pushes the recharge past the branch's own maximum to prove the floor holds.