RimWorld

RimWorld

1,096 betyg
Need Bar Overflow
3
3
8
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Mod, 1.2, 1.3, 1.4, 1.5, 1.6
Filstorlek
Lades upp
Uppdaterades
895.934 KB
4 aug, 2021 @ 19:39
22 jul @ 23:49
31 ändringsnotiser ( visa )

Abonnera för att ladda ner
Need Bar Overflow

Beskrivning
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.
Populära diskussioner Visa alla (3)
19
8 jul @ 8:58
1.6
moo
4
11 jul @ 16:26
机械体的能量需求条也发生了变化
C.Delete
1
17 jun, 2024 @ 7:37
Possible issue
CrusaderRO
349 kommentarer
PriinceShriika 48 minuter sedan 
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 28 jul @ 23:58 
原来是这样设计的,明白了
AmCh  [skapare] 28 jul @ 15:10 
@喵酱official
你好,你好礼貌呀hhhh 多谢你的建议
在这里“饿的越快”的意思是“饮食值下降的速度加快”,不是“吃饱的人反倒比吃不饱的人先饿”的意思。等到吃饱的人饮食值下降到100%以内,他饿的速度也就回到正常人的速度啦。
这个是我出于类似“边际效应”的考量而 故意设置的,假如你100%饮食,12小时后可能掉到20%(下降80%),200%饮食12小时后可能就掉到80%了(下降120%)。后者虽然“饿的更快”,但还是能比前者坚持更久时间不吃东西。
原版游戏也是这样设计的,哪怕不考虑食物溢出,把小人放到快饿死再喂食的话 消耗食物的量会比正常喂食明显更少,也就是“越低饿的越慢,(相对的)越饱饿的越快”。
喵酱official 28 jul @ 4:48 
您好,我调整模组设置时注意到饱食度设计似乎是越高饿的越快,不知道是否有理解错误,如果没有,我认为这可能很奇怪,是否设置成越高饿的越慢比较合理?
Zairya 23 jul @ 0:23 
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  [skapare] 23 jul @ 0:17 
@Zairya
Should be fixed now with built-in compatibility patch for Dust Bunnies :steamhappy:
AmCh  [skapare] 22 jul @ 23:53 
模组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:55 
I hope, you're not both trying to fix it xD
Anyway, the defName is Crows_DustBunnyRace
AmCh  [skapare] 18 jul @ 9:06 
@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:15 
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^^