边缘世界 RimWorld

边缘世界 RimWorld

CL4P-TP
Jedia Kyrol 2024 年 5 月 12 日 上午 10:31
Milking/taming not working
Ok...attempting to milk or tame animals causes a repeating error for the duration of the task and ends with failure (no milk/tame animal). Took a bit to pop up because those tasks are weighted lower than Feed/Slaughter/Take-to-Pen, which all work fine.

("Clean" log with just the base game, expansions, harmony,this and performance analyzers)
https://gist.github.com/HugsLibRecordKeeper/b0eb158c91e4389d291ac1ff613cc40d


EDIT: Looks like someone already went through the trouble! Just subscribe to this mod as well and it works.

DOUBLE EDIT: Looks like that mod doesn't cover Slaughter...which also throws an error if a mechanoid tries it. I'll ask them if they can add it in.

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3239840342


The Quick and dirty fix for it is to add this to the patch file:

<Operation Class="PatchOperationAdd"> <xpath>*/WorkGiverDef[defName="Milk"]</xpath> <value> <canBeDoneByMechs>false</canBeDoneByMechs> </value> </Operation> <Operation Class="PatchOperationAdd"> <xpath>*/WorkGiverDef[defName="Tame"]</xpath> <value> <canBeDoneByMechs>false</canBeDoneByMechs> </value> </Operation>

... ... ...however that just disables the task. The hard way is to make a custom thinktree dll that gives Clappy the ability to figure out how to do it, but that is beyond my paygrade.

An example can be found here:
https://ludeon.com/forums/index.php?topic=16405.0
最后由 Jedia Kyrol 编辑于; 2024 年 5 月 13 日 上午 6:44