mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
Added rotating alarm lights (#19240)
Added rotating alarm lights, ported (with modifications) from Baystation 12. Cleaned up some code around visual flags and renamed one layer to align with bay's name.
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
density = FALSE
|
||||
if(head)
|
||||
AddOverlays(get_mech_image("[head.icon_state]", head.on_mech_icon, head.color, MECH_HEAD_LAYER))
|
||||
AddOverlays(get_mech_image("[head.icon_state]_eyes", head.on_mech_icon, null, EYEGLOW_LAYER))
|
||||
AddOverlays(get_mech_image("[head.icon_state]_eyes", head.on_mech_icon, null, EYE_GLOW_LAYER))
|
||||
if(arms)
|
||||
AddOverlays(get_mech_image(arms.icon_state, arms.on_mech_icon, arms.color, MECH_ARM_LAYER))
|
||||
if(legs)
|
||||
|
||||
@@ -30,7 +30,7 @@ GLOBAL_LIST_EMPTY(mecha_icon_cache)
|
||||
new_overlays += get_mech_image("[body.icon_state]_overlay[hatch_closed ? "" : "_open"]", body.on_mech_icon, body.color, MECH_COCKPIT_LAYER)
|
||||
if(head)
|
||||
new_overlays += get_mech_image("[head.icon_state]", head.on_mech_icon, head.color, MECH_HEAD_LAYER)
|
||||
new_overlays += get_mech_image("[head.icon_state]_eyes", head.on_mech_icon, null, EYEGLOW_LAYER)
|
||||
new_overlays += get_mech_image("[head.icon_state]_eyes", head.on_mech_icon, null, EYE_GLOW_LAYER)
|
||||
if(arms)
|
||||
new_overlays += get_mech_image(arms.icon_state, arms.on_mech_icon, arms.color, MECH_ARM_LAYER)
|
||||
if(legs)
|
||||
|
||||
Reference in New Issue
Block a user