The changes in this branch add support for objects (using dot notation) within card requirements. The changes work in both tag and comment style requirement syntax. I added minimal examples of both approaches. The comment style example is a copy of your card with covers example. The only change is that it uses of $pc.strength rather than $strength. The simple dot notation example using the text and most of logic behind that same example. However, I did not include any of the code for the covers in order to keep things as simple as possible. I added one extra option (sneak past the beast) so that the player character could have more than one property. All javascript and examples have been rebuilt, unlike my last commit.
I was unable to figure out how/where to put the object/dot notation change within the brief docs summary.
The changes in this branch add support for objects (using dot notation) within card requirements. The changes work in both tag and comment style requirement syntax. I added minimal examples of both approaches. The comment style example is a copy of your card with covers example. The only change is that it uses of $pc.strength rather than $strength. The simple dot notation example using the text and most of logic behind that same example. However, I did not include any of the code for the covers in order to keep things as simple as possible. I added one extra option (sneak past the beast) so that the player character could have more than one property. All javascript and examples have been rebuilt, unlike my last commit.
I was unable to figure out how/where to put the object/dot notation change within the brief docs summary.