RimWorld
[Outdated] Call of Cthulhu - Cosmic Horrors
Incompatibility with WM Smart Food Selection
It looks like WM Smart Food Selection cannot detect the pawn type of Chthonian. I get the red warning several times while a hungry Chthonian tries to find foods. More importantly, it will never find a suitable meal and starve to death.

Exception in Verse.AI.ThinkNode_PrioritySorter TryIssueJobPackage: System.Exception: Could not determine pawn type category of ROM_Chthonian98537 ---> System.Exception: Unknown pawn type
at WM.SmarterFoodSelection.PawnMask.MatchesPawn (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at WM.SmarterFoodSelection.PawnMask.MatchesPawn (Verse.Pawn) <0x0035a>
at WM.SmarterFoodSelection.WorldDataStore_PawnPolicies/<>c__DisplayClassd.<GetDefaultPolicyFor>b__8 (WM.SmarterFoodSelection.PawnMask) <0x0001c>
at System.Linq.Enumerable/<CreateWhereIterator>c__Iterator1D`1<WM.SmarterFoodSelection.PawnMask>.MoveNext () <0x00100>
at System.Linq.Enumerable.Any<WM.SmarterFoodSelection.PawnMask> (System.Collections.Generic.IEnumerable`1<WM.SmarterFoodSelection.PawnMask>) <0x000a8>
at WM.SmarterFoodSelection.WorldDataStore_PawnPolicies.GetDefaultPolicyFor (Verse.Pawn) <0x00095>
at WM.SmarterFoodSelection.WorldDataStore_PawnPolicies.GetPawnEntry (Verse.Pawn) <0x0004d>
at WM.SmarterFoodSelection.PolicyUtils.GetPolicyAssignedTo (Verse.Pawn,Verse.Pawn) <0x00035>
at WM.SmarterFoodSelection.Detours.FoodUtility.TryFindBestFoodSourceFor._Prefix (bool&,Verse.Pawn,Verse.Pawn,bool,bool,bool,bool,bool) <0x00015>
at (wrapper dynamic-method) RimWorld.FoodUtility.TryFindBestFoodSourceFor_Patch2 (Verse.Pawn,Verse.Pawn,bool,Verse.Thing&,Verse.ThingDef&,bool,bool,bool,bool,bool) <0x00063>
at RimWorld.JobGiver_GetFood.TryGiveJob (Verse.Pawn) <0x00117>
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) <0x00078>
at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) <0x00381>

Verse.Log:Error(String)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_ForbidOutsideFlagRadius:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
RimWorld.ThinkNode_Duty:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
RimWorld.ThinkNode_Conditional:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
RimWorld.ThinkNode_JoinVoluntarilyJoinableLord:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob(ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
CosmicHorror.CosmicHorrorPawn:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate_Patch0(Object)
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
Последно редактиран от XXYY君; 19 авг. 2017 в 7:07