BasePawn fixes for Mantodean, Moosesian, Crystalloid

This commit is contained in:
Tory 2021-07-29 11:53:21 +00:00
parent a84d6f6a6d
commit 9c45e0291d
3 changed files with 75 additions and 0 deletions

View file

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Crystalloid</li>
<li>1571323744</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[@Name="BaseCrystal"]</xpath>
<value>
<ThingDef Name="BaseCrystal" ParentName="BasePawn" Abstract="True">
<statBases>
<PsychicSensitivity>1.1</PsychicSensitivity>
<ToxicSensitivity>0</ToxicSensitivity>
<Flammability>0.33</Flammability>
<Mass>70</Mass>
<ArmorRating_Heat>0.70</ArmorRating_Heat>
<ComfyTemperatureMin>-100</ComfyTemperatureMin>
<ComfyTemperatureMax>250</ComfyTemperatureMax>
</statBases>
<race>
<bloodDef>FilthCrystalBlood</bloodDef>
<fleshType>Crystalloid</fleshType>
<useMeatFrom>Human</useMeatFrom>
<needsRest>false</needsRest>
<hasGenders>false</hasGenders>
<foodType>None</foodType>
<trainability>None</trainability>
</race>
</ThingDef>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>The Mantodean insectoid race</li>
<li>1294507772</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAttributeSet">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName="Alien_Mantodean"]</xpath>
<attribute>ParentName</attribute>
<value>BasePawn</value>
</li>
</operations>
</match>
</Operation>
</Patch>

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Moosesian race</li>
<li>2549028560</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAttributeSet">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName="Moosesian"]</xpath>
<attribute>ParentName</attribute>
<value>BasePawn</value>
</li>
</operations>
</match>
</Operation>
</Patch>