Tg panel patch 2 (#8085)

Co-authored-by: Cadyn Bombaci <cadynspacetechguy@gmail.com>
This commit is contained in:
Kashargul
2024-05-15 13:42:13 +02:00
committed by GitHub
parent a63a919fcb
commit e28fa96705
264 changed files with 993 additions and 823 deletions

View File

@@ -1,5 +1,5 @@
/client/proc/Debug2()
set category = "Debug"
set category = "Debug.Investigate" //CHOMPEdit
set name = "Debug-Game"
if(!check_rights(R_DEBUG)) return
@@ -18,7 +18,7 @@
/client/proc/simple_DPS()
set name = "Simple DPS"
set category = "Debug"
set category = "Debug.Investigate" //CHOMPEdit
set desc = "Gives a really basic idea of how much hurt something in-hand does."
var/obj/item/I = null
@@ -73,7 +73,7 @@
return
/client/proc/Cell()
set category = "Debug"
set category = "Debug.Investigate" //CHOMPEdit
set name = "Cell"
if(!mob)
return
@@ -94,7 +94,7 @@
feedback_add_details("admin_verb","ASL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_robotize(var/mob/M in mob_list)
set category = "Fun"
set category = "Fun.Event Kit" //CHOMPEdit
set name = "Make Robot"
if(!ticker)
@@ -109,7 +109,7 @@
tgui_alert_async(usr, "Invalid mob")
/client/proc/cmd_admin_animalize(var/mob/M in mob_list)
set category = "Fun"
set category = "Fun.Event Kit" //CHOMPEdit
set name = "Make Simple Animal"
if(!ticker)
@@ -130,7 +130,7 @@
/client/proc/makepAI()
set category = "Fun"
set category = "Fun.Event Kit" //CHOMPEdit
set name = "Make pAI"
set desc = "Spawn someone in as a pAI!"
if(!check_rights(R_ADMIN|R_EVENT|R_DEBUG))
@@ -161,7 +161,7 @@
feedback_add_details("admin_verb","MPAI") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_alienize(var/mob/M in mob_list)
set category = "Fun"
set category = "Fun.Event Kit" //CHOMPEdit
set name = "Make Alien"
if(!ticker)
@@ -180,7 +180,7 @@
//TODO: merge the vievars version into this or something maybe mayhaps
/client/proc/cmd_debug_del_all()
set category = "Debug"
set category = "Debug.Dangerous" //CHOMPEdit
set name = "Del-All"
// to prevent REALLY stupid deletions
@@ -195,7 +195,7 @@
feedback_add_details("admin_verb","DELA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_debug_make_powernets()
set category = "Debug"
set category = "Debug.Dangerous" //CHOMPEdit
set name = "Make Powernets"
SSmachines.makepowernets()
log_admin("[key_name(src)] has remade the powernet. SSmachines.makepowernets() called.")
@@ -203,7 +203,7 @@
feedback_add_details("admin_verb","MPWN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_debug_tog_aliens()
set category = "Server"
set category = "Server.Game" //CHOMPEdit
set name = "Toggle Aliens"
CONFIG_SET(flag/aliens_allowed, !CONFIG_GET(flag/aliens_allowed)) // CHOMPEdit
@@ -212,7 +212,7 @@
feedback_add_details("admin_verb","TAL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_display_del_log()
set category = "Debug"
set category = "Debug.Investigate" //CHOMPEdit
set name = "Display del() Log"
set desc = "Display del's log of everything that's passed through it."
@@ -242,7 +242,7 @@
usr << browse(dellog.Join(), "window=dellog")
/client/proc/cmd_display_init_log()
set category = "Debug"
set category = "Debug.Investigate" //CHOMPEdit
set name = "Display Initialize() Log"
set desc = "Displays a list of things that didn't handle Initialize() properly"
@@ -273,7 +273,7 @@
. = lines.Join("\n")
/client/proc/cmd_admin_grantfullaccess(var/mob/M in mob_list)
set category = "Admin"
set category = "Admin.Events" //CHOMPEdit
set name = "Grant Full Access"
if (!ticker)
@@ -304,7 +304,7 @@
message_admins(span_blue("[key_name_admin(usr)] has granted [M.key] full access."), 1)
/client/proc/cmd_assume_direct_control(var/mob/M in mob_list)
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
set name = "Assume direct control"
set desc = "Direct intervention"
@@ -325,7 +325,7 @@
/client/proc/take_picture(var/atom/A in world)
set name = "Save PNG"
set category = "Debug"
set category = "Debug.Misc" //CHOMPEdit
set desc = "Opens a dialog to save a PNG of any object in the game."
if(!check_rights(R_DEBUG))
@@ -422,7 +422,7 @@
to_world("* [areatype]")
/datum/admins/proc/cmd_admin_dress(input in getmobs())
set category = "Fun"
set category = "Fun.Event Kit" //CHOMPEdit
set name = "Select equipment"
if(!check_rights(R_FUN))
@@ -454,7 +454,7 @@
/client/proc/startSinglo()
set category = "Debug"
set category = "Debug.Game" //CHOMPEdit
set name = "Start Singularity"
set desc = "Sets up the singularity and all machines to get power flowing through the station"
@@ -581,7 +581,7 @@
/client/proc/cmd_debug_mob_lists()
set category = "Debug"
set category = "Debug.Investigate" //CHOMPEdit
set name = "Debug Mob Lists"
set desc = "For when you just gotta know"
@@ -600,7 +600,7 @@
to_chat(usr, span("filter_debuglogs", jointext(GLOB.clients,",")))
/client/proc/cmd_debug_using_map()
set category = "Debug"
set category = "Debug.Investigate" //CHOMPEdit
set name = "Debug Map Datum"
set desc = "Debug the map metadata about the currently compiled in map."
@@ -625,7 +625,7 @@
tgui_alert_async(usr, "Invalid mob")
/datum/admins/proc/view_runtimes()
set category = "Debug"
set category = "Debug.Investigate" //CHOMPEdit
set name = "View Runtimes"
set desc = "Open the Runtime Viewer"
@@ -635,7 +635,7 @@
error_cache.showTo(usr)
/datum/admins/proc/change_weather()
set category = "Debug"
set category = "Debug.Events" //CHOMPEdit
set name = "Change Weather"
set desc = "Changes the current weather."
@@ -653,7 +653,7 @@
log_admin(log)
/datum/admins/proc/toggle_firework_override()
set category = "Fun"
set category = "Fun.Event Kit" //CHOMPEdit
set name = "Toggle Weather Firework Override"
set desc = "Toggles ability for weather fireworks to affect weather on planet of choice."
@@ -668,7 +668,7 @@
log_admin(log)
/datum/admins/proc/change_time()
set category = "Debug"
set category = "Debug.Events" //CHOMPEdit
set name = "Change Planet Time"
set desc = "Changes the time of a planet."