gun_bolt
Gun has a bolt, it stays closed while not cycling. The gun must be racked to have a bullet chambered when a mag is inserted. Example: c20, shotguns, m90
Procs | |
after_chambering | Called at the foot of after_chambering() |
---|---|
attack_self | Called during attack_self(). Return TRUE to cancel the rest of the proc. |
before_firing | Called during before_firing() |
get_overlays | Returns overlays for a gun's update_overlays() |
loaded_ammo | Called when ammo was successfully loaded into the weapon. |
magazine_ejected | Called when a magazine is about to be ejected. |
magazine_inserted | Called after a magazine is successfully inserted into the firearm. |
post_rack | Called after rack(), before update_appearance() |
pre_rack | Called at the start of rack(), return TRUE to cancel the rest of the proc. |
unload | Called at the start of unload(), return TRUE to cancel the rest of the proc. |
Proc Details
after_chambering
Called at the foot of after_chambering()
attack_self
Called during attack_self(). Return TRUE to cancel the rest of the proc.
before_firing
Called during before_firing()
get_overlays
Returns overlays for a gun's update_overlays()
loaded_ammo
Called when ammo was successfully loaded into the weapon.
magazine_ejected
Called when a magazine is about to be ejected.
magazine_inserted
Called after a magazine is successfully inserted into the firearm.
post_rack
Called after rack(), before update_appearance()
pre_rack
Called at the start of rack(), return TRUE to cancel the rest of the proc.
unload
Called at the start of unload(), return TRUE to cancel the rest of the proc.