I have never been able to figure out how to enter Pre-Req's. I have read the user files for the various files, but they are never laid out like the actual program.
If I want to add a Prereq for an edge I do so using the Pre-Req button that opens the prereq window (jpg prereq 01). The Hero Lab Kit when adding Edges (pg444) says that each pre-req should be entered separately. But the example (see jpg prereq 02) show multiple pre-reqs as a single script.
The example
<thing
id="edgSweep"
name="Sweep"
compset="Edge"
isunique="yes"
description="Description goes here">
<fieldval field="edgMinRank" value="0"/>
<tag group="EdgeType" tag="Combat"/>
<exprreq message="Strength d8 required."><![CDATA[
#trait[attrStr] >= 4
]]></exprreq>
<exprreq message="Fighting d8 required."><![CDATA[
#traitfound[skFighting] >= 4
]]></exprreq>
</thing>
Contains multiple pre-reqs.
I assume that
<exprreq message="Fighting d8 required."><![CDATA[#traitfound[skFighting] >= 4 ]]></exprreq>
Is the part that sets the requirement to have a Fighting Skill of d8 or better.
I also assume that the portion <exprreq message="Fighting d8 required."> is created when Fighting d8 required
is entered in the block titled 'Message'.
That leads me to believe that <![CDATA[#traitfound[skFighting] >= 4 ]]> is the part of the expression that will be entered into the block labeled 'Pre-Requisite Script' and that the number '4' equals or is greater than d8.
At first I assumed that d4 = 1, d6 = 2, d8 = 3, d10 = 4 and d12 = 5 but then how could the example use '4' to indicate a Fighting Skill of d8 or better.
So my question is, if I wanted to enter a pre-req requirement of 'Smarts d8+' exactly what would I enter into the HL pre-requisite pop up fields? (see jpg prereq 03)
If I have one good working example shown as it is actually used I can usually figure the rest out.
I attached 3 images.
I understand I can be dense sometimes, but I am creating a SW users file for Thrilling Tales and have entered all the new Hindrances and Edges, but cannot get the pre-reqs to function correctly and apparently I can't seem to understand the manual/tutorial
If I want to add a Prereq for an edge I do so using the Pre-Req button that opens the prereq window (jpg prereq 01). The Hero Lab Kit when adding Edges (pg444) says that each pre-req should be entered separately. But the example (see jpg prereq 02) show multiple pre-reqs as a single script.
The example
<thing
id="edgSweep"
name="Sweep"
compset="Edge"
isunique="yes"
description="Description goes here">
<fieldval field="edgMinRank" value="0"/>
<tag group="EdgeType" tag="Combat"/>
<exprreq message="Strength d8 required."><![CDATA[
#trait[attrStr] >= 4
]]></exprreq>
<exprreq message="Fighting d8 required."><![CDATA[
#traitfound[skFighting] >= 4
]]></exprreq>
</thing>
Contains multiple pre-reqs.
I assume that
<exprreq message="Fighting d8 required."><![CDATA[#traitfound[skFighting] >= 4 ]]></exprreq>
Is the part that sets the requirement to have a Fighting Skill of d8 or better.
I also assume that the portion <exprreq message="Fighting d8 required."> is created when Fighting d8 required
is entered in the block titled 'Message'.
That leads me to believe that <![CDATA[#traitfound[skFighting] >= 4 ]]> is the part of the expression that will be entered into the block labeled 'Pre-Requisite Script' and that the number '4' equals or is greater than d8.
At first I assumed that d4 = 1, d6 = 2, d8 = 3, d10 = 4 and d12 = 5 but then how could the example use '4' to indicate a Fighting Skill of d8 or better.
So my question is, if I wanted to enter a pre-req requirement of 'Smarts d8+' exactly what would I enter into the HL pre-requisite pop up fields? (see jpg prereq 03)
If I have one good working example shown as it is actually used I can usually figure the rest out.
I attached 3 images.
I understand I can be dense sometimes, but I am creating a SW users file for Thrilling Tales and have entered all the new Hindrances and Edges, but cannot get the pre-reqs to function correctly and apparently I can't seem to understand the manual/tutorial

Attachments
Last edited: