Shiptest 13 - Modules - TypesProc Details

ballistic

Subtype for any kind of ballistic gun This has a shitload of vars on it, and I'm sorry for that, but it does make making new subtypes really easy

Procs

chamber_roundUsed to chamber a new round and eject the old one
drop_boltDrops the bolt from a locked position
eject_magazineHandles all the logic of magazine ejection, if tac_load is set that magazine will be tacloaded in the place of the old eject
get_ammoGets the number of bullets in the gun
get_ammo_listgets a list of every bullet in the gun
insert_magazineHandles all the logic needed for magazine insertion
postfire_empty_checkspostfire empty checks for bolt locking and sound alarms
prefire_empty_checksPrefire empty checks for the bolt drop
rackupdates a bunch of racking related stuff and also handles the sound effects and the like

Proc Details

chamber_round

Used to chamber a new round and eject the old one

drop_bolt

Drops the bolt from a locked position

eject_magazine

Handles all the logic of magazine ejection, if tac_load is set that magazine will be tacloaded in the place of the old eject

get_ammo

Gets the number of bullets in the gun

get_ammo_list

gets a list of every bullet in the gun

insert_magazine

Handles all the logic needed for magazine insertion

postfire_empty_checks

postfire empty checks for bolt locking and sound alarms

prefire_empty_checks

Prefire empty checks for the bolt drop

rack

updates a bunch of racking related stuff and also handles the sound effects and the like