Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

automated charged item use

is there a way that when you use an item: %{selected\repeating_item_$x-roll} caused the quanity of same item to be reduced by 1?
1511330110
Gen Kitty
Forum Champion
This is something that can only be done via API use, which requires a Pro subscription.  Moving this to API :)
Dranik said: is there a way that when you use an item: %{selected\repeating_item_$x-roll} caused the quanity of same item to be reduced by 1? sound like a simple use of the ammo track on the companion script api just a matter of setting the item up as a resource and the item using it, to use the resource. like arrows and the longbox for example. the item arrow is set to be ammo and the longbow is set to use the arrow ammo. so each click on longbow reduces the resource arrow by -1.