Display dice representations in talent descriptions
Description
I had a request in Discord to display dice images (or some other dice representation) in the talent descriptions inputs, triggered by some special text, ala markdown.
Example
Talent descriptions can often contain wording like in the Smuggler/Scoundrel Plausible Deniability talent.
Remove 1 "Setback die" from all Coercion and Deception checks.
In the rule books, "Setback die" is displayed with an image of the black setback die. So, in talent descriptions, if you type something like
Remove 1 :setback: from all Coercion and Deception checks.
then show a die image in the description when saved.
Great idea. It would be cool to use this in most "short text" inputs - force power descriptions & upgrades as well as the new adjustments column you made.
If you'd like, I'd be happy to finish out the dice images based on the die collection I started with https://github.com/swsheets/swsheets/blob/master/assets/die_ability.afdesign and https://github.com/swsheets/swsheets/blob/master/assets/die_proficiency.afdesign , especially since I'm assuming you probably don't have Affinity Designer installed
Finishing out the die images would be great! And I just had to look up what Affinity Designer is, so that's correct that I don't have it. 😄
Done! Just pushed a branch, sp_add_all_dice with both svg and png images for each dice. Rendering the SVGs would probably look a little better on most devices but feel free to use the PNGs if that turns out to be a pain.
Good luck!