permit ahud and no respawnability ghosts in ghost bar (#29632)

This commit is contained in:
Toastical
2025-07-09 14:32:44 +00:00
committed by GitHub
parent 7fb2628288
commit ce0a9924ea
2 changed files with 12 additions and 3 deletions
+6 -1
View File
@@ -12,6 +12,8 @@ GLOBAL_LIST_EMPTY(occupants_by_key)
assignedrole = "Ghost Bar Occupant"
death_cooldown = 1 MINUTES
restrict_antagban = FALSE
restrict_respawnability = FALSE
restrict_ahud = FALSE
/obj/effect/mob_spawn/human/alive/ghost_bar/create(ckey, flavour = TRUE, name, mob/user = usr) // So divorced from the normal proc it's just being overriden
var/datum/character_save/save_to_load
@@ -79,7 +81,10 @@ GLOBAL_LIST_EMPTY(occupants_by_key)
H.mind.special_role = assignedrole
H.mind.offstation_role = TRUE
ADD_TRAIT(H, TRAIT_PACIFISM, GHOST_ROLE)
ADD_TRAIT(H, TRAIT_RESPAWNABLE, GHOST_ROLE)
if(isobserver(user))
var/mob/dead/observer/ghost = user
if(ghost.can_reenter_corpse)
ADD_TRAIT(H, TRAIT_RESPAWNABLE, GHOST_ROLE)
H.key = ckey
H.dna.species.after_equip_job(/datum/job/assistant, H)