Makes ghosts able to play as some mobs sometimes

Like, when chicks grow up, they can play as the chicken
they can also play as mobs that are released from cargo crates
This commit is contained in:
VerySoft
2021-07-05 23:18:06 -04:00
parent 7a0accba92
commit f20c247c55
2 changed files with 12 additions and 2 deletions
@@ -31,7 +31,14 @@
for(var/atom/movable/AM in contents)
if(AM.simulated)
AM.forceMove(T)
//VOREStation Add Start
if(isanimal(AM))
var/mob/living/simple_mob/AMBLINAL = AM
if(!AMBLINAL.mind)
AMBLINAL.ghostjoin = 1
AMBLINAL.ghostjoin_icon()
active_ghost_pods |= AMBLINAL
//VOREStation Add End
user.visible_message("<span class='notice'>[user] pries \the [src] open.</span>", \
"<span class='notice'>You pry open \the [src].</span>", \
"<span class='notice'>You hear splitting wood.</span>")