RimWorld
Simple Food Selection
59 comentarii
LamHK 10 mai 2022 la 5:51 
This seems not compatible with Hospitality
Turambar 2 ian. 2022 la 4:58 
Very promising mod! Does it work with Variety Matters Improved?
Narlindir 12 nov. 2021 la 15:08 
@Lurmey "animal logic", "animal control" and or "Assign Animal Food" are probaly a better choice for that

this mod has huge potential but is buggy for me
Lurmey 12 nov. 2021 la 7:34 
Will this stop my dog from preferring to hunt caribou over eating the kibble I have easily accessible to him??
Narlindir 7 nov. 2021 la 11:16 
My animals keep eating food until its empty
full need bar
(If you need an error log or my mod list let me know)
AndHobbes  [autor] 19 oct. 2021 la 11:18 
Updated for v1.3 but I don't have time to do much playtesting. If anyone has any fixes, it's easiest if you fork via github and submit a pull request: https://github.com/calvin-fisher/RimWorld-SimpleFoodSelection/pulls
The Bard of Hearts 3 iun. 2021 la 1:59 
An update to 1.2 would be awesome. maybe @Mlie will be our hero once again. :d5_prinny:
Draco Sicarius 2 mart. 2021 la 14:30 
Is this not compatible with Hospitality? Guests don't seem to be eating very often, but the Hospitality author says it isn't from their side.
Draco Sicarius 26 ian. 2021 la 13:11 
I know I'm late to the party, but 1.2 update?
Zuthal 22 aug. 2020 la 9:12 
I tested, and it seems to not work too well on 1.2, at least with CE installed - pawns would refuse to eat anything until they starved
LanceMan 21 aug. 2020 la 13:59 
any update for 1.2?
An actual duck 31 mai 2020 la 21:16 
Sorry I mean smarter food selection, if you select a nutrient paste dispenser with that mod you have the option of dispensing paste in large quantities. I can't find a mod that lets me do that outside smarter food selection and wasn't sure if you maybe would consider adding in to this one
AndHobbes  [autor] 31 mai 2020 la 19:54 
@duck I don't know what mod you're talking about, but a standalone mod that just lets you make nutrient paste meals shouldn't have any conflicts.
AndHobbes  [autor] 31 mai 2020 la 19:54 
@oz human pawns should wait a little longer before eating raw food (almost starving instead of slightly hungry)
An actual duck 31 mai 2020 la 8:42 
Any chance you'd consider adding the nutrient paste dispensing from his mod to this one? I really liked being able to easily squirt a bunch out to keep in the prison in a fridge. Or if someone can point me to a stand alone mod for this I'd appreciate it, I looked but didn't find anything.
oz 28 mai 2020 la 9:23 
Does this mod solve the issue where hungry pawns eat raw food before the cook has a chance to cook it? It's my greatest annoyance with food selection in Vanilla, I need my pawns to be a little more patient
uotalkie 19 apr. 2020 la 12:07 
This mod works okay while WM Smarter food selection mod doesn't. (ver 1.1)
However, there is a bug (not sure bug from this mod or conflict with others) that sometimes pawns don't eat correct food and starves. Force them to eat temporarily resolves this issue, but it happens after a while.
MarikiNeko 31 mart. 2020 la 4:50 
Can I make the pawns eat random food?
I use the mode of adding food, but pawns ignores the added food by eating only the best food.
so I want pawns eat random food even they can't get good buff in best food. :(
AndHobbes  [autor] 8 mart. 2020 la 8:17 
The latest version should prioritize thrumbos eating trees, and fix wild plants being categorized as grass
Cpt. J. Harkness 5 mart. 2020 la 22:04 
Hey AndHobbes, I think you mod may be preventing tamed thrumbos from eating trees, is this intentional and on your next update can you put in a mod option to turn tree eating on/off?
Asteyr 3 mart. 2020 la 15:59 
Had to remove this due to massive stutter. I *suspect* this is due to me using the prisoner restraint mod, since I noticed that all prisoner got mass-fed at once after uninstalling this. But its just a hunch. I might be completely wrong.
AndHobbes  [autor] 1 mart. 2020 la 6:36 
Just uploaded a 1.1 compatible version. It includes a performance improvement that @flyfire2002 found

The latest version breaks compatibility with 1.0. If you need to keep using this mod with 1.0, you can compile the last compatible version, which also includes the performance improvement in case it solves the problem people were having:
https://github.com/calvin-fisher/RimWorld-SimpleFoodSelection/releases/tag/1.0
flyfire2002 28 febr. 2020 la 8:06 
PR sent! Thanks, Calvin!
AndHobbes  [autor] 28 febr. 2020 la 6:28 
I was never able to reproduce the performance issue so I don't know what might be causing it. If you can figure it out, please submit a pull request!
flyfire2002 25 febr. 2020 la 15:38 
Hi Calvin, do you mind if I fork this project? I had a very good feeling for the mod, and I really wish to revive it (and solve the performance issue). Please message me to let me know what you think, thanks!
dasclay 7 nov. 2019 la 1:46 
I was running well for a while with no problems. started a game with tribe, and got a performance hit, on a decent system :/
So glad its no just me.
So a removal of the mod and reinstalling, does it help or is not working
Rostropovich 5 nov. 2019 la 13:42 
Same boat here, unfortunately. Started a new map with 6 colonists, and had constant stuttering at speed 3. Uninstalling just this mod fixed the performance issues.

I have a giant slew of other mods also going, so it may be a compatibility issue.
Marasmusine 29 oct. 2019 la 16:25 
Sorry AndHobbes, nothing unusual, fairly early map with 6 colonists. I might try again with a fresh play.
Precious Pomeranian 28 oct. 2019 la 21:34 
Yep, performance hit here as well.
AndHobbes  [autor] 21 oct. 2019 la 12:22 
@Marasmusine can you think of anything unusual about the map you're playing on? Maybe a lot of starving wildlife?

I tested performance pretty extensively, and the only problem I encountered was when I had a lot of pawns who couldn't couldn't reach any food, but began looking repeatedly because they were starving.
Marasmusine 16 oct. 2019 la 15:24 
Unfortunately this gave me a hefty performance hit.:CapitalDome:
flyfire2002 7 oct. 2019 la 18:59 
It's working now! Thanks a lot Hobbes!
AndHobbes  [autor] 30 sept. 2019 la 6:19 
@flyfire2002 I haven't had time to fully test, but your canUseInventory fix seems good. I'll upload a version with that change.
avil 27 sept. 2019 la 1:53 
Alright, I confirm that problem is that mod ignores canUseInventory flag. My pawn tried to take into inventory a thing that already was in inventory, and it caused him to get stuck in loop.
flyfire2002 23 sept. 2019 la 13:32 
Hi Hobbes, any progress on fixing the create jobs 10 times per ticks issue?
Sentient_Worm 11 sept. 2019 la 10:52 
Will this stop my pawns from feeding human corpses to pawns who are injured?
flyfire2002 31 aug. 2019 la 21:21 
Today I went ahead and loaded only HugsLib and this mod and the 10-jobs-created problem still exists, so I think canUseInventory not being used is causing the problem indeed.
AndHobbes  [autor] 28 aug. 2019 la 6:34 
It looks like Room Food is probably incompatible. Both mods patch the same method, but it has special logic to work with Smarter Food Selection.
flyfire2002 25 aug. 2019 la 20:20 
Found another suspect, this time in your code. Disclaimer, not C# guru, not even wrote a lot of it.

You had defined canUseInventory for the search param. It is no longer used since this commit [github.com]. It seems that it is used to prevent searching the inventory for food when set to false, which is happening in BestFoodSourceOnMap. Your current code doesn't have that (in fact GetColonistGroups() in FoodSearchGroups first return the inventory items regardless of canUseInventory). I assume inventory item is returned as suitable food source.

Now in Core implementation TakeFoodForAnimalInteractJob, a TakeInventory job is constructed and returned if there is suitable food source (in this case, probably the inventory food). God knows what happens in running that job, and it is worth investigating.
flyfire2002 24 aug. 2019 la 0:02 
OK more details. The games trips if the handler has some food for training in their inventory but not enough (say 3 rice), then the attempt to get more food causes trouble. If I manually make'em drop what they already have, it clears up and the pawn proceed to grab food without issue. Even if no food is available (e.g. forbidden), the attempt still causes trouble
flyfire2002 23 aug. 2019 la 23:52 
Same issue as Mistletoe The Bard, here is a modlist: https://drive.google.com/file/d/1f4WicpRIty1YgG_jARcqNgJn2KZris6N/view?usp=sharing . Log file at https://gist.github.com/HugsLibRecordKeeper/b312a73dd047a0fed4573899391a0505 . The error is triggered when a pawn wishes to pick up items to train animals (didn't test if taming has the same problem); the game stopped tripping as soon as I cancelled all training. My suspect is Hard Working Animals, RPG Inventory CE Standalone, Allow tool, Giddy up, or CE, ranked.
Nominal 21 aug. 2019 la 23:58 
Smarter Food Selection was lagging my game to death. Found this mod to replace it. (I shale never go back to my cows eating my lavish meals every minute and my people eating 70 raw meat each instead of cooking it to make 7 full meals) Its almost despicable that its not base game. Anyways thank you very much for the mod. it is very needed
Mistletoe The Bard 19 aug. 2019 la 21:48 
I am guessing it has to do with Room Food. By sending a mod list do you mean by making a list in steam software then send the url to you?
AndHobbes  [autor] 19 aug. 2019 la 11:12 
If you are seeing any errors in the log, please send me your mod list. It's most likely an interaction with another mod that I don't have installed.
Mistletoe The Bard 19 aug. 2019 la 2:00 
Hey, the mod seems to be producing the 10 ticks selecting items errors.
AndHobbes  [autor] 17 aug. 2019 la 17:33 
Just updated with logic to avoid reservation failures. I don't know if this is the same conflict, but let me know if it pops up again.
AndHobbes  [autor] 14 aug. 2019 la 8:32 
@TheBlueLeafeon I've seen that bug before, but it went away on its own, probably after some other mod updated. If you message me your mod list I can see what you have that I don't. (Working fine for me with Animals Logic.)
AndHobbes  [autor] 14 aug. 2019 la 8:30 
Just pushed a fix for the bug where pawns were not eating items from their inventory