mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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.
Reference in New Issue
Block a user