mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 19:15:11 +01:00
Adds a set of new admin verbs for narrating (obj &mob)
*Adds verbs to client: Narrate Entity, ... (Add ref), ... (Remove ref), ... (Interface) * Adds new Client var to hold reference to entity_narrate datum instance *Creates entity_narrate datum to hold list of unique/custom entity names, and an assoc list of name:atomref * All listed client verbs initialize the datum onto the client var for later use when first used * User is expected to right click mobs within viewrange to add them to ref list * User is prompted to create a unique identifier to generate the key:value pair * User may either request an interface to do the narration (interface) * User may alternatively go narrate-mob "identifier" "speak/emote" "narration" into command line * In case of argument call, message may be ommited to bring up non-multiline tgui_input_text * User may remove entities from their personal list at will * Users adding entities to their personal list are logged * Users attempting to add players to their personal list are likewise logged * Users succeeding despite this are logged if they try to speak for them * If type is mob/living, it uses .say and .custom_emote() procs * .say uses the mob's languages, stutters and so forth * if type is obj/, user must specific speech verb when composing narration. * User may narrate from any range. * Each proc checks for R_FUN permission and prevents using if lacking rights
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
var/last_message = "" //Contains the last message sent by this client - used to protect against copy-paste spamming.
|
||||
var/last_message_count = 0 //contins a number of how many times a message identical to last_message was sent.
|
||||
var/ircreplyamount = 0
|
||||
var/entity_narrate_holder //Holds /datum/entity_narrate when using the relevant admin verbs.
|
||||
|
||||
/////////
|
||||
//OTHER//
|
||||
|
||||
Reference in New Issue
Block a user