Enable power armor station for paintjob recipes

Updated ThingDefs_PowerArmorStation.xml to define the station as a work table, add relevant recipes, and enable bill tab. Added a patch to include the power armor station as a recipe user for all power armor paintjob recipes, allowing these recipes to be performed at the station.
This commit is contained in:
RickGrymes
2026-01-18 09:42:53 -06:00
parent 1100138e78
commit 1bccc533bb
2 changed files with 49 additions and 0 deletions
@@ -5,6 +5,7 @@
<defName>FCP_Building_PowerArmorStation</defName>
<label>power armor station</label>
<description>A specialized station for storing and displaying power armor sets. Allows quick swapping of armor pieces between storage and use.</description>
<thingClass>Building_WorkTable</thingClass>
<graphicData>
<graphicClass>Graphic_Multi</graphicClass>
<texPath>Things/Buildings/FCP_Power_Armor_Station</texPath>
@@ -28,10 +29,33 @@
<WorkToBuild>2000</WorkToBuild>
<Flammability>1.0</Flammability>
<Beauty>2</Beauty>
<WorkTableWorkSpeedFactor>1.0</WorkTableWorkSpeedFactor>
</statBases>
<inspectorTabs>
<li>ITab_Bills</li>
<li>RangerRick_PowerArmor.ITab_ContentsPowerArmorStation</li>
</inspectorTabs>
<surfaceType>Item</surfaceType>
<recipes>
<!-- Power Armor Paintjobs -->
<li>Make_FCP_Apparel_T51_Hotrod_Flames_Power_Armor</li>
<li>Make_FCP_Apparel_T51_Shark_Paint_Power_Armor</li>
<li>Make_FCP_Apparel_T51_Hotrod_Pink_Power_Armor</li>
<li>Make_FCP_Apparel_T51_Abraxo_Power_Armor</li>
<li>Make_FCP_Apparel_T51_Sugar_Bombs_Power_Armor</li>
<li>Make_FCP_Apparel_T60_Hotrod_Flames_Power_Armor</li>
<li>Make_FCP_Apparel_T60_Shark_Paint_Power_Armor</li>
<li>Make_FCP_Apparel_T60_Hotrod_Pink_Power_Armor</li>
<!-- Helmet Paintjobs -->
<li>Make_FCP_Apparel_T51_Hotrod_Flames_Power_Armor_Helmet</li>
<li>Make_FCP_Apparel_T51_Shark_Paint_Power_Armor_Helmet</li>
<li>Make_FCP_Apparel_T51_Hotrod_Pink_Power_Armor_Helmet</li>
<li>Make_FCP_Apparel_T51_Abraxo_Power_Armor_Helmet</li>
<li>Make_FCP_Apparel_T51_Sugar_Bombs_Power_Armor_Helmet</li>
<li>Make_FCP_Apparel_T60_Hotrod_Flames_Power_Armor_Helmet</li>
<li>Make_FCP_Apparel_T60_Shark_Paint_Power_Armor_Helmet</li>
<li>Make_FCP_Apparel_T60_Hotrod_Pink_Power_Armor_Helmet</li>
</recipes>
<comps>
<li Class="RangerRick_PowerArmor.CompProperties_PowerArmorStation">
<armorDrawOffset>(0, 0, 1)</armorDrawOffset>
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<!-- Add Power Armor Station as a recipe user for all power armor paintjob recipes -->
<Operation Class="PatchOperationFindMod">
<mods>
<li>Fallout Core - Power Armor</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<!-- Add station to all existing paintjob recipes -->
<li Class="PatchOperationAdd">
<xpath>/Defs/RecipeDef[recipeUsers/li[text()="FCP_Production_Armor_Workbench"]]/recipeUsers</xpath>
<value>
<li>FCP_Building_PowerArmorStation</li>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>