Adds the pondering orb to the wizard den (#23861)

* Pondering orb

* fix

* reset map

* map merge fix test

* Update centcomm.dmm

* Revert "Update centcomm.dmm"

This reverts commit 1ff1a91c80.

* Revert "map merge fix test"

This reverts commit 0b4a71a365.

* update map

* Apply suggestions from code review

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* make ghostify more generic

* add proximity check

---------

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
datlo
2024-02-04 21:47:09 +00:00
committed by GitHub
co-authored by Henri215
parent 5dd3f7fb79
commit 17e58231df
7 changed files with 39 additions and 16 deletions
@@ -174,7 +174,7 @@ Works together with spawning an observer, noted above.
C.images += target.hud_list[SPECIALROLE_HUD]
return 1
/mob/proc/ghostize(flags = GHOST_CAN_REENTER)
/mob/proc/ghostize(flags = GHOST_CAN_REENTER, user_color, ghost_name)
if(key)
if(player_logged) //if they have disconnected we want to remove their SSD overlay
overlays -= image('icons/effects/effects.dmi', icon_state = "zzz_glow")
@@ -186,6 +186,11 @@ Works together with spawning an observer, noted above.
ADD_TRAIT(ghost, TRAIT_RESPAWNABLE, GHOSTED)
else
GLOB.non_respawnable_keys[ckey] = 1
if(user_color)
add_atom_colour(user_color, ADMIN_COLOUR_PRIORITY)
ghost.color = user_color
if(ghost_name)
ghost.name = ghost_name
ghost.key = key
return ghost