Adds time defines to a couple of shooting related delay vars (#93966)

## About The Pull Request

Converted `fire_delay` and `shot_delay` vars to use time defines

## Why It's Good For The Game

Code readability

## Changelog
🆑
code: Converted some gun related variables to use time defines, make an
issue report if anything shoots abnormally fast/slow.
/🆑
This commit is contained in:
Thunder12345
2025-11-17 23:22:34 -07:00
committed by GitHub
parent f778d7171f
commit 006605caf9
14 changed files with 25 additions and 25 deletions
@@ -262,7 +262,7 @@
inhand_icon_state = "shrink_ray"
icon_state = "shrink_ray"
automatic_charge_overlays = FALSE
fire_delay = 30
fire_delay = 3 SECONDS
selfcharge = 1//shot costs 200 energy, has a max capacity of 1000 for 5 shots. self charge returns 25 energy every couple ticks, so about 1 shot charged every 12~ seconds
trigger_guard = TRIGGER_GUARD_ALLOW_ALL// variable-size trigger, get it? (abductors need this to be set so the gun is usable for them)
@@ -297,7 +297,7 @@
fire_sound = 'sound/effects/splat.ogg'
force = 0
max_charges = 1
fire_delay = 1
fire_delay = 1 DECISECONDS
throwforce = 0 //Just to be on the safe side
throw_range = 0
throw_speed = 0