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

projectile_shooter

Vars

projectile_typeWhat projectile do we shoot?
shot_probIf we only want to go off some of the time when a signal fires, this is the percent chance for it to fire

Procs

check_droppedAs above, special case for gun shoes so they can kick and shoot
check_equipAs above, special case for gun shoes so they can kick and shoot
check_kickFor the special case of gunboots being able to shoot someone when you kick them
pewThis is where the magic happens, and a projectile is made and fired at wherever
shoot_randomlyWhatever signals you hook up (minus the unarmed attack case) goes through here, and fires a projectile at a random tile around the parent's turf

Var Details

projectile_type

What projectile do we shoot?

shot_prob

If we only want to go off some of the time when a signal fires, this is the percent chance for it to fire

Proc Details

check_dropped

As above, special case for gun shoes so they can kick and shoot

check_equip

As above, special case for gun shoes so they can kick and shoot

check_kick

For the special case of gunboots being able to shoot someone when you kick them

pew

This is where the magic happens, and a projectile is made and fired at wherever

shoot_randomly

Whatever signals you hook up (minus the unarmed attack case) goes through here, and fires a projectile at a random tile around the parent's turf