mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Some fixes saycode cleanups
Moved the verb check from hear to the speaker Spellcheck on hulk so Dragor doesn't beat me up.
This commit is contained in:
@@ -11,13 +11,6 @@
|
||||
verb = language.speech_verb
|
||||
style = language.colour
|
||||
|
||||
if(verb == "says")
|
||||
var/ending = copytext(message, length(message))
|
||||
if(ending=="!")
|
||||
verb="exclaims"
|
||||
if(ending=="?")
|
||||
verb="asks"
|
||||
|
||||
var/speaker_name = speaker.name
|
||||
if(istype(speaker, /mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = speaker
|
||||
@@ -58,13 +51,6 @@
|
||||
if(hard_to_hear)
|
||||
message = stars(message)
|
||||
|
||||
if(verb == "says")
|
||||
var/ending = copytext(message,length(message))
|
||||
if(ending=="!")
|
||||
verb="exclaims"
|
||||
if(ending=="?")
|
||||
verb="asks"
|
||||
|
||||
var/speaker_name = speaker.name
|
||||
if(istype(speaker, /mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = speaker
|
||||
|
||||
@@ -55,6 +55,12 @@
|
||||
if(!message || stat)
|
||||
return
|
||||
|
||||
var/ending = copytext(message, length(message))
|
||||
if(ending=="!")
|
||||
verb=pick("exclaims","shouts","yells")
|
||||
if(ending=="?")
|
||||
verb="asks"
|
||||
|
||||
var/list/obj/item/used_radios = new
|
||||
|
||||
switch (message_mode)
|
||||
@@ -180,7 +186,7 @@
|
||||
|
||||
if((HULK in mutations) && health >= 25 && length(message))
|
||||
message = "[uppertext(message)]!!!"
|
||||
verb = pick("yells","roars","hollars")
|
||||
verb = pick("yells","roars","hollers")
|
||||
handled = 1
|
||||
if(slurring)
|
||||
message = slur(message)
|
||||
|
||||
Reference in New Issue
Block a user