From 76108388483120fd69962e90debb624457646ef8 Mon Sep 17 00:00:00 2001 From: Frogoire Date: Sat, 13 Jun 2026 16:54:33 +0200 Subject: [PATCH] shadow mantle --- init.lua | 25 +++++++++++++++++++++++++ mod.conf | 2 +- textures/shadow_mantle.png | Bin 0 -> 276 bytes textures/shadowmantle.png | Bin 0 -> 184 bytes 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 textures/shadow_mantle.png create mode 100644 textures/shadowmantle.png diff --git a/init.lua b/init.lua index 0385de8..06b4720 100644 --- a/init.lua +++ b/init.lua @@ -248,3 +248,28 @@ minetest.register_tool("tuf:pick_gildedtuferalddeepstone", { }, _mcl_upgradable = false, }) + +minetest.register_tool("tuf:shadowmantle", { + description = ("Shadow Mantle"), + _doc_items_longdesc = mcl_armor.longdesc, + _doc_items_usagehelp = mcl_armor.usage, + inventory_image = "shadowmantle.png", + groups = { armor = 1, armor_torso = 1, mcl_armor_uses = 6767, enchantability = 67, elytra = 1, transport = 1 }, + sounds = { + _mcl_armor_equip = "mcl_armor_equip_leather", + _mcl_armor_unequip = "mcl_armor_unequip_leather", + }, + on_place = mcl_armor.equip_on_use, + on_secondary_use = mcl_armor.equip_on_use, + _mcl_armor_element = "torso", + _mcl_armor_texture = "shadow_mantle.png", +}) + +minetest.register_craft({ + output = "tuf:shadowmantle", + recipe = { + { "mcl_mobitems:feather", "tuf:gildedtuferalddeepstone_ingot", "mcl_mobitems:feather" }, + { "mcl_mobitems:feather", "mcl_core:diamond", "mcl_mobitems:feather" }, + { "mcl_mobitems:feather", "", "mcl_mobitems:feather" } + } +}) diff --git a/mod.conf b/mod.conf index 0a7511f..2741de3 100644 --- a/mod.conf +++ b/mod.conf @@ -1,3 +1,3 @@ name = tuf -depends = mcl_core +depends = mcl_core, mcl_player, mcl_enchanting, mcl_grindstone, mcl_armor, mcl_mobitems, mcl_honey version = 0.0.2 diff --git a/textures/shadow_mantle.png b/textures/shadow_mantle.png new file mode 100644 index 0000000000000000000000000000000000000000..d0194f4776e569089a001e8deacbebc1f3a4c354 GIT binary patch literal 276 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH!3HE3&8=$zQjEnx?oJHr&dIz4a?W|WIEG|2 zCZ{wsEn_OmrPbsXA9GJR-8LTQch0bdP0>@*&A5QS#j9_j!+|28Gv0rw-htZe+ifn9d z)@_P{3_3ShWWO!^RDR*GDl^LlHil*ussD;^WsL$FqEZh`@OXEFVVj6SimfwWf>Z`O z4;#bk