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

label

The label item applied when labelling something

Vars

label_nameThe text on the label
sticking_toWhat atom we're currently stuck to

Procs

apply_labelApplies a label to the name of what we're stuck to in the format of: "parent_name (label)"
clear_stick_toGeneral purpose / signal proc used to clear references and clean up when removed
interacted_withThis proc will trigger when any object is used to attack the thing we're stuck to. .
on_examineThis proc will trigger when someone examines the thing we're stuck to. It will attach the text found in the body of the proc to the examine_list and display it to the player examining the parent.
on_peelCallback invoked when the label is removed from something
on_stickCallback invoked when the label is attached to something
reapplyUsed to re-apply the label when the thing we're stuck to is renamed.
remove_labelRemoves the label from the name of what we're stuck to
update_label_nameSets the lable_name var and performs any necessary updates to the label's appearance

Var Details

label_name

The text on the label

sticking_to

What atom we're currently stuck to

Proc Details

apply_label

Applies a label to the name of what we're stuck to in the format of: "parent_name (label)"

clear_stick_to

General purpose / signal proc used to clear references and clean up when removed

interacted_with

This proc will trigger when any object is used to attack the thing we're stuck to. .

If the attacking object is not a hand labeler, it will return. If the attacking object is a hand labeler, it will either update the label or remove the label entirely.

Arguments:

on_examine

This proc will trigger when someone examines the thing we're stuck to. It will attach the text found in the body of the proc to the examine_list and display it to the player examining the parent.

Arguments:

on_peel

Callback invoked when the label is removed from something

on_stick

Callback invoked when the label is attached to something

reapply

Used to re-apply the label when the thing we're stuck to is renamed.

remove_label

Removes the label from the name of what we're stuck to

update_label_name

Sets the lable_name var and performs any necessary updates to the label's appearance