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 zcmeHMdpOi-`+poZT5U43QN2?`n%M22mO_NJ80RQ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rJFrT!?_ZSD%9`}UpLNaG)z&!w;vg-7k%GvM< zEpCMFyBJu(BDVP3(wWRB(dbx(r%VY_u6BU%H#EVgJuVh-OGO%pIZMvR$M6So5kChw zlA$MCg0k+Onau4K(%rx`U70q<)2A6)w&yM{Y1>N|1c9 z!C7uw3}S}qeb1MTcT>CqWYhFc7wDWEa`fj+Pxg&;R5S<7EH`A0aG19BCVDo-r^dc7 zEc59w$uB6VV{HxOe!r~XUzW;1Ak@{w&eP?B=L4+rzRexrt$w_{V?`cF*3zKSlNH0+jDpS66ZFlxz1w=DPqqfUE;N0GBz~7lg}w9Htr6%M-THTd${$8V z4EHyRzQ{Z~ovpWWB>*JFYUz2^{m+^%y?@|{PkTt!uR*CeLY>{**vcq-$Kike4{AM7 AE&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 zcmeHJX;4#F6g~-3#GqCpkpdzufuIc_i*Z3{kSzg$jA99bh#8xa4j?T8LczYV6$lhX zC{hX-s_1A3kp~uwwm@l+hD8J+WsArtAO#u`x3HAXOCp2_b=v74XUv@Z%Dv})_k7C@ zkLBgIbcx;)09eXoIPU;ZLjlyR7cT;U70Zqn001sxhubzNx@j;70CKV_#g0_{byxXdGgCx@h#`bTw$|E}Pso0cgcDogIA+caDhd!}NW16Plwr z?|HT!&^&&-WN~-7yQ8sP(1uLfFXz70XN*`cCL7VC))!sePh?)QC6Zkcwt?6#w|=w6 z+hqOo($W5bX3EL47`)f;6BK`q95W@^J2|~3zF*=sJ#oILtNYnNbIhT!53b#uF3ra+ zzc=Ceh;~&v+P!YoRH@iSB0jri!22_wtX!X<@6;vJ(t}SU@7#9^%hiOH45tOkZjScL0PW(k(2tmO}R`fx^xEB@LIXJqkfTyk~GD%Tp z+3h#IJ8|GI>&Boeb{e682=IsiU$vV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