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

API to track inventory items?

I'm looking for a script to track 2 items. Food and Water.  Does anyone know of such a script?
1554071594
vÍnce
Pro
Sheet Author
Aaron's ammo script(it can track more than ammo...) should handle that unless you are using a sheet that also has a companion script, then it might be better to use the companion script since it's geared specifically to the sheet.  What sheet are you using?
1554071717
The Aaron
Roll20 Production Team
API Scripter
You could do it with several different APIs. ChatSetAttr would let you manage an attribute for whatever resources you want.  I might prefer using 2 infinite card decks, one for food and one for water. You couldn’t associate that with a character directly, but if each of your players only had one character, it’s a nice way to go. 
The Aaron said: You could do it with several different APIs. ChatSetAttr would let you manage an attribute for whatever resources you want.  I might prefer using 2 infinite card decks, one for food and one for water. You couldn’t associate that with a character directly, but if each of your players only had one character, it’s a nice way to go.  That was a solid solotion. Thanks for the suggestion