Here's the problem; I want to make a store that don't use gold as the currency of choice but something else. Something like the tokens in the Asylum. However, as far as I can tell, this is impossible.
So....
Is it possible to test conditions while still in the store screen? i.e. The player buys something and a check occurs to see if they have enough points to purchase the item? If so, the points are deducted from their total, if not, the item is removed.
Would this have to be run from player.bcs? (bleh, not really what I want to do)
Alternatively, and definitely not an ideal choice, can you run checks on store exit?
The only other thing I can think of would to stick a whole bunch of if statements into player.bcs, so that the checks run at some point after they exit the store. Or I suppose I could stick it in the area.bcs... Yuck. An area.bcs setup would cause other problems potentially...
Since it's not possible to tag an item as unbuyable..... I suppose I could setup a simple dialog setup where you pick items and buy them, then have a store setup where you can look at them, but they all cost 1000000 gold, thus preventing people from purchasing them in the actual store setup....
The only real reason I want some sort of store setup is so that people can see an item before they buy it, otherwise they have to sort through a readme to figure out what items do...
Meh, nothing seems to work like I want it to. Anyone have any suggestions on how this might be accomplished?
Edited by Duality, 01 April 2008 - 03:20 PM.