Skip to content

Commit

Permalink
adds lock icons/updates UVs
Browse files Browse the repository at this point in the history
  • Loading branch information
OrionTheFox committed Aug 4, 2024
1 parent fe93f60 commit 93d5faf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions code/game/machinery/suit_storage_unit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,13 @@
. += "[base_icon_state]_helm"
if(storage)
. += "[base_icon_state]_storage"
if(uv && uv_super)
. += "[base_icon_state]_super"
if(!(machine_stat & BROKEN || machine_stat & NOPOWER))
if(state_open)
. += "[base_icon_state]_lights_open"
else
if(uv)
if(uv_super)
. += "[base_icon_state]_super"
. += "[base_icon_state]_lights_red"
else
. += "[base_icon_state]_lights_closed"
Expand All @@ -247,6 +247,8 @@
. += "[base_icon_state]_uvstrong"
else
. += "[base_icon_state]_uv"
else if(locked)
. += "[base_icon_state]_locked"
else
. += "[base_icon_state]_ready"

Expand Down Expand Up @@ -353,6 +355,7 @@
if ("lock", "unlock")
if (!state_open)
locked = !locked
update_icon()
else
var/obj/item/item_to_dispense = vars[choice]
if (item_to_dispense)
Expand Down
Binary file modified icons/obj/machines/suit_storage.dmi
Binary file not shown.

0 comments on commit 93d5faf

Please sign in to comment.