byond - Modules - TypesVar Details - Proc Details

UA 571-C sentry gun

Vars

choice_categoriesaction list is configurable for all subtypes, this is just an example
engaged_timertimer triggered when sentry gun shoots at a target to not spam the laptop
low_ammo_timertimer triggered when sentry gun is low on ammo to not spam the laptop
luminosity_strengthLight strength when turned on
sent_empty_ammotimer triggered when sentry gun is out of ammo to not spam the laptop
upgradedCheck if they have been upgraded or not, used for sentry post

Procs

handle_rofUpdate the rate of fire in the sentry gun. @param level: level of rate of fire, typically single, burst or full auto.

Var Details

choice_categories

action list is configurable for all subtypes, this is just an example

engaged_timer

timer triggered when sentry gun shoots at a target to not spam the laptop

low_ammo_timer

timer triggered when sentry gun is low on ammo to not spam the laptop

luminosity_strength

Light strength when turned on

sent_empty_ammo

timer triggered when sentry gun is out of ammo to not spam the laptop

upgraded

Check if they have been upgraded or not, used for sentry post

Proc Details

handle_rof

Update the rate of fire in the sentry gun. @param level: level of rate of fire, typically single, burst or full auto.