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

mounted_machine_gun

Vars

ammo_boxOur currently loaded ammo box.
ammo_box_typeOur ammo box type.
barrel_heatThe current barrel heat.
barrel_heat_per_shotHow much barrel heat we generate per shot
boltThe position of our bolt. TRUE = locked(ready to fire) FALSE = forward(not ready to fire)
cooldown_timeHow long it takes until we can fire again after a heatlock.
cover_openIs our cover open? Used to access the ammo box!
current_userA reference to our current user.
fire_delayThe delay between each shot that is sent downrange.
firesoundSound to play when firing
last_target_atomOur last registered target atom.
max_barrel_heatHow much heat we can sustain before locking.
nextshot_timer_idThe current timer to fire the next round.
overheatedHave we overheated?
overheatsoundSound to play when overheated
passive_barrel_cooldown_rateHow quickly the barrel naturally cools down
spreadHow much spread we have for projectiles.
suppressedDo we have a supressor or something installed?
undeploy_timeHow long it takes for a wrench user to undeploy the object
undeployed_typeWhat we drop when undeployed. If null, cannot be undeployed.
view_rangeThe extra range that this turret gives regarding viewrange.

Procs

register_userRegisters all the required signals and sets up the client to work with the turret.
wrench_actUndeploying, for when you want to move your big dakka around

Var Details

ammo_box

Our currently loaded ammo box.

ammo_box_type

Our ammo box type.

barrel_heat

The current barrel heat.

barrel_heat_per_shot

How much barrel heat we generate per shot

bolt

The position of our bolt. TRUE = locked(ready to fire) FALSE = forward(not ready to fire)

cooldown_time

How long it takes until we can fire again after a heatlock.

cover_open

Is our cover open? Used to access the ammo box!

current_user

A reference to our current user.

fire_delay

The delay between each shot that is sent downrange.

firesound

Sound to play when firing

last_target_atom

Our last registered target atom.

max_barrel_heat

How much heat we can sustain before locking.

nextshot_timer_id

The current timer to fire the next round.

overheated

Have we overheated?

overheatsound

Sound to play when overheated

passive_barrel_cooldown_rate

How quickly the barrel naturally cools down

spread

How much spread we have for projectiles.

suppressed

Do we have a supressor or something installed?

undeploy_time

How long it takes for a wrench user to undeploy the object

undeployed_type

What we drop when undeployed. If null, cannot be undeployed.

view_range

The extra range that this turret gives regarding viewrange.

Proc Details

register_user

Registers all the required signals and sets up the client to work with the turret.

wrench_act

Undeploying, for when you want to move your big dakka around