diff --git a/mods/mcl_inventory/api.lua b/mods/mcl_inventory/api.lua index 59efd7391b..b79dc13b39 100644 --- a/mods/mcl_inventory/api.lua +++ b/mods/mcl_inventory/api.lua @@ -7,7 +7,7 @@ local name = player:get_player_name() CREATIVE_FORMSPEC = "size[11,9.75]".. default.inventory_header.. - --"background[-0.25,1;10.5,8;inventory_creative_inventory_bg.png]".. + --"background[-0.25,1;10.5,8;mcl_inventory_creative_inventory_bg.png]".. "button[9.5,0;1.5,1.5;creative_search;Search]".. "list[detached:"..name.."_armor;armor_head;0.25,1.25;1,1;]".. "list[detached:"..name.."_armor;armor_torso;0.25,2.5;1,1;]".. @@ -30,7 +30,7 @@ local name = player:get_player_name() SURVIVAL_FORMSPEC = "size[9,9.5]".. default.inventory_header.. - --"background[-0.4,-0.45;9.8,9.825;inventory_survival_inventory_bg.png]".. + --"background[-0.4,-0.45;9.8,9.825;mcl_inventory_survival_inventory_bg.png]".. "list[detached:"..name.."_armor;armor_head;0,0;1,1;]".. "list[detached:"..name.."_armor;armor_torso;0,1;1,1;]".. "list[detached:"..name.."_armor;armor_legs;0,2;1,1;]".. @@ -61,7 +61,7 @@ end CRAFTING_FORMSPEC = "size[9,8.5]".. default.inventory_header.. -"background[-0.4,-0.5;9.78,9.5;inventory_crafting_inventory_bg.png]".. +"background[-0.4,-0.5;9.78,9.5;mcl_inventory_crafting_inventory_bg.png]".. "list[current_player;main;0,4.32;9,4;9]".. "list[current_player;main;0,7.6;9,1;]".. "list[current_player;craft;1.218,0.46;3,3;]".. @@ -78,6 +78,6 @@ function inventory.hotbar(player) if player.hud_set_hotbar_itemcount then minetest.after(0, player.hud_set_hotbar_itemcount, player, 9) end - player:hud_set_hotbar_image("inventory_hotbar.png") - player:hud_set_hotbar_selected_image("inventory_hotbar_selected.png") + player:hud_set_hotbar_image("mcl_inventory_hotbar.png") + player:hud_set_hotbar_selected_image("mcl_inventory_hotbar_selected.png") end diff --git a/mods/mcl_inventory/init.lua b/mods/mcl_inventory/init.lua index c778c14835..5b862cf2d7 100644 --- a/mods/mcl_inventory/init.lua +++ b/mods/mcl_inventory/init.lua @@ -167,7 +167,7 @@ playerdata = load_player_data() local pagenum = math.floor(pagenum) local pagemax = math.floor((inventory.inventory_size-1) / (9*3) + 1) CREATIVE_SEARCH_ITEMS = "size[10,7]".. - "background[-0.22,-0.25;10.8,7.7;creative_inventory_bg.png]".. + "background[-0.22,-0.25;10.8,7.7;mcl_creative_inventory_bg.png]".. "button[8,0;1.5,1;creative_search;Search]".. "list[current_player;main;0.21,6.05;9,1;]".. "list[detached:creative;main;0.21,2.78;9,3;"..tostring(start_i).."]".. diff --git a/mods/mcl_inventory/textures/inventory_crafting_inventory_bg.png b/mods/mcl_inventory/textures/mcl_inventory_crafting_inventory_bg.png similarity index 100% rename from mods/mcl_inventory/textures/inventory_crafting_inventory_bg.png rename to mods/mcl_inventory/textures/mcl_inventory_crafting_inventory_bg.png diff --git a/mods/mcl_inventory/textures/inventory_crafting_table_front.png b/mods/mcl_inventory/textures/mcl_inventory_crafting_table_front.png similarity index 100% rename from mods/mcl_inventory/textures/inventory_crafting_table_front.png rename to mods/mcl_inventory/textures/mcl_inventory_crafting_table_front.png diff --git a/mods/mcl_inventory/textures/inventory_crafting_table_side.png b/mods/mcl_inventory/textures/mcl_inventory_crafting_table_side.png similarity index 100% rename from mods/mcl_inventory/textures/inventory_crafting_table_side.png rename to mods/mcl_inventory/textures/mcl_inventory_crafting_table_side.png diff --git a/mods/mcl_inventory/textures/inventory_crafting_table_top.png b/mods/mcl_inventory/textures/mcl_inventory_crafting_table_top.png similarity index 100% rename from mods/mcl_inventory/textures/inventory_crafting_table_top.png rename to mods/mcl_inventory/textures/mcl_inventory_crafting_table_top.png diff --git a/mods/mcl_inventory/textures/inventory_creative_inventory_bg.png b/mods/mcl_inventory/textures/mcl_inventory_creative_inventory_bg.png similarity index 100% rename from mods/mcl_inventory/textures/inventory_creative_inventory_bg.png rename to mods/mcl_inventory/textures/mcl_inventory_creative_inventory_bg.png diff --git a/mods/mcl_inventory/textures/creative_inventory_bg.png b/mods/mcl_inventory/textures/mcl_inventory_creative_inventory_bg2.png similarity index 100% rename from mods/mcl_inventory/textures/creative_inventory_bg.png rename to mods/mcl_inventory/textures/mcl_inventory_creative_inventory_bg2.png diff --git a/mods/mcl_inventory/textures/inventory_hotbar.png b/mods/mcl_inventory/textures/mcl_inventory_hotbar.png similarity index 100% rename from mods/mcl_inventory/textures/inventory_hotbar.png rename to mods/mcl_inventory/textures/mcl_inventory_hotbar.png diff --git a/mods/mcl_inventory/textures/inventory_hotbar_selected.png b/mods/mcl_inventory/textures/mcl_inventory_hotbar_selected.png similarity index 100% rename from mods/mcl_inventory/textures/inventory_hotbar_selected.png rename to mods/mcl_inventory/textures/mcl_inventory_hotbar_selected.png diff --git a/mods/mcl_inventory/textures/inventory_survival_inventory_bg.png b/mods/mcl_inventory/textures/mcl_inventory_survival_bg.png similarity index 100% rename from mods/mcl_inventory/textures/inventory_survival_inventory_bg.png rename to mods/mcl_inventory/textures/mcl_inventory_survival_bg.png