[nalc_maptools] Corrige drop pièce en cuivre de la terre
et augmente sa rareté.
This commit is contained in:
parent
964ef10c30
commit
5ce33b5bea
@ -61,19 +61,19 @@ minetest.override_item(
|
|||||||
|
|
||||||
local drop = minetest.registered_items["default:dirt"].drop
|
local drop = minetest.registered_items["default:dirt"].drop
|
||||||
if drop then
|
if drop then
|
||||||
table.insert(drop.items, 1, {items = {"maptools:copper_coin", "default:dirt"}, rarity = 32})
|
table.insert(drop.items, 1, {items = {"maptools:copper_coin"}, rarity = 52})
|
||||||
else
|
else
|
||||||
minetest.override_item(
|
drop = {
|
||||||
"default:dirt",
|
max_items = 1,
|
||||||
{
|
items = {
|
||||||
drop = {
|
{items = {"maptools:copper_coin"}, rarity = 52},
|
||||||
items = {
|
{items = {"default:dirt"}},
|
||||||
{items = {"default:dirt"}},
|
},
|
||||||
{items = {"maptools:copper_coin"}, rarity = 32}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
end
|
end
|
||||||
|
minetest.override_item("default:dirt", {
|
||||||
|
drop = drop,
|
||||||
|
})
|
||||||
|
|
||||||
minetest.override_item(
|
minetest.override_item(
|
||||||
"default:stone_with_coal",
|
"default:stone_with_coal",
|
||||||
|
Loading…
Reference in New Issue
Block a user