Snow: Make players sink into 'default:snow' by 3/16 node

This commit is contained in:
Paramat 2018-05-31 03:14:46 +01:00 committed by GitHub
parent 145b7bfef3
commit ed1d64d8aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -581,6 +581,12 @@ minetest.register_node("default:snow", {
{-0.5, -0.5, -0.5, 0.5, -0.25, 0.5}, {-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
}, },
}, },
collision_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -7 / 16, 0.5},
},
},
groups = {crumbly = 3, falling_node = 1, puts_out_fire = 1, snowy = 1}, groups = {crumbly = 3, falling_node = 1, puts_out_fire = 1, snowy = 1},
sounds = default.node_sound_snow_defaults(), sounds = default.node_sound_snow_defaults(),