[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
|
||||
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
|
||||
minetest.override_item(
|
||||
"default:dirt",
|
||||
{
|
||||
drop = {
|
||||
items = {
|
||||
{items = {"default:dirt"}},
|
||||
{items = {"maptools:copper_coin"}, rarity = 32}
|
||||
}
|
||||
}
|
||||
})
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"maptools:copper_coin"}, rarity = 52},
|
||||
{items = {"default:dirt"}},
|
||||
},
|
||||
}
|
||||
end
|
||||
minetest.override_item("default:dirt", {
|
||||
drop = drop,
|
||||
})
|
||||
|
||||
minetest.override_item(
|
||||
"default:stone_with_coal",
|
||||
|
|
Loading…
Reference in New Issue
Block a user