mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
just fuck my shit up
This commit is contained in:
@@ -5,6 +5,7 @@ var/global/floorIsLava = 0
|
||||
|
||||
////////////////////////////////
|
||||
/proc/message_admins(var/msg)
|
||||
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/message_admins() called tick#: [world.time]")
|
||||
msg = "<span class=\"admin\"><span class=\"prefix\">ADMIN LOG:</span> <span class=\"message\">[msg]</span></span>"
|
||||
log_adminwarn(msg)
|
||||
for(var/client/C in admins)
|
||||
@@ -12,6 +13,7 @@ var/global/floorIsLava = 0
|
||||
C << msg
|
||||
|
||||
/proc/msg_admin_attack(var/text) //Toggleable Attack Messages
|
||||
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/msg_admin_attack() called tick#: [world.time]")
|
||||
var/rendered = "<span class=\"admin\"><span class=\"prefix\">ADMIN LOG:</span> <span class=\"message\">[text]</span></span>"
|
||||
log_adminwarn(rendered)
|
||||
for(var/client/C in admins)
|
||||
@@ -27,6 +29,7 @@ var/global/floorIsLava = 0
|
||||
set category = "Admin"
|
||||
set name = "Show Player Panel"
|
||||
set desc="Edit player (respawn, ban, heal, etc)"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/show_player_panel() called tick#: [world.time]")
|
||||
|
||||
if(!M)
|
||||
usr << "You seem to be selecting a mob that doesn't exist anymore."
|
||||
@@ -39,7 +42,7 @@ var/global/floorIsLava = 0
|
||||
|
||||
checkSessionKey()
|
||||
// AUTOFIXED BY fix_string_idiocy.py
|
||||
// C:\Users\Rob\Documents\Projects\vgstation13\code\modules\admin\admin.dm:40: var/body = "<html><head><title>Options for [M.key]</title></head>"
|
||||
// C:\Users\Rob\\documents\\\projects\vgstation13\code\\modules\admin\admin.dm:40: var/body = "<html><head><title>Options for [M.key]</title></head>"
|
||||
var/body = {"<html><head><title>Options for [M.key]</title></head>
|
||||
<body>Options panel for <b>[M]</b>"}
|
||||
// END AUTOFIX
|
||||
@@ -47,7 +50,7 @@ var/global/floorIsLava = 0
|
||||
if(M.client)
|
||||
|
||||
// AUTOFIXED BY fix_string_idiocy.py
|
||||
// C:\Users\Rob\Documents\Projects\vgstation13\code\modules\admin\admin.dm:43: body += " played by <b>[M.client]</b> "
|
||||
// C:\Users\Rob\\documents\\\projects\vgstation13\code\\modules\admin\admin.dm:43: body += " played by <b>[M.client]</b> "
|
||||
body += {"played by <b>[M.client]</b>
|
||||
\[<A href='?src=\ref[src];editrights=show'>[M.client.holder ? M.client.holder.rank : "Player"]</A>\]"}
|
||||
// END AUTOFIX
|
||||
@@ -105,7 +108,7 @@ var/global/floorIsLava = 0
|
||||
if(!istype(M, /mob/new_player))
|
||||
|
||||
// AUTOFIXED BY fix_string_idiocy.py
|
||||
// C:\Users\Rob\Documents\Projects\vgstation13\code\modules\admin\admin.dm:90: body += "<br><br>"
|
||||
// C:\Users\Rob\\documents\\\projects\vgstation13\code\\modules\admin\admin.dm:90: body += "<br><br>"
|
||||
body += {"<br><br>
|
||||
<b>Transformation:</b>
|
||||
<br>"}
|
||||
@@ -236,6 +239,8 @@ var/global/floorIsLava = 0
|
||||
/datum/admins/proc/PlayerNotes()
|
||||
set category = "Admin"
|
||||
set name = "Player Notes"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/PlayerNotes() called tick#: [world.time]")
|
||||
|
||||
if (!istype(src,/datum/admins))
|
||||
src = usr.client.holder
|
||||
if (!istype(src,/datum/admins))
|
||||
@@ -246,6 +251,8 @@ var/global/floorIsLava = 0
|
||||
/datum/admins/proc/checkCID()
|
||||
set category = "Admin"
|
||||
set name = "Lookup bans on Computer ID"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/checkCID() called tick#: [world.time]")
|
||||
|
||||
if(!usr)
|
||||
return
|
||||
if (!istype(src,/datum/admins))
|
||||
@@ -263,6 +270,8 @@ var/global/floorIsLava = 0
|
||||
/datum/admins/proc/checkCKEY()
|
||||
set category = "Admin"
|
||||
set name = "Lookup bans on CKEY"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/checkCKEY() called tick#: [world.time]")
|
||||
|
||||
if(!usr)
|
||||
return
|
||||
if (!istype(src,/datum/admins))
|
||||
@@ -277,6 +286,7 @@ var/global/floorIsLava = 0
|
||||
return
|
||||
|
||||
/datum/admins/proc/PlayerNotesPage(page)
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/PlayerNotesPage() called tick#: [world.time]")
|
||||
var/dat = "<B>Player notes</B><HR>"
|
||||
var/savefile/S=new("data/player_notes.sav")
|
||||
var/list/note_keys
|
||||
@@ -317,6 +327,7 @@ var/global/floorIsLava = 0
|
||||
|
||||
|
||||
/datum/admins/proc/player_has_info(var/key as text)
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/player_has_info() called tick#: [world.time]")
|
||||
var/savefile/info = new("data/player_saves/[copytext(key, 1, 2)]/[key]/info.sav")
|
||||
var/list/infos
|
||||
info >> infos
|
||||
@@ -324,6 +335,7 @@ var/global/floorIsLava = 0
|
||||
else return 1
|
||||
|
||||
/proc/exportnotes(var/key as text)
|
||||
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/exportnotes() called tick#: [world.time]")
|
||||
var/savefile/info = new("data/player_saves/[copytext(key, 1, 2)]/[key]/info.sav")
|
||||
var/list/infos
|
||||
info >> infos
|
||||
@@ -350,6 +362,8 @@ var/global/floorIsLava = 0
|
||||
/datum/admins/proc/show_player_info(var/key as text)
|
||||
set category = "Admin"
|
||||
set name = "Show Player Info"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/show_player_info() called tick#: [world.time]")
|
||||
|
||||
if (!istype(src,/datum/admins))
|
||||
src = usr.client.holder
|
||||
if (!istype(src,/datum/admins))
|
||||
@@ -357,7 +371,7 @@ var/global/floorIsLava = 0
|
||||
return
|
||||
|
||||
// AUTOFIXED BY fix_string_idiocy.py
|
||||
// C:\Users\Rob\Documents\Projects\vgstation13\code\modules\admin\admin.dm:247: var/dat = "<html><head><title>Info on [key]</title></head>"
|
||||
// C:\Users\Rob\\documents\\\projects\vgstation13\code\\modules\admin\admin.dm:247: var/dat = "<html><head><title>Info on [key]</title></head>"
|
||||
var/dat = {"<html><head><title>Info on [key]</title></head>
|
||||
<body>"}
|
||||
// END AUTOFIX
|
||||
@@ -385,7 +399,7 @@ var/global/floorIsLava = 0
|
||||
|
||||
|
||||
// AUTOFIXED BY fix_string_idiocy.py
|
||||
// C:\Users\Rob\Documents\Projects\vgstation13\code\modules\admin\admin.dm:265: dat += "<br>"
|
||||
// C:\Users\Rob\\documents\\\projects\vgstation13\code\\modules\admin\admin.dm:265: dat += "<br>"
|
||||
dat += {"<br>
|
||||
<A href='?src=\ref[src];add_player_info=[key]'>Add Comment</A><br>
|
||||
</body></html>"}
|
||||
@@ -398,6 +412,7 @@ var/global/floorIsLava = 0
|
||||
set category = "Fun"
|
||||
set name = "Access Newscaster Network"
|
||||
set desc = "Allows you to view, add and edit news feeds."
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/access_news_network() called tick#: [world.time]")
|
||||
|
||||
if (!istype(src,/datum/admins))
|
||||
src = usr.client.holder
|
||||
@@ -641,6 +656,7 @@ var/global/floorIsLava = 0
|
||||
|
||||
|
||||
/datum/admins/proc/Jobbans()
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/Jobbans() called tick#: [world.time]")
|
||||
if(!check_rights(R_BAN)) return
|
||||
|
||||
var/dat = "<B>Job Bans!</B><HR><table>"
|
||||
@@ -653,6 +669,7 @@ var/global/floorIsLava = 0
|
||||
usr << browse(dat, "window=ban;size=400x400")
|
||||
|
||||
/datum/admins/proc/Game()
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/Game() called tick#: [world.time]")
|
||||
if(!check_rights(0)) return
|
||||
|
||||
var/dat = {"
|
||||
@@ -686,6 +703,7 @@ var/global/floorIsLava = 0
|
||||
return
|
||||
|
||||
/datum/admins/proc/Secrets()
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/Secrets() called tick#: [world.time]")
|
||||
if(!check_rights(0)) return
|
||||
|
||||
var/dat = "<B>The first rule of adminbuse is: you don't talk about the adminbuse.</B><HR>"
|
||||
@@ -831,6 +849,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set name = "Restart"
|
||||
set desc="Restarts the world"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/restart() called tick#: [world.time]")
|
||||
|
||||
if (!usr.client.holder)
|
||||
return
|
||||
var/confirm = alert("Restart the game world?", "Restart", "Yes", "Cancel")
|
||||
@@ -861,6 +881,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Special Verbs"
|
||||
set name = "Announce"
|
||||
set desc="Announce your desires to the world"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/announce() called tick#: [world.time]")
|
||||
|
||||
if(!check_rights(0)) return
|
||||
|
||||
var/message = input("Global message to send:", "Admin Announce", null, null) as message
|
||||
@@ -875,6 +897,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set desc="Globally Toggles OOC"
|
||||
set name="Toggle OOC"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleooc() called tick#: [world.time]")
|
||||
|
||||
ooc_allowed = !( ooc_allowed )
|
||||
if (ooc_allowed)
|
||||
world << "<B>The OOC channel has been globally enabled!</B>"
|
||||
@@ -884,10 +908,12 @@ var/global/floorIsLava = 0
|
||||
message_admins("[key_name_admin(usr)] toggled OOC.", 1)
|
||||
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/toggleoocdead()
|
||||
set category = "Server"
|
||||
set desc="Toggle dis bitch"
|
||||
set name="Toggle Dead OOC"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleoocdead() called tick#: [world.time]")
|
||||
dooc_allowed = !( dooc_allowed )
|
||||
|
||||
log_admin("[key_name(usr)] toggled OOC.")
|
||||
@@ -898,6 +924,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set desc="Toggle traitor scaling"
|
||||
set name="Toggle Traitor Scaling"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggletraitorscaling() called tick#: [world.time]")
|
||||
|
||||
traitor_scaling = !traitor_scaling
|
||||
log_admin("[key_name(usr)] toggled Traitor Scaling to [traitor_scaling].")
|
||||
message_admins("[key_name_admin(usr)] toggled Traitor Scaling [traitor_scaling ? "on" : "off"].", 1)
|
||||
@@ -907,6 +935,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set desc="Start the round RIGHT NOW"
|
||||
set name="Start Now"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/startnow() called tick#: [world.time]")
|
||||
|
||||
if(!ticker)
|
||||
alert("Unable to start the game as it is not set up.")
|
||||
return
|
||||
@@ -924,6 +954,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set desc="People can't enter"
|
||||
set name="Toggle Entering"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleenter() called tick#: [world.time]")
|
||||
|
||||
enter_allowed = !( enter_allowed )
|
||||
if (!( enter_allowed ))
|
||||
world << "<B>New players may no longer enter the game.</B>"
|
||||
@@ -938,6 +970,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set desc="People can't be AI"
|
||||
set name="Toggle AI"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleAI() called tick#: [world.time]")
|
||||
|
||||
config.allow_ai = !( config.allow_ai )
|
||||
if (!( config.allow_ai ))
|
||||
world << "<B>The AI job is no longer chooseable.</B>"
|
||||
@@ -951,6 +985,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set desc="Respawn basically"
|
||||
set name="Toggle Respawn"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleaban() called tick#: [world.time]")
|
||||
|
||||
abandon_allowed = !( abandon_allowed )
|
||||
if (abandon_allowed)
|
||||
world << "<B>You may now respawn.</B>"
|
||||
@@ -965,6 +1001,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set desc="Toggle alien mobs"
|
||||
set name="Toggle Aliens"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggle_aliens() called tick#: [world.time]")
|
||||
|
||||
aliens_allowed = !aliens_allowed
|
||||
log_admin("[key_name(usr)] toggled Aliens to [aliens_allowed].")
|
||||
message_admins("[key_name_admin(usr)] toggled Aliens [aliens_allowed ? "on" : "off"].", 1)
|
||||
@@ -976,6 +1014,7 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set desc="Delay the game start/end"
|
||||
set name="Delay"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/delay() called tick#: [world.time]")
|
||||
|
||||
if(!check_rights(R_ADMIN)) return
|
||||
if (!ticker || ticker.current_state != GAME_STATE_PREGAME)
|
||||
@@ -1007,6 +1046,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set desc="Toggle admin jumping"
|
||||
set name="Toggle Jump"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/adjump() called tick#: [world.time]")
|
||||
|
||||
config.allow_admin_jump = !(config.allow_admin_jump)
|
||||
message_admins("<span class='notice'>Toggled admin jumping to [config.allow_admin_jump].</span>")
|
||||
feedback_add_details("admin_verb","TJ") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
@@ -1015,6 +1056,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set desc="Toggle admin spawning"
|
||||
set name="Toggle Spawn"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/adspawn() called tick#: [world.time]")
|
||||
|
||||
config.allow_admin_spawning = !(config.allow_admin_spawning)
|
||||
message_admins("<span class='notice'>Toggled admin item spawning to [config.allow_admin_spawning].</span>")
|
||||
feedback_add_details("admin_verb","TAS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
@@ -1023,6 +1066,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set desc="Toggle admin revives"
|
||||
set name="Toggle Revive"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/adrev() called tick#: [world.time]")
|
||||
|
||||
config.allow_admin_rev = !(config.allow_admin_rev)
|
||||
message_admins("<span class='notice'>Toggled reviving to [config.allow_admin_rev].</span>")
|
||||
feedback_add_details("admin_verb","TAR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
@@ -1031,6 +1076,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set desc="Reboots the server post haste"
|
||||
set name="Immediate Reboot"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/immreboot() called tick#: [world.time]")
|
||||
|
||||
if(!usr.client.holder) return
|
||||
if( alert("Reboot server?",,"Yes","No") == "No")
|
||||
return
|
||||
@@ -1055,6 +1102,8 @@ var/global/floorIsLava = 0
|
||||
/datum/admins/proc/unprison(var/mob/M in mob_list)
|
||||
set category = "Admin"
|
||||
set name = "Unprison"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/unprison() called tick#: [world.time]")
|
||||
|
||||
if (M.z == 2)
|
||||
if (config.allow_admin_jump)
|
||||
M.loc = pick(latejoin)
|
||||
@@ -1069,6 +1118,7 @@ var/global/floorIsLava = 0
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////ADMIN HELPER PROCS
|
||||
|
||||
/proc/is_special_character(mob/M as mob) // returns 1 for specail characters and 2 for heroes of gamemode
|
||||
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/is_special_character() called tick#: [world.time]")
|
||||
if(!ticker || !ticker.mode)
|
||||
return 0
|
||||
if (!istype(M))
|
||||
@@ -1116,6 +1166,7 @@ var/global/floorIsLava = 0
|
||||
|
||||
/*
|
||||
/datum/admins/proc/get_sab_desc(var/target)
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/get_sab_desc() called tick#: [world.time]")
|
||||
switch(target)
|
||||
if(1)
|
||||
return "Destroy at least 70% of the plasma canisters on the station"
|
||||
@@ -1136,6 +1187,7 @@ var/global/floorIsLava = 0
|
||||
set category = "Debug"
|
||||
set desc = "(atom path) Spawn an atom"
|
||||
set name = "Spawn"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/spawn_atom() called tick#: [world.time]")
|
||||
|
||||
if(!check_rights(R_SPAWN)) return
|
||||
|
||||
@@ -1170,6 +1222,7 @@ var/global/floorIsLava = 0
|
||||
set category = "Admin"
|
||||
set desc = "Edit mobs's memory and role"
|
||||
set name = "Show Traitor Panel"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/show_traitor_panel() called tick#: [world.time]")
|
||||
|
||||
if(!istype(M))
|
||||
usr << "This can only be used on instances of type /mob"
|
||||
@@ -1186,6 +1239,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Debug"
|
||||
set desc="Reduces view range when wearing welding helmets"
|
||||
set name="Toggle tinted welding helmes"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggletintedweldhelmets() called tick#: [world.time]")
|
||||
|
||||
tinted_weldhelh = !( tinted_weldhelh )
|
||||
if (tinted_weldhelh)
|
||||
world << "<B>The tinted_weldhelh has been enabled!</B>"
|
||||
@@ -1199,6 +1254,8 @@ var/global/floorIsLava = 0
|
||||
set category = "Server"
|
||||
set desc="Guests can't enter"
|
||||
set name="Toggle guests"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleguests() called tick#: [world.time]")
|
||||
|
||||
guests_allowed = !( guests_allowed )
|
||||
if (!( guests_allowed ))
|
||||
world << "<B>Guests may no longer enter the game.</B>"
|
||||
@@ -1211,12 +1268,14 @@ var/global/floorIsLava = 0
|
||||
/client/proc/unjobban_panel()
|
||||
set name = "Unjobban Panel"
|
||||
set category = "Admin"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/unjobban_panel() called tick#: [world.time]")
|
||||
if (src.holder)
|
||||
src.holder.unjobbanpanel()
|
||||
feedback_add_details("admin_verb","UJBP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
return
|
||||
|
||||
/datum/admins/proc/output_ai_laws()
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/output_ai_laws() called tick#: [world.time]")
|
||||
var/ai_number = 0
|
||||
for(var/mob/living/silicon/S in mob_list)
|
||||
ai_number++
|
||||
@@ -1240,6 +1299,7 @@ var/global/floorIsLava = 0
|
||||
/datum/admins/proc/show_skills(var/mob/living/carbon/human/M as mob in mob_list)
|
||||
set category = "Admin"
|
||||
set name = "Show Skills"
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/show_skills() called tick#: [world.time]")
|
||||
|
||||
if (!istype(src,/datum/admins))
|
||||
src = usr.client.holder
|
||||
@@ -1255,6 +1315,7 @@ var/global/floorIsLava = 0
|
||||
set category = "Admin"
|
||||
set name = "Update Mob Sprite"
|
||||
set desc = "Should fix any mob sprite update errors."
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/update_mob_sprite() called tick#: [world.time]")
|
||||
|
||||
if (!holder)
|
||||
src << "Only administrators may use this command."
|
||||
@@ -1277,6 +1338,7 @@ var/global/floorIsLava = 0
|
||||
var/admin_shuttle_location = 0 // 0 = centcom 13, 1 = station
|
||||
|
||||
proc/move_admin_shuttle()
|
||||
writepanic("[__FILE__].[__LINE__] \\/proc/move_admin_shuttle() called tick#: [world.time]")
|
||||
var/area/fromArea
|
||||
var/area/toArea
|
||||
if (admin_shuttle_location == 1)
|
||||
@@ -1297,6 +1359,7 @@ proc/move_admin_shuttle()
|
||||
var/ferry_location = 0 // 0 = centcom , 1 = station
|
||||
|
||||
proc/move_ferry()
|
||||
writepanic("[__FILE__].[__LINE__] \\/proc/move_ferry() called tick#: [world.time]")
|
||||
var/area/fromArea
|
||||
var/area/toArea
|
||||
if (ferry_location == 1)
|
||||
@@ -1317,6 +1380,7 @@ proc/move_ferry()
|
||||
var/alien_ship_location = 1 // 0 = base , 1 = mine
|
||||
|
||||
proc/move_alien_ship()
|
||||
writepanic("[__FILE__].[__LINE__] \\/proc/move_alien_ship() called tick#: [world.time]")
|
||||
var/area/fromArea
|
||||
var/area/toArea
|
||||
if (alien_ship_location == 1)
|
||||
@@ -1333,6 +1397,7 @@ proc/move_alien_ship()
|
||||
return
|
||||
|
||||
proc/formatJumpTo(location, where = "")
|
||||
writepanic("[__FILE__].[__LINE__] \\/proc/formatJumpTo() called tick#: [world.time]")
|
||||
var/turf/loc
|
||||
|
||||
if (isturf(location))
|
||||
@@ -1346,6 +1411,7 @@ proc/formatJumpTo(location, where = "")
|
||||
return "<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[loc.x];Y=[loc.y];Z=[loc.z]'>[where]</a>"
|
||||
|
||||
proc/formatLocation(location)
|
||||
writepanic("[__FILE__].[__LINE__] \\/proc/formatLocation() called tick#: [world.time]")
|
||||
var/turf/loc
|
||||
|
||||
if (isturf(location))
|
||||
@@ -1358,6 +1424,7 @@ proc/formatLocation(location)
|
||||
return answer
|
||||
|
||||
proc/formatPlayerPanel(var/mob/U,var/text="PP")
|
||||
writepanic("[__FILE__].[__LINE__] \\/proc/formatPlayerPanel() called tick#: [world.time]")
|
||||
return "<A HREF='?_src_=holder;adminplayeropts=\ref[U]'>[text]</A>"
|
||||
|
||||
//Credit to MrStonedOne from TG for this QoL improvement
|
||||
@@ -1365,6 +1432,8 @@ proc/formatPlayerPanel(var/mob/U,var/text="PP")
|
||||
//returns 0 if we don't plan to trap the event
|
||||
/datum/admins/proc/cmd_ghost_drag(var/mob/dead/observer/frommob, var/mob/living/tomob)
|
||||
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/cmd_ghost_drag() called tick#: [world.time]")
|
||||
|
||||
//if we couldn't do it manually, we can't do it here - the 0 means no message is displayed for failure
|
||||
if (!check_rights(R_VAREDIT, 0))
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user