Add 2 crosses in trading formspec

This commit is contained in:
Wuzzy 2018-06-06 19:50:17 +02:00
parent 4d4374730e
commit 5faed5d7f0

@ -3,7 +3,7 @@
--made for MC like Survival game --made for MC like Survival game
--License for code WTFPL and otherwise stated in readmes --License for code WTFPL and otherwise stated in readmes
-- TODO: Per-player trading inventories -- TODO/FIXME: Per-player trading inventories
-- TODO: Particles -- TODO: Particles
-- TODO: 4s Regeneration I after trade unlock -- TODO: 4s Regeneration I after trade unlock
-- FIXME: Possible to lock all trades -- FIXME: Possible to lock all trades
@ -421,7 +421,8 @@ local function show_trade_formspec(playername, trader, tradenum)
local profession = professions[trader._profession].name local profession = professions[trader._profession].name
local disabled_img = "" local disabled_img = ""
if trade.locked then if trade.locked then
disabled_img = "image[4.3,2.52;1,1;mobs_mc_trading_formspec_disabled.png]" disabled_img = "image[4.3,2.52;1,1;mobs_mc_trading_formspec_disabled.png]"..
"image[4.3,1.1;1,1;mobs_mc_trading_formspec_disabled.png]"
end end
local formspec = local formspec =
"size[9,8.75]" "size[9,8.75]"