Hey there,
I'm currently working on a currency deposit system, where it converts the physical currency into virtual ones.
I recently created an event currency where I'd like to deposit in the same GUI with this particular GUI that I've created. So I added an item flag for the currencies, as currency with the value event for the event items, and gem for the normal gem item.
The event I've been using previously for the gem item was -
after player clicks air in gem_deposit_inventory with:gems
But I changed it to
after player clicks in gem_deposit_inventory with:item_flagged:currency:
It doesnt seem to show up properly.
But here is the entire script to give an idea. https://paste.denizenscript.com/View/118814
Would you suggest I just stick with my previous event, or do you reckon it would be easy to do it with flags?
Content of Denizen Script Paste #118814: Deposit... pasted 2023/12/21 08:43:53 UTC-08:00, Paste length: 3330 characters across 68 lines, Content: gem_deposit_handler: type: world