Mansh00ter Posted February 25, 2012 Share Posted February 25, 2012 So. I have a potion-type item, but I want to attach a condition if the player can actually drink it. If the condition is not met, a message should display and the potion should not be consumed.A caveat: this must work on multiple different items with minimal modification of the script; I know I could script in reimbursement (add back 1 potion of that type) but that would require me knowing exactly which potion to add back to player inventory. So far I have no idea how to either prevent the player from consuming the potion, or reference the potion dynamically so I can reimburse the player. Any ideas? Link to comment Share on other sites More sharing options...
Recommended Posts