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

shoes

Vars

fastening_typeHow do these shoes stay on?
lace_timeHow long it takes to lace/unlace these shoes
our_alert_refAn active alert
tiedAre we currently tied? Can either be SHOES_UNTIED, SHOES_TIED, or SHOES_KNOTTED

Procs

adjust_lacesadjust_laces adjusts whether our shoes (assuming they can be tied) and tied, untied, or knotted
check_tripcheck_trip runs on each step to see if we fall over as a result of our lace status. Knotted laces are a guaranteed trip, while untied shoes are just a chance to stumble
fasten_verbReturns appropriate verb for how to fasten shoes
fastening_verbReturns appropriate verb for fastening shoes
handle_tyinghandle_tying deals with all the actual tying/untying/knotting, inferring your intent from who you are in relation to the state of the laces
still_shoedchecking to make sure we're still on the person we're supposed to be, for lacing do_after's
untied_adjectiveReturns appropriate description for unfastened shoes

Var Details

fastening_type

How do these shoes stay on?

lace_time

How long it takes to lace/unlace these shoes

our_alert_ref

An active alert

tied

Are we currently tied? Can either be SHOES_UNTIED, SHOES_TIED, or SHOES_KNOTTED

Proc Details

adjust_laces

adjust_laces adjusts whether our shoes (assuming they can be tied) and tied, untied, or knotted

In addition to setting the state, it will deal with getting rid of alerts if they exist, as well as registering and unregistering the stepping signals

Arguments:

check_trip

check_trip runs on each step to see if we fall over as a result of our lace status. Knotted laces are a guaranteed trip, while untied shoes are just a chance to stumble

fasten_verb

Returns appropriate verb for how to fasten shoes

fastening_verb

Returns appropriate verb for fastening shoes

handle_tying

handle_tying deals with all the actual tying/untying/knotting, inferring your intent from who you are in relation to the state of the laces

If you're the wearer, you want them to move towards tied-ness (knotted -> untied -> tied). If you're not, you're pranking them, so you're moving towards knotted-ness (tied -> untied -> knotted)

Arguments:

still_shoed

checking to make sure we're still on the person we're supposed to be, for lacing do_after's

untied_adjective

Returns appropriate description for unfastened shoes