-
Notifications
You must be signed in to change notification settings - Fork 0
ModExt_Requirements
flango edited this page Mar 5, 2023
·
1 revision
Lets you add requirements or restrictions to weapons and apparel.
For example, pawns can equip a certain weapon only while wearing any apparel from a list (similar to warcaskets).
Items with requirements will be dropped once the required apparel is no longer equipped.
🟡 TODO: Add hediff and other checks.

-
<kindDefs>- A list ofPawnKindDefsrequired to equip the item. -
<apparelDefs>- A list of apparel required to equip the item. -
<hediffDefs>- A list of hediffs required to equip the item. -
<traitDefs>- A list of traits required to equip the item. -
<skillRequirements>- Skill levels required to equip the item. -
<mustBeCapableOf>- A list ofWorkTagsrequired to equip the item. (Violent, Constructing, Social, etc) -
<geneDefs>- A list of genes required to equip the item. -
<gender>- Only one gender can equip the item.(Default: None) -
<anyItemInCategories>- Any item from these categories satisfies the requirement:None, Apparel, Hediffs, Traits, Genes, All.(Default: None) -
<anyCategory>- Anything satisfies the requirement.(Default: false)
<modExtensions>
<li Class="flangoCore.ModExt_Requirements">
<anyItemInCategories>Apparel</anyItemInCategories>
<apparelDefs>
<li>XCOM_Apparel_EXOSuit</li>
<li>fc_Apparel_WARSuit</li>
</apparelDefs>
<mustBeCapableOf>
<li>Violent</li>
</mustBeCapableOf>
<skillRequirements>
<Shooting>8</Shooting>
</skillRequirements>
</li>
</modExtensions>🦩 Home
🚧 - 404 Page not found.
🖼 - Preview needed.
🟡 - Works but has some TODOs.
🟠 - Basic functionality implemented.
🔴 - Not working properly.
❓ - Not tested.
🟡 Should recode some stuff 🟡
🟠 WIP, work/kill XP gain not implemented 🟠
-
🚧Give Hediff Severity Extended (aka Autobong)
-
Weapon Animations 🟡 (Not included)