-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2881 from CombatExtended-Continued/RimElves-Patch
Patch Rim-Elves
- Loading branch information
Showing
5 changed files
with
505 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Patch> | ||
|
||
<Operation Class="PatchOperationFindMod"> | ||
<mods> | ||
<li>Rim-Elves</li> | ||
</mods> | ||
<match Class="PatchOperationSequence"> | ||
<operations> | ||
|
||
<li Class="PatchOperationAdd"> | ||
<xpath>Defs</xpath> | ||
<value> | ||
|
||
<!-- Custom Ammoset --> | ||
<CombatExtended.AmmoSetDef> | ||
<defName>AmmoSet_ChargedGreatArrow</defName> | ||
<label>plasteel great arrows</label> | ||
<ammoTypes> | ||
<Ammo_GreatArrow_Plasteel>Projectile_ChargedGreatArrow_Plasteel</Ammo_GreatArrow_Plasteel> | ||
</ammoTypes> | ||
</CombatExtended.AmmoSetDef> | ||
|
||
<!-- Custom Projectile --> | ||
<ThingDef ParentName="BaseGreatArrowProjectile"> | ||
<defName>Projectile_ChargedGreatArrow_Plasteel</defName> | ||
<label>charged great arrow</label> | ||
<graphicData> | ||
<texPath>Things/Projectile/Arrows/Arrow_Plasteel</texPath> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
</graphicData> | ||
<projectile Class="CombatExtended.ProjectilePropertiesCE"> | ||
<damageAmountBase>19</damageAmountBase> | ||
<secondaryDamage> | ||
<li> | ||
<def>Bomb_Secondary</def> | ||
<amount>6</amount> | ||
</li> | ||
</secondaryDamage> | ||
<speed>151</speed> | ||
<armorPenetrationSharp>16</armorPenetrationSharp> | ||
<armorPenetrationBlunt>57.6</armorPenetrationBlunt> | ||
<preExplosionSpawnChance>0.25</preExplosionSpawnChance><!-- 40 arrows per resource --> | ||
<preExplosionSpawnThingDef>Ammo_GreatArrow_Plasteel</preExplosionSpawnThingDef> | ||
</projectile> | ||
</ThingDef> | ||
|
||
</value> | ||
</li> | ||
|
||
</operations> | ||
</match> | ||
</Operation> | ||
|
||
</Patch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Patch> | ||
|
||
<Operation Class="PatchOperationFindMod"> | ||
<mods> | ||
<li>Rim-Elves</li> | ||
</mods> | ||
<match Class="PatchOperationSequence"> | ||
<operations> | ||
|
||
<li Class="PatchOperationReplace"> | ||
<xpath>Defs/GeneDef[defName="Size_Gigantism"]/statOffsets/CarryingCapacity</xpath> | ||
<value> | ||
<CarryWeight>15</CarryWeight> | ||
<CarryBulk>10</CarryBulk> | ||
</value> | ||
</li> | ||
|
||
</operations> | ||
</match> | ||
</Operation> | ||
|
||
</Patch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,188 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Patch> | ||
|
||
<Operation Class="PatchOperationFindMod"> | ||
<mods> | ||
<li>Rim-Elves</li> | ||
</mods> | ||
<match Class="PatchOperationSequence"> | ||
<operations> | ||
|
||
<!-- Medieval Pawnkinds --> | ||
<li Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/PawnKindDef[defName="RE_Elven_Archer"] </xpath> | ||
<value> | ||
<li Class="CombatExtended.LoadoutPropertiesExtension"> | ||
<primaryMagazineCount> | ||
<min>14</min> | ||
<max>24</max> | ||
</primaryMagazineCount> | ||
<sidearms> | ||
<li> | ||
<sidearmMoney> | ||
<min>80</min> | ||
<max>160</max> | ||
</sidearmMoney> | ||
<weaponTags> | ||
<li>NeolithicMeleeBasic</li> | ||
</weaponTags> | ||
</li> | ||
</sidearms> | ||
</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/PawnKindDef[defName="RE_Elven_Levy"] </xpath> | ||
<value> | ||
<li Class="CombatExtended.LoadoutPropertiesExtension"> | ||
<shieldMoney> | ||
<min>80</min> | ||
<max>110</max> | ||
</shieldMoney> | ||
<shieldTags> | ||
<li>TribalShield</li> | ||
</shieldTags> | ||
<shieldChance>0.25</shieldChance> | ||
</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/PawnKindDef[defName="RE_Elven_Swordsman"] </xpath> | ||
<value> | ||
<li Class="CombatExtended.LoadoutPropertiesExtension"> | ||
<shieldMoney> | ||
<min>100</min> | ||
<max>140</max> | ||
</shieldMoney> | ||
<shieldTags> | ||
<li>TribalShield</li> | ||
</shieldTags> | ||
<shieldChance>0.25</shieldChance> | ||
</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/PawnKindDef[defName="RE_Elven_Ranger"] </xpath> | ||
<value> | ||
<li Class="CombatExtended.LoadoutPropertiesExtension"> | ||
<primaryMagazineCount> | ||
<min>20</min> | ||
<max>40</max> | ||
</primaryMagazineCount> | ||
<sidearms> | ||
<li> | ||
<sidearmMoney> | ||
<min>120</min> | ||
<max>180</max> | ||
</sidearmMoney> | ||
<weaponTags> | ||
<li>MedievalMeleeBasic</li> | ||
<li>NeolithicMeleeDecent</li> | ||
</weaponTags> | ||
</li> | ||
</sidearms> | ||
</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/PawnKindDef[defName="RE_Elven_Knight"] </xpath> | ||
<value> | ||
<li Class="CombatExtended.LoadoutPropertiesExtension"> | ||
<shieldMoney> | ||
<min>120</min> | ||
<max>180</max> | ||
</shieldMoney> | ||
<shieldTags> | ||
<li>TribalShield</li> | ||
</shieldTags> | ||
<shieldChance>0.4</shieldChance> | ||
</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/PawnKindDef[defName="Elven_Supreme_NobleRanged"] </xpath> | ||
<value> | ||
<li Class="CombatExtended.LoadoutPropertiesExtension"> | ||
<primaryMagazineCount> | ||
<min>20</min> | ||
<max>40</max> | ||
</primaryMagazineCount> | ||
<sidearms> | ||
<li> | ||
<sidearmMoney> | ||
<min>150</min> | ||
<max>240</max> | ||
</sidearmMoney> | ||
<weaponTags> | ||
<li>ElvenMedievalMelee</li> | ||
<li>MedievalMeleeAdvanced</li> | ||
</weaponTags> | ||
</li> | ||
</sidearms> | ||
</li> | ||
</value> | ||
</li> | ||
|
||
<!-- Spacer Pawnkinds --> | ||
<li Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/PawnKindDef[@Name="ElvenSoldierBase" or @Name="ElvenKnightBase"] </xpath> | ||
<value> | ||
<li Class="CombatExtended.LoadoutPropertiesExtension"> | ||
<primaryMagazineCount> | ||
<min>6</min> | ||
<max>10</max> | ||
</primaryMagazineCount> | ||
</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/PawnKindDef[defName="Elven_Soldier_Grenadier"] </xpath> | ||
<value> | ||
<li Class="CombatExtended.LoadoutPropertiesExtension"> | ||
<primaryMagazineCount> | ||
<min>6</min> | ||
<max>12</max> | ||
</primaryMagazineCount> | ||
<sidearms> | ||
<li> | ||
<generateChance>0.8</generateChance> | ||
<sidearmMoney> | ||
<min>10</min> | ||
<max>100</max> | ||
</sidearmMoney> | ||
<weaponTags> | ||
<li>CE_Sidearm</li> | ||
</weaponTags> | ||
<magazineCount> | ||
<min>3</min> | ||
<max>6</max> | ||
</magazineCount> | ||
</li> | ||
</sidearms> | ||
</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/PawnKindDef[defName="Elven_Soldier_Lancer"] </xpath> | ||
<value> | ||
<li Class="CombatExtended.LoadoutPropertiesExtension"> | ||
<primaryMagazineCount> | ||
<min>20</min> | ||
<max>40</max> | ||
</primaryMagazineCount> | ||
</li> | ||
</value> | ||
</li> | ||
|
||
</operations> | ||
</match> | ||
</Operation> | ||
|
||
</Patch> |
Oops, something went wrong.