RimWorld

RimWorld

Simple sidearms
Chara 10 Sep, 2022 @ 3:41am
Conflict with another mod highly likely
Tldr version- The little luna mod (maybe others from author im not sure if his others do what LL does i dont currently have them active on this save file) has an issue with simple sidearms, for which i think is due to the gizmo box your mod adds and theirs adds.

This might be due to Little Luna adding two racial abilities to the gizmo menu, which im gonna assume for some reason overrides the simple side gizmo box as its the only racial mod i have a pawn of atm that is missing the SS gizmo.
Im gonna do some more testing on playing with settings and some stuff to see if i can fix it myself before posting the github and mod list and such, but for now the main error it tosses up is the below error

(which is tossed up at random intervals when undrafted only, i can force a similar but different error if i actively toggle/untoggle draft)
---------------------

Exception in RimWorld.ThinkNode_ConditionalColonist TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
at PeteTimesSix.SimpleSidearms.Intercepts.JobGiver_DropUnusedInventory_Drop.Prefix (Verse.Pawn pawn, Verse.Thing thing) [0x0003e] in <8d746d9dab094c52bbe7629b4d9896f8>:0
at (wrapper dynamic-method) RimWorld.JobGiver_DropUnusedInventory.RimWorld.JobGiver_DropUnusedInventory.Drop_Patch2(RimWorld.JobGiver_DropUnusedInventory,Verse.Pawn,Verse.Thing)
at (wrapper dynamic-method) RimWorld.JobGiver_DropUnusedInventory.RimWorld.JobGiver_DropUnusedInventory.TryGiveJob_Patch0(RimWorld.JobGiver_DropUnusedInventory,Verse.Pawn)
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <81af9f8a18324e17b286924a43555a7c>:0
at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00022] in <81af9f8a18324e17b286924a43555a7c>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
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)
Verse.AI.Pawn_JobTracker:DetermineNextJob (Verse.ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch1 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
HAR_LL_Pawn:Tick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()