Skip to content

Commit

Permalink
XML fixes
Browse files Browse the repository at this point in the history
- Change Androids Child to 3 (same as normal human)
- Shamblers no longer receive death rattle hediffs
- Some formatting
  • Loading branch information
masakitenchi committed Dec 17, 2024
1 parent df11f32 commit 1f4716d
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Mods/Androids/Defs/AlienRace/AlienRace_Androids.xml
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@
</li>
<li>
<def>HumanlikeChild</def>
<minAge>4</minAge>
<minAge>3</minAge>
</li>
<li MayRequire="Ludeon.RimWorld.Biotech">
<def>HumanlikePreTeenager</def>
Expand Down
17 changes: 17 additions & 0 deletions Mods/Core_SK/Anomaly/Patches/HediffDefs/Hediffs_Mutants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,22 @@
<li>ArmorGland</li>
</value>
</Operation>

<Operation Class="SK.PatchOperationReplaceExtended">
<xpath>Defs/HediffDef[defName="Shambler"]/stages/li</xpath>
<value>
<makeImmuneTo>
<li>IntestinalFailure</li>
<li>LiverFailure</li>
<li>KidneyFailure</li>
<li>ClinicalDeathNoHeartbeat</li>
<li>ClinicalDeathAsphyxiation</li>
<li>Coma</li>
<li>BrainDamage</li>
<li>SevereBrainDamage</li>
<li>VegetativeState</li>
</makeImmuneTo>
</value>
</Operation>

</Patch>
23 changes: 11 additions & 12 deletions Mods/Core_SK/Defs/HediffDefs/HediffDefs_Global_DeathRattle.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<HediffDef Name="FailureBase"
Abstract="True">
<HediffDef Name="FailureBase" Abstract="True">
<hediffClass>SK.Hediff_DeathRattle</hediffClass>
<defaultLabelColor>(1, 0.35, 0.35)</defaultLabelColor>
<initialSeverity>0.001</initialSeverity>
Expand Down Expand Up @@ -193,9 +192,9 @@
<li Class="HediffGiver_RandomDrugEffect">
<hediff>SevereBrainDamage</hediff>
<severityToMtbDaysCurve>
<points>
<li>(0.16, 0.09</li>
</points>
<points>
<li>0.16, 0.09</li>
</points>
</severityToMtbDaysCurve>
<partsToAffect>
<li>Brain</li>
Expand Down Expand Up @@ -246,9 +245,9 @@
<li Class="HediffGiver_RandomDrugEffect">
<hediff>BrainDamage</hediff>
<severityToMtbDaysCurve>
<points>
<li>(0.16, 0.09</li>
</points>
<points>
<li>0.16, 0.09</li>
</points>
</severityToMtbDaysCurve>
<partsToAffect>
<li>Brain</li>
Expand Down Expand Up @@ -276,9 +275,9 @@
<li Class="HediffGiver_RandomDrugEffect">
<hediff>VegetativeState</hediff>
<severityToMtbDaysCurve>
<points>
<li>(0.6, 1</li>
</points>
<points>
<li>0.6, 1</li>
</points>
</severityToMtbDaysCurve>
<partsToAffect>
<li>Brain</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
</stuffProps>
</ThingDef>

<ThingDef ParentName="SK_LeatherBase">
<!-- <ThingDef ParentName="SK_LeatherBase">
<defName>Leather_Bear</defName>
<label>bear fur pelt</label>
<description>The strong furry leather of a bear. Compared to most leather, it is quite a bit tougher and a bit better at all kinds of temperature regulation.</description>
Expand Down Expand Up @@ -319,7 +319,7 @@
<Mass>0.5</Mass>
</statFactors>
</stuffProps>
</ThingDef>
</ThingDef> -->

<!--========== Basic leathers: skin ============-->

Expand Down

0 comments on commit 1f4716d

Please sign in to comment.