Read-only ghost access to machinery, and admin-ghost access!

This commit is contained in:
Rob Nelson
2013-11-08 21:50:30 -08:00
parent 53eccc4f3d
commit a94d5ca2a1
14 changed files with 137 additions and 53 deletions

View File

@@ -1,2 +1,5 @@
/mob/dead/observer/Login()
..()
..()
if(src.check_rights(R_ADMIN|R_FUN))
src << "<span class='warning'>You are now an admin ghost. Think of yourself as an AI that doesn't show up anywhere and cannot speak. You can access any console or machine by standing next to it and clicking on it. Abuse of this privilege may result in hilarity or removal of your flags, so caution is recommended.</span>"

View File

@@ -13,6 +13,10 @@
blinded = 0
anchored = 1 // don't get pushed around
invisibility = INVISIBILITY_OBSERVER
// For Aghosts dicking with telecoms equipment.
var/obj/item/device/multitool/ghostMulti = null
var/can_reenter_corpse
var/datum/hud/living/carbon/hud = null // hud
var/bootime = 0
@@ -54,6 +58,9 @@
if(!name) //To prevent nameless ghosts
name = capitalize(pick(first_names_male)) + " " + capitalize(pick(last_names))
real_name = name
ghostMulti = new(src)
..()
/mob/dead/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
@@ -69,6 +76,7 @@ Works together with spawning an observer, noted above.
ghost.can_reenter_corpse = can_reenter_corpse
ghost.timeofdeath = timeofdeath //BS12 EDIT
ghost.key = key
return ghost
/*