Skip to content

Commit

Permalink
Merge pull request #3156 from SamaelGray/SamaelGray-MiniTurretRebalanced
Browse files Browse the repository at this point in the history
Mini and Medium turret adjustments
  • Loading branch information
N7Huntsman authored Jun 8, 2024
2 parents 91a0f89 + 93ba8bc commit 720888e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Defs/ThingDefs_Misc/Weapons_Turrets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@
<statBases>
<SightsEfficiency>1</SightsEfficiency>
<ShotSpread>0.05</ShotSpread>
<SwayFactor>0.94</SwayFactor>
<SwayFactor>0.84</SwayFactor>
<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
<Mass>15</Mass>
<Mass>10</Mass>
</statBases>
<verbs>
<li Class="CombatExtended.VerbPropertiesCE">
<recoilAmount>0.77</recoilAmount>
<recoilAmount>0.95</recoilAmount>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_762x51mmNATO_FMJ</defaultProjectile>
Expand Down
18 changes: 16 additions & 2 deletions Patches/Core/ThingDefs_Buildings/Buildings_Security.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,22 @@
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Turret_MiniTurret"]/statBases/Mass</xpath>
<value>
<Mass>25</Mass>
<Bulk>15</Bulk>
<Mass>20</Mass>
<Bulk>20</Bulk>
</value>
</Operation>

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Turret_MiniTurret"]/comps/li[@Class="CompProperties_Power"]/basePowerConsumption</xpath>
<value>
<basePowerConsumption>100</basePowerConsumption>
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="Turret_MiniTurret"]/comps/li[@Class="CompProperties_Refuelable"]</xpath>
</Operation>
Expand All @@ -74,6 +81,13 @@
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Turret_MiniTurret"]/costList/ComponentIndustrial</xpath>
<value>
<ComponentIndustrial>5</ComponentIndustrial>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Turret_MiniTurret"]/building/turretBurstCooldownTime</xpath>
<value>
Expand Down
5 changes: 3 additions & 2 deletions Patches/Core/ThingDefs_Misc/Weapons_Guns.xml
Original file line number Diff line number Diff line change
Expand Up @@ -834,10 +834,11 @@
<RangedWeapon_Cooldown>0.36</RangedWeapon_Cooldown>
<SightsEfficiency>1</SightsEfficiency>
<ShotSpread>0.07</ShotSpread>
<SwayFactor>0.69</SwayFactor>
<SwayFactor>0.67</SwayFactor>
<Mass>4</Mass>
</statBases>
<Properties>
<recoilAmount>0.91</recoilAmount>
<recoilAmount>1.02</recoilAmount>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_556x45mmNATO_FMJ</defaultProjectile>
Expand Down

0 comments on commit 720888e

Please sign in to comment.