» Mon Jun 07, 2010 1:37 am
You can do that on a terminal. Just use a condition on the terminal option that uses GetItemCount Caps001 > (a value you want) and "run on" a reference of the player. Then in the results script of the terminal option use "Player.removeItem Caps001 (some value)". You could even put a duplicate of the option on the terminal for the case when the player does not have enough caps, then use the response to say "Not enough caps' or the like.