Merge pull request #31 from DS-Minetest/sboxl

make snow selection_box leveled
This commit is contained in:
Splizard 2018-04-23 22:40:34 +12:00 committed by GitHub
commit 6f9ba85f51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -389,11 +389,14 @@ minetest.override_item("default:snow", {
} }
}, },
leveled = 7, leveled = 7,
paramtype2 = "leveled",
node_box = { node_box = {
type = "leveled", type = "leveled",
fixed = { fixed = {-0.5, -0.5, -0.5, 0.5, -0.5, 0.5},
{-0.5, -0.5, -0.5, 0.5, -0.5, 0.5},
}, },
selection_box = {
type = "leveled",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.5, 0.5},
}, },
groups = {cracky=3, crumbly=3, choppy=3, oddly_breakable_by_hand=3, groups = {cracky=3, crumbly=3, choppy=3, oddly_breakable_by_hand=3,
falling_node=1, melts=2, float=1}, falling_node=1, melts=2, float=1},