Shiptest 13 - Modules - TypesVar Details - Proc Details

directional

Once deployed, keeps an eye on a line of turfs in the faced direction. If something moves in them, explode.

Vars

casingtypeprojectile casing to fire in the selected direction when the mine is triggered.
target_turffor aiming the resulting projectiles
trigger_rangerange of tripwire
tripwire_turfscache of turfs for detection area

Procs

Movedhandles weird cases like ship movement or teleporting
draw_tripwiressets up tripwires(or recreates them, if already present)
remove_tripwireskills 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