Skip to content

Commit

Permalink
Merge pull request #2966 from CombatExtended-Continued/5.6-Final-Fixes
Browse files Browse the repository at this point in the history
5.6 final fixes - Serina's nod.
  • Loading branch information
N7Huntsman authored Jan 30, 2024
2 parents 0cddcc5 + e69ae5b commit d37647f
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 32 deletions.
2 changes: 2 additions & 0 deletions About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
<li>Killathon.MechHumanlikes.MechanicalBiomimetics</li>
<li>botchjob.divineorder</li>
<li>OskarPotocki.VFE.Deserters</li>
<li>OskarPotocki.VFE.Tribals</li>
<li>Sarg.AlphaMemes</li>
</loadAfter>

</ModMetaData>
33 changes: 33 additions & 0 deletions Patches/Alpha Memes/StyleCategoryDefs/StyleCategoryDefs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="PatchOperationFindMod">
<mods>
<li>Alpha Memes</li>
</mods>

<match Class="PatchOperationSequence">
<operations>

<!-- Remove styles for weapons that no longer exist. -->
<li Class="PatchOperationRemove">
<xpath>Defs/StyleCategoryDef/thingDefStyles/li[thingDef="Flamebow"]</xpath>
</li>

<li Class="PatchOperationRemove">
<xpath>Defs/StyleCategoryDef/thingDefStyles/li[thingDef="Gun_EmpLauncher"]</xpath>
</li>

<li Class="PatchOperationRemove">
<xpath>Defs/StyleCategoryDef/thingDefStyles/li[thingDef="Gun_ToxbombLauncher"]</xpath>
</li>

<li Class="PatchOperationRemove">
<xpath>Defs/StyleCategoryDef/thingDefStyles/li[thingDef="Gun_SmokeLauncher"]</xpath>
</li>

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

</Patch>
15 changes: 0 additions & 15 deletions Patches/Rimsenal - Spacer Faction Pack/Explosives_Smart_CE.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,21 +180,6 @@
<xpath>Defs</xpath>
<value>

<RecipeDef Name="RSExplosive_RecipeBase" Abstract="true">
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
<workSkill>Crafting</workSkill>
<unfinishedThingDef>UnfinishedGun</unfinishedThingDef>
<fixedIngredientFilter>
<thingDefs>
<li>Plasteel</li>
<li>ComponentIndustrial</li>
<li>FSX</li>
</thingDefs>
</fixedIngredientFilter>
</RecipeDef>

<!-- YP BaegYa Microwave Grenades -->
<RecipeDef ParentName="RSExplosive_RecipeBase">

Expand Down
15 changes: 0 additions & 15 deletions Patches/Rimsenal Collection/Core/Weapons_Explosives.xml
Original file line number Diff line number Diff line change
Expand Up @@ -493,21 +493,6 @@
<xpath>Defs</xpath>
<value>

<RecipeDef Name="RSExplosive_RecipeBase" Abstract="true">
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
<workSkill>Crafting</workSkill>
<unfinishedThingDef>UnfinishedGun</unfinishedThingDef>
<fixedIngredientFilter>
<thingDefs>
<li>Plasteel</li>
<li>ComponentIndustrial</li>
<li>FSX</li>
</thingDefs>
</fixedIngredientFilter>
</RecipeDef>

<!-- YP BaegYa Microwave Grenades -->
<RecipeDef ParentName="RSExplosive_RecipeBase">
<defName>Craft_10_BaegYa</defName>
Expand Down
32 changes: 32 additions & 0 deletions Patches/Rimsenal Collection/Core/Weapons_ExplosivesRecipeBase.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>

<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Rimsenal - Core</li>
<li>Rimsenal - Spacer Faction Pack</li>
</mods>
<match Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>

<RecipeDef Name="RSExplosive_RecipeBase" Abstract="true">
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
<workSkill>Crafting</workSkill>
<unfinishedThingDef>UnfinishedGun</unfinishedThingDef>
<fixedIngredientFilter>
<thingDefs>
<li>Plasteel</li>
<li>ComponentIndustrial</li>
<li>FSX</li>
</thingDefs>
</fixedIngredientFilter>
</RecipeDef>

</value>

</match>
</Operation>
</Patch>
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
</li>

<!-- == costList == -->
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Turret_GatlingGun"]</xpath>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Turret_GatlingGun"]/costList</xpath>
<value>
<costList>
<Steel>325</Steel>
Expand Down

0 comments on commit d37647f

Please sign in to comment.