RimWorld

RimWorld

Simple Food Selection [1.3-1.6 Fork]
36 Comments
flyfire2002  [author] 2 Jul @ 11:19am 
Both done
flyfire2002  [author] 30 Jun @ 5:51pm 
Update plan:
* I'll update this mod to 1.6 some time before 1.6 officially comes out.
* I have noticed over a year that they seems to be a bug for pack animals where in local maps they would attempt eating food from the inventory, causing them to standing freeze. I want to fix this bug sometime before August.
flyfire2002  [author] 21 Jul, 2022 @ 11:24pm 
有别的几个食物选择的mod不知道他们有没有加入这种功能,技术上大概就是选吃的时候先判断是否已有buff来调整奢侈食物的优先级
Cic17 21 Jul, 2022 @ 1:10am 
我想一天吃一顿奢侈食物拿buff但是第二顿不吃(比如说吃巧克力),有办法做到么?我其实希望有mod能让食物像drug一样可调
xichi 14 Jun, 2022 @ 10:16pm 
嗯嗯,表示已经暂时拒绝访客了,因为我有种子mod,动物天天嗑瓜子(种子)差点饿死,原版似乎不能避免,所以这个fork版本帮大忙了2333

非常好作品,英雄联盟,爱来自中国!❤
flyfire2002  [author] 14 Jun, 2022 @ 9:14pm 
很有可能。不过我声明了我并没有时间精力解决这个模组的兼容性问题,很不好意思= =
xichi 13 Jun, 2022 @ 11:26pm 
可能和访客模组不兼容:访客会显示没有食物可以吃,尽管身上有食物,购物区有食物而且已经设置了“当访客没有钱时可以直接取食物”。(似乎原mod也有这个问题,评论区有人提到)
Narlindir 13 Nov, 2021 @ 10:36am 
and this fork is nice too
flyfire2002  [author] 13 Nov, 2021 @ 5:10am 
thx
Narlindir 12 Nov, 2021 @ 3:09pm 
Love the fork
lol
flyfire2002  [author] 6 Oct, 2021 @ 11:44am 
Sorry, the what? AFAICT the original mod didn't set out to try to fix any error outside of this mod, nor does this one.
The Bard of Hearts 4 Oct, 2021 @ 1:41pm 
Thanks again! *fist bump*!
flyfire2002  [author] 4 Oct, 2021 @ 12:12pm 
@Kayedon Added a mod setting to change the preference. No reload needed when changing the setting.
flyfire2002  [author] 4 Oct, 2021 @ 12:11pm 
No problem folks.
The Bard of Hearts 3 Oct, 2021 @ 7:35pm 
Thanks for picking this up
Schadenfreude 3 Oct, 2021 @ 5:42pm 
@flyfire2002
Cheers
flyfire2002  [author] 3 Oct, 2021 @ 4:29pm 
Didn't test with animal specifically but they share the same pathfinding code as human anyway afaict
flyfire2002  [author] 3 Oct, 2021 @ 4:21pm 
@Schadenfreude Yeah I think it is the code's pathfinding mode using OnCell (which I assume do not work with an Impassable building which the shelf technically is) instead of Touch. Fix will be out in 5 minutes
Schadenfreude 3 Oct, 2021 @ 4:20pm 
@Flyfire2002
As far as I can tell you can't force pawns to take from the shelves, they do eat and take objects out of there, through automation, without a problem.
flyfire2002  [author] 3 Oct, 2021 @ 3:55pm 
@Schadenfreude It seems that lots of operation (taking med, force consume, etc.) are having trouble with the Inwall Shelf; taking a deeper look at how the shelf is implemented.
flyfire2002  [author] 3 Oct, 2021 @ 3:51pm 
@Ali50 Probably OK. I was reading AAF's code and it doesn't stand out to me between the two mods they are changing the same thing (except a BestFoodOnMap function, but it is a small patch that I don't see being problematic). I'd suggest load this mod after AAF, make a copy of your save and then test.
Schadenfreude 3 Oct, 2021 @ 3:36pm 
Seems to be incompatible with the Inwall Shelf mod.
Animals wouldn't wanna eat from it's containers, haven't checked for pawns.
TurtleShroom 3 Oct, 2021 @ 3:23pm 
Okay. Thank you for letting me know.
Ali50 3 Oct, 2021 @ 2:56pm 
@flyfire2002 do you know if this works together with "Assign Animal Food"? Will animals still respect the restrictions set there?
flyfire2002  [author] 3 Oct, 2021 @ 2:09pm 
Took a quick look, VM (or at least the newer version of VM) changes a FoodOptimality function to make Pawns look for variable food. SFS bypasses that function entirely, so my bet is on "No", VM will not work as expected; your pawns will not seek out variable food.
flyfire2002  [author] 3 Oct, 2021 @ 2:00pm 
Didn't test it. Could go either way, depends on if VM changes how Pawns choose food to grab (prioritize variety, for example)
TurtleShroom 3 Oct, 2021 @ 9:44am 
Does this Mod work with the Variety Matters Mod?
flyfire2002  [author] 3 Oct, 2021 @ 9:24am 
OK I'll consider it. I think Vanilla usually just look at a short range and I'm not sure how it prioritizes different food in range. Personally I'd disallow Berries if I care, otherwise I try not to stockpile berries.
Kayedon 3 Oct, 2021 @ 8:03am 
The fact that berries have a chance at food poisoning, whereas cooked meals have a significantly lower chance from a skilled cook in a clean kitchen, I'd say "yes.
flyfire2002  [author] 3 Oct, 2021 @ 7:56am 
I checked the code. It seems to be "working as intended", i.e. RawTasty food is perferrable to survival food (pemmican), with or without Deep Storage. Flip flop is most likely due to stack reservation by different pawns (which Deep Storage can either make worse or improve, no idea).

I personally think this preference makes sense, as the berries can go bad much faster than pemmicans. Do you feel strongly about it should be in the opposite order?
Kayedon 3 Oct, 2021 @ 7:44am 
Colonists. They seem to go back and forth - there's like 3,000 pemmican to choose from, but they'll grab a handful of berries, but the next day they'll do pemmican instead of berries.
flyfire2002  [author] 3 Oct, 2021 @ 7:42am 
Prefer Berry over pemmican, Is it for colonists or animal?
Kayedon 3 Oct, 2021 @ 6:42am 
Never heard of this mod before, added it as interested to try it!
flyfire2002  [author] 3 Oct, 2021 @ 6:24am 
Could be compatibility problem with Deep Storage*
flyfire2002  [author] 3 Oct, 2021 @ 6:23am 
Hmmmmm interesting. Could be Deep Storage problem. I've never tested it with Deep Storage. Have you used this mod before (1.1/1.2) with Deep Storage without issue?
Kayedon 3 Oct, 2021 @ 6:19am 
Hmm. I added this to a game, and my pawns now prefer eating raw berries over pemmican, despite them being stored in the same cell (Deep Storage) - but they'll still take pemmican to their inventory.