diff --git a/init.lua b/init.lua index de7029f..166c5f7 100644 --- a/init.lua +++ b/init.lua @@ -119,3 +119,120 @@ minetest.register_tool("tapes:mesetape", { return itemstack end }) + +--CraftItems +minetest.register_craftitem("tapes:fabric_thin", { + description = "Thin Fabric", + inventory_image = "tapes_thinfabric.png", +}) + +minetest.register_craftitem("tapes:fabric_thick", { + description = "Thick Fabric", + inventory_image = "tapes_thickfabric.png", +}) + +minetest.register_craftitem("tapes:adhesive_bottle", { + description = "Adhesive", + inventory_image = "tapes_adhesive_normal_bottle.png", +}) + +minetest.register_craftitem("tapes:adhesive_strong_bottle", { + description = "Strong Adhesive", + inventory_image = "tapes_adhesive_strong_bottle.png", +}) + +minetest.register_craftitem("tapes:adhesive_mese_bottle", { + description = "Mese Adhesive", + inventory_image = "tapes_adhesive_mese_bottle.png", +}) + +--Crafts +minetest.register_craft({ + output = "tapes:fabric_thin", + recipe = { + {"", "", ""}, + {"farming:cotton", "farming:cotton", "farming:cotton"}, + {"", "", ""}, + } +}) + +minetest.register_craft({ + output = "tapes:fabric_thick", + recipe = { + {"", "", ""}, + {"tapes:fabric_thin", "tapes:fabric_thin", "tapes:fabric_thin"}, + {"", "", ""}, + } +}) + +minetest.register_craft({ + output = "tapes:adhesive_bottle", + recipe = { + {"", "", ""}, + {"group:leaves", "group:leaves", "group:leaves"}, + {"", "", ""}, + } +}) + +minetest.register_craft({ + output = "tapes:adhesive_strong_bottle", + recipe = { + {"group:leaves", "group:leaves", "group:leaves"}, + {"group:leaves", "group:leaves", "group:leaves"}, + {"group:leaves", "group:leaves", "group:leaves"}, + } +}) + +minetest.register_craft({ + output = "tapes:adhesive_mese_bottle", + recipe = { + {"", "", ""}, + {"tapes:adhesive_strong_bottle", "default:mese_crystal", "tapes:adhesive_strong_bottle"}, + {"", "", ""}, + } +}) + +minetest.register_craft({ + output = "tapes:mesetape", + recipe = { + {"", "", ""}, + {"tapes:adhesive_mese_bottle", "default:mese_block", "tapes:adhesive_mese_bottle"}, + {"", "", ""}, + } +}) + +minetest.register_craft({ + output = "tapes:spiketape_orange", + recipe = { + {"", "dye:orange", ""}, + {"tapes:adhesive_strong_bottle", "tapes:fabric_thick", "tapes:adhesive_strong_bottle"}, + {"", "", ""}, + } +}) + +minetest.register_craft({ + output = "tapes:spiketape_black", + recipe = { + {"", "dye:black", ""}, + {"tapes:adhesive_strong_bottle", "tapes:fabric_thick", "tapes:adhesive_strong_bottle"}, + {"", "", ""}, + } +}) + +minetest.register_craft({ + output = "tapes:ducttape_black", + recipe = { + {"", "dye:black", ""}, + {"tapes:adhesive_strong_bottle", "tapes:fabric_thin", "tapes:adhesive_strong_bottle"}, + {"", "", ""}, + } +}) + +minetest.register_craft({ + output = "tapes:surgicaltape", + recipe = { + {"", "", ""}, + {"tapes:adhesive_bottle", "tapes:fabric_thick", "tapes:adhesive_bottle"}, + {"", "", ""}, + } +}) diff --git a/textures/tapes_adhesive_normal__bottle.png b/textures/tapes_adhesive_normal_bottle.png similarity index 100% rename from textures/tapes_adhesive_normal__bottle.png rename to textures/tapes_adhesive_normal_bottle.png diff --git a/textures/tapes_boxknife.png b/textures/tapes_boxknife.png index 387ca4f..a311095 100644 Binary files a/textures/tapes_boxknife.png and b/textures/tapes_boxknife.png differ diff --git a/textures/tapes_thickfabric.png b/textures/tapes_thickfabric.png index 9625d68..84b2f1a 100644 Binary files a/textures/tapes_thickfabric.png and b/textures/tapes_thickfabric.png differ