gem_deposit_handler: type: world debug: true events: on player clicks gem_filler_item in gem_deposit_inventory: - determine cancelled after player drags item_flagged:currency in gem_deposit_inventory: - if : - define quantity - take item:currency_* quantity:<[quantity]> from: - define gems_value - define total <[quantity]>:*:<[gems_value]> - flag gem_bank:+:<[total]> - narrate "<&a> You just deposited <[total].proc[gem_display_amt]><&a> to your account!" targets: - else: - determine passively cancelled