[PF2e] Trying to make a lootbox
I want to make an item that works like this:
1: Player uses custom item
2: The item randomly chooses from a rollable table to decide it's outcome
3: The player gets the item rolls.
4: The custom item is consumed and unable to be used again.
I couldn't find any comprehensive videos on how to do scripting for this, so if anyone has any advice or knows where I can find one, please let me know.
Edit: So I managed to make the macro and it works, but I want to attach that marco to using an item. How can I do that?