RimWorld

RimWorld

1,051 ratings
Optimization: Meats - C# Edition
8
4
12
3
7
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
2.396 MB
10 Jul, 2021 @ 4:15am
28 Apr, 2024 @ 6:59am
51 Change Notes ( view )

Subscribe to download
Optimization: Meats - C# Edition

In 1 collection by SeoHyeon
Mods I made
6 items
Description
Save game compatible?
- Basically adding or removing this mod from mid-save will cause hash collision error.
But you can use Mid-saver Saver to fix those error. Try use 'Fix hash collision' method.
Instructions
1. Add Mid-saver Saver in your mods list and load your existing save. Make sure that you don't load this mod yet. then Turn on the 'Fix hash collision' in its mod settings and save the save and exit the game.
2. After that, remove Mid-saver Saver and add this mod and load the save.

This mod was inspired by Optimization: Meats made by Owlchemist.

This mod reduces the meat variety in the game.

So.. Who would want this?
- People who don't care about all animal meat because all animal meat will end up being treated the same.
- People who want to simplify their meat storage situation.
- People who use animal mods, but want to benefit from a slight performance increase. due to fewer defs.


Compatibility
- Most mods are compatible except other meat optimization mods.
- 'Meats that shouldn't be merged' doesn't merge into one automatically! (Aerofleet meat from Alpha Animals for example)
- If you're having problems with the mod, please let me know!


Known Issue
- Ideology DLC: Be careful when you create your own Ideo. If your ideo has venerated animals, Mood debuff: 'Ate venerated animal meat' won't work. Since these meats are merged into one. And if the animal was cow, your pawns will get mood debuff when eat meals consist of raw meat.


Load order
- It really doesn't matter. Auto sort is fine for it!
but I recommended...
Core, Royalty, Ideology
(Other animal, food mods)
This mod
RocketMan

or try to use RimPy!

For Modders
- If you want to add your races or meats to exclude from the optimization, then try to make patch like...
... <match Class="PatchOperationAdd"> <!-- If the race drops the meats below, Then excludes the race from the meat optimization. --> <xpath>/Defs/AlienMeatTest.MeatListDef[defName="WhiteList"]/meats</xpath> <value> <li>Meat_Alien_Moyo</li> </value> </match> ... <match Class="PatchOperationAdd"> <!-- Excludes the races below from the meat optimization. You don't have to make it both.--> <xpath>/Defs/AlienMeatTest.MeatListDef[defName="WhiteList"]/races</xpath> <value> <li>Alien_Anty</li> </value> </match> ...

- This mod has a harmony postfix patch for 'ThingDefGenerator_Meat.ImpliedMeatDefs()'.

Recommended mods
- Optimization: Leathers - C# Edition

Source code
https://github.com/csh1668/OptimizationMeat
Popular Discussions View All (3)
75
11 Jan @ 9:01am
PINNED: Report red error or incompatibility issues in here
SeoHyeon
8
6 Apr, 2024 @ 9:14am
PINNED: Suggestions 모드 아이디어 제안
SeoHyeon
0
16 Jul, 2021 @ 4:42pm
Mid-Save Subscription Possible
Mr. Nekuromu
342 Comments
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?
Automaton Spy 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