diff --git a/code/game/gamemodes/handofgod/god.dm b/code/game/gamemodes/handofgod/god.dm index 9b30a016ff2..7335151df37 100644 --- a/code/game/gamemodes/handofgod/god.dm +++ b/code/game/gamemodes/handofgod/god.dm @@ -21,6 +21,7 @@ var/list/structures = list() var/list/conduits = list() var/prophets_sacrificed_in_name = 0 + var/image/ghostimage = null //For observer with darkness off visiblity /mob/camera/god/New() @@ -32,6 +33,10 @@ if(ticker && ticker.mode && ticker.mode.name == "hand of god") addtimer(src,"forceplacenexus",1200) + ghostimage = image(src.icon,src,src.icon_state) + ghost_darkness_images |= ghostimage + updateallghostimages() + //Rebuilds the list based on the gamemode's lists //As they are the most accurate each tick @@ -50,7 +55,8 @@ for(var/datum/mind/F in followers) if(F.current) F.current << "Your god is DEAD!" - + ghost_darkness_images -= ghostimage + updateallghostimages() return ..() diff --git a/code/modules/mob/living/simple_animal/revenant/revenant.dm b/code/modules/mob/living/simple_animal/revenant/revenant.dm index 07b181ca4dc..7d7118d0abb 100644 --- a/code/modules/mob/living/simple_animal/revenant/revenant.dm +++ b/code/modules/mob/living/simple_animal/revenant/revenant.dm @@ -49,7 +49,7 @@ var/draining = 0 //If the revenant is draining someone. var/list/drained_mobs = list() //Cannot harvest the same mob twice var/perfectsouls = 0 //How many perfect, regen-cap increasing souls the revenant has. //TODO, add objective for getting a perfect soul(s?) - + var/image/ghostimage = null //Visible to ghost with darkness off /mob/living/simple_animal/revenant/Life() ear_damage = 0 @@ -235,6 +235,11 @@ /mob/living/simple_animal/revenant/New() ..() + + ghostimage = image(src.icon,src,src.icon_state) + ghost_darkness_images |= ghostimage + updateallghostimages() + spawn(5) if(src.mind) src.mind.remove_all_antag() @@ -268,6 +273,8 @@ if(!revealed) //Revenants cannot die if they aren't revealed return 0 ..(1) + ghost_darkness_images -= ghostimage + updateallghostimages() src << "NO! No... it's too late, you can feel your essence breaking apart..." notransform = 1 revealed = 1 diff --git a/code/modules/mob/transform_procs.dm b/code/modules/mob/transform_procs.dm index 85afb664104..404ccc92e8d 100644 --- a/code/modules/mob/transform_procs.dm +++ b/code/modules/mob/transform_procs.dm @@ -436,7 +436,6 @@ /mob/proc/become_god(var/side_colour) var/mob/camera/god/G = new /mob/camera/god(loc) G.side = side_colour - G.invisibility = 40 if(mind) mind.transfer_to(G) else