Default: Thicker snow nodebox
authorparamat <mat.gregory@virginmedia.com>
Fri, 24 Jul 2015 00:24:13 +0000 (01:24 +0100)
committerparamat <mat.gregory@virginmedia.com>
Wed, 29 Jul 2015 00:18:30 +0000 (01:18 +0100)
mods/default/nodes.lua

index 37f1ec8bb432937dafd81289a360316b010d662d..2b70fff1a46b1d5c50bf1a832c72b98fafc675fb 100644 (file)
@@ -356,19 +356,19 @@ minetest.register_node("default:snow", {
        node_box = {
                type = "fixed",
                fixed = {
-                       {-0.5, -0.5, -0.5,  0.5, -0.5+2/16, 0.5},
+                       {-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
                },
        },
-       groups = {crumbly=3,falling_node=1},
+       groups = {crumbly = 3, falling_node = 1},
        sounds = default.node_sound_dirt_defaults({
-               footstep = {name="default_snow_footstep", gain=0.25},
-               dug = {name="default_snow_footstep", gain=0.75},
+               footstep = {name = "default_snow_footstep", gain = 0.25},
+               dug = {name = "default_snow_footstep", gain = 0.75},
        }),
 
        on_construct = function(pos)
                pos.y = pos.y - 1
                if minetest.get_node(pos).name == "default:dirt_with_grass" then
-                       minetest.set_node(pos, {name="default:dirt_with_snow"})
+                       minetest.set_node(pos, {name = "default:dirt_with_snow"})
                end
        end,
 })