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

@@ -191,7 +191,7 @@ Example: USING PROCCALL = BLOCKING, SELECT = FORCE_NULLS, PRIORITY = HIGH SELECT
CRASH("SDQL2 fatal error");};
/client/proc/SDQL2_query(query_text as message)
set category = "Debug"
set category = "Debug.Misc" //CHOMPEdit
if(!check_rights(R_DEBUG)) //Shouldn't happen... but just to be safe.
message_admins("<span class='danger'>ERROR: Non-admin [key_name(usr)] attempted to execute a SDQL query!</span>")
log_admin("Non-admin [key_name(usr)] attempted to execute a SDQL query!")

View File

@@ -1,6 +1,6 @@
/client/proc/admin_teleport()
set name = "Admin teleport"
set category = "Admin"
set category = "Admin.Game"
set desc = "Teleports an atom to a set of coordinates or to the contents of another atom"
var/list/value = vv_get_value(VV_ATOM_REFERENCE)
@@ -32,4 +32,4 @@
destination = value["value"]
new /datum/teleport/instant/admin(target,destination)
/datum/teleport/instant/admin
local=FALSE
local=FALSE

View File

@@ -674,7 +674,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
//admin proc
/client/proc/cmd_admin_ticket_panel()
set name = "Show Ticket List"
set category = "Admin"
set category = "Admin.Misc" //CHOMPEdit
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_EVENT, TRUE))
return

View File

@@ -7,7 +7,7 @@
/client/proc/Jump(areaname as null|anything in return_sorted_areas())
set name = "Jump to Area"
set desc = "Area to jump to"
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_EVENT))
return
@@ -33,7 +33,7 @@
/client/proc/jumptoturf(var/turf/T in world)
set name = "Jump to Turf"
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_EVENT))
return
if(CONFIG_GET(flag/allow_admin_jump)) // CHOMPEdit
@@ -48,7 +48,7 @@
/// Verb wrapper around do_jumptomob()
/client/proc/jumptomob(mob as null|anything in mob_list)
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
set name = "Jump to Mob"
set popup_menu = FALSE //VOREStation Edit - Declutter.
@@ -80,7 +80,7 @@
to_chat(A, "<span class='filter_adminlog'>This mob is not located in the game world.</span>")
/client/proc/jumptocoord(tx as num, ty as num, tz as num)
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
set name = "Jump to Coordinate"
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_EVENT))
@@ -102,7 +102,7 @@
tgui_alert_async(usr, "Admin jumping disabled")
/client/proc/jumptokey()
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
set name = "Jump to Key"
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_EVENT))
@@ -125,7 +125,7 @@
tgui_alert_async(usr, "Admin jumping disabled")
/client/proc/Getmob(mob/living/M as null|anything in mob_list) //VOREStation Edit
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
set name = "Get Mob"
set desc = "Mob to teleport"
set popup_menu = TRUE //VOREStation Edit
@@ -148,7 +148,7 @@
tgui_alert_async(usr, "Admin jumping disabled")
/client/proc/Getkey()
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
set name = "Get Key"
set desc = "Key to teleport"
@@ -178,7 +178,7 @@
tgui_alert_async(usr, "Admin jumping disabled")
/client/proc/sendmob()
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
set name = "Send Mob"
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_EVENT))
return
@@ -202,7 +202,7 @@
tgui_alert_async(usr, "Admin jumping disabled")
/client/proc/cmd_admin_move_atom(var/atom/movable/AM, tx as num, ty as num, tz as num)
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
set name = "Move Atom to Coordinate"
if(!check_rights(R_ADMIN|R_DEBUG|R_EVENT))

View File

@@ -1,6 +1,6 @@
/client/proc/cmd_admin_say(msg as text)
set category = "Special Verbs"
set name = "Asay" //Gave this shit a shorter name so you only have to time out "asay" rather than "admin say" to use it --NeoFite
set category = "Admin.Chat" //CHOMPEdit
set name = "Asay" //Gave this shit a shorter name so you only have to time out "asay" rather than "admin say" to use it --NeoFite
set hidden = 1
if(!check_rights(R_ADMIN)) //VOREStation Edit
return
@@ -18,7 +18,7 @@
feedback_add_details("admin_verb","M") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_mod_say(msg as text)
set category = "Special Verbs"
set category = "Admin.Chat" //CHOMPEdit
set name = "Msay"
set hidden = 1
@@ -41,7 +41,7 @@
feedback_add_details("admin_verb","MS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_event_say(msg as text)
set category = "Special Verbs"
set category = "Admin.Chat" //CHOMPEdit
set name = "Esay"
set hidden = 1

View File

@@ -1,5 +1,5 @@
/client/proc/aooc(msg as text)
set category = "OOC"
set category = "OOC.Chat" //CHOMPEdit
set name = "AOOC"
set desc = "Antagonist OOC"
@@ -39,4 +39,4 @@
if((M.mind && M.mind.special_role && A && A.can_hear_aooc) || isobserver(M)) // Antags must have their type be allowed to AOOC to see AOOC. This prevents, say, ERT from seeing AOOC.
to_chat(M, "<span class='ooc'><span class='aooc'>[create_text_tag("aooc", "Antag-OOC:", M.client)] <EM>[player_display]:</EM> <span class='message'>[msg]</span></span></span>")
log_aooc(msg,src)
log_aooc(msg,src)

View File

@@ -1,7 +1,7 @@
/client/proc/change_human_appearance_admin()
set name = "Change Mob Appearance - Admin"
set desc = "Allows you to change the mob appearance"
set category = "Admin"
set category = "Admin.Events" //CHOMPEdit
if(!check_rights(R_FUN)) return
@@ -15,7 +15,7 @@
/client/proc/change_human_appearance_self()
set name = "Change Mob Appearance - Self"
set desc = "Allows the mob to change its appearance"
set category = "Admin"
set category = "Admin.Events" //CHOMPEdit
if(!check_rights(R_FUN)) return
@@ -37,7 +37,7 @@
/client/proc/editappear()
set name = "Edit Appearance"
set category = "Fun"
set category = "Fun.Event Kit" //CHOMPEdit
if(!check_rights(R_FUN)) return
@@ -96,4 +96,4 @@
M.update_dna(M)
M.update_hair(FALSE)
M.update_icons_body()
M.update_icons_body()

View File

@@ -2,7 +2,7 @@ var/checked_for_inactives = 0
var/inactive_keys = "None<br>"
/client/proc/check_customitem_activity()
set category = "Admin"
set category = "Admin.Investigate" //CHOMPEdit
set name = "Check activity of players with custom items"
var/dat = "<b>Inactive players with custom items</b><br>"

View File

@@ -1,6 +1,6 @@
/client/proc/cinematic(var/cinematic as anything in list("explosion",null))
set name = "Cinematic"
set category = "Fun"
set category = "Fun.Do Not" //CHOMPEdit
set desc = "Shows a cinematic." // Intended for testing but I thought it might be nice for events on the rare occasion Feel free to comment it out if it's not wanted.
if(!check_rights(R_FUN))
@@ -24,4 +24,4 @@
log_admin("[key_name(src)] launched cinematic \"[cinematic]\"")
message_admins("[key_name_admin(src)] launched cinematic \"[cinematic]\"", 1)
return
return

View File

@@ -1,6 +1,6 @@
// verb for admins to set custom event
/client/proc/cmd_admin_change_custom_event()
set category = "Fun"
set category = "Fun.Event Kit" //CHOMPEdit
set name = "Change Custom Event"
if(!holder)
@@ -33,7 +33,7 @@
// normal verb for players to view info
/client/verb/cmd_view_custom_event()
set category = "OOC"
set category = "OOC.Game" //CHOMPEdit
set name = "Custom Event Info"
if(!custom_event_msg || custom_event_msg == "")

View File

@@ -1,5 +1,5 @@
/client/proc/dsay(msg as text)
set category = "Special Verbs"
set category = "Admin.Chat" //CHOMPEdit
set name = "Dsay" //Gave this shit a shorter name so you only have to time out "dsay" rather than "dead say" to use it --NeoFite
set hidden = 1
if(!src.holder)

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."

View File

@@ -1,5 +1,5 @@
/datum/admins/proc/quick_authentic_nif()
set category = "Fun"
set category = "Fun.Add Nif"
set name = "Quick Auth NIF"
set desc = "Spawns an authentic NIF into someone in quick-implant mode."

View File

@@ -1,8 +1,8 @@
/datum/admins/proc/quick_nif()
set category = "Fun"
set category = "Fun.Add Nif" //CHOMPEdit
set name = "Quick NIF"
set desc = "Spawns a NIF into someone in quick-implant mode."
var/input_NIF
if(!check_rights(R_ADMIN|R_EVENT|R_DEBUG|R_MOD)) //CHOMPStation Edit TFF 24/4/19: Allow Devs to use Quick-NIF verb. 11/9/20: Also allow mods :3
@@ -48,5 +48,4 @@
new /obj/item/device/nif(H)
log_and_message_admins("[key_name(src)] Quick NIF'd [H.real_name] with a [input_NIF].")
feedback_add_details("admin_verb","QNIF") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
feedback_add_details("admin_verb","QNIF") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!

View File

@@ -1,5 +1,5 @@
/client/proc/air_report()
set category = "Debug"
set category = "Debug.Investigate" //CHOMPEdit
set name = "Show Air Report"
if(!master_controller || !air_master)
@@ -100,7 +100,7 @@
/client/proc/reload_admins()
set name = "Reload Admins"
set category = "Debug"
set category = "Debug.Server" //CHOMPEdit
if(!check_rights(R_SERVER)) return
@@ -110,7 +110,7 @@
/client/proc/reload_eventMs()
set name = "Reload Event Managers"
set category = "Debug"
set category = "Debug.Server" //CHOMPEdit
if(!check_rights(R_SERVER)) return
@@ -121,7 +121,7 @@
//todo:
/client/proc/jump_to_dead_group()
set name = "Jump to dead group"
set category = "Debug"
set category = "Debug.Game" //CHOMPEdit
/*
if(!holder)
to_chat(src, "Only administrators may use this command.")
@@ -143,7 +143,7 @@
/client/proc/kill_airgroup()
set name = "Kill Local Airgroup"
set desc = "Use this to allow manual manupliation of atmospherics."
set category = "Debug"
set category = "Debug.Dangerous" //CHOMPEdit
/*
if(!holder)
to_chat(src, "Only administrators may use this command.")
@@ -166,7 +166,7 @@
/client/proc/print_jobban_old()
set name = "Print Jobban Log"
set desc = "This spams all the active jobban entries for the current round to standard output."
set category = "Debug"
set category = "Debug.Investigate" //CHOMPEdit
to_chat(usr, "<b>Jobbans active in this round.</b>")
for(var/t in jobban_keylist)
@@ -175,7 +175,7 @@
/client/proc/print_jobban_old_filter()
set name = "Search Jobban Log"
set desc = "This searches all the active jobban entries for the current round and outputs the results to standard output."
set category = "Debug"
set category = "Debug.Investigate" //CHOMPEdit
var/job_filter = tgui_input_text(usr, "Contains what?","Job Filter")
if(!job_filter)

View File

@@ -1,5 +1,5 @@
/client/proc/roll_dices()
set category = "Fun"
set category = "Fun.Event Kit" //CHOMPEdit
set name = "Roll Dice"
if(!check_rights(R_FUN))
return
@@ -21,4 +21,4 @@
if(tgui_alert(usr, "Do you want to inform the world about the result?","Show world?",list("Yes", "No")) == "Yes")
to_world("<h2 style=\"color:#A50400\">Gods rolled [dice], result is [result]</h2>")
message_admins("[key_name_admin(src)] rolled dice [dice], result is [result]", 1)
message_admins("[key_name_admin(src)] rolled dice [dice], result is [result]", 1)

View File

@@ -27,7 +27,7 @@
/client/proc/add_mob_for_narration(E as obj|mob|turf in orange(world.view))
set name = "Narrate Entity (Add ref)"
set desc = "Saves a reference of target mob to be called when narrating."
set category = "Fun"
set category = "Fun.Narrate" //CHOMPEdit
if(!check_rights(R_FUN)) return
@@ -77,7 +77,7 @@
/client/proc/remove_mob_for_narration()
set name = "Narrate Entity (Remove ref)"
set desc = "Remove mobs you're no longer narrating from your list for easier work."
set category = "Fun"
set category = "Fun.Narrate" //CHOMPEdit
if(!check_rights(R_FUN)) return
@@ -107,7 +107,7 @@
/client/proc/narrate_mob()
set name = "Narrate Entity (Interface)"
set desc = "Send either a visible or audiable message through your chosen entities using an interface"
set category = "Fun"
set category = "Fun.Narrate" //CHOMPEdit
if(!check_rights(R_FUN)) return
@@ -138,7 +138,7 @@
/client/proc/narrate_mob_args(name as text, mode as text, message as text)
set name = "Narrate Entity"
set desc = "Narrate entities using positional arguments. Name should be as saved in ref list, mode should be Speak or Emote, follow with message"
set category = "Fun"
set category = "Fun.Narrate" //CHOMPEdit

View File

@@ -4,7 +4,7 @@ Eventkit verb to be used to spawn the obj/effect/landmarks defined under code\ga
/client/proc/manage_event_triggers()
set name = "Manage Event Triggers"
set desc = "Open dialogue to create or delete narration/notification triggers"
set category = "Fun.EventKit" //ChompEDIT
set category = "Fun.Event Kit" //CHOMPEdit
if(!check_rights(R_FUN)) return

View File

@@ -1,7 +1,7 @@
//Merged Doohl's and the existing ticklag as they both had good elements about them ~
//Replaces the old Ticklag verb, fps is easier to understand
/client/proc/set_server_fps()
set category = "Debug"
set category = "Debug.Server" //CHOMPEdit
set name = "Set Server FPS"
set desc = "Sets game speed in frames-per-second. Can potentially break the game"

View File

@@ -6,7 +6,7 @@
/client/proc/getPlayerStatus()
set name = "Report Player Status"
set desc = "Get information on all active players in-game."
set category = "Fun.EventKit" //ChompEDIT
set category = "Fun.Event Kit" //ChompEDIT
if(!check_rights(R_FUN)) return

View File

@@ -81,7 +81,7 @@
//Shows today's server log
/datum/admins/proc/view_txt_log()
set category = "Admin"
set category = "Admin.Logs" //CHOMPEdit
set name = "Show Server Log"
set desc = "Shows today's server log."
@@ -96,7 +96,7 @@
//Shows today's attack log
/datum/admins/proc/view_atk_log()
set category = "Admin"
set category = "Admin.Logs" //CHOMPEdit
set name = "Show Server Attack Log"
set desc = "Shows today's server attack log."

View File

@@ -1,5 +1,5 @@
/client/proc/fixatmos()
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
set name = "Fix Atmospherics Grief"
if(!check_rights(R_ADMIN|R_DEBUG|R_EVENT)) return

View File

@@ -1,7 +1,7 @@
/client/proc/admin_lightning_strike()
set name = "Lightning Strike"
set desc = "Causes lightning to strike on your tile. This can be made to hurt things on or nearby it severely."
set category = "Fun"
set category = "Fun.Do Not" //CHOMPEdit
if(!check_rights(R_FUN))
return

View File

@@ -1,5 +1,5 @@
/client/proc/map_template_load()
set category = "Debug"
set category = "Debug.Events" //CHOMPEdit
set name = "Map template - Place At Loc"
var/datum/map_template/template
@@ -39,7 +39,7 @@
usr.client.images -= preview
/client/proc/map_template_load_on_new_z()
set category = "Debug"
set category = "Debug.Events" //CHOMPEdit
set name = "Map template - New Z"
var/datum/map_template/template
@@ -69,7 +69,7 @@
/client/proc/map_template_upload()
set category = "Debug"
set category = "Debug.Events" //CHOMPEdit
set name = "Map Template - Upload"
var/map = input(usr, "Choose a Map Template to upload to template storage","Upload Map Template") as null|file

View File

@@ -167,7 +167,7 @@ var/list/debug_verbs = list (
/client/proc/enable_debug_verbs()
set category = "Debug"
set category = "Debug.Misc" //CHOMPEdit
set name = "Debug verbs"
if(!check_rights(R_DEBUG)) return
@@ -177,7 +177,7 @@ var/list/debug_verbs = list (
feedback_add_details("admin_verb","mDV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/hide_debug_verbs()
set category = "Debug"
set category = "Debug.Misc" //CHOMPEdit
set name = "Hide Debug verbs"
if(!check_rights(R_DEBUG)) return
@@ -209,7 +209,7 @@ var/list/debug_verbs = list (
/client/proc/testZAScolors()
set category = "ZAS"
set category = "Mapping" //CHOMPEdit
set name = "Check ZAS connections"
if(!check_rights(R_DEBUG)) return
@@ -258,7 +258,7 @@ var/list/debug_verbs = list (
testZAScolors_turfs += T
/client/proc/testZAScolors_remove()
set category = "ZAS"
set category = "Mapping" //CHOMPEdit
set name = "Remove ZAS connection colors"
testZAScolors_turfs.Cut()
@@ -270,7 +270,7 @@ var/list/debug_verbs = list (
images.Remove(i)
/client/proc/rebootAirMaster()
set category = "ZAS"
set category = "Mapping" //CHOMPEdit
set name = "Reboot ZAS"
if(tgui_alert(usr, "This will destroy and remake all zone geometry on the whole map.","Reboot ZAS",list("Reboot ZAS","Nevermind")) == "Reboot ZAS")

View File

@@ -2,7 +2,7 @@
/client/proc/modify_robot(var/mob/living/silicon/robot/target in silicon_mob_list)
set name = "Modify Robot Module"
set desc = "Allows to add or remove modules to/from robots."
set category = "Admin"
set category = "Admin.Silicon" //CHOMPEdit
if(!check_rights(R_ADMIN|R_FUN|R_VAREDIT|R_EVENT))
return

View File

@@ -1,5 +1,5 @@
/client/proc/panicbunker()
set category = "Server"
set category = "Server.Config" //CHOMPEdit
set name = "Toggle Panic Bunker"
if(!check_rights(R_ADMIN))
@@ -17,7 +17,7 @@
feedback_add_details("admin_verb","PANIC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/paranoia_logging()
set category = "Server"
set category = "Server.Config" //CHOMPEdit
set name = "New Player Warnings"
if(!check_rights(R_ADMIN))
@@ -31,7 +31,7 @@
feedback_add_details("admin_verb","PARLOG") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/ip_reputation()
set category = "Server"
set category = "Server.Config" //CHOMPEdit
set name = "Toggle IP Rep Checks"
if(!check_rights(R_ADMIN))

View File

@@ -6,7 +6,7 @@
var/list/sounds_cache = list()
/client/proc/play_sound(S as sound)
set category = "Fun"
set category = "Fun.Sounds" //CHOMPEdit
set name = "Play Global Sound"
if(!check_rights(R_SOUNDS))
return
@@ -48,7 +48,7 @@ var/list/sounds_cache = list()
feedback_add_details("admin_verb", "Play Global Sound")
/client/proc/play_local_sound(S as sound)
set category = "Fun"
set category = "Fun.Sounds" //CHOMPEdit
set name = "Play Local Sound"
if(!check_rights(R_SOUNDS))
return
@@ -59,7 +59,7 @@ var/list/sounds_cache = list()
feedback_add_details("admin_verb", "Play Local Sound")
/client/proc/play_direct_mob_sound(S as sound, mob/M)
set category = "Fun"
set category = "Fun.Sounds" //CHOMPEdit
set name = "Play Direct Mob Sound"
if(!check_rights(R_SOUNDS))
return
@@ -74,7 +74,7 @@ var/list/sounds_cache = list()
feedback_add_details("admin_verb", "Play Direct Mob Sound")
/client/proc/play_z_sound(S as sound)
set category = "Fun"
set category = "Fun.Sounds" //CHOMPEdit
set name = "Play Z Sound"
if(!check_rights(R_SOUNDS)) return
var/target_z = mob.z
@@ -96,7 +96,7 @@ var/list/sounds_cache = list()
/client/proc/play_server_sound()
set category = "Fun"
set category = "Fun.Sounds" //CHOMPEdit
set name = "Play Server Sound"
if(!check_rights(R_SOUNDS))
return
@@ -213,7 +213,7 @@ var/list/sounds_cache = list()
feedback_add_details("admin_verb", "Play Internet Sound")
/client/proc/play_web_sound()
set category = "Fun"
set category = "Fun.Sounds" //CHOMPEdit
set name = "Play Internet Sound"
if(!check_rights(R_SOUNDS))
return
@@ -241,7 +241,7 @@ var/list/sounds_cache = list()
web_sound(usr, null)
/client/proc/stop_sounds()
set category = "Debug"
set category = "Debug.Dangerous" //CHOMPEdit
set name = "Stop All Playing Sounds"
if(!src.holder)
return
@@ -263,7 +263,7 @@ var/list/sounds_cache = list()
/*
/client/proc/cuban_pete()
set category = "Fun"
set category = "Fun.Sounds" //CHOMPEdit
set name = "Cuban Pete Time"
message_admins("[key_name_admin(usr)] has declared Cuban Pete Time!", 1)
@@ -279,7 +279,7 @@ var/list/sounds_cache = list()
/client/proc/bananaphone()
set category = "Fun"
set category = "Fun.Sounds" //CHOMPEdit
set name = "Banana Phone"
message_admins("[key_name_admin(usr)] has activated Banana Phone!", 1)
@@ -290,7 +290,7 @@ var/list/sounds_cache = list()
/client/proc/space_asshole()
set category = "Fun"
set category = "Fun.Sounds" //CHOMPEdit
set name = "Space Asshole"
message_admins("[key_name_admin(usr)] has played the Space Asshole Hymn.", 1)
@@ -301,7 +301,7 @@ var/list/sounds_cache = list()
/client/proc/honk_theme()
set category = "Fun"
set category = "Fun.Sounds" //CHOMPEdit
set name = "Honk"
message_admins("[key_name_admin(usr)] has creeped everyone out with Blackest Honks.", 1)

View File

@@ -1,5 +1,5 @@
/mob/verb/pray()
set category = "IC"
set category = "IC.Game" //CHOMPEdit
set name = "Pray"
if(say_disabled) //This is here to try to identify lag problems

View File

@@ -18,7 +18,7 @@
feedback_add_details("admin_verb","DEVR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_prison(mob/M as mob in mob_list)
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
set name = "Prison"
if(!holder)
return
@@ -46,7 +46,7 @@
//Allows staff to determine who the newer players are.
/client/proc/cmd_check_new_players()
set category = "Admin"
set category = "Admin.Investigate" //CHOMPEdit
set name = "Check new Players"
if(!holder)
return
@@ -79,7 +79,7 @@
to_chat(src, "No matches for that age range found.")
/client/proc/cmd_admin_subtle_message(mob/M as mob in mob_list)
set category = "Special Verbs"
set category = "Admin" //CHOMPEdit
set name = "Subtle Message"
if(!ismob(M)) return
@@ -106,7 +106,7 @@
feedback_add_details("admin_verb","SMS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_world_narrate() // Allows administrators to fluff events a little easier -- TLE
set category = "Special Verbs"
set category = "Fun.Narrate" //CHOMPEdit
set name = "Global Narrate"
if (!holder)
@@ -127,7 +127,7 @@
feedback_add_details("admin_verb","GLN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_direct_narrate(var/mob/M) // Targetted narrate -- TLE
set category = "Special Verbs"
set category = "Fun.Narrate" //CHOMPEdit
set name = "Direct Narrate"
if(!holder)
@@ -224,7 +224,7 @@
feedback_add_details("admin_verb","MUTE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_add_random_ai_law()
set category = "Fun"
set category = "Fun.Silicon" //CHOMPEdit
set name = "Add Random AI Law"
if(!holder)
@@ -273,7 +273,7 @@ Ccomp's first proc.
/client/proc/allow_character_respawn()
set category = "Special Verbs"
set category = "Admin.Game" //CHOMPEdit
set name = "Allow player to respawn"
set desc = "Let a player bypass the wait to respawn or allow them to re-enter their corpse."
@@ -310,7 +310,7 @@ Ccomp's first proc.
/client/proc/toggle_antagHUD_use()
set category = "Server"
set category = "Server.Game" //CHOMPEdit
set name = "Toggle antagHUD usage"
set desc = "Toggles antagHUD usage for observers"
@@ -345,7 +345,7 @@ Ccomp's first proc.
/client/proc/toggle_antagHUD_restrictions()
set category = "Server"
set category = "Server.Game" //CHOMPEdit
set name = "Toggle antagHUD Restrictions"
set desc = "Restricts players that have used antagHUD from being able to join this round."
@@ -378,7 +378,7 @@ Works kind of like entering the game with a new character. Character receives a
Traitors and the like can also be revived with the previous role mostly intact.
/N */
/client/proc/respawn_character()
set category = "Special Verbs"
set category = "Fun.Event Kit" //CHOMPEdit
set name = "Spawn Character"
set desc = "(Re)Spawn a client's loaded character."
@@ -589,7 +589,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
return new_character
/client/proc/cmd_admin_add_freeform_ai_law()
set category = "Fun"
set category = "Fun.Silicon" //CHOMPEdit
set name = "Add Custom AI law"
if(!holder)
@@ -618,7 +618,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
feedback_add_details("admin_verb","IONC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_rejuvenate(mob/living/M as mob in mob_list)
set category = "Special Verbs"
set category = "Admin.Game" //CHOMPEdit
set name = "Rejuvenate"
if(!holder)
@@ -641,7 +641,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
feedback_add_details("admin_verb","REJU") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_create_centcom_report()
set category = "Special Verbs"
set category = "Debug.Game" //CHOMPEdit
set name = "Create Command Report"
if(!holder)
@@ -669,7 +669,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
feedback_add_details("admin_verb","CCR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_delete(atom/O as obj|mob|turf in _validate_atom(O)) // I don't understand precisely how this fixes the string matching against a substring, but it does - Ater
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
set name = "Delete"
if (!holder)
@@ -678,7 +678,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
admin_delete(O)
/client/proc/cmd_admin_list_open_jobs()
set category = "Admin"
set category = "Admin.Investigate" //CHOMPEdit
set name = "List free slots"
if (!holder)
@@ -766,7 +766,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/cmd_admin_gib_self()
set name = "Gibself"
set category = "Fun"
set category = "Fun.Do Not" //CHOMPEdit
if(!holder)
return
@@ -844,7 +844,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
return
/client/proc/cmd_admin_check_contents(mob/living/M as mob in mob_list)
set category = "Special Verbs"
set category = "Admin.Investigate" //CHOMPEdit
set name = "Check Contents"
set popup_menu = FALSE //VOREStation Edit - Declutter.
@@ -888,7 +888,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
*/
/client/proc/toggle_view_range()
set category = "Special Verbs"
set category = "Admin.Game" //CHOMPEdit
set name = "Change View Range"
set desc = "switches between 1x and custom views"
@@ -908,7 +908,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
feedback_add_details("admin_verb","CVRA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/admin_call_shuttle()
set category = "Admin"
set category = "Admin.Events" //CHOMPEdit
set name = "Call Shuttle"
if ((!( ticker ) || !emergency_shuttle.location()))
@@ -940,7 +940,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
return
/client/proc/admin_cancel_shuttle()
set category = "Admin"
set category = "Admin.Events" //CHOMPEdit
set name = "Cancel Shuttle"
if(!check_rights(R_ADMIN|R_FUN)) return // CHOMPstation edit: Lets anyone cancel the shuttle.
@@ -958,7 +958,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
return
/client/proc/admin_deny_shuttle()
set category = "Admin"
set category = "Admin.Events" //CHOMPEdit
set name = "Toggle Deny Shuttle"
if (!ticker)
@@ -982,7 +982,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/everyone_random()
set category = "Fun"
set category = "Fun.Do Not" //CHOMPEdit
set name = "Make Everyone Random"
set desc = "Make everyone have a random appearance. You can only use this before rounds!"
@@ -1016,7 +1016,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/toggle_random_events()
set category = "Server"
set category = "Server.Game" //CHOMPEdit
set name = "Toggle random events on/off"
set desc = "Toggles random events such as meteors, black holes, blob (but not space dust) on/off"
@@ -1034,7 +1034,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/despawn_player(var/mob/M in living_mob_list)
set name = "Cryo Player"
set category = "Admin"
set category = "Admin.Game" //CHOMPEdit
set desc = "Removes a player from the round as if they'd cryo'd."
set popup_menu = FALSE
@@ -1097,7 +1097,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/cmd_admin_droppod_spawn(var/object as text)
set name = "Drop Pod Atom"
set desc = "Spawn a new atom/movable in a drop pod where you are."
set category = "Fun"
set category = "Fun.Drop Pod" //CHOMPEdit
if(!check_rights(R_SPAWN))
return
@@ -1139,7 +1139,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/cmd_admin_droppod_deploy()
set name = "Drop Pod Deploy"
set desc = "Drop an existing mob where you are in a drop pod."
set category = "Fun"
set category = "Fun.Drop Pod" //CHOMPEdit
if(!check_rights(R_SPAWN))
return

View File

@@ -1,5 +1,5 @@
/client/proc/spawn_character_mob()
set category = "Special Verbs"
set category = "Fun.Event Kit" //CHOMPEdit
set name = "Spawn Character As Mob"
set desc = "Spawn a specified ckey as a chosen mob."
@@ -76,7 +76,7 @@
return new_mob
/client/proc/cmd_admin_z_narrate() // Allows administrators to fluff events a little easier -- TLE
set category = "Special Verbs"
set category = "Fun.Narrate" //CHOMPEdit
set name = "Z Narrate"
set desc = "Narrates to your Z level."
@@ -84,12 +84,13 @@
return
var/msg = tgui_input_text(usr, "Message:", text("Enter the text you wish to appear to everyone:"))
if(!(msg[1] == "<" && msg[length(msg)] == ">")) //You can use HTML but only if the whole thing is HTML. Tries to prevent admin 'accidents'.
msg = sanitize(msg)
//CHOMPEdit Start fixes runtime crash on empty input
if (!msg)
return
if(!(msg[1] == "<" && msg[length(msg)] == ">")) //You can use HTML but only if the whole thing is HTML. Tries to prevent admin 'accidents'.
msg = sanitize(msg)
//CHOMPEdit End
var/pos_z = get_z(src.mob)
if (!pos_z)
return
@@ -101,7 +102,7 @@
feedback_add_details("admin_verb","GLNA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/toggle_vantag_hud(var/mob/target as mob)
set category = "Fun"
set category = "Fun.Event Kit" //CHOMPEdit
set name = "Give/Remove Event HUD"
set desc = "Give a mob the event hud, which shows them other people's event preferences, or remove it from them"

View File

@@ -1,7 +1,7 @@
/client/proc/resize(var/mob/living/L in mob_list)
set name = "Resize"
set desc = "Resizes any living mob without any restrictions on size."
set category = "Fun"
set category = "Fun.Event Kit" //CHOMPEdit
if(!check_rights(R_ADMIN|R_FUN|R_VAREDIT))
return
do_resize(L) //CHOMPEdit

View File

@@ -1,7 +1,7 @@
/client/proc/smite(var/mob/living/carbon/human/target in player_list)
set name = "Smite"
set desc = "Abuse a player with various 'special treatments' from a list."
set category = "Fun"
set category = "Fun.Do Not" //CHOMPEdit
if(!check_rights(R_FUN))
return
@@ -10,7 +10,7 @@
var/list/smite_types = list(SMITE_BREAKLEGS,SMITE_BLUESPACEARTILLERY,SMITE_SPONTANEOUSCOMBUSTION,SMITE_LIGHTNINGBOLT,
SMITE_SHADEKIN_ATTACK,SMITE_SHADEKIN_NOMF,SMITE_AD_SPAM,SMITE_REDSPACE_ABDUCT,SMITE_AUTOSAVE,SMITE_AUTOSAVE_WIDE,
SMITE_PIE, SMITE_SPICE) //CHOMP Add pie and spicy air
SMITE_PIE, SMITE_SPICE) //CHOMP Add pie and spicy air
var/smite_choice = tgui_input_list(usr, "Select the type of SMITE for [target]","SMITE Type Choice", smite_types)
if(!smite_choice)

View File

@@ -2,7 +2,7 @@
var/const/commandos_possible = 6 //if more Commandos are needed in the future
/client/proc/strike_team()
set category = "Fun"
set category = "Fun.Event Kit" //CHOMPEdit
set name = "Spawn Strike Team"
set desc = "Spawns a strike team if you want to run an admin event."

View File

@@ -1,5 +1,5 @@
/client/proc/triple_ai()
set category = "Fun"
set category = "Fun.Event Kit" //CHOMPEdit
set name = "Create AI Triumvirate"
if(ticker.current_state > GAME_STATE_PREGAME)