Simplify trunk, cactus, pot collisionbox
parent
3add4e03c4
commit
da04066546
|
@ -8,16 +8,20 @@ minetest.register_node("hades_core:cactus", {
|
|||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5,-0.5,-3/16, 0.5,0.5,3/16},
|
||||
{-7/16,-0.5,-5/16, 7/16,0.5,5/16},
|
||||
{-6/16,-0.5,-6/16, 6/16,0.5,6/16},
|
||||
{-5/16,-0.5,-7/16, 5/16,0.5,7/16},
|
||||
{-3/16,-0.5,-0.5, 3/16,0.5,0.5},
|
||||
},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5,-0.5,-3/16, 0.5,0.5,3/16},
|
||||
{-7/16,-0.5,-5/16, 7/16,0.5,5/16},
|
||||
{-6/16,-0.5,-6/16, 6/16,0.5,6/16},
|
||||
{-5/16,-0.5,-7/16, 5/16,0.5,7/16},
|
||||
{-3/16,-0.5,-0.5, 3/16,0.5,0.5},
|
||||
},
|
||||
},
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {{ -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }},
|
||||
},
|
||||
groups = {snappy=1,choppy=3,flammable=2},
|
||||
sounds = hades_sounds.node_sound_wood_defaults(),
|
||||
})
|
||||
|
|
|
@ -717,6 +717,10 @@ local S = minetest.get_translator("hades_furniture")
|
|||
{-3/16,-0.5,-0.5, 3/16,0.5,0.5},
|
||||
},
|
||||
},
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {{ -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }},
|
||||
},
|
||||
groups = {cracky=3},
|
||||
sounds = hades_sounds.node_sound_stone_defaults({
|
||||
footstep = hades_sounds.node_sound_dirt_defaults().footstep,
|
||||
|
|
|
@ -16,6 +16,10 @@ hades_trees.register_trunk = function(id, def)
|
|||
{-3/16,-0.5,-0.5, 3/16,0.5,0.5},
|
||||
},
|
||||
},
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {{ -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }},
|
||||
},
|
||||
is_ground_content = false,
|
||||
groups = {tree=(def.tree_group or 1),choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
||||
sounds = def.sounds or hades_sounds.node_sound_wood_defaults(),
|
||||
|
|
Loading…
Reference in New Issue