Browse Source

[nalc_maptools] Corrige drop pièce en cuivre de la terre

et augmente sa rareté.
master
sys4 2 years ago
parent
commit
5ce33b5bea
  1. 22
      nalc_maptools/init.lua

22
nalc_maptools/init.lua

@ -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…
Cancel
Save