mirror of
https://github.com/FalloutCollaborationProject/FCP-Power-Armor.git
synced 2026-07-27 17:03:15 -07:00
Add Power Armor Specialist trader and pawnkind defs
Introduces new XML definitions for a Power Armor Specialist trader and associated pawnkind. The trader offers various power armor items and accepts them for trade, expanding trading options related to power armor equipment.
This commit is contained in:
@@ -0,0 +1,51 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Defs>
|
||||||
|
|
||||||
|
<!--__________ Power Armor Trader Pawnkinds __________-->
|
||||||
|
|
||||||
|
<!-- Power Armor Specialist Base -->
|
||||||
|
|
||||||
|
<PawnKindDef Name="FCP_Power_Armor_Trader_Base" Abstract="True">
|
||||||
|
<race>Human</race>
|
||||||
|
<defaultFactionDef>OutlanderCivil</defaultFactionDef>
|
||||||
|
<trader>true</trader>
|
||||||
|
<maxGenerationAge>60</maxGenerationAge>
|
||||||
|
<chemicalAddictionChance>0.05</chemicalAddictionChance>
|
||||||
|
<invNutrition>2.55</invNutrition>
|
||||||
|
<invFoodDef>MealSurvivalPack</invFoodDef>
|
||||||
|
<itemQuality>Normal</itemQuality>
|
||||||
|
<backstoryCryptosleepCommonality>0.08</backstoryCryptosleepCommonality>
|
||||||
|
<combatEnhancingDrugsChance>0.05</combatEnhancingDrugsChance>
|
||||||
|
<combatEnhancingDrugsCount>0~2</combatEnhancingDrugsCount>
|
||||||
|
<biocodeWeaponChance>0.1</biocodeWeaponChance>
|
||||||
|
<initialWillRange>1~3</initialWillRange>
|
||||||
|
<initialResistanceRange>10~17</initialResistanceRange>
|
||||||
|
</PawnKindDef>
|
||||||
|
|
||||||
|
<!-- Power Armor Specialist -->
|
||||||
|
|
||||||
|
<PawnKindDef ParentName="FCP_Power_Armor_Trader_Base">
|
||||||
|
<defName>FCP_Pawnkind_Power_Armor_Trader</defName>
|
||||||
|
<label>Power Armor Specialist</label>
|
||||||
|
<labelPlural>power armor specialists</labelPlural>
|
||||||
|
<combatPower>50</combatPower>
|
||||||
|
<gearHealthRange>0.7~2.5</gearHealthRange>
|
||||||
|
<apparelRequired>
|
||||||
|
<li>FCP_Apparel_Power_Armor_Frame</li>
|
||||||
|
<li>FCP_Apparel_Power_Armor_T51Armor</li>
|
||||||
|
<li>FCP_Apparel_Power_Armor_T51_Helmet</li>
|
||||||
|
</apparelRequired>
|
||||||
|
<weaponTags>
|
||||||
|
<li>IndustrialGunAdvanced</li>
|
||||||
|
</weaponTags>
|
||||||
|
<weaponMoney>300~600</weaponMoney>
|
||||||
|
<techHediffsMoney>500~1200</techHediffsMoney>
|
||||||
|
<techHediffsChance>0.25</techHediffsChance>
|
||||||
|
<forcedTraits>
|
||||||
|
<li>
|
||||||
|
<def>FCP_Trait_Power_Armor_Trained</def>
|
||||||
|
</li>
|
||||||
|
</forcedTraits>
|
||||||
|
</PawnKindDef>
|
||||||
|
|
||||||
|
</Defs>
|
||||||
@@ -0,0 +1,99 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Defs>
|
||||||
|
|
||||||
|
<!--__________ Power Armor Traders __________-->
|
||||||
|
|
||||||
|
<!-- Power Armor Specialist Trader -->
|
||||||
|
|
||||||
|
<TraderKindDef>
|
||||||
|
<defName>FCP_Caravan_Power_Armor_Trader</defName>
|
||||||
|
<label>Power Armor Specialist</label>
|
||||||
|
<category>Visitor</category>
|
||||||
|
<stockGenerators>
|
||||||
|
|
||||||
|
<!--__ Power Armor Frames __-->
|
||||||
|
|
||||||
|
<li Class="StockGenerator_SingleDef">
|
||||||
|
<thingDef>FCP_Apparel_Power_Armor_Frame</thingDef>
|
||||||
|
<countRange>0~1</countRange>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<!--__ T-45 Power Armor __-->
|
||||||
|
|
||||||
|
<li Class="StockGenerator_SingleDef">
|
||||||
|
<thingDef>FCP_Apparel_Power_Armor_T45Armor</thingDef>
|
||||||
|
<countRange>0~2</countRange>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li Class="StockGenerator_SingleDef">
|
||||||
|
<thingDef>FCP_Apparel_Power_Armor_T45_Helmet</thingDef>
|
||||||
|
<countRange>0~2</countRange>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<!--__ T-51 Power Armor __-->
|
||||||
|
|
||||||
|
<li Class="StockGenerator_SingleDef">
|
||||||
|
<thingDef>FCP_Apparel_Power_Armor_T51Armor</thingDef>
|
||||||
|
<countRange>0~1</countRange>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li Class="StockGenerator_SingleDef">
|
||||||
|
<thingDef>FCP_Apparel_Power_Armor_T51_Helmet</thingDef>
|
||||||
|
<countRange>0~1</countRange>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<!--__ T-60 Power Armor __-->
|
||||||
|
|
||||||
|
<li Class="StockGenerator_SingleDef">
|
||||||
|
<thingDef>FCP_Apparel_Power_Armor_T60Armor</thingDef>
|
||||||
|
<countRange>0~1</countRange>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li Class="StockGenerator_SingleDef">
|
||||||
|
<thingDef>FCP_Apparel_Power_Armor_T60_Helmet</thingDef>
|
||||||
|
<countRange>0~1</countRange>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<!--__ X-01 Power Armor __-->
|
||||||
|
|
||||||
|
<li Class="StockGenerator_SingleDef">
|
||||||
|
<thingDef>FCP_Apparel_X01_Power_Armor</thingDef>
|
||||||
|
<countRange>0~1</countRange>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li Class="StockGenerator_SingleDef">
|
||||||
|
<thingDef>FCP_Apparel_Power_Armor_X01_Helmet</thingDef>
|
||||||
|
<countRange>0~1</countRange>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<!--__ Currency __-->
|
||||||
|
|
||||||
|
<!-- Caps -->
|
||||||
|
|
||||||
|
<li Class="StockGenerator_SingleDef">
|
||||||
|
<thingDef>FCP_Currency_Caps</thingDef>
|
||||||
|
<countRange>3000~8000</countRange>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</stockGenerators>
|
||||||
|
<willTrade>true</willTrade>
|
||||||
|
<buyFilters>
|
||||||
|
<thingFilter>
|
||||||
|
<thingDefs>
|
||||||
|
<!-- Power Armor Frames and Armor -->
|
||||||
|
<li>FCP_Apparel_Power_Armor_Frame</li>
|
||||||
|
<li>FCP_Apparel_Power_Armor_T45Armor</li>
|
||||||
|
<li>FCP_Apparel_Power_Armor_T51Armor</li>
|
||||||
|
<li>FCP_Apparel_Power_Armor_T60Armor</li>
|
||||||
|
<li>FCP_Apparel_X01_Power_Armor</li>
|
||||||
|
<!-- Power Armor Helmets -->
|
||||||
|
<li>FCP_Apparel_Power_Armor_T45_Helmet</li>
|
||||||
|
<li>FCP_Apparel_Power_Armor_T51_Helmet</li>
|
||||||
|
<li>FCP_Apparel_Power_Armor_T60_Helmet</li>
|
||||||
|
<li>FCP_Apparel_Power_Armor_X01_Helmet</li>
|
||||||
|
</thingDefs>
|
||||||
|
</thingFilter>
|
||||||
|
</buyFilters>
|
||||||
|
</TraderKindDef>
|
||||||
|
|
||||||
|
</Defs>
|
||||||
Reference in New Issue
Block a user