Page 1 of 1

[0.15.34] Selling Modifiers at Markets

Posted: Wed Sep 06, 2017 4:40 am
by zackman0010
The API says that Markets can sell any kind of Modifier, but that usually "give-item" is used. This implies that selling other Modifiers will work as well. However, when adding a non-"give-item" Modifer to a Market, there is no option to buy it.
Image
This Modifier is supposed to cost 25 Coins, but this currently has no cost associated with it. It cannot be bought.
This is either a bug in that Modifiers can't be bought or a bug in that non-"give-item" Modifiers aren't supposed to be allowed to be put into a Market.
Code that added the item:

Code: Select all

market.add_market_item{price = {{"coin", 25}}, offer = {type="laboratory-speed", modifier=0.50}}

Re: [0.15.34] Selling Modifiers at Markets

Posted: Wed Sep 06, 2017 5:29 am
by Rseding91
Thanks for the report. It's now fixed for 0.16.