mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-23 07:26:05 +00:00
makes simple pipes more OOP adjusts defines; puts them in __DEFINES/atmospherics.dm adds DEVICE_TYPE_LOOP define, which is used in a bunch of the for loops
21 lines
422 B
Plaintext
21 lines
422 B
Plaintext
/obj/machinery/atmospherics/components/unary/generator_input
|
|
|
|
icon_state = "he_intact"
|
|
density = 1
|
|
|
|
name = "generator input"
|
|
desc = "Placeholder"
|
|
|
|
var/update_cycle
|
|
|
|
/obj/machinery/atmospherics/components/unary/generator_input/update_icon()
|
|
if(NODE1)
|
|
icon_state = "intact"
|
|
else
|
|
icon_state = "exposed"
|
|
|
|
return
|
|
|
|
/obj/machinery/atmospherics/components/unary/generator_input/proc/return_exchange_air()
|
|
return AIR1
|