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

Adding a button to a character sheet to visualize items worn?

Just wondering if something like this is possible in the Roll20 world, because I know I can do this outside of Roll20... 1) Adding a button to a character sheet that brings up an interactive image like below. 2) Clicking on a part of the image which would bring up information on what that character is wearing. 3) If there is nothing being worn in that slot, bringing up a list of items that could be worn in that slot. This would really help my players understand what they are wearing and what they could purchase. Picture from PF1e Ultimate Equipment Guide
1722106341
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Short answer; yes (depending) Longer answer; With legacy sheet code with the character sheet enhancement mode, it could be done but would require a ton of work. Using the new beacon system (beta access available), yes, and you'd do it just like you would on any other website that is built on vue.
Thank you for the reply! My programming is a bit rusty as I haven't programmed for 20 years since I learned C++, but how would I get started programming an API script that might do all of that?
1722122736
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
an API script would be pretty much impossible to do this. It would require a full custom character sheet.
1722126288
vÍnce
Pro
Sheet Author
Some info on Beacon <a href="https://wiki.roll20.net/Beacon_Sheet_Development_Kit" rel="nofollow">https://wiki.roll20.net/Beacon_Sheet_Development_Kit</a>
1722183602
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
An API script could build something like this, but it would need to run in chat. The API cannot affect the structure, or look and feel of a character sheet. A chat interface could be rather spammy.
1722195685
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
It's maybe possible, but getting the html to be right and the styling right with only inline css would be a nightmare.
1722198570
vÍnce
Pro
Sheet Author
Beacon for sure. But, AFAICT that means making a completely new sheet...