View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,056

Old July 22nd, 2022, 08:36 AM
Here are the relevant sections of the editor code from PF1 - the one change from normal editor settings is the target="minion" so that the tags and bootstraps are placed on the minion, not the anchor pick:

Code:

<inputthing
name="Minion details"
helptext="Specify details about the race and other details for the minion this adds.">
<it_separator/>
</inputthing>
<inputthing
name="Minion Race"
helptext="If you want to have this always add a certain race to the minion, select the race here.">
<it_bootcustomcompset="Race"target="minion">
<match><![CDATA[
          !thing.showonly & !Helper.Obsolete
          ]]></match>
</it_bootcustom>
</inputthing>
<inputthing
name="Check here if you've chosen a minion race"
helptext="If you've selected a minion race, check here so that the user cannot change that race (which is necessary, because the race you've selected will always be there, meaning that if the user chose another one, the character would have two races).">
<it_tagcheckgroup="Hero"tag="RaceFixed"target="minion"/>
</inputthing>
<inputthing
name="Templates"
helptext="If you want to have this always add certain template(s) to the minion, select the templates here.">
<it_bootcustomcompset="Template"target="minion">
<match><![CDATA[
          !thing.showonly & !Helper.Obsolete
          ]]></match>
</it_bootcustom>
</inputthing>
<inputthing
name="Animal General Purpose Training"
helptext="Select any animal tricks from the general purpose trainings category this minion always has">
<it_bootcustomcompset="AnimTrick"target="minion">
<match><![CDATA[
          Helper.GenPurpose
          ]]></match>
</it_bootcustom>
</inputthing>
<inputthing
name="Bonus Animal Tricks"
helptext="Select any animal tricks this minion always has">
<it_bootcustomcompset="AnimTrick"target="minion">
<match><![CDATA[
          !Helper.GenPurpose
          ]]></match>
</it_bootcustom>
</inputthing>
<inputthing
name="Minion chooses a character type?"
helptext="If this minion is allowed to choose a character type (PC, NPC, Kingdom, etc.) on the configure hero form, check here.  This is not common - it's only used for generic minions like the Hireling.">
<it_tagcheckgroup="Hero"tag="FullMinion"target="minion"/>
</inputthing>


Mathias is offline   #2 Reply With Quote