mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
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 commit1ff1a91c80. * Revert "map merge fix test" This reverts commit0b4a71a365. * 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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user