[MIRROR] Fix up critter holes (#12500)

Co-authored-by: Killian <49700375+KillianKirilenko@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-03-09 00:49:56 +01:00
committed by GitHub
co-authored by Killian Kashargul
parent de2184e6cc
commit e1002fc8e2
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)
. = ..()