1
0
Fork 0

Convert spaces to tabs

This commit is contained in:
teknomunk 2024-07-19 13:03:28 -05:00
parent adf64e81cd
commit 55b5dee827
1 changed files with 43 additions and 43 deletions

View File

@ -2,63 +2,63 @@ local mod_registername = minetest.get_current_modname() .. ":"
local S = minetest.get_translator(minetest.get_current_modname()) local S = minetest.get_translator(minetest.get_current_modname())
for _, template_name in pairs(mcl_armor.trims.overlays) do for _, template_name in pairs(mcl_armor.trims.overlays) do
minetest.register_craftitem(mod_registername .. template_name, { minetest.register_craftitem(mod_registername .. template_name, {
description = S("Smithing Template '@1'", mcl_armor.trims.translations[template_name]), description = S("Smithing Template '@1'", mcl_armor.trims.translations[template_name]),
inventory_image = template_name .. "_armor_trim_smithing_template.png", inventory_image = template_name .. "_armor_trim_smithing_template.png",
}) })
minetest.register_craft({ minetest.register_craft({
output = mod_registername .. template_name .. " 2", output = mod_registername .. template_name .. " 2",
recipe = { recipe = {
{"mcl_core:diamond",mod_registername .. template_name,"mcl_core:diamond"}, {"mcl_core:diamond",mod_registername .. template_name,"mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:cobble","mcl_core:diamond"}, {"mcl_core:diamond","mcl_core:cobble","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"}, {"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
} }
}) })
end end
--temp craft recipies, missing structures --temp craft recipies, missing structures
minetest.register_craft({ minetest.register_craft({
output = mod_registername .. "eye", output = mod_registername .. "eye",
recipe = { 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_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"}, {"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = mod_registername .. "ward", output = mod_registername .. "ward",
recipe = { recipe = {
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"}, {"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:apple_gold_enchanted","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"}, {"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = mod_registername .. "snout", output = mod_registername .. "snout",
recipe = { recipe = {
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"}, {"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:goldblock","mcl_core:diamond"}, {"mcl_core:diamond","mcl_core:goldblock","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"}, {"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = mod_registername .. "silence", output = mod_registername .. "silence",
recipe = { recipe = {
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"}, {"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
{"mcl_core:diamond", mod_registername.."ward","mcl_core:diamond"}, {"mcl_core:diamond", mod_registername.."ward","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"}, {"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = mod_registername .. "wayfinder", output = mod_registername .. "wayfinder",
recipe = { recipe = {
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"}, {"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
{"mcl_core:diamond", "mcl_maps:empty_map","mcl_core:diamond"}, {"mcl_core:diamond", "mcl_maps:empty_map","mcl_core:diamond"},
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"}, {"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
} }
}) })