mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Redoes the admin verb define to require passing in an Admin Visible Name, and restores the usage of '-' for the verb bar when you want to call verbs from the command bar. Also cleans up and organizes the backend for drawing verbs to make it easier in the future for me to make it look better (#73214)
## About The Pull Request Damn that's a long title. Admin Verbs can be used in the verb bar with hyphens instead of spaces again. ## Why It's Good For The Game Admin muscle memory ## Changelog
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#define WIZARD_PRESET "The Wizard Federation"
|
||||
#define CUSTOM_PRESET "Custom Command Name"
|
||||
|
||||
ADMIN_VERB(events, change_command_name, "", R_ADMIN)
|
||||
ADMIN_VERB(events, change_command_name, "Change Command NAme", "", R_ADMIN)
|
||||
var/input = input(usr, "Please input a new name for Central Command.", "What?", "") as text|null
|
||||
if(!input)
|
||||
return
|
||||
@@ -15,7 +15,7 @@ ADMIN_VERB(events, change_command_name, "", R_ADMIN)
|
||||
message_admins("[key_name_admin(usr)] has changed Central Command's name to [input]")
|
||||
log_admin("[key_name(usr)] has changed the Central Command name to: [input]")
|
||||
|
||||
ADMIN_VERB(events, create_command_report, "", R_ADMIN)
|
||||
ADMIN_VERB(events, create_command_report, "Create Command Report", "", R_ADMIN)
|
||||
var/datum/command_report_menu/tgui = new(usr)
|
||||
tgui.ui_interact(usr)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user