From 45257ace7e4449611a217a454a40bfe12812907f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 1 Apr 2017 05:41:53 +0200 Subject: [PATCH] Change armor slot images to Faithful 1.12 --- mods/HUD/mcl_inventory/creative.lua | 8 ++++---- mods/HUD/mcl_inventory/init.lua | 4 ++-- .../mcl_inventory/textures/crafting_slot_feet.png | Bin 431 -> 0 bytes .../mcl_inventory/textures/crafting_slot_head.png | Bin 406 -> 0 bytes .../mcl_inventory/textures/crafting_slot_legs.png | Bin 389 -> 0 bytes .../textures/crafting_slot_torso.png | Bin 455 -> 0 bytes .../mcl_inventory_empty_armor_slot_boots.png | Bin 0 -> 346 bytes .../mcl_inventory_empty_armor_slot_chestplate.png | Bin 0 -> 391 bytes .../mcl_inventory_empty_armor_slot_helmet.png | Bin 0 -> 350 bytes .../mcl_inventory_empty_armor_slot_leggings.png | Bin 0 -> 323 bytes .../mcl_inventory_empty_armor_slot_shield.png | Bin 0 -> 398 bytes 11 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 mods/HUD/mcl_inventory/textures/crafting_slot_feet.png delete mode 100644 mods/HUD/mcl_inventory/textures/crafting_slot_head.png delete mode 100644 mods/HUD/mcl_inventory/textures/crafting_slot_legs.png delete mode 100644 mods/HUD/mcl_inventory/textures/crafting_slot_torso.png create mode 100644 mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_boots.png create mode 100644 mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_chestplate.png create mode 100644 mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_helmet.png create mode 100644 mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_leggings.png create mode 100644 mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_shield.png diff --git a/mods/HUD/mcl_inventory/creative.lua b/mods/HUD/mcl_inventory/creative.lua index 9ce1467ca9..ac73ee5416 100644 --- a/mods/HUD/mcl_inventory/creative.lua +++ b/mods/HUD/mcl_inventory/creative.lua @@ -220,16 +220,16 @@ mcl_inventory.set_creative_formspec = function(player, start_i, pagenum, show, p local armor_slot_imgs = "" local inv = player:get_inventory() if inv:get_stack("armor", 2):is_empty() then - armor_slot_imgs = armor_slot_imgs .. "image[2.5,1.3;1,1;crafting_slot_head.png]" + armor_slot_imgs = armor_slot_imgs .. "image[2.5,1.3;1,1;mcl_inventory_empty_armor_slot_helmet.png]" end if inv:get_stack("armor", 3):is_empty() then - armor_slot_imgs = armor_slot_imgs .. "image[2.5,2.75;1,1;crafting_slot_torso.png]" + armor_slot_imgs = armor_slot_imgs .. "image[2.5,2.75;1,1;mcl_inventory_empty_armor_slot_chestplate.png]" end if inv:get_stack("armor", 4):is_empty() then - armor_slot_imgs = armor_slot_imgs .. "image[5.5,1.3;1,1;crafting_slot_legs.png]" + armor_slot_imgs = armor_slot_imgs .. "image[5.5,1.3;1,1;mcl_inventory_empty_armor_slot_leggings.png]" end if inv:get_stack("armor", 5):is_empty() then - armor_slot_imgs = armor_slot_imgs .. "image[5.5,2.75;1,1;crafting_slot_feet.png]" + armor_slot_imgs = armor_slot_imgs .. "image[5.5,2.75;1,1;mcl_inventory_empty_armor_slot_boots.png]" end -- Survival inventory slots diff --git a/mods/HUD/mcl_inventory/init.lua b/mods/HUD/mcl_inventory/init.lua index 1a93226efe..2988fd8f15 100644 --- a/mods/HUD/mcl_inventory/init.lua +++ b/mods/HUD/mcl_inventory/init.lua @@ -66,11 +66,11 @@ local function set_inventory(player, armor_change_only) player_preview = "image[1.1,0.2;2,4;"..img.."]" end - local armor_slots = {"head", "torso", "legs", "feet"} + local armor_slots = {"helmet", "chestplate", "leggings", "boots"} local armor_slot_imgs = "" for a=1,4 do if inv:get_stack("armor", a+1):is_empty() then - armor_slot_imgs = armor_slot_imgs .. "image[0,"..(a-1)..";1,1;crafting_slot_"..armor_slots[a]..".png]" + armor_slot_imgs = armor_slot_imgs .. "image[0,"..(a-1)..";1,1;mcl_inventory_empty_armor_slot_"..armor_slots[a]..".png]" end end diff --git a/mods/HUD/mcl_inventory/textures/crafting_slot_feet.png b/mods/HUD/mcl_inventory/textures/crafting_slot_feet.png deleted file mode 100644 index 200dddb18f52354c172682969da9fd5d33e435e8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 431 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|emUKs7M+SzC{oH>NS%G|oWRD45bDP46hOx7_4S6Fo+k-*%fF5l;98W332`Z|NpUL$EHo2 zCaItVWIy~>{tzg|ToU9L45WXR9k~aj7?Zr+T^Kr8Wj%l#_7YEDSN4a@oUGj3k)2aZ zfkJ(rE{-7{$KPH#$a_G6gEb&5p>;pg@AqMA#RB;|ULI_oqp`9-Tw)MN zV+aafm&x!XNlSZ%i_8Z$g)E2993G~uy8MirJs-(_IBXd+AuBT>k@3R$Iqa{#nlzM) zMzSqkzgTZ+?zfkWKlg1l;E-SN-h3mU*Nx`Jzp0{Urf=pswb<0oa@(^e>GUJab?&~} zm%Z6zfG$%lag8WRNi0dVN-jzTQVd20hUU5k#<~WUAqJ*ahK4|-ZD43+V9?Ot6osN8 cH$NpatrE9}kC&{T0W~mqy85}Sb4q9e0MA#A>i_@% diff --git a/mods/HUD/mcl_inventory/textures/crafting_slot_head.png b/mods/HUD/mcl_inventory/textures/crafting_slot_head.png deleted file mode 100644 index da03adc2105defc5eee437f32acb8bda45fec1fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 406 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|emUKs7M+SzC{oH>NS%G|oWRD45bDP46hOx7_4S6Fo+k-*%fF5ln@H=332`Z|NpUL$EHo2 zCdbDish|YpPLtoA36y0i3GxdD(hQp?r_BOVj7i?^E({&4vK~MVdx@v7EBixcPF8Md z7rRzLpirTwi(`n#@wZnF@-`^&v?hinw5~hAmH&UHPL|^a!4>SbU+ibh_^v9))AHc2 z;glSP4xyDPEU(TqaGY)^uL~;>7G7|7`oVv#6|8e-Fn!d0Q6@cMe=eIxx`9lZY z6}VL@PdZpeo>wrr-d5Jm)A+nl`bU03?!R0yP%x;LxJHzuB$lLFB^RXvDF!10LvvjN zV_gHw5Cc;yLqjVgb8Q1dD+7bv3mckIH00)|WTsW()*#c%VGq>6;OXk;vd$@?2>=h< Bey0Ec diff --git a/mods/HUD/mcl_inventory/textures/crafting_slot_legs.png b/mods/HUD/mcl_inventory/textures/crafting_slot_legs.png deleted file mode 100644 index b5657e8e89785902e883f26028cdfd1d1098edcc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 389 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|emUKs7M+SzC{oH>NS%G|oWRD45bDP46hOx7_4S6Fo+k-*%fF5l;98W332`Z|NpUL$EHo2 zCaItVWIy~>{tzg|ToU9L45WXR9k~aj7?Zr+T^Kr8Wj%l#_7YEDSN4a@oUGhR($>6^ zK%o>*7sn8f<8QAXLf@|G}@Aq|IER@jvb8OnPNBdP?G;><#9U(lH0J+ zZ6jwD171=^=t;u=wsl30>zm0Xkxq!^4049#^7jCBnxLkvu<3=OS}O|%UR ltqcq%Oj^}|q9HdwB{QuOw}yx3g+O7$;OXk;vd$@?2>|Gne1iZ0 diff --git a/mods/HUD/mcl_inventory/textures/crafting_slot_torso.png b/mods/HUD/mcl_inventory/textures/crafting_slot_torso.png deleted file mode 100644 index 3f5a319a346510f0bd02e2b9bef5c254ab0cbdb9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 455 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|emUKs7M+SzC{oH>NS%G|oWRD45bDP46hOx7_4S6Fo+k-*%fF5l;98W332`Z|NpUL$EHo2 zCaItVWIy~>{tzg|ToU9L45WXR9k~aj7?Zr+T^Kr8Wj%l#_7YEDSN4a@oUGiUi`!O+ z0fm-%x;Tb-9DjTDB5$h#4{Jc!3$F6kcl&Q^pK^|F3G(@JyiW9;r-tFdDf^6$-YFA2 z;1lw#_;}!i7j~aB%90d8N@N&Pp#rofLYV|eKt_}vt9{)-K5BF6}3@@H+P7rUt z!>+^w_=BBgi3?+5^34#w~)-%Q?CLBHL{hCo% zFTR-nL~+#Pd;bqH&U`cVl2*maI(F`~^eY!$dI4RmTH+c}l9E`GYL#4+3Zxi}3=GY6 z4UBaSEJF-TtqcvVj109646O_d_!wGuqG-s?PsvQH#I2z|))o{K44$rjF6*2UngDjy Bm*)Tg diff --git a/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_boots.png b/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_boots.png new file mode 100644 index 0000000000000000000000000000000000000000..cc1859ca07592d14d6486ba979b39c985ff90e0d GIT binary patch literal 346 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@mUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!5QEa;`;ype@O);AUW~O zl(j%X#*!evUYh7ML)42A@@SXFNS)RAsGHbqE@lqmfMbO>}4u2b%iWW9LP}?A=eB!m) z67C|=?wjv(#BIg7SWo6MO}z*-Otr){q9i4;B-JXpC>2OC7#SFv>l&Eo8W@Hcm|7W| sS{ayW8yHy`7<`^9Cyk;ZH$NpatrE9}rUT2C12r&sy85}Sb4q9e0OZ$XYXATM literal 0 HcmV?d00001 diff --git a/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_chestplate.png b/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_chestplate.png new file mode 100644 index 0000000000000000000000000000000000000000..d74868505602752e331e1d4034bd08455fd42dca GIT binary patch literal 391 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@mUKs7M+SzC{oH>NSwWJ?9znhg z3{|QO3=Pc;3_t$^>6Z))r3MTPuM!v-tY$DUi04m=Kk5cl%M;)e;`;ype@O);AObSB zsWp}W#hFTi{DK)6$|j$+0P+};OkH}&M25w;xW@MN(M*=9wUgGKN z%KngrkyV+E_v7ZdK%r1i7sn8Z%gG4}Tm@^RwlbVym=u%1sKMUjXrtC~h>eYp!bV-Hx8I0c+VXC6GrFg3kN%2|Zj#lSI^p_E(v3NsJS>afJG77Xm~ zcuu|gF7XX$foh3sL`h0wNvc(HQ7VvPFfuSS*EKNFH82b@Ftsu^wK6c%HZZa>F!(%I gP8vl+ZhlH;S|x4`O$U}O2WnvOboFyt=akR{059)n4FCWD literal 0 HcmV?d00001 diff --git a/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_helmet.png b/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_helmet.png new file mode 100644 index 0000000000000000000000000000000000000000..215e2f2f1bab2db4fb2a2c7464cb56ae07e3d38b GIT binary patch literal 350 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@mUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!5QEa;`;ype@O);AUW~O zl(j%X#*!evUYh7ML)4N}>{F%jC+3jKZ256vaiEBhjN@7W>RdP`(kYX@0Ff`XSFwr$I3^6dZ uGB&j`Fw-_LvNACEJXcN{MMG|WN@iLmZVgQbmMsTrVDNPHb6Mw<&;$VCx?D^E literal 0 HcmV?d00001 diff --git a/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_leggings.png b/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_leggings.png new file mode 100644 index 0000000000000000000000000000000000000000..45c81731fbf09282ae322325726e706ed88c36e7 GIT binary patch literal 323 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@mUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!5QEa;`;ype@O);AUW~O zl(j%X#*!evUYh7ML)4r1Q24>m@Mpgy}pXbU+qiD#@PsvQH#I2#} Sz_R5)4Gf;HelF{r5}E)84OO}T literal 0 HcmV?d00001 diff --git a/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_shield.png b/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_shield.png new file mode 100644 index 0000000000000000000000000000000000000000..ac4b0e4c5bfae21ed0818d9753ca010cb3e307fd GIT binary patch literal 398 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@mUKs7M+SzC{oH>NSwWJ?9znhg z3{|QO3=Pc;3_t$^>6Z))r3MTPuM!v-tY$DUi04m=Kk5cl%M;)e;`;ype@O);AObSB zsWp}W#hFTi{DK)6$|j$+0P+};OkH}&M25w;xW@MN(M*=9wUgGKN z%KngrkyV+E_v7ZdK%p2<7sn8Z%gG4`xOa#-WGrKi;Y~Qk#m1()fu$pY;i!U~uuCGd z9UJov9yPWc9#(;7W^Lw{gEl^F!dDVlniI1!G9=E}b)4l2;8jR>`n$P-`;{Xft48xm z#%z!ygn9S))GNIQGF3}lBT7;dOH!?pi&B9UgOP!uxvqhUu7P2QfvJ_Tsg;45wtmdKI;Vst02aPyApigX literal 0 HcmV?d00001