Adds cult glows to constructs taken from VG

will put in mob.dmi when i am SURE its not gonna conflict on me
This commit is contained in:
Aurorablade
2015-07-12 07:58:33 -04:00
parent d46aa69852
commit 2c677779d0
2 changed files with 13 additions and 0 deletions
@@ -33,6 +33,7 @@
real_name = name
for(var/spell in construct_spells)
AddSpell(new spell(src))
updateicon()
/mob/living/simple_animal/construct/Die()
..()
@@ -326,6 +327,18 @@
/mob/living/simple_animal/construct/harvester/Process_Spacemove(var/check_drift = 0)
return 1
////////////////Glow////////////////////
/mob/living/simple_animal/construct/proc/updateicon()
overlays = 0
var/overlay_layer = LIGHTING_LAYER + 1
if(layer != MOB_LAYER)
overlay_layer=TURF_LAYER+0.2
overlays += image('icons/mob/cultglows.dmi',"glow-[icon_state]",overlay_layer)
//set_light(1,2,"red")
////////////////Powers//////////////////