byond - Modules - TypesVar Details - Proc Details

gun_breech

Vars

is_secondarybool if this laods the secondary gun
ownerowner of this object, assigned during interior linkage

Procs

do_eject_ammowhen we run out of ammo; how do we eject the magazine?
do_loadloads the weapon attached to the breech
do_unloadUnloads the weapon attached to the breech
on_main_firecalled every time the firing animation is refreshed, not every actual fire
on_weapon_attachOn attach effects
on_weapon_detachOn detach effects
reload_checkschecks to perform while reloading

Var Details

is_secondary

bool if this laods the secondary gun

owner

owner of this object, assigned during interior linkage

Proc Details

do_eject_ammo

when we run out of ammo; how do we eject the magazine?

do_load

loads the weapon attached to the breech

do_unload

Unloads the weapon attached to the breech

on_main_fire

called every time the firing animation is refreshed, not every actual fire

on_weapon_attach

On attach effects

on_weapon_detach

On detach effects

reload_checks

checks to perform while reloading