RimWorld

RimWorld

499 ratings
Community Framework
4
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
147.696 MB
Aug 25, 2021 @ 10:25pm
Nov 2, 2024 @ 3:51am
8 Change Notes ( view )

Subscribe to download
Community Framework

Description
The Community Framework is a framework that gives more power to modders that use XML. It has multiple features made by the community, for all of which the documentation can be found on GitHub, right here:
https://github.com/ISOR3X/communityframework/wiki

Have you ever wrote a small bit of C# code that could be useful to others, but wasn't really enough to justify making a mod for? This is exactly the reason the Community Framework was created.

Submit your code, have it checked by other coders and have it added to this mod!

If you're interested in having your own code added, check out the introduction on the framework's GitHub repository:
https://github.com/ISOR3X/communityframework/wiki/Adding-your-code

Community Framework was started by ISOREX#8779, and is currently maintained by Turnovus#7761.
78 Comments
Turnovus  [author] Mar 7 @ 6:59pm 
@Punful Guy
The CF's sole goal is to provide broad functionality for modders, and does not claim to improve performance or stability.

With that said, invoking any Harmony patch does come with a marginal overhead. Reducing the number of individual Harmony patches on high-volume methods could lead to a minute increase in performance, though I'd expect the effects to be negligible at best.

Reducing the number of Harmony patches can also provide better stability, as there are fewer third-party methods fighting each other over how the program should behave.
Punful Guy Mar 5 @ 8:27pm 
Are these patched methods actually more efficient with this mod? As in with enough mods this would actually increase performance by cutting unnecessary calls?
Tleno Aug 29, 2024 @ 6:12am 
Hey could it be possible to make a request?

Like Output or Recipe Worker that randomizes output so spending consistent resources crafting you randomly get one of multiple defined objects instead of one specific?

Or what about randomization to glower class so object starts off with one of random glow colours instead of predefined?
Fighting Pirate Mar 30, 2024 @ 2:51pm 
Thank you for updating this! This framework has been a really helpful tool. Glade to see it still being supported for 1.5.
Oddbase Feb 22, 2024 @ 2:46pm 
hey you think you would be able to make it so the slavesuppressionoffset stat actually works with hediffs?
Turnovus  [author] Feb 13, 2024 @ 9:20am 
@dinhkhiem199833
I was worried that this might be the case, I will start working on a fix for it.
Kaden Ha Feb 12, 2024 @ 9:30pm 
Is it intended that comps that's added through CompsToAddWhenStuff is NOT saved? I tested with the self repair comp on doors, as they have Normal tickertype, then save and reload, the comp disappeared. They stopped healing and the extra inspection also gone.
Kaden Ha Oct 19, 2023 @ 6:32pm 
There's a comp to add comps to items when stuffed with the material, so can I suggest the opposite, a comp that removes comps from items when they're stuffed?
TurtleShroom Oct 1, 2023 @ 2:39pm 
I don't know how to update C-Sharp code myself, so if I sent it over, could it be updated by the men behind this Mod instead of depending on my wallet to update it?
TurtleShroom Oct 1, 2023 @ 2:35pm 
Years ago, I inherited a Mod that added C-Sharp and, with the original author's explicit permission, I was given full control over it and its future.

The problem on my end is that I cannot code in C-Sharp to save my life. This means that I am heavily dependent on the original author (with whom I am no longer friends), or the "Rimworld" Mod Market Discord chat room (my poor wallet).

Would it be possible that I could submit the C-Sharp code to the Community Frame Work for all future maintenance and update purposes? I have permission to do so and the code is already complete.