diff --git a/book.txt b/book.txt index 5ee7ad2..3fb8b6f 100644 --- a/book.txt +++ b/book.txt @@ -29,7 +29,9 @@ Right-Click on the Cauldron with a Bucket of Water in order to fill it wi #2magicalities:wand_steel Wands are used to cast spells. The first wand you know of is called the Steel-Capped Wand, which can contain up to 25 of any element. #2magicalities:wand_gold -The Gold-Capped Wand is an improved version of the Steel-Capped Wand. It can contain up to 50 of each element instead of the Steel Wand's 25. +The Gold-Capped Wand is an improved version of the Steel-Capped Wand. It can contain up to 50 of each element instead of the Steel-Capped Wand's 25. +#2magicalities:wand_tellium +The Tellium-Capped Wand is the best wand available to wizards and witches. It can contain up to 100 of each element instead of the Gold-Capped Wand's 50. #2magicalities:transterra The Transterra is a stone that can be used to create or remove nodes from the world. It is made in the Cauldron. diff --git a/craftitems.lua b/craftitems.lua index fa271b6..a4473b2 100644 --- a/craftitems.lua +++ b/craftitems.lua @@ -45,6 +45,11 @@ minetest.register_craftitem("magicalities:cap_gold", { inventory_image = "magicalities_cap_gold.png" }) +minetest.register_craftitem("magicalities:cap_tellium", { + description = "Tellium Wand Cap", + inventory_image = "magicalities_cap_tellium.png" +}) + minetest.register_craftitem("magicalities:focus_blank", { description = "Blank Wand Focus", inventory_image = "magicalities_focus_base.png", diff --git a/register.lua b/register.lua index 56351fb..82e4551 100644 --- a/register.lua +++ b/register.lua @@ -26,6 +26,13 @@ magicalities.wands.register_wand("gold", { wand_cap = 50, }) +-- Tellium +magicalities.wands.register_wand("tellium", { + description = "Tellium-Capped Wand", + image = "magicalities_wand_tellium.png", + wand_cap = 100, +}) + ----------------------------- -- Arcane crafting recipes -- ----------------------------- @@ -65,6 +72,25 @@ local recipes = { }, learnable = true }, + { + input = { + {"", "magicalities:focus_atk_earth", "magicalities:cap_tellium"}, + {"magicalities:tellium", "magicalities:wand_core", "magicalities:focus_atk_water"}, + {"group:crystal", "magicalities:tellium", ""} + }, + output = "magicalities:wand_tellium", + requirements = { + ["water"] = 50, + ["earth"] = 50, + ["light"] = 50, + ["fire"] = 50, + ["dark"] = 50, + ["air"] = 50, + }, + learnable = { + depends = {"magicalities:wand_gold", "magicalities:focus_atk_earth", "magicalities:focus_atk_water"} + } + }, { input = { {"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"}, @@ -77,6 +103,18 @@ local recipes = { ["dark"] = 5, } }, + { + input = { + {"magicalities:tellium", "magicalities:tellium", "magicalities:tellium"}, + {"magicalities:tellium", "", "magicalities:tellium"}, + }, + output = "magicalities:cap_tellium", + requirements = { + ["earth"] = 25, + ["light"] = 25, + ["dark"] = 25, + } + }, { input = { {"group:crystal", "magicalities:tellium", "group:crystal"}, diff --git a/textures/magicalities_cap_tellium.png b/textures/magicalities_cap_tellium.png new file mode 100644 index 0000000..0a275a2 Binary files /dev/null and b/textures/magicalities_cap_tellium.png differ diff --git a/textures/magicalities_wand_tellium.png b/textures/magicalities_wand_tellium.png new file mode 100644 index 0000000..1f2ff21 Binary files /dev/null and b/textures/magicalities_wand_tellium.png differ