i want to drop two thing but not like this :
example drop = default cobble 10000000000
i want to it to drop like this
example drop = default cobble , default stone
they are examples i dont want to do them i am working on another thing
PilzAdam wrote:I already answered to that question: http://minetest.net/forum/viewtopic.php?pid=50388#p50388
minetest.register_node("default:leaves", {
description = "Leaves",
drawtype = "allfaces_optional",
visual_scale = 1.3,
tiles = {"default_leaves.png"},
paramtype = "light",
groups = {snappy=3, leafdecay=3, flammable=2},
drop = {
max_items = 1,
items = {
{
-- player will get sapling with 1/20 chance
items = {'default:sapling'},
rarity = 20,
},
{
-- player will get leaves only if he get no saplings,
-- this is because max_items is 1
items = {'default:leaves'},
}
}
},
sounds = default.node_sound_leaves_defaults(),
})Users browsing this forum: No registered users and 9 guests