mounted_gun
Vars | |
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. |
last_fire_sound | sound of firing for last shot |
loaded_gun | If the gun has anything in it. |
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. |
Procs | |
attackby | Covers Reloading and lighting of the gun |
Var Details
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.
last_fire_sound
sound of firing for last shot
loaded_gun
If the gun has anything in it.
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.
Proc Details
attackby
Covers Reloading and lighting of the gun