Added flammable and group:wood
parent
bbc49f5243
commit
776761625b
20
beam.lua
20
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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
12
joists.lua
12
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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
6
rail.lua
6
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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
16
stairs.lua
16
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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue