Washing machine sprites

This commit is contained in:
Aronai Sieyes
2020-04-19 12:04:57 -04:00
parent a51657162e
commit 54e8932628
2 changed files with 8 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
/obj/machinery/washing_machine /obj/machinery/washing_machine
name = "Washing Machine" name = "Washing Machine"
desc = "Not a hiding place." desc = "Not a hiding place."
icon = 'icons/obj/machines/washing_machine.dmi' icon = 'icons/obj/machines/washing_machine_vr.dmi' //VOREStation Edit
icon_state = "wm_10" icon_state = "wm_1" //VOREStation Edit
density = 1 density = 1
anchored = 1.0 anchored = 1.0
clicksound = "button" clicksound = "button"
@@ -85,7 +85,12 @@
usr.loc = src.loc usr.loc = src.loc
/obj/machinery/washing_machine/update_icon() /obj/machinery/washing_machine/update_icon()
icon_state = "wm_[state][panel_open]" //VOREStation Edit
cut_overlays()
icon_state = "wm_[state]"
if(panel_open)
add_overlay("panel")
//VOREStation Edit End
/obj/machinery/washing_machine/attackby(obj/item/weapon/W as obj, mob/user as mob) /obj/machinery/washing_machine/attackby(obj/item/weapon/W as obj, mob/user as mob)
if(state == 2 && washing.len < 1) if(state == 2 && washing.len < 1)

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB