Porting in donut fixes, beepsky smash and Neurotoxin reworks.

This commit is contained in:
Ghommie
2019-06-28 23:17:12 +02:00
parent 77ed7c6428
commit 3291b9c47a
13 changed files with 184 additions and 63 deletions
+5 -1
View File
@@ -81,7 +81,7 @@
/datum/brain_trauma/mild/phobia/on_say(message)
for(var/word in trigger_words)
var/reg = regex("(\\b|\\A)[REGEX_QUOTE(word)]'?s*(\\b|\\Z)", "i")
if(findtext(message, reg))
to_chat(owner, "<span class='warning'>You can't bring yourself to say the word \"[word]\"!</span>")
return ""
@@ -119,3 +119,7 @@
owner.confused += 10
owner.Jitter(10)
owner.stuttering += 10
/datum/brain_trauma/mild/phobia/security
phobia_type = "security"
can_gain = FALSE