RimWorld

RimWorld

TablesAreForMeals
20 Comments
Kayedon 3 Sep, 2021 @ 1:43pm 
Forked, modified, and updated to 1.3: https://steamproxy.net/sharedfiles/filedetails/?id=2592649967

Will remove at Cozar's request.
Swenthorian 29 Aug, 2021 @ 3:20pm 
I've been running this mod in 1.3 for a hundred hours without errors, so it should be safe to enable; but that said, I haven't tested to see if the mod's core functionality is actually still being performed.
Thundercraft 28 Aug, 2021 @ 5:57pm 
I'm also hoping to see an update for 1.3. Perhaps... some day?

I really want to use this mod. It only makes sense that drinks and raw foods should not incur a debuff to eat without a table. (Lots of people enjoy things like drinks and stuff like berries on the go - e.g., while on a trail, jogging, on a road trip, etc.) I also like the novel approach of how the mood penalty is removed by changing the search radius and then using Harmony patches.
Thundercraft 28 Aug, 2021 @ 5:55pm 
I dislike how Pemmican nutrition was reduced. Compared to even vanilla Pemmican, a Fine meal provides more nutrition, stores more nutrition per stack, & gives a +5 to mood. Also compared to vanilla Pemmican, Packaged survival meals are more efficient in terms of carry weight, are drastically more efficient in storage space, require significantly less work to make, & never expire (while Pemmican eventually will).

I assume Pemmican was nerfed because they no longer need a table, while Survival meals do. Instead, I'd suggest making Survival meals also edible without a table.

Whenever I think of Packaged survival meals, I think of MRE's. Those are truly "Meal Ready to Eat"; They're pre-cooked, making them safe to eat straight from the package - warm or cold. They can be eaten out of the wrappers with the plastic utensils provided. These are often eaten on a campout, on-the-go, or in an emergency. So, if survival meals are anything like MRE's, I'd say the consumer would not need a table.
SucháVoda 30 Jul, 2021 @ 1:51pm 
@Cozar will you update to 1.3?
Cozar  [author] 5 Jan, 2021 @ 8:16am 
Oops
Kayedon 4 Jan, 2021 @ 9:19pm 
Might've left some logging turned on? New version absolutely floods the log with "trying to give pack job to " and then "looking for food to pack". Dunno if this is intentional.

But I also sincerely appreciate the performance boost! Noticeable!
Cozar  [author] 4 Jan, 2021 @ 6:43pm 
Pretty much anything that I'd be just as happy eating standing up as I would sitting down. That includes fruits, pastries, snacks, cheese, jerky, etc... This mod included fluids, but the new mod doesn't because I realized that even if it is common to stand around drinking, I much prefer to have a table to set my drink on.

Hot dogs I would make tableless, but sausages I didn't because I think of them more like a bratwurst plate.
Kayedon 4 Jan, 2021 @ 6:08pm 
Oh cool! And you made it incredibly modular, awesome. :D

What's your guideline and method on choosing if a food should count? In my head, cheeses and sausage shouldn't require a table, and a simple xpath on my end could account for that. Seriously excellent work with your mods!

Cozar  [author] 4 Jan, 2021 @ 3:45pm 
Also, a slightly improved version has been incorporated into Variety Matters Dinner Time .The improvements aren't worth using that mod if you don't like any of the other features, however.
Cozar  [author] 4 Jan, 2021 @ 3:40pm 
@Kayedon - Wow, that was pretty bad. Fortunately, I have a much better understanding of both Rimworld and Harmony. I've uploaded an update that should all but eliminate the performance impact.
Kayedon 3 Jan, 2021 @ 1:16pm 
Hi Cozar! Love the mod, honestly should be default behaviour.

I'm unfamiliar with Harmony myself, but is there a way on your end to optimize a bit? The Postfix_FoodOptimality has a not-insignificant impact on performance, see screenshot.

https://i.imgur.com/UER4rGQ.png
Rovalen 27 Sep, 2020 @ 2:03am 
@Cozar Alright then, will just load this last. Thanks for help!
Cozar  [author] 26 Sep, 2020 @ 4:50pm 
@Rovalen Whoops, I looked in Eating Thoughts instead of Misc thoughts. Whichever you load last should control the thought. Load this last and you'll have foods that don't need tables and the enhanced penalty for foods that do need tables.

Load this first and you will have foods that don't need tables and penalties of -1/-2/-3 for foods that do need tables (but the penalty duration will be so short you'll never see it stack).
Rovalen 26 Sep, 2020 @ 2:53am 
@Cozar actually, it changes the penalty to flat -1. It's implemented as a patch that looks like

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThoughtDef[defName = "AteWithoutTable"]/stages/li[1]/baseMoodEffect</xpath>
<value>
<baseMoodEffect>-1</baseMoodEffect>
</value>
</Operation>

I'm concerned about that "stages/li[1]" part which can intervene this mod's stages somehow, i guess
Cozar  [author] 25 Sep, 2020 @ 12:38pm 
@Rovalen It doesn't look like Grim Reality changes the ate without a table penalty, so they won't conflict.
Rovalen 25 Sep, 2020 @ 9:33am 
How would the mood penalty interact with SF Grim Reality? Would it be just fine if I place this mod lower in the modlist or there is some wizardry required?
Cozar  [author] 19 Aug, 2020 @ 12:06am 
Updated patching. It should now apply to modded foods with a "Fluid" food type.
Cozar  [author] 16 Aug, 2020 @ 11:08am 
It will only pick up on the PlantFoodRawBase category. If there is a particular mod and particular foods you have in mind, I'd be willing to take a look at it to see if there is a way to add an xpath patch that will catch them.
brucethemoose 15 Aug, 2020 @ 10:43pm 
Tasty!

Does this need patches for other mods, or will it pick up on the categories foods fall into?