Skip to content

Commit

Permalink
Update redburn pact patch
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Dec 18, 2024
1 parent 33916c8 commit 7f5b6b9
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 503 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Outland_PactCatapult"]/thingClass</xpath>
<value>
<thingClass>CombatExtended.Building_TurretGunCE</thingClass>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Outland_PactCatapult"]/fillPercent</xpath>
<value>
<fillPercent>0.85</fillPercent>
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="Outland_Gun_PactCatapult"]/building</xpath>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="Outland_Gun_PactCatapult"]/comps/li[@Class="CompProperties_ChangeableProjectile"]</xpath>
</Operation>

<!-- ========== Mangonel - Weapon ========== -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Outland_Gun_PactCatapult"]/statBases</xpath>
<value>
<SightsEfficiency>0.5</SightsEfficiency>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Outland_Gun_PactCatapult"]/comps</xpath>
<value>
<li Class="CombatExtended.CompProperties_Charges">
<chargeSpeeds>
<li>10</li>
<li>20</li>
<li>30</li>
<li>50</li>
<li>70</li>
</chargeSpeeds>
</li>
<li Class="CombatExtended.CompProperties_AmmoUser">
<magazineSize>1</magazineSize>
<reloadTime>12</reloadTime>
<ammoSet>AmmoSet_Catapult</ammoSet>
</li>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Outland_Gun_PactCatapult"]/verbs</xpath>
<value>
<verbs>
<li Class="CombatExtended.VerbPropertiesCE">
<verbClass>CombatExtended.Verb_ShootMortarCE</verbClass>
<forceNormalTimeSpeed>false</forceNormalTimeSpeed>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Projectile_CatapultBullet_Boulder</defaultProjectile>
<warmupTime>4</warmupTime>
<minRange>30</minRange>
<range>500</range>
<burstShotCount>1</burstShotCount>
<soundCast>Bow_Recurve</soundCast>
<muzzleFlashScale>0</muzzleFlashScale>
<indirectFirePenalty>0.2</indirectFirePenalty>
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
</li>
</verbs>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Outland_Gun_PactCatapult"]/weaponTags</xpath>
<value>
<li>TurretGun</li>
</value>
</Operation>

</Patch>

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7f5b6b9

Please sign in to comment.