From 79758083fc9cf079a49ceca660d4098fb6590a0d Mon Sep 17 00:00:00 2001 From: Erthilo Date: Thu, 10 May 2012 00:20:01 +0100 Subject: [PATCH] TG: Updated DNA modifier consoles so they work in any direction. Updated adminwho so the plebs can see ranks. Removed the admin message from view range changes. Revision: r3545 Author: petethegoat --- code/game/dna.dm | 7 +++++-- code/game/verbs/who.dm | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/code/game/dna.dm b/code/game/dna.dm index 25e0cd8ffa3..96566c54d2e 100644 --- a/code/game/dna.dm +++ b/code/game/dna.dm @@ -758,7 +758,7 @@ // if (!M.client) // for(var/mob/dead/observer/ghost in world) // if(ghost.corpse == M && ghost.client) -// ghost << "Your corpse has been placed into a cloning scanner. Return to your body if you want to be ressurected/cloned! (Verbs -> Ghost -> Re-enter corpse)" +// ghost << "Your corpse has been placed into a cloning scanner. Return to your body if you want to be resurrected/cloned! (Verbs -> Ghost -> Re-enter corpse)" // break del(G) return @@ -853,7 +853,10 @@ /obj/machinery/computer/scan_consolenew/New() ..() spawn(5) - src.connected = locate(/obj/machinery/dna_scannernew, get_step(src, WEST)) + for(dir in list(NORTH,EAST,SOUTH,WEST)) + connected = locate(/obj/machinery/dna_scannernew, get_step(src, dir)) + if(!isnull(connected)) + break spawn(250) src.injectorready = 1 return diff --git a/code/game/verbs/who.dm b/code/game/verbs/who.dm index d2bc6e33c57..eb45379de53 100644 --- a/code/game/verbs/who.dm +++ b/code/game/verbs/who.dm @@ -33,7 +33,7 @@ if(usr.client.holder) usr << "[M.key] is a [M.client.holder.rank][M.client.stealth ? " (as [M.client.fakekey])" : ""]" else if(!M.client.stealth && (M.client.holder.level != -3)) - usr << "\t[pick(nobles)] [M.client]" + usr << "\t[pick(nobles)] [M.client] is a [M.client.holder.rank]" var/list/nobles = list("Baron","Bookkeeper","Captain of the Guard","Chief Medical Dwarf","Count","Dungeon Master","Duke","General","Mayor","Outpost Liaison","Sheriff","Champion")