Browse Source

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

et augmente sa rareté.
tags/nalc-1.2.0
sys4 7 months ago
parent
commit
5ce33b5bea
1 changed files with 11 additions and 11 deletions
  1. +11
    -11
      nalc_maptools/init.lua

+ 11
- 11
nalc_maptools/init.lua View File

@@ -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