From 01b89fb484011fc32bdf42a2827a491caf713969 Mon Sep 17 00:00:00 2001
From: FalloutFalcon <86381784+FalloutFalcon@users.noreply.github.com>
Date: Sun, 2 Jun 2024 01:33:49 -0500
Subject: [PATCH] Admin and Debug Tab QOL (#2956)
## About The Pull Request
I came here to capitalize cinematic and move Spawn Planet/Ruin to
Admin.game...
fixes "Debug verbs - Disable" from stealing a few admin verbs like
regenerate because they were in the "debug-mapping" list as well as
another default list.
The extra debug verbs are enabled by default but I left in the option to
disable them again.
Organized the tabs a bit. Stuff for running events gets its own tab and
admin preferences are put into normal preferences
#### NEW
![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/ad981169-1d33-4fd6-a52f-e19d790ee7dc)
![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/3478954c-c200-420e-9521-bc888c96d5d6)
![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/aabe073e-9cc2-4ee4-b1de-3f4aeb1e4dae)
![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/e75a9687-3be1-4d89-b709-809aa8a2cc82)
![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/f010b688-dfb7-4d95-b8cc-87f63a1a39b1)
![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/7343471f-bc69-4a8c-8a07-6934863bb5f0)
#### OLD
![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/bf0b5e04-64f8-4162-9d92-508d72548ce9)
![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/2ed1cdb3-0bfa-4655-b44e-5b1359cfb924)
![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/b5591fa3-262e-42a5-8ff6-f67e67f57b17)
![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/1ec2e476-af28-48ad-bbf2-c26b527601d0)
![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/e2acf174-cb01-4e3c-824e-ea81957352f3)
![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/6e97fdf9-206a-4f88-bc17-64cbac99b5ec)
![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/ff50e2e1-551c-41a5-8ec2-ff6b8ca636c3)
## Why It's Good For The Game
## Changelog
:cl:
admin: Improved the silly little menu, HA HA I have messed up your
muscle memory!! u
/:cl:
---
code/controllers/subsystem/events.dm | 2 +-
code/modules/admin/admin.dm | 21 +++++--
code/modules/admin/admin_verbs.dm | 41 ++++++++-----
code/modules/admin/verbs/anonymousnames.dm | 2 +-
code/modules/admin/verbs/atmosdebug.dm | 4 +-
code/modules/admin/verbs/beakerpanel.dm | 2 +-
code/modules/admin/verbs/cinematic.dm | 4 +-
code/modules/admin/verbs/debug.dm | 39 ++++++------
code/modules/admin/verbs/mapping.dm | 68 +++++++++------------
code/modules/admin/verbs/one_click_antag.dm | 2 +-
code/modules/admin/verbs/outpost.dm | 2 +-
code/modules/admin/verbs/playsound.dm | 10 +--
code/modules/admin/verbs/randomverbs.dm | 50 +++++++--------
code/modules/admin/verbs/selectequipment.dm | 2 +-
code/modules/admin/verbs/shuttlepanel.dm | 3 +-
code/modules/admin/verbs/spawnobjasmob.dm | 6 +-
code/modules/buildmode/buildmode.dm | 3 -
code/modules/cargo/centcom_podlauncher.dm | 2 +-
code/modules/client/preferences_toggles.dm | 16 ++---
code/modules/donator/_donator.dm | 4 +-
code/modules/mob/dead/crew_manifest.dm | 2 +-
21 files changed, 145 insertions(+), 140 deletions(-)
diff --git a/code/controllers/subsystem/events.dm b/code/controllers/subsystem/events.dm
index 32f404c936a6b..dc55c7ca07552 100644
--- a/code/controllers/subsystem/events.dm
+++ b/code/controllers/subsystem/events.dm
@@ -102,7 +102,7 @@ SUBSYSTEM_DEF(events)
// Why the heck is this here! Took me so damn long to find!
/client/proc/forceEvent()
set name = "Trigger Event"
- set category = "Admin.Events"
+ set category = "Event"
if(!holder ||!check_rights(R_FUN))
return
diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm
index 5bb4b25cc1f11..7b147385c556c 100644
--- a/code/modules/admin/admin.dm
+++ b/code/modules/admin/admin.dm
@@ -215,7 +215,7 @@
/datum/admins/proc/access_news_network() //MARKER
- set category = "Admin.Events"
+ set category = "Event"
set name = "Access Newscaster Network"
set desc = "Allows you to view, add and edit news feeds."
@@ -700,7 +700,7 @@
////////////////////////////////////////////////////////////////////////////////////////////////ADMIN HELPER PROCS
/datum/admins/proc/spawn_atom(object as text)
- set category = "Debug"
+ set category = "Event.Spawning"
set desc = "(atom path) Spawn an atom"
set name = "Spawn"
@@ -729,9 +729,9 @@
SSblackbox.record_feedback("tally", "admin_verb", 1, "Spawn Atom") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/datum/admins/proc/podspawn_atom(object as text)
- set category = "Debug"
+ set category = "Event.Spawning"
set desc = "(atom path) Spawn an atom via supply drop"
- set name = "Podspawn"
+ set name = "Supply drop spawn"
if(!check_rights(R_SPAWN))
return
@@ -753,7 +753,7 @@
SSblackbox.record_feedback("tally", "admin_verb", 1, "Podspawn Atom") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/datum/admins/proc/spawn_cargo(object as text)
- set category = "Debug"
+ set category = "Event.Spawning"
set desc = "(atom path) Spawn a cargo crate"
set name = "Spawn Cargo"
@@ -1018,3 +1018,14 @@
dat += "Disable footsteps: [SSlag_switch.measures[DISABLE_FOOTSTEPS] ? "On" : "Off"] - trait applies to character
"
dat += "