HV furnace and extra recipes

This commit is contained in:
h-v-smacker 2018-02-19 02:58:47 +03:00 committed by Thomas Rudin
parent 0c8d4f5e60
commit 6cf6df426b
12 changed files with 167 additions and 3 deletions

View File

@ -0,0 +1,18 @@
-- MV Electric Furnace
-- This is a faster version of the stone furnace which runs on EUs
-- In addition to this it can be upgraded with microcontrollers and batteries
-- This new version uses the batteries to lower the power consumption of the machine
-- Also in addition this furnace can be attached to the pipe system from the pipeworks mod.
-- FIXME: kpoppel I'd like to introduce an induction heating element here also
minetest.register_craft({
output = 'technic:hv_electric_furnace',
recipe = {
{'technic:stainless_steel_ingot', 'technic:lv_electric_furnace', 'technic:stainless_steel_ingot'},
{'pipeworks:tube_1', 'technic:hv_transformer', 'pipeworks:tube_1'},
{'technic:stainless_steel_ingot', 'technic:hv_cable', 'technic:stainless_steel_ingot'},
}
})
technic.register_electric_furnace({tier="HV", upgrade=1, tube=1, demand={4000, 2500, 1500}, speed=12})

View File

@ -15,4 +15,6 @@ dofile(path.."/generator.lua")
-- Machines -- Machines
dofile(path.."/quarry.lua") dofile(path.."/quarry.lua")
dofile(path.."/forcefield.lua") dofile(path.."/forcefield.lua")
dofile(path.."/electric_furnace.lua")

View File

@ -261,3 +261,129 @@ technic.cnc.register_all("technic:granite",
{"technic_granite.png"}, {"technic_granite.png"},
S("Granite")) S("Granite"))
if minetest.get_modpath("ethereal") then
-- Glostone
------------
technic.cnc.register_all("ethereal:glostone",
{cracky=1, not_in_creative_inventory=1, light_source=13},
{"glostone.png"},
S("Glo Stone"))
end
if minetest.get_modpath("ethereal") then
-- Glostone
------------
technic.cnc.register_all("ethereal:glostone",
{cracky=1, not_in_creative_inventory=1, light_source=13},
{"glostone.png"},
S("Glo Stone"))
-- Crystal block
----------------
technic.cnc.register_all("ethereal:crystal_block",
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
{"crystal_block.png"},
S("Crystal"))
-- Misc. Wood types
-------------------
technic.cnc.register_all("ethereal:banana_wood",
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
{"banana_wood.png"},
S("Banana Wood"))
technic.cnc.register_all("ethereal:birch_wood",
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
{"moretrees_birch_wood.png"},
S("Birch Wood"))
technic.cnc.register_all("ethereal:frost_wood",
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
{"frost_wood.png"},
S("Frost Wood"))
technic.cnc.register_all("ethereal:palm_wood",
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
{"moretrees_palm_wood.png"},
S("Palm Wood"))
technic.cnc.register_all("ethereal:willow_wood",
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
{"willow_wood.png"},
S("Willow Wood"))
technic.cnc.register_all("ethereal:yellow_wood",
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
{"yellow_wood.png"},
S("Healing Tree Wood"))
technic.cnc.register_all("ethereal:redwood_wood",
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
{"redwood_wood.png"},
S("Redwood"))
end
if minetest.get_modpath("moreblocks") then
-- Tiles
------------
technic.cnc.register_all("moreblocks:stone_tile",
{stone=1, cracky=3, not_in_creative_inventory=1},
{"moreblocks_stone_tile.png"},
S("Stone Tile"))
technic.cnc.register_all("moreblocks:split_stone_tile",
{stone=1, cracky=3, not_in_creative_inventory=1},
{"moreblocks_split_stone_tile.png"},
S("Split Stone Tile"))
technic.cnc.register_all("moreblocks:checker_stone_tile",
{stone=1, cracky=3, not_in_creative_inventory=1},
{"moreblocks_checker_stone_tile.png"},
S("Checker Stone Tile"))
technic.cnc.register_all("moreblocks:cactus_checker",
{stone=1, cracky=3, not_in_creative_inventory=1},
{"moreblocks_cactus_checker.png"},
S("Cactus Checker"))
-- Bricks
------------
technic.cnc.register_all("moreblocks:cactus_brick",
{cracky=3, not_in_creative_inventory=1},
{"moreblocks_cactus_brick.png"},
S("Cactus Brick"))
technic.cnc.register_all("moreblocks:grey_bricks",
{cracky=3, not_in_creative_inventory=1},
{"moreblocks_grey_bricks.png"},
S("Grey Bricks"))
-- Metals
------------
technic.cnc.register_all("moreblocks:copperpatina",
{cracky=1, level=2, not_in_creative_inventory=1},
{"moreblocks_copperpatina.png"},
S("Copper Patina"))
-- Clay
------------
technic.cnc.register_all("bakedclay:red",
{cracky=3, not_in_creative_inventory=1},
{"baked_clay_red.png"},
S("Red Clay"))
technic.cnc.register_all("bakedclay:orange",
{cracky=3, not_in_creative_inventory=1},
{"baked_clay_orange.png"},
S("Orange Clay"))
technic.cnc.register_all("bakedclay:grey",
{cracky=3, not_in_creative_inventory=1},
{"baked_clay_grey.png"},
S("Grey Clay"))
end

View File

@ -30,6 +30,12 @@ local recipes = {
{"technic:raw_latex 4", "technic:coal_dust 2", "technic:rubber 6", 2}, {"technic:raw_latex 4", "technic:coal_dust 2", "technic:rubber 6", 2},
} }
if minetest.get_modpath("ethereal") then
table.insert(recipes, {"default:clay", "dye:red", "bakedclay:red"})
table.insert(recipes, {"default:clay", "dye:orange", "bakedclay:orange"})
table.insert(recipes, {"default:clay", "dye:grey", "bakedclay:grey"})
end
for _, data in pairs(recipes) do for _, data in pairs(recipes) do
technic.register_alloy_recipe({input = {data[1], data[2]}, output = data[3], time = data[4]}) technic.register_alloy_recipe({input = {data[1], data[2]}, output = data[3], time = data[4]})
end end

View File

@ -19,8 +19,15 @@ local recipes = {
{"technic:coal_dust 4", "technic:graphite"}, {"technic:coal_dust 4", "technic:graphite"},
{"technic:carbon_cloth", "technic:carbon_plate"}, {"technic:carbon_cloth", "technic:carbon_plate"},
{"technic:uranium35_ingot 5", "technic:uranium_fuel"}, {"technic:uranium35_ingot 5", "technic:uranium_fuel"},
{"technic:graphite 25", "default:diamond"}
} }
if minetest.get_modpath("ethereal") then
-- the density of charcoal is ~1/10 of coal, otherwise it's pure carbon
table.insert(recipes, {"ethereal:charcoal_lump 10", "default:coal_lump 1"})
end
-- defuse the default sandstone recipe, since we have the compressor to take over in a more realistic manner -- defuse the default sandstone recipe, since we have the compressor to take over in a more realistic manner
minetest.clear_craft({ minetest.clear_craft({
recipe = { recipe = {

View File

@ -32,6 +32,11 @@ local recipes = {
{"default:silver_sandstone", "default:silver_sand 2"}, -- reverse recipe can be found in the compressor {"default:silver_sandstone", "default:silver_sand 2"}, -- reverse recipe can be found in the compressor
} }
if minetest.get_modpath("ethereal") then
-- the density of charcoal is ~1/10 of coal, otherwise it's the same graphitic carbon
table.insert(recipes, {"ethereal:charcoal_lump 5", "technic:coal_dust 1"})
end
-- defuse the sandstone -> 4 sand recipe to avoid infinite sand bugs (also consult the inverse compressor recipe) -- defuse the sandstone -> 4 sand recipe to avoid infinite sand bugs (also consult the inverse compressor recipe)
minetest.clear_craft({ minetest.clear_craft({
recipe = { recipe = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB