Skip to content

Commit

Permalink
Default: Thicker snow nodebox
Browse files Browse the repository at this point in the history
  • Loading branch information
paramat committed Jul 29, 2015
1 parent 2885ae6 commit cbea61e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mods/default/nodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit cbea61e

Please sign in to comment.