diff --git a/mods/HUD/mcl_inventory/creative.lua b/mods/HUD/mcl_inventory/creative.lua index 9ce1467ca..ac73ee541 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 1a93226ef..2988fd8f1 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 200dddb18..000000000 Binary files a/mods/HUD/mcl_inventory/textures/crafting_slot_feet.png and /dev/null differ 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 da03adc21..000000000 Binary files a/mods/HUD/mcl_inventory/textures/crafting_slot_head.png and /dev/null differ 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 b5657e8e8..000000000 Binary files a/mods/HUD/mcl_inventory/textures/crafting_slot_legs.png and /dev/null differ 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 3f5a319a3..000000000 Binary files a/mods/HUD/mcl_inventory/textures/crafting_slot_torso.png and /dev/null differ 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 000000000..cc1859ca0 Binary files /dev/null and b/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_boots.png differ 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 000000000..d74868505 Binary files /dev/null and b/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_chestplate.png differ 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 000000000..215e2f2f1 Binary files /dev/null and b/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_helmet.png differ 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 000000000..45c81731f Binary files /dev/null and b/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_leggings.png differ 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 000000000..ac4b0e4c5 Binary files /dev/null and b/mods/HUD/mcl_inventory/textures/mcl_inventory_empty_armor_slot_shield.png differ