1
0
mirror of https://github.com/MinetestForFun/minercantile.git synced 2025-06-30 15:20:22 +02:00

add background in formspec

fix can't buy/sell coins
fix bug item selled by float 1.2 items
fix if item stack by 1, buy only 1 item
money value equal coin craft (1 silver = 9 copper)
This commit is contained in:
2016-06-04 22:55:24 +02:00
parent ce3f17ca35
commit 2fffd84168
3 changed files with 73 additions and 56 deletions

View File

@ -7,7 +7,7 @@
100 pc = 1pa, 100pa = 1po
--]]
local convertion = { ["maptools:copper_coin"] = 1, ["maptools:silver_coin"]=100, ["maptools:gold_coin"]=1000}
local convertion = { ["maptools:copper_coin"]=1, ["maptools:silver_coin"]=9, ["maptools:gold_coin"]=81}
local function get_bancomatic_formspec(pos, name)
local spos = pos.x .. "," .. pos.y .. "," .. pos.z