...
This commit is contained in:
15
init.lua
15
init.lua
@@ -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"}
|
||||
}
|
||||
})
|
||||
|
||||
2
mod.conf
2
mod.conf
@@ -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
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 |
BIN
textures/icarus_wings_inv.pxo
Normal file
BIN
textures/icarus_wings_inv.pxo
Normal file
Binary file not shown.
Reference in New Issue
Block a user