Skip to content

Commit

Permalink
Add bulk to apparel to avoid autopatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Jun 20, 2024
1 parent bc58f71 commit e048367
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Anomaly/Patches/ThingDefs_Misc/Apparel_Anomaly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
<xpath>Defs/ThingDef[defName="Apparel_CultistMask"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
<StuffEffectMultiplierArmor>1</StuffEffectMultiplierArmor> <!-- Made of Bioferrite.-->
<Bulk>1</Bulk>
<WornBulk>0</WornBulk>
</value>
</Operation>

Expand All @@ -35,6 +37,8 @@
<xpath>Defs/ThingDef[defName="Apparel_CeremonialCultistMask"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
<StuffEffectMultiplierArmor>2</StuffEffectMultiplierArmor>
<Bulk>1</Bulk>
<WornBulk>0</WornBulk>
</value>
</Operation>

Expand Down Expand Up @@ -65,4 +69,18 @@
</value>
</Operation>

<!-- ========== Prevent the autopatcher touching the lances. ========== -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[
defName="Apparel_ShardPsychicShockLance" or
defName="Apparel_ShardPsychicInsanityLance" or
defName="Apparel_BiomutationLance"
]/statBases</xpath>
<value>
<Bulk>1</Bulk>
<WornBulk>0</WornBulk>
</value>
</Operation>

</Patch>
8 changes: 8 additions & 0 deletions Anomaly/Patches/ThingDefs_Misc/Apparel_Packs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@

<!-- ========== Disruptor Flare Pack ========== -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Apparel_DisruptorFlarePack"]/statBases</xpath>
<value>
<Bulk>10</Bulk>
<WornBulk>2</WornBulk>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_DisruptorFlarePack"]/verbs</xpath>
<value>
Expand Down

0 comments on commit e048367

Please sign in to comment.