mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Punching bags have sound again (#12422)
This commit is contained in:
@@ -1348,12 +1348,11 @@ var/list/total_extraction_beacons = list()
|
||||
icon_state = "punchingbag"
|
||||
anchored = TRUE
|
||||
layer = 5.1
|
||||
var/list/hit_sounds = list("swing_hit", "punch")
|
||||
|
||||
/obj/structure/punching_bag/attack_hand(mob/user as mob)
|
||||
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
|
||||
flick("[icon_state]2", src)
|
||||
playsound(get_turf(src), pick(src.hit_sounds), 25, 1, -1)
|
||||
playsound(get_turf(src), /decl/sound_category/swing_hit_sound, 25, 1, -1)
|
||||
|
||||
/obj/structure/weightlifter
|
||||
name = "weight machine"
|
||||
|
||||
Reference in New Issue
Block a user