Oxygen Not Included

Oxygen Not Included

十分な評価がありません
[Vanilla + DLC] Diet Variety
   
アワード
お気に入り
お気に入り
お気に入りから削除
Compatibility: Base Game, Spaced Out!
ファイルサイズ
投稿日
更新日
1.854 MB
4月30日 2時34分
5月31日 7時13分
2 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
[Vanilla + DLC] Diet Variety

解説
Introduction
Duplicants will enrich their diet and will avoid meals they ate recently. For each unique meal eaten recently, they will get morale bonus. However, this comes with expectation to provide enugh unique food types to them - failing to do so will result in negative morale.

Settings
Use settings file or in-game options to adjust the mod to your playstyle, making it easier or more challenging:
- MinFoodTypesRequired - duplicants will need that many unique meals to satisfy their expectations. Everything lower will result in negative morale.
- MaxMealsCounted - duplicants will remember only that many past meals.
- MoralePerFoodType - each unique meal grants that much morale.

GitHub
If the mod crashes your game, please open an issue on my GitHub and provide logs from the game so I could search for the source of the problem. You can also use it for local download and to access source files. You can find it here[github.com]

PLib
This mod uses PLib library by Peter Han to create in-game Option menus.
It is available under the MIT License and you can find it here[github.com]
Great thanks for helping modding community with this library!
13 件のコメント
asurendra 6月7日 0時32分 
That just brilliant! No longer barbeque-only colonies...
pether.pg  [作成者] 5月31日 7時20分 
released fixed version, thanks @turtledactyl
pether.pg  [作成者] 5月30日 13時22分 
Thanks, I might have do some math error while I was cleaning the code, I must check it and test. Thanks for pointing that out
turtledactyl 5月29日 14時55分 
this is a GREAT idea. But looking at the code I'm a bit confused by the pathing / dupes-seeking-variety logic. This might be just because I'm not familiar with the ONI code. Nonetheless

When a dupe is looking for food, you're adding a "lack of variety penalty" to his pathing logic if this food type has been eaten recently. So far so good. But this penalty seems to scale with the time since this food type was last eaten? In other words, a dupe is less likely to eat a food type the longer it's been since he's eaten it, so long as he's eaten it already within the MaxMealsCounted. That's weird, right?

I'm gonna give this a spin anyway. Might experiment with the PreferencePenaltyForEatenTypes setting; I'm curious how this variety logic will interact with (overshadow?) the regular food quality logic, since the morale diff is pretty small compared to quality-related morale. If this works it could make the food metagame a lot more interesting, I think.
pether.pg  [作成者] 5月10日 1時42分 
OMG, yes! My playtest didn't reach space age, even early one, but true, longer travels would have this kind of effect
Spotty 5月9日 11時30分 
My favorite effect of this mod is for dupes that go on space travel where the large bonus at the start can give way to a painful negative as they miss the comforts of home.
Ace Pneuma 5月4日 7時12分 
I like this mod :D Seems pretty realistic and it adds an element of difficulty as well. You could also make it so that higher tier foods can be eaten more times before they give negative morale and lower tier foods can be eaten less times for the same amount of negative morale. You could also make dupes vomit after eating the same food too many times. I feel like this should be implemented into the base game.
Thirteen 5月3日 0時53分 
PETHER FOOD MOD PETHER FOOD MOD! Screaming shaking yippie WAHoo bounce off walls rattles table balloons confetti sobs yodels backflips into a split UEUEUEUE!
thank you for your service yet again
Scisher 5月2日 19時17分 
Personally, the third straight meal wood dinner... I'd be going STRAIGHT INTO a stress reaction (or maybe multiple) :meepmad::meepded::steamsalty:
pether.pg  [作成者] 5月2日 1時45分 
I'm a big fan of mealwood, I'm not doing that :P It feels a bit extreme ;p