Skip to content

Commit

Permalink
Update switch description, projectile count
Browse files Browse the repository at this point in the history
  • Loading branch information
Tostov authored Oct 17, 2024
1 parent cf151e6 commit 1ea7e3c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- ========== Bases =========== -->

<ThingDef Name="BaseOpticBoltCE" ParentName="BaseBulletCE" Abstract="true">
<label>energy bolt</label>
<label>optical energy bolt</label>
<graphicData>
<texPath>Things/Projectile/Mlaser</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -17,7 +17,7 @@
</ThingDef>

<ThingDef Name="BaseCrucibleBoltCE" ParentName="BaseBulletCE" Abstract="true">
<label>energy bolt</label>
<label>crucible energy bolt</label>
<graphicData>
<texPath>Things/Projectile/Cruciblebolt</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand Down Expand Up @@ -51,7 +51,6 @@
<ThingDef ParentName="BaseOpticBoltCE">
<defName>Bullet_HarvesterCannon</defName>
<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
<label>energy bolt</label>
<graphicData>
<texPath>Things/Projectile/Laser</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -67,7 +66,6 @@
<ThingDef ParentName="BaseExplosiveBullet">
<defName>Bullet_PlasmaTurretBombard</defName>
<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
<label>energy bolt</label>
<graphicData>
<texPath>Things/Projectile/Plasma</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -93,7 +91,6 @@
<ThingDef ParentName="BaseExplosiveBullet">
<defName>Bullet_Federation_PlasmaBlast</defName>
<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
<label>energy bolt</label>
<graphicData>
<texPath>Things/Projectile/MFlux</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -118,7 +115,6 @@
<ThingDef ParentName="BaseExplosiveBullet">
<defName>Bullet_Federation_PlasmaCluster</defName>
<thingClass>CombatExtended.ProjectileCE_HeightFuse</thingClass>
<label>energy bolt</label>
<graphicData>
<texPath>Things/Projectile/MFlux</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand Down Expand Up @@ -154,7 +150,6 @@
<ThingDef ParentName="BaseExplosiveBullet">
<defName>Bullet_Federation_PlasmaSub</defName>
<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
<label>energy bolt</label>
<graphicData>
<texPath>Things/Projectile/Plasma</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -176,7 +171,6 @@
<ThingDef ParentName="BaseCrucibleBoltCE">
<defName>Bullet_CrucibleCannon_CE</defName>
<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
<label>energy bolt</label>
<graphicData>
<texPath>Things/Projectile/Mlaser</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand Down Expand Up @@ -216,7 +210,6 @@
<ThingDef ParentName="BasePlasmaBombCE">
<defName>Bullet_PlasmaRifle_Fed</defName>
<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
<label>plasma sphere</label>
<graphicData>
<texPath>Things/Projectile/Plasma</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand Down Expand Up @@ -256,7 +249,6 @@

<ThingDef ParentName="BaseOpticBoltCE">
<defName>Bullet_AuxiliaryPistol</defName>
<label>energy bolt</label>
<graphicData>
<texPath>Things/Projectile/Laser</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -270,7 +262,6 @@

<ThingDef ParentName="BaseOpticBoltCE">
<defName>Bullet_MakeshiftCrucibleRifle</defName>
<label>energy bolt</label>
<graphicData>
<texPath>Things/Projectile/Laser</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand Down Expand Up @@ -368,7 +359,6 @@
<ThingDef ParentName="BasePlasmaBombCE">
<defName>Bullet_PlasmaCaster</defName>
<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
<label>plasma sphere</label>
<graphicData>
<texPath>Things/Projectile/Plasma</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -390,7 +380,6 @@
<ThingDef ParentName="BasePlasmaBombCE">
<defName>Bullet_PlasmaCaster_Fed</defName>
<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
<label>plasma sphere</label>
<graphicData>
<texPath>Things/Projectile/Flux</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand Down Expand Up @@ -432,7 +421,6 @@

<ThingDef ParentName="BaseOpticBoltCE">
<defName>Bullet_CrucibleCarbine_CE</defName>
<label>energy bolt</label>
<graphicData>
<texPath>Things/Projectile/Mlaser</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/DamageDef[
defName="Optic" or
Expand All @@ -13,26 +12,22 @@
</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/DamageDef[defName="Optic"]</xpath>
<value>
<defaultArmorPenetration>0.8</defaultArmorPenetration>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/DamageDef[defName="Crucible"]</xpath>
<value>
<defaultArmorPenetration>0.4</defaultArmorPenetration>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/DamageDef[defName="Plasma"]</xpath>
<value>
<defaultArmorPenetration>0.30</defaultArmorPenetration>
</value>
</Operation>

</Patch>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
defName="AD_CruciblePistol" or
defName="AD_FedPistol" or
defName="AD_AuxPistol"
]/tools</xpath>
]/tools </xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
Expand Down Expand Up @@ -238,8 +238,8 @@
<xpath>Defs/ThingDef[defName="AD_CrucibleRifle"]/comps</xpath>
<value>
<li Class="CombatExtended.CompProperties_UnderBarrel">
<standardLabel>switch to crucible mode</standardLabel>
<underBarrelLabel>switch to optical mode</underBarrelLabel>
<standardLabel>switch to high-output crucible mode</standardLabel>
<underBarrelLabel>switch to high-penetration optical mode</underBarrelLabel>
<oneAmmoHolder>True</oneAmmoHolder>
<propsUnderBarrel>
<magazineSize>15</magazineSize>
Expand All @@ -260,7 +260,7 @@
<propsFireModesUnderBarrel>
<aiAimMode>AimedShot</aiAimMode>
<noSingleShot>false</noSingleShot>
<aimedBurstShotCount>5</aimedBurstShotCount>
<aimedBurstShotCount>3</aimedBurstShotCount>
<aiUseBurstMode>TRUE</aiUseBurstMode>
</propsFireModesUnderBarrel>
</li>
Expand Down Expand Up @@ -352,8 +352,8 @@
<xpath>Defs/ThingDef[defName="AD_CruciblePistol"]/comps</xpath>
<value>
<li Class="CombatExtended.CompProperties_UnderBarrel">
<standardLabel>switch to crucible mode</standardLabel>
<underBarrelLabel>switch to optical mode</underBarrelLabel>
<standardLabel>switch to high-output crucible mode</standardLabel>
<underBarrelLabel>switch to high-penetration optical mode</underBarrelLabel>
<oneAmmoHolder>True</oneAmmoHolder>
<propsUnderBarrel>
<magazineSize>15</magazineSize>
Expand Down Expand Up @@ -408,7 +408,7 @@
<li>CE_OneHandedWeapon</li>
</weaponTags>
<FireModes>
<aimedBurstShotCount>5</aimedBurstShotCount>
<aimedBurstShotCount>3</aimedBurstShotCount>
<aiUseBurstMode>FALSE</aiUseBurstMode>
</FireModes>
<AmmoUser>
Expand Down Expand Up @@ -532,8 +532,8 @@
<xpath>Defs/ThingDef[defName="AD_CruciblePresicionRifle"]/comps</xpath>
<value>
<li Class="CombatExtended.CompProperties_UnderBarrel">
<standardLabel>switch to crucible mode</standardLabel>
<underBarrelLabel>switch to optical mode</underBarrelLabel>
<standardLabel>switch to high-output crucible mode</standardLabel>
<underBarrelLabel>switch to high-penetration optical mode</underBarrelLabel>
<oneAmmoHolder>True</oneAmmoHolder>
<propsUnderBarrel>
<magazineSize>15</magazineSize>
Expand Down

0 comments on commit 1ea7e3c

Please sign in to comment.