From fcd2c49bbb90e6833226240bdad5c482f96cd844 Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Sat, 23 Nov 2019 21:31:47 +0200 Subject: [PATCH] End-game wand --- book.txt | 4 ++- craftitems.lua | 5 ++++ register.lua | 38 +++++++++++++++++++++++++ textures/magicalities_cap_tellium.png | Bin 0 -> 291 bytes textures/magicalities_wand_tellium.png | Bin 0 -> 449 bytes 5 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 textures/magicalities_cap_tellium.png create mode 100644 textures/magicalities_wand_tellium.png 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 0000000000000000000000000000000000000000..0a275a2f4a29bb78b2af2a8befed1c3a7180c8d7 GIT binary patch literal 291 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6T^Rm@ z;DWu&Cj&(|3p^r=85p>QL70(Y)*K0-AbW|YuPggwZgF7=t%bKP$^wOCGeaUuobz*Y zQ}arITm}Z`qSVBa)D(sC%#sWRcTeAd6une-pm>$1i(`nz>Er|nRuN{mnn}I;vi}!< zEHK!x(b)Kj{)Yprrg2VxR?)re|Nnn~(|`PY%YS(O{r?hbDmnlCCo%E>f&9L`X+M7c zRzG~*-(Iq=?)PDbNsQe7R}AZZ{G0Xg^7rjL_I3Xge*AiBUD+s-fANd`y+t4YXB0`E aVPNo^uD8YP+s!K==XtvNxvXQL70(Y)*K0-AbW|YuPggwZgF98^@z_K^MOLLnIRD+&iT2y zsd*(pE(3#eQEFmIYKlU6W=V#EyQgnJie4%^&^ifE7sn8b(@Q7s^j>656<(td*CO_ownEm(S z%4IW(6P_hMn4daT@?Ny{bhpFH!ouIoTNA~wN@LI7OJd3QI-GjtINhzogS--Y7CtZU zEIDwYzoV%oh$&wFLHqeH&Fqg<6gUn&GS4ub*u|>UP}&jHb@_Jf>Inx*CrC;w@$L=Z z@$yfK+NK9