Port Eris icons and sounds for lightswitches and sounds for buttons

* New icons for light switches, based on Eris light switch icons, except these ones go up/down for on/off!  And have glowing button overlays.
* Added sounds to clicking buttons!
* Brought over a few more icons for objects that will likely be useful for parts lathe.
This commit is contained in:
Leshana
2017-04-18 23:20:58 -04:00
committed by Arokha Sieyes
parent f83dc49b82
commit 6e56fc99c6
7 changed files with 10 additions and 2 deletions
+7 -1
View File
@@ -14,4 +14,10 @@
return attack_hand(user)
/obj/machinery/button/attackby(obj/item/weapon/W, mob/user as mob)
return attack_hand(user)
return attack_hand(user)
// VOREStation Edit Begin
/obj/machinery/button/attack_hand(obj/item/weapon/W, mob/user as mob)
if(..()) return 1
playsound(loc, 'sound/machines/button.ogg', 100, 1)
// VOREStation Edit End
+1
View File
@@ -78,6 +78,7 @@
#define SAFE 0x10
/obj/machinery/button/remote/airlock
icon = 'icons/obj/stationobjs_vr.dmi' // VOREStation Edit
name = "remote door-control"
desc = "It controls doors, remotely."
+2 -1
View File
@@ -4,7 +4,7 @@
/obj/machinery/light_switch
name = "light switch"
desc = "It turns lights on and off. What are you, simple?"
icon = 'icons/obj/power.dmi'
icon = 'icons/obj/power_vr.dmi' // VOREStation Edit
icon_state = "light1"
anchored = 1.0
use_power = 1
@@ -53,6 +53,7 @@
area.lightswitch = on
area.updateicon()
playsound(src, 'sound/machines/button.ogg', 100, 1, 0) // VOREStation Edit
for(var/obj/machinery/light_switch/L in area)
L.on = on
Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 632 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.