From 267eff3ce266cc10fe934c7df5970313b0d46270 Mon Sep 17 00:00:00 2001 From: DonBatman Date: Mon, 6 Apr 2015 16:02:19 -0700 Subject: [PATCH] Added Sound --- beam.lua | 10 +++++++++ beam_stained.lua | 10 +++++++++ deckboards.lua | 42 +++++++++++++++++++++++++++++++++++++- deckboards_stained.lua | 41 +++++++++++++++++++++++++++++++++++++ depends.txt | 1 + joists.lua | 6 ++++++ joists_stained.lua | 6 ++++++ lattice.lua | 1 + lattice_stained.lua | 1 + piles.lua | 3 +++ piles_stained.lua | 2 ++ rail.lua | 3 +++ rail_stained.lua | 3 +++ stain.lua | 5 +++++ stairs.lua | 8 ++++++++ stairs_stained.lua | 8 ++++++++ textures/mydeck_tint1.png | Bin 144 -> 144 bytes 17 files changed, 149 insertions(+), 1 deletion(-) create mode 100644 depends.txt diff --git a/beam.lua b/beam.lua index 361e4a8..4a2d353 100644 --- a/beam.lua +++ b/beam.lua @@ -12,6 +12,7 @@ minetest.register_node("mydeck:beam", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -77,6 +78,7 @@ minetest.register_node("mydeck:beam_wbracket", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:beam", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -102,6 +104,7 @@ minetest.register_node("mydeck:joists_beam", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -146,6 +149,7 @@ minetest.register_node("mydeck:joists_beam_wbracket", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -192,6 +196,7 @@ minetest.register_node("mydeck:joists_side_beam", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -236,6 +241,7 @@ minetest.register_node("mydeck:joists_side_beam_wbracket", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -283,6 +289,7 @@ minetest.register_node("mydeck:deck_joists_beam", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 3, items = { @@ -333,6 +340,7 @@ minetest.register_node("mydeck:deck_joists_beam_wbracket", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 3, items = { @@ -385,6 +393,7 @@ minetest.register_node("mydeck:deck_joists_side_beam", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 3, items = { @@ -435,6 +444,7 @@ minetest.register_node("mydeck:deck_joists_side_beam_wbracket", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 3, items = { diff --git a/beam_stained.lua b/beam_stained.lua index 9806dff..e1ce68b 100644 --- a/beam_stained.lua +++ b/beam_stained.lua @@ -12,6 +12,7 @@ minetest.register_node("mydeck:beams", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:beam", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -44,6 +45,7 @@ minetest.register_node("mydeck:beam_wbrackets", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:beam", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -70,6 +72,7 @@ minetest.register_node("mydeck:joists_beams", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -114,6 +117,7 @@ minetest.register_node("mydeck:joists_beam_wbrackets", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -160,6 +164,7 @@ minetest.register_node("mydeck:joists_side_beams", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -204,6 +209,7 @@ minetest.register_node("mydeck:joists_side_beam_wbrackets", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -251,6 +257,7 @@ minetest.register_node("mydeck:deck_joists_beams", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 3, items = { @@ -301,6 +308,7 @@ minetest.register_node("mydeck:deck_joists_beam_wbrackets", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 3, items = { @@ -353,6 +361,7 @@ minetest.register_node("mydeck:deck_joists_side_beams", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 3, items = { @@ -403,6 +412,7 @@ minetest.register_node("mydeck:deck_joists_side_beam_wbrackets", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 3, items = { diff --git a/deckboards.lua b/deckboards.lua index fde8dd8..0c4b98d 100644 --- a/deckboards.lua +++ b/deckboards.lua @@ -13,6 +13,7 @@ minetest.register_node("mydeck:deck_boards", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -105,10 +106,43 @@ minetest.register_node("mydeck:deck_boards", { if nodeu == "mydeck:joists_side_beam_wbracket" then minetest.set_node({x=pos.x, y=pos.y-1, z=pos.z},{name = "mydeck:deck_joists_side_beam_wbracket", param2=node.param2}) end + + if nodeu == "mydeck:beam" then + minetest.set_node(pos,{name = "air"}) + end + if nodeu == "mydeck:beam" then + minetest.set_node({x=pos.x, y=pos.y-1, z=pos.z},{name = "mydeck:deck_beam", param2=node.param2}) + end end, }) - +minetest.register_node("mydeck:deck_beam", { + description = "Deck on Beam", + tiles = { + "mydeck_hwood.png", + "mydeck_hwood.png^[transformR90", + "mydeck_hwood.png", + "mydeck_hwood.png", + "mydeck_hwood.png", + "mydeck_hwood.png", + }, + drawtype = "nodebox", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + node_box = { + type = "fixed", + fixed = { + {-0.125, -0.5, -0.5, 0.125, -0.125, 0.5}, + {-0.5, 0, 0.2725, 0.5, -0.125, 0.5}, + {-0.5, 0, 0.0225, 0.5, -0.125, 0.25}, + {-0.5, 0, -0.2275, 0.5, -0.125, 0}, + {-0.5, 0, -0.4775, 0.5, -0.125, -0.25}, + } + }, +}) minetest.register_node("mydeck:deck_joists", { description = "Deck Joists", tiles = { @@ -123,6 +157,7 @@ minetest.register_node("mydeck:deck_joists", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -169,6 +204,7 @@ minetest.register_node("mydeck:deck_joists_side", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -216,6 +252,7 @@ minetest.register_node("mydeck:deck_joists_end", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -262,6 +299,7 @@ minetest.register_node("mydeck:deck_joists_side_end", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -309,6 +347,7 @@ minetest.register_node("mydeck:deck_joists_endr", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -355,6 +394,7 @@ minetest.register_node("mydeck:deck_joists_side_endr", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { diff --git a/deckboards_stained.lua b/deckboards_stained.lua index 98622e7..c6ea9bd 100644 --- a/deckboards_stained.lua +++ b/deckboards_stained.lua @@ -12,6 +12,8 @@ minetest.register_node("mydeck:deck_boardss", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", + sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:deck_boards", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -106,6 +108,33 @@ minetest.register_node("mydeck:deck_boardss", { end, }) +minetest.register_node("mydeck:deck_beams", { + description = "Deck on Beam Stained", + tiles = { + "mydeck_hwood.png^mydeck_tint1.png", + "mydeck_hwood.png^[transformR90^mydeck_tint1.png", + "mydeck_hwood.png^mydeck_tint1.png", + "mydeck_hwood.png^mydeck_tint1.png", + "mydeck_hwood.png^mydeck_tint1.png", + "mydeck_hwood.png^mydeck_tint1.png", + }, + drawtype = "nodebox", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + node_box = { + type = "fixed", + fixed = { + {-0.125, -0.5, -0.5, 0.125, -0.125, 0.5}, + {-0.5, 0, 0.2725, 0.5, -0.125, 0.5}, + {-0.5, 0, 0.0225, 0.5, -0.125, 0.25}, + {-0.5, 0, -0.2275, 0.5, -0.125, 0}, + {-0.5, 0, -0.4775, 0.5, -0.125, -0.25}, + } + }, +}) minetest.register_node("mydeck:deck_joistss", { description = "Deck Joists Stained", @@ -120,6 +149,8 @@ minetest.register_node("mydeck:deck_joistss", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", + sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -165,6 +196,8 @@ minetest.register_node("mydeck:deck_joists_sides", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", + sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -211,6 +244,8 @@ minetest.register_node("mydeck:deck_joists_ends", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", + sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -256,6 +291,8 @@ minetest.register_node("mydeck:deck_joists_side_ends", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", + sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -302,6 +339,8 @@ minetest.register_node("mydeck:deck_joists_endrs", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", + sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -347,6 +386,8 @@ minetest.register_node("mydeck:deck_joists_side_endrs", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", + sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..4ad96d5 --- /dev/null +++ b/depends.txt @@ -0,0 +1 @@ +default diff --git a/joists.lua b/joists.lua index 48689c1..132640c 100644 --- a/joists.lua +++ b/joists.lua @@ -13,6 +13,7 @@ minetest.register_node("mydeck:joists", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -62,6 +63,7 @@ minetest.register_node("mydeck:joists_side", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -113,6 +115,7 @@ minetest.register_node("mydeck:joists_end", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -144,6 +147,7 @@ minetest.register_node("mydeck:joists_side_end", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -176,6 +180,7 @@ minetest.register_node("mydeck:joists_endr", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -207,6 +212,7 @@ minetest.register_node("mydeck:joists_side_endr", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", diff --git a/joists_stained.lua b/joists_stained.lua index 94c4741..5ccfc72 100644 --- a/joists_stained.lua +++ b/joists_stained.lua @@ -13,6 +13,7 @@ minetest.register_node("mydeck:joistss", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:joists", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -63,6 +64,7 @@ minetest.register_node("mydeck:joists_sides", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:joists_side", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -115,6 +117,7 @@ minetest.register_node("mydeck:joists_ends", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:joists_end", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -147,6 +150,7 @@ minetest.register_node("mydeck:joists_side_ends", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:joists_side_end", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -180,6 +184,7 @@ minetest.register_node("mydeck:joists_endrs", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:joists_endr", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -212,6 +217,7 @@ minetest.register_node("mydeck:joists_side_endrs", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:joists_side_endr", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { diff --git a/lattice.lua b/lattice.lua index 6d94fb2..403ff70 100644 --- a/lattice.lua +++ b/lattice.lua @@ -12,6 +12,7 @@ minetest.register_node("mydeck:lattice", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", diff --git a/lattice_stained.lua b/lattice_stained.lua index 86b9dda..4f0ec88 100644 --- a/lattice_stained.lua +++ b/lattice_stained.lua @@ -12,6 +12,7 @@ minetest.register_node("mydeck:lattices", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:lattice", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { diff --git a/piles.lua b/piles.lua index 0cbb701..e37fc73 100644 --- a/piles.lua +++ b/piles.lua @@ -13,6 +13,7 @@ minetest.register_node("mydeck:pile", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -47,6 +48,7 @@ minetest.register_node("mydeck:pile_wpost", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -87,6 +89,7 @@ minetest.register_node("mydeck:post", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", diff --git a/piles_stained.lua b/piles_stained.lua index 54fb5e5..de46bf5 100644 --- a/piles_stained.lua +++ b/piles_stained.lua @@ -14,6 +14,7 @@ minetest.register_node("mydeck:pile_wposts", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = { max_items = 2, items = { @@ -54,6 +55,7 @@ minetest.register_node("mydeck:posts", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:post", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { diff --git a/rail.lua b/rail.lua index d8f67c3..2b24a60 100644 --- a/rail.lua +++ b/rail.lua @@ -12,6 +12,7 @@ minetest.register_node("mydeck:rail", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -49,6 +50,7 @@ minetest.register_node("mydeck:rail_corner", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -94,6 +96,7 @@ minetest.register_node("mydeck:rail_icorner", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", diff --git a/rail_stained.lua b/rail_stained.lua index 1de23d8..b718133 100644 --- a/rail_stained.lua +++ b/rail_stained.lua @@ -11,6 +11,7 @@ minetest.register_node("mydeck:rails", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", + sounds = default.node_sound_wood_defaults(), drop = "mydeck:rail", sunlight_propagates = true, groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, @@ -51,6 +52,7 @@ minetest.register_node("mydeck:rail_corners", { paramtype2 = "facedir", drop = "mydeck:rail_corner", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -97,6 +99,7 @@ minetest.register_node("mydeck:rail_icorners", { paramtype2 = "facedir", drop = "mydeck:rail_icorner", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", diff --git a/stain.lua b/stain.lua index f10bc84..d0a48bd 100644 --- a/stain.lua +++ b/stain.lua @@ -199,6 +199,11 @@ minetest.register_on_punchnode(function(pos, node, puncher, pointed_thing) and node.name == "mydeck:stairs_railr_end" then minetest.set_node(pos,{name = "mydeck:stairs_railr_ends", param2=node.param2}) end + + if puncher:get_wielded_item():get_name() == "mydeck:stain_brush" + and node.name == "mydeck:deck_beam" then + minetest.set_node(pos,{name = "mydeck:deck_beams", param2=node.param2}) + end end) diff --git a/stairs.lua b/stairs.lua index de94f14..35cc6f4 100644 --- a/stairs.lua +++ b/stairs.lua @@ -12,6 +12,7 @@ minetest.register_node("mydeck:stairs", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -100,6 +101,7 @@ minetest.register_node("mydeck:stairsb", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -173,6 +175,7 @@ minetest.register_node("mydeck:stairs_ocorner", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -237,6 +240,7 @@ minetest.register_node("mydeck:stairs_icorner", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -302,6 +306,7 @@ minetest.register_node("mydeck:stairs_railr", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -367,6 +372,7 @@ minetest.register_node("mydeck:stairs_raill", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -433,6 +439,7 @@ minetest.register_node("mydeck:stairs_railr_end", { paramtype2 = "facedir", drop = "mydeck:stairs_railr", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -469,6 +476,7 @@ minetest.register_node("mydeck:stairs_raill_end", { paramtype2 = "facedir", drop = "mydeck:stairs_raill", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", diff --git a/stairs_stained.lua b/stairs_stained.lua index 21e60e5..29d93cd 100644 --- a/stairs_stained.lua +++ b/stairs_stained.lua @@ -12,6 +12,7 @@ minetest.register_node("mydeck:stairss", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -107,6 +108,7 @@ minetest.register_node("mydeck:stairsbs", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -180,6 +182,7 @@ minetest.register_node("mydeck:stairs_ocorners", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs_ocorner", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -245,6 +248,7 @@ minetest.register_node("mydeck:stairs_icorners", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs_icorner", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -312,6 +316,7 @@ minetest.register_node("mydeck:stairs_railrs", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs_railr", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -360,6 +365,7 @@ minetest.register_node("mydeck:stairs_raills", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs_raill", groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { @@ -412,6 +418,7 @@ minetest.register_node("mydeck:stairs_railr_ends", { paramtype2 = "facedir", drop = "mydeck:stairs_railr", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", @@ -448,6 +455,7 @@ minetest.register_node("mydeck:stairs_raill_ends", { paramtype2 = "facedir", drop = "mydeck:stairs_raill", sunlight_propagates = true, + sounds = default.node_sound_wood_defaults(), groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, node_box = { type = "fixed", diff --git a/textures/mydeck_tint1.png b/textures/mydeck_tint1.png index a53667fc13eddcf38c6c96c627c75160faaf7829..87b1c44f5ca6494d3209409fbf4f17876801b2e6 100644 GIT binary patch delta 67 zcmbQhIDv6Oh>bWSV~3Jw3IhX!tfz}(h{fq-9TS1L;|`1oNecveqztkStYB