Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - prickly_tomato

#1
Mod bugs / [1.3] Pawns unable to heal
August 25, 2021, 11:20:37 PM
Just was playing as normal, when two of my pawns get the flu. I go to heal them and right click them when it doesn't pop up the option to force-heal them, this is on a new save. Going to Copy-paste the log I got going into dev mode.

Root level exception in OnGUI(): System.InvalidOperationException: Sequence contains no elements
  at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector, System.Collections.Generic.IComparer`1[T] comparer) [0x00039] in <d243303f714d4dc48680ccaecd2f594e>:0
  at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x00007] in <d243303f714d4dc48680ccaecd2f594e>:0
  at Pharmacist.HealthAIUtility_FindBestMedicine.Prefix (Verse.Pawn healer, Verse.Pawn patient, System.Boolean onlyUseInventory, Verse.Thing& __result) [0x00057] in <60f543b514a84700bb9fdd05e7dc9499>:0
  at (wrapper dynamic-method) RimWorld.HealthAIUtility.RimWorld.HealthAIUtility.FindBestMedicine_Patch3(Verse.Pawn,Verse.Pawn,bool)
  at RimWorld.WorkGiver_Tend.JobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x00007] in <d243303f714d4dc48680ccaecd2f594e>:0
  at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.AddJobGiverWorkOrders_Patch0(UnityEngine.Vector3,Verse.Pawn,System.Collections.Generic.List`1<Verse.FloatMenuOption>,bool)
  at RimWorld.FloatMenuMakerMap.AddUndraftedOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts) [0x00085] in <d243303f714d4dc48680ccaecd2f594e>:0
  at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.ChoicesAtFor_Patch1(UnityEngine.Vector3,Verse.Pawn,bool)
  at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x000a1] in <d243303f714d4dc48680ccaecd2f594e>:0
  at (wrapper dynamic-method) RimWorld.Selector.RimWorld.Selector.HandleMapClicks_Patch1(RimWorld.Selector)
  at RimWorld.Selector.SelectorOnGUI () [0x00000] in <d243303f714d4dc48680ccaecd2f594e>:0
  at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <d243303f714d4dc48680ccaecd2f594e>:0
  at RimWorld.UIRoot_Play.UIRootOnGUI () [0x000dd] in <d243303f714d4dc48680ccaecd2f594e>:0
  at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)