Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
File contents:
<?xml version="1.0" encoding="utf-8" ?>
<!-- Adding research prereqs to all buildings which don't otherwise have a prereq and replacing those which rely on Pemmican with TS_PrimitiveCooking (as Pemmican is not in Thinking Spot's research tree)-->
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>[1.0, 1.1] RimCuisine 2 Core</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "RC2_FoodPrepSpot"]</xpath>
<value>
<researchPrerequisites>
<li>TS_PrimitiveCooking</li>
</researchPrerequisites>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName = "RC2_MeatDryingRack"]/researchPrerequisites</xpath>
<value>
<researchPrerequisites>
<li>TS_PrimitiveCooking</li>
</researchPrerequisites>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName = "RC2_FruitDryingRack"]/researchPrerequisites</xpath>
<value>
<researchPrerequisites>
<li>TS_PrimitiveCooking</li>
</researchPrerequisites>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName = "RC2_PicklingBarrel"]/researchPrerequisites</xpath>
<value>
<researchPrerequisites>
<li>TS_PrimitiveCooking</li>
</researchPrerequisites>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>
File contents:
<?xml version="1.0" encoding="utf-8" ?>
<!-- Replacing research prereq 'Pemmican' with the prereq 'TS_PrimitiveCooking' in all relevant cases as Pemmican is not in Thinking Spot's research tree-->
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>[1.0, 1.1] RimCuisine 2 Core</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>/Defs/RecipeDef[defName = "RC2_MakeHardtack"]/researchPrerequisite</xpath>
<value>
<researchPrerequisite>TS_PrimitiveCooking</researchPrerequisite>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>/Defs/RecipeDef[defName = "RC2_TrimMeat"]/researchPrerequisite</xpath>
<value>
<researchPrerequisite>TS_PrimitiveCooking</researchPrerequisite>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>/Defs/RecipeDef[defName = "RC2_TrimMeatBulk"]/researchPrerequisite</xpath>
<value>
<researchPrerequisite>TS_PrimitiveCooking</researchPrerequisite>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>/Defs/RecipeDef[defName = "RC2_PrepareFruit"]/researchPrerequisite</xpath>
<value>
<researchPrerequisite>TS_PrimitiveCooking</researchPrerequisite>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>/Defs/RecipeDef[defName = "RC2_PrepareFruitBulk"]/researchPrerequisite</xpath>
<value>
<researchPrerequisite>TS_PrimitiveCooking</researchPrerequisite>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>/Defs/RecipeDef[defName = "RC2_BrineVegetables"]/researchPrerequisite</xpath>
<value>
<researchPrerequisite>TS_PrimitiveCooking</researchPrerequisite>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>/Defs/RecipeDef[defName = "RC2_BrineVegetablesBulk"]/researchPrerequisite</xpath>
<value>
<researchPrerequisite>TS_PrimitiveCooking</researchPrerequisite>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>
File contents:
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<!--Removing 'Pemmican' from research Prerequisites as it no longer exists in Thinking Spot-->
<Operation Class="PatchOperationFindMod">
<mods>
<li>[1.0, 1.1] RimCuisine 2 Core</li>
</mods>
<match Class="PatchOperationReplace">
<!--Didn't immediately see an obvious way to just remove a single prereq so am simply replacing all prereqs, and adding back in all but Pemmican-->
<!--Pemmican's replacement in the tech tree is already a prereq before you can research NutrientPaste so need to add that replacement-->
<xpath>/Defs/ResearchProjectDef[defName="PackagedSurvivalMeal"]/prerequisites</xpath>
<value>
<prerequisites>
<li>NutrientPaste</li>
</prerequisites>
</value>
</match>
</Operation>
</Patch>
The second one, for research.xml, sadly can't use the same trick as TreeSowing exists in Vanilla, and so I'm still trying to think of a way to strip out the Rim Cuisine specific bit and put it in the Rim Cuisine folder. If anyone has any bright ideas let me know, I'm a complete novice with xml files and modding in general. Essentially all the second fix is is changing the name of the previous version of Rim Cuisine for the new one, but I've included the entire body of xml that deals with Rim Cuisine's issue just for simplicity's sake.
You should be able to just delete the bit of code that deals with Rim Cuisine and replace it with these ones.
Fix for plants.xml
<!-- check for sow research prereqs for strawberries and if none, add in Thinking Spot's prereq-->
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationTest">
<xpath>/Defs/ThingDef[defName="Plant_Strawberry"]/plant/sowResearchPrerequisites</xpath>
<success>Invert</success>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="Plant_Strawberry"]/plant</xpath>
<value>
<sowResearchPrerequisites>
<li>TS_DomHerb</li>
</sowResearchPrerequisites>
</value>
</li>
</operations>
</Operation>
Fix for Research.xml
<Operation Class="PatchOperationFindMod">
<mods>
<li>[1.0, 1.1] RimCuisine 2 Core</li>
</mods>
<nomatch Class="PatchOperationAdd">
<xpath>/Defs/ResearchProjectDef[defName="TreeSowing"]</xpath>
<value>
<prerequisites>
<li>TS_DomHerb</li>
</prerequisites>
</value>
</nomatch>
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>RazzleDazzle! (Continued)</li>
</mods>
<!--adds Stage to prereq TS-Art.-->
<match Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="StageDef"]</xpath>
<value>
<researchPrerequisites>
<li>TS_Art</li>
</researchPrerequisites>
</value>
</match>
</Operation>
</Patch>
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>[T] MoreFloors</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<!--adding IndoorFlooring to all wood floors-->
<li Class="PatchOperationAdd">
<xpath>/Defs/TerrainDef[defName = "FloorWoodRustic"]</xpath>
<value>
<researchPrerequisites>
<li>TS_IndoorFlooring</li>
</researchPrerequisites>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/TerrainDef[defName = "FloorWoodWide"]</xpath>
<value>
<researchPrerequisites>
<li>TS_IndoorFlooring</li>
</researchPrerequisites>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/TerrainDef[defName = "FloorWoodLight"]</xpath>
<value>
<researchPrerequisites>
<li>TS_IndoorFlooring</li>
</researchPrerequisites>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/TerrainDef[defName = "FloorWoodMosaic"]</xpath>
<value>
<researchPrerequisites>
<li>TS_IndoorFlooring</li>
</researchPrerequisites>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/TerrainDef[defName = "FloorWoodVertical"]</xpath>
<value>
<researchPrerequisites>
<li>TS_IndoorFlooring</li>
</researchPrerequisites>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/TerrainDef[defName = "FloorWoodBarn"]</xpath>
<value>
<researchPrerequisites>
<li>TS_IndoorFlooring</li>
</researchPrerequisites>
</value>
</li>
<!-- ... and to Straw flooring-->
<li Class="PatchOperationAdd">
<xpath>/Defs/TerrainDef[defName = "FloorStraw"]</xpath>
<value>
<researchPrerequisites>
<li>TS_IndoorFlooring</li>
</researchPrerequisites>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>
Filename: research.xml
Text is as follows:
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Fertile Fields [1.1]</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<!-- adding new research project in order to learn how to terraform. Has a steep cost for its place in the tech tree but it's a powerful tech. Am open to other opinions.-->
<li Class="PatchOperationInsert">
<xpath>/Defs/ResearchProjectDef[defName = "TS_Walls"]</xpath>
<value>
<ResearchProjectDef>
<defName>TS_FF_Primitive_Terraforming</defName>
<label>Primitive Terraforming</label>
<description>Whilst absent mindedly gazing at the land before them, your researcher noticed a startling thing: different types of soil seem to grow plants at different rates! Fascinated by this discovery, they decided to see how they could turn one type of soil into another, or even remove all the goodness from the soil entirely!</description>
<techLevel>Neolithic</techLevel>
<baseCost>1000</baseCost>
<prerequisites>
<li>TS_Crafting</li>
</prerequisites>
</ResearchProjectDef>
</value>
</li>
<!-- adding new primitive terraforming tech as prereq for subsequent terraforming tech-->
<li Class="PatchOperationReplace">
<xpath>/Defs/ResearchProjectDef[defName="RFF_Terraforming"]/prerequisites</xpath>
<value>
<prerequisites>
<li>TS_FF_Primitive_Terraforming</li>
</prerequisites>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>
Text as follows:
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Fertile Fields [1.1]</li>
</mods>
<!-- adding prereq to the parent Def all terraforming inherits from-->
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[@Name = "RFF_TerraformBase"]</xpath>
<value>
<researchPrerequisites>
<li>TS_FF_Primitive_Terraforming</li>
</researchPrerequisites>
</value>
</li>
<!-- adding wall prereq to Brick Wall and then indoor flooring prereq to brick floors-->
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "BrickWall"]</xpath>
<value>
<researchPrerequisites>
<li>TS_Walls</li>
</researchPrerequisites>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/TerrainDef[defName = "BrickFloor" or defName = "HBBrickFloor"]</xpath>
<value>
<researchPrerequisites>
<li>TS_IndoorFlooring</li>
</researchPrerequisites>
</value>
</li>
<!-- adding terraforming prereq to compost bin-->
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "CompostBin"]</xpath>
<value>
<researchPrerequisites>
<li>TS_FF_Primitive_Terraforming</li>
</researchPrerequisites>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>
Text as follows:
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Fertile Fields [1.1]</li>
</mods>
<!-- adding prereq to recipes related to terraforming. Decided to throw in the composting techs in too rather than add it to another tech or make another new one-->
<match Class="PatchOperationAdd">
<xpath>/Defs/RecipeDef[defName = "SplitDirt" or defName = "SplitDirtBulk" or defName = "DirtToClay" or defName = "DirtToClayBulk" or defName = "MakeCrushedRocks" or defName = "MakeCrushedRocksBulk" or defName = "MakeCrushedRocksBlock" or defName = "MakeCrushedRocksBlockBulk" or defName = "MakeSand" or defName = "MakeSandBulk" or defName = "MakeClay" or defName = "MakeClayBulk" or defName = "MakeDirt" or defName = "MakeDirtBulk" or defName = "MakeCompost" or defName = "MakeCompost5" or defName = "CompostCorpse" or defName = "CompostCorpseCampfire"]</xpath>
<value>
<researchPrerequisites>
<li>TS_FF_Primitive_Terraforming</li>
</researchPrerequisites>
</value>
</match>
</Operation>
</Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>VGP Garden Fabrics</li>
</mods>
<match Class="PatchOperationReplace">
<xpath>Defs/ResearchProjectDef[defName="VG_ClothI"]/prerequisites</xpath>
<value>
<prerequisites>
<li>TS_DomHerb</li>
<li>ComplexClothing</li>
</prerequisites>
</value>
</match>
</Operation>
https://pastebin.com/9DNKanEa