mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
More new sounds and fixes equip sounds (#9464)
This commit is contained in:
@@ -353,11 +353,11 @@
|
||||
else if (WT.remove_fuel(0,user))
|
||||
to_chat(user, SPAN_NOTICE("Now welding the vent."))
|
||||
if(do_after(user, 30/W.toolspeed))
|
||||
if(!src || !WT.isOn())
|
||||
if(!src || !WT.isOn())
|
||||
return
|
||||
welded = !welded
|
||||
update_icon()
|
||||
playsound(src, 'sound/items/Welder2.ogg', 50, 1)
|
||||
playsound(src, 'sound/items/welder_pry.ogg', 50, 1)
|
||||
user.visible_message(SPAN_NOTICE("\The [user] [welded ? "welds \the [src] shut" : "unwelds \the [src]"]."), \
|
||||
SPAN_NOTICE("You [welded ? "weld \the [src] shut" : "unweld \the [src]"]."), \
|
||||
"You hear welding.")
|
||||
|
||||
@@ -290,13 +290,13 @@
|
||||
to_chat(user, SPAN_DANGER("\The [WT] must be turned on!"))
|
||||
else if (WT.remove_fuel(0,user))
|
||||
to_chat(user, SPAN_NOTICE("Now welding \the [src]."))
|
||||
playsound(src, 'sound/items/Welder.ogg', 50, 1)
|
||||
playsound(src, 'sound/items/welder.ogg', 50, 1)
|
||||
if(do_after(user, 20/W.toolspeed, act_target = src))
|
||||
if(!src || !WT.isOn())
|
||||
if(!src || !WT.isOn())
|
||||
return
|
||||
welded = !welded
|
||||
update_icon()
|
||||
playsound(src, 'sound/items/Welder2.ogg', 50, 1)
|
||||
playsound(src, 'sound/items/welder_pry.ogg', 50, 1)
|
||||
user.visible_message(SPAN_NOTICE("\The [user] [welded ? "welds \the [src] shut" : "unwelds \the [src]"]."), \
|
||||
SPAN_NOTICE("You [welded ? "weld \the [src] shut" : "unweld \the [src]"]."), \
|
||||
"You hear welding.")
|
||||
|
||||
Reference in New Issue
Block a user