mirror of
https://github.com/MinetestForFun/minercantile.git
synced 2025-06-30 07:10:23 +02:00
Garde la texture des pièces venant de maptools.
This commit is contained in:
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",
|
||||
|
Reference in New Issue
Block a user