Activate new giant mushrooms.

... to avoid falling glitches
This commit is contained in:
Duane 2016-06-06 02:12:55 -05:00
parent 9bb660983e
commit 35e6699a56

View file

@ -115,28 +115,27 @@ local cap = {
drawtype = "nodebox", drawtype = "nodebox",
node_box = { type = "fixed", node_box = { type = "fixed",
fixed = { fixed = {
{-0.4, -0.5, -0.4, 0.4, 0.0, 0.4}, -- Originally, this extended beyond the node boundaries.
{-0.75, -0.5, -0.4, -0.4, -0.25, 0.4}, -- {-0.4, -0.5, -0.4, 0.4, 0.0, 0.4},
{0.4, -0.5, -0.4, 0.75, -0.25, 0.4}, -- {-0.75, -0.5, -0.4, -0.4, -0.25, 0.4},
{-0.4, -0.5, -0.75, 0.4, -0.25, -0.4}, -- {0.4, -0.5, -0.4, 0.75, -0.25, 0.4},
{-0.4, -0.5, 0.4, 0.4, -0.25, 0.75}, -- {-0.4, -0.5, -0.75, 0.4, -0.25, -0.4},
-- {-0.4, -0.5, 0.4, 0.4, -0.25, 0.75},
{-0.3, -0.25, -0.3, 0.3, 0.5, 0.3},
{-0.3, -0.25, -0.4, 0.3, 0.4, -0.3},
{-0.3, -0.25, 0.3, 0.3, 0.4, 0.4},
{-0.4, -0.25, -0.3, -0.3, 0.4, 0.3},
{0.3, -0.25, -0.3, 0.4, 0.4, 0.3},
{-0.4, -0.5, -0.4, 0.4, -0.25, 0.4},
{-0.5, -0.5, -0.4, -0.4, -0.25, 0.4},
{0.4, -0.5, -0.4, 0.5, -0.25, 0.4},
{-0.4, -0.5, -0.5, 0.4, -0.25, -0.4},
{-0.4, -0.5, 0.4, 0.4, -0.25, 0.5},
} }, } },
light_source = fun_caves.light_max, light_source = fun_caves.light_max,
groups = {fleshy=1, dig_immediate=3, flammable=2, plant=1}, groups = {fleshy=1, dig_immediate=3, flammable=2, plant=1},
} }
if false then if false then
cap.node_box.fixed = {
{-0.3, -0.25, -0.3, 0.3, 0.5, 0.3},
{-0.3, -0.25, -0.4, 0.3, 0.4, -0.3},
{-0.3, -0.25, 0.3, 0.3, 0.4, 0.4},
{-0.4, -0.25, -0.3, -0.3, 0.4, 0.3},
{0.3, -0.25, -0.3, 0.4, 0.4, 0.3},
{-0.4, -0.5, -0.4, 0.4, -0.25, 0.4},
{-0.5, -0.5, -0.4, -0.4, -0.25, 0.4},
{0.4, -0.5, -0.4, 0.5, -0.25, 0.4},
{-0.4, -0.5, -0.5, 0.4, -0.25, -0.4},
{-0.4, -0.5, 0.4, 0.4, -0.25, 0.5},
}
end end
minetest.register_node("fun_caves:giant_mushroom_cap", cap) minetest.register_node("fun_caves:giant_mushroom_cap", cap)