BandaStation - Modules - TypesVar Details

slurring

Vars

common_probThe chance that any given character in a message will be replaced with a common character
common_replacementsCommon replacements for characters - populated in on_creation
doubletext_probThe chance that any given character will be doubled, or even tripled
no_slurRegex for characters we won't apply any slurring to
replacement_dupe_checkIf the last character we processed was a replacement, don't do another replacement right after it
replacement_probThe chance that any given character will be entirely replaced with a new string / will have a string appended onto it
string_additionsStrings that are appended to a character - populated in on_creation
string_replacementsStrings that fully replace a character - populated in on_creation
text_modification_fileThe file we pull text modifications from
uncommon_probThe chance that any given character in a message will be replaced with an uncommon character
uncommon_replacementsUncommon replacements for characters - populated in on_creation

Var Details

common_prob

The chance that any given character in a message will be replaced with a common character

common_replacements

Common replacements for characters - populated in on_creation

doubletext_prob

The chance that any given character will be doubled, or even tripled

no_slur

Regex for characters we won't apply any slurring to

replacement_dupe_check

If the last character we processed was a replacement, don't do another replacement right after it

replacement_prob

The chance that any given character will be entirely replaced with a new string / will have a string appended onto it

string_additions

Strings that are appended to a character - populated in on_creation

string_replacements

Strings that fully replace a character - populated in on_creation

text_modification_file

The file we pull text modifications from

uncommon_prob

The chance that any given character in a message will be replaced with an uncommon character

uncommon_replacements

Uncommon replacements for characters - populated in on_creation