From 5faed5d7f070bee67bdc3d4d7379b4d24d8cd01c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 6 Jun 2018 19:50:17 +0200 Subject: [PATCH] Add 2 crosses in trading formspec --- mods/ENTITIES/mobs_mc/villager.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/villager.lua b/mods/ENTITIES/mobs_mc/villager.lua index 47d28f24b6..5ac0c73a55 100644 --- a/mods/ENTITIES/mobs_mc/villager.lua +++ b/mods/ENTITIES/mobs_mc/villager.lua @@ -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]"