Jump to content

Papyrus: potion conditions?


Mansh00ter

Recommended Posts

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...