RimWorld

RimWorld

758 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.513 MB
Dec 12, 2023 @ 12:34pm
Dec 2 @ 4:59am
143 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 has marked some of the mods that depend on this framework as compatible, so I assume most, if not all, of this framework is compatible.
- 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.


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 without attribution. If you want to use something directly from this, it's generally better to just make this mod a dependency.

In the event that I unexpectedly completely vanish for some reason, this and all my other mods use the CC BY-NC-SA 4.0 license[creativecommons.org] as normal. Technically also counts while I'm not vanished, but that discussion pops up a lot less during those times

[github.com]
[ko-fi.com]
[discord.gg]

Bug Report Reminder : If you encountered a bug caused by the latest version of the framework, make sure to force Steam to reinstall this mod and verify file integrity before posting as a majority of those reports are solved easily with those steps. If the issue persists and there is a log to share, provide the full log as I receive the duplicate stack trace far too often when individual bits are sent, which I cannot use to track down the issue.
Popular Discussions View All (5)
3
Sep 8 @ 12:49pm
PINNED: Share your mods here
Alite
339 Comments
Zaous 6 hours ago 
Redownloaded the mod after the fix, now it's working as it should. Thanks.
Alite  [author] 7 hours ago 
I think I managed to replicate and correct the issue, and I've uploaded the fix. If the issue persists, forcing a redownload should hopefully fix it for you, but if not I'll take another look at it. As best I can tell I missed that a null check missing
I have the same issue, force redownload did not help at all
cmy8867 9 hours ago 
I have the same issue: the ammo list doesn't show up. After uninstalling this mod, the ammo list reappears.
https://gist.github.com/HugsLibRecordKeeper/37cc2afabcc3142eeefcc9f872f98e56
唯一 12 hours ago 
I have the same issue: the ammo list doesn't show up. After uninstalling this mod, the ammo list reappears.
A Hallucination 14 hours ago 
<1f993cbf88314b1baa1e10ca917bdc64>:0
at CombatExtended.AmmoInjector.InjectAmmos () [0x00203] in <fb4c7875773b4d4e8d309407c7a64d23>:0
at CombatExtended.AmmoInjector.Inject () [0x00001] in <fb4c7875773b4d4e8d309407c7a64d23>:0
at Verse.LongEventHandler.UpdateCurrentSynchronousEvent (System.Boolean& sceneChanged) [0x0001d] in <46372f5dadbf4af8939e608076251180>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.LongEventHandler:UpdateCurrentSynchronousEvent (bool&)
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
A Hallucination 14 hours ago 
Exception from long event: System.InvalidCastException: Specified cast is not valid.
[Ref FAD0AE7E]
at CombatExtended.Compatibility.VehiclesCompat.VehiclesCompat+<_GetUsedAmmo>d__6.MoveNext () [0x00170] in <485932aaaa914c63a107b16cc7e88ea0>:0
at CombatExtended.Compatibility.Patches+<GetUsedAmmo>d__5.MoveNext () [0x000b2] in <fb4c7875773b4d4e8d309407c7a64d23>:0
at System.Collections.Generic.HashSet`1[T].UnionWith (System.Collections.Generic.IEnumerable`1[T] other) [0x00026] in
A Hallucination 14 hours ago 
A redownload of either doesn't fix the issue, when enabling EBSG Framework an error happens at what I assume is the ammo injection step. I'll have to paste it in two chunks to fit it all.
Zaous 15 hours ago 
I have the same issue, force redownload did not help at all
Alite  [author] 17 hours ago 
I just loaded a game with CE and the loading bench has ammo recipes in addition to there being the starting ammo on the ground, so reinstalling this mod may fix the issue. If it doesn't, then you'll have to send me a log so I can see if it gives anything useful