Skip to content

Commit

Permalink
Fix deadlife verb, turret pack housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Jun 21, 2024
1 parent f949bbf commit f675f2d
Showing 1 changed file with 9 additions and 39 deletions.
48 changes: 9 additions & 39 deletions Anomaly/Patches/ThingDefs_Misc/Apparel_Packs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<verbs>
<li Class="CombatExtended.VerbPropertiesCE">
<label>deploy turret</label>
<verbClass>Verb_LaunchProjectileStaticOneUse</verbClass>
<verbClass>CombatExtended.Verb_ShootCEOneUseStatic</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<onlyManualCast>True</onlyManualCast>
<warmupTime>1</warmupTime>
Expand Down Expand Up @@ -111,13 +111,13 @@
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Grenade_TurretPack"]/projectile</xpath>
<value>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<dropsCasings>false</dropsCasings>
<dangerFactor>0</dangerFactor>
<airborneSuppressionFactor>0</airborneSuppressionFactor>
<speed>12</speed>
<spawnsThingDef>Turret_TacticalTurret</spawnsThingDef>
</projectile>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<dropsCasings>false</dropsCasings>
<dangerFactor>0</dangerFactor>
<airborneSuppressionFactor>0</airborneSuppressionFactor>
<speed>12</speed>
<spawnsThingDef>Turret_TacticalTurret</spawnsThingDef>
</projectile>
</value>
</Operation>

Expand All @@ -137,7 +137,7 @@
<verbs>
<li Class="CombatExtended.VerbPropertiesCE">
<label>deploy deadlife dust</label>
<verbClass>CombatExtended.Verb_LaunchProjectileStaticCE</verbClass>
<verbClass>CombatExtended.Verb_ShootCEOneUseStatic</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<onlyManualCast>True</onlyManualCast>
<warmupTime>1.5</warmupTime>
Expand Down Expand Up @@ -177,34 +177,4 @@
</value>
</Operation>


<!--PackTurret-->
<!--Apparel-->
<Operation Class="PatchOperationAttributeSet">
<xpath>Defs/ThingDef[defName="Apparel_PackTurret"]/verbs/li[label="deploy turret"]</xpath>
<attribute>Class</attribute>
<value>CombatExtended.VerbPropertiesCE</value>
</Operation>
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_PackTurret"]/verbs/li[label="deploy turret"]/verbClass</xpath>
<value>
<verbClass>CombatExtended.Verb_ShootCEOneUseStatic</verbClass>
</value>
</Operation>

<!--Projectile-->

<Operation Class="PatchOperationAttributeSet">
<xpath>Defs/ThingDef[defName="Grenade_TurretPack"]/projectile</xpath>
<attribute>Class</attribute>
<value>CombatExtended.ProjectilePropertiesCE</value>
</Operation>

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

</Patch>

0 comments on commit f675f2d

Please sign in to comment.