mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-21 15:14:17 +00:00
* Admin Verb Datums MkIII | Now with functional command bar (#82511) * Modular stuffs * Put some admin jump verbs back into the context menu | sorts area jump list again (#82647) ## About The Pull Request See title. ## Why It's Good For The Game Some admins wanted all the jump verbs back, aswell as making them not AGhost you. Also make the Jump To Area verb use a sorted list again * Hey what if admins were allowed to use the player panel (#82682) Re-adds the player panel verb to the verb panel. * Controller Overview UI (#82739) * Fixes a minor spelling mistake on the admin panel/verb list (#82747) ## About The Pull Request Corrects `inisimin` to `invisimin`. This addresses #82728, but only fixes one of the two issues mentioned ## Why It's Good For The Game -1 spelling mistake ## Changelog 🆑 spellcheck: 'inisimin' verb corrected to 'invisimin' /🆑 * Player Panel-age (#82757) * Admin Forced Mob Rename and Preference Update (#82715) --------- Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com> Co-authored-by: chel <64568243+iliyaxox@users.noreply.github.com>
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
|
|
ADMIN_VERB(dsay, R_NONE, "DSay", "Speak to the dead.", ADMIN_CATEGORY_GAME, message as text)
|
|
if(user.prefs.muted & MUTE_DEADCHAT)
|
|
to_chat(user, span_danger("You cannot send DSAY messages (muted)."), confidential = TRUE)
|
|
return
|
|
|
|
if (user.handle_spam_prevention(message,MUTE_DEADCHAT))
|
|
return
|
|
|
|
message = copytext_char(sanitize(message), 1, MAX_MESSAGE_LEN)
|
|
user.mob.log_talk(message, LOG_DSAY)
|
|
|
|
if (!message)
|
|
return
|
|
var/rank_name = user.holder.rank_names()
|
|
var/admin_name = user.key
|
|
if(user.holder.fakekey)
|
|
rank_name = pick(strings("admin_nicknames.json", "ranks", "config"))
|
|
admin_name = pick(strings("admin_nicknames.json", "names", "config"))
|
|
var/name_and_rank = "[span_tooltip(rank_name, "STAFF")] ([admin_name])"
|
|
|
|
deadchat_broadcast("[span_prefix("DEAD:")] [name_and_rank] says, <span class='message'>\"[emoji_parse(message)]\"</span>")
|
|
|
|
BLACKBOX_LOG_ADMIN_VERB("Dsay")
|
|
|
|
/client/proc/get_dead_say()
|
|
var/msg = input(src, null, "dsay \"text\"") as text|null
|
|
if (isnull(msg))
|
|
return
|
|
SSadmin_verbs.dynamic_invoke_verb(src, /datum/admin_verb/dsay, msg)
|