Skip to content

Commit cbea61e

Browse files
committedJul 29, 2015
Default: Thicker snow nodebox
1 parent 2885ae6 commit cbea61e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

Diff for: ‎mods/default/nodes.lua

+5-5
Original file line numberDiff line numberDiff line change
@@ -356,19 +356,19 @@ minetest.register_node("default:snow", {
356356
node_box = {
357357
type = "fixed",
358358
fixed = {
359-
{-0.5, -0.5, -0.5, 0.5, -0.5+2/16, 0.5},
359+
{-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
360360
},
361361
},
362-
groups = {crumbly=3,falling_node=1},
362+
groups = {crumbly = 3, falling_node = 1},
363363
sounds = default.node_sound_dirt_defaults({
364-
footstep = {name="default_snow_footstep", gain=0.25},
365-
dug = {name="default_snow_footstep", gain=0.75},
364+
footstep = {name = "default_snow_footstep", gain = 0.25},
365+
dug = {name = "default_snow_footstep", gain = 0.75},
366366
}),
367367

368368
on_construct = function(pos)
369369
pos.y = pos.y - 1
370370
if minetest.get_node(pos).name == "default:dirt_with_grass" then
371-
minetest.set_node(pos, {name="default:dirt_with_snow"})
371+
minetest.set_node(pos, {name = "default:dirt_with_snow"})
372372
end
373373
end,
374374
})

0 commit comments

Comments
 (0)
Please sign in to comment.