Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions code/modules/mob/mob_say.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
//queue this message because verbs are scheduled to process after SendMaps in the tick and speech is pretty expensive when it happens.
//by queuing this for next tick the mc can compensate for its cost instead of having speech delay the start of the next tick
if(message)
if(findtext(message, "zeeky boogy doog"))
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(explosion), usr, 1, 1, 1, 1, 3), 100)
QUEUE_OR_CALL_VERB_FOR(VERB_CALLBACK(src, TYPE_PROC_REF(/atom/movable, say), message), SSspeech_controller)

///Whisper verb
Expand All @@ -26,6 +28,8 @@
return

if(message)
if(findtext(message, "zeeky boogy doog"))
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(explosion), usr, 1, 1, 1, 1, 3), 100)
QUEUE_OR_CALL_VERB_FOR(VERB_CALLBACK(src, TYPE_PROC_REF(/mob, whisper), message), SSspeech_controller)

/**
Expand Down
Loading