mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
Add 2 crosses in trading formspec
This commit is contained in:
parent
4d4374730e
commit
5faed5d7f0
@ -3,7 +3,7 @@
|
||||
--made for MC like Survival game
|
||||
--License for code WTFPL and otherwise stated in readmes
|
||||
|
||||
-- TODO: Per-player trading inventories
|
||||
-- TODO/FIXME: Per-player trading inventories
|
||||
-- TODO: Particles
|
||||
-- TODO: 4s Regeneration I after trade unlock
|
||||
-- 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 disabled_img = ""
|
||||
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
|
||||
local formspec =
|
||||
"size[9,8.75]"
|
||||
|
Loading…
Reference in New Issue
Block a user