diff --git a/mods/inventory/api.lua b/mods/mcl_inventory/api.lua similarity index 100% rename from mods/inventory/api.lua rename to mods/mcl_inventory/api.lua diff --git a/mods/inventory/config.txt b/mods/mcl_inventory/config.txt similarity index 100% rename from mods/inventory/config.txt rename to mods/mcl_inventory/config.txt diff --git a/mods/inventory/depends.txt b/mods/mcl_inventory/depends.txt similarity index 100% rename from mods/inventory/depends.txt rename to mods/mcl_inventory/depends.txt diff --git a/mods/inventory/init.lua b/mods/mcl_inventory/init.lua similarity index 100% rename from mods/inventory/init.lua rename to mods/mcl_inventory/init.lua diff --git a/mods/mcl_inventory/mod.conf b/mods/mcl_inventory/mod.conf new file mode 100644 index 0000000000..2900f85c5a --- /dev/null +++ b/mods/mcl_inventory/mod.conf @@ -0,0 +1 @@ +name = mcl_inventory diff --git a/mods/inventory/textures/3d_armor_inv_boots_clear.png b/mods/mcl_inventory/textures/3d_armor_inv_boots_clear.png similarity index 100% rename from mods/inventory/textures/3d_armor_inv_boots_clear.png rename to mods/mcl_inventory/textures/3d_armor_inv_boots_clear.png diff --git a/mods/inventory/textures/3d_armor_inv_chestplate_clear.png b/mods/mcl_inventory/textures/3d_armor_inv_chestplate_clear.png similarity index 100% rename from mods/inventory/textures/3d_armor_inv_chestplate_clear.png rename to mods/mcl_inventory/textures/3d_armor_inv_chestplate_clear.png diff --git a/mods/inventory/textures/3d_armor_inv_helmet_clear.png b/mods/mcl_inventory/textures/3d_armor_inv_helmet_clear.png similarity index 100% rename from mods/inventory/textures/3d_armor_inv_helmet_clear.png rename to mods/mcl_inventory/textures/3d_armor_inv_helmet_clear.png diff --git a/mods/inventory/textures/3d_armor_inv_leggings_clear.png b/mods/mcl_inventory/textures/3d_armor_inv_leggings_clear.png similarity index 100% rename from mods/inventory/textures/3d_armor_inv_leggings_clear.png rename to mods/mcl_inventory/textures/3d_armor_inv_leggings_clear.png diff --git a/mods/inventory/textures/New folder/crafting_inventory.png b/mods/mcl_inventory/textures/New folder/crafting_inventory.png similarity index 100% rename from mods/inventory/textures/New folder/crafting_inventory.png rename to mods/mcl_inventory/textures/New folder/crafting_inventory.png diff --git a/mods/inventory/textures/New folder/crafting_inventory_player.png b/mods/mcl_inventory/textures/New folder/crafting_inventory_player.png similarity index 100% rename from mods/inventory/textures/New folder/crafting_inventory_player.png rename to mods/mcl_inventory/textures/New folder/crafting_inventory_player.png diff --git a/mods/inventory/textures/New folder/crafting_workbench.png b/mods/mcl_inventory/textures/New folder/crafting_workbench.png similarity index 100% rename from mods/inventory/textures/New folder/crafting_workbench.png rename to mods/mcl_inventory/textures/New folder/crafting_workbench.png diff --git a/mods/inventory/textures/New folder/trap.png b/mods/mcl_inventory/textures/New folder/trap.png similarity index 100% rename from mods/inventory/textures/New folder/trap.png rename to mods/mcl_inventory/textures/New folder/trap.png diff --git a/mods/inventory/textures/creative_inventory_bg.png b/mods/mcl_inventory/textures/creative_inventory_bg.png similarity index 100% rename from mods/inventory/textures/creative_inventory_bg.png rename to mods/mcl_inventory/textures/creative_inventory_bg.png diff --git a/mods/inventory/textures/inventory_crafting_inventory_bg.png b/mods/mcl_inventory/textures/inventory_crafting_inventory_bg.png similarity index 100% rename from mods/inventory/textures/inventory_crafting_inventory_bg.png rename to mods/mcl_inventory/textures/inventory_crafting_inventory_bg.png diff --git a/mods/inventory/textures/inventory_crafting_table_front.png b/mods/mcl_inventory/textures/inventory_crafting_table_front.png similarity index 100% rename from mods/inventory/textures/inventory_crafting_table_front.png rename to mods/mcl_inventory/textures/inventory_crafting_table_front.png diff --git a/mods/inventory/textures/inventory_crafting_table_side.png b/mods/mcl_inventory/textures/inventory_crafting_table_side.png similarity index 100% rename from mods/inventory/textures/inventory_crafting_table_side.png rename to mods/mcl_inventory/textures/inventory_crafting_table_side.png diff --git a/mods/inventory/textures/inventory_crafting_table_top.png b/mods/mcl_inventory/textures/inventory_crafting_table_top.png similarity index 100% rename from mods/inventory/textures/inventory_crafting_table_top.png rename to mods/mcl_inventory/textures/inventory_crafting_table_top.png diff --git a/mods/inventory/textures/inventory_creative_inventory_bg - Copie.png b/mods/mcl_inventory/textures/inventory_creative_inventory_bg - Copie.png similarity index 100% rename from mods/inventory/textures/inventory_creative_inventory_bg - Copie.png rename to mods/mcl_inventory/textures/inventory_creative_inventory_bg - Copie.png diff --git a/mods/inventory/textures/inventory_creative_inventory_bg.png b/mods/mcl_inventory/textures/inventory_creative_inventory_bg.png similarity index 100% rename from mods/inventory/textures/inventory_creative_inventory_bg.png rename to mods/mcl_inventory/textures/inventory_creative_inventory_bg.png diff --git a/mods/inventory/textures/inventory_hotbar.png b/mods/mcl_inventory/textures/inventory_hotbar.png similarity index 100% rename from mods/inventory/textures/inventory_hotbar.png rename to mods/mcl_inventory/textures/inventory_hotbar.png diff --git a/mods/inventory/textures/inventory_hotbar_selected.png b/mods/mcl_inventory/textures/inventory_hotbar_selected.png similarity index 100% rename from mods/inventory/textures/inventory_hotbar_selected.png rename to mods/mcl_inventory/textures/inventory_hotbar_selected.png diff --git a/mods/inventory/textures/inventory_survival_inventory_bg.png b/mods/mcl_inventory/textures/inventory_survival_inventory_bg.png similarity index 100% rename from mods/inventory/textures/inventory_survival_inventory_bg.png rename to mods/mcl_inventory/textures/inventory_survival_inventory_bg.png diff --git a/mods/inventory/workbench.lua b/mods/mcl_inventory/workbench.lua similarity index 55% rename from mods/inventory/workbench.lua rename to mods/mcl_inventory/workbench.lua index 6496ac477a..f4b8b4aed0 100644 --- a/mods/inventory/workbench.lua +++ b/mods/mcl_inventory/workbench.lua @@ -1,7 +1,7 @@ -minetest.register_node("inventory:crafting_table", { +minetest.register_node("mcl_inventory:crafting_table", { description = "Crafting Table", - tiles = {"inventory_crafting_table_top.png", "default_wood.png", "inventory_crafting_table_side.png", - "inventory_crafting_table_side.png", "inventory_crafting_table_front.png", "inventory_crafting_table_front.png"}, + tiles = {"mcl_inventory_crafting_table_top.png", "default_wood.png", "mcl_inventory_crafting_table_side.png", + "mcl_inventory_crafting_table_side.png", "mcl_inventory_crafting_table_front.png", "mcl_inventory_crafting_table_front.png"}, paramtype2 = "facedir", paramtype = "light", is_ground_content = false, @@ -12,12 +12,12 @@ minetest.register_node("inventory:crafting_table", { clicker:get_inventory():set_size("craft", 9) clicker:get_inventory():set_width("main", 9) clicker:get_inventory():set_size("main", 36) - minetest.show_formspec(clicker:get_player_name(), "inventory:craftin_table", CRAFTING_FORMSPEC) + minetest.show_formspec(clicker:get_player_name(), "mcl_inventory:crafting_table", CRAFTING_FORMSPEC) end, }) minetest.register_craft({ - output = "inventory:crafting_table", + output = "mcl_inventory:crafting_table", recipe = { {"group:wood", "group:wood"}, {"group:wood", "group:wood"},