[boskid][2.0.15] No input action on_market_item_purchased when offer type nothing
Posted: Sun Nov 10, 2024 10:26 am
Hello,
When adding an offer to the market that contains the following line:
market.add_market_item { price = {}, offer = { type = 'nothing', effect_description = str1 } }
The offer shows up fine in the market, however upon clicking on the market offer - nothing gets fired for the event on_market_item_purchased.
Other offers works fine from testing.
In previous versions (1.1.x) this worked as expected. Input action was fired and the event got also triggered.
Kind regards,
Gerkiz
When adding an offer to the market that contains the following line:
market.add_market_item { price = {}, offer = { type = 'nothing', effect_description = str1 } }
The offer shows up fine in the market, however upon clicking on the market offer - nothing gets fired for the event on_market_item_purchased.
Other offers works fine from testing.
In previous versions (1.1.x) this worked as expected. Input action was fired and the event got also triggered.
Kind regards,
Gerkiz