Skip to content

Commit

Permalink
Merge pull request #3519 from Mint-Vanilla/Development
Browse files Browse the repository at this point in the history
Vanilla Psycasts Expanded - Runsmith
  • Loading branch information
N7Huntsman authored Oct 31, 2024
2 parents 46a544f + b0d24ad commit 3a60846
Show file tree
Hide file tree
Showing 7 changed files with 511 additions and 0 deletions.
1 change: 1 addition & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@
<li IfModActive="VanillaExpanded.VPlantsEMushrooms">ModPatches/Vanilla Plants Expanded - Mushrooms</li>
<li IfModActive="VanillaExpanded.VPsycastsE">ModPatches/Vanilla Psycasts Expanded</li>
<li IfModActive="VanillaExpanded.VPE.Hemosage">ModPatches/Vanilla Psycasts Expanded - Hemosage</li>
<li IfModActive="Chairheir.VPERunesmith">ModPatches/Vanilla Psycasts Expanded - Runesmith</li>
<li IfModActive="vanillaracesexpanded.android">ModPatches/Vanilla Races Expanded - Android</li>
<li IfModActive="vanillaracesexpanded.archon">ModPatches/Vanilla Races Expanded - Archon</li>
<li IfModActive="vanillaracesexpanded.fungoid">ModPatches/Vanilla Races Expanded - Fungoid</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>

<ThingDef Name="BaseObeliskBullet" ParentName="BaseBulletCE" Abstract="true">
<label>obelisk iceblast</label>
<graphicData>
<texPath>Things/Projectile/Projectile_Obelisk</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<speed>50</speed>
<dropsCasings>false</dropsCasings>
</projectile>
</ThingDef>

<ThingDef ParentName="BaseObeliskBullet">
<defName>Bullet_Obelisk_Basic</defName>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>Frostbite</damageDef>
<damageAmountBase>12</damageAmountBase>
<armorPenetrationSharp>2</armorPenetrationSharp>
<armorPenetrationBlunt>4</armorPenetrationBlunt>
</projectile>
</ThingDef>

<ThingDef ParentName="BaseObeliskBullet">
<defName>Bullet_Obelisk_Intermediate</defName>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>VPER_Slow_Frostbite</damageDef>
<damageAmountBase>12</damageAmountBase>
<armorPenetrationSharp>2</armorPenetrationSharp>
<armorPenetrationBlunt>4</armorPenetrationBlunt>
</projectile>
</ThingDef>

<ThingDef ParentName="BaseObeliskBullet">
<defName>Bullet_Obelisk_Advanced</defName>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>VPER_SlowFragile_Frostbite</damageDef>
<damageAmountBase>12</damageAmountBase>
<armorPenetrationSharp>2</armorPenetrationSharp>
<armorPenetrationBlunt>4</armorPenetrationBlunt>
</projectile>
</ThingDef>

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

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_1Tier"]</xpath>
<value>
<thingClass>CombatExtended.Building_TurretGunCE</thingClass>
<!-- Makes the turret a CE turret. -->
</value>
</Operation>

<!--===================================T1 Turret======================================-->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_1Tier"]/statBases</xpath>
<value>
<AimingAccuracy>0.25</AimingAccuracy>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_1Tier"]/statBases/ShootingAccuracyTurret</xpath>
<value>
<ShootingAccuracyTurret>0.5</ShootingAccuracyTurret>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_1Tier"]</xpath>
<value>
<fillPercent>1.5</fillPercent>
<!-- In CE, this controls how tall the building is. Turrets shorter than 0.7 won't be able to fire out through embrasures. -->
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_1Tier"]/building/turretBurstCooldownTime</xpath>
<value>
<turretBurstCooldownTime>1.0</turretBurstCooldownTime>
</value>
</Operation>

<!--===================================T2 Turret======================================-->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_2Tier"]/statBases</xpath>
<value>
<AimingAccuracy>0.25</AimingAccuracy>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_2Tier"]/statBases/ShootingAccuracyTurret</xpath>
<value>
<ShootingAccuracyTurret>0.5</ShootingAccuracyTurret>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_2Tier"]</xpath>
<value>
<fillPercent>1.5</fillPercent>
<!-- In CE, this controls how tall the building is. Turrets shorter than 0.7 won't be able to fire out through embrasures. -->
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_2Tier"]/building/turretBurstCooldownTime</xpath>
<value>
<turretBurstCooldownTime>1.0</turretBurstCooldownTime>
</value>
</Operation>

<!--===================================T3 Turret======================================-->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_3Tier"]/statBases</xpath>
<value>
<AimingAccuracy>0.25</AimingAccuracy>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_3Tier"]/statBases/ShootingAccuracyTurret</xpath>
<value>
<ShootingAccuracyTurret>0.5</ShootingAccuracyTurret>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_3Tier"]</xpath>
<value>
<fillPercent>1.5</fillPercent>
<!-- In CE, this controls how tall the building is. Turrets shorter than 0.7 won't be able to fire out through embrasures. -->
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_3Tier"]/building/turretBurstCooldownTime</xpath>
<value>
<turretBurstCooldownTime>1.0</turretBurstCooldownTime>
</value>
</Operation>

<!--===================================T4 Turret======================================-->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_4Tier"]/statBases</xpath>
<value>
<AimingAccuracy>0.25</AimingAccuracy>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_4Tier"]/statBases/ShootingAccuracyTurret</xpath>
<value>
<ShootingAccuracyTurret>0.5</ShootingAccuracyTurret>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_4Tier"]</xpath>
<value>
<fillPercent>1.5</fillPercent>
<!-- In CE, this controls how tall the building is. Turrets shorter than 0.7 won't be able to fire out through embrasures. -->
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_4Tier"]/building/turretBurstCooldownTime</xpath>
<value>
<turretBurstCooldownTime>1.0</turretBurstCooldownTime>
</value>
</Operation>

<!--===================================T5 Turret======================================-->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_5Tier"]/statBases</xpath>
<value>
<AimingAccuracy>0.25</AimingAccuracy>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_5Tier"]/statBases/ShootingAccuracyTurret</xpath>
<value>
<ShootingAccuracyTurret>0.5</ShootingAccuracyTurret>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_5Tier"]</xpath>
<value>
<fillPercent>1.5</fillPercent>
<!-- In CE, this controls how tall the building is. Turrets shorter than 0.7 won't be able to fire out through embrasures. -->
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VPER_Turret_Monolith_5Tier"]/building/turretBurstCooldownTime</xpath>
<value>
<turretBurstCooldownTime>1.0</turretBurstCooldownTime>
</value>
</Operation>

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

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/ThingDef[defName="VPER_WarriorSpirit"]</xpath>
<value>
<li Class="CombatExtended.RacePropertiesExtensionCE">
<bodyShape>Humanoid</bodyShape>
</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VPER_WarriorSpirit"]/statBases</xpath>
<value>
<MeleeDodgeChance>0.4</MeleeDodgeChance>
<MeleeCritChance>0.6</MeleeCritChance>
<MeleeParryChance>1.5</MeleeParryChance>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VPER_WarriorSpirit"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>axe</label>
<capacities>
<li>Cut</li>
</capacities>
<power>22</power>
<cooldownTime>2.6</cooldownTime>
<linkedBodyPartsGroup>LeftHand</linkedBodyPartsGroup>
<armorPenetrationSharp>4</armorPenetrationSharp>
<armorPenetrationBlunt>8</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>axe</label>
<capacities>
<li>Cut</li>
</capacities>
<power>22</power>
<cooldownTime>2.6</cooldownTime>
<linkedBodyPartsGroup>RightHand</linkedBodyPartsGroup>
<armorPenetrationSharp>4</armorPenetrationSharp>
<armorPenetrationBlunt>8</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>5</power>
<cooldownTime>2</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<chanceFactor>0.2</chanceFactor>
<armorPenetrationBlunt>0.625</armorPenetrationBlunt>
</li>
</tools>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VPER_WarriorSpirit"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>4.20</ArmorRating_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VPER_WarriorSpirit"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>6.30</ArmorRating_Blunt>
</value>
</Operation>

</Patch>
Loading

0 comments on commit 3a60846

Please sign in to comment.