Improved market customisation via set_market_item
Posted: Sat Dec 22, 2018 4:03 pm
When you use custom event-like stuff for markets, you get a big red plus sign in the market, would be really nice to be able to add a (custom) sprite here.
When adding an item to the market, you can't set a custom label with the non-"give-item" type. Listening to the market event means you have to get the market item from the market and check the name, which you don't want to "Buff biter damage", but usually some name where typos are less obvious. In case of mods, perhaps even a localized string. It would be nice to have this available as option.
Additionally there's a small issue when buying more than you can carry. It will spill the loot on the floor. I actually thought I bugged the market at some point because people were complaining it was bugged as their items weren't appearing. I was constantly wondering why there were all kinds of items laying around the market until I found out it was the spilled loot. I would prefer to see either a reduced amount in the purchase, or block it completely.
I'm not sure if it should be supported, but prices that cost lower than 1 (ceil when buying on sum) are not possible either. If I were to put a stone wall in the market for 1 coin, I'd have to add bricks for 0.2 (5 bricks is 1 wall), which is currently not possible.
When adding an item to the market, you can't set a custom label with the non-"give-item" type. Listening to the market event means you have to get the market item from the market and check the name, which you don't want to "Buff biter damage", but usually some name where typos are less obvious. In case of mods, perhaps even a localized string. It would be nice to have this available as option.
Additionally there's a small issue when buying more than you can carry. It will spill the loot on the floor. I actually thought I bugged the market at some point because people were complaining it was bugged as their items weren't appearing. I was constantly wondering why there were all kinds of items laying around the market until I found out it was the spilled loot. I would prefer to see either a reduced amount in the purchase, or block it completely.
I'm not sure if it should be supported, but prices that cost lower than 1 (ceil when buying on sum) are not possible either. If I were to put a stone wall in the market for 1 coin, I'd have to add bricks for 0.2 (5 bricks is 1 wall), which is currently not possible.