mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge remote-tracking branch 'upstream/dev' into power-net
Conflicts: code/ATMOSPHERICS/components/binary_devices/pump.dm code/ATMOSPHERICS/components/binary_devices/volume_pump.dm code/ATMOSPHERICS/components/unary/vent_pump.dm code/ATMOSPHERICS/pipes.dm
This commit is contained in:
@@ -42,7 +42,6 @@ Thus, the two variables affect pump operation are set in New():
|
||||
on = 1
|
||||
|
||||
|
||||
|
||||
/obj/machinery/atmospherics/binary/pump/update_icon()
|
||||
if(!powered())
|
||||
icon_state = "off"
|
||||
@@ -108,7 +107,7 @@ Thus, the two variables affect pump operation are set in New():
|
||||
sink.add_thermal_energy(power_draw)
|
||||
handle_power_draw(power_draw)
|
||||
else
|
||||
handle_power_draw(idle_power_usage)
|
||||
handle_power_draw(idle_power_usage)
|
||||
|
||||
if(network1)
|
||||
network1.update = 1
|
||||
@@ -247,7 +246,7 @@ Thus, the two variables affect pump operation are set in New():
|
||||
return
|
||||
|
||||
/obj/machinery/atmospherics/binary/pump/Topic(href,href_list)
|
||||
if(..()) return
|
||||
if(..()) return
|
||||
|
||||
if(href_list["power"])
|
||||
on = !on
|
||||
@@ -291,5 +290,5 @@ Thus, the two variables affect pump operation are set in New():
|
||||
"[user] unfastens \the [src].", \
|
||||
"\blue You have unfastened \the [src].", \
|
||||
"You hear ratchet.")
|
||||
new /obj/item/pipe(loc, make_from=src)
|
||||
new /obj/item/pipe(loc, make_from=src)
|
||||
del(src)
|
||||
|
||||
Reference in New Issue
Block a user