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:
[0.5.3] Scripting: market+unlock research
Re: market+unlock research
I can confirm this.
Every other offer-type is working fine its just "unlock-recipe" that crashes the game
Every other offer-type is working fine its just "unlock-recipe" that crashes the game
Re: market+unlock research
Moved to bug reports.
Re: [0.5.3] Scripting: market+unlock research
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.)