forked from mff/minercantile
Garde la texture des pièces venant de maptools.
This commit is contained in:
parent
9596b2f435
commit
00f3c26eb7
16
change.lua
16
change.lua
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user