TalentTreeNodeDef - Grim-/Talented GitHub Wiki
<Talented.TalentTreeNodeDef>
is the most basic node definiton, it is the node that is placed on the UI, it holds the upgrades which are defined as seperate <TalentDefs>
.
Generally the Web app will generate these as needed but you can also create them manually, this requires you to manually link them all together, using the web app is recommended.
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<Talented.TalentTreeNodeDef>
<defName>ParasiteBasicMetabolism</defName>
<type>Start</type>
<sequential>false</sequential> <!-- A TalentTreeNode that is sequential will remove previous upgrades when applying the next -->
<hide>false</hide><!-- Should this node start hidden -->
<prerequisitesToShow> <!-- Talents required to show hidden node -->
<li>SomeTalentDef</li>
</prerequisitesToShow>
<upgrades>
<li>BasicMetabolismUpgrade</li>
</upgrades>
<connections> <!-- Any descendant nodes connected to this node -->
<li>ParasitePathNode1</li>
<li>SymbiosisPathNode1</li>
</connections>
<unlockRules>
<li>SomeCustomUnlockRuleDef</li>
</unlockRules>
</Talented.TalentTreeNodeDef>
</Defs>