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 0000000..d0194f4 Binary files /dev/null and b/textures/shadow_mantle.png differ diff --git a/textures/shadowmantle.png b/textures/shadowmantle.png new file mode 100644 index 0000000..d0d65c2 Binary files /dev/null and b/textures/shadowmantle.png differ