mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 15:39:57 +01:00
More new sounds and fixes equip sounds (#9464)
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
else
|
||||
var/turf/T = get_turf(src)
|
||||
battery.forceMove(T)
|
||||
playsound(T, 'sound/items/Crowbar.ogg', 50, 1)
|
||||
playsound(T, 'sound/items/crowbar_pry.ogg', 50, 1)
|
||||
to_chat(usr, "<span class='notice'>You pull \the [battery] out of \the [src]'s power supply.</span>")
|
||||
battery = null
|
||||
|
||||
@@ -247,7 +247,7 @@
|
||||
return TRUE
|
||||
|
||||
else if(I.iswrench() && can_anchor)
|
||||
playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
|
||||
playsound(src.loc, I.usesound, 50, 1)
|
||||
anchored = !anchored
|
||||
if(anchored)
|
||||
on_anchored()
|
||||
@@ -257,7 +257,7 @@
|
||||
return TRUE
|
||||
|
||||
else if(I.iscrowbar())
|
||||
playsound(get_turf(src), 'sound/items/Crowbar.ogg', 50, 1)
|
||||
playsound(get_turf(src), I.usesound, 50, 1)
|
||||
opened = !opened
|
||||
to_chat(user, "<span class='notice'>You [opened ? "open" : "close"] \the [src].</span>")
|
||||
update_icon()
|
||||
@@ -357,4 +357,4 @@
|
||||
|
||||
/obj/item/device/electronic_assembly/proc/on_unanchored()
|
||||
for(var/obj/item/integrated_circuit/IC in contents)
|
||||
IC.on_unanchored()
|
||||
IC.on_unanchored()
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
..()
|
||||
|
||||
/obj/item/device/assembly/electronic_assembly/proc/toggle_open(mob/user)
|
||||
playsound(get_turf(src), 'sound/items/Crowbar.ogg', 50, 1)
|
||||
playsound(get_turf(src), 'sound/items/crowbar_pry.ogg', 50, 1)
|
||||
opened = !opened
|
||||
EA.opened = opened
|
||||
to_chat(user, "<span class='notice'>You [opened ? "open" : "close"] \the [src].</span>")
|
||||
|
||||
@@ -295,7 +295,7 @@ a creative player the means to solve many problems. Circuits are held inside an
|
||||
var/turf/T = get_turf(src)
|
||||
forceMove(T)
|
||||
assembly = null
|
||||
playsound(T, 'sound/items/Crowbar.ogg', 50, 1)
|
||||
playsound(T, 'sound/items/crowbar_pry.ogg', 50, 1)
|
||||
to_chat(usr, "<span class='notice'>You pop \the [src] out of the case, and slide it out.</span>")
|
||||
|
||||
if(istype(ea))
|
||||
@@ -362,4 +362,4 @@ a creative player the means to solve many problems. Circuits are held inside an
|
||||
return
|
||||
|
||||
/obj/item/integrated_circuit/proc/on_unanchored()
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user