mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Made new thermal plate icon.
This commit is contained in:
@@ -6,17 +6,20 @@
|
|||||||
//Transfers heat between a pipe system and environment, based on which has a greater thermal energy concentration
|
//Transfers heat between a pipe system and environment, based on which has a greater thermal energy concentration
|
||||||
|
|
||||||
icon = 'icons/obj/atmospherics/cold_sink.dmi'
|
icon = 'icons/obj/atmospherics/cold_sink.dmi'
|
||||||
icon_state = "intact_off"
|
icon_state = "off"
|
||||||
|
|
||||||
name = "Thermal Transfer Plate"
|
name = "Thermal Transfer Plate"
|
||||||
desc = "Transfers heat to and from an area"
|
desc = "Transfers heat to and from an area"
|
||||||
|
|
||||||
update_icon()
|
update_icon()
|
||||||
if(node)
|
var/prefix="_idle" // Also available: _heat, _cool
|
||||||
icon_state = "intact_off"
|
var/suffix=""
|
||||||
|
if(level == 1 && istype(loc, /turf/simulated))
|
||||||
|
prefix="h"
|
||||||
|
if(on && !(stat & (NOPOWER|BROKEN)))
|
||||||
|
icon_state = "[prefix]on[suffix]"
|
||||||
else
|
else
|
||||||
icon_state = "exposed"
|
icon_state = "[prefix]off"
|
||||||
return
|
|
||||||
|
|
||||||
process()
|
process()
|
||||||
..()
|
..()
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 595 B After Width: | Height: | Size: 9.0 KiB |
Reference in New Issue
Block a user