/tg/ Station 13 - Modules - TypesVar Details

speechmod

Used to apply certain speech patterns Can be used on organs, wearables, mutations and mobs

Vars

end_stringString added to the end of the message
end_string_chanceChance for the end string to be applied
replacementsAssoc list for strings/regexes and their replacements. Should be lowercase, as case will be automatically changed
should_modify_speechAny additional checks that we should do before applying the speech modification
slotsSlot tags in which this item works when equipped
targetedCurrent target for modification
uppercaseIf set to true, turns all text to uppercase

Var Details

end_string

String added to the end of the message

end_string_chance

Chance for the end string to be applied

replacements

Assoc list for strings/regexes and their replacements. Should be lowercase, as case will be automatically changed

should_modify_speech

Any additional checks that we should do before applying the speech modification

slots

Slot tags in which this item works when equipped

targeted

Current target for modification

uppercase

If set to true, turns all text to uppercase