RimWorld

RimWorld

Harvest When Butchering
41 kommenttia
Marvash Magalli 13.11. klo 10.54 
Removed the mod during gameplay now the game is stuck at "Initializing game"... I guess I'll just set the harvest rate to 0%
AtomicRobot 19.8. klo 6.51 
Sorry to bring attention to this again.

Would it be possible to wrap the gather(thingComp as CompHasGahterableBodyResource, butcher, efficiency); in the Pawn Postfix Patch with an if-clause checking butcher for null?

Just to handle cases like mentioned below where there might not be a pawn doing butchering.
AtomicRobot 1.8. klo 16.27 
I think this mod has an incompatability with the "Midworld Industrial Grinder" Mod.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3534925351

I found some null Object errors when feeding in a Boomalope, which didn't happen when I put in a Donkey, so I suspect that the case of a Butchering Job with no Butcher Pawn wasn't caught...


Here's a Log:
https://gist.github.com/HugsLibRecordKeeper/35cd4e5000ef93538c8e578e292e2f7b

Would it be possible to handle this case by just letting vanilla logic go through when no butcher is found?
Mlie  [tekijä] 17.7. klo 6.25 
@Rina There are already multiple mods that does that
Rina 17.7. klo 4.07 
Would it be possible to add a chance to get some of the implants if you butcher a human-like?
Mlie  [tekijä] 15.7. klo 7.34 
@Panco I just answered this
Panco 15.7. klo 7.22 
does this grant organs when harvesting a human-like pawn?
Shame, that would be poggers
Mlie  [tekijä] 13.7. klo 20.46 
@Kathryn Morningstar, A Conqueror No this does just affect pawns with resource generation
Does this auto harvest skulls from pawns as well?
Mlie  [tekijä] 18.3. klo 23.29 
@KANEM Please see the Reporting Issues section described above
KANEM 18.3. klo 18.06 
This mod seems to have stopped working in version 1.5.
Not Sure 23.8.2024 klo 6.52 
@Mlie thank you!
Mlie  [tekijä] 22.8.2024 klo 21.57 
@Viper The is no randomnes, it just takes the percent filled times the full harvest amount and spawns that.
Not Sure 22.8.2024 klo 14.08 
@Mlie is there any RNG involved for the butchering harvest; for example, number of wool or horns? If it's all deterministic, it'll work in multiplayer fine. Seems no one has tested this yet.
Mlie  [tekijä] 1.1.2024 klo 7.12 
@ScrapyardBob Any resource that is harvestable when the animal is alive
MosaPudica 1.1.2024 klo 5.41 
Does this extract teeth or horns?
J 13.4.2023 klo 19.42 
@Mlie - On behalf of Martholomew, thank you
Mlie  [tekijä] 10.3.2023 klo 11.07 
@Bartholomew Marmalade I see how it would seem that way, but wild animals gain resources at the same rate as tame. But since they usually walk around the map for a while before they are hunted their resources are usually full.
Either way I added a setting where you can set the maximum percent of resources from wild animals.
Bartholomew Marmalade 9.3.2023 klo 17.24 
@Mlie
So the issue is that it works if you're raising the animals themselves; however if they're wild animals you basically get everything.

I'll give you a scenario. I'm playing in a tundra with naked brutality. Finding clothes is important right off the bat since it's going to be super cold. I got and kill myself a single muffalo. Great that should be enough to make maybe a hat. Except I go and butcher the animal, and not only do I get ~50 muffalo hide, I also get ~70 muffalo fur. In vanilla, you'd have to kill maybe two or three muffalo to get some decent clothes, with this mod all you need is one or two.

This is also apparent for anything else that produces "something" when they're domesticated. There is no incentive to raise boomalopes for chemfuel, since you can just hunt them to extinction with no penalty other than maybe a forest fire.

I think it would make sense for this to only apply to domestic animals, or at least include an option to make it so.
Mlie  [tekijä] 8.3.2023 klo 13.36 
@Bartholomew Marmalade
You get no more resources with this mod than without it, you just dont have to wait until an animal has 100% wool. When you butcher an animal with this mod active it will give you the current growth of resources as well.

I think you might have misunderstood the mod-function, perhaps you thought it gave 100% resources regardless of when you butcher?
Bartholomew Marmalade 8.3.2023 klo 12.51 
Honestly, way too unbalanced.

Not only are you getting the leather, but you're also getting the wool. If you're playing on a map that requires lots of leathers/furs/wools for temperature regulation, you're basically getting twice the amount per animal.
EvilNecroid 6.3.2023 klo 4.24 
this should be in the base game
Mlie  [tekijä] 3.3.2023 klo 11.59 
@Bobibobibu Yes, it will only give existing resources.
Bobibobibu 3.3.2023 klo 11.57 
I think I misunderstand this. Does it mean that wild animal can't give wool/milk when butchered because it does not actually have the resource before it's tamed?
The Beast 3.3.2023 klo 0.49 
thats big brain
graublau 19.1.2023 klo 1.53 
thank you, I love it ^^
Mlie  [tekijä] 18.1.2023 klo 22.25 
@graublau It works with any animal. Dont know if its better, its different and easier to maintain :)
graublau 18.1.2023 klo 17.08 
Sooo ... this is basically a better "shear those corpses", right? Does it work with the animals from the animal collab project? And can switch in a running safe or do I need a new one? :steamhappy:
Pablo Discobar 15.12.2022 klo 17.17 
Hey, thanks for this handy mod. :)
SindSieEcht 14.12.2022 klo 11.59 
Muffamilk
Rocketsocks88 12.12.2022 klo 21.46 
Why is there a picture of a muffalo producing milk? You guys aren't modding Muffalos to be milkable, are you? in direct violation of Tynan's desired balancing?!
PapasFritas 12.12.2022 klo 18.20 
milking a dead cow sounds wrong to me
Doomchibi 8.12.2022 klo 15.52 
Thank you! This is exactly the kind of thing I was looking for, I was trying to find a mod that would allow me to use the auto slaughter feature but avoid slaughtering animals that had milk/wool production above a certain %, but this is much simpler. Yay!
Mlie  [tekijä] 8.12.2022 klo 12.01 
@Eny Ace No, its not. It just harvest whatever resource the animal has on butchering
Eny Ace 8.12.2022 klo 11.58 
Can I put to harvest sometjing like wool but not milk? Is configurable?
Vardath 7.12.2022 klo 15.03 
I thought this was already a thing, guess I haven't been paying attention. This is great thanks!
Mlie  [tekijä] 7.12.2022 klo 13.32 
@CMaia No, the harvested amount will just be scaled by that percent.
CMaia 7.12.2022 klo 13.29 
So I guess the animal needs to have 100% in their harvestable resource or not?
Mlie  [tekijä] 7.12.2022 klo 13.06 
@Victor Added info about exploding animals
Victor 7.12.2022 klo 13.02 
Will it work on boomalopes, even though they expode their chemfuel on death?