1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 01:30:38 +01:00

Don't use the "Default" but the "Moretrees" mod

Because « Moretrees » override the default jungle leaves/sapling/tree
This commit is contained in:
Ombridride 2014-12-15 21:01:34 +01:00
parent 57d84955fd
commit 636019e28a

View File

@ -57,7 +57,7 @@ minetest.register_node(":default:leaves", {
},
})
-- remplace jungleleaves
minetest.register_node(":default:jungleleaves", {
minetest.register_node(":moretrees:jungletree_leaves_green", {
description = "Leaves",
drawtype = "nodebox",
visual_scale = 1.3,
@ -70,13 +70,13 @@ minetest.register_node(":default:jungleleaves", {
items = {
{
-- player will get sapling with 1/40 chance
items = {'default:junglesapling'},
items = {'moretrees:jungletree_sapling'},
rarity = 40,
},
{
-- player will get leaves only if he get no saplings,
-- this is because max_items is 1
items = {'default:jungleleaves'},
items = {'moretrees:jungletree_leaves_green'},
}
}
},