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:
@ -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
|
||||
|
Reference in New Issue
Block a user