/tg/ Station 13 - Modules - TypesVar Details - Proc Details

mounted_gun

Vars

alt_ammo_typeAlternative ammo types, for extra effects!
alt_projectile_typeProjectile from said gun. Doesnt automatically inherit said ammo's projectile in case you wanted to make a gun that shoots floor tiles or something.
ammo_typeAccepted "ammo" type
anchorable_gunwhether the cannon can be unwrenched from the ground. Anchorable_cannon equivalent.
fire_delaydelay in firing the gun after lighting
fire_soundsound of firing for all but last shot
firing_shakes_cameraIf the gun shakes the camera when firing
fully_loaded_gunIf the gun is currently loaded with its maximum capacity.
has_alt_ammoDoes it have an alternative ammo type it can uses
is_firingSo you can't reload it mid-firing
last_fire_soundsound of firing for last shot
load_delayDelay it takes to load the gun. Set to 0 if none.
loaded_gunIf the gun has anything in it.
loading_messageMessage displayed when loading gun
max_shots_per_fireMax shots per firing of the gun.
projectile_typeProjectile from said gun. Doesnt automatically inherit said ammo's projectile in case you wanted to make a gun that shoots floor tiles or something.
shot_delayDelay between shots
shots_in_gunShots currently loaded. Should never be more than max_shots_per_fire.
shots_per_loadshots added to gun, per piece of ammo loaded.
uses_ammodoes this thing need ammo at all or does it just make ammo?

Procs

attackbyCovers Reloading and lighting of the gun

Var Details

alt_ammo_type

Alternative ammo types, for extra effects!

alt_projectile_type

Projectile from said gun. Doesnt automatically inherit said ammo's projectile in case you wanted to make a gun that shoots floor tiles or something.

ammo_type

Accepted "ammo" type

anchorable_gun

whether the cannon can be unwrenched from the ground. Anchorable_cannon equivalent.

fire_delay

delay in firing the gun after lighting

fire_sound

sound of firing for all but last shot

firing_shakes_camera

If the gun shakes the camera when firing

fully_loaded_gun

If the gun is currently loaded with its maximum capacity.

has_alt_ammo

Does it have an alternative ammo type it can uses

is_firing

So you can't reload it mid-firing

last_fire_sound

sound of firing for last shot

load_delay

Delay it takes to load the gun. Set to 0 if none.

loaded_gun

If the gun has anything in it.

loading_message

Message displayed when loading gun

max_shots_per_fire

Max shots per firing of the gun.

projectile_type

Projectile from said gun. Doesnt automatically inherit said ammo's projectile in case you wanted to make a gun that shoots floor tiles or something.

shot_delay

Delay between shots

shots_in_gun

Shots currently loaded. Should never be more than max_shots_per_fire.

shots_per_load

shots added to gun, per piece of ammo loaded.

uses_ammo

does this thing need ammo at all or does it just make ammo?

Proc Details

attackby

Covers Reloading and lighting of the gun