From 9c6998946fe34f9f278cea46b6b335cf761a72f1 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 24 Jan 2017 08:58:52 +0100 Subject: [PATCH] Remove scroll background in survival inv. in C.M. --- mods/craftingpack/crafting/creative.lua | 4 +++- .../textures/crafting_inventory_creative.png | Bin 8203 -> 8133 bytes .../crafting_inventory_creative_scroll.png | Bin 0 -> 3321 bytes 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 mods/craftingpack/crafting/textures/crafting_inventory_creative_scroll.png diff --git a/mods/craftingpack/crafting/creative.lua b/mods/craftingpack/crafting/creative.lua index f82898960..a2edbe3e5 100644 --- a/mods/craftingpack/crafting/creative.lua +++ b/mods/craftingpack/crafting/creative.lua @@ -195,11 +195,13 @@ crafting.set_creative_formspec = function(player, start_i, pagenum, show, page, if page ~= nil then name = page end bg[name] = "crafting_creative_bg.png" + local inv_bg = "crafting_inventory_creative.png" if name == "inv" then -- Survival inventory slots main_list = "image[-0.2,1.7;11.35,2.33;crafting_creative_bg.png]".. "list[current_player;main;0,3.75;9,3;9]" else + inv_bg = inv_bg .. "^crafting_inventory_creative_scroll.png" -- Creative inventory slots main_list = "list[detached:creative;main;0,1.75;9,5;"..tostring(start_i).."]" .. -- ... and scroll bar @@ -218,7 +220,7 @@ crafting.set_creative_formspec = function(player, start_i, pagenum, show, page, end formspec = "size[10,9.3]".. default.inventory_header.. - "background[-0.19,-0.25;10.5,9.87;crafting_inventory_creative.png]".. + "background[-0.19,-0.25;10.5,9.87;"..inv_bg.."]".. "label[-5,-5;"..name.."]".. "item_image_button[-0.1,0;1,1;default:brick;blocks;]".. --build blocks tab(name, "blocks") .. diff --git a/mods/craftingpack/crafting/textures/crafting_inventory_creative.png b/mods/craftingpack/crafting/textures/crafting_inventory_creative.png index db47caec831525ce45261044aff8240f05f1bd45..7ae27cbd86a5d7220eb1b7248cc693ad1681b695 100644 GIT binary patch literal 8133 zcmeHMdpwkB`+rn#wA$1t)T(i4Vz2e(=NX3iu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Ksrs^_ZuWS0upQ0S>P@n_im} zb~`HjK}8m_d+J$)mEmIhbNjtCV{Y6y=Peu}Bn)UEq*@ z$@6kw8f(EWh#4L{&WO901L(HM5xa@jYYSO5?XfvEsxj1tS@xD#e*qE@q?xM=`MT08 z%7ztao~Egk_nQ+Elvc7ux;=@ksrg}1vM0(sf+9_bF9yhmwo|5q_TV;qukM4+(_7HU znVX3=AScV8d|5FGpXBUD7{39KN<#VXx>5$`VKlJk5l4ZRYZw5YaY#JsbhU*`g6xh7 zrstDm#DSc}&tBo8u;WcZnYT`j=5|RMFB2u$6OK^kNmTQ^#5zIf(W6IqC9ZPTyTrB+ zm*bbA6D+}o$A}@B?yJpWc&zRx9}a^`7@(4BaCHsc=tJ6YpzZI9o1)_Bun=zwsbrr_LYlAHEnp6RCyYTtK+Hv$*_kB8reB}l<%aRdi$y(#Vo>$(QG;~!F5(!yy#J5At%C}KQPW2XXQVw|=USR1k4WN(qR I;lRKD18O}`E&u=k diff --git a/mods/craftingpack/crafting/textures/crafting_inventory_creative_scroll.png b/mods/craftingpack/crafting/textures/crafting_inventory_creative_scroll.png new file mode 100644 index 0000000000000000000000000000000000000000..4adbf027abbe95e12b409fa603a58977001c5bfb GIT binary patch literal 3321 zcmeHJdr%Wc7~cdbB8Zg;Qb4pN5VQyaF+L(R$TJ|2Q7l0aW5#BrqezQ@P_Q?)f`Otn z6e$%Z%;y0B<}-agHv^!9!pnK?9C&A;(b0VPMTpt#vk?^Duh+KakPXK<% zuy%(3^rL-4V*oHP#x6pW{NO0OskfgQ;HB3^Fw>*ydad#)SPtA6&gL zE*23M+#3maNV}p^cC1)DCYF0C>(&YvDpx%yzy1Nh6S zoRScGQut}VClDP`Jakw(6eh@UbR{sDYZB@lq&>Gft#S>)&lOJ6r>YemWzlAU)g}~1 zp)@wIt2Q+N#uLNW9>7ts9xeQP4k%%Rui1c|%uT*v2KJy}nR+n#B*TIB;5L`QP!GV@ z)eN#Jz=vJV?HfUD1Q4c<1_R_IT|h4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