diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm
index 3612c4d8c4d..5dd341b3109 100644
--- a/code/__HELPERS/unsorted.dm
+++ b/code/__HELPERS/unsorted.dm
@@ -867,7 +867,7 @@ proc/anim(turf/location as turf,target as mob|obj,a_icon,a_icon_state as text,fl
/proc/hasvar(var/datum/A, var/varname)
if(A.vars.Find(lowertext(varname))) return 1
else return 0
-
+
//Returns: all the areas in the world
/proc/return_areas()
var/list/area/areas = list()
@@ -877,8 +877,8 @@ proc/anim(turf/location as turf,target as mob|obj,a_icon,a_icon_state as text,fl
//Returns: all the areas in the world, sorted.
/proc/return_sorted_areas()
- return sortAtom(return_areas())
-
+ return sortAtom(return_areas())
+
//Takes: Area type as text string or as typepath OR an instance of the area.
//Returns: A list of all areas of that type in the world.
/proc/get_areas(var/areatype)
diff --git a/code/_globalvars/mapping.dm b/code/_globalvars/mapping.dm
index 5d40a7c9772..1810bff0b47 100644
--- a/code/_globalvars/mapping.dm
+++ b/code/_globalvars/mapping.dm
@@ -51,5 +51,5 @@ var/list/blobstart = list()
var/list/ninjastart = list()
var/list/carplist = list() //list of all carp-spawn landmarks
- //away missions
-var/list/awaydestinations = list() //a list of landmarks that the warpgate can take you to
\ No newline at end of file
+//away missions
+var/list/awaydestinations = list() //a list of landmarks that the warpgate can take you to
diff --git a/code/game/area/Space Station 13 areas.dm b/code/game/area/Space Station 13 areas.dm
index 58a2fe59002..9c00df44213 100644
--- a/code/game/area/Space Station 13 areas.dm
+++ b/code/game/area/Space Station 13 areas.dm
@@ -54,14 +54,12 @@ NOTE: there are two lists of areas in the end of this file: centcom and station
var/air_doors_activated = 0
var/tele_proof = 0
-
+
/*Adding a wizard area teleport list because motherfucking lag -- Urist*/
/*I am far too lazy to make it a proper list of areas so I'll just make it run the usual telepot routine at the start of the game*/
var/list/teleportlocs = list()
-
-/hook/startup/proc/setupTeleportLocs()
+/proc/process_teleport_locs()
for(var/area/AR in world)
- if(istype(AR, /area/shuttle) || istype(AR, /area/syndicate_station) || istype(AR, /area/wizard_station)) continue
if(teleportlocs.Find(AR.name)) continue
var/list/turfs = get_area_turfs(AR.type)
if(turfs.len)
@@ -73,21 +71,15 @@ var/list/teleportlocs = list()
teleportlocs = sortAssoc(teleportlocs)
return 1
-
+
var/list/ghostteleportlocs = list()
-
-/hook/startup/proc/setupGhostTeleportLocs()
+/proc/process_ghost_teleport_locs()
for(var/area/AR in world)
if(ghostteleportlocs.Find(AR.name)) continue
- if(istype(AR, /area/tdome))
- ghostteleportlocs += AR.name
- ghostteleportlocs[AR.name] = AR
var/list/turfs = get_area_turfs(AR.type)
if(turfs.len)
- var/turf/picked = pick(turfs)
- if ((picked.z in config.player_levels))
- ghostteleportlocs += AR.name
- ghostteleportlocs[AR.name] = AR
+ ghostteleportlocs += AR.name
+ ghostteleportlocs[AR.name] = AR
ghostteleportlocs = sortAssoc(ghostteleportlocs)
diff --git a/code/game/dna/genes/vg_powers.dm b/code/game/dna/genes/vg_powers.dm
index 1495d5b50ae..616a2deb206 100644
--- a/code/game/dna/genes/vg_powers.dm
+++ b/code/game/dna/genes/vg_powers.dm
@@ -82,7 +82,7 @@ Obviously, requires DNA2.
M.update_mutations() //update our mutation overlays
M.update_body()
//M.say(pick("",";")+pick("HULK MAD","YOU MADE HULK ANGRY")) // Just a note to security.
- message_admins("[key_name(usr)] has hulked out! ([formatJumpTo(usr)])")
+ message_admins("[key_name_admin(usr)] has hulked out! ([formatJumpTo(usr)])")
return
*/
diff --git a/code/game/gamemodes/blob/blob.dm b/code/game/gamemodes/blob/blob.dm
index 5329c966b92..7a87a77c7a1 100644
--- a/code/game/gamemodes/blob/blob.dm
+++ b/code/game/gamemodes/blob/blob.dm
@@ -125,13 +125,13 @@ var/list/blob_nodes = list()
if(location.z != ZLEVEL_STATION || istype(location, /turf/space))
if(!warned)
C << "You feel ready to burst, but this isn't an appropriate place! You must return to the station!"
- message_admins("[key_name(C)] was in space when the blobs burst, and will die if he doesn't return to the station.")
+ message_admins("[key_name_admin(C)] was in space when the blobs burst, and will die if he doesn't return to the station.")
spawn(300)
burst_blob(blob, 1)
else
burst ++
log_admin("[key_name(C)] was in space when attempting to burst as a blob.")
- message_admins("[key_name(C)] was in space when attempting to burst as a blob.")
+ message_admins("[key_name_admin(C)] was in space when attempting to burst as a blob.")
C.gib()
make_blobs(1)
check_finished() //Still needed in case we can't make any blobs
diff --git a/code/game/gamemodes/events/holidays/Holidays.dm b/code/game/gamemodes/events/holidays/Holidays.dm
index 53d6e0171f7..a4db5022f03 100644
--- a/code/game/gamemodes/events/holidays/Holidays.dm
+++ b/code/game/gamemodes/events/holidays/Holidays.dm
@@ -133,7 +133,7 @@ var/global/Holiday = null
world.update_status()
Holiday_Game_Start()
- message_admins("\blue ADMIN: Event: [key_name(src)] force-set Holiday to \"[Holiday]\"")
+ message_admins("\blue ADMIN: Event: [key_name_admin(src)] force-set Holiday to \"[Holiday]\"")
log_admin("[key_name(src)] force-set Holiday to \"[Holiday]\"")
diff --git a/code/game/gamemodes/game_mode.dm b/code/game/gamemodes/game_mode.dm
index fb2168181e3..a4b17c9ba69 100644
--- a/code/game/gamemodes/game_mode.dm
+++ b/code/game/gamemodes/game_mode.dm
@@ -479,7 +479,7 @@ proc/display_roundstart_logout_report()
if(L.suiciding) //Suicider
msg += "[L.name] ([L.ckey]), the [L.job] (Suicide)\n"
job_master.FreeRole(L.job)
- message_admins("[L.name] ([L.ckey]), the [L.job] has been freed due to (Early Round Suicide)\n")
+ message_admins("[key_name_admin(L)], the [L.job] has been freed due to (Early Round Suicide)\n")
continue //Disconnected client
if(L.stat == UNCONSCIOUS)
msg += "[L.name] ([L.ckey]), the [L.job] (Dying)\n"
@@ -505,7 +505,7 @@ proc/display_roundstart_logout_report()
else
msg += "[L.name] ([ckey(D.mind.key)]), the [L.job] (Ghosted)\n"
job_master.FreeRole(L.job)
- message_admins("[L.name] ([L.ckey]), the [L.job] has been freed due to (Early Round Ghosted While Alive)\n")
+ message_admins("[key_name_admin(L)], the [L.job] has been freed due to (Early Round Ghosted While Alive)\n")
continue //Ghosted while alive
diff --git a/code/game/gamemodes/mutiny/mutiny.dm b/code/game/gamemodes/mutiny/mutiny.dm
index 150ff09f5fe..c91d8ad465d 100644
--- a/code/game/gamemodes/mutiny/mutiny.dm
+++ b/code/game/gamemodes/mutiny/mutiny.dm
@@ -332,8 +332,8 @@ datum/game_mode/mutiny
if (M)
src << "Attempting to recruit [M]..."
- log_admin("[src]([src.ckey]) attempted to recruit [M] as a loyalist.")
- message_admins("\red [src]([src.ckey]) attempted to recruit [M] as a loyalist.")
+ log_admin("[key_name(src)] attempted to recruit [M] as a loyalist.")
+ message_admins("\red [key_name_admin(src)] attempted to recruit [M] as a loyalist.")
var/choice = alert(M, "Asked by [src]: Will you help me complete Directive X?", "Loyalist recruitment", "Yes", "No")
if(choice == "Yes")
@@ -369,8 +369,8 @@ datum/game_mode/mutiny
if (M)
src << "Attempting to recruit [M]..."
- log_admin("[src]([src.ckey]) attempted to recruit [M] as a mutineer.")
- message_admins("\red [src]([src.ckey]) attempted to recruit [M] as a mutineer.")
+ log_admin("[key_name(src)] attempted to recruit [M] as a mutineer.")
+ message_admins("\red [key_name_admin(src)] attempted to recruit [M] as a mutineer.")
var/choice = alert(M, "Asked by [src]: Will you help me stop Directive X?", "Mutineer recruitment", "Yes", "No")
if(choice == "Yes")
diff --git a/code/game/gamemodes/nations/nations.dm b/code/game/gamemodes/nations/nations.dm
index 52df698a96f..4dba8ac9b25 100644
--- a/code/game/gamemodes/nations/nations.dm
+++ b/code/game/gamemodes/nations/nations.dm
@@ -428,9 +428,9 @@ datum/game_mode/nations
H << "You are now part of the great sovereign nation of [H.mind.nation.name]!"
return 1
else
- message_admins("[H.name] with [H.mind.assigned_role] could not find any nation to assign!")
+ message_admins("[key_name_admin(H)] with [H.mind.assigned_role] could not find any nation to assign!")
return 1
- message_admins("[H.name] latejoined with no mind.")
+ message_admins("[key_name_admin(H)] latejoined with no mind.")
return 1
/proc/get_nations_mode()
diff --git a/code/game/gamemodes/revolution/rp-revolution.dm b/code/game/gamemodes/revolution/rp-revolution.dm
index 963579af7c8..7e2b42461fe 100644
--- a/code/game/gamemodes/revolution/rp-revolution.dm
+++ b/code/game/gamemodes/revolution/rp-revolution.dm
@@ -294,8 +294,8 @@ mob/living/carbon/human/proc
src << "\red Wait five seconds before reconversion attempt."
return
src << "\red Attempting to convert [M]..."
- log_admin("[src]([src.ckey]) attempted to convert [M].")
- message_admins("\red [src]([src.ckey]) attempted to convert [M].")
+ log_admin("[key_name(src)] attempted to convert [M].")
+ message_admins("\red [key_name_admin(src)] attempted to convert [M].")
var/choice = alert(M,"Asked by [src]: Do you want to join the revolution?","Align Thyself with the Revolution!","No!","Yes!")
if(choice == "Yes!")
ticker.mode:add_revolutionary(M.mind)
diff --git a/code/game/gamemodes/wizard/rightandwrong.dm b/code/game/gamemodes/wizard/rightandwrong.dm
index 33425ebd135..c8f683406e2 100644
--- a/code/game/gamemodes/wizard/rightandwrong.dm
+++ b/code/game/gamemodes/wizard/rightandwrong.dm
@@ -5,7 +5,7 @@
var/list/magiclist = list("fireball","smoke","blind","mindswap","forcewall","knock","horsemask","charge", "summonitem", "wandnothing", "wanddeath", "wandresurrection", "wandpolymorph", "wandteleport", "wanddoor", "wandfireball", "staffhealing", "armor", "scrying", "staffdoor", "special")
var/list/magicspeciallist = list("staffchange","staffanimation", "wandbelt", "contract", "staffchaos")
usr << "You summoned [summon_type ? "magic" : "guns"]!"
- message_admins("[key_name_admin(usr, 1)] summoned [summon_type ? "magic" : "guns"]!")
+ message_admins("[key_name_admin(usr)] summoned [summon_type ? "magic" : "guns"]!")
for(var/mob/living/carbon/human/H in player_list)
if(H.stat == 2 || !(H.client)) continue
if(H.mind)
diff --git a/code/game/machinery/podmen.dm b/code/game/machinery/podmen.dm
index 58dc6dc7888..6679fd3b580 100644
--- a/code/game/machinery/podmen.dm
+++ b/code/game/machinery/podmen.dm
@@ -46,7 +46,6 @@ Growing it to term with nothing injected will grab a ghost from the observers. *
if(!source.client && source.mind)
for(var/mob/O in respawnable_list)
if(O.mind == source.mind && config.revival_pod_plants)
- message_admins("Found mind, asking for respawn")
switch(alert(O,"Your corpse has been placed into a pod plant. Do you want to be resurrected/cloned? Please note if you select 'No', you will still be able to be cloned or borged again this round.","Pod Alert","Yes","No"))
if("Yes")
source.key = O.key
diff --git a/code/game/objects/items/weapons/tanks/tanks.dm b/code/game/objects/items/weapons/tanks/tanks.dm
index 5fb04ffbafb..8e2f2d62b92 100644
--- a/code/game/objects/items/weapons/tanks/tanks.dm
+++ b/code/game/objects/items/weapons/tanks/tanks.dm
@@ -213,8 +213,8 @@
var/pressure = air_contents.return_pressure()
if(pressure > TANK_FRAGMENT_PRESSURE)
if(!istype(src.loc,/obj/item/device/transfer_valve))
- message_admins("Explosive tank rupture! last key to touch the tank was [src.fingerprintslast].")
- log_game("Explosive tank rupture! last key to touch the tank was [src.fingerprintslast].")
+ message_admins("Explosive tank rupture! last key to touch the tank was [src.fingerprintslast] (JMP)")
+ log_game("Explosive tank rupture! last key to touch the tank was [src.fingerprintslast] at [x], [y], [z]")
//world << "\blue[x],[y] tank is exploding: [pressure] kPa"
//Give the gas a chance to build up more pressure through reacting
air_contents.react()
diff --git a/code/modules/admin/admin_memo.dm b/code/modules/admin/admin_memo.dm
index 133f6d10e90..4a5f2eac73a 100644
--- a/code/modules/admin/admin_memo.dm
+++ b/code/modules/admin/admin_memo.dm
@@ -27,7 +27,8 @@
if( findtext(memo,"