mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Fix #115 in XML
This commit is contained in:
parent
3f6904aa8e
commit
75950b6864
3 changed files with 80 additions and 75 deletions
|
@ -22,6 +22,8 @@ Most of the genes so far were positive or neutral,
|
|||
so I got some fair requests to introduce negative genes to keep xenotypes balanced.
|
||||
I know that this is some overlap with the STD mod, but well ... you are free to turn things off?
|
||||
|
||||
In theory, you can specify and gene of any kind to be spreadable by sex, not only ones written by this mod.
|
||||
|
||||
**Genetic Infectors**:
|
||||
|
||||
These Genes can apply a genetic disease, but are not genetic diseases themselves.
|
||||
|
@ -93,6 +95,7 @@ but they are meant mostly to have infectors immune against their own diseases.
|
|||
**Fixes:**
|
||||
|
||||
- Fixed an Issue where pawns would always get the Pheromone social boost, unless they had the pheromone (#113)
|
||||
- Fixed two hidden dependencies on Ideology and Royalty (#115)
|
||||
|
||||
**Internal:**
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
|
||||
|
||||
<HediffDef>
|
||||
<defName>rjw_genes_fertilin_lost</defName>
|
||||
<hediffClass>Hediff_HemogenCraving</hediffClass>
|
||||
|
@ -19,12 +19,13 @@
|
|||
</li>
|
||||
</stages>
|
||||
</HediffDef>
|
||||
|
||||
|
||||
<HediffDef>
|
||||
<defName>rjw_genes_succubus_drained</defName>
|
||||
<hediffClass>HediffWithComps</hediffClass>
|
||||
<label>Drained</label>
|
||||
<description>The vitality of this pawn has been drained. Cannot be drained again until fully recovered.</description>
|
||||
<description>The vitality of this pawn has been drained. Cannot be drained again until fully
|
||||
recovered.</description>
|
||||
<defaultLabelColor>(1,0,0.5)</defaultLabelColor>
|
||||
<maxSeverity>1.0</maxSeverity>
|
||||
<initialSeverity>1.0</initialSeverity>
|
||||
|
@ -74,13 +75,13 @@
|
|||
<statOffsets>
|
||||
<WorkSpeedGlobal>-0.2</WorkSpeedGlobal>
|
||||
</statOffsets>
|
||||
<vomitMtbDays>0.4</vomitMtbDays>
|
||||
<vomitMtbDays>0.4</vomitMtbDays>
|
||||
<hungerRateFactorOffset>0.1</hungerRateFactorOffset>
|
||||
<restFallFactorOffset>0.35</restFallFactorOffset>
|
||||
</li>
|
||||
</stages>
|
||||
</HediffDef>
|
||||
|
||||
|
||||
<HediffDef>
|
||||
<defName>rjw_genes_fertilin_craving</defName>
|
||||
<label>fertilin craving</label>
|
||||
|
@ -90,77 +91,78 @@
|
|||
<maxSeverity>1.0</maxSeverity>
|
||||
<initialSeverity>0.01</initialSeverity>
|
||||
<stages>
|
||||
<li>
|
||||
<label>minor</label>
|
||||
<painOffset>0.05</painOffset>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Consciousness</capacity>
|
||||
<setMax>0.9</setMax>
|
||||
</li>
|
||||
</capMods>
|
||||
</li>
|
||||
<li>
|
||||
<label>moderate</label>
|
||||
<minSeverity>0.35</minSeverity>
|
||||
<painOffset>0.1</painOffset>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Consciousness</capacity>
|
||||
<setMax>0.8</setMax>
|
||||
</li>
|
||||
</capMods>
|
||||
</li>
|
||||
<li>
|
||||
<label>major</label>
|
||||
<minSeverity>0.7</minSeverity>
|
||||
<painOffset>0.15</painOffset>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Consciousness</capacity>
|
||||
<setMax>0.5</setMax>
|
||||
</li>
|
||||
</capMods>
|
||||
</li>
|
||||
<li>
|
||||
<label>minor</label>
|
||||
<painOffset>0.05</painOffset>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Consciousness</capacity>
|
||||
<setMax>0.9</setMax>
|
||||
</li>
|
||||
</capMods>
|
||||
</li>
|
||||
<li>
|
||||
<label>moderate</label>
|
||||
<minSeverity>0.35</minSeverity>
|
||||
<painOffset>0.1</painOffset>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Consciousness</capacity>
|
||||
<setMax>0.8</setMax>
|
||||
</li>
|
||||
</capMods>
|
||||
</li>
|
||||
<li>
|
||||
<label>major</label>
|
||||
<minSeverity>0.7</minSeverity>
|
||||
<painOffset>0.15</painOffset>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Consciousness</capacity>
|
||||
<setMax>0.5</setMax>
|
||||
</li>
|
||||
</capMods>
|
||||
</li>
|
||||
</stages>
|
||||
<comps>
|
||||
<li Class="RJW_Genes.HediffCompProperties_SeverityFromFertilin">
|
||||
<severityPerHourEmpty>0.05</severityPerHourEmpty>
|
||||
<severityPerHourHemogen>-0.1</severityPerHourHemogen>
|
||||
</li>
|
||||
<li Class="RJW_Genes.HediffCompProperties_SeverityFromFertilin">
|
||||
<severityPerHourEmpty>0.05</severityPerHourEmpty>
|
||||
<severityPerHourHemogen>-0.1</severityPerHourHemogen>
|
||||
</li>
|
||||
</comps>
|
||||
</HediffDef>
|
||||
|
||||
<HediffDef ParentName="RoleStatBuff">
|
||||
<defName>rjw_genes_naked_prowess</defName>
|
||||
<label>naked prowss</label>
|
||||
<description>Driven by fertilin, this person has greatly increased strength and resilience.</description>
|
||||
<hediffClass>HediffWithComps</hediffClass>
|
||||
<stages>
|
||||
<li>
|
||||
<!--Maybe a bit to much, but they are supposed to be strong-->
|
||||
<statOffsets>
|
||||
<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
|
||||
<ArmorRating_Blunt>0.5</ArmorRating_Blunt>
|
||||
<ArmorRating_Heat>0.5</ArmorRating_Heat>
|
||||
<!-- <Insulation_Cold>10</Insulation_Cold>
|
||||
<Insulation_Heat>10</Insulation_Heat> -->
|
||||
</statOffsets>
|
||||
<statFactors>
|
||||
<IncomingDamageFactor>0.5</IncomingDamageFactor>
|
||||
<MeleeDamageFactor>1.5</MeleeDamageFactor>
|
||||
</statFactors>
|
||||
</li>
|
||||
</stages>
|
||||
<comps>
|
||||
<li Class="HediffCompProperties_Disappears">
|
||||
<showRemainingTime>True</showRemainingTime>
|
||||
<disappearsAfterTicks>5000</disappearsAfterTicks> <!-- 2 hours -->
|
||||
</li>
|
||||
<li Class="HediffCompProperties_DisappearsOnDeath"/>
|
||||
<!--TODO: Make hediff disappear if pawn is nolonger naked-->
|
||||
</comps>
|
||||
<isBad>false</isBad>
|
||||
</HediffDef>
|
||||
<HediffDef>
|
||||
<defName>rjw_genes_naked_prowess</defName>
|
||||
<defaultLabelColor>(0.52, 1, 0.95)</defaultLabelColor>
|
||||
<label>naked prowss</label>
|
||||
<description>Driven by fertilin, this person has greatly increased strength and resilience.</description>
|
||||
<hediffClass>HediffWithComps</hediffClass>
|
||||
<stages>
|
||||
<li>
|
||||
<!--Maybe
|
||||
a bit to much, but they are supposed to be strong-->
|
||||
<statOffsets>
|
||||
<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
|
||||
<ArmorRating_Blunt>0.5</ArmorRating_Blunt>
|
||||
<ArmorRating_Heat>0.5</ArmorRating_Heat>
|
||||
</statOffsets>
|
||||
<statFactors>
|
||||
<IncomingDamageFactor>0.5</IncomingDamageFactor>
|
||||
<MeleeDamageFactor>1.5</MeleeDamageFactor>
|
||||
</statFactors>
|
||||
</li>
|
||||
</stages>
|
||||
<comps>
|
||||
<li Class="HediffCompProperties_Disappears">
|
||||
<showRemainingTime>True</showRemainingTime>
|
||||
<disappearsAfterTicks>5000</disappearsAfterTicks> <!-- 2 hours -->
|
||||
</li>
|
||||
<li Class="HediffCompProperties_DisappearsOnDeath" />
|
||||
<!--TODO:
|
||||
Make hediff disappear if pawn is nolonger naked-->
|
||||
</comps>
|
||||
<isBad>false</isBad>
|
||||
</HediffDef>
|
||||
|
||||
</Defs>
|
||||
</Defs>
|
|
@ -13,7 +13,7 @@
|
|||
<li>
|
||||
<minSeverity>0</minSeverity>
|
||||
<statOffsets>
|
||||
<SlaveSuppressionOffset>0.40</SlaveSuppressionOffset>
|
||||
<SlaveSuppressionOffset MayRequire="Ideology">0.40</SlaveSuppressionOffset>
|
||||
<Vulnerability>3.0</Vulnerability>
|
||||
</statOffsets>
|
||||
<capMods>
|
||||
|
|
Loading…
Reference in a new issue