Merge pull request #3961 from Citadel-Station-13/upstream-merge-32742

[MIRROR] New vent and scrubber sprites
This commit is contained in:
deathride58
2017-11-16 17:25:55 +00:00
committed by GitHub
3 changed files with 22 additions and 3 deletions
@@ -94,7 +94,23 @@
return
if(!NODE1 || !on || !is_operational())
icon_state = "vent_off"
if(icon_state == "vent_welded")
icon_state = "vent_off"
return
if(pump_direction & RELEASING)
icon_state = "vent_out-off"
else // pump_direction == SIPHONING
icon_state = "vent_in-off"
return
if(icon_state == ("vent_out-off" || "vent_in-off" || "vent_off"))
if(pump_direction & RELEASING)
icon_state = "vent_out"
flick("vent_out-starting", src)
else // pump_direction == SIPHONING
icon_state = "vent_in"
flick("vent_in-starting", src)
return
if(pump_direction & RELEASING)
@@ -95,8 +95,11 @@
icon_state = "scrub_off"
return
if(scrubbing & SCRUBBING)
icon_state = "scrub_on"
if(scrubbing & SCRUBBING)
if(widenet)
icon_state = "scrub_wide"
else
icon_state = "scrub_on"
else //scrubbing == SIPHONING
icon_state = "scrub_purge"