2017-09-02 10:42:37 -04:00
|
|
|
local craft_ingreds = {
|
|
|
|
rainbow = "nyancats_plus:rainbow_shard",
|
2018-02-11 17:36:03 -05:00
|
|
|
waffle = "armor_addon:waffleblock",
|
2017-09-02 10:42:37 -04:00
|
|
|
obsidian = "default:obsidian",
|
|
|
|
chocolate = "farming:chocolate_dark",
|
|
|
|
carbonfiber = "nanotech:carbon_plate",
|
2018-02-11 17:36:03 -05:00
|
|
|
rhodo = "moreores:rhodochrosite_ingot",
|
|
|
|
tin = "default:tin_ingot",
|
|
|
|
ibrog = "armor_addon:ibrogblock",
|
|
|
|
hero = "even_mosword:hero_ingot",
|
|
|
|
cane = "candycane:candy_cane",
|
|
|
|
cane = "christmas_decor:candycane_edible",
|
|
|
|
skeletal = "armor_addon:bone",
|
|
|
|
brick = "default:brick",
|
|
|
|
silver = "moreores:silver_ingot",
|
|
|
|
sky = "sky_tools:crystal",
|
|
|
|
emeralds = "emeralds:emerald_crystal_piece",
|
|
|
|
emerald = "gems:emerald_gem",
|
|
|
|
pearl = "gems:pearl_gem",
|
|
|
|
amethyst = "gems:amethyst_gem",
|
|
|
|
ruby = "gems:ruby:gem",
|
|
|
|
sapphire = "gems:sapphire_gem",
|
|
|
|
shadow = "gems:shadow_gem",
|
|
|
|
cgls = "terumet:ingot_cgls",
|
|
|
|
tcop = "terumet:ingot_tcop",
|
|
|
|
tcha = "terumet:ingot_tcha",
|
|
|
|
tgol = "terumet:ingot_tgol",
|
|
|
|
tste = "terumet:ingot_tste",
|
2017-09-02 10:42:37 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
for k, v in pairs(craft_ingreds) do
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "armor_addon:helmet_"..k,
|
|
|
|
recipe = {
|
|
|
|
{v, v, v},
|
|
|
|
{v, "", v},
|
|
|
|
{"", "", ""},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "armor_addon:chestplate_"..k,
|
|
|
|
recipe = {
|
|
|
|
{v, "", v},
|
|
|
|
{v, v, v},
|
|
|
|
{v, v, v},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "armor_addon:leggings_"..k,
|
|
|
|
recipe = {
|
|
|
|
{v, v, v},
|
|
|
|
{v, "", v},
|
|
|
|
{v, "", v},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "armor_addon:boots_"..k,
|
|
|
|
recipe = {
|
|
|
|
{v, "", v},
|
|
|
|
{v, "", v},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "armor_addon:shield_"..k,
|
|
|
|
recipe = {
|
|
|
|
{v, v, v},
|
|
|
|
{v, v, v},
|
|
|
|
{"", v, ""},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
end
|
|
|
|
minetest.register_node("armor_addon:waffleblock", {
|
|
|
|
description = "Waffle Block",
|
|
|
|
tiles = {"armor_addon_waffleblock.png"},
|
|
|
|
is_ground_content = true,
|
|
|
|
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
|
|
|
|
drop = 'armor_addon:waffleblock',
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'armor_addon:waffleblock',
|
|
|
|
recipe = {
|
|
|
|
{'waffles:large_waffle', 'waffles:large_waffle', 'waffles:large_waffle'},
|
|
|
|
{'waffles:large_waffle', 'waffles:large_waffle', 'waffles:large_waffle'},
|
|
|
|
{'waffles:large_waffle', 'waffles:large_waffle', 'waffles:large_waffle'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'waffles:large_waffle 9',
|
|
|
|
recipe = {
|
|
|
|
{'armor_addon:waffleblock'},
|
|
|
|
}
|
|
|
|
})
|
2018-02-11 17:36:03 -05:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'armor_addon:ibrogblock',
|
|
|
|
recipe = {
|
|
|
|
{'default:obsidian_glass', 'xpanes:bar_flat', 'default:obsidian_glass'},
|
|
|
|
{'xpanes:bar_flat', 'default:obsidian_glass', 'xpanes:bar_flat'},
|
|
|
|
{'default:obsidian_glass', 'xpanes:bar_flat', 'default:obsidian_glass'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_node("armor_addon:ibrogblock", {
|
|
|
|
description = "Ibrog",
|
|
|
|
drawtype = "glasslike_framed_optional",
|
|
|
|
tiles = {"armor_addon_ibrogblock.png"},
|
|
|
|
paramtype = "light",
|
|
|
|
is_ground_content = false,
|
|
|
|
sunlight_propagates = true,
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
|
|
|
groups = {cracky = 3},
|
|
|
|
})
|
|
|
|
minetest.register_craft ({
|
|
|
|
output = 'armor_addon:bone 4',
|
|
|
|
recipe = {
|
|
|
|
{'bones:bones', 'bones:bones', 'bones:bones'},
|
|
|
|
{'bones:bones', 'default:diamondblock', 'bones:bones'},
|
|
|
|
{'bones:bones', 'bones:bones', 'bones:bones'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craftitem ("armor_addon:bone", {
|
|
|
|
description = ("Bone"),
|
|
|
|
inventory_image = "armor_addon_bone.png",
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'armor_addon:boots_tacnayn',
|
|
|
|
recipe = {
|
|
|
|
{'armor_addon:boots_waffle', '', 'armor_addon:boots_rainbow'},
|
|
|
|
{'tac_nayn:tacnayn_rainbow', '', 'tac_nayn:tacnayn_rainbow'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'armor_addon:chestplate_tacnayn',
|
|
|
|
recipe = {
|
|
|
|
{'tac_nayn:tacnayn_rainbow', '', 'tac_nayn:tacnayn_rainbow'},
|
|
|
|
{'armor_addon:chestplate_waffle', 'tac_nayn:tacnayn_rainbow', 'armor_addon:chestplate_rainbow'},
|
|
|
|
{'tac_nayn:tacnayn_rainbow', 'tac_nayn:tacnayn_rainbow', 'tac_nayn:tacnayn_rainbow'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'armor_addon:helmet_tacnayn',
|
|
|
|
recipe = {
|
|
|
|
{'armor_addon:helmet_waffle', 'tac_nayn:tacnayn_rainbow', 'armor_addon:helmet_rainbow'},
|
|
|
|
{'tac_nayn:tacnayn_rainbow', '', 'tac_nayn:tacnayn_rainbow'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'armor_addon:leggings_tacnayn',
|
|
|
|
recipe = {
|
|
|
|
{'tac_nayn:tacnayn_rainbow', 'tac_nayn:tacnayn_rainbow', 'tac_nayn:tacnayn_rainbow'},
|
|
|
|
{'armor_addon:helmet_waffle', '', 'armor_addon:helmet_rainbow'},
|
|
|
|
{'tac_nayn:tacnayn_rainbow', '', 'tac_nayn:tacnayn_rainbow'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'armor_addon:shield_tacnayn',
|
|
|
|
recipe = {
|
|
|
|
{'armor_addon:shield_waffle', 'tac_nayn:tacnayn_rainbow', 'armor_addon:shield_rainbow'},
|
|
|
|
{'tac_nayn:tacnayn_rainbow', 'tac_nayn:tacnayn', 'tac_nayn:tacnayn_rainbow'},
|
|
|
|
{'', 'tac_nayn:tacnayn_rainbow', ''},
|
|
|
|
}
|
|
|
|
})
|