From e3be6e1d51819d87df229e738b83d7661511b821 Mon Sep 17 00:00:00 2001 From: crabman77 Date: Fri, 31 Jul 2015 19:29:06 +0200 Subject: [PATCH] add craftiem 3d_armor --- mods/3d_armor/3d_armor/armor.lua | 2 +- mods/3d_armor_classes/blackmithril/init.lua | 8 +++++++- mods/3d_armor_classes/harnededleather/init.lua | 6 ++++++ .../textures/3d_armor_hardenedleather.png | Bin 0 -> 184 bytes mods/3d_armor_classes/reinforcedleather/init.lua | 6 ++++++ .../textures/3d_armor_reinforcedleather.png | Bin 0 -> 214 bytes 6 files changed, 20 insertions(+), 2 deletions(-) create mode 100755 mods/3d_armor_classes/harnededleather/textures/3d_armor_hardenedleather.png create mode 100755 mods/3d_armor_classes/reinforcedleather/textures/3d_armor_reinforcedleather.png diff --git a/mods/3d_armor/3d_armor/armor.lua b/mods/3d_armor/3d_armor/armor.lua index 932bfa0e..382d17bd 100755 --- a/mods/3d_armor/3d_armor/armor.lua +++ b/mods/3d_armor/3d_armor/armor.lua @@ -27,7 +27,7 @@ ARMOR_MATERIALS = { reinforcedleather = "3d_armor:reinforcedleather", -- Warrior armors mithril = "moreores:mithril_ingot", - blackmithril = "3d_armor:blackmithril" + blackmithril = "3d_armor:blackmithril_ingot" -- Wizard armors --armor = "xxx", --armor = "xxx", diff --git a/mods/3d_armor_classes/blackmithril/init.lua b/mods/3d_armor_classes/blackmithril/init.lua index 2d08acf5..622fe2c2 100755 --- a/mods/3d_armor_classes/blackmithril/init.lua +++ b/mods/3d_armor_classes/blackmithril/init.lua @@ -29,9 +29,15 @@ if ARMOR_MATERIALS.blackmithril then }) end +minetest.register_craftitem(":3d_armor:blackmithril_ingot", { + description = "Black Mithril Ingot", + inventory_image = "3d_armor_blackmithril_ingot.png", + stack_max = 99, +}) + -- Black Mithril craft recipe minetest.register_craft({ - output = "3d_armor:blackmithril", + output = "3d_armor:blackmithril_ingot", recipe = { {"nether:white", "mobs:dungeon_master_blood", "default:obsidian" }, {"default:mithril_ingot", "mobs:dungeon_master_diamond", "default:mithril_ingot" }, diff --git a/mods/3d_armor_classes/harnededleather/init.lua b/mods/3d_armor_classes/harnededleather/init.lua index 100734bf..71952754 100755 --- a/mods/3d_armor_classes/harnededleather/init.lua +++ b/mods/3d_armor_classes/harnededleather/init.lua @@ -29,6 +29,12 @@ if ARMOR_MATERIALS.hardenedleather then }) end +minetest.register_craftitem(":3d_armor:hardenedleather", { + description = "Hardened Leather ingot", + inventory_image = "3d_armor_hardenedleather.png", + stack_max = 99, +}) + -- Hardened Leather craft recipe minetest.register_craft({ output = "3d_armor:hardenedleather", diff --git a/mods/3d_armor_classes/harnededleather/textures/3d_armor_hardenedleather.png b/mods/3d_armor_classes/harnededleather/textures/3d_armor_hardenedleather.png new file mode 100755 index 0000000000000000000000000000000000000000..ce24e7259af7fee29facdfb12facc31f4466e566 GIT binary patch literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!Xn;?ME09)GQZO^rb2d?nayQNj zb8agL4>fpT0hC}Y3GxeOaCmkj4af=fba4!+xRrZ0kney22h)YF3%}(nc{!tR_vqIi zw5YpW%REuj;eano*sjYaSW-rm3uCbufc$W zIe?uj=v{sMYo#3$zfJG$+VIwVReZt9;Kt4~%WMkXEMHwVQHbHpN2Uomg?Ss!L~xyZ zeI(+VlF{|1#>{{Zj68aK9UpDGwd&84f+GwIl|wXNocYOQx0Gq+ys1JNK)V<`UHx3v IIVCg!06%d^wg3PC literal 0 HcmV?d00001