#46: sprint becomes a permanent speed upgrade
Owning the Sprint upgrade now multiplies the scarecrow's speed by
sprint_speed_mult (1.25) all the time, walking and running, on every
platform; the run clip speeds up to match. The hold-to-sprint burst is
gone: sprint_time, sprint_cooldown, the stamina state in PlayerCharacter
(can_sprint is now has_sprint), and the HUD's stamina bar. The upgrade
keeps its id, cost, and name; its text is "Run 25% faster, always".
The sprint input action stays in project.godot, unused.
Tests: test_scarecrow's sprint checks cover 1x without it, x1.25 with it
(run and walk, clip speed, network strength), 30 s with no time limit,
no cooldown, the next morning, and no platform dependence; test_nights
checks it after the retry and a loaded save; test_economy checks the
text matches the multiplier, the menu row, and that an old save's
{"sprint": 1} still owns it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f0291133fd
commit
962c7b0b93
9 changed files with 138 additions and 149 deletions
|
|
@ -203,7 +203,7 @@ upgrades = {
|
|||
},
|
||||
"sprint": {
|
||||
"name": "Sprint",
|
||||
"text": "Sprint 80% faster for 4 s at a time, every 10 s",
|
||||
"text": "Run 25% faster, always",
|
||||
"track": "Scarecrow"
|
||||
},
|
||||
"sticky_tar": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue