Snow: Make players sink into 'default:snow' by 3/16 node
authorParamat <paramat@users.noreply.github.com>
Thu, 31 May 2018 02:14:46 +0000 (03:14 +0100)
committerGitHub <noreply@github.com>
Thu, 31 May 2018 02:14:46 +0000 (03:14 +0100)
mods/default/nodes.lua

index 261c2e7ce17504b9e8e4fb8cdf3bc2ee6134096f..6b0785e275d95ef791d3ead6b2bfc146b8187c85 100644 (file)
@@ -581,6 +581,12 @@ minetest.register_node("default:snow", {
                        {-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},
        sounds = default.node_sound_snow_defaults(),