Skip to content

Commit

Permalink
Mini and Medium turret adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
SamaelGray committed May 27, 2024
1 parent a348e5e commit 9e5596d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 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
20 changes: 17 additions & 3 deletions Patches/Core/ThingDefs_Buildings/Buildings_Security.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,37 @@
<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>

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

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

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 9e5596d

Please sign in to comment.