RimWorld

RimWorld

Prison Labor
Kham Aug 30, 2024 @ 7:36am
Vehicle Framework Compatibility?
When using Prison Labor with Vehicle Framework my log starts getting spammed, I think it's about Prisoners not having the worktype for Vehicle Framework and it keeps checking every 10-20 seconds and spamming errors.

Kovys threw exception in WorkGiver RepairVehicle: System.ArgumentNullException: Value cannot be null. Parameter name: key [Ref F72EE536] at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Vehicles.ListerVehiclesRepairable.RepairsForFaction (RimWorld.Faction faction) [0x00000] in <b0a7aa2261564289b7b5d8798d3df720>:0 at Vehicles.WorkGiver_RepairVehicle.PotentialWorkThingsGlobal (Verse.Pawn pawn) [0x00011] in <b0a7aa2261564289b7b5d8798d3df720>:0 at PrisonLabor.Core.AI.JobGivers.JobGiver_Labor.TryGetJobOnThing (Verse.Pawn pawn, Verse.TargetInfo& targetInfo, RimWorld.WorkGiver_Scanner& workGiver_Scanner, RimWorld.WorkGiver_Scanner scanner) [0x00023] in <e5e20482d3b445c3905c784e7f105b10>:0 at PrisonLabor.Core.AI.JobGivers.JobGiver_Labor.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x0014e] in <e5e20482d3b445c3905c784e7f105b10>:0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Full hugslib log
https://gist.github.com/HugsLibRecordKeeper/bbab3d2976b65387c0a3db73c17510f7