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

Script interest: Store

So I've been thinking about creating a script that would serve as a store check out. I'm thinking of something that could display a list of items for sale along with prices, allow a shopper to purchase items, and automatically deduct the cost from the character currency. I'm not a javascript programmer, but thought I would give this a shot. What I am curious about is what would you like from such a script and is there anything others have done toward this goal? I would be starting with 5e, but intend for it to be universal with time. From what I can tell, this would be limited to the chat window. Is that correct? Areas of help I will need: Importing into the character sheet This might end up being sheet specific, but how do I add purchased items to a sheet? Remove purchase cost Similar to Item 1, but in reducing currency I'm in the brainstorming phase, so don't expect anything soon I'm would like to know your interest in such  script and what you would use it for or want from it. I won't make promisses, but I will listen.
1501780579
Lithl
Pro
Sheet Author
API Scripter
"Universal" would be somewhere between tricky and impossible. Every character sheet uses different attributes, and every system is different. There's also no means to definitively determine which sheet is being used automatically.
That's a future concern that I realize may or may not be possible. My primary focus will be with the Shaped Sheet and the 5e OGL sheet. Once I get that done, then move to toward other sheets.
1501785278
The Aaron
Pro
API Scripter
I'd suggest getting it working once for just one of the sheets, then look back through and find the places where it needs to make character sheet and setting specific choices, and abstract those out into a separate object.  You can then load that object separately similar to how Stephen L. loads trap themes.