Research and Lathes resprite emissives + tcomms emmisives (#20398)

Title. 'nuff seid.

Also fixes the fucked up material insertion animations to use
flick_overlay_view so it isn't laggy as fuck.

And adds emissives to machines that have lights so they glow in the dark
epically.

<img width="138" alt="dreamseeker_N6egRW6Yz3"
src="https://github.com/user-attachments/assets/a17f12ba-b768-4ad6-a35f-baf33aaae658"
/>
This commit is contained in:
Wowzewow (Wezzy)
2025-01-30 23:23:16 +08:00
committed by GitHub
parent c76a3de037
commit edba6021b9
22 changed files with 179 additions and 87 deletions
@@ -35,16 +35,18 @@
return TRUE
/obj/machinery/ntnet_relay/update_icon()
icon_state = initial(icon_state)
ClearOverlays()
if(operable())
AddOverlays(emissive_appearance(icon, "[icon_state]_lights"))
AddOverlays("[icon_state]_lights")
if(dos_failure)
AddOverlays(emissive_appearance(icon, "[icon_state]_failure"))
AddOverlays("[icon_state]_failure")
if(!enabled)
AddOverlays(emissive_appearance(icon, "[icon_state]_lights_failure"))
AddOverlays("[icon_state]_lights_failure")
if(panel_open)
icon_state += "_o"
if(!operable())
icon_state += "_off"
else if(dos_failure)
AddOverlays("relay_traitor")
else if(!enabled)
AddOverlays("relay_traitor_activate")
AddOverlays("[icon_state]_panel")
/obj/machinery/ntnet_relay/process()
if(operable())