Skip to content

Commit

Permalink
Merge pull request #3552 from SolariusScorch/Development
Browse files Browse the repository at this point in the history
Add GREG support
  • Loading branch information
N7Huntsman authored Nov 16, 2024
2 parents 43b2758 + 2c5c0cb commit 9fda9c1
Show file tree
Hide file tree
Showing 3 changed files with 253 additions and 0 deletions.
1 change: 1 addition & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
<li IfModActive="com.distman.gastrap">ModPatches/Gas Traps and Shells</li>
<li IfModActive="hlx.GestaltEngine">ModPatches/Gestalt Engine</li>
<li IfModActive="Owlchemist.GiddyUp">ModPatches/Giddy-Up 2</li>
<li IfModActive="tyrannidae.gregnfriends">ModPatches/GREG</li>
<li IfModActive="HappyPurging.AgeofDarkness">ModPatches/GrimWorld Angels of Death</li>
<li IfModActive="Grimworld.Core">ModPatches/Grimworld Core Imperialis</li>
<li IfModActive="Grimworld.AstraMilitarum">ModPatches/GrimWorld Hammer of the Imperium</li>
Expand Down
251 changes: 251 additions & 0 deletions ModPatches/GREG/Patches/GREG/ThingDefs_Races.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- ========== general ========== -->

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/ThingDef[defName="XEN_CattleEgret" or defName="XEN_GreatEgret" or defName="XEN_ReddishEgret" or defName="XEN_SlatyEgret" or defName="XEN_SnowyEgret"]</xpath>
<value>
<li Class="CombatExtended.RacePropertiesExtensionCE">
<bodyShape>Birdlike</bodyShape>
</li>
</value>
</Operation>

<!-- ========== CAEG ========== -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="XEN_CattleEgret"]/statBases</xpath>
<value>
<MeleeDodgeChance>0.1</MeleeDodgeChance>
<MeleeCritChance>0.01</MeleeCritChance>
<MeleeParryChance>0.03</MeleeParryChance>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="XEN_CattleEgret"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>claws</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>2</power>
<cooldownTime>2.0</cooldownTime>
<linkedBodyPartsGroup>Feet</linkedBodyPartsGroup>
<armorPenetrationSharp>0.1</armorPenetrationSharp>
<armorPenetrationBlunt>0.2</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<capacities>
<li>Bite</li>
</capacities>
<power>3</power>
<cooldownTime>2.2</cooldownTime>
<linkedBodyPartsGroup>Beak</linkedBodyPartsGroup>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>3</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
<armorPenetrationSharp>0.05</armorPenetrationSharp>
<armorPenetrationBlunt>0.480</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>1</power>
<cooldownTime>2.0</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<chanceFactor>0.2</chanceFactor>
<armorPenetrationBlunt>0.25</armorPenetrationBlunt>
</li>
</tools>
</value>
</Operation>

<!-- ========== GREG and REEG ========== -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="XEN_GreatEgret" or defName="XEN_ReddishEgret"]/statBases</xpath>
<value>
<MeleeDodgeChance>0.1</MeleeDodgeChance>
<MeleeCritChance>0.01</MeleeCritChance>
<MeleeParryChance>0.04</MeleeParryChance>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="XEN_GreatEgret" or defName="XEN_ReddishEgret"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>claws</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>3</power>
<cooldownTime>2.0</cooldownTime>
<linkedBodyPartsGroup>Feet</linkedBodyPartsGroup>
<armorPenetrationSharp>0.1</armorPenetrationSharp>
<armorPenetrationBlunt>0.2</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<capacities>
<li>Bite</li>
</capacities>
<power>5</power>
<cooldownTime>2.2</cooldownTime>
<linkedBodyPartsGroup>Beak</linkedBodyPartsGroup>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>5</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
<armorPenetrationSharp>0.05</armorPenetrationSharp>
<armorPenetrationBlunt>0.480</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>3</power>
<cooldownTime>2.0</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<chanceFactor>0.2</chanceFactor>
<armorPenetrationBlunt>0.25</armorPenetrationBlunt>
</li>
</tools>
</value>
</Operation>

<!-- ========== SLEG ========== -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="XEN_SlatyEgret"]/statBases</xpath>
<value>
<MeleeDodgeChance>0.15</MeleeDodgeChance>
<MeleeCritChance>0.01</MeleeCritChance>
<MeleeParryChance>0.05</MeleeParryChance>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="XEN_SlatyEgret"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>claws</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>3</power>
<cooldownTime>1.9</cooldownTime>
<linkedBodyPartsGroup>Feet</linkedBodyPartsGroup>
<armorPenetrationSharp>0.1</armorPenetrationSharp>
<armorPenetrationBlunt>0.2</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<capacities>
<li>Bite</li>
</capacities>
<power>4</power>
<cooldownTime>2.1</cooldownTime>
<linkedBodyPartsGroup>Beak</linkedBodyPartsGroup>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>4</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
<armorPenetrationSharp>0.05</armorPenetrationSharp>
<armorPenetrationBlunt>0.480</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>2</power>
<cooldownTime>2.0</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<chanceFactor>0.2</chanceFactor>
<armorPenetrationBlunt>0.25</armorPenetrationBlunt>
</li>
</tools>
</value>
</Operation>

<!-- ========== SNEG ========== -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="XEN_SnowyEgret"]/statBases</xpath>
<value>
<MeleeDodgeChance>0.1</MeleeDodgeChance>
<MeleeCritChance>0.01</MeleeCritChance>
<MeleeParryChance>0.03</MeleeParryChance>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="XEN_SnowyEgret"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>claws</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>2</power>
<cooldownTime>2.0</cooldownTime>
<linkedBodyPartsGroup>Feet</linkedBodyPartsGroup>
<armorPenetrationSharp>0.1</armorPenetrationSharp>
<armorPenetrationBlunt>0.2</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<capacities>
<li>Bite</li>
</capacities>
<power>3</power>
<cooldownTime>2.2</cooldownTime>
<linkedBodyPartsGroup>Beak</linkedBodyPartsGroup>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>3</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
<armorPenetrationSharp>0.05</armorPenetrationSharp>
<armorPenetrationBlunt>0.480</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>2</power>
<cooldownTime>2.0</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<chanceFactor>0.2</chanceFactor>
<armorPenetrationBlunt>0.25</armorPenetrationBlunt>
</li>
</tools>
</value>
</Operation>

</Patch>
1 change: 1 addition & 0 deletions SupportedThirdPartyMods.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ Glitter Tech |
Glitter Weaponry |
Gloomy Dragonian Race |
GouRIMet |
GREG |
Grimstone Beasts |
Grimworld: Autoguns |
Grimworld: Lasguns |
Expand Down

0 comments on commit 9fda9c1

Please sign in to comment.