Skip to content

Commit

Permalink
Merge pull request #3333 from SamaelGray/SamaelGray-LanceFix
Browse files Browse the repository at this point in the history
Creepjoiner fixes
  • Loading branch information
N7Huntsman authored Aug 7, 2024
2 parents dd46a8a + c505622 commit 331990e
Showing 1 changed file with 105 additions and 0 deletions.
105 changes: 105 additions & 0 deletions Anomaly/Patches/CreepjoinderDefs/Forms.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- ========== Creepjoiner inventory fixes ========== -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/CreepJoinerFormKindDef[defName="LeatheryStranger"]/fixedInventory</xpath>
<value>
<CE_Apparel_Backpack>
<stuff>WoolBison</stuff>
<quality>Poor</quality>
</CE_Apparel_Backpack>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/CreepJoinerFormKindDef[defName="LeatheryStranger"]</xpath>
<value>
<inventoryOptions>
<subOptionsChooseOne>
<li>
<thingDef>Ammo_303British_FMJ</thingDef>
<countRange>20~40</countRange>
</li>
<li>
<thingDef>Ammo_303British_AP</thingDef>
<countRange>20~40</countRange>
</li>
<li>
<thingDef>Ammo_303British_HP</thingDef>
<countRange>20~40</countRange>
</li>
</subOptionsChooseOne>
</inventoryOptions>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/CreepJoinerFormKindDef[defName="DealMaker"]/fixedInventory</xpath>
<value>
<CE_Apparel_Backpack>
<stuff>Cloth</stuff>
<quality>Normal</quality>
</CE_Apparel_Backpack>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/CreepJoinerFormKindDef[defName="DealMaker"]</xpath>
<value>
<inventoryOptions>
<subOptionsChooseOne>
<li>
<thingDef>Ammo_44Magnum_FMJ</thingDef>
<countRange>12~24</countRange>
</li>
<li>
<thingDef>Ammo_44Magnum_AP</thingDef>
<countRange>12~24</countRange>
</li>
<li>
<thingDef>Ammo_44Magnum_HP</thingDef>
<countRange>12~24</countRange>
</li>
</subOptionsChooseOne>
</inventoryOptions>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/CreepJoinerFormKindDef[defName="LoneGenius"]/fixedInventory</xpath>
<value>
<CE_Apparel_Backpack>
<stuff>Cloth</stuff>
<quality>Good</quality>
</CE_Apparel_Backpack>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/CreepJoinerFormKindDef[defName="LoneGenius"]/fixedInventory/Gun_ChargeLance</xpath>
<value>
<Gun_ChargeRifle />
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/CreepJoinerFormKindDef[defName="LoneGenius"]</xpath>
<value>
<inventoryOptions>
<subOptionsChooseOne>
<li>
<thingDef>Ammo_6x24mmCharged</thingDef>
<countRange>60~120</countRange>
</li>
<li>
<thingDef>Ammo_6x24mmCharged_AP</thingDef>
<countRange>60~120</countRange>
</li>
</subOptionsChooseOne>
</inventoryOptions>
</value>
</Operation>

</Patch>

0 comments on commit 331990e

Please sign in to comment.