边缘世界 RimWorld

边缘世界 RimWorld

683 个评价
EBSG Framework
3
4
2
2
2
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.4, 1.5, 1.6
文件大小
发表于
更新日期
2.480 MB
2023 年 12 月 12 日 下午 12:34
9 月 27 日 上午 6:05
134 项改动说明 ( 查看 )

订阅以下载
EBSG Framework

在 Alite 的 2 个合集中
Alite's Gene Mods
13 件物品
Expanded Biotech Style Genes
26 件物品
描述




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.


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 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]
热门讨论 查看全部(5)
2
8 月 26 日 下午 4:45
Seasonal trait error
Alleyballey
3
9 月 8 日 下午 12:49
置顶: Share your mods here
Alite
307 条留言
Alite  [作者] 9 月 27 日 上午 6:12 
This latest update contained a change that will require xml changes for anyone using the Murderous need stuff. I updated its fallPerDay code so it's more in line with normal NeedDef stuff, and to update your mod, you will need to move the fallPerDay from the extension to the main NeedDef, or add <fallPerDay>0.0333</fallPerDay> to your NeedDef if you were using the default fall rate
Leutian Kane 9 月 8 日 下午 4:13 
TYVM for adding to the changenotes tab :D
Alleyballey 9 月 8 日 下午 1:07 
Ah, fair enough then!
Alite  [作者] 9 月 8 日 下午 12:24 
Not that I'm aware of. Due to how they set up the lovin interval, there isn't any vanilla stat to assign the affecter, and I'm hesitant to add one of my own because I don't know how well that would really work with anything else the references or changes that function
Alleyballey 9 月 8 日 上午 6:13 
I know its possible to change the libido of a pawn with a gene, but is it possible to make the libido tied to one of the conditional affecters?
Leutian Kane 9 月 7 日 上午 6:24 
just kind of a heads up, while i appreciate the fact there is a wiki maintained for this project a LOT of us would rather see short bullet points on the changenotes tab to keep up with updates instead of having to navigate away from steam just to see patch notes.
Slickback724 9 月 6 日 下午 3:34 
@Lored Your saying; "You're Rimworld Jesus!"... is like, one of the nicest things you can say to someone.
Lored 9 月 3 日 下午 7:22 
@Alite Just checked out my mod dev build, everything works wonderfully.
You're Rimworld Jesus!
Alite  [作者] 9 月 3 日 下午 4:49 
Thank you for letting me know about the wiki thing, it should be up to date now.

Related to the random severity thing, a minor update has been uploaded:
- Give Multiple Hediffs and Hediffs on Removal have the option to use a severity range instead of a singular value for their severity. If the value picked is at or below 0, then that hediff is usually skipped
- Create Other Hediffs can now use ranges for the initial and per day severities. If the initial severity is zero or lower, the hediff is skipped. Severity per day checks a new severityCondition node which which has the options of None (the default which doesn't do any checks), Positive (severity must be above 0 to take effect, and Negative (must be below 0)
- Give Other Hediffs Periodically also gained severityCondition and its severity can be a range
- Fixed a bug where equip restrict checked the wrong list when checking requireOneOfGenesToEquip. Technically not related, but who's keeping track
Lored 9 月 3 日 上午 7:17 
Hey, it’s me again! I was digging around your wiki and noticed something missing - on the "DRG on Kill" page there’s no mention of allowMechanoids , even though it’s there in the code and works just fine. Also, I tried using EBSG Framework to hand out random Hediffs, but no luck. So I thought I’d toss you an idea: maybe in "Give Other Hediff Periodically" you could add support for not just a static severity, but something like a severityRange (e.g. 0.1~1). Would be super useful!