speechmod
Used to apply certain speech patterns Can be used on organs, wearables, mutations and mobs
Vars | |
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 |
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