Orbit Refactor, Add Orbiter Count (#16718)

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
Luc
2022-01-13 16:12:36 +01:00
committed by GitHub
co-authored by AffectedArc07 SteelSlayer
parent 962137f291
commit 8bec8c75b3
12 changed files with 611 additions and 141 deletions
+2 -2
View File
@@ -238,7 +238,7 @@ GLOBAL_LIST_INIT(SpookyGhosts, list("ghost","shade","shade2","ghost-narsie","hor
if(A.invisibility)
if(see_ghosts && istype(A,/mob/dead/observer))
var/mob/dead/observer/O = A
if(O.orbiting)
if(O.orbiting_uid)
continue
if(user.mind && !(user.mind.assigned_role == "Chaplain"))
atoms.Add(image('icons/mob/mob.dmi', O.loc, pick(GLOB.SpookyGhosts), 4, SOUTH))
@@ -298,7 +298,7 @@ GLOBAL_LIST_INIT(SpookyGhosts, list("ghost","shade","shade2","ghost-narsie","hor
if(M.invisibility)
if(see_ghosts && istype(M,/mob/dead/observer))
var/mob/dead/observer/O = M
if(O.orbiting)
if(O.orbiting_uid)
continue
if(!mob_detail)
mob_detail = "You can see a g-g-g-g-ghooooost! "