Code: Select all
-- Ore washing
{
type = "assembling-machine",
name = "zwasher",
icon = "__base__/graphics/icons/chemical-plant.png",
flags = {"placeable-neutral","placeable-player", "player-creation"},
minable = {hardness = 0.2, mining_time = 0.5, result = "zwasher"},
max_health = 300,
corpse = "big-remnants",
dying_explosion = "medium-explosion",
collision_box = {{-1.4, -1.4}, {1.4, 1.4}},
selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
--[[ module_specification =
{
module_slots = 2
},
allowed_effects = {"consumption", "speed", "productivity", "pollution"}, ]]--
-- animation and sound sections are miss for this post
crafting_speed = 1.25,
energy_source =
{
type = "burner",
effectivity = 1,
fuel_inventory_size = 1,
emissions = 0.01,
smoke =
{
{
name = "smoke",
deviation = {0.1, 0.1},
frequency = 5,
position = {0.0, -0.8},
starting_vertical_speed = 0.08,
starting_frame_deviation = 60
}
}
},
energy_usage = "250kW",
ingredient_count = 2,
crafting_categories = {"washing"},
fluid_boxes =
{
{
production_type = "input",
pipe_covers = pipecoverspictures(),
base_area = 10,
base_level = -1,
pipe_connections = {{ type="input", position = {-1, -2} }}
},
{
production_type = "input",
pipe_covers = pipecoverspictures(),
base_area = 10,
base_level = -1,
pipe_connections = {{ type="input", position = {1, -2} }}
},
--[[{
production_type = "output",
pipe_covers = pipecoverspictures(),
base_level = 1,
pipe_connections = {{ position = {-1, 2} }}
},
{
production_type = "output",
pipe_covers = pipecoverspictures(),
base_level = 1,
pipe_connections = {{ position = {1, 2} }}
}]]--
}
},