Furnace not working with Fluid and Items
Posted: Wed Jan 28, 2015 8:47 am
I the metallurgy part of DyTech i have a blast furnace that will smelt the ores into liquid metals with the help of lava.
Lava gets added into the furnace just normally, but the ores can never be put in, either by hand or with inserter.
here are the definitions:
Entity:
Recipe:
Lava gets added into the furnace just normally, but the ores can never be put in, either by hand or with inserter.
here are the definitions:
Entity:
Code: Select all
type = "furnace",
name = "blast-furnace",
icon = "__MAIN-DyTech-Machine__/graphics/metallurgy/icons/blast-furnace.png",
flags = {"placeable-neutral", "player-creation"},
minable = {hardness = 0.2, mining_time = 0.5, result = "blast-furnace"},
collision_box = {{-2.4, -2.4}, {2.4, 2.4}},
selection_box = {{-2.5, -2.5}, {2.5, 2.5}},
light = {intensity = 2, size = 25},
crafting_categories = {"blast-furnace"},
max_health = 1500,
energy_usage = "150kW",
crafting_speed = 1,
module_slots = 5,
allowed_effects = {"consumption", "speed", "pollution"},
source_inventory_size = 2,
result_inventory_size = 1,
energy_source =
{
type = "electric",
usage_priority = "secondary-input",
emissions = 0.005
},
working_sound =
{
sound =
{
filename = "__base__/sound/electric-furnace.ogg",
volume = 0.7
},
apparent_volume = 1.5
},
animation =
{
filename = "__MAIN-DyTech-Machine__/graphics/metallurgy/entity/metallurgy-machines/blast-furnace.png",
priority = "medium",
width = 212,
height = 180,
line_length = 5,
frame_count = 16,
shift = {0.8, 0.18}
},
fluid_boxes =
{
{
production_type = "output",
--pipe_covers = pipecoverspictures(),
base_area = 100,
base_level = 1,
pipe_connections = {{ type="output", position = {-3, 1} }}
},
{
production_type = "output",
--pipe_covers = pipecoverspictures(),
base_area = 100,
base_level = 1,
pipe_connections = {{ type="output", position = {-3, -1} }}
},
{
production_type = "output",
--pipe_covers = pipecoverspictures(),
base_area = 100,
base_level = 1,
pipe_connections = {{ type="output", position = {3,1} }}
},
{
production_type = "output",
--pipe_covers = pipecoverspictures(),
base_area = 100,
base_level = 1,
pipe_connections = {{ type="output", position = {3,-1} }}
},
{
production_type = "input",
--pipe_covers = pipecoverspictures(),
base_area = 100,
base_level = -1,
pipe_connections = {{ type="input", position = {1, -3} }}
},
{
production_type = "input",
--pipe_covers = pipecoverspictures(),
base_area = 100,
base_level = -1,
pipe_connections = {{ type="input", position = {-1, -3} }}
},
{
production_type = "input",
--pipe_covers = pipecoverspictures(),
base_area = 100,
base_level = -1,
pipe_connections = {{ type="input", position = {1,3} }}
},
{
production_type = "input",
--pipe_covers = pipecoverspictures(),
base_area = 100,
base_level = -1,
pipe_connections = {{ type="input", position = {-1,3} }}
},
},
Code: Select all
{
type = "recipe",
name = "metallurgy-copper-smelt",
enabled = false,
category = "blast-furnace",
energy_required = 5,
ingredients =
{
{type="item", name="copper-ore", amount=1},
{type="fluid", name="lava-1200", amount=0.2}
},
results =
{
{type="fluid", name="molten-copper", amount=1}
},
},