Merge pull request #16511 from VOREStation/verb-subsystem

Verb manager subsystem & Speech controller
This commit is contained in:
Heroman3003
2024-11-28 14:43:53 +10:00
committed by GitHub
16 changed files with 460 additions and 1319 deletions
+6 -1
View File
@@ -17,6 +17,8 @@
set name = "Say"
set category = "IC.Chat"
set hidden = 1
set instant = TRUE
//VOREStation Addition Start
if(forced_psay)
psay(message)
@@ -24,7 +26,10 @@
//VOREStation Addition End
client?.stop_thinking()
usr.say(message)
//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)
QUEUE_OR_CALL_VERB_FOR(VERB_CALLBACK(src, TYPE_PROC_REF(/mob, say), message), SSspeech_controller)
/mob/verb/me_verb(message as message)
set name = "Me"