mirror of
https://github.com/minetest-mods/technic.git
synced 2025-07-04 17:20:37 +02:00
Added Mineclone2 support apart from special machines own recipes within the machines
This commit is contained in:
@ -4,9 +4,9 @@
|
||||
minetest.register_craft({
|
||||
output = 'technic:lv_alloy_furnace',
|
||||
recipe = {
|
||||
{'default:brick', 'default:brick', 'default:brick'},
|
||||
{'default:brick', 'technic:machine_casing', 'default:brick'},
|
||||
{'default:brick', 'technic:lv_cable', 'default:brick'},
|
||||
{brick_block_ingrediant, brick_block_ingrediant, brick_block_ingrediant},
|
||||
{brick_block_ingrediant, 'technic:machine_casing', brick_block_ingrediant},
|
||||
{brick_block_ingrediant, 'technic:lv_cable', brick_block_ingrediant},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -4,9 +4,9 @@ minetest.register_alias("lv_cable", "technic:lv_cable")
|
||||
minetest.register_craft({
|
||||
output = 'technic:lv_cable 6',
|
||||
recipe = {
|
||||
{'default:paper', 'default:paper', 'default:paper'},
|
||||
{'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot'},
|
||||
{'default:paper', 'default:paper', 'default:paper'},
|
||||
{paper_ingrediant, paper_ingrediant, paper_ingrediant},
|
||||
{copper_ingrediant, copper_ingrediant, copper_ingrediant},
|
||||
{paper_ingrediant, paper_ingrediant, paper_ingrediant},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -4,7 +4,7 @@ minetest.register_alias("compressor", "technic:lv_compressor")
|
||||
minetest.register_craft({
|
||||
output = 'technic:lv_compressor',
|
||||
recipe = {
|
||||
{'default:stone', 'basic_materials:motor', 'default:stone'},
|
||||
{stone_ingrediant, 'basic_materials:motor', stone_ingrediant},
|
||||
{'mesecons:piston', 'technic:machine_casing', 'mesecons:piston'},
|
||||
{'basic_materials:silver_wire', 'technic:lv_cable', 'basic_materials:silver_wire'},
|
||||
},
|
||||
|
@ -8,9 +8,9 @@ minetest.register_alias("lv_generator", "technic:lv_generator")
|
||||
minetest.register_craft({
|
||||
output = 'technic:lv_generator',
|
||||
recipe = {
|
||||
{'default:stone', 'default:furnace', 'default:stone'},
|
||||
{'default:stone', 'technic:machine_casing', 'default:stone'},
|
||||
{'default:stone', 'technic:lv_cable', 'default:stone'},
|
||||
{stone_ingrediant, furnace_ingrediant, stone_ingrediant},
|
||||
{stone_ingrediant, 'technic:machine_casing', stone_ingrediant},
|
||||
{stone_ingrediant, 'technic:lv_cable', stone_ingrediant},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -10,9 +10,9 @@ local S = technic.getter
|
||||
minetest.register_craft({
|
||||
output = 'technic:geothermal',
|
||||
recipe = {
|
||||
{'technic:granite', 'default:diamond', 'technic:granite'},
|
||||
{granite_ingrediant, diamond_ingrediant, granite_ingrediant},
|
||||
{'basic_materials:copper_wire', 'technic:machine_casing', 'basic_materials:copper_wire'},
|
||||
{'technic:granite', 'technic:lv_cable', 'technic:granite'},
|
||||
{granite_ingrediant, 'technic:lv_cable', granite_ingrediant},
|
||||
},
|
||||
replacements = {
|
||||
{"basic_materials:copper_wire", "basic_materials:empty_spool"},
|
||||
@ -90,7 +90,7 @@ minetest.register_node("technic:geothermal", {
|
||||
technic_machine=1, technic_lv=1},
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sounds = wood_sounds,
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
meta:set_string("infotext", S("Geothermal %s Generator"):format("LV"))
|
||||
@ -107,7 +107,7 @@ minetest.register_node("technic:geothermal_active", {
|
||||
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2,
|
||||
technic_machine=1, technic_lv=1, not_in_creative_inventory=1},
|
||||
legacy_facedir_simple = true,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sounds = wood_sounds,
|
||||
drop = "technic:geothermal",
|
||||
technic_run = run,
|
||||
})
|
||||
|
@ -3,9 +3,9 @@ minetest.register_alias("grinder", "technic:lv_grinder")
|
||||
minetest.register_craft({
|
||||
output = 'technic:lv_grinder',
|
||||
recipe = {
|
||||
{'default:desert_stone', 'default:diamond', 'default:desert_stone'},
|
||||
{'default:desert_stone', 'technic:machine_casing', 'default:desert_stone'},
|
||||
{'technic:granite', 'technic:lv_cable', 'technic:granite'},
|
||||
{desert_stone_ingrediant, diamond_ingrediant, desert_stone_ingrediant},
|
||||
{desert_stone_ingrediant, 'technic:machine_casing', desert_stone_ingrediant},
|
||||
{granite_ingrediant, 'technic:lv_cable', granite_ingrediant},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -149,7 +149,7 @@ technic.register_machine("LV", "technic:lv_lamp_active", technic.receiver)
|
||||
minetest.register_craft({
|
||||
output = "technic:lv_lamp",
|
||||
recipe = {
|
||||
{"default:glass", "default:glass", "default:glass"},
|
||||
{glass_ingrediant, glass_ingrediant, glass_ingrediant},
|
||||
{"technic:lv_led", "technic:lv_led", "technic:lv_led"},
|
||||
{"mesecons_materials:glue", "technic:lv_cable", "mesecons_materials:glue"},
|
||||
}
|
||||
|
@ -7,9 +7,9 @@ minetest.register_alias("music_player", "technic:music_player")
|
||||
minetest.register_craft({
|
||||
output = 'technic:music_player',
|
||||
recipe = {
|
||||
{'technic:chromium_ingot', 'default:diamond', 'technic:chromium_ingot'},
|
||||
{'default:diamond', 'technic:machine_casing', 'default:diamond'},
|
||||
{'default:mossycobble', 'technic:lv_cable', 'default:mossycobble'},
|
||||
{'technic:chromium_ingot', diamond_ingrediant, 'technic:chromium_ingot'},
|
||||
{diamond_ingrediant, 'technic:machine_casing', diamond_ingrediant},
|
||||
{mossy_cobble_ingrediant, 'technic:lv_cable', mossy_cobble_ingrediant},
|
||||
}
|
||||
})
|
||||
|
||||
@ -96,7 +96,7 @@ minetest.register_node("technic:music_player", {
|
||||
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2,
|
||||
technic_machine=1, technic_lv=1},
|
||||
connect_sides = {"bottom"},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sounds = wood_sounds,
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
meta:set_string("infotext", S("%s Music Player"):format("LV"))
|
||||
|
@ -50,7 +50,7 @@ minetest.register_node("technic:solar_panel", {
|
||||
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2,
|
||||
technic_machine=1, technic_lv=1},
|
||||
connect_sides = {"bottom"},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sounds = wood_sounds,
|
||||
description = S("Small Solar %s Generator"):format("LV"),
|
||||
active = false,
|
||||
drawtype = "nodebox",
|
||||
|
@ -11,7 +11,7 @@ minetest.register_alias("water_mill", "technic:water_mill")
|
||||
minetest.register_craft({
|
||||
output = 'technic:water_mill',
|
||||
recipe = {
|
||||
{'technic:marble', 'default:diamond', 'technic:marble'},
|
||||
{'technic:marble', diamond_ingrediant, 'technic:marble'},
|
||||
{'group:wood', 'technic:machine_casing', 'group:wood'},
|
||||
{'technic:marble', 'technic:lv_cable', 'technic:marble'},
|
||||
}
|
||||
@ -80,7 +80,7 @@ minetest.register_node("technic:water_mill", {
|
||||
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2,
|
||||
technic_machine=1, technic_lv=1},
|
||||
legacy_facedir_simple = true,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sounds = wood_sounds,
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
meta:set_string("infotext", S("Hydro %s Generator"):format("LV"))
|
||||
@ -98,7 +98,7 @@ minetest.register_node("technic:water_mill_active", {
|
||||
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2,
|
||||
technic_machine=1, technic_lv=1, not_in_creative_inventory=1},
|
||||
legacy_facedir_simple = true,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sounds = wood_sounds,
|
||||
drop = "technic:water_mill",
|
||||
technic_run = run,
|
||||
technic_disabled_machine_name = "technic:water_mill",
|
||||
|
Reference in New Issue
Block a user