Swords make sheathing/unsheating noises

This commit is contained in:
CitadelStationBot
2017-07-06 20:10:32 -05:00
parent 2c09a344b7
commit 55733ba0f4
3 changed files with 12 additions and 0 deletions

View File

@@ -65,6 +65,18 @@
final_block_chance = 0 //Don't bring a sword to a gunfight
return ..()
/obj/item/weapon/melee/sabre/on_exit_storage(obj/item/weapon/storage/S)
..()
var/obj/item/weapon/storage/belt/sabre/B = S
if(istype(B))
playsound(B, 'sound/items/unsheath.ogg', 25, 1)
/obj/item/weapon/melee/sabre/on_enter_storage(obj/item/weapon/storage/S)
..()
var/obj/item/weapon/storage/belt/sabre/B = S
if(istype(B))
playsound(B, 'sound/items/sheath.ogg', 25, 1)
/obj/item/weapon/melee/classic_baton
name = "police baton"
desc = "A wooden truncheon for beating criminal scum."

BIN
sound/items/sheath.ogg Normal file

Binary file not shown.

BIN
sound/items/unsheath.ogg Normal file

Binary file not shown.