mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-11 12:50:41 +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:
parent
57d84955fd
commit
636019e28a
|
@ -57,7 +57,7 @@ minetest.register_node(":default:leaves", {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
-- remplace jungleleaves
|
-- remplace jungleleaves
|
||||||
minetest.register_node(":default:jungleleaves", {
|
minetest.register_node(":moretrees:jungletree_leaves_green", {
|
||||||
description = "Leaves",
|
description = "Leaves",
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
visual_scale = 1.3,
|
visual_scale = 1.3,
|
||||||
|
@ -70,13 +70,13 @@ minetest.register_node(":default:jungleleaves", {
|
||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
-- player will get sapling with 1/40 chance
|
-- player will get sapling with 1/40 chance
|
||||||
items = {'default:junglesapling'},
|
items = {'moretrees:jungletree_sapling'},
|
||||||
rarity = 40,
|
rarity = 40,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
-- player will get leaves only if he get no saplings,
|
-- player will get leaves only if he get no saplings,
|
||||||
-- this is because max_items is 1
|
-- this is because max_items is 1
|
||||||
items = {'default:jungleleaves'},
|
items = {'moretrees:jungletree_leaves_green'},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user