From 0d33aeafd16d9476124a46c84fb8980b4490ff55 Mon Sep 17 00:00:00 2001 From: ThomasMonroe314 Date: Fri, 4 Aug 2017 11:18:59 -0500 Subject: [PATCH] adjusted the crafting recipes --- armor.lua | 52 ++++++++++++++++++++++++++++++++++++++++++++++++- lonsdaleite.lua | 14 ++++++------- 2 files changed, 58 insertions(+), 8 deletions(-) diff --git a/armor.lua b/armor.lua index 7625f43..2c9cbb9 100644 --- a/armor.lua +++ b/armor.lua @@ -168,7 +168,6 @@ local craft_ingreds = { cobaltominite = "exoticores:cobaltominite_bar", sideronatrite = "exoticores:sideronatrite_bar", edoylerite = "exoticores:edoylerite_bar", - lonsdaleite = "exoticores:lonsdaleite_crystal", } for k, v in pairs(craft_ingreds) do @@ -214,3 +213,54 @@ for k, v in pairs(craft_ingreds) do end + + local v = "exoticores:lonsdaleite_crystal" + local g = "default:gold_ingot" + + + minetest.register_craft({ + output = "exoticores:helmet_lonsdaleite", + recipe = { + {v, g, v}, + {g, "", g}, + {"", "", ""}, + }, + }) + minetest.register_craft({ + output = "exoticores:chestplate_lonsdaleite", + recipe = { + {v, "", v}, + {g, v, g}, + {g, g, g}, + }, + }) + minetest.register_craft({ + output = "exoticores:leggings_lonsdaleite", + recipe = { + {v, g, v}, + {g, "", g}, + {g, "", g}, + }, + }) + minetest.register_craft({ + output = "exoticores:boots_lonsdaleite", + recipe = { + {v, "", v}, + {g, "", g}, + }, + }) + minetest.register_craft({ + output = "exoticores:shield_lonsdaleite", + recipe = { + {g, g, g}, + {g, v, g}, + {"", v, ""}, + }, + }) + + + + + + + diff --git a/lonsdaleite.lua b/lonsdaleite.lua index baefd6d..49a0682 100644 --- a/lonsdaleite.lua +++ b/lonsdaleite.lua @@ -70,7 +70,7 @@ minetest.register_craft({ minetest.register_craft({ output = 'exoticores:pick_lonsdaleite', recipe = { - {'exoticores:lonsdaleite_crystal', 'exoticores:lonsdaleite_crystal', 'exoticores:lonsdaleite_crystal'}, + {'default:diamond_block', 'exoticores:lonsdaleite_crystal', 'default:diamond_block'}, {'', 'group:stick', ''}, {'', 'group:stick', ''}, } @@ -86,16 +86,16 @@ minetest.register_craft({ minetest.register_craft({ output = 'exoticores:axe_lonsdaleite', recipe = { - {'', 'exoticores:lonsdaleite_crystal', 'exoticores:lonsdaleite_crystal'}, - {'', 'group:stick', 'exoticores:lonsdaleite_crystal'}, + {'', 'exoticores:lonsdaleite_crystal', 'default:diamond_block'}, + {'', 'group:stick', 'default:diamond_block'}, {'', 'group:stick', ''}, } }) minetest.register_craft({ output = 'exoticores:axe_lonsdaleite', recipe = { - {'exoticores:lonsdaleite_crystal', 'exoticores:lonsdaleite_crystal', ''}, - {'exoticores:lonsdaleite_crystal', 'group:stick', ''}, + {'default:diamond_block', 'exoticores:lonsdaleite_crystal', ''}, + {'default:diamond_block', 'group:stick', ''}, {'', 'group:stick', ''}, } }) @@ -103,7 +103,7 @@ minetest.register_craft({ output = 'exoticores:sword_lonsdaleite', recipe = { {'', 'exoticores:lonsdaleite_crystal', ''}, - {'', 'exoticores:lonsdaleite_crystal', ''}, + {'', 'default:gold_ingot', ''}, {'', 'group:stick', ''}, } }) @@ -238,6 +238,7 @@ minetest.override_item("default:dirt_with_snow", { } }, }) + minetest.override_item("default:silver_sand", { drop = { max_items = 1, @@ -252,4 +253,3 @@ minetest.override_item("default:silver_sand", { } }, }) -