RimWorld

RimWorld

44 ratings
Tech Tree Patch Framework
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
42.737 MB
Sep 9, 2024 @ 4:20pm
Jul 2 @ 9:44am
7 Change Notes ( view )

Subscribe to download
Tech Tree Patch Framework

In 2 collections by GonDragon
The GonDragon Experience [1.5]
307 items
Old 1.5 Stuff
561 items
Description
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: https://github.com/GonDragon/TTPF
20 Comments
ミ>.<ミ?♪~ Apr 5 @ 12:18pm 
THE BEEEEEEEEEEST MOD!
Bitterholz Feb 7 @ 8:26am 
Absolutely goated mod, the tech tree has always been the bane of my modlists.
TurtleShroom Jan 31 @ 1:12pm 
I will! Thank you very much!
GonDragon  [author] Jan 31 @ 12:57pm 
@TurtleShroom: Great. If you find one button that is totally unclickable, just told me and I'll find some time to patch that...
TurtleShroom Jan 31 @ 12:13pm 
I mean, if I can still click them, that's perfectly fine. I was just afraid that I could not reach one!
GonDragon  [author] Jan 31 @ 11:27am 
@TurtleShroom: Sorry, but no. It may seems as a small change, but since it happens only with rimmsqol, and only in dev mode, and even with the overlap the buttons steel seems to be usable... I don't think I will change that, sorry again.
TurtleShroom Jan 31 @ 9:47am 
Perhaps, if you have the RIMMSQOL Mod, your buttons could be moved a bit to the left?
GonDragon  [author] Jan 30 @ 6:35pm 
@TurtleShroom: I don't use that mod, but I think that it should work. The previous comment said that there is some sort of issue with button positions in devmode when both mods are enabled, but that still should be usable.
TurtleShroom Jan 30 @ 5:07pm 
Does this Mod work with the RIMMSQOL Mod, BTW? I already reorder all of my Mods under that. I would LOVE to be able to just click a button and export it into a Patch with your system.
Most Definitely a Mimic Nov 16, 2024 @ 8:26am 
I figured out the issue. RIMMSqol adds buttons to the research window for saving new positions. Both of these kinda over lap a bit.
I think RIMMSqol's buttons are also a little miss aligned in general.
Negligible and can be ignored completely outside of Dev mode messing with the research tree.