RimWorld

RimWorld

Optimization: Meats - C# Edition
361 Comments
Radiosity 22 Jun @ 5:58am 
It was a fairly lightweight pack by my usual standards, though. Mostly trading focused with my foundation QoL mods (the usuals like Allow Tool etc). VE trading, auction house, some of the VE farming/plants type mods. It was intended to be a fairly sedate 'produce large batch orders for VE trading' style run, nothing big or complex.
Radiosity 22 Jun @ 5:56am 
Can't, those screenshots are the only thing left of that run, since it was broken to the point of being unplayable. Using a different modpack now ;_;
Witch ~ 22 Jun @ 5:53am 
Post modlist
Radiosity 22 Jun @ 5:50am 
If I'd have been playing SoS2 that would have been quite the windfall, not gonna lie. Here's how trade requests look when the game can't work out wealth:

https://imgur.com/a/fxQlXw1

A single piece of plasteel. Yep.
Witch ~ 22 Jun @ 5:43am 
Thats only halfway enough advanced component to be set for life
Radiosity 22 Jun @ 5:34am 
Here's a fun example of what happens when something breaks the wealth graph:

https://imgur.com/a/MMukW4W
Witch ~ 22 Jun @ 5:34am 
Damn that bad?
Radiosity 22 Jun @ 5:29am 
It's a shame because I love the mod and want to continue using it, but a broken wealth graph breaks everything else. I'm getting trade requests for a single piece of plasteel, 10000 point raids on day 3, and all kinds of other weirdness because the game can't calculate them correctly due to the NaN value. It either thinks I have infinite wealth or none at all, heh.
Vertigo 21 Jun @ 8:58pm 
Does not surprise me that there is an issue with the raw meat. It is like it is using a hidden def or something. I've tried multiple times to make modifications that will apply to it, yet failed each time. (Most common is attempting to change stack size)
Radiosity 19 Jun @ 1:34pm 
So apparently this mod has a serious issue where raw meat's value isn't correctly calculated somehow, and it breaks the wealth graph. Took a while to track down because all I knew was that some item somewhere was causing a NaN value and breaking everything.

After slowly dev mode destroying groups of items to narrow it down, I confirmed it's the raw meat. As soon as that's destroyed, the wealth graph begins working properly again. No idea why this might be happening, but I'm 100% certain it's the raw meat doing it.
t0m4s1t0 13 Jun @ 9:28pm 
One of the goated mods
SeoHyeon  [author] 11 Jun @ 8:25pm 
Updated for 1.6
- Nothing changed just recompiled
nako 8 Jun @ 4:12am 
@zeress Read the description.
Lord Asshat 30 May @ 8:04pm 
Would it be possible to have an option that's like:
- Meat
- Poultry
- Human meat
- Insect meat?
I love the way this mod works, but I think it would be nice to have a sorta extra category, effectively having the difference between red meat and white meat
Zeress 4 May @ 10:08am 
How does this treat meat of venerated animals? As this can change even mid game i figure it can't adapt for that (and that's ok if so) just want to know if I need to be vigilant on my butchering tasks instead.

That would be the one fringe case where 'non-icky' meat matters.
Witch ~ 27 Mar @ 2:29pm 
A lot. Luke roughly 5tps or more. However I was also using a lot of custom mob mods
Amroth 27 Mar @ 5:25am 
@Witch can you elaborate how much impact it actually had?
Witch ~ 8 Feb @ 1:04pm 
Insane what a performance impact meat was before this mod
SeoHyeon  [author] 8 Feb @ 7:09am 
@weregamer
In the early days, this mod had an optional feature to merge VFE's fish into one. However, due to bugs caused by an incomplete implementation, I eventually decided to remove that feature.

Looking at this issue again with my improved coding skills, I believe that merging VFE's fish can be accomplished with a simple XML Patch. You can refer to the XML version of the Optimizations: Meat mod( https://sp.zhabite.com/sharedfiles/filedetails/?id=2193772059 ) for an example of how this can be done.
weregamer 23 Jan @ 8:51am 
This mod is on my "indispensible" list, thanks for writing it!

The author of Vanilla Fishing Expanded was categorically hostile to the idea of supporting this. I suspect he gets so many requests that he didn't even look at what it would take.

I am not entirely averse to writing a sub-mod in terms of writing some XML, but I've not done a RW mod before and my time is limited.

Also, your examples both show how to make a meat not optimize. What I want is either for all the varieties of "raw fish" to be merged into one, or just turned into "raw meat". This doesn't happen automatically, probably because he added a new category for "raw fish" under "meats". It may be the case that he did so much C# to add his fish that this can't be done with simple XML.

Do you have any words of guidance, or maybe some time to investigate this yourself?
Professional Pro 17 Jan @ 3:49pm 
Any chance to fix it so it's possible to venerate cow without going full vegan?
TehJustOne 18 Dec, 2024 @ 7:26pm 
I tried adding this to my modlist but I can no longer use the raw meat to cook any dishes.
I'm unsure why it happens.
Witch 14 Dec, 2024 @ 11:17pm 
Does this help with the TPS at all?
모르는사람 9 Dec, 2024 @ 1:19am 
이 모드 오래전부터 썼는데 예전부터 상인이 고기를 안팔게 되는 문제가 생기는거같아요
Nonno Smeraldo 8 Sep, 2024 @ 5:39am 
for some reason adding this mod to a modded playthrough deletes all the ores in the map
yes.elevens 1 Sep, 2024 @ 11:31am 
would this work with anomaly twisted meet perchance
Tae 26 Aug, 2024 @ 9:31pm 
does this mess up the debug menu? i can't get it to appear with this mod on...
Funnypig 14 Jul, 2024 @ 3:42pm 
PS: @SeoHyeon Might be worth adding a check for the Pigskin mod, and if found, it makes an exception for Pig meat automagically.
Funnypig 14 Jul, 2024 @ 3:41pm 
@PlinkPinko
You can also just make an exception via the mod's options to Pig meat specifically. Just set it to "Vanilla", reload your game, and you should be fine. I had the same issue
Deggial 30 Jun, 2024 @ 11:39pm 
@Олег Мерк: Royal poultry will get its own category and won't be unified with "standard"meat. (Same for toxic, human and some other meat,)
Not sure, if I've set this in the mod options or if it works right fromm the get go.
Working it does, though.
SeoHyeon  [author] 8 Jun, 2024 @ 5:40am 
@Reddie
That's been removed since a bunch of bug reports and dirty code. I want to re-make that but I'm too busy to develop now due to my college.

@PlinkPinko
Removing this mod from mid-save may cause the hash collision error. But with 'Mid-Saver Saver' by Owlchemist (not supported for 1.4 but I saw that someone made fork for 1.5), you can. try using 'Fix hash collision' in their mod settings.
And that issue probably may not our fault, But I can't be sure. if you having any red errors plz report me
PinkPlinko 5 Jun, 2024 @ 4:50pm 
Howdy, I know how this question sounds, but is this mod safe to remove mid-save? I recently picked up some pig people and having them complain about cannibalism from eating Rice is bothering me.
If this mod *isnt* the reason why that's even happening, I apologize, but it's the only mod on my list that makes me think that.
Reddie 2 Jun, 2024 @ 1:28am 
If I remember correctly, it used to have optimization for fish, but I can't find it anywhere, what happened?
SeoHyeon  [author] 12 May, 2024 @ 10:32pm 
@Олег Мерк
What is 'royale polutry'? From VAE? 🤔 I have no idea..
Олег Мерк 9 May, 2024 @ 1:37pm 
With new customisation feature will I be able to butcher animals for royal polutry from royal animals? Also big thanks for that feature, now I can butcher pigskins for their delicious pork :p
SeoHyeon  [author] 28 Apr, 2024 @ 7:00am 
== minor update ==
- added a warning message when you load an existing save that doesn't loaded this mod.
Shackleberry 19 Apr, 2024 @ 9:20am 
@SeoHyeon no apology needed, I should have read the description.
SeoHyeon  [author] 19 Apr, 2024 @ 4:59am 
@Shackleberry
Maybe I should add a feature to show a warning message when an existing save is loaded. I'm sorry for the inconvenience
Shackleberry 16 Apr, 2024 @ 1:29pm 
Looks like there is this comment from the author earlier where someone else reported the issue. I'd used this mod a lot in the past without issue so hadn't read the description properly. More fool me!

Author's comment:

After the latest update(August of last year), this mod is not mid-game compatible now.
But, you can solve this problem with Mid-saver Saver.
↓ Mod description
[h1]Save game compatible?[/h1]
- Basically adding or removing this mod from mid-save will cause hash collision error.
But you can use Mid-saver Saver for the hash collision error! Try use 'Fix hash collision' method.

And adding more explanation for it,
1. Load Mid-saver Saver only and load your existing save. and Turn on the 'Fix has collision' and save the save and exit the game.
2. Unload Mid-saver Saver and Load this mod and load the save.
Shackleberry 16 Apr, 2024 @ 1:21pm 
@kezza596 having the same issue, couldn't figure our what mod caused it and then saw your comment.

Are you using one of the vehicle mods by any chance? They show up in this mod's options and I assume they "butcher" into steel so the mod ends up processing that somehow?

A guess but extremely frustrating... Has basically bricked two colonies in a row since I didn't notice the issue until quite a bit later.
kezza596 14 Apr, 2024 @ 1:27pm 
I have no idea how or why, but this mod deletes all compacted steel nodes on map, and stops them spawning on new maps. NO idea how, but it's consistent. I've gone through and subbed my mods one by one and it's this one that causes it every time.
SeoHyeon  [author] 14 Apr, 2024 @ 12:54am 
@Curry
초록색 Code 버튼 클릭 -> Download ZIP 해주세요
Vanquisher 13 Apr, 2024 @ 8:04pm 
One of the best mods in the entire game, thanks for keeping it updated all these years!
Curry 12 Apr, 2024 @ 9:32pm 
깃허브에도 부탁드려요.
SeoHyeon  [author] 12 Apr, 2024 @ 8:03pm 
Anomaly compatibility confirmed.
twist meat from Anomaly will not be merged into raw meat.
SeoHyeon  [author] 29 Mar, 2024 @ 6:50pm 
@General Shyguy
raw meat(cow meat) is never touched by this mod. because, Meat_Cow, Meat_Human, Meat_Megaspider are ignored in the merge operation.
you may manually remove by Cherry Picker in some reasons, or maybe conflict with other mods which I didn't know, otherwise I have no idea according to my source code. As a result, I need more information about it, for example mod list, log file etc..
General Shyguy 26 Mar, 2024 @ 6:04pm 
Having the same Issue as Art Student from the previous page, Raw Meat seems to have been removed from any lists.
SeoHyeon  [author] 16 Mar, 2024 @ 1:17am 
== Update ==
- added a configure option both 1.4 and 1.5
.Axel. 14 Mar, 2024 @ 5:42am 
Thank you so much for the quick update! :steamhappy::steamthumbsup:
Dizzy Ioeuy 13 Mar, 2024 @ 6:10pm 
Oh fucking THANK YOU FOR DOING THIS MOD SO QUICKLY!

I shouted, but it's because I wuv you