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

gauze

Vars

can_splintIf it is at all possible for us to splint a limb.
gauze_prefixIf we are bandaging a limb, this is the overlay prefix we will use.
integrityThe amount of direct hits our limb can take before we fall off.
splint_prefixIf we are splinting a limb, this is the overlay prefix we will use.

Procs

get_hitget_hit() called when the bandage gets damaged
get_overlay_prefixReturns either [splint_prefix] or [gauze_prefix] depending on if we are splinting or not. Suffixes it with a digitigrade flag if applicable for the limb.
has_overlayReturns TRUE if we can generate an overlay, false otherwise.
is_pristineis_pristine() called by rip_off()
is_splintingReturns if we can splint, and if any wound on our bodypart gives a splint overlay.
rip_offrip_off() called when someone rips it off

Var Details

can_splint

If it is at all possible for us to splint a limb.

gauze_prefix

If we are bandaging a limb, this is the overlay prefix we will use.

integrity

The amount of direct hits our limb can take before we fall off.

splint_prefix

If we are splinting a limb, this is the overlay prefix we will use.

Proc Details

get_hit

get_hit() called when the bandage gets damaged

This proc will subtract integrity and delete the bandage with a to_chat message to whoever was bandaged

get_overlay_prefix

Returns either [splint_prefix] or [gauze_prefix] depending on if we are splinting or not. Suffixes it with a digitigrade flag if applicable for the limb.

has_overlay

Returns TRUE if we can generate an overlay, false otherwise.

is_pristine

is_pristine() called by rip_off()

Used to determine whether the bandage can be re-used and won't qdel itself

is_splinting

Returns if we can splint, and if any wound on our bodypart gives a splint overlay.

rip_off

rip_off() called when someone rips it off

It will return the bandage if it's considered pristine