Hint digital valve direction when closed/off. (#31127)

This commit is contained in:
Alan
2025-12-05 02:54:51 -05:00
committed by GitHub
parent de917d0dc0
commit 2ed573ded6
3 changed files with 4 additions and 1 deletions
@@ -129,8 +129,11 @@
update_icon()
/obj/machinery/atmospherics/trinary/tvalve/digital/update_icon_state()
var/flipstate = ""
if(flipped)
flipstate = "m"
if(!has_power())
icon_state = "tvalvenopower"
icon_state = "tvalve[flipstate]nopower"
/obj/machinery/atmospherics/trinary/tvalve/digital/attack_ai(mob/user)
return attack_hand(user)