Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Commit

Permalink
v5.04
Browse files Browse the repository at this point in the history
  • Loading branch information
juanosarg committed Mar 1, 2020
1 parent 7abf57d commit 257bf4e
Show file tree
Hide file tree
Showing 51 changed files with 3,261 additions and 4,187 deletions.
Binary file modified v1.1/Assemblies/AnimalRangeUnlocker.dll
Binary file not shown.
Binary file modified v1.1/Assemblies/ModCheck.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion v1.1/Defs/JobDefs/AnimalRangedJob.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<JobDef>
<defName>AnimalRangeAttack</defName>
<driverClass>AnimalRangeAttack.JobDriver_AnimalRangeAttack</driverClass>
<driverClass>GeneticAnimalRangeUnlocker.JobDriver_AnimalRangeAttack</driverClass>
<reportString>Attacking.</reportString>
</JobDef>
</Defs>
18 changes: 9 additions & 9 deletions v1.1/Defs/ThingDefs_Misc/Animal_Projectiles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<ThingDef ParentName="BaseBullet">
<defName>GR_SniperFlechette</defName>
<label>sniper flechette</label>
<thingClass>AnimalRangeAttack.AnimalProjectile</thingClass>
<thingClass>GeneticAnimalRangeUnlocker.AnimalProjectile</thingClass>
<graphicData>
<texPath>Things/Projectile/Bullet_Big</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -115,7 +115,7 @@
<ThingDef ParentName="BaseBullet">
<defName>GR_RazorProjectile</defName>
<label>razor scythe</label>
<thingClass>AnimalRangeAttack.AnimalProjectile</thingClass>
<thingClass>GeneticAnimalRangeUnlocker.AnimalProjectile</thingClass>
<graphicData>
<texPath>Things/Projectile/GR_Razor</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -134,7 +134,7 @@
<ThingDef ParentName="BaseBullet">
<defName>GR_Laser</defName>
<label>laser beam</label>
<thingClass>AnimalRangeAttack.AnimalProjectile</thingClass>
<thingClass>GeneticAnimalRangeUnlocker.AnimalProjectile</thingClass>
<graphicData>
<texPath>Things/Projectile/GR_LaserBeam</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -153,7 +153,7 @@
<ThingDef ParentName="BaseBullet">
<defName>GR_Disintegrator</defName>
<label>disintegrator beam</label>
<thingClass>AnimalRangeAttack.AnimalProjectile</thingClass>
<thingClass>GeneticAnimalRangeUnlocker.AnimalProjectile</thingClass>
<graphicData>
<texPath>Things/Projectile/GR_DisintegratorBeam</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -173,7 +173,7 @@
<ThingDef ParentName="BaseBullet">
<defName>GR_StunBolt</defName>
<label>stun bolt</label>
<thingClass>AnimalRangeAttack.AnimalProjectile</thingClass>
<thingClass>GeneticAnimalRangeUnlocker.AnimalProjectile</thingClass>
<graphicData>
<texPath>Things/Mote/BlastEMP</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -191,7 +191,7 @@
<ThingDef ParentName="BaseBullet">
<defName>GR_PoisonBlast</defName>
<label>poison blast</label>
<thingClass>AnimalRangeAttack.AnimalProjectile</thingClass>
<thingClass>GeneticAnimalRangeUnlocker.AnimalProjectile</thingClass>
<graphicData>
<texPath>Things/Projectile/GR_PoisonShot</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -209,7 +209,7 @@
<ThingDef ParentName="BaseBullet">
<defName>GR_HairballProjectile</defName>
<label>hairball</label>
<thingClass>AnimalRangeAttack.AnimalProjectile</thingClass>
<thingClass>GeneticAnimalRangeUnlocker.AnimalProjectile</thingClass>
<graphicData>
<texPath>Things/Projectile/GR_HairballProjectile</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -227,7 +227,7 @@
<ThingDef ParentName="BaseBullet">
<defName>GR_GreatHairballProjectile</defName>
<label>greater hairball</label>
<thingClass>AnimalRangeAttack.AnimalProjectile</thingClass>
<thingClass>GeneticAnimalRangeUnlocker.AnimalProjectile</thingClass>
<graphicData>
<texPath>Things/Projectile/GR_HairballProjectile</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -245,7 +245,7 @@
<ThingDef ParentName="BaseBullet">
<defName>GR_CryoBlast</defName>
<label>cryo blast</label>
<thingClass>AnimalRangeAttack.AnimalProjectile</thingClass>
<thingClass>GeneticAnimalRangeUnlocker.AnimalProjectile</thingClass>
<graphicData>
<texPath>Things/Projectile/WaterSplash</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand Down
163 changes: 53 additions & 110 deletions v1.1/Patches/ADogSaidPatch.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>

<Operation Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods>

<match Class="PatchOperationSequence">
<operations>


<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>

<!-- Organ installing recipes == should be most animals -->
<li Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods> <!-- "Inserting animal defNames into InstallBionicAnimalStomach surgery <recipeUsers>" -->
<match Class="PatchOperationAdd">
<!-- Organ installing recipes == should be most animals -->
<li Class="PatchOperationAdd">
<!-- "Inserting animal defNames into InstallBionicAnimalStomach surgery <recipeUsers>" -->
<xpath>/Defs/RecipeDef[defName = "InstallBionicAnimalStomach"]/recipeUsers</xpath>
<value>
<li>GR_AberrantFleshbeast</li>
Expand Down Expand Up @@ -106,15 +107,10 @@
<li>GR_Catwolf</li>

</value>
</match>
</li>
</li>

<li Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods>

<match Class="PatchOperationAdd"> <!-- "Inserting animal defNames into InstallBionicAnimalKidney surgery <recipeUsers>" -->
<li Class="PatchOperationAdd">
<!-- "Inserting animal defNames into InstallBionicAnimalKidney surgery <recipeUsers>" -->
<xpath>/Defs/RecipeDef[defName = "InstallBionicAnimalKidney"]/recipeUsers</xpath>
<value>
<li>GR_AberrantFleshbeast</li>
Expand Down Expand Up @@ -201,15 +197,10 @@
<li>GR_Catwolf</li>

</value>
</match>
</li>

<li Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods>
</li>

<match Class="PatchOperationAdd"> <!-- "Inserting animal defNames into InstallBionicAnimalLiver surgery <recipeUsers>" -->
<li Class="PatchOperationAdd">
<!-- "Inserting animal defNames into InstallBionicAnimalLiver surgery <recipeUsers>" -->
<xpath>/Defs/RecipeDef[defName = "InstallBionicAnimalLiver"]/recipeUsers</xpath>
<value>
<li>GR_AberrantFleshbeast</li>
Expand Down Expand Up @@ -296,15 +287,10 @@
<li>GR_Catwolf</li>

</value>
</match>
</li>

<li Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods>
</li>

<match Class="PatchOperationAdd"> <!-- "Inserting animal defNames into InstallBionicAnimalLung surgery <recipeUsers>" -->
<li Class="PatchOperationAdd">
<!-- "Inserting animal defNames into InstallBionicAnimalLung surgery <recipeUsers>" -->
<xpath>/Defs/RecipeDef[defName = "InstallBionicAnimalLung"]/recipeUsers</xpath>
<value>
<li>GR_AberrantFleshbeast</li>
Expand Down Expand Up @@ -390,15 +376,10 @@
<li>GR_Catfallo</li>
<li>GR_Catwolf</li>
</value>
</match>
</li>
</li>

<li Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods>

<match Class="PatchOperationAdd"> <!-- "Inserting animal defNames into InstallBionicAnimalHeart surgery <recipeUsers>" -->
<li Class="PatchOperationAdd">
<!-- "Inserting animal defNames into InstallBionicAnimalHeart surgery <recipeUsers>" -->
<xpath>/Defs/RecipeDef[defName = "InstallBionicAnimalHeart"]/recipeUsers</xpath>
<value>
<li>GR_AberrantFleshbeast</li>
Expand Down Expand Up @@ -491,15 +472,10 @@
<li>GR_Catfallo</li>
<li>GR_Catwolf</li>
</value>
</match>
</li>

<li Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods>
</li>

<match Class="PatchOperationAdd"> <!-- "Inserting animal defNames into InstallAnimalBrainStimulator surgery <recipeUsers>" -->
<li Class="PatchOperationAdd">
<!-- "Inserting animal defNames into InstallAnimalBrainStimulator surgery <recipeUsers>" -->
<xpath>/Defs/RecipeDef[defName = "InstallAnimalBrainStimulator"]/recipeUsers</xpath>
<value>
<li>GR_AberrantFleshbeast</li>
Expand Down Expand Up @@ -592,15 +568,10 @@
<li>GR_Catfallo</li>
<li>GR_Catwolf</li>
</value>
</match>
</li>

<li Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods>
</li>

<match Class="PatchOperationAdd"> <!-- "Inserting animal defNames into InstallSpineAnimalBionic surgery <recipeUsers>" -->
<li Class="PatchOperationAdd">
<!-- "Inserting animal defNames into InstallSpineAnimalBionic surgery <recipeUsers>" -->
<xpath>/Defs/RecipeDef[defName = "InstallSpineAnimalBionic" or "InstallSpineAnimalSimple"]/recipeUsers</xpath>
<value>
<li>GR_AlphaBear</li>
Expand Down Expand Up @@ -682,17 +653,12 @@
<li>GR_Catfallo</li>
<li>GR_Catwolf</li>
</value>
</match>
</li>
</li>



<li Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods>

<match Class="PatchOperationAdd"> <!-- "Inserting animal defNames into InstallJawAnimalBionic surgery <recipeUsers> -->
<li Class="PatchOperationAdd">
<!-- "Inserting animal defNames into InstallJawAnimalBionic surgery <recipeUsers> -->
<xpath>/Defs/RecipeDef[defName = "InstallJawAnimalBionic" or "InstallJawAnimalSimple"]/recipeUsers</xpath>
<value>
<li>GR_AberrantFleshbeast</li>
Expand Down Expand Up @@ -785,17 +751,12 @@
<li>GR_Catfallo</li>
<li>GR_Catwolf</li>
</value>
</match>
</li>

</li>


<li Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods>

<match Class="PatchOperationAdd"> <!-- "Inserting animal defNames into InstallNoseAnimalSimple surgery <recipeUsers>" -->
<li Class="PatchOperationAdd">
<!-- "Inserting animal defNames into InstallNoseAnimalSimple surgery <recipeUsers>" -->
<xpath>/Defs/RecipeDef[defName = "InstallNoseAnimalSimple"]/recipeUsers</xpath>
<value>
<li>GR_AlphaBear</li>
Expand Down Expand Up @@ -862,15 +823,10 @@
<li>GR_Catfallo</li>
<li>GR_Catwolf</li>
</value>
</match>
</li>

<li Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods>
</li>

<match Class="PatchOperationAdd"> <!-- "Inserting animal defNames into InstallBionicEyeAnimal surgery <recipeUsers>" -->
<li Class="PatchOperationAdd">
<!-- "Inserting animal defNames into InstallBionicEyeAnimal surgery <recipeUsers>" -->
<xpath>/Defs/RecipeDef[defName = "InstallBionicEyeAnimal"]/recipeUsers</xpath>
<value>
<li>GR_AberrantFleshbeast</li>
Expand Down Expand Up @@ -963,15 +919,10 @@
<li>GR_Catfallo</li>
<li>GR_Catwolf</li>
</value>
</match>
</li>
</li>

<li Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods>

<match Class="PatchOperationAdd"> <!-- "Inserting animal defNames into InstallEarAnimalSimple surgery <recipeUsers>" -->
<li Class="PatchOperationAdd">
<!-- "Inserting animal defNames into InstallEarAnimalSimple surgery <recipeUsers>" -->
<xpath>/Defs/RecipeDef[defName = "InstallEarAnimalSimple" or "InstallEarAnimalBionic"]/recipeUsers</xpath>
<value>
<li>GR_AberrantFleshbeast</li>
Expand Down Expand Up @@ -1062,19 +1013,14 @@
<li>GR_Catfallo</li>
<li>GR_Catwolf</li>
</value>
</match>
</li>

</li>



<!-- Leg installing recipes == should be most animals -->
<li Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods>

<match Class="PatchOperationAdd"> <!-- "Inserting animal defNames into InstallPegLegAnimal surgery <recipeUsers>" -->
<!-- Leg installing recipes == should be most animals -->
<li Class="PatchOperationAdd">
<!-- "Inserting animal defNames into InstallPegLegAnimal surgery <recipeUsers>" -->
<xpath>/Defs/RecipeDef[defName = "InstallPegLegAnimal" or "InstallSimpleProstheticLegAnimal" or "InstallBionicLegAnimal"]/recipeUsers</xpath>
<value>
<li>GR_AlphaBear</li>
Expand Down Expand Up @@ -1163,22 +1109,17 @@
<li>GR_Catfallo</li>
<li>GR_Catwolf</li>
</value>
</match>
</li>

</li>






<!-- Tail installing recipe == Only for animal with tail-->
<li Class="PatchOperationFindMod">
<mods>
<li>A Dog Said... Animal Prosthetics</li>
</mods>

<match Class="PatchOperationAdd"> <!-- "Inserting animal defNames into InstallSimpleProstheticTailAnimal surgery <recipeUsers>" -->
<!-- Tail installing recipe == Only for animal with tail-->
<li Class="PatchOperationAdd">
<!-- "Inserting animal defNames into InstallSimpleProstheticTailAnimal surgery <recipeUsers>" -->
<xpath>/Defs/RecipeDef[defName = "InstallSimpleProstheticTailAnimal"]/recipeUsers</xpath>
<value>
<li>GR_AlphaChicken</li>
Expand Down Expand Up @@ -1222,14 +1163,16 @@
<li>GR_Catrabbit</li>
<li>GR_Catwolf</li>
</value>
</match>
</li>
</li>



</operations>
</operations>
</match>

</Operation>


</Patch>


Loading

0 comments on commit 257bf4e

Please sign in to comment.