mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-18 03:36:07 +01:00
Tg panel patch 2 (#8085)
Co-authored-by: Cadyn Bombaci <cadynspacetechguy@gmail.com>
This commit is contained in:
+44
-44
@@ -32,7 +32,7 @@ var/global/floorIsLava = 0
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////Panels
|
||||
|
||||
/datum/admins/proc/show_player_panel(var/mob/M in mob_list)
|
||||
set category = "Admin"
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set name = "Show Player Panel"
|
||||
set desc="Edit player (respawn, ban, heal, etc)"
|
||||
|
||||
@@ -224,7 +224,7 @@ var/global/floorIsLava = 0
|
||||
/datum/player_info/var/timestamp // Because this is bloody annoying
|
||||
|
||||
/datum/admins/proc/PlayerNotes()
|
||||
set category = "Admin"
|
||||
set category = "Admin.Logs" //CHOMPEdit
|
||||
set name = "Player Notes"
|
||||
if (!istype(src,/datum/admins))
|
||||
src = usr.client.holder
|
||||
@@ -264,7 +264,7 @@ var/global/floorIsLava = 0
|
||||
|
||||
|
||||
/datum/admins/proc/show_player_info(var/key as text)
|
||||
set category = "Admin"
|
||||
set category = "Admin.Investigate" //CHOMPEdit
|
||||
set name = "Show Player Info"
|
||||
if (!istype(src,/datum/admins))
|
||||
src = usr.client.holder
|
||||
@@ -278,7 +278,7 @@ var/global/floorIsLava = 0
|
||||
|
||||
|
||||
/datum/admins/proc/access_news_network() //MARKER
|
||||
set category = "Fun"
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set name = "Access Newscaster Network"
|
||||
set desc = "Allows you to view, add and edit news feeds."
|
||||
|
||||
@@ -594,7 +594,7 @@ var/global/floorIsLava = 0
|
||||
|
||||
|
||||
/datum/admins/proc/restart()
|
||||
set category = "Server"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set name = "Restart"
|
||||
set desc="Restarts the world"
|
||||
if (!usr.client.holder)
|
||||
@@ -617,7 +617,7 @@ var/global/floorIsLava = 0
|
||||
|
||||
|
||||
/datum/admins/proc/announce()
|
||||
set category = "Special Verbs"
|
||||
set category = "Admin.Chat" //CHOMPEdit
|
||||
set name = "Announce"
|
||||
set desc="Announce your desires to the world"
|
||||
if(!check_rights(0)) return
|
||||
@@ -635,7 +635,7 @@ var/global/floorIsLava = 0
|
||||
var/datum/announcement/priority/admin_pri_announcer = new
|
||||
var/datum/announcement/minor/admin_min_announcer = new
|
||||
/datum/admins/proc/intercom()
|
||||
set category = "Fun"
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set name = "Intercom Msg"
|
||||
set desc = "Send an intercom message, like an arrivals announcement."
|
||||
if(!check_rights(0)) return
|
||||
@@ -663,7 +663,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","IN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/intercom_convo()
|
||||
set category = "Fun"
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set name = "Intercom Convo"
|
||||
set desc = "Send an intercom conversation, like several uses of the Intercom Msg verb."
|
||||
set waitfor = FALSE //Why bother? We have some sleeps. You can leave tho!
|
||||
@@ -750,7 +750,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
sleep(this_wait SECONDS)
|
||||
|
||||
/datum/admins/proc/toggleooc()
|
||||
set category = "Server"
|
||||
set category = "Server.Chat" //CHOMPEdit
|
||||
set desc="Globally Toggles OOC"
|
||||
set name="Toggle Player OOC"
|
||||
|
||||
@@ -766,7 +766,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TOOC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/togglelooc()
|
||||
set category = "Server"
|
||||
set category = "Server.Chat" //CHOMPEdit
|
||||
set desc="Globally Toggles LOOC"
|
||||
set name="Toggle Player LOOC"
|
||||
|
||||
@@ -783,7 +783,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
|
||||
|
||||
/datum/admins/proc/toggledsay()
|
||||
set category = "Server"
|
||||
set category = "Server.Chat" //CHOMPEdit
|
||||
set desc="Globally Toggles DSAY"
|
||||
set name="Toggle DSAY"
|
||||
|
||||
@@ -800,7 +800,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TDSAY") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc
|
||||
|
||||
/datum/admins/proc/toggleoocdead()
|
||||
set category = "Server"
|
||||
set category = "Server.Chat" //CHOMPEdit
|
||||
set desc="Toggle Dead OOC."
|
||||
set name="Toggle Dead OOC"
|
||||
|
||||
@@ -813,7 +813,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TDOOC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/togglehubvisibility()
|
||||
set category = "Server"
|
||||
set category = "Server.Config" //CHOMPEdit
|
||||
set desc="Globally Toggles Hub Visibility"
|
||||
set name="Toggle Hub Visibility"
|
||||
|
||||
@@ -826,7 +826,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","THUB") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc
|
||||
|
||||
/datum/admins/proc/toggletraitorscaling()
|
||||
set category = "Server"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set desc="Toggle traitor scaling"
|
||||
set name="Toggle Traitor Scaling"
|
||||
CONFIG_SET(flag/traitor_scaling, !CONFIG_GET(flag/traitor_scaling)) // CHOMPEdit
|
||||
@@ -835,7 +835,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TTS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/startnow()
|
||||
set category = "Server"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set desc="Start the round ASAP"
|
||||
set name="Start Now"
|
||||
|
||||
@@ -858,7 +858,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
log_and_message_admins("cancelled immediate game start.")
|
||||
|
||||
/datum/admins/proc/toggleenter()
|
||||
set category = "Server"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set desc="People can't enter"
|
||||
set name="Toggle Entering"
|
||||
CONFIG_SET(flag/enter_allowed, !CONFIG_GET(flag/enter_allowed)) // CHOMPEdit
|
||||
@@ -872,7 +872,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/toggleAI()
|
||||
set category = "Server"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set desc="People can't be AI"
|
||||
set name="Toggle AI"
|
||||
CONFIG_SET(flag/allow_ai, !CONFIG_GET(flag/allow_ai)) // CHOMPEdit
|
||||
@@ -885,7 +885,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TAI") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/toggleaban()
|
||||
set category = "Server"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set desc="Respawn basically"
|
||||
set name="Toggle Respawn"
|
||||
CONFIG_SET(flag/abandon_allowed, !CONFIG_GET(flag/abandon_allowed)) // CHOMPEdit
|
||||
@@ -899,7 +899,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/togglepersistence()
|
||||
set category = "Server"
|
||||
set category = "Server.Config" //CHOMPEdit
|
||||
set desc="Whether persistent data will be saved from now on."
|
||||
set name="Toggle Persistent Data"
|
||||
CONFIG_SET(flag/persistence_disabled, !CONFIG_GET(flag/persistence_disabled)) // CHOMPEdit
|
||||
@@ -915,7 +915,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TPD") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/togglemaploadpersistence()
|
||||
set category = "Server"
|
||||
set category = "Server.Config" //CHOMPEdit
|
||||
set desc="Whether mapload persistent data will be saved from now on."
|
||||
set name="Toggle Mapload Persistent Data"
|
||||
CONFIG_SET(flag/persistence_ignore_mapload, !CONFIG_GET(flag/persistence_ignore_mapload)) // CHOMPEdit
|
||||
@@ -929,7 +929,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TMPD") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/toggle_aliens()
|
||||
set category = "Server"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set desc="Toggle alien mobs"
|
||||
set name="Toggle Aliens"
|
||||
CONFIG_SET(flag/aliens_allowed, !CONFIG_GET(flag/aliens_allowed)) // CHOMPEdit
|
||||
@@ -938,7 +938,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/toggle_space_ninja()
|
||||
set category = "Server"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set desc="Toggle space ninjas spawning."
|
||||
set name="Toggle Space Ninjas"
|
||||
CONFIG_SET(flag/ninjas_allowed, !CONFIG_GET(flag/ninjas_allowed)) // CHOMPEdit
|
||||
@@ -947,7 +947,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TSN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/delay()
|
||||
set category = "Server"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set desc="Delay the game start/end"
|
||||
set name="Delay"
|
||||
|
||||
@@ -967,7 +967,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","DELAY") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/adjump()
|
||||
set category = "Server"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set desc="Toggle admin jumping"
|
||||
set name="Toggle Jump"
|
||||
CONFIG_SET(flag/allow_admin_jump, !CONFIG_GET(flag/allow_admin_jump)) // CHOMPEdit
|
||||
@@ -975,7 +975,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TJ") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/adspawn()
|
||||
set category = "Server"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set desc="Toggle admin spawning"
|
||||
set name="Toggle Spawn"
|
||||
CONFIG_SET(flag/allow_admin_spawning, !CONFIG_GET(flag/allow_admin_spawning)) // CHOMPEdit
|
||||
@@ -983,7 +983,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TAS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/adrev()
|
||||
set category = "Server"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set desc="Toggle admin revives"
|
||||
set name="Toggle Revive"
|
||||
CONFIG_SET(flag/allow_admin_rev, !CONFIG_GET(flag/allow_admin_rev)) // CHOMPEdit
|
||||
@@ -991,7 +991,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TAR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/immreboot()
|
||||
set category = "Server"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set desc="Reboots the server post haste"
|
||||
set name="Immediate Reboot"
|
||||
if(!usr.client.holder) return
|
||||
@@ -1009,7 +1009,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
world.Reboot()
|
||||
|
||||
/datum/admins/proc/unprison(var/mob/M in mob_list)
|
||||
set category = "Admin"
|
||||
set category = "Admin.Moderation" //CHOMPEdit
|
||||
set name = "Unprison"
|
||||
if (M.z == 2)
|
||||
if (CONFIG_GET(flag/allow_admin_jump)) // CHOMPEdit
|
||||
@@ -1050,7 +1050,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
return 0
|
||||
|
||||
/datum/admins/proc/spawn_fruit(seedtype in SSplants.seeds)
|
||||
set category = "Debug"
|
||||
set category = "Debug.Game" //CHOMPEdit
|
||||
set desc = "Spawn the product of a seed."
|
||||
set name = "Spawn Fruit"
|
||||
|
||||
@@ -1065,7 +1065,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
log_admin("[key_name(usr)] spawned [seedtype] fruit at ([usr.x],[usr.y],[usr.z])")
|
||||
|
||||
/datum/admins/proc/spawn_custom_item()
|
||||
set category = "Debug"
|
||||
set category = "Debug.Game" //CHOMPEdit
|
||||
set desc = "Spawn a custom item."
|
||||
set name = "Spawn Custom Item"
|
||||
|
||||
@@ -1084,7 +1084,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
|
||||
/datum/admins/proc/check_custom_items()
|
||||
|
||||
set category = "Debug"
|
||||
set category = "Debug.Investigate" //CHOMPEdit
|
||||
set desc = "Check the custom item list."
|
||||
set name = "Check Custom Items"
|
||||
|
||||
@@ -1105,7 +1105,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
to_chat(usr, "- name: [item.name] icon: [item.item_icon] path: [item.item_path] desc: [item.item_desc]")
|
||||
|
||||
/datum/admins/proc/spawn_plant(seedtype in SSplants.seeds)
|
||||
set category = "Debug"
|
||||
set category = "Debug.Game" //CHOMPEdit
|
||||
set desc = "Spawn a spreading plant effect."
|
||||
set name = "Spawn Plant"
|
||||
|
||||
@@ -1118,7 +1118,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
|
||||
/datum/admins/proc/spawn_atom(var/object as text)
|
||||
set name = "Spawn"
|
||||
set category = "Debug"
|
||||
set category = "Debug.Game" //CHOMPEdit
|
||||
set desc = "(atom path) Spawn an atom"
|
||||
|
||||
if(!check_rights(R_SPAWN)) return
|
||||
@@ -1152,7 +1152,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
|
||||
|
||||
/datum/admins/proc/show_traitor_panel(var/mob/M in mob_list)
|
||||
set category = "Admin"
|
||||
set category = "Admin.Events" //CHOMPEdit
|
||||
set desc = "Edit mobs's memory and role"
|
||||
set name = "Show Traitor Panel"
|
||||
|
||||
@@ -1167,7 +1167,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","STP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/show_game_mode()
|
||||
set category = "Admin"
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set desc = "Show the current round configuration."
|
||||
set name = "Show Game Mode"
|
||||
|
||||
@@ -1254,7 +1254,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
feedback_add_details("admin_verb","TTWH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/toggleguests()
|
||||
set category = "Server"
|
||||
set category = "Server.Config" //CHOMPEdit
|
||||
set desc="Guests can't enter"
|
||||
set name="Toggle guests"
|
||||
CONFIG_SET(flag/guests_allowed, !CONFIG_GET(flag/guests_allowed)) // CHOMPEdit
|
||||
@@ -1288,7 +1288,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
to_chat(usr, "<b>No AIs located</b>") //Just so you know the thing is actually working and not just ignoring you.
|
||||
|
||||
/datum/admins/proc/show_skills()
|
||||
set category = "Admin"
|
||||
set category = "Admin.Investigate" //CHOMPEdit
|
||||
set name = "Show Skills"
|
||||
|
||||
if (!istype(src,/datum/admins))
|
||||
@@ -1305,7 +1305,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
return
|
||||
|
||||
/client/proc/update_mob_sprite(mob/living/carbon/human/H as mob)
|
||||
set category = "Admin"
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set name = "Update Mob Sprite"
|
||||
set desc = "Should fix any mob sprite update errors."
|
||||
|
||||
@@ -1404,7 +1404,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
return 1
|
||||
|
||||
/datum/admins/proc/force_antag_latespawn()
|
||||
set category = "Admin"
|
||||
set category = "Admin.Events" //CHOMPEdit
|
||||
set name = "Force Template Spawn"
|
||||
set desc = "Force an antagonist template to spawn."
|
||||
|
||||
@@ -1428,7 +1428,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
antag.attempt_late_spawn()
|
||||
|
||||
/datum/admins/proc/force_mode_latespawn()
|
||||
set category = "Admin"
|
||||
set category = "Admin.Events" //CHOMPEdit
|
||||
set name = "Force Mode Spawn"
|
||||
set desc = "Force autotraitor to proc."
|
||||
|
||||
@@ -1446,7 +1446,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
ticker.mode.try_latespawn()
|
||||
|
||||
/datum/admins/proc/paralyze_mob(mob/living/H as mob)
|
||||
set category = "Admin"
|
||||
set category = "Admin.Events" //CHOMPEdit
|
||||
set name = "Toggle Paralyze"
|
||||
set desc = "Paralyzes a player. Or unparalyses them."
|
||||
|
||||
@@ -1464,7 +1464,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
log_and_message_admins(msg)
|
||||
|
||||
/datum/admins/proc/set_tcrystals(mob/living/carbon/human/H as mob)
|
||||
set category = "Debug"
|
||||
set category = "Debug.Game" //CHOMPEdit
|
||||
set name = "Set Telecrystals"
|
||||
set desc = "Allows admins to change telecrystals of a user."
|
||||
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||
@@ -1480,7 +1480,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
to_chat(usr, "You do not have access to this command.")
|
||||
|
||||
/datum/admins/proc/add_tcrystals(mob/living/carbon/human/H as mob)
|
||||
set category = "Debug"
|
||||
set category = "Debug.Game" //CHOMPEdit
|
||||
set name = "Add Telecrystals"
|
||||
set desc = "Allows admins to change telecrystals of a user by addition."
|
||||
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||
@@ -1497,7 +1497,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
|
||||
|
||||
/datum/admins/proc/sendFax()
|
||||
set category = "Special Verbs"
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set name = "Send Fax"
|
||||
set desc = "Sends a fax to this machine"
|
||||
var/department = tgui_input_list(usr, "Choose a fax", "Fax", alldepartments)
|
||||
|
||||
Reference in New Issue
Block a user