Please be aware of the Forum Rules of Conduct.
They move out every turn though so you probably won't be able to sell them any.
Can we have that 400 gold again (as it reverted to before that was given)?
Actually, crash or no crash, I would like to reset the game, because I have a couple of changes that I cannot easily apply to the running game.
I updated that part of the code, there's now a bigger chance for parties to continue shopping elsewhere if they still have money.
Leave 5 gold on your party so they visit your enemy's shop while you get fresh new customers! \o/
...and they visit a shop that has no chance to sell them anything for profit... Maybe there should be a minimum amount of gold a party needs to have before they bother entering a shop?
sell them a knife!
Their decision already depends not only on if but also how much gold they have left. The more they have, the higher the chance they continue shopping.