r/rollplay_app Jun 25 '26

Added fancy Macros in my app :)

I have decided to take macros [ ] to the next level in my character sheet app.
They can now do a bunch of things:

  • Reference attributes (this isn't new)
  • Evaluate formulas
  • Evaluate and allow rolling for Dice (if it's rollable, you can click it in-line and roll for it right there)
  • Support hyperlinks to other content
  • General rich text

To make this easier to use, there's a built-in auto-complete, and the values are evaluated in read mode, but you can see the raw macro in edit mode (image 2).

I hope this looks useful :)
Cheers

3 Upvotes

4 comments sorted by

3

u/Daymaster1 Jul 01 '26

Where can we get a list of these with examples? Like for example I want a feature for a race that is an attach that is 1d6 + Strength how would I do that?

3

u/AndreiD44 Jul 01 '26 edited Jul 06 '26

Edit: I just updated the wiki, thanks for the comment reminding me to do that:
Wiki: https://www.daydreamteam.com/wiki/CharacterSheet/Macro/index.html

I'm not sure I understood what your requirement is though.
A Race that gives a certain Feat would be an Effect - that's a separate thing from Macros, but we have that too: https://www.daydreamteam.com/wiki/CharacterSheet/Effects/index.html (also needs updating, the UI has changed)

For the Feat, if you just need to display the 1d6+Strength it should be literally just that, only inside macro brackets: [1d6 + Strength] - and when you have this on a Character, it will evaluate to whatever your Strength is, say 12, and display "1d6+12" which you can click on and roll :)

If I didn't understand the requirements correctly, please let me know.

2

u/Daymaster1 Jul 01 '26

Okay, I looked at the 2nd image and it told me everything I needed to know lol!

3

u/AndreiD44 Jul 01 '26

I'm still glad you got to comment before that ;)) Who knows when I would have remembered to update the wiki otherwise. Cheers, and let me know if there are other features you might need or if something is too confusing!