Skip to content

Rimworld mod to fix error on butchering human corpses with a pawn without a 'mood' need

License

Notifications You must be signed in to change notification settings

DoctorVanGogh/Rimworld-ButcherMoodFix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RimWorld Alpha 17

Rimworld butcher & prisoner feed fixes

Fixes

Butchering fix

Fixes a bug in Rimworld A17 where any butcher jobs targetting human corpses will throw an error and never complete (to be restarted again & again) if the executing pawn does not have a 'mood' property in it's needs tab.

A case where this might happen is Allestor's Misc Robots++ mod which includes kitchen bots. And while this mod exposes the underlying bug, it's not the cause of the issue at all - the underlying problem is inside the vanilla Rimworld code.


Funnily enough the vanilla code checks if any intended recipient of the 'We butchered humanlike' debuff can actually get such a mood, but just assumes the butcher itself can always get the 'I butchered humanlike' debuff.

So until a fix is made in vanilla Rimworld for this, just use this mod to prevent the issue from cropping up if you use any mods that add Pawns with no 'mood' need who might 'baconify' certain corpses...

Prisoner feeding fix

Fixes a bug in Rimworld where feeding an incapacitated prisoner from a Nutrient dispenser by a non person pawn (aka a robot) will log an error each time (Job will be executed though).

Again, the buggy code is all vanilla - it just takes a mod to expose the error, since non-person pawns capable of feeding prisoners are not part of vanilla.

Install instructions

Just download this mod from github or the Steam workshop. Put the mod as far up in the load order as possible (there's actually no reason at all not to put it immediately below the 'CORE' mod). Since this mod completely rewrites parts of the butchering code it should be loaded before any other mods that modify that code. Any 3rd party mod that actually replaces (and not just modifies) butchering code will not work with this mod - you'll have to pick one or the other.

Powered by Harmony

Powered by Harmony

About

Rimworld mod to fix error on butchering human corpses with a pawn without a 'mood' need

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages