Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/language

Language datums are responsible for modifying say message datums depending on whether they have been understood by the listener. The listen module tree of the listener determines whether a message has been understood, then passes it to the respective proc on the langauge datum of the langauge that the message was sent in.

Vars

idID string for cache lookups. This is what this language datum is called, and it MUST be unique.

Procs

heard_not_understoodProcesses a say message datum that has not been understood by the listener, typically either deleting it, or turning its content to gibberish.
heard_understoodProcesses a say message datum that has been understood by the listener, typically not altering it.

Var Details

id

ID string for cache lookups. This is what this language datum is called, and it MUST be unique.

Proc Details

heard_not_understood

Processes a say message datum that has not been understood by the listener, typically either deleting it, or turning its content to gibberish.

heard_understood

Processes a say message datum that has been understood by the listener, typically not altering it.