mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 23:29:10 +01:00
[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:
co-authored by
Killian
Kashargul
parent
de2184e6cc
commit
e1002fc8e2
@@ -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)
|
||||
. = ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user