This commit is contained in:
2026-06-12 12:23:53 +02:00
parent daa8741f7f
commit 8b28e45d78
5 changed files with 15 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
local S = minetest.get_translator(minetest.get_current_modname())
minetest.register_tool("icarus:wings", {
description = "Wings",
description = S("Wings"),
_doc_items_longdesc = mcl_armor.longdesc,
_doc_items_usagehelp = mcl_armor.usage,
inventory_image = "icarus_wings_inv.png",
groups = { armor = 1, non_combat_armor = 1, armor_torso = 1, non_combat_torso = 1, mcl_armor_uses = 10, enchantability = -1, elytra = 1, transport = 1 },
sounds = {
@@ -11,3 +15,12 @@ minetest.register_tool("icarus:wings", {
_mcl_armor_element = "torso",
_mcl_armor_texture = "icarus_wings.png",
})
minetest.register_craft({
output = "icarus:wings",
recipe = {
{"mcl_mobitems:feather", "mcl_honey:honeycomb", "mcl_mobitems:feather"},
{"mcl_mobitems:feather", "", "mcl_mobitems:feather"},
{"mcl_mobitems:feather", "", "mcl_mobitems:feather"}
}
})

View File

@@ -1,3 +1,3 @@
name = icarus
author = n0va
depends = mcl_core, mcl_player, mcl_enchanting, mcl_grindstone, mcl_armor
depends = mcl_core, mcl_player, mcl_enchanting, mcl_grindstone, mcl_armor, mcl_mobitems, mcl_honey

BIN
textures/icarus_wings.pxo Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 B

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.