1
0
mirror of https://github.com/Splizard/minetest-mod-snow.git synced 2024-12-29 16:00:16 +01:00

Make snow drop moss again.

This commit is contained in:
Splizard 2014-06-05 16:38:54 +12:00
parent ba01e32452
commit c98663085a

View File

@ -115,6 +115,21 @@ minetest.register_node(":default:snow", {
minetest.override_item("default:snow", { minetest.override_item("default:snow", {
drop = {
max_items = 2,
items = {
{
-- player will get sapling with 1/20 chance
items = {'snow:moss'},
rarity = 20,
},
{
-- player will get leaves only if he get no saplings,
-- this is because max_items is 1
items = {'default:snow'},
}
}
},
groups = {cracky=3, crumbly=3, choppy=3, oddly_breakable_by_hand=3,falling_node=1, melts=2, float=1}, groups = {cracky=3, crumbly=3, choppy=3, oddly_breakable_by_hand=3,falling_node=1, melts=2, float=1},
sunlight_propagates = true, sunlight_propagates = true,
--Disable placement prediction for snow. --Disable placement prediction for snow.