Code: Select all
{
type = "assembling-machine",
name = "oil-refinery",
icon = "__base__/graphics/icons/oil-refinery.png",
flags = {"placeable-neutral","player-creation"},
minable = {mining_time = 1, result = "oil-refinery"},
max_health = 300,
corpse = "big-remnants",
collision_box = {{-2.4, -2.4}, {2.4, 2.4}},
selection_box = {{-2.5, -2.5}, {2.5, 2.5}},
energy_source =
{
type = "electric",
output_priority = "secondary"
},
module_slots = 2,
allowed_effects = {"consumption", "speed", "productivity", "pollution"},
crafting_categories = {"oil-processing"},
crafting_speed = 1,
energy_source =
{
type = "electric",
usage_priority = "secondary-input",
emissions = 0.03 / 3.5
},
...