Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #871 from Tostov/Android-Tiers-Patch
Browse files Browse the repository at this point in the history
Android Tiers patch files
  • Loading branch information
LockdownX7 authored Nov 8, 2019
2 parents 1e15760 + b656425 commit 080bfe4
Show file tree
Hide file tree
Showing 12 changed files with 2,583 additions and 0 deletions.
137 changes: 137 additions & 0 deletions Patches/Android Tiers/Ammo/81mmMortar_Nanoshell.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>

<Operation Class="PatchOperationFindMod">
<mods>
<li>[1.0] Android tiers</li>
</mods>
<match Class="PatchOperationSequence">
<operations>

<li Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>
<CombatExtended.AmmoCategoryDef>
<defName>GrenadeSwarmer</defName>
<label>swarmer</label>
<description>Releases a swarm of compacted mechanoids on impact.</description>
<advanced>true</advanced>
</CombatExtended.AmmoCategoryDef>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>
<ThingDef Class="CombatExtended.AmmoDef" ParentName="81mmMortarShellBaseCraftableBase">
<defName>Nanoswarm_shell_81mm</defName>
<label>81mm mortar shell (Nanoswarm)</label>
<graphicData>
<texPath>Things/Item/Nanoswarm_shell</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<MarketValue>37.03</MarketValue>
<Mass>4.1</Mass>
<Bulk>13.34</Bulk>
</statBases>
<ammoClass>GrenadeSwarmer</ammoClass>
<comps>
<li Class="CombatExtended.CompProperties_ExplosiveCE">
<explosionRadius>1.9</explosionRadius>
<explosionDamageDef>Extinguish</explosionDamageDef>
<postExplosionSpawnThingDef>MicroScytherGeneratorAI</postExplosionSpawnThingDef>
<postExplosionSpawnThingCount>1</postExplosionSpawnThingCount>
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
</li>
</comps>
</ThingDef>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>
<ThingDef Class="CombatExtended.AmmoDef" ParentName="Base81mmMortarShell">
<defName>Bullet_81mmMortarShell_Nanoswarm</defName>
<label>81mm mortar shell (Nanoswarm)</label>
<graphicData>
<texPath>Things/Projectile/Mortar/EMP</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>Smoke</damageDef>
<damageAmountBase>0</damageAmountBase>
<armorPenetrationSharp>0</armorPenetrationSharp>
<armorPenetrationBlunt>39.493</armorPenetrationBlunt>
<explosionRadius>1.9</explosionRadius>
<soundExplode>Explosion_EMP</soundExplode>
<postExplosionSpawnThingDef>MicroScytherGeneratorAI</postExplosionSpawnThingDef>
<postExplosionSpawnThingCount>1</postExplosionSpawnThingCount>
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
<explosionEffect>ExtinguisherExplosion</explosionEffect>
</projectile>
</ThingDef>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/CombatExtended.AmmoSetDef[defName="AmmoSet_81mmMortarShell"]/ammoTypes</xpath>
<value>
<Nanoswarm_shell_81mm>Bullet_81mmMortarShell_Nanoswarm</Nanoswarm_shell_81mm>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>
<RecipeDef ParentName="AmmoRecipeBase">
<defName>MakeNanoswarm_shell_81mm</defName>
<label>make 81mm nanoswarmer mortar shell x1</label>
<description>Craft 1 81mm swarm shell.</description>
<jobString>Making 81mm swarm shells.</jobString>
<ingredients>
<li>
<filter>
<thingDefs>
<li>Steel</li>
</thingDefs>
</filter>
<count>50</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentIndustrial</li>
</thingDefs>
</filter>
<count>2</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>Steel</li>
<li>ComponentIndustrial</li>
</thingDefs>
</fixedIngredientFilter>
<products>
<Nanoswarm_shell_81mm>1</Nanoswarm_shell_81mm>
</products>
<workAmount>2000</workAmount>
<recipeUsers Inherit="False">
<li>AndroidProductionVat</li>
</recipeUsers>
<researchPrerequisite>UltimateRoboticAnimals</researchPrerequisite>
</RecipeDef>
</value>
</li>

<li Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="Nanoswarm_shell"]</xpath>
</li>

</operations>
</match>
</Operation>
</Patch>

87 changes: 87 additions & 0 deletions Patches/Android Tiers/Bodies/Mod_Bodies_AT_ABird.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>

<!--Robochicken Bodytype-->

<li Class="PatchOperationFindMod">
<mods>
<li>[1.0] Android tiers</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<!--Robot Dog-->
<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalBird"]/corePart</xpath>
<value>
<groups>
<li>CoveredByNaturalArmor</li>
</groups>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalBird"]/corePart/parts/li[def="MechanicalNeck"]</xpath>
<value>
<groups>
<li>CoveredByNaturalArmor</li>
</groups>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalBird"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="Head"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalBird"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="Head"]/parts/li[def="SmellSensor"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalBird"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="Head"]/parts/li[def="Beak"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalBird"]/corePart/parts/li[def="LeftMechanicalLeg"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalBird"]/corePart/parts/li[def="LeftMechanicalLeg"]/parts/li[def="LeftMechanicalFoot"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalBird"]/corePart/parts/li[def="RightMechanicalLeg"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalBird"]/corePart/parts/li[def="RightMechanicalLeg"]/parts/li[def="RightMechanicalFoot"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>

</operations>
</match>
</li>
</operations>
</Operation>
</Patch>
136 changes: 136 additions & 0 deletions Patches/Android Tiers/Bodies/Mod_Bodies_AT_K9.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>

<!--K9 Bodytype-->

<li Class="PatchOperationFindMod">
<mods>
<li>[1.0] Android tiers</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<!--Robot Dog-->
<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart</xpath>
<value>
<groups>
<li>CoveredByNaturalArmor</li>
</groups>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart/parts/li[def="CounterWeightTail"]</xpath>
<value>
<groups>
<li>CoveredByNaturalArmor</li>
</groups>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart/parts/li[def="MechanicalNeck"]</xpath>
<value>
<groups>
<li>CoveredByNaturalArmor</li>
</groups>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="Head"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="Head"]/parts/li[def="SmellSensor"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="Head"]/parts/li[def="CyberneticAnimalJaw"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart/parts/li[def="FrontLeftMechanicalLeg"]</xpath>
<value>
<groups>
<li>CoveredByNaturalArmor</li>
</groups>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart/parts/li[def="FrontLeftMechanicalLeg"]/parts/li[def="FrontLeftMechanicalPaw"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart/parts/li[def="FrontRightMechanicalLeg"]</xpath>
<value>
<groups>
<li>CoveredByNaturalArmor</li>
</groups>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart/parts/li[def="FrontRightMechanicalLeg"]/parts/li[def="FrontRightMechanicalPaw"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart/parts/li[def="RearLeftMechanicalLeg"]</xpath>
<value>
<groups>
<li>CoveredByNaturalArmor</li>
</groups>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart/parts/li[def="RearLeftMechanicalLeg"]/parts/li[def="RearLeftMechanicalPaw"]</xpath>
<value>
<groups>
<li>CoveredByNaturalArmor</li>
</groups>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart/parts/li[def="RearRightMechanicalLeg"]</xpath>
<value>
<groups>
<li>CoveredByNaturalArmor</li>
</groups>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/BodyDef[defName="AndroidAnimalDoggo"]/corePart/parts/li[def="RearRightMechanicalLeg"]/parts/li[def="RearRightMechanicalPaw"]</xpath>
<value>
<groups>
<li>CoveredByNaturalArmor</li>
</groups>
</value>
</li>

</operations>
</match>
</li>
</operations>
</Operation>
</Patch>
Loading

0 comments on commit 080bfe4

Please sign in to comment.