Task #7: four new shed weapons (Potato Cannon, Shurikens, Propane Torch, Alien Ray)
All four go in the main hand alongside the pitchfork and corn shooter, cooldown-based with no ammo, every stat GameConfig-tunable: Potato Cannon is a slow heavy shot, Shurikens a fast cheap throw, Propane Torch a sustained cone DoT while held (shares the pitchfork's cone-hit test), and Alien Ray a fast powerful shot that stays hidden in the shop until enough Alien Goop is collected. FarmProjectiles.fire() gained optional speed/lifetime overrides (backward compatible) so each ranged weapon can fly at its own pace. WeaponModels gained tinted placeholder pivots for the new weapons (no new art), and the number-key switch loop and HUD panel layout were fixed to not go out of bounds now that there are more main weapons than number keys. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
b43af8a680
commit
b9dcd24b5d
9 changed files with 399 additions and 62 deletions
|
|
@ -15,7 +15,8 @@ extends RefCounted
|
|||
## the corn shooter (bought at the shed) first ("requires" crosses shops freely).
|
||||
|
||||
## Menu order, grouped by track.
|
||||
const ORDER: Array[String] = ["corn_shooter", "rapid_fire", "heavy_seeds", "pumpkin_bomb", "wide_fear", "quick_fear",
|
||||
const ORDER: Array[String] = ["corn_shooter", "rapid_fire", "heavy_seeds", "pumpkin_bomb", "potato_cannon", "shurikens",
|
||||
"propane_torch", "alien_ray", "wide_fear", "quick_fear",
|
||||
"straw_stuffing", "pouch_upgrade", "sprint", "reinforced_fences", "long_range", "sticky_tar"]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue