mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
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:
@@ -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//////////////////
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user