Adds a playerpanel button that just plays roleplay.ogg (#93936)

## About The Pull Request

Adds a playerpanel button that just plays roleplay.ogg to the player
(with a chat message to accompany it)

## Why It's Good For The Game

Gives admins a button which literally just tells the player to roleplay
appropriately. So they can take the hint

## Changelog

🆑 Melbert
admin: Adds "roleplay reminder" button to player panel
/🆑
This commit is contained in:
MrMelbert
2025-11-25 20:41:48 -06:00
committed by GitHub
parent dcc33ac20c
commit f635eafc69
2 changed files with 12 additions and 2 deletions
+2 -2
View File
@@ -101,7 +101,8 @@ ADMIN_VERB_ONLY_CONTEXT_MENU(show_player_panel, R_ADMIN, "Show Player Panel", mo
body += "<A href='byond://?_src_=holder;[HrefToken()];narrateto=[REF(player)]'>Narrate to</A> | "
body += "<A href='byond://?_src_=holder;[HrefToken()];subtlemessage=[REF(player)]'>Subtle message</A> | "
body += "<A href='byond://?_src_=holder;[HrefToken()];playsoundto=[REF(player)]'>Play sound to</A> | "
body += "<A href='byond://?_src_=holder;[HrefToken()];languagemenu=[REF(player)]'>Language Menu</A>"
body += "<A href='byond://?_src_=holder;[HrefToken()];languagemenu=[REF(player)]'>Language Menu</A> | "
body += "<A href='byond://?_src_=holder;[HrefToken()];rpreminder=[REF(player)]'>Roleplay Reminder</A>"
if(player.client)
if(!isnewplayer(player))
@@ -424,4 +425,3 @@ ADMIN_VERB(spawn_panel, R_SPAWN, "Spawn Panel", "Spawn Panel (TGUI).", ADMIN_CAT
if(panel)
panel.ui_interact(user.mob)
BLACKBOX_LOG_ADMIN_VERB("Spawn Panel")