mirror of
https://github.com/minetest-mods/technic.git
synced 2025-07-02 00:00:37 +02:00
Replace ' with "
Used regex: '([a-zA-Z:_1-9-]*)' Applied on *.lua
This commit is contained in:
@ -1,26 +1,26 @@
|
||||
minetest.register_craft({
|
||||
output = 'technic:copper_chest 1',
|
||||
recipe = {
|
||||
{ 'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot' },
|
||||
{ 'default:copper_ingot', 'technic:iron_chest', 'default:copper_ingot' },
|
||||
{ 'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot' },
|
||||
{ "default:copper_ingot", "default:copper_ingot", "default:copper_ingot" },
|
||||
{ "default:copper_ingot", "technic:iron_chest", "default:copper_ingot" },
|
||||
{ "default:copper_ingot", "default:copper_ingot", "default:copper_ingot" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:copper_locked_chest 1',
|
||||
recipe = {
|
||||
{ 'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot' },
|
||||
{ 'default:copper_ingot', 'technic:iron_locked_chest', 'default:copper_ingot' },
|
||||
{ 'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot' },
|
||||
{ "default:copper_ingot", "default:copper_ingot", "default:copper_ingot" },
|
||||
{ "default:copper_ingot", "technic:iron_locked_chest", "default:copper_ingot" },
|
||||
{ "default:copper_ingot", "default:copper_ingot", "default:copper_ingot" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:copper_locked_chest 1',
|
||||
recipe = {
|
||||
{ 'default:steel_ingot' },
|
||||
{ 'technic:copper_chest' },
|
||||
{ "default:steel_ingot" },
|
||||
{ "technic:copper_chest" },
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -1,36 +1,36 @@
|
||||
local material_list
|
||||
if minetest.get_modpath("moreores") then
|
||||
material_list = { 'silver' }
|
||||
material_list = { "silver" }
|
||||
else
|
||||
-- Make the gold chest obtainable for mere mortals (the silver chest is not obtainable)
|
||||
material_list = { 'copper', 'silver' }
|
||||
material_list = { "copper", "silver" }
|
||||
end
|
||||
|
||||
for _, material in ipairs(material_list) do
|
||||
minetest.register_craft({
|
||||
output = 'technic:gold_chest',
|
||||
output = "technic:gold_chest",
|
||||
recipe = {
|
||||
{ 'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot' },
|
||||
{ 'default:gold_ingot', "technic:"..material.."_chest", 'default:gold_ingot' },
|
||||
{ 'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot' },
|
||||
{ "default:gold_ingot", "default:gold_ingot", "default:gold_ingot" },
|
||||
{ "default:gold_ingot", "technic:"..material.."_chest", "default:gold_ingot" },
|
||||
{ "default:gold_ingot", "default:gold_ingot", "default:gold_ingot" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:gold_locked_chest',
|
||||
output = "technic:gold_locked_chest",
|
||||
recipe = {
|
||||
{ 'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot' },
|
||||
{ 'default:gold_ingot', "technic:"..material.."_locked_chest", 'default:gold_ingot' },
|
||||
{ 'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot' },
|
||||
{ "default:gold_ingot", "default:gold_ingot", "default:gold_ingot" },
|
||||
{ "default:gold_ingot", "technic:"..material.."_locked_chest", "default:gold_ingot" },
|
||||
{ "default:gold_ingot", "default:gold_ingot", "default:gold_ingot" },
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:gold_locked_chest',
|
||||
output = "technic:gold_locked_chest",
|
||||
recipe = {
|
||||
{ 'default:steel_ingot' },
|
||||
{ 'technic:gold_chest' },
|
||||
{ "default:steel_ingot" },
|
||||
{ "technic:gold_chest" },
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -9,7 +9,7 @@ minetest.register_craft({
|
||||
output = 'technic:iron_chest 1',
|
||||
recipe = {
|
||||
{ cast_iron_ingot, cast_iron_ingot, cast_iron_ingot },
|
||||
{ cast_iron_ingot, 'default:chest', cast_iron_ingot },
|
||||
{ cast_iron_ingot, "default:chest", cast_iron_ingot },
|
||||
{ cast_iron_ingot, cast_iron_ingot, cast_iron_ingot },
|
||||
}
|
||||
})
|
||||
@ -18,7 +18,7 @@ minetest.register_craft({
|
||||
output = 'technic:iron_locked_chest 1',
|
||||
recipe = {
|
||||
{ cast_iron_ingot, cast_iron_ingot, cast_iron_ingot },
|
||||
{ cast_iron_ingot, 'default:chest_locked', cast_iron_ingot },
|
||||
{ cast_iron_ingot, "default:chest_locked", cast_iron_ingot },
|
||||
{ cast_iron_ingot, cast_iron_ingot, cast_iron_ingot },
|
||||
}
|
||||
})
|
||||
@ -26,8 +26,8 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
output = 'technic:iron_locked_chest 1',
|
||||
recipe = {
|
||||
{ 'default:steel_ingot' },
|
||||
{ 'technic:iron_chest' },
|
||||
{ "default:steel_ingot" },
|
||||
{ "technic:iron_chest" },
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -2,18 +2,18 @@ if minetest.get_modpath("moreores") then
|
||||
minetest.register_craft({
|
||||
output = 'technic:mithril_chest 1',
|
||||
recipe = {
|
||||
{ 'moreores:mithril_ingot', 'moreores:mithril_ingot', 'moreores:mithril_ingot' },
|
||||
{ 'moreores:mithril_ingot', 'technic:gold_chest', 'moreores:mithril_ingot' },
|
||||
{ 'moreores:mithril_ingot', 'moreores:mithril_ingot', 'moreores:mithril_ingot' },
|
||||
{ "moreores:mithril_ingot", "moreores:mithril_ingot", "moreores:mithril_ingot" },
|
||||
{ "moreores:mithril_ingot", "technic:gold_chest", "moreores:mithril_ingot" },
|
||||
{ "moreores:mithril_ingot", "moreores:mithril_ingot", "moreores:mithril_ingot" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:mithril_locked_chest 1',
|
||||
recipe = {
|
||||
{ 'moreores:mithril_ingot', 'moreores:mithril_ingot', 'moreores:mithril_ingot' },
|
||||
{ 'moreores:mithril_ingot', 'technic:gold_locked_chest', 'moreores:mithril_ingot' },
|
||||
{ 'moreores:mithril_ingot', 'moreores:mithril_ingot', 'moreores:mithril_ingot' },
|
||||
{ "moreores:mithril_ingot", "moreores:mithril_ingot", "moreores:mithril_ingot" },
|
||||
{ "moreores:mithril_ingot", "technic:gold_locked_chest", "moreores:mithril_ingot" },
|
||||
{ "moreores:mithril_ingot", "moreores:mithril_ingot", "moreores:mithril_ingot" },
|
||||
}
|
||||
})
|
||||
end
|
||||
@ -21,8 +21,8 @@ end
|
||||
minetest.register_craft({
|
||||
output = 'technic:mithril_locked_chest 1',
|
||||
recipe = {
|
||||
{ 'default:steel_ingot' },
|
||||
{ 'technic:mithril_chest' },
|
||||
{ "default:steel_ingot" },
|
||||
{ "technic:mithril_chest" },
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -1,28 +1,28 @@
|
||||
if minetest.get_modpath("moreores") then
|
||||
minetest.register_craft({
|
||||
output = 'technic:silver_chest',
|
||||
output = "technic:silver_chest",
|
||||
recipe = {
|
||||
{ 'moreores:silver_ingot', 'moreores:silver_ingot', 'moreores:silver_ingot' },
|
||||
{ 'moreores:silver_ingot', 'technic:copper_chest', 'moreores:silver_ingot' },
|
||||
{ 'moreores:silver_ingot', 'moreores:silver_ingot', 'moreores:silver_ingot' },
|
||||
{ "moreores:silver_ingot", "moreores:silver_ingot", "moreores:silver_ingot" },
|
||||
{ "moreores:silver_ingot", "technic:copper_chest", "moreores:silver_ingot" },
|
||||
{ "moreores:silver_ingot", "moreores:silver_ingot", "moreores:silver_ingot" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:silver_locked_chest',
|
||||
output = "technic:silver_locked_chest",
|
||||
recipe = {
|
||||
{ 'moreores:silver_ingot', 'moreores:silver_ingot', 'moreores:silver_ingot' },
|
||||
{ 'moreores:silver_ingot', 'technic:copper_locked_chest', 'moreores:silver_ingot' },
|
||||
{ 'moreores:silver_ingot', 'moreores:silver_ingot', 'moreores:silver_ingot' },
|
||||
{ "moreores:silver_ingot", "moreores:silver_ingot", "moreores:silver_ingot" },
|
||||
{ "moreores:silver_ingot", "technic:copper_locked_chest", "moreores:silver_ingot" },
|
||||
{ "moreores:silver_ingot", "moreores:silver_ingot", "moreores:silver_ingot" },
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:silver_locked_chest',
|
||||
output = "technic:silver_locked_chest",
|
||||
recipe = {
|
||||
{ 'default:steel_ingot' },
|
||||
{ 'technic:silver_chest' },
|
||||
{ "default:steel_ingot" },
|
||||
{ "technic:silver_chest" },
|
||||
}
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user