Skip to content

CE clothing rack incompatibility #28

@NoImageAvailable

Description

@NoImageAvailable

Following setup:

  • Colonist near carry weight cap
  • Multiple heavy apparel stored in clothing rack
  • With colonist selected, right click the apparel stack

Produces following log error:

ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
at System.Collections.Generic.List`1<Verse.FloatMenuOption>.CheckIndex (int) <0x00042>
at System.Collections.Generic.List`1<Verse.FloatMenuOption>.InsertRange (int,System.Collections.Generic.IEnumerable`1<Verse.FloatMenuOption>) <0x0002b>
at ExtendedStorage.FloatMenuMakerMap_AddHumanlikeOrders.Postfix (UnityEngine.Vector3,Verse.Pawn,System.Collections.Generic.List`1<Verse.FloatMenuOption>) <0x00245>
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.AddHumanlikeOrders_Patch2 (UnityEngine.Vector3,Verse.Pawn,System.Collections.Generic.List`1<Verse.FloatMenuOption>) <0x038c7>
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.ChoicesAtFor_Patch2 (UnityEngine.Vector3,Verse.Pawn) <0x00210>
at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn) <0x00120>
at RimWorld.Selector.HandleMapClicks () <0x0017f>
at RimWorld.Selector.SelectorOnGUI () <0x00014>
at RimWorld.MapInterface.HandleLowPriorityInput () <0x00033>
at RimWorld.UIRoot_Play.UIRootOnGUI () <0x001a6>
at Verse.Root.OnGUI () <0x000c6>

Probable cause is conflict between CE transpiler of AddHumanlikeOrders to replace force wear option when at inventory capacity and ES float menu generation for multi-apparel stacks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions