Add mod extensions and tags to power armor defs

Added a FalloutCore.ApparelExtension to power armor to control body display and hiding. Updated power armor helmet base with a generation commonality and a new tag for identification.
This commit is contained in:
RickGrymes
2025-12-25 00:46:51 -06:00
parent 1eb1ce1237
commit bf0a8a0609
2 changed files with 10 additions and 0 deletions
@@ -76,6 +76,12 @@
</requiredApparels>
</li>
</comps>
<modExtensions>
<li Class="FalloutCore.ApparelExtension">
<shouldHideBody>True</shouldHideBody>
<displayBodyType>Hulk</displayBodyType>
</li>
</modExtensions>
</ThingDef>
<!--_____ Frames _____-->
@@ -4,10 +4,14 @@
<!--__________ Power Armor Helmets __________-->
<ThingDef ParentName="HatBase" Name="FCP_Apparel_Power_Armor_Helmet_Base" Abstract="true">
<generateCommonality>0.001</generateCommonality>
<apparel>
<canBeGeneratedToSatisfyWarmth>false</canBeGeneratedToSatisfyWarmth>
<canBeGeneratedToSatisfyVacuumResistance>false</canBeGeneratedToSatisfyVacuumResistance>
<canBeGeneratedToSatisfyToxicEnvironmentResistance>false</canBeGeneratedToSatisfyToxicEnvironmentResistance>
<tags>
<li>FCP_Power_Armor_Helmet</li>
</tags>
</apparel>
</ThingDef>