边缘世界 RimWorld

边缘世界 RimWorld

评价数不足
Allow Prisoners To Eat Corpses
   
奖励
收藏
已收藏
取消收藏
Mod, 1.5, 1.6
文件大小
发表于
更新日期
64.277 KB
6 月 22 日 下午 12:00
7 月 6 日 上午 9:41
2 项改动说明 ( 查看 )

订阅以下载
Allow Prisoners To Eat Corpses

描述
Prisoners should be able to be feed corpses and other food items at normal hunger levels (~20%). Compatible with Complex Jobs.

# Mod Compatibility

Mod/update compatiblity should be very high.
Prefix patches `FoodUtility.TryFindBestFoodSourceFor` and sets `desperate` and `allowCorpse` if `eater` is a prisoner. Only refers to those arguments. Does not change `allowSociallyImproper`, `allowVenerated`, `allowForbidden`, `allowHarvest`, or others from default.
`desperate` is needed else the game claims there is no food available/crashes. As a result prisoners might also eat leaves or beer or other stuff for food earlier than normal.

TODO: Do prisoners have `desperate` and `allowCorpse` set forever after being recruited?
TODO: Does `desperate` allow wardens to feed them anything regardless of food policies?
8 条留言
10 月 20 日 上午 12:14 
I'm not sure why these error logs are being generated on my end, causing prisoners who work and eat corpses to not gain any nutrition. It works fine when first loading into the game, but after some time passes, errors start occurring.
10 月 20 日 上午 12:13 
JobDriver threw exception in toil FinalizeIngest's initAction for pawn T-030 driver=JobDriver_Ingest (toilIndex=9) driver.job=(Ingest (Job_1940755) A = Thing_Corpse_Anty386575 Giver = JobGiver_Diet [workGiverDef: null])
System.NullReferenceException: Object reference not set to an instance of an object
RedRam  [作者] 8 月 14 日 下午 9:15 
I don't have the dlc so I didn't consider that. I chose the method I did to minimize potential mod conflicts. It *should* be easy to fix, once I get some time
underboss572 8 月 13 日 下午 7:06 
Any way to make this mod work for slaves as well?
HonorWrought 7 月 29 日 下午 7:08 
Literally saved my run, 15 years in and down to my last colonist. Discover that if your last pawn has an incapability of cooking you can't recruit because prisoners are absolutely appalled by eating their friends raw, but if you butcher them first into tiny pieces they're completely fine with it.
RedRam  [作者] 7 月 6 日 上午 9:42 
Not sure why it wasn't working for you, it worked for me
RedRam  [作者] 7 月 6 日 上午 9:42 
Marked 1.6 as supported version in metadata
Jurain 6 月 22 日 下午 12:22 
please update for 1.6 my prisoners are not currently eating corpses