Merge task #7: Potato Cannon, Shurikens, Propane Torch, Alien Ray (shed weapons)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
72e84f14e2
9 changed files with 399 additions and 62 deletions
|
|
@ -119,6 +119,10 @@ extends Resource
|
|||
"sprint": {"wood": 8, "straw": 6},
|
||||
"corn_shooter": {"scrap": 10, "wood": 4},
|
||||
"pumpkin_bomb": {"straw": 12, "scrap": 6},
|
||||
"potato_cannon": {"scrap": 14, "wood": 8},
|
||||
"shurikens": {"scrap": 6, "straw": 4},
|
||||
"propane_torch": {"scrap": 12, "straw": 4, "wood": 6},
|
||||
"alien_ray": {"alien_goop": 6, "scrap": 10},
|
||||
"rapid_fire": {"scrap": 12, "wood": 8},
|
||||
"heavy_seeds": {"scrap": 14, "straw": 10},
|
||||
"wide_fear": {"straw": 20, "wood": 4},
|
||||
|
|
@ -145,6 +149,10 @@ extends Resource
|
|||
"rapid_fire": {"name": "Rapid fire", "text": "The corn shooter fires a third faster", "track": "Weapon", "stat": "fire_rate", "mult": 1.333, "requires": "corn_shooter"},
|
||||
"heavy_seeds": {"name": "Heavy seeds", "text": "Each kernel does 2 damage", "track": "Weapon", "stat": "shot_damage", "add": 1, "requires": "corn_shooter"},
|
||||
"pumpkin_bomb": {"name": "Pumpkin bombs", "text": "Throw a pumpkin that bursts, hurting everything within 3 m (one every 4 s)", "track": "Weapon", "shop": "shed"},
|
||||
"potato_cannon": {"name": "Potato cannon", "text": "A slow heavy potato shot that hits hard from afar", "track": "Weapon", "shop": "shed"},
|
||||
"shurikens": {"name": "Shurikens", "text": "Fast, cheap throws for a quick hit", "track": "Weapon", "shop": "shed"},
|
||||
"propane_torch": {"name": "Propane torch", "text": "A short-range jet of flame that burns everything in its cone while held", "track": "Weapon", "shop": "shed"},
|
||||
"alien_ray": {"name": "Alien ray", "text": "A salvaged alien weapon: a fast, powerful beam", "track": "Weapon", "shop": "shed", "hidden": true},
|
||||
"wide_fear": {"name": "Wide fear", "text": "Fear reaches 30% farther", "track": "Fear", "stat": "fear_radius", "mult": 1.3},
|
||||
"quick_fear": {"name": "Quick fear", "text": "Fear recharges 20% faster", "track": "Fear", "stat": "fear_cooldown", "mult": 0.8},
|
||||
"straw_stuffing": {"name": "Straw stuffing", "text": "+2 max health", "track": "Scarecrow", "stat": "scarecrow_max_hp", "add": 2},
|
||||
|
|
@ -235,6 +243,37 @@ extends Resource
|
|||
## Right-stick radial dead zone, and mouse travel (px) that switches aiming back to the mouse.
|
||||
@export var aim_dead_zone: float = 0.3
|
||||
@export var mouse_switch_threshold: float = 12.0
|
||||
## Potato Cannon (the Potato cannon upgrade, bought at the supply shed, Task #7): one heavy potato
|
||||
## every potato_cannon_cooldown s, potato_cannon_damage each, flying slow (potato_cannon_speed m/s)
|
||||
## and not far (potato_cannon_lifetime s) through FarmProjectiles.
|
||||
@export var potato_cannon_cooldown: float = 1.4
|
||||
@export_range(1, 50) var potato_cannon_damage: int = 6
|
||||
@export var potato_cannon_speed: float = 11.0
|
||||
@export var potato_cannon_lifetime: float = 2.5
|
||||
## Shurikens (the Shurikens upgrade, bought at the supply shed): shuriken_count thrown every
|
||||
## shuriken_cooldown s, shuriken_damage each, flying fast (shuriken_speed m/s) and not far
|
||||
## (shuriken_lifetime s).
|
||||
@export var shuriken_cooldown: float = 0.25
|
||||
@export_range(1, 20) var shuriken_damage: int = 1
|
||||
@export var shuriken_speed: float = 34.0
|
||||
@export var shuriken_lifetime: float = 1.0
|
||||
@export_range(1, 6) var shuriken_count: int = 1
|
||||
## Propane Torch (the Propane torch upgrade, bought at the supply shed): a sustained cone while
|
||||
## held, a tick every torch_tick_interval s, torch_damage each to every enemy within torch_range m
|
||||
## and torch_arc degrees of the aim (the nearest torch_targets), with a clear line (ScarecrowCombat,
|
||||
## the same cone test as the pitchfork's).
|
||||
@export var torch_range: float = 3.5
|
||||
@export var torch_arc: float = 55.0
|
||||
@export_range(1, 20) var torch_damage: int = 1
|
||||
@export_range(1, 20) var torch_targets: int = 5
|
||||
@export var torch_tick_interval: float = 0.2
|
||||
## Alien Ray (the Alien ray upgrade, hidden until hidden_reveal_goop Alien Goop is collected): one
|
||||
## heavy shot every alien_ray_cooldown s, alien_ray_damage each, flying fast (alien_ray_speed m/s)
|
||||
## through FarmProjectiles.
|
||||
@export var alien_ray_cooldown: float = 0.9
|
||||
@export_range(1, 80) var alien_ray_damage: int = 9
|
||||
@export var alien_ray_speed: float = 50.0
|
||||
@export var alien_ray_lifetime: float = 2.0
|
||||
|
||||
@export_group("Enemies")
|
||||
@export_range(1, 1024) var enemy_capacity: int = 800
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue