[0.9.8] give-item research modifier

This subforum contains all the issues which we already resolved.
Post Reply
drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

[0.9.8] give-item research modifier

Post by drs9999 »

First it could be that I do not use it properly (but I am quiet sure I do), so here is a example:

Code: Select all

{
  type = "technology",
  name = "testResearch",
  icon = "__ExampleMod__/graphics/icons/foo.png",
  effects =
  {
    {
      type = "give-item",
      item = "raw-wood",
      count = 10
    },
    {
      type = "give-item",
      item = "wooden-chest",
      count = 10
    }
  },
  prerequisites = {},
  unit =
  {
    count = 50,
    ingredients =
    {
      {"science-pack-1", 2},
      {"science-pack-2", 2},
      {"science-pack-3", 1}
    },
    time = 30
  }
}
Game loads fine, but if you click on the research-icon it results in a CTD (Msg: call to empty boost::function)
My best guess is that there is a bug in the draw-method for the effect-icon(s).

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.9.8] give-item research modifier

Post by kovarex »

This is known issue, these effects are used both in market and technology, and we just didn't implement the functionality for technology yet.

slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: [0.9.8] give-item research modifier

Post by slpwnd »

Thanks for the report, this will be fixed for the 0.10.0.

Post Reply

Return to “Resolved Problems and Bugs”