RimWorld

RimWorld

[XND] Turret Extensions 1.1
Prodigy 26 Jul, 2020 @ 9:45am
Error while upgrading vanilla miniturret/mortar
Cant upgrade turrets/mortars works with godmode but not with pawn


Root level exception in OnGUI(): System.InvalidCastException: Specified cast is not valid.
at (wrapper dynamic-method) RimWorld.WorkGiver_ConstructDeliverResources.DMD<DMD<ResourceDeliverJobFor_Patch0>?-763152768::ResourceDeliverJobFor_Patch0>(RimWorld.WorkGiver_ConstructDeliverResources,Verse.Pawn,RimWorld.IConstructible,bool)
at TurretExtensions.WorkGiver_ConstructDeliverResourcesToTurrets.JobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x000b8] in <dd43e0d936e7407a893091afd6fbc430>:0
at RimWorld.WorkGiver_Scanner.HasJobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.DMD<DMD<AddJobGiverWorkOrders_Patch2>?-1019698176::AddJobGiverWorkOrders_Patch2>(Verse.IntVec3,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) [0x00084] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.DMD<DMD<ChoicesAtFor_Patch2>?-1367467648::ChoicesAtFor_Patch2>(UnityEngine.Vector3,Verse.Pawn)
at AchtungMod.MultiActions.AddColonist (AchtungMod.Colonist colonist) [0x0001f] in <998a529e2cae4e2c921a73d037fe26a5>:0
at AchtungMod.MultiActions.<.ctor>b__3_0 (AchtungMod.Colonist colonist) [0x00000] in <998a529e2cae4e2c921a73d037fe26a5>:0
at AchtungMod.Tools.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <998a529e2cae4e2c921a73d037fe26a5>:0
at AchtungMod.MultiActions..ctor (System.Collections.Generic.IEnumerable`1[T] colonists, UnityEngine.Vector3 clickPos) [0x00018] in <998a529e2cae4e2c921a73d037fe26a5>:0
at AchtungMod.Controller.MouseDown (UnityEngine.Vector3 pos) [0x00076] in <998a529e2cae4e2c921a73d037fe26a5>:0
at AchtungMod.Controller.HandleEvents () [0x0002f] in <998a529e2cae4e2c921a73d037fe26a5>:0
at AchtungMod.Selector_HandleMapClicks_Patch.Prefix () [0x00005] in <998a529e2cae4e2c921a73d037fe26a5>:0
at (wrapper dynamic-method) RimWorld.Selector.DMD<DMD<HandleMapClicks_Patch1>?-405552768::HandleMapClicks_Patch1>(RimWorld.Selector)
at RimWorld.Selector.SelectorOnGUI () [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x000d3] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at (wrapper dynamic-method) Verse.Root.DMD<DMD<OnGUI_Patch1>?-1685169408::OnGUI_Patch1>(Verse.Root)
Verse.Log:Error(String, Boolean)
Verse.Root:DMD<DMD<OnGUI_Patch1>?-1685169408::OnGUI_Patch1>(Root)