diff --git a/beam.lua b/beam.lua index 4a2d353..b7edfda 100644 --- a/beam.lua +++ b/beam.lua @@ -13,7 +13,7 @@ minetest.register_node("mydeck:beam", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -80,7 +80,7 @@ minetest.register_node("mydeck:beam_wbracket", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:beam", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -117,7 +117,7 @@ minetest.register_node("mydeck:joists_beam", { } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -162,7 +162,7 @@ minetest.register_node("mydeck:joists_beam_wbracket", { } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -209,7 +209,7 @@ minetest.register_node("mydeck:joists_side_beam", { } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -254,7 +254,7 @@ minetest.register_node("mydeck:joists_side_beam_wbracket", { } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -304,7 +304,7 @@ minetest.register_node("mydeck:deck_joists_beam", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -355,7 +355,7 @@ minetest.register_node("mydeck:deck_joists_beam_wbracket", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -408,7 +408,7 @@ minetest.register_node("mydeck:deck_joists_side_beam", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -459,7 +459,7 @@ minetest.register_node("mydeck:deck_joists_side_beam_wbracket", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { diff --git a/beam_stained.lua b/beam_stained.lua index e1ce68b..2678080 100644 --- a/beam_stained.lua +++ b/beam_stained.lua @@ -14,7 +14,7 @@ minetest.register_node("mydeck:beams", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:beam", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -47,7 +47,7 @@ minetest.register_node("mydeck:beam_wbrackets", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:beam", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -85,7 +85,7 @@ minetest.register_node("mydeck:joists_beams", { } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -130,7 +130,7 @@ minetest.register_node("mydeck:joists_beam_wbrackets", { } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -177,7 +177,7 @@ minetest.register_node("mydeck:joists_side_beams", { } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -222,7 +222,7 @@ minetest.register_node("mydeck:joists_side_beam_wbrackets", { } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -272,7 +272,7 @@ minetest.register_node("mydeck:deck_joists_beams", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -323,7 +323,7 @@ minetest.register_node("mydeck:deck_joists_beam_wbrackets", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -376,7 +376,7 @@ minetest.register_node("mydeck:deck_joists_side_beams", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -427,7 +427,7 @@ minetest.register_node("mydeck:deck_joists_side_beam_wbrackets", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { diff --git a/deckboards.lua b/deckboards.lua index 0c4b98d..3e40b02 100644 --- a/deckboards.lua +++ b/deckboards.lua @@ -14,7 +14,7 @@ minetest.register_node("mydeck:deck_boards", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -131,7 +131,7 @@ minetest.register_node("mydeck:deck_beam", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -170,7 +170,7 @@ minetest.register_node("mydeck:deck_joists", { } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -216,7 +216,7 @@ minetest.register_node("mydeck:deck_joists_side", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -264,7 +264,7 @@ minetest.register_node("mydeck:deck_joists_end", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -311,7 +311,7 @@ minetest.register_node("mydeck:deck_joists_side_end", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -359,7 +359,7 @@ minetest.register_node("mydeck:deck_joists_endr", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -406,7 +406,7 @@ minetest.register_node("mydeck:deck_joists_side_endr", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { diff --git a/deckboards_stained.lua b/deckboards_stained.lua index c6ea9bd..fe2061a 100644 --- a/deckboards_stained.lua +++ b/deckboards_stained.lua @@ -15,7 +15,7 @@ minetest.register_node("mydeck:deck_boardss", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:deck_boards", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -123,7 +123,7 @@ minetest.register_node("mydeck:deck_beams", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -163,7 +163,7 @@ minetest.register_node("mydeck:deck_joistss", { } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -209,7 +209,7 @@ minetest.register_node("mydeck:deck_joists_sides", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -257,7 +257,7 @@ minetest.register_node("mydeck:deck_joists_ends", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -304,7 +304,7 @@ minetest.register_node("mydeck:deck_joists_side_ends", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -352,7 +352,7 @@ minetest.register_node("mydeck:deck_joists_endrs", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -399,7 +399,7 @@ minetest.register_node("mydeck:deck_joists_side_endrs", { }, } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { diff --git a/joists.lua b/joists.lua index 132640c..5e7b431 100644 --- a/joists.lua +++ b/joists.lua @@ -14,7 +14,7 @@ minetest.register_node("mydeck:joists", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -64,7 +64,7 @@ minetest.register_node("mydeck:joists_side", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -116,7 +116,7 @@ minetest.register_node("mydeck:joists_end", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -148,7 +148,7 @@ minetest.register_node("mydeck:joists_side_end", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -181,7 +181,7 @@ minetest.register_node("mydeck:joists_endr", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -213,7 +213,7 @@ minetest.register_node("mydeck:joists_side_endr", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { diff --git a/joists_stained.lua b/joists_stained.lua index 5ccfc72..c47d09c 100644 --- a/joists_stained.lua +++ b/joists_stained.lua @@ -15,7 +15,7 @@ minetest.register_node("mydeck:joistss", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:joists", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -66,7 +66,7 @@ minetest.register_node("mydeck:joists_sides", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:joists_side", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -119,7 +119,7 @@ minetest.register_node("mydeck:joists_ends", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:joists_end", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -152,7 +152,7 @@ minetest.register_node("mydeck:joists_side_ends", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:joists_side_end", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -186,7 +186,7 @@ minetest.register_node("mydeck:joists_endrs", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:joists_endr", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -219,7 +219,7 @@ minetest.register_node("mydeck:joists_side_endrs", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:joists_side_endr", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { diff --git a/lattice.lua b/lattice.lua index 403ff70..c8a7a02 100644 --- a/lattice.lua +++ b/lattice.lua @@ -13,7 +13,7 @@ minetest.register_node("mydeck:lattice", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { diff --git a/lattice_stained.lua b/lattice_stained.lua index 4f0ec88..7b194a5 100644 --- a/lattice_stained.lua +++ b/lattice_stained.lua @@ -14,7 +14,7 @@ minetest.register_node("mydeck:lattices", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:lattice", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { diff --git a/machine.lua b/machine.lua index 7eb5580..ae79499 100644 --- a/machine.lua +++ b/machine.lua @@ -311,7 +311,14 @@ then ---------------------------------------------------------------------------------- --register nodes ---------------------------------------------------------------------------------- - if ingotstack:get_name()=="default:wood" then +local gwood = minetest.registered_aliases[ingotstack:get_name()] +if not gwood then + gwood = ingotstack:get_name() +end +local allwood = minetest.registered_items[gwood] + +if allwood and allwood.groups and allwood.groups["wood"] then +-- if ingotstack:get_name()=="default:wood" then make_ok = "1" end diff --git a/piles.lua b/piles.lua index e37fc73..2cbb379 100644 --- a/piles.lua +++ b/piles.lua @@ -61,7 +61,7 @@ minetest.register_node("mydeck:pile_wpost", { } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -90,7 +90,7 @@ minetest.register_node("mydeck:post", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { diff --git a/piles_stained.lua b/piles_stained.lua index de46bf5..2e0b308 100644 --- a/piles_stained.lua +++ b/piles_stained.lua @@ -27,7 +27,7 @@ minetest.register_node("mydeck:pile_wposts", { } }, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -57,7 +57,7 @@ minetest.register_node("mydeck:posts", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:post", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { diff --git a/rail.lua b/rail.lua index 2b24a60..241586d 100644 --- a/rail.lua +++ b/rail.lua @@ -13,7 +13,7 @@ minetest.register_node("mydeck:rail", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -51,7 +51,7 @@ minetest.register_node("mydeck:rail_corner", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -97,7 +97,7 @@ minetest.register_node("mydeck:rail_icorner", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { diff --git a/rail_stained.lua b/rail_stained.lua index b718133..7dbb501 100644 --- a/rail_stained.lua +++ b/rail_stained.lua @@ -14,7 +14,7 @@ minetest.register_node("mydeck:rails", { sounds = default.node_sound_wood_defaults(), drop = "mydeck:rail", sunlight_propagates = true, - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -53,7 +53,7 @@ minetest.register_node("mydeck:rail_corners", { drop = "mydeck:rail_corner", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -100,7 +100,7 @@ minetest.register_node("mydeck:rail_icorners", { drop = "mydeck:rail_icorner", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { diff --git a/stairs.lua b/stairs.lua index 35cc6f4..2356638 100644 --- a/stairs.lua +++ b/stairs.lua @@ -13,7 +13,7 @@ minetest.register_node("mydeck:stairs", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -103,7 +103,7 @@ minetest.register_node("mydeck:stairsb", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -176,7 +176,7 @@ minetest.register_node("mydeck:stairs_ocorner", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -241,7 +241,7 @@ minetest.register_node("mydeck:stairs_icorner", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -307,7 +307,7 @@ minetest.register_node("mydeck:stairs_railr", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -373,7 +373,7 @@ minetest.register_node("mydeck:stairs_raill", { paramtype2 = "facedir", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -440,7 +440,7 @@ minetest.register_node("mydeck:stairs_railr_end", { drop = "mydeck:stairs_railr", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -477,7 +477,7 @@ minetest.register_node("mydeck:stairs_raill_end", { drop = "mydeck:stairs_raill", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { diff --git a/stairs_stained.lua b/stairs_stained.lua index 29d93cd..c936271 100644 --- a/stairs_stained.lua +++ b/stairs_stained.lua @@ -14,7 +14,7 @@ minetest.register_node("mydeck:stairss", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -110,7 +110,7 @@ minetest.register_node("mydeck:stairsbs", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -184,7 +184,7 @@ minetest.register_node("mydeck:stairs_ocorners", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs_ocorner", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -250,7 +250,7 @@ minetest.register_node("mydeck:stairs_icorners", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs_icorner", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -318,7 +318,7 @@ minetest.register_node("mydeck:stairs_railrs", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs_railr", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -367,7 +367,7 @@ minetest.register_node("mydeck:stairs_raills", { sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), drop = "mydeck:stairs_raill", - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -419,7 +419,7 @@ minetest.register_node("mydeck:stairs_railr_ends", { drop = "mydeck:stairs_railr", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = { @@ -456,7 +456,7 @@ minetest.register_node("mydeck:stairs_raill_ends", { drop = "mydeck:stairs_raill", sunlight_propagates = true, sounds = default.node_sound_wood_defaults(), - groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1}, + groups = {cracky = 2, choppy = 2, not_in_creative_inventory=1, flammable = 1}, node_box = { type = "fixed", fixed = {