RimWorld

RimWorld

Drug Schedule While Working
15 Comments
MasonNasty 21 Feb @ 4:28pm 
Bump, the logical nuance this mod solves could actually indirectly fix the unaddressed issue of pawns not taking wake-up automatically when rest is low.
TurtleShroom 10 Aug, 2024 @ 6:57pm 
Do you plan on updating this Mod and fixing its errors?
Malminas 24 Jun, 2024 @ 11:17pm 
:eyes:
Solitaire 25 Sep, 2023 @ 8:11am 
Mod is screaming whenever I schedule a drug that isn't currently available.

https://gist.github.com/HugsLibRecordKeeper/dbb532779fd5a0615f3d4cfada5490bf
https://i.imgur.com/JiEUrD0.jpeg

Code line 5013.
Exception in Verse.AI.ThinkNode_PrioritySorter GetPriority: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

https://youtu.be/vC8s-H6_msU
ThottyNathaniel 2 Aug, 2023 @ 5:46am 
absolutely crazy they dont smoke on the job in vanilla fr
Julian333XD 27 May, 2023 @ 5:08am 
schedule drugs you don't have and see
Arquebus  [author] 19 Mar, 2023 @ 2:10am 
@bagelhe I cannot reproduce this bug locally. So again, I ask you to give me your log file. Install hugslib and upload a gist of the log. It sounds like a mod conflict, but I cannot be sure or tell you which mod does it if I don't see the log file.
bagelhe 19 Mar, 2023 @ 1:01am 
its running all the time if i open log....it spams the error
Arquebus  [author] 18 Mar, 2023 @ 12:22pm 
@bagelhe got any more context for me here? Do you know when it happened or can you give me your hugslib log file?
bagelhe 18 Mar, 2023 @ 8:32am 
Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch2 (Verse.AI.Pawn_JobTracker,Verse.ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch4 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch8 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
Verse.Root_Play:Update ()
bagelhe 18 Mar, 2023 @ 8:31am 
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method)
bagelhe 18 Mar, 2023 @ 8:31am 
Exception in Verse.AI.ThinkNode_PrioritySorter GetPriority: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <eae584ce26bc40229c1b1aa476bfa589>:0
at DrugScheduleWhileWorking.Patches.JobGiver_TakeDrugsForDrugPolicy_GetPriority_Patch.Postfix (System.Single& __result, Verse.Pawn pawn) [0x00035] in <7f8982f251a74c62aedc74b69e8c74c8>:0
at (wrapper dynamic-method) RimWorld.JobGiver_TakeDrugsForDrugPolicy.RimWorld.JobGiver_TakeDrugsForDrugPolicy.GetPriority_Patch1(RimWorld.JobGiver_TakeDrugsForDrugPolicy,Verse.Pawn)
at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x0006f] in <38562b1a2ab64eacb931fb5df05ca994>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(
LeafBoye 12 Mar, 2023 @ 8:14pm 
BRUH is this how my pawn always had to become downed for him to go take luciferium? this is so annoying but im glad you fixed an issue i didnt even know i had
Arquebus  [author] 10 Mar, 2023 @ 9:53am 
Yep, becomes very clear with super-pawns on luciferium.
nothing to see here 10 Mar, 2023 @ 9:43am 
wait, really? that's a thing?