So I’m attempting to make a character sheet that uses variables to calculate their stats.
I’ll add some pseudo code to try and convey what it is I want to do.
<$vars
strength="2"
endurance="3"
dexterity="1"
intelligence="[<int-logic>add<in-creative>add<int-social>]"
int-logic="2"
int-creative="3"
int-social="1"
total="[<strength>add<endurance>add<dexterity>add<inteligence>]"
>
Character Level is <<total>>.
</$vars>
Is this possible, or should I do this a different way?
I read that the $let widget allows variables to reference eachother, but wasn’t sure how to use it, or if it would allow me to do what I’m aiming to.