mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-01-14 12:10:25 +01:00
add softer footsteps for some fungus types
This commit is contained in:
parent
ca0db16a17
commit
97fa1e99c5
@ -10,7 +10,7 @@ minetest.register_node("df_trees:goblin_cap_stem", {
|
|||||||
tiles = {"dfcaverns_goblin_cap_stem.png"},
|
tiles = {"dfcaverns_goblin_cap_stem.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, goblin_cap = 1},
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, goblin_cap = 1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
--cap
|
--cap
|
||||||
@ -21,7 +21,7 @@ minetest.register_node("df_trees:goblin_cap", {
|
|||||||
tiles = {"dfcaverns_goblin_cap.png"},
|
tiles = {"dfcaverns_goblin_cap.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, goblin_cap = 1},
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, goblin_cap = 1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
--gills
|
--gills
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
df_trees = {}
|
df_trees = {}
|
||||||
|
|
||||||
|
df_trees.node_sound_tree_soft_fungus_defaults = function(table)
|
||||||
|
table = table or {}
|
||||||
|
table.footstep = table.footstep or
|
||||||
|
{name = "dfcaverns_fungus_footstep", gain = 0.3}
|
||||||
|
default.node_sound_wood_defaults(table)
|
||||||
|
return table
|
||||||
|
end
|
||||||
|
|
||||||
--grab a shorthand for the filepath of the mod
|
--grab a shorthand for the filepath of the mod
|
||||||
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
||||||
|
|
||||||
|
@ -21,7 +21,9 @@ minetest.register_node("df_trees:nether_cap", {
|
|||||||
tiles = {"dfcaverns_nether_cap.png"},
|
tiles = {"dfcaverns_nether_cap.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1 },
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1 },
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults({
|
||||||
|
footstep = {name = "default_snow_footstep", gain = 0.2},
|
||||||
|
}),
|
||||||
})
|
})
|
||||||
|
|
||||||
--gills
|
--gills
|
||||||
|
BIN
df_trees/sounds/dfcaverns_fungus_footstep.1.ogg
Normal file
BIN
df_trees/sounds/dfcaverns_fungus_footstep.1.ogg
Normal file
Binary file not shown.
BIN
df_trees/sounds/dfcaverns_fungus_footstep.2.ogg
Normal file
BIN
df_trees/sounds/dfcaverns_fungus_footstep.2.ogg
Normal file
Binary file not shown.
BIN
df_trees/sounds/dfcaverns_fungus_footstep.3.ogg
Normal file
BIN
df_trees/sounds/dfcaverns_fungus_footstep.3.ogg
Normal file
Binary file not shown.
BIN
df_trees/sounds/dfcaverns_fungus_footstep.4.ogg
Normal file
BIN
df_trees/sounds/dfcaverns_fungus_footstep.4.ogg
Normal file
Binary file not shown.
1
df_trees/sounds/license.txt
Normal file
1
df_trees/sounds/license.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
dfcaverns_fungus_footstep are from https://freesound.org/people/jakeh111/sounds/60853/ under CC-BY-SA 3.0 in 2008 by jakeh111
|
@ -10,7 +10,7 @@ minetest.register_node("df_trees:tower_cap_stem", {
|
|||||||
tiles = {"dfcaverns_tower_cap.png"},
|
tiles = {"dfcaverns_tower_cap.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, tower_cap = 1},
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, tower_cap = 1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
--cap
|
--cap
|
||||||
@ -21,7 +21,7 @@ minetest.register_node("df_trees:tower_cap", {
|
|||||||
tiles = {"dfcaverns_tower_cap.png"},
|
tiles = {"dfcaverns_tower_cap.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, tower_cap = 1},
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, tower_cap = 1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
--gills
|
--gills
|
||||||
|
Loading…
Reference in New Issue
Block a user