Garde la texture des pièces venant de maptools.

This commit is contained in:
sys4-fr 2018-09-29 13:13:04 +02:00
parent 9596b2f435
commit 00f3c26eb7

View File

@ -5,20 +5,8 @@ local coins_convert = {
}
--if maptools then use maptools coins else use minercantile coins
if minetest.get_modpath("maptools") ~= nil then
minetest.override_item("maptools:copper_coin", {
inventory_image = "minercantile_copper_coin.png",
})
minetest.override_item("maptools:silver_coin", {
inventory_image = "minercantile_silver_coin.png",
})
minetest.override_item("maptools:gold_coin", {
inventory_image = "minercantile_gold_coin.png",
})
else
--if not maptools then use use minercantile coins
if not minetest.get_modpath("maptools") then
minetest.register_craftitem("minercantile:copper_coin", {
description = "Copper Coin",
inventory_image = "minercantile_copper_coin.png",