projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2885ae6
)
Default: Thicker snow nodebox
author
paramat
<mat.gregory@virginmedia.com>
Fri, 24 Jul 2015 00:24:13 +0000
(
01:24
+0100)
committer
paramat
<mat.gregory@virginmedia.com>
Wed, 29 Jul 2015 00:18:30 +0000
(
01:18
+0100)
mods/default/nodes.lua
patch
|
blob
|
history
diff --git
a/mods/default/nodes.lua
b/mods/default/nodes.lua
index 37f1ec8bb432937dafd81289a360316b010d662d..2b70fff1a46b1d5c50bf1a832c72b98fafc675fb 100644
(file)
--- a/
mods/default/nodes.lua
+++ b/
mods/default/nodes.lua
@@
-356,19
+356,19
@@
minetest.register_node("default:snow", {
node_box = {
type = "fixed",
fixed = {
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({
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
}),
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,
})
end
end,
})