From 4d6c3cef4fcb505dc637bd860334469fe27d74f8 Mon Sep 17 00:00:00 2001 From: Frogoire Date: Sun, 14 Jun 2026 13:03:22 +0200 Subject: [PATCH] mage --- init.lua | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/init.lua b/init.lua index 366da6c..dffa876 100644 --- a/init.lua +++ b/init.lua @@ -273,3 +273,60 @@ minetest.register_craft({ { "mcl_mobitems:feather", "", "mcl_mobitems:feather" } } }) + +minetest.register_craftitem("tuf:dispel", { + description = ("Dispel Spell"), + inventory_image = "dispel.png", + stack_max = 64, +}) + +minetest.register_craftitem("tuf:enchant", { + description = ("Enchant Spell"), + inventory_image = "enchant.png", + stack_max = 64, +}) + +minetest.register_craftitem("tuf:magic_shard", { + description = ("Magic Shard"), + inventory_image = "magic_shard.png", + stack_max = 64, +}) + +minetest.register_craft({ + output = "tuf:magic_shard 16", + recipe = { + { "mcl_amethyst:amethyst_shard", "mcl_amethyst:amethyst_shard", "mcl_amethyst:amethyst_shard" }, + { "mcl_amethyst:amethyst_shard", "tuf:tuf_gem", "mcl_amethyst:amethyst_shard" }, + { "mcl_amethyst:amethyst_shard", "mcl_amethyst:amethyst_shard", "mcl_amethyst:amethyst_shard" } + } +}) + +minetest.register_craft({ + output = "tuf:enchant", + recipe = { + { "", "mcl_core:lapis", "" }, + { "mcl_amethyst:amethyst_shard", "tuf:magic_shard", "mcl_amethyst:amethyst_shard" }, + { "", "mcl_core:lapis", "" } + } +}) + +minetest.register_craft({ + output = "tuf:dispel", + recipe = { + { "", "mcl_nether:glowstone_dust", "" }, + { "mcl_nether:glowstone_dust", "tuf:magic_shard", "mcl_nether:glowstone_dust" }, + { "", "mcl_nether:glowstone_dust", "" } + } +}) + +minetest.register_craft({ + output = "mcl_mobitems:gunpowder 8", + type = "shapeless", + recipe = { "mcl_mobitems:flaming_powder", "tuf:dispel" }, +}) + +minetest.register_craft({ + output = "mcl_mobitems:flaming_powder", + type = "shapeless", + recipe = { "mcl_mobitems:gunpowder", "tuf:enchant", "mcl_mobitems:gunpowder", "mcl_mobitems:gunpowder", "mcl_mobitems:gunpowder" }, +})