RimWorld

RimWorld

1,089 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
895.934 KB
4 Aug, 2021 @ 7:39pm
22 Jul @ 11:49pm
31 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
8 Jul @ 8:58am
1.6
moo
4
11 Jul @ 4:26pm
机械体的能量需求条也发生了变化
C.Delete
1
17 Jun, 2024 @ 7:37am
Possible issue
CrusaderRO
345 Comments
Zairya 23 Jul @ 12:23am 
hurrei \o/
With the raceDef they seemed to revert sometimes (after save relaod I think). I report back if it happens again with your implementation.
AmCh  [author] 23 Jul @ 12:17am 
@Zairya
Should be fixed now with built-in compatibility patch for Dust Bunnies :steamhappy:
AmCh  [author] 22 Jul @ 11:53pm 
模组1.4.1版本已更新创意工坊和 GitHub [github.com]
启动游戏提速~10秒左右,提升兼容性,添加大量新设置(如果启动游戏发现红字,考虑把模组设置文件删掉让它重新加载)
Mod version 1.4.1 has been uploaded to the Workshop and GitHub [github.com]
~10 second improvement to game startup time, better mod compatibility, many more configuration options. (If you see setting-related errors at startup, consider deleting your mod config file and let it regenerate.)
Zairya 18 Jul @ 9:55am 
I hope, you're not both trying to fix it xD
Anyway, the defName is Crows_DustBunnyRace
AmCh  [author] 18 Jul @ 9:06am 
@Zairya
Hahaha that's funny story.
I think I should add the Dust bunny to the default list of excluded races then. It'd probably be easier than asking Crow for a patch.
Zairya 18 Jul @ 2:15am 
Hello AmCh,

I'd like to share a funny story with you:
I'm playing with Crow's dust bunnies. they eat filth when tamed and of course newly tamed animals have no area restrictions. I found out, my pawns tamed a dust bunny around 2 ingame days afterwards and my colony was almost sparkling. The poor dust bunny had a food bar of 1021% still runnig around like a mix of pacman and kurby.
I added them to your exclusion list. thank you for this feature! I also told Crow about this. it's really hilarious^^
AmCh  [author] 18 Jul @ 12:18am 
@Guineatown20806
Glad to hear it helped! Though "disable overflow by gene" need to be enabled in the mod settings and should contain the "Mind Coalescense" gene - it should already be there by default, but check just to make sure and let me know if it isn't showing for some reason.
Guineatown20806 18 Jul @ 12:09am 
I was about to ask if the issue with VE Races Fungoid has been fixed. The Mind Coalescense gene stuff. Then I read the compatibility patches. Thank you a lot for fixing this. The error spam and social interaction screen on Fungoid Pawns being bugged was a nightmare on 1.5.
AmCh  [author] 17 Jul @ 5:27pm 
模组 v1.3.5 版本已经更新至 创意工坊 和 GitHub [github.com]
Mod version v1.3.5 has been uploaded to both Steam Workshop and GitHub [github.com]
修复了上文@D 提到的问题。
Fixed issued noted by @D
AmCh  [author] 17 Jul @ 7:32am 
@D I will upload a fixed version in a few hours!
This error only appears once per game and doesn't affect anything other than the visual(placement) of the tick mark.
---
现有版本心情/美观等有那个趋势标号的需求条在溢出时可能报错,但每次启动游戏只会报一次,除了标号绘制外观/位置之外没有别的影响。
我几小时后更新一下修复。