I'd like to reprice existing items in my mall store so they're more likely to sell. It looks like I might be able to get the items by iterating over every item in the database and using shop_amount(). Very inefficient but it should work.
Then I can get those items out of the mall - but its an ugly hack again, as best I can tell; I have to acquire the amount on hand plus the amount in the store; I don't see a function to pull out of the store directly.
Finally, I can put the item(s) back in. I can use mall_price(), which is fine - probably a reasonable price to get them to sell. Maybe mall_price minus a constant.
So I can see a very ugly, hacky way to get there - can anyone think of anything better? The undercut command only works if they're at max price, and doesn't give me the flexibility I'd like around what the price is set at.
Then I can get those items out of the mall - but its an ugly hack again, as best I can tell; I have to acquire the amount on hand plus the amount in the store; I don't see a function to pull out of the store directly.
Finally, I can put the item(s) back in. I can use mall_price(), which is fine - probably a reasonable price to get them to sell. Maybe mall_price minus a constant.
So I can see a very ugly, hacky way to get there - can anyone think of anything better? The undercut command only works if they're at max price, and doesn't give me the flexibility I'd like around what the price is set at.