diff --git a/deco_caves.lua b/deco_caves.lua index 71b00ff..604aad5 100644 --- a/deco_caves.lua +++ b/deco_caves.lua @@ -115,28 +115,27 @@ local cap = { drawtype = "nodebox", node_box = { type = "fixed", fixed = { - {-0.4, -0.5, -0.4, 0.4, 0.0, 0.4}, - {-0.75, -0.5, -0.4, -0.4, -0.25, 0.4}, - {0.4, -0.5, -0.4, 0.75, -0.25, 0.4}, - {-0.4, -0.5, -0.75, 0.4, -0.25, -0.4}, - {-0.4, -0.5, 0.4, 0.4, -0.25, 0.75}, + -- Originally, this extended beyond the node boundaries. + -- {-0.4, -0.5, -0.4, 0.4, 0.0, 0.4}, + -- {-0.75, -0.5, -0.4, -0.4, -0.25, 0.4}, + -- {0.4, -0.5, -0.4, 0.75, -0.25, 0.4}, + -- {-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, groups = {fleshy=1, dig_immediate=3, flammable=2, plant=1}, } 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 minetest.register_node("fun_caves:giant_mushroom_cap", cap)