I apologise for this thread necro, but I figured it was better to use this as my question is relevant, rather than start a new one.
So, to my simple question. I got this script working perfectly and was very simple to implement, so I thank you for that, however, I was wondering how I would go about adapting it to only show a 'sell only' option when the player chooses 'sell' from a list of options.
You see, in my game, I want the player to choose from a list of buy/sell/exit BEFORE opening the shop processing. I can get it 'buy only' for buying easy enough, but not selling.
Any advice would be much appreciated. Thanks.