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

jaunt

Jaunt spells

A basic subtype for jaunt related spells. Jaunt spells put their caster in a dummy phased_mob effect that allows them to float around incorporeally.

Doesn't actually implement any behavior on cast to enter or exit the jaunt - that must be done via subtypes.

Use enter_jaunt() and exit_jaunt() as wrappers.

Vars

jaunt_typeWhat dummy mob type do we put jaunters in on jaunt?

Procs

enter_jauntPlaces the [jaunter] in a jaunt holder mob If [loc_override] is supplied, the jaunt will be moved to that turf to start at
exit_jauntEjects the [unjaunter] from jaunt If [loc_override] is supplied, the jaunt will be moved to that turf before ejecting the unjaunter
is_jauntingSimple helper to check if the passed mob is currently jaunting or not

Var Details

jaunt_type

What dummy mob type do we put jaunters in on jaunt?

Proc Details

enter_jaunt

Places the [jaunter] in a jaunt holder mob If [loc_override] is supplied, the jaunt will be moved to that turf to start at

Returns the holder mob that was created

exit_jaunt

Ejects the [unjaunter] from jaunt If [loc_override] is supplied, the jaunt will be moved to that turf before ejecting the unjaunter

Returns TRUE on successful exit, FALSE otherwise

is_jaunting

Simple helper to check if the passed mob is currently jaunting or not