mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 06:28:01 +01:00
Merge pull request #16511 from VOREStation/verb-subsystem
Verb manager subsystem & Speech controller
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user