Replace ' with "

Used regex: '([a-zA-Z:_1-9-]*)'
Applied on *.lua
This commit is contained in:
Thomas--S 2017-03-29 16:59:00 +02:00
parent 7851a45f88
commit 4b66e9f447
56 changed files with 353 additions and 353 deletions

View File

@ -26,43 +26,43 @@ end
minetest.register_craft({ minetest.register_craft({
output = 'technic:rebar 6', output = 'technic:rebar 6',
recipe = { recipe = {
{ '', '', steel_ingot }, { "", "", steel_ingot },
{ '', steel_ingot, '' }, { "", steel_ingot, "" },
{ steel_ingot, '', '' }, { steel_ingot, "", "" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:concrete 5', output = 'technic:concrete 5',
recipe = { recipe = {
{ 'default:stone', 'technic:rebar', 'default:stone' }, { "default:stone", "technic:rebar", "default:stone" },
{ 'technic:rebar', 'default:stone', 'technic:rebar' }, { "technic:rebar", "default:stone", "technic:rebar" },
{ 'default:stone', 'technic:rebar', 'default:stone' }, { "default:stone", "technic:rebar", "default:stone" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:concrete_post_platform 6', output = 'technic:concrete_post_platform 6',
recipe = { recipe = {
{ 'technic:concrete', 'technic:concrete_post', 'technic:concrete' }, { "technic:concrete", "technic:concrete_post", "technic:concrete" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:concrete_post 12', output = 'technic:concrete_post 12',
recipe = { recipe = {
{ 'default:stone', 'technic:rebar', 'default:stone' }, { "default:stone", "technic:rebar", "default:stone" },
{ 'default:stone', 'technic:rebar', 'default:stone' }, { "default:stone", "technic:rebar", "default:stone" },
{ 'default:stone', 'technic:rebar', 'default:stone' }, { "default:stone", "technic:rebar", "default:stone" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:blast_resistant_concrete 5', output = 'technic:blast_resistant_concrete 5',
recipe = { recipe = {
{ 'technic:concrete', 'technic:composite_plate', 'technic:concrete' }, { "technic:concrete", "technic:composite_plate", "technic:concrete" },
{ 'technic:composite_plate', 'technic:concrete', 'technic:composite_plate' }, { "technic:composite_plate", "technic:concrete", "technic:composite_plate" },
{ 'technic:concrete', 'technic:composite_plate', 'technic:concrete' }, { "technic:concrete", "technic:composite_plate", "technic:concrete" },
} }
}) })

View File

@ -4,153 +4,153 @@ local mesecons_materials = minetest.get_modpath("mesecons_materials")
-- tubes crafting recipes -- tubes crafting recipes
minetest.register_craft({ minetest.register_craft({
output = 'pipeworks:accelerator_tube_1', output = "pipeworks:accelerator_tube_1",
recipe = { recipe = {
{ 'technic:copper_coil', 'pipeworks:tube_1', 'technic:copper_coil' }, { "technic:copper_coil", "pipeworks:tube_1", "technic:copper_coil" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'pipeworks:teleport_tube_1', output = "pipeworks:teleport_tube_1",
recipe = { recipe = {
{ 'default:mese_crystal', 'technic:copper_coil', 'default:mese_crystal' }, { "default:mese_crystal", "technic:copper_coil", "default:mese_crystal" },
{ 'pipeworks:tube_1', 'technic:control_logic_unit', 'pipeworks:tube_1' }, { "pipeworks:tube_1", "technic:control_logic_unit", "pipeworks:tube_1" },
{ 'default:mese_crystal', 'technic:copper_coil', 'default:mese_crystal' }, { "default:mese_crystal", "technic:copper_coil", "default:mese_crystal" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:diamond_drill_head', output = "technic:diamond_drill_head",
recipe = { recipe = {
{ 'technic:stainless_steel_ingot', 'default:diamond', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "default:diamond", "technic:stainless_steel_ingot" },
{ 'default:diamond', '', 'default:diamond' }, { "default:diamond", "", "default:diamond" },
{ 'technic:stainless_steel_ingot', 'default:diamond', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "default:diamond", "technic:stainless_steel_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:green_energy_crystal', output = "technic:green_energy_crystal",
recipe = { recipe = {
{ 'default:gold_ingot', 'technic:battery', 'dye:green' }, { "default:gold_ingot", "technic:battery", "dye:green" },
{ 'technic:battery', 'technic:red_energy_crystal', 'technic:battery' }, { "technic:battery", "technic:red_energy_crystal", "technic:battery" },
{ 'dye:green', 'technic:battery', 'default:gold_ingot' }, { "dye:green", "technic:battery", "default:gold_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:blue_energy_crystal', output = "technic:blue_energy_crystal",
recipe = { recipe = {
{ 'moreores:mithril_ingot', 'technic:battery', 'dye:blue' }, { "moreores:mithril_ingot", "technic:battery", "dye:blue" },
{ 'technic:battery', 'technic:green_energy_crystal', 'technic:battery' }, { "technic:battery", "technic:green_energy_crystal", "technic:battery" },
{ 'dye:blue', 'technic:battery', 'moreores:mithril_ingot' }, { "dye:blue", "technic:battery", "moreores:mithril_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:red_energy_crystal', output = "technic:red_energy_crystal",
recipe = { recipe = {
{ 'moreores:silver_ingot', 'technic:battery', 'dye:red' }, { "moreores:silver_ingot", "technic:battery", "dye:red" },
{ 'technic:battery', 'default:diamondblock', 'technic:battery' }, { "technic:battery", "default:diamondblock", "technic:battery" },
{ 'dye:red', 'technic:battery', 'moreores:silver_ingot' }, { "dye:red", "technic:battery", "moreores:silver_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:fine_copper_wire 2', output = 'technic:fine_copper_wire 2',
recipe = { recipe = {
{ '', 'default:copper_ingot', '' }, { "", "default:copper_ingot", "" },
{ '', 'default:copper_ingot', '' }, { "", "default:copper_ingot", "" },
{ '', 'default:copper_ingot', '' }, { "", "default:copper_ingot", "" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:fine_gold_wire 2', output = 'technic:fine_gold_wire 2',
recipe = { recipe = {
{ '', 'default:gold_ingot', '' }, { "", "default:gold_ingot", "" },
{ '', 'default:gold_ingot', '' }, { "", "default:gold_ingot", "" },
{ '', 'default:gold_ingot', '' }, { "", "default:gold_ingot", "" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:fine_silver_wire 2', output = 'technic:fine_silver_wire 2',
recipe = { recipe = {
{ '', 'moreores:silver_ingot', '' }, { "", "moreores:silver_ingot", "" },
{ '', 'moreores:silver_ingot', '' }, { "", "moreores:silver_ingot", "" },
{ '', 'moreores:silver_ingot', '' }, { "", "moreores:silver_ingot", "" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:copper_coil 1', output = 'technic:copper_coil 1',
recipe = { recipe = {
{ 'technic:fine_copper_wire', 'technic:wrought_iron_ingot', 'technic:fine_copper_wire' }, { "technic:fine_copper_wire", "technic:wrought_iron_ingot", "technic:fine_copper_wire" },
{ 'technic:wrought_iron_ingot', '', 'technic:wrought_iron_ingot' }, { "technic:wrought_iron_ingot", "", "technic:wrought_iron_ingot" },
{ 'technic:fine_copper_wire', 'technic:wrought_iron_ingot', 'technic:fine_copper_wire' }, { "technic:fine_copper_wire", "technic:wrought_iron_ingot", "technic:fine_copper_wire" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:motor', output = "technic:motor",
recipe = { recipe = {
{ 'technic:carbon_steel_ingot', 'technic:copper_coil', 'technic:carbon_steel_ingot' }, { "technic:carbon_steel_ingot", "technic:copper_coil", "technic:carbon_steel_ingot" },
{ 'technic:carbon_steel_ingot', 'technic:copper_coil', 'technic:carbon_steel_ingot' }, { "technic:carbon_steel_ingot", "technic:copper_coil", "technic:carbon_steel_ingot" },
{ 'technic:carbon_steel_ingot', 'default:copper_ingot', 'technic:carbon_steel_ingot' }, { "technic:carbon_steel_ingot", "default:copper_ingot", "technic:carbon_steel_ingot" },
} }
}) })
local isolation = mesecons_materials and "mesecons_materials:fiber" or "technic:rubber" local isolation = mesecons_materials and "mesecons_materials:fiber" or "technic:rubber"
minetest.register_craft({ minetest.register_craft({
output = 'technic:lv_transformer', output = "technic:lv_transformer",
recipe = { recipe = {
{ isolation, 'technic:wrought_iron_ingot', isolation }, { isolation, "technic:wrought_iron_ingot", isolation },
{ 'technic:copper_coil', 'technic:wrought_iron_ingot', 'technic:copper_coil' }, { "technic:copper_coil", "technic:wrought_iron_ingot", "technic:copper_coil" },
{ 'technic:wrought_iron_ingot', 'technic:wrought_iron_ingot', 'technic:wrought_iron_ingot' }, { "technic:wrought_iron_ingot", "technic:wrought_iron_ingot", "technic:wrought_iron_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:mv_transformer', output = "technic:mv_transformer",
recipe = { recipe = {
{ isolation, 'technic:carbon_steel_ingot', isolation }, { isolation, "technic:carbon_steel_ingot", isolation },
{ 'technic:copper_coil', 'technic:carbon_steel_ingot', 'technic:copper_coil' }, { "technic:copper_coil", "technic:carbon_steel_ingot", "technic:copper_coil" },
{ 'technic:carbon_steel_ingot', 'technic:carbon_steel_ingot', 'technic:carbon_steel_ingot' }, { "technic:carbon_steel_ingot", "technic:carbon_steel_ingot", "technic:carbon_steel_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:hv_transformer', output = "technic:hv_transformer",
recipe = { recipe = {
{ isolation, 'technic:stainless_steel_ingot', isolation }, { isolation, "technic:stainless_steel_ingot", isolation },
{ 'technic:copper_coil', 'technic:stainless_steel_ingot', 'technic:copper_coil' }, { "technic:copper_coil", "technic:stainless_steel_ingot", "technic:copper_coil" },
{ 'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:stainless_steel_ingot", "technic:stainless_steel_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:control_logic_unit', output = "technic:control_logic_unit",
recipe = { recipe = {
{ '', 'technic:fine_gold_wire', '' }, { "", "technic:fine_gold_wire", "" },
{ 'default:copper_ingot', 'technic:silicon_wafer', 'default:copper_ingot' }, { "default:copper_ingot", "technic:silicon_wafer", "default:copper_ingot" },
{ '', 'technic:chromium_ingot', '' }, { "", "technic:chromium_ingot", "" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:mixed_metal_ingot 9', output = 'technic:mixed_metal_ingot 9',
recipe = { recipe = {
{ 'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:stainless_steel_ingot", "technic:stainless_steel_ingot" },
{ 'default:bronze_ingot', 'default:bronze_ingot', 'default:bronze_ingot' }, { "default:bronze_ingot", "default:bronze_ingot", "default:bronze_ingot" },
{ 'moreores:tin_ingot', 'moreores:tin_ingot', 'moreores:tin_ingot' }, { "moreores:tin_ingot", "moreores:tin_ingot", "moreores:tin_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:carbon_cloth', output = "technic:carbon_cloth",
recipe = { recipe = {
{ 'technic:graphite', 'technic:graphite', 'technic:graphite' } { "technic:graphite", "technic:graphite", "technic:graphite" }
} }
}) })

View File

@ -3,8 +3,8 @@ minetest.register_craft({
output = 'technic:hv_battery_box0', output = 'technic:hv_battery_box0',
recipe = { recipe = {
{ 'technic:mv_battery_box0', 'technic:mv_battery_box0', 'technic:mv_battery_box0' }, { 'technic:mv_battery_box0', 'technic:mv_battery_box0', 'technic:mv_battery_box0' },
{ 'technic:mv_battery_box0', 'technic:hv_transformer', 'technic:mv_battery_box0' }, { 'technic:mv_battery_box0', "technic:hv_transformer", 'technic:mv_battery_box0' },
{ '', 'technic:hv_cable', '' }, { "", "technic:hv_cable", "" },
} }
}) })

View File

@ -1,9 +1,9 @@
minetest.register_craft({ minetest.register_craft({
output = 'technic:hv_cable 3', output = 'technic:hv_cable 3',
recipe = { recipe = {
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' }, { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ 'technic:mv_cable', 'technic:mv_cable', 'technic:mv_cable' }, { "technic:mv_cable", "technic:mv_cable", "technic:mv_cable" },
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' }, { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
} }
}) })

View File

@ -243,7 +243,7 @@ minetest.register_node("technic:forcefield", {
paramtype = "light", paramtype = "light",
light_source = LIGHT_MAX, light_source = LIGHT_MAX,
diggable = false, diggable = false,
drop = '', drop = "",
tiles = { tiles = {
{ {
name = "technic_forcefield_animated.png", name = "technic_forcefield_animated.png",

View File

@ -1,11 +1,11 @@
minetest.register_alias("hv_generator", "technic:hv_generator") minetest.register_alias("hv_generator", "technic:hv_generator")
minetest.register_craft({ minetest.register_craft({
output = 'technic:hv_generator', output = "technic:hv_generator",
recipe = { recipe = {
{ 'technic:carbon_plate', 'technic:mv_generator', 'technic:composite_plate' }, { "technic:carbon_plate", "technic:mv_generator", "technic:composite_plate" },
{ 'pipeworks:tube_1', 'technic:hv_transformer', 'pipeworks:tube_1' }, { "pipeworks:tube_1", "technic:hv_transformer", "pipeworks:tube_1" },
{ 'technic:stainless_steel_ingot', 'technic:hv_cable', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:hv_cable", "technic:stainless_steel_ingot" },
} }
}) })

View File

@ -20,11 +20,11 @@ local reactor_desc = S("@1 Nuclear Reactor Core", S("HV")),
-- FIXME: Recipe should make more sense like a rod recepticle, steam chamber, HV generator? -- FIXME: Recipe should make more sense like a rod recepticle, steam chamber, HV generator?
minetest.register_craft({ minetest.register_craft({
output = 'technic:hv_nuclear_reactor_core', output = "technic:hv_nuclear_reactor_core",
recipe = { recipe = {
{ 'technic:carbon_plate', 'default:obsidian_glass', 'technic:carbon_plate' }, { "technic:carbon_plate", "default:obsidian_glass", "technic:carbon_plate" },
{ 'technic:composite_plate', 'technic:machine_casing', 'technic:composite_plate' }, { "technic:composite_plate", "technic:machine_casing", "technic:composite_plate" },
{ 'technic:stainless_steel_ingot', 'technic:hv_cable', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:hv_cable", "technic:stainless_steel_ingot" },
} }
}) })

View File

@ -4,9 +4,9 @@
minetest.register_craft({ minetest.register_craft({
output = 'technic:solar_array_hv 1', output = 'technic:solar_array_hv 1',
recipe = { recipe = {
{ 'technic:solar_array_mv', 'technic:solar_array_mv', 'technic:solar_array_mv' }, { "technic:solar_array_mv", "technic:solar_array_mv", "technic:solar_array_mv" },
{ 'technic:carbon_plate', 'technic:hv_transformer', 'technic:composite_plate' }, { "technic:carbon_plate", "technic:hv_transformer", "technic:composite_plate" },
{ '', 'technic:hv_cable', '' }, { "", "technic:hv_cable", "" },
} }
}) })

View File

@ -2,11 +2,11 @@
-- FIXME: kpoppel: I'd like to introduce an induction heating element here... -- FIXME: kpoppel: I'd like to introduce an induction heating element here...
minetest.register_craft({ minetest.register_craft({
output = 'technic:lv_alloy_furnace', output = "technic:lv_alloy_furnace",
recipe = { recipe = {
{ 'default:brick', 'default:brick', 'default:brick' }, { "default:brick", "default:brick", "default:brick" },
{ 'default:brick', 'technic:machine_casing', 'default:brick' }, { "default:brick", "technic:machine_casing", "default:brick" },
{ 'default:brick', 'technic:lv_cable', 'default:brick' }, { "default:brick", "technic:lv_cable", "default:brick" },
} }
}) })

View File

@ -1,9 +1,9 @@
minetest.register_craft({ minetest.register_craft({
output = 'technic:lv_battery_box0', output = 'technic:lv_battery_box0',
recipe = { recipe = {
{ 'group:wood', 'group:wood', 'group:wood' }, { "group:wood", "group:wood", "group:wood" },
{ 'technic:battery', 'technic:machine_casing', 'technic:battery' }, { "technic:battery", "technic:machine_casing", "technic:battery" },
{ 'technic:battery', 'technic:lv_cable', 'technic:battery' }, { "technic:battery", "technic:lv_cable", "technic:battery" },
} }
}) })

View File

@ -3,9 +3,9 @@ minetest.register_alias("lv_cable", "technic:lv_cable")
minetest.register_craft({ minetest.register_craft({
output = 'technic:lv_cable 6', output = 'technic:lv_cable 6',
recipe = { recipe = {
{ 'default:paper', 'default:paper', 'default:paper' }, { "default:paper", "default:paper", "default:paper" },
{ 'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot' }, { "default:copper_ingot", "default:copper_ingot", "default:copper_ingot" },
{ 'default:paper', 'default:paper', 'default:paper' }, { "default:paper", "default:paper", "default:paper" },
} }
}) })

View File

@ -11,11 +11,11 @@ local S = technic.getter
minetest.register_craft({ minetest.register_craft({
output = 'technic:cnc', output = "technic:cnc",
recipe = { recipe = {
{ 'default:glass', 'technic:diamond_drill_head', 'default:glass' }, { "default:glass", "technic:diamond_drill_head", "default:glass" },
{ 'technic:control_logic_unit', 'technic:machine_casing', 'technic:motor' }, { "technic:control_logic_unit", "technic:machine_casing", "technic:motor" },
{ 'technic:carbon_steel_ingot', 'technic:lv_cable', 'technic:carbon_steel_ingot' }, { "technic:carbon_steel_ingot", "technic:lv_cable", "technic:carbon_steel_ingot" },
}, },
}) })

View File

@ -1,11 +1,11 @@
minetest.register_alias("compressor", "technic:lv_compressor") minetest.register_alias("compressor", "technic:lv_compressor")
minetest.register_craft({ minetest.register_craft({
output = 'technic:lv_compressor', output = "technic:lv_compressor",
recipe = { recipe = {
{ 'default:stone', 'technic:motor', 'default:stone' }, { "default:stone", "technic:motor", "default:stone" },
{ 'mesecons:piston', 'technic:machine_casing', 'mesecons:piston' }, { "mesecons:piston", "technic:machine_casing", "mesecons:piston" },
{ 'technic:fine_silver_wire', 'technic:lv_cable', 'technic:fine_silver_wire' }, { "technic:fine_silver_wire", "technic:lv_cable", "technic:fine_silver_wire" },
} }
}) })

View File

@ -3,11 +3,11 @@
-- FIXME: kpoppel I'd like to introduce an induction heating element here also -- FIXME: kpoppel I'd like to introduce an induction heating element here also
minetest.register_craft({ minetest.register_craft({
output = 'technic:electric_furnace', output = "technic:electric_furnace",
recipe = { recipe = {
{ 'default:cobble', 'default:cobble', 'default:cobble' }, { "default:cobble", "default:cobble", "default:cobble" },
{ 'default:cobble', 'technic:machine_casing', 'default:cobble' }, { "default:cobble", "technic:machine_casing", "default:cobble" },
{ 'default:cobble', 'technic:lv_cable', 'default:cobble' }, { "default:cobble", "technic:lv_cable", "default:cobble" },
} }
}) })

View File

@ -1,11 +1,11 @@
minetest.register_alias("extractor", "technic:lv_extractor") minetest.register_alias("extractor", "technic:lv_extractor")
minetest.register_craft({ minetest.register_craft({
output = 'technic:lv_extractor', output = "technic:lv_extractor",
recipe = { recipe = {
{ 'technic:treetap', 'technic:motor', 'technic:treetap' }, { "technic:treetap", "technic:motor", "technic:treetap" },
{ 'technic:treetap', 'technic:machine_casing', 'technic:treetap' }, { "technic:treetap", "technic:machine_casing", "technic:treetap" },
{ '', 'technic:lv_cable', '' }, { "", "technic:lv_cable", "" },
} }
}) })

View File

@ -6,11 +6,11 @@
minetest.register_alias("lv_generator", "technic:lv_generator") minetest.register_alias("lv_generator", "technic:lv_generator")
minetest.register_craft({ minetest.register_craft({
output = 'technic:lv_generator', output = "technic:lv_generator",
recipe = { recipe = {
{ 'default:stone', 'default:furnace', 'default:stone' }, { "default:stone", "default:furnace", "default:stone" },
{ 'default:stone', 'technic:machine_casing', 'default:stone' }, { "default:stone", "technic:machine_casing", "default:stone" },
{ 'default:stone', 'technic:lv_cable', 'default:stone' }, { "default:stone", "technic:lv_cable", "default:stone" },
} }
}) })

View File

@ -8,11 +8,11 @@ minetest.register_alias("geothermal", "technic:geothermal")
local S = technic.getter local S = technic.getter
minetest.register_craft({ minetest.register_craft({
output = 'technic:geothermal', output = "technic:geothermal",
recipe = { recipe = {
{ 'technic:granite', 'default:diamond', 'technic:granite' }, { "technic:granite", "default:diamond", "technic:granite" },
{ 'technic:fine_copper_wire', 'technic:machine_casing', 'technic:fine_copper_wire' }, { "technic:fine_copper_wire", "technic:machine_casing", "technic:fine_copper_wire" },
{ 'technic:granite', 'technic:lv_cable', 'technic:granite' }, { "technic:granite", "technic:lv_cable", "technic:granite" },
} }
}) })

View File

@ -1,10 +1,10 @@
minetest.register_alias("grinder", "technic:lv_grinder") minetest.register_alias("grinder", "technic:lv_grinder")
minetest.register_craft({ minetest.register_craft({
output = 'technic:lv_grinder', output = "technic:lv_grinder",
recipe = { recipe = {
{ 'default:desert_stone', 'default:diamond', 'default:desert_stone' }, { "default:desert_stone", "default:diamond", "default:desert_stone" },
{ 'default:desert_stone', 'technic:machine_casing', 'default:desert_stone' }, { "default:desert_stone", "technic:machine_casing", "default:desert_stone" },
{ 'technic:granite', 'technic:lv_cable', 'technic:granite' }, { "technic:granite", "technic:lv_cable", "technic:granite" },
} }
}) })

View File

@ -5,11 +5,11 @@ local S = technic.getter
minetest.register_alias("music_player", "technic:music_player") minetest.register_alias("music_player", "technic:music_player")
minetest.register_craft({ minetest.register_craft({
output = 'technic:music_player', output = "technic:music_player",
recipe = { recipe = {
{ 'technic:chromium_ingot', 'default:diamond', 'technic:chromium_ingot' }, { "technic:chromium_ingot", "default:diamond", "technic:chromium_ingot" },
{ 'default:diamond', 'technic:machine_casing', 'default:diamond' }, { "default:diamond", "technic:machine_casing", "default:diamond" },
{ 'default:mossycobble', 'technic:lv_cable', 'default:mossycobble' }, { "default:mossycobble", "technic:lv_cable", "default:mossycobble" },
} }
}) })

View File

@ -8,9 +8,9 @@
minetest.register_craft({ minetest.register_craft({
output = 'technic:solar_array_lv 1', output = 'technic:solar_array_lv 1',
recipe = { recipe = {
{ 'technic:solar_panel', 'technic:solar_panel', 'technic:solar_panel' }, { "technic:solar_panel", "technic:solar_panel", "technic:solar_panel" },
{ 'technic:carbon_steel_ingot', 'technic:lv_transformer', 'technic:carbon_steel_ingot' }, { "technic:carbon_steel_ingot", "technic:lv_transformer", "technic:carbon_steel_ingot" },
{ '', 'technic:lv_cable', '' }, { "", "technic:lv_cable", "" },
} }
}) })

View File

@ -6,10 +6,10 @@ local S = technic.getter
minetest.register_craft({ minetest.register_craft({
output = 'technic:solar_panel', output = "technic:solar_panel",
recipe = { recipe = {
{ 'technic:doped_silicon_wafer', 'technic:doped_silicon_wafer', 'technic:doped_silicon_wafer' }, { "technic:doped_silicon_wafer", "technic:doped_silicon_wafer", "technic:doped_silicon_wafer" },
{ 'technic:fine_silver_wire', 'technic:lv_cable', 'mesecons_materials:glue' }, { "technic:fine_silver_wire", "technic:lv_cable", "mesecons_materials:glue" },
} }
}) })

View File

@ -7,11 +7,11 @@ local S = technic.getter
minetest.register_alias("water_mill", "technic:water_mill") minetest.register_alias("water_mill", "technic:water_mill")
minetest.register_craft({ minetest.register_craft({
output = 'technic:water_mill', output = "technic:water_mill",
recipe = { recipe = {
{ 'technic:marble', 'default:diamond', 'technic:marble' }, { "technic:marble", "default:diamond", "technic:marble" },
{ 'group:wood', 'technic:machine_casing', 'group:wood' }, { "group:wood", "technic:machine_casing", "group:wood" },
{ 'technic:marble', 'technic:lv_cable', 'technic:marble' }, { "technic:marble", "technic:lv_cable", "technic:marble" },
} }
}) })

View File

@ -1,11 +1,11 @@
-- MV alloy furnace -- MV alloy furnace
minetest.register_craft({ minetest.register_craft({
output = 'technic:mv_alloy_furnace', output = "technic:mv_alloy_furnace",
recipe = { recipe = {
{ 'technic:stainless_steel_ingot', 'technic:lv_alloy_furnace', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:lv_alloy_furnace", "technic:stainless_steel_ingot" },
{ 'pipeworks:tube_1', 'technic:mv_transformer', 'pipeworks:tube_1' }, { "pipeworks:tube_1", "technic:mv_transformer", "pipeworks:tube_1" },
{ 'technic:stainless_steel_ingot', 'technic:mv_cable', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:mv_cable", "technic:stainless_steel_ingot" },
} }
}) })

View File

@ -4,8 +4,8 @@ minetest.register_craft({
output = 'technic:mv_battery_box0', output = 'technic:mv_battery_box0',
recipe = { recipe = {
{ 'technic:lv_battery_box0', 'technic:lv_battery_box0', 'technic:lv_battery_box0' }, { 'technic:lv_battery_box0', 'technic:lv_battery_box0', 'technic:lv_battery_box0' },
{ 'technic:lv_battery_box0', 'technic:mv_transformer', 'technic:lv_battery_box0' }, { 'technic:lv_battery_box0', "technic:mv_transformer", 'technic:lv_battery_box0' },
{ '', 'technic:mv_cable', '' }, { "", "technic:mv_cable", "" },
} }
}) })

View File

@ -3,9 +3,9 @@ minetest.register_alias("mv_cable", "technic:mv_cable")
minetest.register_craft({ minetest.register_craft({
output = 'technic:mv_cable 3', output = 'technic:mv_cable 3',
recipe = { recipe = {
{ 'technic:rubber', 'technic:rubber', 'technic:rubber' }, { "technic:rubber", "technic:rubber", "technic:rubber" },
{ 'technic:lv_cable', 'technic:lv_cable', 'technic:lv_cable' }, { "technic:lv_cable", "technic:lv_cable", "technic:lv_cable" },
{ 'technic:rubber', 'technic:rubber', 'technic:rubber' }, { "technic:rubber", "technic:rubber", "technic:rubber" },
} }
}) })

View File

@ -1,11 +1,11 @@
-- MV compressor -- MV compressor
minetest.register_craft({ minetest.register_craft({
output = 'technic:mv_compressor', output = "technic:mv_compressor",
recipe = { recipe = {
{ 'technic:stainless_steel_ingot', 'technic:lv_compressor', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:lv_compressor", "technic:stainless_steel_ingot" },
{ 'pipeworks:tube_1', 'technic:mv_transformer', 'pipeworks:tube_1' }, { "pipeworks:tube_1", "technic:mv_transformer", "pipeworks:tube_1" },
{ 'technic:stainless_steel_ingot', 'technic:mv_cable', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:mv_cable", "technic:stainless_steel_ingot" },
} }
}) })

View File

@ -6,11 +6,11 @@
-- FIXME: kpoppel I'd like to introduce an induction heating element here also -- FIXME: kpoppel I'd like to introduce an induction heating element here also
minetest.register_craft({ minetest.register_craft({
output = 'technic:mv_electric_furnace', output = "technic:mv_electric_furnace",
recipe = { recipe = {
{ 'technic:stainless_steel_ingot', 'technic:lv_electric_furnace', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:lv_electric_furnace", "technic:stainless_steel_ingot" },
{ 'pipeworks:tube_1', 'technic:mv_transformer', 'pipeworks:tube_1' }, { "pipeworks:tube_1", "technic:mv_transformer", "pipeworks:tube_1" },
{ 'technic:stainless_steel_ingot', 'technic:mv_cable', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:mv_cable", "technic:stainless_steel_ingot" },
} }
}) })

View File

@ -1,11 +1,11 @@
-- MV extractor -- MV extractor
minetest.register_craft({ minetest.register_craft({
output = 'technic:mv_extractor', output = "technic:mv_extractor",
recipe = { recipe = {
{ 'technic:stainless_steel_ingot', 'technic:lv_extractor', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:lv_extractor", "technic:stainless_steel_ingot" },
{ 'pipeworks:tube_1', 'technic:mv_transformer', 'pipeworks:tube_1' }, { "pipeworks:tube_1", "technic:mv_transformer", "pipeworks:tube_1" },
{ 'technic:stainless_steel_ingot', 'technic:mv_cable', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:mv_cable", "technic:stainless_steel_ingot" },
} }
}) })

View File

@ -1,11 +1,11 @@
minetest.register_alias("generator_mv", "technic:generator_mv") minetest.register_alias("generator_mv", "technic:generator_mv")
minetest.register_craft({ minetest.register_craft({
output = 'technic:mv_generator', output = "technic:mv_generator",
recipe = { recipe = {
{ 'technic:stainless_steel_ingot', 'technic:lv_generator', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:lv_generator", "technic:stainless_steel_ingot" },
{ 'pipeworks:tube_1', 'technic:mv_transformer', 'pipeworks:tube_1' }, { "pipeworks:tube_1", "technic:mv_transformer", "pipeworks:tube_1" },
{ 'technic:stainless_steel_ingot', 'technic:mv_cable', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:mv_cable", "technic:stainless_steel_ingot" },
} }
}) })

View File

@ -1,11 +1,11 @@
-- MV grinder -- MV grinder
minetest.register_craft({ minetest.register_craft({
output = 'technic:mv_grinder', output = "technic:mv_grinder",
recipe = { recipe = {
{ 'technic:stainless_steel_ingot', 'technic:lv_grinder', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:lv_grinder", "technic:stainless_steel_ingot" },
{ 'pipeworks:tube_1', 'technic:mv_transformer', 'pipeworks:tube_1' }, { "pipeworks:tube_1", "technic:mv_transformer", "pipeworks:tube_1" },
{ 'technic:stainless_steel_ingot', 'technic:mv_cable', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:mv_cable", "technic:stainless_steel_ingot" },
} }
}) })

View File

@ -96,7 +96,7 @@ local technic_homedecor_rotate_and_place = function(itemstack, placer, pointed_t
end end
-- Yellow -- Half node -- Yellow -- Half node
minetest.register_node('technic:homedecor_glowlight_half_yellow', { minetest.register_node("technic:homedecor_glowlight_half_yellow", {
description = S("Yellow Glowlight (thick)"), description = S("Yellow Glowlight (thick)"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
@ -133,7 +133,7 @@ minetest.register_node('technic:homedecor_glowlight_half_yellow', {
end end
}) })
minetest.register_node('technic:homedecor_glowlight_half_yellow_active', { minetest.register_node("technic:homedecor_glowlight_half_yellow_active", {
description = S("Yellow Glowlight (thick)"), description = S("Yellow Glowlight (thick)"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
@ -173,7 +173,7 @@ minetest.register_node('technic:homedecor_glowlight_half_yellow_active', {
}) })
-- Yellow -- Quarter node -- Yellow -- Quarter node
minetest.register_node('technic:homedecor_glowlight_quarter_yellow', { minetest.register_node("technic:homedecor_glowlight_quarter_yellow", {
description = S("Yellow Glowlight (thin)"), description = S("Yellow Glowlight (thin)"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
@ -210,7 +210,7 @@ minetest.register_node('technic:homedecor_glowlight_quarter_yellow', {
end end
}) })
minetest.register_node('technic:homedecor_glowlight_quarter_yellow_active', { minetest.register_node("technic:homedecor_glowlight_quarter_yellow_active", {
description = S("Yellow Glowlight (thin)"), description = S("Yellow Glowlight (thin)"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
@ -251,7 +251,7 @@ minetest.register_node('technic:homedecor_glowlight_quarter_yellow_active', {
-- White -- half node -- White -- half node
minetest.register_node('technic:homedecor_glowlight_half_white', { minetest.register_node("technic:homedecor_glowlight_half_white", {
description = S("White Glowlight (thick)"), description = S("White Glowlight (thick)"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
@ -288,7 +288,7 @@ minetest.register_node('technic:homedecor_glowlight_half_white', {
end end
}) })
minetest.register_node('technic:homedecor_glowlight_half_white_active', { minetest.register_node("technic:homedecor_glowlight_half_white_active", {
description = S("White Glowlight (thick)"), description = S("White Glowlight (thick)"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
@ -328,7 +328,7 @@ minetest.register_node('technic:homedecor_glowlight_half_white_active', {
}) })
-- White -- Quarter node -- White -- Quarter node
minetest.register_node('technic:homedecor_glowlight_quarter_white', { minetest.register_node("technic:homedecor_glowlight_quarter_white", {
description = S("White Glowlight (thin)"), description = S("White Glowlight (thin)"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
@ -365,7 +365,7 @@ minetest.register_node('technic:homedecor_glowlight_quarter_white', {
end end
}) })
minetest.register_node('technic:homedecor_glowlight_quarter_white_active', { minetest.register_node("technic:homedecor_glowlight_quarter_white_active", {
description = S("White Glowlight (thin)"), description = S("White Glowlight (thin)"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
@ -405,7 +405,7 @@ minetest.register_node('technic:homedecor_glowlight_quarter_white_active', {
}) })
-- Glowlight "cubes" - yellow -- Glowlight "cubes" - yellow
minetest.register_node('technic:homedecor_glowlight_small_cube_yellow', { minetest.register_node("technic:homedecor_glowlight_small_cube_yellow", {
description = S("Yellow Glowlight (small cube)"), description = S("Yellow Glowlight (small cube)"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
@ -442,7 +442,7 @@ minetest.register_node('technic:homedecor_glowlight_small_cube_yellow', {
end end
}) })
minetest.register_node('technic:homedecor_glowlight_small_cube_yellow_active', { minetest.register_node("technic:homedecor_glowlight_small_cube_yellow_active", {
description = S("Yellow Glowlight (small cube)"), description = S("Yellow Glowlight (small cube)"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
@ -482,7 +482,7 @@ minetest.register_node('technic:homedecor_glowlight_small_cube_yellow_active', {
}) })
-- Glowlight "cubes" - white -- Glowlight "cubes" - white
minetest.register_node('technic:homedecor_glowlight_small_cube_white', { minetest.register_node("technic:homedecor_glowlight_small_cube_white", {
description = S("White Glowlight (small cube)"), description = S("White Glowlight (small cube)"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
@ -519,7 +519,7 @@ minetest.register_node('technic:homedecor_glowlight_small_cube_white', {
end end
}) })
minetest.register_node('technic:homedecor_glowlight_small_cube_white_active', { minetest.register_node("technic:homedecor_glowlight_small_cube_white_active", {
description = S("White Glowlight (small cube)"), description = S("White Glowlight (small cube)"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {

View File

@ -16,9 +16,9 @@ local power_radius = 12
minetest.register_craft({ minetest.register_craft({
output = 'technic:power_radiator 1', output = 'technic:power_radiator 1',
recipe = { recipe = {
{ 'technic:stainless_steel_ingot', 'technic:mv_transformer', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:mv_transformer", "technic:stainless_steel_ingot" },
{ 'technic:copper_coil', 'technic:machine_casing', 'technic:copper_coil' }, { "technic:copper_coil", "technic:machine_casing", "technic:copper_coil" },
{ 'technic:rubber', 'technic:mv_cable', 'technic:rubber' }, { "technic:rubber", "technic:mv_cable", "technic:rubber" },
} }
}) })

View File

@ -1,9 +1,9 @@
minetest.register_craft({ minetest.register_craft({
output = 'technic:solar_array_mv 1', output = 'technic:solar_array_mv 1',
recipe = { recipe = {
{ 'technic:solar_array_lv', 'technic:solar_array_lv', 'technic:solar_array_lv' }, { "technic:solar_array_lv", "technic:solar_array_lv", "technic:solar_array_lv" },
{ 'technic:carbon_steel_ingot', 'technic:mv_transformer', 'technic:carbon_steel_ingot' }, { "technic:carbon_steel_ingot", "technic:mv_transformer", "technic:carbon_steel_ingot" },
{ '', 'technic:mv_cable', '' }, { "", "technic:mv_cable", "" },
} }
}) })

View File

@ -6,11 +6,11 @@ minetest.register_alias("tool_workshop", "technic:tool_workshop")
local S = technic.getter local S = technic.getter
minetest.register_craft({ minetest.register_craft({
output = 'technic:tool_workshop', output = "technic:tool_workshop",
recipe = { recipe = {
{ 'group:wood', 'default:diamond', 'group:wood' }, { "group:wood", "default:diamond", "group:wood" },
{ 'mesecons_pistons:piston_sticky_off', 'technic:machine_casing', 'technic:carbon_cloth' }, { "mesecons_pistons:piston_sticky_off", "technic:machine_casing", "technic:carbon_cloth" },
{ 'default:obsidian', 'technic:mv_cable', 'default:obsidian' }, { "default:obsidian", "technic:mv_cable", "default:obsidian" },
} }
}) })

View File

@ -3,18 +3,18 @@ local S = technic.getter
minetest.register_craft({ minetest.register_craft({
output = 'technic:wind_mill_frame 5', output = 'technic:wind_mill_frame 5',
recipe = { recipe = {
{ 'technic:carbon_steel_ingot', '', 'technic:carbon_steel_ingot' }, { "technic:carbon_steel_ingot", "", "technic:carbon_steel_ingot" },
{ '', 'technic:carbon_steel_ingot', '' }, { "", "technic:carbon_steel_ingot", "" },
{ 'technic:carbon_steel_ingot', '', 'technic:carbon_steel_ingot' }, { "technic:carbon_steel_ingot", "", "technic:carbon_steel_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:wind_mill', output = "technic:wind_mill",
recipe = { recipe = {
{ '', 'technic:motor', '' }, { "", "technic:motor", "" },
{ 'technic:carbon_steel_ingot', 'technic:carbon_steel_block', 'technic:carbon_steel_ingot' }, { "technic:carbon_steel_ingot", "technic:carbon_steel_block", "technic:carbon_steel_ingot" },
{ '', 'technic:mv_cable', '' }, { "", "technic:mv_cable", "" },
} }
}) })

View File

@ -3,11 +3,11 @@
local S = technic.getter local S = technic.getter
minetest.register_craft({ minetest.register_craft({
output = 'technic:coal_alloy_furnace', output = "technic:coal_alloy_furnace",
recipe = { recipe = {
{ 'default:brick', 'default:brick', 'default:brick' }, { "default:brick", "default:brick", "default:brick" },
{ 'default:brick', '', 'default:brick' }, { "default:brick", "", "default:brick" },
{ 'default:brick', 'default:brick', 'default:brick' }, { "default:brick", "default:brick", "default:brick" },
} }
}) })

View File

@ -66,18 +66,18 @@ end
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = 'technic:constructor_mk1_off 1', output = 'technic:constructor_mk1_off 1',
recipe = { 'technic:nodebreaker_off', 'technic:deployer_off' }, recipe = { "technic:nodebreaker_off", "technic:deployer_off" },
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = 'technic:constructor_mk2_off 1', output = 'technic:constructor_mk2_off 1',
recipe = { 'technic:constructor_mk1_off', 'technic:constructor_mk1_off' }, recipe = { "technic:constructor_mk1_off", "technic:constructor_mk1_off" },
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = 'technic:constructor_mk3_off 1', output = 'technic:constructor_mk3_off 1',
recipe = { 'technic:constructor_mk2_off', 'technic:constructor_mk2_off' }, recipe = { "technic:constructor_mk2_off", "technic:constructor_mk2_off" },
}) })
local function make_on(mark, length) local function make_on(mark, length)

View File

@ -868,56 +868,56 @@ minetest.register_node("technic:template_motor", {
-- Crafts -- Crafts
minetest.register_craft({ minetest.register_craft({
output = 'technic:frame_111111', output = "technic:frame_111111",
recipe = { recipe = {
{ '', 'default:stick', '' }, { "", "default:stick", "" },
{ 'default:stick', 'technic:brass_ingot', 'default:stick' }, { "default:stick", "technic:brass_ingot", "default:stick" },
{ '', 'default:stick', '' }, { "", "default:stick", "" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:frame_motor', output = "technic:frame_motor",
recipe = { recipe = {
{ '', 'technic:frame_111111', '' }, { "", "technic:frame_111111", "" },
{ 'group:mesecon_conductor_craftable', 'technic:motor', 'group:mesecon_conductor_craftable' }, { "group:mesecon_conductor_craftable", "technic:motor", "group:mesecon_conductor_craftable" },
{ '', 'technic:frame_111111', '' }, { "", "technic:frame_111111", "" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:template 10', output = 'technic:template 10',
recipe = { recipe = {
{ '', 'technic:brass_ingot', '' }, { "", "technic:brass_ingot", "" },
{ 'technic:brass_ingot', 'default:mese_crystal', 'technic:brass_ingot' }, { "technic:brass_ingot", "default:mese_crystal", "technic:brass_ingot" },
{ '', 'technic:brass_ingot', '' }, { "", "technic:brass_ingot", "" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:template_replacer', output = "technic:template_replacer",
recipe = { { 'technic:template' } } recipe = { { "technic:template" } }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:template', output = "technic:template",
recipe = { { 'technic:template_replacer' } } recipe = { { "technic:template_replacer" } }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:template_motor', output = "technic:template_motor",
recipe = { recipe = {
{ '', 'technic:template', '' }, { "", "technic:template", "" },
{ 'group:mesecon_conductor_craftable', 'technic:motor', 'group:mesecon_conductor_craftable' }, { "group:mesecon_conductor_craftable", "technic:motor", "group:mesecon_conductor_craftable" },
{ '', 'technic:template', '' }, { "", "technic:template", "" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:template_tool', output = "technic:template_tool",
recipe = { recipe = {
{ '', 'technic:template', '' }, { "", "technic:template", "" },
{ 'default:mese_crystal', 'default:stick', 'default:mese_crystal' }, { "default:mese_crystal", "default:stick", "default:mese_crystal" },
{ '', 'default:stick', '' }, { "", "default:stick", "" },
} }
}) })

View File

@ -40,9 +40,9 @@ end
minetest.register_craft({ minetest.register_craft({
output = 'technic:injector 1', output = 'technic:injector 1',
recipe = { recipe = {
{ '', 'technic:control_logic_unit', '' }, { "", "technic:control_logic_unit", "" },
{ '', 'default:chest', '' }, { "", "default:chest", "" },
{ '', 'pipeworks:tube_1', '' }, { "", "pipeworks:tube_1", "" },
} }
}) })

View File

@ -6,11 +6,11 @@ technic.register_power_tool("technic:green_energy_crystal", 150000)
technic.register_power_tool("technic:blue_energy_crystal", 450000) technic.register_power_tool("technic:blue_energy_crystal", 450000)
minetest.register_craft({ minetest.register_craft({
output = 'technic:battery', output = "technic:battery",
recipe = { recipe = {
{ 'group:wood', 'default:copper_ingot', 'group:wood' }, { "group:wood", "default:copper_ingot", "group:wood" },
{ 'group:wood', 'moreores:tin_ingot', 'group:wood' }, { "group:wood", "moreores:tin_ingot", "group:wood" },
{ 'group:wood', 'default:copper_ingot', 'group:wood' }, { "group:wood", "default:copper_ingot", "group:wood" },
} }
}) })

View File

@ -22,8 +22,8 @@ local recipes = {
minetest.register_craft({ minetest.register_craft({
output = "default:sand 0", output = "default:sand 0",
recipe = { recipe = {
{ 'group:sand', 'group:sand' }, { "group:sand", "group:sand" },
{ 'group:sand', 'group:sand' } { "group:sand", "group:sand" }
}, },
}) })

View File

@ -32,7 +32,7 @@ local recipes = {
minetest.register_craft({ minetest.register_craft({
output = "default:sandstone 0", output = "default:sandstone 0",
recipe = { recipe = {
{ 'default:sandstone' } { "default:sandstone" }
}, },
}) })
@ -64,14 +64,14 @@ end
-- defuse common grinder unfriendly recipes -- defuse common grinder unfriendly recipes
if minetest.get_modpath("fake_fire") then -- from homedecor_modpack if minetest.get_modpath("fake_fire") then -- from homedecor_modpack
minetest.register_craft({ output = 'default:cobble 0', recipe = { { 'default:cobble' } } }) minetest.register_craft({ output = 'default:cobble 0', recipe = { { "default:cobble" } } })
minetest.register_craft({ output = 'default:gravel 0', recipe = { { 'default:gravel' } } }) minetest.register_craft({ output = 'default:gravel 0', recipe = { { "default:gravel" } } })
end end
-- dusts -- dusts
local function register_dust(name, ingot) local function register_dust(name, ingot)
local lname = string.lower(name) local lname = string.lower(name)
lname = string.gsub(lname, ' ', '_') lname = string.gsub(lname, ' ', "_")
minetest.register_craftitem("technic:"..lname.."_dust", { minetest.register_craftitem("technic:"..lname.."_dust", {
description = S("%s Dust"):format(S(name)), description = S("%s Dust"):format(S(name)),
inventory_image = "technic_"..lname.."_dust.png", inventory_image = "technic_"..lname.."_dust.png",

View File

@ -15,7 +15,7 @@ technic.register_compressor_recipe({ input = { sawdust.." 4" }, output = "defaul
-- tree/wood grindings -- tree/wood grindings
local function register_tree_grinding(name, tree, wood, extract, grinding_color) local function register_tree_grinding(name, tree, wood, extract, grinding_color)
local lname = string.lower(name) local lname = string.lower(name)
lname = string.gsub(lname, ' ', '_') lname = string.gsub(lname, ' ', "_")
local grindings_name = "technic:"..lname.."_grindings" local grindings_name = "technic:"..lname.."_grindings"
local inventory_image = "technic_"..lname.."_grindings.png" local inventory_image = "technic_"..lname.."_grindings.png"
if grinding_color then if grinding_color then

View File

@ -140,9 +140,9 @@ minetest.register_node("technic:supply_converter", {
minetest.register_craft({ minetest.register_craft({
output = 'technic:supply_converter 1', output = 'technic:supply_converter 1',
recipe = { recipe = {
{ 'technic:fine_gold_wire', 'technic:rubber', 'technic:doped_silicon_wafer' }, { "technic:fine_gold_wire", "technic:rubber", "technic:doped_silicon_wafer" },
{ 'technic:mv_transformer', 'technic:machine_casing', 'technic:lv_transformer' }, { "technic:mv_transformer", "technic:machine_casing", "technic:lv_transformer" },
{ 'technic:mv_cable', 'technic:rubber', 'technic:lv_cable' }, { "technic:mv_cable", "technic:rubber", "technic:lv_cable" },
} }
}) })

View File

@ -89,9 +89,9 @@ technic.register_can({
minetest.register_craft({ minetest.register_craft({
output = 'technic:water_can 1', output = 'technic:water_can 1',
recipe = { recipe = {
{ 'technic:zinc_ingot', 'technic:rubber', 'technic:zinc_ingot' }, { "technic:zinc_ingot", "technic:rubber", "technic:zinc_ingot" },
{ 'technic:carbon_steel_ingot', '', 'technic:carbon_steel_ingot' }, { "technic:carbon_steel_ingot", "", "technic:carbon_steel_ingot" },
{ 'technic:zinc_ingot', 'technic:carbon_steel_ingot', 'technic:zinc_ingot' }, { "technic:zinc_ingot", "technic:carbon_steel_ingot", "technic:zinc_ingot" },
} }
}) })
@ -107,8 +107,8 @@ technic.register_can({
minetest.register_craft({ minetest.register_craft({
output = 'technic:lava_can 1', output = 'technic:lava_can 1',
recipe = { recipe = {
{ 'technic:zinc_ingot', 'technic:stainless_steel_ingot', 'technic:zinc_ingot' }, { "technic:zinc_ingot", "technic:stainless_steel_ingot", "technic:zinc_ingot" },
{ 'technic:stainless_steel_ingot', '', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "", "technic:stainless_steel_ingot" },
{ 'technic:zinc_ingot', 'technic:stainless_steel_ingot', 'technic:zinc_ingot' }, { "technic:zinc_ingot", "technic:stainless_steel_ingot", "technic:zinc_ingot" },
} }
}) })

View File

@ -4,36 +4,36 @@ local power_usage_per_node = { 200, 500, 800 }
local S = technic.getter local S = technic.getter
minetest.register_craft({ minetest.register_craft({
output = 'technic:mining_drill', output = "technic:mining_drill",
recipe = { recipe = {
{ 'moreores:tin_ingot', 'technic:diamond_drill_head', 'moreores:tin_ingot' }, { "moreores:tin_ingot", "technic:diamond_drill_head", "moreores:tin_ingot" },
{ 'technic:stainless_steel_ingot', 'technic:motor', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:motor", "technic:stainless_steel_ingot" },
{ '', 'technic:red_energy_crystal', 'default:copper_ingot' }, { "", "technic:red_energy_crystal", "default:copper_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:mining_drill_mk2', output = "technic:mining_drill_mk2",
recipe = { recipe = {
{ 'technic:diamond_drill_head', 'technic:diamond_drill_head', 'technic:diamond_drill_head' }, { "technic:diamond_drill_head", "technic:diamond_drill_head", "technic:diamond_drill_head" },
{ 'technic:stainless_steel_ingot', 'technic:mining_drill', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:mining_drill", "technic:stainless_steel_ingot" },
{ '', 'technic:green_energy_crystal', '' }, { "", "technic:green_energy_crystal", "" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:mining_drill_mk3', output = "technic:mining_drill_mk3",
recipe = { recipe = {
{ 'technic:diamond_drill_head', 'technic:diamond_drill_head', 'technic:diamond_drill_head' }, { "technic:diamond_drill_head", "technic:diamond_drill_head", "technic:diamond_drill_head" },
{ 'technic:stainless_steel_ingot', 'technic:mining_drill_mk2', 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:mining_drill_mk2", "technic:stainless_steel_ingot" },
{ '', 'technic:blue_energy_crystal', '' }, { "", "technic:blue_energy_crystal", "" },
} }
}) })
for i = 1, 4 do for i = 1, 4 do
minetest.register_craft({ minetest.register_craft({
output = 'technic:mining_drill_mk3', output = "technic:mining_drill_mk3",
recipe = { recipe = {
{ 'technic:diamond_drill_head', 'technic:diamond_drill_head', 'technic:diamond_drill_head' }, { "technic:diamond_drill_head", "technic:diamond_drill_head", "technic:diamond_drill_head" },
{ 'technic:stainless_steel_ingot', 'technic:mining_drill_mk2_'..i, 'technic:stainless_steel_ingot' }, { "technic:stainless_steel_ingot", "technic:mining_drill_mk2_"..i, "technic:stainless_steel_ingot" },
{ '', 'technic:blue_energy_crystal', '' }, { "", "technic:blue_energy_crystal", "" },
} }
}) })
end end

View File

@ -8,27 +8,27 @@ local mining_lasers_list = {
local S = technic.getter local S = technic.getter
minetest.register_craft({ minetest.register_craft({
output = 'technic:laser_mk1', output = "technic:laser_mk1",
recipe = { recipe = {
{ 'default:diamond', 'technic:brass_ingot', 'default:obsidian_glass' }, { "default:diamond", "technic:brass_ingot", "default:obsidian_glass" },
{ '', 'technic:brass_ingot', 'technic:red_energy_crystal' }, { "", "technic:brass_ingot", "technic:red_energy_crystal" },
{ '', '', 'default:copper_ingot' }, { "", "", "default:copper_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:laser_mk2', output = "technic:laser_mk2",
recipe = { recipe = {
{ 'default:diamond', 'technic:carbon_steel_ingot', 'technic:laser_mk1' }, { "default:diamond", "technic:carbon_steel_ingot", "technic:laser_mk1" },
{ '', 'technic:carbon_steel_ingot', 'technic:green_energy_crystal' }, { "", "technic:carbon_steel_ingot", "technic:green_energy_crystal" },
{ '', '', 'default:copper_ingot' }, { "", "", "default:copper_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:laser_mk3', output = "technic:laser_mk3",
recipe = { recipe = {
{ 'default:diamond', 'technic:carbon_steel_ingot', 'technic:laser_mk2' }, { "default:diamond", "technic:carbon_steel_ingot", "technic:laser_mk2" },
{ '', 'technic:carbon_steel_ingot', 'technic:blue_energy_crystal' }, { "", "technic:carbon_steel_ingot", "technic:blue_energy_crystal" },
{ '', '', 'default:copper_ingot' }, { "", "", "default:copper_ingot" },
} }
}) })

View File

@ -52,10 +52,10 @@ minetest.register_tool("technic:vacuum", {
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:vacuum', output = "technic:vacuum",
recipe = { recipe = {
{ 'pipeworks:tube_1', 'pipeworks:filter', 'technic:battery' }, { "pipeworks:tube_1", "pipeworks:filter", "technic:battery" },
{ 'pipeworks:tube_1', 'technic:motor', 'technic:battery' }, { "pipeworks:tube_1", "technic:motor", "technic:battery" },
{ 'technic:stainless_steel_ingot', '', '' }, { "technic:stainless_steel_ingot", "", "" },
} }
}) })

View File

@ -1,26 +1,26 @@
minetest.register_craft({ minetest.register_craft({
output = 'technic:copper_chest 1', output = 'technic:copper_chest 1',
recipe = { recipe = {
{ '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", "technic:iron_chest", "default:copper_ingot" },
{ 'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot' }, { "default:copper_ingot", "default:copper_ingot", "default:copper_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:copper_locked_chest 1', output = 'technic:copper_locked_chest 1',
recipe = { recipe = {
{ '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", "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" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:copper_locked_chest 1', output = 'technic:copper_locked_chest 1',
recipe = { recipe = {
{ 'default:steel_ingot' }, { "default:steel_ingot" },
{ 'technic:copper_chest' }, { "technic:copper_chest" },
} }
}) })

View File

@ -1,36 +1,36 @@
local material_list local material_list
if minetest.get_modpath("moreores") then if minetest.get_modpath("moreores") then
material_list = { 'silver' } material_list = { "silver" }
else else
-- Make the gold chest obtainable for mere mortals (the silver chest is not obtainable) -- Make the gold chest obtainable for mere mortals (the silver chest is not obtainable)
material_list = { 'copper', 'silver' } material_list = { "copper", "silver" }
end end
for _, material in ipairs(material_list) do for _, material in ipairs(material_list) do
minetest.register_craft({ minetest.register_craft({
output = 'technic:gold_chest', output = "technic:gold_chest",
recipe = { recipe = {
{ '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", "technic:"..material.."_chest", "default:gold_ingot" },
{ 'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot' }, { "default:gold_ingot", "default:gold_ingot", "default:gold_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:gold_locked_chest', output = "technic:gold_locked_chest",
recipe = { recipe = {
{ '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", "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" },
} }
}) })
end end
minetest.register_craft({ minetest.register_craft({
output = 'technic:gold_locked_chest', output = "technic:gold_locked_chest",
recipe = { recipe = {
{ 'default:steel_ingot' }, { "default:steel_ingot" },
{ 'technic:gold_chest' }, { "technic:gold_chest" },
} }
}) })

View File

@ -9,7 +9,7 @@ minetest.register_craft({
output = 'technic:iron_chest 1', output = 'technic:iron_chest 1',
recipe = { recipe = {
{ cast_iron_ingot, cast_iron_ingot, cast_iron_ingot }, { 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 }, { cast_iron_ingot, cast_iron_ingot, cast_iron_ingot },
} }
}) })
@ -18,7 +18,7 @@ minetest.register_craft({
output = 'technic:iron_locked_chest 1', output = 'technic:iron_locked_chest 1',
recipe = { recipe = {
{ cast_iron_ingot, cast_iron_ingot, cast_iron_ingot }, { 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 }, { cast_iron_ingot, cast_iron_ingot, cast_iron_ingot },
} }
}) })
@ -26,8 +26,8 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = 'technic:iron_locked_chest 1', output = 'technic:iron_locked_chest 1',
recipe = { recipe = {
{ 'default:steel_ingot' }, { "default:steel_ingot" },
{ 'technic:iron_chest' }, { "technic:iron_chest" },
} }
}) })

View File

@ -2,18 +2,18 @@ if minetest.get_modpath("moreores") then
minetest.register_craft({ minetest.register_craft({
output = 'technic:mithril_chest 1', output = 'technic:mithril_chest 1',
recipe = { recipe = {
{ '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", "technic:gold_chest", "moreores:mithril_ingot" },
{ 'moreores:mithril_ingot', 'moreores:mithril_ingot', 'moreores:mithril_ingot' }, { "moreores:mithril_ingot", "moreores:mithril_ingot", "moreores:mithril_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:mithril_locked_chest 1', output = 'technic:mithril_locked_chest 1',
recipe = { recipe = {
{ '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", "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" },
} }
}) })
end end
@ -21,8 +21,8 @@ end
minetest.register_craft({ minetest.register_craft({
output = 'technic:mithril_locked_chest 1', output = 'technic:mithril_locked_chest 1',
recipe = { recipe = {
{ 'default:steel_ingot' }, { "default:steel_ingot" },
{ 'technic:mithril_chest' }, { "technic:mithril_chest" },
} }
}) })

View File

@ -1,28 +1,28 @@
if minetest.get_modpath("moreores") then if minetest.get_modpath("moreores") then
minetest.register_craft({ minetest.register_craft({
output = 'technic:silver_chest', output = "technic:silver_chest",
recipe = { recipe = {
{ '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", "technic:copper_chest", "moreores:silver_ingot" },
{ 'moreores:silver_ingot', 'moreores:silver_ingot', 'moreores:silver_ingot' }, { "moreores:silver_ingot", "moreores:silver_ingot", "moreores:silver_ingot" },
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'technic:silver_locked_chest', output = "technic:silver_locked_chest",
recipe = { recipe = {
{ '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", "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" },
} }
}) })
end end
minetest.register_craft({ minetest.register_craft({
output = 'technic:silver_locked_chest', output = "technic:silver_locked_chest",
recipe = { recipe = {
{ 'default:steel_ingot' }, { "default:steel_ingot" },
{ 'technic:silver_chest' }, { "technic:silver_chest" },
} }
}) })

View File

@ -102,45 +102,45 @@ register_block("technic:carbon_steel_block", "technic:carbon_steel_ingot")
register_block("technic:stainless_steel_block", "technic:stainless_steel_ingot") register_block("technic:stainless_steel_block", "technic:stainless_steel_ingot")
minetest.register_craft({ minetest.register_craft({
type = 'cooking', type = "cooking",
recipe = "technic:zinc_lump", recipe = "technic:zinc_lump",
output = "technic:zinc_ingot", output = "technic:zinc_ingot",
}) })
minetest.register_craft({ minetest.register_craft({
type = 'cooking', type = "cooking",
recipe = "technic:chromium_lump", recipe = "technic:chromium_lump",
output = "technic:chromium_ingot", output = "technic:chromium_ingot",
}) })
minetest.register_craft({ minetest.register_craft({
type = 'cooking', type = "cooking",
recipe = "technic:uranium_lump", recipe = "technic:uranium_lump",
output = "technic:uranium_ingot", output = "technic:uranium_ingot",
}) })
minetest.register_craft({ minetest.register_craft({
type = 'cooking', type = "cooking",
recipe = "technic:lead_lump", recipe = "technic:lead_lump",
output = "technic:lead_ingot", output = "technic:lead_ingot",
}) })
minetest.register_craft({ minetest.register_craft({
type = 'cooking', type = "cooking",
recipe = minetest.registered_aliases["technic:wrought_iron_ingot"], recipe = minetest.registered_aliases["technic:wrought_iron_ingot"],
output = "technic:cast_iron_ingot", output = "technic:cast_iron_ingot",
}) })
minetest.register_craft({ minetest.register_craft({
type = 'cooking', type = "cooking",
recipe = "technic:cast_iron_ingot", recipe = "technic:cast_iron_ingot",
cooktime = 2, cooktime = 2,
output = "technic:wrought_iron_ingot", output = "technic:wrought_iron_ingot",
}) })
minetest.register_craft({ minetest.register_craft({
type = 'cooking', type = "cooking",
recipe = "technic:carbon_steel_ingot", recipe = "technic:carbon_steel_ingot",
cooktime = 2, cooktime = 2,
output = "technic:wrought_iron_ingot", output = "technic:wrought_iron_ingot",

View File

@ -143,8 +143,8 @@ minetest.register_node(":technic:brass_block", {
minetest.register_craft({ minetest.register_craft({
output = 'technic:marble_bricks 4', output = 'technic:marble_bricks 4',
recipe = { recipe = {
{ 'technic:marble', 'technic:marble' }, { "technic:marble", "technic:marble" },
{ 'technic:marble', 'technic:marble' } { "technic:marble", "technic:marble" }
} }
}) })

View File

@ -362,22 +362,22 @@ wrench:register_node("technic:mv_centrifuge_active", {
local chest_mark_colors = { local chest_mark_colors = {
'_black', "_black",
'_blue', "_blue",
'_brown', "_brown",
'_cyan', "_cyan",
'_dark_green', "_dark_green",
'_dark_grey', "_dark_grey",
'_green', "_green",
'_grey', "_grey",
'_magenta', "_magenta",
'_orange', "_orange",
'_pink', "_pink",
'_red', "_red",
'_violet', "_violet",
'_white', "_white",
'_yellow', "_yellow",
'', "",
} }
for i = 1, 15 do for i = 1, 15 do