Revert "Merge pull request #10883 from ancientpower/ghost-newscasters"

This reverts commit 3c5a3cb4d4, reversing
changes made to 109b15ebdd.
This commit is contained in:
kevinz000
2020-02-05 23:50:41 -07:00
parent 3a47e49cb3
commit 927b9d0622
8 changed files with 13 additions and 123 deletions

View File

@@ -796,7 +796,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
update_icon()
/mob/dead/observer/canUseTopic(atom/movable/M, be_close=FALSE, no_dextery=FALSE, no_tk=FALSE)
return IsAdminGhost(usr) || (M.ghost_flags & INTERACT_GHOST_READ)
return IsAdminGhost(usr)
/mob/dead/observer/is_literate()
return 1

View File

@@ -402,18 +402,6 @@ It's fairly easy to fix if dealing with single letters but not so much with comp
return
return TRUE
/proc/canGhostWrite(var/mob/A, var/obj/target, var/desc="", var/allow_all=FALSE)
if(allow_all & TRUE)
if(!target.GetComponent(/datum/component/anti_magic))
return 1
if(IsAdminGhost(A))
if (desc != "")
log_admin("GHOST: [key_name(A)] [desc] ([target.name] at [loc_name(target)])")
else
log_admin("GHOST: [key_name(A)] fucked with the [target.name] at [loc_name(target)]")
return 1
return 0
/proc/offer_control(mob/M)
to_chat(M, "Control of your mob has been offered to dead players.")
if(usr)