Skip to content

Commit

Permalink
Merge pull request #3546 from CombatExtended-Continued/PartialArmorCl…
Browse files Browse the repository at this point in the history
…eanup

Clean up useStatic tags on Partial Armor
  • Loading branch information
N7Huntsman authored Nov 12, 2024
2 parents 621f7f5 + e0ba026 commit 313abf0
Show file tree
Hide file tree
Showing 18 changed files with 2 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,13 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
<parts>
<li>AA_LeftPincer</li>
<li>AA_RightPincer</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.5</ArmorRating_Blunt>
<parts>
<li>AA_LeftPincer</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<parts>
<li>InsectLeg</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<parts>
<li>InsectLeg</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<parts>
<li>InsectLeg</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<parts>
<li>InsectLeg</li>
Expand All @@ -39,15 +37,13 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
<parts>
<li>AG_LeftPincer</li>
<li>AG_RightPincer</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.5</ArmorRating_Blunt>
<parts>
<li>AG_LeftPincer</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,18 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<parts>
<li>SightSensor</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<parts>
<li>SightSensor</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.625</ArmorRating_Sharp>
<parts>
<li>MGR_SyntheticalLeg</li>
Expand All @@ -127,28 +124,24 @@
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.625</ArmorRating_Sharp>
<parts>
<li>MechanicalFoot</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.625</ArmorRating_Blunt>
<parts>
<li>MechanicalFoot</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.625</ArmorRating_Sharp>
<parts>
<li>PowerClaw</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.625</ArmorRating_Blunt>
<parts>
<li>PowerClaw</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<parts>
<li>InsectLeg</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<parts>
<li>InsectLeg</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<parts>
<li>Eye</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<parts>
<li>Eye</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,13 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<parts>
<li>Leg</li>
<li>Paw</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<parts>
<li>Leg</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<parts>
<li>InsectLeg</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<parts>
<li>InsectLeg</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,13 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
<parts>
<li>VAEWaste_LeftPincer</li>
<li>VAEWaste_RightPincer</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.5</ArmorRating_Blunt>
<parts>
<li>VAEWaste_LeftPincer</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
<parts>
<li>Leg</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.5</ArmorRating_Blunt>
<parts>
<li>Leg</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<parts>
<li>InsectLeg</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<parts>
<li>InsectLeg</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,12 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<parts>
<li>SightSensor</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<parts>
<li>SightSensor</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,12 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<parts>
<li>SightSensor</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<parts>
<li>SightSensor</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,42 +267,36 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<parts>
<li>SightSensor</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<parts>
<li>SightSensor</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.625</ArmorRating_Sharp>
<parts>
<li>MechanicalHead</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.625</ArmorRating_Blunt>
<parts>
<li>MechanicalHead</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.625</ArmorRating_Sharp>
<parts>
<li>MechanicalLeg</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.625</ArmorRating_Blunt>
<parts>
<li>MechanicalLeg</li>
Expand Down
3 changes: 2 additions & 1 deletion Patches/Core/ThingDefs_Races/Races_Animal_Farm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@
<stats>
<li>
<useStatic>true</useStatic>
When useStatic is true, this becomes the value used and it is NOT influenced by durability, health and similar
When useStatic is 'true', this becomes the value used and it is NOT influenced by durability, health and similar,
The default value is 'false'.
<ArmorRating_Sharp>4</ArmorRating_Sharp>
<parts>
<li>Neck</li>
Expand Down
2 changes: 0 additions & 2 deletions Patches/Core/ThingDefs_Races/Races_Animal_Insect.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<parts>
<li>InsectLeg</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<parts>
<li>InsectLeg</li>
Expand Down
2 changes: 0 additions & 2 deletions Patches/Core/ThingDefs_Races/Races_Animal_Temperate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -494,14 +494,12 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
<parts>
<li>Leg</li>
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.5</ArmorRating_Blunt>
<parts>
<li>Leg</li>
Expand Down
2 changes: 0 additions & 2 deletions Patches/Core/ThingDefs_Races/Races_Mechanoid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<useStatic>false</useStatic>
<ArmorRating_Sharp>0.25</ArmorRating_Sharp>
<parts>
<li>SightSensor</li>
Expand All @@ -101,7 +100,6 @@
</parts>
</li>
<li>
<useStatic>false</useStatic>
<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
<parts>
<li>SightSensor</li>
Expand Down

0 comments on commit 313abf0

Please sign in to comment.