mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Server maint subsystem (#9408)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4f9bd4462d
commit
f72f2f8c89
1
.gitignore
vendored
1
.gitignore
vendored
@@ -130,6 +130,7 @@ cfg/
|
||||
#Ignore everything in datafolder and subdirectories
|
||||
/data/**/*
|
||||
/tmp/**/*
|
||||
/cache/**/*
|
||||
|
||||
#Visual studio stuff
|
||||
*.vscode/*
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
/client/proc/atmos_toggle_debug(var/obj/machinery/atmospherics/M in view())
|
||||
set name = "Toggle Debug Messages"
|
||||
set category = "Debug.Misc" //CHOMPEdit
|
||||
set category = "Debug.Misc"
|
||||
M.debug = !M.debug
|
||||
to_chat(usr, "[M]: Debug messages toggled [M.debug? "on" : "off"].")
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/ZoneTick()
|
||||
set category = "Debug.Misc" //CHOMPEdit
|
||||
set category = "Debug.Misc"
|
||||
set name = "Process Atmos"
|
||||
set desc = "Manually run a single tick of the air subsystem"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
/client/proc/Zone_Info(turf/T as null|turf)
|
||||
set category = "Debug"
|
||||
set category = "Debug.Misc"
|
||||
if(T)
|
||||
if(istype(T,/turf/simulated) && T:zone)
|
||||
T:zone:dbg_data(src)
|
||||
@@ -36,7 +36,7 @@
|
||||
/client/var/list/zone_debug_images
|
||||
|
||||
/client/proc/Test_ZAS_Connection(var/turf/simulated/T as turf)
|
||||
set category = "Debug"
|
||||
set category = "Debug.Misc"
|
||||
if(!istype(T))
|
||||
return
|
||||
|
||||
@@ -95,6 +95,6 @@
|
||||
to_chat(mob, "both turfs can merge.")
|
||||
|
||||
/client/proc/ZASSettings()
|
||||
set category = "Debug.Dangerous" //CHOMPEdit
|
||||
set category = "Debug.Dangerous"
|
||||
|
||||
vsc.SetDefault(mob)
|
||||
|
||||
@@ -117,7 +117,7 @@ var/global/list/runlevel_flags = list(RUNLEVEL_LOBBY, RUNLEVEL_SETUP, RUNLEVEL_G
|
||||
// Subsystems shutdown in the reverse of the order they initialize in
|
||||
// The numbers just define the ordering, they are meaningless otherwise.
|
||||
#define INIT_ORDER_TITLE 99 //CHOMPEdit
|
||||
#define INIT_ORDER_SERVER_MAINT 93 //CHOMPEdit
|
||||
#define INIT_ORDER_SERVER_MAINT 93
|
||||
#define INIT_ORDER_WEBHOOKS 50
|
||||
#define INIT_ORDER_DBCORE 41 //CHOMPEdit
|
||||
#define INIT_ORDER_SQLITE 40
|
||||
@@ -171,7 +171,7 @@ var/global/list/runlevel_flags = list(RUNLEVEL_LOBBY, RUNLEVEL_SETUP, RUNLEVEL_G
|
||||
#define FIRE_PRIORITY_VOTE 8
|
||||
#define FIRE_PRIORITY_INSTRUMENTS 9
|
||||
#define FIRE_PRIORITY_PING 10
|
||||
#define FIRE_PRIORITY_SERVER_MAINT 10 //CHOMPEdit
|
||||
#define FIRE_PRIORITY_SERVER_MAINT 10
|
||||
#define FIRE_PRIORITY_AI 10
|
||||
#define FIRE_PRIORITY_GARBAGE 15
|
||||
#define FIRE_PRIORITY_ASSETS 20
|
||||
|
||||
@@ -208,15 +208,6 @@
|
||||
list -= null
|
||||
return
|
||||
|
||||
//CHOMPAdd Start, list clear with return value
|
||||
/**
|
||||
* Removes any null entries from the list
|
||||
* Returns TRUE if the list had nulls, FALSE otherwise
|
||||
**/
|
||||
/proc/list_clear_nulls(list/list_to_clear)
|
||||
return (list_to_clear.RemoveAll(null) > 0)
|
||||
//CHOMPAdd End
|
||||
|
||||
/*
|
||||
* Returns list containing all the entries from first list that are not present in second.
|
||||
* If skiprep = 1, repeated elements are treated as one.
|
||||
@@ -234,6 +225,13 @@
|
||||
result = first - second
|
||||
return result
|
||||
|
||||
/**
|
||||
* Removes any null entries from the list
|
||||
* Returns TRUE if the list had nulls, FALSE otherwise
|
||||
**/
|
||||
/proc/list_clear_nulls(list/list_to_clear)
|
||||
return (list_to_clear.RemoveAll(null) > 0)
|
||||
|
||||
/*
|
||||
Two lists may be different (A!=B) even if they have the same elements.
|
||||
This actually tests if they have the same entries and values.
|
||||
|
||||
@@ -396,7 +396,7 @@
|
||||
HUD.inventory_shown = 0
|
||||
|
||||
/mob/living/carbon/human/verb/toggle_hotkey_verbs()
|
||||
set category = "OOC.Client Settings" //CHOMPEdit
|
||||
set category = "OOC.Client Settings"
|
||||
set name = "Toggle hotkey buttons"
|
||||
set desc = "This disables or enables the user interface buttons which can be used with hotkeys."
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/mob/observer/dead/verb/toggle_inquisition() // warning: unexpected inquisition
|
||||
set name = "Toggle Inquisitiveness"
|
||||
set desc = "Sets whether your ghost examines everything on click by default"
|
||||
set category = "Ghost.Settings" //CHOMPEdit
|
||||
set category = "Ghost.Settings"
|
||||
if(!client) return
|
||||
client.inquisitive_ghost = !client.inquisitive_ghost
|
||||
if(client.inquisitive_ghost)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/client/verb/toggle_hardsuit_mode()
|
||||
set name = "Toggle Hardsuit Activation Mode"
|
||||
set desc = "Switch between hardsuit activation modes."
|
||||
set category = "OOC.Game Settings" //CHOMPEdit
|
||||
set category = "OOC.Game Settings"
|
||||
|
||||
hardsuit_click_mode++
|
||||
if(hardsuit_click_mode > MAX_HARDSUIT_CLICK_MODE)
|
||||
|
||||
@@ -549,13 +549,12 @@
|
||||
/datum/config_entry/flag/persistence_ignore_mapload
|
||||
|
||||
/datum/config_entry/flag/allow_byond_links
|
||||
default = TRUE //CHOMP Edit turned this on
|
||||
|
||||
default = TRUE
|
||||
/datum/config_entry/flag/allow_discord_links
|
||||
default = TRUE //CHOMP Edit turned this on
|
||||
default = TRUE
|
||||
|
||||
/datum/config_entry/flag/allow_url_links
|
||||
default = TRUE // honestly if I were you i'd leave this one off, only use in dire situations //CHOMP Edit: pussy.
|
||||
default = TRUE // honestly if I were you i'd leave this one off, only use in dire situations
|
||||
|
||||
/datum/config_entry/flag/starlight // Whether space turfs have ambient light or not
|
||||
|
||||
|
||||
@@ -150,7 +150,7 @@ SUBSYSTEM_DEF(plants)
|
||||
|
||||
// Debug for testing seed genes.
|
||||
/client/proc/show_plant_genes()
|
||||
set category = "Debug.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
set name = "Show Plant Genes"
|
||||
set desc = "Prints the round's plant gene masks."
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ SUBSYSTEM_DEF(server_maint)
|
||||
/*/datum/controller/subsystem/server_maint/PreInit()
|
||||
world.hub_password = "" *///quickly! before the hubbies see us.
|
||||
|
||||
/datum/controller/subsystem/server_maint/Initialize()
|
||||
/datum/controller/subsystem/server_maint/Initialize() // CHOMPEdit
|
||||
if (fexists("tmp/"))
|
||||
fdel("tmp/")
|
||||
//if (CONFIG_GET(flag/hub))
|
||||
@@ -91,7 +91,7 @@ SUBSYSTEM_DEF(server_maint)
|
||||
if (fexists("tmp/"))
|
||||
fdel("tmp/")
|
||||
//kick_clients_in_lobby(span_boldannounce("The round came to an end with you in the lobby."), TRUE) //second parameter ensures only afk clients are kicked
|
||||
var/server = null//CONFIG_GET(string/server) todo properly later once config controller is updated
|
||||
var/server = CONFIG_GET(string/server)
|
||||
for(var/thing in GLOB.clients)
|
||||
if(!thing)
|
||||
continue
|
||||
@@ -136,7 +136,7 @@ SUBSYSTEM_DEF(statpanels)
|
||||
|
||||
target.stat_panel.send_message("update_stat", list(
|
||||
global_data = global_data,
|
||||
ping_str = "Ping: [round(target.lastping, 1)]ms (Average: [round(target.avgping, 1)]ms)", // CHOMPEdit
|
||||
ping_str = "Ping: [round(target.lastping, 1)]ms (Average: [round(target.avgping, 1)]ms)",
|
||||
other_str = target.mob?.get_status_tab_items(),
|
||||
))
|
||||
|
||||
|
||||
@@ -400,7 +400,7 @@ SUBSYSTEM_DEF(vote)
|
||||
usr.client.vote()
|
||||
|
||||
/client/verb/vote()
|
||||
set category = "OOC.Game" //CHOMPEdit
|
||||
set category = "OOC.Game"
|
||||
set name = "Vote"
|
||||
|
||||
if(SSvote)
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
// Debug verbs.
|
||||
/client/proc/restart_controller(controller in list("Master", "Failsafe"))
|
||||
set category = "Debug.Dangerous" //CHOMPEdit
|
||||
set category = "Debug.Dangerous"
|
||||
set name = "Restart Controller"
|
||||
set desc = "Restart one of the various periodic loop controllers for the game (be careful!)"
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
message_admins("Admin [key_name_admin(usr)] has restarted the [controller] controller.")
|
||||
|
||||
/client/proc/debug_antagonist_template(antag_type in all_antag_types)
|
||||
set category = "Debug.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
set name = "Debug Antagonist"
|
||||
set desc = "Debug an antagonist template."
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
message_admins("Admin [key_name_admin(usr)] is debugging the [antag.role_text] template.")
|
||||
|
||||
/client/proc/debug_controller()
|
||||
set category = "Debug.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
set name = "Debug Controller"
|
||||
set desc = "Debug the various subsystems/controllers for the game (be careful!)"
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
. += "<a href=\"[CONFIG_GET(string/githuburl)]/pull/[tm.number]\">#[tm.number][details]</a>"
|
||||
|
||||
/client/verb/showrevinfo()
|
||||
set category = "OOC.Game" //CHOMPEdit
|
||||
set category = "OOC.Game"
|
||||
set name = "Show Server Revision"
|
||||
set desc = "Check the current server code revision"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
var/datum/managed_browser/feedback_viewer/feedback_viewer = null
|
||||
|
||||
/datum/admins/proc/view_feedback()
|
||||
set category = "Admin.Misc" //CHOMPEdit
|
||||
set category = "Admin.Misc"
|
||||
set name = "View Feedback"
|
||||
set desc = "Open the Feedback Viewer"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/mob/living/proc/convert_to_rev(mob/M as mob in oview(src))
|
||||
set name = "Convert Bourgeoise"
|
||||
set category = "Abilities.Antag" //CHOMPEdit
|
||||
set category = "Abilities.Antag"
|
||||
if(!M.mind)
|
||||
return
|
||||
convert_to_faction(M.mind, revs)
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
/mob/living/proc/convert_to_loyalist(mob/M as mob in oview(src))
|
||||
set name = "Convert Recidivist"
|
||||
set category = "Abilities.Antag" //CHOMPEdit
|
||||
set category = "Abilities.Antag"
|
||||
if(!M.mind)
|
||||
return
|
||||
convert_to_faction(M.mind, loyalists)
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
/mob/living/proc/write_ambition()
|
||||
set name = "Set Ambition"
|
||||
set category = "IC.Antag" //CHOMPEdit
|
||||
set category = "IC.Antag"
|
||||
set src = usr
|
||||
|
||||
if(!mind)
|
||||
|
||||
@@ -6,7 +6,7 @@ var/global/list/engwords = list("travel", "blood", "join", "hell", "destroy", "t
|
||||
var/global/list/rnwords = list("ire","ego","nahlizet","certum","veri","jatkaa","mgar","balaq", "karazet", "geeri")
|
||||
|
||||
/client/proc/check_words() // -- Urist
|
||||
set category = "Admin.Secrets" //CHOMPEdit
|
||||
set category = "Admin.Secrets"
|
||||
set name = "Check Rune Words"
|
||||
set desc = "Check the rune-word meaning"
|
||||
if(!cultwords["travel"])
|
||||
|
||||
@@ -231,7 +231,7 @@ var/global/list/Holiday = list() //Holidays are lists now, so we can have more t
|
||||
//Allows GA and GM to set the Holiday variable
|
||||
/client/proc/Set_Holiday()
|
||||
set name = "Set Holiday"
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set desc = "Force-set the Holiday variable to make the game think it's a certain day."
|
||||
if(!check_rights(R_SERVER)) return
|
||||
|
||||
|
||||
@@ -577,7 +577,7 @@ var/global/list/additional_antag_types = list()
|
||||
|
||||
/mob/verb/check_round_info()
|
||||
set name = "Check Round Info"
|
||||
set category = "OOC.Game" //CHOMPEdit
|
||||
set category = "OOC.Game"
|
||||
|
||||
if(!ticker || !ticker.mode)
|
||||
to_chat(usr, span_warning("Something is terribly wrong; there is no gametype."))
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
|
||||
/mob/living/silicon/ai/proc/ai_camera_list(var/camera in get_camera_list())
|
||||
set category = "AI.Camera Control" //CHOMPEdit
|
||||
set category = "AI.Camera Control"
|
||||
set name = "Show Camera List"
|
||||
|
||||
if(check_unable())
|
||||
@@ -41,7 +41,7 @@
|
||||
return
|
||||
|
||||
/mob/living/silicon/ai/proc/ai_store_location(loc as text)
|
||||
set category = "AI.Camera Control" //CHOMPEdit
|
||||
set category = "AI.Camera Control"
|
||||
set name = "Store Camera Location"
|
||||
set desc = "Stores your current camera location by the given name"
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
return sortList(stored_locations)
|
||||
|
||||
/mob/living/silicon/ai/proc/ai_goto_location(loc in sorted_stored_locations())
|
||||
set category = "AI.Camera Control" //CHOMPEdit
|
||||
set category = "AI.Camera Control"
|
||||
set name = "Goto Camera Location"
|
||||
set desc = "Returns to the selected camera location"
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
src.eyeobj.setLoc(L)
|
||||
|
||||
/mob/living/silicon/ai/proc/ai_remove_location(loc in sorted_stored_locations())
|
||||
set category = "AI.Camera Control" //CHOMPEdit
|
||||
set category = "AI.Camera Control"
|
||||
set name = "Delete Camera Location"
|
||||
set desc = "Deletes the selected camera location"
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
return targets
|
||||
|
||||
/mob/living/silicon/ai/proc/ai_camera_track(var/target_name in trackable_mobs())
|
||||
set category = "AI.Camera Control" //CHOMPEdit
|
||||
set category = "AI.Camera Control"
|
||||
set name = "Follow With Camera"
|
||||
set desc = "Select who you would like to track."
|
||||
|
||||
|
||||
@@ -262,7 +262,7 @@ GLOBAL_LIST_BOILERPLATE(all_deactivated_AI_cores, /obj/structure/AIcore/deactiva
|
||||
|
||||
/client/proc/empty_ai_core_toggle_latejoin()
|
||||
set name = "Toggle AI Core Latejoin"
|
||||
set category = "Admin.Silicon" //CHOMPEdit
|
||||
set category = "Admin.Silicon"
|
||||
|
||||
var/list/cores = list()
|
||||
for(var/obj/structure/AIcore/deactivated/D in GLOB.all_deactivated_AI_cores)
|
||||
|
||||
@@ -34,7 +34,7 @@ var/global/datum/book_manager/book_mgr = new()
|
||||
/client/proc/delbook()
|
||||
set name = "Delete Book"
|
||||
set desc = "Permamently deletes a book from the database."
|
||||
set category = "Admin.Moderation" //CHOMPEdit
|
||||
set category = "Admin.Moderation"
|
||||
if(!src.holder)
|
||||
to_chat(src, "Only administrators may use this command.")
|
||||
return
|
||||
|
||||
@@ -252,7 +252,7 @@
|
||||
if(3)
|
||||
if(diff==FORWARD)
|
||||
user.visible_message("[user] installs external reinforced armor layer to [holder].", "You install external reinforced armor layer to [holder].")
|
||||
qdel(used_atom)//CHOMPedit upstream port. Fixes polecat not useing it's armor plates up.
|
||||
qdel(used_atom)// upstream port. Fixes polecat not useing it's armor plates up.
|
||||
holder.icon_state = "polecat18"
|
||||
else
|
||||
user.visible_message("[user] cuts internal armor layer from [holder].", "You cut the internal armor layer from [holder].")
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/spawn_tanktransferbomb()
|
||||
set category = "Debug.Game" //CHOMPEdit
|
||||
set category = "Debug.Game"
|
||||
set desc = "Spawn a tank transfer valve bomb"
|
||||
set name = "Instant TTV"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
// Parameters: None
|
||||
// Description: Lets synths use their communicators without hands.
|
||||
/obj/item/communicator/integrated/verb/activate()
|
||||
set category = "Abilities.AI" //ChompEDIT - TGPanel
|
||||
set category = "Abilities.AI"
|
||||
set name = "Use Communicator"
|
||||
set desc = "Utilizes your built-in communicator."
|
||||
set src in usr
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
// Parameters: None
|
||||
// Description: Allows a ghost to send a text message to a communicator.
|
||||
/mob/observer/dead/verb/text_communicator()
|
||||
set category = "Ghost.Message" //CHOMPEdit
|
||||
set category = "Ghost.Message"
|
||||
set name = "Text Communicator"
|
||||
set desc = "If there is a communicator available, send a text message to it."
|
||||
|
||||
@@ -174,7 +174,7 @@
|
||||
// Parameters: None
|
||||
// Description: Lets ghosts review messages they've sent or received.
|
||||
/mob/observer/dead/verb/show_text_messages()
|
||||
set category = "Ghost.Settings" //CHOMPEdit
|
||||
set category = "Ghost.Settings"
|
||||
set name = "Show Text Messages"
|
||||
set desc = "Allows you to see exonet text messages you've sent and received."
|
||||
|
||||
|
||||
@@ -272,7 +272,7 @@
|
||||
// Parameters: None
|
||||
// Description: Allows ghosts to call communicators, if they meet all the requirements.
|
||||
/mob/observer/dead/verb/join_as_voice()
|
||||
set category = "Ghost.Message" //CHOMPEdit
|
||||
set category = "Ghost.Message"
|
||||
set name = "Call Communicator"
|
||||
set desc = "If there is a communicator available, send a request to speak through it. This will reset your respawn timer, if someone picks up."
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ var/silent_ert = 0
|
||||
|
||||
/client/proc/response_team()
|
||||
set name = "Dispatch Emergency Response Team"
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set desc = "Send an emergency response team to the station"
|
||||
|
||||
if(!holder)
|
||||
@@ -43,7 +43,7 @@ var/silent_ert = 0
|
||||
/client/verb/JoinResponseTeam()
|
||||
|
||||
set name = "Join Response Team"
|
||||
set category = "IC.Event" //CHOMPEdit
|
||||
set category = "IC.Event"
|
||||
|
||||
if(!MayRespawn(1))
|
||||
to_chat(usr, span_warning("You cannot join the response team at this time."))
|
||||
|
||||
@@ -5,7 +5,7 @@ var/can_call_traders = 1
|
||||
|
||||
/client/proc/trader_ship()
|
||||
set name = "Dispatch Beruang Trader Ship"
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set desc = "Invite players to join the Beruang."
|
||||
|
||||
if(!holder)
|
||||
@@ -36,7 +36,7 @@ var/can_call_traders = 1
|
||||
/client/verb/JoinTraders()
|
||||
|
||||
set name = "Join Trader Visit"
|
||||
set category = "IC.Event" //CHOMPEdit
|
||||
set category = "IC.Event"
|
||||
|
||||
if(!MayRespawn(1))
|
||||
to_chat(usr, span_warning("You cannot join the traders."))
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
qdel(query_update) //CHOMPEdit TGSQL
|
||||
|
||||
/client/proc/DB_ban_panel()
|
||||
set category = "Admin.Moderation" //CHOMPEdit
|
||||
set category = "Admin.Moderation"
|
||||
set name = "Banning Panel"
|
||||
set desc = "Edit admin permissions"
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
/client/proc/ToRban(task in list("update","toggle","show","remove","remove all","find"))
|
||||
set name = "ToRban"
|
||||
set category = "Server.Config" //CHOMPEdit
|
||||
set category = "Server.Config"
|
||||
if(!holder) return
|
||||
switch(task)
|
||||
if("update")
|
||||
|
||||
@@ -32,7 +32,7 @@ var/global/floorIsLava = 0
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////Panels
|
||||
|
||||
/datum/admins/proc/show_player_panel(var/mob/M in mob_list)
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
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.Logs" //CHOMPEdit
|
||||
set category = "Admin.Logs"
|
||||
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.Investigate" //CHOMPEdit
|
||||
set category = "Admin.Investigate"
|
||||
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.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
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 = "Admin.Chat" //CHOMPEdit
|
||||
set category = "Admin.Chat"
|
||||
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.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
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.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
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.Chat" //CHOMPEdit
|
||||
set category = "Server.Chat"
|
||||
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.Chat" //CHOMPEdit
|
||||
set category = "Server.Chat"
|
||||
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.Chat" //CHOMPEdit
|
||||
set category = "Server.Chat"
|
||||
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.Chat" //CHOMPEdit
|
||||
set category = "Server.Chat"
|
||||
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.Config" //CHOMPEdit
|
||||
set category = "Server.Config"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set desc="Toggle traitor scaling"
|
||||
set name="Toggle Traitor Scaling"
|
||||
CONFIG_SET(flag/traitor_scaling, !CONFIG_GET(flag/traitor_scaling))
|
||||
@@ -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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set desc="People can't enter"
|
||||
set name="Toggle Entering"
|
||||
CONFIG_SET(flag/enter_allowed, !CONFIG_GET(flag/enter_allowed))
|
||||
@@ -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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set desc="People can't be AI"
|
||||
set name="Toggle AI"
|
||||
CONFIG_SET(flag/allow_ai, !CONFIG_GET(flag/allow_ai))
|
||||
@@ -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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set desc="Respawn basically"
|
||||
set name="Toggle Respawn"
|
||||
CONFIG_SET(flag/abandon_allowed, !CONFIG_GET(flag/abandon_allowed))
|
||||
@@ -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.Config" //CHOMPEdit
|
||||
set category = "Server.Config"
|
||||
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))
|
||||
@@ -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.Config" //CHOMPEdit
|
||||
set category = "Server.Config"
|
||||
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))
|
||||
@@ -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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set desc="Toggle alien mobs"
|
||||
set name="Toggle Aliens"
|
||||
CONFIG_SET(flag/aliens_allowed, !CONFIG_GET(flag/aliens_allowed))
|
||||
@@ -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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set desc="Toggle space ninjas spawning."
|
||||
set name="Toggle Space Ninjas"
|
||||
CONFIG_SET(flag/ninjas_allowed, !CONFIG_GET(flag/ninjas_allowed))
|
||||
@@ -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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set desc="Toggle admin jumping"
|
||||
set name="Toggle Jump"
|
||||
CONFIG_SET(flag/allow_admin_jump, !CONFIG_GET(flag/allow_admin_jump))
|
||||
@@ -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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set desc="Toggle admin spawning"
|
||||
set name="Toggle Spawn"
|
||||
CONFIG_SET(flag/allow_admin_spawning, !CONFIG_GET(flag/allow_admin_spawning))
|
||||
@@ -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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set desc="Toggle admin revives"
|
||||
set name="Toggle Revive"
|
||||
CONFIG_SET(flag/allow_admin_rev, !CONFIG_GET(flag/allow_admin_rev))
|
||||
@@ -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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
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.Moderation" //CHOMPEdit
|
||||
set category = "Admin.Moderation"
|
||||
set name = "Unprison"
|
||||
if (M.z == 2)
|
||||
if (CONFIG_GET(flag/allow_admin_jump))
|
||||
@@ -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.Game" //CHOMPEdit
|
||||
set category = "Debug.Game"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Debug.Game"
|
||||
set desc = "Spawn a custom item."
|
||||
set name = "Spawn Custom Item"
|
||||
|
||||
@@ -1083,8 +1083,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
item_to_spawn.spawn_item(get_turf(usr))
|
||||
|
||||
/datum/admins/proc/check_custom_items()
|
||||
|
||||
set category = "Debug.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
set desc = "Check the custom item list."
|
||||
set name = "Check Custom Items"
|
||||
|
||||
@@ -1105,7 +1104,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.Game" //CHOMPEdit
|
||||
set category = "Debug.Game"
|
||||
set desc = "Spawn a spreading plant effect."
|
||||
set name = "Spawn Plant"
|
||||
|
||||
@@ -1118,7 +1117,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
|
||||
/datum/admins/proc/spawn_atom(var/object as text)
|
||||
set name = "Spawn"
|
||||
set category = "Debug.Game" //CHOMPEdit
|
||||
set category = "Debug.Game"
|
||||
set desc = "(atom path) Spawn an atom"
|
||||
|
||||
if(!check_rights(R_SPAWN)) return
|
||||
@@ -1152,7 +1151,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
|
||||
|
||||
/datum/admins/proc/show_traitor_panel(var/mob/M in mob_list)
|
||||
set category = "Admin.Events" //CHOMPEdit
|
||||
set category = "Admin.Events"
|
||||
set desc = "Edit mobs's memory and role"
|
||||
set name = "Show Traitor Panel"
|
||||
|
||||
@@ -1167,7 +1166,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.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
set desc = "Show the current round configuration."
|
||||
set name = "Show Game Mode"
|
||||
|
||||
@@ -1241,7 +1240,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
|
||||
|
||||
/datum/admins/proc/toggletintedweldhelmets()
|
||||
set category = "Debug"
|
||||
set category = "Server.Config"
|
||||
set desc="Reduces view range when wearing welding helmets"
|
||||
set name="Toggle tinted welding helmets."
|
||||
CONFIG_SET(flag/welder_vision, !CONFIG_GET(flag/welder_vision))
|
||||
@@ -1254,7 +1253,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.Config" //CHOMPEdit
|
||||
set category = "Server.Config"
|
||||
set desc="Guests can't enter"
|
||||
set name="Toggle guests"
|
||||
CONFIG_SET(flag/guests_allowed, !CONFIG_GET(flag/guests_allowed))
|
||||
@@ -1288,7 +1287,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
to_chat(usr, span_bold("No AIs located")) //Just so you know the thing is actually working and not just ignoring you.
|
||||
|
||||
/datum/admins/proc/show_skills()
|
||||
set category = "Admin.Investigate" //CHOMPEdit
|
||||
set category = "Admin.Investigate"
|
||||
set name = "Show Skills"
|
||||
|
||||
if (!istype(src,/datum/admins))
|
||||
@@ -1305,7 +1304,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.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
set name = "Update Mob Sprite"
|
||||
set desc = "Should fix any mob sprite update errors."
|
||||
|
||||
@@ -1404,7 +1403,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
return 1
|
||||
|
||||
/datum/admins/proc/force_antag_latespawn()
|
||||
set category = "Admin.Events" //CHOMPEdit
|
||||
set category = "Admin.Events"
|
||||
set name = "Force Template Spawn"
|
||||
set desc = "Force an antagonist template to spawn."
|
||||
|
||||
@@ -1428,7 +1427,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
antag.attempt_late_spawn()
|
||||
|
||||
/datum/admins/proc/force_mode_latespawn()
|
||||
set category = "Admin.Events" //CHOMPEdit
|
||||
set category = "Admin.Events"
|
||||
set name = "Force Mode Spawn"
|
||||
set desc = "Force autotraitor to proc."
|
||||
|
||||
@@ -1446,7 +1445,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.Events" //CHOMPEdit
|
||||
set category = "Admin.Events"
|
||||
set name = "Toggle Paralyze"
|
||||
set desc = "Paralyzes a player. Or unparalyses them."
|
||||
|
||||
@@ -1464,7 +1463,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.Game" //CHOMPEdit
|
||||
set category = "Debug.Game"
|
||||
set name = "Set Telecrystals"
|
||||
set desc = "Allows admins to change telecrystals of a user."
|
||||
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||
@@ -1480,7 +1479,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.Game" //CHOMPEdit
|
||||
set category = "Debug.Game"
|
||||
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 +1496,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
|
||||
|
||||
/datum/admins/proc/sendFax()
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Send Fax"
|
||||
set desc = "Sends a fax to this machine"
|
||||
var/department = tgui_input_list(usr, "Choose a fax", "Fax", alldepartments)
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
//ADMINVERBS
|
||||
/client/proc/investigate_show( subject in list("hrefs","notes","singulo","telesci") )
|
||||
set name = "Investigate"
|
||||
set category = "Admin.Investigate" //CHOMPEdit
|
||||
set category = "Admin.Investigate"
|
||||
if(!holder) return
|
||||
switch(subject)
|
||||
if("singulo", "telesci") //general one-round-only stuff
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
//switch verb so we don't spam up the verb lists with like, 3 verbs for this feature.
|
||||
/client/proc/admin_memo(task in list("write","show","delete"))
|
||||
set name = "Memo"
|
||||
set category = "Server.Admin" //CHOMPEdit
|
||||
set category = "Server.Admin"
|
||||
#ifndef ENABLE_MEMOS
|
||||
return
|
||||
#endif
|
||||
|
||||
@@ -91,7 +91,7 @@ world/New()
|
||||
|
||||
// display only the reports that haven't been handled
|
||||
/client/proc/display_admin_reports()
|
||||
set category = "Admin.Moderation" //CHOMPEdit
|
||||
set category = "Admin.Moderation"
|
||||
set name = "Display Admin Reports"
|
||||
if(!src.holder) return
|
||||
|
||||
@@ -119,7 +119,7 @@ world/New()
|
||||
|
||||
|
||||
/client/proc/Report(mob/M as mob in world)
|
||||
set category = "Admin.Moderation" //CHOMPEdit
|
||||
set category = "Admin.Moderation"
|
||||
if(!src.holder)
|
||||
return
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/cmd_admin_check_player_logs(mob/living/M as mob in mob_list)
|
||||
set category = "Admin.Logs" //CHOMPEdit
|
||||
set category = "Admin.Logs"
|
||||
set name = "Check Player Attack Logs"
|
||||
set desc = "Check a player's attack logs."
|
||||
show_cmd_admin_check_player_logs(M) //CHOMPEdit
|
||||
@@ -39,7 +39,7 @@
|
||||
feedback_add_details("admin_verb","PL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/cmd_admin_check_dialogue_logs(mob/living/M as mob in mob_list)
|
||||
set category = "Admin.Logs" //CHOMPEdit
|
||||
set category = "Admin.Logs"
|
||||
set name = "Check Player Dialogue Logs"
|
||||
set desc = "Check a player's dialogue logs."
|
||||
show_cmd_admin_check_dialogue_logs(M) //CHOMPEdit
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/client/proc/hide_most_verbs()//Allows you to keep some functionality while hiding some verbs
|
||||
set name = "Adminverbs - Hide Most"
|
||||
set category = "Admin.Misc" //CHOMPEdit
|
||||
set category = "Admin.Misc"
|
||||
|
||||
remove_verb(src, list(/client/proc/hide_most_verbs, admin_verbs_hideable))
|
||||
add_verb(src, /client/proc/show_verbs)
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
/client/proc/hide_verbs()
|
||||
set name = "Adminverbs - Hide All"
|
||||
set category = "Admin.Misc" //CHOMPEdit
|
||||
set category = "Admin.Misc"
|
||||
|
||||
remove_admin_verbs()
|
||||
add_verb(src, /client/proc/show_verbs)
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
/client/proc/show_verbs()
|
||||
set name = "Adminverbs - Show"
|
||||
set category = "Admin.Misc" //CHOMPEdit
|
||||
set category = "Admin.Misc"
|
||||
|
||||
remove_verb(src, /client/proc/show_verbs)
|
||||
add_admin_verbs()
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
/client/proc/player_panel()
|
||||
set name = "Player Panel"
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
if(holder)
|
||||
holder.player_panel_old()
|
||||
feedback_add_details("admin_verb","PP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
@@ -108,7 +108,7 @@
|
||||
|
||||
/client/proc/player_panel_new()
|
||||
set name = "Player Panel New"
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
if(holder)
|
||||
holder.player_panel_new()
|
||||
feedback_add_details("admin_verb","PPN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
@@ -116,7 +116,7 @@
|
||||
|
||||
/client/proc/check_antagonists()
|
||||
set name = "Check Antagonists"
|
||||
set category = "Admin.Investigate" //CHOMPEdit
|
||||
set category = "Admin.Investigate"
|
||||
if(holder)
|
||||
holder.check_antagonists()
|
||||
log_admin("[key_name(usr)] checked antagonists.") //for tsar~
|
||||
@@ -125,7 +125,7 @@
|
||||
|
||||
/client/proc/jobbans()
|
||||
set name = "Display Job bans"
|
||||
set category = "Admin.Investigate" //CHOMPEdit
|
||||
set category = "Admin.Investigate"
|
||||
if(holder)
|
||||
if(CONFIG_GET(flag/ban_legacy_system))
|
||||
holder.Jobbans()
|
||||
@@ -136,7 +136,7 @@
|
||||
|
||||
/client/proc/unban_panel()
|
||||
set name = "Unban Panel"
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
if(holder)
|
||||
if(CONFIG_GET(flag/ban_legacy_system))
|
||||
holder.unbanpanel()
|
||||
@@ -155,14 +155,14 @@
|
||||
|
||||
/client/proc/secrets()
|
||||
set name = "Secrets"
|
||||
set category = "Admin.Secrets" //CHOMPEdit
|
||||
set category = "Admin.Secrets"
|
||||
if (holder)
|
||||
holder.Secrets()
|
||||
feedback_add_details("admin_verb","S") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
return
|
||||
|
||||
/client/proc/colorooc()
|
||||
set category = "Admin.Misc" //CHOMPEdit
|
||||
set category = "Admin.Misc"
|
||||
set name = "OOC Text Color"
|
||||
if(!holder) return
|
||||
var/response = tgui_alert(src, "Please choose a distinct color that is easy to read and doesn't mix with all the other chat and radio frequency colors.", "Change own OOC color", list("Pick new color", "Reset to default", "Cancel"))
|
||||
@@ -195,7 +195,7 @@
|
||||
GLOB.stealthminID["[ckey]"] = "@[num2text(num)]"
|
||||
|
||||
/client/proc/stealth()
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
set name = "Stealth Mode"
|
||||
if(holder)
|
||||
if(holder.fakekey)
|
||||
@@ -258,7 +258,7 @@
|
||||
#undef AUTOBANTIME
|
||||
|
||||
/client/proc/drop_bomb() // Some admin dickery that can probably be done better -- TLE
|
||||
set category = "Fun.Do Not" //CHOMPEdit
|
||||
set category = "Fun.Do Not"
|
||||
set name = "Drop Bomb"
|
||||
set desc = "Cause an explosion of varying strength at your location."
|
||||
|
||||
@@ -286,7 +286,7 @@
|
||||
feedback_add_details("admin_verb","DB") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/give_disease2(mob/T as mob in mob_list) // -- Giacom
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Give Disease"
|
||||
set desc = "Gives a Disease to a mob."
|
||||
|
||||
@@ -317,7 +317,7 @@
|
||||
message_admins(span_blue("[key_name_admin(usr)] gave [key_name(T)] a [greater] disease2 with infection chance [D.infectionchance]."), 1)
|
||||
|
||||
/client/proc/admin_give_modifier(var/mob/living/L)
|
||||
set category = "Debug.Game" //CHOMPEdit
|
||||
set category = "Debug.Game"
|
||||
set name = "Give Modifier"
|
||||
set desc = "Makes a mob weaker or stronger by adding a specific modifier to them."
|
||||
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||
@@ -341,7 +341,7 @@
|
||||
log_and_message_admins("has given [key_name(L)] the modifer [new_modifier_type], with a duration of [duration ? "[duration / 600] minutes" : "forever"].")
|
||||
|
||||
/client/proc/make_sound(var/obj/O in world) // -- TLE
|
||||
set category = "Fun.Sounds" //CHOMPEdit
|
||||
set category = "Fun.Sounds"
|
||||
set name = "Make Sound"
|
||||
set desc = "Display a message to everyone who can hear the target"
|
||||
if(O)
|
||||
@@ -356,13 +356,13 @@
|
||||
|
||||
/client/proc/togglebuildmodeself()
|
||||
set name = "Toggle Build Mode Self"
|
||||
set category = "Debug.Events" //CHOMPEdit
|
||||
set category = "Debug.Events"
|
||||
if(src.mob)
|
||||
togglebuildmode(src.mob)
|
||||
feedback_add_details("admin_verb","TBMS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/object_talk(var/msg as text) // -- TLE
|
||||
set category = "Fun.Narrate" //CHOMPEdit
|
||||
set category = "Fun.Narrate"
|
||||
set name = "oSay"
|
||||
set desc = "Display a message to everyone who can hear the target"
|
||||
if(mob.control_object)
|
||||
@@ -373,7 +373,7 @@
|
||||
feedback_add_details("admin_verb","OT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/kill_air() // -- TLE
|
||||
set category = "Debug.Dangerous" //CHOMPEdit
|
||||
set category = "Debug.Dangerous"
|
||||
set name = "Kill Air"
|
||||
set desc = "Toggle Air Processing"
|
||||
SSair.can_fire = !SSair.can_fire
|
||||
@@ -384,7 +384,7 @@
|
||||
|
||||
/client/proc/readmin_self()
|
||||
set name = "Re-Admin self"
|
||||
set category = "Admin.Misc" //CHOMPEdit
|
||||
set category = "Admin.Misc"
|
||||
|
||||
if(deadmin_holder)
|
||||
deadmin_holder.reassociate()
|
||||
@@ -395,7 +395,7 @@
|
||||
|
||||
/client/proc/deadmin_self()
|
||||
set name = "De-admin self"
|
||||
set category = "Admin.Misc" //CHOMPEdit
|
||||
set category = "Admin.Misc"
|
||||
|
||||
if(holder)
|
||||
if(tgui_alert(usr, "Confirm self-deadmin for the round? You can't re-admin yourself without someone promoting you.","Deadmin",list("Yes","No")) == "Yes")
|
||||
@@ -408,7 +408,7 @@
|
||||
|
||||
/client/proc/toggle_log_hrefs()
|
||||
set name = "Toggle href logging"
|
||||
set category = "Server.Config" //CHOMPEdit
|
||||
set category = "Server.Config"
|
||||
if(!holder) return
|
||||
if(config)
|
||||
CONFIG_SET(flag/log_hrefs, !CONFIG_GET(flag/log_hrefs))
|
||||
@@ -416,13 +416,13 @@
|
||||
|
||||
/client/proc/check_ai_laws()
|
||||
set name = "Check AI Laws"
|
||||
set category = "Admin.Silicon" //CHOMPEdit
|
||||
set category = "Admin.Silicon"
|
||||
if(holder)
|
||||
src.holder.output_ai_laws()
|
||||
|
||||
/client/proc/rename_silicon()
|
||||
set name = "Rename Silicon"
|
||||
set category = "Admin.Silicon" //CHOMPEdit
|
||||
set category = "Admin.Silicon"
|
||||
|
||||
if(!check_rights(R_ADMIN|R_FUN|R_EVENT)) return
|
||||
|
||||
@@ -437,7 +437,7 @@
|
||||
|
||||
/client/proc/manage_silicon_laws()
|
||||
set name = "Manage Silicon Laws"
|
||||
set category = "Admin.Silicon" //CHOMPEdit
|
||||
set category = "Admin.Silicon"
|
||||
|
||||
if(!check_rights(R_ADMIN|R_EVENT)) return
|
||||
|
||||
@@ -464,7 +464,7 @@
|
||||
|
||||
/client/proc/shuttle_panel()
|
||||
set name = "Shuttle Control Panel"
|
||||
set category = "Admin.Events" //CHOMPEdit
|
||||
set category = "Admin.Events"
|
||||
|
||||
if(!check_rights(R_ADMIN | R_EVENT))
|
||||
return
|
||||
@@ -478,7 +478,7 @@
|
||||
|
||||
/client/proc/mod_panel()
|
||||
set name = "Moderator Panel"
|
||||
set category = "Admin.Moderation" //CHOMPEdit
|
||||
set category = "Admin.Moderation"
|
||||
/* if(holder)
|
||||
holder.mod_panel()*/
|
||||
// feedback_add_details("admin_verb","MP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
@@ -486,14 +486,14 @@
|
||||
|
||||
/client/proc/playernotes()
|
||||
set name = "Show Player Info"
|
||||
set category = "Admin.Moderation" //CHOMPEdit
|
||||
set category = "Admin.Moderation"
|
||||
if(holder)
|
||||
holder.PlayerNotes()
|
||||
return
|
||||
|
||||
/client/proc/free_slot()
|
||||
set name = "Free Job Slot"
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
if(holder)
|
||||
var/list/jobs = list()
|
||||
for (var/datum/job/J in job_master.occupations)
|
||||
@@ -510,7 +510,7 @@
|
||||
|
||||
/client/proc/toggleghostwriters()
|
||||
set name = "Toggle ghost writers"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
if(!holder) return
|
||||
if(config)
|
||||
CONFIG_SET(flag/cult_ghostwriter, !CONFIG_GET(flag/cult_ghostwriter))
|
||||
@@ -518,14 +518,14 @@
|
||||
|
||||
/client/proc/toggledrones()
|
||||
set name = "Toggle maintenance drones"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
if(!holder) return
|
||||
if(config)
|
||||
CONFIG_SET(flag/allow_drone_spawn, !CONFIG_GET(flag/allow_drone_spawn))
|
||||
message_admins("Admin [key_name_admin(usr)] has [CONFIG_GET(flag/allow_drone_spawn) ? "en" : "dis"]abled maintenance drones.", 1)
|
||||
|
||||
/client/proc/man_up(mob/T as mob in mob_list)
|
||||
set category = "Fun.Do Not" //CHOMPEdit
|
||||
set category = "Fun.Do Not"
|
||||
set name = "Man Up"
|
||||
set desc = "Tells mob to man up and deal with it."
|
||||
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||
@@ -539,7 +539,7 @@
|
||||
message_admins(span_blue("[key_name_admin(usr)] told [key_name(T)] to man up and deal with it."), 1)
|
||||
|
||||
/client/proc/global_man_up()
|
||||
set category = "Fun.Do Not" //CHOMPEdit
|
||||
set category = "Fun.Do Not"
|
||||
set name = "Man Up Global"
|
||||
set desc = "Tells everyone to man up and deal with it."
|
||||
|
||||
@@ -553,7 +553,7 @@
|
||||
message_admins(span_blue("[key_name_admin(usr)] told everyone to man up and deal with it."), 1)
|
||||
|
||||
/client/proc/give_spell(mob/T as mob in mob_list) // -- Urist
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Give Spell"
|
||||
set desc = "Gives a spell to a mob."
|
||||
var/spell/S = tgui_input_list(usr, "Choose the spell to give to that guy", "ABRAKADABRA", spells)
|
||||
@@ -565,6 +565,6 @@
|
||||
|
||||
/client/proc/debugstatpanel()
|
||||
set name = "Debug Stat Panel"
|
||||
set category = "Debug"
|
||||
set category = "Debug.Misc"
|
||||
|
||||
src.stat_panel.send_message("create_debug")
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/adminorbit()
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Orbit Things"
|
||||
set desc = "Makes something orbit around something else."
|
||||
set popup_menu = FALSE
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
/client/proc/removetickets()
|
||||
set name = "Security Tickets"
|
||||
set category = "Admin.Investigate" //CHOMPEdit
|
||||
set category = "Admin.Investigate"
|
||||
set desc = "Allows one to remove tickets from the global list."
|
||||
|
||||
if(!check_rights(R_ADMIN))
|
||||
@@ -78,7 +78,7 @@
|
||||
/client/proc/delbook()
|
||||
set name = "Delete Book"
|
||||
set desc = "Permamently deletes a book from the database."
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
if(!src.holder)
|
||||
to_chat(src, "Only administrators may use this command.")
|
||||
return
|
||||
@@ -126,7 +126,7 @@
|
||||
/client/proc/toggle_spawning_with_recolour()
|
||||
set name = "Toggle Simple/Robot recolour verb"
|
||||
set desc = "Makes it so new robots/simple_mobs spawn with a verb to recolour themselves for this round. You must set them separately."
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
|
||||
if(!check_rights(R_ADMIN|R_EVENT|R_FUN))
|
||||
return
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/datum/admins/proc/set_uplink(mob/living/carbon/human/H as mob)
|
||||
set category = "Debug.Events" //CHOMPEdit
|
||||
set category = "Debug.Events"
|
||||
set name = "Set Uplink"
|
||||
set desc = "Allows admins to set up an uplink on a character. This will be required for a character to use telecrystals."
|
||||
set popup_menu = FALSE
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/callproc()
|
||||
set category = "Debug.Events" //CHOMPEdit
|
||||
set category = "Debug.Events"
|
||||
set name = "Advanced ProcCall"
|
||||
set waitfor = 0
|
||||
|
||||
@@ -131,7 +131,7 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
|
||||
#endif
|
||||
|
||||
/client/proc/callproc_datum(datum/A as null|area|mob|obj|turf)
|
||||
set category = "Debug.Events" //CHOMPEdit
|
||||
set category = "Debug.Events"
|
||||
set name = "Atom ProcCall"
|
||||
set waitfor = 0
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Command to set the ckey of a mob without requiring VV permission
|
||||
/client/proc/setckey(var/mob/M in mob_list) //YW modif, removed caps from setckey
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
/client/proc/SetCKey(var/mob/M in mob_list)
|
||||
set category = "Admin.Game"
|
||||
set name = "Set CKey"
|
||||
set desc = "Mob to teleport"
|
||||
if(!src.holder)
|
||||
|
||||
@@ -118,7 +118,7 @@ NOTE: It checks usr by default. Supply the "user" argument if you wish to check
|
||||
vv_update_display(D, "marked", VV_MSG_MARKED)
|
||||
|
||||
/client/proc/mark_datum_mapview(datum/D as mob|obj|turf|area in view(view))
|
||||
set category = "Debug.Game" //CHOMPEdit
|
||||
set category = "Debug.Game"
|
||||
set name = "Mark Object"
|
||||
mark_datum(D)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/datum/admins/proc/capture_map(tx as null|num, ty as null|num, tz as null|num, range as null|num)
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set name = "Capture Map Part"
|
||||
set desc = "Usage: Capture-Map-Part target_x_cord target_y_cord target_z_cord range (captures part of a map originating from bottom left corner)"
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
/client/proc/modify_server_news()
|
||||
set name = "Modify Public News"
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
|
||||
if(!check_rights(0))
|
||||
return
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/edit_admin_permissions()
|
||||
set category = "Admin.Secrets" //CHOMPEdit
|
||||
set category = "Admin.Secrets"
|
||||
set name = "Permissions Panel"
|
||||
set desc = "Edit admin permissions"
|
||||
if(!check_rights(R_PERMISSIONS)) return
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/datum/admins/proc/view_persistent_data()
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
set name = "View Persistent Data"
|
||||
set desc = "Shows a list of persistent data for this round. Allows modification by admins."
|
||||
|
||||
|
||||
@@ -188,7 +188,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.Misc" //CHOMPEdit
|
||||
set category = "Debug.Misc"
|
||||
if(!check_rights(R_DEBUG)) //Shouldn't happen... but just to be safe.
|
||||
message_admins(span_danger("ERROR: Non-admin [key_name(usr)] attempted to execute a SDQL query!"))
|
||||
log_admin("Non-admin [key_name(usr)] attempted to execute a SDQL query!")
|
||||
|
||||
@@ -678,7 +678,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.Misc" //CHOMPEdit
|
||||
set category = "Admin.Misc"
|
||||
|
||||
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_EVENT, TRUE))
|
||||
return
|
||||
|
||||
@@ -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.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_EVENT))
|
||||
return
|
||||
if(CONFIG_GET(flag/allow_admin_jump))
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
/// Verb wrapper around do_jumptomob()
|
||||
/client/proc/jumptomob(mob as null|anything in mob_list)
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
set name = "Jump to Mob"
|
||||
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
to_chat(A, span_filter_adminlog("This mob is not located in the game world."))
|
||||
|
||||
/client/proc/jumptocoord(tx as num, ty as num, tz as num)
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
set name = "Move Atom to Coordinate"
|
||||
|
||||
if(!check_rights(R_ADMIN|R_DEBUG|R_EVENT))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/cmd_admin_say(msg as text)
|
||||
set category = "Admin.Chat" //CHOMPEdit
|
||||
set category = "Admin.Chat"
|
||||
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
|
||||
@@ -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 = "Admin.Chat" //CHOMPEdit
|
||||
set category = "Admin.Chat"
|
||||
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 = "Admin.Chat" //CHOMPEdit
|
||||
set category = "Admin.Chat"
|
||||
set name = "Esay"
|
||||
set hidden = 1
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/aooc(msg as text)
|
||||
set category = "OOC.Chat" //CHOMPEdit
|
||||
set category = "OOC.Chat"
|
||||
set name = "AOOC"
|
||||
set desc = "Antagonist OOC"
|
||||
|
||||
|
||||
@@ -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.Events" //CHOMPEdit
|
||||
set category = "Admin.Events"
|
||||
|
||||
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.Events" //CHOMPEdit
|
||||
set category = "Admin.Events"
|
||||
|
||||
if(!check_rights(R_FUN)) return
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
/client/proc/editappear()
|
||||
set name = "Edit Appearance"
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
|
||||
if(!check_rights(R_FUN)) return
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ var/checked_for_inactives = 0
|
||||
var/inactive_keys = "None<br>"
|
||||
|
||||
/client/proc/check_customitem_activity()
|
||||
set category = "Admin.Investigate" //CHOMPEdit
|
||||
set category = "Admin.Investigate"
|
||||
set name = "Check activity of players with custom items"
|
||||
|
||||
var/dat = span_bold("Inactive players with custom items") + "<br>"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/client/proc/cinematic(var/cinematic as anything in list("explosion",null))
|
||||
set name = "Cinematic"
|
||||
set category = "Fun.Do Not" //CHOMPEdit
|
||||
set category = "Fun.Do Not"
|
||||
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))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// verb for admins to set custom event
|
||||
/client/proc/cmd_admin_change_custom_event()
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "OOC.Game"
|
||||
set name = "Custom Event Info"
|
||||
|
||||
if(!custom_event_msg || custom_event_msg == "")
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/dsay(msg as text)
|
||||
set category = "Admin.Chat" //CHOMPEdit
|
||||
set category = "Admin.Chat"
|
||||
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)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/Debug2()
|
||||
set category = "Debug.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
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.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
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.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
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.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
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.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Make Simple Animal"
|
||||
|
||||
if(!ticker)
|
||||
@@ -130,7 +130,7 @@
|
||||
|
||||
|
||||
/client/proc/makepAI()
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
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.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
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.Dangerous" //CHOMPEdit
|
||||
set category = "Debug.Dangerous"
|
||||
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.Dangerous" //CHOMPEdit
|
||||
set category = "Debug.Dangerous"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set name = "Toggle Aliens"
|
||||
|
||||
CONFIG_SET(flag/aliens_allowed, !CONFIG_GET(flag/aliens_allowed))
|
||||
@@ -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.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
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.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
set name = "Display Initialize() Log"
|
||||
set desc = "Displays a list of things that didn't handle Initialize() properly"
|
||||
|
||||
@@ -251,7 +251,7 @@
|
||||
|
||||
/*
|
||||
/client/proc/cmd_display_overlay_log()
|
||||
set category = "Debug"
|
||||
set category = "Debug.Investigate"
|
||||
set name = "Display overlay Log"
|
||||
set desc = "Display SSoverlays log of everything that's passed through it."
|
||||
|
||||
@@ -273,7 +273,7 @@
|
||||
. = lines.Join("\n")
|
||||
|
||||
/client/proc/cmd_admin_grantfullaccess(var/mob/M in mob_list)
|
||||
set category = "Admin.Events" //CHOMPEdit
|
||||
set category = "Admin.Events"
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
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.Misc" //CHOMPEdit
|
||||
set category = "Debug.Misc"
|
||||
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.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Select equipment"
|
||||
|
||||
if(!check_rights(R_FUN))
|
||||
@@ -454,7 +454,7 @@
|
||||
|
||||
/client/proc/startSinglo()
|
||||
|
||||
set category = "Debug.Game" //CHOMPEdit
|
||||
set category = "Debug.Game"
|
||||
set name = "Start Singularity"
|
||||
set desc = "Sets up the singularity and all machines to get power flowing through the station"
|
||||
|
||||
@@ -498,7 +498,7 @@
|
||||
Rad.toggle_power()
|
||||
|
||||
/client/proc/setup_supermatter_engine()
|
||||
set category = "Debug"
|
||||
set category = "Debug.Game"
|
||||
set name = "Setup supermatter"
|
||||
set desc = "Sets up the supermatter engine"
|
||||
|
||||
@@ -581,7 +581,7 @@
|
||||
|
||||
|
||||
/client/proc/cmd_debug_mob_lists()
|
||||
set category = "Debug.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
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.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
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.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
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.Events" //CHOMPEdit
|
||||
set category = "Debug.Events"
|
||||
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.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
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.Events" //CHOMPEdit
|
||||
set category = "Debug.Events"
|
||||
set name = "Change Planet Time"
|
||||
set desc = "Changes the time of a planet."
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/datum/admins/proc/quick_nif()
|
||||
set category = "Fun.Add Nif" //CHOMPEdit
|
||||
set category = "Fun.Add Nif"
|
||||
set name = "Quick NIF"
|
||||
set desc = "Spawns a NIF into someone in quick-implant mode."
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/air_report()
|
||||
set category = "Debug.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
set name = "Show Air Report"
|
||||
|
||||
if(!master_controller || !air_master)
|
||||
@@ -42,7 +42,7 @@
|
||||
usr << browse(output,"window=airreport")
|
||||
|
||||
/client/proc/fix_next_move()
|
||||
set category = "Debug"
|
||||
set category = "Debug.Game"
|
||||
set name = "Unfreeze Everyone"
|
||||
var/largest_move_time = 0
|
||||
var/largest_click_time = 0
|
||||
@@ -73,7 +73,7 @@
|
||||
return
|
||||
|
||||
/client/proc/radio_report()
|
||||
set category = "Debug"
|
||||
set category = "Debug.Game"
|
||||
set name = "Radio report"
|
||||
|
||||
var/output = "<b>Radio Report</b><hr>"
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
/client/proc/reload_admins()
|
||||
set name = "Reload Admins"
|
||||
set category = "Debug.Server" //CHOMPEdit
|
||||
set category = "Debug.Server"
|
||||
|
||||
if(!check_rights(R_SERVER)) return
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
|
||||
/client/proc/reload_eventMs()
|
||||
set name = "Reload Event Managers"
|
||||
set category = "Debug.Server" //CHOMPEdit
|
||||
set category = "Debug.Server"
|
||||
|
||||
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.Game" //CHOMPEdit
|
||||
set category = "Debug.Game"
|
||||
/*
|
||||
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.Dangerous" //CHOMPEdit
|
||||
set category = "Debug.Dangerous"
|
||||
/*
|
||||
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.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
|
||||
to_chat(usr, span_bold("Jobbans active in this round."))
|
||||
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.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
|
||||
var/job_filter = tgui_input_text(usr, "Contains what?","Job Filter")
|
||||
if(!job_filter)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/roll_dices()
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Roll Dice"
|
||||
if(!check_rights(R_FUN))
|
||||
return
|
||||
|
||||
@@ -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.Narrate" //CHOMPEdit
|
||||
set category = "Fun.Narrate"
|
||||
|
||||
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.Narrate" //CHOMPEdit
|
||||
set category = "Fun.Narrate"
|
||||
|
||||
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.Narrate" //CHOMPEdit
|
||||
set category = "Fun.Narrate"
|
||||
|
||||
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.Narrate" //CHOMPEdit
|
||||
set category = "Fun.Narrate"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
|
||||
if(!check_rights(R_FUN)) return
|
||||
|
||||
|
||||
@@ -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.Server" //CHOMPEdit
|
||||
set category = "Debug.Server"
|
||||
set name = "Set Server FPS"
|
||||
set desc = "Sets game speed in frames-per-second. Can potentially break the game"
|
||||
|
||||
|
||||
@@ -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.Event Kit" //ChompEDIT
|
||||
set category = "Fun.Event Kit"
|
||||
|
||||
if(!check_rights(R_FUN)) return
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
//Shows today's server log
|
||||
/datum/admins/proc/view_txt_log()
|
||||
set category = "Admin.Logs" //CHOMPEdit
|
||||
set category = "Admin.Logs"
|
||||
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.Logs" //CHOMPEdit
|
||||
set category = "Admin.Logs"
|
||||
set name = "Show Server Attack Log"
|
||||
set desc = "Shows today's server attack log."
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/fixatmos()
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
set name = "Fix Atmospherics Grief"
|
||||
|
||||
if(!check_rights(R_ADMIN|R_DEBUG|R_EVENT)) return
|
||||
|
||||
@@ -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.Do Not" //CHOMPEdit
|
||||
set category = "Fun.Do Not"
|
||||
|
||||
if(!check_rights(R_FUN))
|
||||
return
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/map_template_load()
|
||||
set category = "Debug.Events" //CHOMPEdit
|
||||
set category = "Debug.Events"
|
||||
set name = "Map template - Place At Loc"
|
||||
|
||||
var/datum/map_template/template
|
||||
@@ -32,7 +32,7 @@
|
||||
usr.client.images -= preview
|
||||
|
||||
/client/proc/map_template_load_on_new_z()
|
||||
set category = "Debug.Events" //CHOMPEdit
|
||||
set category = "Debug.Events"
|
||||
set name = "Map template - New Z"
|
||||
|
||||
var/datum/map_template/template
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
|
||||
/client/proc/map_template_upload()
|
||||
set category = "Debug.Events" //CHOMPEdit
|
||||
set category = "Debug.Events"
|
||||
set name = "Map Template - Upload"
|
||||
|
||||
var/map = input(usr, "Choose a Map Template to upload to template storage","Upload Map Template") as null|file
|
||||
|
||||
@@ -167,7 +167,7 @@ var/list/debug_verbs = list (
|
||||
|
||||
|
||||
/client/proc/enable_debug_verbs()
|
||||
set category = "Debug.Misc" //CHOMPEdit
|
||||
set category = "Debug.Misc"
|
||||
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.Misc" //CHOMPEdit
|
||||
set category = "Debug.Misc"
|
||||
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 = "Mapping" //CHOMPEdit
|
||||
set category = "Mapping.ZAS"
|
||||
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 = "Mapping" //CHOMPEdit
|
||||
set category = "Mapping.ZAS"
|
||||
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 = "Mapping" //CHOMPEdit
|
||||
set category = "Mapping.ZAS"
|
||||
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")
|
||||
|
||||
@@ -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.Silicon" //CHOMPEdit
|
||||
set category = "Admin.Silicon"
|
||||
if(!check_rights(R_ADMIN|R_FUN|R_VAREDIT|R_EVENT))
|
||||
return
|
||||
|
||||
@@ -90,8 +90,8 @@
|
||||
robot.module.contents.Remove(add_item)
|
||||
target.module.modules.Add(add_item)
|
||||
target.module.contents.Add(add_item)
|
||||
spawn(0) //ChompEDIT Must be after to allow the movement to finish
|
||||
SEND_SIGNAL(add_item, COMSIG_OBSERVER_MOVED)//ChompEDIT - report the movement since setting loc doesn't call Move or Moved
|
||||
spawn(0) Must be after to allow the movement to finish
|
||||
SEND_SIGNAL(add_item, COMSIG_OBSERVER_MOVED)
|
||||
target.hud_used.update_robot_modules_display()
|
||||
to_chat(usr, span_danger("You added \"[add_item]\" to [target]."))
|
||||
if(istype(add_item, /obj/item/stack/))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/panicbunker()
|
||||
set category = "Server.Config" //CHOMPEdit
|
||||
set category = "Server.Config"
|
||||
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.Config" //CHOMPEdit
|
||||
set category = "Server.Config"
|
||||
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.Config" //CHOMPEdit
|
||||
set category = "Server.Config"
|
||||
set name = "Toggle IP Rep Checks"
|
||||
|
||||
if(!check_rights(R_ADMIN))
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
var/list/sounds_cache = list()
|
||||
|
||||
/client/proc/play_sound(S as sound)
|
||||
set category = "Fun.Sounds" //CHOMPEdit
|
||||
set category = "Fun.Sounds"
|
||||
set name = "Play Global Sound"
|
||||
if(!check_rights(R_SOUNDS))
|
||||
return
|
||||
@@ -50,7 +50,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.Sounds" //CHOMPEdit
|
||||
set category = "Fun.Sounds"
|
||||
set name = "Play Local Sound"
|
||||
if(!check_rights(R_SOUNDS))
|
||||
return
|
||||
@@ -61,7 +61,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.Sounds" //CHOMPEdit
|
||||
set category = "Fun.Sounds"
|
||||
set name = "Play Direct Mob Sound"
|
||||
if(!check_rights(R_SOUNDS))
|
||||
return
|
||||
@@ -76,7 +76,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.Sounds" //CHOMPEdit
|
||||
set category = "Fun.Sounds"
|
||||
set name = "Play Z Sound"
|
||||
if(!check_rights(R_SOUNDS)) return
|
||||
var/target_z = mob.z
|
||||
@@ -98,7 +98,7 @@ var/list/sounds_cache = list()
|
||||
|
||||
|
||||
/client/proc/play_server_sound()
|
||||
set category = "Fun.Sounds" //CHOMPEdit
|
||||
set category = "Fun.Sounds"
|
||||
set name = "Play Server Sound"
|
||||
if(!check_rights(R_SOUNDS))
|
||||
return
|
||||
@@ -215,7 +215,7 @@ var/list/sounds_cache = list()
|
||||
feedback_add_details("admin_verb", "Play Internet Sound")
|
||||
|
||||
/client/proc/play_web_sound()
|
||||
set category = "Fun.Sounds" //CHOMPEdit
|
||||
set category = "Fun.Sounds"
|
||||
set name = "Play Internet Sound"
|
||||
if(!check_rights(R_SOUNDS))
|
||||
return
|
||||
@@ -243,7 +243,7 @@ var/list/sounds_cache = list()
|
||||
web_sound(usr, null)
|
||||
|
||||
/client/proc/stop_sounds()
|
||||
set category = "Debug.Dangerous" //CHOMPEdit
|
||||
set category = "Debug.Dangerous"
|
||||
set name = "Stop All Playing Sounds"
|
||||
if(!src.holder)
|
||||
return
|
||||
@@ -264,8 +264,8 @@ var/list/sounds_cache = list()
|
||||
#undef SHELLEO_STDERR
|
||||
|
||||
/*
|
||||
/client/proc/cuban_pete()
|
||||
set category = "Fun.Sounds" //CHOMPEdit
|
||||
/client/proc/cuban_pete()"
|
||||
set category = "Fun.Sounds"
|
||||
set name = "Cuban Pete Time"
|
||||
|
||||
message_admins("[key_name_admin(usr)] has declared Cuban Pete Time!", 1)
|
||||
@@ -280,8 +280,8 @@ var/list/sounds_cache = list()
|
||||
CP.gib()
|
||||
|
||||
|
||||
/client/proc/bananaphone()
|
||||
set category = "Fun.Sounds" //CHOMPEdit
|
||||
/client/proc/bananaphone()"
|
||||
set category = "Fun.Sounds"
|
||||
set name = "Banana Phone"
|
||||
|
||||
message_admins("[key_name_admin(usr)] has activated Banana Phone!", 1)
|
||||
@@ -291,8 +291,8 @@ var/list/sounds_cache = list()
|
||||
M << 'bananaphone.ogg'
|
||||
|
||||
|
||||
/client/proc/space_asshole()
|
||||
set category = "Fun.Sounds" //CHOMPEdit
|
||||
/client/proc/space_asshole()"
|
||||
set category = "Fun.Sounds"
|
||||
set name = "Space Asshole"
|
||||
|
||||
message_admins("[key_name_admin(usr)] has played the Space Asshole Hymn.", 1)
|
||||
@@ -302,8 +302,8 @@ var/list/sounds_cache = list()
|
||||
M << 'sound/music/space_asshole.ogg'
|
||||
|
||||
|
||||
/client/proc/honk_theme()
|
||||
set category = "Fun.Sounds" //CHOMPEdit
|
||||
/client/proc/honk_theme()"
|
||||
set category = "Fun.Sounds"
|
||||
set name = "Honk"
|
||||
|
||||
message_admins("[key_name_admin(usr)] has creeped everyone out with Blackest Honks.", 1)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/mob/verb/pray()
|
||||
set category = "IC.Game" //CHOMPEdit
|
||||
set category = "IC.Game"
|
||||
set name = "Pray"
|
||||
|
||||
if(say_disabled) //This is here to try to identify lag problems
|
||||
|
||||
@@ -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.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
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.Investigate" //CHOMPEdit
|
||||
set category = "Admin.Investigate"
|
||||
set name = "Check new Players"
|
||||
if(!holder)
|
||||
return
|
||||
@@ -80,7 +80,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 = "Admin" //CHOMPEdit
|
||||
set category = "Admin"
|
||||
set name = "Subtle Message"
|
||||
|
||||
if(!ismob(M)) return
|
||||
@@ -107,7 +107,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 = "Fun.Narrate" //CHOMPEdit
|
||||
set category = "Fun.Narrate"
|
||||
set name = "Global Narrate"
|
||||
|
||||
if (!holder)
|
||||
@@ -128,7 +128,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 = "Fun.Narrate" //CHOMPEdit
|
||||
set category = "Fun.Narrate"
|
||||
set name = "Direct Narrate"
|
||||
|
||||
if(!holder)
|
||||
@@ -155,7 +155,7 @@
|
||||
feedback_add_details("admin_verb","DIRN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/cmd_admin_godmode(mob/M as mob in mob_list)
|
||||
set category = "Special Verbs"
|
||||
set category = "Admin.Game"
|
||||
set name = "Godmode"
|
||||
|
||||
if(!holder)
|
||||
@@ -225,7 +225,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.Silicon" //CHOMPEdit
|
||||
set category = "Fun.Silicon"
|
||||
set name = "Add Random AI Law"
|
||||
|
||||
if(!holder)
|
||||
@@ -276,7 +276,7 @@ Ccomp's first proc.
|
||||
|
||||
|
||||
/client/proc/allow_character_respawn()
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
set name = "Allow player to respawn"
|
||||
set desc = "Let a player bypass the wait to respawn or allow them to re-enter their corpse."
|
||||
|
||||
@@ -313,7 +313,7 @@ Ccomp's first proc.
|
||||
|
||||
|
||||
/client/proc/toggle_antagHUD_use()
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set name = "Toggle antagHUD usage"
|
||||
set desc = "Toggles antagHUD usage for observers"
|
||||
|
||||
@@ -348,7 +348,7 @@ Ccomp's first proc.
|
||||
|
||||
|
||||
/client/proc/toggle_antagHUD_restrictions()
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set name = "Toggle antagHUD Restrictions"
|
||||
set desc = "Restricts players that have used antagHUD from being able to join this round."
|
||||
|
||||
@@ -381,7 +381,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 = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Spawn Character"
|
||||
set desc = "(Re)Spawn a client's loaded character."
|
||||
|
||||
@@ -594,7 +594,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.Silicon" //CHOMPEdit
|
||||
set category = "Fun.Silicon"
|
||||
set name = "Add Custom AI law"
|
||||
|
||||
if(!holder)
|
||||
@@ -623,7 +623,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 = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
set name = "Rejuvenate"
|
||||
|
||||
if(!holder)
|
||||
@@ -646,7 +646,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 = "Debug.Game" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Create Command Report"
|
||||
|
||||
if(!holder)
|
||||
@@ -674,7 +674,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.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
set name = "Delete"
|
||||
|
||||
if (!holder)
|
||||
@@ -683,7 +683,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.Investigate" //CHOMPEdit
|
||||
set category = "Admin.Investigate"
|
||||
set name = "List free slots"
|
||||
|
||||
if (!holder)
|
||||
@@ -695,7 +695,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
feedback_add_details("admin_verb","LFS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/cmd_admin_explosion(atom/O as obj|mob|turf in world)
|
||||
set category = "Special Verbs"
|
||||
set category = "Fun.Do Not"
|
||||
set name = "Explosion"
|
||||
|
||||
if(!check_rights(R_DEBUG|R_FUN)) return //VOREStation Edit
|
||||
@@ -723,7 +723,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
return
|
||||
|
||||
/client/proc/cmd_admin_emp(atom/O as obj|mob|turf in world)
|
||||
set category = "Special Verbs"
|
||||
set category = "Fun.Do Not"
|
||||
set name = "EM Pulse"
|
||||
|
||||
if(!check_rights(R_DEBUG|R_FUN)) return //VOREStation Edit
|
||||
@@ -749,7 +749,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
return
|
||||
|
||||
/client/proc/cmd_admin_gib(mob/M as mob in mob_list)
|
||||
set category = "Special Verbs"
|
||||
set category = "Fun.Do Not"
|
||||
set name = "Gib"
|
||||
|
||||
if(!check_rights(R_ADMIN|R_FUN)) return //VOREStation Edit
|
||||
@@ -771,7 +771,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.Do Not" //CHOMPEdit
|
||||
set category = "Fun.Do Not"
|
||||
|
||||
if(!holder)
|
||||
return
|
||||
@@ -791,7 +791,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
/*
|
||||
/client/proc/cmd_manual_ban()
|
||||
set name = "Manual Ban"
|
||||
set category = "Special Verbs"
|
||||
set category = "Admin.Moderation"
|
||||
if(!authenticated || !holder)
|
||||
to_chat(src, "Only administrators may use this command.")
|
||||
return
|
||||
@@ -851,7 +851,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 = "Admin.Investigate" //CHOMPEdit
|
||||
set category = "Admin.Investigate"
|
||||
set name = "Check Contents"
|
||||
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||
|
||||
@@ -865,7 +865,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
|
||||
/* This proc is DEFERRED. Does not do anything.
|
||||
/client/proc/cmd_admin_remove_phoron()
|
||||
set category = "Debug"
|
||||
set category = "Debug.Game"
|
||||
set name = "Stabilize Atmos."
|
||||
if(!holder)
|
||||
to_chat(src, "Only administrators may use this command.")
|
||||
@@ -895,7 +895,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
*/
|
||||
|
||||
/client/proc/toggle_view_range()
|
||||
set category = "Admin.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
set name = "Change View Range"
|
||||
set desc = "switches between 1x and custom views"
|
||||
|
||||
@@ -915,7 +915,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.Events" //CHOMPEdit
|
||||
set category = "Admin.Events"
|
||||
set name = "Call Shuttle"
|
||||
|
||||
if ((!( ticker ) || !emergency_shuttle.location()))
|
||||
@@ -947,7 +947,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
return
|
||||
|
||||
/client/proc/admin_cancel_shuttle()
|
||||
set category = "Admin.Events" //CHOMPEdit
|
||||
set category = "Admin.Events"
|
||||
set name = "Cancel Shuttle"
|
||||
|
||||
if(!check_rights(R_ADMIN|R_FUN)) return // CHOMPstation edit: Lets anyone cancel the shuttle.
|
||||
@@ -965,7 +965,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
return
|
||||
|
||||
/client/proc/admin_deny_shuttle()
|
||||
set category = "Admin.Events" //CHOMPEdit
|
||||
set category = "Admin.Events"
|
||||
set name = "Toggle Deny Shuttle"
|
||||
|
||||
if (!ticker)
|
||||
@@ -979,7 +979,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
message_admins("[key_name_admin(usr)] has [emergency_shuttle.deny_shuttle ? "denied" : "allowed"] the shuttle to be called.")
|
||||
|
||||
/client/proc/cmd_admin_attack_log(mob/M as mob in mob_list)
|
||||
set category = "Special Verbs"
|
||||
set category = "Admin.Logs"
|
||||
set name = "Attack Log"
|
||||
|
||||
to_chat(usr, span_red(span_bold("Attack Log for [mob]")))
|
||||
@@ -989,7 +989,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
|
||||
|
||||
/client/proc/everyone_random()
|
||||
set category = "Fun.Do Not" //CHOMPEdit
|
||||
set category = "Fun.Do Not"
|
||||
set name = "Make Everyone Random"
|
||||
set desc = "Make everyone have a random appearance. You can only use this before rounds!"
|
||||
|
||||
@@ -1023,7 +1023,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
|
||||
|
||||
/client/proc/toggle_random_events()
|
||||
set category = "Server.Game" //CHOMPEdit
|
||||
set category = "Server.Game"
|
||||
set name = "Toggle random events on/off"
|
||||
set desc = "Toggles random events such as meteors, black holes, blob (but not space dust) on/off"
|
||||
|
||||
@@ -1041,7 +1041,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.Game" //CHOMPEdit
|
||||
set category = "Admin.Game"
|
||||
set desc = "Removes a player from the round as if they'd cryo'd."
|
||||
set popup_menu = FALSE
|
||||
|
||||
@@ -1104,7 +1104,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.Drop Pod" //CHOMPEdit
|
||||
set category = "Fun.Drop Pod"
|
||||
|
||||
if(!check_rights(R_SPAWN))
|
||||
return
|
||||
@@ -1146,7 +1146,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.Drop Pod" //CHOMPEdit
|
||||
set category = "Fun.Drop Pod"
|
||||
|
||||
if(!check_rights(R_SPAWN))
|
||||
return
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/spawn_character_mob()
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
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 = "Fun.Narrate" //CHOMPEdit
|
||||
set category = "Fun.Narrate"
|
||||
set name = "Z Narrate"
|
||||
set desc = "Narrates to your Z level."
|
||||
|
||||
@@ -84,13 +84,16 @@
|
||||
return
|
||||
|
||||
var/msg = tgui_input_text(usr, "Message:", text("Enter the text you wish to appear to everyone:"))
|
||||
//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
|
||||
|
||||
if (!msg)
|
||||
return
|
||||
|
||||
var/pos_z = get_z(src.mob)
|
||||
if (!pos_z)
|
||||
return
|
||||
@@ -102,7 +105,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.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
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"
|
||||
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
/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.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
if(!check_rights(R_ADMIN|R_FUN|R_VAREDIT))
|
||||
return
|
||||
do_resize(L) //CHOMPEdit
|
||||
|
||||
/client/proc/do_resize(var/mob/living/L) //CHOMPEdit
|
||||
var/size_multiplier = tgui_input_number(usr, "Input size multiplier.", "Resize", 1, round_value=FALSE)
|
||||
|
||||
@@ -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.Do Not" //CHOMPEdit
|
||||
set category = "Fun.Do Not"
|
||||
if(!check_rights(R_FUN))
|
||||
return
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
var/const/commandos_possible = 6 //if more Commandos are needed in the future
|
||||
|
||||
/client/proc/strike_team()
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Spawn Strike Team"
|
||||
set desc = "Spawns a strike team if you want to run an admin event."
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/triple_ai()
|
||||
set category = "Fun.Event Kit" //CHOMPEdit
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Create AI Triumvirate"
|
||||
|
||||
if(ticker.current_state > GAME_STATE_PREGAME)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/client/proc/debug_variables(datum/D in world)
|
||||
set category = "Debug.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
set name = "View Variables"
|
||||
//set src in world
|
||||
var/static/cookieoffset = rand(1, 9999) //to force cookies to reset after the round.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#define ASSET_CROSS_ROUND_CACHE_DIRECTORY "cache/assets" //CHOMPEdit, moved there as we clear the tmp folder like TG does
|
||||
#define ASSET_CROSS_ROUND_CACHE_DIRECTORY "cache/assets"
|
||||
|
||||
//These datums are used to populate the asset cache, the proc "register()" does this.
|
||||
//Place any asset datums you create in asset_list_items.dm
|
||||
|
||||
@@ -107,12 +107,10 @@
|
||||
var/last_asset_job = 0
|
||||
var/last_completed_asset_job = 0
|
||||
|
||||
//CHOMPAdd Start Panel Ping
|
||||
///Last ping of the client
|
||||
var/lastping = 0
|
||||
///Average ping of the client
|
||||
var/avgping = 0
|
||||
//CHOMPAdd End
|
||||
|
||||
///world.time they connected
|
||||
var/connection_time
|
||||
|
||||
@@ -536,13 +536,13 @@
|
||||
|
||||
/client/verb/character_setup()
|
||||
set name = "Character Setup"
|
||||
set category = "Preferences.Character" //CHOMPEdit
|
||||
set category = "Preferences.Character"
|
||||
if(prefs)
|
||||
prefs.ShowChoices(usr)
|
||||
|
||||
/client/verb/game_options()
|
||||
set name = "Game Options"
|
||||
set category = "Preferences.Game" //CHOMPEdit
|
||||
set category = "Preferences.Game"
|
||||
if(prefs)
|
||||
prefs.tgui_interact(usr)
|
||||
|
||||
@@ -644,7 +644,7 @@
|
||||
|
||||
/client/verb/toggle_fullscreen()
|
||||
set name = "Toggle Fullscreen"
|
||||
set category = "OOC.Client Settings" //CHOMPEdit
|
||||
set category = "OOC.Client Settings"
|
||||
|
||||
fullscreen = !fullscreen
|
||||
|
||||
@@ -666,7 +666,7 @@
|
||||
/*CHOMPRemove Start, we use TGPanel
|
||||
/client/verb/toggle_verb_panel()
|
||||
set name = "Toggle Verbs"
|
||||
set category = "OOC.Client Settings" //CHOMPEdit
|
||||
set category = "OOC.Client Settings"
|
||||
|
||||
show_verb_panel = !show_verb_panel
|
||||
|
||||
@@ -676,7 +676,7 @@
|
||||
/*
|
||||
/client/verb/toggle_status_bar()
|
||||
set name = "Toggle Status Bar"
|
||||
set category = "OOC.Client Settings" //CHOMPEdit
|
||||
set category = "OOC.Client Settings"
|
||||
|
||||
show_status_bar = !show_status_bar
|
||||
|
||||
@@ -688,7 +688,7 @@
|
||||
|
||||
/client/verb/show_active_playtime()
|
||||
set name = "Active Playtime"
|
||||
set category = "IC.Game"
|
||||
set category = "OOC.Game"
|
||||
|
||||
if(!play_hours.len)
|
||||
to_chat(src, span_warning("Persistent playtime disabled!"))
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
|
||||
/client/verb/spinleft()
|
||||
set name = "Spin View CCW"
|
||||
set category = "OOC.Game" //CHOMPEdit
|
||||
set category = "OOC.Game"
|
||||
dir = turn(dir, 90)
|
||||
|
||||
/client/verb/spinright()
|
||||
set name = "Spin View CW"
|
||||
set category = "OOC.Game" //CHOMPEdit
|
||||
set category = "OOC.Game"
|
||||
dir = turn(dir, -90)
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
|
||||
/client/verb/volume_panel()
|
||||
set name = "Volume Panel"
|
||||
set category = "Preferences.Sounds" //CHOMPEdit
|
||||
set category = "Preferences.Sounds"
|
||||
set desc = "Allows you to adjust volume levels on the fly."
|
||||
|
||||
if(!volume_panel)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/client/verb/toggle_be_special(role in be_special_flags)
|
||||
set name = "Toggle Special Role Candidacy"
|
||||
set category = "Preferences.Character" //CHOMPEdit
|
||||
set category = "Preferences.Character"
|
||||
set desc = "Toggles which special roles you would like to be a candidate for, during events."
|
||||
|
||||
var/role_flag = be_special_flags[role]
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
/client/verb/toggle_chat_timestamps()
|
||||
set name = "Toggle Chat Timestamps"
|
||||
set category = "Preferences.Chat" //CHOMPEdit
|
||||
set category = "Preferences.Chat"
|
||||
set desc = "Toggles whether or not messages in chat will display timestamps. Enabling this will not add timestamps to messages that have already been sent."
|
||||
|
||||
prefs.chat_timestamp = !prefs.chat_timestamp //There is no preference datum for tgui input lock, nor for any TGUI prefs.
|
||||
@@ -26,7 +26,7 @@
|
||||
// Not attached to a pref datum because those are strict binary toggles
|
||||
/client/verb/toggle_examine_mode()
|
||||
set name = "Toggle Examine Mode"
|
||||
set category = "Preferences.Game" //CHOMPEdit
|
||||
set category = "Preferences.Game"
|
||||
set desc = "Toggle the additional behaviour of examining things."
|
||||
|
||||
prefs.examine_text_mode++
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
/client/verb/toggle_multilingual_mode()
|
||||
set name = "Toggle Multilingual Mode"
|
||||
set category = "Preferences.Character" //CHOMPEdit
|
||||
set category = "Preferences.Character"
|
||||
set desc = "Toggle the behaviour of multilingual speech parsing."
|
||||
|
||||
prefs.multilingual_mode++
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
//Why weren't these in game toggles already?
|
||||
/client/verb/toggle_capture_crystal()
|
||||
set name = "Toggle Catchable"
|
||||
set category = "Preferences.Character" //CHOMPEdit
|
||||
set category = "Preferences.Character"
|
||||
set desc = "Toggles being catchable with capture crystals."
|
||||
|
||||
var/mob/living/L = mob
|
||||
|
||||
@@ -37,7 +37,7 @@ var/global/list/all_tooltip_styles = list(
|
||||
|
||||
/client/verb/change_ui()
|
||||
set name = "Change UI"
|
||||
set category = "Preferences.Game" //CHOMPEdit
|
||||
set category = "Preferences.Game"
|
||||
set desc = "Configure your user interface"
|
||||
|
||||
if(!ishuman(usr))
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* YW EDIT START
|
||||
/client/verb/who_advanced()
|
||||
set name = "Advanced Who"
|
||||
set category = "OOC.Resources" //CHOMPEdit
|
||||
set category = "OOC.Resources"
|
||||
|
||||
var/msg = span_bold("Current Players:") + "\n"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ GLOBAL_DATUM(character_directory, /datum/character_directory)
|
||||
|
||||
/client/verb/show_character_directory()
|
||||
set name = "Character Directory"
|
||||
set category = "OOC.Game" //CHOMPEdit
|
||||
set category = "OOC.Game"
|
||||
set desc = "Shows a listing of all active characters, along with their associated OOC notes, flavor text, and more."
|
||||
|
||||
// This is primarily to stop malicious users from trying to lag the server by spamming this verb
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
/client/verb/ooc(msg as text)
|
||||
set name = "OOC"
|
||||
set category = "OOC.Chat" //CHOMPEdit
|
||||
set category = "OOC.Chat"
|
||||
|
||||
if(say_disabled) //This is here to try to identify lag problems
|
||||
to_chat(usr, span_warning("Speech is currently admin-disabled."))
|
||||
@@ -84,7 +84,7 @@
|
||||
/client/verb/looc(msg as text)
|
||||
set name = "LOOC"
|
||||
set desc = "Local OOC, seen only by those in view."
|
||||
set category = "OOC.Chat" //CHOMPEdit
|
||||
set category = "OOC.Chat"
|
||||
|
||||
if(say_disabled) //This is here to try to identify lag problems
|
||||
to_chat(usr, span_danger("Speech is currently admin-disabled."))
|
||||
@@ -198,7 +198,7 @@
|
||||
|
||||
/client/verb/fit_viewport()
|
||||
set name = "Fit Viewport"
|
||||
set category = "OOC.Client Settings" //CHOMPEdit
|
||||
set category = "OOC.Client Settings"
|
||||
set desc = "Fit the width of the map window to match the viewport"
|
||||
|
||||
// Fetch aspect ratio
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
|
||||
/client/verb/update_ping(time as num)
|
||||
set instant = TRUE
|
||||
set name = ".update_ping"
|
||||
var/ping = pingfromtime(time)
|
||||
lastping = ping
|
||||
if (!avgping)
|
||||
avgping = ping
|
||||
else
|
||||
avgping = MC_AVERAGE_SLOW(avgping, ping)
|
||||
|
||||
/client/proc/pingfromtime(time)
|
||||
return ((world.time+world.tick_lag*world.tick_usage/100)-time)*100
|
||||
return ((world.time+world.tick_lag*TICK_USAGE_REAL/100)-time)*100
|
||||
|
||||
/client/verb/display_ping(time as num)
|
||||
set instant = TRUE
|
||||
@@ -8,5 +19,5 @@
|
||||
|
||||
/client/verb/ping()
|
||||
set name = "Ping"
|
||||
set category = "OOC.Debug" //CHOMPEdit
|
||||
winset(src, null, "command=.display_ping+[world.time+world.tick_lag*world.tick_usage/100]")
|
||||
set category = "OOC.Debug"
|
||||
winset(src, null, "command=.display_ping+[world.time+world.tick_lag*TICK_USAGE_REAL/100]")
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
/*
|
||||
/mob/living/silicon/pai/verb/suicide()
|
||||
set category = "pAI Commands"
|
||||
set category = "Abilities.pAI Commands"
|
||||
set desc = "Kill yourself and become a ghost (You will receive a confirmation prompt)"
|
||||
set name = "pAI Suicide"
|
||||
var/answer = tgui_alert(usr, "REALLY kill yourself? This action can't be undone.", "Suicide", list("Yes","No"))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/client/verb/who()
|
||||
set name = "Who"
|
||||
set category = "OOC.Resources" //CHOMPEdit
|
||||
set category = "OOC.Resources"
|
||||
|
||||
var/msg = span_bold("Current Players:") + "\n"
|
||||
|
||||
|
||||
@@ -630,7 +630,7 @@
|
||||
/obj/item/clothing/shoes/proc/draw_knife()
|
||||
set name = "Draw Boot Knife"
|
||||
set desc = "Pull out your boot knife."
|
||||
set category = "IC.Game" //CHOMPEdit
|
||||
set category = "IC.Game"
|
||||
set src in usr
|
||||
|
||||
if(usr.stat || usr.restrained() || usr.incapacitated())
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
/obj/item/clothing/mask/monitor/verb/set_monitor_state()
|
||||
set name = "Set Monitor State"
|
||||
set desc = "Choose an icon for your monitor."
|
||||
set category = "IC.Game" //CHOMPEdit
|
||||
set category = "IC.Game"
|
||||
|
||||
set src in usr
|
||||
var/mob/living/carbon/human/H = loc
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
|
||||
/client/proc/fake_pdaconvos()
|
||||
set category = "Fun.Event Kit" //ChompEDIT
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Manage PDA identities"
|
||||
set desc = "Creates fake identities for use in setting up PDA props"
|
||||
|
||||
|
||||
@@ -193,7 +193,7 @@
|
||||
qdel(src)
|
||||
|
||||
/client/proc/eventkit_open_mob_spawner()
|
||||
set category = "Fun.Event Kit" //ChompEDIT
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Open Mob Spawner"
|
||||
set desc = "Opens an advanced version of the mob spawner."
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user