forked from MineClone5/MineClone5
Add tool breaking sounds
This commit is contained in:
parent
563d537164
commit
f18ffce540
|
@ -9,7 +9,7 @@ Glass breaking sounds (CC BY 3.0):
|
||||||
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
||||||
http://creativecommons.org/licenses/by-sa/3.0/
|
http://creativecommons.org/licenses/by-sa/3.0/
|
||||||
|
|
||||||
default_tool_break.ogg by EdgardEdition (CC BY 3.0), http://www.freesound.org/people/EdgardEdition
|
default_tool_breaks.ogg by EdgardEdition (CC BY 3.0), http://www.freesound.org/people/EdgardEdition
|
||||||
|
|
||||||
Mito551 (sounds) (CC BY-SA 3.0):
|
Mito551 (sounds) (CC BY-SA 3.0):
|
||||||
default_dig_choppy.ogg
|
default_dig_choppy.ogg
|
||||||
|
|
|
@ -47,6 +47,7 @@ minetest.register_tool("mcl_core:pick_wood", {
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=2},
|
damage_groups = {fleshy=2},
|
||||||
},
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:pick_stone", {
|
minetest.register_tool("mcl_core:pick_stone", {
|
||||||
description = "Stone Pickaxe",
|
description = "Stone Pickaxe",
|
||||||
|
@ -61,6 +62,7 @@ minetest.register_tool("mcl_core:pick_stone", {
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=3},
|
damage_groups = {fleshy=3},
|
||||||
},
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:pick_iron", {
|
minetest.register_tool("mcl_core:pick_iron", {
|
||||||
description = "Iron Pickaxe",
|
description = "Iron Pickaxe",
|
||||||
|
@ -75,6 +77,7 @@ minetest.register_tool("mcl_core:pick_iron", {
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=4},
|
damage_groups = {fleshy=4},
|
||||||
},
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:pick_gold", {
|
minetest.register_tool("mcl_core:pick_gold", {
|
||||||
description = "Golden Pickaxe",
|
description = "Golden Pickaxe",
|
||||||
|
@ -89,6 +92,7 @@ minetest.register_tool("mcl_core:pick_gold", {
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=2},
|
damage_groups = {fleshy=2},
|
||||||
},
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:pick_diamond", {
|
minetest.register_tool("mcl_core:pick_diamond", {
|
||||||
description = "Diamond Pickaxe",
|
description = "Diamond Pickaxe",
|
||||||
|
@ -103,6 +107,7 @@ minetest.register_tool("mcl_core:pick_diamond", {
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=5},
|
damage_groups = {fleshy=5},
|
||||||
},
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
|
|
||||||
local make_grass_path = function(itemstack, placer, pointed_thing)
|
local make_grass_path = function(itemstack, placer, pointed_thing)
|
||||||
|
@ -141,6 +146,7 @@ minetest.register_tool("mcl_core:shovel_wood", {
|
||||||
damage_groups = {fleshy=2},
|
damage_groups = {fleshy=2},
|
||||||
},
|
},
|
||||||
on_place = make_grass_path,
|
on_place = make_grass_path,
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:shovel_stone", {
|
minetest.register_tool("mcl_core:shovel_stone", {
|
||||||
description = "Stone Shovel",
|
description = "Stone Shovel",
|
||||||
|
@ -156,6 +162,7 @@ minetest.register_tool("mcl_core:shovel_stone", {
|
||||||
damage_groups = {fleshy=3},
|
damage_groups = {fleshy=3},
|
||||||
},
|
},
|
||||||
on_place = make_grass_path,
|
on_place = make_grass_path,
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:shovel_iron", {
|
minetest.register_tool("mcl_core:shovel_iron", {
|
||||||
description = "Iron Shovel",
|
description = "Iron Shovel",
|
||||||
|
@ -171,6 +178,7 @@ minetest.register_tool("mcl_core:shovel_iron", {
|
||||||
damage_groups = {fleshy=4},
|
damage_groups = {fleshy=4},
|
||||||
},
|
},
|
||||||
on_place = make_grass_path,
|
on_place = make_grass_path,
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:shovel_gold", {
|
minetest.register_tool("mcl_core:shovel_gold", {
|
||||||
description = "Golden Shovel",
|
description = "Golden Shovel",
|
||||||
|
@ -186,6 +194,7 @@ minetest.register_tool("mcl_core:shovel_gold", {
|
||||||
damage_groups = {fleshy=2},
|
damage_groups = {fleshy=2},
|
||||||
},
|
},
|
||||||
on_place = make_grass_path,
|
on_place = make_grass_path,
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:shovel_diamond", {
|
minetest.register_tool("mcl_core:shovel_diamond", {
|
||||||
description = "Diamond Shovel",
|
description = "Diamond Shovel",
|
||||||
|
@ -201,6 +210,7 @@ minetest.register_tool("mcl_core:shovel_diamond", {
|
||||||
damage_groups = {fleshy=5},
|
damage_groups = {fleshy=5},
|
||||||
},
|
},
|
||||||
on_place = make_grass_path,
|
on_place = make_grass_path,
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Axes
|
-- Axes
|
||||||
|
@ -216,6 +226,7 @@ minetest.register_tool("mcl_core:axe_wood", {
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=7},
|
damage_groups = {fleshy=7},
|
||||||
},
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:axe_stone", {
|
minetest.register_tool("mcl_core:axe_stone", {
|
||||||
description = "Stone Axe",
|
description = "Stone Axe",
|
||||||
|
@ -229,6 +240,7 @@ minetest.register_tool("mcl_core:axe_stone", {
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=9},
|
damage_groups = {fleshy=9},
|
||||||
},
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:axe_iron", {
|
minetest.register_tool("mcl_core:axe_iron", {
|
||||||
description = "Iron Axe",
|
description = "Iron Axe",
|
||||||
|
@ -243,6 +255,7 @@ minetest.register_tool("mcl_core:axe_iron", {
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=9},
|
damage_groups = {fleshy=9},
|
||||||
},
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:axe_gold", {
|
minetest.register_tool("mcl_core:axe_gold", {
|
||||||
description = "Golden Axe",
|
description = "Golden Axe",
|
||||||
|
@ -256,6 +269,7 @@ minetest.register_tool("mcl_core:axe_gold", {
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=7},
|
damage_groups = {fleshy=7},
|
||||||
},
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:axe_diamond", {
|
minetest.register_tool("mcl_core:axe_diamond", {
|
||||||
description = "Diamond Axe",
|
description = "Diamond Axe",
|
||||||
|
@ -269,6 +283,7 @@ minetest.register_tool("mcl_core:axe_diamond", {
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=9},
|
damage_groups = {fleshy=9},
|
||||||
},
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Swords
|
-- Swords
|
||||||
|
@ -283,7 +298,8 @@ minetest.register_tool("mcl_core:sword_wood", {
|
||||||
snappy={times={[2]=1.6, [3]=0.40}, uses=10, maxlevel=1},
|
snappy={times={[2]=1.6, [3]=0.40}, uses=10, maxlevel=1},
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=4},
|
damage_groups = {fleshy=4},
|
||||||
}
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:sword_stone", {
|
minetest.register_tool("mcl_core:sword_stone", {
|
||||||
description = "Stone Sword",
|
description = "Stone Sword",
|
||||||
|
@ -296,7 +312,8 @@ minetest.register_tool("mcl_core:sword_stone", {
|
||||||
snappy={times={[2]=1.4, [3]=0.40}, uses=20, maxlevel=1},
|
snappy={times={[2]=1.4, [3]=0.40}, uses=20, maxlevel=1},
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=5},
|
damage_groups = {fleshy=5},
|
||||||
}
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:sword_iron", {
|
minetest.register_tool("mcl_core:sword_iron", {
|
||||||
description = "Iron Sword",
|
description = "Iron Sword",
|
||||||
|
@ -309,7 +326,8 @@ minetest.register_tool("mcl_core:sword_iron", {
|
||||||
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=30, maxlevel=2},
|
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=30, maxlevel=2},
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=6},
|
damage_groups = {fleshy=6},
|
||||||
}
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:sword_gold", {
|
minetest.register_tool("mcl_core:sword_gold", {
|
||||||
description = "Golden Sword",
|
description = "Golden Sword",
|
||||||
|
@ -322,7 +340,8 @@ minetest.register_tool("mcl_core:sword_gold", {
|
||||||
snappy={times={[2]=1.4, [3]=0.40}, uses=20, maxlevel=1},
|
snappy={times={[2]=1.4, [3]=0.40}, uses=20, maxlevel=1},
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=4},
|
damage_groups = {fleshy=4},
|
||||||
}
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
minetest.register_tool("mcl_core:sword_diamond", {
|
minetest.register_tool("mcl_core:sword_diamond", {
|
||||||
description = "Diamond Sword",
|
description = "Diamond Sword",
|
||||||
|
@ -335,7 +354,8 @@ minetest.register_tool("mcl_core:sword_diamond", {
|
||||||
snappy={times={[1]=1.90, [2]=0.90, [3]=0.30}, uses=40, maxlevel=3},
|
snappy={times={[1]=1.90, [2]=0.90, [3]=0.30}, uses=40, maxlevel=3},
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=7},
|
damage_groups = {fleshy=7},
|
||||||
}
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
|
|
||||||
--Shears
|
--Shears
|
||||||
|
@ -354,7 +374,8 @@ minetest.register_tool("mcl_core:shears", {
|
||||||
wool={times={[1]=0.2,[2]=0.2,[3]=0.2}, uses=283, maxlevel=1},
|
wool={times={[1]=0.2,[2]=0.2,[3]=0.2}, uses=283, maxlevel=1},
|
||||||
snappy={times={[1]=0.2,[2]=0.2,[3]=0.2}, uses=283, maxlevel=1},
|
snappy={times={[1]=0.2,[2]=0.2,[3]=0.2}, uses=283, maxlevel=1},
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue