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

tail

Tail parent, it doesn't do very much.

Vars

original_ownerThe original owner of this tail
tail_spines_overlayThe overlay for tail spines, if any
wag_flagsDoes this tail have a wagging sprite, and is it currently wagging?

Procs

remove_tail_spinesIf we have a tail spines overlay, delete it
start_wagWe need some special behaviour for accessories, wrapped here so we can easily add more interactions later Accepts an optional timeout after which we remove the tail wagging Returns false if the wag worked, true otherwise
stop_wagWe need some special behaviour for accessories, wrapped here so we can easily add more interactions later Returns false if the wag stopping worked, true otherwise
try_insert_tail_spinesIf the owner has spines and an appropriate overlay exists, add a tail spines overlay.

Var Details

original_owner

The original owner of this tail

tail_spines_overlay

The overlay for tail spines, if any

wag_flags

Does this tail have a wagging sprite, and is it currently wagging?

Proc Details

remove_tail_spines

If we have a tail spines overlay, delete it

start_wag

We need some special behaviour for accessories, wrapped here so we can easily add more interactions later Accepts an optional timeout after which we remove the tail wagging Returns false if the wag worked, true otherwise

stop_wag

We need some special behaviour for accessories, wrapped here so we can easily add more interactions later Returns false if the wag stopping worked, true otherwise

try_insert_tail_spines

If the owner has spines and an appropriate overlay exists, add a tail spines overlay.