Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/speech_module

Speech module datums serve as a parent type for speech outputs and speech modifiers, which exist to modify and format say message datums passed to them from a speech module tree.

Vars

idID string for cache lookups. This is what this module is called, and it MUST be unique.
parent_treeThe speech tree that this module belongs to.
priorityHow far up the tree this module should go. High values get processed before low values.

Procs

processProcess the message, applying module specific effects. Return null to prevent the message being processed further, or a /datum/say_message instance to continue.

Var Details

id

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

parent_tree

The speech tree that this module belongs to.

priority

How far up the tree this module should go. High values get processed before low values.

Proc Details

process

Process the message, applying module specific effects. Return null to prevent the message being processed further, or a /datum/say_message instance to continue.