AvP BasePawn fix

This commit is contained in:
Tory 2021-08-31 00:52:41 +00:00
parent ed2a6fd7ab
commit f343e2571f

View file

@ -0,0 +1,140 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Alien Vs Predator</li>
<li>2034103876</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[@Name="AvP_BaseNeomorphPawn"]</xpath>
<value>
<ThingDef Name="AvP_BaseNeomorphPawn" ParentName="BasePawn" Abstract="True">
<inspectorTabs Inherit="false">
<li>ITab_Pawn_Health</li>
<li>ITab_Pawn_Log</li>
<li>ITab_Pawn_Needs</li>
<!--
<li>ITab_Pawn_Training</li>
<li>ITab_Pawn_Character</li>
-->
</inspectorTabs>
<comps>
<!--
<li Class="AvP.CompProperties_Yautja">
<bloodedDefs>
<li>HMS_Hediff_BloodedM</li>
</bloodedDefs>
</li>
-->
</comps>
<alwaysFlee>true</alwaysFlee>
</ThingDef>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[@Name="AvP_BaseXenomorphPawn"]</xpath>
<value>
<ThingDef Name="AvP_BaseXenomorphPawn" ParentName="BasePawn" Abstract="True">
<thingClass Inherit="false">AvP.XenomorphPawn</thingClass>
<alwaysFlee>true</alwaysFlee>
<soundImpactDefault>BulletImpact_Flesh</soundImpactDefault>
<inspectorTabs Inherit="false">
<li>ITab_Pawn_Health</li>
<li>ITab_Pawn_Log</li>
</inspectorTabs>
<comps>
</comps>
</ThingDef>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[@Name="AvP_Artificial_Synths"]</xpath>
<value>
<ThingDef Name="AvP_Artificial_Synths" ParentName="BasePawn" Abstract="True">
<inspectorTabs Inherit="false">
<li>ITab_Pawn_Health</li>
<li>ITab_Pawn_Needs</li>
<li>ITab_Pawn_Character</li>
<li>ITab_Pawn_Training</li>
<li>ITab_Pawn_Gear</li>
<li>ITab_Pawn_Guest</li>
<li>ITab_Pawn_Prisoner</li>
<li>ITab_Pawn_Social</li>
<li>ITab_Pawn_Log</li>
<li>ITab_Pawn_FormingCaravan</li>
<li MayRequire="Ludeon.RimWorld.Ideology">ITab_Pawn_Slave</li>
</inspectorTabs>
<comps>
<li Class="AvP.CompProperties_FoodPoisonProtection">
<Poisonable>false</Poisonable>
<FoodPoisonCause>
<li>DangerousFoodType</li>
<li>FilthyKitchen</li>
<li>IncompetentCook</li>
<li>Rotten</li>
<li>Unknown</li>
</FoodPoisonCause>
</li>
<li Class="AvP.CompProperties_SynthProps">
<AllowedDiseases>
<li>MuscleParasites</li>
<li>FibrousMechanites</li>
<li>SensoryMechanites</li>
</AllowedDiseases>
</li>
</comps>
</ThingDef>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[@Name="AvP_BaseYautjaPawn"]</xpath>
<value>
<ThingDef Name="AvP_BaseYautjaPawn" ParentName="BasePawn" Abstract="True">
<inspectorTabs Inherit="false">
<li>ITab_Pawn_Health</li>
<li>ITab_Pawn_Needs</li>
<li>ITab_Pawn_Character</li>
<li>ITab_Pawn_Training</li>
<li>ITab_Pawn_Gear</li>
<li>ITab_Pawn_Guest</li>
<li>ITab_Pawn_Prisoner</li>
<li>ITab_Pawn_Social</li>
<li>ITab_Pawn_Log</li>
<li>ITab_Pawn_FormingCaravan</li>
<li MayRequire="Ludeon.RimWorld.Ideology">ITab_Pawn_Slave</li>
</inspectorTabs>
<comps>
<!--
<li>
<compClass>AvP.Comp_Yautja</compClass>
</li>
-->
<li Class="AvP.CompProperties_Yautja">
<bloodedDefs>
<li>HMS_Hediff_BloodedM</li>
<li>HMS_Hediff_BloodedMHuman</li>
<li>HMS_Hediff_BloodedMHumanlike</li>
<li>HMS_Hediff_BloodedMHound</li>
<li>HMS_Hediff_BloodedMCrusher</li>
<li>HMS_Hediff_BloodedMGroTye</li>
<li>HMS_Hediff_BloodedMThrumbo</li>
<li>HMS_Hediff_BloodedMWorthyHuman</li>
<li>HMS_Hediff_BloodedMWorthyHumanlike</li>
<li>HMS_Hediff_BloodedMMechanoid</li>
<li>HMS_Hediff_BloodedMBadBlood</li>
<li>HMS_Hediff_BloodedMXenomorph</li>
<li>HMS_Hediff_BloodedMPredalien</li>
<li>HMS_Hediff_BloodedMXenomorphQueen</li>
</bloodedDefs>
</li>
</comps>
</ThingDef>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>