Skip to content

Commit

Permalink
Merge pull request #3352 from SamaelGray/SamaelGray-HouseRoxmont
Browse files Browse the repository at this point in the history
MO House Roxmont patch
  • Loading branch information
N7Huntsman authored Aug 17, 2024
2 parents d160203 + 3d10095 commit 85dc025
Show file tree
Hide file tree
Showing 6 changed files with 485 additions and 3 deletions.
3 changes: 2 additions & 1 deletion LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@
<li IfModActive="JoeDaly.MedMeds.MO">ModPatches/Medieval Medicines 1.4 Medieval Overhaul Edition</li>
<li IfModActive="DankPyon.Medieval.Overhaul">ModPatches/Medieval Overhaul</li>
<li IfModActive="pphhyy.BarbariansMOSubmod">ModPatches/Medieval Overhaul Barbarians</li>
<li IfModActive="DankPyon.Medieval.Overhaul.House.Roxmont">ModPatches/Medieval Overhaul House Roxmont</li>
<li IfModActive="Arisher.Medieval.Tailor">ModPatches/Medieval Tailor</li>
<li IfModActive="Spino.Megafauna">ModPatches/Megafauna</li>
<li IfModActive="co.uk.epicguru.meleeanimation">ModPatches/Melee Animation</li>
Expand Down Expand Up @@ -609,4 +610,4 @@
<li IfModActive="pphhyy.SanguinaryAnimals">ModPatches/pphhyy Sanguinary Animals</li>
<li IfModActive="pphhyy.LightlessEmpyrean">ModPatches/pphhyy's Lightless Empyrean</li>
</v1.5>
</loadFolders>
</loadFolders>
247 changes: 247 additions & 0 deletions ModPatches/Medieval Overhaul House Roxmont/Patches/CE_Apparel.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,247 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- ==================== Apparel ==================== -->

<!-- ========== Helmet ========== -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="DankPyon_Headgear_HeraldicGreatHelmRoxmont"]</xpath>
<value>
<statBases>
<Bulk>6</Bulk>
<WornBulk>1</WornBulk>
<Mass>4</Mass>
<StuffEffectMultiplierArmor>3</StuffEffectMultiplierArmor>
</statBases>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="DankPyon_Headgear_HeraldicGreatHelmRoxmont"]</xpath>
<value>
<equippedStatOffsets Inherit="False">
<AimingAccuracy>-0.4</AimingAccuracy>
<MeleeHitChance>-2</MeleeHitChance>
</equippedStatOffsets>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/ThingDef[defName="DankPyon_Headgear_HeraldicGreatHelmRoxmont"]</xpath>
<value>
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<ArmorRating_Sharp>0.60</ArmorRating_Sharp>
<parts>
<li>Eye</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.60</ArmorRating_Blunt>
<parts>
<li>Eye</li>
</parts>
</li>
</stats>
</li>
</value>
</Operation>

<!-- ========== Armors ========== -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="DankPyon_Apparel_Zweihanders_Cuirass_Roxmont"]/statBases</xpath>
<value>
<Bulk>25</Bulk>
<WornBulk>5</WornBulk>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="DankPyon_Apparel_Zweihanders_Cuirass_Roxmont"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
<StuffEffectMultiplierArmor>3.2</StuffEffectMultiplierArmor>
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="DankPyon_Apparel_Zweihanders_Cuirass_Roxmont"]/equippedStatOffsets/MoveSpeed</xpath>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/ThingDef[defName="DankPyon_Apparel_Zweihanders_Cuirass_Roxmont"]</xpath>
<value>
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<ArmorRating_Sharp>0.60</ArmorRating_Sharp>
<parts>
<li>Neck</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.60</ArmorRating_Blunt>
<parts>
<li>Neck</li>
</parts>
</li>
<li>
<ArmorRating_Sharp>0.80</ArmorRating_Sharp>
<parts>
<li>Shoulder</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.80</ArmorRating_Blunt>
<parts>
<li>Shoulder</li>
</parts>
</li>
</stats>
</li>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="DankPyon_Apparel_FullPlate_Roxmont"]/statBases/Mass</xpath>
<value>
<Bulk>100</Bulk>
<WornBulk>10</WornBulk>
<Mass>15</Mass>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="DankPyon_Apparel_FullPlate_Roxmont"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
<StuffEffectMultiplierArmor>3</StuffEffectMultiplierArmor>
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="DankPyon_Apparel_FullPlate_Roxmont"]/equippedStatOffsets/MoveSpeed</xpath>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="DankPyon_Apparel_FullPlate_Roxmont"]/equippedStatOffsets</xpath>
<value>
<MeleeDodgeChance>-0.15</MeleeDodgeChance>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="DankPyon_Apparel_FullPlate_Roxmont"]/apparel/bodyPartGroups</xpath>
<value>
<li>Hands</li>
<li>Feet</li>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/ThingDef[defName="DankPyon_Apparel_FullPlate_Roxmont"]</xpath>
<value>
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<ArmorRating_Sharp>0.70</ArmorRating_Sharp>
<parts>
<li>Neck</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.70</ArmorRating_Blunt>
<parts>
<li>Neck</li>
</parts>
</li>
<li>
<ArmorRating_Sharp>0.90</ArmorRating_Sharp>
<parts>
<li>Leg</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.90</ArmorRating_Blunt>
<parts>
<li>Leg</li>
</parts>
</li>
<li>
<ArmorRating_Sharp>0.80</ArmorRating_Sharp>
<parts>
<li>Arm</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.80</ArmorRating_Blunt>
<parts>
<li>Arm</li>
</parts>
</li>
<li>
<ArmorRating_Sharp>0.60</ArmorRating_Sharp>
<parts>
<li>Hand</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.60</ArmorRating_Blunt>
<parts>
<li>Hand</li>
</parts>
</li>
</stats>
</li>
</value>
</Operation>

<!-- ==================== Shield ==================== -->

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="DankPyon_ShieldHeater_Roxmont"]/comps/li[@Class="VFECore.CompProperties_Shield"]</xpath>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="DankPyon_ShieldHeater_Roxmont"]</xpath>
<value>
<apparel>
<tags>
<li>DankPyon_ShieldHeater_Roxmont</li>
</tags>
<renderNodeProperties>
<li>
<nodeClass>CombatExtended.PawnRenderNode_Apparel</nodeClass>
<workerClass>CombatExtended.PawnRenderNodeWorker_Drafted</workerClass>
<texPath>HouseRoxmont/Apparel/Utility/HeaterRoxmont/HeaterRoxmont</texPath>
<shaderTypeDef>CutoutComplex</shaderTypeDef>
<parentTagDef>ApparelBody</parentTagDef>
<drawData>
<scale>0.55</scale>
<defaultData>
<layer>80</layer>
</defaultData>
<dataEast>
<layer>-5</layer>
<offset>(0, 0, -0.1)</offset>
<rotationOffset>30</rotationOffset>
</dataEast>
<dataWest>
<rotationOffset>-30</rotationOffset>
</dataWest>
<dataNorth>
<layer>-5</layer>
<offset>(0.2, 0, -0.2)</offset>
</dataNorth>
<dataSouth>
<offset>(0.2, 0, -0.2)</offset>
</dataSouth>
</drawData>
</li>
</renderNodeProperties>
</apparel>
</value>
</Operation>

</Patch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- ==================== PawnKinds ==================== -->

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName="DankPyon_HedgeKnightRox"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>3</min>
<max>5</max>
</primaryMagazineCount>
<shieldMoney>
<min>150</min>
<max>250</max>
</shieldMoney>
<shieldTags>
<li>DankPyon_ShieldHeater_Roxmont</li>
</shieldTags>
<shieldChance>0.5</shieldChance>
<forcedSidearm>
<sidearmMoney>
<min>50</min>
<max>200</max>
</sidearmMoney>
<weaponTags>
<li>CE_Sidearm_Tribal</li>
</weaponTags>
</forcedSidearm>
</li>
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/PawnKindDef[defName="DankPyon_FootmanRoxmont"]/apparelRequired/li[.="DankPyon_ShieldHeater_Roxmont"]</xpath>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName="DankPyon_FootmanRoxmont"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<shieldMoney>
<min>100</min>
<max>350</max>
</shieldMoney>
<shieldTags>
<li>DankPyon_ShieldHeater_Roxmont</li>
</shieldTags>
<shieldChance>0.65</shieldChance>
</li>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName="DankPyon_StandardRoxmont"] </xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<shieldMoney>
<min>100</min>
<max>350</max>
</shieldMoney>
<shieldTags>
<li>KiteShield</li>
<li>HeaterShield</li>
<li>Buckler</li>
</shieldTags>
<shieldChance>0.65</shieldChance>
</li>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName="DankPyon_KnightRoxmont" or defName="DankPyon_Medieval_LordRoxmont"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<shieldMoney>
<min>200</min>
<max>600</max>
</shieldMoney>
<shieldTags>
<li>HeaterShield</li>
<li>KiteShield</li>
</shieldTags>
<shieldChance>0.5</shieldChance>
</li>
</value>
</Operation>

</Patch>
Loading

0 comments on commit 85dc025

Please sign in to comment.