Broadside Gun Parent 
Vars | |
ammo | Amount of ammo the gun has, set to -1 for infinite |
---|---|
firingfrom | Ship name you're firing from, important for the designator |
sound_offset_dir | In case you need to offset the gun firing's sound dir (if it's aiming left for example) |
sound_offset_length | In case you need to offset the gun firing's sound by offset tiles (if it's aiming left for example) |
sound_turf | Holding var for the exact turf to play the gun's firing sound from |
target_overlay | Overlay sprite for where the strike will land, set to null for no overlay |
Procs | |
bombard | Override this for the child of /obj/machinery/broadside_gun to determine what happens on-firing |
Var Details
ammo 
Amount of ammo the gun has, set to -1 for infinite
firingfrom 
Ship name you're firing from, important for the designator
sound_offset_dir 
In case you need to offset the gun firing's sound dir (if it's aiming left for example)
sound_offset_length 
In case you need to offset the gun firing's sound by offset tiles (if it's aiming left for example)
sound_turf 
Holding var for the exact turf to play the gun's firing sound from
target_overlay 
Overlay sprite for where the strike will land, set to null for no overlay
Proc Details
bombard
Override this for the child of /obj/machinery/broadside_gun
to determine what happens on-firing