directional
Once deployed, keeps an eye on a line of turfs in the faced direction. If something moves in them, explode.
Vars | |
casingtype | projectile casing to fire in the selected direction when the mine is triggered. |
---|---|
target_turf | for aiming the resulting projectiles |
trigger_range | range of tripwire |
tripwire_turfs | cache of turfs for detection area |
Procs | |
Moved | handles weird cases like ship movement or teleporting |
draw_tripwires | sets up tripwires(or recreates them, if already present) |
remove_tripwires | kills any existing tripwires |
Var Details
casingtype
projectile casing to fire in the selected direction when the mine is triggered.
target_turf
for aiming the resulting projectiles
trigger_range
range of tripwire
tripwire_turfs
cache of turfs for detection area
Proc Details
Moved
handles weird cases like ship movement or teleporting
draw_tripwires
sets up tripwires(or recreates them, if already present)
remove_tripwires
kills any existing tripwires