Page 1 of 1

[0.9.2] Energy source defined twice in oil-refinery

Posted: Tue Mar 11, 2014 6:37 pm
by rk84

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
    },
...

Re: [0.9.2] Energy source defined twice in oil-refinery

Posted: Tue Mar 11, 2014 8:08 pm
by kovarex
Thank you for the notice, fixed for 0.9.3 (the first one was rewritten by the second one ... )