I'm working from the skeleton game system, and I'm adding abilities. I'm looking for a way to set the existence or absence of an ability as a prerequisite for another ability. For example, two of the abilities I'm adding are "Attractive" and "Unattractive" (abAttr and abUnattr). Obviously, these are mutually exclusive. So if someone chooses both, they should both report as invalid.
Also, there's an "Alien" ability, and there are many other abilities for which "Alien" is a prerequisite. For example, "Extra Limb".
I've tried something like this:
But I'm told that abAttr cannot be found. When I look at this sort of thing in Pathfinder, there's a #hastrait function, but nothing like that seems to exist in the skeleton system.
Is there a simple way to do this?
Also, there's an "Alien" ability, and there are many other abilities for which "Alien" is a prerequisite. For example, "Extra Limb".
I've tried something like this:
Code:
<!-- Define any appropriate pre-requisites for the ability
<exprreq iserror="yes" message="Strength 5 required."><![CDATA[#trait[abAttr] = 0]]></exprreq>
But I'm told that abAttr cannot be found. When I look at this sort of thing in Pathfinder, there's a #hastrait function, but nothing like that seems to exist in the skeleton system.
Is there a simple way to do this?