[0.5.3] Scripting: market+unlock research

This subforum contains all the issues which we already resolved.
ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

[0.5.3] Scripting: market+unlock research

Post by ficolas »

I created a market entity (called town hall), and I added this:

glob.townhall.addmarketitem{price={ {"alien-artifact", 1} }, offer={type="unlock-recipe", recipe="radar"} }

When I open the town hall, I crash, without error message, I dont know why, everything seems to be ok D:
drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

Re: market+unlock research

Post by drs9999 »

I can confirm this.
Every other offer-type is working fine its just "unlock-recipe" that crashes the game
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: market+unlock research

Post by kovarex »

Moved to bug reports.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.5.3] Scripting: market+unlock research

Post by kovarex »

This will be fixed in 0.6.3, but not as user friendly as it should be, from the future changelog:
- The game doesn't crash when unlock recipe modifier is used in market, although, the gui interface should be upgraded. (Price is not shown in the tooltip, and is not understandable that you are not buying the item, but the recipe. There is no indication, when you already have the recipe, this will be added as feature later, this is bugfix release.)
Post Reply

Return to “Resolved Problems and Bugs”