diff --git a/README.md b/README.md index ea589bd..a505bc4 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Shotgun shooting sound by [coolguy](https://freesound.org/people/coolguy244e/sou Shotgun reloading sound by [jeseid77](https://freesound.org/people/jeseid77/sounds/86246/) SMG shooting sound by [kafokafo](https://freesound.org/people/kafokafo/sounds/128229/) SMG shooting sound by [GreenFireSound](https://freesound.org/people/GreenFireSound/sounds/484113/) +Sword swing by [bay_area_bob](https://freesound.org/people/bay_area_bob/sounds/541996/) Hit sound by [cabled_mess](https://freesound.org/people/cabled_mess/sounds/350926/) Kill sound by [jmayoff](https://freesound.org/people/jmayoff/sounds/255156/) Countdown announcer by [dbosst](https://freesound.org/people/dbosst/sounds/464145/) diff --git a/bl_weapons/sword.lua b/bl_weapons/sword.lua index b32a4b7..db9a592 100644 --- a/bl_weapons/sword.lua +++ b/bl_weapons/sword.lua @@ -15,6 +15,8 @@ block_league.register_weapon("block_league:sword", { weap_secondary_delay = 3, range = 6, + sound_shoot = "bl_sword_hit", + on_right_click = function(arena, weapon, user, pointed_thing) local p_meta = user:get_meta() diff --git a/sounds/bl_sword_hit.ogg b/sounds/bl_sword_hit.ogg new file mode 100644 index 0000000..03861a4 Binary files /dev/null and b/sounds/bl_sword_hit.ogg differ