Project Zomboid

Project Zomboid

[B42] Rebalanced Yields: Butchering
32 Comments
unlockk  [author] 12 Oct @ 9:23am 
1.1

Added a function to halve cuts of meat if they are heavier than 0.4 (as a recipe 'Halve Cut of Meat'). Should avoid all of the glitches that are present in the vanilla 'Halve Fillet' for fish.
unlockk  [author] 10 Oct @ 7:24am 
1.0.1

Updated to carry over the B42.12 fix to calculation error in butchering animal, present in previous game versions.
unlockk  [author] 9 Oct @ 11:43am 
@ahoc Ahh, interesting - because in my screenshots I have an example yield from a rabbit, and because this mod has a script to tweak the rabbit meat base values, it should be about -30 hunger for a poor cut.

My guess is either - it's that small glitch that got patched in B42.12 ("Fixed calc error in butchering animal, making animal rotten between 12h & 30h giving more meat." -- the developers patched it, but not fully, as they divided a parameter by 13 instead of 12 and before they patched it, it was divided by 30 -- I will update this mod completely patching it) that I need to carry over, or something else like another mod tweaking the hunger/calories of rabbit meat. Alternatively - rabbits are messed up in this game lmao, they were the hardest to balance and I need to look at them more closely. Thanks for letting me know.
ahoc 9 Oct @ 8:50am 
i gotchu. butchering skill was 4,the rabbit weighted 4.64kg and butchering it gave me 6 poor cuts with 65- hunger on it. 4 averange cuts which gives had 73- hunger and 2 prime cuts which is -82 hunger
unlockk  [author] 9 Oct @ 2:57am 
Oh and what was your butchering skill?
unlockk  [author] 9 Oct @ 2:56am 
@ahoc How much did each piece have in hunger reduction? As a base maximum value, rabbits should give no more than 7 pieces. I think it was an edge case, but I need to make a slight update to the mod to account for a change developers made in B42.12.0 anyway.
ahoc 8 Oct @ 11:39am 
i think you should nerf the yield ammount we get from rabbits because a single 4kg rabbit provided me 12 yields which is enough for about 2 months 😭
galkinzhenia 26 Sep @ 4:21am 
Спасибо. Жду обновление
unlockk  [author] 26 Sep @ 3:52am 
@galkinzhenia
Seems like everything in this mod would work as it should, as the functions were not affected by the B42.12.0 update. With one minor exception of - from changelog - "Fixed calc error in butchering animal, making animal rotten between 12h & 30h giving more meat." - this is actually just one number being changed, I'll give this a quick update when I can.
galkinzhenia 25 Sep @ 11:26pm 
Проверте на совместимость 42.12 все ваши моды. Спасибо
Kiwi girl 14 Sep @ 3:28pm 
good
:bleach:
Bok 13 Sep @ 5:03pm 
Is this overpowered or balanced?
unlockk  [author] 13 Sep @ 3:13am 
@SPAAAHKK♥ ҉
I was thinking of it, but without writing extra lines of code the size of the item that you get is a fraction of the vanilla base item so you'd get like -6 hunger pieces of bacon. With lard it wasn't such an issue as you'd still get 2000 calories of lard per item. I will look at it in the future, because the script had lines of code for "(poor cut)/(average cut)/(prime cut)" it allowed me to make the meat items much larger than vanilla, hence this mod giving you more realistic cuts of meat. Raccoon loot has this code absent, so I intend to balance them instead of making them seem like rodents with small pieces of meat, and I'll give another look at lard and bacon then.

@nekku
Sure, it's Item Details by Bravo and Clean UI by Rocco. I also used More Item Information by FishLord to have more information on the tooltip when you highlight an item.
nekku 13 Sep @ 2:47am 
@unlockk
Hi there, thank you for this mod.
Could you pleases advise if display of calories, etc in the inventory as on your screenshot is a part of some mod?
I recognise better sorting mod from the screenshots, but I don't know which one displays food details in the inventory instead or along with regular tooltip
SPAAAHKK♥ ҉ 12 Sep @ 4:33pm 
Any chance you could add bacon from pigs?
Dester 12 Sep @ 12:27pm 
Thanks for fixing this issue.
Unfortunately the developers made their decisions based on prepackaged meat found in grocery store shelves verses what a butcher can actually produce.
unlockk  [author] 12 Sep @ 2:51am 
@Black_moons
Thank you. Yeah it was ridiculous and I was sort of hesitant to even interact with farming and animals in Build 42 due to how weird the balancing can be. One day you're enjoying the game, making plans, and then something throws you off and you don't want to play the save anymore lmao. Great mods yourself!
unlockk  [author] 12 Sep @ 2:48am 
@LuisGaminG
Yeah it is a shame, but it is what it is, lots of coding quirks that take a long time to test and account for. I hope it gets fixed, seems like a popular mod.

@The Noble Bandit367
For sure! As far as I found out all of the butchering stuff is calculated during the butchering, it doesn't seem to be stored on the animal or anything but animals have some parameters like size, etc.

@chuckleberrypi
Thanks! Yeah I tried to make it feel as un-modded as possible.
Black_moons 11 Sep @ 10:33pm 
Hello fellow food rebalance modder! Glad more people are stepping up and saying NO to vanilla butchering balance! its crazy how bad it is!
chuckleberrypi 11 Sep @ 2:44pm 
great way to rebalance food rather than through recipes. amazing job!
The Noble Bandit367 11 Sep @ 1:42pm 
Can this be added to existing saves?
LuisGaminG 11 Sep @ 8:15am 
Of course, that's it, it doesn't inherit the calories, so it's not just with steak, it's with beef, pork, and venison. The mod apparently ‘manufactures’ a new item called ‘dehydrated meat’ and doesn't inherit the calories from the cut that was dehydrated. It's a shame, it would be great if these two mods could be consistent.
unlockk  [author] 11 Sep @ 7:43am 
By the way, I did actually just check the mod files, and there's no mention of steak in any of the recipes or scripts, are you sure that's the mod that is affecting things?
unlockk  [author] 11 Sep @ 7:04am 
If some function completely removes the calories for a vanilla item in that mod then you'll have to ask the developer of that mod to patch that, sorry. It might be that the recipes/items added by that mod do not have a function to inherit the data of an item before processing it.
LuisGaminG 11 Sep @ 5:51am 
When I use it together with the ‘Long Term Preservation’ mod, it is compatible, but the mod completely removes the calories when transforming the steak. Could something be done to make them compatible and consistent?
unlockk  [author] 11 Sep @ 1:43am 
@[Ba-El] Radio
It looks like what you would see in the screenshots as that was taken with both mods, without Hook Animal Size Fix you would run into the issue where a large animal would yield up to 40% less meat because its size is reset to a static value. It's just less obvious in vanilla because the butchering hook doubled the amount of meat cuts by default.

@Cuheru
Thanks, yeah I will add something because this is somewhat of a "quick mod", most of the time was spent just spawning and slaughtering animals of various sizes in debug mode for a few hours to get the values right. There is a "halve fillet" script for fish fillets but from what I understand that is currently bugged so I couldn't just copy-paste its functionality and I didn't want to upload something that could glitch out.
Cuheru 11 Sep @ 1:17am 
I do hope for something added to break down the bigger cuts of meat into smaller cuts, but overall, loving the improvement. The part of me that loves self-sufficiency in survival games thanks you!
[Ba-El] Radio 10 Sep @ 10:12pm 
You also recommend Hook Animal Size Fix, what do the yields look like with both your mod and that one combined?
unlockk  [author] 10 Sep @ 9:07am 
@LuisGaminG
That mod doesn't touch butchering and it's just vanilla items here so I assume so.
LuisGaminG 10 Sep @ 8:31am 
Its compatible with "Long Term Preservation [B42]" ?
unlockk  [author] 10 Sep @ 3:01am 
Yeah same, I turn the livestock spawns way down. I wonder what setting affects deer, rabbits, rats, etc. - nature abundance?
bubby_pz33 9 Sep @ 7:24pm 
Very good because the way I play, animals are pretty rare