This commit is contained in:
Timothy Teakettle
2022-08-05 15:44:40 +01:00
parent 7ed2ee82bf
commit 818e564c92
9 changed files with 125 additions and 75 deletions
+4 -5
View File
@@ -94,10 +94,9 @@
/datum/accent/dullahan/modify_speech(list/speech_args, datum/source, mob/living/carbon/owner)
if(owner)
if(isdullahan(owner))
var/datum/species/dullahan/D = owner.dna.species
if(isobj(D.myhead.loc))
var/obj/O = D.myhead.loc
O.say(speech_args[SPEECH_MESSAGE])
var/datum/component/dullahan/dullahan = owner.GetComponent(/datum/component/dullahan)
if(dullahan)
if(dullahan.dullahan_head)
dullahan.dullahan_head.say(speech_args[SPEECH_MESSAGE])
speech_args[SPEECH_MESSAGE] = ""
return speech_args