Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Tech Tree Patch Framework

This small framework introduces a PatchOperation to make overwriting Research Projects easier. It also adds two buttons: one to save the position of Research Projects after reordering them in Developer Mode, and another to generate a patch with all the position changes you've made in-game. Additionally, it adds a new "Hidden" tab to the ResearchTabs, visible only in Developer Mode. You can use this tab to hide research projects without deleting them, which helps avoid red errors from removed projects. Below is the patch operation: <Operation Class="TTPF.PatchOperationEditResearch"> <success>Always</success> <xpath>Defs/ResearchProjectDef[defName="defToEdit"]</xpath> <researchViewX>0.00</researchViewX> <researchViewY>0.90</researchViewY> <tab>Main</tab> <baseCost>400.00</baseCost> <prerequisites> <li>Requisite1</li> <li>Requisite2</li> </prerequisites> <hiddenPrerequisites> <li>HiddenRequisite1</li> </hiddenPrerequisites> </Operation> All fields are optional, so you can modify only what you need without affecting other elements. Source Code: [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FGonDragon%2FTTPF]https://github.com/GonDragon/TTPF[/url]