Fix up critter holes (#19239)

* Fix up critter holes

* Fix up critter holes

* pai rewrite compat

* Update unified_ghost_hole.dm

* works fine for me

* explicit glow effect

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Killian
2026-03-08 23:31:52 +00:00
committed by GitHub
parent 9fff3bb4f4
commit c346085d2f
5 changed files with 31 additions and 15 deletions
+13 -11
View File
@@ -31,22 +31,24 @@
cut_overlays()
. = list()
var/list/overlays = list()
if(coil_damaged)
. += mutable_appearance(icon, "fc_unstable")
. += emissive_appearance(icon, "fc_unstable")
overlays += mutable_appearance(icon, "fc_unstable")
overlays += emissive_appearance(icon, "fc_unstable")
set_light(1, 3, light_color_danger)
return add_overlay(.)
else if(coil_charged)
. += mutable_appearance(icon, "fc_charged")
. += emissive_appearance(icon, "fc_charged")
set_light(1, 2, light_color)
return add_overlay(.)
else
set_light(0)
add_overlay(overlays)
return
if(coil_charged)
overlays += mutable_appearance(icon, "fc_charged")
overlays += emissive_appearance(icon, "fc_charged")
set_light(1, 2, light_color)
add_overlay(overlays)
return
set_light(0)
/obj/item/fusion_coil/bullet_act(obj/item/projectile/P, def_zone)
. = ..()