Skip to content

Commit

Permalink
Nest folders
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Nov 30, 2024
1 parent 312580b commit e57cce6
Show file tree
Hide file tree
Showing 8 changed files with 100 additions and 100 deletions.
Original file line number Diff line number Diff line change
@@ -1,76 +1,76 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>

<ThingDef Class="CombatExtended.AmmoDef" ParentName="70mmMechanoidGrenadeBase">
<defName>Ammo_70mmMechanoidGrenade_Tox</defName>
<label>70mm mechanoid grenade (Tox)</label>
<graphicData>
<texPath>Things/Ammo/GrenadeLauncher/Tox</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
</graphicData>
<statBases>
<MarketValue>18.34</MarketValue><!-- value intentionally decreased to help reduce wealth bloat/free silver -->
</statBases>
<ammoClass>Toxic</ammoClass>
<detonateProjectile>Bullet_70mmMechanoidGrenade_Tox</detonateProjectile>
</ThingDef>

<ThingDef ParentName="Base40x46mmGrenadeBullet" MayRequire="Ludeon.RimWorld.Biotech">
<defName>Bullet_70mmMechanoidGrenade_Tox</defName>
<label>70mm mechanoid grenade (Tox)</label>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>ToxGas</damageDef>
<explosionRadius>6.5</explosionRadius>
<postExplosionGasType>ToxGas</postExplosionGasType>
<preExplosionSpawnChance>1</preExplosionSpawnChance>
</projectile>
</ThingDef>

<RecipeDef ParentName="ChargeAmmoRecipeBase" MayRequire="Ludeon.RimWorld.Biotech">
<defName>MakeAmmo_70mmMechanoidGrenade_Tox</defName>
<label>make 70mm Mechanoid Tox Grenade x5</label>
<description>Craft 5 70mm Mechanoid Tox Grenades.</description>
<jobString>Making 70mm Mechanoid Tox Grenades.</jobString>
<ingredients>
<li>
<filter>
<thingDefs>
<li>Steel</li>
</thingDefs>
</filter>
<count>18</count>
</li>
<li>
<filter>
<thingDefs>
<li>Prometheum</li>
</thingDefs>
</filter>
<count>3</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentIndustrial</li>
</thingDefs>
</filter>
<count>2</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>Steel</li>
<li>ComponentIndustrial</li>
<li>Prometheum</li>
</thingDefs>
</fixedIngredientFilter>
<products>
<Ammo_70mmMechanoidGrenade_Tox>5</Ammo_70mmMechanoidGrenade_Tox>
</products>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
<workAmount>9240</workAmount><!-- 10% more work -->
</RecipeDef>

<?xml version="1.0" encoding="utf-8"?>
<Defs>

<ThingDef Class="CombatExtended.AmmoDef" ParentName="70mmMechanoidGrenadeBase">
<defName>Ammo_70mmMechanoidGrenade_Tox</defName>
<label>70mm mechanoid grenade (Tox)</label>
<graphicData>
<texPath>Things/Ammo/GrenadeLauncher/Tox</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
</graphicData>
<statBases>
<MarketValue>18.34</MarketValue><!-- value intentionally decreased to help reduce wealth bloat/free silver -->
</statBases>
<ammoClass>Toxic</ammoClass>
<detonateProjectile>Bullet_70mmMechanoidGrenade_Tox</detonateProjectile>
</ThingDef>

<ThingDef ParentName="Base40x46mmGrenadeBullet" MayRequire="Ludeon.RimWorld.Biotech">
<defName>Bullet_70mmMechanoidGrenade_Tox</defName>
<label>70mm mechanoid grenade (Tox)</label>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>ToxGas</damageDef>
<explosionRadius>6.5</explosionRadius>
<postExplosionGasType>ToxGas</postExplosionGasType>
<preExplosionSpawnChance>1</preExplosionSpawnChance>
</projectile>
</ThingDef>

<RecipeDef ParentName="ChargeAmmoRecipeBase" MayRequire="Ludeon.RimWorld.Biotech">
<defName>MakeAmmo_70mmMechanoidGrenade_Tox</defName>
<label>make 70mm Mechanoid Tox Grenade x5</label>
<description>Craft 5 70mm Mechanoid Tox Grenades.</description>
<jobString>Making 70mm Mechanoid Tox Grenades.</jobString>
<ingredients>
<li>
<filter>
<thingDefs>
<li>Steel</li>
</thingDefs>
</filter>
<count>18</count>
</li>
<li>
<filter>
<thingDefs>
<li>Prometheum</li>
</thingDefs>
</filter>
<count>3</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentIndustrial</li>
</thingDefs>
</filter>
<count>2</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>Steel</li>
<li>ComponentIndustrial</li>
<li>Prometheum</li>
</thingDefs>
</fixedIngredientFilter>
<products>
<Ammo_70mmMechanoidGrenade_Tox>5</Ammo_70mmMechanoidGrenade_Tox>
</products>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
<workAmount>9240</workAmount><!-- 10% more work -->
</RecipeDef>

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="AM_MechanoidCommandBuffPikeman"]/stages/li/statOffsets/ShootingAccuracyPawn</xpath>
<value>
<ShootingAccuracyPawn>0.3</ShootingAccuracyPawn>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="AM_MechanoidCommandBuffPikeman"]/stages/li/statOffsets</xpath>
<value>
<AimingAccuracy>0.3</AimingAccuracy>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="AM_MechanoidCommandBuffPraetorian"]/stages/li/statOffsets/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>3</ArmorRating_Sharp>
</value>
</Operation>

</Patch>
<?xml version="1.0" encoding="utf-8" ?>
<Patch>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="AM_MechanoidCommandBuffPikeman"]/stages/li/statOffsets/ShootingAccuracyPawn</xpath>
<value>
<ShootingAccuracyPawn>0.3</ShootingAccuracyPawn>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="AM_MechanoidCommandBuffPikeman"]/stages/li/statOffsets</xpath>
<value>
<AimingAccuracy>0.3</AimingAccuracy>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="AM_MechanoidCommandBuffPraetorian"]/stages/li/statOffsets/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>3</ArmorRating_Sharp>
</value>
</Operation>

</Patch>

0 comments on commit e57cce6

Please sign in to comment.