MineClone2/mods/ITEMS/mcl_armor/trims.lua

65 lines
2.1 KiB
Lua
Raw Permalink Normal View History

2023-06-21 10:53:41 +02:00
local mod_registername = minetest.get_current_modname() .. ":"
2023-08-31 17:59:46 +02:00
local S = minetest.get_translator(minetest.get_current_modname())
2023-06-08 00:16:57 +02:00
2023-08-28 15:09:48 +02:00
for _, template_name in pairs(mcl_armor.trims.overlays) do
2024-07-19 20:03:28 +02:00
minetest.register_craftitem(mod_registername .. template_name, {
description = S("Smithing Template '@1'", mcl_armor.trims.translations[template_name]),
inventory_image = template_name .. "_armor_trim_smithing_template.png",
})
minetest.register_craft({
output = mod_registername .. template_name .. " 2",
recipe = {
{"mcl_core:diamond",mod_registername .. template_name,"mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:cobble","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
}
})
2023-06-08 00:16:57 +02:00
end
2023-06-08 10:02:00 +02:00
--temp craft recipies, missing structures
2023-06-08 00:16:57 +02:00
minetest.register_craft({
2024-07-19 20:03:28 +02:00
output = mod_registername .. "eye",
recipe = {
{"mcl_core:diamond","mcl_end:ender_eye","mcl_core:diamond"},
{"mcl_core:diamond","mcl_end:ender_eye","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
}
2023-06-08 00:16:57 +02:00
})
minetest.register_craft({
2024-07-19 20:03:28 +02:00
output = mod_registername .. "ward",
recipe = {
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:apple_gold_enchanted","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
}
2023-06-08 00:16:57 +02:00
})
minetest.register_craft({
2024-07-19 20:03:28 +02:00
output = mod_registername .. "snout",
recipe = {
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:goldblock","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
}
2023-10-21 22:25:30 +02:00
})
minetest.register_craft({
2024-07-19 20:03:28 +02:00
output = mod_registername .. "silence",
recipe = {
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
{"mcl_core:diamond", mod_registername.."ward","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
}
2023-10-21 22:25:30 +02:00
})
minetest.register_craft({
2024-07-19 20:03:28 +02:00
output = mod_registername .. "wayfinder",
recipe = {
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
{"mcl_core:diamond", "mcl_maps:empty_map","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
}
})