import ig

This commit is contained in:
Izaya 2024-08-07 13:02:35 +10:00
commit 3150b823a3
7 changed files with 224 additions and 0 deletions

42
1.5/Patches/CBPatch.xml Normal file
View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Epochs - Pottery</li>
<li>Epochs - Pottery - Clay digging extension</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationTest">
<xpath>Defs/RecipeDef[defName="Make_ClayBricks"]/recipeUsers</xpath>
<success>Invert</success>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/RecipeDef[defName="Make_ClayBricks"]</xpath>
<value>
<recipeUsers/>
</value>
</li>
</operations>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/RecipeDef[defName="Make_ClayBricks"]/recipeUsers</xpath>
<value>
<li MayRequire="DankPyon.Medieval.Overhaul">DankPyon_StonecuttingSpot</li>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/RecipeDef[defName="Make_ClayBricks"]</xpath>
<value>
<workSpeedStat>MiningSpeed</workSpeedStat>
<workSkill>Mining</workSkill>
<workSkillLearnFactor>0.25</workSkillLearnFactor>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>

View File

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Ideology Expanded - Memes and Structures</li>
<li>Medieval Overhaul</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAdd">
<xpath>
/Defs/VanillaMemesExpanded.FireSourcesForPreceptDefs[defName = "VME_SupportedFireSourcesForPreceptDef"]/supportedFireSourcesForPrecept
</xpath>
<value>
<li>DankPyon_WoodBurningStove</li>
<li>DankPyon_RusticHearth</li>
<li>DankPyon_RusticTorchLamp</li>
<li>DankPyon_WallTorch</li>
<li>DankPyon_Candles</li>
<li>DankPyon_Candles_Beeswax</li>
<li>DankPyon_CandleStand</li>
<li>DankPyon_CandleStand_Beeswax</li>
<li>DankPyon_RusticLamp</li>
<li>DankPyon_LampPost</li>
<li>DankPyon_WallLamp</li>
</value>
</li>
</operations>
</match>
</Operation>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Ideology Expanded - Memes and Structures</li>
<li>ReBuild: Doors and Corners</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAdd">
<xpath>
/Defs/VanillaMemesExpanded.FireSourcesForPreceptDefs[defName = "VME_SupportedFireSourcesForPreceptDef"]/supportedFireSourcesForPrecept
</xpath>
<value>
<li>RB_Fireplace</li>
<li>RB_OverwallFireplace</li>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAdd" MayRequire="VanillaExpanded.VPlantsE">
<xpath>Defs/ThingDef[defName="VCE_Tomato"]/plant/sowTags</xpath>
<value>
<li>Hydroponic</li>
</value>
</li>
</operations>
</Operation>
<Operation Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAdd" MayRequire="ReGrowth.BOTR.Core">
<xpath>Defs/ThingDef[defName="RG_Plant_RaspberryCultivated"]/plant/sowTags</xpath>
<value>
<li>Hydroponic</li>
</value>
</li>
</operations>
</Operation>
</Patch>

18
1.5/Patches/RBGlass.xml Normal file
View File

@ -0,0 +1,18 @@
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>ReBuild: Doors and Corners</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="RB_ClerestoryWall"]/researchPrerequisites</xpath>
<value>
<researchPrerequisites><li>Smithing</li></researchPrerequisites>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>

40
1.5/Patches/SCPatch.xml Normal file
View File

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationTest">
<xpath>Defs/ThingDef[defName="Apparel_Collar"]/recipeMaker</xpath>
<success>Invert</success>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Apparel_Collar"]</xpath>
<value>
<recipeMaker/>
</value>
</li>
</operations>
</Operation>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationTest">
<xpath>Defs/ThingDef[defName="Apparel_Collar"]/recipeMaker/recipeUsers</xpath>
<success>Invert</success>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Apparel_Collar"]/recipeMaker</xpath>
<value>
<recipeUsers/>
</value>
</li>
</operations>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Apparel_Collar"]/recipeMaker/recipeUsers</xpath>
<value>
<li>DankPyon_TailorsBench</li>
<li>DankPyon_Workbench</li>
</value>
</Operation>
</Patch>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Vehicles Wrecks Expanded</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[starts-with(defName,"VVEW_")]</xpath>
<value>
<minifiedDef>MinifiedThing</minifiedDef>
<thingCategories>
<li>BuildingsMisc</li>
</thingCategories>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[starts-with(defName,"VVEW_")]/statBases</xpath>
<value>
<Mass>100</Mass>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>

22
About/About.xml Executable file
View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<ModMetaData>
<name>Izzy's Misc Tweaks</name>
<author>Izzy</author>
<supportedVersions>
<li>1.4</li>
<li>1.5</li>
</supportedVersions>
<packageId>SKS.IzzyTweaks</packageId>
<modDependencies>
<li>
<packageId>VanillaExpanded.VPlantsE</packageId>
<displayName>Vanilla Plants Expanded</displayName>
</li>
</modDependencies>
<loadAfter>
<li>VanillaExpanded.VPlantsE</li>
<li>ReGrowth.BOTR.Core</li>
</loadAfter>
<description>
</description>
</ModMetaData>