Add missing sounds, use gravel sounds for rubble.
This commit is contained in:
parent
904b33fdf3
commit
57d17a34f5
@ -26,7 +26,7 @@ for _, row in ipairs(arrowslit.types) do
|
||||
description = desc.." Arrowslit",
|
||||
tiles = {tile..".png"},
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_defaults(),
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
@ -50,7 +50,7 @@ for _, row in ipairs(arrowslit.types) do
|
||||
description = desc.." Arrowslit with Cross",
|
||||
tiles = {tile..".png"},
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_defaults(),
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
@ -78,7 +78,7 @@ for _, row in ipairs(arrowslit.types) do
|
||||
description = desc.." Arrowslit with Hole",
|
||||
tiles = {tile..".png"},
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_defaults(),
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
|
6
init.lua
6
init.lua
@ -15,6 +15,7 @@ minetest.register_node("castle:stonewall", {
|
||||
paramtype = "light",
|
||||
drop = "castle:stonewall",
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("castle:rubble", {
|
||||
@ -23,6 +24,7 @@ minetest.register_node("castle:rubble", {
|
||||
tiles = {"castle_rubble.png"},
|
||||
paramtype = "light",
|
||||
groups = {crumbly=3,falling_node=1},
|
||||
sounds = default.node_sound_gravel_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
@ -60,6 +62,7 @@ minetest.register_node("castle:stonewall_corner", {
|
||||
"castle_stonewall.png",
|
||||
"castle_corner_stonewall2.png"},
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
@ -83,6 +86,7 @@ minetest.register_node("castle:roofslate", {
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {cracky=3,attached_node=1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("castle:hides", {
|
||||
@ -379,7 +383,7 @@ if minetest.get_modpath("moreblocks") then
|
||||
description = "Rubble",
|
||||
tiles = {"castle_rubble.png"},
|
||||
groups = {cracky=3, not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = default.node_sound_gravel_defaults(),
|
||||
sunlight_propagates = true,
|
||||
})
|
||||
|
||||
|
@ -22,7 +22,7 @@ for _, row in ipairs(hole.types) do
|
||||
description = desc.." Murder Hole",
|
||||
tiles = {tile..".png"},
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_defaults(),
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
|
@ -26,7 +26,7 @@ for _, row in ipairs(pillar.types) do
|
||||
description = desc.." Pillar Base",
|
||||
tiles = {tile..".png"},
|
||||
groups = {cracky=3,attached_node=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
@ -43,7 +43,7 @@ for _, row in ipairs(pillar.types) do
|
||||
description = desc.." Pillar Top",
|
||||
tiles = {tile..".png"},
|
||||
groups = {cracky=3,attached_node=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
@ -61,7 +61,7 @@ for _, row in ipairs(pillar.types) do
|
||||
description = desc.." Pillar Middle",
|
||||
tiles = {tile..".png"},
|
||||
groups = {cracky=3,attached_node=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
|
2
rope.lua
2
rope.lua
@ -4,6 +4,7 @@ minetest.register_node("castle:ropes",{
|
||||
sunlight_propagates = true,
|
||||
tiles = {"castle_ropes.png"},
|
||||
groups = {choppy=3,snappy=3,oddly_breakable_by_hand=3,flammable=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
paramtype = "light",
|
||||
climbable = true,
|
||||
walkable = false,
|
||||
@ -73,6 +74,7 @@ minetest.register_node("castle:ropebox", {
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {choppy=3},
|
||||
sounds = default.node_sound_defaults(),
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
@ -5,6 +5,7 @@ minetest.register_node("castle:shield",{
|
||||
paramtype2 = "facedir",
|
||||
paramtype = "light",
|
||||
groups={cracky=3},
|
||||
sounds = default.node_sound_defaults(),
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
@ -39,6 +40,7 @@ minetest.register_node("castle:shield_2",{
|
||||
paramtype2 = "facedir",
|
||||
paramtype = "light",
|
||||
groups={cracky=3},
|
||||
sounds = default.node_sound_defaults(),
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
@ -72,6 +74,7 @@ minetest.register_node("castle:shield_3",{
|
||||
paramtype2 = "facedir",
|
||||
paramtype = "light",
|
||||
groups={cracky=3},
|
||||
sounds = default.node_sound_defaults(),
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
@ -13,6 +13,7 @@ minetest.register_node("castle:anvil",{
|
||||
description = "Anvil",
|
||||
tiles = {"castle_steel.png"},
|
||||
groups = {cracky=2,falling_node=1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
@ -42,6 +43,7 @@ minetest.register_node("castle:workbench",{
|
||||
paramtype2 = "facedir",
|
||||
paramtype = "light",
|
||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
drawtype = "normal",
|
||||
on_construct = function ( pos )
|
||||
local meta = minetest.get_meta( pos )
|
||||
@ -180,6 +182,7 @@ minetest.register_node("castle:dungeon_stone", {
|
||||
tiles = {"castle_dungeon_stone.png"},
|
||||
groups = {cracky=2},
|
||||
paramtype = "light",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
@ -202,6 +205,7 @@ minetest.register_node("castle:crate", {
|
||||
drawtype = "normal",
|
||||
tiles = {"castle_crate_top.png","castle_crate_top.png","castle_crate.png","castle_crate.png","castle_crate.png","castle_crate.png"},
|
||||
groups = {choppy=3},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
@ -248,6 +252,7 @@ minetest.register_node("castle:bound_straw", {
|
||||
drawtype = "normal",
|
||||
tiles = {"castle_straw_bale.png"},
|
||||
groups = {choppy=4, flammable=1, oddly_breakable_by_hand=3},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
@ -264,6 +269,7 @@ minetest.register_node("castle:pavement_brick", {
|
||||
tiles = {"castle_pavement_brick.png"},
|
||||
groups = {cracky=2},
|
||||
paramtype = "light",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
@ -281,6 +287,7 @@ minetest.register_node("castle:light",{
|
||||
light_source = 14,
|
||||
tiles = {"castle_street_light.png"},
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user