/tg/ Station 13 - Modules - TypesProc Details

sign_language

Allows a Carbon to toggle sign language on/off. The button is invisible for mute Carbons. Theory of Operation: A. If TRAIT_SIGN_LANG is added/removed, and the button is visible, then update the button. B. React to presence of trait TRAIT_MUTE for quality/convenience purposes: C. If TRAIT_MUTE is added, then activate and hide the Action. D. If TRAIT_MUTE is then removed, then show the Action.

Procs

hide_actionHides the linked action from the owner Carbon.
on_mutedSignal handler for SIGNAL_ADDTRAIT(TRAIT_MUTE) Hides the action if the signing Carbon gains TRAIT_MUTE.
on_unmutedSignal handler for SIGNAL_REMOVETRAIT(TRAIT_MUTE) Re-shows the action if the signing Carbon loses TRAIT_MUTE.
show_actionShows the linked action to the owner Carbon.

Proc Details

hide_action

Hides the linked action from the owner Carbon.

on_muted

Signal handler for SIGNAL_ADDTRAIT(TRAIT_MUTE) Hides the action if the signing Carbon gains TRAIT_MUTE.

on_unmuted

Signal handler for SIGNAL_REMOVETRAIT(TRAIT_MUTE) Re-shows the action if the signing Carbon loses TRAIT_MUTE.

show_action

Shows the linked action to the owner Carbon.