RimWorld

RimWorld

548 ratings
EBSG Framework
3
4
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5, 1.6
File Size
Posted
Updated
2.459 MB
12 Dec, 2023 @ 12:34pm
28 Jul @ 6:58am
114 Change Notes ( view )

Subscribe to download
EBSG Framework

In 2 collections by Alite
Alite's Gene Mods
13 items
Expanded Biotech Style Genes
26 items
Description




This framework contains all the C# that I made that can be utilized for broad purposes. In addition to the stuff for the Expanded Biotech Style Genes series, it also has generic copies of some of the code made for the Superhero Genes series, like the code used to remove multiple hediffs with one ability, along with many other ideas I've had and various requests from others. By putting it all in one framework, I'm hoping it will make it easier for others to do some of this stuff.

This framework does not have any hard requirement on any DLC. However please keep in mind none of the gene stuff will work without Biotech, and the precept thought workers will usually require both Biotech and Ideology.


- Stats that alter deathrest, pregnancy, and blood recovery speeds.
- Create basic resource genes like Hemogen using just xml
- Locking equipment based on genes, xenotypes, and hediffs, using required or forbidden options.
- Locking genes and xenotypes to only use certain equipment, or have certain equipment forbidden.
- Create thoughts that check for trees similar to the Trees Desired precept.
- Create mood curves based on how many people are in the colony.
- Create hediffs that damage and even completely remove specific parts.
- Other stuff I'm sure. I may or may not have been drunk for parts of this, so I don't remember everything in it right now. The wiki's list is a lot more extensive[github.com].

To read about past updates and the next major update (if I'm presently working on it), take a look at the updates page on the wiki.[github.com]


- CE might take issue with the outgoing damage stuff. Awaiting large scale input from community.
- HAR may not be compatible with the fertility curve. Awaiting large scale input from community.
- No other issues are known at the moment.

If you encounter a bug, please make sure you force Steam to redownload this framework and verify file integrity to ensure Steam has not been skipping updates again. If the issue persists, feel free to make the report below, but if there are errors or warnings in your log, send the entire log rather than just that specific bit as those individual bits can often be missing a lot of required context.


Sovereign has helped come up with several of the ideas in the mod, and, more importantly, has helped me with art stuff to compensate for my inability to do art stuff.

The preview and mod icon were made by Elseud

SmartKar allowed me to take a bunch of stuff from the Athena Framework

Matsay helped create some of the comps in this framework

If you're interested in downloading manually, casually looking at the code, or taking a look at its functions to use in your own mods, click the Github link. While I do encourage looking at the C# if you want an example on how to do something, you do NOT have permission to just copy my code into your own mod. If you want to use something directly from this, make this mod a dependency.

[github.com]

[ko-fi.com]

[discord.gg]
Popular Discussions View All (3)
2
29 Jun @ 8:24am
PINNED: Share your mods here
Alite
274 Comments
Alleyballey 25 Jul @ 9:26am 
I'm getting an error from the new update? "Exception loading def from file ReproductionGeneDefs.xml: System.ArgumentException: Could not find type named EBSGFramework.ConditionalStatAffecter_Season"

I'm sorry ignore this. I validated my files and turns out i shouldn't have trusted steam when it said it "updated and downloaded workshop content" orz
Alite  [author] 24 Jul @ 6:41pm 
Minor Update:
- The ability validator can now invert the results of its time, light, and body size checks, and can now also check the current season
- Dynamic Resource Drain/Regen conditionals can now invert the results of their time and light checks, and gained checks for the day of the year, day of the quadrum, and the current season
- Conditional Stat Affecters involving time, light, and temperature can now invert those results. Conditionals based on the current season, day of the year, and day of the quadrum have been added, along with a new time multi conditional for doing multiple time related checks at once
Alite  [author] 24 Jul @ 8:41am 
I'm not seeing the EBSG Framework in your list of loaded mods on the logs you shared. If your mod loader does list it as an active mod, try removing it from the list, reloading the game, then adding it back in.
GinaTonik 24 Jul @ 7:54am 
The issue still didn't resolve upon verifying the files :( I have no races installed so nothing loading after it. I wonder if it's a conflict with another mod or some issue with the latest hotfix because I've yet to apply it.
GinaTonik 24 Jul @ 7:38am 
Got it. Will try that. Thank you so much!
Alite  [author] 24 Jul @ 6:07am 
Not sure why there would be infinite loading, but your log is reporting that some of the EBSG stuff that does exist is missing. My recommendation is to force steam to reinstall this framework, verify file integrity, and double check that the EBSG Framework is being loaded before mods that depend on it
GinaTonik 24 Jul @ 5:11am 
Getting infinite loading on startup. dunno if steam will let me post the error log https://gist.github.com/HugsLibRecordKeeper/7133872612257392e042f47cbf691c01
Alleyballey 23 Jul @ 5:48pm 
You are such an awesome person, thank you for your dedication to gene expansions <3
Alite  [author] 23 Jul @ 4:33pm 
I should be able to do that. I'll let you know when the update is out
Alleyballey 23 Jul @ 3:40pm 
I was looking to try and implement a "fertility season" where fertility would be low most seasons, but high in one.