mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Added an Unbreakable Gene
This commit is contained in:
parent
75891ca0b3
commit
8e63e69385
6 changed files with 136 additions and 7 deletions
|
@ -11,4 +11,18 @@
|
|||
<displayOrderInCategory>1</displayOrderInCategory>
|
||||
</GeneDef>
|
||||
|
||||
<GeneDef >
|
||||
<defName>rjw_genes_unbreakable</defName>
|
||||
<label>Unbreakable</label>
|
||||
<displayCategory>rjw_genes_damage</displayCategory>
|
||||
<description>This Gene makes the Carrier unable to get mood or social penalties from being raped and they cannot be broken for a long period of time.</description>
|
||||
<iconPath>UI/Icons/Rituals/TrialDefend</iconPath>
|
||||
<displayOrderInCategory>2</displayOrderInCategory>
|
||||
<!-- Note: This Gene is mostly handled by patching XMLs -->
|
||||
<geneClass>RJW_Genes.Gene_Unbreakable</geneClass>
|
||||
<hediffGiversCannotGive>
|
||||
<li>FeelingBroken</li>
|
||||
</hediffGiversCannotGive>
|
||||
</GeneDef>
|
||||
|
||||
</Defs>
|
68
Common/Patches/Genes/Patch_Unbreakable.xml
Normal file
68
Common/Patches/Genes/Patch_Unbreakable.xml
Normal file
|
@ -0,0 +1,68 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Patch>
|
||||
|
||||
<Operation Class="PatchOperationAdd">
|
||||
<xpath>Defs/ThoughtDef[defName="FeelingBroken"]</xpath>
|
||||
<value>
|
||||
<nullifyingGenes>
|
||||
<li>rjw_genes_unbreakable</li>
|
||||
</nullifyingGenes>
|
||||
</value>
|
||||
</Operation>
|
||||
|
||||
|
||||
<Operation Class="PatchOperationAdd">
|
||||
<xpath>Defs/ThoughtDef[defName="GotRaped"]</xpath>
|
||||
<value>
|
||||
<nullifyingGenes>
|
||||
<li>rjw_genes_unbreakable</li>
|
||||
</nullifyingGenes>
|
||||
</value>
|
||||
</Operation>
|
||||
|
||||
<Operation Class="PatchOperationAdd">
|
||||
<xpath>Defs/ThoughtDef[defName="GotAnalRaped"]</xpath>
|
||||
<value>
|
||||
<nullifyingGenes>
|
||||
<li>rjw_genes_unbreakable</li>
|
||||
</nullifyingGenes>
|
||||
</value>
|
||||
</Operation>
|
||||
|
||||
<Operation Class="PatchOperationAdd">
|
||||
<xpath>Defs/ThoughtDef[defName="GotAnalRapedByFemale"]</xpath>
|
||||
<value>
|
||||
<nullifyingGenes>
|
||||
<li>rjw_genes_unbreakable</li>
|
||||
</nullifyingGenes>
|
||||
</value>
|
||||
</Operation>
|
||||
|
||||
<Operation Class="PatchOperationAdd">
|
||||
<xpath>Defs/ThoughtDef[defName="GotRapedUnconscious"]</xpath>
|
||||
<value>
|
||||
<nullifyingGenes>
|
||||
<li>rjw_genes_unbreakable</li>
|
||||
</nullifyingGenes>
|
||||
</value>
|
||||
</Operation>
|
||||
|
||||
<Operation Class="PatchOperationAdd">
|
||||
<xpath>Defs/ThoughtDef[defName="HateMyRapist"]</xpath>
|
||||
<value>
|
||||
<nullifyingGenes>
|
||||
<li>rjw_genes_unbreakable</li>
|
||||
</nullifyingGenes>
|
||||
</value>
|
||||
</Operation>
|
||||
|
||||
<Operation Class="PatchOperationAdd">
|
||||
<xpath>Defs/ThoughtDef[defName="AllowedMeToGetRaped"]</xpath>
|
||||
<value>
|
||||
<nullifyingGenes>
|
||||
<li>rjw_genes_unbreakable</li>
|
||||
</nullifyingGenes>
|
||||
</value>
|
||||
</Operation>
|
||||
|
||||
</Patch>
|
Loading…
Add table
Add a link
Reference in a new issue