RimWorld

RimWorld

1,126 ratings
Need Bar Overflow
3
3
8
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
897.341 KB
Aug 4, 2021 @ 7:39pm
Aug 16 @ 8:11am
34 Change Notes ( view )

Subscribe to download
Need Bar Overflow

Description
Description
Pawn's Need Bars are no longer clamped to 100%.

In a vanilla game, when a pawn eats a full meal, around 10%-20% of the food is wasted due to hunger being capped at 100%; this gets worse if you consider children, modded races with small body size, or small animals. Similarly, if a colonist just woke up and decides to take their daily dose of wake-up or Ya-yo, the effects are just wasted. Dealing with these requires a lot of micromanagement, or avoiding those meals and drugs altogether.

This mod allows food and other need levels to temporarily overflow. Chickens can now digest a whole bush without wasting nutrition. Other mod's large meals (with >1 nutrition) now also makes sense. You can also put your colonists on a regular schedule of Wake-up and know that they will always receive the full +100% rest effect. Your Legendary thrumbofur armchair and golden grand sculpture can also provide the full comfort and beauty benefit they are capable of.

Pawns will still think of 100% as their cap. So they won't actively try to overflow their need bars when it is already nearly full. If they are near 100% on food, they won't start eating (you have to force feed them to further increase nutrition level), and when they reach 100% rest, they will wake up immediately (you have to force them to rest (requires other mods that force rest) or use drugs to further increase rest level), and when they reach 100% recreation, they will stop playing (need force recreation(require other mods)/use drugs to further increase).

简体中文介绍在这

Manual Download & Source Code & Updates
You can find latest & previous versions on GitHub[github.com] (Version 1.3.5[github.com] is the previous stable version, save game compatible but mod settings incompatible (may show errors on roll back unless you manually delete the mod settings file))
Update Notes are here

Supported Needs
Currently supports all base game + DLC needs.
Support all pawns with needs (humans, animals, mechanoids (may need additional configuration), etc.)
However, some needs (Room Size, Slave Suppression, Child Learning, Child Play, Authority, Sadism) currently have no way of overflowing without other mods (I don't know if those mods exist, but if someone makes a "magical learning pill" in the future, it'd probably be supported).

Additional Effects
There are various optional buffs/de-buffs related to each need overflowing. The current version supports:
Food: Hunger drains faster, Heal faster, Move slower, occasional vomit reaction, disallow eating when food level is above some threshold;
Rest: Gets tired faster, sleep less effective;
Recreation: Gets bored faster, recreational activities less effective.

Configuation
Settings are applied as soon as you close the settings window.
By default (configurable) only food, sleep, and recreation needs can overflow, too full on food would slightly reduce movement speed and makes eating slower.
You can disable pawns of some races, with health conditions/genes, or clothing from overflowing the food bar (useful in case of potential soft incompatibilities with race mod / body part mods / gene mods).

Performance
There should be negligible impact on game speed, as most patches take <0.005 milliseconds per game second on average in my tests;
All patches are applied conditionally on game start–features you don't use have 0 impact on the game;
Almost everything outside of game startup/saving/loading is O(1) (in another word, fast) or are tested to be faster than O(1) solutions (such as very short lists, etc).

Compatibilities
The following mods already have built-in compatibility patches:
- RimHUD
- Character Editor
- CM Colored Mood Bar
- Dust Bunnies (Disable food overflow for them)
- WVC - Xenotypes and Genes (Disable food overflow for pawns with active "Dead Stomach" Gene)
- Vanilla Nutrient Paste Expanded (Disable food overflow for pawns fed with nutrient paste dripper)
- Vanilla Races Expanded - Fungoid (Disable mood overflow for pawns with active "Mind Coalescence" Gene)
- Vanilla Faction Expanded - Ancients (Disable food overflow for pawns with the "redundant stomach" power)
- Vanilla Faction Expanded - Empire (Disable rest/recreation overflow for pawns wearing the "techfriar crown" headgear)
It is also possible to write your own custom XML patches to disable need overflow in specific circumstances, see "Patches" directory in mod files.

Potential Mod Incompatibilities for now:
- Alpha Books (There are reports that pawns can't read books but haven't tested yet so I'm not sure)
- I got one report saying that the mod affects HP of items too -- it should not, and I have never seen it happen on anyone else, so it's probably due to another mod.

Compatible with RimWorld 1.2-1.6, as well as all DLCs.
This mod is safe to add/remove mid-save. After you remove the mod and load a save which had the mod active, it may show errors once, but should not happen again after you save-load the savefile again without the mod. Backup is recommended.

RimWorld versions 1.1 and earlier won't be supported due to lack of interest and complicated compatibility support.
It is always possible that some mods expect some needs to be always ≤100% and behave strangely otherwise, let me know if you notice such behavior so I can take a look at it.
UI mods may see overflowing bar visuals, send me a screenshot if you see any so I can fix them.

Load Order
Anywhere after Harmony, the base game, and the DLCs.

Languages
Included: English, Chinese (Simplified, Traditional)
Russian(Русский) translation Patch thanks to kamikadza13

Licenses
All codes are written by me (AmCh), released under GPLv3[www.gnu.org].
I'd appreciate it if you let me know of your redistribution, but it's not required.
Popular Discussions View All (3)
19
Jul 8 @ 8:58am
1.6
moo
4
Jul 11 @ 4:26pm
机械体的能量需求条也发生了变化
C.Delete
1
Jun 17, 2024 @ 7:37am
Possible issue
CrusaderRO
356 Comments
Ogodai Aug 17 @ 5:34pm 
Works perfectly, thank you!
AmCh  [author] Aug 16 @ 8:13am 
Mod is now updated to version 1.4.4.
Should've fixed error noted by @Ogodai
---
模组1.4.4版本已经更新:应该修复了 @Ogodai 发现的问题(没有模组设置文件的时候模组失效)。
---
@Ogodai Sorry that I forgot to check the case when there's no mod settings file... should be fixed now!
Ogodai Aug 15 @ 11:57pm 
@AmCh, the mod no longer seems to function. regardless, thank you for the great mod!
AmCh  [author] Aug 15 @ 7:31pm 
Mod version 1.4.3 is now updated.
Should've fixed error noted by @ZebraRabbit and @Varsia
---
模组1.4.3版本已经更新:应该修复了 @ZebraRabbit 和 @Varsia 发现的问题。
Varsia Aug 15 @ 3:17pm 
For some reason whenever I try to change the configurations all of the needs are changed (I try to change max sleep and it changes it for all values) and I can only either have it enabled for everything or nothing because whenever I try to disable one it disables all of the options
ZebraRabbit Aug 14 @ 2:16am 
请问1.4.2版本为什么在设置里面所有的需求条都变成联动的了,修改饥饿值的溢出量为150%,所有需求条的溢出都会同时变为150。
AmCh  [author] Aug 7 @ 1:52am 
Mod version 1.4.2 is now on GitHub [github.com] and the workshop.
(1) (Hopefully) fixed issue noted by @PriinceShriika ; (2) now enables comfort/recreation/chemical need by default (configurable); (3) Support for "Dubs Performance Analyzer" (you can now see more about the performance of this mod).
---
模组1.4.2版本已经在 GitHub [github.com]和创意工坊更新。
(1) (大概) 修复了 @PriinceShriika 提到的设置无法保存的问题; (2) 默认启用了舒适、美观、成瘾品需求的溢出 (3) 兼容Dubs Performance Analyzer(可以更详细的分析模组性能了).
PriinceShriika Jul 30 @ 1:10pm 
I keep having to open the mod settings, to enable deathrest overflow, and other changed settings. Everytime i load the game it's like the settings revert to default settings, super annoying :/
喵酱official Jul 28 @ 11:58pm 
原来是这样设计的,明白了
AmCh  [author] Jul 28 @ 3:10pm 
@喵酱official
你好,你好礼貌呀hhhh 多谢你的建议
在这里“饿的越快”的意思是“饮食值下降的速度加快”,不是“吃饱的人反倒比吃不饱的人先饿”的意思。等到吃饱的人饮食值下降到100%以内,他饿的速度也就回到正常人的速度啦。
这个是我出于类似“边际效应”的考量而 故意设置的,假如你100%饮食,12小时后可能掉到20%(下降80%),200%饮食12小时后可能就掉到80%了(下降120%)。后者虽然“饿的更快”,但还是能比前者坚持更久时间不吃东西。
原版游戏也是这样设计的,哪怕不考虑食物溢出,把小人放到快饿死再喂食的话 消耗食物的量会比正常喂食明显更少,也就是“越低饿的越慢,(相对的)越饱饿的越快”。