Move hand swing sound back to rp_default

This commit is contained in:
Wuzzy 2023-04-18 05:40:35 +02:00
parent a5b386bf7b
commit bbe48576ad
7 changed files with 5 additions and 18 deletions

View File

@ -82,6 +82,10 @@ File credits and individual file licenses:
* Derived by Wuzzy from sound by ZHRØ * Derived by Wuzzy from sound by ZHRØ
* Source: <https://freesound.org/people/ZHR%C3%98/sounds/514162/> * Source: <https://freesound.org/people/ZHR%C3%98/sounds/514162/>
* License: CC0 * License: CC0
* `rp_default_swing_hand_air.*.ogg`
* Derived by Wuzzy from sound by sifujordan
* Source: <https://freesound.org/people/sifujordan/sounds/506160/>
* License: CC0
* rp_default_footstep_cactus.*.ogg * rp_default_footstep_cactus.*.ogg
* rp_default_dig_cactus.*.ogg * rp_default_dig_cactus.*.ogg

View File

@ -20,7 +20,7 @@ local sound_tool_swing_air = {
punch_use_air = { name = "rp_default_swing_tool_air", gain = 0.5 }, punch_use_air = { name = "rp_default_swing_tool_air", gain = 0.5 },
} }
local sound_hand = { local sound_hand = {
punch_use_air = { name = "rp_itemdef_defaults_swing_air", gain = 0.1 }, punch_use_air = { name = "rp_default_swing_hand_air", gain = 0.1 },
} }
local creative_digtable = { local creative_digtable = {

View File

@ -10,9 +10,3 @@ mod that adds any item (exception: hand).
Mod written by Wuzzy. Licensed under CC0. Mod written by Wuzzy. Licensed under CC0.
Sounds:
* `rp_default_swing_hand_air.*.ogg`
* Derived by Wuzzy from sound by sifujordan
* Source: <https://freesound.org/people/sifujordan/sounds/506160/>
* License: CC0

View File

@ -1,14 +1,3 @@
-- Set default stack sizes -- Set default stack sizes
minetest.nodedef_default.stack_max = 60 minetest.nodedef_default.stack_max = 60
minetest.craftitemdef_default.stack_max = 60 minetest.craftitemdef_default.stack_max = 60
-- Set default item swing sound (when punching air)
-- NOTE: To disable this for a particular item, set the `sound`
-- table explicitly for the item.
minetest.craftitemdef_default.sound = {
punch_use_air = { name = "rp_itemdef_defaults_swing_air", gain = 0.1 },
}
minetest.tooldef_default.sound = minetest.craftitemdef_default.sound
minetest.nodedef_default.sound = minetest.craftitemdef_default.sound