Thanks again to everyone who has helped me with this project. Took a long break while actually running an Iron Kingdoms game instead of playing it it. Now getting back to my character generator.
I have a situation where character can only take a particular career (Iron Fang) if he already has another career from a specified list (Aristocrat, Military Officer, Soldier, or Warcaster)
Typically, it's a single requirement (Must be Human, etc), but this is the first time I've had to deal with several potentials.
Here's how I've done it for single choices:
what do I do for multiples though? I don't see any way to extend exprreq to do this.
I have a situation where character can only take a particular career (Iron Fang) if he already has another career from a specified list (Aristocrat, Military Officer, Soldier, or Warcaster)
Typically, it's a single requirement (Must be Human, etc), but this is the first time I've had to deal with several potentials.
Here's how I've done it for single choices:
Code:
<!-- Must have certain starting careers -->
<exprreq iserror="yes" message="Must be Human"><![CDATA[
compare(hero.findchild[Career].field[name].text, "Aristocrat")= 0
]]></exprreq>
</thing>
what do I do for multiples though? I don't see any way to extend exprreq to do this.