-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Braindamage speech proc change. #36490
base: Bleeding-Edge
Are you sure you want to change the base?
Conversation
I don't think running every brain damage message through at least 50 replacetexts is a good execution |
I'll look into how to improve it, I have an idea based on catbeast code. I'm way out of my field here so it might take a while. |
I think this is extra annoying from a gameplay perspective, but from a coding perspective please use some associative lists. |
message = replacetext(message, "stop", "sotp") | ||
message = replacetext(message, "retarded", "rarted") | ||
message = replacetext(message, "george", "[pick("joerge", "george", "gorge", "gdoruge")]") | ||
message = replacetext(message, "melon", "[pick("mellens", "melons", "mwrlins")]") | ||
message = replacetext(message, "oxygen", "oxigen") | ||
message = replacetext(message, "evolve", "evoluate") | ||
message = replacetext(message, "unrealistic", "unralistic") | ||
message = replacetext(message, "round", "rouns") | ||
message = replacetext(message, "roles", "rolls") | ||
message = replacetext(message, "worst", "wurst") | ||
message = replacetext(message, "worse", "wurse") | ||
message = replacetext(message, "vegan", "vegana") | ||
message = replacetext(message, "boob", "bobs") | ||
message = replacetext(message, "grief", "griff") | ||
message = replacetext(message, "space", "spess") | ||
message = replacetext(message, "carp", "crap") | ||
message = replacetext(message, "reason", "raisin") | ||
if(prob(50)) | ||
message = replacetext(message, "engineer", "engiener") | ||
message = replacetext(message, "pinpointer", "pin pointner") | ||
message = replacetext(message, "singularity", "scrungulartiy") | ||
message = replacetext(message, "based", "BASTE") | ||
message = replacetext(message, "hos", "HITLER") | ||
message = replacetext(message, "like", "liek") | ||
message = replacetext(message, "damage", "damag") | ||
message = replacetext(message, "millenial", "milenian") | ||
message = replacetext(message, "telekinesis", "telikesis") | ||
message = replacetext(message, "hulk", "halk") | ||
message = replacetext(message, "epilepsy", "eppilapse") | ||
message = replacetext(message, "shotgun", "shotgum it duntt mis") | ||
message = replacetext(message, "suspicious", "sus") | ||
message = replacetext(message, "among us", "amogus") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My brother in Christ; please use an associative list here.
What this does
Changes the braindamage speech proc so it replaces a lot more words than before with their braindamaged counterpart. Also makes it so a lot of the words used in the forced braindamage lines are also spelled that way if said normally. Ex: Singularity becomes Scrungularity when spoken regularly because the forced braindamage line says scrungularity, and this is consistent with it.
It will also make it so 70% of the time, words that have two identical letters together like "look, wood, sleep, etc" lose one of those letters, becoming "lok, wod, slep, etc" (that's what the regex check is for). This is a sentence-wide check, so if one word gets the double letters removed, then all of them get them removed. There's also an independent 40% chance to replace any one word in a sentence with "um" or a variant.
Finally, it reduces the forced screaming and forced stutter chance a bit, since this felt better with those reduced odds.
This is by no means a comprehensive list. Please suggest more syllable swaps to add (general "he" -> "eh" rules rather than specific words) if you happen to think of one, or point at ones that should be removed if you think one they're too on the nose or don't fit.
Why it's good
Expands the braindamage speech a bunch, making braindamage speech have an effect on more than just some very specific words.
Tested pretty thoroughly and nothing seemed to break, so tested I guess.
馃啈