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

Using more than gold; looking for an API to replace gold, silver, etc icons with homebrew currency

Playing a 5e game in a homebrew setting that doesn't use metal coinage. Was wondering if there was a simple way to alter the character sheets with a macro or API to display a different icon for the player's money other than the default gold, silver, electrum, etc. Any suggestions?
If you're using the 'D&amp;D 5E by Roll20' sheet, then there's no easy/good way to alter the sheets themselves.&nbsp; They are developed by Roll20 and the code is proprietary. So the best option in that case would be to use the Stylus Extension to change out the content of those elements, but you'll have to install that for each of your players.&nbsp; You can create a style, and publish it at userstyles.world and they can install it from there fairly easily. Here's an example of just throwing a couple things in to make the 'SP' become a red 'EP' with the Electrum image (because it was readily available - you could use whatever image you wanted in its place): /* Roll20 Character Sheet Change Coin Image and Text */ div.money &gt; div.coin:nth-child(2) &gt; span.label { background-image: url("<a href="https://app.roll20.net/images/dndstyling/electrum.png" rel="nofollow">https://app.roll20.net/images/dndstyling/electrum.png</a>") !important; font-size: 0px !important; } div.money &gt; div.coin:nth-child(2) &gt; span.label:after { color: red !important;&nbsp;content: "EP"; font-size: 8px !important;} If you're using a different sheet, then it might be possible to get a copy of the code and update that section with a custom character sheet. Unfortunately the Roll20 API doesn't have access to adjust things like the character sheet elements in this way.