From 96cc14f1de8650686abffec9e65d1f48ba1b56de Mon Sep 17 00:00:00 2001 From: migdyn Date: Tue, 8 Jan 2019 23:21:33 +0100 Subject: [PATCH] Add recipes for most of the items --- init.lua | 117 ++++++++++++++++++ ...e.png => tapes_adhesive_normal_bottle.png} | Bin textures/tapes_boxknife.png | Bin 400 -> 433 bytes textures/tapes_thickfabric.png | Bin 534 -> 718 bytes 4 files changed, 117 insertions(+) rename textures/{tapes_adhesive_normal__bottle.png => tapes_adhesive_normal_bottle.png} (100%) 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 387ca4f7649aab609cb60cd9ce6d03c943b615ea..a31109533df2f119741dc62ad7e474fd576af01d 100644 GIT binary patch delta 324 zcmV-K0lWT?1F-{;QwRtE4hyY;Hr0_^Cw~DMNkl;V~jJ# zxO?KW_;3#-0SF-g;7<@nFAE`Hj3Efl2k#?QtuGeQSZPggBbF#FF5r>=Q1558LHM__;|Go2!J8JyV!$xWWa66*rnyH zzN(ENXf2xu9k(a<^8UmCAS=uA$1!c=wPkbLaeHz}EY0;hja}j5Z@!7YQd|zNE&Bw4 W>wVh5>g@{v0000yE5Qcv$5Jeyfk1~yi zWXTK(>Kt>*XP!y`K(&9}M}dO01yK29Ab;#x z0d8kGX<&YVfp)!moRmO53R4XuBIKh$*8@CNkf8}@AvR1y*!!ifWDVj>q4Eh)@Csf} z^N`&krXu`Yg&L)0qZyW1906H9Y#1QX;TKE6}002ovPDHLkV1nGpeKP<6 diff --git a/textures/tapes_thickfabric.png b/textures/tapes_thickfabric.png index 9625d681c0cdc575d21668c2d38a05c7c9170dc6..84b2f1a1bf620ee76448c2adca4230fcf4aa2909 100644 GIT binary patch delta 652 zcmV;70(1SA1kMGJDlz{6{{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G` z2jc+;7c~peIebo$TPJ@4Hc3Q5R5;6hlgmn5Q51&1eLqS~pc2%ejRqa`G5Q9z&(KLH zrQod47bvt8=Y0l8?Zb#P(H?}TiKa1X&SkF-(i3AXU9e%V1^>GKzmjqn0A&uS?A!Yn zJb(RFJLk$O7GrF*TCI!9pW&*{d=e>lNl*8siYH0JXf#4ZP)dIRu+`dAj}laNl710u zEoquExw|1Gi{yF6+FFz4?_C|GMrLg4z>2(2|oM@J76EG#4pheKkFc<(7=L0$LkHWZJ<> zP8q*Vt5WGXAydUA{$H#wd;P&Uw6O1twMTxZzYr~(U zft#BfjMiwa$?}5L)iq*_s7|M|BqFD2nm!33P<2u*cHW<{P=sc)$+Pu$O4n+&al74K z+TPwqL@>rYxC%g)WfVn$_a3Db?RJ}@DDJ7O%)yMl^?EIvOfui?c8M`oI-s?=N$`Q; zaENo3jg3%^DfVwFr>FZ*f&P3fNfOGk#CuV5xk m#jBT(vC159IT$GBr2iWeA{2yNQ%m0f0000r$zcXn@6eF4Dh-eU3N>m{GRM;xN* z<9PO`>Cm(#^P3GPFdogkBY`%OF$VDkEfjz(%bZBBEs8M)0N;NXib5&N5)t9=pWhf` zoJjAGAaVwP>IVSjssx}~SFAT{hQaw>pw3}r)elF$yZgneT(Mj(YiAGg{0$NRSfFXN zh~t=kuSXCBPCSY(P%U