Harmony Log

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2715

### Patch Verse.

Pawn_RotationTracker, Void RotationTrackerTick()


L_0000: ldarg.0
L_0001: call Boolean VehicleRotatorTick(Verse.Pawn_RotationTracker)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void UpdateRotation()
L_0011: Label0
L_0011: ret
DONE

### Patch Verse.DamageWorker_AddInjury, Single FinalizeAndAddInjury(Verse.Pawn,


Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult)
L_0000: Local var 0: Verse.HediffComp_GetsPermanent
L_0000: Local var 1: System.Single
L_0000: Local var 2: System.Single
L_0000: ldc.r4 0
L_0005: stloc 2 (System.Single)
L_0006: ldarg.2
L_0007: call Verse.HediffComp_GetsPermanent TryGetComp[HediffComp_GetsPermanent]
(Verse.Hediff)
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldloc.0
L_0014: callvirt Void PreFinalizeInjury()
L_0019: Label1
L_0019: ldarg.1
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldarg.2
L_0020: ldnull
L_0021: ldarg.3
L_0022: newobj Void .ctor(DamageInfo)
L_0027: ldarg.s 4
L_0029: callvirt Void AddHediff(Verse.Hediff, Verse.BodyPartRecord, Nullable`1,
Verse.DamageWorker+DamageResult)
L_002e: ldarg.2
L_002f: callvirt Single get_Severity()
L_0034: ldarg.1
L_0035: ldfld Verse.Pawn_HealthTracker health
L_003a: ldfld Verse.HediffSet hediffSet
L_003f: ldarg.2
L_0040: callvirt Verse.BodyPartRecord get_Part()
L_0045: callvirt Single GetPartHealth(Verse.BodyPartRecord)
L_004a: call Single Min(Single, Single)
L_004f: stloc.1
L_0050: ldarg.s 4
L_0052: dup
L_0053: ldfld System.Single totalDamageDealt
L_0058: ldloc.1
L_0059: add
L_005a: stfld System.Single totalDamageDealt
L_005f: ldarg.s 4
L_0061: ldc.i4.1
L_0062: stfld System.Boolean wounded
L_0067: ldarg.s 4
L_0069: ldarg.1
L_006a: ldarg.2
L_006b: callvirt Verse.BodyPartRecord get_Part()
L_0070: callvirt Void AddPart(Verse.Thing, Verse.BodyPartRecord)
L_0075: ldarg.s 4
L_0077: ldarg.2
L_0078: callvirt Void AddHediff(Verse.Hediff)
L_007d: ldloc.1
L_007e: stloc 2 (System.Single)
L_007f: ldarg.0
L_0080: ldarg 1
L_0086: ldarg 2
L_008c: ldarg 3
L_0092: ldarga 4
L_0098: ldloca 2 (System.Single)
L_009a: call Void TryInjureVehicleOccupants(Verse.DamageWorker_AddInjury,
Verse.Pawn, Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult ByRef,
Single ByRef)
L_009f: ldloc 2 (System.Single)
L_00a0: ret
DONE

### Patch Verse.HealthUtility, System.String GetGeneralConditionLabel(Verse.Pawn,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Hediff_Injury
L_0000: Local var 3: System.String
L_0000: ldnull
L_0001: stloc 3 (System.String)
L_0002: ldloca 3 (System.String)
L_0004: ldarg 0
L_000a: ldarg 1
L_0010: call Boolean ReplaceConditionLabel(System.String ByRef, Verse.Pawn,
Boolean)
L_0015: brfalse Label0
L_001a: ldarg.0
L_001b: ldfld Verse.Pawn_HealthTracker health
L_0020: callvirt Boolean get_Dead()
L_0025: brfalse Label1
L_002a: ldstr "Dead"
L_002f: call System.String Translate(System.String)
L_0034: br Label15
L_0039: Label1
L_0039: ldarg.0
L_003a: ldfld Verse.Pawn_HealthTracker health
L_003f: ldfld Verse.PawnCapacitiesHandler capacities
L_0044: callvirt Boolean get_CanBeAwake()
L_0049: brtrue Label2
L_004e: ldstr "Unconscious"
L_0053: call System.String Translate(System.String)
L_0058: br Label16
L_005d: Label2
L_005d: ldarg.0
L_005e: ldfld Verse.Pawn_HealthTracker health
L_0063: callvirt Boolean get_InPainShock()
L_0068: brfalse Label3
L_006d: ldarg.1
L_006e: brfalse Label4
L_0073: ldstr "PainShockShort"
L_0078: call Boolean CanTranslate(System.String)
L_007d: brfalse Label5
L_0082: ldstr "PainShockShort"
L_0087: call System.String Translate(System.String)
L_008c: br Label6
L_0091: Label4
L_0091: Label5
L_0091: ldstr "PainShock"
L_0096: call System.String Translate(System.String)
L_009b: Label6
L_009b: br Label17
L_00a0: Label3
L_00a0: ldarg.0
L_00a1: callvirt Boolean get_Downed()
L_00a6: brfalse Label7
L_00ab: ldstr "Incapacitated"
L_00b0: call System.String Translate(System.String)
L_00b5: br Label18
L_00ba: Label7
L_00ba: ldc.i4.0
L_00bb: stloc.0
L_00bc: ldc.i4.0
L_00bd: stloc.1
L_00be: br Label8
L_00c3: Label12
L_00c3: ldarg.0
L_00c4: ldfld Verse.Pawn_HealthTracker health
L_00c9: ldfld Verse.HediffSet hediffSet
L_00ce: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_00d3: ldloc.1
L_00d4: callvirt Verse.Hediff get_Item(Int32)
L_00d9: isinst Verse.Hediff_Injury
L_00de: stloc.2
L_00df: ldloc.2
L_00e0: brtrue Label9
L_00e5: br Label10
L_00ea: Label9
L_00ea: ldloc.2
L_00eb: call Boolean IsPermanent(Verse.Hediff)
L_00f0: brtrue Label11
L_00f5: ldc.i4.1
L_00f6: stloc.0
L_00f7: Label10
L_00f7: Label11
L_00f7: ldloc.1
L_00f8: ldc.i4.1
L_00f9: add
L_00fa: stloc.1
L_00fb: Label8
L_00fb: ldloc.1
L_00fc: ldarg.0
L_00fd: ldfld Verse.Pawn_HealthTracker health
L_0102: ldfld Verse.HediffSet hediffSet
L_0107: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_010c: callvirt Int32 get_Count()
L_0111: blt Label12
L_0116: ldloc.0
L_0117: brfalse Label13
L_011c: ldstr "Injured"
L_0121: call System.String Translate(System.String)
L_0126: br Label19
L_012b: Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_HealthTracker health
L_0131: ldfld Verse.HediffSet hediffSet
L_0136: callvirt Single get_PainTotal()
L_013b: ldc.r4 0.3
L_0140: ble.un Label14
L_0145: ldstr "InPain"
L_014a: call System.String Translate(System.String)
L_014f: br Label20
L_0154: Label14
L_0154: ldstr "Healthy"
L_0159: call System.String Translate(System.String)
L_015e: Label15
L_015e: Label16
L_015e: Label17
L_015e: Label18
L_015e: Label19
L_015e: Label20
L_015e: stloc 3 (System.String)
L_015f: Label0
L_015f: ldloc 3 (System.String)
L_0160: ret
DONE

### Patch Verse.MapPawns, Int32 get_FreeColonistsSpawnedCount()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldarg.0
L_0007: call IEnumerable`1 get_FreeColonistsSpawned()
L_000c: call Int32 Count[Pawn](IEnumerable`1)
L_0011: stloc 0 (System.Int32)
L_0012: ldarg.0
L_0013: ldloca 0 (System.Int32)
L_0015: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_001a: ldloc 0 (System.Int32)
L_001b: ret
DONE

### Patch Verse.MapPawns, Int32


get_FreeColonistsSpawnedOrInPlayerEjectablePodsCount()
L_0000: Local var 0: System.Int32
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.Building_CryptosleepCasket
L_0000: Local var 5: Verse.IThingHolder
L_0000: Local var 6: System.Int32
L_0000: Local var 7: Verse.Pawn
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldc.i4.0
L_0008: stloc.0
L_0009: ldc.i4.0
L_000a: stloc.1
L_000b: br Label1
L_0010: Label3
L_0010: ldarg.0
L_0011: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0016: ldloc.1
L_0017: callvirt Verse.Pawn get_Item(Int32)
L_001c: callvirt Boolean get_IsFreeColonist()
L_0021: brfalse Label2
L_0026: ldloc.0
L_0027: ldc.i4.1
L_0028: add
L_0029: stloc.0
L_002a: Label2
L_002a: ldloc.1
L_002b: ldc.i4.1
L_002c: add
L_002d: stloc.1
L_002e: Label1
L_002e: ldloc.1
L_002f: ldarg.0
L_0030: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0035: callvirt Int32 get_Count()
L_003a: blt Label3
L_003f: ldarg.0
L_0040: ldfld Verse.Map map
L_0045: ldfld Verse.ListerThings listerThings
L_004a: ldc.i4.s 30
L_004c: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsInGroup(ThingRequestGroup)
L_0051: stloc.2
L_0052: ldc.i4.0
L_0053: stloc.3
L_0054: br Label4
L_0059: Label15
L_0059: ldloc.2
L_005a: ldloc.3
L_005b: callvirt Verse.Thing get_Item(Int32)
L_0060: isinst RimWorld.Building_CryptosleepCasket
L_0065: stloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0067: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0069: brfalse Label5
L_006e: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0070: ldfld Verse.ThingDef def
L_0075: ldfld RimWorld.BuildingProperties building
L_007a: ldfld System.Boolean isPlayerEjectable
L_007f: brtrue Label6
L_0084: Label5
L_0084: ldloc.2
L_0085: ldloc.3
L_0086: callvirt Verse.Thing get_Item(Int32)
L_008b: isinst RimWorld.IActiveDropPod
L_0090: brtrue Label7
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: callvirt Verse.Thing get_Item(Int32)
L_009c: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00a1: brfalse Label8
L_00a6: Label6
L_00a6: Label7
L_00a6: ldloc.2
L_00a7: ldloc.3
L_00a8: callvirt Verse.Thing get_Item(Int32)
L_00ad: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00b2: dup
L_00b3: brtrue Label9
L_00b8: pop
L_00b9: ldloc.2
L_00ba: ldloc.3
L_00bb: callvirt Verse.Thing get_Item(Int32)
L_00c0: castclass Verse.IThingHolder
L_00c5: Label9
L_00c5: stloc.s 5 (Verse.IThingHolder)
L_00c7: ldarg.0
L_00c8: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00cd: callvirt Void Clear()
L_00d2: ldloc.s 5 (Verse.IThingHolder)
L_00d4: ldarg.0
L_00d5: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00da: ldc.i4.1
L_00db: ldnull
L_00dc: call Void GetAllThingsRecursively(IThingHolder,
System.Collections.Generic.List`1[Verse.Thing], Boolean,
System.Predicate`1[Verse.IThingHolder])
L_00e1: ldc.i4.0
L_00e2: stloc.s 6 (System.Int32)
L_00e4: br Label10
L_00e9: Label14
L_00e9: ldarg.0
L_00ea: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00ef: ldloc.s 6 (System.Int32)
L_00f1: callvirt Verse.Thing get_Item(Int32)
L_00f6: isinst Verse.Pawn
L_00fb: stloc.s 7 (Verse.Pawn)
L_00fd: ldloc.s 7 (Verse.Pawn)
L_00ff: brfalse Label11
L_0104: ldloc.s 7 (Verse.Pawn)
L_0106: callvirt Boolean get_Dead()
L_010b: brtrue Label12
L_0110: ldloc.s 7 (Verse.Pawn)
L_0112: callvirt Boolean get_IsFreeColonist()
L_0117: brfalse Label13
L_011c: ldloc.0
L_011d: ldc.i4.1
L_011e: add
L_011f: stloc.0
L_0120: Label11
L_0120: Label12
L_0120: Label13
L_0120: ldloc.s 6 (System.Int32)
L_0122: ldc.i4.1
L_0123: add
L_0124: stloc.s 6 (System.Int32)
L_0126: Label10
L_0126: ldloc.s 6 (System.Int32)
L_0128: ldarg.0
L_0129: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_012e: callvirt Int32 get_Count()
L_0133: blt Label14
L_0138: Label8
L_0138: ldloc.3
L_0139: ldc.i4.1
L_013a: add
L_013b: stloc.3
L_013c: Label4
L_013c: ldloc.3
L_013d: ldloc.2
L_013e: callvirt Int32 get_Count()
L_0143: blt Label15
L_0148: ldarg.0
L_0149: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_014e: callvirt Void Clear()
L_0153: ldloc.0
L_0154: stloc 8 (System.Int32)
L_0156: ldarg.0
L_0157: ldloca 8 (System.Int32)
L_0159: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_015e: ldloc 8 (System.Int32)
L_0160: ret
DONE

### Patch Verse.Pawn_HealthTracker, Boolean ShouldBeDowned()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean VehicleShouldBeDowned(Verse.Pawn_HealthTracker, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean get_InPainShock()
L_0019: brtrue Label1
L_001e: ldarg.0
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: callvirt Boolean get_CanBeAwake()
L_0029: brfalse Label2
L_002e: ldarg.0
L_002f: ldfld Verse.PawnCapacitiesHandler capacities
L_0034: ldsfld Verse.PawnCapacityDef Moving
L_0039: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_003e: ldc.i4.0
L_003f: ceq
L_0041: br Label3
L_0046: Label1
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: stloc 0 (System.Boolean)
L_0048: Label0
L_0048: ldloc 0 (System.Boolean)
L_0049: ret
DONE

### Patch Verse.PawnDownedWiggler, Void WigglerTick()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: call Boolean VehicleShouldWiggle(Verse.PawnDownedWiggler)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld Verse.Pawn pawn
L_0011: callvirt Boolean get_Downed()
L_0016: brfalse Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: callvirt Boolean get_Spawned()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: ldfld Verse.Pawn pawn
L_0031: call Boolean InBed(Verse.Pawn)
L_0036: brtrue Label3
L_003b: ldarg.0
L_003c: dup
L_003d: ldfld System.Int32 ticksToIncapIcon
L_0042: ldc.i4.1
L_0043: sub
L_0044: stfld System.Int32 ticksToIncapIcon
L_0049: ldarg.0
L_004a: ldfld System.Int32 ticksToIncapIcon
L_004f: ldc.i4.0
L_0050: bgt Label4
L_0055: ldarg.0
L_0056: ldfld Verse.Pawn pawn
L_005b: callvirt IntVec3 get_Position()
L_0060: ldarg.0
L_0061: ldfld Verse.Pawn pawn
L_0066: callvirt Verse.Map get_Map()
L_006b: ldsfld Verse.ThingDef Mote_IncapIcon
L_0070: call Verse.Mote ThrowMetaIcon(IntVec3, Verse.Map, Verse.ThingDef)
L_0075: pop
L_0076: ldarg.0
L_0077: ldc.i4 200
L_007c: stfld System.Int32 ticksToIncapIcon
L_0081: Label4
L_0081: ldarg.0
L_0082: ldfld Verse.Pawn pawn
L_0087: call Boolean Awake(Verse.Pawn)
L_008c: brfalse Label5
L_0091: call Verse.TickManager get_TickManager()
L_0096: callvirt Int32 get_TicksGame()
L_009b: ldc.i4 300
L_00a0: rem
L_00a1: ldc.i4.2
L_00a2: mul
L_00a3: stloc.0
L_00a4: ldloc.0
L_00a5: ldc.i4.s 90
L_00a7: bge Label6
L_00ac: ldarg.0
L_00ad: dup
L_00ae: ldfld System.Single downedAngle
L_00b3: ldc.r4 0.35
L_00b8: add
L_00b9: stfld System.Single downedAngle
L_00be: br Label7
L_00c3: Label6
L_00c3: ldloc.0
L_00c4: ldc.i4 390
L_00c9: bge Label8
L_00ce: ldloc.0
L_00cf: ldc.i4 300
L_00d4: blt Label9
L_00d9: ldarg.0
L_00da: dup
L_00db: ldfld System.Single downedAngle
L_00e0: ldc.r4 0.35
L_00e5: sub
L_00e6: stfld System.Single downedAngle
L_00eb: Label1
L_00eb: Label2
L_00eb: Label3
L_00eb: Label5
L_00eb: Label7
L_00eb: Label8
L_00eb: Label9
L_00eb: Label0
L_00eb: ret
DONE

### Patch Verse.VerbTracker, IEnumerable`1 GetVerbsCommands(KeyCode)


L_0000: Local var 0: Verse.VerbTracker+<GetVerbsCommands>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Command,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0002: ldarg.0
L_0003: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0005: ldarg 1
L_000b: call Boolean GetVerbsCommands_PreFix(Verse.VerbTracker, IEnumerable`1
ByRef, KeyCode)
L_0010: brfalse Label0
L_0015: newobj Void .ctor()
L_001a: stloc.0
L_001b: ldloc.0
L_001c: ldarg.0
L_001d: stfld Verse.VerbTracker $this
L_0022: ldloc.0
L_0023: dup
L_0024: ldc.i4.s -2
L_0026: stfld System.Int32 $PC
L_002b: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002c: Label0
L_002c: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002d: ret
DONE

### Patch RimWorld.PawnUtility, Boolean


IsTravelingInTransportPodWorldObject(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean IsWorldPawn(Verse.Pawn)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean AnyParentIs[ActiveDropPodInfo](Verse.Thing)
L_0017: br Label2
L_001c: Label1
L_001c: ldc.i4.0
L_001d: Label2
L_001d: stloc 0 (System.Boolean)
L_001e: ldloca 0 (System.Boolean)
L_0020: ldarg 0
L_0026: call Void PreventAssigningRandomFaction(Boolean ByRef, Verse.Pawn)
L_002b: ldloc 0 (System.Boolean)
L_002c: ret
DONE

### Patch RimWorld.SocialCardUtility, Void Recache(Verse.Pawn)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: Local var 5: System.Int32
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: RimWorld.SocialCardUtility+CachedSocialTabEntry
L_0000: Local var 9: System.Int32
L_0000: ldarg 0
L_0006: call Boolean SocialTabNullHandling(Verse.Pawn)
L_000b: brfalse Label0
L_0010: ldarg.0
L_0011: stsfld Verse.Pawn cachedForPawn
L_0016: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_001b: callvirt Void Clear()
L_0020: ldarg.0
L_0021: ldfld RimWorld.Pawn_RelationsTracker relations
L_0026: callvirt IEnumerable`1 get_RelatedPawns()
L_002b: callvirt IEnumerator`1 GetEnumerator()
L_0030: stloc.1
.try
{
L_0031: br Label1
L_0036: Label4
L_0036: ldloc.1
L_0037: callvirt Verse.Pawn get_Current()
L_003c: stloc.0
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_0044: brtrue Label2
L_0049: leave Label3
L_004e: Label2
L_004e: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0053: ldloc.0
L_0054: callvirt Boolean Add(Verse.Pawn)
L_0059: pop
L_005a: Label1
L_005a: Label3
L_005a: ldloc.1
L_005b: callvirt Boolean MoveNext()
L_0060: brtrue Label4
L_0065: leave Label5
L_006a: leave (autogenerated)
} // end try
.finally
{
L_006f: ldloc.1
L_0070: brfalse Label6
L_0075: ldloc.1
L_0076: callvirt Void Dispose()
L_007b: Label6
L_007b: endfinally
L_007c: leave (autogenerated)
} // end handler
L_007d: Label5
L_007d: ldnull
L_007e: stloc.2
L_007f: ldarg.0
L_0080: callvirt Verse.Map get_MapHeld()
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: callvirt Verse.Map get_MapHeld()
L_0090: ldfld Verse.MapPawns mapPawns
L_0095: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_009a: stloc.2
L_009b: br Label8
L_00a0: Label7
L_00a0: ldarg.0
L_00a1: call Boolean IsCaravanMember(Verse.Pawn)
L_00a6: brfalse Label9
L_00ab: ldarg.0
L_00ac: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_00b1: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_00b6: stloc.2
L_00b7: Label8
L_00b7: Label9
L_00b7: ldloc.2
L_00b8: brfalse Label10
L_00bd: ldc.i4.0
L_00be: stloc.3
L_00bf: br Label11
L_00c4: Label20
L_00c4: ldloc.2
L_00c5: ldloc.3
L_00c6: callvirt Verse.Pawn get_Item(Int32)
L_00cb: stloc.s 4 (Verse.Pawn)
L_00cd: ldloc.s 4 (Verse.Pawn)
L_00cf: callvirt Verse.RaceProperties get_RaceProps()
L_00d4: callvirt Boolean get_Humanlike()
L_00d9: brfalse Label12
L_00de: ldloc.s 4 (Verse.Pawn)
L_00e0: ldarg.0
L_00e1: beq Label13
L_00e6: ldloc.s 4 (Verse.Pawn)
L_00e8: ldarg.0
L_00e9: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_00ee: brfalse Label14
L_00f3: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_00f8: ldloc.s 4 (Verse.Pawn)
L_00fa: callvirt Boolean Contains(Verse.Pawn)
L_00ff: brfalse Label15
L_0104: Label12
L_0104: Label13
L_0104: Label14
L_0104: br Label16
L_0109: Label15
L_0109: ldarg.0
L_010a: ldfld RimWorld.Pawn_RelationsTracker relations
L_010f: ldloc.s 4 (Verse.Pawn)
L_0111: callvirt Int32 OpinionOf(Verse.Pawn)
L_0116: brtrue Label17
L_011b: ldloc.s 4 (Verse.Pawn)
L_011d: ldfld RimWorld.Pawn_RelationsTracker relations
L_0122: ldarg.0
L_0123: callvirt Int32 OpinionOf(Verse.Pawn)
L_0128: brtrue Label18
L_012d: br Label19
L_0132: Label17
L_0132: Label18
L_0132: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0137: ldloc.s 4 (Verse.Pawn)
L_0139: callvirt Boolean Add(Verse.Pawn)
L_013e: pop
L_013f: Label16
L_013f: Label19
L_013f: ldloc.3
L_0140: ldc.i4.1
L_0141: add
L_0142: stloc.3
L_0143: Label11
L_0143: ldloc.3
L_0144: ldloc.2
L_0145: callvirt Int32 get_Count()
L_014a: blt Label20
L_014f: Label10
L_014f: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0154: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0159: brtrue Label21
L_015e: ldnull
L_015f: ldftn Boolean
<Recache>m__0(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0165: newobj Void .ctor(Object, IntPtr)
L_016a: stsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_016f: Label21
L_016f: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0174: callvirt Int32
RemoveAll(System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry])
L_0179: pop
L_017a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_017f: callvirt Void Clear()
L_0184: ldc.i4.0
L_0185: stloc.s 5 (System.Int32)
L_0187: br Label22
L_018c: Label23
L_018c: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0191: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0196: ldloc.s 5 (System.Int32)
L_0198: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_019d: ldfld Verse.Pawn otherPawn
L_01a2: callvirt Boolean Add(Verse.Pawn)
L_01a7: pop
L_01a8: ldloc.s 5 (System.Int32)
L_01aa: ldc.i4.1
L_01ab: add
L_01ac: stloc.s 5 (System.Int32)
L_01ae: Label22
L_01ae: ldloc.s 5 (System.Int32)
L_01b0: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_01b5: callvirt Int32 get_Count()
L_01ba: blt Label23
L_01bf: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_01c4: callvirt Enumerator GetEnumerator()
L_01c9: stloc.s 7 (System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
.try
{
L_01cb: br Label24
L_01d0: Label27
L_01d0: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_01d2: call Verse.Pawn get_Current()
L_01d7: stloc.s 6 (Verse.Pawn)
L_01d9: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_01de: ldloc.s 6 (Verse.Pawn)
L_01e0: callvirt Boolean Contains(Verse.Pawn)
L_01e5: brfalse Label25
L_01ea: leave Label26
L_01ef: Label25
L_01ef: newobj Void .ctor()
L_01f4: stloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f6: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f8: ldloc.s 6 (Verse.Pawn)
L_01fa: stfld Verse.Pawn otherPawn
L_01ff: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0204: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0206: callvirt Void Add(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_020b: Label24
L_020b: Label26
L_020b: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_020d: call Boolean MoveNext()
L_0212: brtrue Label27
L_0217: leave Label28
L_021c: leave (autogenerated)
} // end try
.finally
{
L_0221: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_0223: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn]
L_0229: callvirt Void Dispose()
L_022e: endfinally
L_022f: leave (autogenerated)
} // end handler
L_0230: Label28
L_0230: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0235: callvirt Void Clear()
L_023a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_023f: callvirt Void Clear()
L_0244: ldc.i4.0
L_0245: stloc.s 9 (System.Int32)
L_0247: br Label29
L_024c: Label30
L_024c: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0251: ldloc.s 9 (System.Int32)
L_0253: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_0258: ldarg.0
L_0259: call Void RecacheEntry(RimWorld.SocialCardUtility+CachedSocialTabEntry,
Verse.Pawn)
L_025e: ldloc.s 9 (System.Int32)
L_0260: ldc.i4.1
L_0261: add
L_0262: stloc.s 9 (System.Int32)
L_0264: Label29
L_0264: ldloc.s 9 (System.Int32)
L_0266: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_026b: callvirt Int32 get_Count()
L_0270: blt Label30
L_0275: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_027a: ldsfld RimWorld.SocialCardUtility+CachedSocialTabEntryComparer
CachedEntriesComparer
L_027f: callvirt Void Sort(IComparer`1)
L_0284: Label0
L_0284: ret
DONE

### Patch Verse.Pawn, Boolean get_IsColonistPlayerControlled()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean get_Spawned()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean get_IsColonist()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: call Verse.MentalStateDef get_MentalStateDef()
L_0022: brtrue Label3
L_0027: ldarg.0
L_0028: call RimWorld.Faction get_HostFaction()
L_002d: ldnull
L_002e: ceq
L_0030: br Label4
L_0035: Label1
L_0035: Label2
L_0035: Label3
L_0035: ldc.i4.0
L_0036: Label4
L_0036: stloc 0 (System.Boolean)
L_0037: ldarg.0
L_0038: ldloca 0 (System.Boolean)
L_003a: call Void IncludeVehiclesInIsColonistPlayerControlled(Verse.Pawn, Boolean
ByRef)
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.Pawn, Boolean CurrentlyUsableForBills()


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InBed(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldsfld System.String NotSurgeryReadyTrans
L_0016: ldnull
L_0017: call Void Is(System.String, System.String)
L_001c: ldc.i4.0
L_001d: br Label3
L_0022: Label1
L_0022: ldarg.0
L_0023: callvirt IntVec3 get_InteractionCell()
L_0028: stloc.0
L_0029: ldloca.s 0 (Verse.IntVec3)
L_002b: call Boolean get_IsValid()
L_0030: brtrue Label2
L_0035: ldsfld System.String CannotReachTrans
L_003a: ldnull
L_003b: call Void Is(System.String, System.String)
L_0040: ldc.i4.0
L_0041: br Label4
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: Label4
L_0047: stloc 1 (System.Boolean)
L_0048: ldarg.0
L_0049: ldloca 1 (System.Boolean)
L_004b: call Void CantUseMovingVehicles(Verse.Pawn, Boolean ByRef)
L_0050: ldloc 1 (System.Boolean)
L_0051: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ret
DONE

### Patch Verse.Verb_Shoot, Boolean TryCastShot()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 1 (System.Boolean)
L_0009: call Boolean CanVehicleShoot(Verse.Verb_Shoot, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean TryCastShot()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: brfalse Label1
L_0020: ldarg.0
L_0021: call Boolean get_CasterIsPawn()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: call Verse.Pawn get_CasterPawn()
L_0031: ldfld RimWorld.Pawn_RecordsTracker records
L_0036: ldsfld RimWorld.RecordDef ShotsFired
L_003b: callvirt Void Increment(RimWorld.RecordDef)
L_0040: Label1
L_0040: Label2
L_0040: ldloc.0
L_0041: stloc 1 (System.Boolean)
L_0042: Label0
L_0042: ldloc 1 (System.Boolean)
L_0043: ret
DONE

### Patch RimWorld.GameEnder, Boolean


IsPlayerControlledWithFreeColonist(RimWorld.Planet.Caravan)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsPlayerControlled()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label6
L_0017: Label1
L_0017: ldarg.1
L_0018: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_001d: stloc.0
L_001e: ldc.i4.0
L_001f: stloc.1
L_0020: br Label2
L_0025: Label5
L_0025: ldloc.0
L_0026: ldloc.1
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stloc.2
L_002d: ldloc.2
L_002e: callvirt Boolean get_IsColonist()
L_0033: brfalse Label3
L_0038: ldloc.2
L_0039: callvirt RimWorld.Faction get_HostFaction()
L_003e: brtrue Label4
L_0043: ldc.i4.1
L_0044: br Label7
L_0049: Label3
L_0049: Label4
L_0049: ldloc.1
L_004a: ldc.i4.1
L_004b: add
L_004c: stloc.1
L_004d: Label2
L_004d: ldloc.1
L_004e: ldloc.0
L_004f: callvirt Int32 get_Count()
L_0054: blt Label5
L_0059: ldc.i4.0
L_005a: Label6
L_005a: Label7
L_005a: stloc 3 (System.Boolean)
L_005b: ldarg 1
L_0061: ldloca 3 (System.Boolean)
L_0063: call Void CanEndGame(RimWorld.Planet.Caravan, Boolean ByRef)
L_0068: ldloc 3 (System.Boolean)
L_0069: ret
DONE

### Patch RimWorld.RestUtility, RimWorld.Building_Bed FindBedFor(Verse.Pawn,


Verse.Pawn, Boolean, Boolean, Boolean)
L_0000: Local var 0: RimWorld.RestUtility+<FindBedFor>c__AnonStorey0
L_0000: Local var 1: RimWorld.Building_Bed
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: Verse.Pawn
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.ThingDef
L_0000: Local var 9: System.Int32
L_0000: Local var 10: RimWorld.RestUtility+<FindBedFor>c__AnonStorey1
L_0000: Local var 11: RimWorld.Building_Bed
L_0000: Local var 12: RimWorld.DirectPawnRelation
L_0000: Local var 13: RimWorld.Building_Bed
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.RestUtility+<FindBedFor>c__AnonStorey2
L_0000: Local var 16: System.Int32
L_0000: Local var 17: Verse.ThingDef
L_0000: Local var 18: RimWorld.Building_Bed
L_0000: Local var 19: RimWorld.Building_Bed
L_0000: ldnull
L_0001: stloc 19 (RimWorld.Building_Bed)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: stfld Verse.Pawn sleeper
L_0010: ldloc.0
L_0011: ldarg.1
L_0012: stfld Verse.Pawn traveler
L_0017: ldloc.0
L_0018: ldarg.2
L_0019: stfld System.Boolean sleeperWillBePrisoner
L_001e: ldloc.0
L_001f: ldarg.3
L_0020: stfld System.Boolean checkSocialProperness
L_0025: ldloc.0
L_0026: ldarg.s 4
L_0028: stfld System.Boolean ignoreOtherReservations
L_002d: ldloc.0
L_002e: ldfld Verse.Pawn sleeper
L_0033: call Boolean ShouldSeekMedicalRest(Verse.Pawn)
L_0038: brfalse Label1
L_003d: ldloc.0
L_003e: ldfld Verse.Pawn sleeper
L_0043: call Boolean InBed(Verse.Pawn)
L_0048: brfalse Label2
L_004d: ldloc.0
L_004e: ldfld Verse.Pawn sleeper
L_0053: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_0058: callvirt Boolean get_Medical()
L_005d: brfalse Label3
L_0062: ldloc.0
L_0063: ldfld Verse.Pawn sleeper
L_0068: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006d: stloc.1
L_006e: ldloc.0
L_006f: ldfld Verse.Pawn sleeper
L_0074: stloc.2
L_0075: ldloc.0
L_0076: ldfld Verse.Pawn traveler
L_007b: stloc.3
L_007c: ldloc.0
L_007d: ldfld System.Boolean sleeperWillBePrisoner
L_0082: stloc.s 4 (System.Boolean)
L_0084: ldloc.0
L_0085: ldfld System.Boolean checkSocialProperness
L_008a: stloc.s 5 (System.Boolean)
L_008c: ldloc.0
L_008d: ldfld System.Boolean ignoreOtherReservations
L_0092: stloc.s 6 (System.Boolean)
L_0094: ldloc.1
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: ldloc.s 4 (System.Boolean)
L_0099: ldloc.s 5 (System.Boolean)
L_009b: ldc.i4.0
L_009c: ldloc.s 6 (System.Boolean)
L_009e: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_00a3: brfalse Label4
L_00a8: ldloc.0
L_00a9: ldfld Verse.Pawn sleeper
L_00ae: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_00b3: br Label29
L_00b8: Label2
L_00b8: Label3
L_00b8: Label4
L_00b8: ldc.i4.0
L_00b9: stloc.s 7 (System.Int32)
L_00bb: br Label5
L_00c0: Label13
L_00c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_00c5: ldloc.s 7 (System.Int32)
L_00c7: callvirt Verse.ThingDef get_Item(Int32)
L_00cc: stloc.s 8 (Verse.ThingDef)
L_00ce: ldloc.0
L_00cf: ldfld Verse.Pawn sleeper
L_00d4: ldloc.s 8 (Verse.ThingDef)
L_00d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_00db: brtrue Label6
L_00e0: br Label7
L_00e5: Label6
L_00e5: ldc.i4.0
L_00e6: stloc.s 9 (System.Int32)
L_00e8: br Label8
L_00ed: Label12
L_00ed: newobj Void .ctor()
L_00f2: stloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f4: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f6: ldloc.0
L_00f7: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_00fc: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00fe: ldloc.s 9 (System.Int32)
L_0100: brtrue Label9
L_0105: ldc.i4.1
L_0106: br Label10
L_010b: Label9
L_010b: ldc.i4.3
L_010c: Label10
L_010c: stfld Verse.Danger maxDanger
L_0111: ldloc.0
L_0112: ldfld Verse.Pawn sleeper
L_0117: callvirt IntVec3 get_Position()
L_011c: ldloc.0
L_011d: ldfld Verse.Pawn sleeper
L_0122: callvirt Verse.Map get_Map()
L_0127: ldloc.s 8 (Verse.ThingDef)
L_0129: call ThingRequest ForDef(Verse.ThingDef)
L_012e: ldc.i4.1
L_012f: ldloc.0
L_0130: ldfld Verse.Pawn traveler
L_0135: ldc.i4.3
L_0136: ldc.i4.0
L_0137: ldc.i4.0
L_0138: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_013d: ldc.r4 9999
L_0142: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_0144: ldftn Boolean <>m__0(Verse.Thing)
L_014a: newobj Void .ctor(Object, IntPtr)
L_014f: ldnull
L_0150: ldc.i4.0
L_0151: ldc.i4.m1
L_0152: ldc.i4.0
L_0153: ldc.i4.6
L_0154: ldc.i4.0
L_0155: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_015a: castclass RimWorld.Building_Bed
L_015f: stloc.s 11 (RimWorld.Building_Bed)
L_0161: ldloc.s 11 (RimWorld.Building_Bed)
L_0163: brfalse Label11
L_0168: ldloc.s 11 (RimWorld.Building_Bed)
L_016a: br Label30
L_016f: Label11
L_016f: ldloc.s 9 (System.Int32)
L_0171: ldc.i4.1
L_0172: add
L_0173: stloc.s 9 (System.Int32)
L_0175: Label8
L_0175: ldloc.s 9 (System.Int32)
L_0177: ldc.i4.2
L_0178: blt Label12
L_017d: Label7
L_017d: ldloc.s 7 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 7 (System.Int32)
L_0183: Label5
L_0183: ldloc.s 7 (System.Int32)
L_0185: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_018a: callvirt Int32 get_Count()
L_018f: blt Label13
L_0194: Label1
L_0194: ldloc.0
L_0195: ldfld Verse.Pawn sleeper
L_019a: ldfld RimWorld.Pawn_Ownership ownership
L_019f: brfalse Label14
L_01a4: ldloc.0
L_01a5: ldfld Verse.Pawn sleeper
L_01aa: ldfld RimWorld.Pawn_Ownership ownership
L_01af: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01b4: brfalse Label15
L_01b9: ldloc.0
L_01ba: ldfld Verse.Pawn sleeper
L_01bf: ldfld RimWorld.Pawn_Ownership ownership
L_01c4: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01c9: stloc.1
L_01ca: ldloc.0
L_01cb: ldfld Verse.Pawn sleeper
L_01d0: stloc.3
L_01d1: ldloc.0
L_01d2: ldfld Verse.Pawn traveler
L_01d7: stloc.2
L_01d8: ldloc.0
L_01d9: ldfld System.Boolean sleeperWillBePrisoner
L_01de: stloc.s 6 (System.Boolean)
L_01e0: ldloc.0
L_01e1: ldfld System.Boolean checkSocialProperness
L_01e6: stloc.s 5 (System.Boolean)
L_01e8: ldloc.0
L_01e9: ldfld System.Boolean ignoreOtherReservations
L_01ee: stloc.s 4 (System.Boolean)
L_01f0: ldloc.1
L_01f1: ldloc.3
L_01f2: ldloc.2
L_01f3: ldloc.s 6 (System.Boolean)
L_01f5: ldloc.s 5 (System.Boolean)
L_01f7: ldc.i4.0
L_01f8: ldloc.s 4 (System.Boolean)
L_01fa: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_01ff: brfalse Label16
L_0204: ldloc.0
L_0205: ldfld Verse.Pawn sleeper
L_020a: ldfld RimWorld.Pawn_Ownership ownership
L_020f: callvirt RimWorld.Building_Bed get_OwnedBed()
L_0214: br Label31
L_0219: Label14
L_0219: Label15
L_0219: Label16
L_0219: ldloc.0
L_021a: ldfld Verse.Pawn sleeper
L_021f: ldc.i4.0
L_0220: call RimWorld.DirectPawnRelation
ExistingMostLikedLovePartnerRel(Verse.Pawn, Boolean)
L_0225: stloc.s 12 (RimWorld.DirectPawnRelation)
L_0227: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0229: brfalse Label17
L_022e: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0230: ldfld Verse.Pawn otherPawn
L_0235: ldfld RimWorld.Pawn_Ownership ownership
L_023a: callvirt RimWorld.Building_Bed get_OwnedBed()
L_023f: stloc.s 13 (RimWorld.Building_Bed)
L_0241: ldloc.s 13 (RimWorld.Building_Bed)
L_0243: brfalse Label18
L_0248: ldloc.s 13 (RimWorld.Building_Bed)
L_024a: stloc.1
L_024b: ldloc.0
L_024c: ldfld Verse.Pawn sleeper
L_0251: stloc.2
L_0252: ldloc.0
L_0253: ldfld Verse.Pawn traveler
L_0258: stloc.3
L_0259: ldloc.0
L_025a: ldfld System.Boolean sleeperWillBePrisoner
L_025f: stloc.s 4 (System.Boolean)
L_0261: ldloc.0
L_0262: ldfld System.Boolean checkSocialProperness
L_0267: stloc.s 5 (System.Boolean)
L_0269: ldloc.0
L_026a: ldfld System.Boolean ignoreOtherReservations
L_026f: stloc.s 6 (System.Boolean)
L_0271: ldloc.1
L_0272: ldloc.2
L_0273: ldloc.3
L_0274: ldloc.s 4 (System.Boolean)
L_0276: ldloc.s 5 (System.Boolean)
L_0278: ldc.i4.0
L_0279: ldloc.s 6 (System.Boolean)
L_027b: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_0280: brfalse Label19
L_0285: ldloc.s 13 (RimWorld.Building_Bed)
L_0287: br Label32
L_028c: Label17
L_028c: Label18
L_028c: Label19
L_028c: ldc.i4.0
L_028d: stloc.s 14 (System.Int32)
L_028f: br Label20
L_0294: Label28
L_0294: newobj Void .ctor()
L_0299: stloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029b: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029d: ldloc.0
L_029e: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_02a3: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_02a5: ldloc.s 14 (System.Int32)
L_02a7: brtrue Label21
L_02ac: ldc.i4.1
L_02ad: br Label22
L_02b2: Label21
L_02b2: ldc.i4.3
L_02b3: Label22
L_02b3: stfld Verse.Danger maxDanger
L_02b8: ldc.i4.0
L_02b9: stloc.s 16 (System.Int32)
L_02bb: br Label23
L_02c0: Label27
L_02c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_02c5: ldloc.s 16 (System.Int32)
L_02c7: callvirt Verse.ThingDef get_Item(Int32)
L_02cc: stloc.s 17 (Verse.ThingDef)
L_02ce: ldloc.0
L_02cf: ldfld Verse.Pawn sleeper
L_02d4: ldloc.s 17 (Verse.ThingDef)
L_02d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_02db: brtrue Label24
L_02e0: br Label25
L_02e5: Label24
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn sleeper
L_02eb: callvirt IntVec3 get_Position()
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn sleeper
L_02f6: callvirt Verse.Map get_Map()
L_02fb: ldloc.s 17 (Verse.ThingDef)
L_02fd: call ThingRequest ForDef(Verse.ThingDef)
L_0302: ldc.i4.1
L_0303: ldloc.0
L_0304: ldfld Verse.Pawn traveler
L_0309: ldc.i4.3
L_030a: ldc.i4.0
L_030b: ldc.i4.0
L_030c: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0311: ldc.r4 9999
L_0316: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_0318: ldftn Boolean <>m__0(Verse.Thing)
L_031e: newobj Void .ctor(Object, IntPtr)
L_0323: ldnull
L_0324: ldc.i4.0
L_0325: ldc.i4.m1
L_0326: ldc.i4.0
L_0327: ldc.i4.6
L_0328: ldc.i4.0
L_0329: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_032e: castclass RimWorld.Building_Bed
L_0333: stloc.s 18 (RimWorld.Building_Bed)
L_0335: ldloc.s 18 (RimWorld.Building_Bed)
L_0337: brfalse Label26
L_033c: ldloc.s 18 (RimWorld.Building_Bed)
L_033e: br Label33
L_0343: Label25
L_0343: Label26
L_0343: ldloc.s 16 (System.Int32)
L_0345: ldc.i4.1
L_0346: add
L_0347: stloc.s 16 (System.Int32)
L_0349: Label23
L_0349: ldloc.s 16 (System.Int32)
L_034b: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_0350: callvirt Int32 get_Count()
L_0355: blt Label27
L_035a: ldloc.s 14 (System.Int32)
L_035c: ldc.i4.1
L_035d: add
L_035e: stloc.s 14 (System.Int32)
L_0360: Label20
L_0360: ldloc.s 14 (System.Int32)
L_0362: ldc.i4.2
L_0363: blt Label28
L_0368: ldnull
L_0369: Label29
L_0369: Label30
L_0369: Label31
L_0369: Label32
L_0369: Label33
L_0369: stloc 19 (RimWorld.Building_Bed)
L_036b: ldloca 19 (RimWorld.Building_Bed)
L_036d: ldarg 0
L_0373: call Void DontRescueVehicles(RimWorld.Building_Bed ByRef, Verse.Pawn)
L_0378: ldloc 19 (RimWorld.Building_Bed)
L_037a: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ret
DONE

### Patch RimWorld.BaseGen.SymbolResolver_RandomMechanoidGroup, Boolean


<Resolve>m__0(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: stloc 0 (System.Boolean)
L_0012: ldloca 0 (System.Boolean)
L_0014: ldarg 0
L_001a: call Void MechanoidsFixerAncient(Boolean ByRef, Verse.PawnKindDef)
L_001f: ldloc 0 (System.Boolean)
L_0020: ret
DONE

### Patch RimWorld.CompSpawnerMechanoidsOnDamaged, Boolean


<TrySpawnMechanoids>m__1(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: brfalse Label1
L_0016: ldarg.1
L_0017: ldfld System.Boolean isFighter
L_001c: brfalse Label2
L_0021: ldarg.1
L_0022: ldfld System.Single combatPower
L_0027: ldarg.0
L_0028: ldfld System.Single pointsLeft
L_002d: cgt.un
L_002f: ldc.i4.0
L_0030: ceq
L_0032: br Label3
L_0037: Label1
L_0037: Label2
L_0037: ldc.i4.0
L_0038: Label3
L_0038: stloc 0 (System.Boolean)
L_0039: ldloca 0 (System.Boolean)
L_003b: ldarg 1
L_0041: call Void MechanoidsFixer(Boolean ByRef, Verse.PawnKindDef)
L_0046: ldloc 0 (System.Boolean)
L_0047: ret
DONE

### Patch RimWorld.ThinkNode_ConditionalColonist, Boolean Satisfied(Verse.Pawn)


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsColonist()
L_000c: stloc 0 (System.Boolean)
L_000d: ldarg 1
L_0013: ldloca 0 (System.Boolean)
L_0015: call Void Satisfied_PostFix(Verse.Pawn, Boolean ByRef)
L_001a: ldloc 0 (System.Boolean)
L_001b: ret
DONE

### Patch RimWorld.JobGiver_Haul, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: RimWorld.JobGiver_Haul+<TryGiveJob>c__AnonStorey0
L_0000: Local var 1: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldarg 1
L_0008: ldloca 3 (Verse.AI.Job)
L_000a: call Boolean TryGiveJob_PreFix(Verse.Pawn, Verse.AI.Job ByRef)
L_000f: brfalse Label0
L_0014: newobj Void .ctor()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: ldarg.1
L_001c: stfld Verse.Pawn pawn
L_0021: ldloc.0
L_0022: ldftn Boolean <>m__0(Verse.Thing)
L_0028: newobj Void .ctor(Object, IntPtr)
L_002d: stloc.1
L_002e: ldloc.0
L_002f: ldfld Verse.Pawn pawn
L_0034: callvirt IntVec3 get_Position()
L_0039: ldloc.0
L_003a: ldfld Verse.Pawn pawn
L_003f: callvirt Verse.Map get_Map()
L_0044: ldloc.0
L_0045: ldfld Verse.Pawn pawn
L_004a: callvirt Verse.Map get_Map()
L_004f: ldfld RimWorld.ListerHaulables listerHaulables
L_0054: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsPotentiallyNeedingHauling()
L_0059: ldc.i4.1
L_005a: ldloc.0
L_005b: ldfld Verse.Pawn pawn
L_0060: ldc.i4.3
L_0061: ldc.i4.0
L_0062: ldc.i4.0
L_0063: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0068: ldc.r4 9999
L_006d: ldloc.1
L_006e: ldnull
L_006f: call Verse.Thing ClosestThing_Global_Reachable(IntVec3, Verse.Map,
IEnumerable`1, PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing],
System.Func`2[Verse.Thing,System.Single])
L_0074: stloc.2
L_0075: ldloc.2
L_0076: brfalse Label1
L_007b: ldloc.0
L_007c: ldfld Verse.Pawn pawn
L_0081: ldloc.2
L_0082: call Verse.AI.Job HaulToStorageJob(Verse.Pawn, Verse.Thing)
L_0087: br Label2
L_008c: Label1
L_008c: ldnull
L_008d: Label2
L_008d: stloc 3 (Verse.AI.Job)
L_008e: Label0
L_008e: ldloc 3 (Verse.AI.Job)
L_008f: ret
DONE

### Patch Verse.AI.JobGiver_Orders, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 0 (Verse.AI.Job)
L_0002: ldarg.1
L_0003: callvirt Boolean get_Drafted()
L_0008: brfalse Label1
L_000d: ldsfld Verse.JobDef Wait_Combat
L_0012: ldarg.1
L_0013: callvirt IntVec3 get_Position()
L_0018: call LocalTargetInfo op_Implicit(IntVec3)
L_001d: newobj Void .ctor(JobDef, LocalTargetInfo)
L_0022: br Label2
L_0027: Label1
L_0027: ldnull
L_0028: Label2
L_0028: stloc 0 (Verse.AI.Job)
L_0029: ldloca 0 (Verse.AI.Job)
L_002b: ldarg 1
L_0031: call Void PreventWaitAttackError(Verse.AI.Job ByRef, Verse.Pawn)
L_0036: ldloc 0 (Verse.AI.Job)
L_0037: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemDuties(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldc.i4.0
L_000c: stloc.0
L_000d: br Label1
L_0012: Label6
L_0012: ldarg.0
L_0013: ldfld Verse.AI.Group.Lord lord
L_0018: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_001d: ldloc.0
L_001e: callvirt Verse.Pawn get_Item(Int32)
L_0023: stloc.1
L_0024: ldloc.1
L_0025: callvirt Boolean get_IsColonist()
L_002a: brfalse Label2
L_002f: ldloc.1
L_0030: ldfld Verse.AI.Pawn_MindState mindState
L_0035: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherItems
L_003a: newobj Void .ctor(DutyDef)
L_003f: stfld Verse.AI.PawnDuty duty
L_0044: br Label3
L_0049: Label2
L_0049: ldloc.1
L_004a: callvirt Verse.RaceProperties get_RaceProps()
L_004f: callvirt Boolean get_Animal()
L_0054: brfalse Label4
L_0059: ldloc.1
L_005a: ldfld Verse.AI.Pawn_MindState mindState
L_005f: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0064: ldarg.0
L_0065: ldfld Verse.IntVec3 meetingPoint
L_006a: call LocalTargetInfo op_Implicit(IntVec3)
L_006f: ldc.r4 -1
L_0074: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_0079: stfld Verse.AI.PawnDuty duty
L_007e: br Label5
L_0083: Label4
L_0083: ldloc.1
L_0084: ldfld Verse.AI.Pawn_MindState mindState
L_0089: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_008e: newobj Void .ctor(DutyDef)
L_0093: stfld Verse.AI.PawnDuty duty
L_0098: Label3
L_0098: Label5
L_0098: ldloc.0
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.0
L_009c: Label1
L_009c: ldloc.0
L_009d: ldarg.0
L_009e: ldfld Verse.AI.Group.Lord lord
L_00a3: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_00a8: callvirt Int32 get_Count()
L_00ad: blt Label6
L_00b2: Label0
L_00b2: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherAnimals, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadAnimalDuties(RimWorld.LordToil_PrepareCaravan_GatherAnimals)
L_0006: ldc.i4.0
L_0007: stloc.0
L_0008: br Label1
L_000d: Label5
L_000d: ldarg.0
L_000e: ldfld Verse.AI.Group.Lord lord
L_0013: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0018: ldloc.0
L_0019: callvirt Verse.Pawn get_Item(Int32)
L_001e: stloc.1
L_001f: ldloc.1
L_0020: callvirt Boolean get_IsColonist()
L_0025: brtrue Label2
L_002a: ldloc.1
L_002b: callvirt Verse.RaceProperties get_RaceProps()
L_0030: callvirt Boolean get_Animal()
L_0035: brfalse Label3
L_003a: Label2
L_003a: ldloc.1
L_003b: ldfld Verse.AI.Pawn_MindState mindState
L_0040: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherPawns
L_0045: ldarg.0
L_0046: ldfld Verse.IntVec3 meetingPoint
L_004b: call LocalTargetInfo op_Implicit(IntVec3)
L_0050: ldc.r4 -1
L_0055: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_005a: stfld Verse.AI.PawnDuty duty
L_005f: ldloc.1
L_0060: ldfld Verse.AI.Pawn_MindState mindState
L_0065: ldfld Verse.AI.PawnDuty duty
L_006a: ldc.i4.1
L_006b: stfld RimWorld.PawnsToGather pawnsToGather
L_0070: br Label4
L_0075: Label3
L_0075: ldloc.1
L_0076: ldfld Verse.AI.Pawn_MindState mindState
L_007b: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0080: newobj Void .ctor(DutyDef)
L_0085: stfld Verse.AI.PawnDuty duty
L_008a: Label4
L_008a: ldloc.0
L_008b: ldc.i4.1
L_008c: add
L_008d: stloc.0
L_008e: Label1
L_008e: ldloc.0
L_008f: ldarg.0
L_0090: ldfld Verse.AI.Group.Lord lord
L_0095: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_009a: callvirt Int32 get_Count()
L_009f: blt Label5
L_00a4: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherSlaves, Void LordToilTick()


L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadSlaveDuties(RimWorld.LordToil_PrepareCaravan_GatherSlaves)
L_0006: call Verse.TickManager get_TickManager()
L_000b: callvirt Int32 get_TicksGame()
L_0010: ldc.i4.s 100
L_0012: rem
L_0013: brtrue Label1
L_0018: ldarg.0
L_0019: ldfld Verse.AI.Group.Lord lord
L_001e: ldarg.0
L_001f: ldfld Verse.IntVec3 meetingPoint
L_0024: ldstr "AllSlavesGathered"
L_0029: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_002e: brtrue Label2
L_0033: ldnull
L_0034: ldftn Boolean <LordToilTick>m__0(Verse.Pawn)
L_003a: newobj Void .ctor(Object, IntPtr)
L_003f: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0044: Label2
L_0044: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0049: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_004e: brtrue Label3
L_0053: ldnull
L_0054: ldftn Boolean IsFollowingAnyone(Verse.Pawn)
L_005a: newobj Void .ctor(Object, IntPtr)
L_005f: stsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0064: Label3
L_0064: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0069: call Void CheckArrived(Verse.AI.Group.Lord, IntVec3, System.String,
System.Predicate`1[Verse.Pawn], System.Predicate`1[Verse.Pawn])
L_006e: Label1
L_006e: ret
DONE
### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void LordToilTick()
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemToil(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void LordToilTick()
L_0011: call Verse.TickManager get_TickManager()
L_0016: callvirt Int32 get_TicksGame()
L_001b: ldc.i4.s 120
L_001d: rem
L_001e: brtrue Label1
L_0023: ldc.i4.1
L_0024: stloc.0
L_0025: ldc.i4.0
L_0026: stloc.1
L_0027: br Label2
L_002c: Label6
L_002c: ldarg.0
L_002d: ldfld Verse.AI.Group.Lord lord
L_0032: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0037: ldloc.1
L_0038: callvirt Verse.Pawn get_Item(Int32)
L_003d: stloc.2
L_003e: ldloc.2
L_003f: callvirt Boolean get_IsColonist()
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldfld Verse.AI.Pawn_MindState mindState
L_004f: ldfld Verse.AI.JobTag lastJobTag
L_0054: ldc.i4.8
L_0055: beq Label4
L_005a: ldc.i4.0
L_005b: stloc.0
L_005c: br Label5
L_0061: Label3
L_0061: Label4
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label2
L_0065: ldloc.1
L_0066: ldarg.0
L_0067: ldfld Verse.AI.Group.Lord lord
L_006c: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0071: callvirt Int32 get_Count()
L_0076: blt Label6
L_007b: Label5
L_007b: ldloc.0
L_007c: brfalse Label7
L_0081: ldarg.0
L_0082: call Verse.Map get_Map()
L_0087: ldfld Verse.MapPawns mapPawns
L_008c: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_0091: stloc.3
L_0092: ldc.i4.0
L_0093: stloc.s 4 (System.Int32)
L_0095: br Label8
L_009a: Label13
L_009a: ldloc.3
L_009b: ldloc.s 4 (System.Int32)
L_009d: callvirt Verse.Pawn get_Item(Int32)
L_00a2: callvirt Verse.AI.Job get_CurJob()
L_00a7: brfalse Label9
L_00ac: ldloc.3
L_00ad: ldloc.s 4 (System.Int32)
L_00af: callvirt Verse.Pawn get_Item(Int32)
L_00b4: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b9: ldfld Verse.AI.JobDriver curDriver
L_00be: isinst RimWorld.JobDriver_PrepareCaravan_GatherItems
L_00c3: brfalse Label10
L_00c8: ldloc.3
L_00c9: ldloc.s 4 (System.Int32)
L_00cb: callvirt Verse.Pawn get_Item(Int32)
L_00d0: callvirt Verse.AI.Job get_CurJob()
L_00d5: ldfld Verse.AI.Group.Lord lord
L_00da: ldarg.0
L_00db: ldfld Verse.AI.Group.Lord lord
L_00e0: bne.un Label11
L_00e5: ldc.i4.0
L_00e6: stloc.0
L_00e7: br Label12
L_00ec: Label9
L_00ec: Label10
L_00ec: Label11
L_00ec: ldloc.s 4 (System.Int32)
L_00ee: ldc.i4.1
L_00ef: add
L_00f0: stloc.s 4 (System.Int32)
L_00f2: Label8
L_00f2: ldloc.s 4 (System.Int32)
L_00f4: ldloc.3
L_00f5: callvirt Int32 get_Count()
L_00fa: blt Label13
L_00ff: Label7
L_00ff: Label12
L_00ff: ldloc.0
L_0100: brfalse Label14
L_0105: ldarg.0
L_0106: ldfld Verse.AI.Group.Lord lord
L_010b: ldstr "AllItemsGathered"
L_0110: callvirt Void ReceiveMemo(System.String)
L_0115: Label1
L_0115: Label14
L_0115: Label0
L_0115: ret
DONE

### Patch RimWorld.Planet.Caravan_NeedsTracker, Void


TrySatisfyPawnNeeds(Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Need, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Need
L_0000: Local var 3: RimWorld.Need_Rest
L_0000: Local var 4: RimWorld.Need_Food
L_0000: Local var 5: RimWorld.Need_Chemical
L_0000: Local var 6: RimWorld.Need_Joy
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean TrySatisfyFuelNeeds(RimWorld.Planet.Caravan_NeedsTracker,
Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: callvirt Boolean get_Dead()
L_0017: brfalse Label1
L_001c: br Label11
L_0021: Label1
L_0021: ldarg.1
L_0022: ldfld RimWorld.Pawn_NeedsTracker needs
L_0027: callvirt System.Collections.Generic.List`1[RimWorld.Need] get_AllNeeds()
L_002c: stloc.0
L_002d: ldc.i4.0
L_002e: stloc.1
L_002f: br Label2
L_0034: Label10
L_0034: ldloc.0
L_0035: ldloc.1
L_0036: callvirt RimWorld.Need get_Item(Int32)
L_003b: stloc.2
L_003c: ldloc.2
L_003d: isinst RimWorld.Need_Rest
L_0042: stloc.3
L_0043: ldloc.2
L_0044: isinst RimWorld.Need_Food
L_0049: stloc.s 4 (RimWorld.Need_Food)
L_004b: ldloc.2
L_004c: isinst RimWorld.Need_Chemical
L_0051: stloc.s 5 (RimWorld.Need_Chemical)
L_0053: ldloc.2
L_0054: isinst RimWorld.Need_Joy
L_0059: stloc.s 6 (RimWorld.Need_Joy)
L_005b: ldloc.3
L_005c: brfalse Label3
L_0061: ldarg.0
L_0062: ldarg.1
L_0063: ldloc.3
L_0064: call Void TrySatisfyRestNeed(Verse.Pawn, RimWorld.Need_Rest)
L_0069: br Label4
L_006e: Label3
L_006e: ldloc.s 4 (RimWorld.Need_Food)
L_0070: brfalse Label5
L_0075: ldarg.0
L_0076: ldarg.1
L_0077: ldloc.s 4 (RimWorld.Need_Food)
L_0079: call Void TrySatisfyFoodNeed(Verse.Pawn, RimWorld.Need_Food)
L_007e: br Label6
L_0083: Label5
L_0083: ldloc.s 5 (RimWorld.Need_Chemical)
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: ldarg.1
L_008c: ldloc.s 5 (RimWorld.Need_Chemical)
L_008e: call Void TrySatisfyChemicalNeed(Verse.Pawn, RimWorld.Need_Chemical)
L_0093: br Label8
L_0098: Label7
L_0098: ldloc.s 6 (RimWorld.Need_Joy)
L_009a: brfalse Label9
L_009f: ldarg.0
L_00a0: ldarg.1
L_00a1: ldloc.s 6 (RimWorld.Need_Joy)
L_00a3: call Void TrySatisfyJoyNeed(Verse.Pawn, RimWorld.Need_Joy)
L_00a8: Label4
L_00a8: Label6
L_00a8: Label8
L_00a8: Label9
L_00a8: ldloc.1
L_00a9: ldc.i4.1
L_00aa: add
L_00ab: stloc.1
L_00ac: Label2
L_00ac: ldloc.1
L_00ad: ldloc.0
L_00ae: callvirt Int32 get_Count()
L_00b3: blt Label10
L_00b8: Label11
L_00b8: Label0
L_00b8: ret
DONE

### Patch RimWorld.JobGiver_PrepareCaravan_GatherItems, Verse.AI.Job


TryGiveJob(Verse.Pawn)
L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: Verse.AI.Job
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldloca 3 (Verse.AI.Job)
L_0004: ldarg 1
L_000a: call Boolean TryGiveItemJob_PreFix(Verse.AI.Job ByRef, Verse.Pawn)
L_000f: brfalse Label0
L_0014: ldarg.1
L_0015: ldfld Verse.Pawn_HealthTracker health
L_001a: ldfld Verse.PawnCapacitiesHandler capacities
L_001f: ldsfld Verse.PawnCapacityDef Manipulation
L_0024: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0029: brtrue Label1
L_002e: ldnull
L_002f: br Label3
L_0034: Label1
L_0034: ldarg.1
L_0035: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_003a: stloc.0
L_003b: ldarg.1
L_003c: ldloc.0
L_003d: call Verse.Thing FindThingToHaul(Verse.Pawn, Verse.AI.Group.Lord)
L_0042: stloc.1
L_0043: ldloc.1
L_0044: brtrue Label2
L_0049: ldnull
L_004a: br Label4
L_004f: Label2
L_004f: ldsfld Verse.JobDef PrepareCaravan_GatherItems
L_0054: ldloc.1
L_0055: call LocalTargetInfo op_Implicit(Verse.Thing)
L_005a: newobj Void .ctor(JobDef, LocalTargetInfo)
L_005f: stloc.2
L_0060: ldloc.2
L_0061: ldloc.0
L_0062: stfld Verse.AI.Group.Lord lord
L_0067: ldloc.2
L_0068: Label3
L_0068: Label4
L_0068: stloc 3 (Verse.AI.Job)
L_0069: Label0
L_0069: ldloc 3 (Verse.AI.Job)
L_006a: ret
DONE

### Patch RimWorld.Planet.Caravan, Void AddPawn(Verse.Pawn, Boolean)


L_0000: Local var 0: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: ldarg 2
L_000d: call Boolean AddVehiclePawnsToCaravan(RimWorld.Planet.Caravan, Verse.Pawn,
Boolean)
L_0012: brfalse Label0
L_0017: ldarg.1
L_0018: brtrue Label1
L_001d: ldstr "Tried to add a null pawn to "
L_0022: ldarg.0
L_0023: call System.String Concat(System.Object, System.Object)
L_0028: ldc.i4.0
L_0029: call Void Warning(System.String, Boolean)
L_002e: br Label11
L_0033: Label1
L_0033: ldarg.1
L_0034: callvirt Boolean get_Dead()
L_0039: brfalse Label2
L_003e: ldc.i4.5
L_003f: newarr System.Object
L_0044: dup
L_0045: ldc.i4.0
L_0046: ldstr "Tried to add "
L_004b: stelem.ref
L_004c: dup
L_004d: ldc.i4.1
L_004e: ldarg.1
L_004f: stelem.ref
L_0050: dup
L_0051: ldc.i4.2
L_0052: ldstr " to "
L_0057: stelem.ref
L_0058: dup
L_0059: ldc.i4.3
L_005a: ldarg.0
L_005b: stelem.ref
L_005c: dup
L_005d: ldc.i4.4
L_005e: ldstr ", but this pawn is dead."
L_0063: stelem.ref
L_0064: call System.String Concat(System.Object[])
L_0069: ldc.i4.0
L_006a: call Void Warning(System.String, Boolean)
L_006f: br Label12
L_0074: Label2
L_0074: ldarg.1
L_0075: ldfld Verse.Pawn_CarryTracker carryTracker
L_007a: callvirt Verse.Thing get_CarriedThing()
L_007f: isinst Verse.Pawn
L_0084: stloc.0
L_0085: ldloc.0
L_0086: brfalse Label3
L_008b: ldarg.1
L_008c: ldfld Verse.Pawn_CarryTracker carryTracker
L_0091: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_0096: ldloc.0
L_0097: callvirt Boolean Remove(Verse.Thing)
L_009c: pop
L_009d: Label3
L_009d: ldarg.1
L_009e: callvirt Boolean get_Spawned()
L_00a3: brfalse Label4
L_00a8: ldarg.1
L_00a9: ldc.i4.0
L_00aa: callvirt Void DeSpawn(DestroyMode)
L_00af: Label4
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00b5: ldarg.1
L_00b6: ldc.i4.1
L_00b7: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_00bc: brfalse Label5
L_00c1: ldarg.0
L_00c2: ldarg.1
L_00c3: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00c8: brfalse Label6
L_00cd: ldarg.1
L_00ce: ldfld RimWorld.Pawn_GuestTracker guest
L_00d3: ldarg.0
L_00d4: call RimWorld.Faction get_Faction()
L_00d9: ldnull
L_00da: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_00df: Label6
L_00df: ldloc.0
L_00e0: brfalse Label7
L_00e5: ldarg.0
L_00e6: ldloc.0
L_00e7: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00ec: brfalse Label8
L_00f1: ldloc.0
L_00f2: ldfld RimWorld.Pawn_GuestTracker guest
L_00f7: ldarg.0
L_00f8: call RimWorld.Faction get_Faction()
L_00fd: ldarg.1
L_00fe: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_0103: Label8
L_0103: ldarg.0
L_0104: ldloc.0
L_0105: ldarg.2
L_0106: call Void AddPawn(Verse.Pawn, Boolean)
L_010b: ldarg.2
L_010c: brfalse Label9
L_0111: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_0116: ldloc.0
L_0117: ldc.i4.0
L_0118: callvirt Void PassToWorld(Verse.Pawn, PawnDiscardDecideMode)
L_011d: Label7
L_011d: Label9
L_011d: br Label10
L_0122: Label5
L_0122: ldstr "Couldn't add pawn "
L_0127: ldarg.1
L_0128: ldstr " to caravan."
L_012d: call System.String Concat(System.Object, System.Object, System.Object)
L_0132: ldc.i4.0
L_0133: call Void Error(System.String, Boolean)
L_0138: Label10
L_0138: Label11
L_0138: Label12
L_0138: Label0
L_0138: ret
DONE

### Patch RimWorld.Planet.Dialog_SplitCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldarg 1
L_000d: ldloca 0 (System.Boolean)
L_000f: call Boolean
DontSplitCaravansWithVehicles(RimWorld.Planet.Dialog_SplitCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0014: brfalse Label0
L_0019: ldarg.1
L_001a: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_001f: brtrue Label1
L_0024: ldnull
L_0025: ldftn Boolean <CheckForErrors>m__4(Verse.Pawn)
L_002b: newobj Void .ctor(Object, IntPtr)
L_0030: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_0035: Label1
L_0035: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_003a: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_003f: brtrue Label2
L_0044: ldstr "CaravanMustHaveAtLeastOneColonist"
L_0049: call System.String Translate(System.String)
L_004e: ldarg.0
L_004f: ldfld RimWorld.Planet.Caravan caravan
L_0054: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_0059: ldsfld Verse.MessageTypeDef RejectInput
L_005e: ldc.i4.0
L_005f: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0064: ldc.i4.0
L_0065: br Label4
L_006a: Label2
L_006a: ldarg.0
L_006b: ldarg.1
L_006c: call Boolean
AnyNonDownedColonistLeftInSourceCaravan(System.Collections.Generic.List`1[Verse.Paw
n])
L_0071: brtrue Label3
L_0076: ldstr "SourceCaravanMustHaveAtLeastOneColonist"
L_007b: call System.String Translate(System.String)
L_0080: ldarg.0
L_0081: ldfld RimWorld.Planet.Caravan caravan
L_0086: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_008b: ldsfld Verse.MessageTypeDef RejectInput
L_0090: ldc.i4.0
L_0091: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0096: ldc.i4.0
L_0097: br Label5
L_009c: Label3
L_009c: ldc.i4.1
L_009d: Label4
L_009d: Label5
L_009d: stloc 0 (System.Boolean)
L_009e: Label0
L_009e: ldloc 0 (System.Boolean)
L_009f: ret
DONE

### Patch RimWorld.Dialog_FormCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey1
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3
L_0000: Local var 7: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Boolean)
L_0007: ldarg.0
L_0008: ldarg 1
L_000e: ldloca 7 (System.Boolean)
L_0010: call Boolean CheckForErrors_PreFix(RimWorld.Dialog_FormCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0015: brfalse Label0
L_001a: newobj Void .ctor()
L_001f: stloc.0
L_0020: ldloc.0
L_0021: ldarg.1
L_0022: stfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0027: ldarg.0
L_0028: call Boolean get_MustChooseRoute()
L_002d: brfalse Label1
L_0032: ldarg.0
L_0033: ldfld System.Int32 destinationTile
L_0038: ldc.i4.0
L_0039: bge Label2
L_003e: ldstr "MessageMustChooseRouteFirst"
L_0043: call System.String Translate(System.String)
L_0048: ldsfld Verse.MessageTypeDef RejectInput
L_004d: ldc.i4.0
L_004e: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0053: ldc.i4.0
L_0054: br Label24
L_0059: Label1
L_0059: Label2
L_0059: ldarg.0
L_005a: ldfld System.Boolean reform
L_005f: brtrue Label3
L_0064: ldarg.0
L_0065: ldfld System.Int32 startingTile
L_006a: ldc.i4.0
L_006b: bge Label4
L_0070: ldstr "MessageNoValidExitTile"
L_0075: call System.String Translate(System.String)
L_007a: ldsfld Verse.MessageTypeDef RejectInput
L_007f: ldc.i4.0
L_0080: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0085: ldc.i4.0
L_0086: br Label25
L_008b: Label3
L_008b: Label4
L_008b: ldloc.0
L_008c: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0091: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_0096: brtrue Label5
L_009b: ldnull
L_009c: ldftn Boolean <CheckForErrors>m__B(Verse.Pawn)
L_00a2: newobj Void .ctor(Object, IntPtr)
L_00a7: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00ac: Label5
L_00ac: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00b1: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_00b6: brtrue Label6
L_00bb: ldstr "CaravanMustHaveAtLeastOneColonist"
L_00c0: call System.String Translate(System.String)
L_00c5: ldsfld Verse.MessageTypeDef RejectInput
L_00ca: ldc.i4.0
L_00cb: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_00d0: ldc.i4.0
L_00d1: br Label26
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Boolean reform
L_00dc: brtrue Label7
L_00e1: ldarg.0
L_00e2: call Single get_MassUsage()
L_00e7: ldarg.0
L_00e8: call Single get_MassCapacity()
L_00ed: ble.un Label8
L_00f2: ldarg.0
L_00f3: call Void FlashMass()
L_00f8: ldstr "TooBigCaravanMassUsage"
L_00fd: call System.String Translate(System.String)
L_0102: ldsfld Verse.MessageTypeDef RejectInput
L_0107: ldc.i4.0
L_0108: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_010d: ldc.i4.0
L_010e: br Label27
L_0113: Label7
L_0113: Label8
L_0113: ldloc.0
L_0114: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0119: ldloc.0
L_011a: ldftn Boolean <>m__0(Verse.Pawn)
L_0120: newobj Void .ctor(Object, IntPtr)
L_0125: callvirt Verse.Pawn Find(System.Predicate`1[Verse.Pawn])
L_012a: stloc.1
L_012b: ldloc.1
L_012c: brfalse Label9
L_0131: ldstr "CaravanPawnIsUnreachable"
L_0136: ldc.i4.1
L_0137: newarr System.Object
L_013c: dup
L_013d: ldc.i4.0
L_013e: ldloc.1
L_013f: callvirt System.String get_LabelShort()
L_0144: stelem.ref
L_0145: call System.String Translate(System.String, System.Object[])
L_014a: call System.String CapitalizeFirst(System.String)
L_014f: ldloc.1
L_0150: call Verse.LookTargets op_Implicit(Verse.Thing)
L_0155: ldsfld Verse.MessageTypeDef RejectInput
L_015a: ldc.i4.0
L_015b: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0160: ldc.i4.0
L_0161: br Label28
L_0166: Label9
L_0166: ldc.i4.0
L_0167: stloc.2
L_0168: br Label10
L_016d: Label23
L_016d: ldarg.0
L_016e: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0173: ldloc.2
L_0174: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0179: callvirt Verse.ThingDef get_ThingDef()
L_017e: ldfld Verse.ThingCategory category
L_0183: ldc.i4.2
L_0184: beq Label11
L_0189: br Label12
L_018e: Label11
L_018e: ldarg.0
L_018f: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0194: ldloc.2
L_0195: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_019a: callvirt Int32 get_CountToTransfer()
L_019f: stloc.3
L_01a0: ldc.i4.0
L_01a1: stloc.s 4 (System.Int32)
L_01a3: ldloc.3
L_01a4: ldc.i4.0
L_01a5: ble Label13
L_01aa: ldc.i4.0
L_01ab: stloc.s 5 (System.Int32)
L_01ad: br Label14
L_01b2: Label19
L_01b2: newobj Void .ctor()
L_01b7: stloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01b9: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01bb: ldarg.0
L_01bc: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_01c1: ldloc.2
L_01c2: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_01c7: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_01cc: ldloc.s 5 (System.Int32)
L_01ce: callvirt Verse.Thing get_Item(Int32)
L_01d3: stfld Verse.Thing t
L_01d8: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01da: ldfld Verse.Thing t
L_01df: callvirt Boolean get_Spawned()
L_01e4: brfalse Label15
L_01e9: ldloc.0
L_01ea: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_01ef: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01f1: ldftn Boolean <>m__0(Verse.Pawn)
L_01f7: newobj Void .ctor(Object, IntPtr)
L_01fc: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_0201: brfalse Label16
L_0206: Label15
L_0206: ldloc.s 4 (System.Int32)
L_0208: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_020a: ldfld Verse.Thing t
L_020f: ldfld System.Int32 stackCount
L_0214: add
L_0215: stloc.s 4 (System.Int32)
L_0217: ldloc.s 4 (System.Int32)
L_0219: ldloc.3
L_021a: blt Label17
L_021f: br Label18
L_0224: Label16
L_0224: Label17
L_0224: ldloc.s 5 (System.Int32)
L_0226: ldc.i4.1
L_0227: add
L_0228: stloc.s 5 (System.Int32)
L_022a: Label14
L_022a: ldloc.s 5 (System.Int32)
L_022c: ldarg.0
L_022d: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0232: ldloc.2
L_0233: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0238: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_023d: callvirt Int32 get_Count()
L_0242: blt Label19
L_0247: Label18
L_0247: ldloc.s 4 (System.Int32)
L_0249: ldloc.3
L_024a: bge Label20
L_024f: ldloc.3
L_0250: ldc.i4.1
L_0251: bne.un Label21
L_0256: ldstr "CaravanItemIsUnreachableSingle"
L_025b: ldc.i4.1
L_025c: newarr System.Object
L_0261: dup
L_0262: ldc.i4.0
L_0263: ldarg.0
L_0264: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0269: ldloc.2
L_026a: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_026f: callvirt Verse.ThingDef get_ThingDef()
L_0274: ldfld System.String label
L_0279: stelem.ref
L_027a: call System.String Translate(System.String, System.Object[])
L_027f: ldsfld Verse.MessageTypeDef RejectInput
L_0284: ldc.i4.0
L_0285: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_028a: br Label22
L_028f: Label21
L_028f: ldstr "CaravanItemIsUnreachableMulti"
L_0294: ldc.i4.2
L_0295: newarr System.Object
L_029a: dup
L_029b: ldc.i4.0
L_029c: ldloc.3
L_029d: box System.Int32
L_02a2: stelem.ref
L_02a3: dup
L_02a4: ldc.i4.1
L_02a5: ldarg.0
L_02a6: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02ab: ldloc.2
L_02ac: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_02b1: callvirt Verse.ThingDef get_ThingDef()
L_02b6: ldfld System.String label
L_02bb: stelem.ref
L_02bc: call System.String Translate(System.String, System.Object[])
L_02c1: ldsfld Verse.MessageTypeDef RejectInput
L_02c6: ldc.i4.0
L_02c7: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_02cc: Label22
L_02cc: ldc.i4.0
L_02cd: br Label29
L_02d2: Label12
L_02d2: Label13
L_02d2: Label20
L_02d2: ldloc.2
L_02d3: ldc.i4.1
L_02d4: add
L_02d5: stloc.2
L_02d6: Label10
L_02d6: ldloc.2
L_02d7: ldarg.0
L_02d8: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02dd: callvirt Int32 get_Count()
L_02e2: blt Label23
L_02e7: ldc.i4.1
L_02e8: Label24
L_02e8: Label25
L_02e8: Label26
L_02e8: Label27
L_02e8: Label28
L_02e8: Label29
L_02e8: stloc 7 (System.Boolean)
L_02ea: Label0
L_02ea: ldloc 7 (System.Boolean)
L_02ec: ret
DONE

### Patch RimWorld.Planet.CaravanUIUtility, Void


AddPawnsSections(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[RimWorld.TransferableOneWay, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.1
L_0001: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0006: brtrue Label1
L_000b: ldnull
L_000c: ldftn Boolean <AddPawnsSections>m__1(RimWorld.TransferableOneWay)
L_0012: newobj Void .ctor(Object, IntPtr)
L_0017: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_001c: Label1
L_001c: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0021: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0026: stloc.0
L_0027: ldarg.0
L_0028: ldstr "ColonistsSection"
L_002d: call System.String Translate(System.String)
L_0032: ldloc.0
L_0033: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0038: brtrue Label2
L_003d: ldnull
L_003e: ldftn Boolean <AddPawnsSections>m__2(RimWorld.TransferableOneWay)
L_0044: newobj Void .ctor(Object, IntPtr)
L_0049: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_004e: Label2
L_004e: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0053: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0058: callvirt Void AddSection(System.String, IEnumerable`1)
L_005d: ldarg.0
L_005e: ldstr "PrisonersSection"
L_0063: call System.String Translate(System.String)
L_0068: ldloc.0
L_0069: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_006e: brtrue Label3
L_0073: ldnull
L_0074: ldftn Boolean <AddPawnsSections>m__3(RimWorld.TransferableOneWay)
L_007a: newobj Void .ctor(Object, IntPtr)
L_007f: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0084: Label3
L_0084: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0089: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_008e: callvirt Void AddSection(System.String, IEnumerable`1)
L_0093: ldarg.0
L_0094: ldstr "CaptureSection"
L_0099: call System.String Translate(System.String)
L_009e: ldloc.0
L_009f: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00a4: brtrue Label4
L_00a9: ldnull
L_00aa: ldftn Boolean <AddPawnsSections>m__4(RimWorld.TransferableOneWay)
L_00b0: newobj Void .ctor(Object, IntPtr)
L_00b5: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00ba: Label4
L_00ba: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00bf: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00c4: callvirt Void AddSection(System.String, IEnumerable`1)
L_00c9: ldarg.0
L_00ca: ldstr "AnimalsSection"
L_00cf: call System.String Translate(System.String)
L_00d4: ldloc.0
L_00d5: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00da: brtrue Label5
L_00df: ldnull
L_00e0: ldftn Boolean <AddPawnsSections>m__5(RimWorld.TransferableOneWay)
L_00e6: newobj Void .ctor(Object, IntPtr)
L_00eb: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f0: Label5
L_00f0: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f5: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00fa: callvirt Void AddSection(System.String, IEnumerable`1)
L_00ff: ldarg 0
L_0105: ldarg 1
L_010b: call Void AddPawnsSections_PostFix(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0110: ret
DONE

### Patch RimWorld.Planet.CaravanExitMapUtility, Boolean


CanExitMapAndJoinOrCreateCaravanNow(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Boolean get_Spawned()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label5
L_0017: Label1
L_0017: ldarg.0
L_0018: callvirt Verse.Map get_Map()
L_001d: ldfld Verse.ExitMapGrid exitMapGrid
L_0022: callvirt Boolean get_MapUsesExitGrid()
L_0027: brtrue Label2
L_002c: ldc.i4.0
L_002d: br Label6
L_0032: Label2
L_0032: ldarg.0
L_0033: callvirt Boolean get_IsColonist()
L_0038: brtrue Label3
L_003d: ldarg.0
L_003e: call RimWorld.Planet.Caravan FindCaravanToJoinFor(Verse.Pawn)
L_0043: ldnull
L_0044: ceq
L_0046: ldc.i4.0
L_0047: ceq
L_0049: br Label4
L_004e: Label3
L_004e: ldc.i4.1
L_004f: Label4
L_004f: Label5
L_004f: Label6
L_004f: stloc 0 (System.Boolean)
L_0050: ldarg 0
L_0056: ldloca 0 (System.Boolean)
L_0058: call Void CanExit_PostFix(Verse.Pawn, Boolean ByRef)
L_005d: ldloc 0 (System.Boolean)
L_005e: ret
DONE

### Patch RimWorld.MassUtility, Single Capacity(Verse.Pawn,


System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Single
L_0000: ldc.r4 0
L_0005: stloc 1 (System.Single)
L_0006: ldarg.0
L_0007: call Boolean CanEverCarryAnything(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldc.r4 0
L_0016: br Label4
L_001b: Label1
L_001b: ldarg.0
L_001c: callvirt Single get_BodySize()
L_0021: ldc.r4 35
L_0026: mul
L_0027: stloc.0
L_0028: ldarg.1
L_0029: brfalse Label2
L_002e: ldarg.1
L_002f: callvirt Int32 get_Length()
L_0034: ldc.i4.0
L_0035: ble Label3
L_003a: ldarg.1
L_003b: callvirt System.Text.StringBuilder AppendLine()
L_0040: pop
L_0041: Label3
L_0041: ldarg.1
L_0042: ldstr " - "
L_0047: ldarg.0
L_0048: callvirt System.String get_LabelShortCap()
L_004d: ldstr ": "
L_0052: ldloc.0
L_0053: call System.String ToStringMassOffset(Single)
L_0058: call System.String Concat(System.String, System.String, System.String,
System.String)
L_005d: callvirt System.Text.StringBuilder Append(System.String)
L_0062: pop
L_0063: Label2
L_0063: ldloc.0
L_0064: Label4
L_0064: stloc 1 (System.Single)
L_0065: ldloca 1 (System.Single)
L_0067: ldarg 0
L_006d: call Void Capacity_PostFix(Single ByRef, Verse.Pawn)
L_0072: ldloc 1 (System.Single)
L_0073: ret
DONE

### Patch RimWorld.Planet.CaravanTicksPerMoveUtility, Int32


GetTicksPerMove(System.Collections.Generic.List`1[Verse.Pawn], Single, Single,
System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Single
L_0000: Local var 3: System.Single
L_0000: Local var 4: System.Single
L_0000: Local var 5: System.Single
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Single
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldarg.0
L_0008: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn])
L_000d: brfalse Label1
L_0012: ldarg.3
L_0013: brfalse Label2
L_0018: ldarg.3
L_0019: ldstr "CaravanMovementSpeedFull"
L_001e: call System.String Translate(System.String)
L_0023: ldstr ":"
L_0028: call System.String Concat(System.String, System.String)
L_002d: callvirt System.Text.StringBuilder Append(System.String)
L_0032: pop
L_0033: Label2
L_0033: ldc.r4 0
L_0038: stloc.0
L_0039: ldc.i4.0
L_003a: stloc.1
L_003b: br Label3
L_0040: Label11
L_0040: ldarg.0
L_0041: ldloc.1
L_0042: callvirt Verse.Pawn get_Item(Int32)
L_0047: callvirt Boolean get_Downed()
L_004c: brtrue Label4
L_0051: ldarg.0
L_0052: ldloc.1
L_0053: callvirt Verse.Pawn get_Item(Int32)
L_0058: call Boolean CarriedByCaravan(Verse.Pawn)
L_005d: brfalse Label5
L_0062: Label4
L_0062: ldc.i4 450
L_0067: br Label6
L_006c: Label5
L_006c: ldarg.0
L_006d: ldloc.1
L_006e: callvirt Verse.Pawn get_Item(Int32)
L_0073: callvirt Int32 get_TicksPerMoveCardinal()
L_0078: Label6
L_0078: conv.r4
L_0079: stloc.2
L_007a: ldloc.2
L_007b: ldc.r4 150
L_0080: call Single Min(Single, Single)
L_0085: ldc.r4 340
L_008a: mul
L_008b: stloc.2
L_008c: ldc.r4 60000
L_0091: ldloc.2
L_0092: conv.r4
L_0093: div
L_0094: stloc.3
L_0095: ldarg.3
L_0096: brfalse Label7
L_009b: ldarg.3
L_009c: callvirt System.Text.StringBuilder AppendLine()
L_00a1: pop
L_00a2: ldarg.3
L_00a3: ldc.i4.6
L_00a4: newarr System.String
L_00a9: dup
L_00aa: ldc.i4.0
L_00ab: ldstr " - "
L_00b0: stelem.ref
L_00b1: dup
L_00b2: ldc.i4.1
L_00b3: ldarg.0
L_00b4: ldloc.1
L_00b5: callvirt Verse.Pawn get_Item(Int32)
L_00ba: callvirt System.String get_LabelShortCap()
L_00bf: stelem.ref
L_00c0: dup
L_00c1: ldc.i4.2
L_00c2: ldstr ": "
L_00c7: stelem.ref
L_00c8: dup
L_00c9: ldc.i4.3
L_00ca: ldloca.s 3 (System.Single)
L_00cc: ldstr "0.#"
L_00d1: call System.String ToString(System.String)
L_00d6: stelem.ref
L_00d7: dup
L_00d8: ldc.i4.4
L_00d9: ldstr " "
L_00de: stelem.ref
L_00df: dup
L_00e0: ldc.i4.5
L_00e1: ldstr "TilesPerDay"
L_00e6: call System.String Translate(System.String)
L_00eb: stelem.ref
L_00ec: call System.String Concat(System.String[])
L_00f1: callvirt System.Text.StringBuilder Append(System.String)
L_00f6: pop
L_00f7: ldarg.0
L_00f8: ldloc.1
L_00f9: callvirt Verse.Pawn get_Item(Int32)
L_00fe: callvirt Boolean get_Downed()
L_0103: brfalse Label8
L_0108: ldarg.3
L_0109: ldstr " ("
L_010e: ldstr "DownedLower"
L_0113: call System.String Translate(System.String)
L_0118: ldstr ")"
L_011d: call System.String Concat(System.String, System.String, System.String)
L_0122: callvirt System.Text.StringBuilder Append(System.String)
L_0127: pop
L_0128: br Label9
L_012d: Label8
L_012d: ldarg.0
L_012e: ldloc.1
L_012f: callvirt Verse.Pawn get_Item(Int32)
L_0134: call Boolean CarriedByCaravan(Verse.Pawn)
L_0139: brfalse Label10
L_013e: ldarg.3
L_013f: ldstr " ("
L_0144: ldstr "Carried"
L_0149: call System.String Translate(System.String)
L_014e: ldstr ")"
L_0153: call System.String Concat(System.String, System.String, System.String)
L_0158: callvirt System.Text.StringBuilder Append(System.String)
L_015d: pop
L_015e: Label7
L_015e: Label9
L_015e: Label10
L_015e: ldloc.0
L_015f: ldloc.2
L_0160: ldarg.0
L_0161: callvirt Int32 get_Count()
L_0166: conv.r4
L_0167: div
L_0168: add
L_0169: stloc.0
L_016a: ldloc.1
L_016b: ldc.i4.1
L_016c: add
L_016d: stloc.1
L_016e: Label3
L_016e: ldloc.1
L_016f: ldarg.0
L_0170: callvirt Int32 get_Count()
L_0175: blt Label11
L_017a: ldarg.1
L_017b: ldarg.2
L_017c: call Single GetMoveSpeedFactorFromMass(Single, Single)
L_0181: stloc.s 4 (System.Single)
L_0183: ldarg.3
L_0184: brfalse Label12
L_0189: ldc.r4 60000
L_018e: ldloc.0
L_018f: conv.r4
L_0190: div
L_0191: stloc.s 5 (System.Single)
L_0193: ldarg.3
L_0194: callvirt System.Text.StringBuilder AppendLine()
L_0199: pop
L_019a: ldarg.3
L_019b: ldc.i4.6
L_019c: newarr System.String
L_01a1: dup
L_01a2: ldc.i4.0
L_01a3: ldstr " "
L_01a8: stelem.ref
L_01a9: dup
L_01aa: ldc.i4.1
L_01ab: ldstr "Average"
L_01b0: call System.String Translate(System.String)
L_01b5: stelem.ref
L_01b6: dup
L_01b7: ldc.i4.2
L_01b8: ldstr ": "
L_01bd: stelem.ref
L_01be: dup
L_01bf: ldc.i4.3
L_01c0: ldloca.s 5 (System.Single)
L_01c2: ldstr "0.#"
L_01c7: call System.String ToString(System.String)
L_01cc: stelem.ref
L_01cd: dup
L_01ce: ldc.i4.4
L_01cf: ldstr " "
L_01d4: stelem.ref
L_01d5: dup
L_01d6: ldc.i4.5
L_01d7: ldstr "TilesPerDay"
L_01dc: call System.String Translate(System.String)
L_01e1: stelem.ref
L_01e2: call System.String Concat(System.String[])
L_01e7: callvirt System.Text.StringBuilder Append(System.String)
L_01ec: pop
L_01ed: ldarg.3
L_01ee: callvirt System.Text.StringBuilder AppendLine()
L_01f3: pop
L_01f4: ldarg.3
L_01f5: ldstr " "
L_01fa: ldstr "MultiplierForCarriedMass"
L_01ff: ldc.i4.1
L_0200: newarr System.Object
L_0205: dup
L_0206: ldc.i4.0
L_0207: ldloc.s 4 (System.Single)
L_0209: call System.String ToStringPercent(Single)
L_020e: stelem.ref
L_020f: call System.String Translate(System.String, System.Object[])
L_0214: call System.String Concat(System.String, System.String)
L_0219: callvirt System.Text.StringBuilder Append(System.String)
L_021e: pop
L_021f: Label12
L_021f: ldloc.0
L_0220: ldloc.s 4 (System.Single)
L_0222: div
L_0223: call Int32 RoundToInt(Single)
L_0228: ldc.i4.1
L_0229: call Int32 Max(Int32, Int32)
L_022e: stloc.s 6 (System.Int32)
L_0230: ldarg.3
L_0231: brfalse Label13
L_0236: ldc.r4 60000
L_023b: ldloc.s 6 (System.Int32)
L_023d: conv.r4
L_023e: div
L_023f: stloc.s 7 (System.Single)
L_0241: ldarg.3
L_0242: callvirt System.Text.StringBuilder AppendLine()
L_0247: pop
L_0248: ldarg.3
L_0249: ldc.i4.6
L_024a: newarr System.String
L_024f: dup
L_0250: ldc.i4.0
L_0251: ldstr " "
L_0256: stelem.ref
L_0257: dup
L_0258: ldc.i4.1
L_0259: ldstr "FinalCaravanPawnsMovementSpeed"
L_025e: call System.String Translate(System.String)
L_0263: stelem.ref
L_0264: dup
L_0265: ldc.i4.2
L_0266: ldstr ": "
L_026b: stelem.ref
L_026c: dup
L_026d: ldc.i4.3
L_026e: ldloca.s 7 (System.Single)
L_0270: ldstr "0.#"
L_0275: call System.String ToString(System.String)
L_027a: stelem.ref
L_027b: dup
L_027c: ldc.i4.4
L_027d: ldstr " "
L_0282: stelem.ref
L_0283: dup
L_0284: ldc.i4.5
L_0285: ldstr "TilesPerDay"
L_028a: call System.String Translate(System.String)
L_028f: stelem.ref
L_0290: call System.String Concat(System.String[])
L_0295: callvirt System.Text.StringBuilder Append(System.String)
L_029a: pop
L_029b: Label13
L_029b: ldloc.s 6 (System.Int32)
L_029d: br Label15
L_02a2: Label1
L_02a2: ldarg.3
L_02a3: brfalse Label14
L_02a8: ldarg.3
L_02a9: call Void AppendUsingDefaultTicksPerMoveInfo(System.Text.StringBuilder)
L_02ae: Label14
L_02ae: ldc.i4 3300
L_02b3: Label15
L_02b3: stloc 8 (System.Int32)
L_02b5: ldarg 0
L_02bb: ldloca 8 (System.Int32)
L_02bd: call Void
GetTicksPerMove_PostFix(System.Collections.Generic.List`1[Verse.Pawn], Int32 ByRef)
L_02c2: ldloc 8 (System.Int32)
L_02c4: ret
DONE

### Patch RimWorld.Planet.CaravanEnterMapUtility, Void


Enter(RimWorld.Planet.Caravan, Verse.Map, System.Func`2[Verse.Pawn,Verse.IntVec3],
CaravanDropInventoryMode, Boolean)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: call Void Enter_PreFix(RimWorld.Planet.Caravan)
L_000b: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0010: callvirt Void Clear()
L_0015: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_001a: ldarg.0
L_001b: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_0020: callvirt Void AddRange(IEnumerable`1)
L_0025: ldc.i4.0
L_0026: stloc.0
L_0027: br Label1
L_002c: Label2
L_002c: ldarg.2
L_002d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0032: ldloc.0
L_0033: callvirt Verse.Pawn get_Item(Int32)
L_0038: callvirt IntVec3 Invoke(Verse.Pawn)
L_003d: stloc.1
L_003e: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0043: ldloc.0
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: ldloc.1
L_004a: ldarg.1
L_004b: call Rot4 get_Random()
L_0050: ldc.i4.0
L_0051: ldc.i4.0
L_0052: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0057: pop
L_0058: ldloc.0
L_0059: ldc.i4.1
L_005a: add
L_005b: stloc.0
L_005c: Label1
L_005c: ldloc.0
L_005d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0062: callvirt Int32 get_Count()
L_0067: blt Label2
L_006c: ldarg.3
L_006d: ldc.i4.1
L_006e: bne.un Label3
L_0073: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0078: call Void DropAllInventory(System.Collections.Generic.List`1[Verse.Pawn])
L_007d: br Label4
L_0082: Label3
L_0082: ldarg.3
L_0083: ldc.i4.2
L_0084: bne.un Label5
L_0089: ldc.i4.0
L_008a: stloc.2
L_008b: br Label6
L_0090: Label7
L_0090: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0095: ldloc.2
L_0096: callvirt Verse.Pawn get_Item(Int32)
L_009b: ldfld Verse.Pawn_InventoryTracker inventory
L_00a0: ldc.i4.1
L_00a1: callvirt Void set_UnloadEverything(Boolean)
L_00a6: ldloc.2
L_00a7: ldc.i4.1
L_00a8: add
L_00a9: stloc.2
L_00aa: Label6
L_00aa: ldloc.2
L_00ab: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00b0: callvirt Int32 get_Count()
L_00b5: blt Label7
L_00ba: Label4
L_00ba: Label5
L_00ba: ldarg.s 4
L_00bc: brfalse Label8
L_00c1: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00c6: call Void DraftColonists(System.Collections.Generic.List`1[Verse.Pawn])
L_00cb: Label8
L_00cb: ldarg.1
L_00cc: callvirt Boolean get_IsPlayerHome()
L_00d1: brfalse Label9
L_00d6: ldc.i4.0
L_00d7: stloc.3
L_00d8: br Label10
L_00dd: Label12
L_00dd: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00e2: ldloc.3
L_00e3: callvirt Verse.Pawn get_Item(Int32)
L_00e8: callvirt Boolean get_IsPrisoner()
L_00ed: brfalse Label11
L_00f2: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00f7: ldloc.3
L_00f8: callvirt Verse.Pawn get_Item(Int32)
L_00fd: ldfld RimWorld.Pawn_GuestTracker guest
L_0102: callvirt Void WaitInsteadOfEscapingForDefaultTicks()
L_0107: Label11
L_0107: ldloc.3
L_0108: ldc.i4.1
L_0109: add
L_010a: stloc.3
L_010b: Label10
L_010b: ldloc.3
L_010c: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0111: callvirt Int32 get_Count()
L_0116: blt Label12
L_011b: Label9
L_011b: ldarg.0
L_011c: callvirt Void RemoveAllPawns()
L_0121: ldarg.0
L_0122: callvirt Boolean get_Spawned()
L_0127: brfalse Label13
L_012c: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_0131: ldarg.0
L_0132: callvirt Void Remove(RimWorld.Planet.WorldObject)
L_0137: Label13
L_0137: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_013c: callvirt Void Clear()
L_0141: ret
DONE

### Patch RimWorld.Planet.Caravan, System.String GetInspectString()


L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Int32
L_0000: Local var 7: RimWorld.Planet.SettlementBase
L_0000: Local var 8: System.Single
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Int32
L_0000: Local var 11: System.String
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: ldnull
L_0001: stloc 13 (System.String)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: call System.String GetInspectString()
L_0010: callvirt System.Text.StringBuilder Append(System.String)
L_0015: pop
L_0016: ldloc.0
L_0017: callvirt Int32 get_Length()
L_001c: brfalse Label1
L_0021: ldloc.0
L_0022: callvirt System.Text.StringBuilder AppendLine()
L_0027: pop
L_0028: Label1
L_0028: ldc.i4.0
L_0029: stloc.1
L_002a: ldc.i4.0
L_002b: stloc.2
L_002c: ldc.i4.0
L_002d: stloc.3
L_002e: ldc.i4.0
L_002f: stloc.s 4 (System.Int32)
L_0031: ldc.i4.0
L_0032: stloc.s 5 (System.Int32)
L_0034: ldc.i4.0
L_0035: stloc.s 6 (System.Int32)
L_0037: br Label2
L_003c: Label10
L_003c: ldarg.0
L_003d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0042: ldloc.s 6 (System.Int32)
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: callvirt Boolean get_IsColonist()
L_004e: brfalse Label3
L_0053: ldloc.1
L_0054: ldc.i4.1
L_0055: add
L_0056: stloc.1
L_0057: br Label4
L_005c: Label3
L_005c: ldarg.0
L_005d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0062: ldloc.s 6 (System.Int32)
L_0064: callvirt Verse.Pawn get_Item(Int32)
L_0069: callvirt Verse.RaceProperties get_RaceProps()
L_006e: callvirt Boolean get_Animal()
L_0073: brfalse Label5
L_0078: ldloc.2
L_0079: ldc.i4.1
L_007a: add
L_007b: stloc.2
L_007c: br Label6
L_0081: Label5
L_0081: ldarg.0
L_0082: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0087: ldloc.s 6 (System.Int32)
L_0089: callvirt Verse.Pawn get_Item(Int32)
L_008e: callvirt Boolean get_IsPrisoner()
L_0093: brfalse Label7
L_0098: ldloc.3
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.3
L_009c: Label4
L_009c: Label6
L_009c: Label7
L_009c: ldarg.0
L_009d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00a2: ldloc.s 6 (System.Int32)
L_00a4: callvirt Verse.Pawn get_Item(Int32)
L_00a9: callvirt Boolean get_Downed()
L_00ae: brfalse Label8
L_00b3: ldloc.s 4 (System.Int32)
L_00b5: ldc.i4.1
L_00b6: add
L_00b7: stloc.s 4 (System.Int32)
L_00b9: Label8
L_00b9: ldarg.0
L_00ba: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00bf: ldloc.s 6 (System.Int32)
L_00c1: callvirt Verse.Pawn get_Item(Int32)
L_00c6: callvirt Boolean get_InMentalState()
L_00cb: brfalse Label9
L_00d0: ldloc.s 5 (System.Int32)
L_00d2: ldc.i4.1
L_00d3: add
L_00d4: stloc.s 5 (System.Int32)
L_00d6: Label9
L_00d6: ldloc.s 6 (System.Int32)
L_00d8: ldc.i4.1
L_00d9: add
L_00da: stloc.s 6 (System.Int32)
L_00dc: Label2
L_00dc: ldloc.s 6 (System.Int32)
L_00de: ldarg.0
L_00df: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00e4: callvirt Int32 get_Count()
L_00e9: blt Label10
L_00ee: ldloc.0
L_00ef: ldstr "CaravanColonistsCount"
L_00f4: ldc.i4.2
L_00f5: newarr System.Object
L_00fa: dup
L_00fb: ldc.i4.0
L_00fc: ldloc.1
L_00fd: box System.Int32
L_0102: stelem.ref
L_0103: dup
L_0104: ldc.i4.1
L_0105: ldloc.1
L_0106: ldc.i4.1
L_0107: bne.un Label11
L_010c: call RimWorld.Faction get_OfPlayer()
L_0111: ldfld RimWorld.FactionDef def
L_0116: ldfld System.String pawnSingular
L_011b: br Label12
L_0120: Label11
L_0120: call RimWorld.Faction get_OfPlayer()
L_0125: ldfld RimWorld.FactionDef def
L_012a: ldfld System.String pawnsPlural
L_012f: Label12
L_012f: stelem.ref
L_0130: call System.String Translate(System.String, System.Object[])
L_0135: callvirt System.Text.StringBuilder Append(System.String)
L_013a: pop
L_013b: ldloc.2
L_013c: ldc.i4.1
L_013d: bne.un Label13
L_0142: ldloc.0
L_0143: ldstr ", "
L_0148: ldstr "CaravanAnimal"
L_014d: call System.String Translate(System.String)
L_0152: call System.String Concat(System.String, System.String)
L_0157: callvirt System.Text.StringBuilder Append(System.String)
L_015c: pop
L_015d: br Label14
L_0162: Label13
L_0162: ldloc.2
L_0163: ldc.i4.1
L_0164: ble Label15
L_0169: ldloc.0
L_016a: ldstr ", "
L_016f: ldstr "CaravanAnimalsCount"
L_0174: ldc.i4.1
L_0175: newarr System.Object
L_017a: dup
L_017b: ldc.i4.0
L_017c: ldloc.2
L_017d: box System.Int32
L_0182: stelem.ref
L_0183: call System.String Translate(System.String, System.Object[])
L_0188: call System.String Concat(System.String, System.String)
L_018d: callvirt System.Text.StringBuilder Append(System.String)
L_0192: pop
L_0193: Label14
L_0193: Label15
L_0193: ldloc.3
L_0194: ldc.i4.1
L_0195: bne.un Label16
L_019a: ldloc.0
L_019b: ldstr ", "
L_01a0: ldstr "CaravanPrisoner"
L_01a5: call System.String Translate(System.String)
L_01aa: call System.String Concat(System.String, System.String)
L_01af: callvirt System.Text.StringBuilder Append(System.String)
L_01b4: pop
L_01b5: br Label17
L_01ba: Label16
L_01ba: ldloc.3
L_01bb: ldc.i4.1
L_01bc: ble Label18
L_01c1: ldloc.0
L_01c2: ldstr ", "
L_01c7: ldstr "CaravanPrisonersCount"
L_01cc: ldc.i4.1
L_01cd: newarr System.Object
L_01d2: dup
L_01d3: ldc.i4.0
L_01d4: ldloc.3
L_01d5: box System.Int32
L_01da: stelem.ref
L_01db: call System.String Translate(System.String, System.Object[])
L_01e0: call System.String Concat(System.String, System.String)
L_01e5: callvirt System.Text.StringBuilder Append(System.String)
L_01ea: pop
L_01eb: Label17
L_01eb: Label18
L_01eb: ldloc.0
L_01ec: callvirt System.Text.StringBuilder AppendLine()
L_01f1: pop
L_01f2: ldloc.s 5 (System.Int32)
L_01f4: ldc.i4.0
L_01f5: ble Label19
L_01fa: ldloc.0
L_01fb: ldstr "CaravanPawnsInMentalState"
L_0200: ldc.i4.1
L_0201: newarr System.Object
L_0206: dup
L_0207: ldc.i4.0
L_0208: ldloc.s 5 (System.Int32)
L_020a: box System.Int32
L_020f: stelem.ref
L_0210: call System.String Translate(System.String, System.Object[])
L_0215: callvirt System.Text.StringBuilder Append(System.String)
L_021a: pop
L_021b: Label19
L_021b: ldloc.s 4 (System.Int32)
L_021d: ldc.i4.0
L_021e: ble Label20
L_0223: ldloc.s 5 (System.Int32)
L_0225: ldc.i4.0
L_0226: ble Label21
L_022b: ldloc.0
L_022c: ldstr ", "
L_0231: callvirt System.Text.StringBuilder Append(System.String)
L_0236: pop
L_0237: Label21
L_0237: ldloc.0
L_0238: ldstr "CaravanPawnsDowned"
L_023d: ldc.i4.1
L_023e: newarr System.Object
L_0243: dup
L_0244: ldc.i4.0
L_0245: ldloc.s 4 (System.Int32)
L_0247: box System.Int32
L_024c: stelem.ref
L_024d: call System.String Translate(System.String, System.Object[])
L_0252: callvirt System.Text.StringBuilder Append(System.String)
L_0257: pop
L_0258: Label20
L_0258: ldloc.s 5 (System.Int32)
L_025a: ldc.i4.0
L_025b: bgt Label22
L_0260: ldloc.s 4 (System.Int32)
L_0262: ldc.i4.0
L_0263: ble Label23
L_0268: Label22
L_0268: ldloc.0
L_0269: callvirt System.Text.StringBuilder AppendLine()
L_026e: pop
L_026f: Label23
L_026f: ldarg.0
L_0270: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0275: callvirt Boolean get_Moving()
L_027a: brfalse Label24
L_027f: ldarg.0
L_0280: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0285: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_028a: brfalse Label25
L_028f: ldloc.0
L_0290: ldarg.0
L_0291: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0296: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_029b: callvirt System.String get_ReportString()
L_02a0: callvirt System.Text.StringBuilder Append(System.String)
L_02a5: pop
L_02a6: br Label26
L_02ab: Label25
L_02ab: ldloc.0
L_02ac: ldstr "CaravanTraveling"
L_02b1: call System.String Translate(System.String)
L_02b6: callvirt System.Text.StringBuilder Append(System.String)
L_02bb: pop
L_02bc: Label26
L_02bc: br Label27
L_02c1: Label24
L_02c1: ldarg.0
L_02c2: call RimWorld.Planet.SettlementBase
SettlementVisitedNow(RimWorld.Planet.Caravan)
L_02c7: stloc.s 7 (RimWorld.Planet.SettlementBase)
L_02c9: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02cb: brfalse Label28
L_02d0: ldloc.0
L_02d1: ldstr "CaravanVisiting"
L_02d6: ldc.i4.1
L_02d7: newarr System.Object
L_02dc: dup
L_02dd: ldc.i4.0
L_02de: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02e0: callvirt System.String get_Label()
L_02e5: stelem.ref
L_02e6: call System.String Translate(System.String, System.Object[])
L_02eb: callvirt System.Text.StringBuilder Append(System.String)
L_02f0: pop
L_02f1: br Label29
L_02f6: Label28
L_02f6: ldloc.0
L_02f7: ldstr "CaravanWaiting"
L_02fc: call System.String Translate(System.String)
L_0301: callvirt System.Text.StringBuilder Append(System.String)
L_0306: pop
L_0307: Label27
L_0307: Label29
L_0307: ldarg.0
L_0308: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_030d: callvirt Boolean get_Moving()
L_0312: brfalse Label30
L_0317: ldarg.0
L_0318: ldc.i4.1
L_0319: call Int32 EstimatedTicksToArrive(RimWorld.Planet.Caravan, Boolean)
L_031e: conv.r4
L_031f: ldc.r4 60000
L_0324: div
L_0325: stloc.s 8 (System.Single)
L_0327: ldloc.0
L_0328: callvirt System.Text.StringBuilder AppendLine()
L_032d: pop
L_032e: ldloc.0
L_032f: ldstr "CaravanEstimatedTimeToDestination"
L_0334: ldc.i4.1
L_0335: newarr System.Object
L_033a: dup
L_033b: ldc.i4.0
L_033c: ldloca.s 8 (System.Single)
L_033e: ldstr "0.#"
L_0343: call System.String ToString(System.String)
L_0348: stelem.ref
L_0349: call System.String Translate(System.String, System.Object[])
L_034e: callvirt System.Text.StringBuilder Append(System.String)
L_0353: pop
L_0354: Label30
L_0354: ldarg.0
L_0355: call Boolean get_AllOwnersDowned()
L_035a: brfalse Label31
L_035f: ldloc.0
L_0360: callvirt System.Text.StringBuilder AppendLine()
L_0365: pop
L_0366: ldloc.0
L_0367: ldstr "AllCaravanMembersDowned"
L_036c: call System.String Translate(System.String)
L_0371: callvirt System.Text.StringBuilder Append(System.String)
L_0376: pop
L_0377: br Label32
L_037c: Label31
L_037c: ldarg.0
L_037d: call Boolean get_AllOwnersHaveMentalBreak()
L_0382: brfalse Label33
L_0387: ldloc.0
L_0388: callvirt System.Text.StringBuilder AppendLine()
L_038d: pop
L_038e: ldloc.0
L_038f: ldstr "AllCaravanMembersMentalBreak"
L_0394: call System.String Translate(System.String)
L_0399: callvirt System.Text.StringBuilder Append(System.String)
L_039e: pop
L_039f: br Label34
L_03a4: Label33
L_03a4: ldarg.0
L_03a5: call Boolean get_ImmobilizedByMass()
L_03aa: brfalse Label35
L_03af: ldloc.0
L_03b0: callvirt System.Text.StringBuilder AppendLine()
L_03b5: pop
L_03b6: ldloc.0
L_03b7: ldstr "CaravanImmobilizedByMass"
L_03bc: call System.String Translate(System.String)
L_03c1: callvirt System.Text.StringBuilder Append(System.String)
L_03c6: pop
L_03c7: Label32
L_03c7: Label34
L_03c7: Label35
L_03c7: ldarg.0
L_03c8: ldfld RimWorld.Planet.Caravan_NeedsTracker needs
L_03cd: ldloca.s 9 (System.String)
L_03cf: callvirt Boolean AnyPawnOutOfFood(System.String ByRef)
L_03d4: brfalse Label36
L_03d9: ldloc.0
L_03da: callvirt System.Text.StringBuilder AppendLine()
L_03df: pop
L_03e0: ldloc.0
L_03e1: ldstr "CaravanOutOfFood"
L_03e6: call System.String Translate(System.String)
L_03eb: callvirt System.Text.StringBuilder Append(System.String)
L_03f0: pop
L_03f1: ldloc.s 9 (System.String)
L_03f3: call Boolean NullOrEmpty(System.String)
L_03f8: brtrue Label37
L_03fd: ldloc.0
L_03fe: ldstr " "
L_0403: callvirt System.Text.StringBuilder Append(System.String)
L_0408: pop
L_0409: ldloc.0
L_040a: ldloc.s 9 (System.String)
L_040c: callvirt System.Text.StringBuilder Append(System.String)
L_0411: pop
L_0412: ldloc.0
L_0413: ldstr "."
L_0418: callvirt System.Text.StringBuilder Append(System.String)
L_041d: pop
L_041e: Label36
L_041e: Label37
L_041e: ldarg.0
L_041f: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0424: callvirt Boolean get_MovingNow()
L_0429: brtrue Label38
L_042e: ldarg.0
L_042f: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_0434: callvirt Int32 GetUsedBedCount()
L_0439: stloc.s 10 (System.Int32)
L_043b: ldloc.0
L_043c: callvirt System.Text.StringBuilder AppendLine()
L_0441: pop
L_0442: ldloc.0
L_0443: ldstr "CaravanResting"
L_0448: call System.String Translate(System.String)
L_044d: ldloc.s 10 (System.Int32)
L_044f: call System.String AppendUsingBedsLabel(System.String, Int32)
L_0454: callvirt System.Text.StringBuilder Append(System.String)
L_0459: pop
L_045a: br Label39
L_045f: Label38
L_045f: ldarg.0
L_0460: ldfld RimWorld.Planet.Caravan_CarryTracker carryTracker
L_0465: callvirt System.String GetInspectStringLine()
L_046a: stloc.s 11 (System.String)
L_046c: ldloc.s 11 (System.String)
L_046e: call Boolean NullOrEmpty(System.String)
L_0473: brtrue Label40
L_0478: ldloc.0
L_0479: callvirt System.Text.StringBuilder AppendLine()
L_047e: pop
L_047f: ldloc.0
L_0480: ldloc.s 11 (System.String)
L_0482: callvirt System.Text.StringBuilder Append(System.String)
L_0487: pop
L_0488: Label40
L_0488: ldarg.0
L_0489: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_048e: callvirt System.String GetInBedForMedicalReasonsInspectStringLine()
L_0493: stloc.s 12 (System.String)
L_0495: ldloc.s 12 (System.String)
L_0497: call Boolean NullOrEmpty(System.String)
L_049c: brtrue Label41
L_04a1: ldloc.0
L_04a2: callvirt System.Text.StringBuilder AppendLine()
L_04a7: pop
L_04a8: ldloc.0
L_04a9: ldloc.s 12 (System.String)
L_04ab: callvirt System.Text.StringBuilder Append(System.String)
L_04b0: pop
L_04b1: Label39
L_04b1: Label41
L_04b1: ldloc.0
L_04b2: callvirt System.String ToString()
L_04b7: stloc 13 (System.String)
L_04b9: ldarg.0
L_04ba: ldloca 13 (System.String)
L_04bc: call Void GetInspectString_Jobs(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c1: ldarg.0
L_04c2: ldloca 13 (System.String)
L_04c4: call Void GetInspectString_PostFix(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c9: ldloc 13 (System.String)
L_04cb: ret
DONE

### Patch Verse.Pawn, Void Tick()


L_0000: Local var 0: System.Boolean
L_0000: ldsfld System.Boolean noAnimals
L_0005: brfalse Label1
L_000a: ldarg.0
L_000b: call Boolean get_Spawned()
L_0010: brfalse Label2
L_0015: ldarg.0
L_0016: call Verse.RaceProperties get_RaceProps()
L_001b: callvirt Boolean get_Animal()
L_0020: brfalse Label3
L_0025: ldarg.0
L_0026: ldc.i4.0
L_0027: callvirt Void Destroy(DestroyMode)
L_002c: br Label23
L_0031: Label1
L_0031: Label2
L_0031: Label3
L_0031: ldarg.0
L_0032: call Void Tick()
L_0037: call Verse.TickManager get_TickManager()
L_003c: callvirt Int32 get_TicksGame()
L_0041: ldc.i4 250
L_0046: rem
L_0047: brtrue Label4
L_004c: ldarg.0
L_004d: callvirt Void TickRare()
L_0052: Label4
L_0052: ldarg.0
L_0053: call Boolean get_Suspended()
L_0058: stloc.0
L_0059: ldloc.0
L_005a: brtrue Label5
L_005f: ldarg.0
L_0060: call Boolean get_Spawned()
L_0065: brfalse Label6
L_006a: ldarg.0
L_006b: ldfld Verse.AI.Pawn_PathFollower pather
L_0070: callvirt Void PatherTick()
L_0075: Label6
L_0075: ldarg.0
L_0076: call Boolean get_Spawned()
L_007b: brfalse Label7
L_0080: ldarg.0
L_0081: ldfld Verse.Pawn_StanceTracker stances
L_0086: callvirt Void StanceTrackerTick()
L_008b: ldarg.0
L_008c: ldfld Verse.VerbTracker verbTracker
L_0091: callvirt Void VerbsTick()
L_0096: ldarg.0
L_0097: ldfld RimWorld.Pawn_NativeVerbs natives
L_009c: callvirt Void NativeVerbsTick()
L_00a1: Label7
L_00a1: ldarg.0
L_00a2: call Boolean get_Spawned()
L_00a7: brfalse Label8
L_00ac: ldarg.0
L_00ad: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b2: callvirt Void JobTrackerTick()
L_00b7: Label8
L_00b7: ldarg.0
L_00b8: call Boolean get_Spawned()
L_00bd: brfalse Label9
L_00c2: ldarg.0
L_00c3: call Verse.Pawn_DrawTracker get_Drawer()
L_00c8: callvirt Void DrawTrackerTick()
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn_RotationTracker rotationTracker
L_00d3: callvirt Void RotationTrackerTick()
L_00d8: Label9
L_00d8: ldarg.0
L_00d9: ldfld Verse.Pawn_HealthTracker health
L_00de: callvirt Void HealthTick()
L_00e3: ldarg.0
L_00e4: call Boolean get_Dead()
L_00e9: brtrue Label10
L_00ee: ldarg.0
L_00ef: ldfld Verse.AI.Pawn_MindState mindState
L_00f4: callvirt Void MindStateTick()
L_00f9: ldarg.0
L_00fa: ldfld Verse.Pawn_CarryTracker carryTracker
L_00ff: callvirt Void CarryHandsTick()
L_0104: Label5
L_0104: Label10
L_0104: ldarg.0
L_0105: call Boolean get_Dead()
L_010a: brtrue Label11
L_010f: ldarg.0
L_0110: ldfld RimWorld.Pawn_NeedsTracker needs
L_0115: callvirt Void NeedsTrackerTick()
L_011a: Label11
L_011a: ldloc.0
L_011b: brtrue Label12
L_0120: ldarg.0
L_0121: ldfld Verse.Pawn_EquipmentTracker equipment
L_0126: brfalse Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_EquipmentTracker equipment
L_0131: callvirt Void EquipmentTrackerTick()
L_0136: Label13
L_0136: ldarg.0
L_0137: ldfld RimWorld.Pawn_ApparelTracker apparel
L_013c: brfalse Label14
L_0141: ldarg.0
L_0142: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0147: callvirt Void ApparelTrackerTick()
L_014c: Label14
L_014c: ldarg.0
L_014d: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0152: brfalse Label15
L_0157: ldarg.0
L_0158: call Boolean get_Spawned()
L_015d: brfalse Label16
L_0162: ldarg.0
L_0163: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0168: callvirt Void InteractionsTrackerTick()
L_016d: Label15
L_016d: Label16
L_016d: ldarg.0
L_016e: ldfld Verse.Pawn_CallTracker caller
L_0173: brfalse Label17
L_0178: ldarg.0
L_0179: ldfld Verse.Pawn_CallTracker caller
L_017e: callvirt Void CallTrackerTick()
L_0183: Label17
L_0183: ldarg.0
L_0184: ldfld RimWorld.Pawn_SkillTracker skills
L_0189: brfalse Label18
L_018e: ldarg.0
L_018f: ldfld RimWorld.Pawn_SkillTracker skills
L_0194: callvirt Void SkillsTick()
L_0199: Label18
L_0199: ldarg.0
L_019a: ldfld Verse.Pawn_InventoryTracker inventory
L_019f: brfalse Label19
L_01a4: ldarg.0
L_01a5: ldfld Verse.Pawn_InventoryTracker inventory
L_01aa: callvirt Void InventoryTrackerTick()
L_01af: Label19
L_01af: ldarg.0
L_01b0: ldfld RimWorld.Pawn_DraftController drafter
L_01b5: brfalse Label20
L_01ba: ldarg.0
L_01bb: ldfld RimWorld.Pawn_DraftController drafter
L_01c0: callvirt Void DraftControllerTick()
L_01c5: Label20
L_01c5: ldarg.0
L_01c6: ldfld RimWorld.Pawn_RelationsTracker relations
L_01cb: brfalse Label21
L_01d0: ldarg.0
L_01d1: ldfld RimWorld.Pawn_RelationsTracker relations
L_01d6: callvirt Void RelationsTrackerTick()
L_01db: Label21
L_01db: ldarg.0
L_01dc: call Verse.RaceProperties get_RaceProps()
L_01e1: callvirt Boolean get_Humanlike()
L_01e6: brfalse Label22
L_01eb: ldarg.0
L_01ec: ldfld RimWorld.Pawn_GuestTracker guest
L_01f1: callvirt Void GuestTrackerTick()
L_01f6: Label22
L_01f6: ldarg.0
L_01f7: ldfld Verse.Pawn_AgeTracker ageTracker
L_01fc: callvirt Void AgeTick()
L_0201: ldarg.0
L_0202: ldfld RimWorld.Pawn_RecordsTracker records
L_0207: callvirt Void RecordsTick()
L_020c: Label12
L_020c: Label23
L_020c: ldarg.0
L_020d: call Void Patch_Pawn_Tick(Verse.Pawn)
L_0212: ret
DONE

### Patch Verse.PawnGenerator, Void GenerateGearFor(Verse.Pawn,


PawnGenerationRequest)
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void GenerateStartingApparelFor(Verse.Pawn, PawnGenerationRequest)
L_0007: ldarg.0
L_0008: call Void TryGenerateWeaponFor(Verse.Pawn)
L_000d: ldarg.0
L_000e: ldarg.1
L_000f: call Void GenerateInventoryFor(Verse.Pawn, PawnGenerationRequest)
L_0014: ldarg 0
L_001a: ldarga 1
L_0020: call Void Patch_PawnGenerator_GenerateGearFor(Verse.Pawn,
PawnGenerationRequest ByRef)
L_0025: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ret
DONE

### Patch Verse.Pawn_HealthTracker, Void PreApplyDamage(DamageInfo, Boolean ByRef)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarga 1
L_0007: ldarg 2
L_000d: call Boolean PreApplyDamage_PrePatch(Verse.Pawn_HealthTracker, DamageInfo
ByRef, Boolean ByRef)
L_0012: brfalse Label0
L_0017: ldarg.0
L_0018: ldarga 1
L_001e: ldarg 2
L_0024: call Boolean
Patch_Pawn_HealthTracker_PreApplyDamage(Verse.Pawn_HealthTracker, DamageInfo ByRef,
Boolean ByRef)
L_0029: brfalse Label0
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Instigator()
L_0035: brfalse Label1
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt RimWorld.Faction get_Faction()
L_0045: brfalse Label2
L_004a: ldarg.0
L_004b: ldfld Verse.Pawn pawn
L_0050: callvirt RimWorld.Faction get_Faction()
L_0055: callvirt Boolean get_IsPlayer()
L_005a: brfalse Label3
L_005f: ldarg.0
L_0060: ldfld Verse.Pawn pawn
L_0065: callvirt Boolean get_InAggroMentalState()
L_006a: brtrue Label4
L_006f: ldarga.s 1
L_0071: call Verse.Thing get_Instigator()
L_0076: isinst Verse.Pawn
L_007b: stloc.0
L_007c: ldloc.0
L_007d: brfalse Label5
L_0082: ldloc.0
L_0083: ldfld RimWorld.Pawn_GuiltTracker guilt
L_0088: brfalse Label6
L_008d: ldloc.0
L_008e: ldfld Verse.AI.Pawn_MindState mindState
L_0093: brfalse Label7
L_0098: ldloc.0
L_0099: ldfld RimWorld.Pawn_GuiltTracker guilt
L_009e: callvirt Void Notify_Guilty()
L_00a3: Label1
L_00a3: Label2
L_00a3: Label3
L_00a3: Label4
L_00a3: Label5
L_00a3: Label6
L_00a3: Label7
L_00a3: ldarg.0
L_00a4: ldfld Verse.Pawn pawn
L_00a9: callvirt Boolean get_Spawned()
L_00ae: brfalse Label8
L_00b3: ldarg.0
L_00b4: ldfld Verse.Pawn pawn
L_00b9: callvirt IntVec3 get_Position()
L_00be: ldarg.0
L_00bf: ldfld Verse.Pawn pawn
L_00c4: callvirt Verse.Map get_Map()
L_00c9: call Boolean Fogged(IntVec3, Verse.Map)
L_00ce: brtrue Label9
L_00d3: ldarg.0
L_00d4: ldfld Verse.Pawn pawn
L_00d9: ldfld Verse.AI.Pawn_MindState mindState
L_00de: ldc.i4.1
L_00df: callvirt Void set_Active(Boolean)
L_00e4: Label9
L_00e4: ldarg.0
L_00e5: ldfld Verse.Pawn pawn
L_00ea: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00ef: stloc.1
L_00f0: ldloc.1
L_00f1: brfalse Label10
L_00f6: ldloc.1
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: ldarg.1
L_00fe: callvirt Void Notify_PawnDamaged(Verse.Pawn, DamageInfo)
L_0103: Label10
L_0103: ldarga.s 1
L_0105: call Verse.DamageDef get_Def()
L_010a: ldarg.0
L_010b: ldfld Verse.Pawn pawn
L_0110: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0115: brfalse Label11
L_011a: ldarg.0
L_011b: ldfld Verse.Pawn pawn
L_0120: ldc.r4 18
L_0125: ldsfld Verse.ClamorDef Harm
L_012a: call Void DoClamor(Verse.Thing, Single, Verse.ClamorDef)
L_012f: Label11
L_012f: ldarg.0
L_0130: ldfld Verse.Pawn pawn
L_0135: ldfld Verse.AI.Pawn_JobTracker jobs
L_013a: ldarg.1
L_013b: callvirt Void Notify_DamageTaken(DamageInfo)
L_0140: Label8
L_0140: ldarg.0
L_0141: ldfld Verse.Pawn pawn
L_0146: callvirt RimWorld.Faction get_Faction()
L_014b: brfalse Label12
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: callvirt RimWorld.Faction get_Faction()
L_015b: ldarg.0
L_015c: ldfld Verse.Pawn pawn
L_0161: ldarg.1
L_0162: callvirt Void Notify_MemberTookDamage(Verse.Pawn, DamageInfo)
L_0167: call ProgramState get_ProgramState()
L_016c: ldc.i4.2
L_016d: bne.un Label13
L_0172: ldarg.0
L_0173: ldfld Verse.Pawn pawn
L_0178: callvirt RimWorld.Faction get_Faction()
L_017d: call RimWorld.Faction get_OfPlayer()
L_0182: bne.un Label14
L_0187: ldarga.s 1
L_0189: call Verse.DamageDef get_Def()
L_018e: ldarg.0
L_018f: ldfld Verse.Pawn pawn
L_0194: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0199: brfalse Label15
L_019e: ldarg.0
L_019f: ldfld Verse.Pawn pawn
L_01a4: callvirt Boolean get_SpawnedOrAnyParentSpawned()
L_01a9: brfalse Label16
L_01ae: ldarg.0
L_01af: ldfld Verse.Pawn pawn
L_01b4: callvirt Verse.Map get_MapHeld()
L_01b9: ldfld RimWorld.DangerWatcher dangerWatcher
L_01be: callvirt Void Notify_ColonistHarmedExternally()
L_01c3: Label12
L_01c3: Label13
L_01c3: Label14
L_01c3: Label15
L_01c3: Label16
L_01c3: ldarg.0
L_01c4: ldfld Verse.Pawn pawn
L_01c9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ce: brfalse Label17
L_01d3: ldarg.0
L_01d4: ldfld Verse.Pawn pawn
L_01d9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01de: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_01e3: stloc.2
L_01e4: ldc.i4.0
L_01e5: stloc.3
L_01e6: br Label18
L_01eb: Label20
L_01eb: ldloc.2
L_01ec: ldloc.3
L_01ed: callvirt RimWorld.Apparel get_Item(Int32)
L_01f2: ldarg.1
L_01f3: callvirt Boolean CheckPreAbsorbDamage(DamageInfo)
L_01f8: brfalse Label19
L_01fd: ldarg.2
L_01fe: ldc.i4.1
L_01ff: stind.i1
L_0200: br Label32
L_0205: Label19
L_0205: ldloc.3
L_0206: ldc.i4.1
L_0207: add
L_0208: stloc.3
L_0209: Label18
L_0209: ldloc.3
L_020a: ldloc.2
L_020b: callvirt Int32 get_Count()
L_0210: blt Label20
L_0215: Label17
L_0215: ldarg.0
L_0216: ldfld Verse.Pawn pawn
L_021b: callvirt Boolean get_Spawned()
L_0220: brfalse Label21
L_0225: ldarg.0
L_0226: ldfld Verse.Pawn pawn
L_022b: ldfld Verse.Pawn_StanceTracker stances
L_0230: ldarg.1
L_0231: callvirt Void Notify_DamageTaken(DamageInfo)
L_0236: ldarg.0
L_0237: ldfld Verse.Pawn pawn
L_023c: ldfld Verse.Pawn_StanceTracker stances
L_0241: ldfld RimWorld.StunHandler stunner
L_0246: ldarg.1
L_0247: ldarg.0
L_0248: ldfld Verse.Pawn pawn
L_024d: callvirt Verse.RaceProperties get_RaceProps()
L_0252: callvirt Boolean get_IsFlesh()
L_0257: ldc.i4.0
L_0258: ceq
L_025a: callvirt Void Notify_DamageApplied(DamageInfo, Boolean)
L_025f: Label21
L_025f: ldarg.0
L_0260: ldfld Verse.Pawn pawn
L_0265: callvirt Verse.RaceProperties get_RaceProps()
L_026a: callvirt Boolean get_IsFlesh()
L_026f: brfalse Label22
L_0274: ldarga.s 1
L_0276: call Verse.DamageDef get_Def()
L_027b: ldarg.0
L_027c: ldfld Verse.Pawn pawn
L_0281: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0286: brfalse Label23
L_028b: ldarga.s 1
L_028d: call Verse.Thing get_Instigator()
L_0292: isinst Verse.Pawn
L_0297: stloc.s 4 (Verse.Pawn)
L_0299: ldloc.s 4 (Verse.Pawn)
L_029b: brfalse Label24
L_02a0: ldloc.s 4 (Verse.Pawn)
L_02a2: ldarg.0
L_02a3: ldfld Verse.Pawn pawn
L_02a8: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_02ad: brfalse Label25
L_02b2: ldarg.0
L_02b3: ldfld Verse.Pawn pawn
L_02b8: ldfld RimWorld.Pawn_RelationsTracker relations
L_02bd: ldc.i4.1
L_02be: stfld System.Boolean canGetRescuedThought
L_02c3: Label25
L_02c3: ldarg.0
L_02c4: ldfld Verse.Pawn pawn
L_02c9: callvirt Verse.RaceProperties get_RaceProps()
L_02ce: callvirt Boolean get_Humanlike()
L_02d3: brfalse Label26
L_02d8: ldloc.s 4 (Verse.Pawn)
L_02da: callvirt Verse.RaceProperties get_RaceProps()
L_02df: callvirt Boolean get_Humanlike()
L_02e4: brfalse Label27
L_02e9: ldarg.0
L_02ea: ldfld Verse.Pawn pawn
L_02ef: ldfld RimWorld.Pawn_NeedsTracker needs
L_02f4: ldfld RimWorld.Need_Mood mood
L_02f9: brfalse Label28
L_02fe: ldloc.s 4 (Verse.Pawn)
L_0300: ldarg.0
L_0301: ldfld Verse.Pawn pawn
L_0306: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_030b: brfalse Label29
L_0310: ldloc.s 4 (Verse.Pawn)
L_0312: callvirt RimWorld.Faction get_Faction()
L_0317: ldarg.0
L_0318: ldfld Verse.Pawn pawn
L_031d: callvirt RimWorld.Faction get_Faction()
L_0322: bne.un Label30
L_0327: ldloc.s 4 (Verse.Pawn)
L_0329: callvirt Boolean get_InMentalState()
L_032e: brfalse Label31
L_0333: Label29
L_0333: ldarg.0
L_0334: ldfld Verse.Pawn pawn
L_0339: ldfld RimWorld.Pawn_NeedsTracker needs
L_033e: ldfld RimWorld.Need_Mood mood
L_0343: ldfld RimWorld.ThoughtHandler thoughts
L_0348: ldfld RimWorld.MemoryThoughtHandler memories
L_034d: ldsfld RimWorld.ThoughtDef HarmedMe
L_0352: ldloc.s 4 (Verse.Pawn)
L_0354: callvirt Void TryGainMemory(RimWorld.ThoughtDef, Verse.Pawn)
L_0359: Label24
L_0359: Label26
L_0359: Label27
L_0359: Label28
L_0359: Label30
L_0359: Label31
L_0359: ldsfld RimWorld.TaleDef Wounded
L_035e: ldc.i4.3
L_035f: newarr System.Object
L_0364: dup
L_0365: ldc.i4.0
L_0366: ldarg.0
L_0367: ldfld Verse.Pawn pawn
L_036c: stelem.ref
L_036d: dup
L_036e: ldc.i4.1
L_036f: ldloc.s 4 (Verse.Pawn)
L_0371: stelem.ref
L_0372: dup
L_0373: ldc.i4.2
L_0374: ldarga.s 1
L_0376: call Verse.ThingDef get_Weapon()
L_037b: stelem.ref
L_037c: call RimWorld.Tale RecordTale(RimWorld.TaleDef, System.Object[])
L_0381: pop
L_0382: Label22
L_0382: Label23
L_0382: ldarg.2
L_0383: ldc.i4.0
L_0384: stind.i1
L_0385: Label32
L_0385: Label0
L_0385: ret
DONE

### Patch Verse.Pawn_EquipmentTracker, Void MakeRoomFor(Verse.ThingWithComps)


L_0000: Local var 0: Verse.ThingWithComps
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld Verse.EquipmentType equipmentType
L_000b: ldc.i4.1
L_000c: bne.un Label1
L_0011: ldarg.0
L_0012: call Verse.ThingWithComps get_Primary()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: ldarg.0
L_001e: call Verse.ThingWithComps get_Primary()
L_0023: ldloca.s 0 (Verse.ThingWithComps)
L_0025: ldarg.0
L_0026: ldfld Verse.Pawn pawn
L_002b: callvirt IntVec3 get_Position()
L_0030: ldc.i4.1
L_0031: call Boolean TryDropEquipment(Verse.ThingWithComps, Verse.ThingWithComps
ByRef, IntVec3, Boolean)
L_0036: brfalse Label3
L_003b: ldloc.0
L_003c: brfalse Label4
L_0041: ldloc.0
L_0042: ldc.i4.0
L_0043: ldc.i4.1
L_0044: call Void SetForbidden(Verse.Thing, Boolean, Boolean)
L_0049: Label4
L_0049: br Label5
L_004e: Label3
L_004e: ldarg.0
L_004f: ldfld Verse.Pawn pawn
L_0054: ldstr " couldn't make room for equipment "
L_0059: ldarg.1
L_005a: call System.String Concat(System.Object, System.Object, System.Object)
L_005f: ldc.i4.0
L_0060: call Void Error(System.String, Boolean)
L_0065: Label1
L_0065: Label2
L_0065: Label5
L_0065: ldarg.0
L_0066: ldarga 1
L_006c: call Void
Patch_Pawn_EquipmentTracker_MakeRoomFor(Verse.Pawn_EquipmentTracker,
Verse.ThingWithComps ByRef)
L_0071: ret
DONE

### Patch RimWorld.StatWorker, System.String GetExplanationUnfinalized(StatRequest,


ToStringNumberSense)
L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.SkillNeed
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Single
L_0000: Local var 7: RimWorld.PawnCapacityOffset
L_0000: Local var 8:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityOffset, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Single
L_0000: Local var 11: System.Single
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: Local var 14: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 15: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 16: System.Int32
L_0000: Local var 17: RimWorld.Trait
L_0000: Local var 18: System.String
L_0000: Local var 19: System.Int32
L_0000: Local var 20: RimWorld.Trait
L_0000: Local var 21: System.String
L_0000: Local var 22: System.Int32
L_0000: Local var 23: RimWorld.Apparel
L_0000: Local var 24: System.Boolean
L_0000: Local var 25: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 26: System.Int32
L_0000: Local var 27: Verse.HediffStage
L_0000: Local var 28: System.Single
L_0000: Local var 29: System.Single
L_0000: Local var 30: System.Single
L_0000: Local var 31: System.Single
L_0000: Local var 32: RimWorld.CompAffectedByFacilities
L_0000: Local var 33: System.Int32
L_0000: Local var 34: RimWorld.StatDef
L_0000: Local var 35: System.Int32
L_0000: Local var 36: RimWorld.SkillNeed
L_0000: Local var 37: System.Int32
L_0000: Local var 38: RimWorld.PawnCapacityFactor
L_0000: Local var 39:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityFactor, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 40: System.String
L_0000: Local var 41: System.Single
L_0000: Local var 42: System.String
L_0000: Local var 43: System.String
L_0000: Local var 44: System.Single
L_0000: Local var 45: System.Single
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldarg.0
L_0007: ldarga.s 1
L_0009: call Verse.BuildableDef get_Def()
L_000e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0013: stloc.1
L_0014: ldloc.1
L_0015: ldc.r4 0
L_001a: beq Label1
L_001f: ldloc.0
L_0020: ldstr "StatsReport_BaseValue"
L_0025: call System.String Translate(System.String)
L_002a: ldstr ": "
L_002f: ldarg.0
L_0030: ldfld RimWorld.StatDef stat
L_0035: ldloc.1
L_0036: ldarg.2
L_0037: callvirt System.String ValueToString(Single, ToStringNumberSense)
L_003c: call System.String Concat(System.String, System.String, System.String)
L_0041: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0046: pop
L_0047: ldloc.0
L_0048: callvirt System.Text.StringBuilder AppendLine()
L_004d: pop
L_004e: Label1
L_004e: ldarga.s 1
L_0050: call Verse.Thing get_Thing()
L_0055: isinst Verse.Pawn
L_005a: stloc.2
L_005b: ldloc.2
L_005c: brfalse Label2
L_0061: ldloc.2
L_0062: ldfld RimWorld.Pawn_SkillTracker skills
L_0067: brfalse Label3
L_006c: ldarg.0
L_006d: ldfld RimWorld.StatDef stat
L_0072: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0077: brfalse Label4
L_007c: ldloc.0
L_007d: ldstr "StatsReport_Skills"
L_0082: call System.String Translate(System.String)
L_0087: callvirt System.Text.StringBuilder AppendLine(System.String)
L_008c: pop
L_008d: ldc.i4.0
L_008e: stloc.3
L_008f: br Label5
L_0094: Label6
L_0094: ldarg.0
L_0095: ldfld RimWorld.StatDef stat
L_009a: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_009f: ldloc.3
L_00a0: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00a5: stloc.s 4 (RimWorld.SkillNeed)
L_00a7: ldloc.2
L_00a8: ldfld RimWorld.Pawn_SkillTracker skills
L_00ad: ldloc.s 4 (RimWorld.SkillNeed)
L_00af: ldfld RimWorld.SkillDef skill
L_00b4: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_00b9: callvirt Int32 get_Level()
L_00be: stloc.s 5 (System.Int32)
L_00c0: ldloc.s 4 (RimWorld.SkillNeed)
L_00c2: ldloc.2
L_00c3: callvirt Single ValueFor(Verse.Pawn)
L_00c8: stloc.s 6 (System.Single)
L_00ca: ldloc.0
L_00cb: ldc.i4.7
L_00cc: newarr System.Object
L_00d1: dup
L_00d2: ldc.i4.0
L_00d3: ldstr " "
L_00d8: stelem.ref
L_00d9: dup
L_00da: ldc.i4.1
L_00db: ldloc.s 4 (RimWorld.SkillNeed)
L_00dd: ldfld RimWorld.SkillDef skill
L_00e2: callvirt System.String get_LabelCap()
L_00e7: stelem.ref
L_00e8: dup
L_00e9: ldc.i4.2
L_00ea: ldstr " ("
L_00ef: stelem.ref
L_00f0: dup
L_00f1: ldc.i4.3
L_00f2: ldloc.s 5 (System.Int32)
L_00f4: box System.Int32
L_00f9: stelem.ref
L_00fa: dup
L_00fb: ldc.i4.4
L_00fc: ldstr "): "
L_0101: stelem.ref
L_0102: dup
L_0103: ldc.i4.5
L_0104: ldloc.s 6 (System.Single)
L_0106: call System.String ToStringSign(Single)
L_010b: stelem.ref
L_010c: dup
L_010d: ldc.i4.6
L_010e: ldarg.0
L_010f: ldloc.s 6 (System.Single)
L_0111: ldc.i4.0
L_0112: ldc.i4.1
L_0113: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0118: stelem.ref
L_0119: call System.String Concat(System.Object[])
L_011e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0123: pop
L_0124: ldloc.3
L_0125: ldc.i4.1
L_0126: add
L_0127: stloc.3
L_0128: Label5
L_0128: ldloc.3
L_0129: ldarg.0
L_012a: ldfld RimWorld.StatDef stat
L_012f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0134: callvirt Int32 get_Count()
L_0139: blt Label6
L_013e: ldloc.0
L_013f: callvirt System.Text.StringBuilder AppendLine()
L_0144: pop
L_0145: Label4
L_0145: br Label7
L_014a: Label3
L_014a: ldarg.0
L_014b: ldfld RimWorld.StatDef stat
L_0150: ldfld System.Single noSkillOffset
L_0155: ldc.r4 0
L_015a: beq Label8
L_015f: ldloc.0
L_0160: ldstr "StatsReport_Skills"
L_0165: call System.String Translate(System.String)
L_016a: callvirt System.Text.StringBuilder AppendLine(System.String)
L_016f: pop
L_0170: ldloc.0
L_0171: ldc.i4.5
L_0172: newarr System.String
L_0177: dup
L_0178: ldc.i4.0
L_0179: ldstr " "
L_017e: stelem.ref
L_017f: dup
L_0180: ldc.i4.1
L_0181: ldstr "default"
L_0186: call System.String Translate(System.String)
L_018b: call System.String CapitalizeFirst(System.String)
L_0190: stelem.ref
L_0191: dup
L_0192: ldc.i4.2
L_0193: ldstr " : "
L_0198: stelem.ref
L_0199: dup
L_019a: ldc.i4.3
L_019b: ldarg.0
L_019c: ldfld RimWorld.StatDef stat
L_01a1: ldfld System.Single noSkillOffset
L_01a6: call System.String ToStringSign(Single)
L_01ab: stelem.ref
L_01ac: dup
L_01ad: ldc.i4.4
L_01ae: ldarg.0
L_01af: ldarg.0
L_01b0: ldfld RimWorld.StatDef stat
L_01b5: ldfld System.Single noSkillOffset
L_01ba: ldc.i4.0
L_01bb: ldc.i4.1
L_01bc: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_01c1: stelem.ref
L_01c2: call System.String Concat(System.String[])
L_01c7: callvirt System.Text.StringBuilder AppendLine(System.String)
L_01cc: pop
L_01cd: ldloc.0
L_01ce: callvirt System.Text.StringBuilder AppendLine()
L_01d3: pop
L_01d4: Label7
L_01d4: Label8
L_01d4: ldarg.0
L_01d5: ldfld RimWorld.StatDef stat
L_01da: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_01df: brfalse Label9
L_01e4: ldloc.0
L_01e5: ldstr "StatsReport_Health"
L_01ea: call Boolean CanTranslate(System.String)
L_01ef: brfalse Label10
L_01f4: ldstr "StatsReport_Health"
L_01f9: call System.String Translate(System.String)
L_01fe: br Label11
L_0203: Label10
L_0203: ldstr "StatsReport_HealthFactors"
L_0208: call System.String Translate(System.String)
L_020d: Label11
L_020d: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0212: pop
L_0213: ldarg.0
L_0214: ldfld RimWorld.StatDef stat
L_0219: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_021e: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0223: brtrue Label12
L_0228: ldnull
L_0229: ldftn Int32 <GetExplanationUnfinalized>m__0(RimWorld.PawnCapacityOffset)
L_022f: newobj Void .ctor(Object, IntPtr)
L_0234: stsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0239: Label12
L_0239: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_023e: call IOrderedEnumerable`1 OrderBy[PawnCapacityOffset,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityOffset,System.Int32])
L_0243: callvirt IEnumerator`1 GetEnumerator()
L_0248: stloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
.try
{
L_024a: br Label13
L_024f: Label15
L_024f: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_0251: callvirt RimWorld.PawnCapacityOffset get_Current()
L_0256: stloc.s 7 (RimWorld.PawnCapacityOffset)
L_0258: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_025a: ldfld Verse.PawnCapacityDef capacity
L_025f: ldloc.2
L_0260: callvirt System.String GetLabelFor(Verse.Pawn)
L_0265: call System.String CapitalizeFirst(System.String)
L_026a: stloc.s 9 (System.String)
L_026c: ldloc.2
L_026d: ldfld Verse.Pawn_HealthTracker health
L_0272: ldfld Verse.PawnCapacitiesHandler capacities
L_0277: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0279: ldfld Verse.PawnCapacityDef capacity
L_027e: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0283: stloc.s 10 (System.Single)
L_0285: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0287: ldloc.2
L_0288: ldfld Verse.Pawn_HealthTracker health
L_028d: ldfld Verse.PawnCapacitiesHandler capacities
L_0292: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0294: ldfld Verse.PawnCapacityDef capacity
L_0299: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_029e: callvirt Single GetOffset(Single)
L_02a3: stloc.s 11 (System.Single)
L_02a5: ldarg.0
L_02a6: ldloc.s 11 (System.Single)
L_02a8: ldc.i4.0
L_02a9: ldc.i4.1
L_02aa: call System.String ValueToString(Single, Boolean,
ToStringNumberSense)
L_02af: stloc.s 12 (System.String)
L_02b1: ldloc.s 10 (System.Single)
L_02b3: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02b5: ldfld System.Single max
L_02ba: call Single Min(Single, Single)
L_02bf: call System.String ToStringPercent(Single)
L_02c4: ldstr ", "
L_02c9: ldstr "HealthOffsetScale"
L_02ce: ldc.i4.1
L_02cf: newarr System.Object
L_02d4: dup
L_02d5: ldc.i4.0
L_02d6: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02d8: ldflda System.Single scale
L_02dd: constrained. System.Single
L_02e3: callvirt System.String ToString()
L_02e8: ldstr "x"
L_02ed: call System.String Concat(System.String, System.String)
L_02f2: stelem.ref
L_02f3: call System.String Translate(System.String, System.Object[])
L_02f8: call System.String Concat(System.String, System.String,
System.String)
L_02fd: stloc.s 13 (System.String)
L_02ff: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0301: ldfld System.Single max
L_0306: ldc.r4 999
L_030b: bge.un Label14
L_0310: ldloc.s 13 (System.String)
L_0312: ldstr ", "
L_0317: ldstr "HealthFactorMaxImpact"
L_031c: ldc.i4.1
L_031d: newarr System.Object
L_0322: dup
L_0323: ldc.i4.0
L_0324: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0326: ldfld System.Single max
L_032b: call System.String ToStringPercent(Single)
L_0330: stelem.ref
L_0331: call System.String Translate(System.String, System.Object[])
L_0336: call System.String Concat(System.String, System.String,
System.String)
L_033b: stloc.s 13 (System.String)
L_033d: Label14
L_033d: ldloc.0
L_033e: ldc.i4.8
L_033f: newarr System.String
L_0344: dup
L_0345: ldc.i4.0
L_0346: ldstr " "
L_034b: stelem.ref
L_034c: dup
L_034d: ldc.i4.1
L_034e: ldloc.s 9 (System.String)
L_0350: stelem.ref
L_0351: dup
L_0352: ldc.i4.2
L_0353: ldstr ": "
L_0358: stelem.ref
L_0359: dup
L_035a: ldc.i4.3
L_035b: ldloc.s 11 (System.Single)
L_035d: call System.String ToStringSign(Single)
L_0362: stelem.ref
L_0363: dup
L_0364: ldc.i4.4
L_0365: ldloc.s 12 (System.String)
L_0367: stelem.ref
L_0368: dup
L_0369: ldc.i4.5
L_036a: ldstr " ("
L_036f: stelem.ref
L_0370: dup
L_0371: ldc.i4.6
L_0372: ldloc.s 13 (System.String)
L_0374: stelem.ref
L_0375: dup
L_0376: ldc.i4.7
L_0377: ldstr ")"
L_037c: stelem.ref
L_037d: call System.String Concat(System.String[])
L_0382: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0387: pop
L_0388: Label13
L_0388: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_038a: callvirt Boolean MoveNext()
L_038f: brtrue Label15
L_0394: leave Label16
L_0399: leave (autogenerated)
} // end try
.finally
{
L_039e: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a0: brfalse Label17
L_03a5: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a7: callvirt Void Dispose()
L_03ac: Label17
L_03ac: endfinally
L_03ad: leave (autogenerated)
} // end handler
L_03ae: Label16
L_03ae: ldloc.0
L_03af: callvirt System.Text.StringBuilder AppendLine()
L_03b4: pop
L_03b5: Label9
L_03b5: ldloc.2
L_03b6: callvirt Verse.RaceProperties get_RaceProps()
L_03bb: ldfld Verse.Intelligence intelligence
L_03c0: ldc.i4.1
L_03c1: blt Label18
L_03c6: ldloc.2
L_03c7: ldfld RimWorld.Pawn_StoryTracker story
L_03cc: brfalse Label19
L_03d1: ldloc.2
L_03d2: ldfld RimWorld.Pawn_StoryTracker story
L_03d7: ldfld RimWorld.TraitSet traits
L_03dc: brfalse Label20
L_03e1: ldloc.2
L_03e2: ldfld RimWorld.Pawn_StoryTracker story
L_03e7: ldfld RimWorld.TraitSet traits
L_03ec: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_03f1: ldarg.0
L_03f2: ldftn Boolean <GetExplanationUnfinalized>m__1(RimWorld.Trait)
L_03f8: newobj Void .ctor(Object, IntPtr)
L_03fd: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_0402: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_0407: stloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0409: ldloc.2
L_040a: ldfld RimWorld.Pawn_StoryTracker story
L_040f: ldfld RimWorld.TraitSet traits
L_0414: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0419: ldarg.0
L_041a: ldftn Boolean <GetExplanationUnfinalized>m__2(RimWorld.Trait)
L_0420: newobj Void .ctor(Object, IntPtr)
L_0425: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_042a: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_042f: stloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0431: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0433: callvirt Int32 get_Count()
L_0438: ldc.i4.0
L_0439: bgt Label21
L_043e: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0440: callvirt Int32 get_Count()
L_0445: ldc.i4.0
L_0446: ble Label22
L_044b: Label21
L_044b: ldloc.0
L_044c: ldstr "StatsReport_RelevantTraits"
L_0451: call System.String Translate(System.String)
L_0456: callvirt System.Text.StringBuilder AppendLine(System.String)
L_045b: pop
L_045c: ldc.i4.0
L_045d: stloc.s 16 (System.Int32)
L_045f: br Label23
L_0464: Label24
L_0464: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0466: ldloc.s 16 (System.Int32)
L_0468: callvirt RimWorld.Trait get_Item(Int32)
L_046d: stloc.s 17 (RimWorld.Trait)
L_046f: ldloc.s 17 (RimWorld.Trait)
L_0471: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_0476: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_047b: ldarg.0
L_047c: ldftn Boolean <GetExplanationUnfinalized>m__3(RimWorld.StatModifier)
L_0482: newobj Void .ctor(Object, IntPtr)
L_0487: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_048c: callvirt System.String get_ValueToStringAsOffset()
L_0491: stloc.s 18 (System.String)
L_0493: ldloc.0
L_0494: ldstr " "
L_0499: ldloc.s 17 (RimWorld.Trait)
L_049b: callvirt System.String get_LabelCap()
L_04a0: ldstr ": "
L_04a5: ldloc.s 18 (System.String)
L_04a7: call System.String Concat(System.String, System.String, System.String,
System.String)
L_04ac: callvirt System.Text.StringBuilder AppendLine(System.String)
L_04b1: pop
L_04b2: ldloc.s 16 (System.Int32)
L_04b4: ldc.i4.1
L_04b5: add
L_04b6: stloc.s 16 (System.Int32)
L_04b8: Label23
L_04b8: ldloc.s 16 (System.Int32)
L_04ba: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04bc: callvirt Int32 get_Count()
L_04c1: blt Label24
L_04c6: ldc.i4.0
L_04c7: stloc.s 19 (System.Int32)
L_04c9: br Label25
L_04ce: Label26
L_04ce: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04d0: ldloc.s 19 (System.Int32)
L_04d2: callvirt RimWorld.Trait get_Item(Int32)
L_04d7: stloc.s 20 (RimWorld.Trait)
L_04d9: ldloc.s 20 (RimWorld.Trait)
L_04db: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_04e0: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_04e5: ldarg.0
L_04e6: ldftn Boolean <GetExplanationUnfinalized>m__4(RimWorld.StatModifier)
L_04ec: newobj Void .ctor(Object, IntPtr)
L_04f1: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_04f6: callvirt System.String get_ToStringAsFactor()
L_04fb: stloc.s 21 (System.String)
L_04fd: ldloc.0
L_04fe: ldstr " "
L_0503: ldloc.s 20 (RimWorld.Trait)
L_0505: callvirt System.String get_LabelCap()
L_050a: ldstr ": "
L_050f: ldloc.s 21 (System.String)
L_0511: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0516: callvirt System.Text.StringBuilder AppendLine(System.String)
L_051b: pop
L_051c: ldloc.s 19 (System.Int32)
L_051e: ldc.i4.1
L_051f: add
L_0520: stloc.s 19 (System.Int32)
L_0522: Label25
L_0522: ldloc.s 19 (System.Int32)
L_0524: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0526: callvirt Int32 get_Count()
L_052b: blt Label26
L_0530: ldloc.0
L_0531: callvirt System.Text.StringBuilder AppendLine()
L_0536: pop
L_0537: Label19
L_0537: Label20
L_0537: Label22
L_0537: ldloc.2
L_0538: ldarg.0
L_0539: ldfld RimWorld.StatDef stat
L_053e: call IEnumerable`1 RelevantGear(Verse.Pawn, RimWorld.StatDef)
L_0543: call Boolean Any[Thing](IEnumerable`1)
L_0548: brfalse Label27
L_054d: ldloc.0
L_054e: ldstr "StatsReport_RelevantGear"
L_0553: call System.String Translate(System.String)
L_0558: callvirt System.Text.StringBuilder AppendLine(System.String)
L_055d: pop
L_055e: ldloc.2
L_055f: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0564: brfalse Label28
L_0569: ldc.i4.0
L_056a: stloc.s 22 (System.Int32)
L_056c: br Label29
L_0571: Label30
L_0571: ldloc.2
L_0572: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0577: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_057c: ldloc.s 22 (System.Int32)
L_057e: callvirt RimWorld.Apparel get_Item(Int32)
L_0583: stloc.s 23 (RimWorld.Apparel)
L_0585: ldloc.0
L_0586: ldloc.s 23 (RimWorld.Apparel)
L_0588: ldarg.0
L_0589: ldfld RimWorld.StatDef stat
L_058e: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_0593: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0598: pop
L_0599: ldloc.s 22 (System.Int32)
L_059b: ldc.i4.1
L_059c: add
L_059d: stloc.s 22 (System.Int32)
L_059f: Label29
L_059f: ldloc.s 22 (System.Int32)
L_05a1: ldloc.2
L_05a2: ldfld RimWorld.Pawn_ApparelTracker apparel
L_05a7: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_05ac: callvirt Int32 get_Count()
L_05b1: blt Label30
L_05b6: Label28
L_05b6: ldloc.2
L_05b7: ldfld Verse.Pawn_EquipmentTracker equipment
L_05bc: brfalse Label31
L_05c1: ldloc.2
L_05c2: ldfld Verse.Pawn_EquipmentTracker equipment
L_05c7: callvirt Verse.ThingWithComps get_Primary()
L_05cc: brfalse Label32
L_05d1: ldloc.0
L_05d2: ldloc.2
L_05d3: ldfld Verse.Pawn_EquipmentTracker equipment
L_05d8: callvirt Verse.ThingWithComps get_Primary()
L_05dd: ldarg.0
L_05de: ldfld RimWorld.StatDef stat
L_05e3: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_05e8: callvirt System.Text.StringBuilder AppendLine(System.String)
L_05ed: pop
L_05ee: ldloc.0
L_05ef: ldloc.2
L_05f0: ldarg.0
L_05f1: ldfld RimWorld.StatDef stat
L_05f6: call Void StatWorkerInjection_BuildShieldString(System.Text.StringBuilder,
Verse.Pawn, RimWorld.StatDef)
L_05fb: Label31
L_05fb: Label32
L_05fb: ldloc.0
L_05fc: callvirt System.Text.StringBuilder AppendLine()
L_0601: pop
L_0602: Label18
L_0602: Label27
L_0602: ldc.i4.0
L_0603: stloc.s 24 (System.Boolean)
L_0605: ldloc.2
L_0606: ldfld Verse.Pawn_HealthTracker health
L_060b: ldfld Verse.HediffSet hediffSet
L_0610: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0615: stloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0617: ldc.i4.0
L_0618: stloc.s 26 (System.Int32)
L_061a: br Label33
L_061f: Label37
L_061f: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0621: ldloc.s 26 (System.Int32)
L_0623: callvirt Verse.Hediff get_Item(Int32)
L_0628: callvirt Verse.HediffStage get_CurStage()
L_062d: stloc.s 27 (Verse.HediffStage)
L_062f: ldloc.s 27 (Verse.HediffStage)
L_0631: brfalse Label34
L_0636: ldloc.s 27 (Verse.HediffStage)
L_0638: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_063d: ldarg.0
L_063e: ldfld RimWorld.StatDef stat
L_0643: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0648: stloc.s 28 (System.Single)
L_064a: ldloc.s 28 (System.Single)
L_064c: ldc.r4 0
L_0651: beq Label35
L_0656: ldloc.s 24 (System.Boolean)
L_0658: brtrue Label36
L_065d: ldloc.0
L_065e: ldstr "StatsReport_RelevantHediffs"
L_0663: call System.String Translate(System.String)
L_0668: callvirt System.Text.StringBuilder AppendLine(System.String)
L_066d: pop
L_066e: ldc.i4.1
L_066f: stloc.s 24 (System.Boolean)
L_0671: Label36
L_0671: ldloc.0
L_0672: ldstr " "
L_0677: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0679: ldloc.s 26 (System.Int32)
L_067b: callvirt Verse.Hediff get_Item(Int32)
L_0680: callvirt System.String get_LabelBase()
L_0685: call System.String CapitalizeFirst(System.String)
L_068a: ldstr ": "
L_068f: ldarg.0
L_0690: ldloc.s 28 (System.Single)
L_0692: ldc.i4.0
L_0693: ldc.i4.3
L_0694: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0699: call System.String Concat(System.String, System.String, System.String,
System.String)
L_069e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_06a3: pop
L_06a4: ldloc.0
L_06a5: callvirt System.Text.StringBuilder AppendLine()
L_06aa: pop
L_06ab: Label34
L_06ab: Label35
L_06ab: ldloc.s 26 (System.Int32)
L_06ad: ldc.i4.1
L_06ae: add
L_06af: stloc.s 26 (System.Int32)
L_06b1: Label33
L_06b1: ldloc.s 26 (System.Int32)
L_06b3: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_06b5: callvirt Int32 get_Count()
L_06ba: blt Label37
L_06bf: ldloc.2
L_06c0: ldfld Verse.Pawn_AgeTracker ageTracker
L_06c5: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_06ca: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_06cf: ldarg.0
L_06d0: ldfld RimWorld.StatDef stat
L_06d5: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_06da: stloc.s 29 (System.Single)
L_06dc: ldloc.s 29 (System.Single)
L_06de: ldc.r4 1
L_06e3: beq Label38
L_06e8: ldloc.0
L_06e9: ldc.i4.5
L_06ea: newarr System.String
L_06ef: dup
L_06f0: ldc.i4.0
L_06f1: ldstr "StatsReport_LifeStage"
L_06f6: call System.String Translate(System.String)
L_06fb: stelem.ref
L_06fc: dup
L_06fd: ldc.i4.1
L_06fe: ldstr " ("
L_0703: stelem.ref
L_0704: dup
L_0705: ldc.i4.2
L_0706: ldloc.2
L_0707: ldfld Verse.Pawn_AgeTracker ageTracker
L_070c: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_0711: ldfld System.String label
L_0716: stelem.ref
L_0717: dup
L_0718: ldc.i4.3
L_0719: ldstr "): "
L_071e: stelem.ref
L_071f: dup
L_0720: ldc.i4.4
L_0721: ldloc.s 29 (System.Single)
L_0723: ldc.i4.8
L_0724: ldc.i4.2
L_0725: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_072a: stelem.ref
L_072b: call System.String Concat(System.String[])
L_0730: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0735: pop
L_0736: ldloc.0
L_0737: callvirt System.Text.StringBuilder AppendLine()
L_073c: pop
L_073d: Label2
L_073d: Label38
L_073d: ldarga.s 1
L_073f: call Verse.ThingDef get_StuffDef()
L_0744: brfalse Label39
L_0749: ldloc.1
L_074a: ldc.r4 0
L_074f: bgt Label40
L_0754: ldarg.0
L_0755: ldfld RimWorld.StatDef stat
L_075a: ldfld System.Boolean applyFactorsIfNegative
L_075f: brfalse Label41
L_0764: Label40
L_0764: ldarga.s 1
L_0766: call Verse.ThingDef get_StuffDef()
L_076b: ldfld Verse.StuffProperties stuffProps
L_0770: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0775: ldarg.0
L_0776: ldfld RimWorld.StatDef stat
L_077b: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0780: stloc.s 30 (System.Single)
L_0782: ldloc.s 30 (System.Single)
L_0784: ldc.r4 1
L_0789: beq Label42
L_078e: ldloc.0
L_078f: ldc.i4.5
L_0790: newarr System.String
L_0795: dup
L_0796: ldc.i4.0
L_0797: ldstr "StatsReport_Material"
L_079c: call System.String Translate(System.String)
L_07a1: stelem.ref
L_07a2: dup
L_07a3: ldc.i4.1
L_07a4: ldstr " ("
L_07a9: stelem.ref
L_07aa: dup
L_07ab: ldc.i4.2
L_07ac: ldarga.s 1
L_07ae: call Verse.ThingDef get_StuffDef()
L_07b3: callvirt System.String get_LabelCap()
L_07b8: stelem.ref
L_07b9: dup
L_07ba: ldc.i4.3
L_07bb: ldstr "): "
L_07c0: stelem.ref
L_07c1: dup
L_07c2: ldc.i4.4
L_07c3: ldloc.s 30 (System.Single)
L_07c5: ldc.i4.8
L_07c6: ldc.i4.2
L_07c7: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_07cc: stelem.ref
L_07cd: call System.String Concat(System.String[])
L_07d2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_07d7: pop
L_07d8: ldloc.0
L_07d9: callvirt System.Text.StringBuilder AppendLine()
L_07de: pop
L_07df: Label41
L_07df: Label42
L_07df: ldarga.s 1
L_07e1: call Verse.ThingDef get_StuffDef()
L_07e6: ldfld Verse.StuffProperties stuffProps
L_07eb: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_07f0: ldarg.0
L_07f1: ldfld RimWorld.StatDef stat
L_07f6: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_07fb: stloc.s 31 (System.Single)
L_07fd: ldloc.s 31 (System.Single)
L_07ff: ldc.r4 0
L_0804: beq Label43
L_0809: ldloc.0
L_080a: ldc.i4.5
L_080b: newarr System.String
L_0810: dup
L_0811: ldc.i4.0
L_0812: ldstr "StatsReport_Material"
L_0817: call System.String Translate(System.String)
L_081c: stelem.ref
L_081d: dup
L_081e: ldc.i4.1
L_081f: ldstr " ("
L_0824: stelem.ref
L_0825: dup
L_0826: ldc.i4.2
L_0827: ldarga.s 1
L_0829: call Verse.ThingDef get_StuffDef()
L_082e: callvirt System.String get_LabelCap()
L_0833: stelem.ref
L_0834: dup
L_0835: ldc.i4.3
L_0836: ldstr "): "
L_083b: stelem.ref
L_083c: dup
L_083d: ldc.i4.4
L_083e: ldloc.s 31 (System.Single)
L_0840: ldarg.0
L_0841: ldfld RimWorld.StatDef stat
L_0846: ldfld Verse.ToStringStyle toStringStyle
L_084b: ldc.i4.3
L_084c: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0851: stelem.ref
L_0852: call System.String Concat(System.String[])
L_0857: callvirt System.Text.StringBuilder AppendLine(System.String)
L_085c: pop
L_085d: ldloc.0
L_085e: callvirt System.Text.StringBuilder AppendLine()
L_0863: pop
L_0864: Label39
L_0864: Label43
L_0864: ldarga.s 1
L_0866: call Verse.Thing get_Thing()
L_086b: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0870: stloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0872: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0874: brfalse Label44
L_0879: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_087b: ldarg.0
L_087c: ldfld RimWorld.StatDef stat
L_0881: ldloc.0
L_0882: callvirt Void GetStatsExplanation(RimWorld.StatDef,
System.Text.StringBuilder)
L_0887: Label44
L_0887: ldarg.0
L_0888: ldfld RimWorld.StatDef stat
L_088d: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0892: brfalse Label45
L_0897: ldloc.0
L_0898: ldstr "StatsReport_OtherStats"
L_089d: call System.String Translate(System.String)
L_08a2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08a7: pop
L_08a8: ldc.i4.0
L_08a9: stloc.s 33 (System.Int32)
L_08ab: br Label46
L_08b0: Label47
L_08b0: ldarg.0
L_08b1: ldfld RimWorld.StatDef stat
L_08b6: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_08bb: ldloc.s 33 (System.Int32)
L_08bd: callvirt RimWorld.StatDef get_Item(Int32)
L_08c2: stloc.s 34 (RimWorld.StatDef)
L_08c4: ldloc.0
L_08c5: ldstr " "
L_08ca: ldloc.s 34 (RimWorld.StatDef)
L_08cc: callvirt System.String get_LabelCap()
L_08d1: ldstr ": x"
L_08d6: ldloc.s 34 (RimWorld.StatDef)
L_08d8: callvirt RimWorld.StatWorker get_Worker()
L_08dd: ldarg.1
L_08de: ldc.i4.1
L_08df: callvirt Single GetValue(StatRequest, Boolean)
L_08e4: call System.String ToStringPercent(Single)
L_08e9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_08ee: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08f3: pop
L_08f4: ldloc.s 33 (System.Int32)
L_08f6: ldc.i4.1
L_08f7: add
L_08f8: stloc.s 33 (System.Int32)
L_08fa: Label46
L_08fa: ldloc.s 33 (System.Int32)
L_08fc: ldarg.0
L_08fd: ldfld RimWorld.StatDef stat
L_0902: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0907: callvirt Int32 get_Count()
L_090c: blt Label47
L_0911: ldloc.0
L_0912: callvirt System.Text.StringBuilder AppendLine()
L_0917: pop
L_0918: Label45
L_0918: ldloc.2
L_0919: brfalse Label48
L_091e: ldloc.2
L_091f: ldfld RimWorld.Pawn_SkillTracker skills
L_0924: brfalse Label49
L_0929: ldarg.0
L_092a: ldfld RimWorld.StatDef stat
L_092f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0934: brfalse Label50
L_0939: ldloc.0
L_093a: ldstr "StatsReport_Skills"
L_093f: call System.String Translate(System.String)
L_0944: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0949: pop
L_094a: ldc.i4.0
L_094b: stloc.s 35 (System.Int32)
L_094d: br Label51
L_0952: Label52
L_0952: ldarg.0
L_0953: ldfld RimWorld.StatDef stat
L_0958: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_095d: ldloc.s 35 (System.Int32)
L_095f: callvirt RimWorld.SkillNeed get_Item(Int32)
L_0964: stloc.s 36 (RimWorld.SkillNeed)
L_0966: ldloc.2
L_0967: ldfld RimWorld.Pawn_SkillTracker skills
L_096c: ldloc.s 36 (RimWorld.SkillNeed)
L_096e: ldfld RimWorld.SkillDef skill
L_0973: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_0978: callvirt Int32 get_Level()
L_097d: stloc.s 37 (System.Int32)
L_097f: ldloc.0
L_0980: ldc.i4.6
L_0981: newarr System.Object
L_0986: dup
L_0987: ldc.i4.0
L_0988: ldstr " "
L_098d: stelem.ref
L_098e: dup
L_098f: ldc.i4.1
L_0990: ldloc.s 36 (RimWorld.SkillNeed)
L_0992: ldfld RimWorld.SkillDef skill
L_0997: callvirt System.String get_LabelCap()
L_099c: stelem.ref
L_099d: dup
L_099e: ldc.i4.2
L_099f: ldstr " ("
L_09a4: stelem.ref
L_09a5: dup
L_09a6: ldc.i4.3
L_09a7: ldloc.s 37 (System.Int32)
L_09a9: box System.Int32
L_09ae: stelem.ref
L_09af: dup
L_09b0: ldc.i4.4
L_09b1: ldstr "): x"
L_09b6: stelem.ref
L_09b7: dup
L_09b8: ldc.i4.5
L_09b9: ldloc.s 36 (RimWorld.SkillNeed)
L_09bb: ldloc.2
L_09bc: callvirt Single ValueFor(Verse.Pawn)
L_09c1: call System.String ToStringPercent(Single)
L_09c6: stelem.ref
L_09c7: call System.String Concat(System.Object[])
L_09cc: callvirt System.Text.StringBuilder AppendLine(System.String)
L_09d1: pop
L_09d2: ldloc.s 35 (System.Int32)
L_09d4: ldc.i4.1
L_09d5: add
L_09d6: stloc.s 35 (System.Int32)
L_09d8: Label51
L_09d8: ldloc.s 35 (System.Int32)
L_09da: ldarg.0
L_09db: ldfld RimWorld.StatDef stat
L_09e0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_09e5: callvirt Int32 get_Count()
L_09ea: blt Label52
L_09ef: ldloc.0
L_09f0: callvirt System.Text.StringBuilder AppendLine()
L_09f5: pop
L_09f6: Label50
L_09f6: br Label53
L_09fb: Label49
L_09fb: ldarg.0
L_09fc: ldfld RimWorld.StatDef stat
L_0a01: ldfld System.Single noSkillFactor
L_0a06: ldc.r4 1
L_0a0b: beq Label54
L_0a10: ldloc.0
L_0a11: ldstr "StatsReport_Skills"
L_0a16: call System.String Translate(System.String)
L_0a1b: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a20: pop
L_0a21: ldloc.0
L_0a22: ldstr " "
L_0a27: ldstr "default"
L_0a2c: call System.String Translate(System.String)
L_0a31: call System.String CapitalizeFirst(System.String)
L_0a36: ldstr " : x"
L_0a3b: ldarg.0
L_0a3c: ldfld RimWorld.StatDef stat
L_0a41: ldfld System.Single noSkillFactor
L_0a46: call System.String ToStringPercent(Single)
L_0a4b: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0a50: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a55: pop
L_0a56: ldloc.0
L_0a57: callvirt System.Text.StringBuilder AppendLine()
L_0a5c: pop
L_0a5d: Label53
L_0a5d: Label54
L_0a5d: ldarg.0
L_0a5e: ldfld RimWorld.StatDef stat
L_0a63: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0a68: brfalse Label55
L_0a6d: ldloc.0
L_0a6e: ldstr "StatsReport_Health"
L_0a73: call Boolean CanTranslate(System.String)
L_0a78: brfalse Label56
L_0a7d: ldstr "StatsReport_Health"
L_0a82: call System.String Translate(System.String)
L_0a87: br Label57
L_0a8c: Label56
L_0a8c: ldstr "StatsReport_HealthFactors"
L_0a91: call System.String Translate(System.String)
L_0a96: Label57
L_0a96: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a9b: pop
L_0a9c: ldarg.0
L_0a9d: ldfld RimWorld.StatDef stat
L_0aa2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0aa7: brfalse Label58
L_0aac: ldarg.0
L_0aad: ldfld RimWorld.StatDef stat
L_0ab2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0ab7: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0abc: brtrue Label59
L_0ac1: ldnull
L_0ac2: ldftn Int32 <GetExplanationUnfinalized>m__5(RimWorld.PawnCapacityFactor)
L_0ac8: newobj Void .ctor(Object, IntPtr)
L_0acd: stsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad2: Label59
L_0ad2: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad7: call IOrderedEnumerable`1 OrderBy[PawnCapacityFactor,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityFactor,System.Int32])
L_0adc: callvirt IEnumerator`1 GetEnumerator()
L_0ae1: stloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
.try
{
L_0ae3: br Label60
L_0ae8: Label63
L_0ae8: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0aea: callvirt RimWorld.PawnCapacityFactor get_Current()
L_0aef: stloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af1: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af3: ldfld Verse.PawnCapacityDef capacity
L_0af8: ldloc.2
L_0af9: callvirt System.String GetLabelFor(Verse.Pawn)
L_0afe: call System.String CapitalizeFirst(System.String)
L_0b03: stloc.s 40 (System.String)
L_0b05: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b07: ldloc.2
L_0b08: ldfld Verse.Pawn_HealthTracker health
L_0b0d: ldfld Verse.PawnCapacitiesHandler capacities
L_0b12: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b14: ldfld Verse.PawnCapacityDef capacity
L_0b19: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0b1e: callvirt Single GetFactor(Single)
L_0b23: stloc.s 41 (System.Single)
L_0b25: ldloc.s 41 (System.Single)
L_0b27: call System.String ToStringPercent(Single)
L_0b2c: stloc.s 42 (System.String)
L_0b2e: ldstr "HealthFactorPercentImpact"
L_0b33: ldc.i4.1
L_0b34: newarr System.Object
L_0b39: dup
L_0b3a: ldc.i4.0
L_0b3b: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b3d: ldfld System.Single weight
L_0b42: call System.String ToStringPercent(Single)
L_0b47: stelem.ref
L_0b48: call System.String Translate(System.String, System.Object[])
L_0b4d: stloc.s 43 (System.String)
L_0b4f: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b51: ldfld System.Single max
L_0b56: ldc.r4 999
L_0b5b: bge.un Label61
L_0b60: ldloc.s 43 (System.String)
L_0b62: ldstr ", "
L_0b67: ldstr "HealthFactorMaxImpact"
L_0b6c: ldc.i4.1
L_0b6d: newarr System.Object
L_0b72: dup
L_0b73: ldc.i4.0
L_0b74: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b76: ldfld System.Single max
L_0b7b: call System.String ToStringPercent(Single)
L_0b80: stelem.ref
L_0b81: call System.String Translate(System.String, System.Object[])
L_0b86: call System.String Concat(System.String, System.String,
System.String)
L_0b8b: stloc.s 43 (System.String)
L_0b8d: Label61
L_0b8d: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b8f: ldfld System.Single allowedDefect
L_0b94: ldc.r4 0
L_0b99: beq Label62
L_0b9e: ldloc.s 43 (System.String)
L_0ba0: ldstr ", "
L_0ba5: ldstr "HealthFactorAllowedDefect"
L_0baa: ldc.i4.1
L_0bab: newarr System.Object
L_0bb0: dup
L_0bb1: ldc.i4.0
L_0bb2: ldc.r4 1
L_0bb7: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0bb9: ldfld System.Single allowedDefect
L_0bbe: sub
L_0bbf: call System.String ToStringPercent(Single)
L_0bc4: stelem.ref
L_0bc5: call System.String Translate(System.String, System.Object[])
L_0bca: call System.String Concat(System.String, System.String,
System.String)
L_0bcf: stloc.s 43 (System.String)
L_0bd1: Label62
L_0bd1: ldloc.0
L_0bd2: ldc.i4.7
L_0bd3: newarr System.String
L_0bd8: dup
L_0bd9: ldc.i4.0
L_0bda: ldstr " "
L_0bdf: stelem.ref
L_0be0: dup
L_0be1: ldc.i4.1
L_0be2: ldloc.s 40 (System.String)
L_0be4: stelem.ref
L_0be5: dup
L_0be6: ldc.i4.2
L_0be7: ldstr ": x"
L_0bec: stelem.ref
L_0bed: dup
L_0bee: ldc.i4.3
L_0bef: ldloc.s 42 (System.String)
L_0bf1: stelem.ref
L_0bf2: dup
L_0bf3: ldc.i4.4
L_0bf4: ldstr " ("
L_0bf9: stelem.ref
L_0bfa: dup
L_0bfb: ldc.i4.5
L_0bfc: ldloc.s 43 (System.String)
L_0bfe: stelem.ref
L_0bff: dup
L_0c00: ldc.i4.6
L_0c01: ldstr ")"
L_0c06: stelem.ref
L_0c07: call System.String Concat(System.String[])
L_0c0c: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0c11: pop
L_0c12: Label60
L_0c12: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c14: callvirt Boolean MoveNext()
L_0c19: brtrue Label63
L_0c1e: leave Label64
L_0c23: leave (autogenerated)
} // end try
.finally
{
L_0c28: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c2a: brfalse Label65
L_0c2f: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c31: callvirt Void Dispose()
L_0c36: Label65
L_0c36: endfinally
L_0c37: leave (autogenerated)
} // end handler
L_0c38: Label58
L_0c38: Label64
L_0c38: ldloc.0
L_0c39: callvirt System.Text.StringBuilder AppendLine()
L_0c3e: pop
L_0c3f: Label55
L_0c3f: ldloc.2
L_0c40: callvirt Boolean get_Inspired()
L_0c45: brfalse Label66
L_0c4a: ldloc.2
L_0c4b: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0c50: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_0c55: ldarg.0
L_0c56: ldfld RimWorld.StatDef stat
L_0c5b: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0c60: stloc.s 44 (System.Single)
L_0c62: ldloc.s 44 (System.Single)
L_0c64: ldc.r4 0
L_0c69: beq Label67
L_0c6e: ldloc.0
L_0c6f: ldstr "StatsReport_Inspiration"
L_0c74: ldc.i4.1
L_0c75: newarr System.Object
L_0c7a: dup
L_0c7b: ldc.i4.0
L_0c7c: ldloc.2
L_0c7d: callvirt RimWorld.Inspiration get_Inspiration()
L_0c82: ldfld RimWorld.InspirationDef def
L_0c87: callvirt System.String get_LabelCap()
L_0c8c: stelem.ref
L_0c8d: call System.String Translate(System.String, System.Object[])
L_0c92: ldstr ": "
L_0c97: ldarg.0
L_0c98: ldloc.s 44 (System.Single)
L_0c9a: ldc.i4.0
L_0c9b: ldc.i4.3
L_0c9c: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0ca1: call System.String Concat(System.String, System.String, System.String)
L_0ca6: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0cab: pop
L_0cac: ldloc.0
L_0cad: callvirt System.Text.StringBuilder AppendLine()
L_0cb2: pop
L_0cb3: Label67
L_0cb3: ldloc.2
L_0cb4: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0cb9: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0cbe: ldarg.0
L_0cbf: ldfld RimWorld.StatDef stat
L_0cc4: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0cc9: stloc.s 45 (System.Single)
L_0ccb: ldloc.s 45 (System.Single)
L_0ccd: ldc.r4 1
L_0cd2: beq Label68
L_0cd7: ldloc.0
L_0cd8: ldstr "StatsReport_Inspiration"
L_0cdd: ldc.i4.1
L_0cde: newarr System.Object
L_0ce3: dup
L_0ce4: ldc.i4.0
L_0ce5: ldloc.2
L_0ce6: callvirt RimWorld.Inspiration get_Inspiration()
L_0ceb: ldfld RimWorld.InspirationDef def
L_0cf0: callvirt System.String get_LabelCap()
L_0cf5: stelem.ref
L_0cf6: call System.String Translate(System.String, System.Object[])
L_0cfb: ldstr ": "
L_0d00: ldloc.s 45 (System.Single)
L_0d02: ldc.i4.8
L_0d03: ldc.i4.2
L_0d04: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0d09: call System.String Concat(System.String, System.String, System.String)
L_0d0e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0d13: pop
L_0d14: ldloc.0
L_0d15: callvirt System.Text.StringBuilder AppendLine()
L_0d1a: pop
L_0d1b: Label48
L_0d1b: Label66
L_0d1b: Label68
L_0d1b: ldloc.0
L_0d1c: callvirt System.String ToString()
L_0d21: call System.String TrimEndNewlines(System.String)
L_0d26: ret
DONE

### Patch RimWorld.StatWorker, Single GetValueUnfinalized(StatRequest, Boolean)


L_0000: Local var 0: System.Single
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.PawnCapacityOffset
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.HediffStage
L_0000: Local var 9: System.Int32
L_0000: Local var 10: System.Int32
L_0000: Local var 11: RimWorld.CompAffectedByFacilities
L_0000: Local var 12: System.Int32
L_0000: Local var 13: System.Int32
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.PawnCapacityFactor
L_0000: Local var 16: System.Single
L_0000: Local var 17: System.Single
L_0000: ldc.r4 0
L_0005: stloc 17 (System.Single)
L_0007: call Boolean get_DevMode()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldarga.s 1
L_0014: call Verse.Thing get_Thing()
L_0019: callvirt Boolean IsDisabledFor(Verse.Thing)
L_001e: brfalse Label2
L_0023: ldstr "Attempted to calculate value for disabled stat {0}; this is meant as
a consistency check, either set the stat to neverDisabled or ensure this pawn
cannot accidentally use this stat (thing={1})"
L_0028: ldarg.0
L_0029: ldfld RimWorld.StatDef stat
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Thing()
L_0035: call System.String ToStringSafe[Thing](Verse.Thing)
L_003a: call System.String Format(System.String, System.Object, System.Object)
L_003f: ldc.i4 75193282
L_0044: ldarg.0
L_0045: ldfld RimWorld.StatDef stat
L_004a: ldfld System.UInt16 index
L_004f: add
L_0050: ldc.i4.0
L_0051: call Void ErrorOnce(System.String, Int32, Boolean)
L_0056: Label1
L_0056: Label2
L_0056: ldarg.0
L_0057: ldarga.s 1
L_0059: call Verse.BuildableDef get_Def()
L_005e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0063: stloc.0
L_0064: ldarga.s 1
L_0066: call Verse.Thing get_Thing()
L_006b: isinst Verse.Pawn
L_0070: stloc.1
L_0071: ldloc.1
L_0072: brfalse Label3
L_0077: ldloc.1
L_0078: ldfld RimWorld.Pawn_SkillTracker skills
L_007d: brfalse Label4
L_0082: ldarg.0
L_0083: ldfld RimWorld.StatDef stat
L_0088: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_008d: brfalse Label5
L_0092: ldc.i4.0
L_0093: stloc.2
L_0094: br Label6
L_0099: Label7
L_0099: ldloc.0
L_009a: ldarg.0
L_009b: ldfld RimWorld.StatDef stat
L_00a0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00a5: ldloc.2
L_00a6: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00ab: ldloc.1
L_00ac: callvirt Single ValueFor(Verse.Pawn)
L_00b1: add
L_00b2: stloc.0
L_00b3: ldloc.2
L_00b4: ldc.i4.1
L_00b5: add
L_00b6: stloc.2
L_00b7: Label6
L_00b7: ldloc.2
L_00b8: ldarg.0
L_00b9: ldfld RimWorld.StatDef stat
L_00be: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00c3: callvirt Int32 get_Count()
L_00c8: blt Label7
L_00cd: Label5
L_00cd: br Label8
L_00d2: Label4
L_00d2: ldloc.0
L_00d3: ldarg.0
L_00d4: ldfld RimWorld.StatDef stat
L_00d9: ldfld System.Single noSkillOffset
L_00de: add
L_00df: stloc.0
L_00e0: Label8
L_00e0: ldarg.0
L_00e1: ldfld RimWorld.StatDef stat
L_00e6: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_00eb: brfalse Label9
L_00f0: ldc.i4.0
L_00f1: stloc.3
L_00f2: br Label10
L_00f7: Label11
L_00f7: ldarg.0
L_00f8: ldfld RimWorld.StatDef stat
L_00fd: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_0102: ldloc.3
L_0103: callvirt RimWorld.PawnCapacityOffset get_Item(Int32)
L_0108: stloc.s 4 (RimWorld.PawnCapacityOffset)
L_010a: ldloc.0
L_010b: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_010d: ldloc.1
L_010e: ldfld Verse.Pawn_HealthTracker health
L_0113: ldfld Verse.PawnCapacitiesHandler capacities
L_0118: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_011a: ldfld Verse.PawnCapacityDef capacity
L_011f: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0124: callvirt Single GetOffset(Single)
L_0129: add
L_012a: stloc.0
L_012b: ldloc.3
L_012c: ldc.i4.1
L_012d: add
L_012e: stloc.3
L_012f: Label10
L_012f: ldloc.3
L_0130: ldarg.0
L_0131: ldfld RimWorld.StatDef stat
L_0136: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_013b: callvirt Int32 get_Count()
L_0140: blt Label11
L_0145: Label9
L_0145: ldloc.1
L_0146: ldfld RimWorld.Pawn_StoryTracker story
L_014b: brfalse Label12
L_0150: ldc.i4.0
L_0151: stloc.s 5 (System.Int32)
L_0153: br Label13
L_0158: Label14
L_0158: ldloc.0
L_0159: ldloc.1
L_015a: ldfld RimWorld.Pawn_StoryTracker story
L_015f: ldfld RimWorld.TraitSet traits
L_0164: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0169: ldloc.s 5 (System.Int32)
L_016b: callvirt RimWorld.Trait get_Item(Int32)
L_0170: ldarg.0
L_0171: ldfld RimWorld.StatDef stat
L_0176: callvirt Single OffsetOfStat(RimWorld.StatDef)
L_017b: add
L_017c: stloc.0
L_017d: ldloc.s 5 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 5 (System.Int32)
L_0183: Label13
L_0183: ldloc.s 5 (System.Int32)
L_0185: ldloc.1
L_0186: ldfld RimWorld.Pawn_StoryTracker story
L_018b: ldfld RimWorld.TraitSet traits
L_0190: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0195: callvirt Int32 get_Count()
L_019a: blt Label14
L_019f: Label12
L_019f: ldloc.1
L_01a0: ldfld Verse.Pawn_HealthTracker health
L_01a5: ldfld Verse.HediffSet hediffSet
L_01aa: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_01af: stloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01b1: ldc.i4.0
L_01b2: stloc.s 7 (System.Int32)
L_01b4: br Label15
L_01b9: Label17
L_01b9: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01bb: ldloc.s 7 (System.Int32)
L_01bd: callvirt Verse.Hediff get_Item(Int32)
L_01c2: callvirt Verse.HediffStage get_CurStage()
L_01c7: stloc.s 8 (Verse.HediffStage)
L_01c9: ldloc.s 8 (Verse.HediffStage)
L_01cb: brfalse Label16
L_01d0: ldloc.0
L_01d1: ldloc.s 8 (Verse.HediffStage)
L_01d3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_01d8: ldarg.0
L_01d9: ldfld RimWorld.StatDef stat
L_01de: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_01e3: add
L_01e4: stloc.0
L_01e5: Label16
L_01e5: ldloc.s 7 (System.Int32)
L_01e7: ldc.i4.1
L_01e8: add
L_01e9: stloc.s 7 (System.Int32)
L_01eb: Label15
L_01eb: ldloc.s 7 (System.Int32)
L_01ed: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01ef: callvirt Int32 get_Count()
L_01f4: blt Label17
L_01f9: ldloc.1
L_01fa: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ff: brfalse Label18
L_0204: ldc.i4.0
L_0205: stloc.s 9 (System.Int32)
L_0207: br Label19
L_020c: Label20
L_020c: ldloc.0
L_020d: ldloc.1
L_020e: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0213: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0218: ldloc.s 9 (System.Int32)
L_021a: callvirt RimWorld.Apparel get_Item(Int32)
L_021f: ldarg.0
L_0220: ldfld RimWorld.StatDef stat
L_0225: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_022a: add
L_022b: stloc.0
L_022c: ldloc.s 9 (System.Int32)
L_022e: ldc.i4.1
L_022f: add
L_0230: stloc.s 9 (System.Int32)
L_0232: Label19
L_0232: ldloc.s 9 (System.Int32)
L_0234: ldloc.1
L_0235: ldfld RimWorld.Pawn_ApparelTracker apparel
L_023a: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_023f: callvirt Int32 get_Count()
L_0244: blt Label20
L_0249: Label18
L_0249: ldloc.1
L_024a: ldfld Verse.Pawn_EquipmentTracker equipment
L_024f: brfalse Label21
L_0254: ldloc.1
L_0255: ldfld Verse.Pawn_EquipmentTracker equipment
L_025a: callvirt Verse.ThingWithComps get_Primary()
L_025f: brfalse Label22
L_0264: ldloc.0
L_0265: ldloc.1
L_0266: ldfld Verse.Pawn_EquipmentTracker equipment
L_026b: callvirt Verse.ThingWithComps get_Primary()
L_0270: ldarg.0
L_0271: ldfld RimWorld.StatDef stat
L_0276: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_027b: add
L_027c: stloc.0
L_027d: Label21
L_027d: Label22
L_027d: ldloc.1
L_027e: ldfld RimWorld.Pawn_StoryTracker story
L_0283: brfalse Label23
L_0288: ldc.i4.0
L_0289: stloc.s 10 (System.Int32)
L_028b: br Label24
L_0290: Label25
L_0290: ldloc.0
L_0291: ldloc.1
L_0292: ldfld RimWorld.Pawn_StoryTracker story
L_0297: ldfld RimWorld.TraitSet traits
L_029c: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02a1: ldloc.s 10 (System.Int32)
L_02a3: callvirt RimWorld.Trait get_Item(Int32)
L_02a8: ldarg.0
L_02a9: ldfld RimWorld.StatDef stat
L_02ae: callvirt Single MultiplierOfStat(RimWorld.StatDef)
L_02b3: mul
L_02b4: stloc.0
L_02b5: ldloc.s 10 (System.Int32)
L_02b7: ldc.i4.1
L_02b8: add
L_02b9: stloc.s 10 (System.Int32)
L_02bb: Label24
L_02bb: ldloc.s 10 (System.Int32)
L_02bd: ldloc.1
L_02be: ldfld RimWorld.Pawn_StoryTracker story
L_02c3: ldfld RimWorld.TraitSet traits
L_02c8: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02cd: callvirt Int32 get_Count()
L_02d2: blt Label25
L_02d7: Label23
L_02d7: ldloc.0
L_02d8: ldloc.1
L_02d9: ldfld Verse.Pawn_AgeTracker ageTracker
L_02de: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_02e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_02e8: ldarg.0
L_02e9: ldfld RimWorld.StatDef stat
L_02ee: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_02f3: mul
L_02f4: stloc.0
L_02f5: Label3
L_02f5: ldarga.s 1
L_02f7: call Verse.ThingDef get_StuffDef()
L_02fc: brfalse Label26
L_0301: ldloc.0
L_0302: ldc.r4 0
L_0307: bgt Label27
L_030c: ldarg.0
L_030d: ldfld RimWorld.StatDef stat
L_0312: ldfld System.Boolean applyFactorsIfNegative
L_0317: brfalse Label28
L_031c: Label27
L_031c: ldloc.0
L_031d: ldarga.s 1
L_031f: call Verse.ThingDef get_StuffDef()
L_0324: ldfld Verse.StuffProperties stuffProps
L_0329: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_032e: ldarg.0
L_032f: ldfld RimWorld.StatDef stat
L_0334: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0339: mul
L_033a: stloc.0
L_033b: Label28
L_033b: ldloc.0
L_033c: ldarga.s 1
L_033e: call Verse.ThingDef get_StuffDef()
L_0343: ldfld Verse.StuffProperties stuffProps
L_0348: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_034d: ldarg.0
L_034e: ldfld RimWorld.StatDef stat
L_0353: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0358: add
L_0359: stloc.0
L_035a: Label26
L_035a: ldarga.s 1
L_035c: call Boolean get_HasThing()
L_0361: brfalse Label29
L_0366: ldarga.s 1
L_0368: call Verse.Thing get_Thing()
L_036d: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0372: stloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0374: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0376: brfalse Label30
L_037b: ldloc.0
L_037c: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_037e: ldarg.0
L_037f: ldfld RimWorld.StatDef stat
L_0384: callvirt Single GetStatOffset(RimWorld.StatDef)
L_0389: add
L_038a: stloc.0
L_038b: Label30
L_038b: ldarg.0
L_038c: ldfld RimWorld.StatDef stat
L_0391: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0396: brfalse Label31
L_039b: ldc.i4.0
L_039c: stloc.s 12 (System.Int32)
L_039e: br Label32
L_03a3: Label33
L_03a3: ldloc.0
L_03a4: ldarga.s 1
L_03a6: call Verse.Thing get_Thing()
L_03ab: ldarg.0
L_03ac: ldfld RimWorld.StatDef stat
L_03b1: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03b6: ldloc.s 12 (System.Int32)
L_03b8: callvirt RimWorld.StatDef get_Item(Int32)
L_03bd: ldc.i4.1
L_03be: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_03c3: mul
L_03c4: stloc.0
L_03c5: ldloc.s 12 (System.Int32)
L_03c7: ldc.i4.1
L_03c8: add
L_03c9: stloc.s 12 (System.Int32)
L_03cb: Label32
L_03cb: ldloc.s 12 (System.Int32)
L_03cd: ldarg.0
L_03ce: ldfld RimWorld.StatDef stat
L_03d3: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03d8: callvirt Int32 get_Count()
L_03dd: blt Label33
L_03e2: Label31
L_03e2: ldloc.1
L_03e3: brfalse Label34
L_03e8: ldloc.1
L_03e9: ldfld RimWorld.Pawn_SkillTracker skills
L_03ee: brfalse Label35
L_03f3: ldarg.0
L_03f4: ldfld RimWorld.StatDef stat
L_03f9: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_03fe: brfalse Label36
L_0403: ldc.i4.0
L_0404: stloc.s 13 (System.Int32)
L_0406: br Label37
L_040b: Label38
L_040b: ldloc.0
L_040c: ldarg.0
L_040d: ldfld RimWorld.StatDef stat
L_0412: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0417: ldloc.s 13 (System.Int32)
L_0419: callvirt RimWorld.SkillNeed get_Item(Int32)
L_041e: ldloc.1
L_041f: callvirt Single ValueFor(Verse.Pawn)
L_0424: mul
L_0425: stloc.0
L_0426: ldloc.s 13 (System.Int32)
L_0428: ldc.i4.1
L_0429: add
L_042a: stloc.s 13 (System.Int32)
L_042c: Label37
L_042c: ldloc.s 13 (System.Int32)
L_042e: ldarg.0
L_042f: ldfld RimWorld.StatDef stat
L_0434: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0439: callvirt Int32 get_Count()
L_043e: blt Label38
L_0443: Label36
L_0443: br Label39
L_0448: Label35
L_0448: ldloc.0
L_0449: ldarg.0
L_044a: ldfld RimWorld.StatDef stat
L_044f: ldfld System.Single noSkillFactor
L_0454: mul
L_0455: stloc.0
L_0456: Label39
L_0456: ldarg.0
L_0457: ldfld RimWorld.StatDef stat
L_045c: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0461: brfalse Label40
L_0466: ldc.i4.0
L_0467: stloc.s 14 (System.Int32)
L_0469: br Label41
L_046e: Label42
L_046e: ldarg.0
L_046f: ldfld RimWorld.StatDef stat
L_0474: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0479: ldloc.s 14 (System.Int32)
L_047b: callvirt RimWorld.PawnCapacityFactor get_Item(Int32)
L_0480: stloc.s 15 (RimWorld.PawnCapacityFactor)
L_0482: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0484: ldloc.1
L_0485: ldfld Verse.Pawn_HealthTracker health
L_048a: ldfld Verse.PawnCapacitiesHandler capacities
L_048f: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0491: ldfld Verse.PawnCapacityDef capacity
L_0496: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_049b: callvirt Single GetFactor(Single)
L_04a0: stloc.s 16 (System.Single)
L_04a2: ldloc.0
L_04a3: ldloc.0
L_04a4: ldloc.s 16 (System.Single)
L_04a6: mul
L_04a7: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_04a9: ldfld System.Single weight
L_04ae: call Single Lerp(Single, Single, Single)
L_04b3: stloc.0
L_04b4: ldloc.s 14 (System.Int32)
L_04b6: ldc.i4.1
L_04b7: add
L_04b8: stloc.s 14 (System.Int32)
L_04ba: Label41
L_04ba: ldloc.s 14 (System.Int32)
L_04bc: ldarg.0
L_04bd: ldfld RimWorld.StatDef stat
L_04c2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_04c7: callvirt Int32 get_Count()
L_04cc: blt Label42
L_04d1: Label40
L_04d1: ldloc.1
L_04d2: callvirt Boolean get_Inspired()
L_04d7: brfalse Label43
L_04dc: ldloc.0
L_04dd: ldloc.1
L_04de: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_04e8: ldarg.0
L_04e9: ldfld RimWorld.StatDef stat
L_04ee: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_04f3: add
L_04f4: stloc.0
L_04f5: ldloc.0
L_04f6: ldloc.1
L_04f7: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04fc: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0501: ldarg.0
L_0502: ldfld RimWorld.StatDef stat
L_0507: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_050c: mul
L_050d: stloc.0
L_050e: Label29
L_050e: Label34
L_050e: Label43
L_050e: ldloc.0
L_050f: stloc 17 (System.Single)
L_0511: ldarg.0
L_0512: ldloca 17 (System.Single)
L_0514: ldarga 1
L_051a: ldarg 2
L_0520: call Void Patch_StatWorker_GetValueUnfinalized(RimWorld.StatWorker, Single
ByRef, StatRequest ByRef, Boolean)
L_0525: ldloc 17 (System.Single)
L_0527: ret
DONE

### Patch RimWorld.Dialog_ManageAreas, Void .ctor(Map)


L_0000: ldarg.0
L_0001: call Void .ctor()
L_0006: ldarg.0
L_0007: ldarg.1
L_0008: stfld Verse.Map map
L_000d: ldarg.0
L_000e: ldc.i4.1
L_000f: stfld System.Boolean forcePause
L_0014: ldarg.0
L_0015: ldc.i4.1
L_0016: stfld System.Boolean doCloseX
L_001b: ldarg.0
L_001c: ldc.i4.1
L_001d: stfld System.Boolean doCloseButton
L_0022: ldarg.0
L_0023: ldc.i4.1
L_0024: stfld System.Boolean closeOnClickedOutside
L_0029: ldarg.0
L_002a: ldc.i4.1
L_002b: stfld System.Boolean absorbInputAroundWindow
L_0030: call Void Postfix()
L_0035: ret
DONE

### Patch RimWorld.Area_Allowed, Int32 get_ListPriority()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldc.i4 500
L_000b: stloc 0 (System.Int32)
L_000c: ldarg.0
L_000d: ldloca 0 (System.Int32)
L_000f: call Void ListPriority_Postfix(RimWorld.Area_Allowed, Int32 ByRef)
L_0014: ldloc 0 (System.Int32)
L_0015: ret
DONE

### Patch RimWorld.InspectGizmoGrid, Void DrawInspectGizmoGridFor(IEnumerable`1,


Verse.Gizmo ByRef)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.ISelectable
L_0000: Local var 2: System.Int32
L_0000: Local var 3:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1
L_0000: Local var 4: System.Collections.Generic.List`1[[Verse.Designator, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 5: System.Int32
L_0000: Local var 6:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0
L_0000: Local var 7: Verse.AcceptanceReport
L_0000: Local var 8: System.Single
L_0000: Local var 9: UnityEngine.Vector2
L_0000: Local var 10: Verse.Command_Action
L_0000: Local var 11: System.Exception
L_0000: call Void ClearReverseDesignatorPairs()
L_0005: ldarg.1
L_0006: ldnull
L_0007: stind.ref
.try
{
L_0008: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_000d: callvirt Void Clear()
L_0012: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0017: ldarg.0
L_0018: callvirt Void AddRange(IEnumerable`1)
L_001d: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0022: callvirt Void Clear()
L_0027: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_002c: call IEnumerable`1 GetStopGizmos()
L_0031: call Void AddRange(IEnumerable`1)
L_0036: ldc.i4.0
L_0037: stloc.0
L_0038: br Label1
L_003d: Label3
L_003d: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0042: ldloc.0
L_0043: callvirt System.Object get_Item(Int32)
L_0048: isinst Verse.ISelectable
L_004d: stloc.1
L_004e: ldloc.1
L_004f: brfalse Label2
L_0054: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0059: ldloc.1
L_005a: callvirt IEnumerable`1 GetGizmos()
L_005f: callvirt Void AddRange(IEnumerable`1)
L_0064: Label2
L_0064: ldloc.0
L_0065: ldc.i4.1
L_0066: add
L_0067: stloc.0
L_0068: Label1
L_0068: ldloc.0
L_0069: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_006e: callvirt Int32 get_Count()
L_0073: blt Label3
L_0078: ldc.i4.0
L_0079: stloc.2
L_007a: br Label4
L_007f: Label12
L_007f: newobj Void .ctor()
L_0084: stloc.3
L_0085: ldloc.3
L_0086: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_008b: ldloc.2
L_008c: callvirt System.Object get_Item(Int32)
L_0091: isinst Verse.Thing
L_0096: stfld Verse.Thing t
L_009b: ldloc.3
L_009c: ldfld Verse.Thing t
L_00a1: brtrue Label5
L_00a6: leave Label6
L_00ab: Label5
L_00ab: call Verse.ReverseDesignatorDatabase get_ReverseDesignatorDatabase()
L_00b0: callvirt System.Collections.Generic.List`1[Verse.Designator]
get_AllDesignators()
L_00b5: stloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00b7: ldc.i4.0
L_00b8: stloc.s 5 (System.Int32)
L_00ba: br Label7
L_00bf: Label11
L_00bf: newobj Void .ctor()
L_00c4: stloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c8: ldloc.3
L_00c9: stfld
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1 <>f__ref$1
L_00ce: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00d0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00d2: ldloc.s 5 (System.Int32)
L_00d4: callvirt Verse.Designator get_Item(Int32)
L_00d9: stfld Verse.Designator des
L_00de: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00e0: ldfld Verse.Designator des
L_00e5: ldloc.3
L_00e6: ldfld Verse.Thing t
L_00eb: callvirt AcceptanceReport CanDesignateThing(Verse.Thing)
L_00f0: stloc.s 7 (Verse.AcceptanceReport)
L_00f2: ldloca.s 7 (Verse.AcceptanceReport)
L_00f4: call Boolean get_Accepted()
L_00f9: brfalse Label8
L_00fe: newobj Void .ctor()
L_0103: stloc.s 10 (Verse.Command_Action)
L_0105: ldloc.s 10 (Verse.Command_Action)
L_0107: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0109: ldfld Verse.Designator des
L_010e: ldloc.3
L_010f: ldfld Verse.Thing t
L_0114: callvirt System.String LabelCapReverseDesignating(Verse.Thing)
L_0119: stfld System.String defaultLabel
L_011e: ldloc.s 10 (Verse.Command_Action)
L_0120: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0122: ldfld Verse.Designator des
L_0127: ldloc.3
L_0128: ldfld Verse.Thing t
L_012d: ldloca.s 8 (System.Single)
L_012f: ldloca.s 9 (UnityEngine.Vector2)
L_0131: callvirt UnityEngine.Texture2D IconReverseDesignating(Verse.Thing,
Single ByRef, Vector2 ByRef)
L_0136: stfld UnityEngine.Texture2D icon
L_013b: ldloc.s 10 (Verse.Command_Action)
L_013d: ldloc.s 8 (System.Single)
L_013f: stfld System.Single iconAngle
L_0144: ldloc.s 10 (Verse.Command_Action)
L_0146: ldloc.s 9 (UnityEngine.Vector2)
L_0148: stfld UnityEngine.Vector2 iconOffset
L_014d: ldloc.s 10 (Verse.Command_Action)
L_014f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0151: ldfld Verse.Designator des
L_0156: ldloc.3
L_0157: ldfld Verse.Thing t
L_015c: callvirt System.String DescReverseDesignating(Verse.Thing)
L_0161: stfld System.String defaultDesc
L_0166: ldloc.s 10 (Verse.Command_Action)
L_0168: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_016a: ldfld Verse.Designator des
L_016f: isinst RimWorld.Designator_Uninstall
L_0174: brfalse Label9
L_0179: ldc.r4 -11
L_017e: br Label10
L_0183: Label9
L_0183: ldc.r4 -20
L_0188: Label10
L_0188: stfld System.Single order
L_018d: ldloc.s 10 (Verse.Command_Action)
L_018f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0191: ldftn Void <>m__0()
L_0197: newobj Void .ctor(Object, IntPtr)
L_019c: stfld System.Action action
L_01a1: ldloc.s 10 (Verse.Command_Action)
L_01a3: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01a5: ldfld Verse.Designator des
L_01aa: ldfld Verse.KeyBindingDef hotKey
L_01af: stfld Verse.KeyBindingDef hotKey
L_01b4: ldloc.s 10 (Verse.Command_Action)
L_01b6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01b8: ldfld Verse.Designator des
L_01bd: ldfld System.Int32 groupKey
L_01c2: stfld System.Int32 groupKey
L_01c7: ldloc.s 6
L_01cc: ldfld Verse.Designator des
L_01d1: ldloc 10
L_01d7: call Void RegisterReverseDesignatorPair(Verse.Designator,
Verse.Command_Action)
L_01dc: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_01e1: ldloc.s 10 (Verse.Command_Action)
L_01e3: callvirt Void Add(Verse.Gizmo)
L_01e8: Label8
L_01e8: ldloc.s 5 (System.Int32)
L_01ea: ldc.i4.1
L_01eb: add
L_01ec: stloc.s 5 (System.Int32)
L_01ee: Label7
L_01ee: ldloc.s 5 (System.Int32)
L_01f0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_01f2: callvirt Int32 get_Count()
L_01f7: blt Label11
L_01fc: Label6
L_01fc: ldloc.2
L_01fd: ldc.i4.1
L_01fe: add
L_01ff: stloc.2
L_0200: Label4
L_0200: ldloc.2
L_0201: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0206: callvirt Int32 get_Count()
L_020b: blt Label12
L_0210: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0215: callvirt Void Clear()
L_021a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_021f: call Verse.WindowStack get_WindowStack()
L_0224: callvirt IInspectPane WindowOfType[IInspectPane]()
L_0229: call Single PaneWidthFor(IInspectPane)
L_022e: ldc.r4 20
L_0233: add
L_0234: ldarg.1
L_0235: call Void DrawGizmoGrid(IEnumerable`1, Single, Verse.Gizmo ByRef)
L_023a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_023f: callvirt Void Clear()
L_0244: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0249: call IEnumerable`1 GetStopGizmos()
L_024e: call Void AddRange(IEnumerable`1)
L_0253: leave Label13
L_0258: leave (autogenerated)
} // end try
.catch System.Exception
{
L_025d: stloc.s 11 (System.Exception)
L_025f: ldloc.s 11 (System.Exception)
L_0261: callvirt System.String ToString()
L_0266: ldc.i4 3427734
L_026b: ldc.i4.0
L_026c: call Void ErrorOnce(System.String, Int32, Boolean)
L_0271: leave Label14
L_0276: leave (autogenerated)
} // end handler
L_027b: Label13
L_027b: Label14
L_027b: ret
DONE

### Patch Verse.PawnUIOverlay, Void DrawPawnGUIOverlay()


L_0000: Local var 0: Verse.AnimalNameDisplayMode
L_0000: Local var 1: UnityEngine.Vector2
L_0000: ldarg.0
L_0001: ldfld Verse.Pawn pawn
L_0006: callvirt Boolean get_Spawned()
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldfld Verse.Pawn pawn
L_0016: callvirt Verse.Map get_Map()
L_001b: ldfld Verse.FogGrid fogGrid
L_0020: ldarg.0
L_0021: ldfld Verse.Pawn pawn
L_0026: callvirt IntVec3 get_Position()
L_002b: callvirt Boolean IsFogged(IntVec3)
L_0030: brfalse Label2
L_0035: Label1
L_0035: br Label14
L_003a: Label2
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt Verse.RaceProperties get_RaceProps()
L_0045: callvirt Boolean get_Humanlike()
L_004a: brtrue Label3
L_004f: call AnimalNameDisplayMode get_AnimalNameMode()
L_0054: stloc.0
L_0055: ldloc.0
L_0056: brfalse Label4
L_005b: ldloc.0
L_005c: ldc.i4.2
L_005d: beq Label5
L_0062: ldloc.0
L_0063: ldc.i4.1
L_0064: beq Label6
L_0069: br Label7
L_006e: Label4
L_006e: br Label15
L_0073: Label5
L_0073: ldarg.0
L_0074: ldfld Verse.Pawn pawn
L_0079: callvirt Verse.Name get_Name()
L_007e: brtrue Label8
L_0083: br Label16
L_0088: Label8
L_0088: br Label9
L_008d: Label6
L_008d: ldarg.0
L_008e: ldfld Verse.Pawn pawn
L_0093: callvirt Verse.Name get_Name()
L_0098: brfalse Label10
L_009d: ldarg.0
L_009e: ldfld Verse.Pawn pawn
L_00a3: callvirt Verse.Name get_Name()
L_00a8: callvirt Boolean get_Numerical()
L_00ad: brfalse Label11
L_00b2: Label10
L_00b2: br Label17
L_00b7: Label11
L_00b7: br Label12
L_00bc: Label3
L_00bc: Label7
L_00bc: Label9
L_00bc: Label12
L_00bc: ldarg.0
L_00bd: ldfld Verse.Pawn pawn
L_00c2: ldc.r4 -0.6
L_00c7: call Vector2 LabelDrawPosFor(Verse.Thing, Single)
L_00cc: stloc.1
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: ldloc.1
L_00d4: ldc.r4 1
L_00d9: ldc.r4 9999
L_00de: ldnull
L_00df: ldc.i4.0
L_00e0: ldc.i4.1
L_00e1: ldc.i4.1
L_00e2: call Void DrawPawnLabel(Verse.Pawn, Vector2, Single, Single,
System.Collections.Generic.Dictionary`2[System.String,System.String], GameFont,
Boolean, Boolean)
L_00e7: ldarg.0
L_00e8: ldfld Verse.Pawn pawn
L_00ed: callvirt Boolean get_CanTradeNow()
L_00f2: brfalse Label13
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: callvirt Verse.Map get_Map()
L_0102: ldfld RimWorld.OverlayDrawer overlayDrawer
L_0107: ldarg.0
L_0108: ldfld Verse.Pawn pawn
L_010d: ldc.i4.s 32
L_010f: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0114: Label13
L_0114: Label14
L_0114: Label15
L_0114: Label16
L_0114: Label17
L_0114: ldarg.0
L_0115: call Void DrawPawnGUIOverlay(Verse.PawnUIOverlay)
L_011a: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ldarg.0
L_0424: ldarg 1
L_042a: ldarg 2
L_0430: ldarg 3
L_0436: call Void RenderPawnAt(Verse.PawnRenderer, Vector3, RotDrawMode, Boolean)
L_043b: ret
DONE
### Patch RimWorld.IncidentWorker_VisitorGroup, Boolean
TryConvertOnePawnToSmallTrader(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map)
L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: RimWorld.TraderKindDef
L_0000: Local var 3: RimWorld.ThingSetMakerParams
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: Verse.IntVec3
L_0000: Local var 8: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Boolean)
L_0007: ldarg.2
L_0008: ldfld RimWorld.FactionDef def
L_000d: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_0012: call Boolean NullOrEmpty[TraderKindDef](IList`1)
L_0017: brfalse Label1
L_001c: ldc.i4.0
L_001d: br Label10
L_0022: Label1
L_0022: ldarg.1
L_0023: call Verse.Pawn RandomElement[Pawn](IEnumerable`1)
L_0028: stloc.0
L_0029: ldloc.0
L_002a: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_002f: stloc.1
L_0030: ldloc.0
L_0031: ldfld Verse.AI.Pawn_MindState mindState
L_0036: ldc.i4.1
L_0037: stfld System.Boolean wantsToTradeWithColony
L_003c: ldloc.0
L_003d: ldc.i4.1
L_003e: call Void AddAndRemoveDynamicComponents(Verse.Pawn, Boolean)
L_0043: ldarg.2
L_0044: ldfld RimWorld.FactionDef def
L_0049: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_004e: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0053: brtrue Label2
L_0058: ldnull
L_0059: ldftn Single <TryConvertOnePawnToSmallTrader>m__0(RimWorld.TraderKindDef)
L_005f: newobj Void .ctor(Object, IntPtr)
L_0064: stsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0069: Label2
L_0069: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_006e: call RimWorld.TraderKindDef RandomElementByWeight[TraderKindDef]
(IEnumerable`1, System.Func`2[RimWorld.TraderKindDef,System.Single])
L_0073: stloc.2
L_0074: ldloc.0
L_0075: ldfld RimWorld.Pawn_TraderTracker trader
L_007a: ldloc.2
L_007b: stfld RimWorld.TraderKindDef traderKind
L_0080: ldloc.0
L_0081: ldfld Verse.Pawn_InventoryTracker inventory
L_0086: ldc.i4.0
L_0087: callvirt Void DestroyAll(DestroyMode)
L_008c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_008e: initobj RimWorld.ThingSetMakerParams
L_0094: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_0096: ldloc.2
L_0097: stfld RimWorld.TraderKindDef traderDef
L_009c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_009e: ldarg.3
L_009f: callvirt Int32 get_Tile()
L_00a4: newobj Void .ctor(Int32)
L_00a9: stfld System.Nullable`1[System.Int32] tile
L_00ae: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_00b0: ldarg.2
L_00b1: stfld RimWorld.Faction traderFaction
L_00b6: ldsfld RimWorld.ThingSetMakerDef TraderStock
L_00bb: ldfld RimWorld.ThingSetMaker root
L_00c0: ldloc.3
L_00c1: callvirt System.Collections.Generic.List`1[Verse.Thing]
Generate(ThingSetMakerParams)
L_00c6: callvirt Enumerator GetEnumerator()
L_00cb: stloc.s 5 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_00cd: br Label3
L_00d2: Label8
L_00d2: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_00d4: call Verse.Thing get_Current()
L_00d9: stloc.s 4 (Verse.Thing)
L_00db: ldloc.s 4 (Verse.Thing)
L_00dd: isinst Verse.Pawn
L_00e2: stloc.s 6 (Verse.Pawn)
L_00e4: ldloc.s 6 (Verse.Pawn)
L_00e6: brfalse Label4
L_00eb: ldloc.s 6 (Verse.Pawn)
L_00ed: callvirt RimWorld.Faction get_Faction()
L_00f2: ldloc.0
L_00f3: callvirt RimWorld.Faction get_Faction()
L_00f8: beq Label5
L_00fd: ldloc.s 6 (Verse.Pawn)
L_00ff: ldloc.0
L_0100: callvirt RimWorld.Faction get_Faction()
L_0105: ldnull
L_0106: callvirt Void SetFaction(RimWorld.Faction, Verse.Pawn)
L_010b: Label5
L_010b: ldloc.0
L_010c: callvirt IntVec3 get_Position()
L_0111: ldarg.3
L_0112: ldc.i4.5
L_0113: ldnull
L_0114: call IntVec3 RandomClosewalkCellNear(IntVec3, Verse.Map, Int32,
System.Predicate`1[Verse.IntVec3])
L_0119: stloc.s 7 (Verse.IntVec3)
L_011b: ldloc.s 6 (Verse.Pawn)
L_011d: ldloc.s 7 (Verse.IntVec3)
L_011f: ldarg.3
L_0120: ldc.i4.0
L_0121: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, WipeMode)
L_0126: pop
L_0127: ldloc.1
L_0128: ldloc.s 6 (Verse.Pawn)
L_012a: callvirt Void AddPawn(Verse.Pawn)
L_012f: br Label6
L_0134: Label4
L_0134: ldloc.0
L_0135: ldfld Verse.Pawn_InventoryTracker inventory
L_013a: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_013f: ldloc.s 4 (Verse.Thing)
L_0141: ldc.i4.1
L_0142: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0147: brtrue Label7
L_014c: ldloc.s 4 (Verse.Thing)
L_014e: ldc.i4.0
L_014f: callvirt Void Destroy(DestroyMode)
L_0154: Label3
L_0154: Label6
L_0154: Label7
L_0154: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0156: call Boolean MoveNext()
L_015b: brtrue Label8
L_0160: leave Label9
L_0165: leave (autogenerated)
} // end try
.finally
{
L_016a: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_016c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_0172: callvirt Void Dispose()
L_0177: endfinally
L_0178: leave (autogenerated)
} // end handler
L_0179: Label9
L_0179: ldloc.0
L_017a: call Void GiveRandomFood(Verse.Pawn)
L_017f: ldc.i4.1
L_0180: Label10
L_0180: stloc 8 (System.Boolean)
L_0182: ldarg 1
L_0188: ldarg 2
L_018e: ldarg 3
L_0194: ldloca 8 (System.Boolean)
L_0196: call Void AddQuestGiver(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map, Boolean ByRef)
L_019b: ldloc 8 (System.Boolean)
L_019d: ret
DONE

### Patch RimWorld.PawnGroupKindWorker_Trader, Void


GenerateGuards(RimWorld.PawnGroupMakerParms, RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Single
L_0000: Local var 1: RimWorld.PawnGenOption
L_0000: Local var 2:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnGenOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: Verse.PawnGenerationRequest
L_0000: Local var 4: Verse.PawnKindDef
L_0000: Local var 5: RimWorld.Faction
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Boolean
L_0000: Local var 8: System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var 9: System.Nullable`1[[Verse.Gender, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 10: Verse.Pawn
L_0000: ldarg.2
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0006: call Boolean Any[PawnGenOption]
(System.Collections.Generic.List`1[RimWorld.PawnGenOption])
L_000b: brtrue Label1
L_0010: br Label6
L_0015: Label1
L_0015: ldarg.1
L_0016: ldfld System.Single points
L_001b: stloc.0
L_001c: ldloc.0
L_001d: ldarg.2
L_001e: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0023: ldarg.1
L_0024: call IEnumerable`1 ChoosePawnGenOptionsByPoints(Single,
System.Collections.Generic.List`1[RimWorld.PawnGenOption],
RimWorld.PawnGroupMakerParms)
L_0029: callvirt IEnumerator`1 GetEnumerator()
L_002e: stloc.2
.try
{
L_002f: br Label2
L_0034: Label3
L_0034: ldloc.2
L_0035: callvirt RimWorld.PawnGenOption get_Current()
L_003a: stloc.1
L_003b: ldloca.s 3 (Verse.PawnGenerationRequest)
L_003d: ldloc.1
L_003e: ldfld Verse.PawnKindDef kind
L_0043: stloc.s 4 (Verse.PawnKindDef)
L_0045: ldarg.1
L_0046: ldfld RimWorld.Faction faction
L_004b: stloc.s 5 (RimWorld.Faction)
L_004d: ldarg.1
L_004e: ldfld System.Int32 tile
L_0053: stloc.s 6 (System.Int32)
L_0055: ldarg.1
L_0056: ldfld System.Boolean inhabitants
L_005b: stloc.s 7 (System.Boolean)
L_005d: ldloc.s 4 (Verse.PawnKindDef)
L_005f: ldloc.s 5 (RimWorld.Faction)
L_0061: ldc.i4.2
L_0062: ldloc.s 6 (System.Int32)
L_0064: ldc.i4.0
L_0065: ldc.i4.0
L_0066: ldc.i4.0
L_0067: ldc.i4.0
L_0068: ldc.i4.1
L_0069: ldc.i4.1
L_006a: ldc.r4 1
L_006f: ldc.i4.0
L_0070: ldc.i4.1
L_0071: ldc.i4.1
L_0072: ldloc.s 7 (System.Boolean)
L_0074: ldc.i4.0
L_0075: ldc.i4.0
L_0076: ldc.i4.0
L_0077: ldnull
L_0078: ldnull
L_0079: ldloca.s 8 (System.Nullable`1[System.Single])
L_007b: initobj System.Nullable`1[System.Single]
L_0081: ldloc.s 8 (System.Nullable`1[System.Single])
L_0083: ldloca.s 8 (System.Nullable`1[System.Single])
L_0085: initobj System.Nullable`1[System.Single]
L_008b: ldloc.s 8 (System.Nullable`1[System.Single])
L_008d: ldloca.s 8 (System.Nullable`1[System.Single])
L_008f: initobj System.Nullable`1[System.Single]
L_0095: ldloc.s 8 (System.Nullable`1[System.Single])
L_0097: ldloca.s 9 (System.Nullable`1[Verse.Gender])
L_0099: initobj System.Nullable`1[Verse.Gender]
L_009f: ldloc.s 9 (System.Nullable`1[Verse.Gender])
L_00a1: ldloca.s 8 (System.Nullable`1[System.Single])
L_00a3: initobj System.Nullable`1[System.Single]
L_00a9: ldloc.s 8 (System.Nullable`1[System.Single])
L_00ab: ldnull
L_00ac: call Void .ctor(PawnKindDef, Faction, PawnGenerationContext, Int32,
Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Single, Boolean, Boolean,
Boolean, Boolean, Boolean, Boolean, Boolean, Predicate`1, Predicate`1, Nullable`1,
Nullable`1, Nullable`1, Nullable`1, Nullable`1, String)
L_00b1: ldloc.3
L_00b2: call Verse.Pawn GeneratePawn(PawnGenerationRequest)
L_00b7: stloc.s 10 (Verse.Pawn)
L_00b9: ldarg.s 5
L_00bb: ldloc.s 10 (Verse.Pawn)
L_00bd: callvirt Void Add(Verse.Pawn)
L_00c2: Label2
L_00c2: ldloc.2
L_00c3: callvirt Boolean MoveNext()
L_00c8: brtrue Label3
L_00cd: leave Label4
L_00d2: leave (autogenerated)
} // end try
.finally
{
L_00d7: ldloc.2
L_00d8: brfalse Label5
L_00dd: ldloc.2
L_00de: callvirt Void Dispose()
L_00e3: Label5
L_00e3: endfinally
L_00e4: leave (autogenerated)
} // end handler
L_00e5: Label4
L_00e5: Label6
L_00e5: ldarg 1
L_00eb: ldarg 2
L_00f1: ldarg 3
L_00f7: ldarg 4
L_00fd: ldarg 5
L_0103: call Void AddQuestGiverTwo(RimWorld.PawnGroupMakerParms,
RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0108: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ldarga 0
L_1ea5: ldarga 1
L_1eab: ldarga 2
L_1eb1: call Void
FloatMenuMakerMap_AddHumanlikeOrdersToDismissTraders_PostFix(Vector3 ByRef,
Verse.Pawn ByRef, System.Collections.Generic.List`1[Verse.FloatMenuOption] ByRef)
L_1eb6: ldarg 0
L_1ebc: ldarg 1
L_1ec2: ldarg 2
L_1ec8: call Void AddHumanlikeOrders(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1ecd: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void PreOpen()


L_0000: ldarg.0
L_0001: call Void PreOpen()
L_0006: call Verse.GameInitData get_GameInitData()
L_000b: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0010: callvirt Int32 get_Count()
L_0015: ldc.i4.0
L_0016: ble Label1
L_001b: ldarg.0
L_001c: call Verse.GameInitData get_GameInitData()
L_0021: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0026: ldc.i4.0
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stfld Verse.Pawn curPawn
L_0031: Label1
L_0031: call Void PreOpenPostfix()
L_0036: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void DoWindowContents(Rect)


L_0000: Local var 0: UnityEngine.Rect
L_0000: Local var 1: UnityEngine.Rect
L_0000: Local var 2: UnityEngine.Rect
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void DrawPageTitle(Rect)
L_0007: ldarga.s 1
L_0009: dup
L_000a: call Single get_yMin()
L_000f: ldc.r4 45
L_0014: add
L_0015: call Void set_yMin(Single)
L_001a: ldarg.0
L_001b: ldarg.1
L_001c: ldstr "Start"
L_0021: call System.String Translate(System.String)
L_0026: ldnull
L_0027: ldnull
L_0028: ldc.i4.1
L_0029: call Void DoBottomButtons(Rect, System.String, System.String,
System.Action, Boolean)
L_002e: ldarga.s 1
L_0030: dup
L_0031: call Single get_yMax()
L_0036: ldc.r4 38
L_003b: sub
L_003c: call Void set_yMax(Single)
L_0041: ldarg.1
L_0042: stloc.0
L_0043: ldloca.s 0 (UnityEngine.Rect)
L_0045: ldc.r4 140
L_004a: call Void set_width(Single)
L_004f: ldarg.0
L_0050: ldloc.0
L_0051: call Void DrawPawnList(Rect)
L_0056: ldloc.0
L_0057: ldstr "ReorderPawn"
L_005c: call Void HighlightOpportunity(Rect, System.String)
L_0061: ldarg.1
L_0062: stloc.1
L_0063: ldloca.s 1 (UnityEngine.Rect)
L_0065: dup
L_0066: call Single get_xMin()
L_006b: ldc.r4 140
L_0070: add
L_0071: call Void set_xMin(Single)
L_0076: ldloc.1
L_0077: ldc.r4 141
L_007c: call Rect BottomPartPixels(Rect, Single)
L_0081: stloc.2
L_0082: ldloca.s 1 (UnityEngine.Rect)
L_0084: ldloca.s 2 (UnityEngine.Rect)
L_0086: call Single get_yMin()
L_008b: call Void set_yMax(Single)
L_0090: ldloc.1
L_0091: ldc.r4 4
L_0096: call Rect ContractedBy(Rect, Single)
L_009b: stloc.1
L_009c: ldloc.2
L_009d: ldc.r4 4
L_00a2: call Rect ContractedBy(Rect, Single)
L_00a7: stloc.2
L_00a8: ldarg.0
L_00a9: ldloc.1
L_00aa: call Void DrawPortraitArea(Rect)
L_00af: ldarg.0
L_00b0: ldloc.2
L_00b1: call Void DrawSkillSummaries(Rect)
L_00b6: ldarg 1
L_00bc: ldarg.0
L_00bd: call Void DoWindowContentsPostfix(Rect,
RimWorld.Page_ConfigureStartingPawns)
L_00c2: ret
DONE

### Patch Verse.Game, Void InitNewGame()


L_0000: Local var 0: System.String
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: RimWorld.Planet.Settlement
L_0000: Local var 3: System.Collections.Generic.List`1[[RimWorld.Planet.Settlement,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.ResearchProjectTagDef
L_0000: Local var 7:
System.Collections.Generic.List`1+Enumerator[[Verse.ResearchProjectTagDef,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: Verse.ResearchProjectDef
L_0000: Local var 9:
System.Collections.Generic.IEnumerator`1[[Verse.ResearchProjectDef, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: call IEnumerable`1 get_RunningMods()
L_0005: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_000a: brtrue Label1
L_000f: ldnull
L_0010: ldftn System.String <InitNewGame>m__1(Verse.ModContentPack)
L_0016: newobj Void .ctor(Object, IntPtr)
L_001b: stsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0020: Label1
L_0020: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0025: call IEnumerable`1 Select[ModContentPack,String](IEnumerable`1,
System.Func`2[Verse.ModContentPack,System.String])
L_002a: ldc.i4.0
L_002b: call System.String ToCommaList(IEnumerable`1, Boolean)
L_0030: stloc.0
L_0031: ldstr "Initializing new game with mods "
L_0036: ldloc.0
L_0037: call System.String Concat(System.String, System.String)
L_003c: ldc.i4.0
L_003d: call Void Message(System.String, Boolean)
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0048: call Boolean Any[Map](System.Collections.Generic.List`1[Verse.Map])
L_004d: brfalse Label2
L_0052: ldstr "Called InitNewGame() but there already is a map. There should be 0
maps..."
L_0057: ldc.i4.0
L_0058: call Void Error(System.String, Boolean)
L_005d: br Label22
L_0062: Label2
L_0062: ldarg.0
L_0063: ldfld Verse.GameInitData initData
L_0068: brtrue Label3
L_006d: ldstr "Called InitNewGame() but init data is null. Create it first."
L_0072: ldc.i4.0
L_0073: call Void Error(System.String, Boolean)
L_0078: br Label23
L_007d: Label3
L_007d: call Void UnloadUnusedUnityAssets()
L_0082: ldstr "InitNewGame"
L_0087: call Void Start(System.String)
.try
{
L_008c: ldc.i4.1
L_008d: call Void set_ProgramState(ProgramState)
L_0092: ldloca.s 1 (Verse.IntVec3)
L_0094: ldarg.0
L_0095: ldfld Verse.GameInitData initData
L_009a: ldfld System.Int32 mapSize
L_009f: ldc.i4.1
L_00a0: ldarg.0
L_00a1: ldfld Verse.GameInitData initData
L_00a6: ldfld System.Int32 mapSize
L_00ab: call Void .ctor(Int32, Int32, Int32)
L_00b0: ldnull
L_00b1: stloc.2
L_00b2: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_00b7: callvirt
System.Collections.Generic.List`1[RimWorld.Planet.Settlement] get_Settlements()
L_00bc: stloc.3
L_00bd: ldc.i4.0
L_00be: stloc.s 4 (System.Int32)
L_00c0: br Label4
L_00c5: Label7
L_00c5: ldloc.3
L_00c6: ldloc.s 4 (System.Int32)
L_00c8: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00cd: callvirt RimWorld.Faction get_Faction()
L_00d2: call RimWorld.Faction get_OfPlayer()
L_00d7: bne.un Label5
L_00dc: ldloc.3
L_00dd: ldloc.s 4 (System.Int32)
L_00df: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00e4: stloc.2
L_00e5: leave Label6
L_00ea: Label5
L_00ea: ldloc.s 4 (System.Int32)
L_00ec: ldc.i4.1
L_00ed: add
L_00ee: stloc.s 4 (System.Int32)
L_00f0: Label4
L_00f0: ldloc.s 4 (System.Int32)
L_00f2: ldloc.3
L_00f3: callvirt Int32 get_Count()
L_00f8: blt Label7
L_00fd: Label6
L_00fd: ldloc.2
L_00fe: brtrue Label8
L_0103: ldstr "Could not generate starting map because there is no any player
faction base."
L_0108: ldc.i4.0
L_0109: call Void Error(System.String, Boolean)
L_010e: Label8
L_010e: ldarg.0
L_010f: ldfld Verse.TickManager tickManager
L_0114: call Int32 get_ConfiguredTicksAbsAtGameStart()
L_0119: stfld System.Int32 gameStartAbsTick
L_011e: ldloc.1
L_011f: ldloc.2
L_0120: ldloc.2
L_0121: callvirt Verse.MapGeneratorDef get_MapGeneratorDef()
L_0126: ldloc.2
L_0127: callvirt IEnumerable`1 get_ExtraGenStepDefs()
L_012c: ldnull
L_012d: call Verse.Map GenerateMap(IntVec3, RimWorld.Planet.MapParent,
Verse.MapGeneratorDef, IEnumerable`1, System.Action`1[Verse.Map])
L_0132: stloc.s 5 (Verse.Map)
L_0134: ldarg.0
L_0135: ldfld RimWorld.Planet.World worldInt
L_013a: ldfld RimWorld.Planet.WorldInfo info
L_013f: ldloc.1
L_0140: stfld Verse.IntVec3 initialMapSize
L_0145: ldarg.0
L_0146: ldfld Verse.GameInitData initData
L_014b: ldfld System.Boolean permadeath
L_0150: brfalse Label9
L_0155: ldarg.0
L_0156: ldfld Verse.GameInfo info
L_015b: ldc.i4.1
L_015c: stfld System.Boolean permadeathMode
L_0161: ldarg.0
L_0162: ldfld Verse.GameInfo info
L_0167: call System.String GeneratePermadeathSaveName()
L_016c: stfld System.String permadeathModeUniqueName
L_0171: Label9
L_0171: ldsfld RimWorld.ThoughtDef NewColonyOptimism
L_0176: call Void GiveAllStartingPlayerPawnsThought(RimWorld.ThoughtDef)
L_017b: ldarg.0
L_017c: call Void FinalizeInit()
L_0181: call Verse.Game get_Game()
L_0186: ldloc.s 5 (Verse.Map)
L_0188: callvirt Void set_CurrentMap(Verse.Map)
L_018d: call Verse.CameraDriver get_CameraDriver()
L_0192: call IntVec3 get_PlayerStartSpot()
L_0197: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_019c: call Verse.CameraDriver get_CameraDriver()
L_01a1: callvirt Void ResetSize()
L_01a6: call Boolean get_PauseOnLoad()
L_01ab: brfalse Label10
L_01b0: ldarg.0
L_01b1: ldfld Verse.GameInitData initData
L_01b6: ldfld System.Boolean startedFromEntry
L_01bb: brfalse Label11
L_01c0: ldarg.0
L_01c1: ldftn Void <InitNewGame>m__2()
L_01c7: newobj Void .ctor(Object, IntPtr)
L_01cc: call Void ExecuteWhenFinished(System.Action)
L_01d1: Label10
L_01d1: Label11
L_01d1: call RimWorld.Scenario get_Scenario()
L_01d6: callvirt Void PostGameStart()
L_01db: call RimWorld.Faction get_OfPlayer()
L_01e0: ldfld RimWorld.FactionDef def
L_01e5: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01ea: brfalse Label12
L_01ef: call RimWorld.Faction get_OfPlayer()
L_01f4: ldfld RimWorld.FactionDef def
L_01f9: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01fe: callvirt Enumerator GetEnumerator()
L_0203: stloc.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
.try
{
L_0205: br Label13
L_020a: Label19
L_020a: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_020c: call Verse.ResearchProjectTagDef get_Current()
L_0211: stloc.s 6 (Verse.ResearchProjectTagDef)
L_0213: call IEnumerable`1 get_AllDefs()
L_0218: callvirt IEnumerator`1 GetEnumerator()
L_021d: stloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
.try
{
L_021f: br Label14
L_0224: Label16
L_0224: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0226: callvirt Verse.ResearchProjectDef get_Current()
L_022b: stloc.s 8 (Verse.ResearchProjectDef)
L_022d: ldloc.s 8 (Verse.ResearchProjectDef)
L_022f: ldloc.s 6 (Verse.ResearchProjectTagDef)
L_0231: callvirt Boolean HasTag(Verse.ResearchProjectTagDef)
L_0236: brfalse Label15
L_023b: ldarg.0
L_023c: ldfld RimWorld.ResearchManager researchManager
L_0241: ldloc.s 8 (Verse.ResearchProjectDef)
L_0243: ldc.i4.0
L_0244: ldnull
L_0245: callvirt Void FinishProject(Verse.ResearchProjectDef,
Boolean, Verse.Pawn)
L_024a: Label14
L_024a: Label15
L_024a: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_024c: callvirt Boolean MoveNext()
L_0251: brtrue Label16
L_0256: leave Label17
L_025b: leave (autogenerated)
} // end try
.finally
{
L_0260: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0262: brfalse Label18
L_0267: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0269: callvirt Void Dispose()
L_026e: Label18
L_026e: endfinally
L_026f: leave (autogenerated)
} // end handler
L_0270: Label13
L_0270: Label17
L_0270: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0272: call Boolean MoveNext()
L_0277: brtrue Label19
L_027c: leave Label20
L_0281: leave (autogenerated)
} // end try
.finally
{
L_0286: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0288: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef]
L_028e: callvirt Void Dispose()
L_0293: endfinally
L_0294: leave (autogenerated)
} // end handler
L_0295: Label12
L_0295: Label20
L_0295: call Void StartedNewGame()
L_029a: ldarg.0
L_029b: ldnull
L_029c: stfld Verse.GameInitData initData
L_02a1: leave Label21
L_02a6: leave (autogenerated)
} // end try
.finally
{
L_02ab: call Void End()
L_02b0: endfinally
L_02b1: leave (autogenerated)
} // end handler
L_02b2: Label21
L_02b2: Label22
L_02b2: Label23
L_02b2: call Void InitNewGamePostfix()
L_02b7: ret
DONE

### Patch RimWorld.MainTabWindow_Inspect, IEnumerable`1 get_CurTabs()


L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[Verse.InspectTabBase, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0002: ldarg.0
L_0003: call Int32 get_NumSelected()
L_0008: ldc.i4.1
L_0009: bne.un Label1
L_000e: ldarg.0
L_000f: call Verse.Thing get_SelThing()
L_0014: brfalse Label2
L_0019: ldarg.0
L_001a: call Verse.Thing get_SelThing()
L_001f: ldfld Verse.ThingDef def
L_0024: ldfld System.Collections.Generic.List`1[Verse.InspectTabBase]
inspectorTabsResolved
L_0029: brfalse Label3
L_002e: ldarg.0
L_002f: call Verse.Thing get_SelThing()
L_0034: callvirt IEnumerable`1 GetInspectTabs()
L_0039: br Label5
L_003e: Label2
L_003e: Label3
L_003e: ldarg.0
L_003f: call Verse.Zone get_SelZone()
L_0044: brfalse Label4
L_0049: ldarg.0
L_004a: call Verse.Zone get_SelZone()
L_004f: callvirt IEnumerable`1 GetInspectTabs()
L_0054: br Label6
L_0059: Label1
L_0059: Label4
L_0059: call IEnumerable`1 Empty[InspectTabBase]()
L_005e: Label5
L_005e: Label6
L_005e: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_005f: ldloca 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0061: call Void Postfix(IEnumerable`1 ByRef)
L_0066: ldloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0067: ret
DONE

### Patch Verse.ThingOwner, Void NotifyAdded(Verse.Thing)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Map, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.CompTransporter
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: Local var 4: RimWorld.Pawn_ApparelTracker
L_0000: Local var 5: Verse.Pawn_EquipmentTracker
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: call Boolean ShouldAutoExtinguishInnerThings(IThingHolder)
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldsfld Verse.ThingDef Fire
L_0016: call Boolean HasAttachment(Verse.Thing, Verse.ThingDef)
L_001b: brfalse Label2
L_0020: ldarg.1
L_0021: ldsfld Verse.ThingDef Fire
L_0026: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_002b: ldc.i4.0
L_002c: callvirt Void Destroy(DestroyMode)
L_0031: Label1
L_0031: Label2
L_0031: ldarg.0
L_0032: ldfld Verse.IThingHolder owner
L_0037: call Boolean ShouldRemoveDesignationsOnAddedThings(IThingHolder)
L_003c: brfalse Label3
L_0041: call System.Collections.Generic.List`1[Verse.Map] get_Maps()
L_0046: stloc.0
L_0047: ldc.i4.0
L_0048: stloc.1
L_0049: br Label4
L_004e: Label5
L_004e: ldloc.0
L_004f: ldloc.1
L_0050: callvirt Verse.Map get_Item(Int32)
L_0055: ldfld Verse.DesignationManager designationManager
L_005a: ldarg.1
L_005b: ldc.i4.0
L_005c: callvirt Void RemoveAllDesignationsOn(Verse.Thing, Boolean)
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label4
L_0065: ldloc.1
L_0066: ldloc.0
L_0067: callvirt Int32 get_Count()
L_006c: blt Label5
L_0071: Label3
L_0071: ldarg.0
L_0072: ldfld Verse.IThingHolder owner
L_0077: isinst RimWorld.CompTransporter
L_007c: stloc.2
L_007d: ldloc.2
L_007e: brfalse Label6
L_0083: ldloc.2
L_0084: ldarg.1
L_0085: callvirt Void Notify_ThingAdded(Verse.Thing)
L_008a: Label6
L_008a: ldarg.0
L_008b: ldfld Verse.IThingHolder owner
L_0090: isinst RimWorld.Planet.Caravan
L_0095: stloc.3
L_0096: ldloc.3
L_0097: brfalse Label7
L_009c: ldloc.3
L_009d: ldarg.1
L_009e: castclass Verse.Pawn
L_00a3: callvirt Void Notify_PawnAdded(Verse.Pawn)
L_00a8: Label7
L_00a8: ldarg.0
L_00a9: ldfld Verse.IThingHolder owner
L_00ae: isinst RimWorld.Pawn_ApparelTracker
L_00b3: stloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b5: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b7: brfalse Label8
L_00bc: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00be: ldarg.1
L_00bf: castclass RimWorld.Apparel
L_00c4: callvirt Void Notify_ApparelAdded(RimWorld.Apparel)
L_00c9: Label8
L_00c9: ldarg.0
L_00ca: ldfld Verse.IThingHolder owner
L_00cf: isinst Verse.Pawn_EquipmentTracker
L_00d4: stloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d6: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d8: brfalse Label9
L_00dd: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00df: ldarg.1
L_00e0: castclass Verse.ThingWithComps
L_00e5: callvirt Void Notify_EquipmentAdded(Verse.ThingWithComps)
L_00ea: Label9
L_00ea: ldarg.0
L_00eb: ldarg.1
L_00ec: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_00f1: ldarg.0
L_00f2: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_00f7: ret
DONE

### Patch Verse.ThingOwner, Void NotifyRemoved(Verse.Thing)


L_0000: Local var 0: Verse.Pawn_InventoryTracker
L_0000: Local var 1: RimWorld.Pawn_ApparelTracker
L_0000: Local var 2: Verse.Pawn_EquipmentTracker
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: isinst Verse.Pawn_InventoryTracker
L_000b: stloc.0
L_000c: ldloc.0
L_000d: brfalse Label1
L_0012: ldloc.0
L_0013: ldarg.1
L_0014: callvirt Void Notify_ItemRemoved(Verse.Thing)
L_0019: Label1
L_0019: ldarg.0
L_001a: ldfld Verse.IThingHolder owner
L_001f: isinst RimWorld.Pawn_ApparelTracker
L_0024: stloc.1
L_0025: ldloc.1
L_0026: brfalse Label2
L_002b: ldloc.1
L_002c: ldarg.1
L_002d: castclass RimWorld.Apparel
L_0032: callvirt Void Notify_ApparelRemoved(RimWorld.Apparel)
L_0037: Label2
L_0037: ldarg.0
L_0038: ldfld Verse.IThingHolder owner
L_003d: isinst Verse.Pawn_EquipmentTracker
L_0042: stloc.2
L_0043: ldloc.2
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldarg.1
L_004b: castclass Verse.ThingWithComps
L_0050: callvirt Void Notify_EquipmentRemoved(Verse.ThingWithComps)
L_0055: Label3
L_0055: ldarg.0
L_0056: ldfld Verse.IThingHolder owner
L_005b: isinst RimWorld.Planet.Caravan
L_0060: stloc.3
L_0061: ldloc.3
L_0062: brfalse Label4
L_0067: ldloc.3
L_0068: ldarg.1
L_0069: castclass Verse.Pawn
L_006e: callvirt Void Notify_PawnRemoved(Verse.Pawn)
L_0073: Label4
L_0073: ldarg.0
L_0074: ldarg.1
L_0075: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_007a: ldarg.0
L_007b: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_0080: ret
DONE

### Patch RimWorld.Selector, Void ClearSelection()


L_0000: call Void Clear()
L_0005: ldarg.0
L_0006: ldfld System.Collections.Generic.List`1[System.Object] selected
L_000b: callvirt Void Clear()
L_0010: call Void Postfix()
L_0015: ret
DONE

### Patch RimWorld.Selector, Void Deselect(System.Object)


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldloca 0 (System.Int32)
L_0008: call Void Prefix(Int32 ByRef)
L_000d: ldarg.0
L_000e: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0013: ldarg.1
L_0014: callvirt Boolean Contains(System.Object)
L_0019: brfalse Label1
L_001e: ldarg.0
L_001f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0024: ldarg.1
L_0025: callvirt Boolean Remove(System.Object)
L_002a: pop
L_002b: Label1
L_002b: ldloc 0 (System.Int32)
L_002c: call Void Postfix(Int32)
L_0031: ret
DONE
### Patch RimWorld.Selector, Void Select(System.Object, Boolean, Boolean)
L_0000: Local var 0: Verse.Thing
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Int32)
L_0007: ldloca 7 (System.Int32)
L_0009: call Void Prefix(Int32 ByRef)
L_000e: ldarg.1
L_000f: brtrue Label1
L_0014: ldstr "Cannot select null."
L_0019: ldc.i4.0
L_001a: call Void Error(System.String, Boolean)
L_001f: br Label26
L_0024: Label1
L_0024: ldarg.1
L_0025: isinst Verse.Thing
L_002a: stloc.0
L_002b: ldloc.0
L_002c: brtrue Label2
L_0031: ldarg.1
L_0032: isinst Verse.Zone
L_0037: brtrue Label3
L_003c: ldstr "Tried to select "
L_0041: ldarg.1
L_0042: ldstr " which is neither a Thing nor a Zone."
L_0047: call System.String Concat(System.Object, System.Object, System.Object)
L_004c: ldc.i4.0
L_004d: call Void Error(System.String, Boolean)
L_0052: br Label27
L_0057: Label2
L_0057: Label3
L_0057: ldloc.0
L_0058: brfalse Label4
L_005d: ldloc.0
L_005e: callvirt Boolean get_Destroyed()
L_0063: brfalse Label5
L_0068: ldstr "Cannot select destroyed thing."
L_006d: ldc.i4.0
L_006e: call Void Error(System.String, Boolean)
L_0073: br Label28
L_0078: Label4
L_0078: Label5
L_0078: ldarg.1
L_0079: isinst Verse.Pawn
L_007e: stloc.1
L_007f: ldloc.1
L_0080: brfalse Label6
L_0085: ldloc.1
L_0086: call Boolean IsWorldPawn(Verse.Pawn)
L_008b: brfalse Label7
L_0090: ldstr "Cannot select world pawns."
L_0095: ldc.i4.0
L_0096: call Void Error(System.String, Boolean)
L_009b: br Label29
L_00a0: Label6
L_00a0: Label7
L_00a0: ldarg.3
L_00a1: brfalse Label8
L_00a6: call Verse.DesignatorManager get_DesignatorManager()
L_00ab: callvirt Void Deselect()
L_00b0: Label8
L_00b0: ldarg.0
L_00b1: call Verse.Zone get_SelectedZone()
L_00b6: brfalse Label9
L_00bb: ldarg.1
L_00bc: isinst Verse.Zone
L_00c1: brtrue Label10
L_00c6: ldarg.0
L_00c7: call Void ClearSelection()
L_00cc: Label9
L_00cc: Label10
L_00cc: ldarg.1
L_00cd: isinst Verse.Zone
L_00d2: brfalse Label11
L_00d7: ldarg.0
L_00d8: call Verse.Zone get_SelectedZone()
L_00dd: brtrue Label12
L_00e2: ldarg.0
L_00e3: call Void ClearSelection()
L_00e8: Label11
L_00e8: Label12
L_00e8: ldloc.0
L_00e9: brfalse Label13
L_00ee: ldloc.0
L_00ef: callvirt Verse.Map get_Map()
L_00f4: br Label14
L_00f9: Label13
L_00f9: ldarg.1
L_00fa: castclass Verse.Zone
L_00ff: callvirt Verse.Map get_Map()
L_0104: Label14
L_0104: stloc.2
L_0105: ldarg.0
L_0106: ldfld System.Collections.Generic.List`1[System.Object] selected
L_010b: callvirt Int32 get_Count()
L_0110: ldc.i4.1
L_0111: sub
L_0112: stloc.3
L_0113: br Label15
L_0118: Label19
L_0118: ldarg.0
L_0119: ldfld System.Collections.Generic.List`1[System.Object] selected
L_011e: ldloc.3
L_011f: callvirt System.Object get_Item(Int32)
L_0124: isinst Verse.Thing
L_0129: stloc.s 4 (Verse.Thing)
L_012b: ldloc.s 4 (Verse.Thing)
L_012d: brfalse Label16
L_0132: ldloc.s 4 (Verse.Thing)
L_0134: callvirt Verse.Map get_Map()
L_0139: br Label17
L_013e: Label16
L_013e: ldarg.0
L_013f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0144: ldloc.3
L_0145: callvirt System.Object get_Item(Int32)
L_014a: castclass Verse.Zone
L_014f: callvirt Verse.Map get_Map()
L_0154: Label17
L_0154: stloc.s 5 (Verse.Map)
L_0156: ldloc.s 5 (Verse.Map)
L_0158: ldloc.2
L_0159: beq Label18
L_015e: ldarg.0
L_015f: ldarg.0
L_0160: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0165: ldloc.3
L_0166: callvirt System.Object get_Item(Int32)
L_016b: call Void Deselect(System.Object)
L_0170: Label18
L_0170: ldloc.3
L_0171: ldc.i4.1
L_0172: sub
L_0173: stloc.3
L_0174: Label15
L_0174: ldloc.3
L_0175: ldc.i4.0
L_0176: bge Label19
L_017b: ldarg.0
L_017c: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0181: callvirt Int32 get_Count()
L_0186: ldc.i4.s 80
L_0188: blt Label20
L_018d: br Label30
L_0192: Label20
L_0192: ldarg.0
L_0193: ldarg.1
L_0194: call Boolean IsSelected(System.Object)
L_0199: brtrue Label21
L_019e: ldloc.2
L_019f: call Verse.Map get_CurrentMap()
L_01a4: beq Label22
L_01a9: call Verse.Game get_Game()
L_01ae: ldloc.2
L_01af: callvirt Void set_CurrentMap(Verse.Map)
L_01b4: ldsfld Verse.SoundDef MapSelected
L_01b9: ldnull
L_01ba: call Void PlayOneShotOnCamera(Verse.SoundDef, Verse.Map)
L_01bf: ldloc.0
L_01c0: brfalse Label23
L_01c5: ldloc.0
L_01c6: callvirt IntVec3 get_Position()
L_01cb: br Label24
L_01d0: Label23
L_01d0: ldarg.1
L_01d1: castclass Verse.Zone
L_01d6: callvirt System.Collections.Generic.List`1[Verse.IntVec3] get_Cells()
L_01db: ldc.i4.0
L_01dc: callvirt IntVec3 get_Item(Int32)
L_01e1: Label24
L_01e1: stloc.s 6 (Verse.IntVec3)
L_01e3: call Verse.CameraDriver get_CameraDriver()
L_01e8: ldloc.s 6 (Verse.IntVec3)
L_01ea: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_01ef: Label22
L_01ef: ldarg.2
L_01f0: brfalse Label25
L_01f5: ldarg.0
L_01f6: ldarg.1
L_01f7: call Void PlaySelectionSoundFor(System.Object)
L_01fc: Label25
L_01fc: ldarg.0
L_01fd: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0202: ldarg.1
L_0203: callvirt Void Add(System.Object)
L_0208: ldarg.1
L_0209: call Void Notify_Selected(System.Object)
L_020e: Label21
L_020e: Label26
L_020e: Label27
L_020e: Label28
L_020e: Label29
L_020e: Label30
L_020e: ldloc 7 (System.Int32)
L_0210: call Void Postfix(Int32)
L_0215: ret
DONE

### Patch RimWorld.Blueprint_Build, Verse.Thing MakeSolidThing()


L_0000: Local var 0: Verse.Thing
L_0000: ldnull
L_0001: stloc 0 (Verse.Thing)
L_0002: ldarg.0
L_0003: ldfld Verse.ThingDef def
L_0008: ldfld Verse.BuildableDef entityDefToBuild
L_000d: ldfld Verse.ThingDef frameDef
L_0012: ldarg.0
L_0013: ldfld Verse.ThingDef stuffToUse
L_0018: call Verse.Thing MakeThing(Verse.ThingDef, Verse.ThingDef)
L_001d: stloc 0 (Verse.Thing)
L_001e: ldloc 0 (Verse.Thing)
L_001f: ldarg.0
L_0020: call Void Postfix(Verse.Thing, RimWorld.Blueprint_Build)
L_0025: ldloc 0 (Verse.Thing)
L_0026: ret
DONE

### Patch Verse.AreaManager, Void ExposeData()


L_0000: ldarg.0
L_0001: call Void Prefix(Verse.AreaManager)
L_0006: ldarg.0
L_0007: ldflda System.Collections.Generic.List`1[Verse.Area] areas
L_000c: ldstr "areas"
L_0011: ldc.i4.2
L_0012: ldc.i4.0
L_0013: newarr System.Object
L_0018: call Void Look[Area](System.Collections.Generic.List`1[Verse.Area] ByRef,
System.String, LookMode, System.Object[])
L_001d: ldsfld Verse.LoadSaveMode mode
L_0022: ldc.i4.2
L_0023: bne.un Label1
L_0028: ldarg.0
L_0029: call Void UpdateAllAreasLinks()
L_002e: Label1
L_002e: ret
DONE

### Patch RimWorld.PlaySettings, Void DoPlaySettingsGlobalControls(Verse.WidgetRow,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Boolean
L_0000: Local var 3: System.Boolean
L_0000: ldarg.0
L_0001: ldfld System.Boolean showColonistBar
L_0006: stloc.0
L_0007: ldarg.2
L_0008: brfalse Label1
L_000d: call ProgramState get_ProgramState()
L_0012: ldc.i4.2
L_0013: bne.un Label2
L_0018: ldarg.1
L_0019: ldarg.0
L_001a: ldflda System.Boolean showColonistBar
L_001f: ldsfld UnityEngine.Texture2D ShowColonistBar
L_0024: ldstr "ShowColonistBarToggleButton"
L_0029: call System.String Translate(System.String)
L_002e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0033: ldnull
L_0034: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0039: Label2
L_0039: ldarg.0
L_003a: ldfld System.Boolean lockNorthUp
L_003f: stloc.1
L_0040: ldarg.1
L_0041: ldarg.0
L_0042: ldflda System.Boolean lockNorthUp
L_0047: ldsfld UnityEngine.Texture2D LockNorthUp
L_004c: ldstr "LockNorthUpToggleButton"
L_0051: call System.String Translate(System.String)
L_0056: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_005b: ldnull
L_005c: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0061: ldloc.1
L_0062: ldarg.0
L_0063: ldfld System.Boolean lockNorthUp
L_0068: beq Label3
L_006d: ldarg.0
L_006e: ldfld System.Boolean lockNorthUp
L_0073: brfalse Label4
L_0078: call RimWorld.Planet.WorldCameraDriver get_WorldCameraDriver()
L_007d: ldc.i4.1
L_007e: callvirt Void RotateSoNorthIsUp(Boolean)
L_0083: Label3
L_0083: Label4
L_0083: ldarg.1
L_0084: ldarg.0
L_0085: ldflda System.Boolean usePlanetDayNightSystem
L_008a: ldsfld UnityEngine.Texture2D UsePlanetDayNightSystem
L_008f: ldstr "UsePlanetDayNightSystemToggleButton"
L_0094: call System.String Translate(System.String)
L_0099: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_009e: ldnull
L_009f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00a4: ldarg.1
L_00a5: ldarg.0
L_00a6: ldflda System.Boolean showExpandingIcons
L_00ab: ldsfld UnityEngine.Texture2D ShowExpandingIcons
L_00b0: ldstr "ShowExpandingIconsToggleButton"
L_00b5: call System.String Translate(System.String)
L_00ba: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00bf: ldnull
L_00c0: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00c5: ldarg.1
L_00c6: ldarg.0
L_00c7: ldflda System.Boolean showWorldFeatures
L_00cc: ldsfld UnityEngine.Texture2D ShowWorldFeatures
L_00d1: ldstr "ShowWorldFeaturesToggleButton"
L_00d6: call System.String Translate(System.String)
L_00db: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00e0: ldnull
L_00e1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00e6: br Label5
L_00eb: Label1
L_00eb: ldarg.1
L_00ec: ldarg.0
L_00ed: ldflda System.Boolean showLearningHelper
L_00f2: ldsfld UnityEngine.Texture2D ShowLearningHelper
L_00f7: ldstr "ShowLearningHelperWhenEmptyToggleButton"
L_00fc: call System.String Translate(System.String)
L_0101: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0106: ldnull
L_0107: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_010c: ldarg.1
L_010d: ldarg.0
L_010e: ldflda System.Boolean showZones
L_0113: ldsfld UnityEngine.Texture2D ShowZones
L_0118: ldstr "ZoneVisibilityToggleButton"
L_011d: call System.String Translate(System.String)
L_0122: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0127: ldnull
L_0128: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_012d: ldarg.1
L_012e: ldarg.0
L_012f: ldflda System.Boolean showBeauty
L_0134: ldsfld UnityEngine.Texture2D ShowBeauty
L_0139: ldstr "ShowBeautyToggleButton"
L_013e: call System.String Translate(System.String)
L_0143: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0148: ldnull
L_0149: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_014e: ldarg.0
L_014f: ldsfld Verse.KeyBindingDef ToggleBeautyDisplay
L_0154: ldarg.0
L_0155: ldflda System.Boolean showBeauty
L_015a: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_015f: ldarg.1
L_0160: ldarg.0
L_0161: ldflda System.Boolean showRoomStats
L_0166: ldsfld UnityEngine.Texture2D ShowRoomStats
L_016b: ldstr "ShowRoomStatsToggleButton"
L_0170: call System.String Translate(System.String)
L_0175: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_017a: ldstr "InspectRoomStats"
L_017f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0184: ldarg.0
L_0185: ldsfld Verse.KeyBindingDef ToggleRoomStatsDisplay
L_018a: ldarg.0
L_018b: ldflda System.Boolean showRoomStats
L_0190: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_0195: ldarg.1
L_0196: ldarg.0
L_0197: ldflda System.Boolean showColonistBar
L_019c: ldsfld UnityEngine.Texture2D ShowColonistBar
L_01a1: ldstr "ShowColonistBarToggleButton"
L_01a6: call System.String Translate(System.String)
L_01ab: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01b0: ldnull
L_01b1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01b6: ldarg.1
L_01b7: ldarg.0
L_01b8: ldflda System.Boolean showRoofOverlay
L_01bd: ldsfld UnityEngine.Texture2D ShowRoofOverlay
L_01c2: ldstr "ShowRoofOverlayToggleButton"
L_01c7: call System.String Translate(System.String)
L_01cc: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01d1: ldnull
L_01d2: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01d7: ldarg.1
L_01d8: ldarg.0
L_01d9: ldflda System.Boolean autoHomeArea
L_01de: ldsfld UnityEngine.Texture2D AutoHomeArea
L_01e3: ldstr "AutoHomeAreaToggleButton"
L_01e8: call System.String Translate(System.String)
L_01ed: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01f2: ldnull
L_01f3: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01f8: ldarg.1
L_01f9: ldarg.0
L_01fa: ldflda System.Boolean autoRebuild
L_01ff: ldsfld UnityEngine.Texture2D AutoRebuild
L_0204: ldstr "AutoRebuildButton"
L_0209: call System.String Translate(System.String)
L_020e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0213: ldnull
L_0214: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0219: call Boolean get_ResourceReadoutCategorized()
L_021e: stloc.2
L_021f: ldloc.2
L_0220: stloc.3
L_0221: ldarg.1
L_0222: ldloca.s 2 (System.Boolean)
L_0224: ldsfld UnityEngine.Texture2D CategorizedResourceReadout
L_0229: ldstr "CategorizedResourceReadoutToggleButton"
L_022e: call System.String Translate(System.String)
L_0233: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0238: ldnull
L_0239: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_023e: ldloc.2
L_023f: ldloc.3
L_0240: beq Label6
L_0245: ldloc.2
L_0246: call Void set_ResourceReadoutCategorized(Boolean)
L_024b: Label5
L_024b: Label6
L_024b: ldloc.0
L_024c: ldarg.0
L_024d: ldfld System.Boolean showColonistBar
L_0252: beq Label7
L_0257: call RimWorld.ColonistBar get_ColonistBar()
L_025c: callvirt Void MarkColonistsDirty()
L_0261: Label7
L_0261: ldarg 1
L_0267: ldarg 2
L_026d: call Void AddButton(Verse.WidgetRow, Boolean)
L_0272: ldarg 1
L_0278: ldarg 2
L_027e: call Void AddButton(Verse.WidgetRow, Boolean)
L_0283: ldarg 1
L_0289: ldarg 2
L_028f: call Void AddButton(Verse.WidgetRow, Boolean)
L_0294: ldarg 1
L_029a: ldarg 2
L_02a0: call Void Postfix(Verse.WidgetRow, Boolean)
L_02a5: ret
DONE

### Patch RimWorld.Apparel, Void Notify_PawnKilled()


L_0000: ldarg.0
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.ApparelProperties apparel
L_000b: ldfld System.Boolean careIfWornByCorpse
L_0010: brfalse Label1
L_0015: ldarg.0
L_0016: ldc.i4.1
L_0017: stfld System.Boolean wornByCorpseInt
L_001c: Label1
L_001c: ldarg.0
L_001d: call Void Postfix(RimWorld.Apparel)
L_0022: ret
DONE
### Patch Verse.Game, Void UpdatePlay()
L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.TickManager tickManager
L_0006: callvirt Void TickManagerUpdate()
L_000b: ldarg.0
L_000c: ldfld Verse.LetterStack letterStack
L_0011: callvirt Void LetterStackUpdate()
L_0016: ldarg.0
L_0017: call RimWorld.Planet.World get_World()
L_001c: callvirt Void WorldUpdate()
L_0021: ldc.i4.0
L_0022: stloc.0
L_0023: br Label1
L_0028: Label2
L_0028: ldarg.0
L_0029: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_002e: ldloc.0
L_002f: callvirt Verse.Map get_Item(Int32)
L_0034: callvirt Void MapUpdate()
L_0039: ldloc.0
L_003a: ldc.i4.1
L_003b: add
L_003c: stloc.0
L_003d: Label1
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0044: callvirt Int32 get_Count()
L_0049: blt Label2
L_004e: ldarg.0
L_004f: call Verse.GameInfo get_Info()
L_0054: callvirt Void GameInfoUpdate()
L_0059: call Void GameComponentUpdate()
L_005e: call Void Postfix()
L_0063: ret
DONE

### Patch Verse.EdificeGrid, Void Register(Verse.Building)


L_0000: Local var 0: Verse.CellIndices
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.IntVec3
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean RegisterDoorExpanded(Verse.EdificeGrid, Verse.Building)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld Verse.Map map
L_0017: ldfld Verse.CellIndices cellIndices
L_001c: stloc.0
L_001d: ldarg.1
L_001e: call CellRect OccupiedRect(Verse.Thing)
L_0023: stloc.1
L_0024: ldloca.s 1 (Verse.CellRect)
L_0026: ldfld System.Int32 minZ
L_002b: stloc.2
L_002c: br Label1
L_0031: Label7
L_0031: ldloca.s 1 (Verse.CellRect)
L_0033: ldfld System.Int32 minX
L_0038: stloc.3
L_0039: br Label2
L_003e: Label6
L_003e: ldloca.s 4 (Verse.IntVec3)
L_0040: ldloc.3
L_0041: ldc.i4.0
L_0042: ldloc.2
L_0043: call Void .ctor(Int32, Int32, Int32)
L_0048: ldsfld System.Boolean isDebugBuild
L_004d: brfalse Label3
L_0052: ldarg.0
L_0053: ldloc.s 4 (Verse.IntVec3)
L_0055: call Verse.Building get_Item(IntVec3)
L_005a: brfalse Label4
L_005f: ldarg.0
L_0060: ldloc.s 4 (Verse.IntVec3)
L_0062: call Verse.Building get_Item(IntVec3)
L_0067: callvirt Boolean get_Destroyed()
L_006c: brtrue Label5
L_0071: ldc.i4.7
L_0072: newarr System.Object
L_0077: dup
L_0078: ldc.i4.0
L_0079: ldstr "Added edifice "
L_007e: stelem.ref
L_007f: dup
L_0080: ldc.i4.1
L_0081: ldarg.1
L_0082: callvirt System.String get_LabelCap()
L_0087: stelem.ref
L_0088: dup
L_0089: ldc.i4.2
L_008a: ldstr " over edifice "
L_008f: stelem.ref
L_0090: dup
L_0091: ldc.i4.3
L_0092: ldarg.0
L_0093: ldloc.s 4 (Verse.IntVec3)
L_0095: call Verse.Building get_Item(IntVec3)
L_009a: callvirt System.String get_LabelCap()
L_009f: stelem.ref
L_00a0: dup
L_00a1: ldc.i4.4
L_00a2: ldstr " at "
L_00a7: stelem.ref
L_00a8: dup
L_00a9: ldc.i4.5
L_00aa: ldloc.s 4 (Verse.IntVec3)
L_00ac: box Verse.IntVec3
L_00b1: stelem.ref
L_00b2: dup
L_00b3: ldc.i4.6
L_00b4: ldstr ". Destroying old edifice."
L_00b9: stelem.ref
L_00ba: call System.String Concat(System.Object[])
L_00bf: ldc.i4.0
L_00c0: call Void Error(System.String, Boolean)
L_00c5: ldarg.0
L_00c6: ldloc.s 4 (Verse.IntVec3)
L_00c8: call Verse.Building get_Item(IntVec3)
L_00cd: ldc.i4.0
L_00ce: callvirt Void Destroy(DestroyMode)
L_00d3: br Label8
L_00d8: Label3
L_00d8: Label4
L_00d8: Label5
L_00d8: ldarg.0
L_00d9: ldfld Verse.Building[] innerArray
L_00de: ldloc.0
L_00df: ldloc.s 4 (Verse.IntVec3)
L_00e1: callvirt Int32 CellToIndex(IntVec3)
L_00e6: ldarg.1
L_00e7: stelem.ref
L_00e8: ldloc.3
L_00e9: ldc.i4.1
L_00ea: add
L_00eb: stloc.3
L_00ec: Label2
L_00ec: ldloc.3
L_00ed: ldloca.s 1 (Verse.CellRect)
L_00ef: ldfld System.Int32 maxX
L_00f4: ble Label6
L_00f9: ldloc.2
L_00fa: ldc.i4.1
L_00fb: add
L_00fc: stloc.2
L_00fd: Label1
L_00fd: ldloc.2
L_00fe: ldloca.s 1 (Verse.CellRect)
L_0100: ldfld System.Int32 maxZ
L_0105: ble Label7
L_010a: Label8
L_010a: Label0
L_010a: ret
DONE

### Patch RimWorld.Building_Door, Void DoorOpen(Int32)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorOpen(RimWorld.Building_Door, Int32)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean openInt
L_0017: brfalse Label1
L_001c: ldarg.0
L_001d: ldarg.1
L_001e: stfld System.Int32 ticksUntilClose
L_0023: br Label2
L_0028: Label1
L_0028: ldarg.0
L_0029: ldarg.0
L_002a: call Int32 get_TicksToOpenNow()
L_002f: ldarg.1
L_0030: add
L_0031: stfld System.Int32 ticksUntilClose
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld System.Boolean openInt
L_003c: brtrue Label3
L_0041: ldarg.0
L_0042: ldc.i4.1
L_0043: stfld System.Boolean openInt
L_0048: ldarg.0
L_0049: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_004e: ldarg.0
L_004f: call Boolean get_DoorPowerOn()
L_0054: brfalse Label4
L_0059: ldarg.0
L_005a: ldfld Verse.ThingDef def
L_005f: ldfld RimWorld.BuildingProperties building
L_0064: ldfld Verse.SoundDef soundDoorOpenPowered
L_0069: ldarg.0
L_006a: call IntVec3 get_Position()
L_006f: ldarg.0
L_0070: call Verse.Map get_Map()
L_0075: ldc.i4.0
L_0076: newobj Void .ctor(IntVec3, Map, Boolean)
L_007b: call SoundInfo op_Implicit(TargetInfo)
L_0080: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0085: br Label5
L_008a: Label4
L_008a: ldarg.0
L_008b: ldfld Verse.ThingDef def
L_0090: ldfld RimWorld.BuildingProperties building
L_0095: ldfld Verse.SoundDef soundDoorOpenManual
L_009a: ldarg.0
L_009b: call IntVec3 get_Position()
L_00a0: ldarg.0
L_00a1: call Verse.Map get_Map()
L_00a6: ldc.i4.0
L_00a7: newobj Void .ctor(IntVec3, Map, Boolean)
L_00ac: call SoundInfo op_Implicit(TargetInfo)
L_00b1: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00b6: Label3
L_00b6: Label5
L_00b6: Label0
L_00b6: ret
DONE

### Patch RimWorld.Building_Door, Boolean DoorTryClose()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InvisDoorTryClose(RimWorld.Building_Door)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean holdOpenInt
L_0017: brtrue Label1
L_001c: ldarg.0
L_001d: call Boolean get_BlockedOpenMomentary()
L_0022: brfalse Label2
L_0027: Label1
L_0027: ldc.i4.0
L_0028: br Label5
L_002d: Label2
L_002d: ldarg.0
L_002e: ldc.i4.0
L_002f: stfld System.Boolean openInt
L_0034: ldarg.0
L_0035: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_003a: ldarg.0
L_003b: call Boolean get_DoorPowerOn()
L_0040: brfalse Label3
L_0045: ldarg.0
L_0046: ldfld Verse.ThingDef def
L_004b: ldfld RimWorld.BuildingProperties building
L_0050: ldfld Verse.SoundDef soundDoorClosePowered
L_0055: ldarg.0
L_0056: call IntVec3 get_Position()
L_005b: ldarg.0
L_005c: call Verse.Map get_Map()
L_0061: ldc.i4.0
L_0062: newobj Void .ctor(IntVec3, Map, Boolean)
L_0067: call SoundInfo op_Implicit(TargetInfo)
L_006c: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0071: br Label4
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.ThingDef def
L_007c: ldfld RimWorld.BuildingProperties building
L_0081: ldfld Verse.SoundDef soundDoorCloseManual
L_0086: ldarg.0
L_0087: call IntVec3 get_Position()
L_008c: ldarg.0
L_008d: call Verse.Map get_Map()
L_0092: ldc.i4.0
L_0093: newobj Void .ctor(IntVec3, Map, Boolean)
L_0098: call SoundInfo op_Implicit(TargetInfo)
L_009d: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00a2: Label4
L_00a2: ldc.i4.1
L_00a3: Label5
L_00a3: stloc 0 (System.Boolean)
L_00a4: Label0
L_00a4: ldloc 0 (System.Boolean)
L_00a5: ret
DONE

### Patch RimWorld.Building_Door, Void Notify_PawnApproaching(Verse.Pawn, Int32)


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void CheckFriendlyTouched(Verse.Pawn)
L_0007: ldarg.0
L_0008: ldarg.1
L_0009: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_000e: brfalse Label1
L_0013: ldarg.0
L_0014: call Verse.Map get_Map()
L_0019: ldfld Verse.FogGrid fogGrid
L_001e: ldarg.0
L_001f: ldarg.1
L_0020: callvirt Void Notify_PawnEnteringDoor(RimWorld.Building_Door, Verse.Pawn)
L_0025: ldarg.0
L_0026: call Boolean get_SlowsPawns()
L_002b: brtrue Label2
L_0030: ldc.i4 300
L_0035: ldarg.2
L_0036: ldc.i4.1
L_0037: add
L_0038: call Int32 Max(Int32, Int32)
L_003d: stloc.0
L_003e: ldarg.0
L_003f: ldloc.0
L_0040: call Void DoorOpen(Int32)
L_0045: Label1
L_0045: Label2
L_0045: ldarg.0
L_0046: ldarg 1
L_004c: call Void InvisDoorNotifyApproaching(RimWorld.Building_Door, Verse.Pawn)
L_0051: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualCloseBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorManualClose(RimWorld.Building_Door, Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldc.i4.s 110
L_0014: stfld System.Int32 ticksUntilClose
L_0019: Label0
L_0019: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualOpenBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldc.i4.s 110
L_0003: call Void DoorOpen(Int32)
L_0008: ldarg.0
L_0009: ldarg 1
L_000f: call Void InvisDoorManualOpen(RimWorld.Building_Door, Verse.Pawn)
L_0014: ret
DONE

### Patch RimWorld.Building_Door, Boolean get_FreePassage()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean get_FreePassage(RimWorld.Building_Door, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: ldfld System.Boolean openInt
L_0019: brtrue Label1
L_001e: ldc.i4.0
L_001f: br Label4
L_0024: Label1
L_0024: ldarg.0
L_0025: ldfld System.Boolean holdOpenInt
L_002a: brtrue Label2
L_002f: ldarg.0
L_0030: call Boolean get_WillCloseSoon()
L_0035: ldc.i4.0
L_0036: ceq
L_0038: br Label3
L_003d: Label2
L_003d: ldc.i4.1
L_003e: Label3
L_003e: Label4
L_003e: stloc 0 (System.Boolean)
L_003f: Label0
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.GhostDrawer, Void DrawGhostThing(IntVec3, Rot4, Verse.ThingDef,


Verse.Graphic, Color, AltitudeLayer)
L_0000: Local var 0: Verse.Graphic
L_0000: Local var 1: UnityEngine.Vector3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: ldarg 5
L_0024: call Boolean HeronDoorGhostHandler(IntVec3, Rot4, Verse.ThingDef,
Verse.Graphic, Color, AltitudeLayer)
L_0029: brfalse Label0
L_002e: ldarg.3
L_002f: brtrue Label1
L_0034: ldarg.2
L_0035: ldfld Verse.Graphic graphic
L_003a: starg.s 3
L_003c: Label1
L_003c: ldarg.3
L_003d: ldarg.2
L_003e: ldarg.s 4
L_0040: call Verse.Graphic GhostGraphicFor(Verse.Graphic, Verse.ThingDef, Color)
L_0045: stloc.0
L_0046: ldarg.0
L_0047: ldarg.1
L_0048: ldarg.2
L_0049: callvirt IntVec2 get_Size()
L_004e: ldarg.s 5
L_0050: call Single AltitudeFor(AltitudeLayer)
L_0055: call Vector3 TrueCenter(IntVec3, Rot4, IntVec2, Single)
L_005a: stloc.1
L_005b: ldloc.0
L_005c: ldloc.1
L_005d: ldarg.1
L_005e: ldarg.2
L_005f: ldc.r4 0
L_0064: callvirt Void DrawFromDef(Vector3, Rot4, Verse.ThingDef, Single)
L_0069: ldc.i4.0
L_006a: stloc.2
L_006b: br Label2
L_0070: Label3
L_0070: ldarg.2
L_0071: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0076: ldloc.2
L_0077: callvirt Verse.CompProperties get_Item(Int32)
L_007c: ldarg.0
L_007d: ldarg.1
L_007e: ldarg.2
L_007f: ldarg.s 4
L_0081: ldarg.s 5
L_0083: callvirt Void DrawGhost(IntVec3, Rot4, Verse.ThingDef, Color,
AltitudeLayer)
L_0088: ldloc.2
L_0089: ldc.i4.1
L_008a: add
L_008b: stloc.2
L_008c: Label2
L_008c: ldloc.2
L_008d: ldarg.2
L_008e: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0093: callvirt Int32 get_Count()
L_0098: blt Label3
L_009d: ldarg.2
L_009e: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00a3: brfalse Label4
L_00a8: ldc.i4.0
L_00a9: stloc.3
L_00aa: br Label5
L_00af: Label6
L_00af: ldarg.2
L_00b0: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00b5: ldloc.3
L_00b6: callvirt Verse.PlaceWorker get_Item(Int32)
L_00bb: ldarg.2
L_00bc: ldarg.0
L_00bd: ldarg.1
L_00be: ldarg.s 4
L_00c0: callvirt Void DrawGhost(Verse.ThingDef, IntVec3, Rot4, Color)
L_00c5: ldloc.3
L_00c6: ldc.i4.1
L_00c7: add
L_00c8: stloc.3
L_00c9: Label5
L_00c9: ldloc.3
L_00ca: ldarg.2
L_00cb: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00d0: callvirt Int32 get_Count()
L_00d5: blt Label6
L_00da: Label4
L_00da: Label0
L_00da: ret
DONE

### Patch Verse.GenSpawn, Void SpawnBuildingAsPossible(Verse.Building, Verse.Map,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.CellRect
L_0000: Local var 5: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: call Boolean HeronSpawnBuildingAsPossible(Verse.Building, Verse.Map,
Boolean)
L_0017: brfalse Label0
L_001c: ldc.i4.0
L_001d: stloc.0
L_001e: ldarg.0
L_001f: call CellRect OccupiedRect(Verse.Thing)
L_0024: stloc.1
L_0025: ldloca.s 1 (Verse.CellRect)
L_0027: ldarg.1
L_0028: call Boolean InBounds(Verse.Map)
L_002d: brtrue Label1
L_0032: ldc.i4.1
L_0033: stloc.0
L_0034: br Label2
L_0039: Label1
L_0039: ldarg.0
L_003a: call CellRect OccupiedRect(Verse.Thing)
L_003f: stloc.s 4 (Verse.CellRect)
L_0041: ldloca.s 4 (Verse.CellRect)
L_0043: call IEnumerator`1 GetEnumerator()
L_0048: stloc.3
.try
{
L_0049: br Label3
L_004e: Label15
L_004e: ldloc.3
L_004f: callvirt IntVec3 get_Current()
L_0054: stloc.2
L_0055: ldloc.2
L_0056: ldarg.1
L_0057: call System.Collections.Generic.List`1[Verse.Thing]
GetThingList(IntVec3, Verse.Map)
L_005c: stloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_005e: ldc.i4.0
L_005f: stloc.s 6 (System.Int32)
L_0061: br Label4
L_0066: Label12
L_0066: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0068: ldloc.s 6 (System.Int32)
L_006a: callvirt Verse.Thing get_Item(Int32)
L_006f: isinst Verse.Pawn
L_0074: brfalse Label5
L_0079: ldarg.0
L_007a: ldfld Verse.ThingDef def
L_007f: ldfld Verse.Traversability passability
L_0084: ldc.i4.2
L_0085: bne.un Label6
L_008a: ldc.i4.1
L_008b: stloc.0
L_008c: leave Label7
L_0091: Label5
L_0091: Label6
L_0091: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0093: ldloc.s 6 (System.Int32)
L_0095: callvirt Verse.Thing get_Item(Int32)
L_009a: ldfld Verse.ThingDef def
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.3
L_00a5: beq Label8
L_00aa: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00ac: ldloc.s 6 (System.Int32)
L_00ae: callvirt Verse.Thing get_Item(Int32)
L_00b3: ldfld Verse.ThingDef def
L_00b8: ldfld Verse.ThingCategory category
L_00bd: ldc.i4.2
L_00be: bne.un Label9
L_00c3: Label8
L_00c3: ldarg.0
L_00c4: ldfld Verse.ThingDef def
L_00c9: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00cb: ldloc.s 6 (System.Int32)
L_00cd: callvirt Verse.Thing get_Item(Int32)
L_00d2: ldfld Verse.ThingDef def
L_00d7: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00dc: brfalse Label10
L_00e1: ldc.i4.1
L_00e2: stloc.0
L_00e3: leave Label11
L_00e8: Label9
L_00e8: Label10
L_00e8: ldloc.s 6 (System.Int32)
L_00ea: ldc.i4.1
L_00eb: add
L_00ec: stloc.s 6 (System.Int32)
L_00ee: Label4
L_00ee: ldloc.s 6 (System.Int32)
L_00f0: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00f2: callvirt Int32 get_Count()
L_00f7: blt Label12
L_00fc: Label7
L_00fc: Label11
L_00fc: ldloc.0
L_00fd: brfalse Label13
L_0102: leave Label14
L_0107: Label3
L_0107: Label13
L_0107: ldloc.3
L_0108: callvirt Boolean MoveNext()
L_010d: brtrue Label15
L_0112: Label14
L_0112: leave Label16
L_0117: leave (autogenerated)
} // end try
.finally
{
L_011c: ldloc.3
L_011d: brfalse Label17
L_0122: ldloc.3
L_0123: callvirt Void Dispose()
L_0128: Label17
L_0128: endfinally
L_0129: leave (autogenerated)
} // end handler
L_012a: Label2
L_012a: Label16
L_012a: ldloc.0
L_012b: brfalse Label18
L_0130: ldarg.0
L_0131: ldarg.1
L_0132: call CellRect get_Empty()
L_0137: call Void Refund(Verse.Thing, Verse.Map, CellRect)
L_013c: br Label19
L_0141: Label18
L_0141: ldarg.0
L_0142: ldarg.0
L_0143: callvirt IntVec3 get_Position()
L_0148: ldarg.1
L_0149: ldarg.0
L_014a: callvirt Rot4 get_Rotation()
L_014f: ldc.i4.1
L_0150: ldarg.2
L_0151: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0156: pop
L_0157: Label19
L_0157: Label0
L_0157: ret
DONE

### Patch Verse.GenSpawn, Void WipeExistingThings(IntVec3, Rot4,


Verse.BuildableDef, Verse.Map, DestroyMode)
L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: call Boolean WipeExistingThings(IntVec3, Rot4, Verse.BuildableDef,
Verse.Map, DestroyMode)
L_0023: brfalse Label0
L_0028: ldarg.0
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: callvirt IntVec2 get_Size()
L_0030: call IEnumerable`1 CellsOccupiedBy(IntVec3, Rot4, IntVec2)
L_0035: callvirt IEnumerator`1 GetEnumerator()
L_003a: stloc.1
.try
{
L_003b: br Label1
L_0040: Label6
L_0040: ldloc.1
L_0041: callvirt IntVec3 get_Current()
L_0046: stloc.0
L_0047: ldarg.3
L_0048: ldfld Verse.ThingGrid thingGrid
L_004d: ldloc.0
L_004e: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_0053: call System.Collections.Generic.List`1[Verse.Thing] ToList[Thing]
(IEnumerable`1)
L_0058: callvirt Enumerator GetEnumerator()
L_005d: stloc.3
.try
{
L_005e: br Label2
L_0063: Label4
L_0063: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0065: call Verse.Thing get_Current()
L_006a: stloc.2
L_006b: ldarg.2
L_006c: ldloc.2
L_006d: ldfld Verse.ThingDef def
L_0072: call Boolean SpawningWipes(Verse.BuildableDef,
Verse.BuildableDef)
L_0077: brfalse Label3
L_007c: ldloc.2
L_007d: ldarg.s 4
L_007f: callvirt Void Destroy(DestroyMode)
L_0084: Label2
L_0084: Label3
L_0084: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0086: call Boolean MoveNext()
L_008b: brtrue Label4
L_0090: leave Label5
L_0095: leave (autogenerated)
} // end try
.finally
{
L_009a: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_009c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_00a2: callvirt Void Dispose()
L_00a7: endfinally
L_00a8: leave (autogenerated)
} // end handler
L_00a9: Label1
L_00a9: Label5
L_00a9: ldloc.1
L_00aa: callvirt Boolean MoveNext()
L_00af: brtrue Label6
L_00b4: leave Label7
L_00b9: leave (autogenerated)
} // end try
.finally
{
L_00be: ldloc.1
L_00bf: brfalse Label8
L_00c4: ldloc.1
L_00c5: callvirt Void Dispose()
L_00ca: Label8
L_00ca: endfinally
L_00cb: leave (autogenerated)
} // end handler
L_00cc: Label7
L_00cc: Label0
L_00cc: ret
DONE

### Patch Verse.GenSpawn, Boolean SpawningWipes(Verse.BuildableDef,


Verse.BuildableDef)
L_0000: Local var 0: Verse.ThingDef
L_0000: Local var 1: Verse.ThingDef
L_0000: Local var 2: Verse.BuildableDef
L_0000: Local var 3: Verse.BuildableDef
L_0000: Local var 4: Verse.ThingDef
L_0000: Local var 5: Verse.ThingDef
L_0000: Local var 6: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 6 (System.Boolean)
L_0007: ldarg.0
L_0008: isinst Verse.ThingDef
L_000d: stloc.0
L_000e: ldarg.1
L_000f: isinst Verse.ThingDef
L_0014: stloc.1
L_0015: ldloc.0
L_0016: brfalse Label1
L_001b: ldloc.1
L_001c: brtrue Label2
L_0021: Label1
L_0021: ldc.i4.0
L_0022: br Label49
L_0027: Label2
L_0027: ldloc.0
L_0028: ldfld Verse.ThingCategory category
L_002d: ldc.i4.8
L_002e: beq Label3
L_0033: ldloc.0
L_0034: ldfld Verse.ThingCategory category
L_0039: ldc.i4.s 9
L_003b: beq Label4
L_0040: ldloc.0
L_0041: ldfld Verse.ThingCategory category
L_0046: ldc.i4.6
L_0047: beq Label5
L_004c: ldloc.0
L_004d: ldfld Verse.ThingCategory category
L_0052: ldc.i4.5
L_0053: bne.un Label6
L_0058: Label3
L_0058: Label4
L_0058: Label5
L_0058: ldc.i4.0
L_0059: br Label50
L_005e: Label6
L_005e: ldloc.1
L_005f: ldfld System.Boolean destroyable
L_0064: brtrue Label7
L_0069: ldc.i4.0
L_006a: br Label51
L_006f: Label7
L_006f: ldloc.0
L_0070: ldfld Verse.ThingCategory category
L_0075: ldc.i4.4
L_0076: bne.un Label8
L_007b: ldc.i4.0
L_007c: br Label52
L_0081: Label8
L_0081: ldloc.1
L_0082: ldfld Verse.ThingCategory category
L_0087: ldc.i4.6
L_0088: bne.un Label9
L_008d: ldloc.0
L_008e: ldfld Verse.Traversability passability
L_0093: brfalse Label10
L_0098: ldc.i4.1
L_0099: br Label53
L_009e: Label9
L_009e: Label10
L_009e: ldloc.1
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.2
L_00a5: bne.un Label11
L_00aa: ldloc.0
L_00ab: ldfld Verse.Traversability passability
L_00b0: ldc.i4.2
L_00b1: bne.un Label12
L_00b6: ldloc.0
L_00b7: ldfld Verse.SurfaceType surfaceType
L_00bc: brtrue Label13
L_00c1: ldc.i4.1
L_00c2: br Label54
L_00c7: Label11
L_00c7: Label12
L_00c7: Label13
L_00c7: ldloc.0
L_00c8: callvirt Boolean get_EverTransmitsPower()
L_00cd: brfalse Label14
L_00d2: ldloc.1
L_00d3: ldsfld Verse.ThingDef PowerConduit
L_00d8: bne.un Label15
L_00dd: ldc.i4.1
L_00de: br Label55
L_00e3: Label14
L_00e3: Label15
L_00e3: ldloc.0
L_00e4: callvirt Boolean get_IsFrame()
L_00e9: brfalse Label16
L_00ee: ldloc.0
L_00ef: ldfld Verse.BuildableDef entityDefToBuild
L_00f4: ldarg.1
L_00f5: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00fa: brfalse Label17
L_00ff: ldc.i4.1
L_0100: br Label56
L_0105: Label16
L_0105: Label17
L_0105: ldloc.0
L_0106: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_010b: stloc.2
L_010c: ldloc.1
L_010d: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_0112: stloc.3
L_0113: ldloc.2
L_0114: brfalse Label18
L_0119: ldloc.3
L_011a: brtrue Label19
L_011f: Label18
L_011f: ldc.i4.0
L_0120: br Label57
L_0125: Label19
L_0125: ldloc.0
L_0126: ldfld Verse.BuildableDef entityDefToBuild
L_012b: isinst Verse.ThingDef
L_0130: stloc.s 4 (Verse.ThingDef)
L_0132: ldloc.1
L_0133: callvirt Boolean get_IsBlueprint()
L_0138: brfalse Label20
L_013d: ldloc.0
L_013e: callvirt Boolean get_IsBlueprint()
L_0143: brfalse Label21
L_0148: ldloc.s 4 (Verse.ThingDef)
L_014a: brfalse Label22
L_014f: ldloc.s 4 (Verse.ThingDef)
L_0151: ldfld RimWorld.BuildingProperties building
L_0156: brfalse Label23
L_015b: ldloc.s 4 (Verse.ThingDef)
L_015d: ldfld RimWorld.BuildingProperties building
L_0162: ldfld System.Boolean canPlaceOverWall
L_0167: brfalse Label24
L_016c: ldloc.1
L_016d: ldfld Verse.BuildableDef entityDefToBuild
L_0172: isinst Verse.ThingDef
L_0177: brfalse Label25
L_017c: ldloc.1
L_017d: ldfld Verse.BuildableDef entityDefToBuild
L_0182: castclass Verse.ThingDef
L_0187: ldsfld Verse.ThingDef Wall
L_018c: bne.un Label26
L_0191: ldc.i4.1
L_0192: br Label58
L_0197: Label22
L_0197: Label23
L_0197: Label24
L_0197: Label25
L_0197: Label26
L_0197: ldloc.1
L_0198: ldfld Verse.BuildableDef entityDefToBuild
L_019d: isinst Verse.TerrainDef
L_01a2: brfalse Label27
L_01a7: ldloc.0
L_01a8: ldfld Verse.BuildableDef entityDefToBuild
L_01ad: isinst Verse.ThingDef
L_01b2: brfalse Label28
L_01b7: ldloc.0
L_01b8: ldfld Verse.BuildableDef entityDefToBuild
L_01bd: castclass Verse.ThingDef
L_01c2: ldfld System.Boolean coversFloor
L_01c7: brfalse Label29
L_01cc: ldc.i4.1
L_01cd: br Label59
L_01d2: Label28
L_01d2: Label29
L_01d2: ldloc.0
L_01d3: ldfld Verse.BuildableDef entityDefToBuild
L_01d8: isinst Verse.TerrainDef
L_01dd: brfalse Label30
L_01e2: ldc.i4.1
L_01e3: br Label60
L_01e8: Label21
L_01e8: Label27
L_01e8: Label30
L_01e8: ldloc.1
L_01e9: ldfld Verse.BuildableDef entityDefToBuild
L_01ee: ldsfld Verse.ThingDef PowerConduit
L_01f3: bne.un Label31
L_01f8: ldloc.0
L_01f9: ldfld Verse.BuildableDef entityDefToBuild
L_01fe: isinst Verse.ThingDef
L_0203: brfalse Label32
L_0208: ldloc.0
L_0209: ldfld Verse.BuildableDef entityDefToBuild
L_020e: isinst Verse.ThingDef
L_0213: callvirt Boolean get_EverTransmitsPower()
L_0218: brfalse Label33
L_021d: ldc.i4.1
L_021e: br Label61
L_0223: Label31
L_0223: Label32
L_0223: Label33
L_0223: ldc.i4.0
L_0224: br Label62
L_0229: Label20
L_0229: ldloc.1
L_022a: callvirt Boolean get_IsFrame()
L_022f: brtrue Label34
L_0234: ldloc.1
L_0235: callvirt Boolean get_IsBlueprint()
L_023a: brfalse Label35
L_023f: Label34
L_023f: ldloc.1
L_0240: ldfld Verse.BuildableDef entityDefToBuild
L_0245: isinst Verse.TerrainDef
L_024a: brfalse Label36
L_024f: ldloc.2
L_0250: isinst Verse.ThingDef
L_0255: stloc.s 5 (Verse.ThingDef)
L_0257: ldloc.s 5 (Verse.ThingDef)
L_0259: brfalse Label37
L_025e: ldloc.s 5 (Verse.ThingDef)
L_0260: callvirt Boolean get_CoexistsWithFloors()
L_0265: brtrue Label38
L_026a: ldc.i4.1
L_026b: br Label63
L_0270: Label35
L_0270: Label36
L_0270: Label37
L_0270: Label38
L_0270: ldloc.1
L_0271: ldsfld Verse.ThingDef ActiveDropPod
L_0276: bne.un Label39
L_027b: ldc.i4.0
L_027c: br Label64
L_0281: Label39
L_0281: ldloc.0
L_0282: ldsfld Verse.ThingDef ActiveDropPod
L_0287: bne.un Label40
L_028c: ldloc.1
L_028d: ldsfld Verse.ThingDef ActiveDropPod
L_0292: bne.un Label41
L_0297: ldc.i4.0
L_0298: br Label65
L_029d: Label41
L_029d: ldloc.1
L_029e: ldfld Verse.ThingCategory category
L_02a3: ldc.i4.3
L_02a4: bne.un Label42
L_02a9: ldloc.1
L_02aa: ldfld Verse.Traversability passability
L_02af: ldc.i4.2
L_02b0: bne.un Label43
L_02b5: ldc.i4.1
L_02b6: br Label66
L_02bb: Label42
L_02bb: Label43
L_02bb: ldc.i4.0
L_02bc: br Label67
L_02c1: Label40
L_02c1: ldloc.0
L_02c2: call Boolean IsEdifice(Verse.BuildableDef)
L_02c7: brfalse Label44
L_02cc: ldloc.0
L_02cd: callvirt Boolean get_BlockPlanting()
L_02d2: brfalse Label45
L_02d7: ldloc.1
L_02d8: ldfld Verse.ThingCategory category
L_02dd: ldc.i4.4
L_02de: bne.un Label46
L_02e3: ldc.i4.1
L_02e4: br Label68
L_02e9: Label45
L_02e9: Label46
L_02e9: ldloc.2
L_02ea: isinst Verse.TerrainDef
L_02ef: brtrue Label47
L_02f4: ldloc.3
L_02f5: call Boolean IsEdifice(Verse.BuildableDef)
L_02fa: brfalse Label48
L_02ff: ldc.i4.1
L_0300: br Label69
L_0305: Label44
L_0305: Label47
L_0305: Label48
L_0305: ldc.i4.0
L_0306: Label49
L_0306: Label50
L_0306: Label51
L_0306: Label52
L_0306: Label53
L_0306: Label54
L_0306: Label55
L_0306: Label56
L_0306: Label57
L_0306: Label58
L_0306: Label59
L_0306: Label60
L_0306: Label61
L_0306: Label62
L_0306: Label63
L_0306: Label64
L_0306: Label65
L_0306: Label66
L_0306: Label67
L_0306: Label68
L_0306: Label69
L_0306: stloc 6 (System.Boolean)
L_0308: ldarg 0
L_030e: ldarg 1
L_0314: ldloca 6 (System.Boolean)
L_0316: call Void InvisDoorsDontWipe(Verse.BuildableDef, Verse.BuildableDef,
Boolean ByRef)
L_031b: ldloc 6 (System.Boolean)
L_031d: ret
DONE

### Patch Verse.AI.GenPath, Boolean ShouldNotEnterCell(Verse.Pawn, Verse.Map,


IntVec3)
L_0000: Local var 0: Verse.Building
L_0000: Local var 1: RimWorld.Building_Door
L_0000: Local var 2: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.1
L_0007: ldfld Verse.AI.PathGrid pathGrid
L_000c: ldarg.2
L_000d: callvirt Int32 PerceivedPathCostAt(IntVec3)
L_0012: ldc.i4.s 30
L_0014: ble Label1
L_0019: ldc.i4.1
L_001a: br Label9
L_001f: Label1
L_001f: ldarg.2
L_0020: ldarg.1
L_0021: call Boolean Walkable(IntVec3, Verse.Map)
L_0026: brtrue Label2
L_002b: ldc.i4.1
L_002c: br Label10
L_0031: Label2
L_0031: ldarg.0
L_0032: brfalse Label3
L_0037: ldarg.2
L_0038: ldarg.0
L_0039: call Boolean IsForbidden(IntVec3, Verse.Pawn)
L_003e: brfalse Label4
L_0043: ldc.i4.1
L_0044: br Label11
L_0049: Label4
L_0049: ldarg.2
L_004a: ldarg.1
L_004b: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0050: stloc.0
L_0051: ldloc.0
L_0052: brfalse Label5
L_0057: ldloc.0
L_0058: isinst RimWorld.Building_Door
L_005d: stloc.1
L_005e: ldloc.1
L_005f: brfalse Label6
L_0064: ldloc.1
L_0065: ldarg.0
L_0066: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_006b: brfalse Label7
L_0070: ldc.i4.1
L_0071: br Label12
L_0076: Label7
L_0076: ldloc.1
L_0077: ldarg.0
L_0078: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_007d: brtrue Label8
L_0082: ldc.i4.1
L_0083: br Label13
L_0088: Label3
L_0088: Label5
L_0088: Label6
L_0088: Label8
L_0088: ldc.i4.0
L_0089: Label9
L_0089: Label10
L_0089: Label11
L_0089: Label12
L_0089: Label13
L_0089: stloc 2 (System.Boolean)
L_008a: ldarg 0
L_0090: ldarg 1
L_0096: ldarg 2
L_009c: ldloca 2 (System.Boolean)
L_009e: call Void ShouldNotEnterCellInvisDoors(Verse.Pawn, Verse.Map, IntVec3,
Boolean ByRef)
L_00a3: ldloc 2 (System.Boolean)
L_00a4: ret
DONE

### Patch RimWorld.CompForbiddable, Void PostDraw()


L_0000: ldarg.0
L_0001: call Boolean DontDrawInvisDoorForbiddenIcons(RimWorld.CompForbiddable)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld System.Boolean forbiddenInt
L_0011: brfalse Label1
L_0016: ldarg.0
L_0017: ldfld Verse.ThingWithComps parent
L_001c: isinst RimWorld.Blueprint
L_0021: brtrue Label2
L_0026: ldarg.0
L_0027: ldfld Verse.ThingWithComps parent
L_002c: isinst RimWorld.Frame
L_0031: brfalse Label3
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld Verse.ThingWithComps parent
L_003c: ldfld Verse.ThingDef def
L_0041: ldflda Verse.IntVec2 size
L_0046: ldfld System.Int32 x
L_004b: ldc.i4.1
L_004c: bgt Label4
L_0051: ldarg.0
L_0052: ldfld Verse.ThingWithComps parent
L_0057: ldfld Verse.ThingDef def
L_005c: ldflda Verse.IntVec2 size
L_0061: ldfld System.Int32 z
L_0066: ldc.i4.1
L_0067: ble Label5
L_006c: Label4
L_006c: ldarg.0
L_006d: ldfld Verse.ThingWithComps parent
L_0072: callvirt Verse.Map get_Map()
L_0077: ldfld RimWorld.OverlayDrawer overlayDrawer
L_007c: ldarg.0
L_007d: ldfld Verse.ThingWithComps parent
L_0082: ldc.i4.s 16
L_0084: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0089: br Label6
L_008e: Label5
L_008e: ldarg.0
L_008f: ldfld Verse.ThingWithComps parent
L_0094: callvirt Verse.Map get_Map()
L_0099: ldfld RimWorld.OverlayDrawer overlayDrawer
L_009e: ldarg.0
L_009f: ldfld Verse.ThingWithComps parent
L_00a4: ldc.i4.8
L_00a5: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00aa: Label6
L_00aa: br Label7
L_00af: Label3
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingWithComps parent
L_00b5: ldfld Verse.ThingDef def
L_00ba: ldfld Verse.ThingCategory category
L_00bf: ldc.i4.3
L_00c0: bne.un Label8
L_00c5: ldarg.0
L_00c6: ldfld Verse.ThingWithComps parent
L_00cb: callvirt Verse.Map get_Map()
L_00d0: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00d5: ldarg.0
L_00d6: ldfld Verse.ThingWithComps parent
L_00db: ldc.i4.s 16
L_00dd: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00e2: br Label9
L_00e7: Label8
L_00e7: ldarg.0
L_00e8: ldfld Verse.ThingWithComps parent
L_00ed: callvirt Verse.Map get_Map()
L_00f2: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00f7: ldarg.0
L_00f8: ldfld Verse.ThingWithComps parent
L_00fd: ldc.i4.8
L_00fe: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0103: Label1
L_0103: Label7
L_0103: Label9
L_0103: Label0
L_0103: ret
DONE

### Patch Verse.AI.PawnPathUtility, Boolean


TryFindLastCellBeforeBlockingDoor(Verse.AI.PawnPath, Verse.Pawn, IntVec3 ByRef)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Door
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg 0
L_000c: ldarg 1
L_0012: ldarg 2
L_0018: ldloca 3 (System.Boolean)
L_001a: call Boolean ManhunterJobGiverFix(Verse.AI.PawnPath, Verse.Pawn, IntVec3
ByRef, Boolean ByRef)
L_001f: brfalse Label0
L_0024: ldarg.0
L_0025: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_002a: callvirt Int32 get_Count()
L_002f: ldc.i4.1
L_0030: bne.un Label1
L_0035: ldarg.2
L_0036: ldarg.0
L_0037: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_003c: ldc.i4.0
L_003d: callvirt IntVec3 get_Item(Int32)
L_0042: stobj Verse.IntVec3
L_0047: ldc.i4.0
L_0048: br Label6
L_004d: Label1
L_004d: ldarg.0
L_004e: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0053: stloc.0
L_0054: ldloc.0
L_0055: callvirt Int32 get_Count()
L_005a: ldc.i4.2
L_005b: sub
L_005c: stloc.1
L_005d: br Label2
L_0062: Label5
L_0062: ldloc.0
L_0063: ldloc.1
L_0064: callvirt IntVec3 get_Item(Int32)
L_0069: ldarg.1
L_006a: callvirt Verse.Map get_Map()
L_006f: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0074: isinst RimWorld.Building_Door
L_0079: stloc.2
L_007a: ldloc.2
L_007b: brfalse Label3
L_0080: ldloc.2
L_0081: ldarg.1
L_0082: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0087: brtrue Label4
L_008c: ldarg.2
L_008d: ldloc.0
L_008e: ldloc.1
L_008f: ldc.i4.1
L_0090: add
L_0091: callvirt IntVec3 get_Item(Int32)
L_0096: stobj Verse.IntVec3
L_009b: ldc.i4.1
L_009c: br Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldloc.1
L_00a2: ldc.i4.1
L_00a3: sub
L_00a4: stloc.1
L_00a5: Label2
L_00a5: ldloc.1
L_00a6: ldc.i4.1
L_00a7: bge Label5
L_00ac: ldarg.2
L_00ad: ldloc.0
L_00ae: ldc.i4.0
L_00af: callvirt IntVec3 get_Item(Int32)
L_00b4: stobj Verse.IntVec3
L_00b9: ldc.i4.0
L_00ba: Label6
L_00ba: Label7
L_00ba: stloc 3 (System.Boolean)
L_00bb: Label0
L_00bb: ldloc 3 (System.Boolean)
L_00bc: ret
DONE

### Patch RimWorld.ForbidUtility, Boolean IsForbiddenToPass(RimWorld.Building_Door,


Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: ldc.i4.0
L_0008: call Boolean CaresAboutForbidden(Verse.Pawn, Boolean)
L_000d: brtrue Label1
L_0012: ldc.i4.0
L_0013: br Label3
L_0018: Label1
L_0018: ldarg.0
L_0019: ldarg.1
L_001a: callvirt RimWorld.Faction get_Faction()
L_001f: call Boolean IsForbidden(Verse.Thing, RimWorld.Faction)
L_0024: brfalse Label2
L_0029: ldc.i4.1
L_002a: br Label4
L_002f: Label2
L_002f: ldc.i4.0
L_0030: Label3
L_0030: Label4
L_0030: stloc 0 (System.Boolean)
L_0031: ldarg 0
L_0037: ldarg 1
L_003d: ldloca 0 (System.Boolean)
L_003f: call Void IsForbiddenToPass_PostFix(Verse.Thing, Verse.Pawn, Boolean ByRef)
L_0044: ldloc 0 (System.Boolean)
L_0045: ret
DONE

### Patch Verse.AI.PathFinder, Int32 GetBuildingCost(Verse.Building, TraverseParms,


Verse.Pawn)
L_0000: Local var 0: RimWorld.Building_Door
L_0000: Local var 1: Verse.TraverseMode
L_0000: Local var 2: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Int32)
L_0006: ldarg.0
L_0007: isinst RimWorld.Building_Door
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldarga.s 1
L_0015: ldfld Verse.TraverseMode mode
L_001a: stloc.1
L_001b: ldloc.1
L_001c: switch Labels2,3,4,5,6,7
L_0039: br Label8
L_003e: Label4
L_003e: Label6
L_003e: ldloc.0
L_003f: callvirt Boolean get_FreePassage()
L_0044: brfalse Label9
L_0049: ldc.i4.0
L_004a: br Label30
L_004f: Label9
L_004f: ldc.i4 2147483647
L_0054: br Label31
L_0059: Label5
L_0059: Label7
L_0059: ldarg.2
L_005a: brfalse Label10
L_005f: ldloc.0
L_0060: ldarg.2
L_0061: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0066: brfalse Label11
L_006b: ldloc.0
L_006c: ldarg.2
L_006d: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0072: brtrue Label12
L_0077: ldloc.0
L_0078: callvirt Boolean get_FreePassage()
L_007d: brtrue Label13
L_0082: ldloc.0
L_0083: callvirt Int32 get_TicksToOpenNow()
L_0088: br Label32
L_008d: Label10
L_008d: Label11
L_008d: Label12
L_008d: Label13
L_008d: ldloc.0
L_008e: ldarg.2
L_008f: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0094: brfalse Label14
L_0099: ldc.i4.0
L_009a: br Label33
L_009f: Label14
L_009f: ldc.i4.s 50
L_00a1: ldloc.0
L_00a2: callvirt Int32 get_HitPoints()
L_00a7: conv.r4
L_00a8: ldc.r4 0.2
L_00ad: mul
L_00ae: conv.i4
L_00af: add
L_00b0: br Label34
L_00b5: Label3
L_00b5: ldarg.2
L_00b6: brfalse Label15
L_00bb: ldloc.0
L_00bc: ldarg.2
L_00bd: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00c2: brfalse Label16
L_00c7: ldloc.0
L_00c8: ldarg.2
L_00c9: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_00ce: brtrue Label17
L_00d3: ldloc.0
L_00d4: callvirt Boolean get_FreePassage()
L_00d9: brtrue Label18
L_00de: ldloc.0
L_00df: callvirt Int32 get_TicksToOpenNow()
L_00e4: br Label35
L_00e9: Label15
L_00e9: Label16
L_00e9: Label17
L_00e9: Label18
L_00e9: ldloc.0
L_00ea: ldarg.2
L_00eb: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_00f0: brfalse Label19
L_00f5: ldc.i4.0
L_00f6: br Label36
L_00fb: Label19
L_00fb: ldc.i4 150
L_0100: br Label37
L_0105: Label2
L_0105: ldarga.s 1
L_0107: ldfld System.Boolean canBash
L_010c: brtrue Label20
L_0111: ldloc.0
L_0112: ldarg.2
L_0113: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0118: brfalse Label21
L_011d: ldsfld System.Boolean drawPaths
L_0122: brfalse Label22
L_0127: ldarg.0
L_0128: callvirt IntVec3 get_Position()
L_012d: ldarg.0
L_012e: callvirt Verse.Map get_Map()
L_0133: ldc.r4 0.77
L_0138: ldstr "forbid"
L_013d: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_0142: Label22
L_0142: ldc.i4 2147483647
L_0147: br Label38
L_014c: Label20
L_014c: Label21
L_014c: ldloc.0
L_014d: ldarg.2
L_014e: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0153: brfalse Label23
L_0158: ldloc.0
L_0159: callvirt Boolean get_FreePassage()
L_015e: brtrue Label24
L_0163: ldloc.0
L_0164: callvirt Int32 get_TicksToOpenNow()
L_0169: br Label39
L_016e: Label23
L_016e: Label24
L_016e: ldloc.0
L_016f: ldarg.2
L_0170: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0175: brfalse Label25
L_017a: ldc.i4.0
L_017b: br Label40
L_0180: Label25
L_0180: ldarga.s 1
L_0182: ldfld System.Boolean canBash
L_0187: brfalse Label26
L_018c: ldc.i4 300
L_0191: br Label41
L_0196: Label26
L_0196: ldsfld System.Boolean drawPaths
L_019b: brfalse Label27
L_01a0: ldarg.0
L_01a1: callvirt IntVec3 get_Position()
L_01a6: ldarg.0
L_01a7: callvirt Verse.Map get_Map()
L_01ac: ldc.r4 0.34
L_01b1: ldstr "cant pass"
L_01b6: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_01bb: Label27
L_01bb: ldc.i4 2147483647
L_01c0: br Label42
L_01c5: Label8
L_01c5: br Label28
L_01ca: Label1
L_01ca: ldarg.2
L_01cb: brfalse Label29
L_01d0: ldarg.0
L_01d1: ldarg.2
L_01d2: callvirt UInt16 PathFindCostFor(Verse.Pawn)
L_01d7: br Label43
L_01dc: Label28
L_01dc: Label29
L_01dc: ldc.i4.0
L_01dd: Label30
L_01dd: Label31
L_01dd: Label32
L_01dd: Label33
L_01dd: Label34
L_01dd: Label35
L_01dd: Label36
L_01dd: Label37
L_01dd: Label38
L_01dd: Label39
L_01dd: Label40
L_01dd: Label41
L_01dd: Label42
L_01dd: Label43
L_01dd: stloc 2 (System.Int32)
L_01de: ldarg 0
L_01e4: ldarg 1
L_01ea: ldarg 2
L_01f0: ldloca 2 (System.Int32)
L_01f2: call Void GetBuildingCost_PostFix(Verse.Building, TraverseParms,
Verse.Pawn, Int32 ByRef)
L_01f7: ldloc 2 (System.Int32)
L_01f8: ret
DONE

### Patch Verse.AI.PawnPathUtility, Verse.Thing


FirstBlockingBuilding(Verse.AI.PawnPath, IntVec3 ByRef, Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: Verse.Building
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Building
L_0000: Local var 5: RimWorld.Building_Door
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: Verse.Thing
L_0000: ldnull
L_0001: stloc 7 (Verse.Thing)
L_0003: ldarg.0
L_0004: callvirt Boolean get_Found()
L_0009: brtrue Label1
L_000e: ldarg.1
L_000f: call IntVec3 get_Invalid()
L_0014: stobj Verse.IntVec3
L_0019: ldnull
L_001a: br Label22
L_001f: Label1
L_001f: ldarg.0
L_0020: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0025: stloc.0
L_0026: ldloc.0
L_0027: callvirt Int32 get_Count()
L_002c: ldc.i4.1
L_002d: bne.un Label2
L_0032: ldarg.1
L_0033: ldloc.0
L_0034: ldc.i4.0
L_0035: callvirt IntVec3 get_Item(Int32)
L_003a: stobj Verse.IntVec3
L_003f: ldnull
L_0040: br Label23
L_0045: Label2
L_0045: ldnull
L_0046: stloc.1
L_0047: call IntVec3 get_Invalid()
L_004c: stloc.2
L_004d: ldloc.0
L_004e: callvirt Int32 get_Count()
L_0053: ldc.i4.2
L_0054: sub
L_0055: stloc.3
L_0056: br Label3
L_005b: Label21
L_005b: ldloc.0
L_005c: ldloc.3
L_005d: callvirt IntVec3 get_Item(Int32)
L_0062: ldarg.2
L_0063: callvirt Verse.Map get_Map()
L_0068: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_006d: stloc.s 4 (Verse.Building)
L_006f: ldloc.s 4 (Verse.Building)
L_0071: brfalse Label4
L_0076: ldloc.s 4 (Verse.Building)
L_0078: isinst RimWorld.Building_Door
L_007d: stloc.s 5 (RimWorld.Building_Door)
L_007f: ldloc.s 5 (RimWorld.Building_Door)
L_0081: brfalse Label5
L_0086: ldloc.s 5 (RimWorld.Building_Door)
L_0088: callvirt Boolean get_FreePassage()
L_008d: brtrue Label6
L_0092: ldarg.2
L_0093: brfalse Label7
L_0098: ldloc.s 5 (RimWorld.Building_Door)
L_009a: ldarg.2
L_009b: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00a0: ldc.i4.0
L_00a1: ceq
L_00a3: br Label8
L_00a8: Label7
L_00a8: ldc.i4.1
L_00a9: Label8
L_00a9: br Label9
L_00ae: Label5
L_00ae: Label6
L_00ae: ldc.i4.0
L_00af: Label9
L_00af: stloc.s 6 (System.Boolean)
L_00b1: ldloc.s 6 (System.Boolean)
L_00b3: brtrue Label10
L_00b8: ldloc.s 4 (Verse.Building)
L_00ba: ldfld Verse.ThingDef def
L_00bf: ldfld Verse.Traversability passability
L_00c4: ldc.i4.2
L_00c5: bne.un Label11
L_00ca: Label10
L_00ca: ldloc.1
L_00cb: brfalse Label12
L_00d0: ldarg.1
L_00d1: ldloc.2
L_00d2: stobj Verse.IntVec3
L_00d7: ldloc.1
L_00d8: br Label24
L_00dd: Label12
L_00dd: ldarg.1
L_00de: ldloc.0
L_00df: ldloc.3
L_00e0: ldc.i4.1
L_00e1: add
L_00e2: callvirt IntVec3 get_Item(Int32)
L_00e7: stobj Verse.IntVec3
L_00ec: ldloc.s 4 (Verse.Building)
L_00ee: br Label25
L_00f3: Label4
L_00f3: Label11
L_00f3: ldloc.s 4 (Verse.Building)
L_00f5: brfalse Label13
L_00fa: ldloc.s 4 (Verse.Building)
L_00fc: ldfld Verse.ThingDef def
L_0101: ldfld Verse.Traversability passability
L_0106: ldc.i4.1
L_0107: bne.un Label14
L_010c: ldloc.s 4 (Verse.Building)
L_010e: ldfld Verse.ThingDef def
L_0113: callvirt FillCategory get_Fillage()
L_0118: ldc.i4.2
L_0119: bne.un Label15
L_011e: ldloc.1
L_011f: brtrue Label16
L_0124: ldloc.s 4 (Verse.Building)
L_0126: stloc.1
L_0127: ldloc.0
L_0128: ldloc.3
L_0129: ldc.i4.1
L_012a: add
L_012b: callvirt IntVec3 get_Item(Int32)
L_0130: stloc.2
L_0131: Label16
L_0131: br Label17
L_0136: Label13
L_0136: Label14
L_0136: Label15
L_0136: ldloc.s 4 (Verse.Building)
L_0138: brfalse Label18
L_013d: ldloc.s 4 (Verse.Building)
L_013f: ldfld Verse.ThingDef def
L_0144: ldfld Verse.Traversability passability
L_0149: ldc.i4.1
L_014a: bne.un Label19
L_014f: br Label20
L_0154: Label18
L_0154: Label19
L_0154: ldnull
L_0155: stloc.1
L_0156: Label17
L_0156: Label20
L_0156: ldloc.3
L_0157: ldc.i4.1
L_0158: sub
L_0159: stloc.3
L_015a: Label3
L_015a: ldloc.3
L_015b: ldc.i4.0
L_015c: bge Label21
L_0161: ldarg.1
L_0162: ldloc.0
L_0163: ldc.i4.0
L_0164: callvirt IntVec3 get_Item(Int32)
L_0169: stobj Verse.IntVec3
L_016e: ldnull
L_016f: Label22
L_016f: Label23
L_016f: Label24
L_016f: Label25
L_016f: stloc 7 (Verse.Thing)
L_0171: ldarg 0
L_0177: ldarg 1
L_017d: ldarg 2
L_0183: ldloca 7 (Verse.Thing)
L_0185: call Void FirstBlockingBuilding_PostFix(Verse.AI.PawnPath, IntVec3 ByRef,
Verse.Pawn, Verse.Thing ByRef)
L_018a: ldloc 7 (Verse.Thing)
L_018c: ret
DONE

### Patch RimWorld.WorkGiver_DoBill, Verse.AI.Job JobOnThing(Verse.Pawn,


Verse.Thing, Boolean)
L_0000: Local var 0: RimWorld.IBillGiver
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: RimWorld.CompRefuelable
L_0000: Local var 5: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 5 (Verse.AI.Job)
L_0003: ldarg.2
L_0004: isinst RimWorld.IBillGiver
L_0009: stloc.0
L_000a: ldloc.0
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldarg.2
L_0012: call Boolean ThingIsUsableBillGiver(Verse.Thing)
L_0017: brfalse Label2
L_001c: ldloc.0
L_001d: callvirt RimWorld.BillStack get_BillStack()
L_0022: callvirt Boolean get_AnyShouldDoNow()
L_0027: brfalse Label3
L_002c: ldloc.0
L_002d: callvirt Boolean UsableForBillsAfterFueling()
L_0032: brfalse Label4
L_0037: ldarg.1
L_0038: stloc.1
L_0039: ldarg.2
L_003a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_003f: stloc.2
L_0040: ldarg.3
L_0041: stloc.3
L_0042: ldloc.1
L_0043: ldloc.2
L_0044: ldc.i4.1
L_0045: ldc.i4.m1
L_0046: ldnull
L_0047: ldloc.3
L_0048: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32, Int32,
Verse.ReservationLayerDef, Boolean)
L_004d: brfalse Label5
L_0052: ldarg.2
L_0053: call Boolean IsBurning(Verse.Thing)
L_0058: brtrue Label6
L_005d: ldarg.2
L_005e: ldarg.1
L_005f: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_0064: brfalse Label7
L_0069: Label1
L_0069: Label2
L_0069: Label3
L_0069: Label4
L_0069: Label5
L_0069: Label6
L_0069: ldnull
L_006a: br Label11
L_006f: Label7
L_006f: ldarg.2
L_0070: call RimWorld.CompRefuelable TryGetComp[CompRefuelable](Verse.Thing)
L_0075: stloc.s 4 (RimWorld.CompRefuelable)
L_0077: ldloc.s 4 (RimWorld.CompRefuelable)
L_0079: brfalse Label8
L_007e: ldloc.s 4 (RimWorld.CompRefuelable)
L_0080: callvirt Boolean get_HasFuel()
L_0085: brtrue Label9
L_008a: ldarg.1
L_008b: ldarg.2
L_008c: ldarg.3
L_008d: call Boolean CanRefuel(Verse.Pawn, Verse.Thing, Boolean)
L_0092: brtrue Label10
L_0097: ldnull
L_0098: br Label12
L_009d: Label10
L_009d: ldarg.1
L_009e: ldarg.2
L_009f: ldarg.3
L_00a0: ldnull
L_00a1: ldnull
L_00a2: call Verse.AI.Job RefuelJob(Verse.Pawn, Verse.Thing, Boolean, Verse.JobDef,
Verse.JobDef)
L_00a7: br Label13
L_00ac: Label8
L_00ac: Label9
L_00ac: ldloc.0
L_00ad: callvirt RimWorld.BillStack get_BillStack()
L_00b2: callvirt Void RemoveIncompletableBills()
L_00b7: ldarg.0
L_00b8: ldarg.1
L_00b9: ldloc.0
L_00ba: call Verse.AI.Job StartOrResumeBillJob(Verse.Pawn, IBillGiver)
L_00bf: Label11
L_00bf: Label12
L_00bf: Label13
L_00bf: stloc 5 (Verse.AI.Job)
L_00c1: ldloca 5 (Verse.AI.Job)
L_00c3: ldarg 1
L_00c9: ldarg 2
L_00cf: ldarg 3
L_00d5: call Void Postfix(Verse.AI.Job ByRef, Verse.Pawn, Verse.Thing, Boolean)
L_00da: ldloc 5 (Verse.AI.Job)
L_00dc: ret
DONE

### Patch RimWorld.Building_Bed, Void set_Medical(Boolean)


L_0000: ldarg.1
L_0001: ldarg.0
L_0002: ldfld System.Boolean medicalInt
L_0007: beq Label1
L_000c: ldarg.0
L_000d: ldfld Verse.ThingDef def
L_0012: ldfld RimWorld.BuildingProperties building
L_0017: ldfld System.Boolean bed_humanlike
L_001c: pop
L_001d: ldc.i4.1
L_001e: brtrue Label2
L_0023: Label1
L_0023: br Label4
L_0028: Label2
L_0028: ldarg.0
L_0029: call Void RemoveAllOwners()
L_002e: ldarg.0
L_002f: ldarg.1
L_0030: stfld System.Boolean medicalInt
L_0035: ldarg.0
L_0036: callvirt Void Notify_ColorChanged()
L_003b: ldarg.0
L_003c: call Boolean get_Spawned()
L_0041: brfalse Label3
L_0046: ldarg.0
L_0047: call Verse.Map get_Map()
L_004c: ldfld Verse.MapDrawer mapDrawer
L_0051: ldarg.0
L_0052: call IntVec3 get_Position()
L_0057: ldc.i4.1
L_0058: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_005d: ldarg.0
L_005e: call Void NotifyRoomBedTypeChanged()
L_0063: Label3
L_0063: ldarg.0
L_0064: call Void FacilityChanged()
L_0069: Label4
L_0069: ldarg.0
L_006a: ldarga 1
L_0070: call Void ChangeMedicalStatus(RimWorld.Building_Bed, Boolean ByRef)
L_0075: ret
DONE

### Patch Verse.DesignationCategoryDef, IEnumerable`1


get_ResolvedAllowedDesignators()
L_0000: Local var 0: Verse.DesignationCategoryDef+<>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Designator,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld Verse.DesignationCategoryDef $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, Verse.DesignationCategoryDef ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0027: ret
DONE

### Patch Verse.Dialog_RenameZone, Void SetName(System.String)


L_0000: ldarg.0
L_0001: ldfld Verse.Zone zone
L_0006: ldarg.0
L_0007: ldfld System.String curName
L_000c: stfld System.String label
L_0011: ldstr "ZoneGainsName"
L_0016: ldc.i4.1
L_0017: newarr System.Object
L_001c: dup
L_001d: ldc.i4.0
L_001e: ldarg.0
L_001f: ldfld System.String curName
L_0024: stelem.ref
L_0025: call System.String Translate(System.String, System.Object[])
L_002a: ldsfld Verse.MessageTypeDef TaskCompletion
L_002f: ldc.i4.0
L_0030: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0035: call Void Postfix()
L_003a: ret
DONE

### Patch Verse.DynamicDrawManager, Void DrawDynamicThings()


L_0000: Local var 0: System.Boolean[]
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: Verse.CellIndices
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Exception
L_0000: Local var 7: System.Exception
L_0000: ldarga 0
L_0006: call Boolean Prefix(Verse.DynamicDrawManager ByRef)
L_000b: brfalse Label0
L_0010: ldsfld System.Boolean drawThingsDynamic
L_0015: brtrue Label1
L_001a: br Label18
L_001f: Label1
L_001f: ldarg.0
L_0020: ldc.i4.1
L_0021: stfld System.Boolean drawingNow
.try
{
L_0026: ldarg.0
L_0027: ldfld Verse.Map map
L_002c: ldfld Verse.FogGrid fogGrid
L_0031: ldfld System.Boolean[] fogGrid
L_0036: stloc.0
L_0037: call Verse.CameraDriver get_CameraDriver()
L_003c: callvirt CellRect get_CurrentViewRect()
L_0041: stloc.1
L_0042: ldloca.s 1 (Verse.CellRect)
L_0044: ldarg.0
L_0045: ldfld Verse.Map map
L_004a: call CellRect ClipInsideMap(Verse.Map)
L_004f: pop
L_0050: ldloca.s 1 (Verse.CellRect)
L_0052: ldc.i4.1
L_0053: call CellRect ExpandedBy(Int32)
L_0058: stloc.1
L_0059: ldarg.0
L_005a: ldfld Verse.Map map
L_005f: ldfld Verse.CellIndices cellIndices
L_0064: stloc.3
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.HashSet`1[Verse.Thing] drawThings
L_006b: callvirt Enumerator GetEnumerator()
L_0070: stloc.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
.try
{
L_0072: br Label2
L_0077: Label14
L_0077: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0079: call Verse.Thing get_Current()
L_007e: stloc.s 4 (Verse.Thing)
L_0080: ldloc.s 4 (Verse.Thing)
L_0082: callvirt IntVec3 get_Position()
L_0087: stloc.2
L_0088: ldloca.s 1 (Verse.CellRect)
L_008a: ldloc.2
L_008b: call Boolean Contains(IntVec3)
L_0090: brtrue Label3
L_0095: ldloc.s 4 (Verse.Thing)
L_0097: ldfld Verse.ThingDef def
L_009c: ldfld System.Boolean drawOffscreen
L_00a1: brtrue Label4
L_00a6: leave Label5
L_00ab: Label3
L_00ab: Label4
L_00ab: ldloc.0
L_00ac: ldloc.3
L_00ad: ldloc.2
L_00ae: callvirt Int32 CellToIndex(IntVec3)
L_00b3: ldelem.u1
L_00b4: brfalse Label6
L_00b9: ldloc.s 4 (Verse.Thing)
L_00bb: ldfld Verse.ThingDef def
L_00c0: ldfld System.Boolean seeThroughFog
L_00c5: brtrue Label7
L_00ca: leave Label8
L_00cf: Label6
L_00cf: Label7
L_00cf: ldloc.s 4 (Verse.Thing)
L_00d1: ldfld Verse.ThingDef def
L_00d6: ldfld System.Single hideAtSnowDepth
L_00db: ldc.r4 1
L_00e0: bge.un Label9
L_00e5: ldarg.0
L_00e6: ldfld Verse.Map map
L_00eb: ldfld Verse.SnowGrid snowGrid
L_00f0: ldloc.s 4 (Verse.Thing)
L_00f2: callvirt IntVec3 get_Position()
L_00f7: callvirt Single GetDepth(IntVec3)
L_00fc: ldloc.s 4 (Verse.Thing)
L_00fe: ldfld Verse.ThingDef def
L_0103: ldfld System.Single hideAtSnowDepth
L_0108: ble.un Label10
L_010d: leave Label11
L_0112: Label9
L_0112: Label10
.try
{
L_0112: ldloc.s 4 (Verse.Thing)
L_0114: callvirt Void Draw()
L_0119: leave Label12
L_011e: leave (autogenerated)
} // end try
.catch System.Exception
{
L_0123: stloc.s 6 (System.Exception)
L_0125: ldc.i4.4
L_0126: newarr System.Object
L_012b: dup
L_012c: ldc.i4.0
L_012d: ldstr "Exception drawing "
L_0132: stelem.ref
L_0133: dup
L_0134: ldc.i4.1
L_0135: ldloc.s 4 (Verse.Thing)
L_0137: stelem.ref
L_0138: dup
L_0139: ldc.i4.2
L_013a: ldstr ": "
L_013f: stelem.ref
L_0140: dup
L_0141: ldc.i4.3
L_0142: ldloc.s 6 (System.Exception)
L_0144: callvirt System.String ToString()
L_0149: stelem.ref
L_014a: call System.String Concat(System.Object[])
L_014f: ldc.i4.0
L_0150: call Void Error(System.String, Boolean)
L_0155: leave Label13
L_015a: leave (autogenerated)
} // end handler
L_015f: Label2
L_015f: Label5
L_015f: Label8
L_015f: Label11
L_015f: Label12
L_015f: Label13
L_015f: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0161: call Boolean MoveNext()
L_0166: brtrue Label14
L_016b: leave Label15
L_0170: leave (autogenerated)
} // end try
.finally
{
L_0175: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0177: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing]
L_017d: callvirt Void Dispose()
L_0182: endfinally
L_0183: leave (autogenerated)
} // end handler
L_0184: Label15
L_0184: leave Label16
L_0189: leave (autogenerated)
} // end try
.catch System.Exception
{
L_018e: stloc.s 7 (System.Exception)
L_0190: ldstr "Exception drawing dynamic things: "
L_0195: ldloc.s 7 (System.Exception)
L_0197: call System.String Concat(System.Object, System.Object)
L_019c: ldc.i4.0
L_019d: call Void Error(System.String, Boolean)
L_01a2: leave Label17
L_01a7: leave (autogenerated)
} // end handler
L_01ac: Label16
L_01ac: Label17
L_01ac: ldarg.0
L_01ad: ldc.i4.0
L_01ae: stfld System.Boolean drawingNow
L_01b3: Label18
L_01b3: Label0
L_01b3: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterActivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brtrue Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Void Add(RimWorld.CompGatherSpot)
L_001d: Label1
L_001d: ldarga 1
L_0023: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0028: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterDeactivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Boolean Remove(RimWorld.CompGatherSpot)
L_001d: pop
L_001e: Label1
L_001e: ldarga 1
L_0024: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0029: ret
DONE

### Patch Verse.ListerBuildings, Void Add(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.BuildingProperties building
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldfld Verse.ThingDef def
L_0016: ldfld RimWorld.BuildingProperties building
L_001b: ldfld System.Boolean isNaturalRock
L_0020: brfalse Label2
L_0025: br Label7
L_002a: Label1
L_002a: Label2
L_002a: ldarg.1
L_002b: callvirt RimWorld.Faction get_Faction()
L_0030: call RimWorld.Faction get_OfPlayer()
L_0035: bne.un Label3
L_003a: ldarg.0
L_003b: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0040: ldarg.1
L_0041: callvirt Void Add(Verse.Building)
L_0046: ldarg.1
L_0047: isinst Verse.AI.IAttackTarget
L_004c: brfalse Label4
L_0051: ldarg.0
L_0052: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_0057: ldarg.1
L_0058: callvirt Boolean Add(Verse.Building)
L_005d: pop
L_005e: Label3
L_005e: Label4
L_005e: ldarg.1
L_005f: ldfld Verse.ThingDef def
L_0064: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0069: stloc.0
L_006a: ldloc.0
L_006b: brfalse Label5
L_0070: ldloc.0
L_0071: ldfld System.Boolean shortCircuitInRain
L_0076: brfalse Label6
L_007b: ldarg.0
L_007c: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0081: ldarg.1
L_0082: callvirt Boolean Add(Verse.Building)
L_0087: pop
L_0088: Label5
L_0088: Label6
L_0088: Label7
L_0088: ldarga 1
L_008e: call Void Postfix(Verse.Building ByRef)
L_0093: ret
DONE

### Patch Verse.ListerBuildings, Void Remove(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Building)
L_000c: pop
L_000d: ldarg.1
L_000e: isinst Verse.AI.IAttackTarget
L_0013: brfalse Label1
L_0018: ldarg.0
L_0019: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_001e: ldarg.1
L_001f: callvirt Boolean Remove(Verse.Building)
L_0024: pop
L_0025: Label1
L_0025: ldarg.1
L_0026: ldfld Verse.ThingDef def
L_002b: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0030: stloc.0
L_0031: ldloc.0
L_0032: brfalse Label2
L_0037: ldloc.0
L_0038: ldfld System.Boolean shortCircuitInRain
L_003d: brfalse Label3
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0048: ldarg.1
L_0049: callvirt Boolean Remove(Verse.Building)
L_004e: pop
L_004f: Label2
L_004f: Label3
L_004f: ldarga 1
L_0055: call Void Postfix(Verse.Building ByRef)
L_005a: ret
DONE

### Patch Verse.Room, Verse.Room MakeNew(Verse.Map)


L_0000: Local var 0: Verse.Room
L_0000: Local var 1: Verse.Room
L_0000: ldnull
L_0001: stloc 1 (Verse.Room)
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: callvirt Int32 get_Index()
L_000f: conv.i1
L_0010: stfld System.SByte mapIndex
L_0015: ldloc.0
L_0016: ldsfld System.Int32 nextRoomID
L_001b: stfld System.Int32 ID
L_0020: ldsfld System.Int32 nextRoomID
L_0025: ldc.i4.1
L_0026: add
L_0027: stsfld System.Int32 nextRoomID
L_002c: ldloc.0
L_002d: stloc 1 (Verse.Room)
L_002e: ldloca 1 (Verse.Room)
L_0030: call Void Postfix(Verse.Room ByRef)
L_0035: ldloc 1 (Verse.Room)
L_0036: ret
DONE

### Patch Verse.Room, Void Notify_BedTypeChanged()


L_0000: ldarg.0
L_0001: ldc.i4.1
L_0002: stfld System.Boolean statsAndRoleDirty
L_0007: ldarga 0
L_000d: call Void Postfix(Verse.Room ByRef)
L_0012: ret
DONE
### Patch Verse.Room, Void Notify_RoomShapeOrContainedBedsChanged()
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Bed
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: RimWorld.Building_Bed
L_0000: Local var 6:
System.Collections.Generic.IEnumerator`1[[RimWorld.Building_Bed, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldc.i4.m1
L_0002: stfld System.Int32 cachedCellCount
L_0007: ldarg.0
L_0008: ldc.i4.m1
L_0009: stfld System.Int32 cachedOpenRoofCount
L_000e: ldarg.0
L_000f: ldnull
L_0010: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_0015: call ProgramState get_ProgramState()
L_001a: ldc.i4.2
L_001b: bne.un Label1
L_0020: ldarg.0
L_0021: call Boolean get_Fogged()
L_0026: brtrue Label2
L_002b: ldarg.0
L_002c: call Verse.Map get_Map()
L_0031: ldfld Verse.AutoBuildRoofAreaSetter autoBuildRoofAreaSetter
L_0036: ldarg.0
L_0037: callvirt Void TryGenerateAreaFor(Verse.Room)
L_003c: Label1
L_003c: Label2
L_003c: ldarg.0
L_003d: ldc.i4.0
L_003e: stfld System.Boolean isPrisonCell
L_0043: ldarg.0
L_0044: call Boolean RoomCanBePrisonCell(Verse.Room)
L_0049: brfalse Label3
L_004e: ldarg.0
L_004f: call System.Collections.Generic.List`1[Verse.Thing]
get_ContainedAndAdjacentThings()
L_0054: stloc.0
L_0055: ldc.i4.0
L_0056: stloc.1
L_0057: br Label4
L_005c: Label8
L_005c: ldloc.0
L_005d: ldloc.1
L_005e: callvirt Verse.Thing get_Item(Int32)
L_0063: isinst RimWorld.Building_Bed
L_0068: stloc.2
L_0069: ldloc.2
L_006a: brfalse Label5
L_006f: ldloc.2
L_0070: callvirt Boolean get_ForPrisoners()
L_0075: brfalse Label6
L_007a: ldarg.0
L_007b: ldc.i4.1
L_007c: stfld System.Boolean isPrisonCell
L_0081: br Label7
L_0086: Label5
L_0086: Label6
L_0086: ldloc.1
L_0087: ldc.i4.1
L_0088: add
L_0089: stloc.1
L_008a: Label4
L_008a: ldloc.1
L_008b: ldloc.0
L_008c: callvirt Int32 get_Count()
L_0091: blt Label8
L_0096: Label3
L_0096: Label7
L_0096: ldarg.0
L_0097: call Verse.Map get_Map()
L_009c: ldfld Verse.ListerThings listerThings
L_00a1: ldsfld Verse.ThingDef NutrientPasteDispenser
L_00a6: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsOfDef(Verse.ThingDef)
L_00ab: stloc.3
L_00ac: ldc.i4.0
L_00ad: stloc.s 4 (System.Int32)
L_00af: br Label9
L_00b4: Label10
L_00b4: ldloc.3
L_00b5: ldloc.s 4 (System.Int32)
L_00b7: callvirt Verse.Thing get_Item(Int32)
L_00bc: callvirt Void Notify_ColorChanged()
L_00c1: ldloc.s 4 (System.Int32)
L_00c3: ldc.i4.1
L_00c4: add
L_00c5: stloc.s 4 (System.Int32)
L_00c7: Label9
L_00c7: ldloc.s 4 (System.Int32)
L_00c9: ldloc.3
L_00ca: callvirt Int32 get_Count()
L_00cf: blt Label10
L_00d4: call ProgramState get_ProgramState()
L_00d9: ldc.i4.2
L_00da: bne.un Label11
L_00df: ldarg.0
L_00e0: ldfld System.Boolean isPrisonCell
L_00e5: brfalse Label12
L_00ea: ldarg.0
L_00eb: call IEnumerable`1 get_ContainedBeds()
L_00f0: callvirt IEnumerator`1 GetEnumerator()
L_00f5: stloc.s 6 (System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
.try
{
L_00f7: br Label13
L_00fc: Label14
L_00fc: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_00fe: callvirt RimWorld.Building_Bed get_Current()
L_0103: stloc.s 5 (RimWorld.Building_Bed)
L_0105: ldloc.s 5 (RimWorld.Building_Bed)
L_0107: ldc.i4.1
L_0108: callvirt Void set_ForPrisoners(Boolean)
L_010d: Label13
L_010d: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_010f: callvirt Boolean MoveNext()
L_0114: brtrue Label14
L_0119: leave Label15
L_011e: leave (autogenerated)
} // end try
.finally
{
L_0123: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_0125: brfalse Label16
L_012a: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_012c: callvirt Void Dispose()
L_0131: Label16
L_0131: endfinally
L_0132: leave (autogenerated)
} // end handler
L_0133: Label11
L_0133: Label12
L_0133: Label15
L_0133: ldarg.0
L_0134: call Verse.TickManager get_TickManager()
L_0139: callvirt Int32 get_TicksGame()
L_013e: stfld System.Int32 lastChangeTick
L_0143: ldarg.0
L_0144: ldc.i4.1
L_0145: stfld System.Boolean statsAndRoleDirty
L_014a: ldarg.0
L_014b: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0150: call Void
NotifyFacilitiesAboutChangedLOSBlockers(System.Collections.Generic.List`1[Verse.Reg
ion])
L_0155: ldarga 0
L_015b: call Void Postfix(Verse.Room ByRef)
L_0160: ret
DONE

### Patch Verse.Room, Void RemoveRegion(Verse.Region)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(Verse.Region)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Tried to remove region from Room but this region is not here.
region="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: stelem.ref
L_0023: dup
L_0024: ldc.i4.2
L_0025: ldstr ", room="
L_002a: stelem.ref
L_002b: dup
L_002c: ldc.i4.3
L_002d: ldarg.0
L_002e: stelem.ref
L_002f: call System.String Concat(System.Object[])
L_0034: ldc.i4.0
L_0035: call Void Error(System.String, Boolean)
L_003a: br Label4
L_003f: Label1
L_003f: ldarg.0
L_0040: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0045: ldarg.1
L_0046: callvirt Boolean Remove(Verse.Region)
L_004b: pop
L_004c: ldarg.1
L_004d: ldfld System.Boolean touchesMapEdge
L_0052: brfalse Label2
L_0057: ldarg.0
L_0058: dup
L_0059: ldfld System.Int32 numRegionsTouchingMapEdge
L_005e: ldc.i4.1
L_005f: sub
L_0060: stfld System.Int32 numRegionsTouchingMapEdge
L_0065: Label2
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_006b: callvirt Int32 get_Count()
L_0070: brtrue Label3
L_0075: ldarg.0
L_0076: ldnull
L_0077: call Void set_Group(Verse.RoomGroup)
L_007c: ldarg.0
L_007d: ldc.i4.m1
L_007e: stfld System.Int32 cachedOpenRoofCount
L_0083: ldarg.0
L_0084: ldnull
L_0085: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_008a: ldarg.0
L_008b: ldc.i4.1
L_008c: stfld System.Boolean statsAndRoleDirty
L_0091: ldarg.0
L_0092: call Verse.Map get_Map()
L_0097: ldfld Verse.RegionGrid regionGrid
L_009c: ldfld System.Collections.Generic.List`1[Verse.Room] allRooms
L_00a1: ldarg.0
L_00a2: callvirt Boolean Remove(Verse.Room)
L_00a7: pop
L_00a8: Label3
L_00a8: Label4
L_00a8: ldarga 0
L_00ae: call Void Postfix(Verse.Room ByRef)
L_00b3: ret
DONE

### Patch Verse.ZoneManager, Void DeregisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Zone)
L_000c: pop
L_000d: ldarg.1
L_000e: callvirt Void PostDeregister()
L_0013: ldarga 1
L_0019: call Void Postfix(Verse.Zone ByRef)
L_001e: ret
DONE

### Patch Verse.ZoneManager, Void RegisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Void Add(Verse.Zone)
L_000c: ldarg.1
L_000d: callvirt Void PostRegister()
L_0012: ldarga 1
L_0018: call Void Postfix(Verse.Zone ByRef)
L_001d: ret
DONE

### Patch RimWorld.Zone_Growing, Void SetPlantDefToGrow(Verse.ThingDef)


L_0000: ldarg.0
L_0001: ldarg.1
L_0002: stfld Verse.ThingDef plantDefToGrow
L_0007: ldarga 0
L_000d: call Void Postfix(RimWorld.Zone_Growing ByRef)
L_0012: ret
DONE

### Patch Verse.Zone, Void RemoveCell(IntVec3)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Cannot remove cell from zone which doesn't have it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label3
L_0044: Label1
L_0044: ldarg.0
L_0045: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_004a: ldarg.1
L_004b: callvirt Boolean Remove(IntVec3)
L_0050: pop
L_0051: ldarg.0
L_0052: ldfld Verse.ZoneManager zoneManager
L_0057: ldarg.1
L_0058: callvirt Void ClearZoneGridCell(IntVec3)
L_005d: ldarg.0
L_005e: call Verse.Map get_Map()
L_0063: ldfld Verse.MapDrawer mapDrawer
L_0068: ldarg.1
L_0069: ldc.i4 128
L_006e: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_0073: ldarg.0
L_0074: ldc.i4.0
L_0075: stfld System.Boolean cellsShuffled
L_007a: ldarg.0
L_007b: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0080: callvirt Int32 get_Count()
L_0085: brtrue Label2
L_008a: ldarg.0
L_008b: call Void Deregister()
L_0090: Label2
L_0090: Label3
L_0090: ldarga 0
L_0096: call Void Postfix(Verse.Zone ByRef)
L_009b: ret
DONE

### Patch Verse.Zone, Void AddCell(IntVec3)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Thing
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brfalse Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Adding cell to zone which already has it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label5
L_0044: Label1
L_0044: ldarg.0
L_0045: call Verse.Map get_Map()
L_004a: ldfld Verse.ThingGrid thingGrid
L_004f: ldarg.1
L_0050: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsListAt(IntVec3)
L_0055: stloc.0
L_0056: ldc.i4.0
L_0057: stloc.1
L_0058: br Label2
L_005d: Label4
L_005d: ldloc.0
L_005e: ldloc.1
L_005f: callvirt Verse.Thing get_Item(Int32)
L_0064: stloc.2
L_0065: ldloc.2
L_0066: ldfld Verse.ThingDef def
L_006b: callvirt Boolean get_CanOverlapZones()
L_0070: brtrue Label3
L_0075: ldstr "Added zone over zone-incompatible thing "
L_007a: ldloc.2
L_007b: call System.String Concat(System.Object, System.Object)
L_0080: ldc.i4.0
L_0081: call Void Error(System.String, Boolean)
L_0086: br Label6
L_008b: Label3
L_008b: ldloc.1
L_008c: ldc.i4.1
L_008d: add
L_008e: stloc.1
L_008f: Label2
L_008f: ldloc.1
L_0090: ldloc.0
L_0091: callvirt Int32 get_Count()
L_0096: blt Label4
L_009b: ldarg.0
L_009c: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_00a1: ldarg.1
L_00a2: callvirt Void Add(IntVec3)
L_00a7: ldarg.0
L_00a8: ldfld Verse.ZoneManager zoneManager
L_00ad: ldarg.0
L_00ae: ldarg.1
L_00af: callvirt Void AddZoneGridCell(Verse.Zone, IntVec3)
L_00b4: ldarg.0
L_00b5: call Verse.Map get_Map()
L_00ba: ldfld Verse.MapDrawer mapDrawer
L_00bf: ldarg.1
L_00c0: ldc.i4 128
L_00c5: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_00ca: ldarg.1
L_00cb: ldarg.0
L_00cc: call Void Notify_ZoneCellAdded(IntVec3, Verse.Zone)
L_00d1: ldarg.0
L_00d2: ldc.i4.0
L_00d3: stfld System.Boolean cellsShuffled
L_00d8: Label5
L_00d8: Label6
L_00d8: ldarga 0
L_00de: call Void Postfix(Verse.Zone ByRef)
L_00e3: ret
DONE

### Patch Verse.AI.AttackTargetFinder, IAttackTarget


BestAttackTarget(IAttackTargetSearcher, TargetScanFlags,
System.Predicate`1[Verse.Thing], Single, Single, IntVec3, Single, Boolean, Boolean)
L_0000: Local var 0: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey1
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.AI.IAttackTarget
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: Verse.AI.IAttackTarget
L_0000: Local var 8: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2
L_0000: Local var 10: Verse.AI.IAttackTarget
L_0000: Local var 11: Verse.IntVec3
L_0000: Local var 12: Verse.Map
L_0000: Local var 13: Verse.ThingRequest
L_0000: Local var 14: Verse.AI.PathEndMode
L_0000: Local var 15: Verse.Pawn
L_0000: Local var 16: Verse.Danger
L_0000: Local var 17: System.Boolean
L_0000: Local var 18: Verse.TraverseParms
L_0000: Local var 19: System.Single
L_0000: Local var 20: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 21: System.Int32
L_0000: Local var 22: Verse.AI.IAttackTarget
L_0000: Local var 23: System.Single
L_0000: Local var 24: System.Single
L_0000: Local var 25: Verse.IntVec3
L_0000: Local var 26: Verse.AI.IAttackTarget
L_0000: ldnull
L_0001: stloc 26 (Verse.AI.IAttackTarget)
L_0003: ldarg 0
L_0009: ldarga 2
L_000f: call Boolean Prefix(IAttackTargetSearcher, System.Predicate`1[Verse.Thing]
ByRef)
L_0014: brfalse Label0
L_0019: newobj Void .ctor()
L_001e: stloc.0
L_001f: ldloc.0
L_0020: ldarg.0
L_0021: stfld Verse.AI.IAttackTargetSearcher searcher
L_0026: ldloc.0
L_0027: ldarg.s 8
L_0029: stfld System.Boolean canTakeTargetsCloserThanEffectiveMinRange
L_002e: ldloc.0
L_002f: ldarg.s 6
L_0031: stfld System.Single maxTravelRadiusFromLocus
L_0036: ldloc.0
L_0037: ldarg.s 5
L_0039: stfld Verse.IntVec3 locus
L_003e: ldloc.0
L_003f: ldarg.2
L_0040: stfld System.Predicate`1[Verse.Thing] validator
L_0045: ldloc.0
L_0046: ldarg.1
L_0047: stfld Verse.AI.TargetScanFlags flags
L_004c: ldloc.0
L_004d: ldarg.s 7
L_004f: stfld System.Boolean canBash
L_0054: ldloc.0
L_0055: ldarg.s 4
L_0057: stfld System.Single maxDist
L_005c: ldloc.0
L_005d: ldloc.0
L_005e: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0063: callvirt Verse.Thing get_Thing()
L_0068: stfld Verse.Thing searcherThing
L_006d: ldloc.0
L_006e: ldloc.0
L_006f: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0074: isinst Verse.Pawn
L_0079: stfld Verse.Pawn searcherPawn
L_007e: ldloc.0
L_007f: ldloc.0
L_0080: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0085: callvirt Verse.Verb get_CurrentEffectiveVerb()
L_008a: stfld Verse.Verb verb
L_008f: ldloc.0
L_0090: ldfld Verse.Verb verb
L_0095: brtrue Label1
L_009a: ldstr "BestAttackTarget with "
L_009f: ldloc.0
L_00a0: ldfld Verse.AI.IAttackTargetSearcher searcher
L_00a5: call System.String ToStringSafe[IAttackTargetSearcher]
(IAttackTargetSearcher)
L_00aa: ldstr " who has no attack verb."
L_00af: call System.String Concat(System.String, System.String, System.String)
L_00b4: ldc.i4.0
L_00b5: call Void Error(System.String, Boolean)
L_00ba: ldnull
L_00bb: br Label26
L_00c0: Label1
L_00c0: ldloc.0
L_00c1: ldloc.0
L_00c2: ldfld Verse.Verb verb
L_00c7: call Boolean IsEMP(Verse.Verb)
L_00cc: stfld System.Boolean onlyTargetMachines
L_00d1: ldloc.0
L_00d2: ldarg.3
L_00d3: ldarg.3
L_00d4: mul
L_00d5: stfld System.Single minDistSquared
L_00da: ldloc.0
L_00db: ldfld System.Single maxTravelRadiusFromLocus
L_00e0: ldloc.0
L_00e1: ldfld Verse.Verb verb
L_00e6: ldfld Verse.VerbProperties verbProps
L_00eb: ldfld System.Single range
L_00f0: add
L_00f1: stloc.1
L_00f2: ldloc.0
L_00f3: ldloc.1
L_00f4: ldloc.1
L_00f5: mul
L_00f6: stfld System.Single maxLocusDistSquared
L_00fb: ldloc.0
L_00fc: ldnull
L_00fd: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0102: ldloc.0
L_0103: ldfld Verse.AI.TargetScanFlags flags
L_0108: ldc.i4.s 64
L_010a: and
L_010b: conv.u1
L_010c: brfalse Label2
L_0111: ldloc.0
L_0112: ldloc.0
L_0113: ldftn Boolean <>m__0(IntVec3)
L_0119: newobj Void .ctor(Object, IntPtr)
L_011e: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0123: Label2
L_0123: ldloc.0
L_0124: ldloc.0
L_0125: ldftn Boolean <>m__1(IAttackTarget)
L_012b: newobj Void .ctor(Object, IntPtr)
L_0130: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0135: ldloc.0
L_0136: ldfld Verse.AI.IAttackTargetSearcher searcher
L_013b: call Boolean HasRangedAttack(IAttackTargetSearcher)
L_0140: brfalse Label3
L_0145: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_014a: callvirt Void Clear()
L_014f: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0154: ldloc.0
L_0155: ldfld Verse.Thing searcherThing
L_015a: callvirt Verse.Map get_Map()
L_015f: ldfld Verse.AI.AttackTargetsCache attackTargetsCache
L_0164: ldloc.0
L_0165: ldfld Verse.AI.IAttackTargetSearcher searcher
L_016a: callvirt System.Collections.Generic.List`1[Verse.AI.IAttackTarget]
GetPotentialTargetsFor(IAttackTargetSearcher)
L_016f: callvirt Void AddRange(IEnumerable`1)
L_0174: ldloc.0
L_0175: ldfld Verse.AI.TargetScanFlags flags
L_017a: ldc.i4.4
L_017b: and
L_017c: conv.u1
L_017d: brfalse Label4
L_0182: newobj Void .ctor()
L_0187: stloc.2
L_0188: ldloc.2
L_0189: ldloc.0
L_018a: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_018f: ldloc.2
L_0190: ldloc.0
L_0191: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0196: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_019b: ldloc.0
L_019c: ldloc.2
L_019d: ldftn Boolean <>m__0(IAttackTarget)
L_01a3: newobj Void .ctor(Object, IntPtr)
L_01a8: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01ad: Label4
L_01ad: ldc.i4.0
L_01ae: stloc.3
L_01af: ldc.i4.0
L_01b0: stloc.s 4 (System.Int32)
L_01b2: br Label5
L_01b7: Label10
L_01b7: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_01bc: ldloc.s 4 (System.Int32)
L_01be: callvirt IAttackTarget get_Item(Int32)
L_01c3: stloc.s 5 (Verse.AI.IAttackTarget)
L_01c5: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01c7: callvirt Verse.Thing get_Thing()
L_01cc: callvirt IntVec3 get_Position()
L_01d1: stloc.s 6 (Verse.IntVec3)
L_01d3: ldloca.s 6 (Verse.IntVec3)
L_01d5: ldloc.0
L_01d6: ldfld Verse.Thing searcherThing
L_01db: callvirt IntVec3 get_Position()
L_01e0: ldloc.0
L_01e1: ldfld System.Single maxDist
L_01e6: call Boolean InHorDistOf(IntVec3, Single)
L_01eb: brfalse Label6
L_01f0: ldloc.0
L_01f1: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01f6: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01f8: callvirt Boolean Invoke(IAttackTarget)
L_01fd: brfalse Label7
L_0202: ldloc.s 5 (Verse.AI.IAttackTarget)
L_0204: ldloc.0
L_0205: ldfld Verse.AI.IAttackTargetSearcher searcher
L_020a: ldloc.0
L_020b: ldfld Verse.Verb verb
L_0210: call Boolean CanShootAtFromCurrentPosition(IAttackTarget,
IAttackTargetSearcher, Verse.Verb)
L_0215: brfalse Label8
L_021a: ldc.i4.1
L_021b: stloc.3
L_021c: br Label9
L_0221: Label6
L_0221: Label7
L_0221: Label8
L_0221: ldloc.s 4 (System.Int32)
L_0223: ldc.i4.1
L_0224: add
L_0225: stloc.s 4 (System.Int32)
L_0227: Label5
L_0227: ldloc.s 4 (System.Int32)
L_0229: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_022e: callvirt Int32 get_Count()
L_0233: blt Label10
L_0238: Label9
L_0238: ldloc.3
L_0239: brfalse Label11
L_023e: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0243: ldloc.0
L_0244: ldftn Boolean <>m__2(IAttackTarget)
L_024a: newobj Void .ctor(Object, IntPtr)
L_024f: callvirt Int32 RemoveAll(System.Predicate`1[Verse.AI.IAttackTarget])
L_0254: pop
L_0255: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_025a: ldloc.0
L_025b: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0260: ldloc.0
L_0261: ldfld Verse.Verb verb
L_0266: call IAttackTarget
GetRandomShootingTargetByScore(System.Collections.Generic.List`1[Verse.AI.IAttackTa
rget], IAttackTargetSearcher, Verse.Verb)
L_026b: stloc.s 7 (Verse.AI.IAttackTarget)
L_026d: br Label12
L_0272: Label11
L_0272: ldloc.0
L_0273: ldfld Verse.AI.TargetScanFlags flags
L_0278: ldc.i4.8
L_0279: and
L_027a: conv.u1
L_027b: brfalse Label13
L_0280: ldloc.0
L_0281: ldfld Verse.AI.TargetScanFlags flags
L_0286: ldc.i4.4
L_0287: and
L_0288: conv.u1
L_0289: brtrue Label14
L_028e: ldloc.0
L_028f: ldftn Boolean <>m__3(Verse.Thing)
L_0295: newobj Void .ctor(Object, IntPtr)
L_029a: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_029c: br Label15
L_02a1: Label13
L_02a1: Label14
L_02a1: ldloc.0
L_02a2: ldftn Boolean <>m__4(Verse.Thing)
L_02a8: newobj Void .ctor(Object, IntPtr)
L_02ad: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_02af: Label15
L_02af: ldloc.0
L_02b0: ldfld Verse.Thing searcherThing
L_02b5: callvirt IntVec3 get_Position()
L_02ba: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02bf: ldloc.0
L_02c0: ldfld System.Single maxDist
L_02c5: ldloc.s 8 (System.Predicate`1[Verse.Thing])
L_02c7: ldnull
L_02c8: call Verse.Thing ClosestThing_Global(IntVec3, IEnumerable, Single,
System.Predicate`1[Verse.Thing], System.Func`2[Verse.Thing,System.Single])
L_02cd: castclass Verse.AI.IAttackTarget
L_02d2: stloc.s 7 (Verse.AI.IAttackTarget)
L_02d4: Label12
L_02d4: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02d9: callvirt Void Clear()
L_02de: ldloc.s 7 (Verse.AI.IAttackTarget)
L_02e0: br Label27
L_02e5: Label3
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn searcherPawn
L_02eb: brfalse Label16
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn searcherPawn
L_02f6: ldfld Verse.AI.Pawn_MindState mindState
L_02fb: ldfld Verse.AI.PawnDuty duty
L_0300: brfalse Label17
L_0305: ldloc.0
L_0306: ldfld Verse.Pawn searcherPawn
L_030b: ldfld Verse.AI.Pawn_MindState mindState
L_0310: ldfld Verse.AI.PawnDuty duty
L_0315: ldfld System.Single radius
L_031a: ldc.r4 0
L_031f: ble.un Label18
L_0324: ldloc.0
L_0325: ldfld Verse.Pawn searcherPawn
L_032a: callvirt Boolean get_InMentalState()
L_032f: brtrue Label19
L_0334: newobj Void .ctor()
L_0339: stloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033b: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033d: ldloc.0
L_033e: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_0343: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0345: ldloc.0
L_0346: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_034b: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_0350: ldloc.0
L_0351: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0353: ldftn Boolean <>m__0(IAttackTarget)
L_0359: newobj Void .ctor(Object, IntPtr)
L_035e: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0363: Label16
L_0363: Label17
L_0363: Label18
L_0363: Label19
L_0363: ldloc.0
L_0364: ldfld Verse.Thing searcherThing
L_0369: callvirt IntVec3 get_Position()
L_036e: stloc.s 11 (Verse.IntVec3)
L_0370: ldloc.0
L_0371: ldfld Verse.Thing searcherThing
L_0376: callvirt Verse.Map get_Map()
L_037b: stloc.s 12 (Verse.Map)
L_037d: ldc.i4.s 15
L_037f: call ThingRequest ForGroup(ThingRequestGroup)
L_0384: stloc.s 13 (Verse.ThingRequest)
L_0386: ldc.i4.2
L_0387: stloc.s 14 (Verse.AI.PathEndMode)
L_0389: ldloc.0
L_038a: ldfld Verse.Pawn searcherPawn
L_038f: stloc.s 15 (Verse.Pawn)
L_0391: ldc.i4.3
L_0392: stloc.s 16 (Verse.Danger)
L_0394: ldloc.0
L_0395: ldfld System.Boolean canBash
L_039a: stloc.s 17 (System.Boolean)
L_039c: ldloc.s 15 (Verse.Pawn)
L_039e: ldloc.s 16 (Verse.Danger)
L_03a0: ldc.i4.0
L_03a1: ldloc.s 17 (System.Boolean)
L_03a3: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_03a8: stloc.s 18 (Verse.TraverseParms)
L_03aa: ldloc.0
L_03ab: ldfld System.Single maxDist
L_03b0: stloc.s 19 (System.Single)
L_03b2: ldloc.0
L_03b3: ldftn Boolean <>m__5(Verse.Thing)
L_03b9: newobj Void .ctor(Object, IntPtr)
L_03be: stloc.s 20 (System.Predicate`1[Verse.Thing])
L_03c0: ldloc.0
L_03c1: ldfld System.Single maxDist
L_03c6: ldc.r4 800
L_03cb: ble.un Label20
L_03d0: ldc.i4.m1
L_03d1: br Label21
L_03d6: Label20
L_03d6: ldc.i4.s 40
L_03d8: Label21
L_03d8: stloc.s 21 (System.Int32)
L_03da: ldloc.s 11 (Verse.IntVec3)
L_03dc: ldloc.s 12 (Verse.Map)
L_03de: ldloc.s 13 (Verse.ThingRequest)
L_03e0: ldloc.s 14 (Verse.AI.PathEndMode)
L_03e2: ldloc.s 18 (Verse.TraverseParms)
L_03e4: ldloc.s 19 (System.Single)
L_03e6: ldloc.s 20 (System.Predicate`1[Verse.Thing])
L_03e8: ldnull
L_03e9: ldc.i4.0
L_03ea: ldloc.s 21 (System.Int32)
L_03ec: ldc.i4.0
L_03ed: ldc.i4.6
L_03ee: ldc.i4.0
L_03ef: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_03f4: castclass Verse.AI.IAttackTarget
L_03f9: stloc.s 10 (Verse.AI.IAttackTarget)
L_03fb: ldloc.s 10 (Verse.AI.IAttackTarget)
L_03fd: brfalse Label22
L_0402: ldloc.0
L_0403: ldfld Verse.Pawn searcherPawn
L_0408: call Boolean ShouldCollideWithPawns(Verse.Pawn)
L_040d: brfalse Label23
L_0412: ldloc.0
L_0413: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0418: ldloc.0
L_0419: ldfld Verse.Pawn searcherPawn
L_041e: ldloc.0
L_041f: ldfld System.Single maxDist
L_0424: ldloc.0
L_0425: ldfld System.Boolean canBash
L_042a: call IAttackTarget
FindBestReachableMeleeTarget(System.Predicate`1[Verse.AI.IAttackTarget],
Verse.Pawn, Single, Boolean)
L_042f: stloc.s 22 (Verse.AI.IAttackTarget)
L_0431: ldloc.s 22 (Verse.AI.IAttackTarget)
L_0433: brfalse Label24
L_0438: ldloc.0
L_0439: ldfld Verse.Pawn searcherPawn
L_043e: callvirt IntVec3 get_Position()
L_0443: ldloc.s 10 (Verse.AI.IAttackTarget)
L_0445: callvirt Verse.Thing get_Thing()
L_044a: callvirt IntVec3 get_Position()
L_044f: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_0454: stloc.s 11 (Verse.IntVec3)
L_0456: ldloca.s 11 (Verse.IntVec3)
L_0458: call Single get_LengthHorizontal()
L_045d: stloc.s 23 (System.Single)
L_045f: ldloc.0
L_0460: ldfld Verse.Pawn searcherPawn
L_0465: callvirt IntVec3 get_Position()
L_046a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_046c: callvirt Verse.Thing get_Thing()
L_0471: callvirt IntVec3 get_Position()
L_0476: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_047b: stloc.s 25 (Verse.IntVec3)
L_047d: ldloca.s 25 (Verse.IntVec3)
L_047f: call Single get_LengthHorizontal()
L_0484: stloc.s 24 (System.Single)
L_0486: ldloc.s 23 (System.Single)
L_0488: ldloc.s 24 (System.Single)
L_048a: sub
L_048b: call Single Abs(Single)
L_0490: ldc.r4 50
L_0495: bge.un Label25
L_049a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_049c: stloc.s 10 (Verse.AI.IAttackTarget)
L_049e: Label22
L_049e: Label23
L_049e: Label24
L_049e: Label25
L_049e: ldloc.s 10 (Verse.AI.IAttackTarget)
L_04a0: Label26
L_04a0: Label27
L_04a0: stloc 26 (Verse.AI.IAttackTarget)
L_04a2: Label0
L_04a2: ldloc 26 (Verse.AI.IAttackTarget)
L_04a4: ret
DONE

### Patch RimWorld.Pawn_DraftController, IEnumerable`1 GetGizmos()


L_0000: Local var 0: RimWorld.Pawn_DraftController+<GetGizmos>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Gizmo,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld RimWorld.Pawn_DraftController $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, RimWorld.Pawn_DraftController ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0027: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ldarg.0
L_019a: ldarg 1
L_01a0: call Void Postfix(RimWorld.Pawn_DraftController, Boolean)
L_01a5: ret
DONE

### Patch Verse.Pawn, Void Kill(Nullable`1, Verse.Hediff)


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: Verse.Map
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.Planet.Caravan
L_0000: Local var 7: RimWorld.Building_Grave
L_0000: Local var 8: System.Boolean
L_0000: Local var 9: System.Single
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.ThingOwner
L_0000: Local var 12: System.Boolean
L_0000: Local var 13: System.Boolean
L_0000: Local var 14: System.Boolean
L_0000: Local var 15: System.Boolean
L_0000: Local var 16: Verse.DamageInfo
L_0000: Local var 17: System.Single
L_0000: Local var 18: Verse.Thing
L_0000: Local var 19: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 20: Verse.DamageInfo
L_0000: Local var 21: Verse.DamageInfo
L_0000: Local var 22: Verse.Pawn
L_0000: Local var 23: Verse.DamageInfo
L_0000: Local var 24: Verse.DamageInfo
L_0000: Local var 25: Verse.DamageInfo
L_0000: Local var 26: Verse.Pawn_CarryTracker
L_0000: Local var 27: Verse.Thing
L_0000: Local var 28: Verse.AI.Group.Lord
L_0000: Local var 29: Verse.Corpse
L_0000: Local var 30: Verse.DamageInfo
L_0000: Local var 31: Verse.DamageInfo
L_0000: Local var 32: Verse.Hediff
L_0000: Local var 33: RimWorld.CompRottable
L_0000: Local var 34: System.Int32
L_0000: ldarg.0
L_0001: call IntVec3 get_PositionHeld()
L_0006: stloc.0
L_0007: ldarg.0
L_0008: call Verse.Map get_Map()
L_000d: stloc.1
L_000e: ldarg.0
L_000f: call Verse.Map get_MapHeld()
L_0014: stloc.2
L_0015: ldarg.0
L_0016: call Boolean get_Spawned()
L_001b: stloc.3
L_001c: ldarg.0
L_001d: call Boolean get_SpawnedOrAnyParentSpawned()
L_0022: stloc.s 4 (System.Boolean)
L_0024: ldarg.0
L_0025: call Boolean IsWorldPawn(Verse.Pawn)
L_002a: stloc.s 5 (System.Boolean)
L_002c: ldarg.0
L_002d: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_0032: stloc.s 6 (RimWorld.Planet.Caravan)
L_0034: ldnull
L_0035: stloc.s 7 (RimWorld.Building_Grave)
L_0037: ldarg.0
L_0038: ldfld RimWorld.Pawn_Ownership ownership
L_003d: brfalse Label1
L_0042: ldarg.0
L_0043: ldfld RimWorld.Pawn_Ownership ownership
L_0048: callvirt RimWorld.Building_Grave get_AssignedGrave()
L_004d: stloc.s 7 (RimWorld.Building_Grave)
L_004f: Label1
L_004f: ldarg.0
L_0050: call Boolean InBed(Verse.Pawn)
L_0055: stloc.s 8 (System.Boolean)
L_0057: ldc.r4 0
L_005c: stloc.s 9 (System.Single)
L_005e: ldloc.s 8 (System.Boolean)
L_0060: brfalse Label2
L_0065: ldarg.0
L_0066: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006b: callvirt Rot4 get_Rotation()
L_0070: stloc.s 10 (Verse.Rot4)
L_0072: ldloca.s 10 (Verse.Rot4)
L_0074: call Single get_AsAngle()
L_0079: stloc.s 9 (System.Single)
L_007b: Label2
L_007b: ldnull
L_007c: stloc.s 11 (Verse.ThingOwner)
L_007e: ldarg.0
L_007f: call Boolean get_InContainerEnclosed()
L_0084: stloc.s 12 (System.Boolean)
L_0086: ldloc.s 12 (System.Boolean)
L_0088: brfalse Label3
L_008d: ldarg.0
L_008e: ldfld Verse.ThingOwner holdingOwner
L_0093: stloc.s 11 (Verse.ThingOwner)
L_0095: ldloc.s 11 (Verse.ThingOwner)
L_0097: ldarg.0
L_0098: callvirt Boolean Remove(Verse.Thing)
L_009d: pop
L_009e: Label3
L_009e: ldc.i4.0
L_009f: stloc.s 13 (System.Boolean)
L_00a1: ldc.i4.0
L_00a2: stloc.s 14 (System.Boolean)
L_00a4: call ProgramState get_ProgramState()
L_00a9: ldc.i4.2
L_00aa: bne.un Label4
L_00af: ldloc.1
L_00b0: brfalse Label5
L_00b5: ldloc.1
L_00b6: ldfld Verse.DesignationManager designationManager
L_00bb: ldarg.0
L_00bc: ldsfld Verse.DesignationDef Hunt
L_00c1: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00c6: ldnull
L_00c7: ceq
L_00c9: ldc.i4.0
L_00ca: ceq
L_00cc: stloc.s 13 (System.Boolean)
L_00ce: ldloc.1
L_00cf: ldfld Verse.DesignationManager designationManager
L_00d4: ldarg.0
L_00d5: ldsfld Verse.DesignationDef Slaughter
L_00da: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00df: ldnull
L_00e0: ceq
L_00e2: ldc.i4.0
L_00e3: ceq
L_00e5: stloc.s 14 (System.Boolean)
L_00e7: Label4
L_00e7: Label5
L_00e7: ldarg.0
L_00e8: call Boolean ShouldSendNotificationAbout(Verse.Pawn)
L_00ed: brfalse Label6
L_00f2: ldloc.s 14 (System.Boolean)
L_00f4: brfalse Label7
L_00f9: ldarga.s 1
L_00fb: call Boolean get_HasValue()
L_0100: brfalse Label8
L_0105: ldarga.s 1
L_0107: call DamageInfo get_Value()
L_010c: stloc.s 16 (Verse.DamageInfo)
L_010e: ldloca.s 16 (Verse.DamageInfo)
L_0110: call Verse.DamageDef get_Def()
L_0115: ldsfld Verse.DamageDef ExecutionCut
L_011a: ceq
L_011c: br Label9
L_0121: Label7
L_0121: Label8
L_0121: ldc.i4.0
L_0122: Label9
L_0122: ldc.i4.0
L_0123: ceq
L_0125: br Label10
L_012a: Label6
L_012a: ldc.i4.0
L_012b: Label10
L_012b: stloc.s 15 (System.Boolean)
L_012d: ldc.r4 0
L_0132: stloc.s 17 (System.Single)
L_0134: ldarg.0
L_0135: ldsfld Verse.ThingDef Fire
L_013a: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_013f: stloc.s 18 (Verse.Thing)
L_0141: ldloc.s 18 (Verse.Thing)
L_0143: brfalse Label11
L_0148: ldloc.s 18 (Verse.Thing)
L_014a: castclass RimWorld.Fire
L_014f: callvirt Single CurrentSize()
L_0154: stloc.s 17 (System.Single)
L_0156: Label11
L_0156: ldarg.0
L_0157: ldarg.1
L_0158: ldc.i4.0
L_0159: call Void TryGiveThoughts(Verse.Pawn, Nullable`1,
PawnDiedOrDownedThoughtsKind)
L_015e: call ProgramState get_ProgramState()
L_0163: ldc.i4.2
L_0164: bne.un Label12
L_0169: call RimWorld.Storyteller get_Storyteller()
L_016e: ldarg.0
L_016f: ldc.i4.1
L_0170: ldloca.s 19 (System.Nullable`1[Verse.DamageInfo])
L_0172: initobj System.Nullable`1[Verse.DamageInfo]
L_0178: ldloc.s 19 (System.Nullable`1[Verse.DamageInfo])
L_017a: callvirt Void Notify_PawnEvent(Verse.Pawn, AdaptationEvent, Nullable`1)
L_017f: Label12
L_017f: ldarg.0
L_0180: call Boolean get_IsColonist()
L_0185: brfalse Label13
L_018a: call RimWorld.StoryWatcher get_StoryWatcher()
L_018f: ldfld RimWorld.StatsRecord statsRecord
L_0194: callvirt Void Notify_ColonistKilled()
L_0199: Label13
L_0199: ldloc.3
L_019a: brfalse Label14
L_019f: ldarga.s 1
L_01a1: call Boolean get_HasValue()
L_01a6: brfalse Label15
L_01ab: ldarga.s 1
L_01ad: call DamageInfo get_Value()
L_01b2: stloc.s 20 (Verse.DamageInfo)
L_01b4: ldloca.s 20 (Verse.DamageInfo)
L_01b6: call Verse.DamageDef get_Def()
L_01bb: ldarg.0
L_01bc: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_01c1: brfalse Label16
L_01c6: ldarg.0
L_01c7: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01cc: brtrue Label17
L_01d1: ldnull
L_01d2: ldftn Verse.SoundDef <Kill>m__8(Verse.LifeStageAge)
L_01d8: newobj Void .ctor(Object, IntPtr)
L_01dd: stsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e2: Label17
L_01e2: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e7: ldc.r4 1
L_01ec: call Void PlayNearestLifestageSound(Verse.Pawn,
System.Func`2[Verse.LifeStageAge,Verse.SoundDef], Single)
L_01f1: Label14
L_01f1: Label15
L_01f1: Label16
L_01f1: ldarga.s 1
L_01f3: call Boolean get_HasValue()
L_01f8: brfalse Label18
L_01fd: ldarga.s 1
L_01ff: call DamageInfo get_Value()
L_0204: stloc.s 21 (Verse.DamageInfo)
L_0206: ldloca.s 21 (Verse.DamageInfo)
L_0208: call Verse.Thing get_Instigator()
L_020d: brfalse Label19
L_0212: ldarga.s 1
L_0214: call DamageInfo get_Value()
L_0219: stloc.s 23 (Verse.DamageInfo)
L_021b: ldloca.s 23 (Verse.DamageInfo)
L_021d: call Verse.Thing get_Instigator()
L_0222: isinst Verse.Pawn
L_0227: stloc.s 22 (Verse.Pawn)
L_0229: ldloc.s 22 (Verse.Pawn)
L_022b: brfalse Label20
L_0230: ldarg.0
L_0231: ldloc.s 22 (Verse.Pawn)
L_0233: call Void Notify_PawnKilled(Verse.Pawn, Verse.Pawn)
L_0238: ldarg.0
L_0239: call Boolean get_IsColonist()
L_023e: brfalse Label21
L_0243: ldloc.s 22 (Verse.Pawn)
L_0245: ldfld RimWorld.Pawn_RecordsTracker records
L_024a: ldsfld RimWorld.StoryEventDef KilledPlayer
L_024f: callvirt Void AccumulateStoryEvent(RimWorld.StoryEventDef)
L_0254: Label18
L_0254: Label19
L_0254: Label20
L_0254: Label21
L_0254: ldarg.0
L_0255: ldarg.1
L_0256: call Void Notify_PawnDied(Verse.Pawn, Nullable`1)
L_025b: ldloc.3
L_025c: brfalse Label22
L_0261: call Verse.BattleLog get_BattleLog()
L_0266: ldarg.0
L_0267: ldarg.0
L_0268: call Verse.RaceProperties get_RaceProps()
L_026d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0272: callvirt Verse.RulePackDef get_DeathRules()
L_0277: ldarga.s 1
L_0279: call Boolean get_HasValue()
L_027e: brfalse Label23
L_0283: ldarga.s 1
L_0285: call DamageInfo get_Value()
L_028a: stloc.s 24 (Verse.DamageInfo)
L_028c: ldloca.s 24 (Verse.DamageInfo)
L_028e: call Verse.Thing get_Instigator()
L_0293: isinst Verse.Pawn
L_0298: br Label24
L_029d: Label23
L_029d: ldnull
L_029e: Label24
L_029e: ldarg.2
L_029f: ldarga.s 1
L_02a1: call Boolean get_HasValue()
L_02a6: brfalse Label25
L_02ab: ldarga.s 1
L_02ad: call DamageInfo get_Value()
L_02b2: stloc.s 25 (Verse.DamageInfo)
L_02b4: ldloca.s 25 (Verse.DamageInfo)
L_02b6: call Verse.BodyPartRecord get_HitPart()
L_02bb: br Label26
L_02c0: Label25
L_02c0: ldnull
L_02c1: Label26
L_02c1: newobj Void .ctor(Thing, RulePackDef, Pawn, Hediff, BodyPartRecord)
L_02c6: callvirt Void Add(Verse.LogEntry)
L_02cb: Label22
L_02cb: ldarg.0
L_02cc: ldfld Verse.Pawn_HealthTracker health
L_02d1: ldfld RimWorld.BillStack surgeryBills
L_02d6: callvirt Void Clear()
L_02db: ldarg.0
L_02dc: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02e1: brfalse Label27
L_02e6: ldarg.0
L_02e7: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02ec: ldarg.1
L_02ed: callvirt Void Notify_PawnKilled(Nullable`1)
L_02f2: Label27
L_02f2: ldarg.0
L_02f3: call Verse.RaceProperties get_RaceProps()
L_02f8: callvirt Boolean get_IsFlesh()
L_02fd: brfalse Label28
L_0302: ldarg.0
L_0303: ldfld RimWorld.Pawn_RelationsTracker relations
L_0308: ldarg.1
L_0309: ldloc.1
L_030a: callvirt Void Notify_PawnKilled(Nullable`1, Verse.Map)
L_030f: Label28
L_030f: ldarg.0
L_0310: ldfld RimWorld.Pawn_MeleeVerbs meleeVerbs
L_0315: callvirt Void Notify_PawnKilled()
L_031a: ldarg.0
L_031b: call IThingHolder get_ParentHolder()
L_0320: isinst Verse.Pawn_CarryTracker
L_0325: stloc.s 26 (Verse.Pawn_CarryTracker)
L_0327: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0329: brfalse Label29
L_032e: ldarg.0
L_032f: ldfld Verse.ThingOwner holdingOwner
L_0334: ldarg.0
L_0335: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0337: ldfld Verse.Pawn pawn
L_033c: callvirt IntVec3 get_Position()
L_0341: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0343: ldfld Verse.Pawn pawn
L_0348: callvirt Verse.Map get_Map()
L_034d: ldc.i4.1
L_034e: ldloca.s 27 (Verse.Thing)
L_0350: ldnull
L_0351: ldnull
L_0352: callvirt Boolean TryDrop(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
Verse.Thing ByRef, System.Action`2[Verse.Thing,System.Int32],
System.Predicate`1[Verse.IntVec3])
L_0357: brfalse Label30
L_035c: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_035e: ldfld Verse.Pawn pawn
L_0363: callvirt Verse.Map get_Map()
L_0368: stloc.1
L_0369: ldc.i4.1
L_036a: stloc.3
L_036b: Label29
L_036b: Label30
L_036b: ldarg.0
L_036c: ldfld Verse.Pawn_HealthTracker health
L_0371: callvirt Void SetDead()
L_0376: ldarg.0
L_0377: ldfld Verse.Pawn_HealthTracker health
L_037c: ldfld Verse.Effecter deflectionEffecter
L_0381: brfalse Label31
L_0386: ldarg.0
L_0387: ldfld Verse.Pawn_HealthTracker health
L_038c: ldfld Verse.Effecter deflectionEffecter
L_0391: callvirt Void Cleanup()
L_0396: ldarg.0
L_0397: ldfld Verse.Pawn_HealthTracker health
L_039c: ldnull
L_039d: stfld Verse.Effecter deflectionEffecter
L_03a2: Label31
L_03a2: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03a4: brfalse Label32
L_03a9: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03ab: ldarg.0
L_03ac: callvirt Void Notify_MemberDied(Verse.Pawn)
L_03b1: Label32
L_03b1: ldarg.0
L_03b2: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_03b7: stloc.s 28 (Verse.AI.Group.Lord)
L_03b9: ldloc.s 28 (Verse.AI.Group.Lord)
L_03bb: brfalse Label33
L_03c0: ldloc.s 28 (Verse.AI.Group.Lord)
L_03c2: ldarg.0
L_03c3: ldc.i4.2
L_03c4: ldarg.1
L_03c5: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_03ca: Label33
L_03ca: ldloc.3
L_03cb: brfalse Label34
L_03d0: ldarg.0
L_03d1: ldc.i4.0
L_03d2: call Void DropAndForbidEverything(Boolean)
L_03d7: Label34
L_03d7: ldloc.3
L_03d8: brfalse Label35
L_03dd: ldarg.0
L_03de: ldc.i4.0
L_03df: callvirt Void DeSpawn(DestroyMode)
L_03e4: Label35
L_03e4: ldnull
L_03e5: stloc.s 29 (Verse.Corpse)
L_03e7: ldarg.0
L_03e8: call Boolean IsBeingGenerated(Verse.Pawn)
L_03ed: brtrue Label36
L_03f2: ldloc.s 12 (System.Boolean)
L_03f4: brfalse Label37
L_03f9: ldarg.0
L_03fa: ldloc.s 7 (RimWorld.Building_Grave)
L_03fc: ldloc.s 8 (System.Boolean)
L_03fe: ldloc.s 9 (System.Single)
L_0400: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0405: stloc.s 29 (Verse.Corpse)
L_0407: ldloc.s 11 (Verse.ThingOwner)
L_0409: ldloc.s 29 (Verse.Corpse)
L_040b: ldc.i4.1
L_040c: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0411: brtrue Label38
L_0416: ldloc.s 29 (Verse.Corpse)
L_0418: ldc.i4.0
L_0419: callvirt Void Destroy(DestroyMode)
L_041e: ldnull
L_041f: stloc.s 29 (Verse.Corpse)
L_0421: Label38
L_0421: br Label39
L_0426: Label37
L_0426: ldloc.s 4 (System.Boolean)
L_0428: brfalse Label40
L_042d: ldarg.0
L_042e: ldfld Verse.ThingOwner holdingOwner
L_0433: brfalse Label41
L_0438: ldarg.0
L_0439: ldfld Verse.ThingOwner holdingOwner
L_043e: ldarg.0
L_043f: callvirt Boolean Remove(Verse.Thing)
L_0444: pop
L_0445: Label41
L_0445: ldarg.0
L_0446: ldloc.s 7 (RimWorld.Building_Grave)
L_0448: ldloc.s 8 (System.Boolean)
L_044a: ldloc.s 9 (System.Single)
L_044c: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0451: stloc.s 29 (Verse.Corpse)
L_0453: ldloc.s 29 (Verse.Corpse)
L_0455: ldloc.0
L_0456: ldloc.2
L_0457: ldc.i4.0
L_0458: ldnull
L_0459: ldnull
L_045a: call Boolean TryPlaceThing(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
System.Action`2[Verse.Thing,System.Int32], System.Predicate`1[Verse.IntVec3])
L_045f: brfalse Label42
L_0464: ldloc.s 29 (Verse.Corpse)
L_0466: ldarg.0
L_0467: call Rot4 get_Rotation()
L_046c: callvirt Void set_Rotation(Rot4)
L_0471: ldarg.0
L_0472: ldarg.1
L_0473: call Boolean WasKilledByHunter(Verse.Pawn, Nullable`1)
L_0478: brfalse Label43
L_047d: ldarga.s 1
L_047f: call DamageInfo get_Value()
L_0484: stloc.s 30 (Verse.DamageInfo)
L_0486: ldloca.s 30 (Verse.DamageInfo)
L_0488: call Verse.Thing get_Instigator()
L_048d: castclass Verse.Pawn
L_0492: ldloc.s 29 (Verse.Corpse)
L_0494: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0499: ldarga.s 1
L_049b: call DamageInfo get_Value()
L_04a0: stloc.s 31 (Verse.DamageInfo)
L_04a2: ldloca.s 31 (Verse.DamageInfo)
L_04a4: call Verse.Thing get_Instigator()
L_04a9: castclass Verse.Pawn
L_04ae: callvirt Verse.AI.Job get_CurJob()
L_04b3: ldc.i4.1
L_04b4: ldc.i4.m1
L_04b5: ldnull
L_04b6: ldc.i4.1
L_04b7: call Boolean Reserve(Verse.Pawn, LocalTargetInfo, Verse.AI.Job, Int32,
Int32, Verse.ReservationLayerDef, Boolean)
L_04bc: pop
L_04bd: br Label44
L_04c2: Label43
L_04c2: ldloc.s 13 (System.Boolean)
L_04c4: brtrue Label45
L_04c9: ldloc.s 14 (System.Boolean)
L_04cb: brtrue Label46
L_04d0: ldloc.s 29 (Verse.Corpse)
L_04d2: call Void SetForbiddenIfOutsideHomeArea(Verse.Thing)
L_04d7: Label44
L_04d7: Label45
L_04d7: Label46
L_04d7: ldloc.s 17 (System.Single)
L_04d9: ldc.r4 0
L_04de: ble.un Label47
L_04e3: ldloc.s 29 (Verse.Corpse)
L_04e5: callvirt IntVec3 get_Position()
L_04ea: ldloc.s 29 (Verse.Corpse)
L_04ec: callvirt Verse.Map get_Map()
L_04f1: ldloc.s 17 (System.Single)
L_04f3: call Boolean TryStartFireIn(IntVec3, Verse.Map, Single)
L_04f8: pop
L_04f9: Label47
L_04f9: br Label48
L_04fe: Label42
L_04fe: ldloc.s 29 (Verse.Corpse)
L_0500: ldc.i4.0
L_0501: callvirt Void Destroy(DestroyMode)
L_0506: ldnull
L_0507: stloc.s 29 (Verse.Corpse)
L_0509: Label48
L_0509: br Label49
L_050e: Label40
L_050e: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0510: brfalse Label50
L_0515: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0517: callvirt Boolean get_Spawned()
L_051c: brfalse Label51
L_0521: ldarg.0
L_0522: ldloc.s 7 (RimWorld.Building_Grave)
L_0524: ldloc.s 8 (System.Boolean)
L_0526: ldloc.s 9 (System.Single)
L_0528: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_052d: stloc.s 29 (Verse.Corpse)
L_052f: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0531: ldloc.s 29 (Verse.Corpse)
L_0533: ldc.i4.1
L_0534: callvirt Void AddPawnOrItem(Verse.Thing, Boolean)
L_0539: br Label52
L_053e: Label50
L_053e: Label51
L_053e: ldarg.0
L_053f: ldfld Verse.ThingOwner holdingOwner
L_0544: brtrue Label53
L_0549: ldarg.0
L_054a: call Boolean IsWorldPawn(Verse.Pawn)
L_054f: brfalse Label54
L_0554: Label53
L_0554: ldarg.0
L_0555: call Void PostCorpseDestroy(Verse.Pawn)
L_055a: br Label55
L_055f: Label54
L_055f: ldarg.0
L_0560: ldloc.s 7 (RimWorld.Building_Grave)
L_0562: ldloc.s 8 (System.Boolean)
L_0564: ldloc.s 9 (System.Single)
L_0566: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_056b: stloc.s 29 (Verse.Corpse)
L_056d: Label36
L_056d: Label39
L_056d: Label49
L_056d: Label52
L_056d: Label55
L_056d: ldloc.s 29 (Verse.Corpse)
L_056f: brfalse Label56
L_0574: ldarg.0
L_0575: ldfld Verse.Pawn_HealthTracker health
L_057a: ldfld Verse.HediffSet hediffSet
L_057f: ldsfld Verse.HediffDef ToxicBuildup
L_0584: ldc.i4.0
L_0585: callvirt Verse.Hediff GetFirstHediffOfDef(Verse.HediffDef, Boolean)
L_058a: stloc.s 32 (Verse.Hediff)
L_058c: ldloc.s 29 (Verse.Corpse)
L_058e: callvirt RimWorld.CompRottable GetComp[CompRottable]()
L_0593: stloc.s 33 (RimWorld.CompRottable)
L_0595: ldloc.s 32 (Verse.Hediff)
L_0597: brfalse Label57
L_059c: call Single get_Value()
L_05a1: ldloc.s 32 (Verse.Hediff)
L_05a3: callvirt Single get_Severity()
L_05a8: bge.un Label58
L_05ad: ldloc.s 33 (RimWorld.CompRottable)
L_05af: brfalse Label59
L_05b4: ldloc.s 33 (RimWorld.CompRottable)
L_05b6: callvirt Void RotImmediately()
L_05bb: Label56
L_05bb: Label57
L_05bb: Label58
L_05bb: Label59
L_05bb: ldarg.0
L_05bc: call Boolean get_Destroyed()
L_05c1: brtrue Label60
L_05c6: ldarg.0
L_05c7: ldc.i4.2
L_05c8: callvirt Void Destroy(DestroyMode)
L_05cd: Label60
L_05cd: ldarg.0
L_05ce: call Void RemoveComponentsOnKilled(Verse.Pawn)
L_05d3: ldarg.0
L_05d4: ldfld Verse.Pawn_HealthTracker health
L_05d9: ldfld Verse.HediffSet hediffSet
L_05de: callvirt Void DirtyCache()
L_05e3: ldarg.0
L_05e4: call Void SetDirty(Verse.Pawn)
L_05e9: ldc.i4.0
L_05ea: stloc.s 34 (System.Int32)
L_05ec: br Label61
L_05f1: Label62
L_05f1: ldarg.0
L_05f2: ldfld Verse.Pawn_HealthTracker health
L_05f7: ldfld Verse.HediffSet hediffSet
L_05fc: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0601: ldloc.s 34 (System.Int32)
L_0603: callvirt Verse.Hediff get_Item(Int32)
L_0608: callvirt Void Notify_PawnDied()
L_060d: ldloc.s 34 (System.Int32)
L_060f: ldc.i4.1
L_0610: add
L_0611: stloc.s 34 (System.Int32)
L_0613: Label61
L_0613: ldloc.s 34 (System.Int32)
L_0615: ldarg.0
L_0616: ldfld Verse.Pawn_HealthTracker health
L_061b: ldfld Verse.HediffSet hediffSet
L_0620: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0625: callvirt Int32 get_Count()
L_062a: blt Label62
L_062f: ldarg.0
L_0630: call RimWorld.Faction get_Faction()
L_0635: brfalse Label63
L_063a: ldarg.0
L_063b: call RimWorld.Faction get_Faction()
L_0640: ldarg.0
L_0641: ldarg.1
L_0642: ldloc.s 5 (System.Boolean)
L_0644: ldloc.2
L_0645: callvirt Void Notify_MemberDied(Verse.Pawn, Nullable`1, Boolean, Verse.Map)
L_064a: Label63
L_064a: ldloc.s 29 (Verse.Corpse)
L_064c: brfalse Label64
L_0651: ldarg.0
L_0652: call Verse.RaceProperties get_RaceProps()
L_0657: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_065c: brfalse Label65
L_0661: ldloc.3
L_0662: brfalse Label66
L_0667: ldarg.0
L_0668: call Verse.RaceProperties get_RaceProps()
L_066d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0672: ldloc.s 29 (Verse.Corpse)
L_0674: callvirt Void PawnDied(Verse.Corpse)
L_0679: Label65
L_0679: Label66
L_0679: call RimWorld.Scenario get_Scenario()
L_067e: brfalse Label67
L_0683: call RimWorld.Scenario get_Scenario()
L_0688: ldloc.s 29 (Verse.Corpse)
L_068a: callvirt Void Notify_PawnDied(Verse.Corpse)
L_068f: Label64
L_068f: Label67
L_068f: ldarg.0
L_0690: call RimWorld.Faction get_Faction()
L_0695: brfalse Label68
L_069a: ldarg.0
L_069b: call RimWorld.Faction get_Faction()
L_06a0: callvirt Boolean get_IsPlayer()
L_06a5: brfalse Label69
L_06aa: ldarg.0
L_06ab: call Void Notify_ColonistUnavailable(Verse.Pawn)
L_06b0: Label68
L_06b0: Label69
L_06b0: ldloc.s 4 (System.Boolean)
L_06b2: brfalse Label70
L_06b7: ldarg.0
L_06b8: ldloc.2
L_06b9: call Void Notify_PawnLostForTutor(Verse.Pawn, Verse.Map)
L_06be: Label70
L_06be: ldarg.0
L_06bf: call RimWorld.Faction get_Faction()
L_06c4: brfalse Label71
L_06c9: ldarg.0
L_06ca: call RimWorld.Faction get_Faction()
L_06cf: callvirt Boolean get_IsPlayer()
L_06d4: brfalse Label72
L_06d9: call ProgramState get_ProgramState()
L_06de: ldc.i4.2
L_06df: bne.un Label73
L_06e4: call RimWorld.ColonistBar get_ColonistBar()
L_06e9: callvirt Void MarkColonistsDirty()
L_06ee: Label71
L_06ee: Label72
L_06ee: Label73
L_06ee: ldloc.s 15 (System.Boolean)
L_06f0: brfalse Label74
L_06f5: ldarg.0
L_06f6: ldfld Verse.Pawn_HealthTracker health
L_06fb: ldarg.1
L_06fc: ldarg.2
L_06fd: ldloc.s 6 (RimWorld.Planet.Caravan)
L_06ff: callvirt Void NotifyPlayerOfKilled(Nullable`1, Verse.Hediff,
RimWorld.Planet.Caravan)
L_0704: Label74
L_0704: ldarg.0
L_0705: call Void Postfix(Verse.Pawn)
L_070a: ldarga 0
L_0710: call Void Postfix(Verse.Pawn ByRef)
L_0715: ret
DONE

### Patch RimWorld.Targeter, Void TargeterUpdate()


L_0000: Local var 0: Verse.LocalTargetInfo
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Single
L_0000: Local var 3: Verse.ShootLine
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: ldarg.0
L_0001: ldfld Verse.Verb targetingVerb
L_0006: brfalse Label1
L_000b: ldarg.0
L_000c: ldfld Verse.Verb targetingVerb
L_0011: ldfld Verse.VerbProperties verbProps
L_0016: ldarg.0
L_0017: ldfld Verse.Verb targetingVerb
L_001c: ldfld Verse.Thing caster
L_0021: callvirt IntVec3 get_Position()
L_0026: callvirt Void DrawRadiusRing(IntVec3)
L_002b: ldarg.0
L_002c: ldc.i4.1
L_002d: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_0032: stloc.0
L_0033: ldloca.s 0 (Verse.LocalTargetInfo)
L_0035: call Boolean get_IsValid()
L_003a: brfalse Label2
L_003f: ldloc.0
L_0040: call Void DrawTargetHighlight(LocalTargetInfo)
L_0045: ldarg.0
L_0046: ldfld Verse.Verb targetingVerb
L_004b: ldloca.s 1 (System.Boolean)
L_004d: callvirt Single HighlightFieldRadiusAroundTarget(Boolean ByRef)
L_0052: stloc.2
L_0053: ldloc.2
L_0054: ldc.r4 0.2
L_0059: ble.un Label3
L_005e: ldarg.0
L_005f: ldfld Verse.Verb targetingVerb
L_0064: ldarg.0
L_0065: ldfld Verse.Verb targetingVerb
L_006a: ldfld Verse.Thing caster
L_006f: callvirt IntVec3 get_Position()
L_0074: ldloc.0
L_0075: ldloca.s 3 (Verse.ShootLine)
L_0077: callvirt Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_007c: brfalse Label4
L_0081: ldloc.1
L_0082: brfalse Label5
L_0087: ldloca.s 3 (Verse.ShootLine)
L_0089: call IntVec3 get_Dest()
L_008e: ldloc.2
L_008f: call Void RenderPredictedAreaOfEffect(IntVec3, Single)
L_0094: br Label6
L_0099: Label5
L_0099: ldloca.s 3 (Verse.ShootLine)
L_009b: call IntVec3 get_Dest()
L_00a0: ldloc.2
L_00a1: ldc.i4.1
L_00a2: call IEnumerable`1 RadialCellsAround(IntVec3, Single, Boolean)
L_00a7: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00ac: brtrue Label7
L_00b1: ldnull
L_00b2: ldftn Boolean <TargeterUpdate>m__0(IntVec3)
L_00b8: newobj Void .ctor(Object, IntPtr)
L_00bd: stsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c2: Label7
L_00c2: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c7: call IEnumerable`1 Where[IntVec3](IEnumerable`1,
System.Func`2[Verse.IntVec3,System.Boolean])
L_00cc: call System.Collections.Generic.List`1[Verse.IntVec3] ToList[IntVec3]
(IEnumerable`1)
L_00d1: call Void DrawFieldEdges(System.Collections.Generic.List`1[Verse.IntVec3])
L_00d6: Label1
L_00d6: Label2
L_00d6: Label3
L_00d6: Label4
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Action`1[Verse.LocalTargetInfo] action
L_00dc: brfalse Label8
L_00e1: ldarg.0
L_00e2: ldc.i4.0
L_00e3: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_00e8: stloc.s 4 (Verse.LocalTargetInfo)
L_00ea: ldloca.s 4 (Verse.LocalTargetInfo)
L_00ec: call Boolean get_IsValid()
L_00f1: brfalse Label9
L_00f6: ldloc.s 4 (Verse.LocalTargetInfo)
L_00f8: call Void DrawTargetHighlight(LocalTargetInfo)
L_00fd: Label8
L_00fd: Label9
L_00fd: ldarg.0
L_00fe: call Void TargeterUpdate_PostFix(RimWorld.Targeter)
L_0103: ldarga 0
L_0109: call Void Postfix(RimWorld.Targeter ByRef)
L_010e: ret
DONE

### Patch Verse.Verb, Boolean CanHitTargetFrom(IntVec3, LocalTargetInfo)


L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.ShootLine
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarga.s 2
L_0008: call Verse.Thing get_Thing()
L_000d: brfalse Label1
L_0012: ldarga.s 2
L_0014: call Verse.Thing get_Thing()
L_0019: ldarg.0
L_001a: ldfld Verse.Thing caster
L_001f: bne.un Label2
L_0024: ldarg.0
L_0025: ldfld Verse.VerbProperties verbProps
L_002a: ldfld RimWorld.TargetingParameters targetParams
L_002f: ldfld System.Boolean canTargetSelf
L_0034: br Label8
L_0039: Label1
L_0039: Label2
L_0039: ldarg.0
L_003a: call Boolean get_CasterIsPawn()
L_003f: brfalse Label3
L_0044: ldarg.0
L_0045: call Verse.Pawn get_CasterPawn()
L_004a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_004f: brfalse Label4
L_0054: ldarg.0
L_0055: call Verse.Pawn get_CasterPawn()
L_005a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_005f: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0064: stloc.0
L_0065: ldc.i4.0
L_0066: stloc.1
L_0067: br Label5
L_006c: Label7
L_006c: ldloc.0
L_006d: ldloc.1
L_006e: callvirt RimWorld.Apparel get_Item(Int32)
L_0073: ldarg.1
L_0074: ldarg.0
L_0075: ldfld Verse.Thing caster
L_007a: callvirt Verse.Map get_Map()
L_007f: ldarg.2
L_0080: ldarg.0
L_0081: callvirt Boolean AllowVerbCast(IntVec3, Verse.Map, LocalTargetInfo,
Verse.Verb)
L_0086: brtrue Label6
L_008b: ldc.i4.0
L_008c: br Label9
L_0091: Label6
L_0091: ldloc.1
L_0092: ldc.i4.1
L_0093: add
L_0094: stloc.1
L_0095: Label5
L_0095: ldloc.1
L_0096: ldloc.0
L_0097: callvirt Int32 get_Count()
L_009c: blt Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldarg.0
L_00a2: ldarg.1
L_00a3: ldarg.2
L_00a4: ldloca.s 2 (Verse.ShootLine)
L_00a6: call Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_00ab: Label8
L_00ab: Label9
L_00ab: stloc 3 (System.Boolean)
L_00ac: ldarga 0
L_00b2: ldloca 3 (System.Boolean)
L_00b4: ldarg 1
L_00ba: ldarg 2
L_00c0: call Void Postfix(Verse.Verb ByRef, Boolean ByRef, IntVec3,
LocalTargetInfo)
L_00c5: ldloc 3 (System.Boolean)
L_00c6: ret
DONE

### Patch Verse.Pawn_RotationTracker, Void RotationTrackerTick()


L_0000: ldarg.0
L_0001: call Boolean VehicleRotatorTick(Verse.Pawn_RotationTracker)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void UpdateRotation()
L_0011: Label0
L_0011: ret
DONE

### Patch Verse.DamageWorker_AddInjury, Single FinalizeAndAddInjury(Verse.Pawn,


Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult)
L_0000: Local var 0: Verse.HediffComp_GetsPermanent
L_0000: Local var 1: System.Single
L_0000: Local var 2: System.Single
L_0000: ldc.r4 0
L_0005: stloc 2 (System.Single)
L_0006: ldarg.2
L_0007: call Verse.HediffComp_GetsPermanent TryGetComp[HediffComp_GetsPermanent]
(Verse.Hediff)
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldloc.0
L_0014: callvirt Void PreFinalizeInjury()
L_0019: Label1
L_0019: ldarg.1
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldarg.2
L_0020: ldnull
L_0021: ldarg.3
L_0022: newobj Void .ctor(DamageInfo)
L_0027: ldarg.s 4
L_0029: callvirt Void AddHediff(Verse.Hediff, Verse.BodyPartRecord, Nullable`1,
Verse.DamageWorker+DamageResult)
L_002e: ldarg.2
L_002f: callvirt Single get_Severity()
L_0034: ldarg.1
L_0035: ldfld Verse.Pawn_HealthTracker health
L_003a: ldfld Verse.HediffSet hediffSet
L_003f: ldarg.2
L_0040: callvirt Verse.BodyPartRecord get_Part()
L_0045: callvirt Single GetPartHealth(Verse.BodyPartRecord)
L_004a: call Single Min(Single, Single)
L_004f: stloc.1
L_0050: ldarg.s 4
L_0052: dup
L_0053: ldfld System.Single totalDamageDealt
L_0058: ldloc.1
L_0059: add
L_005a: stfld System.Single totalDamageDealt
L_005f: ldarg.s 4
L_0061: ldc.i4.1
L_0062: stfld System.Boolean wounded
L_0067: ldarg.s 4
L_0069: ldarg.1
L_006a: ldarg.2
L_006b: callvirt Verse.BodyPartRecord get_Part()
L_0070: callvirt Void AddPart(Verse.Thing, Verse.BodyPartRecord)
L_0075: ldarg.s 4
L_0077: ldarg.2
L_0078: callvirt Void AddHediff(Verse.Hediff)
L_007d: ldloc.1
L_007e: stloc 2 (System.Single)
L_007f: ldarg.0
L_0080: ldarg 1
L_0086: ldarg 2
L_008c: ldarg 3
L_0092: ldarga 4
L_0098: ldloca 2 (System.Single)
L_009a: call Void TryInjureVehicleOccupants(Verse.DamageWorker_AddInjury,
Verse.Pawn, Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult ByRef,
Single ByRef)
L_009f: ldloc 2 (System.Single)
L_00a0: ret
DONE

### Patch Verse.HealthUtility, System.String GetGeneralConditionLabel(Verse.Pawn,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Hediff_Injury
L_0000: Local var 3: System.String
L_0000: ldnull
L_0001: stloc 3 (System.String)
L_0002: ldloca 3 (System.String)
L_0004: ldarg 0
L_000a: ldarg 1
L_0010: call Boolean ReplaceConditionLabel(System.String ByRef, Verse.Pawn,
Boolean)
L_0015: brfalse Label0
L_001a: ldarg.0
L_001b: ldfld Verse.Pawn_HealthTracker health
L_0020: callvirt Boolean get_Dead()
L_0025: brfalse Label1
L_002a: ldstr "Dead"
L_002f: call System.String Translate(System.String)
L_0034: br Label15
L_0039: Label1
L_0039: ldarg.0
L_003a: ldfld Verse.Pawn_HealthTracker health
L_003f: ldfld Verse.PawnCapacitiesHandler capacities
L_0044: callvirt Boolean get_CanBeAwake()
L_0049: brtrue Label2
L_004e: ldstr "Unconscious"
L_0053: call System.String Translate(System.String)
L_0058: br Label16
L_005d: Label2
L_005d: ldarg.0
L_005e: ldfld Verse.Pawn_HealthTracker health
L_0063: callvirt Boolean get_InPainShock()
L_0068: brfalse Label3
L_006d: ldarg.1
L_006e: brfalse Label4
L_0073: ldstr "PainShockShort"
L_0078: call Boolean CanTranslate(System.String)
L_007d: brfalse Label5
L_0082: ldstr "PainShockShort"
L_0087: call System.String Translate(System.String)
L_008c: br Label6
L_0091: Label4
L_0091: Label5
L_0091: ldstr "PainShock"
L_0096: call System.String Translate(System.String)
L_009b: Label6
L_009b: br Label17
L_00a0: Label3
L_00a0: ldarg.0
L_00a1: callvirt Boolean get_Downed()
L_00a6: brfalse Label7
L_00ab: ldstr "Incapacitated"
L_00b0: call System.String Translate(System.String)
L_00b5: br Label18
L_00ba: Label7
L_00ba: ldc.i4.0
L_00bb: stloc.0
L_00bc: ldc.i4.0
L_00bd: stloc.1
L_00be: br Label8
L_00c3: Label12
L_00c3: ldarg.0
L_00c4: ldfld Verse.Pawn_HealthTracker health
L_00c9: ldfld Verse.HediffSet hediffSet
L_00ce: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_00d3: ldloc.1
L_00d4: callvirt Verse.Hediff get_Item(Int32)
L_00d9: isinst Verse.Hediff_Injury
L_00de: stloc.2
L_00df: ldloc.2
L_00e0: brtrue Label9
L_00e5: br Label10
L_00ea: Label9
L_00ea: ldloc.2
L_00eb: call Boolean IsPermanent(Verse.Hediff)
L_00f0: brtrue Label11
L_00f5: ldc.i4.1
L_00f6: stloc.0
L_00f7: Label10
L_00f7: Label11
L_00f7: ldloc.1
L_00f8: ldc.i4.1
L_00f9: add
L_00fa: stloc.1
L_00fb: Label8
L_00fb: ldloc.1
L_00fc: ldarg.0
L_00fd: ldfld Verse.Pawn_HealthTracker health
L_0102: ldfld Verse.HediffSet hediffSet
L_0107: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_010c: callvirt Int32 get_Count()
L_0111: blt Label12
L_0116: ldloc.0
L_0117: brfalse Label13
L_011c: ldstr "Injured"
L_0121: call System.String Translate(System.String)
L_0126: br Label19
L_012b: Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_HealthTracker health
L_0131: ldfld Verse.HediffSet hediffSet
L_0136: callvirt Single get_PainTotal()
L_013b: ldc.r4 0.3
L_0140: ble.un Label14
L_0145: ldstr "InPain"
L_014a: call System.String Translate(System.String)
L_014f: br Label20
L_0154: Label14
L_0154: ldstr "Healthy"
L_0159: call System.String Translate(System.String)
L_015e: Label15
L_015e: Label16
L_015e: Label17
L_015e: Label18
L_015e: Label19
L_015e: Label20
L_015e: stloc 3 (System.String)
L_015f: Label0
L_015f: ldloc 3 (System.String)
L_0160: ret
DONE

### Patch Verse.MapPawns, Int32 get_FreeColonistsSpawnedCount()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldarg.0
L_0007: call IEnumerable`1 get_FreeColonistsSpawned()
L_000c: call Int32 Count[Pawn](IEnumerable`1)
L_0011: stloc 0 (System.Int32)
L_0012: ldarg.0
L_0013: ldloca 0 (System.Int32)
L_0015: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_001a: ldloc 0 (System.Int32)
L_001b: ret
DONE

### Patch Verse.MapPawns, Int32


get_FreeColonistsSpawnedOrInPlayerEjectablePodsCount()
L_0000: Local var 0: System.Int32
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.Building_CryptosleepCasket
L_0000: Local var 5: Verse.IThingHolder
L_0000: Local var 6: System.Int32
L_0000: Local var 7: Verse.Pawn
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldc.i4.0
L_0008: stloc.0
L_0009: ldc.i4.0
L_000a: stloc.1
L_000b: br Label1
L_0010: Label3
L_0010: ldarg.0
L_0011: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0016: ldloc.1
L_0017: callvirt Verse.Pawn get_Item(Int32)
L_001c: callvirt Boolean get_IsFreeColonist()
L_0021: brfalse Label2
L_0026: ldloc.0
L_0027: ldc.i4.1
L_0028: add
L_0029: stloc.0
L_002a: Label2
L_002a: ldloc.1
L_002b: ldc.i4.1
L_002c: add
L_002d: stloc.1
L_002e: Label1
L_002e: ldloc.1
L_002f: ldarg.0
L_0030: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0035: callvirt Int32 get_Count()
L_003a: blt Label3
L_003f: ldarg.0
L_0040: ldfld Verse.Map map
L_0045: ldfld Verse.ListerThings listerThings
L_004a: ldc.i4.s 30
L_004c: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsInGroup(ThingRequestGroup)
L_0051: stloc.2
L_0052: ldc.i4.0
L_0053: stloc.3
L_0054: br Label4
L_0059: Label15
L_0059: ldloc.2
L_005a: ldloc.3
L_005b: callvirt Verse.Thing get_Item(Int32)
L_0060: isinst RimWorld.Building_CryptosleepCasket
L_0065: stloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0067: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0069: brfalse Label5
L_006e: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0070: ldfld Verse.ThingDef def
L_0075: ldfld RimWorld.BuildingProperties building
L_007a: ldfld System.Boolean isPlayerEjectable
L_007f: brtrue Label6
L_0084: Label5
L_0084: ldloc.2
L_0085: ldloc.3
L_0086: callvirt Verse.Thing get_Item(Int32)
L_008b: isinst RimWorld.IActiveDropPod
L_0090: brtrue Label7
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: callvirt Verse.Thing get_Item(Int32)
L_009c: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00a1: brfalse Label8
L_00a6: Label6
L_00a6: Label7
L_00a6: ldloc.2
L_00a7: ldloc.3
L_00a8: callvirt Verse.Thing get_Item(Int32)
L_00ad: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00b2: dup
L_00b3: brtrue Label9
L_00b8: pop
L_00b9: ldloc.2
L_00ba: ldloc.3
L_00bb: callvirt Verse.Thing get_Item(Int32)
L_00c0: castclass Verse.IThingHolder
L_00c5: Label9
L_00c5: stloc.s 5 (Verse.IThingHolder)
L_00c7: ldarg.0
L_00c8: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00cd: callvirt Void Clear()
L_00d2: ldloc.s 5 (Verse.IThingHolder)
L_00d4: ldarg.0
L_00d5: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00da: ldc.i4.1
L_00db: ldnull
L_00dc: call Void GetAllThingsRecursively(IThingHolder,
System.Collections.Generic.List`1[Verse.Thing], Boolean,
System.Predicate`1[Verse.IThingHolder])
L_00e1: ldc.i4.0
L_00e2: stloc.s 6 (System.Int32)
L_00e4: br Label10
L_00e9: Label14
L_00e9: ldarg.0
L_00ea: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00ef: ldloc.s 6 (System.Int32)
L_00f1: callvirt Verse.Thing get_Item(Int32)
L_00f6: isinst Verse.Pawn
L_00fb: stloc.s 7 (Verse.Pawn)
L_00fd: ldloc.s 7 (Verse.Pawn)
L_00ff: brfalse Label11
L_0104: ldloc.s 7 (Verse.Pawn)
L_0106: callvirt Boolean get_Dead()
L_010b: brtrue Label12
L_0110: ldloc.s 7 (Verse.Pawn)
L_0112: callvirt Boolean get_IsFreeColonist()
L_0117: brfalse Label13
L_011c: ldloc.0
L_011d: ldc.i4.1
L_011e: add
L_011f: stloc.0
L_0120: Label11
L_0120: Label12
L_0120: Label13
L_0120: ldloc.s 6 (System.Int32)
L_0122: ldc.i4.1
L_0123: add
L_0124: stloc.s 6 (System.Int32)
L_0126: Label10
L_0126: ldloc.s 6 (System.Int32)
L_0128: ldarg.0
L_0129: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_012e: callvirt Int32 get_Count()
L_0133: blt Label14
L_0138: Label8
L_0138: ldloc.3
L_0139: ldc.i4.1
L_013a: add
L_013b: stloc.3
L_013c: Label4
L_013c: ldloc.3
L_013d: ldloc.2
L_013e: callvirt Int32 get_Count()
L_0143: blt Label15
L_0148: ldarg.0
L_0149: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_014e: callvirt Void Clear()
L_0153: ldloc.0
L_0154: stloc 8 (System.Int32)
L_0156: ldarg.0
L_0157: ldloca 8 (System.Int32)
L_0159: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_015e: ldloc 8 (System.Int32)
L_0160: ret
DONE

### Patch Verse.Pawn_HealthTracker, Boolean ShouldBeDowned()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean VehicleShouldBeDowned(Verse.Pawn_HealthTracker, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean get_InPainShock()
L_0019: brtrue Label1
L_001e: ldarg.0
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: callvirt Boolean get_CanBeAwake()
L_0029: brfalse Label2
L_002e: ldarg.0
L_002f: ldfld Verse.PawnCapacitiesHandler capacities
L_0034: ldsfld Verse.PawnCapacityDef Moving
L_0039: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_003e: ldc.i4.0
L_003f: ceq
L_0041: br Label3
L_0046: Label1
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: stloc 0 (System.Boolean)
L_0048: Label0
L_0048: ldloc 0 (System.Boolean)
L_0049: ret
DONE

### Patch Verse.PawnDownedWiggler, Void WigglerTick()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: call Boolean VehicleShouldWiggle(Verse.PawnDownedWiggler)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld Verse.Pawn pawn
L_0011: callvirt Boolean get_Downed()
L_0016: brfalse Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: callvirt Boolean get_Spawned()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: ldfld Verse.Pawn pawn
L_0031: call Boolean InBed(Verse.Pawn)
L_0036: brtrue Label3
L_003b: ldarg.0
L_003c: dup
L_003d: ldfld System.Int32 ticksToIncapIcon
L_0042: ldc.i4.1
L_0043: sub
L_0044: stfld System.Int32 ticksToIncapIcon
L_0049: ldarg.0
L_004a: ldfld System.Int32 ticksToIncapIcon
L_004f: ldc.i4.0
L_0050: bgt Label4
L_0055: ldarg.0
L_0056: ldfld Verse.Pawn pawn
L_005b: callvirt IntVec3 get_Position()
L_0060: ldarg.0
L_0061: ldfld Verse.Pawn pawn
L_0066: callvirt Verse.Map get_Map()
L_006b: ldsfld Verse.ThingDef Mote_IncapIcon
L_0070: call Verse.Mote ThrowMetaIcon(IntVec3, Verse.Map, Verse.ThingDef)
L_0075: pop
L_0076: ldarg.0
L_0077: ldc.i4 200
L_007c: stfld System.Int32 ticksToIncapIcon
L_0081: Label4
L_0081: ldarg.0
L_0082: ldfld Verse.Pawn pawn
L_0087: call Boolean Awake(Verse.Pawn)
L_008c: brfalse Label5
L_0091: call Verse.TickManager get_TickManager()
L_0096: callvirt Int32 get_TicksGame()
L_009b: ldc.i4 300
L_00a0: rem
L_00a1: ldc.i4.2
L_00a2: mul
L_00a3: stloc.0
L_00a4: ldloc.0
L_00a5: ldc.i4.s 90
L_00a7: bge Label6
L_00ac: ldarg.0
L_00ad: dup
L_00ae: ldfld System.Single downedAngle
L_00b3: ldc.r4 0.35
L_00b8: add
L_00b9: stfld System.Single downedAngle
L_00be: br Label7
L_00c3: Label6
L_00c3: ldloc.0
L_00c4: ldc.i4 390
L_00c9: bge Label8
L_00ce: ldloc.0
L_00cf: ldc.i4 300
L_00d4: blt Label9
L_00d9: ldarg.0
L_00da: dup
L_00db: ldfld System.Single downedAngle
L_00e0: ldc.r4 0.35
L_00e5: sub
L_00e6: stfld System.Single downedAngle
L_00eb: Label1
L_00eb: Label2
L_00eb: Label3
L_00eb: Label5
L_00eb: Label7
L_00eb: Label8
L_00eb: Label9
L_00eb: Label0
L_00eb: ret
DONE

### Patch Verse.VerbTracker, IEnumerable`1 GetVerbsCommands(KeyCode)


L_0000: Local var 0: Verse.VerbTracker+<GetVerbsCommands>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Command,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0002: ldarg.0
L_0003: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0005: ldarg 1
L_000b: call Boolean GetVerbsCommands_PreFix(Verse.VerbTracker, IEnumerable`1
ByRef, KeyCode)
L_0010: brfalse Label0
L_0015: newobj Void .ctor()
L_001a: stloc.0
L_001b: ldloc.0
L_001c: ldarg.0
L_001d: stfld Verse.VerbTracker $this
L_0022: ldloc.0
L_0023: dup
L_0024: ldc.i4.s -2
L_0026: stfld System.Int32 $PC
L_002b: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002c: Label0
L_002c: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002d: ret
DONE

### Patch RimWorld.PawnUtility, Boolean


IsTravelingInTransportPodWorldObject(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean IsWorldPawn(Verse.Pawn)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean AnyParentIs[ActiveDropPodInfo](Verse.Thing)
L_0017: br Label2
L_001c: Label1
L_001c: ldc.i4.0
L_001d: Label2
L_001d: stloc 0 (System.Boolean)
L_001e: ldloca 0 (System.Boolean)
L_0020: ldarg 0
L_0026: call Void PreventAssigningRandomFaction(Boolean ByRef, Verse.Pawn)
L_002b: ldloc 0 (System.Boolean)
L_002c: ret
DONE

### Patch RimWorld.SocialCardUtility, Void Recache(Verse.Pawn)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: Local var 5: System.Int32
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: RimWorld.SocialCardUtility+CachedSocialTabEntry
L_0000: Local var 9: System.Int32
L_0000: ldarg 0
L_0006: call Boolean SocialTabNullHandling(Verse.Pawn)
L_000b: brfalse Label0
L_0010: ldarg.0
L_0011: stsfld Verse.Pawn cachedForPawn
L_0016: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_001b: callvirt Void Clear()
L_0020: ldarg.0
L_0021: ldfld RimWorld.Pawn_RelationsTracker relations
L_0026: callvirt IEnumerable`1 get_RelatedPawns()
L_002b: callvirt IEnumerator`1 GetEnumerator()
L_0030: stloc.1
.try
{
L_0031: br Label1
L_0036: Label4
L_0036: ldloc.1
L_0037: callvirt Verse.Pawn get_Current()
L_003c: stloc.0
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_0044: brtrue Label2
L_0049: leave Label3
L_004e: Label2
L_004e: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0053: ldloc.0
L_0054: callvirt Boolean Add(Verse.Pawn)
L_0059: pop
L_005a: Label1
L_005a: Label3
L_005a: ldloc.1
L_005b: callvirt Boolean MoveNext()
L_0060: brtrue Label4
L_0065: leave Label5
L_006a: leave (autogenerated)
} // end try
.finally
{
L_006f: ldloc.1
L_0070: brfalse Label6
L_0075: ldloc.1
L_0076: callvirt Void Dispose()
L_007b: Label6
L_007b: endfinally
L_007c: leave (autogenerated)
} // end handler
L_007d: Label5
L_007d: ldnull
L_007e: stloc.2
L_007f: ldarg.0
L_0080: callvirt Verse.Map get_MapHeld()
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: callvirt Verse.Map get_MapHeld()
L_0090: ldfld Verse.MapPawns mapPawns
L_0095: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_009a: stloc.2
L_009b: br Label8
L_00a0: Label7
L_00a0: ldarg.0
L_00a1: call Boolean IsCaravanMember(Verse.Pawn)
L_00a6: brfalse Label9
L_00ab: ldarg.0
L_00ac: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_00b1: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_00b6: stloc.2
L_00b7: Label8
L_00b7: Label9
L_00b7: ldloc.2
L_00b8: brfalse Label10
L_00bd: ldc.i4.0
L_00be: stloc.3
L_00bf: br Label11
L_00c4: Label20
L_00c4: ldloc.2
L_00c5: ldloc.3
L_00c6: callvirt Verse.Pawn get_Item(Int32)
L_00cb: stloc.s 4 (Verse.Pawn)
L_00cd: ldloc.s 4 (Verse.Pawn)
L_00cf: callvirt Verse.RaceProperties get_RaceProps()
L_00d4: callvirt Boolean get_Humanlike()
L_00d9: brfalse Label12
L_00de: ldloc.s 4 (Verse.Pawn)
L_00e0: ldarg.0
L_00e1: beq Label13
L_00e6: ldloc.s 4 (Verse.Pawn)
L_00e8: ldarg.0
L_00e9: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_00ee: brfalse Label14
L_00f3: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_00f8: ldloc.s 4 (Verse.Pawn)
L_00fa: callvirt Boolean Contains(Verse.Pawn)
L_00ff: brfalse Label15
L_0104: Label12
L_0104: Label13
L_0104: Label14
L_0104: br Label16
L_0109: Label15
L_0109: ldarg.0
L_010a: ldfld RimWorld.Pawn_RelationsTracker relations
L_010f: ldloc.s 4 (Verse.Pawn)
L_0111: callvirt Int32 OpinionOf(Verse.Pawn)
L_0116: brtrue Label17
L_011b: ldloc.s 4 (Verse.Pawn)
L_011d: ldfld RimWorld.Pawn_RelationsTracker relations
L_0122: ldarg.0
L_0123: callvirt Int32 OpinionOf(Verse.Pawn)
L_0128: brtrue Label18
L_012d: br Label19
L_0132: Label17
L_0132: Label18
L_0132: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0137: ldloc.s 4 (Verse.Pawn)
L_0139: callvirt Boolean Add(Verse.Pawn)
L_013e: pop
L_013f: Label16
L_013f: Label19
L_013f: ldloc.3
L_0140: ldc.i4.1
L_0141: add
L_0142: stloc.3
L_0143: Label11
L_0143: ldloc.3
L_0144: ldloc.2
L_0145: callvirt Int32 get_Count()
L_014a: blt Label20
L_014f: Label10
L_014f: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0154: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0159: brtrue Label21
L_015e: ldnull
L_015f: ldftn Boolean
<Recache>m__0(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0165: newobj Void .ctor(Object, IntPtr)
L_016a: stsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_016f: Label21
L_016f: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0174: callvirt Int32
RemoveAll(System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry])
L_0179: pop
L_017a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_017f: callvirt Void Clear()
L_0184: ldc.i4.0
L_0185: stloc.s 5 (System.Int32)
L_0187: br Label22
L_018c: Label23
L_018c: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0191: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0196: ldloc.s 5 (System.Int32)
L_0198: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_019d: ldfld Verse.Pawn otherPawn
L_01a2: callvirt Boolean Add(Verse.Pawn)
L_01a7: pop
L_01a8: ldloc.s 5 (System.Int32)
L_01aa: ldc.i4.1
L_01ab: add
L_01ac: stloc.s 5 (System.Int32)
L_01ae: Label22
L_01ae: ldloc.s 5 (System.Int32)
L_01b0: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_01b5: callvirt Int32 get_Count()
L_01ba: blt Label23
L_01bf: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_01c4: callvirt Enumerator GetEnumerator()
L_01c9: stloc.s 7 (System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
.try
{
L_01cb: br Label24
L_01d0: Label27
L_01d0: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_01d2: call Verse.Pawn get_Current()
L_01d7: stloc.s 6 (Verse.Pawn)
L_01d9: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_01de: ldloc.s 6 (Verse.Pawn)
L_01e0: callvirt Boolean Contains(Verse.Pawn)
L_01e5: brfalse Label25
L_01ea: leave Label26
L_01ef: Label25
L_01ef: newobj Void .ctor()
L_01f4: stloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f6: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f8: ldloc.s 6 (Verse.Pawn)
L_01fa: stfld Verse.Pawn otherPawn
L_01ff: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0204: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0206: callvirt Void Add(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_020b: Label24
L_020b: Label26
L_020b: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_020d: call Boolean MoveNext()
L_0212: brtrue Label27
L_0217: leave Label28
L_021c: leave (autogenerated)
} // end try
.finally
{
L_0221: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_0223: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn]
L_0229: callvirt Void Dispose()
L_022e: endfinally
L_022f: leave (autogenerated)
} // end handler
L_0230: Label28
L_0230: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0235: callvirt Void Clear()
L_023a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_023f: callvirt Void Clear()
L_0244: ldc.i4.0
L_0245: stloc.s 9 (System.Int32)
L_0247: br Label29
L_024c: Label30
L_024c: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0251: ldloc.s 9 (System.Int32)
L_0253: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_0258: ldarg.0
L_0259: call Void RecacheEntry(RimWorld.SocialCardUtility+CachedSocialTabEntry,
Verse.Pawn)
L_025e: ldloc.s 9 (System.Int32)
L_0260: ldc.i4.1
L_0261: add
L_0262: stloc.s 9 (System.Int32)
L_0264: Label29
L_0264: ldloc.s 9 (System.Int32)
L_0266: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_026b: callvirt Int32 get_Count()
L_0270: blt Label30
L_0275: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_027a: ldsfld RimWorld.SocialCardUtility+CachedSocialTabEntryComparer
CachedEntriesComparer
L_027f: callvirt Void Sort(IComparer`1)
L_0284: Label0
L_0284: ret
DONE

### Patch Verse.Pawn, Boolean get_IsColonistPlayerControlled()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean get_Spawned()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean get_IsColonist()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: call Verse.MentalStateDef get_MentalStateDef()
L_0022: brtrue Label3
L_0027: ldarg.0
L_0028: call RimWorld.Faction get_HostFaction()
L_002d: ldnull
L_002e: ceq
L_0030: br Label4
L_0035: Label1
L_0035: Label2
L_0035: Label3
L_0035: ldc.i4.0
L_0036: Label4
L_0036: stloc 0 (System.Boolean)
L_0037: ldarg.0
L_0038: ldloca 0 (System.Boolean)
L_003a: call Void IncludeVehiclesInIsColonistPlayerControlled(Verse.Pawn, Boolean
ByRef)
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.Pawn, Boolean CurrentlyUsableForBills()


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InBed(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldsfld System.String NotSurgeryReadyTrans
L_0016: ldnull
L_0017: call Void Is(System.String, System.String)
L_001c: ldc.i4.0
L_001d: br Label3
L_0022: Label1
L_0022: ldarg.0
L_0023: callvirt IntVec3 get_InteractionCell()
L_0028: stloc.0
L_0029: ldloca.s 0 (Verse.IntVec3)
L_002b: call Boolean get_IsValid()
L_0030: brtrue Label2
L_0035: ldsfld System.String CannotReachTrans
L_003a: ldnull
L_003b: call Void Is(System.String, System.String)
L_0040: ldc.i4.0
L_0041: br Label4
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: Label4
L_0047: stloc 1 (System.Boolean)
L_0048: ldarg.0
L_0049: ldloca 1 (System.Boolean)
L_004b: call Void CantUseMovingVehicles(Verse.Pawn, Boolean ByRef)
L_0050: ldloc 1 (System.Boolean)
L_0051: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ret
DONE

### Patch Verse.Verb_Shoot, Boolean TryCastShot()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 1 (System.Boolean)
L_0009: call Boolean CanVehicleShoot(Verse.Verb_Shoot, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean TryCastShot()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: brfalse Label1
L_0020: ldarg.0
L_0021: call Boolean get_CasterIsPawn()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: call Verse.Pawn get_CasterPawn()
L_0031: ldfld RimWorld.Pawn_RecordsTracker records
L_0036: ldsfld RimWorld.RecordDef ShotsFired
L_003b: callvirt Void Increment(RimWorld.RecordDef)
L_0040: Label1
L_0040: Label2
L_0040: ldloc.0
L_0041: stloc 1 (System.Boolean)
L_0042: Label0
L_0042: ldloc 1 (System.Boolean)
L_0043: ret
DONE

### Patch RimWorld.GameEnder, Boolean


IsPlayerControlledWithFreeColonist(RimWorld.Planet.Caravan)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsPlayerControlled()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label6
L_0017: Label1
L_0017: ldarg.1
L_0018: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_001d: stloc.0
L_001e: ldc.i4.0
L_001f: stloc.1
L_0020: br Label2
L_0025: Label5
L_0025: ldloc.0
L_0026: ldloc.1
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stloc.2
L_002d: ldloc.2
L_002e: callvirt Boolean get_IsColonist()
L_0033: brfalse Label3
L_0038: ldloc.2
L_0039: callvirt RimWorld.Faction get_HostFaction()
L_003e: brtrue Label4
L_0043: ldc.i4.1
L_0044: br Label7
L_0049: Label3
L_0049: Label4
L_0049: ldloc.1
L_004a: ldc.i4.1
L_004b: add
L_004c: stloc.1
L_004d: Label2
L_004d: ldloc.1
L_004e: ldloc.0
L_004f: callvirt Int32 get_Count()
L_0054: blt Label5
L_0059: ldc.i4.0
L_005a: Label6
L_005a: Label7
L_005a: stloc 3 (System.Boolean)
L_005b: ldarg 1
L_0061: ldloca 3 (System.Boolean)
L_0063: call Void CanEndGame(RimWorld.Planet.Caravan, Boolean ByRef)
L_0068: ldloc 3 (System.Boolean)
L_0069: ret
DONE

### Patch RimWorld.RestUtility, RimWorld.Building_Bed FindBedFor(Verse.Pawn,


Verse.Pawn, Boolean, Boolean, Boolean)
L_0000: Local var 0: RimWorld.RestUtility+<FindBedFor>c__AnonStorey0
L_0000: Local var 1: RimWorld.Building_Bed
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: Verse.Pawn
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.ThingDef
L_0000: Local var 9: System.Int32
L_0000: Local var 10: RimWorld.RestUtility+<FindBedFor>c__AnonStorey1
L_0000: Local var 11: RimWorld.Building_Bed
L_0000: Local var 12: RimWorld.DirectPawnRelation
L_0000: Local var 13: RimWorld.Building_Bed
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.RestUtility+<FindBedFor>c__AnonStorey2
L_0000: Local var 16: System.Int32
L_0000: Local var 17: Verse.ThingDef
L_0000: Local var 18: RimWorld.Building_Bed
L_0000: Local var 19: RimWorld.Building_Bed
L_0000: ldnull
L_0001: stloc 19 (RimWorld.Building_Bed)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: stfld Verse.Pawn sleeper
L_0010: ldloc.0
L_0011: ldarg.1
L_0012: stfld Verse.Pawn traveler
L_0017: ldloc.0
L_0018: ldarg.2
L_0019: stfld System.Boolean sleeperWillBePrisoner
L_001e: ldloc.0
L_001f: ldarg.3
L_0020: stfld System.Boolean checkSocialProperness
L_0025: ldloc.0
L_0026: ldarg.s 4
L_0028: stfld System.Boolean ignoreOtherReservations
L_002d: ldloc.0
L_002e: ldfld Verse.Pawn sleeper
L_0033: call Boolean ShouldSeekMedicalRest(Verse.Pawn)
L_0038: brfalse Label1
L_003d: ldloc.0
L_003e: ldfld Verse.Pawn sleeper
L_0043: call Boolean InBed(Verse.Pawn)
L_0048: brfalse Label2
L_004d: ldloc.0
L_004e: ldfld Verse.Pawn sleeper
L_0053: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_0058: callvirt Boolean get_Medical()
L_005d: brfalse Label3
L_0062: ldloc.0
L_0063: ldfld Verse.Pawn sleeper
L_0068: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006d: stloc.1
L_006e: ldloc.0
L_006f: ldfld Verse.Pawn sleeper
L_0074: stloc.2
L_0075: ldloc.0
L_0076: ldfld Verse.Pawn traveler
L_007b: stloc.3
L_007c: ldloc.0
L_007d: ldfld System.Boolean sleeperWillBePrisoner
L_0082: stloc.s 4 (System.Boolean)
L_0084: ldloc.0
L_0085: ldfld System.Boolean checkSocialProperness
L_008a: stloc.s 5 (System.Boolean)
L_008c: ldloc.0
L_008d: ldfld System.Boolean ignoreOtherReservations
L_0092: stloc.s 6 (System.Boolean)
L_0094: ldloc.1
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: ldloc.s 4 (System.Boolean)
L_0099: ldloc.s 5 (System.Boolean)
L_009b: ldc.i4.0
L_009c: ldloc.s 6 (System.Boolean)
L_009e: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_00a3: brfalse Label4
L_00a8: ldloc.0
L_00a9: ldfld Verse.Pawn sleeper
L_00ae: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_00b3: br Label29
L_00b8: Label2
L_00b8: Label3
L_00b8: Label4
L_00b8: ldc.i4.0
L_00b9: stloc.s 7 (System.Int32)
L_00bb: br Label5
L_00c0: Label13
L_00c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_00c5: ldloc.s 7 (System.Int32)
L_00c7: callvirt Verse.ThingDef get_Item(Int32)
L_00cc: stloc.s 8 (Verse.ThingDef)
L_00ce: ldloc.0
L_00cf: ldfld Verse.Pawn sleeper
L_00d4: ldloc.s 8 (Verse.ThingDef)
L_00d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_00db: brtrue Label6
L_00e0: br Label7
L_00e5: Label6
L_00e5: ldc.i4.0
L_00e6: stloc.s 9 (System.Int32)
L_00e8: br Label8
L_00ed: Label12
L_00ed: newobj Void .ctor()
L_00f2: stloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f4: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f6: ldloc.0
L_00f7: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_00fc: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00fe: ldloc.s 9 (System.Int32)
L_0100: brtrue Label9
L_0105: ldc.i4.1
L_0106: br Label10
L_010b: Label9
L_010b: ldc.i4.3
L_010c: Label10
L_010c: stfld Verse.Danger maxDanger
L_0111: ldloc.0
L_0112: ldfld Verse.Pawn sleeper
L_0117: callvirt IntVec3 get_Position()
L_011c: ldloc.0
L_011d: ldfld Verse.Pawn sleeper
L_0122: callvirt Verse.Map get_Map()
L_0127: ldloc.s 8 (Verse.ThingDef)
L_0129: call ThingRequest ForDef(Verse.ThingDef)
L_012e: ldc.i4.1
L_012f: ldloc.0
L_0130: ldfld Verse.Pawn traveler
L_0135: ldc.i4.3
L_0136: ldc.i4.0
L_0137: ldc.i4.0
L_0138: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_013d: ldc.r4 9999
L_0142: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_0144: ldftn Boolean <>m__0(Verse.Thing)
L_014a: newobj Void .ctor(Object, IntPtr)
L_014f: ldnull
L_0150: ldc.i4.0
L_0151: ldc.i4.m1
L_0152: ldc.i4.0
L_0153: ldc.i4.6
L_0154: ldc.i4.0
L_0155: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_015a: castclass RimWorld.Building_Bed
L_015f: stloc.s 11 (RimWorld.Building_Bed)
L_0161: ldloc.s 11 (RimWorld.Building_Bed)
L_0163: brfalse Label11
L_0168: ldloc.s 11 (RimWorld.Building_Bed)
L_016a: br Label30
L_016f: Label11
L_016f: ldloc.s 9 (System.Int32)
L_0171: ldc.i4.1
L_0172: add
L_0173: stloc.s 9 (System.Int32)
L_0175: Label8
L_0175: ldloc.s 9 (System.Int32)
L_0177: ldc.i4.2
L_0178: blt Label12
L_017d: Label7
L_017d: ldloc.s 7 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 7 (System.Int32)
L_0183: Label5
L_0183: ldloc.s 7 (System.Int32)
L_0185: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_018a: callvirt Int32 get_Count()
L_018f: blt Label13
L_0194: Label1
L_0194: ldloc.0
L_0195: ldfld Verse.Pawn sleeper
L_019a: ldfld RimWorld.Pawn_Ownership ownership
L_019f: brfalse Label14
L_01a4: ldloc.0
L_01a5: ldfld Verse.Pawn sleeper
L_01aa: ldfld RimWorld.Pawn_Ownership ownership
L_01af: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01b4: brfalse Label15
L_01b9: ldloc.0
L_01ba: ldfld Verse.Pawn sleeper
L_01bf: ldfld RimWorld.Pawn_Ownership ownership
L_01c4: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01c9: stloc.1
L_01ca: ldloc.0
L_01cb: ldfld Verse.Pawn sleeper
L_01d0: stloc.3
L_01d1: ldloc.0
L_01d2: ldfld Verse.Pawn traveler
L_01d7: stloc.2
L_01d8: ldloc.0
L_01d9: ldfld System.Boolean sleeperWillBePrisoner
L_01de: stloc.s 6 (System.Boolean)
L_01e0: ldloc.0
L_01e1: ldfld System.Boolean checkSocialProperness
L_01e6: stloc.s 5 (System.Boolean)
L_01e8: ldloc.0
L_01e9: ldfld System.Boolean ignoreOtherReservations
L_01ee: stloc.s 4 (System.Boolean)
L_01f0: ldloc.1
L_01f1: ldloc.3
L_01f2: ldloc.2
L_01f3: ldloc.s 6 (System.Boolean)
L_01f5: ldloc.s 5 (System.Boolean)
L_01f7: ldc.i4.0
L_01f8: ldloc.s 4 (System.Boolean)
L_01fa: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_01ff: brfalse Label16
L_0204: ldloc.0
L_0205: ldfld Verse.Pawn sleeper
L_020a: ldfld RimWorld.Pawn_Ownership ownership
L_020f: callvirt RimWorld.Building_Bed get_OwnedBed()
L_0214: br Label31
L_0219: Label14
L_0219: Label15
L_0219: Label16
L_0219: ldloc.0
L_021a: ldfld Verse.Pawn sleeper
L_021f: ldc.i4.0
L_0220: call RimWorld.DirectPawnRelation
ExistingMostLikedLovePartnerRel(Verse.Pawn, Boolean)
L_0225: stloc.s 12 (RimWorld.DirectPawnRelation)
L_0227: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0229: brfalse Label17
L_022e: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0230: ldfld Verse.Pawn otherPawn
L_0235: ldfld RimWorld.Pawn_Ownership ownership
L_023a: callvirt RimWorld.Building_Bed get_OwnedBed()
L_023f: stloc.s 13 (RimWorld.Building_Bed)
L_0241: ldloc.s 13 (RimWorld.Building_Bed)
L_0243: brfalse Label18
L_0248: ldloc.s 13 (RimWorld.Building_Bed)
L_024a: stloc.1
L_024b: ldloc.0
L_024c: ldfld Verse.Pawn sleeper
L_0251: stloc.2
L_0252: ldloc.0
L_0253: ldfld Verse.Pawn traveler
L_0258: stloc.3
L_0259: ldloc.0
L_025a: ldfld System.Boolean sleeperWillBePrisoner
L_025f: stloc.s 4 (System.Boolean)
L_0261: ldloc.0
L_0262: ldfld System.Boolean checkSocialProperness
L_0267: stloc.s 5 (System.Boolean)
L_0269: ldloc.0
L_026a: ldfld System.Boolean ignoreOtherReservations
L_026f: stloc.s 6 (System.Boolean)
L_0271: ldloc.1
L_0272: ldloc.2
L_0273: ldloc.3
L_0274: ldloc.s 4 (System.Boolean)
L_0276: ldloc.s 5 (System.Boolean)
L_0278: ldc.i4.0
L_0279: ldloc.s 6 (System.Boolean)
L_027b: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_0280: brfalse Label19
L_0285: ldloc.s 13 (RimWorld.Building_Bed)
L_0287: br Label32
L_028c: Label17
L_028c: Label18
L_028c: Label19
L_028c: ldc.i4.0
L_028d: stloc.s 14 (System.Int32)
L_028f: br Label20
L_0294: Label28
L_0294: newobj Void .ctor()
L_0299: stloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029b: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029d: ldloc.0
L_029e: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_02a3: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_02a5: ldloc.s 14 (System.Int32)
L_02a7: brtrue Label21
L_02ac: ldc.i4.1
L_02ad: br Label22
L_02b2: Label21
L_02b2: ldc.i4.3
L_02b3: Label22
L_02b3: stfld Verse.Danger maxDanger
L_02b8: ldc.i4.0
L_02b9: stloc.s 16 (System.Int32)
L_02bb: br Label23
L_02c0: Label27
L_02c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_02c5: ldloc.s 16 (System.Int32)
L_02c7: callvirt Verse.ThingDef get_Item(Int32)
L_02cc: stloc.s 17 (Verse.ThingDef)
L_02ce: ldloc.0
L_02cf: ldfld Verse.Pawn sleeper
L_02d4: ldloc.s 17 (Verse.ThingDef)
L_02d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_02db: brtrue Label24
L_02e0: br Label25
L_02e5: Label24
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn sleeper
L_02eb: callvirt IntVec3 get_Position()
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn sleeper
L_02f6: callvirt Verse.Map get_Map()
L_02fb: ldloc.s 17 (Verse.ThingDef)
L_02fd: call ThingRequest ForDef(Verse.ThingDef)
L_0302: ldc.i4.1
L_0303: ldloc.0
L_0304: ldfld Verse.Pawn traveler
L_0309: ldc.i4.3
L_030a: ldc.i4.0
L_030b: ldc.i4.0
L_030c: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0311: ldc.r4 9999
L_0316: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_0318: ldftn Boolean <>m__0(Verse.Thing)
L_031e: newobj Void .ctor(Object, IntPtr)
L_0323: ldnull
L_0324: ldc.i4.0
L_0325: ldc.i4.m1
L_0326: ldc.i4.0
L_0327: ldc.i4.6
L_0328: ldc.i4.0
L_0329: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_032e: castclass RimWorld.Building_Bed
L_0333: stloc.s 18 (RimWorld.Building_Bed)
L_0335: ldloc.s 18 (RimWorld.Building_Bed)
L_0337: brfalse Label26
L_033c: ldloc.s 18 (RimWorld.Building_Bed)
L_033e: br Label33
L_0343: Label25
L_0343: Label26
L_0343: ldloc.s 16 (System.Int32)
L_0345: ldc.i4.1
L_0346: add
L_0347: stloc.s 16 (System.Int32)
L_0349: Label23
L_0349: ldloc.s 16 (System.Int32)
L_034b: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_0350: callvirt Int32 get_Count()
L_0355: blt Label27
L_035a: ldloc.s 14 (System.Int32)
L_035c: ldc.i4.1
L_035d: add
L_035e: stloc.s 14 (System.Int32)
L_0360: Label20
L_0360: ldloc.s 14 (System.Int32)
L_0362: ldc.i4.2
L_0363: blt Label28
L_0368: ldnull
L_0369: Label29
L_0369: Label30
L_0369: Label31
L_0369: Label32
L_0369: Label33
L_0369: stloc 19 (RimWorld.Building_Bed)
L_036b: ldloca 19 (RimWorld.Building_Bed)
L_036d: ldarg 0
L_0373: call Void DontRescueVehicles(RimWorld.Building_Bed ByRef, Verse.Pawn)
L_0378: ldloc 19 (RimWorld.Building_Bed)
L_037a: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ret
DONE

### Patch RimWorld.BaseGen.SymbolResolver_RandomMechanoidGroup, Boolean


<Resolve>m__0(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: stloc 0 (System.Boolean)
L_0012: ldloca 0 (System.Boolean)
L_0014: ldarg 0
L_001a: call Void MechanoidsFixerAncient(Boolean ByRef, Verse.PawnKindDef)
L_001f: ldloc 0 (System.Boolean)
L_0020: ret
DONE

### Patch RimWorld.CompSpawnerMechanoidsOnDamaged, Boolean


<TrySpawnMechanoids>m__1(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: brfalse Label1
L_0016: ldarg.1
L_0017: ldfld System.Boolean isFighter
L_001c: brfalse Label2
L_0021: ldarg.1
L_0022: ldfld System.Single combatPower
L_0027: ldarg.0
L_0028: ldfld System.Single pointsLeft
L_002d: cgt.un
L_002f: ldc.i4.0
L_0030: ceq
L_0032: br Label3
L_0037: Label1
L_0037: Label2
L_0037: ldc.i4.0
L_0038: Label3
L_0038: stloc 0 (System.Boolean)
L_0039: ldloca 0 (System.Boolean)
L_003b: ldarg 1
L_0041: call Void MechanoidsFixer(Boolean ByRef, Verse.PawnKindDef)
L_0046: ldloc 0 (System.Boolean)
L_0047: ret
DONE

### Patch RimWorld.ThinkNode_ConditionalColonist, Boolean Satisfied(Verse.Pawn)


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsColonist()
L_000c: stloc 0 (System.Boolean)
L_000d: ldarg 1
L_0013: ldloca 0 (System.Boolean)
L_0015: call Void Satisfied_PostFix(Verse.Pawn, Boolean ByRef)
L_001a: ldloc 0 (System.Boolean)
L_001b: ret
DONE

### Patch RimWorld.JobGiver_Haul, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: RimWorld.JobGiver_Haul+<TryGiveJob>c__AnonStorey0
L_0000: Local var 1: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldarg 1
L_0008: ldloca 3 (Verse.AI.Job)
L_000a: call Boolean TryGiveJob_PreFix(Verse.Pawn, Verse.AI.Job ByRef)
L_000f: brfalse Label0
L_0014: newobj Void .ctor()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: ldarg.1
L_001c: stfld Verse.Pawn pawn
L_0021: ldloc.0
L_0022: ldftn Boolean <>m__0(Verse.Thing)
L_0028: newobj Void .ctor(Object, IntPtr)
L_002d: stloc.1
L_002e: ldloc.0
L_002f: ldfld Verse.Pawn pawn
L_0034: callvirt IntVec3 get_Position()
L_0039: ldloc.0
L_003a: ldfld Verse.Pawn pawn
L_003f: callvirt Verse.Map get_Map()
L_0044: ldloc.0
L_0045: ldfld Verse.Pawn pawn
L_004a: callvirt Verse.Map get_Map()
L_004f: ldfld RimWorld.ListerHaulables listerHaulables
L_0054: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsPotentiallyNeedingHauling()
L_0059: ldc.i4.1
L_005a: ldloc.0
L_005b: ldfld Verse.Pawn pawn
L_0060: ldc.i4.3
L_0061: ldc.i4.0
L_0062: ldc.i4.0
L_0063: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0068: ldc.r4 9999
L_006d: ldloc.1
L_006e: ldnull
L_006f: call Verse.Thing ClosestThing_Global_Reachable(IntVec3, Verse.Map,
IEnumerable`1, PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing],
System.Func`2[Verse.Thing,System.Single])
L_0074: stloc.2
L_0075: ldloc.2
L_0076: brfalse Label1
L_007b: ldloc.0
L_007c: ldfld Verse.Pawn pawn
L_0081: ldloc.2
L_0082: call Verse.AI.Job HaulToStorageJob(Verse.Pawn, Verse.Thing)
L_0087: br Label2
L_008c: Label1
L_008c: ldnull
L_008d: Label2
L_008d: stloc 3 (Verse.AI.Job)
L_008e: Label0
L_008e: ldloc 3 (Verse.AI.Job)
L_008f: ret
DONE

### Patch Verse.AI.JobGiver_Orders, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 0 (Verse.AI.Job)
L_0002: ldarg.1
L_0003: callvirt Boolean get_Drafted()
L_0008: brfalse Label1
L_000d: ldsfld Verse.JobDef Wait_Combat
L_0012: ldarg.1
L_0013: callvirt IntVec3 get_Position()
L_0018: call LocalTargetInfo op_Implicit(IntVec3)
L_001d: newobj Void .ctor(JobDef, LocalTargetInfo)
L_0022: br Label2
L_0027: Label1
L_0027: ldnull
L_0028: Label2
L_0028: stloc 0 (Verse.AI.Job)
L_0029: ldloca 0 (Verse.AI.Job)
L_002b: ldarg 1
L_0031: call Void PreventWaitAttackError(Verse.AI.Job ByRef, Verse.Pawn)
L_0036: ldloc 0 (Verse.AI.Job)
L_0037: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemDuties(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldc.i4.0
L_000c: stloc.0
L_000d: br Label1
L_0012: Label6
L_0012: ldarg.0
L_0013: ldfld Verse.AI.Group.Lord lord
L_0018: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_001d: ldloc.0
L_001e: callvirt Verse.Pawn get_Item(Int32)
L_0023: stloc.1
L_0024: ldloc.1
L_0025: callvirt Boolean get_IsColonist()
L_002a: brfalse Label2
L_002f: ldloc.1
L_0030: ldfld Verse.AI.Pawn_MindState mindState
L_0035: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherItems
L_003a: newobj Void .ctor(DutyDef)
L_003f: stfld Verse.AI.PawnDuty duty
L_0044: br Label3
L_0049: Label2
L_0049: ldloc.1
L_004a: callvirt Verse.RaceProperties get_RaceProps()
L_004f: callvirt Boolean get_Animal()
L_0054: brfalse Label4
L_0059: ldloc.1
L_005a: ldfld Verse.AI.Pawn_MindState mindState
L_005f: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0064: ldarg.0
L_0065: ldfld Verse.IntVec3 meetingPoint
L_006a: call LocalTargetInfo op_Implicit(IntVec3)
L_006f: ldc.r4 -1
L_0074: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_0079: stfld Verse.AI.PawnDuty duty
L_007e: br Label5
L_0083: Label4
L_0083: ldloc.1
L_0084: ldfld Verse.AI.Pawn_MindState mindState
L_0089: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_008e: newobj Void .ctor(DutyDef)
L_0093: stfld Verse.AI.PawnDuty duty
L_0098: Label3
L_0098: Label5
L_0098: ldloc.0
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.0
L_009c: Label1
L_009c: ldloc.0
L_009d: ldarg.0
L_009e: ldfld Verse.AI.Group.Lord lord
L_00a3: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_00a8: callvirt Int32 get_Count()
L_00ad: blt Label6
L_00b2: Label0
L_00b2: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherAnimals, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadAnimalDuties(RimWorld.LordToil_PrepareCaravan_GatherAnimals)
L_0006: ldc.i4.0
L_0007: stloc.0
L_0008: br Label1
L_000d: Label5
L_000d: ldarg.0
L_000e: ldfld Verse.AI.Group.Lord lord
L_0013: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0018: ldloc.0
L_0019: callvirt Verse.Pawn get_Item(Int32)
L_001e: stloc.1
L_001f: ldloc.1
L_0020: callvirt Boolean get_IsColonist()
L_0025: brtrue Label2
L_002a: ldloc.1
L_002b: callvirt Verse.RaceProperties get_RaceProps()
L_0030: callvirt Boolean get_Animal()
L_0035: brfalse Label3
L_003a: Label2
L_003a: ldloc.1
L_003b: ldfld Verse.AI.Pawn_MindState mindState
L_0040: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherPawns
L_0045: ldarg.0
L_0046: ldfld Verse.IntVec3 meetingPoint
L_004b: call LocalTargetInfo op_Implicit(IntVec3)
L_0050: ldc.r4 -1
L_0055: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_005a: stfld Verse.AI.PawnDuty duty
L_005f: ldloc.1
L_0060: ldfld Verse.AI.Pawn_MindState mindState
L_0065: ldfld Verse.AI.PawnDuty duty
L_006a: ldc.i4.1
L_006b: stfld RimWorld.PawnsToGather pawnsToGather
L_0070: br Label4
L_0075: Label3
L_0075: ldloc.1
L_0076: ldfld Verse.AI.Pawn_MindState mindState
L_007b: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0080: newobj Void .ctor(DutyDef)
L_0085: stfld Verse.AI.PawnDuty duty
L_008a: Label4
L_008a: ldloc.0
L_008b: ldc.i4.1
L_008c: add
L_008d: stloc.0
L_008e: Label1
L_008e: ldloc.0
L_008f: ldarg.0
L_0090: ldfld Verse.AI.Group.Lord lord
L_0095: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_009a: callvirt Int32 get_Count()
L_009f: blt Label5
L_00a4: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherSlaves, Void LordToilTick()


L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadSlaveDuties(RimWorld.LordToil_PrepareCaravan_GatherSlaves)
L_0006: call Verse.TickManager get_TickManager()
L_000b: callvirt Int32 get_TicksGame()
L_0010: ldc.i4.s 100
L_0012: rem
L_0013: brtrue Label1
L_0018: ldarg.0
L_0019: ldfld Verse.AI.Group.Lord lord
L_001e: ldarg.0
L_001f: ldfld Verse.IntVec3 meetingPoint
L_0024: ldstr "AllSlavesGathered"
L_0029: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_002e: brtrue Label2
L_0033: ldnull
L_0034: ldftn Boolean <LordToilTick>m__0(Verse.Pawn)
L_003a: newobj Void .ctor(Object, IntPtr)
L_003f: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0044: Label2
L_0044: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0049: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_004e: brtrue Label3
L_0053: ldnull
L_0054: ldftn Boolean IsFollowingAnyone(Verse.Pawn)
L_005a: newobj Void .ctor(Object, IntPtr)
L_005f: stsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0064: Label3
L_0064: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0069: call Void CheckArrived(Verse.AI.Group.Lord, IntVec3, System.String,
System.Predicate`1[Verse.Pawn], System.Predicate`1[Verse.Pawn])
L_006e: Label1
L_006e: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void LordToilTick()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemToil(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void LordToilTick()
L_0011: call Verse.TickManager get_TickManager()
L_0016: callvirt Int32 get_TicksGame()
L_001b: ldc.i4.s 120
L_001d: rem
L_001e: brtrue Label1
L_0023: ldc.i4.1
L_0024: stloc.0
L_0025: ldc.i4.0
L_0026: stloc.1
L_0027: br Label2
L_002c: Label6
L_002c: ldarg.0
L_002d: ldfld Verse.AI.Group.Lord lord
L_0032: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0037: ldloc.1
L_0038: callvirt Verse.Pawn get_Item(Int32)
L_003d: stloc.2
L_003e: ldloc.2
L_003f: callvirt Boolean get_IsColonist()
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldfld Verse.AI.Pawn_MindState mindState
L_004f: ldfld Verse.AI.JobTag lastJobTag
L_0054: ldc.i4.8
L_0055: beq Label4
L_005a: ldc.i4.0
L_005b: stloc.0
L_005c: br Label5
L_0061: Label3
L_0061: Label4
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label2
L_0065: ldloc.1
L_0066: ldarg.0
L_0067: ldfld Verse.AI.Group.Lord lord
L_006c: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0071: callvirt Int32 get_Count()
L_0076: blt Label6
L_007b: Label5
L_007b: ldloc.0
L_007c: brfalse Label7
L_0081: ldarg.0
L_0082: call Verse.Map get_Map()
L_0087: ldfld Verse.MapPawns mapPawns
L_008c: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_0091: stloc.3
L_0092: ldc.i4.0
L_0093: stloc.s 4 (System.Int32)
L_0095: br Label8
L_009a: Label13
L_009a: ldloc.3
L_009b: ldloc.s 4 (System.Int32)
L_009d: callvirt Verse.Pawn get_Item(Int32)
L_00a2: callvirt Verse.AI.Job get_CurJob()
L_00a7: brfalse Label9
L_00ac: ldloc.3
L_00ad: ldloc.s 4 (System.Int32)
L_00af: callvirt Verse.Pawn get_Item(Int32)
L_00b4: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b9: ldfld Verse.AI.JobDriver curDriver
L_00be: isinst RimWorld.JobDriver_PrepareCaravan_GatherItems
L_00c3: brfalse Label10
L_00c8: ldloc.3
L_00c9: ldloc.s 4 (System.Int32)
L_00cb: callvirt Verse.Pawn get_Item(Int32)
L_00d0: callvirt Verse.AI.Job get_CurJob()
L_00d5: ldfld Verse.AI.Group.Lord lord
L_00da: ldarg.0
L_00db: ldfld Verse.AI.Group.Lord lord
L_00e0: bne.un Label11
L_00e5: ldc.i4.0
L_00e6: stloc.0
L_00e7: br Label12
L_00ec: Label9
L_00ec: Label10
L_00ec: Label11
L_00ec: ldloc.s 4 (System.Int32)
L_00ee: ldc.i4.1
L_00ef: add
L_00f0: stloc.s 4 (System.Int32)
L_00f2: Label8
L_00f2: ldloc.s 4 (System.Int32)
L_00f4: ldloc.3
L_00f5: callvirt Int32 get_Count()
L_00fa: blt Label13
L_00ff: Label7
L_00ff: Label12
L_00ff: ldloc.0
L_0100: brfalse Label14
L_0105: ldarg.0
L_0106: ldfld Verse.AI.Group.Lord lord
L_010b: ldstr "AllItemsGathered"
L_0110: callvirt Void ReceiveMemo(System.String)
L_0115: Label1
L_0115: Label14
L_0115: Label0
L_0115: ret
DONE

### Patch RimWorld.Planet.Caravan_NeedsTracker, Void


TrySatisfyPawnNeeds(Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Need, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Need
L_0000: Local var 3: RimWorld.Need_Rest
L_0000: Local var 4: RimWorld.Need_Food
L_0000: Local var 5: RimWorld.Need_Chemical
L_0000: Local var 6: RimWorld.Need_Joy
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean TrySatisfyFuelNeeds(RimWorld.Planet.Caravan_NeedsTracker,
Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: callvirt Boolean get_Dead()
L_0017: brfalse Label1
L_001c: br Label11
L_0021: Label1
L_0021: ldarg.1
L_0022: ldfld RimWorld.Pawn_NeedsTracker needs
L_0027: callvirt System.Collections.Generic.List`1[RimWorld.Need] get_AllNeeds()
L_002c: stloc.0
L_002d: ldc.i4.0
L_002e: stloc.1
L_002f: br Label2
L_0034: Label10
L_0034: ldloc.0
L_0035: ldloc.1
L_0036: callvirt RimWorld.Need get_Item(Int32)
L_003b: stloc.2
L_003c: ldloc.2
L_003d: isinst RimWorld.Need_Rest
L_0042: stloc.3
L_0043: ldloc.2
L_0044: isinst RimWorld.Need_Food
L_0049: stloc.s 4 (RimWorld.Need_Food)
L_004b: ldloc.2
L_004c: isinst RimWorld.Need_Chemical
L_0051: stloc.s 5 (RimWorld.Need_Chemical)
L_0053: ldloc.2
L_0054: isinst RimWorld.Need_Joy
L_0059: stloc.s 6 (RimWorld.Need_Joy)
L_005b: ldloc.3
L_005c: brfalse Label3
L_0061: ldarg.0
L_0062: ldarg.1
L_0063: ldloc.3
L_0064: call Void TrySatisfyRestNeed(Verse.Pawn, RimWorld.Need_Rest)
L_0069: br Label4
L_006e: Label3
L_006e: ldloc.s 4 (RimWorld.Need_Food)
L_0070: brfalse Label5
L_0075: ldarg.0
L_0076: ldarg.1
L_0077: ldloc.s 4 (RimWorld.Need_Food)
L_0079: call Void TrySatisfyFoodNeed(Verse.Pawn, RimWorld.Need_Food)
L_007e: br Label6
L_0083: Label5
L_0083: ldloc.s 5 (RimWorld.Need_Chemical)
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: ldarg.1
L_008c: ldloc.s 5 (RimWorld.Need_Chemical)
L_008e: call Void TrySatisfyChemicalNeed(Verse.Pawn, RimWorld.Need_Chemical)
L_0093: br Label8
L_0098: Label7
L_0098: ldloc.s 6 (RimWorld.Need_Joy)
L_009a: brfalse Label9
L_009f: ldarg.0
L_00a0: ldarg.1
L_00a1: ldloc.s 6 (RimWorld.Need_Joy)
L_00a3: call Void TrySatisfyJoyNeed(Verse.Pawn, RimWorld.Need_Joy)
L_00a8: Label4
L_00a8: Label6
L_00a8: Label8
L_00a8: Label9
L_00a8: ldloc.1
L_00a9: ldc.i4.1
L_00aa: add
L_00ab: stloc.1
L_00ac: Label2
L_00ac: ldloc.1
L_00ad: ldloc.0
L_00ae: callvirt Int32 get_Count()
L_00b3: blt Label10
L_00b8: Label11
L_00b8: Label0
L_00b8: ret
DONE

### Patch RimWorld.JobGiver_PrepareCaravan_GatherItems, Verse.AI.Job


TryGiveJob(Verse.Pawn)
L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: Verse.AI.Job
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldloca 3 (Verse.AI.Job)
L_0004: ldarg 1
L_000a: call Boolean TryGiveItemJob_PreFix(Verse.AI.Job ByRef, Verse.Pawn)
L_000f: brfalse Label0
L_0014: ldarg.1
L_0015: ldfld Verse.Pawn_HealthTracker health
L_001a: ldfld Verse.PawnCapacitiesHandler capacities
L_001f: ldsfld Verse.PawnCapacityDef Manipulation
L_0024: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0029: brtrue Label1
L_002e: ldnull
L_002f: br Label3
L_0034: Label1
L_0034: ldarg.1
L_0035: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_003a: stloc.0
L_003b: ldarg.1
L_003c: ldloc.0
L_003d: call Verse.Thing FindThingToHaul(Verse.Pawn, Verse.AI.Group.Lord)
L_0042: stloc.1
L_0043: ldloc.1
L_0044: brtrue Label2
L_0049: ldnull
L_004a: br Label4
L_004f: Label2
L_004f: ldsfld Verse.JobDef PrepareCaravan_GatherItems
L_0054: ldloc.1
L_0055: call LocalTargetInfo op_Implicit(Verse.Thing)
L_005a: newobj Void .ctor(JobDef, LocalTargetInfo)
L_005f: stloc.2
L_0060: ldloc.2
L_0061: ldloc.0
L_0062: stfld Verse.AI.Group.Lord lord
L_0067: ldloc.2
L_0068: Label3
L_0068: Label4
L_0068: stloc 3 (Verse.AI.Job)
L_0069: Label0
L_0069: ldloc 3 (Verse.AI.Job)
L_006a: ret
DONE

### Patch RimWorld.Planet.Caravan, Void AddPawn(Verse.Pawn, Boolean)


L_0000: Local var 0: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: ldarg 2
L_000d: call Boolean AddVehiclePawnsToCaravan(RimWorld.Planet.Caravan, Verse.Pawn,
Boolean)
L_0012: brfalse Label0
L_0017: ldarg.1
L_0018: brtrue Label1
L_001d: ldstr "Tried to add a null pawn to "
L_0022: ldarg.0
L_0023: call System.String Concat(System.Object, System.Object)
L_0028: ldc.i4.0
L_0029: call Void Warning(System.String, Boolean)
L_002e: br Label11
L_0033: Label1
L_0033: ldarg.1
L_0034: callvirt Boolean get_Dead()
L_0039: brfalse Label2
L_003e: ldc.i4.5
L_003f: newarr System.Object
L_0044: dup
L_0045: ldc.i4.0
L_0046: ldstr "Tried to add "
L_004b: stelem.ref
L_004c: dup
L_004d: ldc.i4.1
L_004e: ldarg.1
L_004f: stelem.ref
L_0050: dup
L_0051: ldc.i4.2
L_0052: ldstr " to "
L_0057: stelem.ref
L_0058: dup
L_0059: ldc.i4.3
L_005a: ldarg.0
L_005b: stelem.ref
L_005c: dup
L_005d: ldc.i4.4
L_005e: ldstr ", but this pawn is dead."
L_0063: stelem.ref
L_0064: call System.String Concat(System.Object[])
L_0069: ldc.i4.0
L_006a: call Void Warning(System.String, Boolean)
L_006f: br Label12
L_0074: Label2
L_0074: ldarg.1
L_0075: ldfld Verse.Pawn_CarryTracker carryTracker
L_007a: callvirt Verse.Thing get_CarriedThing()
L_007f: isinst Verse.Pawn
L_0084: stloc.0
L_0085: ldloc.0
L_0086: brfalse Label3
L_008b: ldarg.1
L_008c: ldfld Verse.Pawn_CarryTracker carryTracker
L_0091: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_0096: ldloc.0
L_0097: callvirt Boolean Remove(Verse.Thing)
L_009c: pop
L_009d: Label3
L_009d: ldarg.1
L_009e: callvirt Boolean get_Spawned()
L_00a3: brfalse Label4
L_00a8: ldarg.1
L_00a9: ldc.i4.0
L_00aa: callvirt Void DeSpawn(DestroyMode)
L_00af: Label4
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00b5: ldarg.1
L_00b6: ldc.i4.1
L_00b7: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_00bc: brfalse Label5
L_00c1: ldarg.0
L_00c2: ldarg.1
L_00c3: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00c8: brfalse Label6
L_00cd: ldarg.1
L_00ce: ldfld RimWorld.Pawn_GuestTracker guest
L_00d3: ldarg.0
L_00d4: call RimWorld.Faction get_Faction()
L_00d9: ldnull
L_00da: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_00df: Label6
L_00df: ldloc.0
L_00e0: brfalse Label7
L_00e5: ldarg.0
L_00e6: ldloc.0
L_00e7: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00ec: brfalse Label8
L_00f1: ldloc.0
L_00f2: ldfld RimWorld.Pawn_GuestTracker guest
L_00f7: ldarg.0
L_00f8: call RimWorld.Faction get_Faction()
L_00fd: ldarg.1
L_00fe: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_0103: Label8
L_0103: ldarg.0
L_0104: ldloc.0
L_0105: ldarg.2
L_0106: call Void AddPawn(Verse.Pawn, Boolean)
L_010b: ldarg.2
L_010c: brfalse Label9
L_0111: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_0116: ldloc.0
L_0117: ldc.i4.0
L_0118: callvirt Void PassToWorld(Verse.Pawn, PawnDiscardDecideMode)
L_011d: Label7
L_011d: Label9
L_011d: br Label10
L_0122: Label5
L_0122: ldstr "Couldn't add pawn "
L_0127: ldarg.1
L_0128: ldstr " to caravan."
L_012d: call System.String Concat(System.Object, System.Object, System.Object)
L_0132: ldc.i4.0
L_0133: call Void Error(System.String, Boolean)
L_0138: Label10
L_0138: Label11
L_0138: Label12
L_0138: Label0
L_0138: ret
DONE

### Patch RimWorld.Planet.Dialog_SplitCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldarg 1
L_000d: ldloca 0 (System.Boolean)
L_000f: call Boolean
DontSplitCaravansWithVehicles(RimWorld.Planet.Dialog_SplitCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0014: brfalse Label0
L_0019: ldarg.1
L_001a: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_001f: brtrue Label1
L_0024: ldnull
L_0025: ldftn Boolean <CheckForErrors>m__4(Verse.Pawn)
L_002b: newobj Void .ctor(Object, IntPtr)
L_0030: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_0035: Label1
L_0035: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_003a: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_003f: brtrue Label2
L_0044: ldstr "CaravanMustHaveAtLeastOneColonist"
L_0049: call System.String Translate(System.String)
L_004e: ldarg.0
L_004f: ldfld RimWorld.Planet.Caravan caravan
L_0054: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_0059: ldsfld Verse.MessageTypeDef RejectInput
L_005e: ldc.i4.0
L_005f: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0064: ldc.i4.0
L_0065: br Label4
L_006a: Label2
L_006a: ldarg.0
L_006b: ldarg.1
L_006c: call Boolean
AnyNonDownedColonistLeftInSourceCaravan(System.Collections.Generic.List`1[Verse.Paw
n])
L_0071: brtrue Label3
L_0076: ldstr "SourceCaravanMustHaveAtLeastOneColonist"
L_007b: call System.String Translate(System.String)
L_0080: ldarg.0
L_0081: ldfld RimWorld.Planet.Caravan caravan
L_0086: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_008b: ldsfld Verse.MessageTypeDef RejectInput
L_0090: ldc.i4.0
L_0091: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0096: ldc.i4.0
L_0097: br Label5
L_009c: Label3
L_009c: ldc.i4.1
L_009d: Label4
L_009d: Label5
L_009d: stloc 0 (System.Boolean)
L_009e: Label0
L_009e: ldloc 0 (System.Boolean)
L_009f: ret
DONE

### Patch RimWorld.Dialog_FormCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey1
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3
L_0000: Local var 7: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Boolean)
L_0007: ldarg.0
L_0008: ldarg 1
L_000e: ldloca 7 (System.Boolean)
L_0010: call Boolean CheckForErrors_PreFix(RimWorld.Dialog_FormCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0015: brfalse Label0
L_001a: newobj Void .ctor()
L_001f: stloc.0
L_0020: ldloc.0
L_0021: ldarg.1
L_0022: stfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0027: ldarg.0
L_0028: call Boolean get_MustChooseRoute()
L_002d: brfalse Label1
L_0032: ldarg.0
L_0033: ldfld System.Int32 destinationTile
L_0038: ldc.i4.0
L_0039: bge Label2
L_003e: ldstr "MessageMustChooseRouteFirst"
L_0043: call System.String Translate(System.String)
L_0048: ldsfld Verse.MessageTypeDef RejectInput
L_004d: ldc.i4.0
L_004e: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0053: ldc.i4.0
L_0054: br Label24
L_0059: Label1
L_0059: Label2
L_0059: ldarg.0
L_005a: ldfld System.Boolean reform
L_005f: brtrue Label3
L_0064: ldarg.0
L_0065: ldfld System.Int32 startingTile
L_006a: ldc.i4.0
L_006b: bge Label4
L_0070: ldstr "MessageNoValidExitTile"
L_0075: call System.String Translate(System.String)
L_007a: ldsfld Verse.MessageTypeDef RejectInput
L_007f: ldc.i4.0
L_0080: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0085: ldc.i4.0
L_0086: br Label25
L_008b: Label3
L_008b: Label4
L_008b: ldloc.0
L_008c: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0091: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_0096: brtrue Label5
L_009b: ldnull
L_009c: ldftn Boolean <CheckForErrors>m__B(Verse.Pawn)
L_00a2: newobj Void .ctor(Object, IntPtr)
L_00a7: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00ac: Label5
L_00ac: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00b1: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_00b6: brtrue Label6
L_00bb: ldstr "CaravanMustHaveAtLeastOneColonist"
L_00c0: call System.String Translate(System.String)
L_00c5: ldsfld Verse.MessageTypeDef RejectInput
L_00ca: ldc.i4.0
L_00cb: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_00d0: ldc.i4.0
L_00d1: br Label26
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Boolean reform
L_00dc: brtrue Label7
L_00e1: ldarg.0
L_00e2: call Single get_MassUsage()
L_00e7: ldarg.0
L_00e8: call Single get_MassCapacity()
L_00ed: ble.un Label8
L_00f2: ldarg.0
L_00f3: call Void FlashMass()
L_00f8: ldstr "TooBigCaravanMassUsage"
L_00fd: call System.String Translate(System.String)
L_0102: ldsfld Verse.MessageTypeDef RejectInput
L_0107: ldc.i4.0
L_0108: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_010d: ldc.i4.0
L_010e: br Label27
L_0113: Label7
L_0113: Label8
L_0113: ldloc.0
L_0114: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0119: ldloc.0
L_011a: ldftn Boolean <>m__0(Verse.Pawn)
L_0120: newobj Void .ctor(Object, IntPtr)
L_0125: callvirt Verse.Pawn Find(System.Predicate`1[Verse.Pawn])
L_012a: stloc.1
L_012b: ldloc.1
L_012c: brfalse Label9
L_0131: ldstr "CaravanPawnIsUnreachable"
L_0136: ldc.i4.1
L_0137: newarr System.Object
L_013c: dup
L_013d: ldc.i4.0
L_013e: ldloc.1
L_013f: callvirt System.String get_LabelShort()
L_0144: stelem.ref
L_0145: call System.String Translate(System.String, System.Object[])
L_014a: call System.String CapitalizeFirst(System.String)
L_014f: ldloc.1
L_0150: call Verse.LookTargets op_Implicit(Verse.Thing)
L_0155: ldsfld Verse.MessageTypeDef RejectInput
L_015a: ldc.i4.0
L_015b: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0160: ldc.i4.0
L_0161: br Label28
L_0166: Label9
L_0166: ldc.i4.0
L_0167: stloc.2
L_0168: br Label10
L_016d: Label23
L_016d: ldarg.0
L_016e: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0173: ldloc.2
L_0174: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0179: callvirt Verse.ThingDef get_ThingDef()
L_017e: ldfld Verse.ThingCategory category
L_0183: ldc.i4.2
L_0184: beq Label11
L_0189: br Label12
L_018e: Label11
L_018e: ldarg.0
L_018f: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0194: ldloc.2
L_0195: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_019a: callvirt Int32 get_CountToTransfer()
L_019f: stloc.3
L_01a0: ldc.i4.0
L_01a1: stloc.s 4 (System.Int32)
L_01a3: ldloc.3
L_01a4: ldc.i4.0
L_01a5: ble Label13
L_01aa: ldc.i4.0
L_01ab: stloc.s 5 (System.Int32)
L_01ad: br Label14
L_01b2: Label19
L_01b2: newobj Void .ctor()
L_01b7: stloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01b9: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01bb: ldarg.0
L_01bc: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_01c1: ldloc.2
L_01c2: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_01c7: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_01cc: ldloc.s 5 (System.Int32)
L_01ce: callvirt Verse.Thing get_Item(Int32)
L_01d3: stfld Verse.Thing t
L_01d8: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01da: ldfld Verse.Thing t
L_01df: callvirt Boolean get_Spawned()
L_01e4: brfalse Label15
L_01e9: ldloc.0
L_01ea: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_01ef: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01f1: ldftn Boolean <>m__0(Verse.Pawn)
L_01f7: newobj Void .ctor(Object, IntPtr)
L_01fc: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_0201: brfalse Label16
L_0206: Label15
L_0206: ldloc.s 4 (System.Int32)
L_0208: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_020a: ldfld Verse.Thing t
L_020f: ldfld System.Int32 stackCount
L_0214: add
L_0215: stloc.s 4 (System.Int32)
L_0217: ldloc.s 4 (System.Int32)
L_0219: ldloc.3
L_021a: blt Label17
L_021f: br Label18
L_0224: Label16
L_0224: Label17
L_0224: ldloc.s 5 (System.Int32)
L_0226: ldc.i4.1
L_0227: add
L_0228: stloc.s 5 (System.Int32)
L_022a: Label14
L_022a: ldloc.s 5 (System.Int32)
L_022c: ldarg.0
L_022d: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0232: ldloc.2
L_0233: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0238: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_023d: callvirt Int32 get_Count()
L_0242: blt Label19
L_0247: Label18
L_0247: ldloc.s 4 (System.Int32)
L_0249: ldloc.3
L_024a: bge Label20
L_024f: ldloc.3
L_0250: ldc.i4.1
L_0251: bne.un Label21
L_0256: ldstr "CaravanItemIsUnreachableSingle"
L_025b: ldc.i4.1
L_025c: newarr System.Object
L_0261: dup
L_0262: ldc.i4.0
L_0263: ldarg.0
L_0264: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0269: ldloc.2
L_026a: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_026f: callvirt Verse.ThingDef get_ThingDef()
L_0274: ldfld System.String label
L_0279: stelem.ref
L_027a: call System.String Translate(System.String, System.Object[])
L_027f: ldsfld Verse.MessageTypeDef RejectInput
L_0284: ldc.i4.0
L_0285: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_028a: br Label22
L_028f: Label21
L_028f: ldstr "CaravanItemIsUnreachableMulti"
L_0294: ldc.i4.2
L_0295: newarr System.Object
L_029a: dup
L_029b: ldc.i4.0
L_029c: ldloc.3
L_029d: box System.Int32
L_02a2: stelem.ref
L_02a3: dup
L_02a4: ldc.i4.1
L_02a5: ldarg.0
L_02a6: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02ab: ldloc.2
L_02ac: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_02b1: callvirt Verse.ThingDef get_ThingDef()
L_02b6: ldfld System.String label
L_02bb: stelem.ref
L_02bc: call System.String Translate(System.String, System.Object[])
L_02c1: ldsfld Verse.MessageTypeDef RejectInput
L_02c6: ldc.i4.0
L_02c7: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_02cc: Label22
L_02cc: ldc.i4.0
L_02cd: br Label29
L_02d2: Label12
L_02d2: Label13
L_02d2: Label20
L_02d2: ldloc.2
L_02d3: ldc.i4.1
L_02d4: add
L_02d5: stloc.2
L_02d6: Label10
L_02d6: ldloc.2
L_02d7: ldarg.0
L_02d8: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02dd: callvirt Int32 get_Count()
L_02e2: blt Label23
L_02e7: ldc.i4.1
L_02e8: Label24
L_02e8: Label25
L_02e8: Label26
L_02e8: Label27
L_02e8: Label28
L_02e8: Label29
L_02e8: stloc 7 (System.Boolean)
L_02ea: Label0
L_02ea: ldloc 7 (System.Boolean)
L_02ec: ret
DONE

### Patch RimWorld.Planet.CaravanUIUtility, Void


AddPawnsSections(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[RimWorld.TransferableOneWay, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.1
L_0001: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0006: brtrue Label1
L_000b: ldnull
L_000c: ldftn Boolean <AddPawnsSections>m__1(RimWorld.TransferableOneWay)
L_0012: newobj Void .ctor(Object, IntPtr)
L_0017: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_001c: Label1
L_001c: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0021: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0026: stloc.0
L_0027: ldarg.0
L_0028: ldstr "ColonistsSection"
L_002d: call System.String Translate(System.String)
L_0032: ldloc.0
L_0033: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0038: brtrue Label2
L_003d: ldnull
L_003e: ldftn Boolean <AddPawnsSections>m__2(RimWorld.TransferableOneWay)
L_0044: newobj Void .ctor(Object, IntPtr)
L_0049: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_004e: Label2
L_004e: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0053: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0058: callvirt Void AddSection(System.String, IEnumerable`1)
L_005d: ldarg.0
L_005e: ldstr "PrisonersSection"
L_0063: call System.String Translate(System.String)
L_0068: ldloc.0
L_0069: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_006e: brtrue Label3
L_0073: ldnull
L_0074: ldftn Boolean <AddPawnsSections>m__3(RimWorld.TransferableOneWay)
L_007a: newobj Void .ctor(Object, IntPtr)
L_007f: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0084: Label3
L_0084: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0089: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_008e: callvirt Void AddSection(System.String, IEnumerable`1)
L_0093: ldarg.0
L_0094: ldstr "CaptureSection"
L_0099: call System.String Translate(System.String)
L_009e: ldloc.0
L_009f: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00a4: brtrue Label4
L_00a9: ldnull
L_00aa: ldftn Boolean <AddPawnsSections>m__4(RimWorld.TransferableOneWay)
L_00b0: newobj Void .ctor(Object, IntPtr)
L_00b5: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00ba: Label4
L_00ba: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00bf: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00c4: callvirt Void AddSection(System.String, IEnumerable`1)
L_00c9: ldarg.0
L_00ca: ldstr "AnimalsSection"
L_00cf: call System.String Translate(System.String)
L_00d4: ldloc.0
L_00d5: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00da: brtrue Label5
L_00df: ldnull
L_00e0: ldftn Boolean <AddPawnsSections>m__5(RimWorld.TransferableOneWay)
L_00e6: newobj Void .ctor(Object, IntPtr)
L_00eb: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f0: Label5
L_00f0: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f5: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00fa: callvirt Void AddSection(System.String, IEnumerable`1)
L_00ff: ldarg 0
L_0105: ldarg 1
L_010b: call Void AddPawnsSections_PostFix(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0110: ret
DONE

### Patch RimWorld.Planet.CaravanExitMapUtility, Boolean


CanExitMapAndJoinOrCreateCaravanNow(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Boolean get_Spawned()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label5
L_0017: Label1
L_0017: ldarg.0
L_0018: callvirt Verse.Map get_Map()
L_001d: ldfld Verse.ExitMapGrid exitMapGrid
L_0022: callvirt Boolean get_MapUsesExitGrid()
L_0027: brtrue Label2
L_002c: ldc.i4.0
L_002d: br Label6
L_0032: Label2
L_0032: ldarg.0
L_0033: callvirt Boolean get_IsColonist()
L_0038: brtrue Label3
L_003d: ldarg.0
L_003e: call RimWorld.Planet.Caravan FindCaravanToJoinFor(Verse.Pawn)
L_0043: ldnull
L_0044: ceq
L_0046: ldc.i4.0
L_0047: ceq
L_0049: br Label4
L_004e: Label3
L_004e: ldc.i4.1
L_004f: Label4
L_004f: Label5
L_004f: Label6
L_004f: stloc 0 (System.Boolean)
L_0050: ldarg 0
L_0056: ldloca 0 (System.Boolean)
L_0058: call Void CanExit_PostFix(Verse.Pawn, Boolean ByRef)
L_005d: ldloc 0 (System.Boolean)
L_005e: ret
DONE

### Patch RimWorld.MassUtility, Single Capacity(Verse.Pawn,


System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Single
L_0000: ldc.r4 0
L_0005: stloc 1 (System.Single)
L_0006: ldarg.0
L_0007: call Boolean CanEverCarryAnything(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldc.r4 0
L_0016: br Label4
L_001b: Label1
L_001b: ldarg.0
L_001c: callvirt Single get_BodySize()
L_0021: ldc.r4 35
L_0026: mul
L_0027: stloc.0
L_0028: ldarg.1
L_0029: brfalse Label2
L_002e: ldarg.1
L_002f: callvirt Int32 get_Length()
L_0034: ldc.i4.0
L_0035: ble Label3
L_003a: ldarg.1
L_003b: callvirt System.Text.StringBuilder AppendLine()
L_0040: pop
L_0041: Label3
L_0041: ldarg.1
L_0042: ldstr " - "
L_0047: ldarg.0
L_0048: callvirt System.String get_LabelShortCap()
L_004d: ldstr ": "
L_0052: ldloc.0
L_0053: call System.String ToStringMassOffset(Single)
L_0058: call System.String Concat(System.String, System.String, System.String,
System.String)
L_005d: callvirt System.Text.StringBuilder Append(System.String)
L_0062: pop
L_0063: Label2
L_0063: ldloc.0
L_0064: Label4
L_0064: stloc 1 (System.Single)
L_0065: ldloca 1 (System.Single)
L_0067: ldarg 0
L_006d: call Void Capacity_PostFix(Single ByRef, Verse.Pawn)
L_0072: ldloc 1 (System.Single)
L_0073: ret
DONE

### Patch RimWorld.Planet.CaravanTicksPerMoveUtility, Int32


GetTicksPerMove(System.Collections.Generic.List`1[Verse.Pawn], Single, Single,
System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Single
L_0000: Local var 3: System.Single
L_0000: Local var 4: System.Single
L_0000: Local var 5: System.Single
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Single
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldarg.0
L_0008: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn])
L_000d: brfalse Label1
L_0012: ldarg.3
L_0013: brfalse Label2
L_0018: ldarg.3
L_0019: ldstr "CaravanMovementSpeedFull"
L_001e: call System.String Translate(System.String)
L_0023: ldstr ":"
L_0028: call System.String Concat(System.String, System.String)
L_002d: callvirt System.Text.StringBuilder Append(System.String)
L_0032: pop
L_0033: Label2
L_0033: ldc.r4 0
L_0038: stloc.0
L_0039: ldc.i4.0
L_003a: stloc.1
L_003b: br Label3
L_0040: Label11
L_0040: ldarg.0
L_0041: ldloc.1
L_0042: callvirt Verse.Pawn get_Item(Int32)
L_0047: callvirt Boolean get_Downed()
L_004c: brtrue Label4
L_0051: ldarg.0
L_0052: ldloc.1
L_0053: callvirt Verse.Pawn get_Item(Int32)
L_0058: call Boolean CarriedByCaravan(Verse.Pawn)
L_005d: brfalse Label5
L_0062: Label4
L_0062: ldc.i4 450
L_0067: br Label6
L_006c: Label5
L_006c: ldarg.0
L_006d: ldloc.1
L_006e: callvirt Verse.Pawn get_Item(Int32)
L_0073: callvirt Int32 get_TicksPerMoveCardinal()
L_0078: Label6
L_0078: conv.r4
L_0079: stloc.2
L_007a: ldloc.2
L_007b: ldc.r4 150
L_0080: call Single Min(Single, Single)
L_0085: ldc.r4 340
L_008a: mul
L_008b: stloc.2
L_008c: ldc.r4 60000
L_0091: ldloc.2
L_0092: conv.r4
L_0093: div
L_0094: stloc.3
L_0095: ldarg.3
L_0096: brfalse Label7
L_009b: ldarg.3
L_009c: callvirt System.Text.StringBuilder AppendLine()
L_00a1: pop
L_00a2: ldarg.3
L_00a3: ldc.i4.6
L_00a4: newarr System.String
L_00a9: dup
L_00aa: ldc.i4.0
L_00ab: ldstr " - "
L_00b0: stelem.ref
L_00b1: dup
L_00b2: ldc.i4.1
L_00b3: ldarg.0
L_00b4: ldloc.1
L_00b5: callvirt Verse.Pawn get_Item(Int32)
L_00ba: callvirt System.String get_LabelShortCap()
L_00bf: stelem.ref
L_00c0: dup
L_00c1: ldc.i4.2
L_00c2: ldstr ": "
L_00c7: stelem.ref
L_00c8: dup
L_00c9: ldc.i4.3
L_00ca: ldloca.s 3 (System.Single)
L_00cc: ldstr "0.#"
L_00d1: call System.String ToString(System.String)
L_00d6: stelem.ref
L_00d7: dup
L_00d8: ldc.i4.4
L_00d9: ldstr " "
L_00de: stelem.ref
L_00df: dup
L_00e0: ldc.i4.5
L_00e1: ldstr "TilesPerDay"
L_00e6: call System.String Translate(System.String)
L_00eb: stelem.ref
L_00ec: call System.String Concat(System.String[])
L_00f1: callvirt System.Text.StringBuilder Append(System.String)
L_00f6: pop
L_00f7: ldarg.0
L_00f8: ldloc.1
L_00f9: callvirt Verse.Pawn get_Item(Int32)
L_00fe: callvirt Boolean get_Downed()
L_0103: brfalse Label8
L_0108: ldarg.3
L_0109: ldstr " ("
L_010e: ldstr "DownedLower"
L_0113: call System.String Translate(System.String)
L_0118: ldstr ")"
L_011d: call System.String Concat(System.String, System.String, System.String)
L_0122: callvirt System.Text.StringBuilder Append(System.String)
L_0127: pop
L_0128: br Label9
L_012d: Label8
L_012d: ldarg.0
L_012e: ldloc.1
L_012f: callvirt Verse.Pawn get_Item(Int32)
L_0134: call Boolean CarriedByCaravan(Verse.Pawn)
L_0139: brfalse Label10
L_013e: ldarg.3
L_013f: ldstr " ("
L_0144: ldstr "Carried"
L_0149: call System.String Translate(System.String)
L_014e: ldstr ")"
L_0153: call System.String Concat(System.String, System.String, System.String)
L_0158: callvirt System.Text.StringBuilder Append(System.String)
L_015d: pop
L_015e: Label7
L_015e: Label9
L_015e: Label10
L_015e: ldloc.0
L_015f: ldloc.2
L_0160: ldarg.0
L_0161: callvirt Int32 get_Count()
L_0166: conv.r4
L_0167: div
L_0168: add
L_0169: stloc.0
L_016a: ldloc.1
L_016b: ldc.i4.1
L_016c: add
L_016d: stloc.1
L_016e: Label3
L_016e: ldloc.1
L_016f: ldarg.0
L_0170: callvirt Int32 get_Count()
L_0175: blt Label11
L_017a: ldarg.1
L_017b: ldarg.2
L_017c: call Single GetMoveSpeedFactorFromMass(Single, Single)
L_0181: stloc.s 4 (System.Single)
L_0183: ldarg.3
L_0184: brfalse Label12
L_0189: ldc.r4 60000
L_018e: ldloc.0
L_018f: conv.r4
L_0190: div
L_0191: stloc.s 5 (System.Single)
L_0193: ldarg.3
L_0194: callvirt System.Text.StringBuilder AppendLine()
L_0199: pop
L_019a: ldarg.3
L_019b: ldc.i4.6
L_019c: newarr System.String
L_01a1: dup
L_01a2: ldc.i4.0
L_01a3: ldstr " "
L_01a8: stelem.ref
L_01a9: dup
L_01aa: ldc.i4.1
L_01ab: ldstr "Average"
L_01b0: call System.String Translate(System.String)
L_01b5: stelem.ref
L_01b6: dup
L_01b7: ldc.i4.2
L_01b8: ldstr ": "
L_01bd: stelem.ref
L_01be: dup
L_01bf: ldc.i4.3
L_01c0: ldloca.s 5 (System.Single)
L_01c2: ldstr "0.#"
L_01c7: call System.String ToString(System.String)
L_01cc: stelem.ref
L_01cd: dup
L_01ce: ldc.i4.4
L_01cf: ldstr " "
L_01d4: stelem.ref
L_01d5: dup
L_01d6: ldc.i4.5
L_01d7: ldstr "TilesPerDay"
L_01dc: call System.String Translate(System.String)
L_01e1: stelem.ref
L_01e2: call System.String Concat(System.String[])
L_01e7: callvirt System.Text.StringBuilder Append(System.String)
L_01ec: pop
L_01ed: ldarg.3
L_01ee: callvirt System.Text.StringBuilder AppendLine()
L_01f3: pop
L_01f4: ldarg.3
L_01f5: ldstr " "
L_01fa: ldstr "MultiplierForCarriedMass"
L_01ff: ldc.i4.1
L_0200: newarr System.Object
L_0205: dup
L_0206: ldc.i4.0
L_0207: ldloc.s 4 (System.Single)
L_0209: call System.String ToStringPercent(Single)
L_020e: stelem.ref
L_020f: call System.String Translate(System.String, System.Object[])
L_0214: call System.String Concat(System.String, System.String)
L_0219: callvirt System.Text.StringBuilder Append(System.String)
L_021e: pop
L_021f: Label12
L_021f: ldloc.0
L_0220: ldloc.s 4 (System.Single)
L_0222: div
L_0223: call Int32 RoundToInt(Single)
L_0228: ldc.i4.1
L_0229: call Int32 Max(Int32, Int32)
L_022e: stloc.s 6 (System.Int32)
L_0230: ldarg.3
L_0231: brfalse Label13
L_0236: ldc.r4 60000
L_023b: ldloc.s 6 (System.Int32)
L_023d: conv.r4
L_023e: div
L_023f: stloc.s 7 (System.Single)
L_0241: ldarg.3
L_0242: callvirt System.Text.StringBuilder AppendLine()
L_0247: pop
L_0248: ldarg.3
L_0249: ldc.i4.6
L_024a: newarr System.String
L_024f: dup
L_0250: ldc.i4.0
L_0251: ldstr " "
L_0256: stelem.ref
L_0257: dup
L_0258: ldc.i4.1
L_0259: ldstr "FinalCaravanPawnsMovementSpeed"
L_025e: call System.String Translate(System.String)
L_0263: stelem.ref
L_0264: dup
L_0265: ldc.i4.2
L_0266: ldstr ": "
L_026b: stelem.ref
L_026c: dup
L_026d: ldc.i4.3
L_026e: ldloca.s 7 (System.Single)
L_0270: ldstr "0.#"
L_0275: call System.String ToString(System.String)
L_027a: stelem.ref
L_027b: dup
L_027c: ldc.i4.4
L_027d: ldstr " "
L_0282: stelem.ref
L_0283: dup
L_0284: ldc.i4.5
L_0285: ldstr "TilesPerDay"
L_028a: call System.String Translate(System.String)
L_028f: stelem.ref
L_0290: call System.String Concat(System.String[])
L_0295: callvirt System.Text.StringBuilder Append(System.String)
L_029a: pop
L_029b: Label13
L_029b: ldloc.s 6 (System.Int32)
L_029d: br Label15
L_02a2: Label1
L_02a2: ldarg.3
L_02a3: brfalse Label14
L_02a8: ldarg.3
L_02a9: call Void AppendUsingDefaultTicksPerMoveInfo(System.Text.StringBuilder)
L_02ae: Label14
L_02ae: ldc.i4 3300
L_02b3: Label15
L_02b3: stloc 8 (System.Int32)
L_02b5: ldarg 0
L_02bb: ldloca 8 (System.Int32)
L_02bd: call Void
GetTicksPerMove_PostFix(System.Collections.Generic.List`1[Verse.Pawn], Int32 ByRef)
L_02c2: ldloc 8 (System.Int32)
L_02c4: ret
DONE

### Patch RimWorld.Planet.CaravanEnterMapUtility, Void


Enter(RimWorld.Planet.Caravan, Verse.Map, System.Func`2[Verse.Pawn,Verse.IntVec3],
CaravanDropInventoryMode, Boolean)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: call Void Enter_PreFix(RimWorld.Planet.Caravan)
L_000b: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0010: callvirt Void Clear()
L_0015: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_001a: ldarg.0
L_001b: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_0020: callvirt Void AddRange(IEnumerable`1)
L_0025: ldc.i4.0
L_0026: stloc.0
L_0027: br Label1
L_002c: Label2
L_002c: ldarg.2
L_002d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0032: ldloc.0
L_0033: callvirt Verse.Pawn get_Item(Int32)
L_0038: callvirt IntVec3 Invoke(Verse.Pawn)
L_003d: stloc.1
L_003e: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0043: ldloc.0
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: ldloc.1
L_004a: ldarg.1
L_004b: call Rot4 get_Random()
L_0050: ldc.i4.0
L_0051: ldc.i4.0
L_0052: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0057: pop
L_0058: ldloc.0
L_0059: ldc.i4.1
L_005a: add
L_005b: stloc.0
L_005c: Label1
L_005c: ldloc.0
L_005d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0062: callvirt Int32 get_Count()
L_0067: blt Label2
L_006c: ldarg.3
L_006d: ldc.i4.1
L_006e: bne.un Label3
L_0073: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0078: call Void DropAllInventory(System.Collections.Generic.List`1[Verse.Pawn])
L_007d: br Label4
L_0082: Label3
L_0082: ldarg.3
L_0083: ldc.i4.2
L_0084: bne.un Label5
L_0089: ldc.i4.0
L_008a: stloc.2
L_008b: br Label6
L_0090: Label7
L_0090: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0095: ldloc.2
L_0096: callvirt Verse.Pawn get_Item(Int32)
L_009b: ldfld Verse.Pawn_InventoryTracker inventory
L_00a0: ldc.i4.1
L_00a1: callvirt Void set_UnloadEverything(Boolean)
L_00a6: ldloc.2
L_00a7: ldc.i4.1
L_00a8: add
L_00a9: stloc.2
L_00aa: Label6
L_00aa: ldloc.2
L_00ab: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00b0: callvirt Int32 get_Count()
L_00b5: blt Label7
L_00ba: Label4
L_00ba: Label5
L_00ba: ldarg.s 4
L_00bc: brfalse Label8
L_00c1: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00c6: call Void DraftColonists(System.Collections.Generic.List`1[Verse.Pawn])
L_00cb: Label8
L_00cb: ldarg.1
L_00cc: callvirt Boolean get_IsPlayerHome()
L_00d1: brfalse Label9
L_00d6: ldc.i4.0
L_00d7: stloc.3
L_00d8: br Label10
L_00dd: Label12
L_00dd: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00e2: ldloc.3
L_00e3: callvirt Verse.Pawn get_Item(Int32)
L_00e8: callvirt Boolean get_IsPrisoner()
L_00ed: brfalse Label11
L_00f2: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00f7: ldloc.3
L_00f8: callvirt Verse.Pawn get_Item(Int32)
L_00fd: ldfld RimWorld.Pawn_GuestTracker guest
L_0102: callvirt Void WaitInsteadOfEscapingForDefaultTicks()
L_0107: Label11
L_0107: ldloc.3
L_0108: ldc.i4.1
L_0109: add
L_010a: stloc.3
L_010b: Label10
L_010b: ldloc.3
L_010c: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0111: callvirt Int32 get_Count()
L_0116: blt Label12
L_011b: Label9
L_011b: ldarg.0
L_011c: callvirt Void RemoveAllPawns()
L_0121: ldarg.0
L_0122: callvirt Boolean get_Spawned()
L_0127: brfalse Label13
L_012c: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_0131: ldarg.0
L_0132: callvirt Void Remove(RimWorld.Planet.WorldObject)
L_0137: Label13
L_0137: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_013c: callvirt Void Clear()
L_0141: ret
DONE

### Patch RimWorld.Planet.Caravan, System.String GetInspectString()


L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Int32
L_0000: Local var 7: RimWorld.Planet.SettlementBase
L_0000: Local var 8: System.Single
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Int32
L_0000: Local var 11: System.String
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: ldnull
L_0001: stloc 13 (System.String)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: call System.String GetInspectString()
L_0010: callvirt System.Text.StringBuilder Append(System.String)
L_0015: pop
L_0016: ldloc.0
L_0017: callvirt Int32 get_Length()
L_001c: brfalse Label1
L_0021: ldloc.0
L_0022: callvirt System.Text.StringBuilder AppendLine()
L_0027: pop
L_0028: Label1
L_0028: ldc.i4.0
L_0029: stloc.1
L_002a: ldc.i4.0
L_002b: stloc.2
L_002c: ldc.i4.0
L_002d: stloc.3
L_002e: ldc.i4.0
L_002f: stloc.s 4 (System.Int32)
L_0031: ldc.i4.0
L_0032: stloc.s 5 (System.Int32)
L_0034: ldc.i4.0
L_0035: stloc.s 6 (System.Int32)
L_0037: br Label2
L_003c: Label10
L_003c: ldarg.0
L_003d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0042: ldloc.s 6 (System.Int32)
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: callvirt Boolean get_IsColonist()
L_004e: brfalse Label3
L_0053: ldloc.1
L_0054: ldc.i4.1
L_0055: add
L_0056: stloc.1
L_0057: br Label4
L_005c: Label3
L_005c: ldarg.0
L_005d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0062: ldloc.s 6 (System.Int32)
L_0064: callvirt Verse.Pawn get_Item(Int32)
L_0069: callvirt Verse.RaceProperties get_RaceProps()
L_006e: callvirt Boolean get_Animal()
L_0073: brfalse Label5
L_0078: ldloc.2
L_0079: ldc.i4.1
L_007a: add
L_007b: stloc.2
L_007c: br Label6
L_0081: Label5
L_0081: ldarg.0
L_0082: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0087: ldloc.s 6 (System.Int32)
L_0089: callvirt Verse.Pawn get_Item(Int32)
L_008e: callvirt Boolean get_IsPrisoner()
L_0093: brfalse Label7
L_0098: ldloc.3
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.3
L_009c: Label4
L_009c: Label6
L_009c: Label7
L_009c: ldarg.0
L_009d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00a2: ldloc.s 6 (System.Int32)
L_00a4: callvirt Verse.Pawn get_Item(Int32)
L_00a9: callvirt Boolean get_Downed()
L_00ae: brfalse Label8
L_00b3: ldloc.s 4 (System.Int32)
L_00b5: ldc.i4.1
L_00b6: add
L_00b7: stloc.s 4 (System.Int32)
L_00b9: Label8
L_00b9: ldarg.0
L_00ba: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00bf: ldloc.s 6 (System.Int32)
L_00c1: callvirt Verse.Pawn get_Item(Int32)
L_00c6: callvirt Boolean get_InMentalState()
L_00cb: brfalse Label9
L_00d0: ldloc.s 5 (System.Int32)
L_00d2: ldc.i4.1
L_00d3: add
L_00d4: stloc.s 5 (System.Int32)
L_00d6: Label9
L_00d6: ldloc.s 6 (System.Int32)
L_00d8: ldc.i4.1
L_00d9: add
L_00da: stloc.s 6 (System.Int32)
L_00dc: Label2
L_00dc: ldloc.s 6 (System.Int32)
L_00de: ldarg.0
L_00df: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00e4: callvirt Int32 get_Count()
L_00e9: blt Label10
L_00ee: ldloc.0
L_00ef: ldstr "CaravanColonistsCount"
L_00f4: ldc.i4.2
L_00f5: newarr System.Object
L_00fa: dup
L_00fb: ldc.i4.0
L_00fc: ldloc.1
L_00fd: box System.Int32
L_0102: stelem.ref
L_0103: dup
L_0104: ldc.i4.1
L_0105: ldloc.1
L_0106: ldc.i4.1
L_0107: bne.un Label11
L_010c: call RimWorld.Faction get_OfPlayer()
L_0111: ldfld RimWorld.FactionDef def
L_0116: ldfld System.String pawnSingular
L_011b: br Label12
L_0120: Label11
L_0120: call RimWorld.Faction get_OfPlayer()
L_0125: ldfld RimWorld.FactionDef def
L_012a: ldfld System.String pawnsPlural
L_012f: Label12
L_012f: stelem.ref
L_0130: call System.String Translate(System.String, System.Object[])
L_0135: callvirt System.Text.StringBuilder Append(System.String)
L_013a: pop
L_013b: ldloc.2
L_013c: ldc.i4.1
L_013d: bne.un Label13
L_0142: ldloc.0
L_0143: ldstr ", "
L_0148: ldstr "CaravanAnimal"
L_014d: call System.String Translate(System.String)
L_0152: call System.String Concat(System.String, System.String)
L_0157: callvirt System.Text.StringBuilder Append(System.String)
L_015c: pop
L_015d: br Label14
L_0162: Label13
L_0162: ldloc.2
L_0163: ldc.i4.1
L_0164: ble Label15
L_0169: ldloc.0
L_016a: ldstr ", "
L_016f: ldstr "CaravanAnimalsCount"
L_0174: ldc.i4.1
L_0175: newarr System.Object
L_017a: dup
L_017b: ldc.i4.0
L_017c: ldloc.2
L_017d: box System.Int32
L_0182: stelem.ref
L_0183: call System.String Translate(System.String, System.Object[])
L_0188: call System.String Concat(System.String, System.String)
L_018d: callvirt System.Text.StringBuilder Append(System.String)
L_0192: pop
L_0193: Label14
L_0193: Label15
L_0193: ldloc.3
L_0194: ldc.i4.1
L_0195: bne.un Label16
L_019a: ldloc.0
L_019b: ldstr ", "
L_01a0: ldstr "CaravanPrisoner"
L_01a5: call System.String Translate(System.String)
L_01aa: call System.String Concat(System.String, System.String)
L_01af: callvirt System.Text.StringBuilder Append(System.String)
L_01b4: pop
L_01b5: br Label17
L_01ba: Label16
L_01ba: ldloc.3
L_01bb: ldc.i4.1
L_01bc: ble Label18
L_01c1: ldloc.0
L_01c2: ldstr ", "
L_01c7: ldstr "CaravanPrisonersCount"
L_01cc: ldc.i4.1
L_01cd: newarr System.Object
L_01d2: dup
L_01d3: ldc.i4.0
L_01d4: ldloc.3
L_01d5: box System.Int32
L_01da: stelem.ref
L_01db: call System.String Translate(System.String, System.Object[])
L_01e0: call System.String Concat(System.String, System.String)
L_01e5: callvirt System.Text.StringBuilder Append(System.String)
L_01ea: pop
L_01eb: Label17
L_01eb: Label18
L_01eb: ldloc.0
L_01ec: callvirt System.Text.StringBuilder AppendLine()
L_01f1: pop
L_01f2: ldloc.s 5 (System.Int32)
L_01f4: ldc.i4.0
L_01f5: ble Label19
L_01fa: ldloc.0
L_01fb: ldstr "CaravanPawnsInMentalState"
L_0200: ldc.i4.1
L_0201: newarr System.Object
L_0206: dup
L_0207: ldc.i4.0
L_0208: ldloc.s 5 (System.Int32)
L_020a: box System.Int32
L_020f: stelem.ref
L_0210: call System.String Translate(System.String, System.Object[])
L_0215: callvirt System.Text.StringBuilder Append(System.String)
L_021a: pop
L_021b: Label19
L_021b: ldloc.s 4 (System.Int32)
L_021d: ldc.i4.0
L_021e: ble Label20
L_0223: ldloc.s 5 (System.Int32)
L_0225: ldc.i4.0
L_0226: ble Label21
L_022b: ldloc.0
L_022c: ldstr ", "
L_0231: callvirt System.Text.StringBuilder Append(System.String)
L_0236: pop
L_0237: Label21
L_0237: ldloc.0
L_0238: ldstr "CaravanPawnsDowned"
L_023d: ldc.i4.1
L_023e: newarr System.Object
L_0243: dup
L_0244: ldc.i4.0
L_0245: ldloc.s 4 (System.Int32)
L_0247: box System.Int32
L_024c: stelem.ref
L_024d: call System.String Translate(System.String, System.Object[])
L_0252: callvirt System.Text.StringBuilder Append(System.String)
L_0257: pop
L_0258: Label20
L_0258: ldloc.s 5 (System.Int32)
L_025a: ldc.i4.0
L_025b: bgt Label22
L_0260: ldloc.s 4 (System.Int32)
L_0262: ldc.i4.0
L_0263: ble Label23
L_0268: Label22
L_0268: ldloc.0
L_0269: callvirt System.Text.StringBuilder AppendLine()
L_026e: pop
L_026f: Label23
L_026f: ldarg.0
L_0270: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0275: callvirt Boolean get_Moving()
L_027a: brfalse Label24
L_027f: ldarg.0
L_0280: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0285: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_028a: brfalse Label25
L_028f: ldloc.0
L_0290: ldarg.0
L_0291: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0296: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_029b: callvirt System.String get_ReportString()
L_02a0: callvirt System.Text.StringBuilder Append(System.String)
L_02a5: pop
L_02a6: br Label26
L_02ab: Label25
L_02ab: ldloc.0
L_02ac: ldstr "CaravanTraveling"
L_02b1: call System.String Translate(System.String)
L_02b6: callvirt System.Text.StringBuilder Append(System.String)
L_02bb: pop
L_02bc: Label26
L_02bc: br Label27
L_02c1: Label24
L_02c1: ldarg.0
L_02c2: call RimWorld.Planet.SettlementBase
SettlementVisitedNow(RimWorld.Planet.Caravan)
L_02c7: stloc.s 7 (RimWorld.Planet.SettlementBase)
L_02c9: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02cb: brfalse Label28
L_02d0: ldloc.0
L_02d1: ldstr "CaravanVisiting"
L_02d6: ldc.i4.1
L_02d7: newarr System.Object
L_02dc: dup
L_02dd: ldc.i4.0
L_02de: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02e0: callvirt System.String get_Label()
L_02e5: stelem.ref
L_02e6: call System.String Translate(System.String, System.Object[])
L_02eb: callvirt System.Text.StringBuilder Append(System.String)
L_02f0: pop
L_02f1: br Label29
L_02f6: Label28
L_02f6: ldloc.0
L_02f7: ldstr "CaravanWaiting"
L_02fc: call System.String Translate(System.String)
L_0301: callvirt System.Text.StringBuilder Append(System.String)
L_0306: pop
L_0307: Label27
L_0307: Label29
L_0307: ldarg.0
L_0308: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_030d: callvirt Boolean get_Moving()
L_0312: brfalse Label30
L_0317: ldarg.0
L_0318: ldc.i4.1
L_0319: call Int32 EstimatedTicksToArrive(RimWorld.Planet.Caravan, Boolean)
L_031e: conv.r4
L_031f: ldc.r4 60000
L_0324: div
L_0325: stloc.s 8 (System.Single)
L_0327: ldloc.0
L_0328: callvirt System.Text.StringBuilder AppendLine()
L_032d: pop
L_032e: ldloc.0
L_032f: ldstr "CaravanEstimatedTimeToDestination"
L_0334: ldc.i4.1
L_0335: newarr System.Object
L_033a: dup
L_033b: ldc.i4.0
L_033c: ldloca.s 8 (System.Single)
L_033e: ldstr "0.#"
L_0343: call System.String ToString(System.String)
L_0348: stelem.ref
L_0349: call System.String Translate(System.String, System.Object[])
L_034e: callvirt System.Text.StringBuilder Append(System.String)
L_0353: pop
L_0354: Label30
L_0354: ldarg.0
L_0355: call Boolean get_AllOwnersDowned()
L_035a: brfalse Label31
L_035f: ldloc.0
L_0360: callvirt System.Text.StringBuilder AppendLine()
L_0365: pop
L_0366: ldloc.0
L_0367: ldstr "AllCaravanMembersDowned"
L_036c: call System.String Translate(System.String)
L_0371: callvirt System.Text.StringBuilder Append(System.String)
L_0376: pop
L_0377: br Label32
L_037c: Label31
L_037c: ldarg.0
L_037d: call Boolean get_AllOwnersHaveMentalBreak()
L_0382: brfalse Label33
L_0387: ldloc.0
L_0388: callvirt System.Text.StringBuilder AppendLine()
L_038d: pop
L_038e: ldloc.0
L_038f: ldstr "AllCaravanMembersMentalBreak"
L_0394: call System.String Translate(System.String)
L_0399: callvirt System.Text.StringBuilder Append(System.String)
L_039e: pop
L_039f: br Label34
L_03a4: Label33
L_03a4: ldarg.0
L_03a5: call Boolean get_ImmobilizedByMass()
L_03aa: brfalse Label35
L_03af: ldloc.0
L_03b0: callvirt System.Text.StringBuilder AppendLine()
L_03b5: pop
L_03b6: ldloc.0
L_03b7: ldstr "CaravanImmobilizedByMass"
L_03bc: call System.String Translate(System.String)
L_03c1: callvirt System.Text.StringBuilder Append(System.String)
L_03c6: pop
L_03c7: Label32
L_03c7: Label34
L_03c7: Label35
L_03c7: ldarg.0
L_03c8: ldfld RimWorld.Planet.Caravan_NeedsTracker needs
L_03cd: ldloca.s 9 (System.String)
L_03cf: callvirt Boolean AnyPawnOutOfFood(System.String ByRef)
L_03d4: brfalse Label36
L_03d9: ldloc.0
L_03da: callvirt System.Text.StringBuilder AppendLine()
L_03df: pop
L_03e0: ldloc.0
L_03e1: ldstr "CaravanOutOfFood"
L_03e6: call System.String Translate(System.String)
L_03eb: callvirt System.Text.StringBuilder Append(System.String)
L_03f0: pop
L_03f1: ldloc.s 9 (System.String)
L_03f3: call Boolean NullOrEmpty(System.String)
L_03f8: brtrue Label37
L_03fd: ldloc.0
L_03fe: ldstr " "
L_0403: callvirt System.Text.StringBuilder Append(System.String)
L_0408: pop
L_0409: ldloc.0
L_040a: ldloc.s 9 (System.String)
L_040c: callvirt System.Text.StringBuilder Append(System.String)
L_0411: pop
L_0412: ldloc.0
L_0413: ldstr "."
L_0418: callvirt System.Text.StringBuilder Append(System.String)
L_041d: pop
L_041e: Label36
L_041e: Label37
L_041e: ldarg.0
L_041f: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0424: callvirt Boolean get_MovingNow()
L_0429: brtrue Label38
L_042e: ldarg.0
L_042f: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_0434: callvirt Int32 GetUsedBedCount()
L_0439: stloc.s 10 (System.Int32)
L_043b: ldloc.0
L_043c: callvirt System.Text.StringBuilder AppendLine()
L_0441: pop
L_0442: ldloc.0
L_0443: ldstr "CaravanResting"
L_0448: call System.String Translate(System.String)
L_044d: ldloc.s 10 (System.Int32)
L_044f: call System.String AppendUsingBedsLabel(System.String, Int32)
L_0454: callvirt System.Text.StringBuilder Append(System.String)
L_0459: pop
L_045a: br Label39
L_045f: Label38
L_045f: ldarg.0
L_0460: ldfld RimWorld.Planet.Caravan_CarryTracker carryTracker
L_0465: callvirt System.String GetInspectStringLine()
L_046a: stloc.s 11 (System.String)
L_046c: ldloc.s 11 (System.String)
L_046e: call Boolean NullOrEmpty(System.String)
L_0473: brtrue Label40
L_0478: ldloc.0
L_0479: callvirt System.Text.StringBuilder AppendLine()
L_047e: pop
L_047f: ldloc.0
L_0480: ldloc.s 11 (System.String)
L_0482: callvirt System.Text.StringBuilder Append(System.String)
L_0487: pop
L_0488: Label40
L_0488: ldarg.0
L_0489: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_048e: callvirt System.String GetInBedForMedicalReasonsInspectStringLine()
L_0493: stloc.s 12 (System.String)
L_0495: ldloc.s 12 (System.String)
L_0497: call Boolean NullOrEmpty(System.String)
L_049c: brtrue Label41
L_04a1: ldloc.0
L_04a2: callvirt System.Text.StringBuilder AppendLine()
L_04a7: pop
L_04a8: ldloc.0
L_04a9: ldloc.s 12 (System.String)
L_04ab: callvirt System.Text.StringBuilder Append(System.String)
L_04b0: pop
L_04b1: Label39
L_04b1: Label41
L_04b1: ldloc.0
L_04b2: callvirt System.String ToString()
L_04b7: stloc 13 (System.String)
L_04b9: ldarg.0
L_04ba: ldloca 13 (System.String)
L_04bc: call Void GetInspectString_Jobs(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c1: ldarg.0
L_04c2: ldloca 13 (System.String)
L_04c4: call Void GetInspectString_PostFix(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c9: ldloc 13 (System.String)
L_04cb: ret
DONE

### Patch Verse.Pawn, Void Tick()


L_0000: Local var 0: System.Boolean
L_0000: ldsfld System.Boolean noAnimals
L_0005: brfalse Label1
L_000a: ldarg.0
L_000b: call Boolean get_Spawned()
L_0010: brfalse Label2
L_0015: ldarg.0
L_0016: call Verse.RaceProperties get_RaceProps()
L_001b: callvirt Boolean get_Animal()
L_0020: brfalse Label3
L_0025: ldarg.0
L_0026: ldc.i4.0
L_0027: callvirt Void Destroy(DestroyMode)
L_002c: br Label23
L_0031: Label1
L_0031: Label2
L_0031: Label3
L_0031: ldarg.0
L_0032: call Void Tick()
L_0037: call Verse.TickManager get_TickManager()
L_003c: callvirt Int32 get_TicksGame()
L_0041: ldc.i4 250
L_0046: rem
L_0047: brtrue Label4
L_004c: ldarg.0
L_004d: callvirt Void TickRare()
L_0052: Label4
L_0052: ldarg.0
L_0053: call Boolean get_Suspended()
L_0058: stloc.0
L_0059: ldloc.0
L_005a: brtrue Label5
L_005f: ldarg.0
L_0060: call Boolean get_Spawned()
L_0065: brfalse Label6
L_006a: ldarg.0
L_006b: ldfld Verse.AI.Pawn_PathFollower pather
L_0070: callvirt Void PatherTick()
L_0075: Label6
L_0075: ldarg.0
L_0076: call Boolean get_Spawned()
L_007b: brfalse Label7
L_0080: ldarg.0
L_0081: ldfld Verse.Pawn_StanceTracker stances
L_0086: callvirt Void StanceTrackerTick()
L_008b: ldarg.0
L_008c: ldfld Verse.VerbTracker verbTracker
L_0091: callvirt Void VerbsTick()
L_0096: ldarg.0
L_0097: ldfld RimWorld.Pawn_NativeVerbs natives
L_009c: callvirt Void NativeVerbsTick()
L_00a1: Label7
L_00a1: ldarg.0
L_00a2: call Boolean get_Spawned()
L_00a7: brfalse Label8
L_00ac: ldarg.0
L_00ad: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b2: callvirt Void JobTrackerTick()
L_00b7: Label8
L_00b7: ldarg.0
L_00b8: call Boolean get_Spawned()
L_00bd: brfalse Label9
L_00c2: ldarg.0
L_00c3: call Verse.Pawn_DrawTracker get_Drawer()
L_00c8: callvirt Void DrawTrackerTick()
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn_RotationTracker rotationTracker
L_00d3: callvirt Void RotationTrackerTick()
L_00d8: Label9
L_00d8: ldarg.0
L_00d9: ldfld Verse.Pawn_HealthTracker health
L_00de: callvirt Void HealthTick()
L_00e3: ldarg.0
L_00e4: call Boolean get_Dead()
L_00e9: brtrue Label10
L_00ee: ldarg.0
L_00ef: ldfld Verse.AI.Pawn_MindState mindState
L_00f4: callvirt Void MindStateTick()
L_00f9: ldarg.0
L_00fa: ldfld Verse.Pawn_CarryTracker carryTracker
L_00ff: callvirt Void CarryHandsTick()
L_0104: Label5
L_0104: Label10
L_0104: ldarg.0
L_0105: call Boolean get_Dead()
L_010a: brtrue Label11
L_010f: ldarg.0
L_0110: ldfld RimWorld.Pawn_NeedsTracker needs
L_0115: callvirt Void NeedsTrackerTick()
L_011a: Label11
L_011a: ldloc.0
L_011b: brtrue Label12
L_0120: ldarg.0
L_0121: ldfld Verse.Pawn_EquipmentTracker equipment
L_0126: brfalse Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_EquipmentTracker equipment
L_0131: callvirt Void EquipmentTrackerTick()
L_0136: Label13
L_0136: ldarg.0
L_0137: ldfld RimWorld.Pawn_ApparelTracker apparel
L_013c: brfalse Label14
L_0141: ldarg.0
L_0142: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0147: callvirt Void ApparelTrackerTick()
L_014c: Label14
L_014c: ldarg.0
L_014d: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0152: brfalse Label15
L_0157: ldarg.0
L_0158: call Boolean get_Spawned()
L_015d: brfalse Label16
L_0162: ldarg.0
L_0163: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0168: callvirt Void InteractionsTrackerTick()
L_016d: Label15
L_016d: Label16
L_016d: ldarg.0
L_016e: ldfld Verse.Pawn_CallTracker caller
L_0173: brfalse Label17
L_0178: ldarg.0
L_0179: ldfld Verse.Pawn_CallTracker caller
L_017e: callvirt Void CallTrackerTick()
L_0183: Label17
L_0183: ldarg.0
L_0184: ldfld RimWorld.Pawn_SkillTracker skills
L_0189: brfalse Label18
L_018e: ldarg.0
L_018f: ldfld RimWorld.Pawn_SkillTracker skills
L_0194: callvirt Void SkillsTick()
L_0199: Label18
L_0199: ldarg.0
L_019a: ldfld Verse.Pawn_InventoryTracker inventory
L_019f: brfalse Label19
L_01a4: ldarg.0
L_01a5: ldfld Verse.Pawn_InventoryTracker inventory
L_01aa: callvirt Void InventoryTrackerTick()
L_01af: Label19
L_01af: ldarg.0
L_01b0: ldfld RimWorld.Pawn_DraftController drafter
L_01b5: brfalse Label20
L_01ba: ldarg.0
L_01bb: ldfld RimWorld.Pawn_DraftController drafter
L_01c0: callvirt Void DraftControllerTick()
L_01c5: Label20
L_01c5: ldarg.0
L_01c6: ldfld RimWorld.Pawn_RelationsTracker relations
L_01cb: brfalse Label21
L_01d0: ldarg.0
L_01d1: ldfld RimWorld.Pawn_RelationsTracker relations
L_01d6: callvirt Void RelationsTrackerTick()
L_01db: Label21
L_01db: ldarg.0
L_01dc: call Verse.RaceProperties get_RaceProps()
L_01e1: callvirt Boolean get_Humanlike()
L_01e6: brfalse Label22
L_01eb: ldarg.0
L_01ec: ldfld RimWorld.Pawn_GuestTracker guest
L_01f1: callvirt Void GuestTrackerTick()
L_01f6: Label22
L_01f6: ldarg.0
L_01f7: ldfld Verse.Pawn_AgeTracker ageTracker
L_01fc: callvirt Void AgeTick()
L_0201: ldarg.0
L_0202: ldfld RimWorld.Pawn_RecordsTracker records
L_0207: callvirt Void RecordsTick()
L_020c: Label12
L_020c: Label23
L_020c: ldarg.0
L_020d: call Void Patch_Pawn_Tick(Verse.Pawn)
L_0212: ret
DONE

### Patch Verse.PawnGenerator, Void GenerateGearFor(Verse.Pawn,


PawnGenerationRequest)
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void GenerateStartingApparelFor(Verse.Pawn, PawnGenerationRequest)
L_0007: ldarg.0
L_0008: call Void TryGenerateWeaponFor(Verse.Pawn)
L_000d: ldarg.0
L_000e: ldarg.1
L_000f: call Void GenerateInventoryFor(Verse.Pawn, PawnGenerationRequest)
L_0014: ldarg 0
L_001a: ldarga 1
L_0020: call Void Patch_PawnGenerator_GenerateGearFor(Verse.Pawn,
PawnGenerationRequest ByRef)
L_0025: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ret
DONE
### Patch Verse.Pawn_HealthTracker, Void PreApplyDamage(DamageInfo, Boolean ByRef)
L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarga 1
L_0007: ldarg 2
L_000d: call Boolean PreApplyDamage_PrePatch(Verse.Pawn_HealthTracker, DamageInfo
ByRef, Boolean ByRef)
L_0012: brfalse Label0
L_0017: ldarg.0
L_0018: ldarga 1
L_001e: ldarg 2
L_0024: call Boolean
Patch_Pawn_HealthTracker_PreApplyDamage(Verse.Pawn_HealthTracker, DamageInfo ByRef,
Boolean ByRef)
L_0029: brfalse Label0
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Instigator()
L_0035: brfalse Label1
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt RimWorld.Faction get_Faction()
L_0045: brfalse Label2
L_004a: ldarg.0
L_004b: ldfld Verse.Pawn pawn
L_0050: callvirt RimWorld.Faction get_Faction()
L_0055: callvirt Boolean get_IsPlayer()
L_005a: brfalse Label3
L_005f: ldarg.0
L_0060: ldfld Verse.Pawn pawn
L_0065: callvirt Boolean get_InAggroMentalState()
L_006a: brtrue Label4
L_006f: ldarga.s 1
L_0071: call Verse.Thing get_Instigator()
L_0076: isinst Verse.Pawn
L_007b: stloc.0
L_007c: ldloc.0
L_007d: brfalse Label5
L_0082: ldloc.0
L_0083: ldfld RimWorld.Pawn_GuiltTracker guilt
L_0088: brfalse Label6
L_008d: ldloc.0
L_008e: ldfld Verse.AI.Pawn_MindState mindState
L_0093: brfalse Label7
L_0098: ldloc.0
L_0099: ldfld RimWorld.Pawn_GuiltTracker guilt
L_009e: callvirt Void Notify_Guilty()
L_00a3: Label1
L_00a3: Label2
L_00a3: Label3
L_00a3: Label4
L_00a3: Label5
L_00a3: Label6
L_00a3: Label7
L_00a3: ldarg.0
L_00a4: ldfld Verse.Pawn pawn
L_00a9: callvirt Boolean get_Spawned()
L_00ae: brfalse Label8
L_00b3: ldarg.0
L_00b4: ldfld Verse.Pawn pawn
L_00b9: callvirt IntVec3 get_Position()
L_00be: ldarg.0
L_00bf: ldfld Verse.Pawn pawn
L_00c4: callvirt Verse.Map get_Map()
L_00c9: call Boolean Fogged(IntVec3, Verse.Map)
L_00ce: brtrue Label9
L_00d3: ldarg.0
L_00d4: ldfld Verse.Pawn pawn
L_00d9: ldfld Verse.AI.Pawn_MindState mindState
L_00de: ldc.i4.1
L_00df: callvirt Void set_Active(Boolean)
L_00e4: Label9
L_00e4: ldarg.0
L_00e5: ldfld Verse.Pawn pawn
L_00ea: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00ef: stloc.1
L_00f0: ldloc.1
L_00f1: brfalse Label10
L_00f6: ldloc.1
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: ldarg.1
L_00fe: callvirt Void Notify_PawnDamaged(Verse.Pawn, DamageInfo)
L_0103: Label10
L_0103: ldarga.s 1
L_0105: call Verse.DamageDef get_Def()
L_010a: ldarg.0
L_010b: ldfld Verse.Pawn pawn
L_0110: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0115: brfalse Label11
L_011a: ldarg.0
L_011b: ldfld Verse.Pawn pawn
L_0120: ldc.r4 18
L_0125: ldsfld Verse.ClamorDef Harm
L_012a: call Void DoClamor(Verse.Thing, Single, Verse.ClamorDef)
L_012f: Label11
L_012f: ldarg.0
L_0130: ldfld Verse.Pawn pawn
L_0135: ldfld Verse.AI.Pawn_JobTracker jobs
L_013a: ldarg.1
L_013b: callvirt Void Notify_DamageTaken(DamageInfo)
L_0140: Label8
L_0140: ldarg.0
L_0141: ldfld Verse.Pawn pawn
L_0146: callvirt RimWorld.Faction get_Faction()
L_014b: brfalse Label12
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: callvirt RimWorld.Faction get_Faction()
L_015b: ldarg.0
L_015c: ldfld Verse.Pawn pawn
L_0161: ldarg.1
L_0162: callvirt Void Notify_MemberTookDamage(Verse.Pawn, DamageInfo)
L_0167: call ProgramState get_ProgramState()
L_016c: ldc.i4.2
L_016d: bne.un Label13
L_0172: ldarg.0
L_0173: ldfld Verse.Pawn pawn
L_0178: callvirt RimWorld.Faction get_Faction()
L_017d: call RimWorld.Faction get_OfPlayer()
L_0182: bne.un Label14
L_0187: ldarga.s 1
L_0189: call Verse.DamageDef get_Def()
L_018e: ldarg.0
L_018f: ldfld Verse.Pawn pawn
L_0194: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0199: brfalse Label15
L_019e: ldarg.0
L_019f: ldfld Verse.Pawn pawn
L_01a4: callvirt Boolean get_SpawnedOrAnyParentSpawned()
L_01a9: brfalse Label16
L_01ae: ldarg.0
L_01af: ldfld Verse.Pawn pawn
L_01b4: callvirt Verse.Map get_MapHeld()
L_01b9: ldfld RimWorld.DangerWatcher dangerWatcher
L_01be: callvirt Void Notify_ColonistHarmedExternally()
L_01c3: Label12
L_01c3: Label13
L_01c3: Label14
L_01c3: Label15
L_01c3: Label16
L_01c3: ldarg.0
L_01c4: ldfld Verse.Pawn pawn
L_01c9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ce: brfalse Label17
L_01d3: ldarg.0
L_01d4: ldfld Verse.Pawn pawn
L_01d9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01de: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_01e3: stloc.2
L_01e4: ldc.i4.0
L_01e5: stloc.3
L_01e6: br Label18
L_01eb: Label20
L_01eb: ldloc.2
L_01ec: ldloc.3
L_01ed: callvirt RimWorld.Apparel get_Item(Int32)
L_01f2: ldarg.1
L_01f3: callvirt Boolean CheckPreAbsorbDamage(DamageInfo)
L_01f8: brfalse Label19
L_01fd: ldarg.2
L_01fe: ldc.i4.1
L_01ff: stind.i1
L_0200: br Label32
L_0205: Label19
L_0205: ldloc.3
L_0206: ldc.i4.1
L_0207: add
L_0208: stloc.3
L_0209: Label18
L_0209: ldloc.3
L_020a: ldloc.2
L_020b: callvirt Int32 get_Count()
L_0210: blt Label20
L_0215: Label17
L_0215: ldarg.0
L_0216: ldfld Verse.Pawn pawn
L_021b: callvirt Boolean get_Spawned()
L_0220: brfalse Label21
L_0225: ldarg.0
L_0226: ldfld Verse.Pawn pawn
L_022b: ldfld Verse.Pawn_StanceTracker stances
L_0230: ldarg.1
L_0231: callvirt Void Notify_DamageTaken(DamageInfo)
L_0236: ldarg.0
L_0237: ldfld Verse.Pawn pawn
L_023c: ldfld Verse.Pawn_StanceTracker stances
L_0241: ldfld RimWorld.StunHandler stunner
L_0246: ldarg.1
L_0247: ldarg.0
L_0248: ldfld Verse.Pawn pawn
L_024d: callvirt Verse.RaceProperties get_RaceProps()
L_0252: callvirt Boolean get_IsFlesh()
L_0257: ldc.i4.0
L_0258: ceq
L_025a: callvirt Void Notify_DamageApplied(DamageInfo, Boolean)
L_025f: Label21
L_025f: ldarg.0
L_0260: ldfld Verse.Pawn pawn
L_0265: callvirt Verse.RaceProperties get_RaceProps()
L_026a: callvirt Boolean get_IsFlesh()
L_026f: brfalse Label22
L_0274: ldarga.s 1
L_0276: call Verse.DamageDef get_Def()
L_027b: ldarg.0
L_027c: ldfld Verse.Pawn pawn
L_0281: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0286: brfalse Label23
L_028b: ldarga.s 1
L_028d: call Verse.Thing get_Instigator()
L_0292: isinst Verse.Pawn
L_0297: stloc.s 4 (Verse.Pawn)
L_0299: ldloc.s 4 (Verse.Pawn)
L_029b: brfalse Label24
L_02a0: ldloc.s 4 (Verse.Pawn)
L_02a2: ldarg.0
L_02a3: ldfld Verse.Pawn pawn
L_02a8: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_02ad: brfalse Label25
L_02b2: ldarg.0
L_02b3: ldfld Verse.Pawn pawn
L_02b8: ldfld RimWorld.Pawn_RelationsTracker relations
L_02bd: ldc.i4.1
L_02be: stfld System.Boolean canGetRescuedThought
L_02c3: Label25
L_02c3: ldarg.0
L_02c4: ldfld Verse.Pawn pawn
L_02c9: callvirt Verse.RaceProperties get_RaceProps()
L_02ce: callvirt Boolean get_Humanlike()
L_02d3: brfalse Label26
L_02d8: ldloc.s 4 (Verse.Pawn)
L_02da: callvirt Verse.RaceProperties get_RaceProps()
L_02df: callvirt Boolean get_Humanlike()
L_02e4: brfalse Label27
L_02e9: ldarg.0
L_02ea: ldfld Verse.Pawn pawn
L_02ef: ldfld RimWorld.Pawn_NeedsTracker needs
L_02f4: ldfld RimWorld.Need_Mood mood
L_02f9: brfalse Label28
L_02fe: ldloc.s 4 (Verse.Pawn)
L_0300: ldarg.0
L_0301: ldfld Verse.Pawn pawn
L_0306: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_030b: brfalse Label29
L_0310: ldloc.s 4 (Verse.Pawn)
L_0312: callvirt RimWorld.Faction get_Faction()
L_0317: ldarg.0
L_0318: ldfld Verse.Pawn pawn
L_031d: callvirt RimWorld.Faction get_Faction()
L_0322: bne.un Label30
L_0327: ldloc.s 4 (Verse.Pawn)
L_0329: callvirt Boolean get_InMentalState()
L_032e: brfalse Label31
L_0333: Label29
L_0333: ldarg.0
L_0334: ldfld Verse.Pawn pawn
L_0339: ldfld RimWorld.Pawn_NeedsTracker needs
L_033e: ldfld RimWorld.Need_Mood mood
L_0343: ldfld RimWorld.ThoughtHandler thoughts
L_0348: ldfld RimWorld.MemoryThoughtHandler memories
L_034d: ldsfld RimWorld.ThoughtDef HarmedMe
L_0352: ldloc.s 4 (Verse.Pawn)
L_0354: callvirt Void TryGainMemory(RimWorld.ThoughtDef, Verse.Pawn)
L_0359: Label24
L_0359: Label26
L_0359: Label27
L_0359: Label28
L_0359: Label30
L_0359: Label31
L_0359: ldsfld RimWorld.TaleDef Wounded
L_035e: ldc.i4.3
L_035f: newarr System.Object
L_0364: dup
L_0365: ldc.i4.0
L_0366: ldarg.0
L_0367: ldfld Verse.Pawn pawn
L_036c: stelem.ref
L_036d: dup
L_036e: ldc.i4.1
L_036f: ldloc.s 4 (Verse.Pawn)
L_0371: stelem.ref
L_0372: dup
L_0373: ldc.i4.2
L_0374: ldarga.s 1
L_0376: call Verse.ThingDef get_Weapon()
L_037b: stelem.ref
L_037c: call RimWorld.Tale RecordTale(RimWorld.TaleDef, System.Object[])
L_0381: pop
L_0382: Label22
L_0382: Label23
L_0382: ldarg.2
L_0383: ldc.i4.0
L_0384: stind.i1
L_0385: Label32
L_0385: Label0
L_0385: ret
DONE

### Patch Verse.Pawn_EquipmentTracker, Void MakeRoomFor(Verse.ThingWithComps)


L_0000: Local var 0: Verse.ThingWithComps
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld Verse.EquipmentType equipmentType
L_000b: ldc.i4.1
L_000c: bne.un Label1
L_0011: ldarg.0
L_0012: call Verse.ThingWithComps get_Primary()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: ldarg.0
L_001e: call Verse.ThingWithComps get_Primary()
L_0023: ldloca.s 0 (Verse.ThingWithComps)
L_0025: ldarg.0
L_0026: ldfld Verse.Pawn pawn
L_002b: callvirt IntVec3 get_Position()
L_0030: ldc.i4.1
L_0031: call Boolean TryDropEquipment(Verse.ThingWithComps, Verse.ThingWithComps
ByRef, IntVec3, Boolean)
L_0036: brfalse Label3
L_003b: ldloc.0
L_003c: brfalse Label4
L_0041: ldloc.0
L_0042: ldc.i4.0
L_0043: ldc.i4.1
L_0044: call Void SetForbidden(Verse.Thing, Boolean, Boolean)
L_0049: Label4
L_0049: br Label5
L_004e: Label3
L_004e: ldarg.0
L_004f: ldfld Verse.Pawn pawn
L_0054: ldstr " couldn't make room for equipment "
L_0059: ldarg.1
L_005a: call System.String Concat(System.Object, System.Object, System.Object)
L_005f: ldc.i4.0
L_0060: call Void Error(System.String, Boolean)
L_0065: Label1
L_0065: Label2
L_0065: Label5
L_0065: ldarg.0
L_0066: ldarga 1
L_006c: call Void
Patch_Pawn_EquipmentTracker_MakeRoomFor(Verse.Pawn_EquipmentTracker,
Verse.ThingWithComps ByRef)
L_0071: ret
DONE

### Patch RimWorld.StatWorker, System.String GetExplanationUnfinalized(StatRequest,


ToStringNumberSense)
L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.SkillNeed
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Single
L_0000: Local var 7: RimWorld.PawnCapacityOffset
L_0000: Local var 8:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityOffset, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Single
L_0000: Local var 11: System.Single
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: Local var 14: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 15: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 16: System.Int32
L_0000: Local var 17: RimWorld.Trait
L_0000: Local var 18: System.String
L_0000: Local var 19: System.Int32
L_0000: Local var 20: RimWorld.Trait
L_0000: Local var 21: System.String
L_0000: Local var 22: System.Int32
L_0000: Local var 23: RimWorld.Apparel
L_0000: Local var 24: System.Boolean
L_0000: Local var 25: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 26: System.Int32
L_0000: Local var 27: Verse.HediffStage
L_0000: Local var 28: System.Single
L_0000: Local var 29: System.Single
L_0000: Local var 30: System.Single
L_0000: Local var 31: System.Single
L_0000: Local var 32: RimWorld.CompAffectedByFacilities
L_0000: Local var 33: System.Int32
L_0000: Local var 34: RimWorld.StatDef
L_0000: Local var 35: System.Int32
L_0000: Local var 36: RimWorld.SkillNeed
L_0000: Local var 37: System.Int32
L_0000: Local var 38: RimWorld.PawnCapacityFactor
L_0000: Local var 39:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityFactor, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 40: System.String
L_0000: Local var 41: System.Single
L_0000: Local var 42: System.String
L_0000: Local var 43: System.String
L_0000: Local var 44: System.Single
L_0000: Local var 45: System.Single
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldarg.0
L_0007: ldarga.s 1
L_0009: call Verse.BuildableDef get_Def()
L_000e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0013: stloc.1
L_0014: ldloc.1
L_0015: ldc.r4 0
L_001a: beq Label1
L_001f: ldloc.0
L_0020: ldstr "StatsReport_BaseValue"
L_0025: call System.String Translate(System.String)
L_002a: ldstr ": "
L_002f: ldarg.0
L_0030: ldfld RimWorld.StatDef stat
L_0035: ldloc.1
L_0036: ldarg.2
L_0037: callvirt System.String ValueToString(Single, ToStringNumberSense)
L_003c: call System.String Concat(System.String, System.String, System.String)
L_0041: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0046: pop
L_0047: ldloc.0
L_0048: callvirt System.Text.StringBuilder AppendLine()
L_004d: pop
L_004e: Label1
L_004e: ldarga.s 1
L_0050: call Verse.Thing get_Thing()
L_0055: isinst Verse.Pawn
L_005a: stloc.2
L_005b: ldloc.2
L_005c: brfalse Label2
L_0061: ldloc.2
L_0062: ldfld RimWorld.Pawn_SkillTracker skills
L_0067: brfalse Label3
L_006c: ldarg.0
L_006d: ldfld RimWorld.StatDef stat
L_0072: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0077: brfalse Label4
L_007c: ldloc.0
L_007d: ldstr "StatsReport_Skills"
L_0082: call System.String Translate(System.String)
L_0087: callvirt System.Text.StringBuilder AppendLine(System.String)
L_008c: pop
L_008d: ldc.i4.0
L_008e: stloc.3
L_008f: br Label5
L_0094: Label6
L_0094: ldarg.0
L_0095: ldfld RimWorld.StatDef stat
L_009a: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_009f: ldloc.3
L_00a0: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00a5: stloc.s 4 (RimWorld.SkillNeed)
L_00a7: ldloc.2
L_00a8: ldfld RimWorld.Pawn_SkillTracker skills
L_00ad: ldloc.s 4 (RimWorld.SkillNeed)
L_00af: ldfld RimWorld.SkillDef skill
L_00b4: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_00b9: callvirt Int32 get_Level()
L_00be: stloc.s 5 (System.Int32)
L_00c0: ldloc.s 4 (RimWorld.SkillNeed)
L_00c2: ldloc.2
L_00c3: callvirt Single ValueFor(Verse.Pawn)
L_00c8: stloc.s 6 (System.Single)
L_00ca: ldloc.0
L_00cb: ldc.i4.7
L_00cc: newarr System.Object
L_00d1: dup
L_00d2: ldc.i4.0
L_00d3: ldstr " "
L_00d8: stelem.ref
L_00d9: dup
L_00da: ldc.i4.1
L_00db: ldloc.s 4 (RimWorld.SkillNeed)
L_00dd: ldfld RimWorld.SkillDef skill
L_00e2: callvirt System.String get_LabelCap()
L_00e7: stelem.ref
L_00e8: dup
L_00e9: ldc.i4.2
L_00ea: ldstr " ("
L_00ef: stelem.ref
L_00f0: dup
L_00f1: ldc.i4.3
L_00f2: ldloc.s 5 (System.Int32)
L_00f4: box System.Int32
L_00f9: stelem.ref
L_00fa: dup
L_00fb: ldc.i4.4
L_00fc: ldstr "): "
L_0101: stelem.ref
L_0102: dup
L_0103: ldc.i4.5
L_0104: ldloc.s 6 (System.Single)
L_0106: call System.String ToStringSign(Single)
L_010b: stelem.ref
L_010c: dup
L_010d: ldc.i4.6
L_010e: ldarg.0
L_010f: ldloc.s 6 (System.Single)
L_0111: ldc.i4.0
L_0112: ldc.i4.1
L_0113: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0118: stelem.ref
L_0119: call System.String Concat(System.Object[])
L_011e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0123: pop
L_0124: ldloc.3
L_0125: ldc.i4.1
L_0126: add
L_0127: stloc.3
L_0128: Label5
L_0128: ldloc.3
L_0129: ldarg.0
L_012a: ldfld RimWorld.StatDef stat
L_012f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0134: callvirt Int32 get_Count()
L_0139: blt Label6
L_013e: ldloc.0
L_013f: callvirt System.Text.StringBuilder AppendLine()
L_0144: pop
L_0145: Label4
L_0145: br Label7
L_014a: Label3
L_014a: ldarg.0
L_014b: ldfld RimWorld.StatDef stat
L_0150: ldfld System.Single noSkillOffset
L_0155: ldc.r4 0
L_015a: beq Label8
L_015f: ldloc.0
L_0160: ldstr "StatsReport_Skills"
L_0165: call System.String Translate(System.String)
L_016a: callvirt System.Text.StringBuilder AppendLine(System.String)
L_016f: pop
L_0170: ldloc.0
L_0171: ldc.i4.5
L_0172: newarr System.String
L_0177: dup
L_0178: ldc.i4.0
L_0179: ldstr " "
L_017e: stelem.ref
L_017f: dup
L_0180: ldc.i4.1
L_0181: ldstr "default"
L_0186: call System.String Translate(System.String)
L_018b: call System.String CapitalizeFirst(System.String)
L_0190: stelem.ref
L_0191: dup
L_0192: ldc.i4.2
L_0193: ldstr " : "
L_0198: stelem.ref
L_0199: dup
L_019a: ldc.i4.3
L_019b: ldarg.0
L_019c: ldfld RimWorld.StatDef stat
L_01a1: ldfld System.Single noSkillOffset
L_01a6: call System.String ToStringSign(Single)
L_01ab: stelem.ref
L_01ac: dup
L_01ad: ldc.i4.4
L_01ae: ldarg.0
L_01af: ldarg.0
L_01b0: ldfld RimWorld.StatDef stat
L_01b5: ldfld System.Single noSkillOffset
L_01ba: ldc.i4.0
L_01bb: ldc.i4.1
L_01bc: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_01c1: stelem.ref
L_01c2: call System.String Concat(System.String[])
L_01c7: callvirt System.Text.StringBuilder AppendLine(System.String)
L_01cc: pop
L_01cd: ldloc.0
L_01ce: callvirt System.Text.StringBuilder AppendLine()
L_01d3: pop
L_01d4: Label7
L_01d4: Label8
L_01d4: ldarg.0
L_01d5: ldfld RimWorld.StatDef stat
L_01da: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_01df: brfalse Label9
L_01e4: ldloc.0
L_01e5: ldstr "StatsReport_Health"
L_01ea: call Boolean CanTranslate(System.String)
L_01ef: brfalse Label10
L_01f4: ldstr "StatsReport_Health"
L_01f9: call System.String Translate(System.String)
L_01fe: br Label11
L_0203: Label10
L_0203: ldstr "StatsReport_HealthFactors"
L_0208: call System.String Translate(System.String)
L_020d: Label11
L_020d: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0212: pop
L_0213: ldarg.0
L_0214: ldfld RimWorld.StatDef stat
L_0219: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_021e: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0223: brtrue Label12
L_0228: ldnull
L_0229: ldftn Int32 <GetExplanationUnfinalized>m__0(RimWorld.PawnCapacityOffset)
L_022f: newobj Void .ctor(Object, IntPtr)
L_0234: stsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0239: Label12
L_0239: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_023e: call IOrderedEnumerable`1 OrderBy[PawnCapacityOffset,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityOffset,System.Int32])
L_0243: callvirt IEnumerator`1 GetEnumerator()
L_0248: stloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
.try
{
L_024a: br Label13
L_024f: Label15
L_024f: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_0251: callvirt RimWorld.PawnCapacityOffset get_Current()
L_0256: stloc.s 7 (RimWorld.PawnCapacityOffset)
L_0258: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_025a: ldfld Verse.PawnCapacityDef capacity
L_025f: ldloc.2
L_0260: callvirt System.String GetLabelFor(Verse.Pawn)
L_0265: call System.String CapitalizeFirst(System.String)
L_026a: stloc.s 9 (System.String)
L_026c: ldloc.2
L_026d: ldfld Verse.Pawn_HealthTracker health
L_0272: ldfld Verse.PawnCapacitiesHandler capacities
L_0277: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0279: ldfld Verse.PawnCapacityDef capacity
L_027e: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0283: stloc.s 10 (System.Single)
L_0285: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0287: ldloc.2
L_0288: ldfld Verse.Pawn_HealthTracker health
L_028d: ldfld Verse.PawnCapacitiesHandler capacities
L_0292: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0294: ldfld Verse.PawnCapacityDef capacity
L_0299: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_029e: callvirt Single GetOffset(Single)
L_02a3: stloc.s 11 (System.Single)
L_02a5: ldarg.0
L_02a6: ldloc.s 11 (System.Single)
L_02a8: ldc.i4.0
L_02a9: ldc.i4.1
L_02aa: call System.String ValueToString(Single, Boolean,
ToStringNumberSense)
L_02af: stloc.s 12 (System.String)
L_02b1: ldloc.s 10 (System.Single)
L_02b3: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02b5: ldfld System.Single max
L_02ba: call Single Min(Single, Single)
L_02bf: call System.String ToStringPercent(Single)
L_02c4: ldstr ", "
L_02c9: ldstr "HealthOffsetScale"
L_02ce: ldc.i4.1
L_02cf: newarr System.Object
L_02d4: dup
L_02d5: ldc.i4.0
L_02d6: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02d8: ldflda System.Single scale
L_02dd: constrained. System.Single
L_02e3: callvirt System.String ToString()
L_02e8: ldstr "x"
L_02ed: call System.String Concat(System.String, System.String)
L_02f2: stelem.ref
L_02f3: call System.String Translate(System.String, System.Object[])
L_02f8: call System.String Concat(System.String, System.String,
System.String)
L_02fd: stloc.s 13 (System.String)
L_02ff: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0301: ldfld System.Single max
L_0306: ldc.r4 999
L_030b: bge.un Label14
L_0310: ldloc.s 13 (System.String)
L_0312: ldstr ", "
L_0317: ldstr "HealthFactorMaxImpact"
L_031c: ldc.i4.1
L_031d: newarr System.Object
L_0322: dup
L_0323: ldc.i4.0
L_0324: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0326: ldfld System.Single max
L_032b: call System.String ToStringPercent(Single)
L_0330: stelem.ref
L_0331: call System.String Translate(System.String, System.Object[])
L_0336: call System.String Concat(System.String, System.String,
System.String)
L_033b: stloc.s 13 (System.String)
L_033d: Label14
L_033d: ldloc.0
L_033e: ldc.i4.8
L_033f: newarr System.String
L_0344: dup
L_0345: ldc.i4.0
L_0346: ldstr " "
L_034b: stelem.ref
L_034c: dup
L_034d: ldc.i4.1
L_034e: ldloc.s 9 (System.String)
L_0350: stelem.ref
L_0351: dup
L_0352: ldc.i4.2
L_0353: ldstr ": "
L_0358: stelem.ref
L_0359: dup
L_035a: ldc.i4.3
L_035b: ldloc.s 11 (System.Single)
L_035d: call System.String ToStringSign(Single)
L_0362: stelem.ref
L_0363: dup
L_0364: ldc.i4.4
L_0365: ldloc.s 12 (System.String)
L_0367: stelem.ref
L_0368: dup
L_0369: ldc.i4.5
L_036a: ldstr " ("
L_036f: stelem.ref
L_0370: dup
L_0371: ldc.i4.6
L_0372: ldloc.s 13 (System.String)
L_0374: stelem.ref
L_0375: dup
L_0376: ldc.i4.7
L_0377: ldstr ")"
L_037c: stelem.ref
L_037d: call System.String Concat(System.String[])
L_0382: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0387: pop
L_0388: Label13
L_0388: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_038a: callvirt Boolean MoveNext()
L_038f: brtrue Label15
L_0394: leave Label16
L_0399: leave (autogenerated)
} // end try
.finally
{
L_039e: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a0: brfalse Label17
L_03a5: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a7: callvirt Void Dispose()
L_03ac: Label17
L_03ac: endfinally
L_03ad: leave (autogenerated)
} // end handler
L_03ae: Label16
L_03ae: ldloc.0
L_03af: callvirt System.Text.StringBuilder AppendLine()
L_03b4: pop
L_03b5: Label9
L_03b5: ldloc.2
L_03b6: callvirt Verse.RaceProperties get_RaceProps()
L_03bb: ldfld Verse.Intelligence intelligence
L_03c0: ldc.i4.1
L_03c1: blt Label18
L_03c6: ldloc.2
L_03c7: ldfld RimWorld.Pawn_StoryTracker story
L_03cc: brfalse Label19
L_03d1: ldloc.2
L_03d2: ldfld RimWorld.Pawn_StoryTracker story
L_03d7: ldfld RimWorld.TraitSet traits
L_03dc: brfalse Label20
L_03e1: ldloc.2
L_03e2: ldfld RimWorld.Pawn_StoryTracker story
L_03e7: ldfld RimWorld.TraitSet traits
L_03ec: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_03f1: ldarg.0
L_03f2: ldftn Boolean <GetExplanationUnfinalized>m__1(RimWorld.Trait)
L_03f8: newobj Void .ctor(Object, IntPtr)
L_03fd: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_0402: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_0407: stloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0409: ldloc.2
L_040a: ldfld RimWorld.Pawn_StoryTracker story
L_040f: ldfld RimWorld.TraitSet traits
L_0414: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0419: ldarg.0
L_041a: ldftn Boolean <GetExplanationUnfinalized>m__2(RimWorld.Trait)
L_0420: newobj Void .ctor(Object, IntPtr)
L_0425: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_042a: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_042f: stloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0431: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0433: callvirt Int32 get_Count()
L_0438: ldc.i4.0
L_0439: bgt Label21
L_043e: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0440: callvirt Int32 get_Count()
L_0445: ldc.i4.0
L_0446: ble Label22
L_044b: Label21
L_044b: ldloc.0
L_044c: ldstr "StatsReport_RelevantTraits"
L_0451: call System.String Translate(System.String)
L_0456: callvirt System.Text.StringBuilder AppendLine(System.String)
L_045b: pop
L_045c: ldc.i4.0
L_045d: stloc.s 16 (System.Int32)
L_045f: br Label23
L_0464: Label24
L_0464: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0466: ldloc.s 16 (System.Int32)
L_0468: callvirt RimWorld.Trait get_Item(Int32)
L_046d: stloc.s 17 (RimWorld.Trait)
L_046f: ldloc.s 17 (RimWorld.Trait)
L_0471: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_0476: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_047b: ldarg.0
L_047c: ldftn Boolean <GetExplanationUnfinalized>m__3(RimWorld.StatModifier)
L_0482: newobj Void .ctor(Object, IntPtr)
L_0487: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_048c: callvirt System.String get_ValueToStringAsOffset()
L_0491: stloc.s 18 (System.String)
L_0493: ldloc.0
L_0494: ldstr " "
L_0499: ldloc.s 17 (RimWorld.Trait)
L_049b: callvirt System.String get_LabelCap()
L_04a0: ldstr ": "
L_04a5: ldloc.s 18 (System.String)
L_04a7: call System.String Concat(System.String, System.String, System.String,
System.String)
L_04ac: callvirt System.Text.StringBuilder AppendLine(System.String)
L_04b1: pop
L_04b2: ldloc.s 16 (System.Int32)
L_04b4: ldc.i4.1
L_04b5: add
L_04b6: stloc.s 16 (System.Int32)
L_04b8: Label23
L_04b8: ldloc.s 16 (System.Int32)
L_04ba: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04bc: callvirt Int32 get_Count()
L_04c1: blt Label24
L_04c6: ldc.i4.0
L_04c7: stloc.s 19 (System.Int32)
L_04c9: br Label25
L_04ce: Label26
L_04ce: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04d0: ldloc.s 19 (System.Int32)
L_04d2: callvirt RimWorld.Trait get_Item(Int32)
L_04d7: stloc.s 20 (RimWorld.Trait)
L_04d9: ldloc.s 20 (RimWorld.Trait)
L_04db: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_04e0: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_04e5: ldarg.0
L_04e6: ldftn Boolean <GetExplanationUnfinalized>m__4(RimWorld.StatModifier)
L_04ec: newobj Void .ctor(Object, IntPtr)
L_04f1: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_04f6: callvirt System.String get_ToStringAsFactor()
L_04fb: stloc.s 21 (System.String)
L_04fd: ldloc.0
L_04fe: ldstr " "
L_0503: ldloc.s 20 (RimWorld.Trait)
L_0505: callvirt System.String get_LabelCap()
L_050a: ldstr ": "
L_050f: ldloc.s 21 (System.String)
L_0511: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0516: callvirt System.Text.StringBuilder AppendLine(System.String)
L_051b: pop
L_051c: ldloc.s 19 (System.Int32)
L_051e: ldc.i4.1
L_051f: add
L_0520: stloc.s 19 (System.Int32)
L_0522: Label25
L_0522: ldloc.s 19 (System.Int32)
L_0524: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0526: callvirt Int32 get_Count()
L_052b: blt Label26
L_0530: ldloc.0
L_0531: callvirt System.Text.StringBuilder AppendLine()
L_0536: pop
L_0537: Label19
L_0537: Label20
L_0537: Label22
L_0537: ldloc.2
L_0538: ldarg.0
L_0539: ldfld RimWorld.StatDef stat
L_053e: call IEnumerable`1 RelevantGear(Verse.Pawn, RimWorld.StatDef)
L_0543: call Boolean Any[Thing](IEnumerable`1)
L_0548: brfalse Label27
L_054d: ldloc.0
L_054e: ldstr "StatsReport_RelevantGear"
L_0553: call System.String Translate(System.String)
L_0558: callvirt System.Text.StringBuilder AppendLine(System.String)
L_055d: pop
L_055e: ldloc.2
L_055f: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0564: brfalse Label28
L_0569: ldc.i4.0
L_056a: stloc.s 22 (System.Int32)
L_056c: br Label29
L_0571: Label30
L_0571: ldloc.2
L_0572: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0577: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_057c: ldloc.s 22 (System.Int32)
L_057e: callvirt RimWorld.Apparel get_Item(Int32)
L_0583: stloc.s 23 (RimWorld.Apparel)
L_0585: ldloc.0
L_0586: ldloc.s 23 (RimWorld.Apparel)
L_0588: ldarg.0
L_0589: ldfld RimWorld.StatDef stat
L_058e: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_0593: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0598: pop
L_0599: ldloc.s 22 (System.Int32)
L_059b: ldc.i4.1
L_059c: add
L_059d: stloc.s 22 (System.Int32)
L_059f: Label29
L_059f: ldloc.s 22 (System.Int32)
L_05a1: ldloc.2
L_05a2: ldfld RimWorld.Pawn_ApparelTracker apparel
L_05a7: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_05ac: callvirt Int32 get_Count()
L_05b1: blt Label30
L_05b6: Label28
L_05b6: ldloc.2
L_05b7: ldfld Verse.Pawn_EquipmentTracker equipment
L_05bc: brfalse Label31
L_05c1: ldloc.2
L_05c2: ldfld Verse.Pawn_EquipmentTracker equipment
L_05c7: callvirt Verse.ThingWithComps get_Primary()
L_05cc: brfalse Label32
L_05d1: ldloc.0
L_05d2: ldloc.2
L_05d3: ldfld Verse.Pawn_EquipmentTracker equipment
L_05d8: callvirt Verse.ThingWithComps get_Primary()
L_05dd: ldarg.0
L_05de: ldfld RimWorld.StatDef stat
L_05e3: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_05e8: callvirt System.Text.StringBuilder AppendLine(System.String)
L_05ed: pop
L_05ee: ldloc.0
L_05ef: ldloc.2
L_05f0: ldarg.0
L_05f1: ldfld RimWorld.StatDef stat
L_05f6: call Void StatWorkerInjection_BuildShieldString(System.Text.StringBuilder,
Verse.Pawn, RimWorld.StatDef)
L_05fb: Label31
L_05fb: Label32
L_05fb: ldloc.0
L_05fc: callvirt System.Text.StringBuilder AppendLine()
L_0601: pop
L_0602: Label18
L_0602: Label27
L_0602: ldc.i4.0
L_0603: stloc.s 24 (System.Boolean)
L_0605: ldloc.2
L_0606: ldfld Verse.Pawn_HealthTracker health
L_060b: ldfld Verse.HediffSet hediffSet
L_0610: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0615: stloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0617: ldc.i4.0
L_0618: stloc.s 26 (System.Int32)
L_061a: br Label33
L_061f: Label37
L_061f: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0621: ldloc.s 26 (System.Int32)
L_0623: callvirt Verse.Hediff get_Item(Int32)
L_0628: callvirt Verse.HediffStage get_CurStage()
L_062d: stloc.s 27 (Verse.HediffStage)
L_062f: ldloc.s 27 (Verse.HediffStage)
L_0631: brfalse Label34
L_0636: ldloc.s 27 (Verse.HediffStage)
L_0638: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_063d: ldarg.0
L_063e: ldfld RimWorld.StatDef stat
L_0643: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0648: stloc.s 28 (System.Single)
L_064a: ldloc.s 28 (System.Single)
L_064c: ldc.r4 0
L_0651: beq Label35
L_0656: ldloc.s 24 (System.Boolean)
L_0658: brtrue Label36
L_065d: ldloc.0
L_065e: ldstr "StatsReport_RelevantHediffs"
L_0663: call System.String Translate(System.String)
L_0668: callvirt System.Text.StringBuilder AppendLine(System.String)
L_066d: pop
L_066e: ldc.i4.1
L_066f: stloc.s 24 (System.Boolean)
L_0671: Label36
L_0671: ldloc.0
L_0672: ldstr " "
L_0677: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0679: ldloc.s 26 (System.Int32)
L_067b: callvirt Verse.Hediff get_Item(Int32)
L_0680: callvirt System.String get_LabelBase()
L_0685: call System.String CapitalizeFirst(System.String)
L_068a: ldstr ": "
L_068f: ldarg.0
L_0690: ldloc.s 28 (System.Single)
L_0692: ldc.i4.0
L_0693: ldc.i4.3
L_0694: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0699: call System.String Concat(System.String, System.String, System.String,
System.String)
L_069e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_06a3: pop
L_06a4: ldloc.0
L_06a5: callvirt System.Text.StringBuilder AppendLine()
L_06aa: pop
L_06ab: Label34
L_06ab: Label35
L_06ab: ldloc.s 26 (System.Int32)
L_06ad: ldc.i4.1
L_06ae: add
L_06af: stloc.s 26 (System.Int32)
L_06b1: Label33
L_06b1: ldloc.s 26 (System.Int32)
L_06b3: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_06b5: callvirt Int32 get_Count()
L_06ba: blt Label37
L_06bf: ldloc.2
L_06c0: ldfld Verse.Pawn_AgeTracker ageTracker
L_06c5: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_06ca: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_06cf: ldarg.0
L_06d0: ldfld RimWorld.StatDef stat
L_06d5: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_06da: stloc.s 29 (System.Single)
L_06dc: ldloc.s 29 (System.Single)
L_06de: ldc.r4 1
L_06e3: beq Label38
L_06e8: ldloc.0
L_06e9: ldc.i4.5
L_06ea: newarr System.String
L_06ef: dup
L_06f0: ldc.i4.0
L_06f1: ldstr "StatsReport_LifeStage"
L_06f6: call System.String Translate(System.String)
L_06fb: stelem.ref
L_06fc: dup
L_06fd: ldc.i4.1
L_06fe: ldstr " ("
L_0703: stelem.ref
L_0704: dup
L_0705: ldc.i4.2
L_0706: ldloc.2
L_0707: ldfld Verse.Pawn_AgeTracker ageTracker
L_070c: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_0711: ldfld System.String label
L_0716: stelem.ref
L_0717: dup
L_0718: ldc.i4.3
L_0719: ldstr "): "
L_071e: stelem.ref
L_071f: dup
L_0720: ldc.i4.4
L_0721: ldloc.s 29 (System.Single)
L_0723: ldc.i4.8
L_0724: ldc.i4.2
L_0725: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_072a: stelem.ref
L_072b: call System.String Concat(System.String[])
L_0730: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0735: pop
L_0736: ldloc.0
L_0737: callvirt System.Text.StringBuilder AppendLine()
L_073c: pop
L_073d: Label2
L_073d: Label38
L_073d: ldarga.s 1
L_073f: call Verse.ThingDef get_StuffDef()
L_0744: brfalse Label39
L_0749: ldloc.1
L_074a: ldc.r4 0
L_074f: bgt Label40
L_0754: ldarg.0
L_0755: ldfld RimWorld.StatDef stat
L_075a: ldfld System.Boolean applyFactorsIfNegative
L_075f: brfalse Label41
L_0764: Label40
L_0764: ldarga.s 1
L_0766: call Verse.ThingDef get_StuffDef()
L_076b: ldfld Verse.StuffProperties stuffProps
L_0770: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0775: ldarg.0
L_0776: ldfld RimWorld.StatDef stat
L_077b: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0780: stloc.s 30 (System.Single)
L_0782: ldloc.s 30 (System.Single)
L_0784: ldc.r4 1
L_0789: beq Label42
L_078e: ldloc.0
L_078f: ldc.i4.5
L_0790: newarr System.String
L_0795: dup
L_0796: ldc.i4.0
L_0797: ldstr "StatsReport_Material"
L_079c: call System.String Translate(System.String)
L_07a1: stelem.ref
L_07a2: dup
L_07a3: ldc.i4.1
L_07a4: ldstr " ("
L_07a9: stelem.ref
L_07aa: dup
L_07ab: ldc.i4.2
L_07ac: ldarga.s 1
L_07ae: call Verse.ThingDef get_StuffDef()
L_07b3: callvirt System.String get_LabelCap()
L_07b8: stelem.ref
L_07b9: dup
L_07ba: ldc.i4.3
L_07bb: ldstr "): "
L_07c0: stelem.ref
L_07c1: dup
L_07c2: ldc.i4.4
L_07c3: ldloc.s 30 (System.Single)
L_07c5: ldc.i4.8
L_07c6: ldc.i4.2
L_07c7: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_07cc: stelem.ref
L_07cd: call System.String Concat(System.String[])
L_07d2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_07d7: pop
L_07d8: ldloc.0
L_07d9: callvirt System.Text.StringBuilder AppendLine()
L_07de: pop
L_07df: Label41
L_07df: Label42
L_07df: ldarga.s 1
L_07e1: call Verse.ThingDef get_StuffDef()
L_07e6: ldfld Verse.StuffProperties stuffProps
L_07eb: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_07f0: ldarg.0
L_07f1: ldfld RimWorld.StatDef stat
L_07f6: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_07fb: stloc.s 31 (System.Single)
L_07fd: ldloc.s 31 (System.Single)
L_07ff: ldc.r4 0
L_0804: beq Label43
L_0809: ldloc.0
L_080a: ldc.i4.5
L_080b: newarr System.String
L_0810: dup
L_0811: ldc.i4.0
L_0812: ldstr "StatsReport_Material"
L_0817: call System.String Translate(System.String)
L_081c: stelem.ref
L_081d: dup
L_081e: ldc.i4.1
L_081f: ldstr " ("
L_0824: stelem.ref
L_0825: dup
L_0826: ldc.i4.2
L_0827: ldarga.s 1
L_0829: call Verse.ThingDef get_StuffDef()
L_082e: callvirt System.String get_LabelCap()
L_0833: stelem.ref
L_0834: dup
L_0835: ldc.i4.3
L_0836: ldstr "): "
L_083b: stelem.ref
L_083c: dup
L_083d: ldc.i4.4
L_083e: ldloc.s 31 (System.Single)
L_0840: ldarg.0
L_0841: ldfld RimWorld.StatDef stat
L_0846: ldfld Verse.ToStringStyle toStringStyle
L_084b: ldc.i4.3
L_084c: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0851: stelem.ref
L_0852: call System.String Concat(System.String[])
L_0857: callvirt System.Text.StringBuilder AppendLine(System.String)
L_085c: pop
L_085d: ldloc.0
L_085e: callvirt System.Text.StringBuilder AppendLine()
L_0863: pop
L_0864: Label39
L_0864: Label43
L_0864: ldarga.s 1
L_0866: call Verse.Thing get_Thing()
L_086b: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0870: stloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0872: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0874: brfalse Label44
L_0879: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_087b: ldarg.0
L_087c: ldfld RimWorld.StatDef stat
L_0881: ldloc.0
L_0882: callvirt Void GetStatsExplanation(RimWorld.StatDef,
System.Text.StringBuilder)
L_0887: Label44
L_0887: ldarg.0
L_0888: ldfld RimWorld.StatDef stat
L_088d: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0892: brfalse Label45
L_0897: ldloc.0
L_0898: ldstr "StatsReport_OtherStats"
L_089d: call System.String Translate(System.String)
L_08a2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08a7: pop
L_08a8: ldc.i4.0
L_08a9: stloc.s 33 (System.Int32)
L_08ab: br Label46
L_08b0: Label47
L_08b0: ldarg.0
L_08b1: ldfld RimWorld.StatDef stat
L_08b6: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_08bb: ldloc.s 33 (System.Int32)
L_08bd: callvirt RimWorld.StatDef get_Item(Int32)
L_08c2: stloc.s 34 (RimWorld.StatDef)
L_08c4: ldloc.0
L_08c5: ldstr " "
L_08ca: ldloc.s 34 (RimWorld.StatDef)
L_08cc: callvirt System.String get_LabelCap()
L_08d1: ldstr ": x"
L_08d6: ldloc.s 34 (RimWorld.StatDef)
L_08d8: callvirt RimWorld.StatWorker get_Worker()
L_08dd: ldarg.1
L_08de: ldc.i4.1
L_08df: callvirt Single GetValue(StatRequest, Boolean)
L_08e4: call System.String ToStringPercent(Single)
L_08e9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_08ee: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08f3: pop
L_08f4: ldloc.s 33 (System.Int32)
L_08f6: ldc.i4.1
L_08f7: add
L_08f8: stloc.s 33 (System.Int32)
L_08fa: Label46
L_08fa: ldloc.s 33 (System.Int32)
L_08fc: ldarg.0
L_08fd: ldfld RimWorld.StatDef stat
L_0902: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0907: callvirt Int32 get_Count()
L_090c: blt Label47
L_0911: ldloc.0
L_0912: callvirt System.Text.StringBuilder AppendLine()
L_0917: pop
L_0918: Label45
L_0918: ldloc.2
L_0919: brfalse Label48
L_091e: ldloc.2
L_091f: ldfld RimWorld.Pawn_SkillTracker skills
L_0924: brfalse Label49
L_0929: ldarg.0
L_092a: ldfld RimWorld.StatDef stat
L_092f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0934: brfalse Label50
L_0939: ldloc.0
L_093a: ldstr "StatsReport_Skills"
L_093f: call System.String Translate(System.String)
L_0944: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0949: pop
L_094a: ldc.i4.0
L_094b: stloc.s 35 (System.Int32)
L_094d: br Label51
L_0952: Label52
L_0952: ldarg.0
L_0953: ldfld RimWorld.StatDef stat
L_0958: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_095d: ldloc.s 35 (System.Int32)
L_095f: callvirt RimWorld.SkillNeed get_Item(Int32)
L_0964: stloc.s 36 (RimWorld.SkillNeed)
L_0966: ldloc.2
L_0967: ldfld RimWorld.Pawn_SkillTracker skills
L_096c: ldloc.s 36 (RimWorld.SkillNeed)
L_096e: ldfld RimWorld.SkillDef skill
L_0973: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_0978: callvirt Int32 get_Level()
L_097d: stloc.s 37 (System.Int32)
L_097f: ldloc.0
L_0980: ldc.i4.6
L_0981: newarr System.Object
L_0986: dup
L_0987: ldc.i4.0
L_0988: ldstr " "
L_098d: stelem.ref
L_098e: dup
L_098f: ldc.i4.1
L_0990: ldloc.s 36 (RimWorld.SkillNeed)
L_0992: ldfld RimWorld.SkillDef skill
L_0997: callvirt System.String get_LabelCap()
L_099c: stelem.ref
L_099d: dup
L_099e: ldc.i4.2
L_099f: ldstr " ("
L_09a4: stelem.ref
L_09a5: dup
L_09a6: ldc.i4.3
L_09a7: ldloc.s 37 (System.Int32)
L_09a9: box System.Int32
L_09ae: stelem.ref
L_09af: dup
L_09b0: ldc.i4.4
L_09b1: ldstr "): x"
L_09b6: stelem.ref
L_09b7: dup
L_09b8: ldc.i4.5
L_09b9: ldloc.s 36 (RimWorld.SkillNeed)
L_09bb: ldloc.2
L_09bc: callvirt Single ValueFor(Verse.Pawn)
L_09c1: call System.String ToStringPercent(Single)
L_09c6: stelem.ref
L_09c7: call System.String Concat(System.Object[])
L_09cc: callvirt System.Text.StringBuilder AppendLine(System.String)
L_09d1: pop
L_09d2: ldloc.s 35 (System.Int32)
L_09d4: ldc.i4.1
L_09d5: add
L_09d6: stloc.s 35 (System.Int32)
L_09d8: Label51
L_09d8: ldloc.s 35 (System.Int32)
L_09da: ldarg.0
L_09db: ldfld RimWorld.StatDef stat
L_09e0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_09e5: callvirt Int32 get_Count()
L_09ea: blt Label52
L_09ef: ldloc.0
L_09f0: callvirt System.Text.StringBuilder AppendLine()
L_09f5: pop
L_09f6: Label50
L_09f6: br Label53
L_09fb: Label49
L_09fb: ldarg.0
L_09fc: ldfld RimWorld.StatDef stat
L_0a01: ldfld System.Single noSkillFactor
L_0a06: ldc.r4 1
L_0a0b: beq Label54
L_0a10: ldloc.0
L_0a11: ldstr "StatsReport_Skills"
L_0a16: call System.String Translate(System.String)
L_0a1b: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a20: pop
L_0a21: ldloc.0
L_0a22: ldstr " "
L_0a27: ldstr "default"
L_0a2c: call System.String Translate(System.String)
L_0a31: call System.String CapitalizeFirst(System.String)
L_0a36: ldstr " : x"
L_0a3b: ldarg.0
L_0a3c: ldfld RimWorld.StatDef stat
L_0a41: ldfld System.Single noSkillFactor
L_0a46: call System.String ToStringPercent(Single)
L_0a4b: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0a50: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a55: pop
L_0a56: ldloc.0
L_0a57: callvirt System.Text.StringBuilder AppendLine()
L_0a5c: pop
L_0a5d: Label53
L_0a5d: Label54
L_0a5d: ldarg.0
L_0a5e: ldfld RimWorld.StatDef stat
L_0a63: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0a68: brfalse Label55
L_0a6d: ldloc.0
L_0a6e: ldstr "StatsReport_Health"
L_0a73: call Boolean CanTranslate(System.String)
L_0a78: brfalse Label56
L_0a7d: ldstr "StatsReport_Health"
L_0a82: call System.String Translate(System.String)
L_0a87: br Label57
L_0a8c: Label56
L_0a8c: ldstr "StatsReport_HealthFactors"
L_0a91: call System.String Translate(System.String)
L_0a96: Label57
L_0a96: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a9b: pop
L_0a9c: ldarg.0
L_0a9d: ldfld RimWorld.StatDef stat
L_0aa2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0aa7: brfalse Label58
L_0aac: ldarg.0
L_0aad: ldfld RimWorld.StatDef stat
L_0ab2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0ab7: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0abc: brtrue Label59
L_0ac1: ldnull
L_0ac2: ldftn Int32 <GetExplanationUnfinalized>m__5(RimWorld.PawnCapacityFactor)
L_0ac8: newobj Void .ctor(Object, IntPtr)
L_0acd: stsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad2: Label59
L_0ad2: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad7: call IOrderedEnumerable`1 OrderBy[PawnCapacityFactor,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityFactor,System.Int32])
L_0adc: callvirt IEnumerator`1 GetEnumerator()
L_0ae1: stloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
.try
{
L_0ae3: br Label60
L_0ae8: Label63
L_0ae8: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0aea: callvirt RimWorld.PawnCapacityFactor get_Current()
L_0aef: stloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af1: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af3: ldfld Verse.PawnCapacityDef capacity
L_0af8: ldloc.2
L_0af9: callvirt System.String GetLabelFor(Verse.Pawn)
L_0afe: call System.String CapitalizeFirst(System.String)
L_0b03: stloc.s 40 (System.String)
L_0b05: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b07: ldloc.2
L_0b08: ldfld Verse.Pawn_HealthTracker health
L_0b0d: ldfld Verse.PawnCapacitiesHandler capacities
L_0b12: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b14: ldfld Verse.PawnCapacityDef capacity
L_0b19: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0b1e: callvirt Single GetFactor(Single)
L_0b23: stloc.s 41 (System.Single)
L_0b25: ldloc.s 41 (System.Single)
L_0b27: call System.String ToStringPercent(Single)
L_0b2c: stloc.s 42 (System.String)
L_0b2e: ldstr "HealthFactorPercentImpact"
L_0b33: ldc.i4.1
L_0b34: newarr System.Object
L_0b39: dup
L_0b3a: ldc.i4.0
L_0b3b: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b3d: ldfld System.Single weight
L_0b42: call System.String ToStringPercent(Single)
L_0b47: stelem.ref
L_0b48: call System.String Translate(System.String, System.Object[])
L_0b4d: stloc.s 43 (System.String)
L_0b4f: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b51: ldfld System.Single max
L_0b56: ldc.r4 999
L_0b5b: bge.un Label61
L_0b60: ldloc.s 43 (System.String)
L_0b62: ldstr ", "
L_0b67: ldstr "HealthFactorMaxImpact"
L_0b6c: ldc.i4.1
L_0b6d: newarr System.Object
L_0b72: dup
L_0b73: ldc.i4.0
L_0b74: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b76: ldfld System.Single max
L_0b7b: call System.String ToStringPercent(Single)
L_0b80: stelem.ref
L_0b81: call System.String Translate(System.String, System.Object[])
L_0b86: call System.String Concat(System.String, System.String,
System.String)
L_0b8b: stloc.s 43 (System.String)
L_0b8d: Label61
L_0b8d: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b8f: ldfld System.Single allowedDefect
L_0b94: ldc.r4 0
L_0b99: beq Label62
L_0b9e: ldloc.s 43 (System.String)
L_0ba0: ldstr ", "
L_0ba5: ldstr "HealthFactorAllowedDefect"
L_0baa: ldc.i4.1
L_0bab: newarr System.Object
L_0bb0: dup
L_0bb1: ldc.i4.0
L_0bb2: ldc.r4 1
L_0bb7: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0bb9: ldfld System.Single allowedDefect
L_0bbe: sub
L_0bbf: call System.String ToStringPercent(Single)
L_0bc4: stelem.ref
L_0bc5: call System.String Translate(System.String, System.Object[])
L_0bca: call System.String Concat(System.String, System.String,
System.String)
L_0bcf: stloc.s 43 (System.String)
L_0bd1: Label62
L_0bd1: ldloc.0
L_0bd2: ldc.i4.7
L_0bd3: newarr System.String
L_0bd8: dup
L_0bd9: ldc.i4.0
L_0bda: ldstr " "
L_0bdf: stelem.ref
L_0be0: dup
L_0be1: ldc.i4.1
L_0be2: ldloc.s 40 (System.String)
L_0be4: stelem.ref
L_0be5: dup
L_0be6: ldc.i4.2
L_0be7: ldstr ": x"
L_0bec: stelem.ref
L_0bed: dup
L_0bee: ldc.i4.3
L_0bef: ldloc.s 42 (System.String)
L_0bf1: stelem.ref
L_0bf2: dup
L_0bf3: ldc.i4.4
L_0bf4: ldstr " ("
L_0bf9: stelem.ref
L_0bfa: dup
L_0bfb: ldc.i4.5
L_0bfc: ldloc.s 43 (System.String)
L_0bfe: stelem.ref
L_0bff: dup
L_0c00: ldc.i4.6
L_0c01: ldstr ")"
L_0c06: stelem.ref
L_0c07: call System.String Concat(System.String[])
L_0c0c: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0c11: pop
L_0c12: Label60
L_0c12: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c14: callvirt Boolean MoveNext()
L_0c19: brtrue Label63
L_0c1e: leave Label64
L_0c23: leave (autogenerated)
} // end try
.finally
{
L_0c28: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c2a: brfalse Label65
L_0c2f: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c31: callvirt Void Dispose()
L_0c36: Label65
L_0c36: endfinally
L_0c37: leave (autogenerated)
} // end handler
L_0c38: Label58
L_0c38: Label64
L_0c38: ldloc.0
L_0c39: callvirt System.Text.StringBuilder AppendLine()
L_0c3e: pop
L_0c3f: Label55
L_0c3f: ldloc.2
L_0c40: callvirt Boolean get_Inspired()
L_0c45: brfalse Label66
L_0c4a: ldloc.2
L_0c4b: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0c50: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_0c55: ldarg.0
L_0c56: ldfld RimWorld.StatDef stat
L_0c5b: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0c60: stloc.s 44 (System.Single)
L_0c62: ldloc.s 44 (System.Single)
L_0c64: ldc.r4 0
L_0c69: beq Label67
L_0c6e: ldloc.0
L_0c6f: ldstr "StatsReport_Inspiration"
L_0c74: ldc.i4.1
L_0c75: newarr System.Object
L_0c7a: dup
L_0c7b: ldc.i4.0
L_0c7c: ldloc.2
L_0c7d: callvirt RimWorld.Inspiration get_Inspiration()
L_0c82: ldfld RimWorld.InspirationDef def
L_0c87: callvirt System.String get_LabelCap()
L_0c8c: stelem.ref
L_0c8d: call System.String Translate(System.String, System.Object[])
L_0c92: ldstr ": "
L_0c97: ldarg.0
L_0c98: ldloc.s 44 (System.Single)
L_0c9a: ldc.i4.0
L_0c9b: ldc.i4.3
L_0c9c: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0ca1: call System.String Concat(System.String, System.String, System.String)
L_0ca6: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0cab: pop
L_0cac: ldloc.0
L_0cad: callvirt System.Text.StringBuilder AppendLine()
L_0cb2: pop
L_0cb3: Label67
L_0cb3: ldloc.2
L_0cb4: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0cb9: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0cbe: ldarg.0
L_0cbf: ldfld RimWorld.StatDef stat
L_0cc4: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0cc9: stloc.s 45 (System.Single)
L_0ccb: ldloc.s 45 (System.Single)
L_0ccd: ldc.r4 1
L_0cd2: beq Label68
L_0cd7: ldloc.0
L_0cd8: ldstr "StatsReport_Inspiration"
L_0cdd: ldc.i4.1
L_0cde: newarr System.Object
L_0ce3: dup
L_0ce4: ldc.i4.0
L_0ce5: ldloc.2
L_0ce6: callvirt RimWorld.Inspiration get_Inspiration()
L_0ceb: ldfld RimWorld.InspirationDef def
L_0cf0: callvirt System.String get_LabelCap()
L_0cf5: stelem.ref
L_0cf6: call System.String Translate(System.String, System.Object[])
L_0cfb: ldstr ": "
L_0d00: ldloc.s 45 (System.Single)
L_0d02: ldc.i4.8
L_0d03: ldc.i4.2
L_0d04: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0d09: call System.String Concat(System.String, System.String, System.String)
L_0d0e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0d13: pop
L_0d14: ldloc.0
L_0d15: callvirt System.Text.StringBuilder AppendLine()
L_0d1a: pop
L_0d1b: Label48
L_0d1b: Label66
L_0d1b: Label68
L_0d1b: ldloc.0
L_0d1c: callvirt System.String ToString()
L_0d21: call System.String TrimEndNewlines(System.String)
L_0d26: ret
DONE

### Patch RimWorld.StatWorker, Single GetValueUnfinalized(StatRequest, Boolean)


L_0000: Local var 0: System.Single
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.PawnCapacityOffset
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.HediffStage
L_0000: Local var 9: System.Int32
L_0000: Local var 10: System.Int32
L_0000: Local var 11: RimWorld.CompAffectedByFacilities
L_0000: Local var 12: System.Int32
L_0000: Local var 13: System.Int32
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.PawnCapacityFactor
L_0000: Local var 16: System.Single
L_0000: Local var 17: System.Single
L_0000: ldc.r4 0
L_0005: stloc 17 (System.Single)
L_0007: call Boolean get_DevMode()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldarga.s 1
L_0014: call Verse.Thing get_Thing()
L_0019: callvirt Boolean IsDisabledFor(Verse.Thing)
L_001e: brfalse Label2
L_0023: ldstr "Attempted to calculate value for disabled stat {0}; this is meant as
a consistency check, either set the stat to neverDisabled or ensure this pawn
cannot accidentally use this stat (thing={1})"
L_0028: ldarg.0
L_0029: ldfld RimWorld.StatDef stat
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Thing()
L_0035: call System.String ToStringSafe[Thing](Verse.Thing)
L_003a: call System.String Format(System.String, System.Object, System.Object)
L_003f: ldc.i4 75193282
L_0044: ldarg.0
L_0045: ldfld RimWorld.StatDef stat
L_004a: ldfld System.UInt16 index
L_004f: add
L_0050: ldc.i4.0
L_0051: call Void ErrorOnce(System.String, Int32, Boolean)
L_0056: Label1
L_0056: Label2
L_0056: ldarg.0
L_0057: ldarga.s 1
L_0059: call Verse.BuildableDef get_Def()
L_005e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0063: stloc.0
L_0064: ldarga.s 1
L_0066: call Verse.Thing get_Thing()
L_006b: isinst Verse.Pawn
L_0070: stloc.1
L_0071: ldloc.1
L_0072: brfalse Label3
L_0077: ldloc.1
L_0078: ldfld RimWorld.Pawn_SkillTracker skills
L_007d: brfalse Label4
L_0082: ldarg.0
L_0083: ldfld RimWorld.StatDef stat
L_0088: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_008d: brfalse Label5
L_0092: ldc.i4.0
L_0093: stloc.2
L_0094: br Label6
L_0099: Label7
L_0099: ldloc.0
L_009a: ldarg.0
L_009b: ldfld RimWorld.StatDef stat
L_00a0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00a5: ldloc.2
L_00a6: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00ab: ldloc.1
L_00ac: callvirt Single ValueFor(Verse.Pawn)
L_00b1: add
L_00b2: stloc.0
L_00b3: ldloc.2
L_00b4: ldc.i4.1
L_00b5: add
L_00b6: stloc.2
L_00b7: Label6
L_00b7: ldloc.2
L_00b8: ldarg.0
L_00b9: ldfld RimWorld.StatDef stat
L_00be: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00c3: callvirt Int32 get_Count()
L_00c8: blt Label7
L_00cd: Label5
L_00cd: br Label8
L_00d2: Label4
L_00d2: ldloc.0
L_00d3: ldarg.0
L_00d4: ldfld RimWorld.StatDef stat
L_00d9: ldfld System.Single noSkillOffset
L_00de: add
L_00df: stloc.0
L_00e0: Label8
L_00e0: ldarg.0
L_00e1: ldfld RimWorld.StatDef stat
L_00e6: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_00eb: brfalse Label9
L_00f0: ldc.i4.0
L_00f1: stloc.3
L_00f2: br Label10
L_00f7: Label11
L_00f7: ldarg.0
L_00f8: ldfld RimWorld.StatDef stat
L_00fd: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_0102: ldloc.3
L_0103: callvirt RimWorld.PawnCapacityOffset get_Item(Int32)
L_0108: stloc.s 4 (RimWorld.PawnCapacityOffset)
L_010a: ldloc.0
L_010b: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_010d: ldloc.1
L_010e: ldfld Verse.Pawn_HealthTracker health
L_0113: ldfld Verse.PawnCapacitiesHandler capacities
L_0118: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_011a: ldfld Verse.PawnCapacityDef capacity
L_011f: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0124: callvirt Single GetOffset(Single)
L_0129: add
L_012a: stloc.0
L_012b: ldloc.3
L_012c: ldc.i4.1
L_012d: add
L_012e: stloc.3
L_012f: Label10
L_012f: ldloc.3
L_0130: ldarg.0
L_0131: ldfld RimWorld.StatDef stat
L_0136: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_013b: callvirt Int32 get_Count()
L_0140: blt Label11
L_0145: Label9
L_0145: ldloc.1
L_0146: ldfld RimWorld.Pawn_StoryTracker story
L_014b: brfalse Label12
L_0150: ldc.i4.0
L_0151: stloc.s 5 (System.Int32)
L_0153: br Label13
L_0158: Label14
L_0158: ldloc.0
L_0159: ldloc.1
L_015a: ldfld RimWorld.Pawn_StoryTracker story
L_015f: ldfld RimWorld.TraitSet traits
L_0164: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0169: ldloc.s 5 (System.Int32)
L_016b: callvirt RimWorld.Trait get_Item(Int32)
L_0170: ldarg.0
L_0171: ldfld RimWorld.StatDef stat
L_0176: callvirt Single OffsetOfStat(RimWorld.StatDef)
L_017b: add
L_017c: stloc.0
L_017d: ldloc.s 5 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 5 (System.Int32)
L_0183: Label13
L_0183: ldloc.s 5 (System.Int32)
L_0185: ldloc.1
L_0186: ldfld RimWorld.Pawn_StoryTracker story
L_018b: ldfld RimWorld.TraitSet traits
L_0190: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0195: callvirt Int32 get_Count()
L_019a: blt Label14
L_019f: Label12
L_019f: ldloc.1
L_01a0: ldfld Verse.Pawn_HealthTracker health
L_01a5: ldfld Verse.HediffSet hediffSet
L_01aa: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_01af: stloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01b1: ldc.i4.0
L_01b2: stloc.s 7 (System.Int32)
L_01b4: br Label15
L_01b9: Label17
L_01b9: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01bb: ldloc.s 7 (System.Int32)
L_01bd: callvirt Verse.Hediff get_Item(Int32)
L_01c2: callvirt Verse.HediffStage get_CurStage()
L_01c7: stloc.s 8 (Verse.HediffStage)
L_01c9: ldloc.s 8 (Verse.HediffStage)
L_01cb: brfalse Label16
L_01d0: ldloc.0
L_01d1: ldloc.s 8 (Verse.HediffStage)
L_01d3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_01d8: ldarg.0
L_01d9: ldfld RimWorld.StatDef stat
L_01de: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_01e3: add
L_01e4: stloc.0
L_01e5: Label16
L_01e5: ldloc.s 7 (System.Int32)
L_01e7: ldc.i4.1
L_01e8: add
L_01e9: stloc.s 7 (System.Int32)
L_01eb: Label15
L_01eb: ldloc.s 7 (System.Int32)
L_01ed: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01ef: callvirt Int32 get_Count()
L_01f4: blt Label17
L_01f9: ldloc.1
L_01fa: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ff: brfalse Label18
L_0204: ldc.i4.0
L_0205: stloc.s 9 (System.Int32)
L_0207: br Label19
L_020c: Label20
L_020c: ldloc.0
L_020d: ldloc.1
L_020e: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0213: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0218: ldloc.s 9 (System.Int32)
L_021a: callvirt RimWorld.Apparel get_Item(Int32)
L_021f: ldarg.0
L_0220: ldfld RimWorld.StatDef stat
L_0225: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_022a: add
L_022b: stloc.0
L_022c: ldloc.s 9 (System.Int32)
L_022e: ldc.i4.1
L_022f: add
L_0230: stloc.s 9 (System.Int32)
L_0232: Label19
L_0232: ldloc.s 9 (System.Int32)
L_0234: ldloc.1
L_0235: ldfld RimWorld.Pawn_ApparelTracker apparel
L_023a: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_023f: callvirt Int32 get_Count()
L_0244: blt Label20
L_0249: Label18
L_0249: ldloc.1
L_024a: ldfld Verse.Pawn_EquipmentTracker equipment
L_024f: brfalse Label21
L_0254: ldloc.1
L_0255: ldfld Verse.Pawn_EquipmentTracker equipment
L_025a: callvirt Verse.ThingWithComps get_Primary()
L_025f: brfalse Label22
L_0264: ldloc.0
L_0265: ldloc.1
L_0266: ldfld Verse.Pawn_EquipmentTracker equipment
L_026b: callvirt Verse.ThingWithComps get_Primary()
L_0270: ldarg.0
L_0271: ldfld RimWorld.StatDef stat
L_0276: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_027b: add
L_027c: stloc.0
L_027d: Label21
L_027d: Label22
L_027d: ldloc.1
L_027e: ldfld RimWorld.Pawn_StoryTracker story
L_0283: brfalse Label23
L_0288: ldc.i4.0
L_0289: stloc.s 10 (System.Int32)
L_028b: br Label24
L_0290: Label25
L_0290: ldloc.0
L_0291: ldloc.1
L_0292: ldfld RimWorld.Pawn_StoryTracker story
L_0297: ldfld RimWorld.TraitSet traits
L_029c: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02a1: ldloc.s 10 (System.Int32)
L_02a3: callvirt RimWorld.Trait get_Item(Int32)
L_02a8: ldarg.0
L_02a9: ldfld RimWorld.StatDef stat
L_02ae: callvirt Single MultiplierOfStat(RimWorld.StatDef)
L_02b3: mul
L_02b4: stloc.0
L_02b5: ldloc.s 10 (System.Int32)
L_02b7: ldc.i4.1
L_02b8: add
L_02b9: stloc.s 10 (System.Int32)
L_02bb: Label24
L_02bb: ldloc.s 10 (System.Int32)
L_02bd: ldloc.1
L_02be: ldfld RimWorld.Pawn_StoryTracker story
L_02c3: ldfld RimWorld.TraitSet traits
L_02c8: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02cd: callvirt Int32 get_Count()
L_02d2: blt Label25
L_02d7: Label23
L_02d7: ldloc.0
L_02d8: ldloc.1
L_02d9: ldfld Verse.Pawn_AgeTracker ageTracker
L_02de: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_02e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_02e8: ldarg.0
L_02e9: ldfld RimWorld.StatDef stat
L_02ee: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_02f3: mul
L_02f4: stloc.0
L_02f5: Label3
L_02f5: ldarga.s 1
L_02f7: call Verse.ThingDef get_StuffDef()
L_02fc: brfalse Label26
L_0301: ldloc.0
L_0302: ldc.r4 0
L_0307: bgt Label27
L_030c: ldarg.0
L_030d: ldfld RimWorld.StatDef stat
L_0312: ldfld System.Boolean applyFactorsIfNegative
L_0317: brfalse Label28
L_031c: Label27
L_031c: ldloc.0
L_031d: ldarga.s 1
L_031f: call Verse.ThingDef get_StuffDef()
L_0324: ldfld Verse.StuffProperties stuffProps
L_0329: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_032e: ldarg.0
L_032f: ldfld RimWorld.StatDef stat
L_0334: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0339: mul
L_033a: stloc.0
L_033b: Label28
L_033b: ldloc.0
L_033c: ldarga.s 1
L_033e: call Verse.ThingDef get_StuffDef()
L_0343: ldfld Verse.StuffProperties stuffProps
L_0348: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_034d: ldarg.0
L_034e: ldfld RimWorld.StatDef stat
L_0353: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0358: add
L_0359: stloc.0
L_035a: Label26
L_035a: ldarga.s 1
L_035c: call Boolean get_HasThing()
L_0361: brfalse Label29
L_0366: ldarga.s 1
L_0368: call Verse.Thing get_Thing()
L_036d: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0372: stloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0374: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0376: brfalse Label30
L_037b: ldloc.0
L_037c: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_037e: ldarg.0
L_037f: ldfld RimWorld.StatDef stat
L_0384: callvirt Single GetStatOffset(RimWorld.StatDef)
L_0389: add
L_038a: stloc.0
L_038b: Label30
L_038b: ldarg.0
L_038c: ldfld RimWorld.StatDef stat
L_0391: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0396: brfalse Label31
L_039b: ldc.i4.0
L_039c: stloc.s 12 (System.Int32)
L_039e: br Label32
L_03a3: Label33
L_03a3: ldloc.0
L_03a4: ldarga.s 1
L_03a6: call Verse.Thing get_Thing()
L_03ab: ldarg.0
L_03ac: ldfld RimWorld.StatDef stat
L_03b1: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03b6: ldloc.s 12 (System.Int32)
L_03b8: callvirt RimWorld.StatDef get_Item(Int32)
L_03bd: ldc.i4.1
L_03be: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_03c3: mul
L_03c4: stloc.0
L_03c5: ldloc.s 12 (System.Int32)
L_03c7: ldc.i4.1
L_03c8: add
L_03c9: stloc.s 12 (System.Int32)
L_03cb: Label32
L_03cb: ldloc.s 12 (System.Int32)
L_03cd: ldarg.0
L_03ce: ldfld RimWorld.StatDef stat
L_03d3: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03d8: callvirt Int32 get_Count()
L_03dd: blt Label33
L_03e2: Label31
L_03e2: ldloc.1
L_03e3: brfalse Label34
L_03e8: ldloc.1
L_03e9: ldfld RimWorld.Pawn_SkillTracker skills
L_03ee: brfalse Label35
L_03f3: ldarg.0
L_03f4: ldfld RimWorld.StatDef stat
L_03f9: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_03fe: brfalse Label36
L_0403: ldc.i4.0
L_0404: stloc.s 13 (System.Int32)
L_0406: br Label37
L_040b: Label38
L_040b: ldloc.0
L_040c: ldarg.0
L_040d: ldfld RimWorld.StatDef stat
L_0412: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0417: ldloc.s 13 (System.Int32)
L_0419: callvirt RimWorld.SkillNeed get_Item(Int32)
L_041e: ldloc.1
L_041f: callvirt Single ValueFor(Verse.Pawn)
L_0424: mul
L_0425: stloc.0
L_0426: ldloc.s 13 (System.Int32)
L_0428: ldc.i4.1
L_0429: add
L_042a: stloc.s 13 (System.Int32)
L_042c: Label37
L_042c: ldloc.s 13 (System.Int32)
L_042e: ldarg.0
L_042f: ldfld RimWorld.StatDef stat
L_0434: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0439: callvirt Int32 get_Count()
L_043e: blt Label38
L_0443: Label36
L_0443: br Label39
L_0448: Label35
L_0448: ldloc.0
L_0449: ldarg.0
L_044a: ldfld RimWorld.StatDef stat
L_044f: ldfld System.Single noSkillFactor
L_0454: mul
L_0455: stloc.0
L_0456: Label39
L_0456: ldarg.0
L_0457: ldfld RimWorld.StatDef stat
L_045c: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0461: brfalse Label40
L_0466: ldc.i4.0
L_0467: stloc.s 14 (System.Int32)
L_0469: br Label41
L_046e: Label42
L_046e: ldarg.0
L_046f: ldfld RimWorld.StatDef stat
L_0474: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0479: ldloc.s 14 (System.Int32)
L_047b: callvirt RimWorld.PawnCapacityFactor get_Item(Int32)
L_0480: stloc.s 15 (RimWorld.PawnCapacityFactor)
L_0482: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0484: ldloc.1
L_0485: ldfld Verse.Pawn_HealthTracker health
L_048a: ldfld Verse.PawnCapacitiesHandler capacities
L_048f: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0491: ldfld Verse.PawnCapacityDef capacity
L_0496: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_049b: callvirt Single GetFactor(Single)
L_04a0: stloc.s 16 (System.Single)
L_04a2: ldloc.0
L_04a3: ldloc.0
L_04a4: ldloc.s 16 (System.Single)
L_04a6: mul
L_04a7: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_04a9: ldfld System.Single weight
L_04ae: call Single Lerp(Single, Single, Single)
L_04b3: stloc.0
L_04b4: ldloc.s 14 (System.Int32)
L_04b6: ldc.i4.1
L_04b7: add
L_04b8: stloc.s 14 (System.Int32)
L_04ba: Label41
L_04ba: ldloc.s 14 (System.Int32)
L_04bc: ldarg.0
L_04bd: ldfld RimWorld.StatDef stat
L_04c2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_04c7: callvirt Int32 get_Count()
L_04cc: blt Label42
L_04d1: Label40
L_04d1: ldloc.1
L_04d2: callvirt Boolean get_Inspired()
L_04d7: brfalse Label43
L_04dc: ldloc.0
L_04dd: ldloc.1
L_04de: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_04e8: ldarg.0
L_04e9: ldfld RimWorld.StatDef stat
L_04ee: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_04f3: add
L_04f4: stloc.0
L_04f5: ldloc.0
L_04f6: ldloc.1
L_04f7: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04fc: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0501: ldarg.0
L_0502: ldfld RimWorld.StatDef stat
L_0507: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_050c: mul
L_050d: stloc.0
L_050e: Label29
L_050e: Label34
L_050e: Label43
L_050e: ldloc.0
L_050f: stloc 17 (System.Single)
L_0511: ldarg.0
L_0512: ldloca 17 (System.Single)
L_0514: ldarga 1
L_051a: ldarg 2
L_0520: call Void Patch_StatWorker_GetValueUnfinalized(RimWorld.StatWorker, Single
ByRef, StatRequest ByRef, Boolean)
L_0525: ldloc 17 (System.Single)
L_0527: ret
DONE

### Patch RimWorld.Dialog_ManageAreas, Void .ctor(Map)


L_0000: ldarg.0
L_0001: call Void .ctor()
L_0006: ldarg.0
L_0007: ldarg.1
L_0008: stfld Verse.Map map
L_000d: ldarg.0
L_000e: ldc.i4.1
L_000f: stfld System.Boolean forcePause
L_0014: ldarg.0
L_0015: ldc.i4.1
L_0016: stfld System.Boolean doCloseX
L_001b: ldarg.0
L_001c: ldc.i4.1
L_001d: stfld System.Boolean doCloseButton
L_0022: ldarg.0
L_0023: ldc.i4.1
L_0024: stfld System.Boolean closeOnClickedOutside
L_0029: ldarg.0
L_002a: ldc.i4.1
L_002b: stfld System.Boolean absorbInputAroundWindow
L_0030: call Void Postfix()
L_0035: ret
DONE

### Patch RimWorld.Area_Allowed, Int32 get_ListPriority()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldc.i4 500
L_000b: stloc 0 (System.Int32)
L_000c: ldarg.0
L_000d: ldloca 0 (System.Int32)
L_000f: call Void ListPriority_Postfix(RimWorld.Area_Allowed, Int32 ByRef)
L_0014: ldloc 0 (System.Int32)
L_0015: ret
DONE

### Patch RimWorld.InspectGizmoGrid, Void DrawInspectGizmoGridFor(IEnumerable`1,


Verse.Gizmo ByRef)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.ISelectable
L_0000: Local var 2: System.Int32
L_0000: Local var 3:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1
L_0000: Local var 4: System.Collections.Generic.List`1[[Verse.Designator, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 5: System.Int32
L_0000: Local var 6:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0
L_0000: Local var 7: Verse.AcceptanceReport
L_0000: Local var 8: System.Single
L_0000: Local var 9: UnityEngine.Vector2
L_0000: Local var 10: Verse.Command_Action
L_0000: Local var 11: System.Exception
L_0000: call Void ClearReverseDesignatorPairs()
L_0005: ldarg.1
L_0006: ldnull
L_0007: stind.ref
.try
{
L_0008: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_000d: callvirt Void Clear()
L_0012: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0017: ldarg.0
L_0018: callvirt Void AddRange(IEnumerable`1)
L_001d: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0022: callvirt Void Clear()
L_0027: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_002c: call IEnumerable`1 GetStopGizmos()
L_0031: call Void AddRange(IEnumerable`1)
L_0036: ldc.i4.0
L_0037: stloc.0
L_0038: br Label1
L_003d: Label3
L_003d: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0042: ldloc.0
L_0043: callvirt System.Object get_Item(Int32)
L_0048: isinst Verse.ISelectable
L_004d: stloc.1
L_004e: ldloc.1
L_004f: brfalse Label2
L_0054: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0059: ldloc.1
L_005a: callvirt IEnumerable`1 GetGizmos()
L_005f: callvirt Void AddRange(IEnumerable`1)
L_0064: Label2
L_0064: ldloc.0
L_0065: ldc.i4.1
L_0066: add
L_0067: stloc.0
L_0068: Label1
L_0068: ldloc.0
L_0069: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_006e: callvirt Int32 get_Count()
L_0073: blt Label3
L_0078: ldc.i4.0
L_0079: stloc.2
L_007a: br Label4
L_007f: Label12
L_007f: newobj Void .ctor()
L_0084: stloc.3
L_0085: ldloc.3
L_0086: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_008b: ldloc.2
L_008c: callvirt System.Object get_Item(Int32)
L_0091: isinst Verse.Thing
L_0096: stfld Verse.Thing t
L_009b: ldloc.3
L_009c: ldfld Verse.Thing t
L_00a1: brtrue Label5
L_00a6: leave Label6
L_00ab: Label5
L_00ab: call Verse.ReverseDesignatorDatabase get_ReverseDesignatorDatabase()
L_00b0: callvirt System.Collections.Generic.List`1[Verse.Designator]
get_AllDesignators()
L_00b5: stloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00b7: ldc.i4.0
L_00b8: stloc.s 5 (System.Int32)
L_00ba: br Label7
L_00bf: Label11
L_00bf: newobj Void .ctor()
L_00c4: stloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c8: ldloc.3
L_00c9: stfld
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1 <>f__ref$1
L_00ce: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00d0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00d2: ldloc.s 5 (System.Int32)
L_00d4: callvirt Verse.Designator get_Item(Int32)
L_00d9: stfld Verse.Designator des
L_00de: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00e0: ldfld Verse.Designator des
L_00e5: ldloc.3
L_00e6: ldfld Verse.Thing t
L_00eb: callvirt AcceptanceReport CanDesignateThing(Verse.Thing)
L_00f0: stloc.s 7 (Verse.AcceptanceReport)
L_00f2: ldloca.s 7 (Verse.AcceptanceReport)
L_00f4: call Boolean get_Accepted()
L_00f9: brfalse Label8
L_00fe: newobj Void .ctor()
L_0103: stloc.s 10 (Verse.Command_Action)
L_0105: ldloc.s 10 (Verse.Command_Action)
L_0107: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0109: ldfld Verse.Designator des
L_010e: ldloc.3
L_010f: ldfld Verse.Thing t
L_0114: callvirt System.String LabelCapReverseDesignating(Verse.Thing)
L_0119: stfld System.String defaultLabel
L_011e: ldloc.s 10 (Verse.Command_Action)
L_0120: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0122: ldfld Verse.Designator des
L_0127: ldloc.3
L_0128: ldfld Verse.Thing t
L_012d: ldloca.s 8 (System.Single)
L_012f: ldloca.s 9 (UnityEngine.Vector2)
L_0131: callvirt UnityEngine.Texture2D IconReverseDesignating(Verse.Thing,
Single ByRef, Vector2 ByRef)
L_0136: stfld UnityEngine.Texture2D icon
L_013b: ldloc.s 10 (Verse.Command_Action)
L_013d: ldloc.s 8 (System.Single)
L_013f: stfld System.Single iconAngle
L_0144: ldloc.s 10 (Verse.Command_Action)
L_0146: ldloc.s 9 (UnityEngine.Vector2)
L_0148: stfld UnityEngine.Vector2 iconOffset
L_014d: ldloc.s 10 (Verse.Command_Action)
L_014f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0151: ldfld Verse.Designator des
L_0156: ldloc.3
L_0157: ldfld Verse.Thing t
L_015c: callvirt System.String DescReverseDesignating(Verse.Thing)
L_0161: stfld System.String defaultDesc
L_0166: ldloc.s 10 (Verse.Command_Action)
L_0168: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_016a: ldfld Verse.Designator des
L_016f: isinst RimWorld.Designator_Uninstall
L_0174: brfalse Label9
L_0179: ldc.r4 -11
L_017e: br Label10
L_0183: Label9
L_0183: ldc.r4 -20
L_0188: Label10
L_0188: stfld System.Single order
L_018d: ldloc.s 10 (Verse.Command_Action)
L_018f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0191: ldftn Void <>m__0()
L_0197: newobj Void .ctor(Object, IntPtr)
L_019c: stfld System.Action action
L_01a1: ldloc.s 10 (Verse.Command_Action)
L_01a3: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01a5: ldfld Verse.Designator des
L_01aa: ldfld Verse.KeyBindingDef hotKey
L_01af: stfld Verse.KeyBindingDef hotKey
L_01b4: ldloc.s 10 (Verse.Command_Action)
L_01b6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01b8: ldfld Verse.Designator des
L_01bd: ldfld System.Int32 groupKey
L_01c2: stfld System.Int32 groupKey
L_01c7: ldloc.s 6
L_01cc: ldfld Verse.Designator des
L_01d1: ldloc 10
L_01d7: call Void RegisterReverseDesignatorPair(Verse.Designator,
Verse.Command_Action)
L_01dc: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_01e1: ldloc.s 10 (Verse.Command_Action)
L_01e3: callvirt Void Add(Verse.Gizmo)
L_01e8: Label8
L_01e8: ldloc.s 5 (System.Int32)
L_01ea: ldc.i4.1
L_01eb: add
L_01ec: stloc.s 5 (System.Int32)
L_01ee: Label7
L_01ee: ldloc.s 5 (System.Int32)
L_01f0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_01f2: callvirt Int32 get_Count()
L_01f7: blt Label11
L_01fc: Label6
L_01fc: ldloc.2
L_01fd: ldc.i4.1
L_01fe: add
L_01ff: stloc.2
L_0200: Label4
L_0200: ldloc.2
L_0201: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0206: callvirt Int32 get_Count()
L_020b: blt Label12
L_0210: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0215: callvirt Void Clear()
L_021a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_021f: call Verse.WindowStack get_WindowStack()
L_0224: callvirt IInspectPane WindowOfType[IInspectPane]()
L_0229: call Single PaneWidthFor(IInspectPane)
L_022e: ldc.r4 20
L_0233: add
L_0234: ldarg.1
L_0235: call Void DrawGizmoGrid(IEnumerable`1, Single, Verse.Gizmo ByRef)
L_023a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_023f: callvirt Void Clear()
L_0244: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0249: call IEnumerable`1 GetStopGizmos()
L_024e: call Void AddRange(IEnumerable`1)
L_0253: leave Label13
L_0258: leave (autogenerated)
} // end try
.catch System.Exception
{
L_025d: stloc.s 11 (System.Exception)
L_025f: ldloc.s 11 (System.Exception)
L_0261: callvirt System.String ToString()
L_0266: ldc.i4 3427734
L_026b: ldc.i4.0
L_026c: call Void ErrorOnce(System.String, Int32, Boolean)
L_0271: leave Label14
L_0276: leave (autogenerated)
} // end handler
L_027b: Label13
L_027b: Label14
L_027b: ret
DONE

### Patch Verse.PawnUIOverlay, Void DrawPawnGUIOverlay()


L_0000: Local var 0: Verse.AnimalNameDisplayMode
L_0000: Local var 1: UnityEngine.Vector2
L_0000: ldarg.0
L_0001: ldfld Verse.Pawn pawn
L_0006: callvirt Boolean get_Spawned()
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldfld Verse.Pawn pawn
L_0016: callvirt Verse.Map get_Map()
L_001b: ldfld Verse.FogGrid fogGrid
L_0020: ldarg.0
L_0021: ldfld Verse.Pawn pawn
L_0026: callvirt IntVec3 get_Position()
L_002b: callvirt Boolean IsFogged(IntVec3)
L_0030: brfalse Label2
L_0035: Label1
L_0035: br Label14
L_003a: Label2
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt Verse.RaceProperties get_RaceProps()
L_0045: callvirt Boolean get_Humanlike()
L_004a: brtrue Label3
L_004f: call AnimalNameDisplayMode get_AnimalNameMode()
L_0054: stloc.0
L_0055: ldloc.0
L_0056: brfalse Label4
L_005b: ldloc.0
L_005c: ldc.i4.2
L_005d: beq Label5
L_0062: ldloc.0
L_0063: ldc.i4.1
L_0064: beq Label6
L_0069: br Label7
L_006e: Label4
L_006e: br Label15
L_0073: Label5
L_0073: ldarg.0
L_0074: ldfld Verse.Pawn pawn
L_0079: callvirt Verse.Name get_Name()
L_007e: brtrue Label8
L_0083: br Label16
L_0088: Label8
L_0088: br Label9
L_008d: Label6
L_008d: ldarg.0
L_008e: ldfld Verse.Pawn pawn
L_0093: callvirt Verse.Name get_Name()
L_0098: brfalse Label10
L_009d: ldarg.0
L_009e: ldfld Verse.Pawn pawn
L_00a3: callvirt Verse.Name get_Name()
L_00a8: callvirt Boolean get_Numerical()
L_00ad: brfalse Label11
L_00b2: Label10
L_00b2: br Label17
L_00b7: Label11
L_00b7: br Label12
L_00bc: Label3
L_00bc: Label7
L_00bc: Label9
L_00bc: Label12
L_00bc: ldarg.0
L_00bd: ldfld Verse.Pawn pawn
L_00c2: ldc.r4 -0.6
L_00c7: call Vector2 LabelDrawPosFor(Verse.Thing, Single)
L_00cc: stloc.1
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: ldloc.1
L_00d4: ldc.r4 1
L_00d9: ldc.r4 9999
L_00de: ldnull
L_00df: ldc.i4.0
L_00e0: ldc.i4.1
L_00e1: ldc.i4.1
L_00e2: call Void DrawPawnLabel(Verse.Pawn, Vector2, Single, Single,
System.Collections.Generic.Dictionary`2[System.String,System.String], GameFont,
Boolean, Boolean)
L_00e7: ldarg.0
L_00e8: ldfld Verse.Pawn pawn
L_00ed: callvirt Boolean get_CanTradeNow()
L_00f2: brfalse Label13
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: callvirt Verse.Map get_Map()
L_0102: ldfld RimWorld.OverlayDrawer overlayDrawer
L_0107: ldarg.0
L_0108: ldfld Verse.Pawn pawn
L_010d: ldc.i4.s 32
L_010f: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0114: Label13
L_0114: Label14
L_0114: Label15
L_0114: Label16
L_0114: Label17
L_0114: ldarg.0
L_0115: call Void DrawPawnGUIOverlay(Verse.PawnUIOverlay)
L_011a: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ldarg.0
L_0424: ldarg 1
L_042a: ldarg 2
L_0430: ldarg 3
L_0436: call Void RenderPawnAt(Verse.PawnRenderer, Vector3, RotDrawMode, Boolean)
L_043b: ret
DONE

### Patch RimWorld.IncidentWorker_VisitorGroup, Boolean


TryConvertOnePawnToSmallTrader(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map)
L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: RimWorld.TraderKindDef
L_0000: Local var 3: RimWorld.ThingSetMakerParams
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: Verse.IntVec3
L_0000: Local var 8: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Boolean)
L_0007: ldarg.2
L_0008: ldfld RimWorld.FactionDef def
L_000d: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_0012: call Boolean NullOrEmpty[TraderKindDef](IList`1)
L_0017: brfalse Label1
L_001c: ldc.i4.0
L_001d: br Label10
L_0022: Label1
L_0022: ldarg.1
L_0023: call Verse.Pawn RandomElement[Pawn](IEnumerable`1)
L_0028: stloc.0
L_0029: ldloc.0
L_002a: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_002f: stloc.1
L_0030: ldloc.0
L_0031: ldfld Verse.AI.Pawn_MindState mindState
L_0036: ldc.i4.1
L_0037: stfld System.Boolean wantsToTradeWithColony
L_003c: ldloc.0
L_003d: ldc.i4.1
L_003e: call Void AddAndRemoveDynamicComponents(Verse.Pawn, Boolean)
L_0043: ldarg.2
L_0044: ldfld RimWorld.FactionDef def
L_0049: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_004e: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0053: brtrue Label2
L_0058: ldnull
L_0059: ldftn Single <TryConvertOnePawnToSmallTrader>m__0(RimWorld.TraderKindDef)
L_005f: newobj Void .ctor(Object, IntPtr)
L_0064: stsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0069: Label2
L_0069: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_006e: call RimWorld.TraderKindDef RandomElementByWeight[TraderKindDef]
(IEnumerable`1, System.Func`2[RimWorld.TraderKindDef,System.Single])
L_0073: stloc.2
L_0074: ldloc.0
L_0075: ldfld RimWorld.Pawn_TraderTracker trader
L_007a: ldloc.2
L_007b: stfld RimWorld.TraderKindDef traderKind
L_0080: ldloc.0
L_0081: ldfld Verse.Pawn_InventoryTracker inventory
L_0086: ldc.i4.0
L_0087: callvirt Void DestroyAll(DestroyMode)
L_008c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_008e: initobj RimWorld.ThingSetMakerParams
L_0094: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_0096: ldloc.2
L_0097: stfld RimWorld.TraderKindDef traderDef
L_009c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_009e: ldarg.3
L_009f: callvirt Int32 get_Tile()
L_00a4: newobj Void .ctor(Int32)
L_00a9: stfld System.Nullable`1[System.Int32] tile
L_00ae: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_00b0: ldarg.2
L_00b1: stfld RimWorld.Faction traderFaction
L_00b6: ldsfld RimWorld.ThingSetMakerDef TraderStock
L_00bb: ldfld RimWorld.ThingSetMaker root
L_00c0: ldloc.3
L_00c1: callvirt System.Collections.Generic.List`1[Verse.Thing]
Generate(ThingSetMakerParams)
L_00c6: callvirt Enumerator GetEnumerator()
L_00cb: stloc.s 5 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_00cd: br Label3
L_00d2: Label8
L_00d2: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_00d4: call Verse.Thing get_Current()
L_00d9: stloc.s 4 (Verse.Thing)
L_00db: ldloc.s 4 (Verse.Thing)
L_00dd: isinst Verse.Pawn
L_00e2: stloc.s 6 (Verse.Pawn)
L_00e4: ldloc.s 6 (Verse.Pawn)
L_00e6: brfalse Label4
L_00eb: ldloc.s 6 (Verse.Pawn)
L_00ed: callvirt RimWorld.Faction get_Faction()
L_00f2: ldloc.0
L_00f3: callvirt RimWorld.Faction get_Faction()
L_00f8: beq Label5
L_00fd: ldloc.s 6 (Verse.Pawn)
L_00ff: ldloc.0
L_0100: callvirt RimWorld.Faction get_Faction()
L_0105: ldnull
L_0106: callvirt Void SetFaction(RimWorld.Faction, Verse.Pawn)
L_010b: Label5
L_010b: ldloc.0
L_010c: callvirt IntVec3 get_Position()
L_0111: ldarg.3
L_0112: ldc.i4.5
L_0113: ldnull
L_0114: call IntVec3 RandomClosewalkCellNear(IntVec3, Verse.Map, Int32,
System.Predicate`1[Verse.IntVec3])
L_0119: stloc.s 7 (Verse.IntVec3)
L_011b: ldloc.s 6 (Verse.Pawn)
L_011d: ldloc.s 7 (Verse.IntVec3)
L_011f: ldarg.3
L_0120: ldc.i4.0
L_0121: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, WipeMode)
L_0126: pop
L_0127: ldloc.1
L_0128: ldloc.s 6 (Verse.Pawn)
L_012a: callvirt Void AddPawn(Verse.Pawn)
L_012f: br Label6
L_0134: Label4
L_0134: ldloc.0
L_0135: ldfld Verse.Pawn_InventoryTracker inventory
L_013a: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_013f: ldloc.s 4 (Verse.Thing)
L_0141: ldc.i4.1
L_0142: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0147: brtrue Label7
L_014c: ldloc.s 4 (Verse.Thing)
L_014e: ldc.i4.0
L_014f: callvirt Void Destroy(DestroyMode)
L_0154: Label3
L_0154: Label6
L_0154: Label7
L_0154: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0156: call Boolean MoveNext()
L_015b: brtrue Label8
L_0160: leave Label9
L_0165: leave (autogenerated)
} // end try
.finally
{
L_016a: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_016c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_0172: callvirt Void Dispose()
L_0177: endfinally
L_0178: leave (autogenerated)
} // end handler
L_0179: Label9
L_0179: ldloc.0
L_017a: call Void GiveRandomFood(Verse.Pawn)
L_017f: ldc.i4.1
L_0180: Label10
L_0180: stloc 8 (System.Boolean)
L_0182: ldarg 1
L_0188: ldarg 2
L_018e: ldarg 3
L_0194: ldloca 8 (System.Boolean)
L_0196: call Void AddQuestGiver(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map, Boolean ByRef)
L_019b: ldloc 8 (System.Boolean)
L_019d: ret
DONE

### Patch RimWorld.PawnGroupKindWorker_Trader, Void


GenerateGuards(RimWorld.PawnGroupMakerParms, RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Single
L_0000: Local var 1: RimWorld.PawnGenOption
L_0000: Local var 2:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnGenOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: Verse.PawnGenerationRequest
L_0000: Local var 4: Verse.PawnKindDef
L_0000: Local var 5: RimWorld.Faction
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Boolean
L_0000: Local var 8: System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var 9: System.Nullable`1[[Verse.Gender, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 10: Verse.Pawn
L_0000: ldarg.2
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0006: call Boolean Any[PawnGenOption]
(System.Collections.Generic.List`1[RimWorld.PawnGenOption])
L_000b: brtrue Label1
L_0010: br Label6
L_0015: Label1
L_0015: ldarg.1
L_0016: ldfld System.Single points
L_001b: stloc.0
L_001c: ldloc.0
L_001d: ldarg.2
L_001e: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0023: ldarg.1
L_0024: call IEnumerable`1 ChoosePawnGenOptionsByPoints(Single,
System.Collections.Generic.List`1[RimWorld.PawnGenOption],
RimWorld.PawnGroupMakerParms)
L_0029: callvirt IEnumerator`1 GetEnumerator()
L_002e: stloc.2
.try
{
L_002f: br Label2
L_0034: Label3
L_0034: ldloc.2
L_0035: callvirt RimWorld.PawnGenOption get_Current()
L_003a: stloc.1
L_003b: ldloca.s 3 (Verse.PawnGenerationRequest)
L_003d: ldloc.1
L_003e: ldfld Verse.PawnKindDef kind
L_0043: stloc.s 4 (Verse.PawnKindDef)
L_0045: ldarg.1
L_0046: ldfld RimWorld.Faction faction
L_004b: stloc.s 5 (RimWorld.Faction)
L_004d: ldarg.1
L_004e: ldfld System.Int32 tile
L_0053: stloc.s 6 (System.Int32)
L_0055: ldarg.1
L_0056: ldfld System.Boolean inhabitants
L_005b: stloc.s 7 (System.Boolean)
L_005d: ldloc.s 4 (Verse.PawnKindDef)
L_005f: ldloc.s 5 (RimWorld.Faction)
L_0061: ldc.i4.2
L_0062: ldloc.s 6 (System.Int32)
L_0064: ldc.i4.0
L_0065: ldc.i4.0
L_0066: ldc.i4.0
L_0067: ldc.i4.0
L_0068: ldc.i4.1
L_0069: ldc.i4.1
L_006a: ldc.r4 1
L_006f: ldc.i4.0
L_0070: ldc.i4.1
L_0071: ldc.i4.1
L_0072: ldloc.s 7 (System.Boolean)
L_0074: ldc.i4.0
L_0075: ldc.i4.0
L_0076: ldc.i4.0
L_0077: ldnull
L_0078: ldnull
L_0079: ldloca.s 8 (System.Nullable`1[System.Single])
L_007b: initobj System.Nullable`1[System.Single]
L_0081: ldloc.s 8 (System.Nullable`1[System.Single])
L_0083: ldloca.s 8 (System.Nullable`1[System.Single])
L_0085: initobj System.Nullable`1[System.Single]
L_008b: ldloc.s 8 (System.Nullable`1[System.Single])
L_008d: ldloca.s 8 (System.Nullable`1[System.Single])
L_008f: initobj System.Nullable`1[System.Single]
L_0095: ldloc.s 8 (System.Nullable`1[System.Single])
L_0097: ldloca.s 9 (System.Nullable`1[Verse.Gender])
L_0099: initobj System.Nullable`1[Verse.Gender]
L_009f: ldloc.s 9 (System.Nullable`1[Verse.Gender])
L_00a1: ldloca.s 8 (System.Nullable`1[System.Single])
L_00a3: initobj System.Nullable`1[System.Single]
L_00a9: ldloc.s 8 (System.Nullable`1[System.Single])
L_00ab: ldnull
L_00ac: call Void .ctor(PawnKindDef, Faction, PawnGenerationContext, Int32,
Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Single, Boolean, Boolean,
Boolean, Boolean, Boolean, Boolean, Boolean, Predicate`1, Predicate`1, Nullable`1,
Nullable`1, Nullable`1, Nullable`1, Nullable`1, String)
L_00b1: ldloc.3
L_00b2: call Verse.Pawn GeneratePawn(PawnGenerationRequest)
L_00b7: stloc.s 10 (Verse.Pawn)
L_00b9: ldarg.s 5
L_00bb: ldloc.s 10 (Verse.Pawn)
L_00bd: callvirt Void Add(Verse.Pawn)
L_00c2: Label2
L_00c2: ldloc.2
L_00c3: callvirt Boolean MoveNext()
L_00c8: brtrue Label3
L_00cd: leave Label4
L_00d2: leave (autogenerated)
} // end try
.finally
{
L_00d7: ldloc.2
L_00d8: brfalse Label5
L_00dd: ldloc.2
L_00de: callvirt Void Dispose()
L_00e3: Label5
L_00e3: endfinally
L_00e4: leave (autogenerated)
} // end handler
L_00e5: Label4
L_00e5: Label6
L_00e5: ldarg 1
L_00eb: ldarg 2
L_00f1: ldarg 3
L_00f7: ldarg 4
L_00fd: ldarg 5
L_0103: call Void AddQuestGiverTwo(RimWorld.PawnGroupMakerParms,
RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0108: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ldarga 0
L_1ea5: ldarga 1
L_1eab: ldarga 2
L_1eb1: call Void
FloatMenuMakerMap_AddHumanlikeOrdersToDismissTraders_PostFix(Vector3 ByRef,
Verse.Pawn ByRef, System.Collections.Generic.List`1[Verse.FloatMenuOption] ByRef)
L_1eb6: ldarg 0
L_1ebc: ldarg 1
L_1ec2: ldarg 2
L_1ec8: call Void AddHumanlikeOrders(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1ecd: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void PreOpen()


L_0000: ldarg.0
L_0001: call Void PreOpen()
L_0006: call Verse.GameInitData get_GameInitData()
L_000b: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0010: callvirt Int32 get_Count()
L_0015: ldc.i4.0
L_0016: ble Label1
L_001b: ldarg.0
L_001c: call Verse.GameInitData get_GameInitData()
L_0021: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0026: ldc.i4.0
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stfld Verse.Pawn curPawn
L_0031: Label1
L_0031: call Void PreOpenPostfix()
L_0036: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void DoWindowContents(Rect)


L_0000: Local var 0: UnityEngine.Rect
L_0000: Local var 1: UnityEngine.Rect
L_0000: Local var 2: UnityEngine.Rect
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void DrawPageTitle(Rect)
L_0007: ldarga.s 1
L_0009: dup
L_000a: call Single get_yMin()
L_000f: ldc.r4 45
L_0014: add
L_0015: call Void set_yMin(Single)
L_001a: ldarg.0
L_001b: ldarg.1
L_001c: ldstr "Start"
L_0021: call System.String Translate(System.String)
L_0026: ldnull
L_0027: ldnull
L_0028: ldc.i4.1
L_0029: call Void DoBottomButtons(Rect, System.String, System.String,
System.Action, Boolean)
L_002e: ldarga.s 1
L_0030: dup
L_0031: call Single get_yMax()
L_0036: ldc.r4 38
L_003b: sub
L_003c: call Void set_yMax(Single)
L_0041: ldarg.1
L_0042: stloc.0
L_0043: ldloca.s 0 (UnityEngine.Rect)
L_0045: ldc.r4 140
L_004a: call Void set_width(Single)
L_004f: ldarg.0
L_0050: ldloc.0
L_0051: call Void DrawPawnList(Rect)
L_0056: ldloc.0
L_0057: ldstr "ReorderPawn"
L_005c: call Void HighlightOpportunity(Rect, System.String)
L_0061: ldarg.1
L_0062: stloc.1
L_0063: ldloca.s 1 (UnityEngine.Rect)
L_0065: dup
L_0066: call Single get_xMin()
L_006b: ldc.r4 140
L_0070: add
L_0071: call Void set_xMin(Single)
L_0076: ldloc.1
L_0077: ldc.r4 141
L_007c: call Rect BottomPartPixels(Rect, Single)
L_0081: stloc.2
L_0082: ldloca.s 1 (UnityEngine.Rect)
L_0084: ldloca.s 2 (UnityEngine.Rect)
L_0086: call Single get_yMin()
L_008b: call Void set_yMax(Single)
L_0090: ldloc.1
L_0091: ldc.r4 4
L_0096: call Rect ContractedBy(Rect, Single)
L_009b: stloc.1
L_009c: ldloc.2
L_009d: ldc.r4 4
L_00a2: call Rect ContractedBy(Rect, Single)
L_00a7: stloc.2
L_00a8: ldarg.0
L_00a9: ldloc.1
L_00aa: call Void DrawPortraitArea(Rect)
L_00af: ldarg.0
L_00b0: ldloc.2
L_00b1: call Void DrawSkillSummaries(Rect)
L_00b6: ldarg 1
L_00bc: ldarg.0
L_00bd: call Void DoWindowContentsPostfix(Rect,
RimWorld.Page_ConfigureStartingPawns)
L_00c2: ret
DONE

### Patch Verse.Game, Void InitNewGame()


L_0000: Local var 0: System.String
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: RimWorld.Planet.Settlement
L_0000: Local var 3: System.Collections.Generic.List`1[[RimWorld.Planet.Settlement,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.ResearchProjectTagDef
L_0000: Local var 7:
System.Collections.Generic.List`1+Enumerator[[Verse.ResearchProjectTagDef,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: Verse.ResearchProjectDef
L_0000: Local var 9:
System.Collections.Generic.IEnumerator`1[[Verse.ResearchProjectDef, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: call IEnumerable`1 get_RunningMods()
L_0005: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_000a: brtrue Label1
L_000f: ldnull
L_0010: ldftn System.String <InitNewGame>m__1(Verse.ModContentPack)
L_0016: newobj Void .ctor(Object, IntPtr)
L_001b: stsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0020: Label1
L_0020: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0025: call IEnumerable`1 Select[ModContentPack,String](IEnumerable`1,
System.Func`2[Verse.ModContentPack,System.String])
L_002a: ldc.i4.0
L_002b: call System.String ToCommaList(IEnumerable`1, Boolean)
L_0030: stloc.0
L_0031: ldstr "Initializing new game with mods "
L_0036: ldloc.0
L_0037: call System.String Concat(System.String, System.String)
L_003c: ldc.i4.0
L_003d: call Void Message(System.String, Boolean)
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0048: call Boolean Any[Map](System.Collections.Generic.List`1[Verse.Map])
L_004d: brfalse Label2
L_0052: ldstr "Called InitNewGame() but there already is a map. There should be 0
maps..."
L_0057: ldc.i4.0
L_0058: call Void Error(System.String, Boolean)
L_005d: br Label22
L_0062: Label2
L_0062: ldarg.0
L_0063: ldfld Verse.GameInitData initData
L_0068: brtrue Label3
L_006d: ldstr "Called InitNewGame() but init data is null. Create it first."
L_0072: ldc.i4.0
L_0073: call Void Error(System.String, Boolean)
L_0078: br Label23
L_007d: Label3
L_007d: call Void UnloadUnusedUnityAssets()
L_0082: ldstr "InitNewGame"
L_0087: call Void Start(System.String)
.try
{
L_008c: ldc.i4.1
L_008d: call Void set_ProgramState(ProgramState)
L_0092: ldloca.s 1 (Verse.IntVec3)
L_0094: ldarg.0
L_0095: ldfld Verse.GameInitData initData
L_009a: ldfld System.Int32 mapSize
L_009f: ldc.i4.1
L_00a0: ldarg.0
L_00a1: ldfld Verse.GameInitData initData
L_00a6: ldfld System.Int32 mapSize
L_00ab: call Void .ctor(Int32, Int32, Int32)
L_00b0: ldnull
L_00b1: stloc.2
L_00b2: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_00b7: callvirt
System.Collections.Generic.List`1[RimWorld.Planet.Settlement] get_Settlements()
L_00bc: stloc.3
L_00bd: ldc.i4.0
L_00be: stloc.s 4 (System.Int32)
L_00c0: br Label4
L_00c5: Label7
L_00c5: ldloc.3
L_00c6: ldloc.s 4 (System.Int32)
L_00c8: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00cd: callvirt RimWorld.Faction get_Faction()
L_00d2: call RimWorld.Faction get_OfPlayer()
L_00d7: bne.un Label5
L_00dc: ldloc.3
L_00dd: ldloc.s 4 (System.Int32)
L_00df: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00e4: stloc.2
L_00e5: leave Label6
L_00ea: Label5
L_00ea: ldloc.s 4 (System.Int32)
L_00ec: ldc.i4.1
L_00ed: add
L_00ee: stloc.s 4 (System.Int32)
L_00f0: Label4
L_00f0: ldloc.s 4 (System.Int32)
L_00f2: ldloc.3
L_00f3: callvirt Int32 get_Count()
L_00f8: blt Label7
L_00fd: Label6
L_00fd: ldloc.2
L_00fe: brtrue Label8
L_0103: ldstr "Could not generate starting map because there is no any player
faction base."
L_0108: ldc.i4.0
L_0109: call Void Error(System.String, Boolean)
L_010e: Label8
L_010e: ldarg.0
L_010f: ldfld Verse.TickManager tickManager
L_0114: call Int32 get_ConfiguredTicksAbsAtGameStart()
L_0119: stfld System.Int32 gameStartAbsTick
L_011e: ldloc.1
L_011f: ldloc.2
L_0120: ldloc.2
L_0121: callvirt Verse.MapGeneratorDef get_MapGeneratorDef()
L_0126: ldloc.2
L_0127: callvirt IEnumerable`1 get_ExtraGenStepDefs()
L_012c: ldnull
L_012d: call Verse.Map GenerateMap(IntVec3, RimWorld.Planet.MapParent,
Verse.MapGeneratorDef, IEnumerable`1, System.Action`1[Verse.Map])
L_0132: stloc.s 5 (Verse.Map)
L_0134: ldarg.0
L_0135: ldfld RimWorld.Planet.World worldInt
L_013a: ldfld RimWorld.Planet.WorldInfo info
L_013f: ldloc.1
L_0140: stfld Verse.IntVec3 initialMapSize
L_0145: ldarg.0
L_0146: ldfld Verse.GameInitData initData
L_014b: ldfld System.Boolean permadeath
L_0150: brfalse Label9
L_0155: ldarg.0
L_0156: ldfld Verse.GameInfo info
L_015b: ldc.i4.1
L_015c: stfld System.Boolean permadeathMode
L_0161: ldarg.0
L_0162: ldfld Verse.GameInfo info
L_0167: call System.String GeneratePermadeathSaveName()
L_016c: stfld System.String permadeathModeUniqueName
L_0171: Label9
L_0171: ldsfld RimWorld.ThoughtDef NewColonyOptimism
L_0176: call Void GiveAllStartingPlayerPawnsThought(RimWorld.ThoughtDef)
L_017b: ldarg.0
L_017c: call Void FinalizeInit()
L_0181: call Verse.Game get_Game()
L_0186: ldloc.s 5 (Verse.Map)
L_0188: callvirt Void set_CurrentMap(Verse.Map)
L_018d: call Verse.CameraDriver get_CameraDriver()
L_0192: call IntVec3 get_PlayerStartSpot()
L_0197: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_019c: call Verse.CameraDriver get_CameraDriver()
L_01a1: callvirt Void ResetSize()
L_01a6: call Boolean get_PauseOnLoad()
L_01ab: brfalse Label10
L_01b0: ldarg.0
L_01b1: ldfld Verse.GameInitData initData
L_01b6: ldfld System.Boolean startedFromEntry
L_01bb: brfalse Label11
L_01c0: ldarg.0
L_01c1: ldftn Void <InitNewGame>m__2()
L_01c7: newobj Void .ctor(Object, IntPtr)
L_01cc: call Void ExecuteWhenFinished(System.Action)
L_01d1: Label10
L_01d1: Label11
L_01d1: call RimWorld.Scenario get_Scenario()
L_01d6: callvirt Void PostGameStart()
L_01db: call RimWorld.Faction get_OfPlayer()
L_01e0: ldfld RimWorld.FactionDef def
L_01e5: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01ea: brfalse Label12
L_01ef: call RimWorld.Faction get_OfPlayer()
L_01f4: ldfld RimWorld.FactionDef def
L_01f9: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01fe: callvirt Enumerator GetEnumerator()
L_0203: stloc.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
.try
{
L_0205: br Label13
L_020a: Label19
L_020a: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_020c: call Verse.ResearchProjectTagDef get_Current()
L_0211: stloc.s 6 (Verse.ResearchProjectTagDef)
L_0213: call IEnumerable`1 get_AllDefs()
L_0218: callvirt IEnumerator`1 GetEnumerator()
L_021d: stloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
.try
{
L_021f: br Label14
L_0224: Label16
L_0224: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0226: callvirt Verse.ResearchProjectDef get_Current()
L_022b: stloc.s 8 (Verse.ResearchProjectDef)
L_022d: ldloc.s 8 (Verse.ResearchProjectDef)
L_022f: ldloc.s 6 (Verse.ResearchProjectTagDef)
L_0231: callvirt Boolean HasTag(Verse.ResearchProjectTagDef)
L_0236: brfalse Label15
L_023b: ldarg.0
L_023c: ldfld RimWorld.ResearchManager researchManager
L_0241: ldloc.s 8 (Verse.ResearchProjectDef)
L_0243: ldc.i4.0
L_0244: ldnull
L_0245: callvirt Void FinishProject(Verse.ResearchProjectDef,
Boolean, Verse.Pawn)
L_024a: Label14
L_024a: Label15
L_024a: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_024c: callvirt Boolean MoveNext()
L_0251: brtrue Label16
L_0256: leave Label17
L_025b: leave (autogenerated)
} // end try
.finally
{
L_0260: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0262: brfalse Label18
L_0267: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0269: callvirt Void Dispose()
L_026e: Label18
L_026e: endfinally
L_026f: leave (autogenerated)
} // end handler
L_0270: Label13
L_0270: Label17
L_0270: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0272: call Boolean MoveNext()
L_0277: brtrue Label19
L_027c: leave Label20
L_0281: leave (autogenerated)
} // end try
.finally
{
L_0286: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0288: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef]
L_028e: callvirt Void Dispose()
L_0293: endfinally
L_0294: leave (autogenerated)
} // end handler
L_0295: Label12
L_0295: Label20
L_0295: call Void StartedNewGame()
L_029a: ldarg.0
L_029b: ldnull
L_029c: stfld Verse.GameInitData initData
L_02a1: leave Label21
L_02a6: leave (autogenerated)
} // end try
.finally
{
L_02ab: call Void End()
L_02b0: endfinally
L_02b1: leave (autogenerated)
} // end handler
L_02b2: Label21
L_02b2: Label22
L_02b2: Label23
L_02b2: call Void InitNewGamePostfix()
L_02b7: ret
DONE

### Patch RimWorld.MainTabWindow_Inspect, IEnumerable`1 get_CurTabs()


L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[Verse.InspectTabBase, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0002: ldarg.0
L_0003: call Int32 get_NumSelected()
L_0008: ldc.i4.1
L_0009: bne.un Label1
L_000e: ldarg.0
L_000f: call Verse.Thing get_SelThing()
L_0014: brfalse Label2
L_0019: ldarg.0
L_001a: call Verse.Thing get_SelThing()
L_001f: ldfld Verse.ThingDef def
L_0024: ldfld System.Collections.Generic.List`1[Verse.InspectTabBase]
inspectorTabsResolved
L_0029: brfalse Label3
L_002e: ldarg.0
L_002f: call Verse.Thing get_SelThing()
L_0034: callvirt IEnumerable`1 GetInspectTabs()
L_0039: br Label5
L_003e: Label2
L_003e: Label3
L_003e: ldarg.0
L_003f: call Verse.Zone get_SelZone()
L_0044: brfalse Label4
L_0049: ldarg.0
L_004a: call Verse.Zone get_SelZone()
L_004f: callvirt IEnumerable`1 GetInspectTabs()
L_0054: br Label6
L_0059: Label1
L_0059: Label4
L_0059: call IEnumerable`1 Empty[InspectTabBase]()
L_005e: Label5
L_005e: Label6
L_005e: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_005f: ldloca 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0061: call Void Postfix(IEnumerable`1 ByRef)
L_0066: ldloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0067: ret
DONE

### Patch Verse.ThingOwner, Void NotifyAdded(Verse.Thing)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Map, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.CompTransporter
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: Local var 4: RimWorld.Pawn_ApparelTracker
L_0000: Local var 5: Verse.Pawn_EquipmentTracker
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: call Boolean ShouldAutoExtinguishInnerThings(IThingHolder)
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldsfld Verse.ThingDef Fire
L_0016: call Boolean HasAttachment(Verse.Thing, Verse.ThingDef)
L_001b: brfalse Label2
L_0020: ldarg.1
L_0021: ldsfld Verse.ThingDef Fire
L_0026: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_002b: ldc.i4.0
L_002c: callvirt Void Destroy(DestroyMode)
L_0031: Label1
L_0031: Label2
L_0031: ldarg.0
L_0032: ldfld Verse.IThingHolder owner
L_0037: call Boolean ShouldRemoveDesignationsOnAddedThings(IThingHolder)
L_003c: brfalse Label3
L_0041: call System.Collections.Generic.List`1[Verse.Map] get_Maps()
L_0046: stloc.0
L_0047: ldc.i4.0
L_0048: stloc.1
L_0049: br Label4
L_004e: Label5
L_004e: ldloc.0
L_004f: ldloc.1
L_0050: callvirt Verse.Map get_Item(Int32)
L_0055: ldfld Verse.DesignationManager designationManager
L_005a: ldarg.1
L_005b: ldc.i4.0
L_005c: callvirt Void RemoveAllDesignationsOn(Verse.Thing, Boolean)
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label4
L_0065: ldloc.1
L_0066: ldloc.0
L_0067: callvirt Int32 get_Count()
L_006c: blt Label5
L_0071: Label3
L_0071: ldarg.0
L_0072: ldfld Verse.IThingHolder owner
L_0077: isinst RimWorld.CompTransporter
L_007c: stloc.2
L_007d: ldloc.2
L_007e: brfalse Label6
L_0083: ldloc.2
L_0084: ldarg.1
L_0085: callvirt Void Notify_ThingAdded(Verse.Thing)
L_008a: Label6
L_008a: ldarg.0
L_008b: ldfld Verse.IThingHolder owner
L_0090: isinst RimWorld.Planet.Caravan
L_0095: stloc.3
L_0096: ldloc.3
L_0097: brfalse Label7
L_009c: ldloc.3
L_009d: ldarg.1
L_009e: castclass Verse.Pawn
L_00a3: callvirt Void Notify_PawnAdded(Verse.Pawn)
L_00a8: Label7
L_00a8: ldarg.0
L_00a9: ldfld Verse.IThingHolder owner
L_00ae: isinst RimWorld.Pawn_ApparelTracker
L_00b3: stloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b5: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b7: brfalse Label8
L_00bc: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00be: ldarg.1
L_00bf: castclass RimWorld.Apparel
L_00c4: callvirt Void Notify_ApparelAdded(RimWorld.Apparel)
L_00c9: Label8
L_00c9: ldarg.0
L_00ca: ldfld Verse.IThingHolder owner
L_00cf: isinst Verse.Pawn_EquipmentTracker
L_00d4: stloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d6: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d8: brfalse Label9
L_00dd: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00df: ldarg.1
L_00e0: castclass Verse.ThingWithComps
L_00e5: callvirt Void Notify_EquipmentAdded(Verse.ThingWithComps)
L_00ea: Label9
L_00ea: ldarg.0
L_00eb: ldarg.1
L_00ec: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_00f1: ldarg.0
L_00f2: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_00f7: ret
DONE

### Patch Verse.ThingOwner, Void NotifyRemoved(Verse.Thing)


L_0000: Local var 0: Verse.Pawn_InventoryTracker
L_0000: Local var 1: RimWorld.Pawn_ApparelTracker
L_0000: Local var 2: Verse.Pawn_EquipmentTracker
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: isinst Verse.Pawn_InventoryTracker
L_000b: stloc.0
L_000c: ldloc.0
L_000d: brfalse Label1
L_0012: ldloc.0
L_0013: ldarg.1
L_0014: callvirt Void Notify_ItemRemoved(Verse.Thing)
L_0019: Label1
L_0019: ldarg.0
L_001a: ldfld Verse.IThingHolder owner
L_001f: isinst RimWorld.Pawn_ApparelTracker
L_0024: stloc.1
L_0025: ldloc.1
L_0026: brfalse Label2
L_002b: ldloc.1
L_002c: ldarg.1
L_002d: castclass RimWorld.Apparel
L_0032: callvirt Void Notify_ApparelRemoved(RimWorld.Apparel)
L_0037: Label2
L_0037: ldarg.0
L_0038: ldfld Verse.IThingHolder owner
L_003d: isinst Verse.Pawn_EquipmentTracker
L_0042: stloc.2
L_0043: ldloc.2
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldarg.1
L_004b: castclass Verse.ThingWithComps
L_0050: callvirt Void Notify_EquipmentRemoved(Verse.ThingWithComps)
L_0055: Label3
L_0055: ldarg.0
L_0056: ldfld Verse.IThingHolder owner
L_005b: isinst RimWorld.Planet.Caravan
L_0060: stloc.3
L_0061: ldloc.3
L_0062: brfalse Label4
L_0067: ldloc.3
L_0068: ldarg.1
L_0069: castclass Verse.Pawn
L_006e: callvirt Void Notify_PawnRemoved(Verse.Pawn)
L_0073: Label4
L_0073: ldarg.0
L_0074: ldarg.1
L_0075: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_007a: ldarg.0
L_007b: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_0080: ret
DONE

### Patch RimWorld.Selector, Void ClearSelection()


L_0000: call Void Clear()
L_0005: ldarg.0
L_0006: ldfld System.Collections.Generic.List`1[System.Object] selected
L_000b: callvirt Void Clear()
L_0010: call Void Postfix()
L_0015: ret
DONE

### Patch RimWorld.Selector, Void Deselect(System.Object)


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldloca 0 (System.Int32)
L_0008: call Void Prefix(Int32 ByRef)
L_000d: ldarg.0
L_000e: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0013: ldarg.1
L_0014: callvirt Boolean Contains(System.Object)
L_0019: brfalse Label1
L_001e: ldarg.0
L_001f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0024: ldarg.1
L_0025: callvirt Boolean Remove(System.Object)
L_002a: pop
L_002b: Label1
L_002b: ldloc 0 (System.Int32)
L_002c: call Void Postfix(Int32)
L_0031: ret
DONE

### Patch RimWorld.Selector, Void Select(System.Object, Boolean, Boolean)


L_0000: Local var 0: Verse.Thing
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Int32)
L_0007: ldloca 7 (System.Int32)
L_0009: call Void Prefix(Int32 ByRef)
L_000e: ldarg.1
L_000f: brtrue Label1
L_0014: ldstr "Cannot select null."
L_0019: ldc.i4.0
L_001a: call Void Error(System.String, Boolean)
L_001f: br Label26
L_0024: Label1
L_0024: ldarg.1
L_0025: isinst Verse.Thing
L_002a: stloc.0
L_002b: ldloc.0
L_002c: brtrue Label2
L_0031: ldarg.1
L_0032: isinst Verse.Zone
L_0037: brtrue Label3
L_003c: ldstr "Tried to select "
L_0041: ldarg.1
L_0042: ldstr " which is neither a Thing nor a Zone."
L_0047: call System.String Concat(System.Object, System.Object, System.Object)
L_004c: ldc.i4.0
L_004d: call Void Error(System.String, Boolean)
L_0052: br Label27
L_0057: Label2
L_0057: Label3
L_0057: ldloc.0
L_0058: brfalse Label4
L_005d: ldloc.0
L_005e: callvirt Boolean get_Destroyed()
L_0063: brfalse Label5
L_0068: ldstr "Cannot select destroyed thing."
L_006d: ldc.i4.0
L_006e: call Void Error(System.String, Boolean)
L_0073: br Label28
L_0078: Label4
L_0078: Label5
L_0078: ldarg.1
L_0079: isinst Verse.Pawn
L_007e: stloc.1
L_007f: ldloc.1
L_0080: brfalse Label6
L_0085: ldloc.1
L_0086: call Boolean IsWorldPawn(Verse.Pawn)
L_008b: brfalse Label7
L_0090: ldstr "Cannot select world pawns."
L_0095: ldc.i4.0
L_0096: call Void Error(System.String, Boolean)
L_009b: br Label29
L_00a0: Label6
L_00a0: Label7
L_00a0: ldarg.3
L_00a1: brfalse Label8
L_00a6: call Verse.DesignatorManager get_DesignatorManager()
L_00ab: callvirt Void Deselect()
L_00b0: Label8
L_00b0: ldarg.0
L_00b1: call Verse.Zone get_SelectedZone()
L_00b6: brfalse Label9
L_00bb: ldarg.1
L_00bc: isinst Verse.Zone
L_00c1: brtrue Label10
L_00c6: ldarg.0
L_00c7: call Void ClearSelection()
L_00cc: Label9
L_00cc: Label10
L_00cc: ldarg.1
L_00cd: isinst Verse.Zone
L_00d2: brfalse Label11
L_00d7: ldarg.0
L_00d8: call Verse.Zone get_SelectedZone()
L_00dd: brtrue Label12
L_00e2: ldarg.0
L_00e3: call Void ClearSelection()
L_00e8: Label11
L_00e8: Label12
L_00e8: ldloc.0
L_00e9: brfalse Label13
L_00ee: ldloc.0
L_00ef: callvirt Verse.Map get_Map()
L_00f4: br Label14
L_00f9: Label13
L_00f9: ldarg.1
L_00fa: castclass Verse.Zone
L_00ff: callvirt Verse.Map get_Map()
L_0104: Label14
L_0104: stloc.2
L_0105: ldarg.0
L_0106: ldfld System.Collections.Generic.List`1[System.Object] selected
L_010b: callvirt Int32 get_Count()
L_0110: ldc.i4.1
L_0111: sub
L_0112: stloc.3
L_0113: br Label15
L_0118: Label19
L_0118: ldarg.0
L_0119: ldfld System.Collections.Generic.List`1[System.Object] selected
L_011e: ldloc.3
L_011f: callvirt System.Object get_Item(Int32)
L_0124: isinst Verse.Thing
L_0129: stloc.s 4 (Verse.Thing)
L_012b: ldloc.s 4 (Verse.Thing)
L_012d: brfalse Label16
L_0132: ldloc.s 4 (Verse.Thing)
L_0134: callvirt Verse.Map get_Map()
L_0139: br Label17
L_013e: Label16
L_013e: ldarg.0
L_013f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0144: ldloc.3
L_0145: callvirt System.Object get_Item(Int32)
L_014a: castclass Verse.Zone
L_014f: callvirt Verse.Map get_Map()
L_0154: Label17
L_0154: stloc.s 5 (Verse.Map)
L_0156: ldloc.s 5 (Verse.Map)
L_0158: ldloc.2
L_0159: beq Label18
L_015e: ldarg.0
L_015f: ldarg.0
L_0160: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0165: ldloc.3
L_0166: callvirt System.Object get_Item(Int32)
L_016b: call Void Deselect(System.Object)
L_0170: Label18
L_0170: ldloc.3
L_0171: ldc.i4.1
L_0172: sub
L_0173: stloc.3
L_0174: Label15
L_0174: ldloc.3
L_0175: ldc.i4.0
L_0176: bge Label19
L_017b: ldarg.0
L_017c: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0181: callvirt Int32 get_Count()
L_0186: ldc.i4.s 80
L_0188: blt Label20
L_018d: br Label30
L_0192: Label20
L_0192: ldarg.0
L_0193: ldarg.1
L_0194: call Boolean IsSelected(System.Object)
L_0199: brtrue Label21
L_019e: ldloc.2
L_019f: call Verse.Map get_CurrentMap()
L_01a4: beq Label22
L_01a9: call Verse.Game get_Game()
L_01ae: ldloc.2
L_01af: callvirt Void set_CurrentMap(Verse.Map)
L_01b4: ldsfld Verse.SoundDef MapSelected
L_01b9: ldnull
L_01ba: call Void PlayOneShotOnCamera(Verse.SoundDef, Verse.Map)
L_01bf: ldloc.0
L_01c0: brfalse Label23
L_01c5: ldloc.0
L_01c6: callvirt IntVec3 get_Position()
L_01cb: br Label24
L_01d0: Label23
L_01d0: ldarg.1
L_01d1: castclass Verse.Zone
L_01d6: callvirt System.Collections.Generic.List`1[Verse.IntVec3] get_Cells()
L_01db: ldc.i4.0
L_01dc: callvirt IntVec3 get_Item(Int32)
L_01e1: Label24
L_01e1: stloc.s 6 (Verse.IntVec3)
L_01e3: call Verse.CameraDriver get_CameraDriver()
L_01e8: ldloc.s 6 (Verse.IntVec3)
L_01ea: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_01ef: Label22
L_01ef: ldarg.2
L_01f0: brfalse Label25
L_01f5: ldarg.0
L_01f6: ldarg.1
L_01f7: call Void PlaySelectionSoundFor(System.Object)
L_01fc: Label25
L_01fc: ldarg.0
L_01fd: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0202: ldarg.1
L_0203: callvirt Void Add(System.Object)
L_0208: ldarg.1
L_0209: call Void Notify_Selected(System.Object)
L_020e: Label21
L_020e: Label26
L_020e: Label27
L_020e: Label28
L_020e: Label29
L_020e: Label30
L_020e: ldloc 7 (System.Int32)
L_0210: call Void Postfix(Int32)
L_0215: ret
DONE

### Patch RimWorld.Blueprint_Build, Verse.Thing MakeSolidThing()


L_0000: Local var 0: Verse.Thing
L_0000: ldnull
L_0001: stloc 0 (Verse.Thing)
L_0002: ldarg.0
L_0003: ldfld Verse.ThingDef def
L_0008: ldfld Verse.BuildableDef entityDefToBuild
L_000d: ldfld Verse.ThingDef frameDef
L_0012: ldarg.0
L_0013: ldfld Verse.ThingDef stuffToUse
L_0018: call Verse.Thing MakeThing(Verse.ThingDef, Verse.ThingDef)
L_001d: stloc 0 (Verse.Thing)
L_001e: ldloc 0 (Verse.Thing)
L_001f: ldarg.0
L_0020: call Void Postfix(Verse.Thing, RimWorld.Blueprint_Build)
L_0025: ldloc 0 (Verse.Thing)
L_0026: ret
DONE

### Patch Verse.AreaManager, Void ExposeData()


L_0000: ldarg.0
L_0001: call Void Prefix(Verse.AreaManager)
L_0006: ldarg.0
L_0007: ldflda System.Collections.Generic.List`1[Verse.Area] areas
L_000c: ldstr "areas"
L_0011: ldc.i4.2
L_0012: ldc.i4.0
L_0013: newarr System.Object
L_0018: call Void Look[Area](System.Collections.Generic.List`1[Verse.Area] ByRef,
System.String, LookMode, System.Object[])
L_001d: ldsfld Verse.LoadSaveMode mode
L_0022: ldc.i4.2
L_0023: bne.un Label1
L_0028: ldarg.0
L_0029: call Void UpdateAllAreasLinks()
L_002e: Label1
L_002e: ret
DONE

### Patch RimWorld.PlaySettings, Void DoPlaySettingsGlobalControls(Verse.WidgetRow,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Boolean
L_0000: Local var 3: System.Boolean
L_0000: ldarg.0
L_0001: ldfld System.Boolean showColonistBar
L_0006: stloc.0
L_0007: ldarg.2
L_0008: brfalse Label1
L_000d: call ProgramState get_ProgramState()
L_0012: ldc.i4.2
L_0013: bne.un Label2
L_0018: ldarg.1
L_0019: ldarg.0
L_001a: ldflda System.Boolean showColonistBar
L_001f: ldsfld UnityEngine.Texture2D ShowColonistBar
L_0024: ldstr "ShowColonistBarToggleButton"
L_0029: call System.String Translate(System.String)
L_002e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0033: ldnull
L_0034: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0039: Label2
L_0039: ldarg.0
L_003a: ldfld System.Boolean lockNorthUp
L_003f: stloc.1
L_0040: ldarg.1
L_0041: ldarg.0
L_0042: ldflda System.Boolean lockNorthUp
L_0047: ldsfld UnityEngine.Texture2D LockNorthUp
L_004c: ldstr "LockNorthUpToggleButton"
L_0051: call System.String Translate(System.String)
L_0056: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_005b: ldnull
L_005c: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0061: ldloc.1
L_0062: ldarg.0
L_0063: ldfld System.Boolean lockNorthUp
L_0068: beq Label3
L_006d: ldarg.0
L_006e: ldfld System.Boolean lockNorthUp
L_0073: brfalse Label4
L_0078: call RimWorld.Planet.WorldCameraDriver get_WorldCameraDriver()
L_007d: ldc.i4.1
L_007e: callvirt Void RotateSoNorthIsUp(Boolean)
L_0083: Label3
L_0083: Label4
L_0083: ldarg.1
L_0084: ldarg.0
L_0085: ldflda System.Boolean usePlanetDayNightSystem
L_008a: ldsfld UnityEngine.Texture2D UsePlanetDayNightSystem
L_008f: ldstr "UsePlanetDayNightSystemToggleButton"
L_0094: call System.String Translate(System.String)
L_0099: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_009e: ldnull
L_009f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00a4: ldarg.1
L_00a5: ldarg.0
L_00a6: ldflda System.Boolean showExpandingIcons
L_00ab: ldsfld UnityEngine.Texture2D ShowExpandingIcons
L_00b0: ldstr "ShowExpandingIconsToggleButton"
L_00b5: call System.String Translate(System.String)
L_00ba: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00bf: ldnull
L_00c0: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00c5: ldarg.1
L_00c6: ldarg.0
L_00c7: ldflda System.Boolean showWorldFeatures
L_00cc: ldsfld UnityEngine.Texture2D ShowWorldFeatures
L_00d1: ldstr "ShowWorldFeaturesToggleButton"
L_00d6: call System.String Translate(System.String)
L_00db: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00e0: ldnull
L_00e1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00e6: br Label5
L_00eb: Label1
L_00eb: ldarg.1
L_00ec: ldarg.0
L_00ed: ldflda System.Boolean showLearningHelper
L_00f2: ldsfld UnityEngine.Texture2D ShowLearningHelper
L_00f7: ldstr "ShowLearningHelperWhenEmptyToggleButton"
L_00fc: call System.String Translate(System.String)
L_0101: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0106: ldnull
L_0107: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_010c: ldarg.1
L_010d: ldarg.0
L_010e: ldflda System.Boolean showZones
L_0113: ldsfld UnityEngine.Texture2D ShowZones
L_0118: ldstr "ZoneVisibilityToggleButton"
L_011d: call System.String Translate(System.String)
L_0122: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0127: ldnull
L_0128: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_012d: ldarg.1
L_012e: ldarg.0
L_012f: ldflda System.Boolean showBeauty
L_0134: ldsfld UnityEngine.Texture2D ShowBeauty
L_0139: ldstr "ShowBeautyToggleButton"
L_013e: call System.String Translate(System.String)
L_0143: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0148: ldnull
L_0149: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_014e: ldarg.0
L_014f: ldsfld Verse.KeyBindingDef ToggleBeautyDisplay
L_0154: ldarg.0
L_0155: ldflda System.Boolean showBeauty
L_015a: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_015f: ldarg.1
L_0160: ldarg.0
L_0161: ldflda System.Boolean showRoomStats
L_0166: ldsfld UnityEngine.Texture2D ShowRoomStats
L_016b: ldstr "ShowRoomStatsToggleButton"
L_0170: call System.String Translate(System.String)
L_0175: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_017a: ldstr "InspectRoomStats"
L_017f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0184: ldarg.0
L_0185: ldsfld Verse.KeyBindingDef ToggleRoomStatsDisplay
L_018a: ldarg.0
L_018b: ldflda System.Boolean showRoomStats
L_0190: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_0195: ldarg.1
L_0196: ldarg.0
L_0197: ldflda System.Boolean showColonistBar
L_019c: ldsfld UnityEngine.Texture2D ShowColonistBar
L_01a1: ldstr "ShowColonistBarToggleButton"
L_01a6: call System.String Translate(System.String)
L_01ab: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01b0: ldnull
L_01b1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01b6: ldarg.1
L_01b7: ldarg.0
L_01b8: ldflda System.Boolean showRoofOverlay
L_01bd: ldsfld UnityEngine.Texture2D ShowRoofOverlay
L_01c2: ldstr "ShowRoofOverlayToggleButton"
L_01c7: call System.String Translate(System.String)
L_01cc: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01d1: ldnull
L_01d2: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01d7: ldarg.1
L_01d8: ldarg.0
L_01d9: ldflda System.Boolean autoHomeArea
L_01de: ldsfld UnityEngine.Texture2D AutoHomeArea
L_01e3: ldstr "AutoHomeAreaToggleButton"
L_01e8: call System.String Translate(System.String)
L_01ed: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01f2: ldnull
L_01f3: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01f8: ldarg.1
L_01f9: ldarg.0
L_01fa: ldflda System.Boolean autoRebuild
L_01ff: ldsfld UnityEngine.Texture2D AutoRebuild
L_0204: ldstr "AutoRebuildButton"
L_0209: call System.String Translate(System.String)
L_020e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0213: ldnull
L_0214: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0219: call Boolean get_ResourceReadoutCategorized()
L_021e: stloc.2
L_021f: ldloc.2
L_0220: stloc.3
L_0221: ldarg.1
L_0222: ldloca.s 2 (System.Boolean)
L_0224: ldsfld UnityEngine.Texture2D CategorizedResourceReadout
L_0229: ldstr "CategorizedResourceReadoutToggleButton"
L_022e: call System.String Translate(System.String)
L_0233: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0238: ldnull
L_0239: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_023e: ldloc.2
L_023f: ldloc.3
L_0240: beq Label6
L_0245: ldloc.2
L_0246: call Void set_ResourceReadoutCategorized(Boolean)
L_024b: Label5
L_024b: Label6
L_024b: ldloc.0
L_024c: ldarg.0
L_024d: ldfld System.Boolean showColonistBar
L_0252: beq Label7
L_0257: call RimWorld.ColonistBar get_ColonistBar()
L_025c: callvirt Void MarkColonistsDirty()
L_0261: Label7
L_0261: ldarg 1
L_0267: ldarg 2
L_026d: call Void AddButton(Verse.WidgetRow, Boolean)
L_0272: ldarg 1
L_0278: ldarg 2
L_027e: call Void AddButton(Verse.WidgetRow, Boolean)
L_0283: ldarg 1
L_0289: ldarg 2
L_028f: call Void AddButton(Verse.WidgetRow, Boolean)
L_0294: ldarg 1
L_029a: ldarg 2
L_02a0: call Void Postfix(Verse.WidgetRow, Boolean)
L_02a5: ret
DONE

### Patch RimWorld.Apparel, Void Notify_PawnKilled()


L_0000: ldarg.0
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.ApparelProperties apparel
L_000b: ldfld System.Boolean careIfWornByCorpse
L_0010: brfalse Label1
L_0015: ldarg.0
L_0016: ldc.i4.1
L_0017: stfld System.Boolean wornByCorpseInt
L_001c: Label1
L_001c: ldarg.0
L_001d: call Void Postfix(RimWorld.Apparel)
L_0022: ret
DONE

### Patch Verse.Game, Void UpdatePlay()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.TickManager tickManager
L_0006: callvirt Void TickManagerUpdate()
L_000b: ldarg.0
L_000c: ldfld Verse.LetterStack letterStack
L_0011: callvirt Void LetterStackUpdate()
L_0016: ldarg.0
L_0017: call RimWorld.Planet.World get_World()
L_001c: callvirt Void WorldUpdate()
L_0021: ldc.i4.0
L_0022: stloc.0
L_0023: br Label1
L_0028: Label2
L_0028: ldarg.0
L_0029: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_002e: ldloc.0
L_002f: callvirt Verse.Map get_Item(Int32)
L_0034: callvirt Void MapUpdate()
L_0039: ldloc.0
L_003a: ldc.i4.1
L_003b: add
L_003c: stloc.0
L_003d: Label1
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0044: callvirt Int32 get_Count()
L_0049: blt Label2
L_004e: ldarg.0
L_004f: call Verse.GameInfo get_Info()
L_0054: callvirt Void GameInfoUpdate()
L_0059: call Void GameComponentUpdate()
L_005e: call Void Postfix()
L_0063: ret
DONE

### Patch Verse.EdificeGrid, Void Register(Verse.Building)


L_0000: Local var 0: Verse.CellIndices
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.IntVec3
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean RegisterDoorExpanded(Verse.EdificeGrid, Verse.Building)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld Verse.Map map
L_0017: ldfld Verse.CellIndices cellIndices
L_001c: stloc.0
L_001d: ldarg.1
L_001e: call CellRect OccupiedRect(Verse.Thing)
L_0023: stloc.1
L_0024: ldloca.s 1 (Verse.CellRect)
L_0026: ldfld System.Int32 minZ
L_002b: stloc.2
L_002c: br Label1
L_0031: Label7
L_0031: ldloca.s 1 (Verse.CellRect)
L_0033: ldfld System.Int32 minX
L_0038: stloc.3
L_0039: br Label2
L_003e: Label6
L_003e: ldloca.s 4 (Verse.IntVec3)
L_0040: ldloc.3
L_0041: ldc.i4.0
L_0042: ldloc.2
L_0043: call Void .ctor(Int32, Int32, Int32)
L_0048: ldsfld System.Boolean isDebugBuild
L_004d: brfalse Label3
L_0052: ldarg.0
L_0053: ldloc.s 4 (Verse.IntVec3)
L_0055: call Verse.Building get_Item(IntVec3)
L_005a: brfalse Label4
L_005f: ldarg.0
L_0060: ldloc.s 4 (Verse.IntVec3)
L_0062: call Verse.Building get_Item(IntVec3)
L_0067: callvirt Boolean get_Destroyed()
L_006c: brtrue Label5
L_0071: ldc.i4.7
L_0072: newarr System.Object
L_0077: dup
L_0078: ldc.i4.0
L_0079: ldstr "Added edifice "
L_007e: stelem.ref
L_007f: dup
L_0080: ldc.i4.1
L_0081: ldarg.1
L_0082: callvirt System.String get_LabelCap()
L_0087: stelem.ref
L_0088: dup
L_0089: ldc.i4.2
L_008a: ldstr " over edifice "
L_008f: stelem.ref
L_0090: dup
L_0091: ldc.i4.3
L_0092: ldarg.0
L_0093: ldloc.s 4 (Verse.IntVec3)
L_0095: call Verse.Building get_Item(IntVec3)
L_009a: callvirt System.String get_LabelCap()
L_009f: stelem.ref
L_00a0: dup
L_00a1: ldc.i4.4
L_00a2: ldstr " at "
L_00a7: stelem.ref
L_00a8: dup
L_00a9: ldc.i4.5
L_00aa: ldloc.s 4 (Verse.IntVec3)
L_00ac: box Verse.IntVec3
L_00b1: stelem.ref
L_00b2: dup
L_00b3: ldc.i4.6
L_00b4: ldstr ". Destroying old edifice."
L_00b9: stelem.ref
L_00ba: call System.String Concat(System.Object[])
L_00bf: ldc.i4.0
L_00c0: call Void Error(System.String, Boolean)
L_00c5: ldarg.0
L_00c6: ldloc.s 4 (Verse.IntVec3)
L_00c8: call Verse.Building get_Item(IntVec3)
L_00cd: ldc.i4.0
L_00ce: callvirt Void Destroy(DestroyMode)
L_00d3: br Label8
L_00d8: Label3
L_00d8: Label4
L_00d8: Label5
L_00d8: ldarg.0
L_00d9: ldfld Verse.Building[] innerArray
L_00de: ldloc.0
L_00df: ldloc.s 4 (Verse.IntVec3)
L_00e1: callvirt Int32 CellToIndex(IntVec3)
L_00e6: ldarg.1
L_00e7: stelem.ref
L_00e8: ldloc.3
L_00e9: ldc.i4.1
L_00ea: add
L_00eb: stloc.3
L_00ec: Label2
L_00ec: ldloc.3
L_00ed: ldloca.s 1 (Verse.CellRect)
L_00ef: ldfld System.Int32 maxX
L_00f4: ble Label6
L_00f9: ldloc.2
L_00fa: ldc.i4.1
L_00fb: add
L_00fc: stloc.2
L_00fd: Label1
L_00fd: ldloc.2
L_00fe: ldloca.s 1 (Verse.CellRect)
L_0100: ldfld System.Int32 maxZ
L_0105: ble Label7
L_010a: Label8
L_010a: Label0
L_010a: ret
DONE

### Patch RimWorld.Building_Door, Void DoorOpen(Int32)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorOpen(RimWorld.Building_Door, Int32)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean openInt
L_0017: brfalse Label1
L_001c: ldarg.0
L_001d: ldarg.1
L_001e: stfld System.Int32 ticksUntilClose
L_0023: br Label2
L_0028: Label1
L_0028: ldarg.0
L_0029: ldarg.0
L_002a: call Int32 get_TicksToOpenNow()
L_002f: ldarg.1
L_0030: add
L_0031: stfld System.Int32 ticksUntilClose
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld System.Boolean openInt
L_003c: brtrue Label3
L_0041: ldarg.0
L_0042: ldc.i4.1
L_0043: stfld System.Boolean openInt
L_0048: ldarg.0
L_0049: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_004e: ldarg.0
L_004f: call Boolean get_DoorPowerOn()
L_0054: brfalse Label4
L_0059: ldarg.0
L_005a: ldfld Verse.ThingDef def
L_005f: ldfld RimWorld.BuildingProperties building
L_0064: ldfld Verse.SoundDef soundDoorOpenPowered
L_0069: ldarg.0
L_006a: call IntVec3 get_Position()
L_006f: ldarg.0
L_0070: call Verse.Map get_Map()
L_0075: ldc.i4.0
L_0076: newobj Void .ctor(IntVec3, Map, Boolean)
L_007b: call SoundInfo op_Implicit(TargetInfo)
L_0080: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0085: br Label5
L_008a: Label4
L_008a: ldarg.0
L_008b: ldfld Verse.ThingDef def
L_0090: ldfld RimWorld.BuildingProperties building
L_0095: ldfld Verse.SoundDef soundDoorOpenManual
L_009a: ldarg.0
L_009b: call IntVec3 get_Position()
L_00a0: ldarg.0
L_00a1: call Verse.Map get_Map()
L_00a6: ldc.i4.0
L_00a7: newobj Void .ctor(IntVec3, Map, Boolean)
L_00ac: call SoundInfo op_Implicit(TargetInfo)
L_00b1: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00b6: Label3
L_00b6: Label5
L_00b6: Label0
L_00b6: ret
DONE

### Patch RimWorld.Building_Door, Boolean DoorTryClose()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InvisDoorTryClose(RimWorld.Building_Door)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean holdOpenInt
L_0017: brtrue Label1
L_001c: ldarg.0
L_001d: call Boolean get_BlockedOpenMomentary()
L_0022: brfalse Label2
L_0027: Label1
L_0027: ldc.i4.0
L_0028: br Label5
L_002d: Label2
L_002d: ldarg.0
L_002e: ldc.i4.0
L_002f: stfld System.Boolean openInt
L_0034: ldarg.0
L_0035: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_003a: ldarg.0
L_003b: call Boolean get_DoorPowerOn()
L_0040: brfalse Label3
L_0045: ldarg.0
L_0046: ldfld Verse.ThingDef def
L_004b: ldfld RimWorld.BuildingProperties building
L_0050: ldfld Verse.SoundDef soundDoorClosePowered
L_0055: ldarg.0
L_0056: call IntVec3 get_Position()
L_005b: ldarg.0
L_005c: call Verse.Map get_Map()
L_0061: ldc.i4.0
L_0062: newobj Void .ctor(IntVec3, Map, Boolean)
L_0067: call SoundInfo op_Implicit(TargetInfo)
L_006c: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0071: br Label4
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.ThingDef def
L_007c: ldfld RimWorld.BuildingProperties building
L_0081: ldfld Verse.SoundDef soundDoorCloseManual
L_0086: ldarg.0
L_0087: call IntVec3 get_Position()
L_008c: ldarg.0
L_008d: call Verse.Map get_Map()
L_0092: ldc.i4.0
L_0093: newobj Void .ctor(IntVec3, Map, Boolean)
L_0098: call SoundInfo op_Implicit(TargetInfo)
L_009d: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00a2: Label4
L_00a2: ldc.i4.1
L_00a3: Label5
L_00a3: stloc 0 (System.Boolean)
L_00a4: Label0
L_00a4: ldloc 0 (System.Boolean)
L_00a5: ret
DONE

### Patch RimWorld.Building_Door, Void Notify_PawnApproaching(Verse.Pawn, Int32)


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void CheckFriendlyTouched(Verse.Pawn)
L_0007: ldarg.0
L_0008: ldarg.1
L_0009: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_000e: brfalse Label1
L_0013: ldarg.0
L_0014: call Verse.Map get_Map()
L_0019: ldfld Verse.FogGrid fogGrid
L_001e: ldarg.0
L_001f: ldarg.1
L_0020: callvirt Void Notify_PawnEnteringDoor(RimWorld.Building_Door, Verse.Pawn)
L_0025: ldarg.0
L_0026: call Boolean get_SlowsPawns()
L_002b: brtrue Label2
L_0030: ldc.i4 300
L_0035: ldarg.2
L_0036: ldc.i4.1
L_0037: add
L_0038: call Int32 Max(Int32, Int32)
L_003d: stloc.0
L_003e: ldarg.0
L_003f: ldloc.0
L_0040: call Void DoorOpen(Int32)
L_0045: Label1
L_0045: Label2
L_0045: ldarg.0
L_0046: ldarg 1
L_004c: call Void InvisDoorNotifyApproaching(RimWorld.Building_Door, Verse.Pawn)
L_0051: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualCloseBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorManualClose(RimWorld.Building_Door, Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldc.i4.s 110
L_0014: stfld System.Int32 ticksUntilClose
L_0019: Label0
L_0019: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualOpenBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldc.i4.s 110
L_0003: call Void DoorOpen(Int32)
L_0008: ldarg.0
L_0009: ldarg 1
L_000f: call Void InvisDoorManualOpen(RimWorld.Building_Door, Verse.Pawn)
L_0014: ret
DONE

### Patch RimWorld.Building_Door, Boolean get_FreePassage()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean get_FreePassage(RimWorld.Building_Door, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: ldfld System.Boolean openInt
L_0019: brtrue Label1
L_001e: ldc.i4.0
L_001f: br Label4
L_0024: Label1
L_0024: ldarg.0
L_0025: ldfld System.Boolean holdOpenInt
L_002a: brtrue Label2
L_002f: ldarg.0
L_0030: call Boolean get_WillCloseSoon()
L_0035: ldc.i4.0
L_0036: ceq
L_0038: br Label3
L_003d: Label2
L_003d: ldc.i4.1
L_003e: Label3
L_003e: Label4
L_003e: stloc 0 (System.Boolean)
L_003f: Label0
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE
### Patch Verse.GhostDrawer, Void DrawGhostThing(IntVec3, Rot4, Verse.ThingDef,
Verse.Graphic, Color, AltitudeLayer)
L_0000: Local var 0: Verse.Graphic
L_0000: Local var 1: UnityEngine.Vector3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: ldarg 5
L_0024: call Boolean HeronDoorGhostHandler(IntVec3, Rot4, Verse.ThingDef,
Verse.Graphic, Color, AltitudeLayer)
L_0029: brfalse Label0
L_002e: ldarg.3
L_002f: brtrue Label1
L_0034: ldarg.2
L_0035: ldfld Verse.Graphic graphic
L_003a: starg.s 3
L_003c: Label1
L_003c: ldarg.3
L_003d: ldarg.2
L_003e: ldarg.s 4
L_0040: call Verse.Graphic GhostGraphicFor(Verse.Graphic, Verse.ThingDef, Color)
L_0045: stloc.0
L_0046: ldarg.0
L_0047: ldarg.1
L_0048: ldarg.2
L_0049: callvirt IntVec2 get_Size()
L_004e: ldarg.s 5
L_0050: call Single AltitudeFor(AltitudeLayer)
L_0055: call Vector3 TrueCenter(IntVec3, Rot4, IntVec2, Single)
L_005a: stloc.1
L_005b: ldloc.0
L_005c: ldloc.1
L_005d: ldarg.1
L_005e: ldarg.2
L_005f: ldc.r4 0
L_0064: callvirt Void DrawFromDef(Vector3, Rot4, Verse.ThingDef, Single)
L_0069: ldc.i4.0
L_006a: stloc.2
L_006b: br Label2
L_0070: Label3
L_0070: ldarg.2
L_0071: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0076: ldloc.2
L_0077: callvirt Verse.CompProperties get_Item(Int32)
L_007c: ldarg.0
L_007d: ldarg.1
L_007e: ldarg.2
L_007f: ldarg.s 4
L_0081: ldarg.s 5
L_0083: callvirt Void DrawGhost(IntVec3, Rot4, Verse.ThingDef, Color,
AltitudeLayer)
L_0088: ldloc.2
L_0089: ldc.i4.1
L_008a: add
L_008b: stloc.2
L_008c: Label2
L_008c: ldloc.2
L_008d: ldarg.2
L_008e: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0093: callvirt Int32 get_Count()
L_0098: blt Label3
L_009d: ldarg.2
L_009e: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00a3: brfalse Label4
L_00a8: ldc.i4.0
L_00a9: stloc.3
L_00aa: br Label5
L_00af: Label6
L_00af: ldarg.2
L_00b0: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00b5: ldloc.3
L_00b6: callvirt Verse.PlaceWorker get_Item(Int32)
L_00bb: ldarg.2
L_00bc: ldarg.0
L_00bd: ldarg.1
L_00be: ldarg.s 4
L_00c0: callvirt Void DrawGhost(Verse.ThingDef, IntVec3, Rot4, Color)
L_00c5: ldloc.3
L_00c6: ldc.i4.1
L_00c7: add
L_00c8: stloc.3
L_00c9: Label5
L_00c9: ldloc.3
L_00ca: ldarg.2
L_00cb: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00d0: callvirt Int32 get_Count()
L_00d5: blt Label6
L_00da: Label4
L_00da: Label0
L_00da: ret
DONE

### Patch Verse.GenSpawn, Void SpawnBuildingAsPossible(Verse.Building, Verse.Map,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.CellRect
L_0000: Local var 5: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: call Boolean HeronSpawnBuildingAsPossible(Verse.Building, Verse.Map,
Boolean)
L_0017: brfalse Label0
L_001c: ldc.i4.0
L_001d: stloc.0
L_001e: ldarg.0
L_001f: call CellRect OccupiedRect(Verse.Thing)
L_0024: stloc.1
L_0025: ldloca.s 1 (Verse.CellRect)
L_0027: ldarg.1
L_0028: call Boolean InBounds(Verse.Map)
L_002d: brtrue Label1
L_0032: ldc.i4.1
L_0033: stloc.0
L_0034: br Label2
L_0039: Label1
L_0039: ldarg.0
L_003a: call CellRect OccupiedRect(Verse.Thing)
L_003f: stloc.s 4 (Verse.CellRect)
L_0041: ldloca.s 4 (Verse.CellRect)
L_0043: call IEnumerator`1 GetEnumerator()
L_0048: stloc.3
.try
{
L_0049: br Label3
L_004e: Label15
L_004e: ldloc.3
L_004f: callvirt IntVec3 get_Current()
L_0054: stloc.2
L_0055: ldloc.2
L_0056: ldarg.1
L_0057: call System.Collections.Generic.List`1[Verse.Thing]
GetThingList(IntVec3, Verse.Map)
L_005c: stloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_005e: ldc.i4.0
L_005f: stloc.s 6 (System.Int32)
L_0061: br Label4
L_0066: Label12
L_0066: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0068: ldloc.s 6 (System.Int32)
L_006a: callvirt Verse.Thing get_Item(Int32)
L_006f: isinst Verse.Pawn
L_0074: brfalse Label5
L_0079: ldarg.0
L_007a: ldfld Verse.ThingDef def
L_007f: ldfld Verse.Traversability passability
L_0084: ldc.i4.2
L_0085: bne.un Label6
L_008a: ldc.i4.1
L_008b: stloc.0
L_008c: leave Label7
L_0091: Label5
L_0091: Label6
L_0091: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0093: ldloc.s 6 (System.Int32)
L_0095: callvirt Verse.Thing get_Item(Int32)
L_009a: ldfld Verse.ThingDef def
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.3
L_00a5: beq Label8
L_00aa: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00ac: ldloc.s 6 (System.Int32)
L_00ae: callvirt Verse.Thing get_Item(Int32)
L_00b3: ldfld Verse.ThingDef def
L_00b8: ldfld Verse.ThingCategory category
L_00bd: ldc.i4.2
L_00be: bne.un Label9
L_00c3: Label8
L_00c3: ldarg.0
L_00c4: ldfld Verse.ThingDef def
L_00c9: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00cb: ldloc.s 6 (System.Int32)
L_00cd: callvirt Verse.Thing get_Item(Int32)
L_00d2: ldfld Verse.ThingDef def
L_00d7: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00dc: brfalse Label10
L_00e1: ldc.i4.1
L_00e2: stloc.0
L_00e3: leave Label11
L_00e8: Label9
L_00e8: Label10
L_00e8: ldloc.s 6 (System.Int32)
L_00ea: ldc.i4.1
L_00eb: add
L_00ec: stloc.s 6 (System.Int32)
L_00ee: Label4
L_00ee: ldloc.s 6 (System.Int32)
L_00f0: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00f2: callvirt Int32 get_Count()
L_00f7: blt Label12
L_00fc: Label7
L_00fc: Label11
L_00fc: ldloc.0
L_00fd: brfalse Label13
L_0102: leave Label14
L_0107: Label3
L_0107: Label13
L_0107: ldloc.3
L_0108: callvirt Boolean MoveNext()
L_010d: brtrue Label15
L_0112: Label14
L_0112: leave Label16
L_0117: leave (autogenerated)
} // end try
.finally
{
L_011c: ldloc.3
L_011d: brfalse Label17
L_0122: ldloc.3
L_0123: callvirt Void Dispose()
L_0128: Label17
L_0128: endfinally
L_0129: leave (autogenerated)
} // end handler
L_012a: Label2
L_012a: Label16
L_012a: ldloc.0
L_012b: brfalse Label18
L_0130: ldarg.0
L_0131: ldarg.1
L_0132: call CellRect get_Empty()
L_0137: call Void Refund(Verse.Thing, Verse.Map, CellRect)
L_013c: br Label19
L_0141: Label18
L_0141: ldarg.0
L_0142: ldarg.0
L_0143: callvirt IntVec3 get_Position()
L_0148: ldarg.1
L_0149: ldarg.0
L_014a: callvirt Rot4 get_Rotation()
L_014f: ldc.i4.1
L_0150: ldarg.2
L_0151: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0156: pop
L_0157: Label19
L_0157: Label0
L_0157: ret
DONE

### Patch Verse.GenSpawn, Void WipeExistingThings(IntVec3, Rot4,


Verse.BuildableDef, Verse.Map, DestroyMode)
L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: call Boolean WipeExistingThings(IntVec3, Rot4, Verse.BuildableDef,
Verse.Map, DestroyMode)
L_0023: brfalse Label0
L_0028: ldarg.0
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: callvirt IntVec2 get_Size()
L_0030: call IEnumerable`1 CellsOccupiedBy(IntVec3, Rot4, IntVec2)
L_0035: callvirt IEnumerator`1 GetEnumerator()
L_003a: stloc.1
.try
{
L_003b: br Label1
L_0040: Label6
L_0040: ldloc.1
L_0041: callvirt IntVec3 get_Current()
L_0046: stloc.0
L_0047: ldarg.3
L_0048: ldfld Verse.ThingGrid thingGrid
L_004d: ldloc.0
L_004e: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_0053: call System.Collections.Generic.List`1[Verse.Thing] ToList[Thing]
(IEnumerable`1)
L_0058: callvirt Enumerator GetEnumerator()
L_005d: stloc.3
.try
{
L_005e: br Label2
L_0063: Label4
L_0063: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0065: call Verse.Thing get_Current()
L_006a: stloc.2
L_006b: ldarg.2
L_006c: ldloc.2
L_006d: ldfld Verse.ThingDef def
L_0072: call Boolean SpawningWipes(Verse.BuildableDef,
Verse.BuildableDef)
L_0077: brfalse Label3
L_007c: ldloc.2
L_007d: ldarg.s 4
L_007f: callvirt Void Destroy(DestroyMode)
L_0084: Label2
L_0084: Label3
L_0084: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0086: call Boolean MoveNext()
L_008b: brtrue Label4
L_0090: leave Label5
L_0095: leave (autogenerated)
} // end try
.finally
{
L_009a: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_009c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_00a2: callvirt Void Dispose()
L_00a7: endfinally
L_00a8: leave (autogenerated)
} // end handler
L_00a9: Label1
L_00a9: Label5
L_00a9: ldloc.1
L_00aa: callvirt Boolean MoveNext()
L_00af: brtrue Label6
L_00b4: leave Label7
L_00b9: leave (autogenerated)
} // end try
.finally
{
L_00be: ldloc.1
L_00bf: brfalse Label8
L_00c4: ldloc.1
L_00c5: callvirt Void Dispose()
L_00ca: Label8
L_00ca: endfinally
L_00cb: leave (autogenerated)
} // end handler
L_00cc: Label7
L_00cc: Label0
L_00cc: ret
DONE

### Patch Verse.GenSpawn, Boolean SpawningWipes(Verse.BuildableDef,


Verse.BuildableDef)
L_0000: Local var 0: Verse.ThingDef
L_0000: Local var 1: Verse.ThingDef
L_0000: Local var 2: Verse.BuildableDef
L_0000: Local var 3: Verse.BuildableDef
L_0000: Local var 4: Verse.ThingDef
L_0000: Local var 5: Verse.ThingDef
L_0000: Local var 6: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 6 (System.Boolean)
L_0007: ldarg.0
L_0008: isinst Verse.ThingDef
L_000d: stloc.0
L_000e: ldarg.1
L_000f: isinst Verse.ThingDef
L_0014: stloc.1
L_0015: ldloc.0
L_0016: brfalse Label1
L_001b: ldloc.1
L_001c: brtrue Label2
L_0021: Label1
L_0021: ldc.i4.0
L_0022: br Label49
L_0027: Label2
L_0027: ldloc.0
L_0028: ldfld Verse.ThingCategory category
L_002d: ldc.i4.8
L_002e: beq Label3
L_0033: ldloc.0
L_0034: ldfld Verse.ThingCategory category
L_0039: ldc.i4.s 9
L_003b: beq Label4
L_0040: ldloc.0
L_0041: ldfld Verse.ThingCategory category
L_0046: ldc.i4.6
L_0047: beq Label5
L_004c: ldloc.0
L_004d: ldfld Verse.ThingCategory category
L_0052: ldc.i4.5
L_0053: bne.un Label6
L_0058: Label3
L_0058: Label4
L_0058: Label5
L_0058: ldc.i4.0
L_0059: br Label50
L_005e: Label6
L_005e: ldloc.1
L_005f: ldfld System.Boolean destroyable
L_0064: brtrue Label7
L_0069: ldc.i4.0
L_006a: br Label51
L_006f: Label7
L_006f: ldloc.0
L_0070: ldfld Verse.ThingCategory category
L_0075: ldc.i4.4
L_0076: bne.un Label8
L_007b: ldc.i4.0
L_007c: br Label52
L_0081: Label8
L_0081: ldloc.1
L_0082: ldfld Verse.ThingCategory category
L_0087: ldc.i4.6
L_0088: bne.un Label9
L_008d: ldloc.0
L_008e: ldfld Verse.Traversability passability
L_0093: brfalse Label10
L_0098: ldc.i4.1
L_0099: br Label53
L_009e: Label9
L_009e: Label10
L_009e: ldloc.1
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.2
L_00a5: bne.un Label11
L_00aa: ldloc.0
L_00ab: ldfld Verse.Traversability passability
L_00b0: ldc.i4.2
L_00b1: bne.un Label12
L_00b6: ldloc.0
L_00b7: ldfld Verse.SurfaceType surfaceType
L_00bc: brtrue Label13
L_00c1: ldc.i4.1
L_00c2: br Label54
L_00c7: Label11
L_00c7: Label12
L_00c7: Label13
L_00c7: ldloc.0
L_00c8: callvirt Boolean get_EverTransmitsPower()
L_00cd: brfalse Label14
L_00d2: ldloc.1
L_00d3: ldsfld Verse.ThingDef PowerConduit
L_00d8: bne.un Label15
L_00dd: ldc.i4.1
L_00de: br Label55
L_00e3: Label14
L_00e3: Label15
L_00e3: ldloc.0
L_00e4: callvirt Boolean get_IsFrame()
L_00e9: brfalse Label16
L_00ee: ldloc.0
L_00ef: ldfld Verse.BuildableDef entityDefToBuild
L_00f4: ldarg.1
L_00f5: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00fa: brfalse Label17
L_00ff: ldc.i4.1
L_0100: br Label56
L_0105: Label16
L_0105: Label17
L_0105: ldloc.0
L_0106: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_010b: stloc.2
L_010c: ldloc.1
L_010d: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_0112: stloc.3
L_0113: ldloc.2
L_0114: brfalse Label18
L_0119: ldloc.3
L_011a: brtrue Label19
L_011f: Label18
L_011f: ldc.i4.0
L_0120: br Label57
L_0125: Label19
L_0125: ldloc.0
L_0126: ldfld Verse.BuildableDef entityDefToBuild
L_012b: isinst Verse.ThingDef
L_0130: stloc.s 4 (Verse.ThingDef)
L_0132: ldloc.1
L_0133: callvirt Boolean get_IsBlueprint()
L_0138: brfalse Label20
L_013d: ldloc.0
L_013e: callvirt Boolean get_IsBlueprint()
L_0143: brfalse Label21
L_0148: ldloc.s 4 (Verse.ThingDef)
L_014a: brfalse Label22
L_014f: ldloc.s 4 (Verse.ThingDef)
L_0151: ldfld RimWorld.BuildingProperties building
L_0156: brfalse Label23
L_015b: ldloc.s 4 (Verse.ThingDef)
L_015d: ldfld RimWorld.BuildingProperties building
L_0162: ldfld System.Boolean canPlaceOverWall
L_0167: brfalse Label24
L_016c: ldloc.1
L_016d: ldfld Verse.BuildableDef entityDefToBuild
L_0172: isinst Verse.ThingDef
L_0177: brfalse Label25
L_017c: ldloc.1
L_017d: ldfld Verse.BuildableDef entityDefToBuild
L_0182: castclass Verse.ThingDef
L_0187: ldsfld Verse.ThingDef Wall
L_018c: bne.un Label26
L_0191: ldc.i4.1
L_0192: br Label58
L_0197: Label22
L_0197: Label23
L_0197: Label24
L_0197: Label25
L_0197: Label26
L_0197: ldloc.1
L_0198: ldfld Verse.BuildableDef entityDefToBuild
L_019d: isinst Verse.TerrainDef
L_01a2: brfalse Label27
L_01a7: ldloc.0
L_01a8: ldfld Verse.BuildableDef entityDefToBuild
L_01ad: isinst Verse.ThingDef
L_01b2: brfalse Label28
L_01b7: ldloc.0
L_01b8: ldfld Verse.BuildableDef entityDefToBuild
L_01bd: castclass Verse.ThingDef
L_01c2: ldfld System.Boolean coversFloor
L_01c7: brfalse Label29
L_01cc: ldc.i4.1
L_01cd: br Label59
L_01d2: Label28
L_01d2: Label29
L_01d2: ldloc.0
L_01d3: ldfld Verse.BuildableDef entityDefToBuild
L_01d8: isinst Verse.TerrainDef
L_01dd: brfalse Label30
L_01e2: ldc.i4.1
L_01e3: br Label60
L_01e8: Label21
L_01e8: Label27
L_01e8: Label30
L_01e8: ldloc.1
L_01e9: ldfld Verse.BuildableDef entityDefToBuild
L_01ee: ldsfld Verse.ThingDef PowerConduit
L_01f3: bne.un Label31
L_01f8: ldloc.0
L_01f9: ldfld Verse.BuildableDef entityDefToBuild
L_01fe: isinst Verse.ThingDef
L_0203: brfalse Label32
L_0208: ldloc.0
L_0209: ldfld Verse.BuildableDef entityDefToBuild
L_020e: isinst Verse.ThingDef
L_0213: callvirt Boolean get_EverTransmitsPower()
L_0218: brfalse Label33
L_021d: ldc.i4.1
L_021e: br Label61
L_0223: Label31
L_0223: Label32
L_0223: Label33
L_0223: ldc.i4.0
L_0224: br Label62
L_0229: Label20
L_0229: ldloc.1
L_022a: callvirt Boolean get_IsFrame()
L_022f: brtrue Label34
L_0234: ldloc.1
L_0235: callvirt Boolean get_IsBlueprint()
L_023a: brfalse Label35
L_023f: Label34
L_023f: ldloc.1
L_0240: ldfld Verse.BuildableDef entityDefToBuild
L_0245: isinst Verse.TerrainDef
L_024a: brfalse Label36
L_024f: ldloc.2
L_0250: isinst Verse.ThingDef
L_0255: stloc.s 5 (Verse.ThingDef)
L_0257: ldloc.s 5 (Verse.ThingDef)
L_0259: brfalse Label37
L_025e: ldloc.s 5 (Verse.ThingDef)
L_0260: callvirt Boolean get_CoexistsWithFloors()
L_0265: brtrue Label38
L_026a: ldc.i4.1
L_026b: br Label63
L_0270: Label35
L_0270: Label36
L_0270: Label37
L_0270: Label38
L_0270: ldloc.1
L_0271: ldsfld Verse.ThingDef ActiveDropPod
L_0276: bne.un Label39
L_027b: ldc.i4.0
L_027c: br Label64
L_0281: Label39
L_0281: ldloc.0
L_0282: ldsfld Verse.ThingDef ActiveDropPod
L_0287: bne.un Label40
L_028c: ldloc.1
L_028d: ldsfld Verse.ThingDef ActiveDropPod
L_0292: bne.un Label41
L_0297: ldc.i4.0
L_0298: br Label65
L_029d: Label41
L_029d: ldloc.1
L_029e: ldfld Verse.ThingCategory category
L_02a3: ldc.i4.3
L_02a4: bne.un Label42
L_02a9: ldloc.1
L_02aa: ldfld Verse.Traversability passability
L_02af: ldc.i4.2
L_02b0: bne.un Label43
L_02b5: ldc.i4.1
L_02b6: br Label66
L_02bb: Label42
L_02bb: Label43
L_02bb: ldc.i4.0
L_02bc: br Label67
L_02c1: Label40
L_02c1: ldloc.0
L_02c2: call Boolean IsEdifice(Verse.BuildableDef)
L_02c7: brfalse Label44
L_02cc: ldloc.0
L_02cd: callvirt Boolean get_BlockPlanting()
L_02d2: brfalse Label45
L_02d7: ldloc.1
L_02d8: ldfld Verse.ThingCategory category
L_02dd: ldc.i4.4
L_02de: bne.un Label46
L_02e3: ldc.i4.1
L_02e4: br Label68
L_02e9: Label45
L_02e9: Label46
L_02e9: ldloc.2
L_02ea: isinst Verse.TerrainDef
L_02ef: brtrue Label47
L_02f4: ldloc.3
L_02f5: call Boolean IsEdifice(Verse.BuildableDef)
L_02fa: brfalse Label48
L_02ff: ldc.i4.1
L_0300: br Label69
L_0305: Label44
L_0305: Label47
L_0305: Label48
L_0305: ldc.i4.0
L_0306: Label49
L_0306: Label50
L_0306: Label51
L_0306: Label52
L_0306: Label53
L_0306: Label54
L_0306: Label55
L_0306: Label56
L_0306: Label57
L_0306: Label58
L_0306: Label59
L_0306: Label60
L_0306: Label61
L_0306: Label62
L_0306: Label63
L_0306: Label64
L_0306: Label65
L_0306: Label66
L_0306: Label67
L_0306: Label68
L_0306: Label69
L_0306: stloc 6 (System.Boolean)
L_0308: ldarg 0
L_030e: ldarg 1
L_0314: ldloca 6 (System.Boolean)
L_0316: call Void InvisDoorsDontWipe(Verse.BuildableDef, Verse.BuildableDef,
Boolean ByRef)
L_031b: ldloc 6 (System.Boolean)
L_031d: ret
DONE

### Patch Verse.AI.GenPath, Boolean ShouldNotEnterCell(Verse.Pawn, Verse.Map,


IntVec3)
L_0000: Local var 0: Verse.Building
L_0000: Local var 1: RimWorld.Building_Door
L_0000: Local var 2: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.1
L_0007: ldfld Verse.AI.PathGrid pathGrid
L_000c: ldarg.2
L_000d: callvirt Int32 PerceivedPathCostAt(IntVec3)
L_0012: ldc.i4.s 30
L_0014: ble Label1
L_0019: ldc.i4.1
L_001a: br Label9
L_001f: Label1
L_001f: ldarg.2
L_0020: ldarg.1
L_0021: call Boolean Walkable(IntVec3, Verse.Map)
L_0026: brtrue Label2
L_002b: ldc.i4.1
L_002c: br Label10
L_0031: Label2
L_0031: ldarg.0
L_0032: brfalse Label3
L_0037: ldarg.2
L_0038: ldarg.0
L_0039: call Boolean IsForbidden(IntVec3, Verse.Pawn)
L_003e: brfalse Label4
L_0043: ldc.i4.1
L_0044: br Label11
L_0049: Label4
L_0049: ldarg.2
L_004a: ldarg.1
L_004b: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0050: stloc.0
L_0051: ldloc.0
L_0052: brfalse Label5
L_0057: ldloc.0
L_0058: isinst RimWorld.Building_Door
L_005d: stloc.1
L_005e: ldloc.1
L_005f: brfalse Label6
L_0064: ldloc.1
L_0065: ldarg.0
L_0066: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_006b: brfalse Label7
L_0070: ldc.i4.1
L_0071: br Label12
L_0076: Label7
L_0076: ldloc.1
L_0077: ldarg.0
L_0078: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_007d: brtrue Label8
L_0082: ldc.i4.1
L_0083: br Label13
L_0088: Label3
L_0088: Label5
L_0088: Label6
L_0088: Label8
L_0088: ldc.i4.0
L_0089: Label9
L_0089: Label10
L_0089: Label11
L_0089: Label12
L_0089: Label13
L_0089: stloc 2 (System.Boolean)
L_008a: ldarg 0
L_0090: ldarg 1
L_0096: ldarg 2
L_009c: ldloca 2 (System.Boolean)
L_009e: call Void ShouldNotEnterCellInvisDoors(Verse.Pawn, Verse.Map, IntVec3,
Boolean ByRef)
L_00a3: ldloc 2 (System.Boolean)
L_00a4: ret
DONE

### Patch RimWorld.CompForbiddable, Void PostDraw()


L_0000: ldarg.0
L_0001: call Boolean DontDrawInvisDoorForbiddenIcons(RimWorld.CompForbiddable)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld System.Boolean forbiddenInt
L_0011: brfalse Label1
L_0016: ldarg.0
L_0017: ldfld Verse.ThingWithComps parent
L_001c: isinst RimWorld.Blueprint
L_0021: brtrue Label2
L_0026: ldarg.0
L_0027: ldfld Verse.ThingWithComps parent
L_002c: isinst RimWorld.Frame
L_0031: brfalse Label3
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld Verse.ThingWithComps parent
L_003c: ldfld Verse.ThingDef def
L_0041: ldflda Verse.IntVec2 size
L_0046: ldfld System.Int32 x
L_004b: ldc.i4.1
L_004c: bgt Label4
L_0051: ldarg.0
L_0052: ldfld Verse.ThingWithComps parent
L_0057: ldfld Verse.ThingDef def
L_005c: ldflda Verse.IntVec2 size
L_0061: ldfld System.Int32 z
L_0066: ldc.i4.1
L_0067: ble Label5
L_006c: Label4
L_006c: ldarg.0
L_006d: ldfld Verse.ThingWithComps parent
L_0072: callvirt Verse.Map get_Map()
L_0077: ldfld RimWorld.OverlayDrawer overlayDrawer
L_007c: ldarg.0
L_007d: ldfld Verse.ThingWithComps parent
L_0082: ldc.i4.s 16
L_0084: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0089: br Label6
L_008e: Label5
L_008e: ldarg.0
L_008f: ldfld Verse.ThingWithComps parent
L_0094: callvirt Verse.Map get_Map()
L_0099: ldfld RimWorld.OverlayDrawer overlayDrawer
L_009e: ldarg.0
L_009f: ldfld Verse.ThingWithComps parent
L_00a4: ldc.i4.8
L_00a5: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00aa: Label6
L_00aa: br Label7
L_00af: Label3
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingWithComps parent
L_00b5: ldfld Verse.ThingDef def
L_00ba: ldfld Verse.ThingCategory category
L_00bf: ldc.i4.3
L_00c0: bne.un Label8
L_00c5: ldarg.0
L_00c6: ldfld Verse.ThingWithComps parent
L_00cb: callvirt Verse.Map get_Map()
L_00d0: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00d5: ldarg.0
L_00d6: ldfld Verse.ThingWithComps parent
L_00db: ldc.i4.s 16
L_00dd: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00e2: br Label9
L_00e7: Label8
L_00e7: ldarg.0
L_00e8: ldfld Verse.ThingWithComps parent
L_00ed: callvirt Verse.Map get_Map()
L_00f2: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00f7: ldarg.0
L_00f8: ldfld Verse.ThingWithComps parent
L_00fd: ldc.i4.8
L_00fe: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0103: Label1
L_0103: Label7
L_0103: Label9
L_0103: Label0
L_0103: ret
DONE
### Patch Verse.AI.PawnPathUtility, Boolean
TryFindLastCellBeforeBlockingDoor(Verse.AI.PawnPath, Verse.Pawn, IntVec3 ByRef)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Door
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg 0
L_000c: ldarg 1
L_0012: ldarg 2
L_0018: ldloca 3 (System.Boolean)
L_001a: call Boolean ManhunterJobGiverFix(Verse.AI.PawnPath, Verse.Pawn, IntVec3
ByRef, Boolean ByRef)
L_001f: brfalse Label0
L_0024: ldarg.0
L_0025: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_002a: callvirt Int32 get_Count()
L_002f: ldc.i4.1
L_0030: bne.un Label1
L_0035: ldarg.2
L_0036: ldarg.0
L_0037: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_003c: ldc.i4.0
L_003d: callvirt IntVec3 get_Item(Int32)
L_0042: stobj Verse.IntVec3
L_0047: ldc.i4.0
L_0048: br Label6
L_004d: Label1
L_004d: ldarg.0
L_004e: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0053: stloc.0
L_0054: ldloc.0
L_0055: callvirt Int32 get_Count()
L_005a: ldc.i4.2
L_005b: sub
L_005c: stloc.1
L_005d: br Label2
L_0062: Label5
L_0062: ldloc.0
L_0063: ldloc.1
L_0064: callvirt IntVec3 get_Item(Int32)
L_0069: ldarg.1
L_006a: callvirt Verse.Map get_Map()
L_006f: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0074: isinst RimWorld.Building_Door
L_0079: stloc.2
L_007a: ldloc.2
L_007b: brfalse Label3
L_0080: ldloc.2
L_0081: ldarg.1
L_0082: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0087: brtrue Label4
L_008c: ldarg.2
L_008d: ldloc.0
L_008e: ldloc.1
L_008f: ldc.i4.1
L_0090: add
L_0091: callvirt IntVec3 get_Item(Int32)
L_0096: stobj Verse.IntVec3
L_009b: ldc.i4.1
L_009c: br Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldloc.1
L_00a2: ldc.i4.1
L_00a3: sub
L_00a4: stloc.1
L_00a5: Label2
L_00a5: ldloc.1
L_00a6: ldc.i4.1
L_00a7: bge Label5
L_00ac: ldarg.2
L_00ad: ldloc.0
L_00ae: ldc.i4.0
L_00af: callvirt IntVec3 get_Item(Int32)
L_00b4: stobj Verse.IntVec3
L_00b9: ldc.i4.0
L_00ba: Label6
L_00ba: Label7
L_00ba: stloc 3 (System.Boolean)
L_00bb: Label0
L_00bb: ldloc 3 (System.Boolean)
L_00bc: ret
DONE

### Patch RimWorld.ForbidUtility, Boolean IsForbiddenToPass(RimWorld.Building_Door,


Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: ldc.i4.0
L_0008: call Boolean CaresAboutForbidden(Verse.Pawn, Boolean)
L_000d: brtrue Label1
L_0012: ldc.i4.0
L_0013: br Label3
L_0018: Label1
L_0018: ldarg.0
L_0019: ldarg.1
L_001a: callvirt RimWorld.Faction get_Faction()
L_001f: call Boolean IsForbidden(Verse.Thing, RimWorld.Faction)
L_0024: brfalse Label2
L_0029: ldc.i4.1
L_002a: br Label4
L_002f: Label2
L_002f: ldc.i4.0
L_0030: Label3
L_0030: Label4
L_0030: stloc 0 (System.Boolean)
L_0031: ldarg 0
L_0037: ldarg 1
L_003d: ldloca 0 (System.Boolean)
L_003f: call Void IsForbiddenToPass_PostFix(Verse.Thing, Verse.Pawn, Boolean ByRef)
L_0044: ldloc 0 (System.Boolean)
L_0045: ret
DONE

### Patch Verse.AI.PathFinder, Int32 GetBuildingCost(Verse.Building, TraverseParms,


Verse.Pawn)
L_0000: Local var 0: RimWorld.Building_Door
L_0000: Local var 1: Verse.TraverseMode
L_0000: Local var 2: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Int32)
L_0006: ldarg.0
L_0007: isinst RimWorld.Building_Door
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldarga.s 1
L_0015: ldfld Verse.TraverseMode mode
L_001a: stloc.1
L_001b: ldloc.1
L_001c: switch Labels2,3,4,5,6,7
L_0039: br Label8
L_003e: Label4
L_003e: Label6
L_003e: ldloc.0
L_003f: callvirt Boolean get_FreePassage()
L_0044: brfalse Label9
L_0049: ldc.i4.0
L_004a: br Label30
L_004f: Label9
L_004f: ldc.i4 2147483647
L_0054: br Label31
L_0059: Label5
L_0059: Label7
L_0059: ldarg.2
L_005a: brfalse Label10
L_005f: ldloc.0
L_0060: ldarg.2
L_0061: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0066: brfalse Label11
L_006b: ldloc.0
L_006c: ldarg.2
L_006d: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0072: brtrue Label12
L_0077: ldloc.0
L_0078: callvirt Boolean get_FreePassage()
L_007d: brtrue Label13
L_0082: ldloc.0
L_0083: callvirt Int32 get_TicksToOpenNow()
L_0088: br Label32
L_008d: Label10
L_008d: Label11
L_008d: Label12
L_008d: Label13
L_008d: ldloc.0
L_008e: ldarg.2
L_008f: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0094: brfalse Label14
L_0099: ldc.i4.0
L_009a: br Label33
L_009f: Label14
L_009f: ldc.i4.s 50
L_00a1: ldloc.0
L_00a2: callvirt Int32 get_HitPoints()
L_00a7: conv.r4
L_00a8: ldc.r4 0.2
L_00ad: mul
L_00ae: conv.i4
L_00af: add
L_00b0: br Label34
L_00b5: Label3
L_00b5: ldarg.2
L_00b6: brfalse Label15
L_00bb: ldloc.0
L_00bc: ldarg.2
L_00bd: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00c2: brfalse Label16
L_00c7: ldloc.0
L_00c8: ldarg.2
L_00c9: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_00ce: brtrue Label17
L_00d3: ldloc.0
L_00d4: callvirt Boolean get_FreePassage()
L_00d9: brtrue Label18
L_00de: ldloc.0
L_00df: callvirt Int32 get_TicksToOpenNow()
L_00e4: br Label35
L_00e9: Label15
L_00e9: Label16
L_00e9: Label17
L_00e9: Label18
L_00e9: ldloc.0
L_00ea: ldarg.2
L_00eb: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_00f0: brfalse Label19
L_00f5: ldc.i4.0
L_00f6: br Label36
L_00fb: Label19
L_00fb: ldc.i4 150
L_0100: br Label37
L_0105: Label2
L_0105: ldarga.s 1
L_0107: ldfld System.Boolean canBash
L_010c: brtrue Label20
L_0111: ldloc.0
L_0112: ldarg.2
L_0113: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0118: brfalse Label21
L_011d: ldsfld System.Boolean drawPaths
L_0122: brfalse Label22
L_0127: ldarg.0
L_0128: callvirt IntVec3 get_Position()
L_012d: ldarg.0
L_012e: callvirt Verse.Map get_Map()
L_0133: ldc.r4 0.77
L_0138: ldstr "forbid"
L_013d: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_0142: Label22
L_0142: ldc.i4 2147483647
L_0147: br Label38
L_014c: Label20
L_014c: Label21
L_014c: ldloc.0
L_014d: ldarg.2
L_014e: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0153: brfalse Label23
L_0158: ldloc.0
L_0159: callvirt Boolean get_FreePassage()
L_015e: brtrue Label24
L_0163: ldloc.0
L_0164: callvirt Int32 get_TicksToOpenNow()
L_0169: br Label39
L_016e: Label23
L_016e: Label24
L_016e: ldloc.0
L_016f: ldarg.2
L_0170: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0175: brfalse Label25
L_017a: ldc.i4.0
L_017b: br Label40
L_0180: Label25
L_0180: ldarga.s 1
L_0182: ldfld System.Boolean canBash
L_0187: brfalse Label26
L_018c: ldc.i4 300
L_0191: br Label41
L_0196: Label26
L_0196: ldsfld System.Boolean drawPaths
L_019b: brfalse Label27
L_01a0: ldarg.0
L_01a1: callvirt IntVec3 get_Position()
L_01a6: ldarg.0
L_01a7: callvirt Verse.Map get_Map()
L_01ac: ldc.r4 0.34
L_01b1: ldstr "cant pass"
L_01b6: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_01bb: Label27
L_01bb: ldc.i4 2147483647
L_01c0: br Label42
L_01c5: Label8
L_01c5: br Label28
L_01ca: Label1
L_01ca: ldarg.2
L_01cb: brfalse Label29
L_01d0: ldarg.0
L_01d1: ldarg.2
L_01d2: callvirt UInt16 PathFindCostFor(Verse.Pawn)
L_01d7: br Label43
L_01dc: Label28
L_01dc: Label29
L_01dc: ldc.i4.0
L_01dd: Label30
L_01dd: Label31
L_01dd: Label32
L_01dd: Label33
L_01dd: Label34
L_01dd: Label35
L_01dd: Label36
L_01dd: Label37
L_01dd: Label38
L_01dd: Label39
L_01dd: Label40
L_01dd: Label41
L_01dd: Label42
L_01dd: Label43
L_01dd: stloc 2 (System.Int32)
L_01de: ldarg 0
L_01e4: ldarg 1
L_01ea: ldarg 2
L_01f0: ldloca 2 (System.Int32)
L_01f2: call Void GetBuildingCost_PostFix(Verse.Building, TraverseParms,
Verse.Pawn, Int32 ByRef)
L_01f7: ldloc 2 (System.Int32)
L_01f8: ret
DONE

### Patch Verse.AI.PawnPathUtility, Verse.Thing


FirstBlockingBuilding(Verse.AI.PawnPath, IntVec3 ByRef, Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: Verse.Building
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Building
L_0000: Local var 5: RimWorld.Building_Door
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: Verse.Thing
L_0000: ldnull
L_0001: stloc 7 (Verse.Thing)
L_0003: ldarg.0
L_0004: callvirt Boolean get_Found()
L_0009: brtrue Label1
L_000e: ldarg.1
L_000f: call IntVec3 get_Invalid()
L_0014: stobj Verse.IntVec3
L_0019: ldnull
L_001a: br Label22
L_001f: Label1
L_001f: ldarg.0
L_0020: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0025: stloc.0
L_0026: ldloc.0
L_0027: callvirt Int32 get_Count()
L_002c: ldc.i4.1
L_002d: bne.un Label2
L_0032: ldarg.1
L_0033: ldloc.0
L_0034: ldc.i4.0
L_0035: callvirt IntVec3 get_Item(Int32)
L_003a: stobj Verse.IntVec3
L_003f: ldnull
L_0040: br Label23
L_0045: Label2
L_0045: ldnull
L_0046: stloc.1
L_0047: call IntVec3 get_Invalid()
L_004c: stloc.2
L_004d: ldloc.0
L_004e: callvirt Int32 get_Count()
L_0053: ldc.i4.2
L_0054: sub
L_0055: stloc.3
L_0056: br Label3
L_005b: Label21
L_005b: ldloc.0
L_005c: ldloc.3
L_005d: callvirt IntVec3 get_Item(Int32)
L_0062: ldarg.2
L_0063: callvirt Verse.Map get_Map()
L_0068: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_006d: stloc.s 4 (Verse.Building)
L_006f: ldloc.s 4 (Verse.Building)
L_0071: brfalse Label4
L_0076: ldloc.s 4 (Verse.Building)
L_0078: isinst RimWorld.Building_Door
L_007d: stloc.s 5 (RimWorld.Building_Door)
L_007f: ldloc.s 5 (RimWorld.Building_Door)
L_0081: brfalse Label5
L_0086: ldloc.s 5 (RimWorld.Building_Door)
L_0088: callvirt Boolean get_FreePassage()
L_008d: brtrue Label6
L_0092: ldarg.2
L_0093: brfalse Label7
L_0098: ldloc.s 5 (RimWorld.Building_Door)
L_009a: ldarg.2
L_009b: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00a0: ldc.i4.0
L_00a1: ceq
L_00a3: br Label8
L_00a8: Label7
L_00a8: ldc.i4.1
L_00a9: Label8
L_00a9: br Label9
L_00ae: Label5
L_00ae: Label6
L_00ae: ldc.i4.0
L_00af: Label9
L_00af: stloc.s 6 (System.Boolean)
L_00b1: ldloc.s 6 (System.Boolean)
L_00b3: brtrue Label10
L_00b8: ldloc.s 4 (Verse.Building)
L_00ba: ldfld Verse.ThingDef def
L_00bf: ldfld Verse.Traversability passability
L_00c4: ldc.i4.2
L_00c5: bne.un Label11
L_00ca: Label10
L_00ca: ldloc.1
L_00cb: brfalse Label12
L_00d0: ldarg.1
L_00d1: ldloc.2
L_00d2: stobj Verse.IntVec3
L_00d7: ldloc.1
L_00d8: br Label24
L_00dd: Label12
L_00dd: ldarg.1
L_00de: ldloc.0
L_00df: ldloc.3
L_00e0: ldc.i4.1
L_00e1: add
L_00e2: callvirt IntVec3 get_Item(Int32)
L_00e7: stobj Verse.IntVec3
L_00ec: ldloc.s 4 (Verse.Building)
L_00ee: br Label25
L_00f3: Label4
L_00f3: Label11
L_00f3: ldloc.s 4 (Verse.Building)
L_00f5: brfalse Label13
L_00fa: ldloc.s 4 (Verse.Building)
L_00fc: ldfld Verse.ThingDef def
L_0101: ldfld Verse.Traversability passability
L_0106: ldc.i4.1
L_0107: bne.un Label14
L_010c: ldloc.s 4 (Verse.Building)
L_010e: ldfld Verse.ThingDef def
L_0113: callvirt FillCategory get_Fillage()
L_0118: ldc.i4.2
L_0119: bne.un Label15
L_011e: ldloc.1
L_011f: brtrue Label16
L_0124: ldloc.s 4 (Verse.Building)
L_0126: stloc.1
L_0127: ldloc.0
L_0128: ldloc.3
L_0129: ldc.i4.1
L_012a: add
L_012b: callvirt IntVec3 get_Item(Int32)
L_0130: stloc.2
L_0131: Label16
L_0131: br Label17
L_0136: Label13
L_0136: Label14
L_0136: Label15
L_0136: ldloc.s 4 (Verse.Building)
L_0138: brfalse Label18
L_013d: ldloc.s 4 (Verse.Building)
L_013f: ldfld Verse.ThingDef def
L_0144: ldfld Verse.Traversability passability
L_0149: ldc.i4.1
L_014a: bne.un Label19
L_014f: br Label20
L_0154: Label18
L_0154: Label19
L_0154: ldnull
L_0155: stloc.1
L_0156: Label17
L_0156: Label20
L_0156: ldloc.3
L_0157: ldc.i4.1
L_0158: sub
L_0159: stloc.3
L_015a: Label3
L_015a: ldloc.3
L_015b: ldc.i4.0
L_015c: bge Label21
L_0161: ldarg.1
L_0162: ldloc.0
L_0163: ldc.i4.0
L_0164: callvirt IntVec3 get_Item(Int32)
L_0169: stobj Verse.IntVec3
L_016e: ldnull
L_016f: Label22
L_016f: Label23
L_016f: Label24
L_016f: Label25
L_016f: stloc 7 (Verse.Thing)
L_0171: ldarg 0
L_0177: ldarg 1
L_017d: ldarg 2
L_0183: ldloca 7 (Verse.Thing)
L_0185: call Void FirstBlockingBuilding_PostFix(Verse.AI.PawnPath, IntVec3 ByRef,
Verse.Pawn, Verse.Thing ByRef)
L_018a: ldloc 7 (Verse.Thing)
L_018c: ret
DONE

### Patch RimWorld.WorkGiver_DoBill, Verse.AI.Job JobOnThing(Verse.Pawn,


Verse.Thing, Boolean)
L_0000: Local var 0: RimWorld.IBillGiver
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: RimWorld.CompRefuelable
L_0000: Local var 5: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 5 (Verse.AI.Job)
L_0003: ldarg.2
L_0004: isinst RimWorld.IBillGiver
L_0009: stloc.0
L_000a: ldloc.0
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldarg.2
L_0012: call Boolean ThingIsUsableBillGiver(Verse.Thing)
L_0017: brfalse Label2
L_001c: ldloc.0
L_001d: callvirt RimWorld.BillStack get_BillStack()
L_0022: callvirt Boolean get_AnyShouldDoNow()
L_0027: brfalse Label3
L_002c: ldloc.0
L_002d: callvirt Boolean UsableForBillsAfterFueling()
L_0032: brfalse Label4
L_0037: ldarg.1
L_0038: stloc.1
L_0039: ldarg.2
L_003a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_003f: stloc.2
L_0040: ldarg.3
L_0041: stloc.3
L_0042: ldloc.1
L_0043: ldloc.2
L_0044: ldc.i4.1
L_0045: ldc.i4.m1
L_0046: ldnull
L_0047: ldloc.3
L_0048: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32, Int32,
Verse.ReservationLayerDef, Boolean)
L_004d: brfalse Label5
L_0052: ldarg.2
L_0053: call Boolean IsBurning(Verse.Thing)
L_0058: brtrue Label6
L_005d: ldarg.2
L_005e: ldarg.1
L_005f: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_0064: brfalse Label7
L_0069: Label1
L_0069: Label2
L_0069: Label3
L_0069: Label4
L_0069: Label5
L_0069: Label6
L_0069: ldnull
L_006a: br Label11
L_006f: Label7
L_006f: ldarg.2
L_0070: call RimWorld.CompRefuelable TryGetComp[CompRefuelable](Verse.Thing)
L_0075: stloc.s 4 (RimWorld.CompRefuelable)
L_0077: ldloc.s 4 (RimWorld.CompRefuelable)
L_0079: brfalse Label8
L_007e: ldloc.s 4 (RimWorld.CompRefuelable)
L_0080: callvirt Boolean get_HasFuel()
L_0085: brtrue Label9
L_008a: ldarg.1
L_008b: ldarg.2
L_008c: ldarg.3
L_008d: call Boolean CanRefuel(Verse.Pawn, Verse.Thing, Boolean)
L_0092: brtrue Label10
L_0097: ldnull
L_0098: br Label12
L_009d: Label10
L_009d: ldarg.1
L_009e: ldarg.2
L_009f: ldarg.3
L_00a0: ldnull
L_00a1: ldnull
L_00a2: call Verse.AI.Job RefuelJob(Verse.Pawn, Verse.Thing, Boolean, Verse.JobDef,
Verse.JobDef)
L_00a7: br Label13
L_00ac: Label8
L_00ac: Label9
L_00ac: ldloc.0
L_00ad: callvirt RimWorld.BillStack get_BillStack()
L_00b2: callvirt Void RemoveIncompletableBills()
L_00b7: ldarg.0
L_00b8: ldarg.1
L_00b9: ldloc.0
L_00ba: call Verse.AI.Job StartOrResumeBillJob(Verse.Pawn, IBillGiver)
L_00bf: Label11
L_00bf: Label12
L_00bf: Label13
L_00bf: stloc 5 (Verse.AI.Job)
L_00c1: ldloca 5 (Verse.AI.Job)
L_00c3: ldarg 1
L_00c9: ldarg 2
L_00cf: ldarg 3
L_00d5: call Void Postfix(Verse.AI.Job ByRef, Verse.Pawn, Verse.Thing, Boolean)
L_00da: ldloc 5 (Verse.AI.Job)
L_00dc: ret
DONE

### Patch RimWorld.Building_Bed, Void set_Medical(Boolean)


L_0000: ldarg.1
L_0001: ldarg.0
L_0002: ldfld System.Boolean medicalInt
L_0007: beq Label1
L_000c: ldarg.0
L_000d: ldfld Verse.ThingDef def
L_0012: ldfld RimWorld.BuildingProperties building
L_0017: ldfld System.Boolean bed_humanlike
L_001c: pop
L_001d: ldc.i4.1
L_001e: brtrue Label2
L_0023: Label1
L_0023: br Label4
L_0028: Label2
L_0028: ldarg.0
L_0029: call Void RemoveAllOwners()
L_002e: ldarg.0
L_002f: ldarg.1
L_0030: stfld System.Boolean medicalInt
L_0035: ldarg.0
L_0036: callvirt Void Notify_ColorChanged()
L_003b: ldarg.0
L_003c: call Boolean get_Spawned()
L_0041: brfalse Label3
L_0046: ldarg.0
L_0047: call Verse.Map get_Map()
L_004c: ldfld Verse.MapDrawer mapDrawer
L_0051: ldarg.0
L_0052: call IntVec3 get_Position()
L_0057: ldc.i4.1
L_0058: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_005d: ldarg.0
L_005e: call Void NotifyRoomBedTypeChanged()
L_0063: Label3
L_0063: ldarg.0
L_0064: call Void FacilityChanged()
L_0069: Label4
L_0069: ldarg.0
L_006a: ldarga 1
L_0070: call Void ChangeMedicalStatus(RimWorld.Building_Bed, Boolean ByRef)
L_0075: ret
DONE

### Patch Verse.DesignationCategoryDef, IEnumerable`1


get_ResolvedAllowedDesignators()
L_0000: Local var 0: Verse.DesignationCategoryDef+<>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Designator,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld Verse.DesignationCategoryDef $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, Verse.DesignationCategoryDef ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0027: ret
DONE

### Patch Verse.Dialog_RenameZone, Void SetName(System.String)


L_0000: ldarg.0
L_0001: ldfld Verse.Zone zone
L_0006: ldarg.0
L_0007: ldfld System.String curName
L_000c: stfld System.String label
L_0011: ldstr "ZoneGainsName"
L_0016: ldc.i4.1
L_0017: newarr System.Object
L_001c: dup
L_001d: ldc.i4.0
L_001e: ldarg.0
L_001f: ldfld System.String curName
L_0024: stelem.ref
L_0025: call System.String Translate(System.String, System.Object[])
L_002a: ldsfld Verse.MessageTypeDef TaskCompletion
L_002f: ldc.i4.0
L_0030: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0035: call Void Postfix()
L_003a: ret
DONE

### Patch Verse.DynamicDrawManager, Void DrawDynamicThings()


L_0000: Local var 0: System.Boolean[]
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: Verse.CellIndices
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Exception
L_0000: Local var 7: System.Exception
L_0000: ldarga 0
L_0006: call Boolean Prefix(Verse.DynamicDrawManager ByRef)
L_000b: brfalse Label0
L_0010: ldsfld System.Boolean drawThingsDynamic
L_0015: brtrue Label1
L_001a: br Label18
L_001f: Label1
L_001f: ldarg.0
L_0020: ldc.i4.1
L_0021: stfld System.Boolean drawingNow
.try
{
L_0026: ldarg.0
L_0027: ldfld Verse.Map map
L_002c: ldfld Verse.FogGrid fogGrid
L_0031: ldfld System.Boolean[] fogGrid
L_0036: stloc.0
L_0037: call Verse.CameraDriver get_CameraDriver()
L_003c: callvirt CellRect get_CurrentViewRect()
L_0041: stloc.1
L_0042: ldloca.s 1 (Verse.CellRect)
L_0044: ldarg.0
L_0045: ldfld Verse.Map map
L_004a: call CellRect ClipInsideMap(Verse.Map)
L_004f: pop
L_0050: ldloca.s 1 (Verse.CellRect)
L_0052: ldc.i4.1
L_0053: call CellRect ExpandedBy(Int32)
L_0058: stloc.1
L_0059: ldarg.0
L_005a: ldfld Verse.Map map
L_005f: ldfld Verse.CellIndices cellIndices
L_0064: stloc.3
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.HashSet`1[Verse.Thing] drawThings
L_006b: callvirt Enumerator GetEnumerator()
L_0070: stloc.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
.try
{
L_0072: br Label2
L_0077: Label14
L_0077: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0079: call Verse.Thing get_Current()
L_007e: stloc.s 4 (Verse.Thing)
L_0080: ldloc.s 4 (Verse.Thing)
L_0082: callvirt IntVec3 get_Position()
L_0087: stloc.2
L_0088: ldloca.s 1 (Verse.CellRect)
L_008a: ldloc.2
L_008b: call Boolean Contains(IntVec3)
L_0090: brtrue Label3
L_0095: ldloc.s 4 (Verse.Thing)
L_0097: ldfld Verse.ThingDef def
L_009c: ldfld System.Boolean drawOffscreen
L_00a1: brtrue Label4
L_00a6: leave Label5
L_00ab: Label3
L_00ab: Label4
L_00ab: ldloc.0
L_00ac: ldloc.3
L_00ad: ldloc.2
L_00ae: callvirt Int32 CellToIndex(IntVec3)
L_00b3: ldelem.u1
L_00b4: brfalse Label6
L_00b9: ldloc.s 4 (Verse.Thing)
L_00bb: ldfld Verse.ThingDef def
L_00c0: ldfld System.Boolean seeThroughFog
L_00c5: brtrue Label7
L_00ca: leave Label8
L_00cf: Label6
L_00cf: Label7
L_00cf: ldloc.s 4 (Verse.Thing)
L_00d1: ldfld Verse.ThingDef def
L_00d6: ldfld System.Single hideAtSnowDepth
L_00db: ldc.r4 1
L_00e0: bge.un Label9
L_00e5: ldarg.0
L_00e6: ldfld Verse.Map map
L_00eb: ldfld Verse.SnowGrid snowGrid
L_00f0: ldloc.s 4 (Verse.Thing)
L_00f2: callvirt IntVec3 get_Position()
L_00f7: callvirt Single GetDepth(IntVec3)
L_00fc: ldloc.s 4 (Verse.Thing)
L_00fe: ldfld Verse.ThingDef def
L_0103: ldfld System.Single hideAtSnowDepth
L_0108: ble.un Label10
L_010d: leave Label11
L_0112: Label9
L_0112: Label10
.try
{
L_0112: ldloc.s 4 (Verse.Thing)
L_0114: callvirt Void Draw()
L_0119: leave Label12
L_011e: leave (autogenerated)
} // end try
.catch System.Exception
{
L_0123: stloc.s 6 (System.Exception)
L_0125: ldc.i4.4
L_0126: newarr System.Object
L_012b: dup
L_012c: ldc.i4.0
L_012d: ldstr "Exception drawing "
L_0132: stelem.ref
L_0133: dup
L_0134: ldc.i4.1
L_0135: ldloc.s 4 (Verse.Thing)
L_0137: stelem.ref
L_0138: dup
L_0139: ldc.i4.2
L_013a: ldstr ": "
L_013f: stelem.ref
L_0140: dup
L_0141: ldc.i4.3
L_0142: ldloc.s 6 (System.Exception)
L_0144: callvirt System.String ToString()
L_0149: stelem.ref
L_014a: call System.String Concat(System.Object[])
L_014f: ldc.i4.0
L_0150: call Void Error(System.String, Boolean)
L_0155: leave Label13
L_015a: leave (autogenerated)
} // end handler
L_015f: Label2
L_015f: Label5
L_015f: Label8
L_015f: Label11
L_015f: Label12
L_015f: Label13
L_015f: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0161: call Boolean MoveNext()
L_0166: brtrue Label14
L_016b: leave Label15
L_0170: leave (autogenerated)
} // end try
.finally
{
L_0175: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0177: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing]
L_017d: callvirt Void Dispose()
L_0182: endfinally
L_0183: leave (autogenerated)
} // end handler
L_0184: Label15
L_0184: leave Label16
L_0189: leave (autogenerated)
} // end try
.catch System.Exception
{
L_018e: stloc.s 7 (System.Exception)
L_0190: ldstr "Exception drawing dynamic things: "
L_0195: ldloc.s 7 (System.Exception)
L_0197: call System.String Concat(System.Object, System.Object)
L_019c: ldc.i4.0
L_019d: call Void Error(System.String, Boolean)
L_01a2: leave Label17
L_01a7: leave (autogenerated)
} // end handler
L_01ac: Label16
L_01ac: Label17
L_01ac: ldarg.0
L_01ad: ldc.i4.0
L_01ae: stfld System.Boolean drawingNow
L_01b3: Label18
L_01b3: Label0
L_01b3: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterActivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brtrue Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Void Add(RimWorld.CompGatherSpot)
L_001d: Label1
L_001d: ldarga 1
L_0023: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0028: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterDeactivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Boolean Remove(RimWorld.CompGatherSpot)
L_001d: pop
L_001e: Label1
L_001e: ldarga 1
L_0024: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0029: ret
DONE

### Patch Verse.ListerBuildings, Void Add(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.BuildingProperties building
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldfld Verse.ThingDef def
L_0016: ldfld RimWorld.BuildingProperties building
L_001b: ldfld System.Boolean isNaturalRock
L_0020: brfalse Label2
L_0025: br Label7
L_002a: Label1
L_002a: Label2
L_002a: ldarg.1
L_002b: callvirt RimWorld.Faction get_Faction()
L_0030: call RimWorld.Faction get_OfPlayer()
L_0035: bne.un Label3
L_003a: ldarg.0
L_003b: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0040: ldarg.1
L_0041: callvirt Void Add(Verse.Building)
L_0046: ldarg.1
L_0047: isinst Verse.AI.IAttackTarget
L_004c: brfalse Label4
L_0051: ldarg.0
L_0052: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_0057: ldarg.1
L_0058: callvirt Boolean Add(Verse.Building)
L_005d: pop
L_005e: Label3
L_005e: Label4
L_005e: ldarg.1
L_005f: ldfld Verse.ThingDef def
L_0064: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0069: stloc.0
L_006a: ldloc.0
L_006b: brfalse Label5
L_0070: ldloc.0
L_0071: ldfld System.Boolean shortCircuitInRain
L_0076: brfalse Label6
L_007b: ldarg.0
L_007c: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0081: ldarg.1
L_0082: callvirt Boolean Add(Verse.Building)
L_0087: pop
L_0088: Label5
L_0088: Label6
L_0088: Label7
L_0088: ldarga 1
L_008e: call Void Postfix(Verse.Building ByRef)
L_0093: ret
DONE

### Patch Verse.ListerBuildings, Void Remove(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Building)
L_000c: pop
L_000d: ldarg.1
L_000e: isinst Verse.AI.IAttackTarget
L_0013: brfalse Label1
L_0018: ldarg.0
L_0019: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_001e: ldarg.1
L_001f: callvirt Boolean Remove(Verse.Building)
L_0024: pop
L_0025: Label1
L_0025: ldarg.1
L_0026: ldfld Verse.ThingDef def
L_002b: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0030: stloc.0
L_0031: ldloc.0
L_0032: brfalse Label2
L_0037: ldloc.0
L_0038: ldfld System.Boolean shortCircuitInRain
L_003d: brfalse Label3
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0048: ldarg.1
L_0049: callvirt Boolean Remove(Verse.Building)
L_004e: pop
L_004f: Label2
L_004f: Label3
L_004f: ldarga 1
L_0055: call Void Postfix(Verse.Building ByRef)
L_005a: ret
DONE

### Patch Verse.Room, Verse.Room MakeNew(Verse.Map)


L_0000: Local var 0: Verse.Room
L_0000: Local var 1: Verse.Room
L_0000: ldnull
L_0001: stloc 1 (Verse.Room)
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: callvirt Int32 get_Index()
L_000f: conv.i1
L_0010: stfld System.SByte mapIndex
L_0015: ldloc.0
L_0016: ldsfld System.Int32 nextRoomID
L_001b: stfld System.Int32 ID
L_0020: ldsfld System.Int32 nextRoomID
L_0025: ldc.i4.1
L_0026: add
L_0027: stsfld System.Int32 nextRoomID
L_002c: ldloc.0
L_002d: stloc 1 (Verse.Room)
L_002e: ldloca 1 (Verse.Room)
L_0030: call Void Postfix(Verse.Room ByRef)
L_0035: ldloc 1 (Verse.Room)
L_0036: ret
DONE

### Patch Verse.Room, Void Notify_BedTypeChanged()


L_0000: ldarg.0
L_0001: ldc.i4.1
L_0002: stfld System.Boolean statsAndRoleDirty
L_0007: ldarga 0
L_000d: call Void Postfix(Verse.Room ByRef)
L_0012: ret
DONE

### Patch Verse.Room, Void Notify_RoomShapeOrContainedBedsChanged()


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Bed
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: RimWorld.Building_Bed
L_0000: Local var 6:
System.Collections.Generic.IEnumerator`1[[RimWorld.Building_Bed, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldc.i4.m1
L_0002: stfld System.Int32 cachedCellCount
L_0007: ldarg.0
L_0008: ldc.i4.m1
L_0009: stfld System.Int32 cachedOpenRoofCount
L_000e: ldarg.0
L_000f: ldnull
L_0010: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_0015: call ProgramState get_ProgramState()
L_001a: ldc.i4.2
L_001b: bne.un Label1
L_0020: ldarg.0
L_0021: call Boolean get_Fogged()
L_0026: brtrue Label2
L_002b: ldarg.0
L_002c: call Verse.Map get_Map()
L_0031: ldfld Verse.AutoBuildRoofAreaSetter autoBuildRoofAreaSetter
L_0036: ldarg.0
L_0037: callvirt Void TryGenerateAreaFor(Verse.Room)
L_003c: Label1
L_003c: Label2
L_003c: ldarg.0
L_003d: ldc.i4.0
L_003e: stfld System.Boolean isPrisonCell
L_0043: ldarg.0
L_0044: call Boolean RoomCanBePrisonCell(Verse.Room)
L_0049: brfalse Label3
L_004e: ldarg.0
L_004f: call System.Collections.Generic.List`1[Verse.Thing]
get_ContainedAndAdjacentThings()
L_0054: stloc.0
L_0055: ldc.i4.0
L_0056: stloc.1
L_0057: br Label4
L_005c: Label8
L_005c: ldloc.0
L_005d: ldloc.1
L_005e: callvirt Verse.Thing get_Item(Int32)
L_0063: isinst RimWorld.Building_Bed
L_0068: stloc.2
L_0069: ldloc.2
L_006a: brfalse Label5
L_006f: ldloc.2
L_0070: callvirt Boolean get_ForPrisoners()
L_0075: brfalse Label6
L_007a: ldarg.0
L_007b: ldc.i4.1
L_007c: stfld System.Boolean isPrisonCell
L_0081: br Label7
L_0086: Label5
L_0086: Label6
L_0086: ldloc.1
L_0087: ldc.i4.1
L_0088: add
L_0089: stloc.1
L_008a: Label4
L_008a: ldloc.1
L_008b: ldloc.0
L_008c: callvirt Int32 get_Count()
L_0091: blt Label8
L_0096: Label3
L_0096: Label7
L_0096: ldarg.0
L_0097: call Verse.Map get_Map()
L_009c: ldfld Verse.ListerThings listerThings
L_00a1: ldsfld Verse.ThingDef NutrientPasteDispenser
L_00a6: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsOfDef(Verse.ThingDef)
L_00ab: stloc.3
L_00ac: ldc.i4.0
L_00ad: stloc.s 4 (System.Int32)
L_00af: br Label9
L_00b4: Label10
L_00b4: ldloc.3
L_00b5: ldloc.s 4 (System.Int32)
L_00b7: callvirt Verse.Thing get_Item(Int32)
L_00bc: callvirt Void Notify_ColorChanged()
L_00c1: ldloc.s 4 (System.Int32)
L_00c3: ldc.i4.1
L_00c4: add
L_00c5: stloc.s 4 (System.Int32)
L_00c7: Label9
L_00c7: ldloc.s 4 (System.Int32)
L_00c9: ldloc.3
L_00ca: callvirt Int32 get_Count()
L_00cf: blt Label10
L_00d4: call ProgramState get_ProgramState()
L_00d9: ldc.i4.2
L_00da: bne.un Label11
L_00df: ldarg.0
L_00e0: ldfld System.Boolean isPrisonCell
L_00e5: brfalse Label12
L_00ea: ldarg.0
L_00eb: call IEnumerable`1 get_ContainedBeds()
L_00f0: callvirt IEnumerator`1 GetEnumerator()
L_00f5: stloc.s 6 (System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
.try
{
L_00f7: br Label13
L_00fc: Label14
L_00fc: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_00fe: callvirt RimWorld.Building_Bed get_Current()
L_0103: stloc.s 5 (RimWorld.Building_Bed)
L_0105: ldloc.s 5 (RimWorld.Building_Bed)
L_0107: ldc.i4.1
L_0108: callvirt Void set_ForPrisoners(Boolean)
L_010d: Label13
L_010d: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_010f: callvirt Boolean MoveNext()
L_0114: brtrue Label14
L_0119: leave Label15
L_011e: leave (autogenerated)
} // end try
.finally
{
L_0123: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_0125: brfalse Label16
L_012a: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_012c: callvirt Void Dispose()
L_0131: Label16
L_0131: endfinally
L_0132: leave (autogenerated)
} // end handler
L_0133: Label11
L_0133: Label12
L_0133: Label15
L_0133: ldarg.0
L_0134: call Verse.TickManager get_TickManager()
L_0139: callvirt Int32 get_TicksGame()
L_013e: stfld System.Int32 lastChangeTick
L_0143: ldarg.0
L_0144: ldc.i4.1
L_0145: stfld System.Boolean statsAndRoleDirty
L_014a: ldarg.0
L_014b: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0150: call Void
NotifyFacilitiesAboutChangedLOSBlockers(System.Collections.Generic.List`1[Verse.Reg
ion])
L_0155: ldarga 0
L_015b: call Void Postfix(Verse.Room ByRef)
L_0160: ret
DONE

### Patch Verse.Room, Void RemoveRegion(Verse.Region)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(Verse.Region)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Tried to remove region from Room but this region is not here.
region="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: stelem.ref
L_0023: dup
L_0024: ldc.i4.2
L_0025: ldstr ", room="
L_002a: stelem.ref
L_002b: dup
L_002c: ldc.i4.3
L_002d: ldarg.0
L_002e: stelem.ref
L_002f: call System.String Concat(System.Object[])
L_0034: ldc.i4.0
L_0035: call Void Error(System.String, Boolean)
L_003a: br Label4
L_003f: Label1
L_003f: ldarg.0
L_0040: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0045: ldarg.1
L_0046: callvirt Boolean Remove(Verse.Region)
L_004b: pop
L_004c: ldarg.1
L_004d: ldfld System.Boolean touchesMapEdge
L_0052: brfalse Label2
L_0057: ldarg.0
L_0058: dup
L_0059: ldfld System.Int32 numRegionsTouchingMapEdge
L_005e: ldc.i4.1
L_005f: sub
L_0060: stfld System.Int32 numRegionsTouchingMapEdge
L_0065: Label2
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_006b: callvirt Int32 get_Count()
L_0070: brtrue Label3
L_0075: ldarg.0
L_0076: ldnull
L_0077: call Void set_Group(Verse.RoomGroup)
L_007c: ldarg.0
L_007d: ldc.i4.m1
L_007e: stfld System.Int32 cachedOpenRoofCount
L_0083: ldarg.0
L_0084: ldnull
L_0085: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_008a: ldarg.0
L_008b: ldc.i4.1
L_008c: stfld System.Boolean statsAndRoleDirty
L_0091: ldarg.0
L_0092: call Verse.Map get_Map()
L_0097: ldfld Verse.RegionGrid regionGrid
L_009c: ldfld System.Collections.Generic.List`1[Verse.Room] allRooms
L_00a1: ldarg.0
L_00a2: callvirt Boolean Remove(Verse.Room)
L_00a7: pop
L_00a8: Label3
L_00a8: Label4
L_00a8: ldarga 0
L_00ae: call Void Postfix(Verse.Room ByRef)
L_00b3: ret
DONE

### Patch Verse.ZoneManager, Void DeregisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Zone)
L_000c: pop
L_000d: ldarg.1
L_000e: callvirt Void PostDeregister()
L_0013: ldarga 1
L_0019: call Void Postfix(Verse.Zone ByRef)
L_001e: ret
DONE

### Patch Verse.ZoneManager, Void RegisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Void Add(Verse.Zone)
L_000c: ldarg.1
L_000d: callvirt Void PostRegister()
L_0012: ldarga 1
L_0018: call Void Postfix(Verse.Zone ByRef)
L_001d: ret
DONE

### Patch RimWorld.Zone_Growing, Void SetPlantDefToGrow(Verse.ThingDef)


L_0000: ldarg.0
L_0001: ldarg.1
L_0002: stfld Verse.ThingDef plantDefToGrow
L_0007: ldarga 0
L_000d: call Void Postfix(RimWorld.Zone_Growing ByRef)
L_0012: ret
DONE

### Patch Verse.Zone, Void RemoveCell(IntVec3)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Cannot remove cell from zone which doesn't have it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label3
L_0044: Label1
L_0044: ldarg.0
L_0045: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_004a: ldarg.1
L_004b: callvirt Boolean Remove(IntVec3)
L_0050: pop
L_0051: ldarg.0
L_0052: ldfld Verse.ZoneManager zoneManager
L_0057: ldarg.1
L_0058: callvirt Void ClearZoneGridCell(IntVec3)
L_005d: ldarg.0
L_005e: call Verse.Map get_Map()
L_0063: ldfld Verse.MapDrawer mapDrawer
L_0068: ldarg.1
L_0069: ldc.i4 128
L_006e: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_0073: ldarg.0
L_0074: ldc.i4.0
L_0075: stfld System.Boolean cellsShuffled
L_007a: ldarg.0
L_007b: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0080: callvirt Int32 get_Count()
L_0085: brtrue Label2
L_008a: ldarg.0
L_008b: call Void Deregister()
L_0090: Label2
L_0090: Label3
L_0090: ldarga 0
L_0096: call Void Postfix(Verse.Zone ByRef)
L_009b: ret
DONE

### Patch Verse.Zone, Void AddCell(IntVec3)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Thing
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brfalse Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Adding cell to zone which already has it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label5
L_0044: Label1
L_0044: ldarg.0
L_0045: call Verse.Map get_Map()
L_004a: ldfld Verse.ThingGrid thingGrid
L_004f: ldarg.1
L_0050: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsListAt(IntVec3)
L_0055: stloc.0
L_0056: ldc.i4.0
L_0057: stloc.1
L_0058: br Label2
L_005d: Label4
L_005d: ldloc.0
L_005e: ldloc.1
L_005f: callvirt Verse.Thing get_Item(Int32)
L_0064: stloc.2
L_0065: ldloc.2
L_0066: ldfld Verse.ThingDef def
L_006b: callvirt Boolean get_CanOverlapZones()
L_0070: brtrue Label3
L_0075: ldstr "Added zone over zone-incompatible thing "
L_007a: ldloc.2
L_007b: call System.String Concat(System.Object, System.Object)
L_0080: ldc.i4.0
L_0081: call Void Error(System.String, Boolean)
L_0086: br Label6
L_008b: Label3
L_008b: ldloc.1
L_008c: ldc.i4.1
L_008d: add
L_008e: stloc.1
L_008f: Label2
L_008f: ldloc.1
L_0090: ldloc.0
L_0091: callvirt Int32 get_Count()
L_0096: blt Label4
L_009b: ldarg.0
L_009c: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_00a1: ldarg.1
L_00a2: callvirt Void Add(IntVec3)
L_00a7: ldarg.0
L_00a8: ldfld Verse.ZoneManager zoneManager
L_00ad: ldarg.0
L_00ae: ldarg.1
L_00af: callvirt Void AddZoneGridCell(Verse.Zone, IntVec3)
L_00b4: ldarg.0
L_00b5: call Verse.Map get_Map()
L_00ba: ldfld Verse.MapDrawer mapDrawer
L_00bf: ldarg.1
L_00c0: ldc.i4 128
L_00c5: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_00ca: ldarg.1
L_00cb: ldarg.0
L_00cc: call Void Notify_ZoneCellAdded(IntVec3, Verse.Zone)
L_00d1: ldarg.0
L_00d2: ldc.i4.0
L_00d3: stfld System.Boolean cellsShuffled
L_00d8: Label5
L_00d8: Label6
L_00d8: ldarga 0
L_00de: call Void Postfix(Verse.Zone ByRef)
L_00e3: ret
DONE
### Patch Verse.AI.AttackTargetFinder, IAttackTarget
BestAttackTarget(IAttackTargetSearcher, TargetScanFlags,
System.Predicate`1[Verse.Thing], Single, Single, IntVec3, Single, Boolean, Boolean)
L_0000: Local var 0: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey1
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.AI.IAttackTarget
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: Verse.AI.IAttackTarget
L_0000: Local var 8: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2
L_0000: Local var 10: Verse.AI.IAttackTarget
L_0000: Local var 11: Verse.IntVec3
L_0000: Local var 12: Verse.Map
L_0000: Local var 13: Verse.ThingRequest
L_0000: Local var 14: Verse.AI.PathEndMode
L_0000: Local var 15: Verse.Pawn
L_0000: Local var 16: Verse.Danger
L_0000: Local var 17: System.Boolean
L_0000: Local var 18: Verse.TraverseParms
L_0000: Local var 19: System.Single
L_0000: Local var 20: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 21: System.Int32
L_0000: Local var 22: Verse.AI.IAttackTarget
L_0000: Local var 23: System.Single
L_0000: Local var 24: System.Single
L_0000: Local var 25: Verse.IntVec3
L_0000: Local var 26: Verse.AI.IAttackTarget
L_0000: ldnull
L_0001: stloc 26 (Verse.AI.IAttackTarget)
L_0003: ldarg 0
L_0009: ldarga 2
L_000f: call Boolean Prefix(IAttackTargetSearcher, System.Predicate`1[Verse.Thing]
ByRef)
L_0014: brfalse Label0
L_0019: newobj Void .ctor()
L_001e: stloc.0
L_001f: ldloc.0
L_0020: ldarg.0
L_0021: stfld Verse.AI.IAttackTargetSearcher searcher
L_0026: ldloc.0
L_0027: ldarg.s 8
L_0029: stfld System.Boolean canTakeTargetsCloserThanEffectiveMinRange
L_002e: ldloc.0
L_002f: ldarg.s 6
L_0031: stfld System.Single maxTravelRadiusFromLocus
L_0036: ldloc.0
L_0037: ldarg.s 5
L_0039: stfld Verse.IntVec3 locus
L_003e: ldloc.0
L_003f: ldarg.2
L_0040: stfld System.Predicate`1[Verse.Thing] validator
L_0045: ldloc.0
L_0046: ldarg.1
L_0047: stfld Verse.AI.TargetScanFlags flags
L_004c: ldloc.0
L_004d: ldarg.s 7
L_004f: stfld System.Boolean canBash
L_0054: ldloc.0
L_0055: ldarg.s 4
L_0057: stfld System.Single maxDist
L_005c: ldloc.0
L_005d: ldloc.0
L_005e: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0063: callvirt Verse.Thing get_Thing()
L_0068: stfld Verse.Thing searcherThing
L_006d: ldloc.0
L_006e: ldloc.0
L_006f: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0074: isinst Verse.Pawn
L_0079: stfld Verse.Pawn searcherPawn
L_007e: ldloc.0
L_007f: ldloc.0
L_0080: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0085: callvirt Verse.Verb get_CurrentEffectiveVerb()
L_008a: stfld Verse.Verb verb
L_008f: ldloc.0
L_0090: ldfld Verse.Verb verb
L_0095: brtrue Label1
L_009a: ldstr "BestAttackTarget with "
L_009f: ldloc.0
L_00a0: ldfld Verse.AI.IAttackTargetSearcher searcher
L_00a5: call System.String ToStringSafe[IAttackTargetSearcher]
(IAttackTargetSearcher)
L_00aa: ldstr " who has no attack verb."
L_00af: call System.String Concat(System.String, System.String, System.String)
L_00b4: ldc.i4.0
L_00b5: call Void Error(System.String, Boolean)
L_00ba: ldnull
L_00bb: br Label26
L_00c0: Label1
L_00c0: ldloc.0
L_00c1: ldloc.0
L_00c2: ldfld Verse.Verb verb
L_00c7: call Boolean IsEMP(Verse.Verb)
L_00cc: stfld System.Boolean onlyTargetMachines
L_00d1: ldloc.0
L_00d2: ldarg.3
L_00d3: ldarg.3
L_00d4: mul
L_00d5: stfld System.Single minDistSquared
L_00da: ldloc.0
L_00db: ldfld System.Single maxTravelRadiusFromLocus
L_00e0: ldloc.0
L_00e1: ldfld Verse.Verb verb
L_00e6: ldfld Verse.VerbProperties verbProps
L_00eb: ldfld System.Single range
L_00f0: add
L_00f1: stloc.1
L_00f2: ldloc.0
L_00f3: ldloc.1
L_00f4: ldloc.1
L_00f5: mul
L_00f6: stfld System.Single maxLocusDistSquared
L_00fb: ldloc.0
L_00fc: ldnull
L_00fd: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0102: ldloc.0
L_0103: ldfld Verse.AI.TargetScanFlags flags
L_0108: ldc.i4.s 64
L_010a: and
L_010b: conv.u1
L_010c: brfalse Label2
L_0111: ldloc.0
L_0112: ldloc.0
L_0113: ldftn Boolean <>m__0(IntVec3)
L_0119: newobj Void .ctor(Object, IntPtr)
L_011e: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0123: Label2
L_0123: ldloc.0
L_0124: ldloc.0
L_0125: ldftn Boolean <>m__1(IAttackTarget)
L_012b: newobj Void .ctor(Object, IntPtr)
L_0130: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0135: ldloc.0
L_0136: ldfld Verse.AI.IAttackTargetSearcher searcher
L_013b: call Boolean HasRangedAttack(IAttackTargetSearcher)
L_0140: brfalse Label3
L_0145: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_014a: callvirt Void Clear()
L_014f: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0154: ldloc.0
L_0155: ldfld Verse.Thing searcherThing
L_015a: callvirt Verse.Map get_Map()
L_015f: ldfld Verse.AI.AttackTargetsCache attackTargetsCache
L_0164: ldloc.0
L_0165: ldfld Verse.AI.IAttackTargetSearcher searcher
L_016a: callvirt System.Collections.Generic.List`1[Verse.AI.IAttackTarget]
GetPotentialTargetsFor(IAttackTargetSearcher)
L_016f: callvirt Void AddRange(IEnumerable`1)
L_0174: ldloc.0
L_0175: ldfld Verse.AI.TargetScanFlags flags
L_017a: ldc.i4.4
L_017b: and
L_017c: conv.u1
L_017d: brfalse Label4
L_0182: newobj Void .ctor()
L_0187: stloc.2
L_0188: ldloc.2
L_0189: ldloc.0
L_018a: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_018f: ldloc.2
L_0190: ldloc.0
L_0191: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0196: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_019b: ldloc.0
L_019c: ldloc.2
L_019d: ldftn Boolean <>m__0(IAttackTarget)
L_01a3: newobj Void .ctor(Object, IntPtr)
L_01a8: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01ad: Label4
L_01ad: ldc.i4.0
L_01ae: stloc.3
L_01af: ldc.i4.0
L_01b0: stloc.s 4 (System.Int32)
L_01b2: br Label5
L_01b7: Label10
L_01b7: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_01bc: ldloc.s 4 (System.Int32)
L_01be: callvirt IAttackTarget get_Item(Int32)
L_01c3: stloc.s 5 (Verse.AI.IAttackTarget)
L_01c5: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01c7: callvirt Verse.Thing get_Thing()
L_01cc: callvirt IntVec3 get_Position()
L_01d1: stloc.s 6 (Verse.IntVec3)
L_01d3: ldloca.s 6 (Verse.IntVec3)
L_01d5: ldloc.0
L_01d6: ldfld Verse.Thing searcherThing
L_01db: callvirt IntVec3 get_Position()
L_01e0: ldloc.0
L_01e1: ldfld System.Single maxDist
L_01e6: call Boolean InHorDistOf(IntVec3, Single)
L_01eb: brfalse Label6
L_01f0: ldloc.0
L_01f1: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01f6: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01f8: callvirt Boolean Invoke(IAttackTarget)
L_01fd: brfalse Label7
L_0202: ldloc.s 5 (Verse.AI.IAttackTarget)
L_0204: ldloc.0
L_0205: ldfld Verse.AI.IAttackTargetSearcher searcher
L_020a: ldloc.0
L_020b: ldfld Verse.Verb verb
L_0210: call Boolean CanShootAtFromCurrentPosition(IAttackTarget,
IAttackTargetSearcher, Verse.Verb)
L_0215: brfalse Label8
L_021a: ldc.i4.1
L_021b: stloc.3
L_021c: br Label9
L_0221: Label6
L_0221: Label7
L_0221: Label8
L_0221: ldloc.s 4 (System.Int32)
L_0223: ldc.i4.1
L_0224: add
L_0225: stloc.s 4 (System.Int32)
L_0227: Label5
L_0227: ldloc.s 4 (System.Int32)
L_0229: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_022e: callvirt Int32 get_Count()
L_0233: blt Label10
L_0238: Label9
L_0238: ldloc.3
L_0239: brfalse Label11
L_023e: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0243: ldloc.0
L_0244: ldftn Boolean <>m__2(IAttackTarget)
L_024a: newobj Void .ctor(Object, IntPtr)
L_024f: callvirt Int32 RemoveAll(System.Predicate`1[Verse.AI.IAttackTarget])
L_0254: pop
L_0255: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_025a: ldloc.0
L_025b: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0260: ldloc.0
L_0261: ldfld Verse.Verb verb
L_0266: call IAttackTarget
GetRandomShootingTargetByScore(System.Collections.Generic.List`1[Verse.AI.IAttackTa
rget], IAttackTargetSearcher, Verse.Verb)
L_026b: stloc.s 7 (Verse.AI.IAttackTarget)
L_026d: br Label12
L_0272: Label11
L_0272: ldloc.0
L_0273: ldfld Verse.AI.TargetScanFlags flags
L_0278: ldc.i4.8
L_0279: and
L_027a: conv.u1
L_027b: brfalse Label13
L_0280: ldloc.0
L_0281: ldfld Verse.AI.TargetScanFlags flags
L_0286: ldc.i4.4
L_0287: and
L_0288: conv.u1
L_0289: brtrue Label14
L_028e: ldloc.0
L_028f: ldftn Boolean <>m__3(Verse.Thing)
L_0295: newobj Void .ctor(Object, IntPtr)
L_029a: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_029c: br Label15
L_02a1: Label13
L_02a1: Label14
L_02a1: ldloc.0
L_02a2: ldftn Boolean <>m__4(Verse.Thing)
L_02a8: newobj Void .ctor(Object, IntPtr)
L_02ad: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_02af: Label15
L_02af: ldloc.0
L_02b0: ldfld Verse.Thing searcherThing
L_02b5: callvirt IntVec3 get_Position()
L_02ba: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02bf: ldloc.0
L_02c0: ldfld System.Single maxDist
L_02c5: ldloc.s 8 (System.Predicate`1[Verse.Thing])
L_02c7: ldnull
L_02c8: call Verse.Thing ClosestThing_Global(IntVec3, IEnumerable, Single,
System.Predicate`1[Verse.Thing], System.Func`2[Verse.Thing,System.Single])
L_02cd: castclass Verse.AI.IAttackTarget
L_02d2: stloc.s 7 (Verse.AI.IAttackTarget)
L_02d4: Label12
L_02d4: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02d9: callvirt Void Clear()
L_02de: ldloc.s 7 (Verse.AI.IAttackTarget)
L_02e0: br Label27
L_02e5: Label3
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn searcherPawn
L_02eb: brfalse Label16
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn searcherPawn
L_02f6: ldfld Verse.AI.Pawn_MindState mindState
L_02fb: ldfld Verse.AI.PawnDuty duty
L_0300: brfalse Label17
L_0305: ldloc.0
L_0306: ldfld Verse.Pawn searcherPawn
L_030b: ldfld Verse.AI.Pawn_MindState mindState
L_0310: ldfld Verse.AI.PawnDuty duty
L_0315: ldfld System.Single radius
L_031a: ldc.r4 0
L_031f: ble.un Label18
L_0324: ldloc.0
L_0325: ldfld Verse.Pawn searcherPawn
L_032a: callvirt Boolean get_InMentalState()
L_032f: brtrue Label19
L_0334: newobj Void .ctor()
L_0339: stloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033b: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033d: ldloc.0
L_033e: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_0343: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0345: ldloc.0
L_0346: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_034b: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_0350: ldloc.0
L_0351: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0353: ldftn Boolean <>m__0(IAttackTarget)
L_0359: newobj Void .ctor(Object, IntPtr)
L_035e: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0363: Label16
L_0363: Label17
L_0363: Label18
L_0363: Label19
L_0363: ldloc.0
L_0364: ldfld Verse.Thing searcherThing
L_0369: callvirt IntVec3 get_Position()
L_036e: stloc.s 11 (Verse.IntVec3)
L_0370: ldloc.0
L_0371: ldfld Verse.Thing searcherThing
L_0376: callvirt Verse.Map get_Map()
L_037b: stloc.s 12 (Verse.Map)
L_037d: ldc.i4.s 15
L_037f: call ThingRequest ForGroup(ThingRequestGroup)
L_0384: stloc.s 13 (Verse.ThingRequest)
L_0386: ldc.i4.2
L_0387: stloc.s 14 (Verse.AI.PathEndMode)
L_0389: ldloc.0
L_038a: ldfld Verse.Pawn searcherPawn
L_038f: stloc.s 15 (Verse.Pawn)
L_0391: ldc.i4.3
L_0392: stloc.s 16 (Verse.Danger)
L_0394: ldloc.0
L_0395: ldfld System.Boolean canBash
L_039a: stloc.s 17 (System.Boolean)
L_039c: ldloc.s 15 (Verse.Pawn)
L_039e: ldloc.s 16 (Verse.Danger)
L_03a0: ldc.i4.0
L_03a1: ldloc.s 17 (System.Boolean)
L_03a3: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_03a8: stloc.s 18 (Verse.TraverseParms)
L_03aa: ldloc.0
L_03ab: ldfld System.Single maxDist
L_03b0: stloc.s 19 (System.Single)
L_03b2: ldloc.0
L_03b3: ldftn Boolean <>m__5(Verse.Thing)
L_03b9: newobj Void .ctor(Object, IntPtr)
L_03be: stloc.s 20 (System.Predicate`1[Verse.Thing])
L_03c0: ldloc.0
L_03c1: ldfld System.Single maxDist
L_03c6: ldc.r4 800
L_03cb: ble.un Label20
L_03d0: ldc.i4.m1
L_03d1: br Label21
L_03d6: Label20
L_03d6: ldc.i4.s 40
L_03d8: Label21
L_03d8: stloc.s 21 (System.Int32)
L_03da: ldloc.s 11 (Verse.IntVec3)
L_03dc: ldloc.s 12 (Verse.Map)
L_03de: ldloc.s 13 (Verse.ThingRequest)
L_03e0: ldloc.s 14 (Verse.AI.PathEndMode)
L_03e2: ldloc.s 18 (Verse.TraverseParms)
L_03e4: ldloc.s 19 (System.Single)
L_03e6: ldloc.s 20 (System.Predicate`1[Verse.Thing])
L_03e8: ldnull
L_03e9: ldc.i4.0
L_03ea: ldloc.s 21 (System.Int32)
L_03ec: ldc.i4.0
L_03ed: ldc.i4.6
L_03ee: ldc.i4.0
L_03ef: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_03f4: castclass Verse.AI.IAttackTarget
L_03f9: stloc.s 10 (Verse.AI.IAttackTarget)
L_03fb: ldloc.s 10 (Verse.AI.IAttackTarget)
L_03fd: brfalse Label22
L_0402: ldloc.0
L_0403: ldfld Verse.Pawn searcherPawn
L_0408: call Boolean ShouldCollideWithPawns(Verse.Pawn)
L_040d: brfalse Label23
L_0412: ldloc.0
L_0413: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0418: ldloc.0
L_0419: ldfld Verse.Pawn searcherPawn
L_041e: ldloc.0
L_041f: ldfld System.Single maxDist
L_0424: ldloc.0
L_0425: ldfld System.Boolean canBash
L_042a: call IAttackTarget
FindBestReachableMeleeTarget(System.Predicate`1[Verse.AI.IAttackTarget],
Verse.Pawn, Single, Boolean)
L_042f: stloc.s 22 (Verse.AI.IAttackTarget)
L_0431: ldloc.s 22 (Verse.AI.IAttackTarget)
L_0433: brfalse Label24
L_0438: ldloc.0
L_0439: ldfld Verse.Pawn searcherPawn
L_043e: callvirt IntVec3 get_Position()
L_0443: ldloc.s 10 (Verse.AI.IAttackTarget)
L_0445: callvirt Verse.Thing get_Thing()
L_044a: callvirt IntVec3 get_Position()
L_044f: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_0454: stloc.s 11 (Verse.IntVec3)
L_0456: ldloca.s 11 (Verse.IntVec3)
L_0458: call Single get_LengthHorizontal()
L_045d: stloc.s 23 (System.Single)
L_045f: ldloc.0
L_0460: ldfld Verse.Pawn searcherPawn
L_0465: callvirt IntVec3 get_Position()
L_046a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_046c: callvirt Verse.Thing get_Thing()
L_0471: callvirt IntVec3 get_Position()
L_0476: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_047b: stloc.s 25 (Verse.IntVec3)
L_047d: ldloca.s 25 (Verse.IntVec3)
L_047f: call Single get_LengthHorizontal()
L_0484: stloc.s 24 (System.Single)
L_0486: ldloc.s 23 (System.Single)
L_0488: ldloc.s 24 (System.Single)
L_048a: sub
L_048b: call Single Abs(Single)
L_0490: ldc.r4 50
L_0495: bge.un Label25
L_049a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_049c: stloc.s 10 (Verse.AI.IAttackTarget)
L_049e: Label22
L_049e: Label23
L_049e: Label24
L_049e: Label25
L_049e: ldloc.s 10 (Verse.AI.IAttackTarget)
L_04a0: Label26
L_04a0: Label27
L_04a0: stloc 26 (Verse.AI.IAttackTarget)
L_04a2: Label0
L_04a2: ldloc 26 (Verse.AI.IAttackTarget)
L_04a4: ret
DONE

### Patch RimWorld.Pawn_DraftController, IEnumerable`1 GetGizmos()


L_0000: Local var 0: RimWorld.Pawn_DraftController+<GetGizmos>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Gizmo,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld RimWorld.Pawn_DraftController $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, RimWorld.Pawn_DraftController ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0027: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ldarg.0
L_019a: ldarg 1
L_01a0: call Void Postfix(RimWorld.Pawn_DraftController, Boolean)
L_01a5: ret
DONE

### Patch Verse.Pawn, Void Kill(Nullable`1, Verse.Hediff)


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: Verse.Map
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.Planet.Caravan
L_0000: Local var 7: RimWorld.Building_Grave
L_0000: Local var 8: System.Boolean
L_0000: Local var 9: System.Single
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.ThingOwner
L_0000: Local var 12: System.Boolean
L_0000: Local var 13: System.Boolean
L_0000: Local var 14: System.Boolean
L_0000: Local var 15: System.Boolean
L_0000: Local var 16: Verse.DamageInfo
L_0000: Local var 17: System.Single
L_0000: Local var 18: Verse.Thing
L_0000: Local var 19: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 20: Verse.DamageInfo
L_0000: Local var 21: Verse.DamageInfo
L_0000: Local var 22: Verse.Pawn
L_0000: Local var 23: Verse.DamageInfo
L_0000: Local var 24: Verse.DamageInfo
L_0000: Local var 25: Verse.DamageInfo
L_0000: Local var 26: Verse.Pawn_CarryTracker
L_0000: Local var 27: Verse.Thing
L_0000: Local var 28: Verse.AI.Group.Lord
L_0000: Local var 29: Verse.Corpse
L_0000: Local var 30: Verse.DamageInfo
L_0000: Local var 31: Verse.DamageInfo
L_0000: Local var 32: Verse.Hediff
L_0000: Local var 33: RimWorld.CompRottable
L_0000: Local var 34: System.Int32
L_0000: ldarg.0
L_0001: call IntVec3 get_PositionHeld()
L_0006: stloc.0
L_0007: ldarg.0
L_0008: call Verse.Map get_Map()
L_000d: stloc.1
L_000e: ldarg.0
L_000f: call Verse.Map get_MapHeld()
L_0014: stloc.2
L_0015: ldarg.0
L_0016: call Boolean get_Spawned()
L_001b: stloc.3
L_001c: ldarg.0
L_001d: call Boolean get_SpawnedOrAnyParentSpawned()
L_0022: stloc.s 4 (System.Boolean)
L_0024: ldarg.0
L_0025: call Boolean IsWorldPawn(Verse.Pawn)
L_002a: stloc.s 5 (System.Boolean)
L_002c: ldarg.0
L_002d: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_0032: stloc.s 6 (RimWorld.Planet.Caravan)
L_0034: ldnull
L_0035: stloc.s 7 (RimWorld.Building_Grave)
L_0037: ldarg.0
L_0038: ldfld RimWorld.Pawn_Ownership ownership
L_003d: brfalse Label1
L_0042: ldarg.0
L_0043: ldfld RimWorld.Pawn_Ownership ownership
L_0048: callvirt RimWorld.Building_Grave get_AssignedGrave()
L_004d: stloc.s 7 (RimWorld.Building_Grave)
L_004f: Label1
L_004f: ldarg.0
L_0050: call Boolean InBed(Verse.Pawn)
L_0055: stloc.s 8 (System.Boolean)
L_0057: ldc.r4 0
L_005c: stloc.s 9 (System.Single)
L_005e: ldloc.s 8 (System.Boolean)
L_0060: brfalse Label2
L_0065: ldarg.0
L_0066: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006b: callvirt Rot4 get_Rotation()
L_0070: stloc.s 10 (Verse.Rot4)
L_0072: ldloca.s 10 (Verse.Rot4)
L_0074: call Single get_AsAngle()
L_0079: stloc.s 9 (System.Single)
L_007b: Label2
L_007b: ldnull
L_007c: stloc.s 11 (Verse.ThingOwner)
L_007e: ldarg.0
L_007f: call Boolean get_InContainerEnclosed()
L_0084: stloc.s 12 (System.Boolean)
L_0086: ldloc.s 12 (System.Boolean)
L_0088: brfalse Label3
L_008d: ldarg.0
L_008e: ldfld Verse.ThingOwner holdingOwner
L_0093: stloc.s 11 (Verse.ThingOwner)
L_0095: ldloc.s 11 (Verse.ThingOwner)
L_0097: ldarg.0
L_0098: callvirt Boolean Remove(Verse.Thing)
L_009d: pop
L_009e: Label3
L_009e: ldc.i4.0
L_009f: stloc.s 13 (System.Boolean)
L_00a1: ldc.i4.0
L_00a2: stloc.s 14 (System.Boolean)
L_00a4: call ProgramState get_ProgramState()
L_00a9: ldc.i4.2
L_00aa: bne.un Label4
L_00af: ldloc.1
L_00b0: brfalse Label5
L_00b5: ldloc.1
L_00b6: ldfld Verse.DesignationManager designationManager
L_00bb: ldarg.0
L_00bc: ldsfld Verse.DesignationDef Hunt
L_00c1: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00c6: ldnull
L_00c7: ceq
L_00c9: ldc.i4.0
L_00ca: ceq
L_00cc: stloc.s 13 (System.Boolean)
L_00ce: ldloc.1
L_00cf: ldfld Verse.DesignationManager designationManager
L_00d4: ldarg.0
L_00d5: ldsfld Verse.DesignationDef Slaughter
L_00da: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00df: ldnull
L_00e0: ceq
L_00e2: ldc.i4.0
L_00e3: ceq
L_00e5: stloc.s 14 (System.Boolean)
L_00e7: Label4
L_00e7: Label5
L_00e7: ldarg.0
L_00e8: call Boolean ShouldSendNotificationAbout(Verse.Pawn)
L_00ed: brfalse Label6
L_00f2: ldloc.s 14 (System.Boolean)
L_00f4: brfalse Label7
L_00f9: ldarga.s 1
L_00fb: call Boolean get_HasValue()
L_0100: brfalse Label8
L_0105: ldarga.s 1
L_0107: call DamageInfo get_Value()
L_010c: stloc.s 16 (Verse.DamageInfo)
L_010e: ldloca.s 16 (Verse.DamageInfo)
L_0110: call Verse.DamageDef get_Def()
L_0115: ldsfld Verse.DamageDef ExecutionCut
L_011a: ceq
L_011c: br Label9
L_0121: Label7
L_0121: Label8
L_0121: ldc.i4.0
L_0122: Label9
L_0122: ldc.i4.0
L_0123: ceq
L_0125: br Label10
L_012a: Label6
L_012a: ldc.i4.0
L_012b: Label10
L_012b: stloc.s 15 (System.Boolean)
L_012d: ldc.r4 0
L_0132: stloc.s 17 (System.Single)
L_0134: ldarg.0
L_0135: ldsfld Verse.ThingDef Fire
L_013a: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_013f: stloc.s 18 (Verse.Thing)
L_0141: ldloc.s 18 (Verse.Thing)
L_0143: brfalse Label11
L_0148: ldloc.s 18 (Verse.Thing)
L_014a: castclass RimWorld.Fire
L_014f: callvirt Single CurrentSize()
L_0154: stloc.s 17 (System.Single)
L_0156: Label11
L_0156: ldarg.0
L_0157: ldarg.1
L_0158: ldc.i4.0
L_0159: call Void TryGiveThoughts(Verse.Pawn, Nullable`1,
PawnDiedOrDownedThoughtsKind)
L_015e: call ProgramState get_ProgramState()
L_0163: ldc.i4.2
L_0164: bne.un Label12
L_0169: call RimWorld.Storyteller get_Storyteller()
L_016e: ldarg.0
L_016f: ldc.i4.1
L_0170: ldloca.s 19 (System.Nullable`1[Verse.DamageInfo])
L_0172: initobj System.Nullable`1[Verse.DamageInfo]
L_0178: ldloc.s 19 (System.Nullable`1[Verse.DamageInfo])
L_017a: callvirt Void Notify_PawnEvent(Verse.Pawn, AdaptationEvent, Nullable`1)
L_017f: Label12
L_017f: ldarg.0
L_0180: call Boolean get_IsColonist()
L_0185: brfalse Label13
L_018a: call RimWorld.StoryWatcher get_StoryWatcher()
L_018f: ldfld RimWorld.StatsRecord statsRecord
L_0194: callvirt Void Notify_ColonistKilled()
L_0199: Label13
L_0199: ldloc.3
L_019a: brfalse Label14
L_019f: ldarga.s 1
L_01a1: call Boolean get_HasValue()
L_01a6: brfalse Label15
L_01ab: ldarga.s 1
L_01ad: call DamageInfo get_Value()
L_01b2: stloc.s 20 (Verse.DamageInfo)
L_01b4: ldloca.s 20 (Verse.DamageInfo)
L_01b6: call Verse.DamageDef get_Def()
L_01bb: ldarg.0
L_01bc: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_01c1: brfalse Label16
L_01c6: ldarg.0
L_01c7: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01cc: brtrue Label17
L_01d1: ldnull
L_01d2: ldftn Verse.SoundDef <Kill>m__8(Verse.LifeStageAge)
L_01d8: newobj Void .ctor(Object, IntPtr)
L_01dd: stsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e2: Label17
L_01e2: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e7: ldc.r4 1
L_01ec: call Void PlayNearestLifestageSound(Verse.Pawn,
System.Func`2[Verse.LifeStageAge,Verse.SoundDef], Single)
L_01f1: Label14
L_01f1: Label15
L_01f1: Label16
L_01f1: ldarga.s 1
L_01f3: call Boolean get_HasValue()
L_01f8: brfalse Label18
L_01fd: ldarga.s 1
L_01ff: call DamageInfo get_Value()
L_0204: stloc.s 21 (Verse.DamageInfo)
L_0206: ldloca.s 21 (Verse.DamageInfo)
L_0208: call Verse.Thing get_Instigator()
L_020d: brfalse Label19
L_0212: ldarga.s 1
L_0214: call DamageInfo get_Value()
L_0219: stloc.s 23 (Verse.DamageInfo)
L_021b: ldloca.s 23 (Verse.DamageInfo)
L_021d: call Verse.Thing get_Instigator()
L_0222: isinst Verse.Pawn
L_0227: stloc.s 22 (Verse.Pawn)
L_0229: ldloc.s 22 (Verse.Pawn)
L_022b: brfalse Label20
L_0230: ldarg.0
L_0231: ldloc.s 22 (Verse.Pawn)
L_0233: call Void Notify_PawnKilled(Verse.Pawn, Verse.Pawn)
L_0238: ldarg.0
L_0239: call Boolean get_IsColonist()
L_023e: brfalse Label21
L_0243: ldloc.s 22 (Verse.Pawn)
L_0245: ldfld RimWorld.Pawn_RecordsTracker records
L_024a: ldsfld RimWorld.StoryEventDef KilledPlayer
L_024f: callvirt Void AccumulateStoryEvent(RimWorld.StoryEventDef)
L_0254: Label18
L_0254: Label19
L_0254: Label20
L_0254: Label21
L_0254: ldarg.0
L_0255: ldarg.1
L_0256: call Void Notify_PawnDied(Verse.Pawn, Nullable`1)
L_025b: ldloc.3
L_025c: brfalse Label22
L_0261: call Verse.BattleLog get_BattleLog()
L_0266: ldarg.0
L_0267: ldarg.0
L_0268: call Verse.RaceProperties get_RaceProps()
L_026d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0272: callvirt Verse.RulePackDef get_DeathRules()
L_0277: ldarga.s 1
L_0279: call Boolean get_HasValue()
L_027e: brfalse Label23
L_0283: ldarga.s 1
L_0285: call DamageInfo get_Value()
L_028a: stloc.s 24 (Verse.DamageInfo)
L_028c: ldloca.s 24 (Verse.DamageInfo)
L_028e: call Verse.Thing get_Instigator()
L_0293: isinst Verse.Pawn
L_0298: br Label24
L_029d: Label23
L_029d: ldnull
L_029e: Label24
L_029e: ldarg.2
L_029f: ldarga.s 1
L_02a1: call Boolean get_HasValue()
L_02a6: brfalse Label25
L_02ab: ldarga.s 1
L_02ad: call DamageInfo get_Value()
L_02b2: stloc.s 25 (Verse.DamageInfo)
L_02b4: ldloca.s 25 (Verse.DamageInfo)
L_02b6: call Verse.BodyPartRecord get_HitPart()
L_02bb: br Label26
L_02c0: Label25
L_02c0: ldnull
L_02c1: Label26
L_02c1: newobj Void .ctor(Thing, RulePackDef, Pawn, Hediff, BodyPartRecord)
L_02c6: callvirt Void Add(Verse.LogEntry)
L_02cb: Label22
L_02cb: ldarg.0
L_02cc: ldfld Verse.Pawn_HealthTracker health
L_02d1: ldfld RimWorld.BillStack surgeryBills
L_02d6: callvirt Void Clear()
L_02db: ldarg.0
L_02dc: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02e1: brfalse Label27
L_02e6: ldarg.0
L_02e7: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02ec: ldarg.1
L_02ed: callvirt Void Notify_PawnKilled(Nullable`1)
L_02f2: Label27
L_02f2: ldarg.0
L_02f3: call Verse.RaceProperties get_RaceProps()
L_02f8: callvirt Boolean get_IsFlesh()
L_02fd: brfalse Label28
L_0302: ldarg.0
L_0303: ldfld RimWorld.Pawn_RelationsTracker relations
L_0308: ldarg.1
L_0309: ldloc.1
L_030a: callvirt Void Notify_PawnKilled(Nullable`1, Verse.Map)
L_030f: Label28
L_030f: ldarg.0
L_0310: ldfld RimWorld.Pawn_MeleeVerbs meleeVerbs
L_0315: callvirt Void Notify_PawnKilled()
L_031a: ldarg.0
L_031b: call IThingHolder get_ParentHolder()
L_0320: isinst Verse.Pawn_CarryTracker
L_0325: stloc.s 26 (Verse.Pawn_CarryTracker)
L_0327: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0329: brfalse Label29
L_032e: ldarg.0
L_032f: ldfld Verse.ThingOwner holdingOwner
L_0334: ldarg.0
L_0335: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0337: ldfld Verse.Pawn pawn
L_033c: callvirt IntVec3 get_Position()
L_0341: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0343: ldfld Verse.Pawn pawn
L_0348: callvirt Verse.Map get_Map()
L_034d: ldc.i4.1
L_034e: ldloca.s 27 (Verse.Thing)
L_0350: ldnull
L_0351: ldnull
L_0352: callvirt Boolean TryDrop(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
Verse.Thing ByRef, System.Action`2[Verse.Thing,System.Int32],
System.Predicate`1[Verse.IntVec3])
L_0357: brfalse Label30
L_035c: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_035e: ldfld Verse.Pawn pawn
L_0363: callvirt Verse.Map get_Map()
L_0368: stloc.1
L_0369: ldc.i4.1
L_036a: stloc.3
L_036b: Label29
L_036b: Label30
L_036b: ldarg.0
L_036c: ldfld Verse.Pawn_HealthTracker health
L_0371: callvirt Void SetDead()
L_0376: ldarg.0
L_0377: ldfld Verse.Pawn_HealthTracker health
L_037c: ldfld Verse.Effecter deflectionEffecter
L_0381: brfalse Label31
L_0386: ldarg.0
L_0387: ldfld Verse.Pawn_HealthTracker health
L_038c: ldfld Verse.Effecter deflectionEffecter
L_0391: callvirt Void Cleanup()
L_0396: ldarg.0
L_0397: ldfld Verse.Pawn_HealthTracker health
L_039c: ldnull
L_039d: stfld Verse.Effecter deflectionEffecter
L_03a2: Label31
L_03a2: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03a4: brfalse Label32
L_03a9: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03ab: ldarg.0
L_03ac: callvirt Void Notify_MemberDied(Verse.Pawn)
L_03b1: Label32
L_03b1: ldarg.0
L_03b2: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_03b7: stloc.s 28 (Verse.AI.Group.Lord)
L_03b9: ldloc.s 28 (Verse.AI.Group.Lord)
L_03bb: brfalse Label33
L_03c0: ldloc.s 28 (Verse.AI.Group.Lord)
L_03c2: ldarg.0
L_03c3: ldc.i4.2
L_03c4: ldarg.1
L_03c5: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_03ca: Label33
L_03ca: ldloc.3
L_03cb: brfalse Label34
L_03d0: ldarg.0
L_03d1: ldc.i4.0
L_03d2: call Void DropAndForbidEverything(Boolean)
L_03d7: Label34
L_03d7: ldloc.3
L_03d8: brfalse Label35
L_03dd: ldarg.0
L_03de: ldc.i4.0
L_03df: callvirt Void DeSpawn(DestroyMode)
L_03e4: Label35
L_03e4: ldnull
L_03e5: stloc.s 29 (Verse.Corpse)
L_03e7: ldarg.0
L_03e8: call Boolean IsBeingGenerated(Verse.Pawn)
L_03ed: brtrue Label36
L_03f2: ldloc.s 12 (System.Boolean)
L_03f4: brfalse Label37
L_03f9: ldarg.0
L_03fa: ldloc.s 7 (RimWorld.Building_Grave)
L_03fc: ldloc.s 8 (System.Boolean)
L_03fe: ldloc.s 9 (System.Single)
L_0400: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0405: stloc.s 29 (Verse.Corpse)
L_0407: ldloc.s 11 (Verse.ThingOwner)
L_0409: ldloc.s 29 (Verse.Corpse)
L_040b: ldc.i4.1
L_040c: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0411: brtrue Label38
L_0416: ldloc.s 29 (Verse.Corpse)
L_0418: ldc.i4.0
L_0419: callvirt Void Destroy(DestroyMode)
L_041e: ldnull
L_041f: stloc.s 29 (Verse.Corpse)
L_0421: Label38
L_0421: br Label39
L_0426: Label37
L_0426: ldloc.s 4 (System.Boolean)
L_0428: brfalse Label40
L_042d: ldarg.0
L_042e: ldfld Verse.ThingOwner holdingOwner
L_0433: brfalse Label41
L_0438: ldarg.0
L_0439: ldfld Verse.ThingOwner holdingOwner
L_043e: ldarg.0
L_043f: callvirt Boolean Remove(Verse.Thing)
L_0444: pop
L_0445: Label41
L_0445: ldarg.0
L_0446: ldloc.s 7 (RimWorld.Building_Grave)
L_0448: ldloc.s 8 (System.Boolean)
L_044a: ldloc.s 9 (System.Single)
L_044c: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0451: stloc.s 29 (Verse.Corpse)
L_0453: ldloc.s 29 (Verse.Corpse)
L_0455: ldloc.0
L_0456: ldloc.2
L_0457: ldc.i4.0
L_0458: ldnull
L_0459: ldnull
L_045a: call Boolean TryPlaceThing(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
System.Action`2[Verse.Thing,System.Int32], System.Predicate`1[Verse.IntVec3])
L_045f: brfalse Label42
L_0464: ldloc.s 29 (Verse.Corpse)
L_0466: ldarg.0
L_0467: call Rot4 get_Rotation()
L_046c: callvirt Void set_Rotation(Rot4)
L_0471: ldarg.0
L_0472: ldarg.1
L_0473: call Boolean WasKilledByHunter(Verse.Pawn, Nullable`1)
L_0478: brfalse Label43
L_047d: ldarga.s 1
L_047f: call DamageInfo get_Value()
L_0484: stloc.s 30 (Verse.DamageInfo)
L_0486: ldloca.s 30 (Verse.DamageInfo)
L_0488: call Verse.Thing get_Instigator()
L_048d: castclass Verse.Pawn
L_0492: ldloc.s 29 (Verse.Corpse)
L_0494: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0499: ldarga.s 1
L_049b: call DamageInfo get_Value()
L_04a0: stloc.s 31 (Verse.DamageInfo)
L_04a2: ldloca.s 31 (Verse.DamageInfo)
L_04a4: call Verse.Thing get_Instigator()
L_04a9: castclass Verse.Pawn
L_04ae: callvirt Verse.AI.Job get_CurJob()
L_04b3: ldc.i4.1
L_04b4: ldc.i4.m1
L_04b5: ldnull
L_04b6: ldc.i4.1
L_04b7: call Boolean Reserve(Verse.Pawn, LocalTargetInfo, Verse.AI.Job, Int32,
Int32, Verse.ReservationLayerDef, Boolean)
L_04bc: pop
L_04bd: br Label44
L_04c2: Label43
L_04c2: ldloc.s 13 (System.Boolean)
L_04c4: brtrue Label45
L_04c9: ldloc.s 14 (System.Boolean)
L_04cb: brtrue Label46
L_04d0: ldloc.s 29 (Verse.Corpse)
L_04d2: call Void SetForbiddenIfOutsideHomeArea(Verse.Thing)
L_04d7: Label44
L_04d7: Label45
L_04d7: Label46
L_04d7: ldloc.s 17 (System.Single)
L_04d9: ldc.r4 0
L_04de: ble.un Label47
L_04e3: ldloc.s 29 (Verse.Corpse)
L_04e5: callvirt IntVec3 get_Position()
L_04ea: ldloc.s 29 (Verse.Corpse)
L_04ec: callvirt Verse.Map get_Map()
L_04f1: ldloc.s 17 (System.Single)
L_04f3: call Boolean TryStartFireIn(IntVec3, Verse.Map, Single)
L_04f8: pop
L_04f9: Label47
L_04f9: br Label48
L_04fe: Label42
L_04fe: ldloc.s 29 (Verse.Corpse)
L_0500: ldc.i4.0
L_0501: callvirt Void Destroy(DestroyMode)
L_0506: ldnull
L_0507: stloc.s 29 (Verse.Corpse)
L_0509: Label48
L_0509: br Label49
L_050e: Label40
L_050e: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0510: brfalse Label50
L_0515: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0517: callvirt Boolean get_Spawned()
L_051c: brfalse Label51
L_0521: ldarg.0
L_0522: ldloc.s 7 (RimWorld.Building_Grave)
L_0524: ldloc.s 8 (System.Boolean)
L_0526: ldloc.s 9 (System.Single)
L_0528: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_052d: stloc.s 29 (Verse.Corpse)
L_052f: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0531: ldloc.s 29 (Verse.Corpse)
L_0533: ldc.i4.1
L_0534: callvirt Void AddPawnOrItem(Verse.Thing, Boolean)
L_0539: br Label52
L_053e: Label50
L_053e: Label51
L_053e: ldarg.0
L_053f: ldfld Verse.ThingOwner holdingOwner
L_0544: brtrue Label53
L_0549: ldarg.0
L_054a: call Boolean IsWorldPawn(Verse.Pawn)
L_054f: brfalse Label54
L_0554: Label53
L_0554: ldarg.0
L_0555: call Void PostCorpseDestroy(Verse.Pawn)
L_055a: br Label55
L_055f: Label54
L_055f: ldarg.0
L_0560: ldloc.s 7 (RimWorld.Building_Grave)
L_0562: ldloc.s 8 (System.Boolean)
L_0564: ldloc.s 9 (System.Single)
L_0566: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_056b: stloc.s 29 (Verse.Corpse)
L_056d: Label36
L_056d: Label39
L_056d: Label49
L_056d: Label52
L_056d: Label55
L_056d: ldloc.s 29 (Verse.Corpse)
L_056f: brfalse Label56
L_0574: ldarg.0
L_0575: ldfld Verse.Pawn_HealthTracker health
L_057a: ldfld Verse.HediffSet hediffSet
L_057f: ldsfld Verse.HediffDef ToxicBuildup
L_0584: ldc.i4.0
L_0585: callvirt Verse.Hediff GetFirstHediffOfDef(Verse.HediffDef, Boolean)
L_058a: stloc.s 32 (Verse.Hediff)
L_058c: ldloc.s 29 (Verse.Corpse)
L_058e: callvirt RimWorld.CompRottable GetComp[CompRottable]()
L_0593: stloc.s 33 (RimWorld.CompRottable)
L_0595: ldloc.s 32 (Verse.Hediff)
L_0597: brfalse Label57
L_059c: call Single get_Value()
L_05a1: ldloc.s 32 (Verse.Hediff)
L_05a3: callvirt Single get_Severity()
L_05a8: bge.un Label58
L_05ad: ldloc.s 33 (RimWorld.CompRottable)
L_05af: brfalse Label59
L_05b4: ldloc.s 33 (RimWorld.CompRottable)
L_05b6: callvirt Void RotImmediately()
L_05bb: Label56
L_05bb: Label57
L_05bb: Label58
L_05bb: Label59
L_05bb: ldarg.0
L_05bc: call Boolean get_Destroyed()
L_05c1: brtrue Label60
L_05c6: ldarg.0
L_05c7: ldc.i4.2
L_05c8: callvirt Void Destroy(DestroyMode)
L_05cd: Label60
L_05cd: ldarg.0
L_05ce: call Void RemoveComponentsOnKilled(Verse.Pawn)
L_05d3: ldarg.0
L_05d4: ldfld Verse.Pawn_HealthTracker health
L_05d9: ldfld Verse.HediffSet hediffSet
L_05de: callvirt Void DirtyCache()
L_05e3: ldarg.0
L_05e4: call Void SetDirty(Verse.Pawn)
L_05e9: ldc.i4.0
L_05ea: stloc.s 34 (System.Int32)
L_05ec: br Label61
L_05f1: Label62
L_05f1: ldarg.0
L_05f2: ldfld Verse.Pawn_HealthTracker health
L_05f7: ldfld Verse.HediffSet hediffSet
L_05fc: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0601: ldloc.s 34 (System.Int32)
L_0603: callvirt Verse.Hediff get_Item(Int32)
L_0608: callvirt Void Notify_PawnDied()
L_060d: ldloc.s 34 (System.Int32)
L_060f: ldc.i4.1
L_0610: add
L_0611: stloc.s 34 (System.Int32)
L_0613: Label61
L_0613: ldloc.s 34 (System.Int32)
L_0615: ldarg.0
L_0616: ldfld Verse.Pawn_HealthTracker health
L_061b: ldfld Verse.HediffSet hediffSet
L_0620: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0625: callvirt Int32 get_Count()
L_062a: blt Label62
L_062f: ldarg.0
L_0630: call RimWorld.Faction get_Faction()
L_0635: brfalse Label63
L_063a: ldarg.0
L_063b: call RimWorld.Faction get_Faction()
L_0640: ldarg.0
L_0641: ldarg.1
L_0642: ldloc.s 5 (System.Boolean)
L_0644: ldloc.2
L_0645: callvirt Void Notify_MemberDied(Verse.Pawn, Nullable`1, Boolean, Verse.Map)
L_064a: Label63
L_064a: ldloc.s 29 (Verse.Corpse)
L_064c: brfalse Label64
L_0651: ldarg.0
L_0652: call Verse.RaceProperties get_RaceProps()
L_0657: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_065c: brfalse Label65
L_0661: ldloc.3
L_0662: brfalse Label66
L_0667: ldarg.0
L_0668: call Verse.RaceProperties get_RaceProps()
L_066d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0672: ldloc.s 29 (Verse.Corpse)
L_0674: callvirt Void PawnDied(Verse.Corpse)
L_0679: Label65
L_0679: Label66
L_0679: call RimWorld.Scenario get_Scenario()
L_067e: brfalse Label67
L_0683: call RimWorld.Scenario get_Scenario()
L_0688: ldloc.s 29 (Verse.Corpse)
L_068a: callvirt Void Notify_PawnDied(Verse.Corpse)
L_068f: Label64
L_068f: Label67
L_068f: ldarg.0
L_0690: call RimWorld.Faction get_Faction()
L_0695: brfalse Label68
L_069a: ldarg.0
L_069b: call RimWorld.Faction get_Faction()
L_06a0: callvirt Boolean get_IsPlayer()
L_06a5: brfalse Label69
L_06aa: ldarg.0
L_06ab: call Void Notify_ColonistUnavailable(Verse.Pawn)
L_06b0: Label68
L_06b0: Label69
L_06b0: ldloc.s 4 (System.Boolean)
L_06b2: brfalse Label70
L_06b7: ldarg.0
L_06b8: ldloc.2
L_06b9: call Void Notify_PawnLostForTutor(Verse.Pawn, Verse.Map)
L_06be: Label70
L_06be: ldarg.0
L_06bf: call RimWorld.Faction get_Faction()
L_06c4: brfalse Label71
L_06c9: ldarg.0
L_06ca: call RimWorld.Faction get_Faction()
L_06cf: callvirt Boolean get_IsPlayer()
L_06d4: brfalse Label72
L_06d9: call ProgramState get_ProgramState()
L_06de: ldc.i4.2
L_06df: bne.un Label73
L_06e4: call RimWorld.ColonistBar get_ColonistBar()
L_06e9: callvirt Void MarkColonistsDirty()
L_06ee: Label71
L_06ee: Label72
L_06ee: Label73
L_06ee: ldloc.s 15 (System.Boolean)
L_06f0: brfalse Label74
L_06f5: ldarg.0
L_06f6: ldfld Verse.Pawn_HealthTracker health
L_06fb: ldarg.1
L_06fc: ldarg.2
L_06fd: ldloc.s 6 (RimWorld.Planet.Caravan)
L_06ff: callvirt Void NotifyPlayerOfKilled(Nullable`1, Verse.Hediff,
RimWorld.Planet.Caravan)
L_0704: Label74
L_0704: ldarg.0
L_0705: call Void Postfix(Verse.Pawn)
L_070a: ldarga 0
L_0710: call Void Postfix(Verse.Pawn ByRef)
L_0715: ret
DONE

### Patch RimWorld.Targeter, Void TargeterUpdate()


L_0000: Local var 0: Verse.LocalTargetInfo
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Single
L_0000: Local var 3: Verse.ShootLine
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: ldarg.0
L_0001: ldfld Verse.Verb targetingVerb
L_0006: brfalse Label1
L_000b: ldarg.0
L_000c: ldfld Verse.Verb targetingVerb
L_0011: ldfld Verse.VerbProperties verbProps
L_0016: ldarg.0
L_0017: ldfld Verse.Verb targetingVerb
L_001c: ldfld Verse.Thing caster
L_0021: callvirt IntVec3 get_Position()
L_0026: callvirt Void DrawRadiusRing(IntVec3)
L_002b: ldarg.0
L_002c: ldc.i4.1
L_002d: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_0032: stloc.0
L_0033: ldloca.s 0 (Verse.LocalTargetInfo)
L_0035: call Boolean get_IsValid()
L_003a: brfalse Label2
L_003f: ldloc.0
L_0040: call Void DrawTargetHighlight(LocalTargetInfo)
L_0045: ldarg.0
L_0046: ldfld Verse.Verb targetingVerb
L_004b: ldloca.s 1 (System.Boolean)
L_004d: callvirt Single HighlightFieldRadiusAroundTarget(Boolean ByRef)
L_0052: stloc.2
L_0053: ldloc.2
L_0054: ldc.r4 0.2
L_0059: ble.un Label3
L_005e: ldarg.0
L_005f: ldfld Verse.Verb targetingVerb
L_0064: ldarg.0
L_0065: ldfld Verse.Verb targetingVerb
L_006a: ldfld Verse.Thing caster
L_006f: callvirt IntVec3 get_Position()
L_0074: ldloc.0
L_0075: ldloca.s 3 (Verse.ShootLine)
L_0077: callvirt Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_007c: brfalse Label4
L_0081: ldloc.1
L_0082: brfalse Label5
L_0087: ldloca.s 3 (Verse.ShootLine)
L_0089: call IntVec3 get_Dest()
L_008e: ldloc.2
L_008f: call Void RenderPredictedAreaOfEffect(IntVec3, Single)
L_0094: br Label6
L_0099: Label5
L_0099: ldloca.s 3 (Verse.ShootLine)
L_009b: call IntVec3 get_Dest()
L_00a0: ldloc.2
L_00a1: ldc.i4.1
L_00a2: call IEnumerable`1 RadialCellsAround(IntVec3, Single, Boolean)
L_00a7: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00ac: brtrue Label7
L_00b1: ldnull
L_00b2: ldftn Boolean <TargeterUpdate>m__0(IntVec3)
L_00b8: newobj Void .ctor(Object, IntPtr)
L_00bd: stsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c2: Label7
L_00c2: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c7: call IEnumerable`1 Where[IntVec3](IEnumerable`1,
System.Func`2[Verse.IntVec3,System.Boolean])
L_00cc: call System.Collections.Generic.List`1[Verse.IntVec3] ToList[IntVec3]
(IEnumerable`1)
L_00d1: call Void DrawFieldEdges(System.Collections.Generic.List`1[Verse.IntVec3])
L_00d6: Label1
L_00d6: Label2
L_00d6: Label3
L_00d6: Label4
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Action`1[Verse.LocalTargetInfo] action
L_00dc: brfalse Label8
L_00e1: ldarg.0
L_00e2: ldc.i4.0
L_00e3: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_00e8: stloc.s 4 (Verse.LocalTargetInfo)
L_00ea: ldloca.s 4 (Verse.LocalTargetInfo)
L_00ec: call Boolean get_IsValid()
L_00f1: brfalse Label9
L_00f6: ldloc.s 4 (Verse.LocalTargetInfo)
L_00f8: call Void DrawTargetHighlight(LocalTargetInfo)
L_00fd: Label8
L_00fd: Label9
L_00fd: ldarg.0
L_00fe: call Void TargeterUpdate_PostFix(RimWorld.Targeter)
L_0103: ldarga 0
L_0109: call Void Postfix(RimWorld.Targeter ByRef)
L_010e: ret
DONE
### Patch Verse.Verb, Boolean CanHitTargetFrom(IntVec3, LocalTargetInfo)
L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.ShootLine
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarga.s 2
L_0008: call Verse.Thing get_Thing()
L_000d: brfalse Label1
L_0012: ldarga.s 2
L_0014: call Verse.Thing get_Thing()
L_0019: ldarg.0
L_001a: ldfld Verse.Thing caster
L_001f: bne.un Label2
L_0024: ldarg.0
L_0025: ldfld Verse.VerbProperties verbProps
L_002a: ldfld RimWorld.TargetingParameters targetParams
L_002f: ldfld System.Boolean canTargetSelf
L_0034: br Label8
L_0039: Label1
L_0039: Label2
L_0039: ldarg.0
L_003a: call Boolean get_CasterIsPawn()
L_003f: brfalse Label3
L_0044: ldarg.0
L_0045: call Verse.Pawn get_CasterPawn()
L_004a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_004f: brfalse Label4
L_0054: ldarg.0
L_0055: call Verse.Pawn get_CasterPawn()
L_005a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_005f: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0064: stloc.0
L_0065: ldc.i4.0
L_0066: stloc.1
L_0067: br Label5
L_006c: Label7
L_006c: ldloc.0
L_006d: ldloc.1
L_006e: callvirt RimWorld.Apparel get_Item(Int32)
L_0073: ldarg.1
L_0074: ldarg.0
L_0075: ldfld Verse.Thing caster
L_007a: callvirt Verse.Map get_Map()
L_007f: ldarg.2
L_0080: ldarg.0
L_0081: callvirt Boolean AllowVerbCast(IntVec3, Verse.Map, LocalTargetInfo,
Verse.Verb)
L_0086: brtrue Label6
L_008b: ldc.i4.0
L_008c: br Label9
L_0091: Label6
L_0091: ldloc.1
L_0092: ldc.i4.1
L_0093: add
L_0094: stloc.1
L_0095: Label5
L_0095: ldloc.1
L_0096: ldloc.0
L_0097: callvirt Int32 get_Count()
L_009c: blt Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldarg.0
L_00a2: ldarg.1
L_00a3: ldarg.2
L_00a4: ldloca.s 2 (Verse.ShootLine)
L_00a6: call Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_00ab: Label8
L_00ab: Label9
L_00ab: stloc 3 (System.Boolean)
L_00ac: ldarga 0
L_00b2: ldloca 3 (System.Boolean)
L_00b4: ldarg 1
L_00ba: ldarg 2
L_00c0: call Void Postfix(Verse.Verb ByRef, Boolean ByRef, IntVec3,
LocalTargetInfo)
L_00c5: ldloc 3 (System.Boolean)
L_00c6: ret
DONE

### Patch Verse.Pawn_RotationTracker, Void RotationTrackerTick()


L_0000: ldarg.0
L_0001: call Boolean VehicleRotatorTick(Verse.Pawn_RotationTracker)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void UpdateRotation()
L_0011: Label0
L_0011: ret
DONE

### Patch Verse.DamageWorker_AddInjury, Single FinalizeAndAddInjury(Verse.Pawn,


Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult)
L_0000: Local var 0: Verse.HediffComp_GetsPermanent
L_0000: Local var 1: System.Single
L_0000: Local var 2: System.Single
L_0000: ldc.r4 0
L_0005: stloc 2 (System.Single)
L_0006: ldarg.2
L_0007: call Verse.HediffComp_GetsPermanent TryGetComp[HediffComp_GetsPermanent]
(Verse.Hediff)
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldloc.0
L_0014: callvirt Void PreFinalizeInjury()
L_0019: Label1
L_0019: ldarg.1
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldarg.2
L_0020: ldnull
L_0021: ldarg.3
L_0022: newobj Void .ctor(DamageInfo)
L_0027: ldarg.s 4
L_0029: callvirt Void AddHediff(Verse.Hediff, Verse.BodyPartRecord, Nullable`1,
Verse.DamageWorker+DamageResult)
L_002e: ldarg.2
L_002f: callvirt Single get_Severity()
L_0034: ldarg.1
L_0035: ldfld Verse.Pawn_HealthTracker health
L_003a: ldfld Verse.HediffSet hediffSet
L_003f: ldarg.2
L_0040: callvirt Verse.BodyPartRecord get_Part()
L_0045: callvirt Single GetPartHealth(Verse.BodyPartRecord)
L_004a: call Single Min(Single, Single)
L_004f: stloc.1
L_0050: ldarg.s 4
L_0052: dup
L_0053: ldfld System.Single totalDamageDealt
L_0058: ldloc.1
L_0059: add
L_005a: stfld System.Single totalDamageDealt
L_005f: ldarg.s 4
L_0061: ldc.i4.1
L_0062: stfld System.Boolean wounded
L_0067: ldarg.s 4
L_0069: ldarg.1
L_006a: ldarg.2
L_006b: callvirt Verse.BodyPartRecord get_Part()
L_0070: callvirt Void AddPart(Verse.Thing, Verse.BodyPartRecord)
L_0075: ldarg.s 4
L_0077: ldarg.2
L_0078: callvirt Void AddHediff(Verse.Hediff)
L_007d: ldloc.1
L_007e: stloc 2 (System.Single)
L_007f: ldarg.0
L_0080: ldarg 1
L_0086: ldarg 2
L_008c: ldarg 3
L_0092: ldarga 4
L_0098: ldloca 2 (System.Single)
L_009a: call Void TryInjureVehicleOccupants(Verse.DamageWorker_AddInjury,
Verse.Pawn, Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult ByRef,
Single ByRef)
L_009f: ldloc 2 (System.Single)
L_00a0: ret
DONE

### Patch Verse.HealthUtility, System.String GetGeneralConditionLabel(Verse.Pawn,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Hediff_Injury
L_0000: Local var 3: System.String
L_0000: ldnull
L_0001: stloc 3 (System.String)
L_0002: ldloca 3 (System.String)
L_0004: ldarg 0
L_000a: ldarg 1
L_0010: call Boolean ReplaceConditionLabel(System.String ByRef, Verse.Pawn,
Boolean)
L_0015: brfalse Label0
L_001a: ldarg.0
L_001b: ldfld Verse.Pawn_HealthTracker health
L_0020: callvirt Boolean get_Dead()
L_0025: brfalse Label1
L_002a: ldstr "Dead"
L_002f: call System.String Translate(System.String)
L_0034: br Label15
L_0039: Label1
L_0039: ldarg.0
L_003a: ldfld Verse.Pawn_HealthTracker health
L_003f: ldfld Verse.PawnCapacitiesHandler capacities
L_0044: callvirt Boolean get_CanBeAwake()
L_0049: brtrue Label2
L_004e: ldstr "Unconscious"
L_0053: call System.String Translate(System.String)
L_0058: br Label16
L_005d: Label2
L_005d: ldarg.0
L_005e: ldfld Verse.Pawn_HealthTracker health
L_0063: callvirt Boolean get_InPainShock()
L_0068: brfalse Label3
L_006d: ldarg.1
L_006e: brfalse Label4
L_0073: ldstr "PainShockShort"
L_0078: call Boolean CanTranslate(System.String)
L_007d: brfalse Label5
L_0082: ldstr "PainShockShort"
L_0087: call System.String Translate(System.String)
L_008c: br Label6
L_0091: Label4
L_0091: Label5
L_0091: ldstr "PainShock"
L_0096: call System.String Translate(System.String)
L_009b: Label6
L_009b: br Label17
L_00a0: Label3
L_00a0: ldarg.0
L_00a1: callvirt Boolean get_Downed()
L_00a6: brfalse Label7
L_00ab: ldstr "Incapacitated"
L_00b0: call System.String Translate(System.String)
L_00b5: br Label18
L_00ba: Label7
L_00ba: ldc.i4.0
L_00bb: stloc.0
L_00bc: ldc.i4.0
L_00bd: stloc.1
L_00be: br Label8
L_00c3: Label12
L_00c3: ldarg.0
L_00c4: ldfld Verse.Pawn_HealthTracker health
L_00c9: ldfld Verse.HediffSet hediffSet
L_00ce: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_00d3: ldloc.1
L_00d4: callvirt Verse.Hediff get_Item(Int32)
L_00d9: isinst Verse.Hediff_Injury
L_00de: stloc.2
L_00df: ldloc.2
L_00e0: brtrue Label9
L_00e5: br Label10
L_00ea: Label9
L_00ea: ldloc.2
L_00eb: call Boolean IsPermanent(Verse.Hediff)
L_00f0: brtrue Label11
L_00f5: ldc.i4.1
L_00f6: stloc.0
L_00f7: Label10
L_00f7: Label11
L_00f7: ldloc.1
L_00f8: ldc.i4.1
L_00f9: add
L_00fa: stloc.1
L_00fb: Label8
L_00fb: ldloc.1
L_00fc: ldarg.0
L_00fd: ldfld Verse.Pawn_HealthTracker health
L_0102: ldfld Verse.HediffSet hediffSet
L_0107: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_010c: callvirt Int32 get_Count()
L_0111: blt Label12
L_0116: ldloc.0
L_0117: brfalse Label13
L_011c: ldstr "Injured"
L_0121: call System.String Translate(System.String)
L_0126: br Label19
L_012b: Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_HealthTracker health
L_0131: ldfld Verse.HediffSet hediffSet
L_0136: callvirt Single get_PainTotal()
L_013b: ldc.r4 0.3
L_0140: ble.un Label14
L_0145: ldstr "InPain"
L_014a: call System.String Translate(System.String)
L_014f: br Label20
L_0154: Label14
L_0154: ldstr "Healthy"
L_0159: call System.String Translate(System.String)
L_015e: Label15
L_015e: Label16
L_015e: Label17
L_015e: Label18
L_015e: Label19
L_015e: Label20
L_015e: stloc 3 (System.String)
L_015f: Label0
L_015f: ldloc 3 (System.String)
L_0160: ret
DONE

### Patch Verse.MapPawns, Int32 get_FreeColonistsSpawnedCount()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldarg.0
L_0007: call IEnumerable`1 get_FreeColonistsSpawned()
L_000c: call Int32 Count[Pawn](IEnumerable`1)
L_0011: stloc 0 (System.Int32)
L_0012: ldarg.0
L_0013: ldloca 0 (System.Int32)
L_0015: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_001a: ldloc 0 (System.Int32)
L_001b: ret
DONE

### Patch Verse.MapPawns, Int32


get_FreeColonistsSpawnedOrInPlayerEjectablePodsCount()
L_0000: Local var 0: System.Int32
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.Building_CryptosleepCasket
L_0000: Local var 5: Verse.IThingHolder
L_0000: Local var 6: System.Int32
L_0000: Local var 7: Verse.Pawn
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldc.i4.0
L_0008: stloc.0
L_0009: ldc.i4.0
L_000a: stloc.1
L_000b: br Label1
L_0010: Label3
L_0010: ldarg.0
L_0011: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0016: ldloc.1
L_0017: callvirt Verse.Pawn get_Item(Int32)
L_001c: callvirt Boolean get_IsFreeColonist()
L_0021: brfalse Label2
L_0026: ldloc.0
L_0027: ldc.i4.1
L_0028: add
L_0029: stloc.0
L_002a: Label2
L_002a: ldloc.1
L_002b: ldc.i4.1
L_002c: add
L_002d: stloc.1
L_002e: Label1
L_002e: ldloc.1
L_002f: ldarg.0
L_0030: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0035: callvirt Int32 get_Count()
L_003a: blt Label3
L_003f: ldarg.0
L_0040: ldfld Verse.Map map
L_0045: ldfld Verse.ListerThings listerThings
L_004a: ldc.i4.s 30
L_004c: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsInGroup(ThingRequestGroup)
L_0051: stloc.2
L_0052: ldc.i4.0
L_0053: stloc.3
L_0054: br Label4
L_0059: Label15
L_0059: ldloc.2
L_005a: ldloc.3
L_005b: callvirt Verse.Thing get_Item(Int32)
L_0060: isinst RimWorld.Building_CryptosleepCasket
L_0065: stloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0067: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0069: brfalse Label5
L_006e: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0070: ldfld Verse.ThingDef def
L_0075: ldfld RimWorld.BuildingProperties building
L_007a: ldfld System.Boolean isPlayerEjectable
L_007f: brtrue Label6
L_0084: Label5
L_0084: ldloc.2
L_0085: ldloc.3
L_0086: callvirt Verse.Thing get_Item(Int32)
L_008b: isinst RimWorld.IActiveDropPod
L_0090: brtrue Label7
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: callvirt Verse.Thing get_Item(Int32)
L_009c: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00a1: brfalse Label8
L_00a6: Label6
L_00a6: Label7
L_00a6: ldloc.2
L_00a7: ldloc.3
L_00a8: callvirt Verse.Thing get_Item(Int32)
L_00ad: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00b2: dup
L_00b3: brtrue Label9
L_00b8: pop
L_00b9: ldloc.2
L_00ba: ldloc.3
L_00bb: callvirt Verse.Thing get_Item(Int32)
L_00c0: castclass Verse.IThingHolder
L_00c5: Label9
L_00c5: stloc.s 5 (Verse.IThingHolder)
L_00c7: ldarg.0
L_00c8: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00cd: callvirt Void Clear()
L_00d2: ldloc.s 5 (Verse.IThingHolder)
L_00d4: ldarg.0
L_00d5: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00da: ldc.i4.1
L_00db: ldnull
L_00dc: call Void GetAllThingsRecursively(IThingHolder,
System.Collections.Generic.List`1[Verse.Thing], Boolean,
System.Predicate`1[Verse.IThingHolder])
L_00e1: ldc.i4.0
L_00e2: stloc.s 6 (System.Int32)
L_00e4: br Label10
L_00e9: Label14
L_00e9: ldarg.0
L_00ea: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00ef: ldloc.s 6 (System.Int32)
L_00f1: callvirt Verse.Thing get_Item(Int32)
L_00f6: isinst Verse.Pawn
L_00fb: stloc.s 7 (Verse.Pawn)
L_00fd: ldloc.s 7 (Verse.Pawn)
L_00ff: brfalse Label11
L_0104: ldloc.s 7 (Verse.Pawn)
L_0106: callvirt Boolean get_Dead()
L_010b: brtrue Label12
L_0110: ldloc.s 7 (Verse.Pawn)
L_0112: callvirt Boolean get_IsFreeColonist()
L_0117: brfalse Label13
L_011c: ldloc.0
L_011d: ldc.i4.1
L_011e: add
L_011f: stloc.0
L_0120: Label11
L_0120: Label12
L_0120: Label13
L_0120: ldloc.s 6 (System.Int32)
L_0122: ldc.i4.1
L_0123: add
L_0124: stloc.s 6 (System.Int32)
L_0126: Label10
L_0126: ldloc.s 6 (System.Int32)
L_0128: ldarg.0
L_0129: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_012e: callvirt Int32 get_Count()
L_0133: blt Label14
L_0138: Label8
L_0138: ldloc.3
L_0139: ldc.i4.1
L_013a: add
L_013b: stloc.3
L_013c: Label4
L_013c: ldloc.3
L_013d: ldloc.2
L_013e: callvirt Int32 get_Count()
L_0143: blt Label15
L_0148: ldarg.0
L_0149: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_014e: callvirt Void Clear()
L_0153: ldloc.0
L_0154: stloc 8 (System.Int32)
L_0156: ldarg.0
L_0157: ldloca 8 (System.Int32)
L_0159: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_015e: ldloc 8 (System.Int32)
L_0160: ret
DONE

### Patch Verse.Pawn_HealthTracker, Boolean ShouldBeDowned()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean VehicleShouldBeDowned(Verse.Pawn_HealthTracker, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean get_InPainShock()
L_0019: brtrue Label1
L_001e: ldarg.0
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: callvirt Boolean get_CanBeAwake()
L_0029: brfalse Label2
L_002e: ldarg.0
L_002f: ldfld Verse.PawnCapacitiesHandler capacities
L_0034: ldsfld Verse.PawnCapacityDef Moving
L_0039: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_003e: ldc.i4.0
L_003f: ceq
L_0041: br Label3
L_0046: Label1
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: stloc 0 (System.Boolean)
L_0048: Label0
L_0048: ldloc 0 (System.Boolean)
L_0049: ret
DONE

### Patch Verse.PawnDownedWiggler, Void WigglerTick()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: call Boolean VehicleShouldWiggle(Verse.PawnDownedWiggler)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld Verse.Pawn pawn
L_0011: callvirt Boolean get_Downed()
L_0016: brfalse Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: callvirt Boolean get_Spawned()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: ldfld Verse.Pawn pawn
L_0031: call Boolean InBed(Verse.Pawn)
L_0036: brtrue Label3
L_003b: ldarg.0
L_003c: dup
L_003d: ldfld System.Int32 ticksToIncapIcon
L_0042: ldc.i4.1
L_0043: sub
L_0044: stfld System.Int32 ticksToIncapIcon
L_0049: ldarg.0
L_004a: ldfld System.Int32 ticksToIncapIcon
L_004f: ldc.i4.0
L_0050: bgt Label4
L_0055: ldarg.0
L_0056: ldfld Verse.Pawn pawn
L_005b: callvirt IntVec3 get_Position()
L_0060: ldarg.0
L_0061: ldfld Verse.Pawn pawn
L_0066: callvirt Verse.Map get_Map()
L_006b: ldsfld Verse.ThingDef Mote_IncapIcon
L_0070: call Verse.Mote ThrowMetaIcon(IntVec3, Verse.Map, Verse.ThingDef)
L_0075: pop
L_0076: ldarg.0
L_0077: ldc.i4 200
L_007c: stfld System.Int32 ticksToIncapIcon
L_0081: Label4
L_0081: ldarg.0
L_0082: ldfld Verse.Pawn pawn
L_0087: call Boolean Awake(Verse.Pawn)
L_008c: brfalse Label5
L_0091: call Verse.TickManager get_TickManager()
L_0096: callvirt Int32 get_TicksGame()
L_009b: ldc.i4 300
L_00a0: rem
L_00a1: ldc.i4.2
L_00a2: mul
L_00a3: stloc.0
L_00a4: ldloc.0
L_00a5: ldc.i4.s 90
L_00a7: bge Label6
L_00ac: ldarg.0
L_00ad: dup
L_00ae: ldfld System.Single downedAngle
L_00b3: ldc.r4 0.35
L_00b8: add
L_00b9: stfld System.Single downedAngle
L_00be: br Label7
L_00c3: Label6
L_00c3: ldloc.0
L_00c4: ldc.i4 390
L_00c9: bge Label8
L_00ce: ldloc.0
L_00cf: ldc.i4 300
L_00d4: blt Label9
L_00d9: ldarg.0
L_00da: dup
L_00db: ldfld System.Single downedAngle
L_00e0: ldc.r4 0.35
L_00e5: sub
L_00e6: stfld System.Single downedAngle
L_00eb: Label1
L_00eb: Label2
L_00eb: Label3
L_00eb: Label5
L_00eb: Label7
L_00eb: Label8
L_00eb: Label9
L_00eb: Label0
L_00eb: ret
DONE

### Patch Verse.VerbTracker, IEnumerable`1 GetVerbsCommands(KeyCode)


L_0000: Local var 0: Verse.VerbTracker+<GetVerbsCommands>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Command,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0002: ldarg.0
L_0003: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0005: ldarg 1
L_000b: call Boolean GetVerbsCommands_PreFix(Verse.VerbTracker, IEnumerable`1
ByRef, KeyCode)
L_0010: brfalse Label0
L_0015: newobj Void .ctor()
L_001a: stloc.0
L_001b: ldloc.0
L_001c: ldarg.0
L_001d: stfld Verse.VerbTracker $this
L_0022: ldloc.0
L_0023: dup
L_0024: ldc.i4.s -2
L_0026: stfld System.Int32 $PC
L_002b: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002c: Label0
L_002c: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002d: ret
DONE

### Patch RimWorld.PawnUtility, Boolean


IsTravelingInTransportPodWorldObject(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean IsWorldPawn(Verse.Pawn)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean AnyParentIs[ActiveDropPodInfo](Verse.Thing)
L_0017: br Label2
L_001c: Label1
L_001c: ldc.i4.0
L_001d: Label2
L_001d: stloc 0 (System.Boolean)
L_001e: ldloca 0 (System.Boolean)
L_0020: ldarg 0
L_0026: call Void PreventAssigningRandomFaction(Boolean ByRef, Verse.Pawn)
L_002b: ldloc 0 (System.Boolean)
L_002c: ret
DONE

### Patch RimWorld.SocialCardUtility, Void Recache(Verse.Pawn)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: Local var 5: System.Int32
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: RimWorld.SocialCardUtility+CachedSocialTabEntry
L_0000: Local var 9: System.Int32
L_0000: ldarg 0
L_0006: call Boolean SocialTabNullHandling(Verse.Pawn)
L_000b: brfalse Label0
L_0010: ldarg.0
L_0011: stsfld Verse.Pawn cachedForPawn
L_0016: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_001b: callvirt Void Clear()
L_0020: ldarg.0
L_0021: ldfld RimWorld.Pawn_RelationsTracker relations
L_0026: callvirt IEnumerable`1 get_RelatedPawns()
L_002b: callvirt IEnumerator`1 GetEnumerator()
L_0030: stloc.1
.try
{
L_0031: br Label1
L_0036: Label4
L_0036: ldloc.1
L_0037: callvirt Verse.Pawn get_Current()
L_003c: stloc.0
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_0044: brtrue Label2
L_0049: leave Label3
L_004e: Label2
L_004e: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0053: ldloc.0
L_0054: callvirt Boolean Add(Verse.Pawn)
L_0059: pop
L_005a: Label1
L_005a: Label3
L_005a: ldloc.1
L_005b: callvirt Boolean MoveNext()
L_0060: brtrue Label4
L_0065: leave Label5
L_006a: leave (autogenerated)
} // end try
.finally
{
L_006f: ldloc.1
L_0070: brfalse Label6
L_0075: ldloc.1
L_0076: callvirt Void Dispose()
L_007b: Label6
L_007b: endfinally
L_007c: leave (autogenerated)
} // end handler
L_007d: Label5
L_007d: ldnull
L_007e: stloc.2
L_007f: ldarg.0
L_0080: callvirt Verse.Map get_MapHeld()
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: callvirt Verse.Map get_MapHeld()
L_0090: ldfld Verse.MapPawns mapPawns
L_0095: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_009a: stloc.2
L_009b: br Label8
L_00a0: Label7
L_00a0: ldarg.0
L_00a1: call Boolean IsCaravanMember(Verse.Pawn)
L_00a6: brfalse Label9
L_00ab: ldarg.0
L_00ac: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_00b1: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_00b6: stloc.2
L_00b7: Label8
L_00b7: Label9
L_00b7: ldloc.2
L_00b8: brfalse Label10
L_00bd: ldc.i4.0
L_00be: stloc.3
L_00bf: br Label11
L_00c4: Label20
L_00c4: ldloc.2
L_00c5: ldloc.3
L_00c6: callvirt Verse.Pawn get_Item(Int32)
L_00cb: stloc.s 4 (Verse.Pawn)
L_00cd: ldloc.s 4 (Verse.Pawn)
L_00cf: callvirt Verse.RaceProperties get_RaceProps()
L_00d4: callvirt Boolean get_Humanlike()
L_00d9: brfalse Label12
L_00de: ldloc.s 4 (Verse.Pawn)
L_00e0: ldarg.0
L_00e1: beq Label13
L_00e6: ldloc.s 4 (Verse.Pawn)
L_00e8: ldarg.0
L_00e9: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_00ee: brfalse Label14
L_00f3: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_00f8: ldloc.s 4 (Verse.Pawn)
L_00fa: callvirt Boolean Contains(Verse.Pawn)
L_00ff: brfalse Label15
L_0104: Label12
L_0104: Label13
L_0104: Label14
L_0104: br Label16
L_0109: Label15
L_0109: ldarg.0
L_010a: ldfld RimWorld.Pawn_RelationsTracker relations
L_010f: ldloc.s 4 (Verse.Pawn)
L_0111: callvirt Int32 OpinionOf(Verse.Pawn)
L_0116: brtrue Label17
L_011b: ldloc.s 4 (Verse.Pawn)
L_011d: ldfld RimWorld.Pawn_RelationsTracker relations
L_0122: ldarg.0
L_0123: callvirt Int32 OpinionOf(Verse.Pawn)
L_0128: brtrue Label18
L_012d: br Label19
L_0132: Label17
L_0132: Label18
L_0132: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0137: ldloc.s 4 (Verse.Pawn)
L_0139: callvirt Boolean Add(Verse.Pawn)
L_013e: pop
L_013f: Label16
L_013f: Label19
L_013f: ldloc.3
L_0140: ldc.i4.1
L_0141: add
L_0142: stloc.3
L_0143: Label11
L_0143: ldloc.3
L_0144: ldloc.2
L_0145: callvirt Int32 get_Count()
L_014a: blt Label20
L_014f: Label10
L_014f: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0154: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0159: brtrue Label21
L_015e: ldnull
L_015f: ldftn Boolean
<Recache>m__0(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0165: newobj Void .ctor(Object, IntPtr)
L_016a: stsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_016f: Label21
L_016f: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0174: callvirt Int32
RemoveAll(System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry])
L_0179: pop
L_017a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_017f: callvirt Void Clear()
L_0184: ldc.i4.0
L_0185: stloc.s 5 (System.Int32)
L_0187: br Label22
L_018c: Label23
L_018c: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0191: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0196: ldloc.s 5 (System.Int32)
L_0198: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_019d: ldfld Verse.Pawn otherPawn
L_01a2: callvirt Boolean Add(Verse.Pawn)
L_01a7: pop
L_01a8: ldloc.s 5 (System.Int32)
L_01aa: ldc.i4.1
L_01ab: add
L_01ac: stloc.s 5 (System.Int32)
L_01ae: Label22
L_01ae: ldloc.s 5 (System.Int32)
L_01b0: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_01b5: callvirt Int32 get_Count()
L_01ba: blt Label23
L_01bf: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_01c4: callvirt Enumerator GetEnumerator()
L_01c9: stloc.s 7 (System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
.try
{
L_01cb: br Label24
L_01d0: Label27
L_01d0: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_01d2: call Verse.Pawn get_Current()
L_01d7: stloc.s 6 (Verse.Pawn)
L_01d9: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_01de: ldloc.s 6 (Verse.Pawn)
L_01e0: callvirt Boolean Contains(Verse.Pawn)
L_01e5: brfalse Label25
L_01ea: leave Label26
L_01ef: Label25
L_01ef: newobj Void .ctor()
L_01f4: stloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f6: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f8: ldloc.s 6 (Verse.Pawn)
L_01fa: stfld Verse.Pawn otherPawn
L_01ff: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0204: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0206: callvirt Void Add(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_020b: Label24
L_020b: Label26
L_020b: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_020d: call Boolean MoveNext()
L_0212: brtrue Label27
L_0217: leave Label28
L_021c: leave (autogenerated)
} // end try
.finally
{
L_0221: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_0223: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn]
L_0229: callvirt Void Dispose()
L_022e: endfinally
L_022f: leave (autogenerated)
} // end handler
L_0230: Label28
L_0230: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0235: callvirt Void Clear()
L_023a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_023f: callvirt Void Clear()
L_0244: ldc.i4.0
L_0245: stloc.s 9 (System.Int32)
L_0247: br Label29
L_024c: Label30
L_024c: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0251: ldloc.s 9 (System.Int32)
L_0253: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_0258: ldarg.0
L_0259: call Void RecacheEntry(RimWorld.SocialCardUtility+CachedSocialTabEntry,
Verse.Pawn)
L_025e: ldloc.s 9 (System.Int32)
L_0260: ldc.i4.1
L_0261: add
L_0262: stloc.s 9 (System.Int32)
L_0264: Label29
L_0264: ldloc.s 9 (System.Int32)
L_0266: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_026b: callvirt Int32 get_Count()
L_0270: blt Label30
L_0275: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_027a: ldsfld RimWorld.SocialCardUtility+CachedSocialTabEntryComparer
CachedEntriesComparer
L_027f: callvirt Void Sort(IComparer`1)
L_0284: Label0
L_0284: ret
DONE

### Patch Verse.Pawn, Boolean get_IsColonistPlayerControlled()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean get_Spawned()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean get_IsColonist()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: call Verse.MentalStateDef get_MentalStateDef()
L_0022: brtrue Label3
L_0027: ldarg.0
L_0028: call RimWorld.Faction get_HostFaction()
L_002d: ldnull
L_002e: ceq
L_0030: br Label4
L_0035: Label1
L_0035: Label2
L_0035: Label3
L_0035: ldc.i4.0
L_0036: Label4
L_0036: stloc 0 (System.Boolean)
L_0037: ldarg.0
L_0038: ldloca 0 (System.Boolean)
L_003a: call Void IncludeVehiclesInIsColonistPlayerControlled(Verse.Pawn, Boolean
ByRef)
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.Pawn, Boolean CurrentlyUsableForBills()


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InBed(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldsfld System.String NotSurgeryReadyTrans
L_0016: ldnull
L_0017: call Void Is(System.String, System.String)
L_001c: ldc.i4.0
L_001d: br Label3
L_0022: Label1
L_0022: ldarg.0
L_0023: callvirt IntVec3 get_InteractionCell()
L_0028: stloc.0
L_0029: ldloca.s 0 (Verse.IntVec3)
L_002b: call Boolean get_IsValid()
L_0030: brtrue Label2
L_0035: ldsfld System.String CannotReachTrans
L_003a: ldnull
L_003b: call Void Is(System.String, System.String)
L_0040: ldc.i4.0
L_0041: br Label4
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: Label4
L_0047: stloc 1 (System.Boolean)
L_0048: ldarg.0
L_0049: ldloca 1 (System.Boolean)
L_004b: call Void CantUseMovingVehicles(Verse.Pawn, Boolean ByRef)
L_0050: ldloc 1 (System.Boolean)
L_0051: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ret
DONE

### Patch Verse.Verb_Shoot, Boolean TryCastShot()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 1 (System.Boolean)
L_0009: call Boolean CanVehicleShoot(Verse.Verb_Shoot, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean TryCastShot()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: brfalse Label1
L_0020: ldarg.0
L_0021: call Boolean get_CasterIsPawn()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: call Verse.Pawn get_CasterPawn()
L_0031: ldfld RimWorld.Pawn_RecordsTracker records
L_0036: ldsfld RimWorld.RecordDef ShotsFired
L_003b: callvirt Void Increment(RimWorld.RecordDef)
L_0040: Label1
L_0040: Label2
L_0040: ldloc.0
L_0041: stloc 1 (System.Boolean)
L_0042: Label0
L_0042: ldloc 1 (System.Boolean)
L_0043: ret
DONE

### Patch RimWorld.GameEnder, Boolean


IsPlayerControlledWithFreeColonist(RimWorld.Planet.Caravan)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsPlayerControlled()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label6
L_0017: Label1
L_0017: ldarg.1
L_0018: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_001d: stloc.0
L_001e: ldc.i4.0
L_001f: stloc.1
L_0020: br Label2
L_0025: Label5
L_0025: ldloc.0
L_0026: ldloc.1
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stloc.2
L_002d: ldloc.2
L_002e: callvirt Boolean get_IsColonist()
L_0033: brfalse Label3
L_0038: ldloc.2
L_0039: callvirt RimWorld.Faction get_HostFaction()
L_003e: brtrue Label4
L_0043: ldc.i4.1
L_0044: br Label7
L_0049: Label3
L_0049: Label4
L_0049: ldloc.1
L_004a: ldc.i4.1
L_004b: add
L_004c: stloc.1
L_004d: Label2
L_004d: ldloc.1
L_004e: ldloc.0
L_004f: callvirt Int32 get_Count()
L_0054: blt Label5
L_0059: ldc.i4.0
L_005a: Label6
L_005a: Label7
L_005a: stloc 3 (System.Boolean)
L_005b: ldarg 1
L_0061: ldloca 3 (System.Boolean)
L_0063: call Void CanEndGame(RimWorld.Planet.Caravan, Boolean ByRef)
L_0068: ldloc 3 (System.Boolean)
L_0069: ret
DONE

### Patch RimWorld.RestUtility, RimWorld.Building_Bed FindBedFor(Verse.Pawn,


Verse.Pawn, Boolean, Boolean, Boolean)
L_0000: Local var 0: RimWorld.RestUtility+<FindBedFor>c__AnonStorey0
L_0000: Local var 1: RimWorld.Building_Bed
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: Verse.Pawn
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.ThingDef
L_0000: Local var 9: System.Int32
L_0000: Local var 10: RimWorld.RestUtility+<FindBedFor>c__AnonStorey1
L_0000: Local var 11: RimWorld.Building_Bed
L_0000: Local var 12: RimWorld.DirectPawnRelation
L_0000: Local var 13: RimWorld.Building_Bed
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.RestUtility+<FindBedFor>c__AnonStorey2
L_0000: Local var 16: System.Int32
L_0000: Local var 17: Verse.ThingDef
L_0000: Local var 18: RimWorld.Building_Bed
L_0000: Local var 19: RimWorld.Building_Bed
L_0000: ldnull
L_0001: stloc 19 (RimWorld.Building_Bed)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: stfld Verse.Pawn sleeper
L_0010: ldloc.0
L_0011: ldarg.1
L_0012: stfld Verse.Pawn traveler
L_0017: ldloc.0
L_0018: ldarg.2
L_0019: stfld System.Boolean sleeperWillBePrisoner
L_001e: ldloc.0
L_001f: ldarg.3
L_0020: stfld System.Boolean checkSocialProperness
L_0025: ldloc.0
L_0026: ldarg.s 4
L_0028: stfld System.Boolean ignoreOtherReservations
L_002d: ldloc.0
L_002e: ldfld Verse.Pawn sleeper
L_0033: call Boolean ShouldSeekMedicalRest(Verse.Pawn)
L_0038: brfalse Label1
L_003d: ldloc.0
L_003e: ldfld Verse.Pawn sleeper
L_0043: call Boolean InBed(Verse.Pawn)
L_0048: brfalse Label2
L_004d: ldloc.0
L_004e: ldfld Verse.Pawn sleeper
L_0053: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_0058: callvirt Boolean get_Medical()
L_005d: brfalse Label3
L_0062: ldloc.0
L_0063: ldfld Verse.Pawn sleeper
L_0068: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006d: stloc.1
L_006e: ldloc.0
L_006f: ldfld Verse.Pawn sleeper
L_0074: stloc.2
L_0075: ldloc.0
L_0076: ldfld Verse.Pawn traveler
L_007b: stloc.3
L_007c: ldloc.0
L_007d: ldfld System.Boolean sleeperWillBePrisoner
L_0082: stloc.s 4 (System.Boolean)
L_0084: ldloc.0
L_0085: ldfld System.Boolean checkSocialProperness
L_008a: stloc.s 5 (System.Boolean)
L_008c: ldloc.0
L_008d: ldfld System.Boolean ignoreOtherReservations
L_0092: stloc.s 6 (System.Boolean)
L_0094: ldloc.1
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: ldloc.s 4 (System.Boolean)
L_0099: ldloc.s 5 (System.Boolean)
L_009b: ldc.i4.0
L_009c: ldloc.s 6 (System.Boolean)
L_009e: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_00a3: brfalse Label4
L_00a8: ldloc.0
L_00a9: ldfld Verse.Pawn sleeper
L_00ae: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_00b3: br Label29
L_00b8: Label2
L_00b8: Label3
L_00b8: Label4
L_00b8: ldc.i4.0
L_00b9: stloc.s 7 (System.Int32)
L_00bb: br Label5
L_00c0: Label13
L_00c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_00c5: ldloc.s 7 (System.Int32)
L_00c7: callvirt Verse.ThingDef get_Item(Int32)
L_00cc: stloc.s 8 (Verse.ThingDef)
L_00ce: ldloc.0
L_00cf: ldfld Verse.Pawn sleeper
L_00d4: ldloc.s 8 (Verse.ThingDef)
L_00d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_00db: brtrue Label6
L_00e0: br Label7
L_00e5: Label6
L_00e5: ldc.i4.0
L_00e6: stloc.s 9 (System.Int32)
L_00e8: br Label8
L_00ed: Label12
L_00ed: newobj Void .ctor()
L_00f2: stloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f4: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f6: ldloc.0
L_00f7: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_00fc: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00fe: ldloc.s 9 (System.Int32)
L_0100: brtrue Label9
L_0105: ldc.i4.1
L_0106: br Label10
L_010b: Label9
L_010b: ldc.i4.3
L_010c: Label10
L_010c: stfld Verse.Danger maxDanger
L_0111: ldloc.0
L_0112: ldfld Verse.Pawn sleeper
L_0117: callvirt IntVec3 get_Position()
L_011c: ldloc.0
L_011d: ldfld Verse.Pawn sleeper
L_0122: callvirt Verse.Map get_Map()
L_0127: ldloc.s 8 (Verse.ThingDef)
L_0129: call ThingRequest ForDef(Verse.ThingDef)
L_012e: ldc.i4.1
L_012f: ldloc.0
L_0130: ldfld Verse.Pawn traveler
L_0135: ldc.i4.3
L_0136: ldc.i4.0
L_0137: ldc.i4.0
L_0138: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_013d: ldc.r4 9999
L_0142: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_0144: ldftn Boolean <>m__0(Verse.Thing)
L_014a: newobj Void .ctor(Object, IntPtr)
L_014f: ldnull
L_0150: ldc.i4.0
L_0151: ldc.i4.m1
L_0152: ldc.i4.0
L_0153: ldc.i4.6
L_0154: ldc.i4.0
L_0155: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_015a: castclass RimWorld.Building_Bed
L_015f: stloc.s 11 (RimWorld.Building_Bed)
L_0161: ldloc.s 11 (RimWorld.Building_Bed)
L_0163: brfalse Label11
L_0168: ldloc.s 11 (RimWorld.Building_Bed)
L_016a: br Label30
L_016f: Label11
L_016f: ldloc.s 9 (System.Int32)
L_0171: ldc.i4.1
L_0172: add
L_0173: stloc.s 9 (System.Int32)
L_0175: Label8
L_0175: ldloc.s 9 (System.Int32)
L_0177: ldc.i4.2
L_0178: blt Label12
L_017d: Label7
L_017d: ldloc.s 7 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 7 (System.Int32)
L_0183: Label5
L_0183: ldloc.s 7 (System.Int32)
L_0185: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_018a: callvirt Int32 get_Count()
L_018f: blt Label13
L_0194: Label1
L_0194: ldloc.0
L_0195: ldfld Verse.Pawn sleeper
L_019a: ldfld RimWorld.Pawn_Ownership ownership
L_019f: brfalse Label14
L_01a4: ldloc.0
L_01a5: ldfld Verse.Pawn sleeper
L_01aa: ldfld RimWorld.Pawn_Ownership ownership
L_01af: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01b4: brfalse Label15
L_01b9: ldloc.0
L_01ba: ldfld Verse.Pawn sleeper
L_01bf: ldfld RimWorld.Pawn_Ownership ownership
L_01c4: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01c9: stloc.1
L_01ca: ldloc.0
L_01cb: ldfld Verse.Pawn sleeper
L_01d0: stloc.3
L_01d1: ldloc.0
L_01d2: ldfld Verse.Pawn traveler
L_01d7: stloc.2
L_01d8: ldloc.0
L_01d9: ldfld System.Boolean sleeperWillBePrisoner
L_01de: stloc.s 6 (System.Boolean)
L_01e0: ldloc.0
L_01e1: ldfld System.Boolean checkSocialProperness
L_01e6: stloc.s 5 (System.Boolean)
L_01e8: ldloc.0
L_01e9: ldfld System.Boolean ignoreOtherReservations
L_01ee: stloc.s 4 (System.Boolean)
L_01f0: ldloc.1
L_01f1: ldloc.3
L_01f2: ldloc.2
L_01f3: ldloc.s 6 (System.Boolean)
L_01f5: ldloc.s 5 (System.Boolean)
L_01f7: ldc.i4.0
L_01f8: ldloc.s 4 (System.Boolean)
L_01fa: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_01ff: brfalse Label16
L_0204: ldloc.0
L_0205: ldfld Verse.Pawn sleeper
L_020a: ldfld RimWorld.Pawn_Ownership ownership
L_020f: callvirt RimWorld.Building_Bed get_OwnedBed()
L_0214: br Label31
L_0219: Label14
L_0219: Label15
L_0219: Label16
L_0219: ldloc.0
L_021a: ldfld Verse.Pawn sleeper
L_021f: ldc.i4.0
L_0220: call RimWorld.DirectPawnRelation
ExistingMostLikedLovePartnerRel(Verse.Pawn, Boolean)
L_0225: stloc.s 12 (RimWorld.DirectPawnRelation)
L_0227: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0229: brfalse Label17
L_022e: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0230: ldfld Verse.Pawn otherPawn
L_0235: ldfld RimWorld.Pawn_Ownership ownership
L_023a: callvirt RimWorld.Building_Bed get_OwnedBed()
L_023f: stloc.s 13 (RimWorld.Building_Bed)
L_0241: ldloc.s 13 (RimWorld.Building_Bed)
L_0243: brfalse Label18
L_0248: ldloc.s 13 (RimWorld.Building_Bed)
L_024a: stloc.1
L_024b: ldloc.0
L_024c: ldfld Verse.Pawn sleeper
L_0251: stloc.2
L_0252: ldloc.0
L_0253: ldfld Verse.Pawn traveler
L_0258: stloc.3
L_0259: ldloc.0
L_025a: ldfld System.Boolean sleeperWillBePrisoner
L_025f: stloc.s 4 (System.Boolean)
L_0261: ldloc.0
L_0262: ldfld System.Boolean checkSocialProperness
L_0267: stloc.s 5 (System.Boolean)
L_0269: ldloc.0
L_026a: ldfld System.Boolean ignoreOtherReservations
L_026f: stloc.s 6 (System.Boolean)
L_0271: ldloc.1
L_0272: ldloc.2
L_0273: ldloc.3
L_0274: ldloc.s 4 (System.Boolean)
L_0276: ldloc.s 5 (System.Boolean)
L_0278: ldc.i4.0
L_0279: ldloc.s 6 (System.Boolean)
L_027b: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_0280: brfalse Label19
L_0285: ldloc.s 13 (RimWorld.Building_Bed)
L_0287: br Label32
L_028c: Label17
L_028c: Label18
L_028c: Label19
L_028c: ldc.i4.0
L_028d: stloc.s 14 (System.Int32)
L_028f: br Label20
L_0294: Label28
L_0294: newobj Void .ctor()
L_0299: stloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029b: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029d: ldloc.0
L_029e: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_02a3: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_02a5: ldloc.s 14 (System.Int32)
L_02a7: brtrue Label21
L_02ac: ldc.i4.1
L_02ad: br Label22
L_02b2: Label21
L_02b2: ldc.i4.3
L_02b3: Label22
L_02b3: stfld Verse.Danger maxDanger
L_02b8: ldc.i4.0
L_02b9: stloc.s 16 (System.Int32)
L_02bb: br Label23
L_02c0: Label27
L_02c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_02c5: ldloc.s 16 (System.Int32)
L_02c7: callvirt Verse.ThingDef get_Item(Int32)
L_02cc: stloc.s 17 (Verse.ThingDef)
L_02ce: ldloc.0
L_02cf: ldfld Verse.Pawn sleeper
L_02d4: ldloc.s 17 (Verse.ThingDef)
L_02d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_02db: brtrue Label24
L_02e0: br Label25
L_02e5: Label24
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn sleeper
L_02eb: callvirt IntVec3 get_Position()
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn sleeper
L_02f6: callvirt Verse.Map get_Map()
L_02fb: ldloc.s 17 (Verse.ThingDef)
L_02fd: call ThingRequest ForDef(Verse.ThingDef)
L_0302: ldc.i4.1
L_0303: ldloc.0
L_0304: ldfld Verse.Pawn traveler
L_0309: ldc.i4.3
L_030a: ldc.i4.0
L_030b: ldc.i4.0
L_030c: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0311: ldc.r4 9999
L_0316: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_0318: ldftn Boolean <>m__0(Verse.Thing)
L_031e: newobj Void .ctor(Object, IntPtr)
L_0323: ldnull
L_0324: ldc.i4.0
L_0325: ldc.i4.m1
L_0326: ldc.i4.0
L_0327: ldc.i4.6
L_0328: ldc.i4.0
L_0329: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_032e: castclass RimWorld.Building_Bed
L_0333: stloc.s 18 (RimWorld.Building_Bed)
L_0335: ldloc.s 18 (RimWorld.Building_Bed)
L_0337: brfalse Label26
L_033c: ldloc.s 18 (RimWorld.Building_Bed)
L_033e: br Label33
L_0343: Label25
L_0343: Label26
L_0343: ldloc.s 16 (System.Int32)
L_0345: ldc.i4.1
L_0346: add
L_0347: stloc.s 16 (System.Int32)
L_0349: Label23
L_0349: ldloc.s 16 (System.Int32)
L_034b: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_0350: callvirt Int32 get_Count()
L_0355: blt Label27
L_035a: ldloc.s 14 (System.Int32)
L_035c: ldc.i4.1
L_035d: add
L_035e: stloc.s 14 (System.Int32)
L_0360: Label20
L_0360: ldloc.s 14 (System.Int32)
L_0362: ldc.i4.2
L_0363: blt Label28
L_0368: ldnull
L_0369: Label29
L_0369: Label30
L_0369: Label31
L_0369: Label32
L_0369: Label33
L_0369: stloc 19 (RimWorld.Building_Bed)
L_036b: ldloca 19 (RimWorld.Building_Bed)
L_036d: ldarg 0
L_0373: call Void DontRescueVehicles(RimWorld.Building_Bed ByRef, Verse.Pawn)
L_0378: ldloc 19 (RimWorld.Building_Bed)
L_037a: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ret
DONE

### Patch RimWorld.BaseGen.SymbolResolver_RandomMechanoidGroup, Boolean


<Resolve>m__0(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: stloc 0 (System.Boolean)
L_0012: ldloca 0 (System.Boolean)
L_0014: ldarg 0
L_001a: call Void MechanoidsFixerAncient(Boolean ByRef, Verse.PawnKindDef)
L_001f: ldloc 0 (System.Boolean)
L_0020: ret
DONE

### Patch RimWorld.CompSpawnerMechanoidsOnDamaged, Boolean


<TrySpawnMechanoids>m__1(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: brfalse Label1
L_0016: ldarg.1
L_0017: ldfld System.Boolean isFighter
L_001c: brfalse Label2
L_0021: ldarg.1
L_0022: ldfld System.Single combatPower
L_0027: ldarg.0
L_0028: ldfld System.Single pointsLeft
L_002d: cgt.un
L_002f: ldc.i4.0
L_0030: ceq
L_0032: br Label3
L_0037: Label1
L_0037: Label2
L_0037: ldc.i4.0
L_0038: Label3
L_0038: stloc 0 (System.Boolean)
L_0039: ldloca 0 (System.Boolean)
L_003b: ldarg 1
L_0041: call Void MechanoidsFixer(Boolean ByRef, Verse.PawnKindDef)
L_0046: ldloc 0 (System.Boolean)
L_0047: ret
DONE

### Patch RimWorld.ThinkNode_ConditionalColonist, Boolean Satisfied(Verse.Pawn)


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsColonist()
L_000c: stloc 0 (System.Boolean)
L_000d: ldarg 1
L_0013: ldloca 0 (System.Boolean)
L_0015: call Void Satisfied_PostFix(Verse.Pawn, Boolean ByRef)
L_001a: ldloc 0 (System.Boolean)
L_001b: ret
DONE

### Patch RimWorld.JobGiver_Haul, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: RimWorld.JobGiver_Haul+<TryGiveJob>c__AnonStorey0
L_0000: Local var 1: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldarg 1
L_0008: ldloca 3 (Verse.AI.Job)
L_000a: call Boolean TryGiveJob_PreFix(Verse.Pawn, Verse.AI.Job ByRef)
L_000f: brfalse Label0
L_0014: newobj Void .ctor()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: ldarg.1
L_001c: stfld Verse.Pawn pawn
L_0021: ldloc.0
L_0022: ldftn Boolean <>m__0(Verse.Thing)
L_0028: newobj Void .ctor(Object, IntPtr)
L_002d: stloc.1
L_002e: ldloc.0
L_002f: ldfld Verse.Pawn pawn
L_0034: callvirt IntVec3 get_Position()
L_0039: ldloc.0
L_003a: ldfld Verse.Pawn pawn
L_003f: callvirt Verse.Map get_Map()
L_0044: ldloc.0
L_0045: ldfld Verse.Pawn pawn
L_004a: callvirt Verse.Map get_Map()
L_004f: ldfld RimWorld.ListerHaulables listerHaulables
L_0054: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsPotentiallyNeedingHauling()
L_0059: ldc.i4.1
L_005a: ldloc.0
L_005b: ldfld Verse.Pawn pawn
L_0060: ldc.i4.3
L_0061: ldc.i4.0
L_0062: ldc.i4.0
L_0063: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0068: ldc.r4 9999
L_006d: ldloc.1
L_006e: ldnull
L_006f: call Verse.Thing ClosestThing_Global_Reachable(IntVec3, Verse.Map,
IEnumerable`1, PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing],
System.Func`2[Verse.Thing,System.Single])
L_0074: stloc.2
L_0075: ldloc.2
L_0076: brfalse Label1
L_007b: ldloc.0
L_007c: ldfld Verse.Pawn pawn
L_0081: ldloc.2
L_0082: call Verse.AI.Job HaulToStorageJob(Verse.Pawn, Verse.Thing)
L_0087: br Label2
L_008c: Label1
L_008c: ldnull
L_008d: Label2
L_008d: stloc 3 (Verse.AI.Job)
L_008e: Label0
L_008e: ldloc 3 (Verse.AI.Job)
L_008f: ret
DONE

### Patch Verse.AI.JobGiver_Orders, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 0 (Verse.AI.Job)
L_0002: ldarg.1
L_0003: callvirt Boolean get_Drafted()
L_0008: brfalse Label1
L_000d: ldsfld Verse.JobDef Wait_Combat
L_0012: ldarg.1
L_0013: callvirt IntVec3 get_Position()
L_0018: call LocalTargetInfo op_Implicit(IntVec3)
L_001d: newobj Void .ctor(JobDef, LocalTargetInfo)
L_0022: br Label2
L_0027: Label1
L_0027: ldnull
L_0028: Label2
L_0028: stloc 0 (Verse.AI.Job)
L_0029: ldloca 0 (Verse.AI.Job)
L_002b: ldarg 1
L_0031: call Void PreventWaitAttackError(Verse.AI.Job ByRef, Verse.Pawn)
L_0036: ldloc 0 (Verse.AI.Job)
L_0037: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemDuties(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldc.i4.0
L_000c: stloc.0
L_000d: br Label1
L_0012: Label6
L_0012: ldarg.0
L_0013: ldfld Verse.AI.Group.Lord lord
L_0018: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_001d: ldloc.0
L_001e: callvirt Verse.Pawn get_Item(Int32)
L_0023: stloc.1
L_0024: ldloc.1
L_0025: callvirt Boolean get_IsColonist()
L_002a: brfalse Label2
L_002f: ldloc.1
L_0030: ldfld Verse.AI.Pawn_MindState mindState
L_0035: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherItems
L_003a: newobj Void .ctor(DutyDef)
L_003f: stfld Verse.AI.PawnDuty duty
L_0044: br Label3
L_0049: Label2
L_0049: ldloc.1
L_004a: callvirt Verse.RaceProperties get_RaceProps()
L_004f: callvirt Boolean get_Animal()
L_0054: brfalse Label4
L_0059: ldloc.1
L_005a: ldfld Verse.AI.Pawn_MindState mindState
L_005f: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0064: ldarg.0
L_0065: ldfld Verse.IntVec3 meetingPoint
L_006a: call LocalTargetInfo op_Implicit(IntVec3)
L_006f: ldc.r4 -1
L_0074: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_0079: stfld Verse.AI.PawnDuty duty
L_007e: br Label5
L_0083: Label4
L_0083: ldloc.1
L_0084: ldfld Verse.AI.Pawn_MindState mindState
L_0089: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_008e: newobj Void .ctor(DutyDef)
L_0093: stfld Verse.AI.PawnDuty duty
L_0098: Label3
L_0098: Label5
L_0098: ldloc.0
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.0
L_009c: Label1
L_009c: ldloc.0
L_009d: ldarg.0
L_009e: ldfld Verse.AI.Group.Lord lord
L_00a3: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_00a8: callvirt Int32 get_Count()
L_00ad: blt Label6
L_00b2: Label0
L_00b2: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherAnimals, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadAnimalDuties(RimWorld.LordToil_PrepareCaravan_GatherAnimals)
L_0006: ldc.i4.0
L_0007: stloc.0
L_0008: br Label1
L_000d: Label5
L_000d: ldarg.0
L_000e: ldfld Verse.AI.Group.Lord lord
L_0013: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0018: ldloc.0
L_0019: callvirt Verse.Pawn get_Item(Int32)
L_001e: stloc.1
L_001f: ldloc.1
L_0020: callvirt Boolean get_IsColonist()
L_0025: brtrue Label2
L_002a: ldloc.1
L_002b: callvirt Verse.RaceProperties get_RaceProps()
L_0030: callvirt Boolean get_Animal()
L_0035: brfalse Label3
L_003a: Label2
L_003a: ldloc.1
L_003b: ldfld Verse.AI.Pawn_MindState mindState
L_0040: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherPawns
L_0045: ldarg.0
L_0046: ldfld Verse.IntVec3 meetingPoint
L_004b: call LocalTargetInfo op_Implicit(IntVec3)
L_0050: ldc.r4 -1
L_0055: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_005a: stfld Verse.AI.PawnDuty duty
L_005f: ldloc.1
L_0060: ldfld Verse.AI.Pawn_MindState mindState
L_0065: ldfld Verse.AI.PawnDuty duty
L_006a: ldc.i4.1
L_006b: stfld RimWorld.PawnsToGather pawnsToGather
L_0070: br Label4
L_0075: Label3
L_0075: ldloc.1
L_0076: ldfld Verse.AI.Pawn_MindState mindState
L_007b: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0080: newobj Void .ctor(DutyDef)
L_0085: stfld Verse.AI.PawnDuty duty
L_008a: Label4
L_008a: ldloc.0
L_008b: ldc.i4.1
L_008c: add
L_008d: stloc.0
L_008e: Label1
L_008e: ldloc.0
L_008f: ldarg.0
L_0090: ldfld Verse.AI.Group.Lord lord
L_0095: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_009a: callvirt Int32 get_Count()
L_009f: blt Label5
L_00a4: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherSlaves, Void LordToilTick()


L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadSlaveDuties(RimWorld.LordToil_PrepareCaravan_GatherSlaves)
L_0006: call Verse.TickManager get_TickManager()
L_000b: callvirt Int32 get_TicksGame()
L_0010: ldc.i4.s 100
L_0012: rem
L_0013: brtrue Label1
L_0018: ldarg.0
L_0019: ldfld Verse.AI.Group.Lord lord
L_001e: ldarg.0
L_001f: ldfld Verse.IntVec3 meetingPoint
L_0024: ldstr "AllSlavesGathered"
L_0029: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_002e: brtrue Label2
L_0033: ldnull
L_0034: ldftn Boolean <LordToilTick>m__0(Verse.Pawn)
L_003a: newobj Void .ctor(Object, IntPtr)
L_003f: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0044: Label2
L_0044: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0049: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_004e: brtrue Label3
L_0053: ldnull
L_0054: ldftn Boolean IsFollowingAnyone(Verse.Pawn)
L_005a: newobj Void .ctor(Object, IntPtr)
L_005f: stsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0064: Label3
L_0064: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0069: call Void CheckArrived(Verse.AI.Group.Lord, IntVec3, System.String,
System.Predicate`1[Verse.Pawn], System.Predicate`1[Verse.Pawn])
L_006e: Label1
L_006e: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void LordToilTick()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemToil(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void LordToilTick()
L_0011: call Verse.TickManager get_TickManager()
L_0016: callvirt Int32 get_TicksGame()
L_001b: ldc.i4.s 120
L_001d: rem
L_001e: brtrue Label1
L_0023: ldc.i4.1
L_0024: stloc.0
L_0025: ldc.i4.0
L_0026: stloc.1
L_0027: br Label2
L_002c: Label6
L_002c: ldarg.0
L_002d: ldfld Verse.AI.Group.Lord lord
L_0032: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0037: ldloc.1
L_0038: callvirt Verse.Pawn get_Item(Int32)
L_003d: stloc.2
L_003e: ldloc.2
L_003f: callvirt Boolean get_IsColonist()
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldfld Verse.AI.Pawn_MindState mindState
L_004f: ldfld Verse.AI.JobTag lastJobTag
L_0054: ldc.i4.8
L_0055: beq Label4
L_005a: ldc.i4.0
L_005b: stloc.0
L_005c: br Label5
L_0061: Label3
L_0061: Label4
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label2
L_0065: ldloc.1
L_0066: ldarg.0
L_0067: ldfld Verse.AI.Group.Lord lord
L_006c: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0071: callvirt Int32 get_Count()
L_0076: blt Label6
L_007b: Label5
L_007b: ldloc.0
L_007c: brfalse Label7
L_0081: ldarg.0
L_0082: call Verse.Map get_Map()
L_0087: ldfld Verse.MapPawns mapPawns
L_008c: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_0091: stloc.3
L_0092: ldc.i4.0
L_0093: stloc.s 4 (System.Int32)
L_0095: br Label8
L_009a: Label13
L_009a: ldloc.3
L_009b: ldloc.s 4 (System.Int32)
L_009d: callvirt Verse.Pawn get_Item(Int32)
L_00a2: callvirt Verse.AI.Job get_CurJob()
L_00a7: brfalse Label9
L_00ac: ldloc.3
L_00ad: ldloc.s 4 (System.Int32)
L_00af: callvirt Verse.Pawn get_Item(Int32)
L_00b4: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b9: ldfld Verse.AI.JobDriver curDriver
L_00be: isinst RimWorld.JobDriver_PrepareCaravan_GatherItems
L_00c3: brfalse Label10
L_00c8: ldloc.3
L_00c9: ldloc.s 4 (System.Int32)
L_00cb: callvirt Verse.Pawn get_Item(Int32)
L_00d0: callvirt Verse.AI.Job get_CurJob()
L_00d5: ldfld Verse.AI.Group.Lord lord
L_00da: ldarg.0
L_00db: ldfld Verse.AI.Group.Lord lord
L_00e0: bne.un Label11
L_00e5: ldc.i4.0
L_00e6: stloc.0
L_00e7: br Label12
L_00ec: Label9
L_00ec: Label10
L_00ec: Label11
L_00ec: ldloc.s 4 (System.Int32)
L_00ee: ldc.i4.1
L_00ef: add
L_00f0: stloc.s 4 (System.Int32)
L_00f2: Label8
L_00f2: ldloc.s 4 (System.Int32)
L_00f4: ldloc.3
L_00f5: callvirt Int32 get_Count()
L_00fa: blt Label13
L_00ff: Label7
L_00ff: Label12
L_00ff: ldloc.0
L_0100: brfalse Label14
L_0105: ldarg.0
L_0106: ldfld Verse.AI.Group.Lord lord
L_010b: ldstr "AllItemsGathered"
L_0110: callvirt Void ReceiveMemo(System.String)
L_0115: Label1
L_0115: Label14
L_0115: Label0
L_0115: ret
DONE

### Patch RimWorld.Planet.Caravan_NeedsTracker, Void


TrySatisfyPawnNeeds(Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Need, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Need
L_0000: Local var 3: RimWorld.Need_Rest
L_0000: Local var 4: RimWorld.Need_Food
L_0000: Local var 5: RimWorld.Need_Chemical
L_0000: Local var 6: RimWorld.Need_Joy
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean TrySatisfyFuelNeeds(RimWorld.Planet.Caravan_NeedsTracker,
Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: callvirt Boolean get_Dead()
L_0017: brfalse Label1
L_001c: br Label11
L_0021: Label1
L_0021: ldarg.1
L_0022: ldfld RimWorld.Pawn_NeedsTracker needs
L_0027: callvirt System.Collections.Generic.List`1[RimWorld.Need] get_AllNeeds()
L_002c: stloc.0
L_002d: ldc.i4.0
L_002e: stloc.1
L_002f: br Label2
L_0034: Label10
L_0034: ldloc.0
L_0035: ldloc.1
L_0036: callvirt RimWorld.Need get_Item(Int32)
L_003b: stloc.2
L_003c: ldloc.2
L_003d: isinst RimWorld.Need_Rest
L_0042: stloc.3
L_0043: ldloc.2
L_0044: isinst RimWorld.Need_Food
L_0049: stloc.s 4 (RimWorld.Need_Food)
L_004b: ldloc.2
L_004c: isinst RimWorld.Need_Chemical
L_0051: stloc.s 5 (RimWorld.Need_Chemical)
L_0053: ldloc.2
L_0054: isinst RimWorld.Need_Joy
L_0059: stloc.s 6 (RimWorld.Need_Joy)
L_005b: ldloc.3
L_005c: brfalse Label3
L_0061: ldarg.0
L_0062: ldarg.1
L_0063: ldloc.3
L_0064: call Void TrySatisfyRestNeed(Verse.Pawn, RimWorld.Need_Rest)
L_0069: br Label4
L_006e: Label3
L_006e: ldloc.s 4 (RimWorld.Need_Food)
L_0070: brfalse Label5
L_0075: ldarg.0
L_0076: ldarg.1
L_0077: ldloc.s 4 (RimWorld.Need_Food)
L_0079: call Void TrySatisfyFoodNeed(Verse.Pawn, RimWorld.Need_Food)
L_007e: br Label6
L_0083: Label5
L_0083: ldloc.s 5 (RimWorld.Need_Chemical)
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: ldarg.1
L_008c: ldloc.s 5 (RimWorld.Need_Chemical)
L_008e: call Void TrySatisfyChemicalNeed(Verse.Pawn, RimWorld.Need_Chemical)
L_0093: br Label8
L_0098: Label7
L_0098: ldloc.s 6 (RimWorld.Need_Joy)
L_009a: brfalse Label9
L_009f: ldarg.0
L_00a0: ldarg.1
L_00a1: ldloc.s 6 (RimWorld.Need_Joy)
L_00a3: call Void TrySatisfyJoyNeed(Verse.Pawn, RimWorld.Need_Joy)
L_00a8: Label4
L_00a8: Label6
L_00a8: Label8
L_00a8: Label9
L_00a8: ldloc.1
L_00a9: ldc.i4.1
L_00aa: add
L_00ab: stloc.1
L_00ac: Label2
L_00ac: ldloc.1
L_00ad: ldloc.0
L_00ae: callvirt Int32 get_Count()
L_00b3: blt Label10
L_00b8: Label11
L_00b8: Label0
L_00b8: ret
DONE
### Patch RimWorld.JobGiver_PrepareCaravan_GatherItems, Verse.AI.Job
TryGiveJob(Verse.Pawn)
L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: Verse.AI.Job
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldloca 3 (Verse.AI.Job)
L_0004: ldarg 1
L_000a: call Boolean TryGiveItemJob_PreFix(Verse.AI.Job ByRef, Verse.Pawn)
L_000f: brfalse Label0
L_0014: ldarg.1
L_0015: ldfld Verse.Pawn_HealthTracker health
L_001a: ldfld Verse.PawnCapacitiesHandler capacities
L_001f: ldsfld Verse.PawnCapacityDef Manipulation
L_0024: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0029: brtrue Label1
L_002e: ldnull
L_002f: br Label3
L_0034: Label1
L_0034: ldarg.1
L_0035: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_003a: stloc.0
L_003b: ldarg.1
L_003c: ldloc.0
L_003d: call Verse.Thing FindThingToHaul(Verse.Pawn, Verse.AI.Group.Lord)
L_0042: stloc.1
L_0043: ldloc.1
L_0044: brtrue Label2
L_0049: ldnull
L_004a: br Label4
L_004f: Label2
L_004f: ldsfld Verse.JobDef PrepareCaravan_GatherItems
L_0054: ldloc.1
L_0055: call LocalTargetInfo op_Implicit(Verse.Thing)
L_005a: newobj Void .ctor(JobDef, LocalTargetInfo)
L_005f: stloc.2
L_0060: ldloc.2
L_0061: ldloc.0
L_0062: stfld Verse.AI.Group.Lord lord
L_0067: ldloc.2
L_0068: Label3
L_0068: Label4
L_0068: stloc 3 (Verse.AI.Job)
L_0069: Label0
L_0069: ldloc 3 (Verse.AI.Job)
L_006a: ret
DONE

### Patch RimWorld.Planet.Caravan, Void AddPawn(Verse.Pawn, Boolean)


L_0000: Local var 0: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: ldarg 2
L_000d: call Boolean AddVehiclePawnsToCaravan(RimWorld.Planet.Caravan, Verse.Pawn,
Boolean)
L_0012: brfalse Label0
L_0017: ldarg.1
L_0018: brtrue Label1
L_001d: ldstr "Tried to add a null pawn to "
L_0022: ldarg.0
L_0023: call System.String Concat(System.Object, System.Object)
L_0028: ldc.i4.0
L_0029: call Void Warning(System.String, Boolean)
L_002e: br Label11
L_0033: Label1
L_0033: ldarg.1
L_0034: callvirt Boolean get_Dead()
L_0039: brfalse Label2
L_003e: ldc.i4.5
L_003f: newarr System.Object
L_0044: dup
L_0045: ldc.i4.0
L_0046: ldstr "Tried to add "
L_004b: stelem.ref
L_004c: dup
L_004d: ldc.i4.1
L_004e: ldarg.1
L_004f: stelem.ref
L_0050: dup
L_0051: ldc.i4.2
L_0052: ldstr " to "
L_0057: stelem.ref
L_0058: dup
L_0059: ldc.i4.3
L_005a: ldarg.0
L_005b: stelem.ref
L_005c: dup
L_005d: ldc.i4.4
L_005e: ldstr ", but this pawn is dead."
L_0063: stelem.ref
L_0064: call System.String Concat(System.Object[])
L_0069: ldc.i4.0
L_006a: call Void Warning(System.String, Boolean)
L_006f: br Label12
L_0074: Label2
L_0074: ldarg.1
L_0075: ldfld Verse.Pawn_CarryTracker carryTracker
L_007a: callvirt Verse.Thing get_CarriedThing()
L_007f: isinst Verse.Pawn
L_0084: stloc.0
L_0085: ldloc.0
L_0086: brfalse Label3
L_008b: ldarg.1
L_008c: ldfld Verse.Pawn_CarryTracker carryTracker
L_0091: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_0096: ldloc.0
L_0097: callvirt Boolean Remove(Verse.Thing)
L_009c: pop
L_009d: Label3
L_009d: ldarg.1
L_009e: callvirt Boolean get_Spawned()
L_00a3: brfalse Label4
L_00a8: ldarg.1
L_00a9: ldc.i4.0
L_00aa: callvirt Void DeSpawn(DestroyMode)
L_00af: Label4
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00b5: ldarg.1
L_00b6: ldc.i4.1
L_00b7: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_00bc: brfalse Label5
L_00c1: ldarg.0
L_00c2: ldarg.1
L_00c3: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00c8: brfalse Label6
L_00cd: ldarg.1
L_00ce: ldfld RimWorld.Pawn_GuestTracker guest
L_00d3: ldarg.0
L_00d4: call RimWorld.Faction get_Faction()
L_00d9: ldnull
L_00da: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_00df: Label6
L_00df: ldloc.0
L_00e0: brfalse Label7
L_00e5: ldarg.0
L_00e6: ldloc.0
L_00e7: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00ec: brfalse Label8
L_00f1: ldloc.0
L_00f2: ldfld RimWorld.Pawn_GuestTracker guest
L_00f7: ldarg.0
L_00f8: call RimWorld.Faction get_Faction()
L_00fd: ldarg.1
L_00fe: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_0103: Label8
L_0103: ldarg.0
L_0104: ldloc.0
L_0105: ldarg.2
L_0106: call Void AddPawn(Verse.Pawn, Boolean)
L_010b: ldarg.2
L_010c: brfalse Label9
L_0111: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_0116: ldloc.0
L_0117: ldc.i4.0
L_0118: callvirt Void PassToWorld(Verse.Pawn, PawnDiscardDecideMode)
L_011d: Label7
L_011d: Label9
L_011d: br Label10
L_0122: Label5
L_0122: ldstr "Couldn't add pawn "
L_0127: ldarg.1
L_0128: ldstr " to caravan."
L_012d: call System.String Concat(System.Object, System.Object, System.Object)
L_0132: ldc.i4.0
L_0133: call Void Error(System.String, Boolean)
L_0138: Label10
L_0138: Label11
L_0138: Label12
L_0138: Label0
L_0138: ret
DONE

### Patch RimWorld.Planet.Dialog_SplitCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldarg 1
L_000d: ldloca 0 (System.Boolean)
L_000f: call Boolean
DontSplitCaravansWithVehicles(RimWorld.Planet.Dialog_SplitCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0014: brfalse Label0
L_0019: ldarg.1
L_001a: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_001f: brtrue Label1
L_0024: ldnull
L_0025: ldftn Boolean <CheckForErrors>m__4(Verse.Pawn)
L_002b: newobj Void .ctor(Object, IntPtr)
L_0030: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_0035: Label1
L_0035: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_003a: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_003f: brtrue Label2
L_0044: ldstr "CaravanMustHaveAtLeastOneColonist"
L_0049: call System.String Translate(System.String)
L_004e: ldarg.0
L_004f: ldfld RimWorld.Planet.Caravan caravan
L_0054: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_0059: ldsfld Verse.MessageTypeDef RejectInput
L_005e: ldc.i4.0
L_005f: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0064: ldc.i4.0
L_0065: br Label4
L_006a: Label2
L_006a: ldarg.0
L_006b: ldarg.1
L_006c: call Boolean
AnyNonDownedColonistLeftInSourceCaravan(System.Collections.Generic.List`1[Verse.Paw
n])
L_0071: brtrue Label3
L_0076: ldstr "SourceCaravanMustHaveAtLeastOneColonist"
L_007b: call System.String Translate(System.String)
L_0080: ldarg.0
L_0081: ldfld RimWorld.Planet.Caravan caravan
L_0086: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_008b: ldsfld Verse.MessageTypeDef RejectInput
L_0090: ldc.i4.0
L_0091: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0096: ldc.i4.0
L_0097: br Label5
L_009c: Label3
L_009c: ldc.i4.1
L_009d: Label4
L_009d: Label5
L_009d: stloc 0 (System.Boolean)
L_009e: Label0
L_009e: ldloc 0 (System.Boolean)
L_009f: ret
DONE

### Patch RimWorld.Dialog_FormCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey1
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3
L_0000: Local var 7: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Boolean)
L_0007: ldarg.0
L_0008: ldarg 1
L_000e: ldloca 7 (System.Boolean)
L_0010: call Boolean CheckForErrors_PreFix(RimWorld.Dialog_FormCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0015: brfalse Label0
L_001a: newobj Void .ctor()
L_001f: stloc.0
L_0020: ldloc.0
L_0021: ldarg.1
L_0022: stfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0027: ldarg.0
L_0028: call Boolean get_MustChooseRoute()
L_002d: brfalse Label1
L_0032: ldarg.0
L_0033: ldfld System.Int32 destinationTile
L_0038: ldc.i4.0
L_0039: bge Label2
L_003e: ldstr "MessageMustChooseRouteFirst"
L_0043: call System.String Translate(System.String)
L_0048: ldsfld Verse.MessageTypeDef RejectInput
L_004d: ldc.i4.0
L_004e: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0053: ldc.i4.0
L_0054: br Label24
L_0059: Label1
L_0059: Label2
L_0059: ldarg.0
L_005a: ldfld System.Boolean reform
L_005f: brtrue Label3
L_0064: ldarg.0
L_0065: ldfld System.Int32 startingTile
L_006a: ldc.i4.0
L_006b: bge Label4
L_0070: ldstr "MessageNoValidExitTile"
L_0075: call System.String Translate(System.String)
L_007a: ldsfld Verse.MessageTypeDef RejectInput
L_007f: ldc.i4.0
L_0080: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0085: ldc.i4.0
L_0086: br Label25
L_008b: Label3
L_008b: Label4
L_008b: ldloc.0
L_008c: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0091: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_0096: brtrue Label5
L_009b: ldnull
L_009c: ldftn Boolean <CheckForErrors>m__B(Verse.Pawn)
L_00a2: newobj Void .ctor(Object, IntPtr)
L_00a7: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00ac: Label5
L_00ac: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00b1: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_00b6: brtrue Label6
L_00bb: ldstr "CaravanMustHaveAtLeastOneColonist"
L_00c0: call System.String Translate(System.String)
L_00c5: ldsfld Verse.MessageTypeDef RejectInput
L_00ca: ldc.i4.0
L_00cb: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_00d0: ldc.i4.0
L_00d1: br Label26
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Boolean reform
L_00dc: brtrue Label7
L_00e1: ldarg.0
L_00e2: call Single get_MassUsage()
L_00e7: ldarg.0
L_00e8: call Single get_MassCapacity()
L_00ed: ble.un Label8
L_00f2: ldarg.0
L_00f3: call Void FlashMass()
L_00f8: ldstr "TooBigCaravanMassUsage"
L_00fd: call System.String Translate(System.String)
L_0102: ldsfld Verse.MessageTypeDef RejectInput
L_0107: ldc.i4.0
L_0108: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_010d: ldc.i4.0
L_010e: br Label27
L_0113: Label7
L_0113: Label8
L_0113: ldloc.0
L_0114: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0119: ldloc.0
L_011a: ldftn Boolean <>m__0(Verse.Pawn)
L_0120: newobj Void .ctor(Object, IntPtr)
L_0125: callvirt Verse.Pawn Find(System.Predicate`1[Verse.Pawn])
L_012a: stloc.1
L_012b: ldloc.1
L_012c: brfalse Label9
L_0131: ldstr "CaravanPawnIsUnreachable"
L_0136: ldc.i4.1
L_0137: newarr System.Object
L_013c: dup
L_013d: ldc.i4.0
L_013e: ldloc.1
L_013f: callvirt System.String get_LabelShort()
L_0144: stelem.ref
L_0145: call System.String Translate(System.String, System.Object[])
L_014a: call System.String CapitalizeFirst(System.String)
L_014f: ldloc.1
L_0150: call Verse.LookTargets op_Implicit(Verse.Thing)
L_0155: ldsfld Verse.MessageTypeDef RejectInput
L_015a: ldc.i4.0
L_015b: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0160: ldc.i4.0
L_0161: br Label28
L_0166: Label9
L_0166: ldc.i4.0
L_0167: stloc.2
L_0168: br Label10
L_016d: Label23
L_016d: ldarg.0
L_016e: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0173: ldloc.2
L_0174: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0179: callvirt Verse.ThingDef get_ThingDef()
L_017e: ldfld Verse.ThingCategory category
L_0183: ldc.i4.2
L_0184: beq Label11
L_0189: br Label12
L_018e: Label11
L_018e: ldarg.0
L_018f: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0194: ldloc.2
L_0195: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_019a: callvirt Int32 get_CountToTransfer()
L_019f: stloc.3
L_01a0: ldc.i4.0
L_01a1: stloc.s 4 (System.Int32)
L_01a3: ldloc.3
L_01a4: ldc.i4.0
L_01a5: ble Label13
L_01aa: ldc.i4.0
L_01ab: stloc.s 5 (System.Int32)
L_01ad: br Label14
L_01b2: Label19
L_01b2: newobj Void .ctor()
L_01b7: stloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01b9: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01bb: ldarg.0
L_01bc: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_01c1: ldloc.2
L_01c2: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_01c7: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_01cc: ldloc.s 5 (System.Int32)
L_01ce: callvirt Verse.Thing get_Item(Int32)
L_01d3: stfld Verse.Thing t
L_01d8: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01da: ldfld Verse.Thing t
L_01df: callvirt Boolean get_Spawned()
L_01e4: brfalse Label15
L_01e9: ldloc.0
L_01ea: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_01ef: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01f1: ldftn Boolean <>m__0(Verse.Pawn)
L_01f7: newobj Void .ctor(Object, IntPtr)
L_01fc: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_0201: brfalse Label16
L_0206: Label15
L_0206: ldloc.s 4 (System.Int32)
L_0208: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_020a: ldfld Verse.Thing t
L_020f: ldfld System.Int32 stackCount
L_0214: add
L_0215: stloc.s 4 (System.Int32)
L_0217: ldloc.s 4 (System.Int32)
L_0219: ldloc.3
L_021a: blt Label17
L_021f: br Label18
L_0224: Label16
L_0224: Label17
L_0224: ldloc.s 5 (System.Int32)
L_0226: ldc.i4.1
L_0227: add
L_0228: stloc.s 5 (System.Int32)
L_022a: Label14
L_022a: ldloc.s 5 (System.Int32)
L_022c: ldarg.0
L_022d: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0232: ldloc.2
L_0233: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0238: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_023d: callvirt Int32 get_Count()
L_0242: blt Label19
L_0247: Label18
L_0247: ldloc.s 4 (System.Int32)
L_0249: ldloc.3
L_024a: bge Label20
L_024f: ldloc.3
L_0250: ldc.i4.1
L_0251: bne.un Label21
L_0256: ldstr "CaravanItemIsUnreachableSingle"
L_025b: ldc.i4.1
L_025c: newarr System.Object
L_0261: dup
L_0262: ldc.i4.0
L_0263: ldarg.0
L_0264: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0269: ldloc.2
L_026a: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_026f: callvirt Verse.ThingDef get_ThingDef()
L_0274: ldfld System.String label
L_0279: stelem.ref
L_027a: call System.String Translate(System.String, System.Object[])
L_027f: ldsfld Verse.MessageTypeDef RejectInput
L_0284: ldc.i4.0
L_0285: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_028a: br Label22
L_028f: Label21
L_028f: ldstr "CaravanItemIsUnreachableMulti"
L_0294: ldc.i4.2
L_0295: newarr System.Object
L_029a: dup
L_029b: ldc.i4.0
L_029c: ldloc.3
L_029d: box System.Int32
L_02a2: stelem.ref
L_02a3: dup
L_02a4: ldc.i4.1
L_02a5: ldarg.0
L_02a6: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02ab: ldloc.2
L_02ac: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_02b1: callvirt Verse.ThingDef get_ThingDef()
L_02b6: ldfld System.String label
L_02bb: stelem.ref
L_02bc: call System.String Translate(System.String, System.Object[])
L_02c1: ldsfld Verse.MessageTypeDef RejectInput
L_02c6: ldc.i4.0
L_02c7: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_02cc: Label22
L_02cc: ldc.i4.0
L_02cd: br Label29
L_02d2: Label12
L_02d2: Label13
L_02d2: Label20
L_02d2: ldloc.2
L_02d3: ldc.i4.1
L_02d4: add
L_02d5: stloc.2
L_02d6: Label10
L_02d6: ldloc.2
L_02d7: ldarg.0
L_02d8: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02dd: callvirt Int32 get_Count()
L_02e2: blt Label23
L_02e7: ldc.i4.1
L_02e8: Label24
L_02e8: Label25
L_02e8: Label26
L_02e8: Label27
L_02e8: Label28
L_02e8: Label29
L_02e8: stloc 7 (System.Boolean)
L_02ea: Label0
L_02ea: ldloc 7 (System.Boolean)
L_02ec: ret
DONE

### Patch RimWorld.Planet.CaravanUIUtility, Void


AddPawnsSections(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[RimWorld.TransferableOneWay, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.1
L_0001: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0006: brtrue Label1
L_000b: ldnull
L_000c: ldftn Boolean <AddPawnsSections>m__1(RimWorld.TransferableOneWay)
L_0012: newobj Void .ctor(Object, IntPtr)
L_0017: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_001c: Label1
L_001c: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0021: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0026: stloc.0
L_0027: ldarg.0
L_0028: ldstr "ColonistsSection"
L_002d: call System.String Translate(System.String)
L_0032: ldloc.0
L_0033: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0038: brtrue Label2
L_003d: ldnull
L_003e: ldftn Boolean <AddPawnsSections>m__2(RimWorld.TransferableOneWay)
L_0044: newobj Void .ctor(Object, IntPtr)
L_0049: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_004e: Label2
L_004e: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0053: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0058: callvirt Void AddSection(System.String, IEnumerable`1)
L_005d: ldarg.0
L_005e: ldstr "PrisonersSection"
L_0063: call System.String Translate(System.String)
L_0068: ldloc.0
L_0069: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_006e: brtrue Label3
L_0073: ldnull
L_0074: ldftn Boolean <AddPawnsSections>m__3(RimWorld.TransferableOneWay)
L_007a: newobj Void .ctor(Object, IntPtr)
L_007f: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0084: Label3
L_0084: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0089: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_008e: callvirt Void AddSection(System.String, IEnumerable`1)
L_0093: ldarg.0
L_0094: ldstr "CaptureSection"
L_0099: call System.String Translate(System.String)
L_009e: ldloc.0
L_009f: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00a4: brtrue Label4
L_00a9: ldnull
L_00aa: ldftn Boolean <AddPawnsSections>m__4(RimWorld.TransferableOneWay)
L_00b0: newobj Void .ctor(Object, IntPtr)
L_00b5: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00ba: Label4
L_00ba: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00bf: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00c4: callvirt Void AddSection(System.String, IEnumerable`1)
L_00c9: ldarg.0
L_00ca: ldstr "AnimalsSection"
L_00cf: call System.String Translate(System.String)
L_00d4: ldloc.0
L_00d5: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00da: brtrue Label5
L_00df: ldnull
L_00e0: ldftn Boolean <AddPawnsSections>m__5(RimWorld.TransferableOneWay)
L_00e6: newobj Void .ctor(Object, IntPtr)
L_00eb: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f0: Label5
L_00f0: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f5: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00fa: callvirt Void AddSection(System.String, IEnumerable`1)
L_00ff: ldarg 0
L_0105: ldarg 1
L_010b: call Void AddPawnsSections_PostFix(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0110: ret
DONE

### Patch RimWorld.Planet.CaravanExitMapUtility, Boolean


CanExitMapAndJoinOrCreateCaravanNow(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Boolean get_Spawned()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label5
L_0017: Label1
L_0017: ldarg.0
L_0018: callvirt Verse.Map get_Map()
L_001d: ldfld Verse.ExitMapGrid exitMapGrid
L_0022: callvirt Boolean get_MapUsesExitGrid()
L_0027: brtrue Label2
L_002c: ldc.i4.0
L_002d: br Label6
L_0032: Label2
L_0032: ldarg.0
L_0033: callvirt Boolean get_IsColonist()
L_0038: brtrue Label3
L_003d: ldarg.0
L_003e: call RimWorld.Planet.Caravan FindCaravanToJoinFor(Verse.Pawn)
L_0043: ldnull
L_0044: ceq
L_0046: ldc.i4.0
L_0047: ceq
L_0049: br Label4
L_004e: Label3
L_004e: ldc.i4.1
L_004f: Label4
L_004f: Label5
L_004f: Label6
L_004f: stloc 0 (System.Boolean)
L_0050: ldarg 0
L_0056: ldloca 0 (System.Boolean)
L_0058: call Void CanExit_PostFix(Verse.Pawn, Boolean ByRef)
L_005d: ldloc 0 (System.Boolean)
L_005e: ret
DONE

### Patch RimWorld.MassUtility, Single Capacity(Verse.Pawn,


System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Single
L_0000: ldc.r4 0
L_0005: stloc 1 (System.Single)
L_0006: ldarg.0
L_0007: call Boolean CanEverCarryAnything(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldc.r4 0
L_0016: br Label4
L_001b: Label1
L_001b: ldarg.0
L_001c: callvirt Single get_BodySize()
L_0021: ldc.r4 35
L_0026: mul
L_0027: stloc.0
L_0028: ldarg.1
L_0029: brfalse Label2
L_002e: ldarg.1
L_002f: callvirt Int32 get_Length()
L_0034: ldc.i4.0
L_0035: ble Label3
L_003a: ldarg.1
L_003b: callvirt System.Text.StringBuilder AppendLine()
L_0040: pop
L_0041: Label3
L_0041: ldarg.1
L_0042: ldstr " - "
L_0047: ldarg.0
L_0048: callvirt System.String get_LabelShortCap()
L_004d: ldstr ": "
L_0052: ldloc.0
L_0053: call System.String ToStringMassOffset(Single)
L_0058: call System.String Concat(System.String, System.String, System.String,
System.String)
L_005d: callvirt System.Text.StringBuilder Append(System.String)
L_0062: pop
L_0063: Label2
L_0063: ldloc.0
L_0064: Label4
L_0064: stloc 1 (System.Single)
L_0065: ldloca 1 (System.Single)
L_0067: ldarg 0
L_006d: call Void Capacity_PostFix(Single ByRef, Verse.Pawn)
L_0072: ldloc 1 (System.Single)
L_0073: ret
DONE

### Patch RimWorld.Planet.CaravanTicksPerMoveUtility, Int32


GetTicksPerMove(System.Collections.Generic.List`1[Verse.Pawn], Single, Single,
System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Single
L_0000: Local var 3: System.Single
L_0000: Local var 4: System.Single
L_0000: Local var 5: System.Single
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Single
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldarg.0
L_0008: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn])
L_000d: brfalse Label1
L_0012: ldarg.3
L_0013: brfalse Label2
L_0018: ldarg.3
L_0019: ldstr "CaravanMovementSpeedFull"
L_001e: call System.String Translate(System.String)
L_0023: ldstr ":"
L_0028: call System.String Concat(System.String, System.String)
L_002d: callvirt System.Text.StringBuilder Append(System.String)
L_0032: pop
L_0033: Label2
L_0033: ldc.r4 0
L_0038: stloc.0
L_0039: ldc.i4.0
L_003a: stloc.1
L_003b: br Label3
L_0040: Label11
L_0040: ldarg.0
L_0041: ldloc.1
L_0042: callvirt Verse.Pawn get_Item(Int32)
L_0047: callvirt Boolean get_Downed()
L_004c: brtrue Label4
L_0051: ldarg.0
L_0052: ldloc.1
L_0053: callvirt Verse.Pawn get_Item(Int32)
L_0058: call Boolean CarriedByCaravan(Verse.Pawn)
L_005d: brfalse Label5
L_0062: Label4
L_0062: ldc.i4 450
L_0067: br Label6
L_006c: Label5
L_006c: ldarg.0
L_006d: ldloc.1
L_006e: callvirt Verse.Pawn get_Item(Int32)
L_0073: callvirt Int32 get_TicksPerMoveCardinal()
L_0078: Label6
L_0078: conv.r4
L_0079: stloc.2
L_007a: ldloc.2
L_007b: ldc.r4 150
L_0080: call Single Min(Single, Single)
L_0085: ldc.r4 340
L_008a: mul
L_008b: stloc.2
L_008c: ldc.r4 60000
L_0091: ldloc.2
L_0092: conv.r4
L_0093: div
L_0094: stloc.3
L_0095: ldarg.3
L_0096: brfalse Label7
L_009b: ldarg.3
L_009c: callvirt System.Text.StringBuilder AppendLine()
L_00a1: pop
L_00a2: ldarg.3
L_00a3: ldc.i4.6
L_00a4: newarr System.String
L_00a9: dup
L_00aa: ldc.i4.0
L_00ab: ldstr " - "
L_00b0: stelem.ref
L_00b1: dup
L_00b2: ldc.i4.1
L_00b3: ldarg.0
L_00b4: ldloc.1
L_00b5: callvirt Verse.Pawn get_Item(Int32)
L_00ba: callvirt System.String get_LabelShortCap()
L_00bf: stelem.ref
L_00c0: dup
L_00c1: ldc.i4.2
L_00c2: ldstr ": "
L_00c7: stelem.ref
L_00c8: dup
L_00c9: ldc.i4.3
L_00ca: ldloca.s 3 (System.Single)
L_00cc: ldstr "0.#"
L_00d1: call System.String ToString(System.String)
L_00d6: stelem.ref
L_00d7: dup
L_00d8: ldc.i4.4
L_00d9: ldstr " "
L_00de: stelem.ref
L_00df: dup
L_00e0: ldc.i4.5
L_00e1: ldstr "TilesPerDay"
L_00e6: call System.String Translate(System.String)
L_00eb: stelem.ref
L_00ec: call System.String Concat(System.String[])
L_00f1: callvirt System.Text.StringBuilder Append(System.String)
L_00f6: pop
L_00f7: ldarg.0
L_00f8: ldloc.1
L_00f9: callvirt Verse.Pawn get_Item(Int32)
L_00fe: callvirt Boolean get_Downed()
L_0103: brfalse Label8
L_0108: ldarg.3
L_0109: ldstr " ("
L_010e: ldstr "DownedLower"
L_0113: call System.String Translate(System.String)
L_0118: ldstr ")"
L_011d: call System.String Concat(System.String, System.String, System.String)
L_0122: callvirt System.Text.StringBuilder Append(System.String)
L_0127: pop
L_0128: br Label9
L_012d: Label8
L_012d: ldarg.0
L_012e: ldloc.1
L_012f: callvirt Verse.Pawn get_Item(Int32)
L_0134: call Boolean CarriedByCaravan(Verse.Pawn)
L_0139: brfalse Label10
L_013e: ldarg.3
L_013f: ldstr " ("
L_0144: ldstr "Carried"
L_0149: call System.String Translate(System.String)
L_014e: ldstr ")"
L_0153: call System.String Concat(System.String, System.String, System.String)
L_0158: callvirt System.Text.StringBuilder Append(System.String)
L_015d: pop
L_015e: Label7
L_015e: Label9
L_015e: Label10
L_015e: ldloc.0
L_015f: ldloc.2
L_0160: ldarg.0
L_0161: callvirt Int32 get_Count()
L_0166: conv.r4
L_0167: div
L_0168: add
L_0169: stloc.0
L_016a: ldloc.1
L_016b: ldc.i4.1
L_016c: add
L_016d: stloc.1
L_016e: Label3
L_016e: ldloc.1
L_016f: ldarg.0
L_0170: callvirt Int32 get_Count()
L_0175: blt Label11
L_017a: ldarg.1
L_017b: ldarg.2
L_017c: call Single GetMoveSpeedFactorFromMass(Single, Single)
L_0181: stloc.s 4 (System.Single)
L_0183: ldarg.3
L_0184: brfalse Label12
L_0189: ldc.r4 60000
L_018e: ldloc.0
L_018f: conv.r4
L_0190: div
L_0191: stloc.s 5 (System.Single)
L_0193: ldarg.3
L_0194: callvirt System.Text.StringBuilder AppendLine()
L_0199: pop
L_019a: ldarg.3
L_019b: ldc.i4.6
L_019c: newarr System.String
L_01a1: dup
L_01a2: ldc.i4.0
L_01a3: ldstr " "
L_01a8: stelem.ref
L_01a9: dup
L_01aa: ldc.i4.1
L_01ab: ldstr "Average"
L_01b0: call System.String Translate(System.String)
L_01b5: stelem.ref
L_01b6: dup
L_01b7: ldc.i4.2
L_01b8: ldstr ": "
L_01bd: stelem.ref
L_01be: dup
L_01bf: ldc.i4.3
L_01c0: ldloca.s 5 (System.Single)
L_01c2: ldstr "0.#"
L_01c7: call System.String ToString(System.String)
L_01cc: stelem.ref
L_01cd: dup
L_01ce: ldc.i4.4
L_01cf: ldstr " "
L_01d4: stelem.ref
L_01d5: dup
L_01d6: ldc.i4.5
L_01d7: ldstr "TilesPerDay"
L_01dc: call System.String Translate(System.String)
L_01e1: stelem.ref
L_01e2: call System.String Concat(System.String[])
L_01e7: callvirt System.Text.StringBuilder Append(System.String)
L_01ec: pop
L_01ed: ldarg.3
L_01ee: callvirt System.Text.StringBuilder AppendLine()
L_01f3: pop
L_01f4: ldarg.3
L_01f5: ldstr " "
L_01fa: ldstr "MultiplierForCarriedMass"
L_01ff: ldc.i4.1
L_0200: newarr System.Object
L_0205: dup
L_0206: ldc.i4.0
L_0207: ldloc.s 4 (System.Single)
L_0209: call System.String ToStringPercent(Single)
L_020e: stelem.ref
L_020f: call System.String Translate(System.String, System.Object[])
L_0214: call System.String Concat(System.String, System.String)
L_0219: callvirt System.Text.StringBuilder Append(System.String)
L_021e: pop
L_021f: Label12
L_021f: ldloc.0
L_0220: ldloc.s 4 (System.Single)
L_0222: div
L_0223: call Int32 RoundToInt(Single)
L_0228: ldc.i4.1
L_0229: call Int32 Max(Int32, Int32)
L_022e: stloc.s 6 (System.Int32)
L_0230: ldarg.3
L_0231: brfalse Label13
L_0236: ldc.r4 60000
L_023b: ldloc.s 6 (System.Int32)
L_023d: conv.r4
L_023e: div
L_023f: stloc.s 7 (System.Single)
L_0241: ldarg.3
L_0242: callvirt System.Text.StringBuilder AppendLine()
L_0247: pop
L_0248: ldarg.3
L_0249: ldc.i4.6
L_024a: newarr System.String
L_024f: dup
L_0250: ldc.i4.0
L_0251: ldstr " "
L_0256: stelem.ref
L_0257: dup
L_0258: ldc.i4.1
L_0259: ldstr "FinalCaravanPawnsMovementSpeed"
L_025e: call System.String Translate(System.String)
L_0263: stelem.ref
L_0264: dup
L_0265: ldc.i4.2
L_0266: ldstr ": "
L_026b: stelem.ref
L_026c: dup
L_026d: ldc.i4.3
L_026e: ldloca.s 7 (System.Single)
L_0270: ldstr "0.#"
L_0275: call System.String ToString(System.String)
L_027a: stelem.ref
L_027b: dup
L_027c: ldc.i4.4
L_027d: ldstr " "
L_0282: stelem.ref
L_0283: dup
L_0284: ldc.i4.5
L_0285: ldstr "TilesPerDay"
L_028a: call System.String Translate(System.String)
L_028f: stelem.ref
L_0290: call System.String Concat(System.String[])
L_0295: callvirt System.Text.StringBuilder Append(System.String)
L_029a: pop
L_029b: Label13
L_029b: ldloc.s 6 (System.Int32)
L_029d: br Label15
L_02a2: Label1
L_02a2: ldarg.3
L_02a3: brfalse Label14
L_02a8: ldarg.3
L_02a9: call Void AppendUsingDefaultTicksPerMoveInfo(System.Text.StringBuilder)
L_02ae: Label14
L_02ae: ldc.i4 3300
L_02b3: Label15
L_02b3: stloc 8 (System.Int32)
L_02b5: ldarg 0
L_02bb: ldloca 8 (System.Int32)
L_02bd: call Void
GetTicksPerMove_PostFix(System.Collections.Generic.List`1[Verse.Pawn], Int32 ByRef)
L_02c2: ldloc 8 (System.Int32)
L_02c4: ret
DONE
### Patch RimWorld.Planet.CaravanEnterMapUtility, Void
Enter(RimWorld.Planet.Caravan, Verse.Map, System.Func`2[Verse.Pawn,Verse.IntVec3],
CaravanDropInventoryMode, Boolean)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: call Void Enter_PreFix(RimWorld.Planet.Caravan)
L_000b: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0010: callvirt Void Clear()
L_0015: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_001a: ldarg.0
L_001b: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_0020: callvirt Void AddRange(IEnumerable`1)
L_0025: ldc.i4.0
L_0026: stloc.0
L_0027: br Label1
L_002c: Label2
L_002c: ldarg.2
L_002d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0032: ldloc.0
L_0033: callvirt Verse.Pawn get_Item(Int32)
L_0038: callvirt IntVec3 Invoke(Verse.Pawn)
L_003d: stloc.1
L_003e: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0043: ldloc.0
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: ldloc.1
L_004a: ldarg.1
L_004b: call Rot4 get_Random()
L_0050: ldc.i4.0
L_0051: ldc.i4.0
L_0052: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0057: pop
L_0058: ldloc.0
L_0059: ldc.i4.1
L_005a: add
L_005b: stloc.0
L_005c: Label1
L_005c: ldloc.0
L_005d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0062: callvirt Int32 get_Count()
L_0067: blt Label2
L_006c: ldarg.3
L_006d: ldc.i4.1
L_006e: bne.un Label3
L_0073: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0078: call Void DropAllInventory(System.Collections.Generic.List`1[Verse.Pawn])
L_007d: br Label4
L_0082: Label3
L_0082: ldarg.3
L_0083: ldc.i4.2
L_0084: bne.un Label5
L_0089: ldc.i4.0
L_008a: stloc.2
L_008b: br Label6
L_0090: Label7
L_0090: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0095: ldloc.2
L_0096: callvirt Verse.Pawn get_Item(Int32)
L_009b: ldfld Verse.Pawn_InventoryTracker inventory
L_00a0: ldc.i4.1
L_00a1: callvirt Void set_UnloadEverything(Boolean)
L_00a6: ldloc.2
L_00a7: ldc.i4.1
L_00a8: add
L_00a9: stloc.2
L_00aa: Label6
L_00aa: ldloc.2
L_00ab: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00b0: callvirt Int32 get_Count()
L_00b5: blt Label7
L_00ba: Label4
L_00ba: Label5
L_00ba: ldarg.s 4
L_00bc: brfalse Label8
L_00c1: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00c6: call Void DraftColonists(System.Collections.Generic.List`1[Verse.Pawn])
L_00cb: Label8
L_00cb: ldarg.1
L_00cc: callvirt Boolean get_IsPlayerHome()
L_00d1: brfalse Label9
L_00d6: ldc.i4.0
L_00d7: stloc.3
L_00d8: br Label10
L_00dd: Label12
L_00dd: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00e2: ldloc.3
L_00e3: callvirt Verse.Pawn get_Item(Int32)
L_00e8: callvirt Boolean get_IsPrisoner()
L_00ed: brfalse Label11
L_00f2: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00f7: ldloc.3
L_00f8: callvirt Verse.Pawn get_Item(Int32)
L_00fd: ldfld RimWorld.Pawn_GuestTracker guest
L_0102: callvirt Void WaitInsteadOfEscapingForDefaultTicks()
L_0107: Label11
L_0107: ldloc.3
L_0108: ldc.i4.1
L_0109: add
L_010a: stloc.3
L_010b: Label10
L_010b: ldloc.3
L_010c: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0111: callvirt Int32 get_Count()
L_0116: blt Label12
L_011b: Label9
L_011b: ldarg.0
L_011c: callvirt Void RemoveAllPawns()
L_0121: ldarg.0
L_0122: callvirt Boolean get_Spawned()
L_0127: brfalse Label13
L_012c: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_0131: ldarg.0
L_0132: callvirt Void Remove(RimWorld.Planet.WorldObject)
L_0137: Label13
L_0137: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_013c: callvirt Void Clear()
L_0141: ret
DONE

### Patch RimWorld.Planet.Caravan, System.String GetInspectString()


L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Int32
L_0000: Local var 7: RimWorld.Planet.SettlementBase
L_0000: Local var 8: System.Single
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Int32
L_0000: Local var 11: System.String
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: ldnull
L_0001: stloc 13 (System.String)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: call System.String GetInspectString()
L_0010: callvirt System.Text.StringBuilder Append(System.String)
L_0015: pop
L_0016: ldloc.0
L_0017: callvirt Int32 get_Length()
L_001c: brfalse Label1
L_0021: ldloc.0
L_0022: callvirt System.Text.StringBuilder AppendLine()
L_0027: pop
L_0028: Label1
L_0028: ldc.i4.0
L_0029: stloc.1
L_002a: ldc.i4.0
L_002b: stloc.2
L_002c: ldc.i4.0
L_002d: stloc.3
L_002e: ldc.i4.0
L_002f: stloc.s 4 (System.Int32)
L_0031: ldc.i4.0
L_0032: stloc.s 5 (System.Int32)
L_0034: ldc.i4.0
L_0035: stloc.s 6 (System.Int32)
L_0037: br Label2
L_003c: Label10
L_003c: ldarg.0
L_003d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0042: ldloc.s 6 (System.Int32)
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: callvirt Boolean get_IsColonist()
L_004e: brfalse Label3
L_0053: ldloc.1
L_0054: ldc.i4.1
L_0055: add
L_0056: stloc.1
L_0057: br Label4
L_005c: Label3
L_005c: ldarg.0
L_005d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0062: ldloc.s 6 (System.Int32)
L_0064: callvirt Verse.Pawn get_Item(Int32)
L_0069: callvirt Verse.RaceProperties get_RaceProps()
L_006e: callvirt Boolean get_Animal()
L_0073: brfalse Label5
L_0078: ldloc.2
L_0079: ldc.i4.1
L_007a: add
L_007b: stloc.2
L_007c: br Label6
L_0081: Label5
L_0081: ldarg.0
L_0082: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0087: ldloc.s 6 (System.Int32)
L_0089: callvirt Verse.Pawn get_Item(Int32)
L_008e: callvirt Boolean get_IsPrisoner()
L_0093: brfalse Label7
L_0098: ldloc.3
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.3
L_009c: Label4
L_009c: Label6
L_009c: Label7
L_009c: ldarg.0
L_009d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00a2: ldloc.s 6 (System.Int32)
L_00a4: callvirt Verse.Pawn get_Item(Int32)
L_00a9: callvirt Boolean get_Downed()
L_00ae: brfalse Label8
L_00b3: ldloc.s 4 (System.Int32)
L_00b5: ldc.i4.1
L_00b6: add
L_00b7: stloc.s 4 (System.Int32)
L_00b9: Label8
L_00b9: ldarg.0
L_00ba: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00bf: ldloc.s 6 (System.Int32)
L_00c1: callvirt Verse.Pawn get_Item(Int32)
L_00c6: callvirt Boolean get_InMentalState()
L_00cb: brfalse Label9
L_00d0: ldloc.s 5 (System.Int32)
L_00d2: ldc.i4.1
L_00d3: add
L_00d4: stloc.s 5 (System.Int32)
L_00d6: Label9
L_00d6: ldloc.s 6 (System.Int32)
L_00d8: ldc.i4.1
L_00d9: add
L_00da: stloc.s 6 (System.Int32)
L_00dc: Label2
L_00dc: ldloc.s 6 (System.Int32)
L_00de: ldarg.0
L_00df: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00e4: callvirt Int32 get_Count()
L_00e9: blt Label10
L_00ee: ldloc.0
L_00ef: ldstr "CaravanColonistsCount"
L_00f4: ldc.i4.2
L_00f5: newarr System.Object
L_00fa: dup
L_00fb: ldc.i4.0
L_00fc: ldloc.1
L_00fd: box System.Int32
L_0102: stelem.ref
L_0103: dup
L_0104: ldc.i4.1
L_0105: ldloc.1
L_0106: ldc.i4.1
L_0107: bne.un Label11
L_010c: call RimWorld.Faction get_OfPlayer()
L_0111: ldfld RimWorld.FactionDef def
L_0116: ldfld System.String pawnSingular
L_011b: br Label12
L_0120: Label11
L_0120: call RimWorld.Faction get_OfPlayer()
L_0125: ldfld RimWorld.FactionDef def
L_012a: ldfld System.String pawnsPlural
L_012f: Label12
L_012f: stelem.ref
L_0130: call System.String Translate(System.String, System.Object[])
L_0135: callvirt System.Text.StringBuilder Append(System.String)
L_013a: pop
L_013b: ldloc.2
L_013c: ldc.i4.1
L_013d: bne.un Label13
L_0142: ldloc.0
L_0143: ldstr ", "
L_0148: ldstr "CaravanAnimal"
L_014d: call System.String Translate(System.String)
L_0152: call System.String Concat(System.String, System.String)
L_0157: callvirt System.Text.StringBuilder Append(System.String)
L_015c: pop
L_015d: br Label14
L_0162: Label13
L_0162: ldloc.2
L_0163: ldc.i4.1
L_0164: ble Label15
L_0169: ldloc.0
L_016a: ldstr ", "
L_016f: ldstr "CaravanAnimalsCount"
L_0174: ldc.i4.1
L_0175: newarr System.Object
L_017a: dup
L_017b: ldc.i4.0
L_017c: ldloc.2
L_017d: box System.Int32
L_0182: stelem.ref
L_0183: call System.String Translate(System.String, System.Object[])
L_0188: call System.String Concat(System.String, System.String)
L_018d: callvirt System.Text.StringBuilder Append(System.String)
L_0192: pop
L_0193: Label14
L_0193: Label15
L_0193: ldloc.3
L_0194: ldc.i4.1
L_0195: bne.un Label16
L_019a: ldloc.0
L_019b: ldstr ", "
L_01a0: ldstr "CaravanPrisoner"
L_01a5: call System.String Translate(System.String)
L_01aa: call System.String Concat(System.String, System.String)
L_01af: callvirt System.Text.StringBuilder Append(System.String)
L_01b4: pop
L_01b5: br Label17
L_01ba: Label16
L_01ba: ldloc.3
L_01bb: ldc.i4.1
L_01bc: ble Label18
L_01c1: ldloc.0
L_01c2: ldstr ", "
L_01c7: ldstr "CaravanPrisonersCount"
L_01cc: ldc.i4.1
L_01cd: newarr System.Object
L_01d2: dup
L_01d3: ldc.i4.0
L_01d4: ldloc.3
L_01d5: box System.Int32
L_01da: stelem.ref
L_01db: call System.String Translate(System.String, System.Object[])
L_01e0: call System.String Concat(System.String, System.String)
L_01e5: callvirt System.Text.StringBuilder Append(System.String)
L_01ea: pop
L_01eb: Label17
L_01eb: Label18
L_01eb: ldloc.0
L_01ec: callvirt System.Text.StringBuilder AppendLine()
L_01f1: pop
L_01f2: ldloc.s 5 (System.Int32)
L_01f4: ldc.i4.0
L_01f5: ble Label19
L_01fa: ldloc.0
L_01fb: ldstr "CaravanPawnsInMentalState"
L_0200: ldc.i4.1
L_0201: newarr System.Object
L_0206: dup
L_0207: ldc.i4.0
L_0208: ldloc.s 5 (System.Int32)
L_020a: box System.Int32
L_020f: stelem.ref
L_0210: call System.String Translate(System.String, System.Object[])
L_0215: callvirt System.Text.StringBuilder Append(System.String)
L_021a: pop
L_021b: Label19
L_021b: ldloc.s 4 (System.Int32)
L_021d: ldc.i4.0
L_021e: ble Label20
L_0223: ldloc.s 5 (System.Int32)
L_0225: ldc.i4.0
L_0226: ble Label21
L_022b: ldloc.0
L_022c: ldstr ", "
L_0231: callvirt System.Text.StringBuilder Append(System.String)
L_0236: pop
L_0237: Label21
L_0237: ldloc.0
L_0238: ldstr "CaravanPawnsDowned"
L_023d: ldc.i4.1
L_023e: newarr System.Object
L_0243: dup
L_0244: ldc.i4.0
L_0245: ldloc.s 4 (System.Int32)
L_0247: box System.Int32
L_024c: stelem.ref
L_024d: call System.String Translate(System.String, System.Object[])
L_0252: callvirt System.Text.StringBuilder Append(System.String)
L_0257: pop
L_0258: Label20
L_0258: ldloc.s 5 (System.Int32)
L_025a: ldc.i4.0
L_025b: bgt Label22
L_0260: ldloc.s 4 (System.Int32)
L_0262: ldc.i4.0
L_0263: ble Label23
L_0268: Label22
L_0268: ldloc.0
L_0269: callvirt System.Text.StringBuilder AppendLine()
L_026e: pop
L_026f: Label23
L_026f: ldarg.0
L_0270: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0275: callvirt Boolean get_Moving()
L_027a: brfalse Label24
L_027f: ldarg.0
L_0280: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0285: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_028a: brfalse Label25
L_028f: ldloc.0
L_0290: ldarg.0
L_0291: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0296: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_029b: callvirt System.String get_ReportString()
L_02a0: callvirt System.Text.StringBuilder Append(System.String)
L_02a5: pop
L_02a6: br Label26
L_02ab: Label25
L_02ab: ldloc.0
L_02ac: ldstr "CaravanTraveling"
L_02b1: call System.String Translate(System.String)
L_02b6: callvirt System.Text.StringBuilder Append(System.String)
L_02bb: pop
L_02bc: Label26
L_02bc: br Label27
L_02c1: Label24
L_02c1: ldarg.0
L_02c2: call RimWorld.Planet.SettlementBase
SettlementVisitedNow(RimWorld.Planet.Caravan)
L_02c7: stloc.s 7 (RimWorld.Planet.SettlementBase)
L_02c9: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02cb: brfalse Label28
L_02d0: ldloc.0
L_02d1: ldstr "CaravanVisiting"
L_02d6: ldc.i4.1
L_02d7: newarr System.Object
L_02dc: dup
L_02dd: ldc.i4.0
L_02de: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02e0: callvirt System.String get_Label()
L_02e5: stelem.ref
L_02e6: call System.String Translate(System.String, System.Object[])
L_02eb: callvirt System.Text.StringBuilder Append(System.String)
L_02f0: pop
L_02f1: br Label29
L_02f6: Label28
L_02f6: ldloc.0
L_02f7: ldstr "CaravanWaiting"
L_02fc: call System.String Translate(System.String)
L_0301: callvirt System.Text.StringBuilder Append(System.String)
L_0306: pop
L_0307: Label27
L_0307: Label29
L_0307: ldarg.0
L_0308: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_030d: callvirt Boolean get_Moving()
L_0312: brfalse Label30
L_0317: ldarg.0
L_0318: ldc.i4.1
L_0319: call Int32 EstimatedTicksToArrive(RimWorld.Planet.Caravan, Boolean)
L_031e: conv.r4
L_031f: ldc.r4 60000
L_0324: div
L_0325: stloc.s 8 (System.Single)
L_0327: ldloc.0
L_0328: callvirt System.Text.StringBuilder AppendLine()
L_032d: pop
L_032e: ldloc.0
L_032f: ldstr "CaravanEstimatedTimeToDestination"
L_0334: ldc.i4.1
L_0335: newarr System.Object
L_033a: dup
L_033b: ldc.i4.0
L_033c: ldloca.s 8 (System.Single)
L_033e: ldstr "0.#"
L_0343: call System.String ToString(System.String)
L_0348: stelem.ref
L_0349: call System.String Translate(System.String, System.Object[])
L_034e: callvirt System.Text.StringBuilder Append(System.String)
L_0353: pop
L_0354: Label30
L_0354: ldarg.0
L_0355: call Boolean get_AllOwnersDowned()
L_035a: brfalse Label31
L_035f: ldloc.0
L_0360: callvirt System.Text.StringBuilder AppendLine()
L_0365: pop
L_0366: ldloc.0
L_0367: ldstr "AllCaravanMembersDowned"
L_036c: call System.String Translate(System.String)
L_0371: callvirt System.Text.StringBuilder Append(System.String)
L_0376: pop
L_0377: br Label32
L_037c: Label31
L_037c: ldarg.0
L_037d: call Boolean get_AllOwnersHaveMentalBreak()
L_0382: brfalse Label33
L_0387: ldloc.0
L_0388: callvirt System.Text.StringBuilder AppendLine()
L_038d: pop
L_038e: ldloc.0
L_038f: ldstr "AllCaravanMembersMentalBreak"
L_0394: call System.String Translate(System.String)
L_0399: callvirt System.Text.StringBuilder Append(System.String)
L_039e: pop
L_039f: br Label34
L_03a4: Label33
L_03a4: ldarg.0
L_03a5: call Boolean get_ImmobilizedByMass()
L_03aa: brfalse Label35
L_03af: ldloc.0
L_03b0: callvirt System.Text.StringBuilder AppendLine()
L_03b5: pop
L_03b6: ldloc.0
L_03b7: ldstr "CaravanImmobilizedByMass"
L_03bc: call System.String Translate(System.String)
L_03c1: callvirt System.Text.StringBuilder Append(System.String)
L_03c6: pop
L_03c7: Label32
L_03c7: Label34
L_03c7: Label35
L_03c7: ldarg.0
L_03c8: ldfld RimWorld.Planet.Caravan_NeedsTracker needs
L_03cd: ldloca.s 9 (System.String)
L_03cf: callvirt Boolean AnyPawnOutOfFood(System.String ByRef)
L_03d4: brfalse Label36
L_03d9: ldloc.0
L_03da: callvirt System.Text.StringBuilder AppendLine()
L_03df: pop
L_03e0: ldloc.0
L_03e1: ldstr "CaravanOutOfFood"
L_03e6: call System.String Translate(System.String)
L_03eb: callvirt System.Text.StringBuilder Append(System.String)
L_03f0: pop
L_03f1: ldloc.s 9 (System.String)
L_03f3: call Boolean NullOrEmpty(System.String)
L_03f8: brtrue Label37
L_03fd: ldloc.0
L_03fe: ldstr " "
L_0403: callvirt System.Text.StringBuilder Append(System.String)
L_0408: pop
L_0409: ldloc.0
L_040a: ldloc.s 9 (System.String)
L_040c: callvirt System.Text.StringBuilder Append(System.String)
L_0411: pop
L_0412: ldloc.0
L_0413: ldstr "."
L_0418: callvirt System.Text.StringBuilder Append(System.String)
L_041d: pop
L_041e: Label36
L_041e: Label37
L_041e: ldarg.0
L_041f: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0424: callvirt Boolean get_MovingNow()
L_0429: brtrue Label38
L_042e: ldarg.0
L_042f: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_0434: callvirt Int32 GetUsedBedCount()
L_0439: stloc.s 10 (System.Int32)
L_043b: ldloc.0
L_043c: callvirt System.Text.StringBuilder AppendLine()
L_0441: pop
L_0442: ldloc.0
L_0443: ldstr "CaravanResting"
L_0448: call System.String Translate(System.String)
L_044d: ldloc.s 10 (System.Int32)
L_044f: call System.String AppendUsingBedsLabel(System.String, Int32)
L_0454: callvirt System.Text.StringBuilder Append(System.String)
L_0459: pop
L_045a: br Label39
L_045f: Label38
L_045f: ldarg.0
L_0460: ldfld RimWorld.Planet.Caravan_CarryTracker carryTracker
L_0465: callvirt System.String GetInspectStringLine()
L_046a: stloc.s 11 (System.String)
L_046c: ldloc.s 11 (System.String)
L_046e: call Boolean NullOrEmpty(System.String)
L_0473: brtrue Label40
L_0478: ldloc.0
L_0479: callvirt System.Text.StringBuilder AppendLine()
L_047e: pop
L_047f: ldloc.0
L_0480: ldloc.s 11 (System.String)
L_0482: callvirt System.Text.StringBuilder Append(System.String)
L_0487: pop
L_0488: Label40
L_0488: ldarg.0
L_0489: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_048e: callvirt System.String GetInBedForMedicalReasonsInspectStringLine()
L_0493: stloc.s 12 (System.String)
L_0495: ldloc.s 12 (System.String)
L_0497: call Boolean NullOrEmpty(System.String)
L_049c: brtrue Label41
L_04a1: ldloc.0
L_04a2: callvirt System.Text.StringBuilder AppendLine()
L_04a7: pop
L_04a8: ldloc.0
L_04a9: ldloc.s 12 (System.String)
L_04ab: callvirt System.Text.StringBuilder Append(System.String)
L_04b0: pop
L_04b1: Label39
L_04b1: Label41
L_04b1: ldloc.0
L_04b2: callvirt System.String ToString()
L_04b7: stloc 13 (System.String)
L_04b9: ldarg.0
L_04ba: ldloca 13 (System.String)
L_04bc: call Void GetInspectString_Jobs(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c1: ldarg.0
L_04c2: ldloca 13 (System.String)
L_04c4: call Void GetInspectString_PostFix(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c9: ldloc 13 (System.String)
L_04cb: ret
DONE

### Patch Verse.Pawn, Void Tick()


L_0000: Local var 0: System.Boolean
L_0000: ldsfld System.Boolean noAnimals
L_0005: brfalse Label1
L_000a: ldarg.0
L_000b: call Boolean get_Spawned()
L_0010: brfalse Label2
L_0015: ldarg.0
L_0016: call Verse.RaceProperties get_RaceProps()
L_001b: callvirt Boolean get_Animal()
L_0020: brfalse Label3
L_0025: ldarg.0
L_0026: ldc.i4.0
L_0027: callvirt Void Destroy(DestroyMode)
L_002c: br Label23
L_0031: Label1
L_0031: Label2
L_0031: Label3
L_0031: ldarg.0
L_0032: call Void Tick()
L_0037: call Verse.TickManager get_TickManager()
L_003c: callvirt Int32 get_TicksGame()
L_0041: ldc.i4 250
L_0046: rem
L_0047: brtrue Label4
L_004c: ldarg.0
L_004d: callvirt Void TickRare()
L_0052: Label4
L_0052: ldarg.0
L_0053: call Boolean get_Suspended()
L_0058: stloc.0
L_0059: ldloc.0
L_005a: brtrue Label5
L_005f: ldarg.0
L_0060: call Boolean get_Spawned()
L_0065: brfalse Label6
L_006a: ldarg.0
L_006b: ldfld Verse.AI.Pawn_PathFollower pather
L_0070: callvirt Void PatherTick()
L_0075: Label6
L_0075: ldarg.0
L_0076: call Boolean get_Spawned()
L_007b: brfalse Label7
L_0080: ldarg.0
L_0081: ldfld Verse.Pawn_StanceTracker stances
L_0086: callvirt Void StanceTrackerTick()
L_008b: ldarg.0
L_008c: ldfld Verse.VerbTracker verbTracker
L_0091: callvirt Void VerbsTick()
L_0096: ldarg.0
L_0097: ldfld RimWorld.Pawn_NativeVerbs natives
L_009c: callvirt Void NativeVerbsTick()
L_00a1: Label7
L_00a1: ldarg.0
L_00a2: call Boolean get_Spawned()
L_00a7: brfalse Label8
L_00ac: ldarg.0
L_00ad: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b2: callvirt Void JobTrackerTick()
L_00b7: Label8
L_00b7: ldarg.0
L_00b8: call Boolean get_Spawned()
L_00bd: brfalse Label9
L_00c2: ldarg.0
L_00c3: call Verse.Pawn_DrawTracker get_Drawer()
L_00c8: callvirt Void DrawTrackerTick()
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn_RotationTracker rotationTracker
L_00d3: callvirt Void RotationTrackerTick()
L_00d8: Label9
L_00d8: ldarg.0
L_00d9: ldfld Verse.Pawn_HealthTracker health
L_00de: callvirt Void HealthTick()
L_00e3: ldarg.0
L_00e4: call Boolean get_Dead()
L_00e9: brtrue Label10
L_00ee: ldarg.0
L_00ef: ldfld Verse.AI.Pawn_MindState mindState
L_00f4: callvirt Void MindStateTick()
L_00f9: ldarg.0
L_00fa: ldfld Verse.Pawn_CarryTracker carryTracker
L_00ff: callvirt Void CarryHandsTick()
L_0104: Label5
L_0104: Label10
L_0104: ldarg.0
L_0105: call Boolean get_Dead()
L_010a: brtrue Label11
L_010f: ldarg.0
L_0110: ldfld RimWorld.Pawn_NeedsTracker needs
L_0115: callvirt Void NeedsTrackerTick()
L_011a: Label11
L_011a: ldloc.0
L_011b: brtrue Label12
L_0120: ldarg.0
L_0121: ldfld Verse.Pawn_EquipmentTracker equipment
L_0126: brfalse Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_EquipmentTracker equipment
L_0131: callvirt Void EquipmentTrackerTick()
L_0136: Label13
L_0136: ldarg.0
L_0137: ldfld RimWorld.Pawn_ApparelTracker apparel
L_013c: brfalse Label14
L_0141: ldarg.0
L_0142: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0147: callvirt Void ApparelTrackerTick()
L_014c: Label14
L_014c: ldarg.0
L_014d: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0152: brfalse Label15
L_0157: ldarg.0
L_0158: call Boolean get_Spawned()
L_015d: brfalse Label16
L_0162: ldarg.0
L_0163: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0168: callvirt Void InteractionsTrackerTick()
L_016d: Label15
L_016d: Label16
L_016d: ldarg.0
L_016e: ldfld Verse.Pawn_CallTracker caller
L_0173: brfalse Label17
L_0178: ldarg.0
L_0179: ldfld Verse.Pawn_CallTracker caller
L_017e: callvirt Void CallTrackerTick()
L_0183: Label17
L_0183: ldarg.0
L_0184: ldfld RimWorld.Pawn_SkillTracker skills
L_0189: brfalse Label18
L_018e: ldarg.0
L_018f: ldfld RimWorld.Pawn_SkillTracker skills
L_0194: callvirt Void SkillsTick()
L_0199: Label18
L_0199: ldarg.0
L_019a: ldfld Verse.Pawn_InventoryTracker inventory
L_019f: brfalse Label19
L_01a4: ldarg.0
L_01a5: ldfld Verse.Pawn_InventoryTracker inventory
L_01aa: callvirt Void InventoryTrackerTick()
L_01af: Label19
L_01af: ldarg.0
L_01b0: ldfld RimWorld.Pawn_DraftController drafter
L_01b5: brfalse Label20
L_01ba: ldarg.0
L_01bb: ldfld RimWorld.Pawn_DraftController drafter
L_01c0: callvirt Void DraftControllerTick()
L_01c5: Label20
L_01c5: ldarg.0
L_01c6: ldfld RimWorld.Pawn_RelationsTracker relations
L_01cb: brfalse Label21
L_01d0: ldarg.0
L_01d1: ldfld RimWorld.Pawn_RelationsTracker relations
L_01d6: callvirt Void RelationsTrackerTick()
L_01db: Label21
L_01db: ldarg.0
L_01dc: call Verse.RaceProperties get_RaceProps()
L_01e1: callvirt Boolean get_Humanlike()
L_01e6: brfalse Label22
L_01eb: ldarg.0
L_01ec: ldfld RimWorld.Pawn_GuestTracker guest
L_01f1: callvirt Void GuestTrackerTick()
L_01f6: Label22
L_01f6: ldarg.0
L_01f7: ldfld Verse.Pawn_AgeTracker ageTracker
L_01fc: callvirt Void AgeTick()
L_0201: ldarg.0
L_0202: ldfld RimWorld.Pawn_RecordsTracker records
L_0207: callvirt Void RecordsTick()
L_020c: Label12
L_020c: Label23
L_020c: ldarg.0
L_020d: call Void Patch_Pawn_Tick(Verse.Pawn)
L_0212: ret
DONE

### Patch Verse.PawnGenerator, Void GenerateGearFor(Verse.Pawn,


PawnGenerationRequest)
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void GenerateStartingApparelFor(Verse.Pawn, PawnGenerationRequest)
L_0007: ldarg.0
L_0008: call Void TryGenerateWeaponFor(Verse.Pawn)
L_000d: ldarg.0
L_000e: ldarg.1
L_000f: call Void GenerateInventoryFor(Verse.Pawn, PawnGenerationRequest)
L_0014: ldarg 0
L_001a: ldarga 1
L_0020: call Void Patch_PawnGenerator_GenerateGearFor(Verse.Pawn,
PawnGenerationRequest ByRef)
L_0025: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ret
DONE

### Patch Verse.Pawn_HealthTracker, Void PreApplyDamage(DamageInfo, Boolean ByRef)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarga 1
L_0007: ldarg 2
L_000d: call Boolean PreApplyDamage_PrePatch(Verse.Pawn_HealthTracker, DamageInfo
ByRef, Boolean ByRef)
L_0012: brfalse Label0
L_0017: ldarg.0
L_0018: ldarga 1
L_001e: ldarg 2
L_0024: call Boolean
Patch_Pawn_HealthTracker_PreApplyDamage(Verse.Pawn_HealthTracker, DamageInfo ByRef,
Boolean ByRef)
L_0029: brfalse Label0
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Instigator()
L_0035: brfalse Label1
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt RimWorld.Faction get_Faction()
L_0045: brfalse Label2
L_004a: ldarg.0
L_004b: ldfld Verse.Pawn pawn
L_0050: callvirt RimWorld.Faction get_Faction()
L_0055: callvirt Boolean get_IsPlayer()
L_005a: brfalse Label3
L_005f: ldarg.0
L_0060: ldfld Verse.Pawn pawn
L_0065: callvirt Boolean get_InAggroMentalState()
L_006a: brtrue Label4
L_006f: ldarga.s 1
L_0071: call Verse.Thing get_Instigator()
L_0076: isinst Verse.Pawn
L_007b: stloc.0
L_007c: ldloc.0
L_007d: brfalse Label5
L_0082: ldloc.0
L_0083: ldfld RimWorld.Pawn_GuiltTracker guilt
L_0088: brfalse Label6
L_008d: ldloc.0
L_008e: ldfld Verse.AI.Pawn_MindState mindState
L_0093: brfalse Label7
L_0098: ldloc.0
L_0099: ldfld RimWorld.Pawn_GuiltTracker guilt
L_009e: callvirt Void Notify_Guilty()
L_00a3: Label1
L_00a3: Label2
L_00a3: Label3
L_00a3: Label4
L_00a3: Label5
L_00a3: Label6
L_00a3: Label7
L_00a3: ldarg.0
L_00a4: ldfld Verse.Pawn pawn
L_00a9: callvirt Boolean get_Spawned()
L_00ae: brfalse Label8
L_00b3: ldarg.0
L_00b4: ldfld Verse.Pawn pawn
L_00b9: callvirt IntVec3 get_Position()
L_00be: ldarg.0
L_00bf: ldfld Verse.Pawn pawn
L_00c4: callvirt Verse.Map get_Map()
L_00c9: call Boolean Fogged(IntVec3, Verse.Map)
L_00ce: brtrue Label9
L_00d3: ldarg.0
L_00d4: ldfld Verse.Pawn pawn
L_00d9: ldfld Verse.AI.Pawn_MindState mindState
L_00de: ldc.i4.1
L_00df: callvirt Void set_Active(Boolean)
L_00e4: Label9
L_00e4: ldarg.0
L_00e5: ldfld Verse.Pawn pawn
L_00ea: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00ef: stloc.1
L_00f0: ldloc.1
L_00f1: brfalse Label10
L_00f6: ldloc.1
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: ldarg.1
L_00fe: callvirt Void Notify_PawnDamaged(Verse.Pawn, DamageInfo)
L_0103: Label10
L_0103: ldarga.s 1
L_0105: call Verse.DamageDef get_Def()
L_010a: ldarg.0
L_010b: ldfld Verse.Pawn pawn
L_0110: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0115: brfalse Label11
L_011a: ldarg.0
L_011b: ldfld Verse.Pawn pawn
L_0120: ldc.r4 18
L_0125: ldsfld Verse.ClamorDef Harm
L_012a: call Void DoClamor(Verse.Thing, Single, Verse.ClamorDef)
L_012f: Label11
L_012f: ldarg.0
L_0130: ldfld Verse.Pawn pawn
L_0135: ldfld Verse.AI.Pawn_JobTracker jobs
L_013a: ldarg.1
L_013b: callvirt Void Notify_DamageTaken(DamageInfo)
L_0140: Label8
L_0140: ldarg.0
L_0141: ldfld Verse.Pawn pawn
L_0146: callvirt RimWorld.Faction get_Faction()
L_014b: brfalse Label12
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: callvirt RimWorld.Faction get_Faction()
L_015b: ldarg.0
L_015c: ldfld Verse.Pawn pawn
L_0161: ldarg.1
L_0162: callvirt Void Notify_MemberTookDamage(Verse.Pawn, DamageInfo)
L_0167: call ProgramState get_ProgramState()
L_016c: ldc.i4.2
L_016d: bne.un Label13
L_0172: ldarg.0
L_0173: ldfld Verse.Pawn pawn
L_0178: callvirt RimWorld.Faction get_Faction()
L_017d: call RimWorld.Faction get_OfPlayer()
L_0182: bne.un Label14
L_0187: ldarga.s 1
L_0189: call Verse.DamageDef get_Def()
L_018e: ldarg.0
L_018f: ldfld Verse.Pawn pawn
L_0194: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0199: brfalse Label15
L_019e: ldarg.0
L_019f: ldfld Verse.Pawn pawn
L_01a4: callvirt Boolean get_SpawnedOrAnyParentSpawned()
L_01a9: brfalse Label16
L_01ae: ldarg.0
L_01af: ldfld Verse.Pawn pawn
L_01b4: callvirt Verse.Map get_MapHeld()
L_01b9: ldfld RimWorld.DangerWatcher dangerWatcher
L_01be: callvirt Void Notify_ColonistHarmedExternally()
L_01c3: Label12
L_01c3: Label13
L_01c3: Label14
L_01c3: Label15
L_01c3: Label16
L_01c3: ldarg.0
L_01c4: ldfld Verse.Pawn pawn
L_01c9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ce: brfalse Label17
L_01d3: ldarg.0
L_01d4: ldfld Verse.Pawn pawn
L_01d9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01de: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_01e3: stloc.2
L_01e4: ldc.i4.0
L_01e5: stloc.3
L_01e6: br Label18
L_01eb: Label20
L_01eb: ldloc.2
L_01ec: ldloc.3
L_01ed: callvirt RimWorld.Apparel get_Item(Int32)
L_01f2: ldarg.1
L_01f3: callvirt Boolean CheckPreAbsorbDamage(DamageInfo)
L_01f8: brfalse Label19
L_01fd: ldarg.2
L_01fe: ldc.i4.1
L_01ff: stind.i1
L_0200: br Label32
L_0205: Label19
L_0205: ldloc.3
L_0206: ldc.i4.1
L_0207: add
L_0208: stloc.3
L_0209: Label18
L_0209: ldloc.3
L_020a: ldloc.2
L_020b: callvirt Int32 get_Count()
L_0210: blt Label20
L_0215: Label17
L_0215: ldarg.0
L_0216: ldfld Verse.Pawn pawn
L_021b: callvirt Boolean get_Spawned()
L_0220: brfalse Label21
L_0225: ldarg.0
L_0226: ldfld Verse.Pawn pawn
L_022b: ldfld Verse.Pawn_StanceTracker stances
L_0230: ldarg.1
L_0231: callvirt Void Notify_DamageTaken(DamageInfo)
L_0236: ldarg.0
L_0237: ldfld Verse.Pawn pawn
L_023c: ldfld Verse.Pawn_StanceTracker stances
L_0241: ldfld RimWorld.StunHandler stunner
L_0246: ldarg.1
L_0247: ldarg.0
L_0248: ldfld Verse.Pawn pawn
L_024d: callvirt Verse.RaceProperties get_RaceProps()
L_0252: callvirt Boolean get_IsFlesh()
L_0257: ldc.i4.0
L_0258: ceq
L_025a: callvirt Void Notify_DamageApplied(DamageInfo, Boolean)
L_025f: Label21
L_025f: ldarg.0
L_0260: ldfld Verse.Pawn pawn
L_0265: callvirt Verse.RaceProperties get_RaceProps()
L_026a: callvirt Boolean get_IsFlesh()
L_026f: brfalse Label22
L_0274: ldarga.s 1
L_0276: call Verse.DamageDef get_Def()
L_027b: ldarg.0
L_027c: ldfld Verse.Pawn pawn
L_0281: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0286: brfalse Label23
L_028b: ldarga.s 1
L_028d: call Verse.Thing get_Instigator()
L_0292: isinst Verse.Pawn
L_0297: stloc.s 4 (Verse.Pawn)
L_0299: ldloc.s 4 (Verse.Pawn)
L_029b: brfalse Label24
L_02a0: ldloc.s 4 (Verse.Pawn)
L_02a2: ldarg.0
L_02a3: ldfld Verse.Pawn pawn
L_02a8: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_02ad: brfalse Label25
L_02b2: ldarg.0
L_02b3: ldfld Verse.Pawn pawn
L_02b8: ldfld RimWorld.Pawn_RelationsTracker relations
L_02bd: ldc.i4.1
L_02be: stfld System.Boolean canGetRescuedThought
L_02c3: Label25
L_02c3: ldarg.0
L_02c4: ldfld Verse.Pawn pawn
L_02c9: callvirt Verse.RaceProperties get_RaceProps()
L_02ce: callvirt Boolean get_Humanlike()
L_02d3: brfalse Label26
L_02d8: ldloc.s 4 (Verse.Pawn)
L_02da: callvirt Verse.RaceProperties get_RaceProps()
L_02df: callvirt Boolean get_Humanlike()
L_02e4: brfalse Label27
L_02e9: ldarg.0
L_02ea: ldfld Verse.Pawn pawn
L_02ef: ldfld RimWorld.Pawn_NeedsTracker needs
L_02f4: ldfld RimWorld.Need_Mood mood
L_02f9: brfalse Label28
L_02fe: ldloc.s 4 (Verse.Pawn)
L_0300: ldarg.0
L_0301: ldfld Verse.Pawn pawn
L_0306: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_030b: brfalse Label29
L_0310: ldloc.s 4 (Verse.Pawn)
L_0312: callvirt RimWorld.Faction get_Faction()
L_0317: ldarg.0
L_0318: ldfld Verse.Pawn pawn
L_031d: callvirt RimWorld.Faction get_Faction()
L_0322: bne.un Label30
L_0327: ldloc.s 4 (Verse.Pawn)
L_0329: callvirt Boolean get_InMentalState()
L_032e: brfalse Label31
L_0333: Label29
L_0333: ldarg.0
L_0334: ldfld Verse.Pawn pawn
L_0339: ldfld RimWorld.Pawn_NeedsTracker needs
L_033e: ldfld RimWorld.Need_Mood mood
L_0343: ldfld RimWorld.ThoughtHandler thoughts
L_0348: ldfld RimWorld.MemoryThoughtHandler memories
L_034d: ldsfld RimWorld.ThoughtDef HarmedMe
L_0352: ldloc.s 4 (Verse.Pawn)
L_0354: callvirt Void TryGainMemory(RimWorld.ThoughtDef, Verse.Pawn)
L_0359: Label24
L_0359: Label26
L_0359: Label27
L_0359: Label28
L_0359: Label30
L_0359: Label31
L_0359: ldsfld RimWorld.TaleDef Wounded
L_035e: ldc.i4.3
L_035f: newarr System.Object
L_0364: dup
L_0365: ldc.i4.0
L_0366: ldarg.0
L_0367: ldfld Verse.Pawn pawn
L_036c: stelem.ref
L_036d: dup
L_036e: ldc.i4.1
L_036f: ldloc.s 4 (Verse.Pawn)
L_0371: stelem.ref
L_0372: dup
L_0373: ldc.i4.2
L_0374: ldarga.s 1
L_0376: call Verse.ThingDef get_Weapon()
L_037b: stelem.ref
L_037c: call RimWorld.Tale RecordTale(RimWorld.TaleDef, System.Object[])
L_0381: pop
L_0382: Label22
L_0382: Label23
L_0382: ldarg.2
L_0383: ldc.i4.0
L_0384: stind.i1
L_0385: Label32
L_0385: Label0
L_0385: ret
DONE

### Patch Verse.Pawn_EquipmentTracker, Void MakeRoomFor(Verse.ThingWithComps)


L_0000: Local var 0: Verse.ThingWithComps
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld Verse.EquipmentType equipmentType
L_000b: ldc.i4.1
L_000c: bne.un Label1
L_0011: ldarg.0
L_0012: call Verse.ThingWithComps get_Primary()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: ldarg.0
L_001e: call Verse.ThingWithComps get_Primary()
L_0023: ldloca.s 0 (Verse.ThingWithComps)
L_0025: ldarg.0
L_0026: ldfld Verse.Pawn pawn
L_002b: callvirt IntVec3 get_Position()
L_0030: ldc.i4.1
L_0031: call Boolean TryDropEquipment(Verse.ThingWithComps, Verse.ThingWithComps
ByRef, IntVec3, Boolean)
L_0036: brfalse Label3
L_003b: ldloc.0
L_003c: brfalse Label4
L_0041: ldloc.0
L_0042: ldc.i4.0
L_0043: ldc.i4.1
L_0044: call Void SetForbidden(Verse.Thing, Boolean, Boolean)
L_0049: Label4
L_0049: br Label5
L_004e: Label3
L_004e: ldarg.0
L_004f: ldfld Verse.Pawn pawn
L_0054: ldstr " couldn't make room for equipment "
L_0059: ldarg.1
L_005a: call System.String Concat(System.Object, System.Object, System.Object)
L_005f: ldc.i4.0
L_0060: call Void Error(System.String, Boolean)
L_0065: Label1
L_0065: Label2
L_0065: Label5
L_0065: ldarg.0
L_0066: ldarga 1
L_006c: call Void
Patch_Pawn_EquipmentTracker_MakeRoomFor(Verse.Pawn_EquipmentTracker,
Verse.ThingWithComps ByRef)
L_0071: ret
DONE

### Patch RimWorld.StatWorker, System.String GetExplanationUnfinalized(StatRequest,


ToStringNumberSense)
L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.SkillNeed
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Single
L_0000: Local var 7: RimWorld.PawnCapacityOffset
L_0000: Local var 8:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityOffset, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Single
L_0000: Local var 11: System.Single
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: Local var 14: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 15: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 16: System.Int32
L_0000: Local var 17: RimWorld.Trait
L_0000: Local var 18: System.String
L_0000: Local var 19: System.Int32
L_0000: Local var 20: RimWorld.Trait
L_0000: Local var 21: System.String
L_0000: Local var 22: System.Int32
L_0000: Local var 23: RimWorld.Apparel
L_0000: Local var 24: System.Boolean
L_0000: Local var 25: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 26: System.Int32
L_0000: Local var 27: Verse.HediffStage
L_0000: Local var 28: System.Single
L_0000: Local var 29: System.Single
L_0000: Local var 30: System.Single
L_0000: Local var 31: System.Single
L_0000: Local var 32: RimWorld.CompAffectedByFacilities
L_0000: Local var 33: System.Int32
L_0000: Local var 34: RimWorld.StatDef
L_0000: Local var 35: System.Int32
L_0000: Local var 36: RimWorld.SkillNeed
L_0000: Local var 37: System.Int32
L_0000: Local var 38: RimWorld.PawnCapacityFactor
L_0000: Local var 39:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityFactor, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 40: System.String
L_0000: Local var 41: System.Single
L_0000: Local var 42: System.String
L_0000: Local var 43: System.String
L_0000: Local var 44: System.Single
L_0000: Local var 45: System.Single
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldarg.0
L_0007: ldarga.s 1
L_0009: call Verse.BuildableDef get_Def()
L_000e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0013: stloc.1
L_0014: ldloc.1
L_0015: ldc.r4 0
L_001a: beq Label1
L_001f: ldloc.0
L_0020: ldstr "StatsReport_BaseValue"
L_0025: call System.String Translate(System.String)
L_002a: ldstr ": "
L_002f: ldarg.0
L_0030: ldfld RimWorld.StatDef stat
L_0035: ldloc.1
L_0036: ldarg.2
L_0037: callvirt System.String ValueToString(Single, ToStringNumberSense)
L_003c: call System.String Concat(System.String, System.String, System.String)
L_0041: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0046: pop
L_0047: ldloc.0
L_0048: callvirt System.Text.StringBuilder AppendLine()
L_004d: pop
L_004e: Label1
L_004e: ldarga.s 1
L_0050: call Verse.Thing get_Thing()
L_0055: isinst Verse.Pawn
L_005a: stloc.2
L_005b: ldloc.2
L_005c: brfalse Label2
L_0061: ldloc.2
L_0062: ldfld RimWorld.Pawn_SkillTracker skills
L_0067: brfalse Label3
L_006c: ldarg.0
L_006d: ldfld RimWorld.StatDef stat
L_0072: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0077: brfalse Label4
L_007c: ldloc.0
L_007d: ldstr "StatsReport_Skills"
L_0082: call System.String Translate(System.String)
L_0087: callvirt System.Text.StringBuilder AppendLine(System.String)
L_008c: pop
L_008d: ldc.i4.0
L_008e: stloc.3
L_008f: br Label5
L_0094: Label6
L_0094: ldarg.0
L_0095: ldfld RimWorld.StatDef stat
L_009a: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_009f: ldloc.3
L_00a0: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00a5: stloc.s 4 (RimWorld.SkillNeed)
L_00a7: ldloc.2
L_00a8: ldfld RimWorld.Pawn_SkillTracker skills
L_00ad: ldloc.s 4 (RimWorld.SkillNeed)
L_00af: ldfld RimWorld.SkillDef skill
L_00b4: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_00b9: callvirt Int32 get_Level()
L_00be: stloc.s 5 (System.Int32)
L_00c0: ldloc.s 4 (RimWorld.SkillNeed)
L_00c2: ldloc.2
L_00c3: callvirt Single ValueFor(Verse.Pawn)
L_00c8: stloc.s 6 (System.Single)
L_00ca: ldloc.0
L_00cb: ldc.i4.7
L_00cc: newarr System.Object
L_00d1: dup
L_00d2: ldc.i4.0
L_00d3: ldstr " "
L_00d8: stelem.ref
L_00d9: dup
L_00da: ldc.i4.1
L_00db: ldloc.s 4 (RimWorld.SkillNeed)
L_00dd: ldfld RimWorld.SkillDef skill
L_00e2: callvirt System.String get_LabelCap()
L_00e7: stelem.ref
L_00e8: dup
L_00e9: ldc.i4.2
L_00ea: ldstr " ("
L_00ef: stelem.ref
L_00f0: dup
L_00f1: ldc.i4.3
L_00f2: ldloc.s 5 (System.Int32)
L_00f4: box System.Int32
L_00f9: stelem.ref
L_00fa: dup
L_00fb: ldc.i4.4
L_00fc: ldstr "): "
L_0101: stelem.ref
L_0102: dup
L_0103: ldc.i4.5
L_0104: ldloc.s 6 (System.Single)
L_0106: call System.String ToStringSign(Single)
L_010b: stelem.ref
L_010c: dup
L_010d: ldc.i4.6
L_010e: ldarg.0
L_010f: ldloc.s 6 (System.Single)
L_0111: ldc.i4.0
L_0112: ldc.i4.1
L_0113: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0118: stelem.ref
L_0119: call System.String Concat(System.Object[])
L_011e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0123: pop
L_0124: ldloc.3
L_0125: ldc.i4.1
L_0126: add
L_0127: stloc.3
L_0128: Label5
L_0128: ldloc.3
L_0129: ldarg.0
L_012a: ldfld RimWorld.StatDef stat
L_012f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0134: callvirt Int32 get_Count()
L_0139: blt Label6
L_013e: ldloc.0
L_013f: callvirt System.Text.StringBuilder AppendLine()
L_0144: pop
L_0145: Label4
L_0145: br Label7
L_014a: Label3
L_014a: ldarg.0
L_014b: ldfld RimWorld.StatDef stat
L_0150: ldfld System.Single noSkillOffset
L_0155: ldc.r4 0
L_015a: beq Label8
L_015f: ldloc.0
L_0160: ldstr "StatsReport_Skills"
L_0165: call System.String Translate(System.String)
L_016a: callvirt System.Text.StringBuilder AppendLine(System.String)
L_016f: pop
L_0170: ldloc.0
L_0171: ldc.i4.5
L_0172: newarr System.String
L_0177: dup
L_0178: ldc.i4.0
L_0179: ldstr " "
L_017e: stelem.ref
L_017f: dup
L_0180: ldc.i4.1
L_0181: ldstr "default"
L_0186: call System.String Translate(System.String)
L_018b: call System.String CapitalizeFirst(System.String)
L_0190: stelem.ref
L_0191: dup
L_0192: ldc.i4.2
L_0193: ldstr " : "
L_0198: stelem.ref
L_0199: dup
L_019a: ldc.i4.3
L_019b: ldarg.0
L_019c: ldfld RimWorld.StatDef stat
L_01a1: ldfld System.Single noSkillOffset
L_01a6: call System.String ToStringSign(Single)
L_01ab: stelem.ref
L_01ac: dup
L_01ad: ldc.i4.4
L_01ae: ldarg.0
L_01af: ldarg.0
L_01b0: ldfld RimWorld.StatDef stat
L_01b5: ldfld System.Single noSkillOffset
L_01ba: ldc.i4.0
L_01bb: ldc.i4.1
L_01bc: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_01c1: stelem.ref
L_01c2: call System.String Concat(System.String[])
L_01c7: callvirt System.Text.StringBuilder AppendLine(System.String)
L_01cc: pop
L_01cd: ldloc.0
L_01ce: callvirt System.Text.StringBuilder AppendLine()
L_01d3: pop
L_01d4: Label7
L_01d4: Label8
L_01d4: ldarg.0
L_01d5: ldfld RimWorld.StatDef stat
L_01da: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_01df: brfalse Label9
L_01e4: ldloc.0
L_01e5: ldstr "StatsReport_Health"
L_01ea: call Boolean CanTranslate(System.String)
L_01ef: brfalse Label10
L_01f4: ldstr "StatsReport_Health"
L_01f9: call System.String Translate(System.String)
L_01fe: br Label11
L_0203: Label10
L_0203: ldstr "StatsReport_HealthFactors"
L_0208: call System.String Translate(System.String)
L_020d: Label11
L_020d: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0212: pop
L_0213: ldarg.0
L_0214: ldfld RimWorld.StatDef stat
L_0219: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_021e: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0223: brtrue Label12
L_0228: ldnull
L_0229: ldftn Int32 <GetExplanationUnfinalized>m__0(RimWorld.PawnCapacityOffset)
L_022f: newobj Void .ctor(Object, IntPtr)
L_0234: stsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0239: Label12
L_0239: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_023e: call IOrderedEnumerable`1 OrderBy[PawnCapacityOffset,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityOffset,System.Int32])
L_0243: callvirt IEnumerator`1 GetEnumerator()
L_0248: stloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
.try
{
L_024a: br Label13
L_024f: Label15
L_024f: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_0251: callvirt RimWorld.PawnCapacityOffset get_Current()
L_0256: stloc.s 7 (RimWorld.PawnCapacityOffset)
L_0258: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_025a: ldfld Verse.PawnCapacityDef capacity
L_025f: ldloc.2
L_0260: callvirt System.String GetLabelFor(Verse.Pawn)
L_0265: call System.String CapitalizeFirst(System.String)
L_026a: stloc.s 9 (System.String)
L_026c: ldloc.2
L_026d: ldfld Verse.Pawn_HealthTracker health
L_0272: ldfld Verse.PawnCapacitiesHandler capacities
L_0277: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0279: ldfld Verse.PawnCapacityDef capacity
L_027e: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0283: stloc.s 10 (System.Single)
L_0285: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0287: ldloc.2
L_0288: ldfld Verse.Pawn_HealthTracker health
L_028d: ldfld Verse.PawnCapacitiesHandler capacities
L_0292: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0294: ldfld Verse.PawnCapacityDef capacity
L_0299: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_029e: callvirt Single GetOffset(Single)
L_02a3: stloc.s 11 (System.Single)
L_02a5: ldarg.0
L_02a6: ldloc.s 11 (System.Single)
L_02a8: ldc.i4.0
L_02a9: ldc.i4.1
L_02aa: call System.String ValueToString(Single, Boolean,
ToStringNumberSense)
L_02af: stloc.s 12 (System.String)
L_02b1: ldloc.s 10 (System.Single)
L_02b3: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02b5: ldfld System.Single max
L_02ba: call Single Min(Single, Single)
L_02bf: call System.String ToStringPercent(Single)
L_02c4: ldstr ", "
L_02c9: ldstr "HealthOffsetScale"
L_02ce: ldc.i4.1
L_02cf: newarr System.Object
L_02d4: dup
L_02d5: ldc.i4.0
L_02d6: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02d8: ldflda System.Single scale
L_02dd: constrained. System.Single
L_02e3: callvirt System.String ToString()
L_02e8: ldstr "x"
L_02ed: call System.String Concat(System.String, System.String)
L_02f2: stelem.ref
L_02f3: call System.String Translate(System.String, System.Object[])
L_02f8: call System.String Concat(System.String, System.String,
System.String)
L_02fd: stloc.s 13 (System.String)
L_02ff: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0301: ldfld System.Single max
L_0306: ldc.r4 999
L_030b: bge.un Label14
L_0310: ldloc.s 13 (System.String)
L_0312: ldstr ", "
L_0317: ldstr "HealthFactorMaxImpact"
L_031c: ldc.i4.1
L_031d: newarr System.Object
L_0322: dup
L_0323: ldc.i4.0
L_0324: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0326: ldfld System.Single max
L_032b: call System.String ToStringPercent(Single)
L_0330: stelem.ref
L_0331: call System.String Translate(System.String, System.Object[])
L_0336: call System.String Concat(System.String, System.String,
System.String)
L_033b: stloc.s 13 (System.String)
L_033d: Label14
L_033d: ldloc.0
L_033e: ldc.i4.8
L_033f: newarr System.String
L_0344: dup
L_0345: ldc.i4.0
L_0346: ldstr " "
L_034b: stelem.ref
L_034c: dup
L_034d: ldc.i4.1
L_034e: ldloc.s 9 (System.String)
L_0350: stelem.ref
L_0351: dup
L_0352: ldc.i4.2
L_0353: ldstr ": "
L_0358: stelem.ref
L_0359: dup
L_035a: ldc.i4.3
L_035b: ldloc.s 11 (System.Single)
L_035d: call System.String ToStringSign(Single)
L_0362: stelem.ref
L_0363: dup
L_0364: ldc.i4.4
L_0365: ldloc.s 12 (System.String)
L_0367: stelem.ref
L_0368: dup
L_0369: ldc.i4.5
L_036a: ldstr " ("
L_036f: stelem.ref
L_0370: dup
L_0371: ldc.i4.6
L_0372: ldloc.s 13 (System.String)
L_0374: stelem.ref
L_0375: dup
L_0376: ldc.i4.7
L_0377: ldstr ")"
L_037c: stelem.ref
L_037d: call System.String Concat(System.String[])
L_0382: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0387: pop
L_0388: Label13
L_0388: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_038a: callvirt Boolean MoveNext()
L_038f: brtrue Label15
L_0394: leave Label16
L_0399: leave (autogenerated)
} // end try
.finally
{
L_039e: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a0: brfalse Label17
L_03a5: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a7: callvirt Void Dispose()
L_03ac: Label17
L_03ac: endfinally
L_03ad: leave (autogenerated)
} // end handler
L_03ae: Label16
L_03ae: ldloc.0
L_03af: callvirt System.Text.StringBuilder AppendLine()
L_03b4: pop
L_03b5: Label9
L_03b5: ldloc.2
L_03b6: callvirt Verse.RaceProperties get_RaceProps()
L_03bb: ldfld Verse.Intelligence intelligence
L_03c0: ldc.i4.1
L_03c1: blt Label18
L_03c6: ldloc.2
L_03c7: ldfld RimWorld.Pawn_StoryTracker story
L_03cc: brfalse Label19
L_03d1: ldloc.2
L_03d2: ldfld RimWorld.Pawn_StoryTracker story
L_03d7: ldfld RimWorld.TraitSet traits
L_03dc: brfalse Label20
L_03e1: ldloc.2
L_03e2: ldfld RimWorld.Pawn_StoryTracker story
L_03e7: ldfld RimWorld.TraitSet traits
L_03ec: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_03f1: ldarg.0
L_03f2: ldftn Boolean <GetExplanationUnfinalized>m__1(RimWorld.Trait)
L_03f8: newobj Void .ctor(Object, IntPtr)
L_03fd: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_0402: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_0407: stloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0409: ldloc.2
L_040a: ldfld RimWorld.Pawn_StoryTracker story
L_040f: ldfld RimWorld.TraitSet traits
L_0414: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0419: ldarg.0
L_041a: ldftn Boolean <GetExplanationUnfinalized>m__2(RimWorld.Trait)
L_0420: newobj Void .ctor(Object, IntPtr)
L_0425: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_042a: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_042f: stloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0431: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0433: callvirt Int32 get_Count()
L_0438: ldc.i4.0
L_0439: bgt Label21
L_043e: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0440: callvirt Int32 get_Count()
L_0445: ldc.i4.0
L_0446: ble Label22
L_044b: Label21
L_044b: ldloc.0
L_044c: ldstr "StatsReport_RelevantTraits"
L_0451: call System.String Translate(System.String)
L_0456: callvirt System.Text.StringBuilder AppendLine(System.String)
L_045b: pop
L_045c: ldc.i4.0
L_045d: stloc.s 16 (System.Int32)
L_045f: br Label23
L_0464: Label24
L_0464: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0466: ldloc.s 16 (System.Int32)
L_0468: callvirt RimWorld.Trait get_Item(Int32)
L_046d: stloc.s 17 (RimWorld.Trait)
L_046f: ldloc.s 17 (RimWorld.Trait)
L_0471: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_0476: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_047b: ldarg.0
L_047c: ldftn Boolean <GetExplanationUnfinalized>m__3(RimWorld.StatModifier)
L_0482: newobj Void .ctor(Object, IntPtr)
L_0487: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_048c: callvirt System.String get_ValueToStringAsOffset()
L_0491: stloc.s 18 (System.String)
L_0493: ldloc.0
L_0494: ldstr " "
L_0499: ldloc.s 17 (RimWorld.Trait)
L_049b: callvirt System.String get_LabelCap()
L_04a0: ldstr ": "
L_04a5: ldloc.s 18 (System.String)
L_04a7: call System.String Concat(System.String, System.String, System.String,
System.String)
L_04ac: callvirt System.Text.StringBuilder AppendLine(System.String)
L_04b1: pop
L_04b2: ldloc.s 16 (System.Int32)
L_04b4: ldc.i4.1
L_04b5: add
L_04b6: stloc.s 16 (System.Int32)
L_04b8: Label23
L_04b8: ldloc.s 16 (System.Int32)
L_04ba: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04bc: callvirt Int32 get_Count()
L_04c1: blt Label24
L_04c6: ldc.i4.0
L_04c7: stloc.s 19 (System.Int32)
L_04c9: br Label25
L_04ce: Label26
L_04ce: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04d0: ldloc.s 19 (System.Int32)
L_04d2: callvirt RimWorld.Trait get_Item(Int32)
L_04d7: stloc.s 20 (RimWorld.Trait)
L_04d9: ldloc.s 20 (RimWorld.Trait)
L_04db: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_04e0: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_04e5: ldarg.0
L_04e6: ldftn Boolean <GetExplanationUnfinalized>m__4(RimWorld.StatModifier)
L_04ec: newobj Void .ctor(Object, IntPtr)
L_04f1: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_04f6: callvirt System.String get_ToStringAsFactor()
L_04fb: stloc.s 21 (System.String)
L_04fd: ldloc.0
L_04fe: ldstr " "
L_0503: ldloc.s 20 (RimWorld.Trait)
L_0505: callvirt System.String get_LabelCap()
L_050a: ldstr ": "
L_050f: ldloc.s 21 (System.String)
L_0511: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0516: callvirt System.Text.StringBuilder AppendLine(System.String)
L_051b: pop
L_051c: ldloc.s 19 (System.Int32)
L_051e: ldc.i4.1
L_051f: add
L_0520: stloc.s 19 (System.Int32)
L_0522: Label25
L_0522: ldloc.s 19 (System.Int32)
L_0524: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0526: callvirt Int32 get_Count()
L_052b: blt Label26
L_0530: ldloc.0
L_0531: callvirt System.Text.StringBuilder AppendLine()
L_0536: pop
L_0537: Label19
L_0537: Label20
L_0537: Label22
L_0537: ldloc.2
L_0538: ldarg.0
L_0539: ldfld RimWorld.StatDef stat
L_053e: call IEnumerable`1 RelevantGear(Verse.Pawn, RimWorld.StatDef)
L_0543: call Boolean Any[Thing](IEnumerable`1)
L_0548: brfalse Label27
L_054d: ldloc.0
L_054e: ldstr "StatsReport_RelevantGear"
L_0553: call System.String Translate(System.String)
L_0558: callvirt System.Text.StringBuilder AppendLine(System.String)
L_055d: pop
L_055e: ldloc.2
L_055f: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0564: brfalse Label28
L_0569: ldc.i4.0
L_056a: stloc.s 22 (System.Int32)
L_056c: br Label29
L_0571: Label30
L_0571: ldloc.2
L_0572: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0577: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_057c: ldloc.s 22 (System.Int32)
L_057e: callvirt RimWorld.Apparel get_Item(Int32)
L_0583: stloc.s 23 (RimWorld.Apparel)
L_0585: ldloc.0
L_0586: ldloc.s 23 (RimWorld.Apparel)
L_0588: ldarg.0
L_0589: ldfld RimWorld.StatDef stat
L_058e: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_0593: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0598: pop
L_0599: ldloc.s 22 (System.Int32)
L_059b: ldc.i4.1
L_059c: add
L_059d: stloc.s 22 (System.Int32)
L_059f: Label29
L_059f: ldloc.s 22 (System.Int32)
L_05a1: ldloc.2
L_05a2: ldfld RimWorld.Pawn_ApparelTracker apparel
L_05a7: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_05ac: callvirt Int32 get_Count()
L_05b1: blt Label30
L_05b6: Label28
L_05b6: ldloc.2
L_05b7: ldfld Verse.Pawn_EquipmentTracker equipment
L_05bc: brfalse Label31
L_05c1: ldloc.2
L_05c2: ldfld Verse.Pawn_EquipmentTracker equipment
L_05c7: callvirt Verse.ThingWithComps get_Primary()
L_05cc: brfalse Label32
L_05d1: ldloc.0
L_05d2: ldloc.2
L_05d3: ldfld Verse.Pawn_EquipmentTracker equipment
L_05d8: callvirt Verse.ThingWithComps get_Primary()
L_05dd: ldarg.0
L_05de: ldfld RimWorld.StatDef stat
L_05e3: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_05e8: callvirt System.Text.StringBuilder AppendLine(System.String)
L_05ed: pop
L_05ee: ldloc.0
L_05ef: ldloc.2
L_05f0: ldarg.0
L_05f1: ldfld RimWorld.StatDef stat
L_05f6: call Void StatWorkerInjection_BuildShieldString(System.Text.StringBuilder,
Verse.Pawn, RimWorld.StatDef)
L_05fb: Label31
L_05fb: Label32
L_05fb: ldloc.0
L_05fc: callvirt System.Text.StringBuilder AppendLine()
L_0601: pop
L_0602: Label18
L_0602: Label27
L_0602: ldc.i4.0
L_0603: stloc.s 24 (System.Boolean)
L_0605: ldloc.2
L_0606: ldfld Verse.Pawn_HealthTracker health
L_060b: ldfld Verse.HediffSet hediffSet
L_0610: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0615: stloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0617: ldc.i4.0
L_0618: stloc.s 26 (System.Int32)
L_061a: br Label33
L_061f: Label37
L_061f: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0621: ldloc.s 26 (System.Int32)
L_0623: callvirt Verse.Hediff get_Item(Int32)
L_0628: callvirt Verse.HediffStage get_CurStage()
L_062d: stloc.s 27 (Verse.HediffStage)
L_062f: ldloc.s 27 (Verse.HediffStage)
L_0631: brfalse Label34
L_0636: ldloc.s 27 (Verse.HediffStage)
L_0638: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_063d: ldarg.0
L_063e: ldfld RimWorld.StatDef stat
L_0643: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0648: stloc.s 28 (System.Single)
L_064a: ldloc.s 28 (System.Single)
L_064c: ldc.r4 0
L_0651: beq Label35
L_0656: ldloc.s 24 (System.Boolean)
L_0658: brtrue Label36
L_065d: ldloc.0
L_065e: ldstr "StatsReport_RelevantHediffs"
L_0663: call System.String Translate(System.String)
L_0668: callvirt System.Text.StringBuilder AppendLine(System.String)
L_066d: pop
L_066e: ldc.i4.1
L_066f: stloc.s 24 (System.Boolean)
L_0671: Label36
L_0671: ldloc.0
L_0672: ldstr " "
L_0677: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0679: ldloc.s 26 (System.Int32)
L_067b: callvirt Verse.Hediff get_Item(Int32)
L_0680: callvirt System.String get_LabelBase()
L_0685: call System.String CapitalizeFirst(System.String)
L_068a: ldstr ": "
L_068f: ldarg.0
L_0690: ldloc.s 28 (System.Single)
L_0692: ldc.i4.0
L_0693: ldc.i4.3
L_0694: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0699: call System.String Concat(System.String, System.String, System.String,
System.String)
L_069e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_06a3: pop
L_06a4: ldloc.0
L_06a5: callvirt System.Text.StringBuilder AppendLine()
L_06aa: pop
L_06ab: Label34
L_06ab: Label35
L_06ab: ldloc.s 26 (System.Int32)
L_06ad: ldc.i4.1
L_06ae: add
L_06af: stloc.s 26 (System.Int32)
L_06b1: Label33
L_06b1: ldloc.s 26 (System.Int32)
L_06b3: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_06b5: callvirt Int32 get_Count()
L_06ba: blt Label37
L_06bf: ldloc.2
L_06c0: ldfld Verse.Pawn_AgeTracker ageTracker
L_06c5: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_06ca: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_06cf: ldarg.0
L_06d0: ldfld RimWorld.StatDef stat
L_06d5: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_06da: stloc.s 29 (System.Single)
L_06dc: ldloc.s 29 (System.Single)
L_06de: ldc.r4 1
L_06e3: beq Label38
L_06e8: ldloc.0
L_06e9: ldc.i4.5
L_06ea: newarr System.String
L_06ef: dup
L_06f0: ldc.i4.0
L_06f1: ldstr "StatsReport_LifeStage"
L_06f6: call System.String Translate(System.String)
L_06fb: stelem.ref
L_06fc: dup
L_06fd: ldc.i4.1
L_06fe: ldstr " ("
L_0703: stelem.ref
L_0704: dup
L_0705: ldc.i4.2
L_0706: ldloc.2
L_0707: ldfld Verse.Pawn_AgeTracker ageTracker
L_070c: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_0711: ldfld System.String label
L_0716: stelem.ref
L_0717: dup
L_0718: ldc.i4.3
L_0719: ldstr "): "
L_071e: stelem.ref
L_071f: dup
L_0720: ldc.i4.4
L_0721: ldloc.s 29 (System.Single)
L_0723: ldc.i4.8
L_0724: ldc.i4.2
L_0725: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_072a: stelem.ref
L_072b: call System.String Concat(System.String[])
L_0730: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0735: pop
L_0736: ldloc.0
L_0737: callvirt System.Text.StringBuilder AppendLine()
L_073c: pop
L_073d: Label2
L_073d: Label38
L_073d: ldarga.s 1
L_073f: call Verse.ThingDef get_StuffDef()
L_0744: brfalse Label39
L_0749: ldloc.1
L_074a: ldc.r4 0
L_074f: bgt Label40
L_0754: ldarg.0
L_0755: ldfld RimWorld.StatDef stat
L_075a: ldfld System.Boolean applyFactorsIfNegative
L_075f: brfalse Label41
L_0764: Label40
L_0764: ldarga.s 1
L_0766: call Verse.ThingDef get_StuffDef()
L_076b: ldfld Verse.StuffProperties stuffProps
L_0770: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0775: ldarg.0
L_0776: ldfld RimWorld.StatDef stat
L_077b: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0780: stloc.s 30 (System.Single)
L_0782: ldloc.s 30 (System.Single)
L_0784: ldc.r4 1
L_0789: beq Label42
L_078e: ldloc.0
L_078f: ldc.i4.5
L_0790: newarr System.String
L_0795: dup
L_0796: ldc.i4.0
L_0797: ldstr "StatsReport_Material"
L_079c: call System.String Translate(System.String)
L_07a1: stelem.ref
L_07a2: dup
L_07a3: ldc.i4.1
L_07a4: ldstr " ("
L_07a9: stelem.ref
L_07aa: dup
L_07ab: ldc.i4.2
L_07ac: ldarga.s 1
L_07ae: call Verse.ThingDef get_StuffDef()
L_07b3: callvirt System.String get_LabelCap()
L_07b8: stelem.ref
L_07b9: dup
L_07ba: ldc.i4.3
L_07bb: ldstr "): "
L_07c0: stelem.ref
L_07c1: dup
L_07c2: ldc.i4.4
L_07c3: ldloc.s 30 (System.Single)
L_07c5: ldc.i4.8
L_07c6: ldc.i4.2
L_07c7: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_07cc: stelem.ref
L_07cd: call System.String Concat(System.String[])
L_07d2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_07d7: pop
L_07d8: ldloc.0
L_07d9: callvirt System.Text.StringBuilder AppendLine()
L_07de: pop
L_07df: Label41
L_07df: Label42
L_07df: ldarga.s 1
L_07e1: call Verse.ThingDef get_StuffDef()
L_07e6: ldfld Verse.StuffProperties stuffProps
L_07eb: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_07f0: ldarg.0
L_07f1: ldfld RimWorld.StatDef stat
L_07f6: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_07fb: stloc.s 31 (System.Single)
L_07fd: ldloc.s 31 (System.Single)
L_07ff: ldc.r4 0
L_0804: beq Label43
L_0809: ldloc.0
L_080a: ldc.i4.5
L_080b: newarr System.String
L_0810: dup
L_0811: ldc.i4.0
L_0812: ldstr "StatsReport_Material"
L_0817: call System.String Translate(System.String)
L_081c: stelem.ref
L_081d: dup
L_081e: ldc.i4.1
L_081f: ldstr " ("
L_0824: stelem.ref
L_0825: dup
L_0826: ldc.i4.2
L_0827: ldarga.s 1
L_0829: call Verse.ThingDef get_StuffDef()
L_082e: callvirt System.String get_LabelCap()
L_0833: stelem.ref
L_0834: dup
L_0835: ldc.i4.3
L_0836: ldstr "): "
L_083b: stelem.ref
L_083c: dup
L_083d: ldc.i4.4
L_083e: ldloc.s 31 (System.Single)
L_0840: ldarg.0
L_0841: ldfld RimWorld.StatDef stat
L_0846: ldfld Verse.ToStringStyle toStringStyle
L_084b: ldc.i4.3
L_084c: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0851: stelem.ref
L_0852: call System.String Concat(System.String[])
L_0857: callvirt System.Text.StringBuilder AppendLine(System.String)
L_085c: pop
L_085d: ldloc.0
L_085e: callvirt System.Text.StringBuilder AppendLine()
L_0863: pop
L_0864: Label39
L_0864: Label43
L_0864: ldarga.s 1
L_0866: call Verse.Thing get_Thing()
L_086b: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0870: stloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0872: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0874: brfalse Label44
L_0879: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_087b: ldarg.0
L_087c: ldfld RimWorld.StatDef stat
L_0881: ldloc.0
L_0882: callvirt Void GetStatsExplanation(RimWorld.StatDef,
System.Text.StringBuilder)
L_0887: Label44
L_0887: ldarg.0
L_0888: ldfld RimWorld.StatDef stat
L_088d: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0892: brfalse Label45
L_0897: ldloc.0
L_0898: ldstr "StatsReport_OtherStats"
L_089d: call System.String Translate(System.String)
L_08a2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08a7: pop
L_08a8: ldc.i4.0
L_08a9: stloc.s 33 (System.Int32)
L_08ab: br Label46
L_08b0: Label47
L_08b0: ldarg.0
L_08b1: ldfld RimWorld.StatDef stat
L_08b6: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_08bb: ldloc.s 33 (System.Int32)
L_08bd: callvirt RimWorld.StatDef get_Item(Int32)
L_08c2: stloc.s 34 (RimWorld.StatDef)
L_08c4: ldloc.0
L_08c5: ldstr " "
L_08ca: ldloc.s 34 (RimWorld.StatDef)
L_08cc: callvirt System.String get_LabelCap()
L_08d1: ldstr ": x"
L_08d6: ldloc.s 34 (RimWorld.StatDef)
L_08d8: callvirt RimWorld.StatWorker get_Worker()
L_08dd: ldarg.1
L_08de: ldc.i4.1
L_08df: callvirt Single GetValue(StatRequest, Boolean)
L_08e4: call System.String ToStringPercent(Single)
L_08e9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_08ee: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08f3: pop
L_08f4: ldloc.s 33 (System.Int32)
L_08f6: ldc.i4.1
L_08f7: add
L_08f8: stloc.s 33 (System.Int32)
L_08fa: Label46
L_08fa: ldloc.s 33 (System.Int32)
L_08fc: ldarg.0
L_08fd: ldfld RimWorld.StatDef stat
L_0902: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0907: callvirt Int32 get_Count()
L_090c: blt Label47
L_0911: ldloc.0
L_0912: callvirt System.Text.StringBuilder AppendLine()
L_0917: pop
L_0918: Label45
L_0918: ldloc.2
L_0919: brfalse Label48
L_091e: ldloc.2
L_091f: ldfld RimWorld.Pawn_SkillTracker skills
L_0924: brfalse Label49
L_0929: ldarg.0
L_092a: ldfld RimWorld.StatDef stat
L_092f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0934: brfalse Label50
L_0939: ldloc.0
L_093a: ldstr "StatsReport_Skills"
L_093f: call System.String Translate(System.String)
L_0944: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0949: pop
L_094a: ldc.i4.0
L_094b: stloc.s 35 (System.Int32)
L_094d: br Label51
L_0952: Label52
L_0952: ldarg.0
L_0953: ldfld RimWorld.StatDef stat
L_0958: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_095d: ldloc.s 35 (System.Int32)
L_095f: callvirt RimWorld.SkillNeed get_Item(Int32)
L_0964: stloc.s 36 (RimWorld.SkillNeed)
L_0966: ldloc.2
L_0967: ldfld RimWorld.Pawn_SkillTracker skills
L_096c: ldloc.s 36 (RimWorld.SkillNeed)
L_096e: ldfld RimWorld.SkillDef skill
L_0973: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_0978: callvirt Int32 get_Level()
L_097d: stloc.s 37 (System.Int32)
L_097f: ldloc.0
L_0980: ldc.i4.6
L_0981: newarr System.Object
L_0986: dup
L_0987: ldc.i4.0
L_0988: ldstr " "
L_098d: stelem.ref
L_098e: dup
L_098f: ldc.i4.1
L_0990: ldloc.s 36 (RimWorld.SkillNeed)
L_0992: ldfld RimWorld.SkillDef skill
L_0997: callvirt System.String get_LabelCap()
L_099c: stelem.ref
L_099d: dup
L_099e: ldc.i4.2
L_099f: ldstr " ("
L_09a4: stelem.ref
L_09a5: dup
L_09a6: ldc.i4.3
L_09a7: ldloc.s 37 (System.Int32)
L_09a9: box System.Int32
L_09ae: stelem.ref
L_09af: dup
L_09b0: ldc.i4.4
L_09b1: ldstr "): x"
L_09b6: stelem.ref
L_09b7: dup
L_09b8: ldc.i4.5
L_09b9: ldloc.s 36 (RimWorld.SkillNeed)
L_09bb: ldloc.2
L_09bc: callvirt Single ValueFor(Verse.Pawn)
L_09c1: call System.String ToStringPercent(Single)
L_09c6: stelem.ref
L_09c7: call System.String Concat(System.Object[])
L_09cc: callvirt System.Text.StringBuilder AppendLine(System.String)
L_09d1: pop
L_09d2: ldloc.s 35 (System.Int32)
L_09d4: ldc.i4.1
L_09d5: add
L_09d6: stloc.s 35 (System.Int32)
L_09d8: Label51
L_09d8: ldloc.s 35 (System.Int32)
L_09da: ldarg.0
L_09db: ldfld RimWorld.StatDef stat
L_09e0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_09e5: callvirt Int32 get_Count()
L_09ea: blt Label52
L_09ef: ldloc.0
L_09f0: callvirt System.Text.StringBuilder AppendLine()
L_09f5: pop
L_09f6: Label50
L_09f6: br Label53
L_09fb: Label49
L_09fb: ldarg.0
L_09fc: ldfld RimWorld.StatDef stat
L_0a01: ldfld System.Single noSkillFactor
L_0a06: ldc.r4 1
L_0a0b: beq Label54
L_0a10: ldloc.0
L_0a11: ldstr "StatsReport_Skills"
L_0a16: call System.String Translate(System.String)
L_0a1b: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a20: pop
L_0a21: ldloc.0
L_0a22: ldstr " "
L_0a27: ldstr "default"
L_0a2c: call System.String Translate(System.String)
L_0a31: call System.String CapitalizeFirst(System.String)
L_0a36: ldstr " : x"
L_0a3b: ldarg.0
L_0a3c: ldfld RimWorld.StatDef stat
L_0a41: ldfld System.Single noSkillFactor
L_0a46: call System.String ToStringPercent(Single)
L_0a4b: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0a50: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a55: pop
L_0a56: ldloc.0
L_0a57: callvirt System.Text.StringBuilder AppendLine()
L_0a5c: pop
L_0a5d: Label53
L_0a5d: Label54
L_0a5d: ldarg.0
L_0a5e: ldfld RimWorld.StatDef stat
L_0a63: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0a68: brfalse Label55
L_0a6d: ldloc.0
L_0a6e: ldstr "StatsReport_Health"
L_0a73: call Boolean CanTranslate(System.String)
L_0a78: brfalse Label56
L_0a7d: ldstr "StatsReport_Health"
L_0a82: call System.String Translate(System.String)
L_0a87: br Label57
L_0a8c: Label56
L_0a8c: ldstr "StatsReport_HealthFactors"
L_0a91: call System.String Translate(System.String)
L_0a96: Label57
L_0a96: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a9b: pop
L_0a9c: ldarg.0
L_0a9d: ldfld RimWorld.StatDef stat
L_0aa2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0aa7: brfalse Label58
L_0aac: ldarg.0
L_0aad: ldfld RimWorld.StatDef stat
L_0ab2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0ab7: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0abc: brtrue Label59
L_0ac1: ldnull
L_0ac2: ldftn Int32 <GetExplanationUnfinalized>m__5(RimWorld.PawnCapacityFactor)
L_0ac8: newobj Void .ctor(Object, IntPtr)
L_0acd: stsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad2: Label59
L_0ad2: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad7: call IOrderedEnumerable`1 OrderBy[PawnCapacityFactor,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityFactor,System.Int32])
L_0adc: callvirt IEnumerator`1 GetEnumerator()
L_0ae1: stloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
.try
{
L_0ae3: br Label60
L_0ae8: Label63
L_0ae8: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0aea: callvirt RimWorld.PawnCapacityFactor get_Current()
L_0aef: stloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af1: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af3: ldfld Verse.PawnCapacityDef capacity
L_0af8: ldloc.2
L_0af9: callvirt System.String GetLabelFor(Verse.Pawn)
L_0afe: call System.String CapitalizeFirst(System.String)
L_0b03: stloc.s 40 (System.String)
L_0b05: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b07: ldloc.2
L_0b08: ldfld Verse.Pawn_HealthTracker health
L_0b0d: ldfld Verse.PawnCapacitiesHandler capacities
L_0b12: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b14: ldfld Verse.PawnCapacityDef capacity
L_0b19: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0b1e: callvirt Single GetFactor(Single)
L_0b23: stloc.s 41 (System.Single)
L_0b25: ldloc.s 41 (System.Single)
L_0b27: call System.String ToStringPercent(Single)
L_0b2c: stloc.s 42 (System.String)
L_0b2e: ldstr "HealthFactorPercentImpact"
L_0b33: ldc.i4.1
L_0b34: newarr System.Object
L_0b39: dup
L_0b3a: ldc.i4.0
L_0b3b: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b3d: ldfld System.Single weight
L_0b42: call System.String ToStringPercent(Single)
L_0b47: stelem.ref
L_0b48: call System.String Translate(System.String, System.Object[])
L_0b4d: stloc.s 43 (System.String)
L_0b4f: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b51: ldfld System.Single max
L_0b56: ldc.r4 999
L_0b5b: bge.un Label61
L_0b60: ldloc.s 43 (System.String)
L_0b62: ldstr ", "
L_0b67: ldstr "HealthFactorMaxImpact"
L_0b6c: ldc.i4.1
L_0b6d: newarr System.Object
L_0b72: dup
L_0b73: ldc.i4.0
L_0b74: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b76: ldfld System.Single max
L_0b7b: call System.String ToStringPercent(Single)
L_0b80: stelem.ref
L_0b81: call System.String Translate(System.String, System.Object[])
L_0b86: call System.String Concat(System.String, System.String,
System.String)
L_0b8b: stloc.s 43 (System.String)
L_0b8d: Label61
L_0b8d: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b8f: ldfld System.Single allowedDefect
L_0b94: ldc.r4 0
L_0b99: beq Label62
L_0b9e: ldloc.s 43 (System.String)
L_0ba0: ldstr ", "
L_0ba5: ldstr "HealthFactorAllowedDefect"
L_0baa: ldc.i4.1
L_0bab: newarr System.Object
L_0bb0: dup
L_0bb1: ldc.i4.0
L_0bb2: ldc.r4 1
L_0bb7: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0bb9: ldfld System.Single allowedDefect
L_0bbe: sub
L_0bbf: call System.String ToStringPercent(Single)
L_0bc4: stelem.ref
L_0bc5: call System.String Translate(System.String, System.Object[])
L_0bca: call System.String Concat(System.String, System.String,
System.String)
L_0bcf: stloc.s 43 (System.String)
L_0bd1: Label62
L_0bd1: ldloc.0
L_0bd2: ldc.i4.7
L_0bd3: newarr System.String
L_0bd8: dup
L_0bd9: ldc.i4.0
L_0bda: ldstr " "
L_0bdf: stelem.ref
L_0be0: dup
L_0be1: ldc.i4.1
L_0be2: ldloc.s 40 (System.String)
L_0be4: stelem.ref
L_0be5: dup
L_0be6: ldc.i4.2
L_0be7: ldstr ": x"
L_0bec: stelem.ref
L_0bed: dup
L_0bee: ldc.i4.3
L_0bef: ldloc.s 42 (System.String)
L_0bf1: stelem.ref
L_0bf2: dup
L_0bf3: ldc.i4.4
L_0bf4: ldstr " ("
L_0bf9: stelem.ref
L_0bfa: dup
L_0bfb: ldc.i4.5
L_0bfc: ldloc.s 43 (System.String)
L_0bfe: stelem.ref
L_0bff: dup
L_0c00: ldc.i4.6
L_0c01: ldstr ")"
L_0c06: stelem.ref
L_0c07: call System.String Concat(System.String[])
L_0c0c: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0c11: pop
L_0c12: Label60
L_0c12: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c14: callvirt Boolean MoveNext()
L_0c19: brtrue Label63
L_0c1e: leave Label64
L_0c23: leave (autogenerated)
} // end try
.finally
{
L_0c28: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c2a: brfalse Label65
L_0c2f: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c31: callvirt Void Dispose()
L_0c36: Label65
L_0c36: endfinally
L_0c37: leave (autogenerated)
} // end handler
L_0c38: Label58
L_0c38: Label64
L_0c38: ldloc.0
L_0c39: callvirt System.Text.StringBuilder AppendLine()
L_0c3e: pop
L_0c3f: Label55
L_0c3f: ldloc.2
L_0c40: callvirt Boolean get_Inspired()
L_0c45: brfalse Label66
L_0c4a: ldloc.2
L_0c4b: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0c50: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_0c55: ldarg.0
L_0c56: ldfld RimWorld.StatDef stat
L_0c5b: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0c60: stloc.s 44 (System.Single)
L_0c62: ldloc.s 44 (System.Single)
L_0c64: ldc.r4 0
L_0c69: beq Label67
L_0c6e: ldloc.0
L_0c6f: ldstr "StatsReport_Inspiration"
L_0c74: ldc.i4.1
L_0c75: newarr System.Object
L_0c7a: dup
L_0c7b: ldc.i4.0
L_0c7c: ldloc.2
L_0c7d: callvirt RimWorld.Inspiration get_Inspiration()
L_0c82: ldfld RimWorld.InspirationDef def
L_0c87: callvirt System.String get_LabelCap()
L_0c8c: stelem.ref
L_0c8d: call System.String Translate(System.String, System.Object[])
L_0c92: ldstr ": "
L_0c97: ldarg.0
L_0c98: ldloc.s 44 (System.Single)
L_0c9a: ldc.i4.0
L_0c9b: ldc.i4.3
L_0c9c: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0ca1: call System.String Concat(System.String, System.String, System.String)
L_0ca6: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0cab: pop
L_0cac: ldloc.0
L_0cad: callvirt System.Text.StringBuilder AppendLine()
L_0cb2: pop
L_0cb3: Label67
L_0cb3: ldloc.2
L_0cb4: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0cb9: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0cbe: ldarg.0
L_0cbf: ldfld RimWorld.StatDef stat
L_0cc4: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0cc9: stloc.s 45 (System.Single)
L_0ccb: ldloc.s 45 (System.Single)
L_0ccd: ldc.r4 1
L_0cd2: beq Label68
L_0cd7: ldloc.0
L_0cd8: ldstr "StatsReport_Inspiration"
L_0cdd: ldc.i4.1
L_0cde: newarr System.Object
L_0ce3: dup
L_0ce4: ldc.i4.0
L_0ce5: ldloc.2
L_0ce6: callvirt RimWorld.Inspiration get_Inspiration()
L_0ceb: ldfld RimWorld.InspirationDef def
L_0cf0: callvirt System.String get_LabelCap()
L_0cf5: stelem.ref
L_0cf6: call System.String Translate(System.String, System.Object[])
L_0cfb: ldstr ": "
L_0d00: ldloc.s 45 (System.Single)
L_0d02: ldc.i4.8
L_0d03: ldc.i4.2
L_0d04: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0d09: call System.String Concat(System.String, System.String, System.String)
L_0d0e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0d13: pop
L_0d14: ldloc.0
L_0d15: callvirt System.Text.StringBuilder AppendLine()
L_0d1a: pop
L_0d1b: Label48
L_0d1b: Label66
L_0d1b: Label68
L_0d1b: ldloc.0
L_0d1c: callvirt System.String ToString()
L_0d21: call System.String TrimEndNewlines(System.String)
L_0d26: ret
DONE

### Patch RimWorld.StatWorker, Single GetValueUnfinalized(StatRequest, Boolean)


L_0000: Local var 0: System.Single
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.PawnCapacityOffset
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.HediffStage
L_0000: Local var 9: System.Int32
L_0000: Local var 10: System.Int32
L_0000: Local var 11: RimWorld.CompAffectedByFacilities
L_0000: Local var 12: System.Int32
L_0000: Local var 13: System.Int32
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.PawnCapacityFactor
L_0000: Local var 16: System.Single
L_0000: Local var 17: System.Single
L_0000: ldc.r4 0
L_0005: stloc 17 (System.Single)
L_0007: call Boolean get_DevMode()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldarga.s 1
L_0014: call Verse.Thing get_Thing()
L_0019: callvirt Boolean IsDisabledFor(Verse.Thing)
L_001e: brfalse Label2
L_0023: ldstr "Attempted to calculate value for disabled stat {0}; this is meant as
a consistency check, either set the stat to neverDisabled or ensure this pawn
cannot accidentally use this stat (thing={1})"
L_0028: ldarg.0
L_0029: ldfld RimWorld.StatDef stat
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Thing()
L_0035: call System.String ToStringSafe[Thing](Verse.Thing)
L_003a: call System.String Format(System.String, System.Object, System.Object)
L_003f: ldc.i4 75193282
L_0044: ldarg.0
L_0045: ldfld RimWorld.StatDef stat
L_004a: ldfld System.UInt16 index
L_004f: add
L_0050: ldc.i4.0
L_0051: call Void ErrorOnce(System.String, Int32, Boolean)
L_0056: Label1
L_0056: Label2
L_0056: ldarg.0
L_0057: ldarga.s 1
L_0059: call Verse.BuildableDef get_Def()
L_005e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0063: stloc.0
L_0064: ldarga.s 1
L_0066: call Verse.Thing get_Thing()
L_006b: isinst Verse.Pawn
L_0070: stloc.1
L_0071: ldloc.1
L_0072: brfalse Label3
L_0077: ldloc.1
L_0078: ldfld RimWorld.Pawn_SkillTracker skills
L_007d: brfalse Label4
L_0082: ldarg.0
L_0083: ldfld RimWorld.StatDef stat
L_0088: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_008d: brfalse Label5
L_0092: ldc.i4.0
L_0093: stloc.2
L_0094: br Label6
L_0099: Label7
L_0099: ldloc.0
L_009a: ldarg.0
L_009b: ldfld RimWorld.StatDef stat
L_00a0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00a5: ldloc.2
L_00a6: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00ab: ldloc.1
L_00ac: callvirt Single ValueFor(Verse.Pawn)
L_00b1: add
L_00b2: stloc.0
L_00b3: ldloc.2
L_00b4: ldc.i4.1
L_00b5: add
L_00b6: stloc.2
L_00b7: Label6
L_00b7: ldloc.2
L_00b8: ldarg.0
L_00b9: ldfld RimWorld.StatDef stat
L_00be: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00c3: callvirt Int32 get_Count()
L_00c8: blt Label7
L_00cd: Label5
L_00cd: br Label8
L_00d2: Label4
L_00d2: ldloc.0
L_00d3: ldarg.0
L_00d4: ldfld RimWorld.StatDef stat
L_00d9: ldfld System.Single noSkillOffset
L_00de: add
L_00df: stloc.0
L_00e0: Label8
L_00e0: ldarg.0
L_00e1: ldfld RimWorld.StatDef stat
L_00e6: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_00eb: brfalse Label9
L_00f0: ldc.i4.0
L_00f1: stloc.3
L_00f2: br Label10
L_00f7: Label11
L_00f7: ldarg.0
L_00f8: ldfld RimWorld.StatDef stat
L_00fd: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_0102: ldloc.3
L_0103: callvirt RimWorld.PawnCapacityOffset get_Item(Int32)
L_0108: stloc.s 4 (RimWorld.PawnCapacityOffset)
L_010a: ldloc.0
L_010b: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_010d: ldloc.1
L_010e: ldfld Verse.Pawn_HealthTracker health
L_0113: ldfld Verse.PawnCapacitiesHandler capacities
L_0118: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_011a: ldfld Verse.PawnCapacityDef capacity
L_011f: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0124: callvirt Single GetOffset(Single)
L_0129: add
L_012a: stloc.0
L_012b: ldloc.3
L_012c: ldc.i4.1
L_012d: add
L_012e: stloc.3
L_012f: Label10
L_012f: ldloc.3
L_0130: ldarg.0
L_0131: ldfld RimWorld.StatDef stat
L_0136: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_013b: callvirt Int32 get_Count()
L_0140: blt Label11
L_0145: Label9
L_0145: ldloc.1
L_0146: ldfld RimWorld.Pawn_StoryTracker story
L_014b: brfalse Label12
L_0150: ldc.i4.0
L_0151: stloc.s 5 (System.Int32)
L_0153: br Label13
L_0158: Label14
L_0158: ldloc.0
L_0159: ldloc.1
L_015a: ldfld RimWorld.Pawn_StoryTracker story
L_015f: ldfld RimWorld.TraitSet traits
L_0164: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0169: ldloc.s 5 (System.Int32)
L_016b: callvirt RimWorld.Trait get_Item(Int32)
L_0170: ldarg.0
L_0171: ldfld RimWorld.StatDef stat
L_0176: callvirt Single OffsetOfStat(RimWorld.StatDef)
L_017b: add
L_017c: stloc.0
L_017d: ldloc.s 5 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 5 (System.Int32)
L_0183: Label13
L_0183: ldloc.s 5 (System.Int32)
L_0185: ldloc.1
L_0186: ldfld RimWorld.Pawn_StoryTracker story
L_018b: ldfld RimWorld.TraitSet traits
L_0190: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0195: callvirt Int32 get_Count()
L_019a: blt Label14
L_019f: Label12
L_019f: ldloc.1
L_01a0: ldfld Verse.Pawn_HealthTracker health
L_01a5: ldfld Verse.HediffSet hediffSet
L_01aa: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_01af: stloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01b1: ldc.i4.0
L_01b2: stloc.s 7 (System.Int32)
L_01b4: br Label15
L_01b9: Label17
L_01b9: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01bb: ldloc.s 7 (System.Int32)
L_01bd: callvirt Verse.Hediff get_Item(Int32)
L_01c2: callvirt Verse.HediffStage get_CurStage()
L_01c7: stloc.s 8 (Verse.HediffStage)
L_01c9: ldloc.s 8 (Verse.HediffStage)
L_01cb: brfalse Label16
L_01d0: ldloc.0
L_01d1: ldloc.s 8 (Verse.HediffStage)
L_01d3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_01d8: ldarg.0
L_01d9: ldfld RimWorld.StatDef stat
L_01de: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_01e3: add
L_01e4: stloc.0
L_01e5: Label16
L_01e5: ldloc.s 7 (System.Int32)
L_01e7: ldc.i4.1
L_01e8: add
L_01e9: stloc.s 7 (System.Int32)
L_01eb: Label15
L_01eb: ldloc.s 7 (System.Int32)
L_01ed: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01ef: callvirt Int32 get_Count()
L_01f4: blt Label17
L_01f9: ldloc.1
L_01fa: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ff: brfalse Label18
L_0204: ldc.i4.0
L_0205: stloc.s 9 (System.Int32)
L_0207: br Label19
L_020c: Label20
L_020c: ldloc.0
L_020d: ldloc.1
L_020e: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0213: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0218: ldloc.s 9 (System.Int32)
L_021a: callvirt RimWorld.Apparel get_Item(Int32)
L_021f: ldarg.0
L_0220: ldfld RimWorld.StatDef stat
L_0225: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_022a: add
L_022b: stloc.0
L_022c: ldloc.s 9 (System.Int32)
L_022e: ldc.i4.1
L_022f: add
L_0230: stloc.s 9 (System.Int32)
L_0232: Label19
L_0232: ldloc.s 9 (System.Int32)
L_0234: ldloc.1
L_0235: ldfld RimWorld.Pawn_ApparelTracker apparel
L_023a: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_023f: callvirt Int32 get_Count()
L_0244: blt Label20
L_0249: Label18
L_0249: ldloc.1
L_024a: ldfld Verse.Pawn_EquipmentTracker equipment
L_024f: brfalse Label21
L_0254: ldloc.1
L_0255: ldfld Verse.Pawn_EquipmentTracker equipment
L_025a: callvirt Verse.ThingWithComps get_Primary()
L_025f: brfalse Label22
L_0264: ldloc.0
L_0265: ldloc.1
L_0266: ldfld Verse.Pawn_EquipmentTracker equipment
L_026b: callvirt Verse.ThingWithComps get_Primary()
L_0270: ldarg.0
L_0271: ldfld RimWorld.StatDef stat
L_0276: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_027b: add
L_027c: stloc.0
L_027d: Label21
L_027d: Label22
L_027d: ldloc.1
L_027e: ldfld RimWorld.Pawn_StoryTracker story
L_0283: brfalse Label23
L_0288: ldc.i4.0
L_0289: stloc.s 10 (System.Int32)
L_028b: br Label24
L_0290: Label25
L_0290: ldloc.0
L_0291: ldloc.1
L_0292: ldfld RimWorld.Pawn_StoryTracker story
L_0297: ldfld RimWorld.TraitSet traits
L_029c: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02a1: ldloc.s 10 (System.Int32)
L_02a3: callvirt RimWorld.Trait get_Item(Int32)
L_02a8: ldarg.0
L_02a9: ldfld RimWorld.StatDef stat
L_02ae: callvirt Single MultiplierOfStat(RimWorld.StatDef)
L_02b3: mul
L_02b4: stloc.0
L_02b5: ldloc.s 10 (System.Int32)
L_02b7: ldc.i4.1
L_02b8: add
L_02b9: stloc.s 10 (System.Int32)
L_02bb: Label24
L_02bb: ldloc.s 10 (System.Int32)
L_02bd: ldloc.1
L_02be: ldfld RimWorld.Pawn_StoryTracker story
L_02c3: ldfld RimWorld.TraitSet traits
L_02c8: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02cd: callvirt Int32 get_Count()
L_02d2: blt Label25
L_02d7: Label23
L_02d7: ldloc.0
L_02d8: ldloc.1
L_02d9: ldfld Verse.Pawn_AgeTracker ageTracker
L_02de: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_02e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_02e8: ldarg.0
L_02e9: ldfld RimWorld.StatDef stat
L_02ee: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_02f3: mul
L_02f4: stloc.0
L_02f5: Label3
L_02f5: ldarga.s 1
L_02f7: call Verse.ThingDef get_StuffDef()
L_02fc: brfalse Label26
L_0301: ldloc.0
L_0302: ldc.r4 0
L_0307: bgt Label27
L_030c: ldarg.0
L_030d: ldfld RimWorld.StatDef stat
L_0312: ldfld System.Boolean applyFactorsIfNegative
L_0317: brfalse Label28
L_031c: Label27
L_031c: ldloc.0
L_031d: ldarga.s 1
L_031f: call Verse.ThingDef get_StuffDef()
L_0324: ldfld Verse.StuffProperties stuffProps
L_0329: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_032e: ldarg.0
L_032f: ldfld RimWorld.StatDef stat
L_0334: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0339: mul
L_033a: stloc.0
L_033b: Label28
L_033b: ldloc.0
L_033c: ldarga.s 1
L_033e: call Verse.ThingDef get_StuffDef()
L_0343: ldfld Verse.StuffProperties stuffProps
L_0348: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_034d: ldarg.0
L_034e: ldfld RimWorld.StatDef stat
L_0353: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0358: add
L_0359: stloc.0
L_035a: Label26
L_035a: ldarga.s 1
L_035c: call Boolean get_HasThing()
L_0361: brfalse Label29
L_0366: ldarga.s 1
L_0368: call Verse.Thing get_Thing()
L_036d: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0372: stloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0374: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0376: brfalse Label30
L_037b: ldloc.0
L_037c: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_037e: ldarg.0
L_037f: ldfld RimWorld.StatDef stat
L_0384: callvirt Single GetStatOffset(RimWorld.StatDef)
L_0389: add
L_038a: stloc.0
L_038b: Label30
L_038b: ldarg.0
L_038c: ldfld RimWorld.StatDef stat
L_0391: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0396: brfalse Label31
L_039b: ldc.i4.0
L_039c: stloc.s 12 (System.Int32)
L_039e: br Label32
L_03a3: Label33
L_03a3: ldloc.0
L_03a4: ldarga.s 1
L_03a6: call Verse.Thing get_Thing()
L_03ab: ldarg.0
L_03ac: ldfld RimWorld.StatDef stat
L_03b1: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03b6: ldloc.s 12 (System.Int32)
L_03b8: callvirt RimWorld.StatDef get_Item(Int32)
L_03bd: ldc.i4.1
L_03be: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_03c3: mul
L_03c4: stloc.0
L_03c5: ldloc.s 12 (System.Int32)
L_03c7: ldc.i4.1
L_03c8: add
L_03c9: stloc.s 12 (System.Int32)
L_03cb: Label32
L_03cb: ldloc.s 12 (System.Int32)
L_03cd: ldarg.0
L_03ce: ldfld RimWorld.StatDef stat
L_03d3: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03d8: callvirt Int32 get_Count()
L_03dd: blt Label33
L_03e2: Label31
L_03e2: ldloc.1
L_03e3: brfalse Label34
L_03e8: ldloc.1
L_03e9: ldfld RimWorld.Pawn_SkillTracker skills
L_03ee: brfalse Label35
L_03f3: ldarg.0
L_03f4: ldfld RimWorld.StatDef stat
L_03f9: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_03fe: brfalse Label36
L_0403: ldc.i4.0
L_0404: stloc.s 13 (System.Int32)
L_0406: br Label37
L_040b: Label38
L_040b: ldloc.0
L_040c: ldarg.0
L_040d: ldfld RimWorld.StatDef stat
L_0412: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0417: ldloc.s 13 (System.Int32)
L_0419: callvirt RimWorld.SkillNeed get_Item(Int32)
L_041e: ldloc.1
L_041f: callvirt Single ValueFor(Verse.Pawn)
L_0424: mul
L_0425: stloc.0
L_0426: ldloc.s 13 (System.Int32)
L_0428: ldc.i4.1
L_0429: add
L_042a: stloc.s 13 (System.Int32)
L_042c: Label37
L_042c: ldloc.s 13 (System.Int32)
L_042e: ldarg.0
L_042f: ldfld RimWorld.StatDef stat
L_0434: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0439: callvirt Int32 get_Count()
L_043e: blt Label38
L_0443: Label36
L_0443: br Label39
L_0448: Label35
L_0448: ldloc.0
L_0449: ldarg.0
L_044a: ldfld RimWorld.StatDef stat
L_044f: ldfld System.Single noSkillFactor
L_0454: mul
L_0455: stloc.0
L_0456: Label39
L_0456: ldarg.0
L_0457: ldfld RimWorld.StatDef stat
L_045c: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0461: brfalse Label40
L_0466: ldc.i4.0
L_0467: stloc.s 14 (System.Int32)
L_0469: br Label41
L_046e: Label42
L_046e: ldarg.0
L_046f: ldfld RimWorld.StatDef stat
L_0474: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0479: ldloc.s 14 (System.Int32)
L_047b: callvirt RimWorld.PawnCapacityFactor get_Item(Int32)
L_0480: stloc.s 15 (RimWorld.PawnCapacityFactor)
L_0482: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0484: ldloc.1
L_0485: ldfld Verse.Pawn_HealthTracker health
L_048a: ldfld Verse.PawnCapacitiesHandler capacities
L_048f: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0491: ldfld Verse.PawnCapacityDef capacity
L_0496: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_049b: callvirt Single GetFactor(Single)
L_04a0: stloc.s 16 (System.Single)
L_04a2: ldloc.0
L_04a3: ldloc.0
L_04a4: ldloc.s 16 (System.Single)
L_04a6: mul
L_04a7: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_04a9: ldfld System.Single weight
L_04ae: call Single Lerp(Single, Single, Single)
L_04b3: stloc.0
L_04b4: ldloc.s 14 (System.Int32)
L_04b6: ldc.i4.1
L_04b7: add
L_04b8: stloc.s 14 (System.Int32)
L_04ba: Label41
L_04ba: ldloc.s 14 (System.Int32)
L_04bc: ldarg.0
L_04bd: ldfld RimWorld.StatDef stat
L_04c2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_04c7: callvirt Int32 get_Count()
L_04cc: blt Label42
L_04d1: Label40
L_04d1: ldloc.1
L_04d2: callvirt Boolean get_Inspired()
L_04d7: brfalse Label43
L_04dc: ldloc.0
L_04dd: ldloc.1
L_04de: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_04e8: ldarg.0
L_04e9: ldfld RimWorld.StatDef stat
L_04ee: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_04f3: add
L_04f4: stloc.0
L_04f5: ldloc.0
L_04f6: ldloc.1
L_04f7: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04fc: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0501: ldarg.0
L_0502: ldfld RimWorld.StatDef stat
L_0507: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_050c: mul
L_050d: stloc.0
L_050e: Label29
L_050e: Label34
L_050e: Label43
L_050e: ldloc.0
L_050f: stloc 17 (System.Single)
L_0511: ldarg.0
L_0512: ldloca 17 (System.Single)
L_0514: ldarga 1
L_051a: ldarg 2
L_0520: call Void Patch_StatWorker_GetValueUnfinalized(RimWorld.StatWorker, Single
ByRef, StatRequest ByRef, Boolean)
L_0525: ldloc 17 (System.Single)
L_0527: ret
DONE

### Patch RimWorld.Dialog_ManageAreas, Void .ctor(Map)


L_0000: ldarg.0
L_0001: call Void .ctor()
L_0006: ldarg.0
L_0007: ldarg.1
L_0008: stfld Verse.Map map
L_000d: ldarg.0
L_000e: ldc.i4.1
L_000f: stfld System.Boolean forcePause
L_0014: ldarg.0
L_0015: ldc.i4.1
L_0016: stfld System.Boolean doCloseX
L_001b: ldarg.0
L_001c: ldc.i4.1
L_001d: stfld System.Boolean doCloseButton
L_0022: ldarg.0
L_0023: ldc.i4.1
L_0024: stfld System.Boolean closeOnClickedOutside
L_0029: ldarg.0
L_002a: ldc.i4.1
L_002b: stfld System.Boolean absorbInputAroundWindow
L_0030: call Void Postfix()
L_0035: ret
DONE

### Patch RimWorld.Area_Allowed, Int32 get_ListPriority()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldc.i4 500
L_000b: stloc 0 (System.Int32)
L_000c: ldarg.0
L_000d: ldloca 0 (System.Int32)
L_000f: call Void ListPriority_Postfix(RimWorld.Area_Allowed, Int32 ByRef)
L_0014: ldloc 0 (System.Int32)
L_0015: ret
DONE

### Patch RimWorld.InspectGizmoGrid, Void DrawInspectGizmoGridFor(IEnumerable`1,


Verse.Gizmo ByRef)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.ISelectable
L_0000: Local var 2: System.Int32
L_0000: Local var 3:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1
L_0000: Local var 4: System.Collections.Generic.List`1[[Verse.Designator, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 5: System.Int32
L_0000: Local var 6:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0
L_0000: Local var 7: Verse.AcceptanceReport
L_0000: Local var 8: System.Single
L_0000: Local var 9: UnityEngine.Vector2
L_0000: Local var 10: Verse.Command_Action
L_0000: Local var 11: System.Exception
L_0000: call Void ClearReverseDesignatorPairs()
L_0005: ldarg.1
L_0006: ldnull
L_0007: stind.ref
.try
{
L_0008: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_000d: callvirt Void Clear()
L_0012: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0017: ldarg.0
L_0018: callvirt Void AddRange(IEnumerable`1)
L_001d: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0022: callvirt Void Clear()
L_0027: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_002c: call IEnumerable`1 GetStopGizmos()
L_0031: call Void AddRange(IEnumerable`1)
L_0036: ldc.i4.0
L_0037: stloc.0
L_0038: br Label1
L_003d: Label3
L_003d: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0042: ldloc.0
L_0043: callvirt System.Object get_Item(Int32)
L_0048: isinst Verse.ISelectable
L_004d: stloc.1
L_004e: ldloc.1
L_004f: brfalse Label2
L_0054: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0059: ldloc.1
L_005a: callvirt IEnumerable`1 GetGizmos()
L_005f: callvirt Void AddRange(IEnumerable`1)
L_0064: Label2
L_0064: ldloc.0
L_0065: ldc.i4.1
L_0066: add
L_0067: stloc.0
L_0068: Label1
L_0068: ldloc.0
L_0069: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_006e: callvirt Int32 get_Count()
L_0073: blt Label3
L_0078: ldc.i4.0
L_0079: stloc.2
L_007a: br Label4
L_007f: Label12
L_007f: newobj Void .ctor()
L_0084: stloc.3
L_0085: ldloc.3
L_0086: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_008b: ldloc.2
L_008c: callvirt System.Object get_Item(Int32)
L_0091: isinst Verse.Thing
L_0096: stfld Verse.Thing t
L_009b: ldloc.3
L_009c: ldfld Verse.Thing t
L_00a1: brtrue Label5
L_00a6: leave Label6
L_00ab: Label5
L_00ab: call Verse.ReverseDesignatorDatabase get_ReverseDesignatorDatabase()
L_00b0: callvirt System.Collections.Generic.List`1[Verse.Designator]
get_AllDesignators()
L_00b5: stloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00b7: ldc.i4.0
L_00b8: stloc.s 5 (System.Int32)
L_00ba: br Label7
L_00bf: Label11
L_00bf: newobj Void .ctor()
L_00c4: stloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c8: ldloc.3
L_00c9: stfld
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1 <>f__ref$1
L_00ce: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00d0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00d2: ldloc.s 5 (System.Int32)
L_00d4: callvirt Verse.Designator get_Item(Int32)
L_00d9: stfld Verse.Designator des
L_00de: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00e0: ldfld Verse.Designator des
L_00e5: ldloc.3
L_00e6: ldfld Verse.Thing t
L_00eb: callvirt AcceptanceReport CanDesignateThing(Verse.Thing)
L_00f0: stloc.s 7 (Verse.AcceptanceReport)
L_00f2: ldloca.s 7 (Verse.AcceptanceReport)
L_00f4: call Boolean get_Accepted()
L_00f9: brfalse Label8
L_00fe: newobj Void .ctor()
L_0103: stloc.s 10 (Verse.Command_Action)
L_0105: ldloc.s 10 (Verse.Command_Action)
L_0107: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0109: ldfld Verse.Designator des
L_010e: ldloc.3
L_010f: ldfld Verse.Thing t
L_0114: callvirt System.String LabelCapReverseDesignating(Verse.Thing)
L_0119: stfld System.String defaultLabel
L_011e: ldloc.s 10 (Verse.Command_Action)
L_0120: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0122: ldfld Verse.Designator des
L_0127: ldloc.3
L_0128: ldfld Verse.Thing t
L_012d: ldloca.s 8 (System.Single)
L_012f: ldloca.s 9 (UnityEngine.Vector2)
L_0131: callvirt UnityEngine.Texture2D IconReverseDesignating(Verse.Thing,
Single ByRef, Vector2 ByRef)
L_0136: stfld UnityEngine.Texture2D icon
L_013b: ldloc.s 10 (Verse.Command_Action)
L_013d: ldloc.s 8 (System.Single)
L_013f: stfld System.Single iconAngle
L_0144: ldloc.s 10 (Verse.Command_Action)
L_0146: ldloc.s 9 (UnityEngine.Vector2)
L_0148: stfld UnityEngine.Vector2 iconOffset
L_014d: ldloc.s 10 (Verse.Command_Action)
L_014f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0151: ldfld Verse.Designator des
L_0156: ldloc.3
L_0157: ldfld Verse.Thing t
L_015c: callvirt System.String DescReverseDesignating(Verse.Thing)
L_0161: stfld System.String defaultDesc
L_0166: ldloc.s 10 (Verse.Command_Action)
L_0168: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_016a: ldfld Verse.Designator des
L_016f: isinst RimWorld.Designator_Uninstall
L_0174: brfalse Label9
L_0179: ldc.r4 -11
L_017e: br Label10
L_0183: Label9
L_0183: ldc.r4 -20
L_0188: Label10
L_0188: stfld System.Single order
L_018d: ldloc.s 10 (Verse.Command_Action)
L_018f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0191: ldftn Void <>m__0()
L_0197: newobj Void .ctor(Object, IntPtr)
L_019c: stfld System.Action action
L_01a1: ldloc.s 10 (Verse.Command_Action)
L_01a3: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01a5: ldfld Verse.Designator des
L_01aa: ldfld Verse.KeyBindingDef hotKey
L_01af: stfld Verse.KeyBindingDef hotKey
L_01b4: ldloc.s 10 (Verse.Command_Action)
L_01b6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01b8: ldfld Verse.Designator des
L_01bd: ldfld System.Int32 groupKey
L_01c2: stfld System.Int32 groupKey
L_01c7: ldloc.s 6
L_01cc: ldfld Verse.Designator des
L_01d1: ldloc 10
L_01d7: call Void RegisterReverseDesignatorPair(Verse.Designator,
Verse.Command_Action)
L_01dc: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_01e1: ldloc.s 10 (Verse.Command_Action)
L_01e3: callvirt Void Add(Verse.Gizmo)
L_01e8: Label8
L_01e8: ldloc.s 5 (System.Int32)
L_01ea: ldc.i4.1
L_01eb: add
L_01ec: stloc.s 5 (System.Int32)
L_01ee: Label7
L_01ee: ldloc.s 5 (System.Int32)
L_01f0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_01f2: callvirt Int32 get_Count()
L_01f7: blt Label11
L_01fc: Label6
L_01fc: ldloc.2
L_01fd: ldc.i4.1
L_01fe: add
L_01ff: stloc.2
L_0200: Label4
L_0200: ldloc.2
L_0201: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0206: callvirt Int32 get_Count()
L_020b: blt Label12
L_0210: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0215: callvirt Void Clear()
L_021a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_021f: call Verse.WindowStack get_WindowStack()
L_0224: callvirt IInspectPane WindowOfType[IInspectPane]()
L_0229: call Single PaneWidthFor(IInspectPane)
L_022e: ldc.r4 20
L_0233: add
L_0234: ldarg.1
L_0235: call Void DrawGizmoGrid(IEnumerable`1, Single, Verse.Gizmo ByRef)
L_023a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_023f: callvirt Void Clear()
L_0244: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0249: call IEnumerable`1 GetStopGizmos()
L_024e: call Void AddRange(IEnumerable`1)
L_0253: leave Label13
L_0258: leave (autogenerated)
} // end try
.catch System.Exception
{
L_025d: stloc.s 11 (System.Exception)
L_025f: ldloc.s 11 (System.Exception)
L_0261: callvirt System.String ToString()
L_0266: ldc.i4 3427734
L_026b: ldc.i4.0
L_026c: call Void ErrorOnce(System.String, Int32, Boolean)
L_0271: leave Label14
L_0276: leave (autogenerated)
} // end handler
L_027b: Label13
L_027b: Label14
L_027b: ret
DONE

### Patch Verse.PawnUIOverlay, Void DrawPawnGUIOverlay()


L_0000: Local var 0: Verse.AnimalNameDisplayMode
L_0000: Local var 1: UnityEngine.Vector2
L_0000: ldarg.0
L_0001: ldfld Verse.Pawn pawn
L_0006: callvirt Boolean get_Spawned()
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldfld Verse.Pawn pawn
L_0016: callvirt Verse.Map get_Map()
L_001b: ldfld Verse.FogGrid fogGrid
L_0020: ldarg.0
L_0021: ldfld Verse.Pawn pawn
L_0026: callvirt IntVec3 get_Position()
L_002b: callvirt Boolean IsFogged(IntVec3)
L_0030: brfalse Label2
L_0035: Label1
L_0035: br Label14
L_003a: Label2
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt Verse.RaceProperties get_RaceProps()
L_0045: callvirt Boolean get_Humanlike()
L_004a: brtrue Label3
L_004f: call AnimalNameDisplayMode get_AnimalNameMode()
L_0054: stloc.0
L_0055: ldloc.0
L_0056: brfalse Label4
L_005b: ldloc.0
L_005c: ldc.i4.2
L_005d: beq Label5
L_0062: ldloc.0
L_0063: ldc.i4.1
L_0064: beq Label6
L_0069: br Label7
L_006e: Label4
L_006e: br Label15
L_0073: Label5
L_0073: ldarg.0
L_0074: ldfld Verse.Pawn pawn
L_0079: callvirt Verse.Name get_Name()
L_007e: brtrue Label8
L_0083: br Label16
L_0088: Label8
L_0088: br Label9
L_008d: Label6
L_008d: ldarg.0
L_008e: ldfld Verse.Pawn pawn
L_0093: callvirt Verse.Name get_Name()
L_0098: brfalse Label10
L_009d: ldarg.0
L_009e: ldfld Verse.Pawn pawn
L_00a3: callvirt Verse.Name get_Name()
L_00a8: callvirt Boolean get_Numerical()
L_00ad: brfalse Label11
L_00b2: Label10
L_00b2: br Label17
L_00b7: Label11
L_00b7: br Label12
L_00bc: Label3
L_00bc: Label7
L_00bc: Label9
L_00bc: Label12
L_00bc: ldarg.0
L_00bd: ldfld Verse.Pawn pawn
L_00c2: ldc.r4 -0.6
L_00c7: call Vector2 LabelDrawPosFor(Verse.Thing, Single)
L_00cc: stloc.1
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: ldloc.1
L_00d4: ldc.r4 1
L_00d9: ldc.r4 9999
L_00de: ldnull
L_00df: ldc.i4.0
L_00e0: ldc.i4.1
L_00e1: ldc.i4.1
L_00e2: call Void DrawPawnLabel(Verse.Pawn, Vector2, Single, Single,
System.Collections.Generic.Dictionary`2[System.String,System.String], GameFont,
Boolean, Boolean)
L_00e7: ldarg.0
L_00e8: ldfld Verse.Pawn pawn
L_00ed: callvirt Boolean get_CanTradeNow()
L_00f2: brfalse Label13
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: callvirt Verse.Map get_Map()
L_0102: ldfld RimWorld.OverlayDrawer overlayDrawer
L_0107: ldarg.0
L_0108: ldfld Verse.Pawn pawn
L_010d: ldc.i4.s 32
L_010f: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0114: Label13
L_0114: Label14
L_0114: Label15
L_0114: Label16
L_0114: Label17
L_0114: ldarg.0
L_0115: call Void DrawPawnGUIOverlay(Verse.PawnUIOverlay)
L_011a: ret
DONE
### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)
L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ldarg.0
L_0424: ldarg 1
L_042a: ldarg 2
L_0430: ldarg 3
L_0436: call Void RenderPawnAt(Verse.PawnRenderer, Vector3, RotDrawMode, Boolean)
L_043b: ret
DONE

### Patch RimWorld.IncidentWorker_VisitorGroup, Boolean


TryConvertOnePawnToSmallTrader(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map)
L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: RimWorld.TraderKindDef
L_0000: Local var 3: RimWorld.ThingSetMakerParams
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: Verse.IntVec3
L_0000: Local var 8: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Boolean)
L_0007: ldarg.2
L_0008: ldfld RimWorld.FactionDef def
L_000d: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_0012: call Boolean NullOrEmpty[TraderKindDef](IList`1)
L_0017: brfalse Label1
L_001c: ldc.i4.0
L_001d: br Label10
L_0022: Label1
L_0022: ldarg.1
L_0023: call Verse.Pawn RandomElement[Pawn](IEnumerable`1)
L_0028: stloc.0
L_0029: ldloc.0
L_002a: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_002f: stloc.1
L_0030: ldloc.0
L_0031: ldfld Verse.AI.Pawn_MindState mindState
L_0036: ldc.i4.1
L_0037: stfld System.Boolean wantsToTradeWithColony
L_003c: ldloc.0
L_003d: ldc.i4.1
L_003e: call Void AddAndRemoveDynamicComponents(Verse.Pawn, Boolean)
L_0043: ldarg.2
L_0044: ldfld RimWorld.FactionDef def
L_0049: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_004e: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0053: brtrue Label2
L_0058: ldnull
L_0059: ldftn Single <TryConvertOnePawnToSmallTrader>m__0(RimWorld.TraderKindDef)
L_005f: newobj Void .ctor(Object, IntPtr)
L_0064: stsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0069: Label2
L_0069: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_006e: call RimWorld.TraderKindDef RandomElementByWeight[TraderKindDef]
(IEnumerable`1, System.Func`2[RimWorld.TraderKindDef,System.Single])
L_0073: stloc.2
L_0074: ldloc.0
L_0075: ldfld RimWorld.Pawn_TraderTracker trader
L_007a: ldloc.2
L_007b: stfld RimWorld.TraderKindDef traderKind
L_0080: ldloc.0
L_0081: ldfld Verse.Pawn_InventoryTracker inventory
L_0086: ldc.i4.0
L_0087: callvirt Void DestroyAll(DestroyMode)
L_008c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_008e: initobj RimWorld.ThingSetMakerParams
L_0094: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_0096: ldloc.2
L_0097: stfld RimWorld.TraderKindDef traderDef
L_009c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_009e: ldarg.3
L_009f: callvirt Int32 get_Tile()
L_00a4: newobj Void .ctor(Int32)
L_00a9: stfld System.Nullable`1[System.Int32] tile
L_00ae: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_00b0: ldarg.2
L_00b1: stfld RimWorld.Faction traderFaction
L_00b6: ldsfld RimWorld.ThingSetMakerDef TraderStock
L_00bb: ldfld RimWorld.ThingSetMaker root
L_00c0: ldloc.3
L_00c1: callvirt System.Collections.Generic.List`1[Verse.Thing]
Generate(ThingSetMakerParams)
L_00c6: callvirt Enumerator GetEnumerator()
L_00cb: stloc.s 5 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_00cd: br Label3
L_00d2: Label8
L_00d2: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_00d4: call Verse.Thing get_Current()
L_00d9: stloc.s 4 (Verse.Thing)
L_00db: ldloc.s 4 (Verse.Thing)
L_00dd: isinst Verse.Pawn
L_00e2: stloc.s 6 (Verse.Pawn)
L_00e4: ldloc.s 6 (Verse.Pawn)
L_00e6: brfalse Label4
L_00eb: ldloc.s 6 (Verse.Pawn)
L_00ed: callvirt RimWorld.Faction get_Faction()
L_00f2: ldloc.0
L_00f3: callvirt RimWorld.Faction get_Faction()
L_00f8: beq Label5
L_00fd: ldloc.s 6 (Verse.Pawn)
L_00ff: ldloc.0
L_0100: callvirt RimWorld.Faction get_Faction()
L_0105: ldnull
L_0106: callvirt Void SetFaction(RimWorld.Faction, Verse.Pawn)
L_010b: Label5
L_010b: ldloc.0
L_010c: callvirt IntVec3 get_Position()
L_0111: ldarg.3
L_0112: ldc.i4.5
L_0113: ldnull
L_0114: call IntVec3 RandomClosewalkCellNear(IntVec3, Verse.Map, Int32,
System.Predicate`1[Verse.IntVec3])
L_0119: stloc.s 7 (Verse.IntVec3)
L_011b: ldloc.s 6 (Verse.Pawn)
L_011d: ldloc.s 7 (Verse.IntVec3)
L_011f: ldarg.3
L_0120: ldc.i4.0
L_0121: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, WipeMode)
L_0126: pop
L_0127: ldloc.1
L_0128: ldloc.s 6 (Verse.Pawn)
L_012a: callvirt Void AddPawn(Verse.Pawn)
L_012f: br Label6
L_0134: Label4
L_0134: ldloc.0
L_0135: ldfld Verse.Pawn_InventoryTracker inventory
L_013a: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_013f: ldloc.s 4 (Verse.Thing)
L_0141: ldc.i4.1
L_0142: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0147: brtrue Label7
L_014c: ldloc.s 4 (Verse.Thing)
L_014e: ldc.i4.0
L_014f: callvirt Void Destroy(DestroyMode)
L_0154: Label3
L_0154: Label6
L_0154: Label7
L_0154: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0156: call Boolean MoveNext()
L_015b: brtrue Label8
L_0160: leave Label9
L_0165: leave (autogenerated)
} // end try
.finally
{
L_016a: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_016c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_0172: callvirt Void Dispose()
L_0177: endfinally
L_0178: leave (autogenerated)
} // end handler
L_0179: Label9
L_0179: ldloc.0
L_017a: call Void GiveRandomFood(Verse.Pawn)
L_017f: ldc.i4.1
L_0180: Label10
L_0180: stloc 8 (System.Boolean)
L_0182: ldarg 1
L_0188: ldarg 2
L_018e: ldarg 3
L_0194: ldloca 8 (System.Boolean)
L_0196: call Void AddQuestGiver(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map, Boolean ByRef)
L_019b: ldloc 8 (System.Boolean)
L_019d: ret
DONE

### Patch RimWorld.PawnGroupKindWorker_Trader, Void


GenerateGuards(RimWorld.PawnGroupMakerParms, RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Single
L_0000: Local var 1: RimWorld.PawnGenOption
L_0000: Local var 2:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnGenOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: Verse.PawnGenerationRequest
L_0000: Local var 4: Verse.PawnKindDef
L_0000: Local var 5: RimWorld.Faction
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Boolean
L_0000: Local var 8: System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var 9: System.Nullable`1[[Verse.Gender, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 10: Verse.Pawn
L_0000: ldarg.2
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0006: call Boolean Any[PawnGenOption]
(System.Collections.Generic.List`1[RimWorld.PawnGenOption])
L_000b: brtrue Label1
L_0010: br Label6
L_0015: Label1
L_0015: ldarg.1
L_0016: ldfld System.Single points
L_001b: stloc.0
L_001c: ldloc.0
L_001d: ldarg.2
L_001e: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0023: ldarg.1
L_0024: call IEnumerable`1 ChoosePawnGenOptionsByPoints(Single,
System.Collections.Generic.List`1[RimWorld.PawnGenOption],
RimWorld.PawnGroupMakerParms)
L_0029: callvirt IEnumerator`1 GetEnumerator()
L_002e: stloc.2
.try
{
L_002f: br Label2
L_0034: Label3
L_0034: ldloc.2
L_0035: callvirt RimWorld.PawnGenOption get_Current()
L_003a: stloc.1
L_003b: ldloca.s 3 (Verse.PawnGenerationRequest)
L_003d: ldloc.1
L_003e: ldfld Verse.PawnKindDef kind
L_0043: stloc.s 4 (Verse.PawnKindDef)
L_0045: ldarg.1
L_0046: ldfld RimWorld.Faction faction
L_004b: stloc.s 5 (RimWorld.Faction)
L_004d: ldarg.1
L_004e: ldfld System.Int32 tile
L_0053: stloc.s 6 (System.Int32)
L_0055: ldarg.1
L_0056: ldfld System.Boolean inhabitants
L_005b: stloc.s 7 (System.Boolean)
L_005d: ldloc.s 4 (Verse.PawnKindDef)
L_005f: ldloc.s 5 (RimWorld.Faction)
L_0061: ldc.i4.2
L_0062: ldloc.s 6 (System.Int32)
L_0064: ldc.i4.0
L_0065: ldc.i4.0
L_0066: ldc.i4.0
L_0067: ldc.i4.0
L_0068: ldc.i4.1
L_0069: ldc.i4.1
L_006a: ldc.r4 1
L_006f: ldc.i4.0
L_0070: ldc.i4.1
L_0071: ldc.i4.1
L_0072: ldloc.s 7 (System.Boolean)
L_0074: ldc.i4.0
L_0075: ldc.i4.0
L_0076: ldc.i4.0
L_0077: ldnull
L_0078: ldnull
L_0079: ldloca.s 8 (System.Nullable`1[System.Single])
L_007b: initobj System.Nullable`1[System.Single]
L_0081: ldloc.s 8 (System.Nullable`1[System.Single])
L_0083: ldloca.s 8 (System.Nullable`1[System.Single])
L_0085: initobj System.Nullable`1[System.Single]
L_008b: ldloc.s 8 (System.Nullable`1[System.Single])
L_008d: ldloca.s 8 (System.Nullable`1[System.Single])
L_008f: initobj System.Nullable`1[System.Single]
L_0095: ldloc.s 8 (System.Nullable`1[System.Single])
L_0097: ldloca.s 9 (System.Nullable`1[Verse.Gender])
L_0099: initobj System.Nullable`1[Verse.Gender]
L_009f: ldloc.s 9 (System.Nullable`1[Verse.Gender])
L_00a1: ldloca.s 8 (System.Nullable`1[System.Single])
L_00a3: initobj System.Nullable`1[System.Single]
L_00a9: ldloc.s 8 (System.Nullable`1[System.Single])
L_00ab: ldnull
L_00ac: call Void .ctor(PawnKindDef, Faction, PawnGenerationContext, Int32,
Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Single, Boolean, Boolean,
Boolean, Boolean, Boolean, Boolean, Boolean, Predicate`1, Predicate`1, Nullable`1,
Nullable`1, Nullable`1, Nullable`1, Nullable`1, String)
L_00b1: ldloc.3
L_00b2: call Verse.Pawn GeneratePawn(PawnGenerationRequest)
L_00b7: stloc.s 10 (Verse.Pawn)
L_00b9: ldarg.s 5
L_00bb: ldloc.s 10 (Verse.Pawn)
L_00bd: callvirt Void Add(Verse.Pawn)
L_00c2: Label2
L_00c2: ldloc.2
L_00c3: callvirt Boolean MoveNext()
L_00c8: brtrue Label3
L_00cd: leave Label4
L_00d2: leave (autogenerated)
} // end try
.finally
{
L_00d7: ldloc.2
L_00d8: brfalse Label5
L_00dd: ldloc.2
L_00de: callvirt Void Dispose()
L_00e3: Label5
L_00e3: endfinally
L_00e4: leave (autogenerated)
} // end handler
L_00e5: Label4
L_00e5: Label6
L_00e5: ldarg 1
L_00eb: ldarg 2
L_00f1: ldarg 3
L_00f7: ldarg 4
L_00fd: ldarg 5
L_0103: call Void AddQuestGiverTwo(RimWorld.PawnGroupMakerParms,
RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0108: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ldarga 0
L_1ea5: ldarga 1
L_1eab: ldarga 2
L_1eb1: call Void
FloatMenuMakerMap_AddHumanlikeOrdersToDismissTraders_PostFix(Vector3 ByRef,
Verse.Pawn ByRef, System.Collections.Generic.List`1[Verse.FloatMenuOption] ByRef)
L_1eb6: ldarg 0
L_1ebc: ldarg 1
L_1ec2: ldarg 2
L_1ec8: call Void AddHumanlikeOrders(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1ecd: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void PreOpen()


L_0000: ldarg.0
L_0001: call Void PreOpen()
L_0006: call Verse.GameInitData get_GameInitData()
L_000b: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0010: callvirt Int32 get_Count()
L_0015: ldc.i4.0
L_0016: ble Label1
L_001b: ldarg.0
L_001c: call Verse.GameInitData get_GameInitData()
L_0021: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0026: ldc.i4.0
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stfld Verse.Pawn curPawn
L_0031: Label1
L_0031: call Void PreOpenPostfix()
L_0036: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void DoWindowContents(Rect)


L_0000: Local var 0: UnityEngine.Rect
L_0000: Local var 1: UnityEngine.Rect
L_0000: Local var 2: UnityEngine.Rect
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void DrawPageTitle(Rect)
L_0007: ldarga.s 1
L_0009: dup
L_000a: call Single get_yMin()
L_000f: ldc.r4 45
L_0014: add
L_0015: call Void set_yMin(Single)
L_001a: ldarg.0
L_001b: ldarg.1
L_001c: ldstr "Start"
L_0021: call System.String Translate(System.String)
L_0026: ldnull
L_0027: ldnull
L_0028: ldc.i4.1
L_0029: call Void DoBottomButtons(Rect, System.String, System.String,
System.Action, Boolean)
L_002e: ldarga.s 1
L_0030: dup
L_0031: call Single get_yMax()
L_0036: ldc.r4 38
L_003b: sub
L_003c: call Void set_yMax(Single)
L_0041: ldarg.1
L_0042: stloc.0
L_0043: ldloca.s 0 (UnityEngine.Rect)
L_0045: ldc.r4 140
L_004a: call Void set_width(Single)
L_004f: ldarg.0
L_0050: ldloc.0
L_0051: call Void DrawPawnList(Rect)
L_0056: ldloc.0
L_0057: ldstr "ReorderPawn"
L_005c: call Void HighlightOpportunity(Rect, System.String)
L_0061: ldarg.1
L_0062: stloc.1
L_0063: ldloca.s 1 (UnityEngine.Rect)
L_0065: dup
L_0066: call Single get_xMin()
L_006b: ldc.r4 140
L_0070: add
L_0071: call Void set_xMin(Single)
L_0076: ldloc.1
L_0077: ldc.r4 141
L_007c: call Rect BottomPartPixels(Rect, Single)
L_0081: stloc.2
L_0082: ldloca.s 1 (UnityEngine.Rect)
L_0084: ldloca.s 2 (UnityEngine.Rect)
L_0086: call Single get_yMin()
L_008b: call Void set_yMax(Single)
L_0090: ldloc.1
L_0091: ldc.r4 4
L_0096: call Rect ContractedBy(Rect, Single)
L_009b: stloc.1
L_009c: ldloc.2
L_009d: ldc.r4 4
L_00a2: call Rect ContractedBy(Rect, Single)
L_00a7: stloc.2
L_00a8: ldarg.0
L_00a9: ldloc.1
L_00aa: call Void DrawPortraitArea(Rect)
L_00af: ldarg.0
L_00b0: ldloc.2
L_00b1: call Void DrawSkillSummaries(Rect)
L_00b6: ldarg 1
L_00bc: ldarg.0
L_00bd: call Void DoWindowContentsPostfix(Rect,
RimWorld.Page_ConfigureStartingPawns)
L_00c2: ret
DONE

### Patch Verse.Game, Void InitNewGame()


L_0000: Local var 0: System.String
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: RimWorld.Planet.Settlement
L_0000: Local var 3: System.Collections.Generic.List`1[[RimWorld.Planet.Settlement,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.ResearchProjectTagDef
L_0000: Local var 7:
System.Collections.Generic.List`1+Enumerator[[Verse.ResearchProjectTagDef,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: Verse.ResearchProjectDef
L_0000: Local var 9:
System.Collections.Generic.IEnumerator`1[[Verse.ResearchProjectDef, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: call IEnumerable`1 get_RunningMods()
L_0005: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_000a: brtrue Label1
L_000f: ldnull
L_0010: ldftn System.String <InitNewGame>m__1(Verse.ModContentPack)
L_0016: newobj Void .ctor(Object, IntPtr)
L_001b: stsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0020: Label1
L_0020: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0025: call IEnumerable`1 Select[ModContentPack,String](IEnumerable`1,
System.Func`2[Verse.ModContentPack,System.String])
L_002a: ldc.i4.0
L_002b: call System.String ToCommaList(IEnumerable`1, Boolean)
L_0030: stloc.0
L_0031: ldstr "Initializing new game with mods "
L_0036: ldloc.0
L_0037: call System.String Concat(System.String, System.String)
L_003c: ldc.i4.0
L_003d: call Void Message(System.String, Boolean)
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0048: call Boolean Any[Map](System.Collections.Generic.List`1[Verse.Map])
L_004d: brfalse Label2
L_0052: ldstr "Called InitNewGame() but there already is a map. There should be 0
maps..."
L_0057: ldc.i4.0
L_0058: call Void Error(System.String, Boolean)
L_005d: br Label22
L_0062: Label2
L_0062: ldarg.0
L_0063: ldfld Verse.GameInitData initData
L_0068: brtrue Label3
L_006d: ldstr "Called InitNewGame() but init data is null. Create it first."
L_0072: ldc.i4.0
L_0073: call Void Error(System.String, Boolean)
L_0078: br Label23
L_007d: Label3
L_007d: call Void UnloadUnusedUnityAssets()
L_0082: ldstr "InitNewGame"
L_0087: call Void Start(System.String)
.try
{
L_008c: ldc.i4.1
L_008d: call Void set_ProgramState(ProgramState)
L_0092: ldloca.s 1 (Verse.IntVec3)
L_0094: ldarg.0
L_0095: ldfld Verse.GameInitData initData
L_009a: ldfld System.Int32 mapSize
L_009f: ldc.i4.1
L_00a0: ldarg.0
L_00a1: ldfld Verse.GameInitData initData
L_00a6: ldfld System.Int32 mapSize
L_00ab: call Void .ctor(Int32, Int32, Int32)
L_00b0: ldnull
L_00b1: stloc.2
L_00b2: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_00b7: callvirt
System.Collections.Generic.List`1[RimWorld.Planet.Settlement] get_Settlements()
L_00bc: stloc.3
L_00bd: ldc.i4.0
L_00be: stloc.s 4 (System.Int32)
L_00c0: br Label4
L_00c5: Label7
L_00c5: ldloc.3
L_00c6: ldloc.s 4 (System.Int32)
L_00c8: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00cd: callvirt RimWorld.Faction get_Faction()
L_00d2: call RimWorld.Faction get_OfPlayer()
L_00d7: bne.un Label5
L_00dc: ldloc.3
L_00dd: ldloc.s 4 (System.Int32)
L_00df: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00e4: stloc.2
L_00e5: leave Label6
L_00ea: Label5
L_00ea: ldloc.s 4 (System.Int32)
L_00ec: ldc.i4.1
L_00ed: add
L_00ee: stloc.s 4 (System.Int32)
L_00f0: Label4
L_00f0: ldloc.s 4 (System.Int32)
L_00f2: ldloc.3
L_00f3: callvirt Int32 get_Count()
L_00f8: blt Label7
L_00fd: Label6
L_00fd: ldloc.2
L_00fe: brtrue Label8
L_0103: ldstr "Could not generate starting map because there is no any player
faction base."
L_0108: ldc.i4.0
L_0109: call Void Error(System.String, Boolean)
L_010e: Label8
L_010e: ldarg.0
L_010f: ldfld Verse.TickManager tickManager
L_0114: call Int32 get_ConfiguredTicksAbsAtGameStart()
L_0119: stfld System.Int32 gameStartAbsTick
L_011e: ldloc.1
L_011f: ldloc.2
L_0120: ldloc.2
L_0121: callvirt Verse.MapGeneratorDef get_MapGeneratorDef()
L_0126: ldloc.2
L_0127: callvirt IEnumerable`1 get_ExtraGenStepDefs()
L_012c: ldnull
L_012d: call Verse.Map GenerateMap(IntVec3, RimWorld.Planet.MapParent,
Verse.MapGeneratorDef, IEnumerable`1, System.Action`1[Verse.Map])
L_0132: stloc.s 5 (Verse.Map)
L_0134: ldarg.0
L_0135: ldfld RimWorld.Planet.World worldInt
L_013a: ldfld RimWorld.Planet.WorldInfo info
L_013f: ldloc.1
L_0140: stfld Verse.IntVec3 initialMapSize
L_0145: ldarg.0
L_0146: ldfld Verse.GameInitData initData
L_014b: ldfld System.Boolean permadeath
L_0150: brfalse Label9
L_0155: ldarg.0
L_0156: ldfld Verse.GameInfo info
L_015b: ldc.i4.1
L_015c: stfld System.Boolean permadeathMode
L_0161: ldarg.0
L_0162: ldfld Verse.GameInfo info
L_0167: call System.String GeneratePermadeathSaveName()
L_016c: stfld System.String permadeathModeUniqueName
L_0171: Label9
L_0171: ldsfld RimWorld.ThoughtDef NewColonyOptimism
L_0176: call Void GiveAllStartingPlayerPawnsThought(RimWorld.ThoughtDef)
L_017b: ldarg.0
L_017c: call Void FinalizeInit()
L_0181: call Verse.Game get_Game()
L_0186: ldloc.s 5 (Verse.Map)
L_0188: callvirt Void set_CurrentMap(Verse.Map)
L_018d: call Verse.CameraDriver get_CameraDriver()
L_0192: call IntVec3 get_PlayerStartSpot()
L_0197: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_019c: call Verse.CameraDriver get_CameraDriver()
L_01a1: callvirt Void ResetSize()
L_01a6: call Boolean get_PauseOnLoad()
L_01ab: brfalse Label10
L_01b0: ldarg.0
L_01b1: ldfld Verse.GameInitData initData
L_01b6: ldfld System.Boolean startedFromEntry
L_01bb: brfalse Label11
L_01c0: ldarg.0
L_01c1: ldftn Void <InitNewGame>m__2()
L_01c7: newobj Void .ctor(Object, IntPtr)
L_01cc: call Void ExecuteWhenFinished(System.Action)
L_01d1: Label10
L_01d1: Label11
L_01d1: call RimWorld.Scenario get_Scenario()
L_01d6: callvirt Void PostGameStart()
L_01db: call RimWorld.Faction get_OfPlayer()
L_01e0: ldfld RimWorld.FactionDef def
L_01e5: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01ea: brfalse Label12
L_01ef: call RimWorld.Faction get_OfPlayer()
L_01f4: ldfld RimWorld.FactionDef def
L_01f9: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01fe: callvirt Enumerator GetEnumerator()
L_0203: stloc.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
.try
{
L_0205: br Label13
L_020a: Label19
L_020a: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_020c: call Verse.ResearchProjectTagDef get_Current()
L_0211: stloc.s 6 (Verse.ResearchProjectTagDef)
L_0213: call IEnumerable`1 get_AllDefs()
L_0218: callvirt IEnumerator`1 GetEnumerator()
L_021d: stloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
.try
{
L_021f: br Label14
L_0224: Label16
L_0224: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0226: callvirt Verse.ResearchProjectDef get_Current()
L_022b: stloc.s 8 (Verse.ResearchProjectDef)
L_022d: ldloc.s 8 (Verse.ResearchProjectDef)
L_022f: ldloc.s 6 (Verse.ResearchProjectTagDef)
L_0231: callvirt Boolean HasTag(Verse.ResearchProjectTagDef)
L_0236: brfalse Label15
L_023b: ldarg.0
L_023c: ldfld RimWorld.ResearchManager researchManager
L_0241: ldloc.s 8 (Verse.ResearchProjectDef)
L_0243: ldc.i4.0
L_0244: ldnull
L_0245: callvirt Void FinishProject(Verse.ResearchProjectDef,
Boolean, Verse.Pawn)
L_024a: Label14
L_024a: Label15
L_024a: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_024c: callvirt Boolean MoveNext()
L_0251: brtrue Label16
L_0256: leave Label17
L_025b: leave (autogenerated)
} // end try
.finally
{
L_0260: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0262: brfalse Label18
L_0267: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0269: callvirt Void Dispose()
L_026e: Label18
L_026e: endfinally
L_026f: leave (autogenerated)
} // end handler
L_0270: Label13
L_0270: Label17
L_0270: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0272: call Boolean MoveNext()
L_0277: brtrue Label19
L_027c: leave Label20
L_0281: leave (autogenerated)
} // end try
.finally
{
L_0286: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0288: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef]
L_028e: callvirt Void Dispose()
L_0293: endfinally
L_0294: leave (autogenerated)
} // end handler
L_0295: Label12
L_0295: Label20
L_0295: call Void StartedNewGame()
L_029a: ldarg.0
L_029b: ldnull
L_029c: stfld Verse.GameInitData initData
L_02a1: leave Label21
L_02a6: leave (autogenerated)
} // end try
.finally
{
L_02ab: call Void End()
L_02b0: endfinally
L_02b1: leave (autogenerated)
} // end handler
L_02b2: Label21
L_02b2: Label22
L_02b2: Label23
L_02b2: call Void InitNewGamePostfix()
L_02b7: ret
DONE

### Patch RimWorld.MainTabWindow_Inspect, IEnumerable`1 get_CurTabs()


L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[Verse.InspectTabBase, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0002: ldarg.0
L_0003: call Int32 get_NumSelected()
L_0008: ldc.i4.1
L_0009: bne.un Label1
L_000e: ldarg.0
L_000f: call Verse.Thing get_SelThing()
L_0014: brfalse Label2
L_0019: ldarg.0
L_001a: call Verse.Thing get_SelThing()
L_001f: ldfld Verse.ThingDef def
L_0024: ldfld System.Collections.Generic.List`1[Verse.InspectTabBase]
inspectorTabsResolved
L_0029: brfalse Label3
L_002e: ldarg.0
L_002f: call Verse.Thing get_SelThing()
L_0034: callvirt IEnumerable`1 GetInspectTabs()
L_0039: br Label5
L_003e: Label2
L_003e: Label3
L_003e: ldarg.0
L_003f: call Verse.Zone get_SelZone()
L_0044: brfalse Label4
L_0049: ldarg.0
L_004a: call Verse.Zone get_SelZone()
L_004f: callvirt IEnumerable`1 GetInspectTabs()
L_0054: br Label6
L_0059: Label1
L_0059: Label4
L_0059: call IEnumerable`1 Empty[InspectTabBase]()
L_005e: Label5
L_005e: Label6
L_005e: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_005f: ldloca 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0061: call Void Postfix(IEnumerable`1 ByRef)
L_0066: ldloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0067: ret
DONE

### Patch Verse.ThingOwner, Void NotifyAdded(Verse.Thing)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Map, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.CompTransporter
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: Local var 4: RimWorld.Pawn_ApparelTracker
L_0000: Local var 5: Verse.Pawn_EquipmentTracker
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: call Boolean ShouldAutoExtinguishInnerThings(IThingHolder)
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldsfld Verse.ThingDef Fire
L_0016: call Boolean HasAttachment(Verse.Thing, Verse.ThingDef)
L_001b: brfalse Label2
L_0020: ldarg.1
L_0021: ldsfld Verse.ThingDef Fire
L_0026: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_002b: ldc.i4.0
L_002c: callvirt Void Destroy(DestroyMode)
L_0031: Label1
L_0031: Label2
L_0031: ldarg.0
L_0032: ldfld Verse.IThingHolder owner
L_0037: call Boolean ShouldRemoveDesignationsOnAddedThings(IThingHolder)
L_003c: brfalse Label3
L_0041: call System.Collections.Generic.List`1[Verse.Map] get_Maps()
L_0046: stloc.0
L_0047: ldc.i4.0
L_0048: stloc.1
L_0049: br Label4
L_004e: Label5
L_004e: ldloc.0
L_004f: ldloc.1
L_0050: callvirt Verse.Map get_Item(Int32)
L_0055: ldfld Verse.DesignationManager designationManager
L_005a: ldarg.1
L_005b: ldc.i4.0
L_005c: callvirt Void RemoveAllDesignationsOn(Verse.Thing, Boolean)
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label4
L_0065: ldloc.1
L_0066: ldloc.0
L_0067: callvirt Int32 get_Count()
L_006c: blt Label5
L_0071: Label3
L_0071: ldarg.0
L_0072: ldfld Verse.IThingHolder owner
L_0077: isinst RimWorld.CompTransporter
L_007c: stloc.2
L_007d: ldloc.2
L_007e: brfalse Label6
L_0083: ldloc.2
L_0084: ldarg.1
L_0085: callvirt Void Notify_ThingAdded(Verse.Thing)
L_008a: Label6
L_008a: ldarg.0
L_008b: ldfld Verse.IThingHolder owner
L_0090: isinst RimWorld.Planet.Caravan
L_0095: stloc.3
L_0096: ldloc.3
L_0097: brfalse Label7
L_009c: ldloc.3
L_009d: ldarg.1
L_009e: castclass Verse.Pawn
L_00a3: callvirt Void Notify_PawnAdded(Verse.Pawn)
L_00a8: Label7
L_00a8: ldarg.0
L_00a9: ldfld Verse.IThingHolder owner
L_00ae: isinst RimWorld.Pawn_ApparelTracker
L_00b3: stloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b5: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b7: brfalse Label8
L_00bc: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00be: ldarg.1
L_00bf: castclass RimWorld.Apparel
L_00c4: callvirt Void Notify_ApparelAdded(RimWorld.Apparel)
L_00c9: Label8
L_00c9: ldarg.0
L_00ca: ldfld Verse.IThingHolder owner
L_00cf: isinst Verse.Pawn_EquipmentTracker
L_00d4: stloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d6: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d8: brfalse Label9
L_00dd: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00df: ldarg.1
L_00e0: castclass Verse.ThingWithComps
L_00e5: callvirt Void Notify_EquipmentAdded(Verse.ThingWithComps)
L_00ea: Label9
L_00ea: ldarg.0
L_00eb: ldarg.1
L_00ec: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_00f1: ldarg.0
L_00f2: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_00f7: ret
DONE

### Patch Verse.ThingOwner, Void NotifyRemoved(Verse.Thing)


L_0000: Local var 0: Verse.Pawn_InventoryTracker
L_0000: Local var 1: RimWorld.Pawn_ApparelTracker
L_0000: Local var 2: Verse.Pawn_EquipmentTracker
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: isinst Verse.Pawn_InventoryTracker
L_000b: stloc.0
L_000c: ldloc.0
L_000d: brfalse Label1
L_0012: ldloc.0
L_0013: ldarg.1
L_0014: callvirt Void Notify_ItemRemoved(Verse.Thing)
L_0019: Label1
L_0019: ldarg.0
L_001a: ldfld Verse.IThingHolder owner
L_001f: isinst RimWorld.Pawn_ApparelTracker
L_0024: stloc.1
L_0025: ldloc.1
L_0026: brfalse Label2
L_002b: ldloc.1
L_002c: ldarg.1
L_002d: castclass RimWorld.Apparel
L_0032: callvirt Void Notify_ApparelRemoved(RimWorld.Apparel)
L_0037: Label2
L_0037: ldarg.0
L_0038: ldfld Verse.IThingHolder owner
L_003d: isinst Verse.Pawn_EquipmentTracker
L_0042: stloc.2
L_0043: ldloc.2
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldarg.1
L_004b: castclass Verse.ThingWithComps
L_0050: callvirt Void Notify_EquipmentRemoved(Verse.ThingWithComps)
L_0055: Label3
L_0055: ldarg.0
L_0056: ldfld Verse.IThingHolder owner
L_005b: isinst RimWorld.Planet.Caravan
L_0060: stloc.3
L_0061: ldloc.3
L_0062: brfalse Label4
L_0067: ldloc.3
L_0068: ldarg.1
L_0069: castclass Verse.Pawn
L_006e: callvirt Void Notify_PawnRemoved(Verse.Pawn)
L_0073: Label4
L_0073: ldarg.0
L_0074: ldarg.1
L_0075: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_007a: ldarg.0
L_007b: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_0080: ret
DONE

### Patch RimWorld.Selector, Void ClearSelection()


L_0000: call Void Clear()
L_0005: ldarg.0
L_0006: ldfld System.Collections.Generic.List`1[System.Object] selected
L_000b: callvirt Void Clear()
L_0010: call Void Postfix()
L_0015: ret
DONE

### Patch RimWorld.Selector, Void Deselect(System.Object)


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldloca 0 (System.Int32)
L_0008: call Void Prefix(Int32 ByRef)
L_000d: ldarg.0
L_000e: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0013: ldarg.1
L_0014: callvirt Boolean Contains(System.Object)
L_0019: brfalse Label1
L_001e: ldarg.0
L_001f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0024: ldarg.1
L_0025: callvirt Boolean Remove(System.Object)
L_002a: pop
L_002b: Label1
L_002b: ldloc 0 (System.Int32)
L_002c: call Void Postfix(Int32)
L_0031: ret
DONE

### Patch RimWorld.Selector, Void Select(System.Object, Boolean, Boolean)


L_0000: Local var 0: Verse.Thing
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Int32)
L_0007: ldloca 7 (System.Int32)
L_0009: call Void Prefix(Int32 ByRef)
L_000e: ldarg.1
L_000f: brtrue Label1
L_0014: ldstr "Cannot select null."
L_0019: ldc.i4.0
L_001a: call Void Error(System.String, Boolean)
L_001f: br Label26
L_0024: Label1
L_0024: ldarg.1
L_0025: isinst Verse.Thing
L_002a: stloc.0
L_002b: ldloc.0
L_002c: brtrue Label2
L_0031: ldarg.1
L_0032: isinst Verse.Zone
L_0037: brtrue Label3
L_003c: ldstr "Tried to select "
L_0041: ldarg.1
L_0042: ldstr " which is neither a Thing nor a Zone."
L_0047: call System.String Concat(System.Object, System.Object, System.Object)
L_004c: ldc.i4.0
L_004d: call Void Error(System.String, Boolean)
L_0052: br Label27
L_0057: Label2
L_0057: Label3
L_0057: ldloc.0
L_0058: brfalse Label4
L_005d: ldloc.0
L_005e: callvirt Boolean get_Destroyed()
L_0063: brfalse Label5
L_0068: ldstr "Cannot select destroyed thing."
L_006d: ldc.i4.0
L_006e: call Void Error(System.String, Boolean)
L_0073: br Label28
L_0078: Label4
L_0078: Label5
L_0078: ldarg.1
L_0079: isinst Verse.Pawn
L_007e: stloc.1
L_007f: ldloc.1
L_0080: brfalse Label6
L_0085: ldloc.1
L_0086: call Boolean IsWorldPawn(Verse.Pawn)
L_008b: brfalse Label7
L_0090: ldstr "Cannot select world pawns."
L_0095: ldc.i4.0
L_0096: call Void Error(System.String, Boolean)
L_009b: br Label29
L_00a0: Label6
L_00a0: Label7
L_00a0: ldarg.3
L_00a1: brfalse Label8
L_00a6: call Verse.DesignatorManager get_DesignatorManager()
L_00ab: callvirt Void Deselect()
L_00b0: Label8
L_00b0: ldarg.0
L_00b1: call Verse.Zone get_SelectedZone()
L_00b6: brfalse Label9
L_00bb: ldarg.1
L_00bc: isinst Verse.Zone
L_00c1: brtrue Label10
L_00c6: ldarg.0
L_00c7: call Void ClearSelection()
L_00cc: Label9
L_00cc: Label10
L_00cc: ldarg.1
L_00cd: isinst Verse.Zone
L_00d2: brfalse Label11
L_00d7: ldarg.0
L_00d8: call Verse.Zone get_SelectedZone()
L_00dd: brtrue Label12
L_00e2: ldarg.0
L_00e3: call Void ClearSelection()
L_00e8: Label11
L_00e8: Label12
L_00e8: ldloc.0
L_00e9: brfalse Label13
L_00ee: ldloc.0
L_00ef: callvirt Verse.Map get_Map()
L_00f4: br Label14
L_00f9: Label13
L_00f9: ldarg.1
L_00fa: castclass Verse.Zone
L_00ff: callvirt Verse.Map get_Map()
L_0104: Label14
L_0104: stloc.2
L_0105: ldarg.0
L_0106: ldfld System.Collections.Generic.List`1[System.Object] selected
L_010b: callvirt Int32 get_Count()
L_0110: ldc.i4.1
L_0111: sub
L_0112: stloc.3
L_0113: br Label15
L_0118: Label19
L_0118: ldarg.0
L_0119: ldfld System.Collections.Generic.List`1[System.Object] selected
L_011e: ldloc.3
L_011f: callvirt System.Object get_Item(Int32)
L_0124: isinst Verse.Thing
L_0129: stloc.s 4 (Verse.Thing)
L_012b: ldloc.s 4 (Verse.Thing)
L_012d: brfalse Label16
L_0132: ldloc.s 4 (Verse.Thing)
L_0134: callvirt Verse.Map get_Map()
L_0139: br Label17
L_013e: Label16
L_013e: ldarg.0
L_013f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0144: ldloc.3
L_0145: callvirt System.Object get_Item(Int32)
L_014a: castclass Verse.Zone
L_014f: callvirt Verse.Map get_Map()
L_0154: Label17
L_0154: stloc.s 5 (Verse.Map)
L_0156: ldloc.s 5 (Verse.Map)
L_0158: ldloc.2
L_0159: beq Label18
L_015e: ldarg.0
L_015f: ldarg.0
L_0160: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0165: ldloc.3
L_0166: callvirt System.Object get_Item(Int32)
L_016b: call Void Deselect(System.Object)
L_0170: Label18
L_0170: ldloc.3
L_0171: ldc.i4.1
L_0172: sub
L_0173: stloc.3
L_0174: Label15
L_0174: ldloc.3
L_0175: ldc.i4.0
L_0176: bge Label19
L_017b: ldarg.0
L_017c: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0181: callvirt Int32 get_Count()
L_0186: ldc.i4.s 80
L_0188: blt Label20
L_018d: br Label30
L_0192: Label20
L_0192: ldarg.0
L_0193: ldarg.1
L_0194: call Boolean IsSelected(System.Object)
L_0199: brtrue Label21
L_019e: ldloc.2
L_019f: call Verse.Map get_CurrentMap()
L_01a4: beq Label22
L_01a9: call Verse.Game get_Game()
L_01ae: ldloc.2
L_01af: callvirt Void set_CurrentMap(Verse.Map)
L_01b4: ldsfld Verse.SoundDef MapSelected
L_01b9: ldnull
L_01ba: call Void PlayOneShotOnCamera(Verse.SoundDef, Verse.Map)
L_01bf: ldloc.0
L_01c0: brfalse Label23
L_01c5: ldloc.0
L_01c6: callvirt IntVec3 get_Position()
L_01cb: br Label24
L_01d0: Label23
L_01d0: ldarg.1
L_01d1: castclass Verse.Zone
L_01d6: callvirt System.Collections.Generic.List`1[Verse.IntVec3] get_Cells()
L_01db: ldc.i4.0
L_01dc: callvirt IntVec3 get_Item(Int32)
L_01e1: Label24
L_01e1: stloc.s 6 (Verse.IntVec3)
L_01e3: call Verse.CameraDriver get_CameraDriver()
L_01e8: ldloc.s 6 (Verse.IntVec3)
L_01ea: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_01ef: Label22
L_01ef: ldarg.2
L_01f0: brfalse Label25
L_01f5: ldarg.0
L_01f6: ldarg.1
L_01f7: call Void PlaySelectionSoundFor(System.Object)
L_01fc: Label25
L_01fc: ldarg.0
L_01fd: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0202: ldarg.1
L_0203: callvirt Void Add(System.Object)
L_0208: ldarg.1
L_0209: call Void Notify_Selected(System.Object)
L_020e: Label21
L_020e: Label26
L_020e: Label27
L_020e: Label28
L_020e: Label29
L_020e: Label30
L_020e: ldloc 7 (System.Int32)
L_0210: call Void Postfix(Int32)
L_0215: ret
DONE

### Patch RimWorld.Blueprint_Build, Verse.Thing MakeSolidThing()


L_0000: Local var 0: Verse.Thing
L_0000: ldnull
L_0001: stloc 0 (Verse.Thing)
L_0002: ldarg.0
L_0003: ldfld Verse.ThingDef def
L_0008: ldfld Verse.BuildableDef entityDefToBuild
L_000d: ldfld Verse.ThingDef frameDef
L_0012: ldarg.0
L_0013: ldfld Verse.ThingDef stuffToUse
L_0018: call Verse.Thing MakeThing(Verse.ThingDef, Verse.ThingDef)
L_001d: stloc 0 (Verse.Thing)
L_001e: ldloc 0 (Verse.Thing)
L_001f: ldarg.0
L_0020: call Void Postfix(Verse.Thing, RimWorld.Blueprint_Build)
L_0025: ldloc 0 (Verse.Thing)
L_0026: ret
DONE

### Patch Verse.AreaManager, Void ExposeData()


L_0000: ldarg.0
L_0001: call Void Prefix(Verse.AreaManager)
L_0006: ldarg.0
L_0007: ldflda System.Collections.Generic.List`1[Verse.Area] areas
L_000c: ldstr "areas"
L_0011: ldc.i4.2
L_0012: ldc.i4.0
L_0013: newarr System.Object
L_0018: call Void Look[Area](System.Collections.Generic.List`1[Verse.Area] ByRef,
System.String, LookMode, System.Object[])
L_001d: ldsfld Verse.LoadSaveMode mode
L_0022: ldc.i4.2
L_0023: bne.un Label1
L_0028: ldarg.0
L_0029: call Void UpdateAllAreasLinks()
L_002e: Label1
L_002e: ret
DONE

### Patch RimWorld.PlaySettings, Void DoPlaySettingsGlobalControls(Verse.WidgetRow,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Boolean
L_0000: Local var 3: System.Boolean
L_0000: ldarg.0
L_0001: ldfld System.Boolean showColonistBar
L_0006: stloc.0
L_0007: ldarg.2
L_0008: brfalse Label1
L_000d: call ProgramState get_ProgramState()
L_0012: ldc.i4.2
L_0013: bne.un Label2
L_0018: ldarg.1
L_0019: ldarg.0
L_001a: ldflda System.Boolean showColonistBar
L_001f: ldsfld UnityEngine.Texture2D ShowColonistBar
L_0024: ldstr "ShowColonistBarToggleButton"
L_0029: call System.String Translate(System.String)
L_002e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0033: ldnull
L_0034: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0039: Label2
L_0039: ldarg.0
L_003a: ldfld System.Boolean lockNorthUp
L_003f: stloc.1
L_0040: ldarg.1
L_0041: ldarg.0
L_0042: ldflda System.Boolean lockNorthUp
L_0047: ldsfld UnityEngine.Texture2D LockNorthUp
L_004c: ldstr "LockNorthUpToggleButton"
L_0051: call System.String Translate(System.String)
L_0056: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_005b: ldnull
L_005c: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0061: ldloc.1
L_0062: ldarg.0
L_0063: ldfld System.Boolean lockNorthUp
L_0068: beq Label3
L_006d: ldarg.0
L_006e: ldfld System.Boolean lockNorthUp
L_0073: brfalse Label4
L_0078: call RimWorld.Planet.WorldCameraDriver get_WorldCameraDriver()
L_007d: ldc.i4.1
L_007e: callvirt Void RotateSoNorthIsUp(Boolean)
L_0083: Label3
L_0083: Label4
L_0083: ldarg.1
L_0084: ldarg.0
L_0085: ldflda System.Boolean usePlanetDayNightSystem
L_008a: ldsfld UnityEngine.Texture2D UsePlanetDayNightSystem
L_008f: ldstr "UsePlanetDayNightSystemToggleButton"
L_0094: call System.String Translate(System.String)
L_0099: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_009e: ldnull
L_009f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00a4: ldarg.1
L_00a5: ldarg.0
L_00a6: ldflda System.Boolean showExpandingIcons
L_00ab: ldsfld UnityEngine.Texture2D ShowExpandingIcons
L_00b0: ldstr "ShowExpandingIconsToggleButton"
L_00b5: call System.String Translate(System.String)
L_00ba: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00bf: ldnull
L_00c0: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00c5: ldarg.1
L_00c6: ldarg.0
L_00c7: ldflda System.Boolean showWorldFeatures
L_00cc: ldsfld UnityEngine.Texture2D ShowWorldFeatures
L_00d1: ldstr "ShowWorldFeaturesToggleButton"
L_00d6: call System.String Translate(System.String)
L_00db: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00e0: ldnull
L_00e1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00e6: br Label5
L_00eb: Label1
L_00eb: ldarg.1
L_00ec: ldarg.0
L_00ed: ldflda System.Boolean showLearningHelper
L_00f2: ldsfld UnityEngine.Texture2D ShowLearningHelper
L_00f7: ldstr "ShowLearningHelperWhenEmptyToggleButton"
L_00fc: call System.String Translate(System.String)
L_0101: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0106: ldnull
L_0107: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_010c: ldarg.1
L_010d: ldarg.0
L_010e: ldflda System.Boolean showZones
L_0113: ldsfld UnityEngine.Texture2D ShowZones
L_0118: ldstr "ZoneVisibilityToggleButton"
L_011d: call System.String Translate(System.String)
L_0122: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0127: ldnull
L_0128: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_012d: ldarg.1
L_012e: ldarg.0
L_012f: ldflda System.Boolean showBeauty
L_0134: ldsfld UnityEngine.Texture2D ShowBeauty
L_0139: ldstr "ShowBeautyToggleButton"
L_013e: call System.String Translate(System.String)
L_0143: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0148: ldnull
L_0149: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_014e: ldarg.0
L_014f: ldsfld Verse.KeyBindingDef ToggleBeautyDisplay
L_0154: ldarg.0
L_0155: ldflda System.Boolean showBeauty
L_015a: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_015f: ldarg.1
L_0160: ldarg.0
L_0161: ldflda System.Boolean showRoomStats
L_0166: ldsfld UnityEngine.Texture2D ShowRoomStats
L_016b: ldstr "ShowRoomStatsToggleButton"
L_0170: call System.String Translate(System.String)
L_0175: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_017a: ldstr "InspectRoomStats"
L_017f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0184: ldarg.0
L_0185: ldsfld Verse.KeyBindingDef ToggleRoomStatsDisplay
L_018a: ldarg.0
L_018b: ldflda System.Boolean showRoomStats
L_0190: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_0195: ldarg.1
L_0196: ldarg.0
L_0197: ldflda System.Boolean showColonistBar
L_019c: ldsfld UnityEngine.Texture2D ShowColonistBar
L_01a1: ldstr "ShowColonistBarToggleButton"
L_01a6: call System.String Translate(System.String)
L_01ab: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01b0: ldnull
L_01b1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01b6: ldarg.1
L_01b7: ldarg.0
L_01b8: ldflda System.Boolean showRoofOverlay
L_01bd: ldsfld UnityEngine.Texture2D ShowRoofOverlay
L_01c2: ldstr "ShowRoofOverlayToggleButton"
L_01c7: call System.String Translate(System.String)
L_01cc: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01d1: ldnull
L_01d2: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01d7: ldarg.1
L_01d8: ldarg.0
L_01d9: ldflda System.Boolean autoHomeArea
L_01de: ldsfld UnityEngine.Texture2D AutoHomeArea
L_01e3: ldstr "AutoHomeAreaToggleButton"
L_01e8: call System.String Translate(System.String)
L_01ed: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01f2: ldnull
L_01f3: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01f8: ldarg.1
L_01f9: ldarg.0
L_01fa: ldflda System.Boolean autoRebuild
L_01ff: ldsfld UnityEngine.Texture2D AutoRebuild
L_0204: ldstr "AutoRebuildButton"
L_0209: call System.String Translate(System.String)
L_020e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0213: ldnull
L_0214: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0219: call Boolean get_ResourceReadoutCategorized()
L_021e: stloc.2
L_021f: ldloc.2
L_0220: stloc.3
L_0221: ldarg.1
L_0222: ldloca.s 2 (System.Boolean)
L_0224: ldsfld UnityEngine.Texture2D CategorizedResourceReadout
L_0229: ldstr "CategorizedResourceReadoutToggleButton"
L_022e: call System.String Translate(System.String)
L_0233: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0238: ldnull
L_0239: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_023e: ldloc.2
L_023f: ldloc.3
L_0240: beq Label6
L_0245: ldloc.2
L_0246: call Void set_ResourceReadoutCategorized(Boolean)
L_024b: Label5
L_024b: Label6
L_024b: ldloc.0
L_024c: ldarg.0
L_024d: ldfld System.Boolean showColonistBar
L_0252: beq Label7
L_0257: call RimWorld.ColonistBar get_ColonistBar()
L_025c: callvirt Void MarkColonistsDirty()
L_0261: Label7
L_0261: ldarg 1
L_0267: ldarg 2
L_026d: call Void AddButton(Verse.WidgetRow, Boolean)
L_0272: ldarg 1
L_0278: ldarg 2
L_027e: call Void AddButton(Verse.WidgetRow, Boolean)
L_0283: ldarg 1
L_0289: ldarg 2
L_028f: call Void AddButton(Verse.WidgetRow, Boolean)
L_0294: ldarg 1
L_029a: ldarg 2
L_02a0: call Void Postfix(Verse.WidgetRow, Boolean)
L_02a5: ret
DONE

### Patch RimWorld.Apparel, Void Notify_PawnKilled()


L_0000: ldarg.0
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.ApparelProperties apparel
L_000b: ldfld System.Boolean careIfWornByCorpse
L_0010: brfalse Label1
L_0015: ldarg.0
L_0016: ldc.i4.1
L_0017: stfld System.Boolean wornByCorpseInt
L_001c: Label1
L_001c: ldarg.0
L_001d: call Void Postfix(RimWorld.Apparel)
L_0022: ret
DONE

### Patch Verse.Game, Void UpdatePlay()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.TickManager tickManager
L_0006: callvirt Void TickManagerUpdate()
L_000b: ldarg.0
L_000c: ldfld Verse.LetterStack letterStack
L_0011: callvirt Void LetterStackUpdate()
L_0016: ldarg.0
L_0017: call RimWorld.Planet.World get_World()
L_001c: callvirt Void WorldUpdate()
L_0021: ldc.i4.0
L_0022: stloc.0
L_0023: br Label1
L_0028: Label2
L_0028: ldarg.0
L_0029: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_002e: ldloc.0
L_002f: callvirt Verse.Map get_Item(Int32)
L_0034: callvirt Void MapUpdate()
L_0039: ldloc.0
L_003a: ldc.i4.1
L_003b: add
L_003c: stloc.0
L_003d: Label1
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0044: callvirt Int32 get_Count()
L_0049: blt Label2
L_004e: ldarg.0
L_004f: call Verse.GameInfo get_Info()
L_0054: callvirt Void GameInfoUpdate()
L_0059: call Void GameComponentUpdate()
L_005e: call Void Postfix()
L_0063: ret
DONE

### Patch Verse.EdificeGrid, Void Register(Verse.Building)


L_0000: Local var 0: Verse.CellIndices
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.IntVec3
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean RegisterDoorExpanded(Verse.EdificeGrid, Verse.Building)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld Verse.Map map
L_0017: ldfld Verse.CellIndices cellIndices
L_001c: stloc.0
L_001d: ldarg.1
L_001e: call CellRect OccupiedRect(Verse.Thing)
L_0023: stloc.1
L_0024: ldloca.s 1 (Verse.CellRect)
L_0026: ldfld System.Int32 minZ
L_002b: stloc.2
L_002c: br Label1
L_0031: Label7
L_0031: ldloca.s 1 (Verse.CellRect)
L_0033: ldfld System.Int32 minX
L_0038: stloc.3
L_0039: br Label2
L_003e: Label6
L_003e: ldloca.s 4 (Verse.IntVec3)
L_0040: ldloc.3
L_0041: ldc.i4.0
L_0042: ldloc.2
L_0043: call Void .ctor(Int32, Int32, Int32)
L_0048: ldsfld System.Boolean isDebugBuild
L_004d: brfalse Label3
L_0052: ldarg.0
L_0053: ldloc.s 4 (Verse.IntVec3)
L_0055: call Verse.Building get_Item(IntVec3)
L_005a: brfalse Label4
L_005f: ldarg.0
L_0060: ldloc.s 4 (Verse.IntVec3)
L_0062: call Verse.Building get_Item(IntVec3)
L_0067: callvirt Boolean get_Destroyed()
L_006c: brtrue Label5
L_0071: ldc.i4.7
L_0072: newarr System.Object
L_0077: dup
L_0078: ldc.i4.0
L_0079: ldstr "Added edifice "
L_007e: stelem.ref
L_007f: dup
L_0080: ldc.i4.1
L_0081: ldarg.1
L_0082: callvirt System.String get_LabelCap()
L_0087: stelem.ref
L_0088: dup
L_0089: ldc.i4.2
L_008a: ldstr " over edifice "
L_008f: stelem.ref
L_0090: dup
L_0091: ldc.i4.3
L_0092: ldarg.0
L_0093: ldloc.s 4 (Verse.IntVec3)
L_0095: call Verse.Building get_Item(IntVec3)
L_009a: callvirt System.String get_LabelCap()
L_009f: stelem.ref
L_00a0: dup
L_00a1: ldc.i4.4
L_00a2: ldstr " at "
L_00a7: stelem.ref
L_00a8: dup
L_00a9: ldc.i4.5
L_00aa: ldloc.s 4 (Verse.IntVec3)
L_00ac: box Verse.IntVec3
L_00b1: stelem.ref
L_00b2: dup
L_00b3: ldc.i4.6
L_00b4: ldstr ". Destroying old edifice."
L_00b9: stelem.ref
L_00ba: call System.String Concat(System.Object[])
L_00bf: ldc.i4.0
L_00c0: call Void Error(System.String, Boolean)
L_00c5: ldarg.0
L_00c6: ldloc.s 4 (Verse.IntVec3)
L_00c8: call Verse.Building get_Item(IntVec3)
L_00cd: ldc.i4.0
L_00ce: callvirt Void Destroy(DestroyMode)
L_00d3: br Label8
L_00d8: Label3
L_00d8: Label4
L_00d8: Label5
L_00d8: ldarg.0
L_00d9: ldfld Verse.Building[] innerArray
L_00de: ldloc.0
L_00df: ldloc.s 4 (Verse.IntVec3)
L_00e1: callvirt Int32 CellToIndex(IntVec3)
L_00e6: ldarg.1
L_00e7: stelem.ref
L_00e8: ldloc.3
L_00e9: ldc.i4.1
L_00ea: add
L_00eb: stloc.3
L_00ec: Label2
L_00ec: ldloc.3
L_00ed: ldloca.s 1 (Verse.CellRect)
L_00ef: ldfld System.Int32 maxX
L_00f4: ble Label6
L_00f9: ldloc.2
L_00fa: ldc.i4.1
L_00fb: add
L_00fc: stloc.2
L_00fd: Label1
L_00fd: ldloc.2
L_00fe: ldloca.s 1 (Verse.CellRect)
L_0100: ldfld System.Int32 maxZ
L_0105: ble Label7
L_010a: Label8
L_010a: Label0
L_010a: ret
DONE

### Patch RimWorld.Building_Door, Void DoorOpen(Int32)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorOpen(RimWorld.Building_Door, Int32)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean openInt
L_0017: brfalse Label1
L_001c: ldarg.0
L_001d: ldarg.1
L_001e: stfld System.Int32 ticksUntilClose
L_0023: br Label2
L_0028: Label1
L_0028: ldarg.0
L_0029: ldarg.0
L_002a: call Int32 get_TicksToOpenNow()
L_002f: ldarg.1
L_0030: add
L_0031: stfld System.Int32 ticksUntilClose
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld System.Boolean openInt
L_003c: brtrue Label3
L_0041: ldarg.0
L_0042: ldc.i4.1
L_0043: stfld System.Boolean openInt
L_0048: ldarg.0
L_0049: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_004e: ldarg.0
L_004f: call Boolean get_DoorPowerOn()
L_0054: brfalse Label4
L_0059: ldarg.0
L_005a: ldfld Verse.ThingDef def
L_005f: ldfld RimWorld.BuildingProperties building
L_0064: ldfld Verse.SoundDef soundDoorOpenPowered
L_0069: ldarg.0
L_006a: call IntVec3 get_Position()
L_006f: ldarg.0
L_0070: call Verse.Map get_Map()
L_0075: ldc.i4.0
L_0076: newobj Void .ctor(IntVec3, Map, Boolean)
L_007b: call SoundInfo op_Implicit(TargetInfo)
L_0080: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0085: br Label5
L_008a: Label4
L_008a: ldarg.0
L_008b: ldfld Verse.ThingDef def
L_0090: ldfld RimWorld.BuildingProperties building
L_0095: ldfld Verse.SoundDef soundDoorOpenManual
L_009a: ldarg.0
L_009b: call IntVec3 get_Position()
L_00a0: ldarg.0
L_00a1: call Verse.Map get_Map()
L_00a6: ldc.i4.0
L_00a7: newobj Void .ctor(IntVec3, Map, Boolean)
L_00ac: call SoundInfo op_Implicit(TargetInfo)
L_00b1: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00b6: Label3
L_00b6: Label5
L_00b6: Label0
L_00b6: ret
DONE

### Patch RimWorld.Building_Door, Boolean DoorTryClose()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InvisDoorTryClose(RimWorld.Building_Door)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean holdOpenInt
L_0017: brtrue Label1
L_001c: ldarg.0
L_001d: call Boolean get_BlockedOpenMomentary()
L_0022: brfalse Label2
L_0027: Label1
L_0027: ldc.i4.0
L_0028: br Label5
L_002d: Label2
L_002d: ldarg.0
L_002e: ldc.i4.0
L_002f: stfld System.Boolean openInt
L_0034: ldarg.0
L_0035: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_003a: ldarg.0
L_003b: call Boolean get_DoorPowerOn()
L_0040: brfalse Label3
L_0045: ldarg.0
L_0046: ldfld Verse.ThingDef def
L_004b: ldfld RimWorld.BuildingProperties building
L_0050: ldfld Verse.SoundDef soundDoorClosePowered
L_0055: ldarg.0
L_0056: call IntVec3 get_Position()
L_005b: ldarg.0
L_005c: call Verse.Map get_Map()
L_0061: ldc.i4.0
L_0062: newobj Void .ctor(IntVec3, Map, Boolean)
L_0067: call SoundInfo op_Implicit(TargetInfo)
L_006c: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0071: br Label4
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.ThingDef def
L_007c: ldfld RimWorld.BuildingProperties building
L_0081: ldfld Verse.SoundDef soundDoorCloseManual
L_0086: ldarg.0
L_0087: call IntVec3 get_Position()
L_008c: ldarg.0
L_008d: call Verse.Map get_Map()
L_0092: ldc.i4.0
L_0093: newobj Void .ctor(IntVec3, Map, Boolean)
L_0098: call SoundInfo op_Implicit(TargetInfo)
L_009d: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00a2: Label4
L_00a2: ldc.i4.1
L_00a3: Label5
L_00a3: stloc 0 (System.Boolean)
L_00a4: Label0
L_00a4: ldloc 0 (System.Boolean)
L_00a5: ret
DONE

### Patch RimWorld.Building_Door, Void Notify_PawnApproaching(Verse.Pawn, Int32)


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void CheckFriendlyTouched(Verse.Pawn)
L_0007: ldarg.0
L_0008: ldarg.1
L_0009: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_000e: brfalse Label1
L_0013: ldarg.0
L_0014: call Verse.Map get_Map()
L_0019: ldfld Verse.FogGrid fogGrid
L_001e: ldarg.0
L_001f: ldarg.1
L_0020: callvirt Void Notify_PawnEnteringDoor(RimWorld.Building_Door, Verse.Pawn)
L_0025: ldarg.0
L_0026: call Boolean get_SlowsPawns()
L_002b: brtrue Label2
L_0030: ldc.i4 300
L_0035: ldarg.2
L_0036: ldc.i4.1
L_0037: add
L_0038: call Int32 Max(Int32, Int32)
L_003d: stloc.0
L_003e: ldarg.0
L_003f: ldloc.0
L_0040: call Void DoorOpen(Int32)
L_0045: Label1
L_0045: Label2
L_0045: ldarg.0
L_0046: ldarg 1
L_004c: call Void InvisDoorNotifyApproaching(RimWorld.Building_Door, Verse.Pawn)
L_0051: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualCloseBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorManualClose(RimWorld.Building_Door, Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldc.i4.s 110
L_0014: stfld System.Int32 ticksUntilClose
L_0019: Label0
L_0019: ret
DONE
### Patch RimWorld.Building_Door, Void StartManualOpenBy(Verse.Pawn)
L_0000: ldarg.0
L_0001: ldc.i4.s 110
L_0003: call Void DoorOpen(Int32)
L_0008: ldarg.0
L_0009: ldarg 1
L_000f: call Void InvisDoorManualOpen(RimWorld.Building_Door, Verse.Pawn)
L_0014: ret
DONE

### Patch RimWorld.Building_Door, Boolean get_FreePassage()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean get_FreePassage(RimWorld.Building_Door, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: ldfld System.Boolean openInt
L_0019: brtrue Label1
L_001e: ldc.i4.0
L_001f: br Label4
L_0024: Label1
L_0024: ldarg.0
L_0025: ldfld System.Boolean holdOpenInt
L_002a: brtrue Label2
L_002f: ldarg.0
L_0030: call Boolean get_WillCloseSoon()
L_0035: ldc.i4.0
L_0036: ceq
L_0038: br Label3
L_003d: Label2
L_003d: ldc.i4.1
L_003e: Label3
L_003e: Label4
L_003e: stloc 0 (System.Boolean)
L_003f: Label0
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.GhostDrawer, Void DrawGhostThing(IntVec3, Rot4, Verse.ThingDef,


Verse.Graphic, Color, AltitudeLayer)
L_0000: Local var 0: Verse.Graphic
L_0000: Local var 1: UnityEngine.Vector3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: ldarg 5
L_0024: call Boolean HeronDoorGhostHandler(IntVec3, Rot4, Verse.ThingDef,
Verse.Graphic, Color, AltitudeLayer)
L_0029: brfalse Label0
L_002e: ldarg.3
L_002f: brtrue Label1
L_0034: ldarg.2
L_0035: ldfld Verse.Graphic graphic
L_003a: starg.s 3
L_003c: Label1
L_003c: ldarg.3
L_003d: ldarg.2
L_003e: ldarg.s 4
L_0040: call Verse.Graphic GhostGraphicFor(Verse.Graphic, Verse.ThingDef, Color)
L_0045: stloc.0
L_0046: ldarg.0
L_0047: ldarg.1
L_0048: ldarg.2
L_0049: callvirt IntVec2 get_Size()
L_004e: ldarg.s 5
L_0050: call Single AltitudeFor(AltitudeLayer)
L_0055: call Vector3 TrueCenter(IntVec3, Rot4, IntVec2, Single)
L_005a: stloc.1
L_005b: ldloc.0
L_005c: ldloc.1
L_005d: ldarg.1
L_005e: ldarg.2
L_005f: ldc.r4 0
L_0064: callvirt Void DrawFromDef(Vector3, Rot4, Verse.ThingDef, Single)
L_0069: ldc.i4.0
L_006a: stloc.2
L_006b: br Label2
L_0070: Label3
L_0070: ldarg.2
L_0071: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0076: ldloc.2
L_0077: callvirt Verse.CompProperties get_Item(Int32)
L_007c: ldarg.0
L_007d: ldarg.1
L_007e: ldarg.2
L_007f: ldarg.s 4
L_0081: ldarg.s 5
L_0083: callvirt Void DrawGhost(IntVec3, Rot4, Verse.ThingDef, Color,
AltitudeLayer)
L_0088: ldloc.2
L_0089: ldc.i4.1
L_008a: add
L_008b: stloc.2
L_008c: Label2
L_008c: ldloc.2
L_008d: ldarg.2
L_008e: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0093: callvirt Int32 get_Count()
L_0098: blt Label3
L_009d: ldarg.2
L_009e: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00a3: brfalse Label4
L_00a8: ldc.i4.0
L_00a9: stloc.3
L_00aa: br Label5
L_00af: Label6
L_00af: ldarg.2
L_00b0: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00b5: ldloc.3
L_00b6: callvirt Verse.PlaceWorker get_Item(Int32)
L_00bb: ldarg.2
L_00bc: ldarg.0
L_00bd: ldarg.1
L_00be: ldarg.s 4
L_00c0: callvirt Void DrawGhost(Verse.ThingDef, IntVec3, Rot4, Color)
L_00c5: ldloc.3
L_00c6: ldc.i4.1
L_00c7: add
L_00c8: stloc.3
L_00c9: Label5
L_00c9: ldloc.3
L_00ca: ldarg.2
L_00cb: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00d0: callvirt Int32 get_Count()
L_00d5: blt Label6
L_00da: Label4
L_00da: Label0
L_00da: ret
DONE

### Patch Verse.GenSpawn, Void SpawnBuildingAsPossible(Verse.Building, Verse.Map,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.CellRect
L_0000: Local var 5: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: call Boolean HeronSpawnBuildingAsPossible(Verse.Building, Verse.Map,
Boolean)
L_0017: brfalse Label0
L_001c: ldc.i4.0
L_001d: stloc.0
L_001e: ldarg.0
L_001f: call CellRect OccupiedRect(Verse.Thing)
L_0024: stloc.1
L_0025: ldloca.s 1 (Verse.CellRect)
L_0027: ldarg.1
L_0028: call Boolean InBounds(Verse.Map)
L_002d: brtrue Label1
L_0032: ldc.i4.1
L_0033: stloc.0
L_0034: br Label2
L_0039: Label1
L_0039: ldarg.0
L_003a: call CellRect OccupiedRect(Verse.Thing)
L_003f: stloc.s 4 (Verse.CellRect)
L_0041: ldloca.s 4 (Verse.CellRect)
L_0043: call IEnumerator`1 GetEnumerator()
L_0048: stloc.3
.try
{
L_0049: br Label3
L_004e: Label15
L_004e: ldloc.3
L_004f: callvirt IntVec3 get_Current()
L_0054: stloc.2
L_0055: ldloc.2
L_0056: ldarg.1
L_0057: call System.Collections.Generic.List`1[Verse.Thing]
GetThingList(IntVec3, Verse.Map)
L_005c: stloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_005e: ldc.i4.0
L_005f: stloc.s 6 (System.Int32)
L_0061: br Label4
L_0066: Label12
L_0066: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0068: ldloc.s 6 (System.Int32)
L_006a: callvirt Verse.Thing get_Item(Int32)
L_006f: isinst Verse.Pawn
L_0074: brfalse Label5
L_0079: ldarg.0
L_007a: ldfld Verse.ThingDef def
L_007f: ldfld Verse.Traversability passability
L_0084: ldc.i4.2
L_0085: bne.un Label6
L_008a: ldc.i4.1
L_008b: stloc.0
L_008c: leave Label7
L_0091: Label5
L_0091: Label6
L_0091: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0093: ldloc.s 6 (System.Int32)
L_0095: callvirt Verse.Thing get_Item(Int32)
L_009a: ldfld Verse.ThingDef def
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.3
L_00a5: beq Label8
L_00aa: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00ac: ldloc.s 6 (System.Int32)
L_00ae: callvirt Verse.Thing get_Item(Int32)
L_00b3: ldfld Verse.ThingDef def
L_00b8: ldfld Verse.ThingCategory category
L_00bd: ldc.i4.2
L_00be: bne.un Label9
L_00c3: Label8
L_00c3: ldarg.0
L_00c4: ldfld Verse.ThingDef def
L_00c9: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00cb: ldloc.s 6 (System.Int32)
L_00cd: callvirt Verse.Thing get_Item(Int32)
L_00d2: ldfld Verse.ThingDef def
L_00d7: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00dc: brfalse Label10
L_00e1: ldc.i4.1
L_00e2: stloc.0
L_00e3: leave Label11
L_00e8: Label9
L_00e8: Label10
L_00e8: ldloc.s 6 (System.Int32)
L_00ea: ldc.i4.1
L_00eb: add
L_00ec: stloc.s 6 (System.Int32)
L_00ee: Label4
L_00ee: ldloc.s 6 (System.Int32)
L_00f0: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00f2: callvirt Int32 get_Count()
L_00f7: blt Label12
L_00fc: Label7
L_00fc: Label11
L_00fc: ldloc.0
L_00fd: brfalse Label13
L_0102: leave Label14
L_0107: Label3
L_0107: Label13
L_0107: ldloc.3
L_0108: callvirt Boolean MoveNext()
L_010d: brtrue Label15
L_0112: Label14
L_0112: leave Label16
L_0117: leave (autogenerated)
} // end try
.finally
{
L_011c: ldloc.3
L_011d: brfalse Label17
L_0122: ldloc.3
L_0123: callvirt Void Dispose()
L_0128: Label17
L_0128: endfinally
L_0129: leave (autogenerated)
} // end handler
L_012a: Label2
L_012a: Label16
L_012a: ldloc.0
L_012b: brfalse Label18
L_0130: ldarg.0
L_0131: ldarg.1
L_0132: call CellRect get_Empty()
L_0137: call Void Refund(Verse.Thing, Verse.Map, CellRect)
L_013c: br Label19
L_0141: Label18
L_0141: ldarg.0
L_0142: ldarg.0
L_0143: callvirt IntVec3 get_Position()
L_0148: ldarg.1
L_0149: ldarg.0
L_014a: callvirt Rot4 get_Rotation()
L_014f: ldc.i4.1
L_0150: ldarg.2
L_0151: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0156: pop
L_0157: Label19
L_0157: Label0
L_0157: ret
DONE
### Patch Verse.GenSpawn, Void WipeExistingThings(IntVec3, Rot4,
Verse.BuildableDef, Verse.Map, DestroyMode)
L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: call Boolean WipeExistingThings(IntVec3, Rot4, Verse.BuildableDef,
Verse.Map, DestroyMode)
L_0023: brfalse Label0
L_0028: ldarg.0
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: callvirt IntVec2 get_Size()
L_0030: call IEnumerable`1 CellsOccupiedBy(IntVec3, Rot4, IntVec2)
L_0035: callvirt IEnumerator`1 GetEnumerator()
L_003a: stloc.1
.try
{
L_003b: br Label1
L_0040: Label6
L_0040: ldloc.1
L_0041: callvirt IntVec3 get_Current()
L_0046: stloc.0
L_0047: ldarg.3
L_0048: ldfld Verse.ThingGrid thingGrid
L_004d: ldloc.0
L_004e: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_0053: call System.Collections.Generic.List`1[Verse.Thing] ToList[Thing]
(IEnumerable`1)
L_0058: callvirt Enumerator GetEnumerator()
L_005d: stloc.3
.try
{
L_005e: br Label2
L_0063: Label4
L_0063: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0065: call Verse.Thing get_Current()
L_006a: stloc.2
L_006b: ldarg.2
L_006c: ldloc.2
L_006d: ldfld Verse.ThingDef def
L_0072: call Boolean SpawningWipes(Verse.BuildableDef,
Verse.BuildableDef)
L_0077: brfalse Label3
L_007c: ldloc.2
L_007d: ldarg.s 4
L_007f: callvirt Void Destroy(DestroyMode)
L_0084: Label2
L_0084: Label3
L_0084: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0086: call Boolean MoveNext()
L_008b: brtrue Label4
L_0090: leave Label5
L_0095: leave (autogenerated)
} // end try
.finally
{
L_009a: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_009c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_00a2: callvirt Void Dispose()
L_00a7: endfinally
L_00a8: leave (autogenerated)
} // end handler
L_00a9: Label1
L_00a9: Label5
L_00a9: ldloc.1
L_00aa: callvirt Boolean MoveNext()
L_00af: brtrue Label6
L_00b4: leave Label7
L_00b9: leave (autogenerated)
} // end try
.finally
{
L_00be: ldloc.1
L_00bf: brfalse Label8
L_00c4: ldloc.1
L_00c5: callvirt Void Dispose()
L_00ca: Label8
L_00ca: endfinally
L_00cb: leave (autogenerated)
} // end handler
L_00cc: Label7
L_00cc: Label0
L_00cc: ret
DONE

### Patch Verse.GenSpawn, Boolean SpawningWipes(Verse.BuildableDef,


Verse.BuildableDef)
L_0000: Local var 0: Verse.ThingDef
L_0000: Local var 1: Verse.ThingDef
L_0000: Local var 2: Verse.BuildableDef
L_0000: Local var 3: Verse.BuildableDef
L_0000: Local var 4: Verse.ThingDef
L_0000: Local var 5: Verse.ThingDef
L_0000: Local var 6: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 6 (System.Boolean)
L_0007: ldarg.0
L_0008: isinst Verse.ThingDef
L_000d: stloc.0
L_000e: ldarg.1
L_000f: isinst Verse.ThingDef
L_0014: stloc.1
L_0015: ldloc.0
L_0016: brfalse Label1
L_001b: ldloc.1
L_001c: brtrue Label2
L_0021: Label1
L_0021: ldc.i4.0
L_0022: br Label49
L_0027: Label2
L_0027: ldloc.0
L_0028: ldfld Verse.ThingCategory category
L_002d: ldc.i4.8
L_002e: beq Label3
L_0033: ldloc.0
L_0034: ldfld Verse.ThingCategory category
L_0039: ldc.i4.s 9
L_003b: beq Label4
L_0040: ldloc.0
L_0041: ldfld Verse.ThingCategory category
L_0046: ldc.i4.6
L_0047: beq Label5
L_004c: ldloc.0
L_004d: ldfld Verse.ThingCategory category
L_0052: ldc.i4.5
L_0053: bne.un Label6
L_0058: Label3
L_0058: Label4
L_0058: Label5
L_0058: ldc.i4.0
L_0059: br Label50
L_005e: Label6
L_005e: ldloc.1
L_005f: ldfld System.Boolean destroyable
L_0064: brtrue Label7
L_0069: ldc.i4.0
L_006a: br Label51
L_006f: Label7
L_006f: ldloc.0
L_0070: ldfld Verse.ThingCategory category
L_0075: ldc.i4.4
L_0076: bne.un Label8
L_007b: ldc.i4.0
L_007c: br Label52
L_0081: Label8
L_0081: ldloc.1
L_0082: ldfld Verse.ThingCategory category
L_0087: ldc.i4.6
L_0088: bne.un Label9
L_008d: ldloc.0
L_008e: ldfld Verse.Traversability passability
L_0093: brfalse Label10
L_0098: ldc.i4.1
L_0099: br Label53
L_009e: Label9
L_009e: Label10
L_009e: ldloc.1
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.2
L_00a5: bne.un Label11
L_00aa: ldloc.0
L_00ab: ldfld Verse.Traversability passability
L_00b0: ldc.i4.2
L_00b1: bne.un Label12
L_00b6: ldloc.0
L_00b7: ldfld Verse.SurfaceType surfaceType
L_00bc: brtrue Label13
L_00c1: ldc.i4.1
L_00c2: br Label54
L_00c7: Label11
L_00c7: Label12
L_00c7: Label13
L_00c7: ldloc.0
L_00c8: callvirt Boolean get_EverTransmitsPower()
L_00cd: brfalse Label14
L_00d2: ldloc.1
L_00d3: ldsfld Verse.ThingDef PowerConduit
L_00d8: bne.un Label15
L_00dd: ldc.i4.1
L_00de: br Label55
L_00e3: Label14
L_00e3: Label15
L_00e3: ldloc.0
L_00e4: callvirt Boolean get_IsFrame()
L_00e9: brfalse Label16
L_00ee: ldloc.0
L_00ef: ldfld Verse.BuildableDef entityDefToBuild
L_00f4: ldarg.1
L_00f5: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00fa: brfalse Label17
L_00ff: ldc.i4.1
L_0100: br Label56
L_0105: Label16
L_0105: Label17
L_0105: ldloc.0
L_0106: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_010b: stloc.2
L_010c: ldloc.1
L_010d: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_0112: stloc.3
L_0113: ldloc.2
L_0114: brfalse Label18
L_0119: ldloc.3
L_011a: brtrue Label19
L_011f: Label18
L_011f: ldc.i4.0
L_0120: br Label57
L_0125: Label19
L_0125: ldloc.0
L_0126: ldfld Verse.BuildableDef entityDefToBuild
L_012b: isinst Verse.ThingDef
L_0130: stloc.s 4 (Verse.ThingDef)
L_0132: ldloc.1
L_0133: callvirt Boolean get_IsBlueprint()
L_0138: brfalse Label20
L_013d: ldloc.0
L_013e: callvirt Boolean get_IsBlueprint()
L_0143: brfalse Label21
L_0148: ldloc.s 4 (Verse.ThingDef)
L_014a: brfalse Label22
L_014f: ldloc.s 4 (Verse.ThingDef)
L_0151: ldfld RimWorld.BuildingProperties building
L_0156: brfalse Label23
L_015b: ldloc.s 4 (Verse.ThingDef)
L_015d: ldfld RimWorld.BuildingProperties building
L_0162: ldfld System.Boolean canPlaceOverWall
L_0167: brfalse Label24
L_016c: ldloc.1
L_016d: ldfld Verse.BuildableDef entityDefToBuild
L_0172: isinst Verse.ThingDef
L_0177: brfalse Label25
L_017c: ldloc.1
L_017d: ldfld Verse.BuildableDef entityDefToBuild
L_0182: castclass Verse.ThingDef
L_0187: ldsfld Verse.ThingDef Wall
L_018c: bne.un Label26
L_0191: ldc.i4.1
L_0192: br Label58
L_0197: Label22
L_0197: Label23
L_0197: Label24
L_0197: Label25
L_0197: Label26
L_0197: ldloc.1
L_0198: ldfld Verse.BuildableDef entityDefToBuild
L_019d: isinst Verse.TerrainDef
L_01a2: brfalse Label27
L_01a7: ldloc.0
L_01a8: ldfld Verse.BuildableDef entityDefToBuild
L_01ad: isinst Verse.ThingDef
L_01b2: brfalse Label28
L_01b7: ldloc.0
L_01b8: ldfld Verse.BuildableDef entityDefToBuild
L_01bd: castclass Verse.ThingDef
L_01c2: ldfld System.Boolean coversFloor
L_01c7: brfalse Label29
L_01cc: ldc.i4.1
L_01cd: br Label59
L_01d2: Label28
L_01d2: Label29
L_01d2: ldloc.0
L_01d3: ldfld Verse.BuildableDef entityDefToBuild
L_01d8: isinst Verse.TerrainDef
L_01dd: brfalse Label30
L_01e2: ldc.i4.1
L_01e3: br Label60
L_01e8: Label21
L_01e8: Label27
L_01e8: Label30
L_01e8: ldloc.1
L_01e9: ldfld Verse.BuildableDef entityDefToBuild
L_01ee: ldsfld Verse.ThingDef PowerConduit
L_01f3: bne.un Label31
L_01f8: ldloc.0
L_01f9: ldfld Verse.BuildableDef entityDefToBuild
L_01fe: isinst Verse.ThingDef
L_0203: brfalse Label32
L_0208: ldloc.0
L_0209: ldfld Verse.BuildableDef entityDefToBuild
L_020e: isinst Verse.ThingDef
L_0213: callvirt Boolean get_EverTransmitsPower()
L_0218: brfalse Label33
L_021d: ldc.i4.1
L_021e: br Label61
L_0223: Label31
L_0223: Label32
L_0223: Label33
L_0223: ldc.i4.0
L_0224: br Label62
L_0229: Label20
L_0229: ldloc.1
L_022a: callvirt Boolean get_IsFrame()
L_022f: brtrue Label34
L_0234: ldloc.1
L_0235: callvirt Boolean get_IsBlueprint()
L_023a: brfalse Label35
L_023f: Label34
L_023f: ldloc.1
L_0240: ldfld Verse.BuildableDef entityDefToBuild
L_0245: isinst Verse.TerrainDef
L_024a: brfalse Label36
L_024f: ldloc.2
L_0250: isinst Verse.ThingDef
L_0255: stloc.s 5 (Verse.ThingDef)
L_0257: ldloc.s 5 (Verse.ThingDef)
L_0259: brfalse Label37
L_025e: ldloc.s 5 (Verse.ThingDef)
L_0260: callvirt Boolean get_CoexistsWithFloors()
L_0265: brtrue Label38
L_026a: ldc.i4.1
L_026b: br Label63
L_0270: Label35
L_0270: Label36
L_0270: Label37
L_0270: Label38
L_0270: ldloc.1
L_0271: ldsfld Verse.ThingDef ActiveDropPod
L_0276: bne.un Label39
L_027b: ldc.i4.0
L_027c: br Label64
L_0281: Label39
L_0281: ldloc.0
L_0282: ldsfld Verse.ThingDef ActiveDropPod
L_0287: bne.un Label40
L_028c: ldloc.1
L_028d: ldsfld Verse.ThingDef ActiveDropPod
L_0292: bne.un Label41
L_0297: ldc.i4.0
L_0298: br Label65
L_029d: Label41
L_029d: ldloc.1
L_029e: ldfld Verse.ThingCategory category
L_02a3: ldc.i4.3
L_02a4: bne.un Label42
L_02a9: ldloc.1
L_02aa: ldfld Verse.Traversability passability
L_02af: ldc.i4.2
L_02b0: bne.un Label43
L_02b5: ldc.i4.1
L_02b6: br Label66
L_02bb: Label42
L_02bb: Label43
L_02bb: ldc.i4.0
L_02bc: br Label67
L_02c1: Label40
L_02c1: ldloc.0
L_02c2: call Boolean IsEdifice(Verse.BuildableDef)
L_02c7: brfalse Label44
L_02cc: ldloc.0
L_02cd: callvirt Boolean get_BlockPlanting()
L_02d2: brfalse Label45
L_02d7: ldloc.1
L_02d8: ldfld Verse.ThingCategory category
L_02dd: ldc.i4.4
L_02de: bne.un Label46
L_02e3: ldc.i4.1
L_02e4: br Label68
L_02e9: Label45
L_02e9: Label46
L_02e9: ldloc.2
L_02ea: isinst Verse.TerrainDef
L_02ef: brtrue Label47
L_02f4: ldloc.3
L_02f5: call Boolean IsEdifice(Verse.BuildableDef)
L_02fa: brfalse Label48
L_02ff: ldc.i4.1
L_0300: br Label69
L_0305: Label44
L_0305: Label47
L_0305: Label48
L_0305: ldc.i4.0
L_0306: Label49
L_0306: Label50
L_0306: Label51
L_0306: Label52
L_0306: Label53
L_0306: Label54
L_0306: Label55
L_0306: Label56
L_0306: Label57
L_0306: Label58
L_0306: Label59
L_0306: Label60
L_0306: Label61
L_0306: Label62
L_0306: Label63
L_0306: Label64
L_0306: Label65
L_0306: Label66
L_0306: Label67
L_0306: Label68
L_0306: Label69
L_0306: stloc 6 (System.Boolean)
L_0308: ldarg 0
L_030e: ldarg 1
L_0314: ldloca 6 (System.Boolean)
L_0316: call Void InvisDoorsDontWipe(Verse.BuildableDef, Verse.BuildableDef,
Boolean ByRef)
L_031b: ldloc 6 (System.Boolean)
L_031d: ret
DONE

### Patch Verse.AI.GenPath, Boolean ShouldNotEnterCell(Verse.Pawn, Verse.Map,


IntVec3)
L_0000: Local var 0: Verse.Building
L_0000: Local var 1: RimWorld.Building_Door
L_0000: Local var 2: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.1
L_0007: ldfld Verse.AI.PathGrid pathGrid
L_000c: ldarg.2
L_000d: callvirt Int32 PerceivedPathCostAt(IntVec3)
L_0012: ldc.i4.s 30
L_0014: ble Label1
L_0019: ldc.i4.1
L_001a: br Label9
L_001f: Label1
L_001f: ldarg.2
L_0020: ldarg.1
L_0021: call Boolean Walkable(IntVec3, Verse.Map)
L_0026: brtrue Label2
L_002b: ldc.i4.1
L_002c: br Label10
L_0031: Label2
L_0031: ldarg.0
L_0032: brfalse Label3
L_0037: ldarg.2
L_0038: ldarg.0
L_0039: call Boolean IsForbidden(IntVec3, Verse.Pawn)
L_003e: brfalse Label4
L_0043: ldc.i4.1
L_0044: br Label11
L_0049: Label4
L_0049: ldarg.2
L_004a: ldarg.1
L_004b: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0050: stloc.0
L_0051: ldloc.0
L_0052: brfalse Label5
L_0057: ldloc.0
L_0058: isinst RimWorld.Building_Door
L_005d: stloc.1
L_005e: ldloc.1
L_005f: brfalse Label6
L_0064: ldloc.1
L_0065: ldarg.0
L_0066: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_006b: brfalse Label7
L_0070: ldc.i4.1
L_0071: br Label12
L_0076: Label7
L_0076: ldloc.1
L_0077: ldarg.0
L_0078: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_007d: brtrue Label8
L_0082: ldc.i4.1
L_0083: br Label13
L_0088: Label3
L_0088: Label5
L_0088: Label6
L_0088: Label8
L_0088: ldc.i4.0
L_0089: Label9
L_0089: Label10
L_0089: Label11
L_0089: Label12
L_0089: Label13
L_0089: stloc 2 (System.Boolean)
L_008a: ldarg 0
L_0090: ldarg 1
L_0096: ldarg 2
L_009c: ldloca 2 (System.Boolean)
L_009e: call Void ShouldNotEnterCellInvisDoors(Verse.Pawn, Verse.Map, IntVec3,
Boolean ByRef)
L_00a3: ldloc 2 (System.Boolean)
L_00a4: ret
DONE

### Patch RimWorld.CompForbiddable, Void PostDraw()


L_0000: ldarg.0
L_0001: call Boolean DontDrawInvisDoorForbiddenIcons(RimWorld.CompForbiddable)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld System.Boolean forbiddenInt
L_0011: brfalse Label1
L_0016: ldarg.0
L_0017: ldfld Verse.ThingWithComps parent
L_001c: isinst RimWorld.Blueprint
L_0021: brtrue Label2
L_0026: ldarg.0
L_0027: ldfld Verse.ThingWithComps parent
L_002c: isinst RimWorld.Frame
L_0031: brfalse Label3
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld Verse.ThingWithComps parent
L_003c: ldfld Verse.ThingDef def
L_0041: ldflda Verse.IntVec2 size
L_0046: ldfld System.Int32 x
L_004b: ldc.i4.1
L_004c: bgt Label4
L_0051: ldarg.0
L_0052: ldfld Verse.ThingWithComps parent
L_0057: ldfld Verse.ThingDef def
L_005c: ldflda Verse.IntVec2 size
L_0061: ldfld System.Int32 z
L_0066: ldc.i4.1
L_0067: ble Label5
L_006c: Label4
L_006c: ldarg.0
L_006d: ldfld Verse.ThingWithComps parent
L_0072: callvirt Verse.Map get_Map()
L_0077: ldfld RimWorld.OverlayDrawer overlayDrawer
L_007c: ldarg.0
L_007d: ldfld Verse.ThingWithComps parent
L_0082: ldc.i4.s 16
L_0084: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0089: br Label6
L_008e: Label5
L_008e: ldarg.0
L_008f: ldfld Verse.ThingWithComps parent
L_0094: callvirt Verse.Map get_Map()
L_0099: ldfld RimWorld.OverlayDrawer overlayDrawer
L_009e: ldarg.0
L_009f: ldfld Verse.ThingWithComps parent
L_00a4: ldc.i4.8
L_00a5: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00aa: Label6
L_00aa: br Label7
L_00af: Label3
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingWithComps parent
L_00b5: ldfld Verse.ThingDef def
L_00ba: ldfld Verse.ThingCategory category
L_00bf: ldc.i4.3
L_00c0: bne.un Label8
L_00c5: ldarg.0
L_00c6: ldfld Verse.ThingWithComps parent
L_00cb: callvirt Verse.Map get_Map()
L_00d0: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00d5: ldarg.0
L_00d6: ldfld Verse.ThingWithComps parent
L_00db: ldc.i4.s 16
L_00dd: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00e2: br Label9
L_00e7: Label8
L_00e7: ldarg.0
L_00e8: ldfld Verse.ThingWithComps parent
L_00ed: callvirt Verse.Map get_Map()
L_00f2: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00f7: ldarg.0
L_00f8: ldfld Verse.ThingWithComps parent
L_00fd: ldc.i4.8
L_00fe: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0103: Label1
L_0103: Label7
L_0103: Label9
L_0103: Label0
L_0103: ret
DONE

### Patch Verse.AI.PawnPathUtility, Boolean


TryFindLastCellBeforeBlockingDoor(Verse.AI.PawnPath, Verse.Pawn, IntVec3 ByRef)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Door
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg 0
L_000c: ldarg 1
L_0012: ldarg 2
L_0018: ldloca 3 (System.Boolean)
L_001a: call Boolean ManhunterJobGiverFix(Verse.AI.PawnPath, Verse.Pawn, IntVec3
ByRef, Boolean ByRef)
L_001f: brfalse Label0
L_0024: ldarg.0
L_0025: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_002a: callvirt Int32 get_Count()
L_002f: ldc.i4.1
L_0030: bne.un Label1
L_0035: ldarg.2
L_0036: ldarg.0
L_0037: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_003c: ldc.i4.0
L_003d: callvirt IntVec3 get_Item(Int32)
L_0042: stobj Verse.IntVec3
L_0047: ldc.i4.0
L_0048: br Label6
L_004d: Label1
L_004d: ldarg.0
L_004e: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0053: stloc.0
L_0054: ldloc.0
L_0055: callvirt Int32 get_Count()
L_005a: ldc.i4.2
L_005b: sub
L_005c: stloc.1
L_005d: br Label2
L_0062: Label5
L_0062: ldloc.0
L_0063: ldloc.1
L_0064: callvirt IntVec3 get_Item(Int32)
L_0069: ldarg.1
L_006a: callvirt Verse.Map get_Map()
L_006f: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0074: isinst RimWorld.Building_Door
L_0079: stloc.2
L_007a: ldloc.2
L_007b: brfalse Label3
L_0080: ldloc.2
L_0081: ldarg.1
L_0082: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0087: brtrue Label4
L_008c: ldarg.2
L_008d: ldloc.0
L_008e: ldloc.1
L_008f: ldc.i4.1
L_0090: add
L_0091: callvirt IntVec3 get_Item(Int32)
L_0096: stobj Verse.IntVec3
L_009b: ldc.i4.1
L_009c: br Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldloc.1
L_00a2: ldc.i4.1
L_00a3: sub
L_00a4: stloc.1
L_00a5: Label2
L_00a5: ldloc.1
L_00a6: ldc.i4.1
L_00a7: bge Label5
L_00ac: ldarg.2
L_00ad: ldloc.0
L_00ae: ldc.i4.0
L_00af: callvirt IntVec3 get_Item(Int32)
L_00b4: stobj Verse.IntVec3
L_00b9: ldc.i4.0
L_00ba: Label6
L_00ba: Label7
L_00ba: stloc 3 (System.Boolean)
L_00bb: Label0
L_00bb: ldloc 3 (System.Boolean)
L_00bc: ret
DONE

### Patch RimWorld.ForbidUtility, Boolean IsForbiddenToPass(RimWorld.Building_Door,


Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: ldc.i4.0
L_0008: call Boolean CaresAboutForbidden(Verse.Pawn, Boolean)
L_000d: brtrue Label1
L_0012: ldc.i4.0
L_0013: br Label3
L_0018: Label1
L_0018: ldarg.0
L_0019: ldarg.1
L_001a: callvirt RimWorld.Faction get_Faction()
L_001f: call Boolean IsForbidden(Verse.Thing, RimWorld.Faction)
L_0024: brfalse Label2
L_0029: ldc.i4.1
L_002a: br Label4
L_002f: Label2
L_002f: ldc.i4.0
L_0030: Label3
L_0030: Label4
L_0030: stloc 0 (System.Boolean)
L_0031: ldarg 0
L_0037: ldarg 1
L_003d: ldloca 0 (System.Boolean)
L_003f: call Void IsForbiddenToPass_PostFix(Verse.Thing, Verse.Pawn, Boolean ByRef)
L_0044: ldloc 0 (System.Boolean)
L_0045: ret
DONE

### Patch Verse.AI.PathFinder, Int32 GetBuildingCost(Verse.Building, TraverseParms,


Verse.Pawn)
L_0000: Local var 0: RimWorld.Building_Door
L_0000: Local var 1: Verse.TraverseMode
L_0000: Local var 2: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Int32)
L_0006: ldarg.0
L_0007: isinst RimWorld.Building_Door
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldarga.s 1
L_0015: ldfld Verse.TraverseMode mode
L_001a: stloc.1
L_001b: ldloc.1
L_001c: switch Labels2,3,4,5,6,7
L_0039: br Label8
L_003e: Label4
L_003e: Label6
L_003e: ldloc.0
L_003f: callvirt Boolean get_FreePassage()
L_0044: brfalse Label9
L_0049: ldc.i4.0
L_004a: br Label30
L_004f: Label9
L_004f: ldc.i4 2147483647
L_0054: br Label31
L_0059: Label5
L_0059: Label7
L_0059: ldarg.2
L_005a: brfalse Label10
L_005f: ldloc.0
L_0060: ldarg.2
L_0061: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0066: brfalse Label11
L_006b: ldloc.0
L_006c: ldarg.2
L_006d: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0072: brtrue Label12
L_0077: ldloc.0
L_0078: callvirt Boolean get_FreePassage()
L_007d: brtrue Label13
L_0082: ldloc.0
L_0083: callvirt Int32 get_TicksToOpenNow()
L_0088: br Label32
L_008d: Label10
L_008d: Label11
L_008d: Label12
L_008d: Label13
L_008d: ldloc.0
L_008e: ldarg.2
L_008f: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0094: brfalse Label14
L_0099: ldc.i4.0
L_009a: br Label33
L_009f: Label14
L_009f: ldc.i4.s 50
L_00a1: ldloc.0
L_00a2: callvirt Int32 get_HitPoints()
L_00a7: conv.r4
L_00a8: ldc.r4 0.2
L_00ad: mul
L_00ae: conv.i4
L_00af: add
L_00b0: br Label34
L_00b5: Label3
L_00b5: ldarg.2
L_00b6: brfalse Label15
L_00bb: ldloc.0
L_00bc: ldarg.2
L_00bd: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00c2: brfalse Label16
L_00c7: ldloc.0
L_00c8: ldarg.2
L_00c9: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_00ce: brtrue Label17
L_00d3: ldloc.0
L_00d4: callvirt Boolean get_FreePassage()
L_00d9: brtrue Label18
L_00de: ldloc.0
L_00df: callvirt Int32 get_TicksToOpenNow()
L_00e4: br Label35
L_00e9: Label15
L_00e9: Label16
L_00e9: Label17
L_00e9: Label18
L_00e9: ldloc.0
L_00ea: ldarg.2
L_00eb: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_00f0: brfalse Label19
L_00f5: ldc.i4.0
L_00f6: br Label36
L_00fb: Label19
L_00fb: ldc.i4 150
L_0100: br Label37
L_0105: Label2
L_0105: ldarga.s 1
L_0107: ldfld System.Boolean canBash
L_010c: brtrue Label20
L_0111: ldloc.0
L_0112: ldarg.2
L_0113: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0118: brfalse Label21
L_011d: ldsfld System.Boolean drawPaths
L_0122: brfalse Label22
L_0127: ldarg.0
L_0128: callvirt IntVec3 get_Position()
L_012d: ldarg.0
L_012e: callvirt Verse.Map get_Map()
L_0133: ldc.r4 0.77
L_0138: ldstr "forbid"
L_013d: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_0142: Label22
L_0142: ldc.i4 2147483647
L_0147: br Label38
L_014c: Label20
L_014c: Label21
L_014c: ldloc.0
L_014d: ldarg.2
L_014e: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0153: brfalse Label23
L_0158: ldloc.0
L_0159: callvirt Boolean get_FreePassage()
L_015e: brtrue Label24
L_0163: ldloc.0
L_0164: callvirt Int32 get_TicksToOpenNow()
L_0169: br Label39
L_016e: Label23
L_016e: Label24
L_016e: ldloc.0
L_016f: ldarg.2
L_0170: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0175: brfalse Label25
L_017a: ldc.i4.0
L_017b: br Label40
L_0180: Label25
L_0180: ldarga.s 1
L_0182: ldfld System.Boolean canBash
L_0187: brfalse Label26
L_018c: ldc.i4 300
L_0191: br Label41
L_0196: Label26
L_0196: ldsfld System.Boolean drawPaths
L_019b: brfalse Label27
L_01a0: ldarg.0
L_01a1: callvirt IntVec3 get_Position()
L_01a6: ldarg.0
L_01a7: callvirt Verse.Map get_Map()
L_01ac: ldc.r4 0.34
L_01b1: ldstr "cant pass"
L_01b6: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_01bb: Label27
L_01bb: ldc.i4 2147483647
L_01c0: br Label42
L_01c5: Label8
L_01c5: br Label28
L_01ca: Label1
L_01ca: ldarg.2
L_01cb: brfalse Label29
L_01d0: ldarg.0
L_01d1: ldarg.2
L_01d2: callvirt UInt16 PathFindCostFor(Verse.Pawn)
L_01d7: br Label43
L_01dc: Label28
L_01dc: Label29
L_01dc: ldc.i4.0
L_01dd: Label30
L_01dd: Label31
L_01dd: Label32
L_01dd: Label33
L_01dd: Label34
L_01dd: Label35
L_01dd: Label36
L_01dd: Label37
L_01dd: Label38
L_01dd: Label39
L_01dd: Label40
L_01dd: Label41
L_01dd: Label42
L_01dd: Label43
L_01dd: stloc 2 (System.Int32)
L_01de: ldarg 0
L_01e4: ldarg 1
L_01ea: ldarg 2
L_01f0: ldloca 2 (System.Int32)
L_01f2: call Void GetBuildingCost_PostFix(Verse.Building, TraverseParms,
Verse.Pawn, Int32 ByRef)
L_01f7: ldloc 2 (System.Int32)
L_01f8: ret
DONE

### Patch Verse.AI.PawnPathUtility, Verse.Thing


FirstBlockingBuilding(Verse.AI.PawnPath, IntVec3 ByRef, Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: Verse.Building
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Building
L_0000: Local var 5: RimWorld.Building_Door
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: Verse.Thing
L_0000: ldnull
L_0001: stloc 7 (Verse.Thing)
L_0003: ldarg.0
L_0004: callvirt Boolean get_Found()
L_0009: brtrue Label1
L_000e: ldarg.1
L_000f: call IntVec3 get_Invalid()
L_0014: stobj Verse.IntVec3
L_0019: ldnull
L_001a: br Label22
L_001f: Label1
L_001f: ldarg.0
L_0020: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0025: stloc.0
L_0026: ldloc.0
L_0027: callvirt Int32 get_Count()
L_002c: ldc.i4.1
L_002d: bne.un Label2
L_0032: ldarg.1
L_0033: ldloc.0
L_0034: ldc.i4.0
L_0035: callvirt IntVec3 get_Item(Int32)
L_003a: stobj Verse.IntVec3
L_003f: ldnull
L_0040: br Label23
L_0045: Label2
L_0045: ldnull
L_0046: stloc.1
L_0047: call IntVec3 get_Invalid()
L_004c: stloc.2
L_004d: ldloc.0
L_004e: callvirt Int32 get_Count()
L_0053: ldc.i4.2
L_0054: sub
L_0055: stloc.3
L_0056: br Label3
L_005b: Label21
L_005b: ldloc.0
L_005c: ldloc.3
L_005d: callvirt IntVec3 get_Item(Int32)
L_0062: ldarg.2
L_0063: callvirt Verse.Map get_Map()
L_0068: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_006d: stloc.s 4 (Verse.Building)
L_006f: ldloc.s 4 (Verse.Building)
L_0071: brfalse Label4
L_0076: ldloc.s 4 (Verse.Building)
L_0078: isinst RimWorld.Building_Door
L_007d: stloc.s 5 (RimWorld.Building_Door)
L_007f: ldloc.s 5 (RimWorld.Building_Door)
L_0081: brfalse Label5
L_0086: ldloc.s 5 (RimWorld.Building_Door)
L_0088: callvirt Boolean get_FreePassage()
L_008d: brtrue Label6
L_0092: ldarg.2
L_0093: brfalse Label7
L_0098: ldloc.s 5 (RimWorld.Building_Door)
L_009a: ldarg.2
L_009b: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00a0: ldc.i4.0
L_00a1: ceq
L_00a3: br Label8
L_00a8: Label7
L_00a8: ldc.i4.1
L_00a9: Label8
L_00a9: br Label9
L_00ae: Label5
L_00ae: Label6
L_00ae: ldc.i4.0
L_00af: Label9
L_00af: stloc.s 6 (System.Boolean)
L_00b1: ldloc.s 6 (System.Boolean)
L_00b3: brtrue Label10
L_00b8: ldloc.s 4 (Verse.Building)
L_00ba: ldfld Verse.ThingDef def
L_00bf: ldfld Verse.Traversability passability
L_00c4: ldc.i4.2
L_00c5: bne.un Label11
L_00ca: Label10
L_00ca: ldloc.1
L_00cb: brfalse Label12
L_00d0: ldarg.1
L_00d1: ldloc.2
L_00d2: stobj Verse.IntVec3
L_00d7: ldloc.1
L_00d8: br Label24
L_00dd: Label12
L_00dd: ldarg.1
L_00de: ldloc.0
L_00df: ldloc.3
L_00e0: ldc.i4.1
L_00e1: add
L_00e2: callvirt IntVec3 get_Item(Int32)
L_00e7: stobj Verse.IntVec3
L_00ec: ldloc.s 4 (Verse.Building)
L_00ee: br Label25
L_00f3: Label4
L_00f3: Label11
L_00f3: ldloc.s 4 (Verse.Building)
L_00f5: brfalse Label13
L_00fa: ldloc.s 4 (Verse.Building)
L_00fc: ldfld Verse.ThingDef def
L_0101: ldfld Verse.Traversability passability
L_0106: ldc.i4.1
L_0107: bne.un Label14
L_010c: ldloc.s 4 (Verse.Building)
L_010e: ldfld Verse.ThingDef def
L_0113: callvirt FillCategory get_Fillage()
L_0118: ldc.i4.2
L_0119: bne.un Label15
L_011e: ldloc.1
L_011f: brtrue Label16
L_0124: ldloc.s 4 (Verse.Building)
L_0126: stloc.1
L_0127: ldloc.0
L_0128: ldloc.3
L_0129: ldc.i4.1
L_012a: add
L_012b: callvirt IntVec3 get_Item(Int32)
L_0130: stloc.2
L_0131: Label16
L_0131: br Label17
L_0136: Label13
L_0136: Label14
L_0136: Label15
L_0136: ldloc.s 4 (Verse.Building)
L_0138: brfalse Label18
L_013d: ldloc.s 4 (Verse.Building)
L_013f: ldfld Verse.ThingDef def
L_0144: ldfld Verse.Traversability passability
L_0149: ldc.i4.1
L_014a: bne.un Label19
L_014f: br Label20
L_0154: Label18
L_0154: Label19
L_0154: ldnull
L_0155: stloc.1
L_0156: Label17
L_0156: Label20
L_0156: ldloc.3
L_0157: ldc.i4.1
L_0158: sub
L_0159: stloc.3
L_015a: Label3
L_015a: ldloc.3
L_015b: ldc.i4.0
L_015c: bge Label21
L_0161: ldarg.1
L_0162: ldloc.0
L_0163: ldc.i4.0
L_0164: callvirt IntVec3 get_Item(Int32)
L_0169: stobj Verse.IntVec3
L_016e: ldnull
L_016f: Label22
L_016f: Label23
L_016f: Label24
L_016f: Label25
L_016f: stloc 7 (Verse.Thing)
L_0171: ldarg 0
L_0177: ldarg 1
L_017d: ldarg 2
L_0183: ldloca 7 (Verse.Thing)
L_0185: call Void FirstBlockingBuilding_PostFix(Verse.AI.PawnPath, IntVec3 ByRef,
Verse.Pawn, Verse.Thing ByRef)
L_018a: ldloc 7 (Verse.Thing)
L_018c: ret
DONE

### Patch RimWorld.WorkGiver_DoBill, Verse.AI.Job JobOnThing(Verse.Pawn,


Verse.Thing, Boolean)
L_0000: Local var 0: RimWorld.IBillGiver
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: RimWorld.CompRefuelable
L_0000: Local var 5: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 5 (Verse.AI.Job)
L_0003: ldarg.2
L_0004: isinst RimWorld.IBillGiver
L_0009: stloc.0
L_000a: ldloc.0
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldarg.2
L_0012: call Boolean ThingIsUsableBillGiver(Verse.Thing)
L_0017: brfalse Label2
L_001c: ldloc.0
L_001d: callvirt RimWorld.BillStack get_BillStack()
L_0022: callvirt Boolean get_AnyShouldDoNow()
L_0027: brfalse Label3
L_002c: ldloc.0
L_002d: callvirt Boolean UsableForBillsAfterFueling()
L_0032: brfalse Label4
L_0037: ldarg.1
L_0038: stloc.1
L_0039: ldarg.2
L_003a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_003f: stloc.2
L_0040: ldarg.3
L_0041: stloc.3
L_0042: ldloc.1
L_0043: ldloc.2
L_0044: ldc.i4.1
L_0045: ldc.i4.m1
L_0046: ldnull
L_0047: ldloc.3
L_0048: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32, Int32,
Verse.ReservationLayerDef, Boolean)
L_004d: brfalse Label5
L_0052: ldarg.2
L_0053: call Boolean IsBurning(Verse.Thing)
L_0058: brtrue Label6
L_005d: ldarg.2
L_005e: ldarg.1
L_005f: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_0064: brfalse Label7
L_0069: Label1
L_0069: Label2
L_0069: Label3
L_0069: Label4
L_0069: Label5
L_0069: Label6
L_0069: ldnull
L_006a: br Label11
L_006f: Label7
L_006f: ldarg.2
L_0070: call RimWorld.CompRefuelable TryGetComp[CompRefuelable](Verse.Thing)
L_0075: stloc.s 4 (RimWorld.CompRefuelable)
L_0077: ldloc.s 4 (RimWorld.CompRefuelable)
L_0079: brfalse Label8
L_007e: ldloc.s 4 (RimWorld.CompRefuelable)
L_0080: callvirt Boolean get_HasFuel()
L_0085: brtrue Label9
L_008a: ldarg.1
L_008b: ldarg.2
L_008c: ldarg.3
L_008d: call Boolean CanRefuel(Verse.Pawn, Verse.Thing, Boolean)
L_0092: brtrue Label10
L_0097: ldnull
L_0098: br Label12
L_009d: Label10
L_009d: ldarg.1
L_009e: ldarg.2
L_009f: ldarg.3
L_00a0: ldnull
L_00a1: ldnull
L_00a2: call Verse.AI.Job RefuelJob(Verse.Pawn, Verse.Thing, Boolean, Verse.JobDef,
Verse.JobDef)
L_00a7: br Label13
L_00ac: Label8
L_00ac: Label9
L_00ac: ldloc.0
L_00ad: callvirt RimWorld.BillStack get_BillStack()
L_00b2: callvirt Void RemoveIncompletableBills()
L_00b7: ldarg.0
L_00b8: ldarg.1
L_00b9: ldloc.0
L_00ba: call Verse.AI.Job StartOrResumeBillJob(Verse.Pawn, IBillGiver)
L_00bf: Label11
L_00bf: Label12
L_00bf: Label13
L_00bf: stloc 5 (Verse.AI.Job)
L_00c1: ldloca 5 (Verse.AI.Job)
L_00c3: ldarg 1
L_00c9: ldarg 2
L_00cf: ldarg 3
L_00d5: call Void Postfix(Verse.AI.Job ByRef, Verse.Pawn, Verse.Thing, Boolean)
L_00da: ldloc 5 (Verse.AI.Job)
L_00dc: ret
DONE

### Patch RimWorld.Building_Bed, Void set_Medical(Boolean)


L_0000: ldarg.1
L_0001: ldarg.0
L_0002: ldfld System.Boolean medicalInt
L_0007: beq Label1
L_000c: ldarg.0
L_000d: ldfld Verse.ThingDef def
L_0012: ldfld RimWorld.BuildingProperties building
L_0017: ldfld System.Boolean bed_humanlike
L_001c: pop
L_001d: ldc.i4.1
L_001e: brtrue Label2
L_0023: Label1
L_0023: br Label4
L_0028: Label2
L_0028: ldarg.0
L_0029: call Void RemoveAllOwners()
L_002e: ldarg.0
L_002f: ldarg.1
L_0030: stfld System.Boolean medicalInt
L_0035: ldarg.0
L_0036: callvirt Void Notify_ColorChanged()
L_003b: ldarg.0
L_003c: call Boolean get_Spawned()
L_0041: brfalse Label3
L_0046: ldarg.0
L_0047: call Verse.Map get_Map()
L_004c: ldfld Verse.MapDrawer mapDrawer
L_0051: ldarg.0
L_0052: call IntVec3 get_Position()
L_0057: ldc.i4.1
L_0058: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_005d: ldarg.0
L_005e: call Void NotifyRoomBedTypeChanged()
L_0063: Label3
L_0063: ldarg.0
L_0064: call Void FacilityChanged()
L_0069: Label4
L_0069: ldarg.0
L_006a: ldarga 1
L_0070: call Void ChangeMedicalStatus(RimWorld.Building_Bed, Boolean ByRef)
L_0075: ret
DONE

### Patch Verse.DesignationCategoryDef, IEnumerable`1


get_ResolvedAllowedDesignators()
L_0000: Local var 0: Verse.DesignationCategoryDef+<>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Designator,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld Verse.DesignationCategoryDef $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, Verse.DesignationCategoryDef ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0027: ret
DONE

### Patch Verse.Dialog_RenameZone, Void SetName(System.String)


L_0000: ldarg.0
L_0001: ldfld Verse.Zone zone
L_0006: ldarg.0
L_0007: ldfld System.String curName
L_000c: stfld System.String label
L_0011: ldstr "ZoneGainsName"
L_0016: ldc.i4.1
L_0017: newarr System.Object
L_001c: dup
L_001d: ldc.i4.0
L_001e: ldarg.0
L_001f: ldfld System.String curName
L_0024: stelem.ref
L_0025: call System.String Translate(System.String, System.Object[])
L_002a: ldsfld Verse.MessageTypeDef TaskCompletion
L_002f: ldc.i4.0
L_0030: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0035: call Void Postfix()
L_003a: ret
DONE

### Patch Verse.DynamicDrawManager, Void DrawDynamicThings()


L_0000: Local var 0: System.Boolean[]
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: Verse.CellIndices
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Exception
L_0000: Local var 7: System.Exception
L_0000: ldarga 0
L_0006: call Boolean Prefix(Verse.DynamicDrawManager ByRef)
L_000b: brfalse Label0
L_0010: ldsfld System.Boolean drawThingsDynamic
L_0015: brtrue Label1
L_001a: br Label18
L_001f: Label1
L_001f: ldarg.0
L_0020: ldc.i4.1
L_0021: stfld System.Boolean drawingNow
.try
{
L_0026: ldarg.0
L_0027: ldfld Verse.Map map
L_002c: ldfld Verse.FogGrid fogGrid
L_0031: ldfld System.Boolean[] fogGrid
L_0036: stloc.0
L_0037: call Verse.CameraDriver get_CameraDriver()
L_003c: callvirt CellRect get_CurrentViewRect()
L_0041: stloc.1
L_0042: ldloca.s 1 (Verse.CellRect)
L_0044: ldarg.0
L_0045: ldfld Verse.Map map
L_004a: call CellRect ClipInsideMap(Verse.Map)
L_004f: pop
L_0050: ldloca.s 1 (Verse.CellRect)
L_0052: ldc.i4.1
L_0053: call CellRect ExpandedBy(Int32)
L_0058: stloc.1
L_0059: ldarg.0
L_005a: ldfld Verse.Map map
L_005f: ldfld Verse.CellIndices cellIndices
L_0064: stloc.3
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.HashSet`1[Verse.Thing] drawThings
L_006b: callvirt Enumerator GetEnumerator()
L_0070: stloc.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
.try
{
L_0072: br Label2
L_0077: Label14
L_0077: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0079: call Verse.Thing get_Current()
L_007e: stloc.s 4 (Verse.Thing)
L_0080: ldloc.s 4 (Verse.Thing)
L_0082: callvirt IntVec3 get_Position()
L_0087: stloc.2
L_0088: ldloca.s 1 (Verse.CellRect)
L_008a: ldloc.2
L_008b: call Boolean Contains(IntVec3)
L_0090: brtrue Label3
L_0095: ldloc.s 4 (Verse.Thing)
L_0097: ldfld Verse.ThingDef def
L_009c: ldfld System.Boolean drawOffscreen
L_00a1: brtrue Label4
L_00a6: leave Label5
L_00ab: Label3
L_00ab: Label4
L_00ab: ldloc.0
L_00ac: ldloc.3
L_00ad: ldloc.2
L_00ae: callvirt Int32 CellToIndex(IntVec3)
L_00b3: ldelem.u1
L_00b4: brfalse Label6
L_00b9: ldloc.s 4 (Verse.Thing)
L_00bb: ldfld Verse.ThingDef def
L_00c0: ldfld System.Boolean seeThroughFog
L_00c5: brtrue Label7
L_00ca: leave Label8
L_00cf: Label6
L_00cf: Label7
L_00cf: ldloc.s 4 (Verse.Thing)
L_00d1: ldfld Verse.ThingDef def
L_00d6: ldfld System.Single hideAtSnowDepth
L_00db: ldc.r4 1
L_00e0: bge.un Label9
L_00e5: ldarg.0
L_00e6: ldfld Verse.Map map
L_00eb: ldfld Verse.SnowGrid snowGrid
L_00f0: ldloc.s 4 (Verse.Thing)
L_00f2: callvirt IntVec3 get_Position()
L_00f7: callvirt Single GetDepth(IntVec3)
L_00fc: ldloc.s 4 (Verse.Thing)
L_00fe: ldfld Verse.ThingDef def
L_0103: ldfld System.Single hideAtSnowDepth
L_0108: ble.un Label10
L_010d: leave Label11
L_0112: Label9
L_0112: Label10
.try
{
L_0112: ldloc.s 4 (Verse.Thing)
L_0114: callvirt Void Draw()
L_0119: leave Label12
L_011e: leave (autogenerated)
} // end try
.catch System.Exception
{
L_0123: stloc.s 6 (System.Exception)
L_0125: ldc.i4.4
L_0126: newarr System.Object
L_012b: dup
L_012c: ldc.i4.0
L_012d: ldstr "Exception drawing "
L_0132: stelem.ref
L_0133: dup
L_0134: ldc.i4.1
L_0135: ldloc.s 4 (Verse.Thing)
L_0137: stelem.ref
L_0138: dup
L_0139: ldc.i4.2
L_013a: ldstr ": "
L_013f: stelem.ref
L_0140: dup
L_0141: ldc.i4.3
L_0142: ldloc.s 6 (System.Exception)
L_0144: callvirt System.String ToString()
L_0149: stelem.ref
L_014a: call System.String Concat(System.Object[])
L_014f: ldc.i4.0
L_0150: call Void Error(System.String, Boolean)
L_0155: leave Label13
L_015a: leave (autogenerated)
} // end handler
L_015f: Label2
L_015f: Label5
L_015f: Label8
L_015f: Label11
L_015f: Label12
L_015f: Label13
L_015f: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0161: call Boolean MoveNext()
L_0166: brtrue Label14
L_016b: leave Label15
L_0170: leave (autogenerated)
} // end try
.finally
{
L_0175: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0177: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing]
L_017d: callvirt Void Dispose()
L_0182: endfinally
L_0183: leave (autogenerated)
} // end handler
L_0184: Label15
L_0184: leave Label16
L_0189: leave (autogenerated)
} // end try
.catch System.Exception
{
L_018e: stloc.s 7 (System.Exception)
L_0190: ldstr "Exception drawing dynamic things: "
L_0195: ldloc.s 7 (System.Exception)
L_0197: call System.String Concat(System.Object, System.Object)
L_019c: ldc.i4.0
L_019d: call Void Error(System.String, Boolean)
L_01a2: leave Label17
L_01a7: leave (autogenerated)
} // end handler
L_01ac: Label16
L_01ac: Label17
L_01ac: ldarg.0
L_01ad: ldc.i4.0
L_01ae: stfld System.Boolean drawingNow
L_01b3: Label18
L_01b3: Label0
L_01b3: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterActivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brtrue Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Void Add(RimWorld.CompGatherSpot)
L_001d: Label1
L_001d: ldarga 1
L_0023: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0028: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterDeactivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Boolean Remove(RimWorld.CompGatherSpot)
L_001d: pop
L_001e: Label1
L_001e: ldarga 1
L_0024: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0029: ret
DONE

### Patch Verse.ListerBuildings, Void Add(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.BuildingProperties building
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldfld Verse.ThingDef def
L_0016: ldfld RimWorld.BuildingProperties building
L_001b: ldfld System.Boolean isNaturalRock
L_0020: brfalse Label2
L_0025: br Label7
L_002a: Label1
L_002a: Label2
L_002a: ldarg.1
L_002b: callvirt RimWorld.Faction get_Faction()
L_0030: call RimWorld.Faction get_OfPlayer()
L_0035: bne.un Label3
L_003a: ldarg.0
L_003b: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0040: ldarg.1
L_0041: callvirt Void Add(Verse.Building)
L_0046: ldarg.1
L_0047: isinst Verse.AI.IAttackTarget
L_004c: brfalse Label4
L_0051: ldarg.0
L_0052: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_0057: ldarg.1
L_0058: callvirt Boolean Add(Verse.Building)
L_005d: pop
L_005e: Label3
L_005e: Label4
L_005e: ldarg.1
L_005f: ldfld Verse.ThingDef def
L_0064: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0069: stloc.0
L_006a: ldloc.0
L_006b: brfalse Label5
L_0070: ldloc.0
L_0071: ldfld System.Boolean shortCircuitInRain
L_0076: brfalse Label6
L_007b: ldarg.0
L_007c: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0081: ldarg.1
L_0082: callvirt Boolean Add(Verse.Building)
L_0087: pop
L_0088: Label5
L_0088: Label6
L_0088: Label7
L_0088: ldarga 1
L_008e: call Void Postfix(Verse.Building ByRef)
L_0093: ret
DONE

### Patch Verse.ListerBuildings, Void Remove(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Building)
L_000c: pop
L_000d: ldarg.1
L_000e: isinst Verse.AI.IAttackTarget
L_0013: brfalse Label1
L_0018: ldarg.0
L_0019: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_001e: ldarg.1
L_001f: callvirt Boolean Remove(Verse.Building)
L_0024: pop
L_0025: Label1
L_0025: ldarg.1
L_0026: ldfld Verse.ThingDef def
L_002b: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0030: stloc.0
L_0031: ldloc.0
L_0032: brfalse Label2
L_0037: ldloc.0
L_0038: ldfld System.Boolean shortCircuitInRain
L_003d: brfalse Label3
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0048: ldarg.1
L_0049: callvirt Boolean Remove(Verse.Building)
L_004e: pop
L_004f: Label2
L_004f: Label3
L_004f: ldarga 1
L_0055: call Void Postfix(Verse.Building ByRef)
L_005a: ret
DONE

### Patch Verse.Room, Verse.Room MakeNew(Verse.Map)


L_0000: Local var 0: Verse.Room
L_0000: Local var 1: Verse.Room
L_0000: ldnull
L_0001: stloc 1 (Verse.Room)
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: callvirt Int32 get_Index()
L_000f: conv.i1
L_0010: stfld System.SByte mapIndex
L_0015: ldloc.0
L_0016: ldsfld System.Int32 nextRoomID
L_001b: stfld System.Int32 ID
L_0020: ldsfld System.Int32 nextRoomID
L_0025: ldc.i4.1
L_0026: add
L_0027: stsfld System.Int32 nextRoomID
L_002c: ldloc.0
L_002d: stloc 1 (Verse.Room)
L_002e: ldloca 1 (Verse.Room)
L_0030: call Void Postfix(Verse.Room ByRef)
L_0035: ldloc 1 (Verse.Room)
L_0036: ret
DONE

### Patch Verse.Room, Void Notify_BedTypeChanged()


L_0000: ldarg.0
L_0001: ldc.i4.1
L_0002: stfld System.Boolean statsAndRoleDirty
L_0007: ldarga 0
L_000d: call Void Postfix(Verse.Room ByRef)
L_0012: ret
DONE

### Patch Verse.Room, Void Notify_RoomShapeOrContainedBedsChanged()


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Bed
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: RimWorld.Building_Bed
L_0000: Local var 6:
System.Collections.Generic.IEnumerator`1[[RimWorld.Building_Bed, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldc.i4.m1
L_0002: stfld System.Int32 cachedCellCount
L_0007: ldarg.0
L_0008: ldc.i4.m1
L_0009: stfld System.Int32 cachedOpenRoofCount
L_000e: ldarg.0
L_000f: ldnull
L_0010: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_0015: call ProgramState get_ProgramState()
L_001a: ldc.i4.2
L_001b: bne.un Label1
L_0020: ldarg.0
L_0021: call Boolean get_Fogged()
L_0026: brtrue Label2
L_002b: ldarg.0
L_002c: call Verse.Map get_Map()
L_0031: ldfld Verse.AutoBuildRoofAreaSetter autoBuildRoofAreaSetter
L_0036: ldarg.0
L_0037: callvirt Void TryGenerateAreaFor(Verse.Room)
L_003c: Label1
L_003c: Label2
L_003c: ldarg.0
L_003d: ldc.i4.0
L_003e: stfld System.Boolean isPrisonCell
L_0043: ldarg.0
L_0044: call Boolean RoomCanBePrisonCell(Verse.Room)
L_0049: brfalse Label3
L_004e: ldarg.0
L_004f: call System.Collections.Generic.List`1[Verse.Thing]
get_ContainedAndAdjacentThings()
L_0054: stloc.0
L_0055: ldc.i4.0
L_0056: stloc.1
L_0057: br Label4
L_005c: Label8
L_005c: ldloc.0
L_005d: ldloc.1
L_005e: callvirt Verse.Thing get_Item(Int32)
L_0063: isinst RimWorld.Building_Bed
L_0068: stloc.2
L_0069: ldloc.2
L_006a: brfalse Label5
L_006f: ldloc.2
L_0070: callvirt Boolean get_ForPrisoners()
L_0075: brfalse Label6
L_007a: ldarg.0
L_007b: ldc.i4.1
L_007c: stfld System.Boolean isPrisonCell
L_0081: br Label7
L_0086: Label5
L_0086: Label6
L_0086: ldloc.1
L_0087: ldc.i4.1
L_0088: add
L_0089: stloc.1
L_008a: Label4
L_008a: ldloc.1
L_008b: ldloc.0
L_008c: callvirt Int32 get_Count()
L_0091: blt Label8
L_0096: Label3
L_0096: Label7
L_0096: ldarg.0
L_0097: call Verse.Map get_Map()
L_009c: ldfld Verse.ListerThings listerThings
L_00a1: ldsfld Verse.ThingDef NutrientPasteDispenser
L_00a6: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsOfDef(Verse.ThingDef)
L_00ab: stloc.3
L_00ac: ldc.i4.0
L_00ad: stloc.s 4 (System.Int32)
L_00af: br Label9
L_00b4: Label10
L_00b4: ldloc.3
L_00b5: ldloc.s 4 (System.Int32)
L_00b7: callvirt Verse.Thing get_Item(Int32)
L_00bc: callvirt Void Notify_ColorChanged()
L_00c1: ldloc.s 4 (System.Int32)
L_00c3: ldc.i4.1
L_00c4: add
L_00c5: stloc.s 4 (System.Int32)
L_00c7: Label9
L_00c7: ldloc.s 4 (System.Int32)
L_00c9: ldloc.3
L_00ca: callvirt Int32 get_Count()
L_00cf: blt Label10
L_00d4: call ProgramState get_ProgramState()
L_00d9: ldc.i4.2
L_00da: bne.un Label11
L_00df: ldarg.0
L_00e0: ldfld System.Boolean isPrisonCell
L_00e5: brfalse Label12
L_00ea: ldarg.0
L_00eb: call IEnumerable`1 get_ContainedBeds()
L_00f0: callvirt IEnumerator`1 GetEnumerator()
L_00f5: stloc.s 6 (System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
.try
{
L_00f7: br Label13
L_00fc: Label14
L_00fc: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_00fe: callvirt RimWorld.Building_Bed get_Current()
L_0103: stloc.s 5 (RimWorld.Building_Bed)
L_0105: ldloc.s 5 (RimWorld.Building_Bed)
L_0107: ldc.i4.1
L_0108: callvirt Void set_ForPrisoners(Boolean)
L_010d: Label13
L_010d: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_010f: callvirt Boolean MoveNext()
L_0114: brtrue Label14
L_0119: leave Label15
L_011e: leave (autogenerated)
} // end try
.finally
{
L_0123: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_0125: brfalse Label16
L_012a: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_012c: callvirt Void Dispose()
L_0131: Label16
L_0131: endfinally
L_0132: leave (autogenerated)
} // end handler
L_0133: Label11
L_0133: Label12
L_0133: Label15
L_0133: ldarg.0
L_0134: call Verse.TickManager get_TickManager()
L_0139: callvirt Int32 get_TicksGame()
L_013e: stfld System.Int32 lastChangeTick
L_0143: ldarg.0
L_0144: ldc.i4.1
L_0145: stfld System.Boolean statsAndRoleDirty
L_014a: ldarg.0
L_014b: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0150: call Void
NotifyFacilitiesAboutChangedLOSBlockers(System.Collections.Generic.List`1[Verse.Reg
ion])
L_0155: ldarga 0
L_015b: call Void Postfix(Verse.Room ByRef)
L_0160: ret
DONE

### Patch Verse.Room, Void RemoveRegion(Verse.Region)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(Verse.Region)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Tried to remove region from Room but this region is not here.
region="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: stelem.ref
L_0023: dup
L_0024: ldc.i4.2
L_0025: ldstr ", room="
L_002a: stelem.ref
L_002b: dup
L_002c: ldc.i4.3
L_002d: ldarg.0
L_002e: stelem.ref
L_002f: call System.String Concat(System.Object[])
L_0034: ldc.i4.0
L_0035: call Void Error(System.String, Boolean)
L_003a: br Label4
L_003f: Label1
L_003f: ldarg.0
L_0040: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0045: ldarg.1
L_0046: callvirt Boolean Remove(Verse.Region)
L_004b: pop
L_004c: ldarg.1
L_004d: ldfld System.Boolean touchesMapEdge
L_0052: brfalse Label2
L_0057: ldarg.0
L_0058: dup
L_0059: ldfld System.Int32 numRegionsTouchingMapEdge
L_005e: ldc.i4.1
L_005f: sub
L_0060: stfld System.Int32 numRegionsTouchingMapEdge
L_0065: Label2
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_006b: callvirt Int32 get_Count()
L_0070: brtrue Label3
L_0075: ldarg.0
L_0076: ldnull
L_0077: call Void set_Group(Verse.RoomGroup)
L_007c: ldarg.0
L_007d: ldc.i4.m1
L_007e: stfld System.Int32 cachedOpenRoofCount
L_0083: ldarg.0
L_0084: ldnull
L_0085: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_008a: ldarg.0
L_008b: ldc.i4.1
L_008c: stfld System.Boolean statsAndRoleDirty
L_0091: ldarg.0
L_0092: call Verse.Map get_Map()
L_0097: ldfld Verse.RegionGrid regionGrid
L_009c: ldfld System.Collections.Generic.List`1[Verse.Room] allRooms
L_00a1: ldarg.0
L_00a2: callvirt Boolean Remove(Verse.Room)
L_00a7: pop
L_00a8: Label3
L_00a8: Label4
L_00a8: ldarga 0
L_00ae: call Void Postfix(Verse.Room ByRef)
L_00b3: ret
DONE

### Patch Verse.ZoneManager, Void DeregisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Zone)
L_000c: pop
L_000d: ldarg.1
L_000e: callvirt Void PostDeregister()
L_0013: ldarga 1
L_0019: call Void Postfix(Verse.Zone ByRef)
L_001e: ret
DONE

### Patch Verse.ZoneManager, Void RegisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Void Add(Verse.Zone)
L_000c: ldarg.1
L_000d: callvirt Void PostRegister()
L_0012: ldarga 1
L_0018: call Void Postfix(Verse.Zone ByRef)
L_001d: ret
DONE

### Patch RimWorld.Zone_Growing, Void SetPlantDefToGrow(Verse.ThingDef)


L_0000: ldarg.0
L_0001: ldarg.1
L_0002: stfld Verse.ThingDef plantDefToGrow
L_0007: ldarga 0
L_000d: call Void Postfix(RimWorld.Zone_Growing ByRef)
L_0012: ret
DONE

### Patch Verse.Zone, Void RemoveCell(IntVec3)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Cannot remove cell from zone which doesn't have it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label3
L_0044: Label1
L_0044: ldarg.0
L_0045: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_004a: ldarg.1
L_004b: callvirt Boolean Remove(IntVec3)
L_0050: pop
L_0051: ldarg.0
L_0052: ldfld Verse.ZoneManager zoneManager
L_0057: ldarg.1
L_0058: callvirt Void ClearZoneGridCell(IntVec3)
L_005d: ldarg.0
L_005e: call Verse.Map get_Map()
L_0063: ldfld Verse.MapDrawer mapDrawer
L_0068: ldarg.1
L_0069: ldc.i4 128
L_006e: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_0073: ldarg.0
L_0074: ldc.i4.0
L_0075: stfld System.Boolean cellsShuffled
L_007a: ldarg.0
L_007b: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0080: callvirt Int32 get_Count()
L_0085: brtrue Label2
L_008a: ldarg.0
L_008b: call Void Deregister()
L_0090: Label2
L_0090: Label3
L_0090: ldarga 0
L_0096: call Void Postfix(Verse.Zone ByRef)
L_009b: ret
DONE

### Patch Verse.Zone, Void AddCell(IntVec3)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Thing
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brfalse Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Adding cell to zone which already has it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label5
L_0044: Label1
L_0044: ldarg.0
L_0045: call Verse.Map get_Map()
L_004a: ldfld Verse.ThingGrid thingGrid
L_004f: ldarg.1
L_0050: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsListAt(IntVec3)
L_0055: stloc.0
L_0056: ldc.i4.0
L_0057: stloc.1
L_0058: br Label2
L_005d: Label4
L_005d: ldloc.0
L_005e: ldloc.1
L_005f: callvirt Verse.Thing get_Item(Int32)
L_0064: stloc.2
L_0065: ldloc.2
L_0066: ldfld Verse.ThingDef def
L_006b: callvirt Boolean get_CanOverlapZones()
L_0070: brtrue Label3
L_0075: ldstr "Added zone over zone-incompatible thing "
L_007a: ldloc.2
L_007b: call System.String Concat(System.Object, System.Object)
L_0080: ldc.i4.0
L_0081: call Void Error(System.String, Boolean)
L_0086: br Label6
L_008b: Label3
L_008b: ldloc.1
L_008c: ldc.i4.1
L_008d: add
L_008e: stloc.1
L_008f: Label2
L_008f: ldloc.1
L_0090: ldloc.0
L_0091: callvirt Int32 get_Count()
L_0096: blt Label4
L_009b: ldarg.0
L_009c: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_00a1: ldarg.1
L_00a2: callvirt Void Add(IntVec3)
L_00a7: ldarg.0
L_00a8: ldfld Verse.ZoneManager zoneManager
L_00ad: ldarg.0
L_00ae: ldarg.1
L_00af: callvirt Void AddZoneGridCell(Verse.Zone, IntVec3)
L_00b4: ldarg.0
L_00b5: call Verse.Map get_Map()
L_00ba: ldfld Verse.MapDrawer mapDrawer
L_00bf: ldarg.1
L_00c0: ldc.i4 128
L_00c5: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_00ca: ldarg.1
L_00cb: ldarg.0
L_00cc: call Void Notify_ZoneCellAdded(IntVec3, Verse.Zone)
L_00d1: ldarg.0
L_00d2: ldc.i4.0
L_00d3: stfld System.Boolean cellsShuffled
L_00d8: Label5
L_00d8: Label6
L_00d8: ldarga 0
L_00de: call Void Postfix(Verse.Zone ByRef)
L_00e3: ret
DONE

### Patch Verse.AI.AttackTargetFinder, IAttackTarget


BestAttackTarget(IAttackTargetSearcher, TargetScanFlags,
System.Predicate`1[Verse.Thing], Single, Single, IntVec3, Single, Boolean, Boolean)
L_0000: Local var 0: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey1
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.AI.IAttackTarget
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: Verse.AI.IAttackTarget
L_0000: Local var 8: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2
L_0000: Local var 10: Verse.AI.IAttackTarget
L_0000: Local var 11: Verse.IntVec3
L_0000: Local var 12: Verse.Map
L_0000: Local var 13: Verse.ThingRequest
L_0000: Local var 14: Verse.AI.PathEndMode
L_0000: Local var 15: Verse.Pawn
L_0000: Local var 16: Verse.Danger
L_0000: Local var 17: System.Boolean
L_0000: Local var 18: Verse.TraverseParms
L_0000: Local var 19: System.Single
L_0000: Local var 20: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 21: System.Int32
L_0000: Local var 22: Verse.AI.IAttackTarget
L_0000: Local var 23: System.Single
L_0000: Local var 24: System.Single
L_0000: Local var 25: Verse.IntVec3
L_0000: Local var 26: Verse.AI.IAttackTarget
L_0000: ldnull
L_0001: stloc 26 (Verse.AI.IAttackTarget)
L_0003: ldarg 0
L_0009: ldarga 2
L_000f: call Boolean Prefix(IAttackTargetSearcher, System.Predicate`1[Verse.Thing]
ByRef)
L_0014: brfalse Label0
L_0019: newobj Void .ctor()
L_001e: stloc.0
L_001f: ldloc.0
L_0020: ldarg.0
L_0021: stfld Verse.AI.IAttackTargetSearcher searcher
L_0026: ldloc.0
L_0027: ldarg.s 8
L_0029: stfld System.Boolean canTakeTargetsCloserThanEffectiveMinRange
L_002e: ldloc.0
L_002f: ldarg.s 6
L_0031: stfld System.Single maxTravelRadiusFromLocus
L_0036: ldloc.0
L_0037: ldarg.s 5
L_0039: stfld Verse.IntVec3 locus
L_003e: ldloc.0
L_003f: ldarg.2
L_0040: stfld System.Predicate`1[Verse.Thing] validator
L_0045: ldloc.0
L_0046: ldarg.1
L_0047: stfld Verse.AI.TargetScanFlags flags
L_004c: ldloc.0
L_004d: ldarg.s 7
L_004f: stfld System.Boolean canBash
L_0054: ldloc.0
L_0055: ldarg.s 4
L_0057: stfld System.Single maxDist
L_005c: ldloc.0
L_005d: ldloc.0
L_005e: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0063: callvirt Verse.Thing get_Thing()
L_0068: stfld Verse.Thing searcherThing
L_006d: ldloc.0
L_006e: ldloc.0
L_006f: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0074: isinst Verse.Pawn
L_0079: stfld Verse.Pawn searcherPawn
L_007e: ldloc.0
L_007f: ldloc.0
L_0080: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0085: callvirt Verse.Verb get_CurrentEffectiveVerb()
L_008a: stfld Verse.Verb verb
L_008f: ldloc.0
L_0090: ldfld Verse.Verb verb
L_0095: brtrue Label1
L_009a: ldstr "BestAttackTarget with "
L_009f: ldloc.0
L_00a0: ldfld Verse.AI.IAttackTargetSearcher searcher
L_00a5: call System.String ToStringSafe[IAttackTargetSearcher]
(IAttackTargetSearcher)
L_00aa: ldstr " who has no attack verb."
L_00af: call System.String Concat(System.String, System.String, System.String)
L_00b4: ldc.i4.0
L_00b5: call Void Error(System.String, Boolean)
L_00ba: ldnull
L_00bb: br Label26
L_00c0: Label1
L_00c0: ldloc.0
L_00c1: ldloc.0
L_00c2: ldfld Verse.Verb verb
L_00c7: call Boolean IsEMP(Verse.Verb)
L_00cc: stfld System.Boolean onlyTargetMachines
L_00d1: ldloc.0
L_00d2: ldarg.3
L_00d3: ldarg.3
L_00d4: mul
L_00d5: stfld System.Single minDistSquared
L_00da: ldloc.0
L_00db: ldfld System.Single maxTravelRadiusFromLocus
L_00e0: ldloc.0
L_00e1: ldfld Verse.Verb verb
L_00e6: ldfld Verse.VerbProperties verbProps
L_00eb: ldfld System.Single range
L_00f0: add
L_00f1: stloc.1
L_00f2: ldloc.0
L_00f3: ldloc.1
L_00f4: ldloc.1
L_00f5: mul
L_00f6: stfld System.Single maxLocusDistSquared
L_00fb: ldloc.0
L_00fc: ldnull
L_00fd: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0102: ldloc.0
L_0103: ldfld Verse.AI.TargetScanFlags flags
L_0108: ldc.i4.s 64
L_010a: and
L_010b: conv.u1
L_010c: brfalse Label2
L_0111: ldloc.0
L_0112: ldloc.0
L_0113: ldftn Boolean <>m__0(IntVec3)
L_0119: newobj Void .ctor(Object, IntPtr)
L_011e: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0123: Label2
L_0123: ldloc.0
L_0124: ldloc.0
L_0125: ldftn Boolean <>m__1(IAttackTarget)
L_012b: newobj Void .ctor(Object, IntPtr)
L_0130: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0135: ldloc.0
L_0136: ldfld Verse.AI.IAttackTargetSearcher searcher
L_013b: call Boolean HasRangedAttack(IAttackTargetSearcher)
L_0140: brfalse Label3
L_0145: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_014a: callvirt Void Clear()
L_014f: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0154: ldloc.0
L_0155: ldfld Verse.Thing searcherThing
L_015a: callvirt Verse.Map get_Map()
L_015f: ldfld Verse.AI.AttackTargetsCache attackTargetsCache
L_0164: ldloc.0
L_0165: ldfld Verse.AI.IAttackTargetSearcher searcher
L_016a: callvirt System.Collections.Generic.List`1[Verse.AI.IAttackTarget]
GetPotentialTargetsFor(IAttackTargetSearcher)
L_016f: callvirt Void AddRange(IEnumerable`1)
L_0174: ldloc.0
L_0175: ldfld Verse.AI.TargetScanFlags flags
L_017a: ldc.i4.4
L_017b: and
L_017c: conv.u1
L_017d: brfalse Label4
L_0182: newobj Void .ctor()
L_0187: stloc.2
L_0188: ldloc.2
L_0189: ldloc.0
L_018a: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_018f: ldloc.2
L_0190: ldloc.0
L_0191: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0196: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_019b: ldloc.0
L_019c: ldloc.2
L_019d: ldftn Boolean <>m__0(IAttackTarget)
L_01a3: newobj Void .ctor(Object, IntPtr)
L_01a8: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01ad: Label4
L_01ad: ldc.i4.0
L_01ae: stloc.3
L_01af: ldc.i4.0
L_01b0: stloc.s 4 (System.Int32)
L_01b2: br Label5
L_01b7: Label10
L_01b7: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_01bc: ldloc.s 4 (System.Int32)
L_01be: callvirt IAttackTarget get_Item(Int32)
L_01c3: stloc.s 5 (Verse.AI.IAttackTarget)
L_01c5: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01c7: callvirt Verse.Thing get_Thing()
L_01cc: callvirt IntVec3 get_Position()
L_01d1: stloc.s 6 (Verse.IntVec3)
L_01d3: ldloca.s 6 (Verse.IntVec3)
L_01d5: ldloc.0
L_01d6: ldfld Verse.Thing searcherThing
L_01db: callvirt IntVec3 get_Position()
L_01e0: ldloc.0
L_01e1: ldfld System.Single maxDist
L_01e6: call Boolean InHorDistOf(IntVec3, Single)
L_01eb: brfalse Label6
L_01f0: ldloc.0
L_01f1: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01f6: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01f8: callvirt Boolean Invoke(IAttackTarget)
L_01fd: brfalse Label7
L_0202: ldloc.s 5 (Verse.AI.IAttackTarget)
L_0204: ldloc.0
L_0205: ldfld Verse.AI.IAttackTargetSearcher searcher
L_020a: ldloc.0
L_020b: ldfld Verse.Verb verb
L_0210: call Boolean CanShootAtFromCurrentPosition(IAttackTarget,
IAttackTargetSearcher, Verse.Verb)
L_0215: brfalse Label8
L_021a: ldc.i4.1
L_021b: stloc.3
L_021c: br Label9
L_0221: Label6
L_0221: Label7
L_0221: Label8
L_0221: ldloc.s 4 (System.Int32)
L_0223: ldc.i4.1
L_0224: add
L_0225: stloc.s 4 (System.Int32)
L_0227: Label5
L_0227: ldloc.s 4 (System.Int32)
L_0229: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_022e: callvirt Int32 get_Count()
L_0233: blt Label10
L_0238: Label9
L_0238: ldloc.3
L_0239: brfalse Label11
L_023e: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0243: ldloc.0
L_0244: ldftn Boolean <>m__2(IAttackTarget)
L_024a: newobj Void .ctor(Object, IntPtr)
L_024f: callvirt Int32 RemoveAll(System.Predicate`1[Verse.AI.IAttackTarget])
L_0254: pop
L_0255: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_025a: ldloc.0
L_025b: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0260: ldloc.0
L_0261: ldfld Verse.Verb verb
L_0266: call IAttackTarget
GetRandomShootingTargetByScore(System.Collections.Generic.List`1[Verse.AI.IAttackTa
rget], IAttackTargetSearcher, Verse.Verb)
L_026b: stloc.s 7 (Verse.AI.IAttackTarget)
L_026d: br Label12
L_0272: Label11
L_0272: ldloc.0
L_0273: ldfld Verse.AI.TargetScanFlags flags
L_0278: ldc.i4.8
L_0279: and
L_027a: conv.u1
L_027b: brfalse Label13
L_0280: ldloc.0
L_0281: ldfld Verse.AI.TargetScanFlags flags
L_0286: ldc.i4.4
L_0287: and
L_0288: conv.u1
L_0289: brtrue Label14
L_028e: ldloc.0
L_028f: ldftn Boolean <>m__3(Verse.Thing)
L_0295: newobj Void .ctor(Object, IntPtr)
L_029a: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_029c: br Label15
L_02a1: Label13
L_02a1: Label14
L_02a1: ldloc.0
L_02a2: ldftn Boolean <>m__4(Verse.Thing)
L_02a8: newobj Void .ctor(Object, IntPtr)
L_02ad: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_02af: Label15
L_02af: ldloc.0
L_02b0: ldfld Verse.Thing searcherThing
L_02b5: callvirt IntVec3 get_Position()
L_02ba: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02bf: ldloc.0
L_02c0: ldfld System.Single maxDist
L_02c5: ldloc.s 8 (System.Predicate`1[Verse.Thing])
L_02c7: ldnull
L_02c8: call Verse.Thing ClosestThing_Global(IntVec3, IEnumerable, Single,
System.Predicate`1[Verse.Thing], System.Func`2[Verse.Thing,System.Single])
L_02cd: castclass Verse.AI.IAttackTarget
L_02d2: stloc.s 7 (Verse.AI.IAttackTarget)
L_02d4: Label12
L_02d4: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02d9: callvirt Void Clear()
L_02de: ldloc.s 7 (Verse.AI.IAttackTarget)
L_02e0: br Label27
L_02e5: Label3
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn searcherPawn
L_02eb: brfalse Label16
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn searcherPawn
L_02f6: ldfld Verse.AI.Pawn_MindState mindState
L_02fb: ldfld Verse.AI.PawnDuty duty
L_0300: brfalse Label17
L_0305: ldloc.0
L_0306: ldfld Verse.Pawn searcherPawn
L_030b: ldfld Verse.AI.Pawn_MindState mindState
L_0310: ldfld Verse.AI.PawnDuty duty
L_0315: ldfld System.Single radius
L_031a: ldc.r4 0
L_031f: ble.un Label18
L_0324: ldloc.0
L_0325: ldfld Verse.Pawn searcherPawn
L_032a: callvirt Boolean get_InMentalState()
L_032f: brtrue Label19
L_0334: newobj Void .ctor()
L_0339: stloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033b: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033d: ldloc.0
L_033e: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_0343: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0345: ldloc.0
L_0346: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_034b: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_0350: ldloc.0
L_0351: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0353: ldftn Boolean <>m__0(IAttackTarget)
L_0359: newobj Void .ctor(Object, IntPtr)
L_035e: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0363: Label16
L_0363: Label17
L_0363: Label18
L_0363: Label19
L_0363: ldloc.0
L_0364: ldfld Verse.Thing searcherThing
L_0369: callvirt IntVec3 get_Position()
L_036e: stloc.s 11 (Verse.IntVec3)
L_0370: ldloc.0
L_0371: ldfld Verse.Thing searcherThing
L_0376: callvirt Verse.Map get_Map()
L_037b: stloc.s 12 (Verse.Map)
L_037d: ldc.i4.s 15
L_037f: call ThingRequest ForGroup(ThingRequestGroup)
L_0384: stloc.s 13 (Verse.ThingRequest)
L_0386: ldc.i4.2
L_0387: stloc.s 14 (Verse.AI.PathEndMode)
L_0389: ldloc.0
L_038a: ldfld Verse.Pawn searcherPawn
L_038f: stloc.s 15 (Verse.Pawn)
L_0391: ldc.i4.3
L_0392: stloc.s 16 (Verse.Danger)
L_0394: ldloc.0
L_0395: ldfld System.Boolean canBash
L_039a: stloc.s 17 (System.Boolean)
L_039c: ldloc.s 15 (Verse.Pawn)
L_039e: ldloc.s 16 (Verse.Danger)
L_03a0: ldc.i4.0
L_03a1: ldloc.s 17 (System.Boolean)
L_03a3: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_03a8: stloc.s 18 (Verse.TraverseParms)
L_03aa: ldloc.0
L_03ab: ldfld System.Single maxDist
L_03b0: stloc.s 19 (System.Single)
L_03b2: ldloc.0
L_03b3: ldftn Boolean <>m__5(Verse.Thing)
L_03b9: newobj Void .ctor(Object, IntPtr)
L_03be: stloc.s 20 (System.Predicate`1[Verse.Thing])
L_03c0: ldloc.0
L_03c1: ldfld System.Single maxDist
L_03c6: ldc.r4 800
L_03cb: ble.un Label20
L_03d0: ldc.i4.m1
L_03d1: br Label21
L_03d6: Label20
L_03d6: ldc.i4.s 40
L_03d8: Label21
L_03d8: stloc.s 21 (System.Int32)
L_03da: ldloc.s 11 (Verse.IntVec3)
L_03dc: ldloc.s 12 (Verse.Map)
L_03de: ldloc.s 13 (Verse.ThingRequest)
L_03e0: ldloc.s 14 (Verse.AI.PathEndMode)
L_03e2: ldloc.s 18 (Verse.TraverseParms)
L_03e4: ldloc.s 19 (System.Single)
L_03e6: ldloc.s 20 (System.Predicate`1[Verse.Thing])
L_03e8: ldnull
L_03e9: ldc.i4.0
L_03ea: ldloc.s 21 (System.Int32)
L_03ec: ldc.i4.0
L_03ed: ldc.i4.6
L_03ee: ldc.i4.0
L_03ef: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_03f4: castclass Verse.AI.IAttackTarget
L_03f9: stloc.s 10 (Verse.AI.IAttackTarget)
L_03fb: ldloc.s 10 (Verse.AI.IAttackTarget)
L_03fd: brfalse Label22
L_0402: ldloc.0
L_0403: ldfld Verse.Pawn searcherPawn
L_0408: call Boolean ShouldCollideWithPawns(Verse.Pawn)
L_040d: brfalse Label23
L_0412: ldloc.0
L_0413: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0418: ldloc.0
L_0419: ldfld Verse.Pawn searcherPawn
L_041e: ldloc.0
L_041f: ldfld System.Single maxDist
L_0424: ldloc.0
L_0425: ldfld System.Boolean canBash
L_042a: call IAttackTarget
FindBestReachableMeleeTarget(System.Predicate`1[Verse.AI.IAttackTarget],
Verse.Pawn, Single, Boolean)
L_042f: stloc.s 22 (Verse.AI.IAttackTarget)
L_0431: ldloc.s 22 (Verse.AI.IAttackTarget)
L_0433: brfalse Label24
L_0438: ldloc.0
L_0439: ldfld Verse.Pawn searcherPawn
L_043e: callvirt IntVec3 get_Position()
L_0443: ldloc.s 10 (Verse.AI.IAttackTarget)
L_0445: callvirt Verse.Thing get_Thing()
L_044a: callvirt IntVec3 get_Position()
L_044f: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_0454: stloc.s 11 (Verse.IntVec3)
L_0456: ldloca.s 11 (Verse.IntVec3)
L_0458: call Single get_LengthHorizontal()
L_045d: stloc.s 23 (System.Single)
L_045f: ldloc.0
L_0460: ldfld Verse.Pawn searcherPawn
L_0465: callvirt IntVec3 get_Position()
L_046a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_046c: callvirt Verse.Thing get_Thing()
L_0471: callvirt IntVec3 get_Position()
L_0476: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_047b: stloc.s 25 (Verse.IntVec3)
L_047d: ldloca.s 25 (Verse.IntVec3)
L_047f: call Single get_LengthHorizontal()
L_0484: stloc.s 24 (System.Single)
L_0486: ldloc.s 23 (System.Single)
L_0488: ldloc.s 24 (System.Single)
L_048a: sub
L_048b: call Single Abs(Single)
L_0490: ldc.r4 50
L_0495: bge.un Label25
L_049a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_049c: stloc.s 10 (Verse.AI.IAttackTarget)
L_049e: Label22
L_049e: Label23
L_049e: Label24
L_049e: Label25
L_049e: ldloc.s 10 (Verse.AI.IAttackTarget)
L_04a0: Label26
L_04a0: Label27
L_04a0: stloc 26 (Verse.AI.IAttackTarget)
L_04a2: Label0
L_04a2: ldloc 26 (Verse.AI.IAttackTarget)
L_04a4: ret
DONE

### Patch RimWorld.Pawn_DraftController, IEnumerable`1 GetGizmos()


L_0000: Local var 0: RimWorld.Pawn_DraftController+<GetGizmos>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Gizmo,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld RimWorld.Pawn_DraftController $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, RimWorld.Pawn_DraftController ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0027: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ldarg.0
L_019a: ldarg 1
L_01a0: call Void Postfix(RimWorld.Pawn_DraftController, Boolean)
L_01a5: ret
DONE

### Patch Verse.Pawn, Void Kill(Nullable`1, Verse.Hediff)


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: Verse.Map
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.Planet.Caravan
L_0000: Local var 7: RimWorld.Building_Grave
L_0000: Local var 8: System.Boolean
L_0000: Local var 9: System.Single
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.ThingOwner
L_0000: Local var 12: System.Boolean
L_0000: Local var 13: System.Boolean
L_0000: Local var 14: System.Boolean
L_0000: Local var 15: System.Boolean
L_0000: Local var 16: Verse.DamageInfo
L_0000: Local var 17: System.Single
L_0000: Local var 18: Verse.Thing
L_0000: Local var 19: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 20: Verse.DamageInfo
L_0000: Local var 21: Verse.DamageInfo
L_0000: Local var 22: Verse.Pawn
L_0000: Local var 23: Verse.DamageInfo
L_0000: Local var 24: Verse.DamageInfo
L_0000: Local var 25: Verse.DamageInfo
L_0000: Local var 26: Verse.Pawn_CarryTracker
L_0000: Local var 27: Verse.Thing
L_0000: Local var 28: Verse.AI.Group.Lord
L_0000: Local var 29: Verse.Corpse
L_0000: Local var 30: Verse.DamageInfo
L_0000: Local var 31: Verse.DamageInfo
L_0000: Local var 32: Verse.Hediff
L_0000: Local var 33: RimWorld.CompRottable
L_0000: Local var 34: System.Int32
L_0000: ldarg.0
L_0001: call IntVec3 get_PositionHeld()
L_0006: stloc.0
L_0007: ldarg.0
L_0008: call Verse.Map get_Map()
L_000d: stloc.1
L_000e: ldarg.0
L_000f: call Verse.Map get_MapHeld()
L_0014: stloc.2
L_0015: ldarg.0
L_0016: call Boolean get_Spawned()
L_001b: stloc.3
L_001c: ldarg.0
L_001d: call Boolean get_SpawnedOrAnyParentSpawned()
L_0022: stloc.s 4 (System.Boolean)
L_0024: ldarg.0
L_0025: call Boolean IsWorldPawn(Verse.Pawn)
L_002a: stloc.s 5 (System.Boolean)
L_002c: ldarg.0
L_002d: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_0032: stloc.s 6 (RimWorld.Planet.Caravan)
L_0034: ldnull
L_0035: stloc.s 7 (RimWorld.Building_Grave)
L_0037: ldarg.0
L_0038: ldfld RimWorld.Pawn_Ownership ownership
L_003d: brfalse Label1
L_0042: ldarg.0
L_0043: ldfld RimWorld.Pawn_Ownership ownership
L_0048: callvirt RimWorld.Building_Grave get_AssignedGrave()
L_004d: stloc.s 7 (RimWorld.Building_Grave)
L_004f: Label1
L_004f: ldarg.0
L_0050: call Boolean InBed(Verse.Pawn)
L_0055: stloc.s 8 (System.Boolean)
L_0057: ldc.r4 0
L_005c: stloc.s 9 (System.Single)
L_005e: ldloc.s 8 (System.Boolean)
L_0060: brfalse Label2
L_0065: ldarg.0
L_0066: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006b: callvirt Rot4 get_Rotation()
L_0070: stloc.s 10 (Verse.Rot4)
L_0072: ldloca.s 10 (Verse.Rot4)
L_0074: call Single get_AsAngle()
L_0079: stloc.s 9 (System.Single)
L_007b: Label2
L_007b: ldnull
L_007c: stloc.s 11 (Verse.ThingOwner)
L_007e: ldarg.0
L_007f: call Boolean get_InContainerEnclosed()
L_0084: stloc.s 12 (System.Boolean)
L_0086: ldloc.s 12 (System.Boolean)
L_0088: brfalse Label3
L_008d: ldarg.0
L_008e: ldfld Verse.ThingOwner holdingOwner
L_0093: stloc.s 11 (Verse.ThingOwner)
L_0095: ldloc.s 11 (Verse.ThingOwner)
L_0097: ldarg.0
L_0098: callvirt Boolean Remove(Verse.Thing)
L_009d: pop
L_009e: Label3
L_009e: ldc.i4.0
L_009f: stloc.s 13 (System.Boolean)
L_00a1: ldc.i4.0
L_00a2: stloc.s 14 (System.Boolean)
L_00a4: call ProgramState get_ProgramState()
L_00a9: ldc.i4.2
L_00aa: bne.un Label4
L_00af: ldloc.1
L_00b0: brfalse Label5
L_00b5: ldloc.1
L_00b6: ldfld Verse.DesignationManager designationManager
L_00bb: ldarg.0
L_00bc: ldsfld Verse.DesignationDef Hunt
L_00c1: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00c6: ldnull
L_00c7: ceq
L_00c9: ldc.i4.0
L_00ca: ceq
L_00cc: stloc.s 13 (System.Boolean)
L_00ce: ldloc.1
L_00cf: ldfld Verse.DesignationManager designationManager
L_00d4: ldarg.0
L_00d5: ldsfld Verse.DesignationDef Slaughter
L_00da: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00df: ldnull
L_00e0: ceq
L_00e2: ldc.i4.0
L_00e3: ceq
L_00e5: stloc.s 14 (System.Boolean)
L_00e7: Label4
L_00e7: Label5
L_00e7: ldarg.0
L_00e8: call Boolean ShouldSendNotificationAbout(Verse.Pawn)
L_00ed: brfalse Label6
L_00f2: ldloc.s 14 (System.Boolean)
L_00f4: brfalse Label7
L_00f9: ldarga.s 1
L_00fb: call Boolean get_HasValue()
L_0100: brfalse Label8
L_0105: ldarga.s 1
L_0107: call DamageInfo get_Value()
L_010c: stloc.s 16 (Verse.DamageInfo)
L_010e: ldloca.s 16 (Verse.DamageInfo)
L_0110: call Verse.DamageDef get_Def()
L_0115: ldsfld Verse.DamageDef ExecutionCut
L_011a: ceq
L_011c: br Label9
L_0121: Label7
L_0121: Label8
L_0121: ldc.i4.0
L_0122: Label9
L_0122: ldc.i4.0
L_0123: ceq
L_0125: br Label10
L_012a: Label6
L_012a: ldc.i4.0
L_012b: Label10
L_012b: stloc.s 15 (System.Boolean)
L_012d: ldc.r4 0
L_0132: stloc.s 17 (System.Single)
L_0134: ldarg.0
L_0135: ldsfld Verse.ThingDef Fire
L_013a: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_013f: stloc.s 18 (Verse.Thing)
L_0141: ldloc.s 18 (Verse.Thing)
L_0143: brfalse Label11
L_0148: ldloc.s 18 (Verse.Thing)
L_014a: castclass RimWorld.Fire
L_014f: callvirt Single CurrentSize()
L_0154: stloc.s 17 (System.Single)
L_0156: Label11
L_0156: ldarg.0
L_0157: ldarg.1
L_0158: ldc.i4.0
L_0159: call Void TryGiveThoughts(Verse.Pawn, Nullable`1,
PawnDiedOrDownedThoughtsKind)
L_015e: call ProgramState get_ProgramState()
L_0163: ldc.i4.2
L_0164: bne.un Label12
L_0169: call RimWorld.Storyteller get_Storyteller()
L_016e: ldarg.0
L_016f: ldc.i4.1
L_0170: ldloca.s 19 (System.Nullable`1[Verse.DamageInfo])
L_0172: initobj System.Nullable`1[Verse.DamageInfo]
L_0178: ldloc.s 19 (System.Nullable`1[Verse.DamageInfo])
L_017a: callvirt Void Notify_PawnEvent(Verse.Pawn, AdaptationEvent, Nullable`1)
L_017f: Label12
L_017f: ldarg.0
L_0180: call Boolean get_IsColonist()
L_0185: brfalse Label13
L_018a: call RimWorld.StoryWatcher get_StoryWatcher()
L_018f: ldfld RimWorld.StatsRecord statsRecord
L_0194: callvirt Void Notify_ColonistKilled()
L_0199: Label13
L_0199: ldloc.3
L_019a: brfalse Label14
L_019f: ldarga.s 1
L_01a1: call Boolean get_HasValue()
L_01a6: brfalse Label15
L_01ab: ldarga.s 1
L_01ad: call DamageInfo get_Value()
L_01b2: stloc.s 20 (Verse.DamageInfo)
L_01b4: ldloca.s 20 (Verse.DamageInfo)
L_01b6: call Verse.DamageDef get_Def()
L_01bb: ldarg.0
L_01bc: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_01c1: brfalse Label16
L_01c6: ldarg.0
L_01c7: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01cc: brtrue Label17
L_01d1: ldnull
L_01d2: ldftn Verse.SoundDef <Kill>m__8(Verse.LifeStageAge)
L_01d8: newobj Void .ctor(Object, IntPtr)
L_01dd: stsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e2: Label17
L_01e2: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e7: ldc.r4 1
L_01ec: call Void PlayNearestLifestageSound(Verse.Pawn,
System.Func`2[Verse.LifeStageAge,Verse.SoundDef], Single)
L_01f1: Label14
L_01f1: Label15
L_01f1: Label16
L_01f1: ldarga.s 1
L_01f3: call Boolean get_HasValue()
L_01f8: brfalse Label18
L_01fd: ldarga.s 1
L_01ff: call DamageInfo get_Value()
L_0204: stloc.s 21 (Verse.DamageInfo)
L_0206: ldloca.s 21 (Verse.DamageInfo)
L_0208: call Verse.Thing get_Instigator()
L_020d: brfalse Label19
L_0212: ldarga.s 1
L_0214: call DamageInfo get_Value()
L_0219: stloc.s 23 (Verse.DamageInfo)
L_021b: ldloca.s 23 (Verse.DamageInfo)
L_021d: call Verse.Thing get_Instigator()
L_0222: isinst Verse.Pawn
L_0227: stloc.s 22 (Verse.Pawn)
L_0229: ldloc.s 22 (Verse.Pawn)
L_022b: brfalse Label20
L_0230: ldarg.0
L_0231: ldloc.s 22 (Verse.Pawn)
L_0233: call Void Notify_PawnKilled(Verse.Pawn, Verse.Pawn)
L_0238: ldarg.0
L_0239: call Boolean get_IsColonist()
L_023e: brfalse Label21
L_0243: ldloc.s 22 (Verse.Pawn)
L_0245: ldfld RimWorld.Pawn_RecordsTracker records
L_024a: ldsfld RimWorld.StoryEventDef KilledPlayer
L_024f: callvirt Void AccumulateStoryEvent(RimWorld.StoryEventDef)
L_0254: Label18
L_0254: Label19
L_0254: Label20
L_0254: Label21
L_0254: ldarg.0
L_0255: ldarg.1
L_0256: call Void Notify_PawnDied(Verse.Pawn, Nullable`1)
L_025b: ldloc.3
L_025c: brfalse Label22
L_0261: call Verse.BattleLog get_BattleLog()
L_0266: ldarg.0
L_0267: ldarg.0
L_0268: call Verse.RaceProperties get_RaceProps()
L_026d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0272: callvirt Verse.RulePackDef get_DeathRules()
L_0277: ldarga.s 1
L_0279: call Boolean get_HasValue()
L_027e: brfalse Label23
L_0283: ldarga.s 1
L_0285: call DamageInfo get_Value()
L_028a: stloc.s 24 (Verse.DamageInfo)
L_028c: ldloca.s 24 (Verse.DamageInfo)
L_028e: call Verse.Thing get_Instigator()
L_0293: isinst Verse.Pawn
L_0298: br Label24
L_029d: Label23
L_029d: ldnull
L_029e: Label24
L_029e: ldarg.2
L_029f: ldarga.s 1
L_02a1: call Boolean get_HasValue()
L_02a6: brfalse Label25
L_02ab: ldarga.s 1
L_02ad: call DamageInfo get_Value()
L_02b2: stloc.s 25 (Verse.DamageInfo)
L_02b4: ldloca.s 25 (Verse.DamageInfo)
L_02b6: call Verse.BodyPartRecord get_HitPart()
L_02bb: br Label26
L_02c0: Label25
L_02c0: ldnull
L_02c1: Label26
L_02c1: newobj Void .ctor(Thing, RulePackDef, Pawn, Hediff, BodyPartRecord)
L_02c6: callvirt Void Add(Verse.LogEntry)
L_02cb: Label22
L_02cb: ldarg.0
L_02cc: ldfld Verse.Pawn_HealthTracker health
L_02d1: ldfld RimWorld.BillStack surgeryBills
L_02d6: callvirt Void Clear()
L_02db: ldarg.0
L_02dc: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02e1: brfalse Label27
L_02e6: ldarg.0
L_02e7: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02ec: ldarg.1
L_02ed: callvirt Void Notify_PawnKilled(Nullable`1)
L_02f2: Label27
L_02f2: ldarg.0
L_02f3: call Verse.RaceProperties get_RaceProps()
L_02f8: callvirt Boolean get_IsFlesh()
L_02fd: brfalse Label28
L_0302: ldarg.0
L_0303: ldfld RimWorld.Pawn_RelationsTracker relations
L_0308: ldarg.1
L_0309: ldloc.1
L_030a: callvirt Void Notify_PawnKilled(Nullable`1, Verse.Map)
L_030f: Label28
L_030f: ldarg.0
L_0310: ldfld RimWorld.Pawn_MeleeVerbs meleeVerbs
L_0315: callvirt Void Notify_PawnKilled()
L_031a: ldarg.0
L_031b: call IThingHolder get_ParentHolder()
L_0320: isinst Verse.Pawn_CarryTracker
L_0325: stloc.s 26 (Verse.Pawn_CarryTracker)
L_0327: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0329: brfalse Label29
L_032e: ldarg.0
L_032f: ldfld Verse.ThingOwner holdingOwner
L_0334: ldarg.0
L_0335: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0337: ldfld Verse.Pawn pawn
L_033c: callvirt IntVec3 get_Position()
L_0341: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0343: ldfld Verse.Pawn pawn
L_0348: callvirt Verse.Map get_Map()
L_034d: ldc.i4.1
L_034e: ldloca.s 27 (Verse.Thing)
L_0350: ldnull
L_0351: ldnull
L_0352: callvirt Boolean TryDrop(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
Verse.Thing ByRef, System.Action`2[Verse.Thing,System.Int32],
System.Predicate`1[Verse.IntVec3])
L_0357: brfalse Label30
L_035c: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_035e: ldfld Verse.Pawn pawn
L_0363: callvirt Verse.Map get_Map()
L_0368: stloc.1
L_0369: ldc.i4.1
L_036a: stloc.3
L_036b: Label29
L_036b: Label30
L_036b: ldarg.0
L_036c: ldfld Verse.Pawn_HealthTracker health
L_0371: callvirt Void SetDead()
L_0376: ldarg.0
L_0377: ldfld Verse.Pawn_HealthTracker health
L_037c: ldfld Verse.Effecter deflectionEffecter
L_0381: brfalse Label31
L_0386: ldarg.0
L_0387: ldfld Verse.Pawn_HealthTracker health
L_038c: ldfld Verse.Effecter deflectionEffecter
L_0391: callvirt Void Cleanup()
L_0396: ldarg.0
L_0397: ldfld Verse.Pawn_HealthTracker health
L_039c: ldnull
L_039d: stfld Verse.Effecter deflectionEffecter
L_03a2: Label31
L_03a2: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03a4: brfalse Label32
L_03a9: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03ab: ldarg.0
L_03ac: callvirt Void Notify_MemberDied(Verse.Pawn)
L_03b1: Label32
L_03b1: ldarg.0
L_03b2: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_03b7: stloc.s 28 (Verse.AI.Group.Lord)
L_03b9: ldloc.s 28 (Verse.AI.Group.Lord)
L_03bb: brfalse Label33
L_03c0: ldloc.s 28 (Verse.AI.Group.Lord)
L_03c2: ldarg.0
L_03c3: ldc.i4.2
L_03c4: ldarg.1
L_03c5: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_03ca: Label33
L_03ca: ldloc.3
L_03cb: brfalse Label34
L_03d0: ldarg.0
L_03d1: ldc.i4.0
L_03d2: call Void DropAndForbidEverything(Boolean)
L_03d7: Label34
L_03d7: ldloc.3
L_03d8: brfalse Label35
L_03dd: ldarg.0
L_03de: ldc.i4.0
L_03df: callvirt Void DeSpawn(DestroyMode)
L_03e4: Label35
L_03e4: ldnull
L_03e5: stloc.s 29 (Verse.Corpse)
L_03e7: ldarg.0
L_03e8: call Boolean IsBeingGenerated(Verse.Pawn)
L_03ed: brtrue Label36
L_03f2: ldloc.s 12 (System.Boolean)
L_03f4: brfalse Label37
L_03f9: ldarg.0
L_03fa: ldloc.s 7 (RimWorld.Building_Grave)
L_03fc: ldloc.s 8 (System.Boolean)
L_03fe: ldloc.s 9 (System.Single)
L_0400: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0405: stloc.s 29 (Verse.Corpse)
L_0407: ldloc.s 11 (Verse.ThingOwner)
L_0409: ldloc.s 29 (Verse.Corpse)
L_040b: ldc.i4.1
L_040c: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0411: brtrue Label38
L_0416: ldloc.s 29 (Verse.Corpse)
L_0418: ldc.i4.0
L_0419: callvirt Void Destroy(DestroyMode)
L_041e: ldnull
L_041f: stloc.s 29 (Verse.Corpse)
L_0421: Label38
L_0421: br Label39
L_0426: Label37
L_0426: ldloc.s 4 (System.Boolean)
L_0428: brfalse Label40
L_042d: ldarg.0
L_042e: ldfld Verse.ThingOwner holdingOwner
L_0433: brfalse Label41
L_0438: ldarg.0
L_0439: ldfld Verse.ThingOwner holdingOwner
L_043e: ldarg.0
L_043f: callvirt Boolean Remove(Verse.Thing)
L_0444: pop
L_0445: Label41
L_0445: ldarg.0
L_0446: ldloc.s 7 (RimWorld.Building_Grave)
L_0448: ldloc.s 8 (System.Boolean)
L_044a: ldloc.s 9 (System.Single)
L_044c: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0451: stloc.s 29 (Verse.Corpse)
L_0453: ldloc.s 29 (Verse.Corpse)
L_0455: ldloc.0
L_0456: ldloc.2
L_0457: ldc.i4.0
L_0458: ldnull
L_0459: ldnull
L_045a: call Boolean TryPlaceThing(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
System.Action`2[Verse.Thing,System.Int32], System.Predicate`1[Verse.IntVec3])
L_045f: brfalse Label42
L_0464: ldloc.s 29 (Verse.Corpse)
L_0466: ldarg.0
L_0467: call Rot4 get_Rotation()
L_046c: callvirt Void set_Rotation(Rot4)
L_0471: ldarg.0
L_0472: ldarg.1
L_0473: call Boolean WasKilledByHunter(Verse.Pawn, Nullable`1)
L_0478: brfalse Label43
L_047d: ldarga.s 1
L_047f: call DamageInfo get_Value()
L_0484: stloc.s 30 (Verse.DamageInfo)
L_0486: ldloca.s 30 (Verse.DamageInfo)
L_0488: call Verse.Thing get_Instigator()
L_048d: castclass Verse.Pawn
L_0492: ldloc.s 29 (Verse.Corpse)
L_0494: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0499: ldarga.s 1
L_049b: call DamageInfo get_Value()
L_04a0: stloc.s 31 (Verse.DamageInfo)
L_04a2: ldloca.s 31 (Verse.DamageInfo)
L_04a4: call Verse.Thing get_Instigator()
L_04a9: castclass Verse.Pawn
L_04ae: callvirt Verse.AI.Job get_CurJob()
L_04b3: ldc.i4.1
L_04b4: ldc.i4.m1
L_04b5: ldnull
L_04b6: ldc.i4.1
L_04b7: call Boolean Reserve(Verse.Pawn, LocalTargetInfo, Verse.AI.Job, Int32,
Int32, Verse.ReservationLayerDef, Boolean)
L_04bc: pop
L_04bd: br Label44
L_04c2: Label43
L_04c2: ldloc.s 13 (System.Boolean)
L_04c4: brtrue Label45
L_04c9: ldloc.s 14 (System.Boolean)
L_04cb: brtrue Label46
L_04d0: ldloc.s 29 (Verse.Corpse)
L_04d2: call Void SetForbiddenIfOutsideHomeArea(Verse.Thing)
L_04d7: Label44
L_04d7: Label45
L_04d7: Label46
L_04d7: ldloc.s 17 (System.Single)
L_04d9: ldc.r4 0
L_04de: ble.un Label47
L_04e3: ldloc.s 29 (Verse.Corpse)
L_04e5: callvirt IntVec3 get_Position()
L_04ea: ldloc.s 29 (Verse.Corpse)
L_04ec: callvirt Verse.Map get_Map()
L_04f1: ldloc.s 17 (System.Single)
L_04f3: call Boolean TryStartFireIn(IntVec3, Verse.Map, Single)
L_04f8: pop
L_04f9: Label47
L_04f9: br Label48
L_04fe: Label42
L_04fe: ldloc.s 29 (Verse.Corpse)
L_0500: ldc.i4.0
L_0501: callvirt Void Destroy(DestroyMode)
L_0506: ldnull
L_0507: stloc.s 29 (Verse.Corpse)
L_0509: Label48
L_0509: br Label49
L_050e: Label40
L_050e: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0510: brfalse Label50
L_0515: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0517: callvirt Boolean get_Spawned()
L_051c: brfalse Label51
L_0521: ldarg.0
L_0522: ldloc.s 7 (RimWorld.Building_Grave)
L_0524: ldloc.s 8 (System.Boolean)
L_0526: ldloc.s 9 (System.Single)
L_0528: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_052d: stloc.s 29 (Verse.Corpse)
L_052f: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0531: ldloc.s 29 (Verse.Corpse)
L_0533: ldc.i4.1
L_0534: callvirt Void AddPawnOrItem(Verse.Thing, Boolean)
L_0539: br Label52
L_053e: Label50
L_053e: Label51
L_053e: ldarg.0
L_053f: ldfld Verse.ThingOwner holdingOwner
L_0544: brtrue Label53
L_0549: ldarg.0
L_054a: call Boolean IsWorldPawn(Verse.Pawn)
L_054f: brfalse Label54
L_0554: Label53
L_0554: ldarg.0
L_0555: call Void PostCorpseDestroy(Verse.Pawn)
L_055a: br Label55
L_055f: Label54
L_055f: ldarg.0
L_0560: ldloc.s 7 (RimWorld.Building_Grave)
L_0562: ldloc.s 8 (System.Boolean)
L_0564: ldloc.s 9 (System.Single)
L_0566: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_056b: stloc.s 29 (Verse.Corpse)
L_056d: Label36
L_056d: Label39
L_056d: Label49
L_056d: Label52
L_056d: Label55
L_056d: ldloc.s 29 (Verse.Corpse)
L_056f: brfalse Label56
L_0574: ldarg.0
L_0575: ldfld Verse.Pawn_HealthTracker health
L_057a: ldfld Verse.HediffSet hediffSet
L_057f: ldsfld Verse.HediffDef ToxicBuildup
L_0584: ldc.i4.0
L_0585: callvirt Verse.Hediff GetFirstHediffOfDef(Verse.HediffDef, Boolean)
L_058a: stloc.s 32 (Verse.Hediff)
L_058c: ldloc.s 29 (Verse.Corpse)
L_058e: callvirt RimWorld.CompRottable GetComp[CompRottable]()
L_0593: stloc.s 33 (RimWorld.CompRottable)
L_0595: ldloc.s 32 (Verse.Hediff)
L_0597: brfalse Label57
L_059c: call Single get_Value()
L_05a1: ldloc.s 32 (Verse.Hediff)
L_05a3: callvirt Single get_Severity()
L_05a8: bge.un Label58
L_05ad: ldloc.s 33 (RimWorld.CompRottable)
L_05af: brfalse Label59
L_05b4: ldloc.s 33 (RimWorld.CompRottable)
L_05b6: callvirt Void RotImmediately()
L_05bb: Label56
L_05bb: Label57
L_05bb: Label58
L_05bb: Label59
L_05bb: ldarg.0
L_05bc: call Boolean get_Destroyed()
L_05c1: brtrue Label60
L_05c6: ldarg.0
L_05c7: ldc.i4.2
L_05c8: callvirt Void Destroy(DestroyMode)
L_05cd: Label60
L_05cd: ldarg.0
L_05ce: call Void RemoveComponentsOnKilled(Verse.Pawn)
L_05d3: ldarg.0
L_05d4: ldfld Verse.Pawn_HealthTracker health
L_05d9: ldfld Verse.HediffSet hediffSet
L_05de: callvirt Void DirtyCache()
L_05e3: ldarg.0
L_05e4: call Void SetDirty(Verse.Pawn)
L_05e9: ldc.i4.0
L_05ea: stloc.s 34 (System.Int32)
L_05ec: br Label61
L_05f1: Label62
L_05f1: ldarg.0
L_05f2: ldfld Verse.Pawn_HealthTracker health
L_05f7: ldfld Verse.HediffSet hediffSet
L_05fc: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0601: ldloc.s 34 (System.Int32)
L_0603: callvirt Verse.Hediff get_Item(Int32)
L_0608: callvirt Void Notify_PawnDied()
L_060d: ldloc.s 34 (System.Int32)
L_060f: ldc.i4.1
L_0610: add
L_0611: stloc.s 34 (System.Int32)
L_0613: Label61
L_0613: ldloc.s 34 (System.Int32)
L_0615: ldarg.0
L_0616: ldfld Verse.Pawn_HealthTracker health
L_061b: ldfld Verse.HediffSet hediffSet
L_0620: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0625: callvirt Int32 get_Count()
L_062a: blt Label62
L_062f: ldarg.0
L_0630: call RimWorld.Faction get_Faction()
L_0635: brfalse Label63
L_063a: ldarg.0
L_063b: call RimWorld.Faction get_Faction()
L_0640: ldarg.0
L_0641: ldarg.1
L_0642: ldloc.s 5 (System.Boolean)
L_0644: ldloc.2
L_0645: callvirt Void Notify_MemberDied(Verse.Pawn, Nullable`1, Boolean, Verse.Map)
L_064a: Label63
L_064a: ldloc.s 29 (Verse.Corpse)
L_064c: brfalse Label64
L_0651: ldarg.0
L_0652: call Verse.RaceProperties get_RaceProps()
L_0657: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_065c: brfalse Label65
L_0661: ldloc.3
L_0662: brfalse Label66
L_0667: ldarg.0
L_0668: call Verse.RaceProperties get_RaceProps()
L_066d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0672: ldloc.s 29 (Verse.Corpse)
L_0674: callvirt Void PawnDied(Verse.Corpse)
L_0679: Label65
L_0679: Label66
L_0679: call RimWorld.Scenario get_Scenario()
L_067e: brfalse Label67
L_0683: call RimWorld.Scenario get_Scenario()
L_0688: ldloc.s 29 (Verse.Corpse)
L_068a: callvirt Void Notify_PawnDied(Verse.Corpse)
L_068f: Label64
L_068f: Label67
L_068f: ldarg.0
L_0690: call RimWorld.Faction get_Faction()
L_0695: brfalse Label68
L_069a: ldarg.0
L_069b: call RimWorld.Faction get_Faction()
L_06a0: callvirt Boolean get_IsPlayer()
L_06a5: brfalse Label69
L_06aa: ldarg.0
L_06ab: call Void Notify_ColonistUnavailable(Verse.Pawn)
L_06b0: Label68
L_06b0: Label69
L_06b0: ldloc.s 4 (System.Boolean)
L_06b2: brfalse Label70
L_06b7: ldarg.0
L_06b8: ldloc.2
L_06b9: call Void Notify_PawnLostForTutor(Verse.Pawn, Verse.Map)
L_06be: Label70
L_06be: ldarg.0
L_06bf: call RimWorld.Faction get_Faction()
L_06c4: brfalse Label71
L_06c9: ldarg.0
L_06ca: call RimWorld.Faction get_Faction()
L_06cf: callvirt Boolean get_IsPlayer()
L_06d4: brfalse Label72
L_06d9: call ProgramState get_ProgramState()
L_06de: ldc.i4.2
L_06df: bne.un Label73
L_06e4: call RimWorld.ColonistBar get_ColonistBar()
L_06e9: callvirt Void MarkColonistsDirty()
L_06ee: Label71
L_06ee: Label72
L_06ee: Label73
L_06ee: ldloc.s 15 (System.Boolean)
L_06f0: brfalse Label74
L_06f5: ldarg.0
L_06f6: ldfld Verse.Pawn_HealthTracker health
L_06fb: ldarg.1
L_06fc: ldarg.2
L_06fd: ldloc.s 6 (RimWorld.Planet.Caravan)
L_06ff: callvirt Void NotifyPlayerOfKilled(Nullable`1, Verse.Hediff,
RimWorld.Planet.Caravan)
L_0704: Label74
L_0704: ldarg.0
L_0705: call Void Postfix(Verse.Pawn)
L_070a: ldarga 0
L_0710: call Void Postfix(Verse.Pawn ByRef)
L_0715: ret
DONE

### Patch RimWorld.Targeter, Void TargeterUpdate()


L_0000: Local var 0: Verse.LocalTargetInfo
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Single
L_0000: Local var 3: Verse.ShootLine
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: ldarg.0
L_0001: ldfld Verse.Verb targetingVerb
L_0006: brfalse Label1
L_000b: ldarg.0
L_000c: ldfld Verse.Verb targetingVerb
L_0011: ldfld Verse.VerbProperties verbProps
L_0016: ldarg.0
L_0017: ldfld Verse.Verb targetingVerb
L_001c: ldfld Verse.Thing caster
L_0021: callvirt IntVec3 get_Position()
L_0026: callvirt Void DrawRadiusRing(IntVec3)
L_002b: ldarg.0
L_002c: ldc.i4.1
L_002d: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_0032: stloc.0
L_0033: ldloca.s 0 (Verse.LocalTargetInfo)
L_0035: call Boolean get_IsValid()
L_003a: brfalse Label2
L_003f: ldloc.0
L_0040: call Void DrawTargetHighlight(LocalTargetInfo)
L_0045: ldarg.0
L_0046: ldfld Verse.Verb targetingVerb
L_004b: ldloca.s 1 (System.Boolean)
L_004d: callvirt Single HighlightFieldRadiusAroundTarget(Boolean ByRef)
L_0052: stloc.2
L_0053: ldloc.2
L_0054: ldc.r4 0.2
L_0059: ble.un Label3
L_005e: ldarg.0
L_005f: ldfld Verse.Verb targetingVerb
L_0064: ldarg.0
L_0065: ldfld Verse.Verb targetingVerb
L_006a: ldfld Verse.Thing caster
L_006f: callvirt IntVec3 get_Position()
L_0074: ldloc.0
L_0075: ldloca.s 3 (Verse.ShootLine)
L_0077: callvirt Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_007c: brfalse Label4
L_0081: ldloc.1
L_0082: brfalse Label5
L_0087: ldloca.s 3 (Verse.ShootLine)
L_0089: call IntVec3 get_Dest()
L_008e: ldloc.2
L_008f: call Void RenderPredictedAreaOfEffect(IntVec3, Single)
L_0094: br Label6
L_0099: Label5
L_0099: ldloca.s 3 (Verse.ShootLine)
L_009b: call IntVec3 get_Dest()
L_00a0: ldloc.2
L_00a1: ldc.i4.1
L_00a2: call IEnumerable`1 RadialCellsAround(IntVec3, Single, Boolean)
L_00a7: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00ac: brtrue Label7
L_00b1: ldnull
L_00b2: ldftn Boolean <TargeterUpdate>m__0(IntVec3)
L_00b8: newobj Void .ctor(Object, IntPtr)
L_00bd: stsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c2: Label7
L_00c2: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c7: call IEnumerable`1 Where[IntVec3](IEnumerable`1,
System.Func`2[Verse.IntVec3,System.Boolean])
L_00cc: call System.Collections.Generic.List`1[Verse.IntVec3] ToList[IntVec3]
(IEnumerable`1)
L_00d1: call Void DrawFieldEdges(System.Collections.Generic.List`1[Verse.IntVec3])
L_00d6: Label1
L_00d6: Label2
L_00d6: Label3
L_00d6: Label4
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Action`1[Verse.LocalTargetInfo] action
L_00dc: brfalse Label8
L_00e1: ldarg.0
L_00e2: ldc.i4.0
L_00e3: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_00e8: stloc.s 4 (Verse.LocalTargetInfo)
L_00ea: ldloca.s 4 (Verse.LocalTargetInfo)
L_00ec: call Boolean get_IsValid()
L_00f1: brfalse Label9
L_00f6: ldloc.s 4 (Verse.LocalTargetInfo)
L_00f8: call Void DrawTargetHighlight(LocalTargetInfo)
L_00fd: Label8
L_00fd: Label9
L_00fd: ldarg.0
L_00fe: call Void TargeterUpdate_PostFix(RimWorld.Targeter)
L_0103: ldarga 0
L_0109: call Void Postfix(RimWorld.Targeter ByRef)
L_010e: ret
DONE

### Patch Verse.Verb, Boolean CanHitTargetFrom(IntVec3, LocalTargetInfo)


L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.ShootLine
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarga.s 2
L_0008: call Verse.Thing get_Thing()
L_000d: brfalse Label1
L_0012: ldarga.s 2
L_0014: call Verse.Thing get_Thing()
L_0019: ldarg.0
L_001a: ldfld Verse.Thing caster
L_001f: bne.un Label2
L_0024: ldarg.0
L_0025: ldfld Verse.VerbProperties verbProps
L_002a: ldfld RimWorld.TargetingParameters targetParams
L_002f: ldfld System.Boolean canTargetSelf
L_0034: br Label8
L_0039: Label1
L_0039: Label2
L_0039: ldarg.0
L_003a: call Boolean get_CasterIsPawn()
L_003f: brfalse Label3
L_0044: ldarg.0
L_0045: call Verse.Pawn get_CasterPawn()
L_004a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_004f: brfalse Label4
L_0054: ldarg.0
L_0055: call Verse.Pawn get_CasterPawn()
L_005a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_005f: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0064: stloc.0
L_0065: ldc.i4.0
L_0066: stloc.1
L_0067: br Label5
L_006c: Label7
L_006c: ldloc.0
L_006d: ldloc.1
L_006e: callvirt RimWorld.Apparel get_Item(Int32)
L_0073: ldarg.1
L_0074: ldarg.0
L_0075: ldfld Verse.Thing caster
L_007a: callvirt Verse.Map get_Map()
L_007f: ldarg.2
L_0080: ldarg.0
L_0081: callvirt Boolean AllowVerbCast(IntVec3, Verse.Map, LocalTargetInfo,
Verse.Verb)
L_0086: brtrue Label6
L_008b: ldc.i4.0
L_008c: br Label9
L_0091: Label6
L_0091: ldloc.1
L_0092: ldc.i4.1
L_0093: add
L_0094: stloc.1
L_0095: Label5
L_0095: ldloc.1
L_0096: ldloc.0
L_0097: callvirt Int32 get_Count()
L_009c: blt Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldarg.0
L_00a2: ldarg.1
L_00a3: ldarg.2
L_00a4: ldloca.s 2 (Verse.ShootLine)
L_00a6: call Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_00ab: Label8
L_00ab: Label9
L_00ab: stloc 3 (System.Boolean)
L_00ac: ldarga 0
L_00b2: ldloca 3 (System.Boolean)
L_00b4: ldarg 1
L_00ba: ldarg 2
L_00c0: call Void Postfix(Verse.Verb ByRef, Boolean ByRef, IntVec3,
LocalTargetInfo)
L_00c5: ldloc 3 (System.Boolean)
L_00c6: ret
DONE

### Patch Verse.Pawn_RotationTracker, Void RotationTrackerTick()


L_0000: ldarg.0
L_0001: call Boolean VehicleRotatorTick(Verse.Pawn_RotationTracker)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void UpdateRotation()
L_0011: Label0
L_0011: ret
DONE

### Patch Verse.DamageWorker_AddInjury, Single FinalizeAndAddInjury(Verse.Pawn,


Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult)
L_0000: Local var 0: Verse.HediffComp_GetsPermanent
L_0000: Local var 1: System.Single
L_0000: Local var 2: System.Single
L_0000: ldc.r4 0
L_0005: stloc 2 (System.Single)
L_0006: ldarg.2
L_0007: call Verse.HediffComp_GetsPermanent TryGetComp[HediffComp_GetsPermanent]
(Verse.Hediff)
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldloc.0
L_0014: callvirt Void PreFinalizeInjury()
L_0019: Label1
L_0019: ldarg.1
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldarg.2
L_0020: ldnull
L_0021: ldarg.3
L_0022: newobj Void .ctor(DamageInfo)
L_0027: ldarg.s 4
L_0029: callvirt Void AddHediff(Verse.Hediff, Verse.BodyPartRecord, Nullable`1,
Verse.DamageWorker+DamageResult)
L_002e: ldarg.2
L_002f: callvirt Single get_Severity()
L_0034: ldarg.1
L_0035: ldfld Verse.Pawn_HealthTracker health
L_003a: ldfld Verse.HediffSet hediffSet
L_003f: ldarg.2
L_0040: callvirt Verse.BodyPartRecord get_Part()
L_0045: callvirt Single GetPartHealth(Verse.BodyPartRecord)
L_004a: call Single Min(Single, Single)
L_004f: stloc.1
L_0050: ldarg.s 4
L_0052: dup
L_0053: ldfld System.Single totalDamageDealt
L_0058: ldloc.1
L_0059: add
L_005a: stfld System.Single totalDamageDealt
L_005f: ldarg.s 4
L_0061: ldc.i4.1
L_0062: stfld System.Boolean wounded
L_0067: ldarg.s 4
L_0069: ldarg.1
L_006a: ldarg.2
L_006b: callvirt Verse.BodyPartRecord get_Part()
L_0070: callvirt Void AddPart(Verse.Thing, Verse.BodyPartRecord)
L_0075: ldarg.s 4
L_0077: ldarg.2
L_0078: callvirt Void AddHediff(Verse.Hediff)
L_007d: ldloc.1
L_007e: stloc 2 (System.Single)
L_007f: ldarg.0
L_0080: ldarg 1
L_0086: ldarg 2
L_008c: ldarg 3
L_0092: ldarga 4
L_0098: ldloca 2 (System.Single)
L_009a: call Void TryInjureVehicleOccupants(Verse.DamageWorker_AddInjury,
Verse.Pawn, Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult ByRef,
Single ByRef)
L_009f: ldloc 2 (System.Single)
L_00a0: ret
DONE

### Patch Verse.HealthUtility, System.String GetGeneralConditionLabel(Verse.Pawn,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Hediff_Injury
L_0000: Local var 3: System.String
L_0000: ldnull
L_0001: stloc 3 (System.String)
L_0002: ldloca 3 (System.String)
L_0004: ldarg 0
L_000a: ldarg 1
L_0010: call Boolean ReplaceConditionLabel(System.String ByRef, Verse.Pawn,
Boolean)
L_0015: brfalse Label0
L_001a: ldarg.0
L_001b: ldfld Verse.Pawn_HealthTracker health
L_0020: callvirt Boolean get_Dead()
L_0025: brfalse Label1
L_002a: ldstr "Dead"
L_002f: call System.String Translate(System.String)
L_0034: br Label15
L_0039: Label1
L_0039: ldarg.0
L_003a: ldfld Verse.Pawn_HealthTracker health
L_003f: ldfld Verse.PawnCapacitiesHandler capacities
L_0044: callvirt Boolean get_CanBeAwake()
L_0049: brtrue Label2
L_004e: ldstr "Unconscious"
L_0053: call System.String Translate(System.String)
L_0058: br Label16
L_005d: Label2
L_005d: ldarg.0
L_005e: ldfld Verse.Pawn_HealthTracker health
L_0063: callvirt Boolean get_InPainShock()
L_0068: brfalse Label3
L_006d: ldarg.1
L_006e: brfalse Label4
L_0073: ldstr "PainShockShort"
L_0078: call Boolean CanTranslate(System.String)
L_007d: brfalse Label5
L_0082: ldstr "PainShockShort"
L_0087: call System.String Translate(System.String)
L_008c: br Label6
L_0091: Label4
L_0091: Label5
L_0091: ldstr "PainShock"
L_0096: call System.String Translate(System.String)
L_009b: Label6
L_009b: br Label17
L_00a0: Label3
L_00a0: ldarg.0
L_00a1: callvirt Boolean get_Downed()
L_00a6: brfalse Label7
L_00ab: ldstr "Incapacitated"
L_00b0: call System.String Translate(System.String)
L_00b5: br Label18
L_00ba: Label7
L_00ba: ldc.i4.0
L_00bb: stloc.0
L_00bc: ldc.i4.0
L_00bd: stloc.1
L_00be: br Label8
L_00c3: Label12
L_00c3: ldarg.0
L_00c4: ldfld Verse.Pawn_HealthTracker health
L_00c9: ldfld Verse.HediffSet hediffSet
L_00ce: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_00d3: ldloc.1
L_00d4: callvirt Verse.Hediff get_Item(Int32)
L_00d9: isinst Verse.Hediff_Injury
L_00de: stloc.2
L_00df: ldloc.2
L_00e0: brtrue Label9
L_00e5: br Label10
L_00ea: Label9
L_00ea: ldloc.2
L_00eb: call Boolean IsPermanent(Verse.Hediff)
L_00f0: brtrue Label11
L_00f5: ldc.i4.1
L_00f6: stloc.0
L_00f7: Label10
L_00f7: Label11
L_00f7: ldloc.1
L_00f8: ldc.i4.1
L_00f9: add
L_00fa: stloc.1
L_00fb: Label8
L_00fb: ldloc.1
L_00fc: ldarg.0
L_00fd: ldfld Verse.Pawn_HealthTracker health
L_0102: ldfld Verse.HediffSet hediffSet
L_0107: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_010c: callvirt Int32 get_Count()
L_0111: blt Label12
L_0116: ldloc.0
L_0117: brfalse Label13
L_011c: ldstr "Injured"
L_0121: call System.String Translate(System.String)
L_0126: br Label19
L_012b: Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_HealthTracker health
L_0131: ldfld Verse.HediffSet hediffSet
L_0136: callvirt Single get_PainTotal()
L_013b: ldc.r4 0.3
L_0140: ble.un Label14
L_0145: ldstr "InPain"
L_014a: call System.String Translate(System.String)
L_014f: br Label20
L_0154: Label14
L_0154: ldstr "Healthy"
L_0159: call System.String Translate(System.String)
L_015e: Label15
L_015e: Label16
L_015e: Label17
L_015e: Label18
L_015e: Label19
L_015e: Label20
L_015e: stloc 3 (System.String)
L_015f: Label0
L_015f: ldloc 3 (System.String)
L_0160: ret
DONE

### Patch Verse.MapPawns, Int32 get_FreeColonistsSpawnedCount()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldarg.0
L_0007: call IEnumerable`1 get_FreeColonistsSpawned()
L_000c: call Int32 Count[Pawn](IEnumerable`1)
L_0011: stloc 0 (System.Int32)
L_0012: ldarg.0
L_0013: ldloca 0 (System.Int32)
L_0015: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_001a: ldloc 0 (System.Int32)
L_001b: ret
DONE

### Patch Verse.MapPawns, Int32


get_FreeColonistsSpawnedOrInPlayerEjectablePodsCount()
L_0000: Local var 0: System.Int32
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.Building_CryptosleepCasket
L_0000: Local var 5: Verse.IThingHolder
L_0000: Local var 6: System.Int32
L_0000: Local var 7: Verse.Pawn
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldc.i4.0
L_0008: stloc.0
L_0009: ldc.i4.0
L_000a: stloc.1
L_000b: br Label1
L_0010: Label3
L_0010: ldarg.0
L_0011: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0016: ldloc.1
L_0017: callvirt Verse.Pawn get_Item(Int32)
L_001c: callvirt Boolean get_IsFreeColonist()
L_0021: brfalse Label2
L_0026: ldloc.0
L_0027: ldc.i4.1
L_0028: add
L_0029: stloc.0
L_002a: Label2
L_002a: ldloc.1
L_002b: ldc.i4.1
L_002c: add
L_002d: stloc.1
L_002e: Label1
L_002e: ldloc.1
L_002f: ldarg.0
L_0030: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0035: callvirt Int32 get_Count()
L_003a: blt Label3
L_003f: ldarg.0
L_0040: ldfld Verse.Map map
L_0045: ldfld Verse.ListerThings listerThings
L_004a: ldc.i4.s 30
L_004c: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsInGroup(ThingRequestGroup)
L_0051: stloc.2
L_0052: ldc.i4.0
L_0053: stloc.3
L_0054: br Label4
L_0059: Label15
L_0059: ldloc.2
L_005a: ldloc.3
L_005b: callvirt Verse.Thing get_Item(Int32)
L_0060: isinst RimWorld.Building_CryptosleepCasket
L_0065: stloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0067: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0069: brfalse Label5
L_006e: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0070: ldfld Verse.ThingDef def
L_0075: ldfld RimWorld.BuildingProperties building
L_007a: ldfld System.Boolean isPlayerEjectable
L_007f: brtrue Label6
L_0084: Label5
L_0084: ldloc.2
L_0085: ldloc.3
L_0086: callvirt Verse.Thing get_Item(Int32)
L_008b: isinst RimWorld.IActiveDropPod
L_0090: brtrue Label7
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: callvirt Verse.Thing get_Item(Int32)
L_009c: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00a1: brfalse Label8
L_00a6: Label6
L_00a6: Label7
L_00a6: ldloc.2
L_00a7: ldloc.3
L_00a8: callvirt Verse.Thing get_Item(Int32)
L_00ad: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00b2: dup
L_00b3: brtrue Label9
L_00b8: pop
L_00b9: ldloc.2
L_00ba: ldloc.3
L_00bb: callvirt Verse.Thing get_Item(Int32)
L_00c0: castclass Verse.IThingHolder
L_00c5: Label9
L_00c5: stloc.s 5 (Verse.IThingHolder)
L_00c7: ldarg.0
L_00c8: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00cd: callvirt Void Clear()
L_00d2: ldloc.s 5 (Verse.IThingHolder)
L_00d4: ldarg.0
L_00d5: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00da: ldc.i4.1
L_00db: ldnull
L_00dc: call Void GetAllThingsRecursively(IThingHolder,
System.Collections.Generic.List`1[Verse.Thing], Boolean,
System.Predicate`1[Verse.IThingHolder])
L_00e1: ldc.i4.0
L_00e2: stloc.s 6 (System.Int32)
L_00e4: br Label10
L_00e9: Label14
L_00e9: ldarg.0
L_00ea: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00ef: ldloc.s 6 (System.Int32)
L_00f1: callvirt Verse.Thing get_Item(Int32)
L_00f6: isinst Verse.Pawn
L_00fb: stloc.s 7 (Verse.Pawn)
L_00fd: ldloc.s 7 (Verse.Pawn)
L_00ff: brfalse Label11
L_0104: ldloc.s 7 (Verse.Pawn)
L_0106: callvirt Boolean get_Dead()
L_010b: brtrue Label12
L_0110: ldloc.s 7 (Verse.Pawn)
L_0112: callvirt Boolean get_IsFreeColonist()
L_0117: brfalse Label13
L_011c: ldloc.0
L_011d: ldc.i4.1
L_011e: add
L_011f: stloc.0
L_0120: Label11
L_0120: Label12
L_0120: Label13
L_0120: ldloc.s 6 (System.Int32)
L_0122: ldc.i4.1
L_0123: add
L_0124: stloc.s 6 (System.Int32)
L_0126: Label10
L_0126: ldloc.s 6 (System.Int32)
L_0128: ldarg.0
L_0129: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_012e: callvirt Int32 get_Count()
L_0133: blt Label14
L_0138: Label8
L_0138: ldloc.3
L_0139: ldc.i4.1
L_013a: add
L_013b: stloc.3
L_013c: Label4
L_013c: ldloc.3
L_013d: ldloc.2
L_013e: callvirt Int32 get_Count()
L_0143: blt Label15
L_0148: ldarg.0
L_0149: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_014e: callvirt Void Clear()
L_0153: ldloc.0
L_0154: stloc 8 (System.Int32)
L_0156: ldarg.0
L_0157: ldloca 8 (System.Int32)
L_0159: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_015e: ldloc 8 (System.Int32)
L_0160: ret
DONE

### Patch Verse.Pawn_HealthTracker, Boolean ShouldBeDowned()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean VehicleShouldBeDowned(Verse.Pawn_HealthTracker, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean get_InPainShock()
L_0019: brtrue Label1
L_001e: ldarg.0
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: callvirt Boolean get_CanBeAwake()
L_0029: brfalse Label2
L_002e: ldarg.0
L_002f: ldfld Verse.PawnCapacitiesHandler capacities
L_0034: ldsfld Verse.PawnCapacityDef Moving
L_0039: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_003e: ldc.i4.0
L_003f: ceq
L_0041: br Label3
L_0046: Label1
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: stloc 0 (System.Boolean)
L_0048: Label0
L_0048: ldloc 0 (System.Boolean)
L_0049: ret
DONE

### Patch Verse.PawnDownedWiggler, Void WigglerTick()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: call Boolean VehicleShouldWiggle(Verse.PawnDownedWiggler)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld Verse.Pawn pawn
L_0011: callvirt Boolean get_Downed()
L_0016: brfalse Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: callvirt Boolean get_Spawned()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: ldfld Verse.Pawn pawn
L_0031: call Boolean InBed(Verse.Pawn)
L_0036: brtrue Label3
L_003b: ldarg.0
L_003c: dup
L_003d: ldfld System.Int32 ticksToIncapIcon
L_0042: ldc.i4.1
L_0043: sub
L_0044: stfld System.Int32 ticksToIncapIcon
L_0049: ldarg.0
L_004a: ldfld System.Int32 ticksToIncapIcon
L_004f: ldc.i4.0
L_0050: bgt Label4
L_0055: ldarg.0
L_0056: ldfld Verse.Pawn pawn
L_005b: callvirt IntVec3 get_Position()
L_0060: ldarg.0
L_0061: ldfld Verse.Pawn pawn
L_0066: callvirt Verse.Map get_Map()
L_006b: ldsfld Verse.ThingDef Mote_IncapIcon
L_0070: call Verse.Mote ThrowMetaIcon(IntVec3, Verse.Map, Verse.ThingDef)
L_0075: pop
L_0076: ldarg.0
L_0077: ldc.i4 200
L_007c: stfld System.Int32 ticksToIncapIcon
L_0081: Label4
L_0081: ldarg.0
L_0082: ldfld Verse.Pawn pawn
L_0087: call Boolean Awake(Verse.Pawn)
L_008c: brfalse Label5
L_0091: call Verse.TickManager get_TickManager()
L_0096: callvirt Int32 get_TicksGame()
L_009b: ldc.i4 300
L_00a0: rem
L_00a1: ldc.i4.2
L_00a2: mul
L_00a3: stloc.0
L_00a4: ldloc.0
L_00a5: ldc.i4.s 90
L_00a7: bge Label6
L_00ac: ldarg.0
L_00ad: dup
L_00ae: ldfld System.Single downedAngle
L_00b3: ldc.r4 0.35
L_00b8: add
L_00b9: stfld System.Single downedAngle
L_00be: br Label7
L_00c3: Label6
L_00c3: ldloc.0
L_00c4: ldc.i4 390
L_00c9: bge Label8
L_00ce: ldloc.0
L_00cf: ldc.i4 300
L_00d4: blt Label9
L_00d9: ldarg.0
L_00da: dup
L_00db: ldfld System.Single downedAngle
L_00e0: ldc.r4 0.35
L_00e5: sub
L_00e6: stfld System.Single downedAngle
L_00eb: Label1
L_00eb: Label2
L_00eb: Label3
L_00eb: Label5
L_00eb: Label7
L_00eb: Label8
L_00eb: Label9
L_00eb: Label0
L_00eb: ret
DONE

### Patch Verse.VerbTracker, IEnumerable`1 GetVerbsCommands(KeyCode)


L_0000: Local var 0: Verse.VerbTracker+<GetVerbsCommands>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Command,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0002: ldarg.0
L_0003: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0005: ldarg 1
L_000b: call Boolean GetVerbsCommands_PreFix(Verse.VerbTracker, IEnumerable`1
ByRef, KeyCode)
L_0010: brfalse Label0
L_0015: newobj Void .ctor()
L_001a: stloc.0
L_001b: ldloc.0
L_001c: ldarg.0
L_001d: stfld Verse.VerbTracker $this
L_0022: ldloc.0
L_0023: dup
L_0024: ldc.i4.s -2
L_0026: stfld System.Int32 $PC
L_002b: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002c: Label0
L_002c: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002d: ret
DONE

### Patch RimWorld.PawnUtility, Boolean


IsTravelingInTransportPodWorldObject(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean IsWorldPawn(Verse.Pawn)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean AnyParentIs[ActiveDropPodInfo](Verse.Thing)
L_0017: br Label2
L_001c: Label1
L_001c: ldc.i4.0
L_001d: Label2
L_001d: stloc 0 (System.Boolean)
L_001e: ldloca 0 (System.Boolean)
L_0020: ldarg 0
L_0026: call Void PreventAssigningRandomFaction(Boolean ByRef, Verse.Pawn)
L_002b: ldloc 0 (System.Boolean)
L_002c: ret
DONE

### Patch RimWorld.SocialCardUtility, Void Recache(Verse.Pawn)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: Local var 5: System.Int32
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: RimWorld.SocialCardUtility+CachedSocialTabEntry
L_0000: Local var 9: System.Int32
L_0000: ldarg 0
L_0006: call Boolean SocialTabNullHandling(Verse.Pawn)
L_000b: brfalse Label0
L_0010: ldarg.0
L_0011: stsfld Verse.Pawn cachedForPawn
L_0016: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_001b: callvirt Void Clear()
L_0020: ldarg.0
L_0021: ldfld RimWorld.Pawn_RelationsTracker relations
L_0026: callvirt IEnumerable`1 get_RelatedPawns()
L_002b: callvirt IEnumerator`1 GetEnumerator()
L_0030: stloc.1
.try
{
L_0031: br Label1
L_0036: Label4
L_0036: ldloc.1
L_0037: callvirt Verse.Pawn get_Current()
L_003c: stloc.0
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_0044: brtrue Label2
L_0049: leave Label3
L_004e: Label2
L_004e: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0053: ldloc.0
L_0054: callvirt Boolean Add(Verse.Pawn)
L_0059: pop
L_005a: Label1
L_005a: Label3
L_005a: ldloc.1
L_005b: callvirt Boolean MoveNext()
L_0060: brtrue Label4
L_0065: leave Label5
L_006a: leave (autogenerated)
} // end try
.finally
{
L_006f: ldloc.1
L_0070: brfalse Label6
L_0075: ldloc.1
L_0076: callvirt Void Dispose()
L_007b: Label6
L_007b: endfinally
L_007c: leave (autogenerated)
} // end handler
L_007d: Label5
L_007d: ldnull
L_007e: stloc.2
L_007f: ldarg.0
L_0080: callvirt Verse.Map get_MapHeld()
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: callvirt Verse.Map get_MapHeld()
L_0090: ldfld Verse.MapPawns mapPawns
L_0095: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_009a: stloc.2
L_009b: br Label8
L_00a0: Label7
L_00a0: ldarg.0
L_00a1: call Boolean IsCaravanMember(Verse.Pawn)
L_00a6: brfalse Label9
L_00ab: ldarg.0
L_00ac: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_00b1: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_00b6: stloc.2
L_00b7: Label8
L_00b7: Label9
L_00b7: ldloc.2
L_00b8: brfalse Label10
L_00bd: ldc.i4.0
L_00be: stloc.3
L_00bf: br Label11
L_00c4: Label20
L_00c4: ldloc.2
L_00c5: ldloc.3
L_00c6: callvirt Verse.Pawn get_Item(Int32)
L_00cb: stloc.s 4 (Verse.Pawn)
L_00cd: ldloc.s 4 (Verse.Pawn)
L_00cf: callvirt Verse.RaceProperties get_RaceProps()
L_00d4: callvirt Boolean get_Humanlike()
L_00d9: brfalse Label12
L_00de: ldloc.s 4 (Verse.Pawn)
L_00e0: ldarg.0
L_00e1: beq Label13
L_00e6: ldloc.s 4 (Verse.Pawn)
L_00e8: ldarg.0
L_00e9: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_00ee: brfalse Label14
L_00f3: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_00f8: ldloc.s 4 (Verse.Pawn)
L_00fa: callvirt Boolean Contains(Verse.Pawn)
L_00ff: brfalse Label15
L_0104: Label12
L_0104: Label13
L_0104: Label14
L_0104: br Label16
L_0109: Label15
L_0109: ldarg.0
L_010a: ldfld RimWorld.Pawn_RelationsTracker relations
L_010f: ldloc.s 4 (Verse.Pawn)
L_0111: callvirt Int32 OpinionOf(Verse.Pawn)
L_0116: brtrue Label17
L_011b: ldloc.s 4 (Verse.Pawn)
L_011d: ldfld RimWorld.Pawn_RelationsTracker relations
L_0122: ldarg.0
L_0123: callvirt Int32 OpinionOf(Verse.Pawn)
L_0128: brtrue Label18
L_012d: br Label19
L_0132: Label17
L_0132: Label18
L_0132: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0137: ldloc.s 4 (Verse.Pawn)
L_0139: callvirt Boolean Add(Verse.Pawn)
L_013e: pop
L_013f: Label16
L_013f: Label19
L_013f: ldloc.3
L_0140: ldc.i4.1
L_0141: add
L_0142: stloc.3
L_0143: Label11
L_0143: ldloc.3
L_0144: ldloc.2
L_0145: callvirt Int32 get_Count()
L_014a: blt Label20
L_014f: Label10
L_014f: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0154: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0159: brtrue Label21
L_015e: ldnull
L_015f: ldftn Boolean
<Recache>m__0(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0165: newobj Void .ctor(Object, IntPtr)
L_016a: stsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_016f: Label21
L_016f: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0174: callvirt Int32
RemoveAll(System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry])
L_0179: pop
L_017a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_017f: callvirt Void Clear()
L_0184: ldc.i4.0
L_0185: stloc.s 5 (System.Int32)
L_0187: br Label22
L_018c: Label23
L_018c: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0191: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0196: ldloc.s 5 (System.Int32)
L_0198: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_019d: ldfld Verse.Pawn otherPawn
L_01a2: callvirt Boolean Add(Verse.Pawn)
L_01a7: pop
L_01a8: ldloc.s 5 (System.Int32)
L_01aa: ldc.i4.1
L_01ab: add
L_01ac: stloc.s 5 (System.Int32)
L_01ae: Label22
L_01ae: ldloc.s 5 (System.Int32)
L_01b0: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_01b5: callvirt Int32 get_Count()
L_01ba: blt Label23
L_01bf: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_01c4: callvirt Enumerator GetEnumerator()
L_01c9: stloc.s 7 (System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
.try
{
L_01cb: br Label24
L_01d0: Label27
L_01d0: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_01d2: call Verse.Pawn get_Current()
L_01d7: stloc.s 6 (Verse.Pawn)
L_01d9: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_01de: ldloc.s 6 (Verse.Pawn)
L_01e0: callvirt Boolean Contains(Verse.Pawn)
L_01e5: brfalse Label25
L_01ea: leave Label26
L_01ef: Label25
L_01ef: newobj Void .ctor()
L_01f4: stloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f6: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f8: ldloc.s 6 (Verse.Pawn)
L_01fa: stfld Verse.Pawn otherPawn
L_01ff: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0204: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0206: callvirt Void Add(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_020b: Label24
L_020b: Label26
L_020b: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_020d: call Boolean MoveNext()
L_0212: brtrue Label27
L_0217: leave Label28
L_021c: leave (autogenerated)
} // end try
.finally
{
L_0221: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_0223: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn]
L_0229: callvirt Void Dispose()
L_022e: endfinally
L_022f: leave (autogenerated)
} // end handler
L_0230: Label28
L_0230: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0235: callvirt Void Clear()
L_023a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_023f: callvirt Void Clear()
L_0244: ldc.i4.0
L_0245: stloc.s 9 (System.Int32)
L_0247: br Label29
L_024c: Label30
L_024c: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0251: ldloc.s 9 (System.Int32)
L_0253: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_0258: ldarg.0
L_0259: call Void RecacheEntry(RimWorld.SocialCardUtility+CachedSocialTabEntry,
Verse.Pawn)
L_025e: ldloc.s 9 (System.Int32)
L_0260: ldc.i4.1
L_0261: add
L_0262: stloc.s 9 (System.Int32)
L_0264: Label29
L_0264: ldloc.s 9 (System.Int32)
L_0266: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_026b: callvirt Int32 get_Count()
L_0270: blt Label30
L_0275: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_027a: ldsfld RimWorld.SocialCardUtility+CachedSocialTabEntryComparer
CachedEntriesComparer
L_027f: callvirt Void Sort(IComparer`1)
L_0284: Label0
L_0284: ret
DONE

### Patch Verse.Pawn, Boolean get_IsColonistPlayerControlled()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean get_Spawned()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean get_IsColonist()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: call Verse.MentalStateDef get_MentalStateDef()
L_0022: brtrue Label3
L_0027: ldarg.0
L_0028: call RimWorld.Faction get_HostFaction()
L_002d: ldnull
L_002e: ceq
L_0030: br Label4
L_0035: Label1
L_0035: Label2
L_0035: Label3
L_0035: ldc.i4.0
L_0036: Label4
L_0036: stloc 0 (System.Boolean)
L_0037: ldarg.0
L_0038: ldloca 0 (System.Boolean)
L_003a: call Void IncludeVehiclesInIsColonistPlayerControlled(Verse.Pawn, Boolean
ByRef)
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.Pawn, Boolean CurrentlyUsableForBills()


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InBed(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldsfld System.String NotSurgeryReadyTrans
L_0016: ldnull
L_0017: call Void Is(System.String, System.String)
L_001c: ldc.i4.0
L_001d: br Label3
L_0022: Label1
L_0022: ldarg.0
L_0023: callvirt IntVec3 get_InteractionCell()
L_0028: stloc.0
L_0029: ldloca.s 0 (Verse.IntVec3)
L_002b: call Boolean get_IsValid()
L_0030: brtrue Label2
L_0035: ldsfld System.String CannotReachTrans
L_003a: ldnull
L_003b: call Void Is(System.String, System.String)
L_0040: ldc.i4.0
L_0041: br Label4
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: Label4
L_0047: stloc 1 (System.Boolean)
L_0048: ldarg.0
L_0049: ldloca 1 (System.Boolean)
L_004b: call Void CantUseMovingVehicles(Verse.Pawn, Boolean ByRef)
L_0050: ldloc 1 (System.Boolean)
L_0051: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ret
DONE

### Patch Verse.Verb_Shoot, Boolean TryCastShot()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 1 (System.Boolean)
L_0009: call Boolean CanVehicleShoot(Verse.Verb_Shoot, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean TryCastShot()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: brfalse Label1
L_0020: ldarg.0
L_0021: call Boolean get_CasterIsPawn()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: call Verse.Pawn get_CasterPawn()
L_0031: ldfld RimWorld.Pawn_RecordsTracker records
L_0036: ldsfld RimWorld.RecordDef ShotsFired
L_003b: callvirt Void Increment(RimWorld.RecordDef)
L_0040: Label1
L_0040: Label2
L_0040: ldloc.0
L_0041: stloc 1 (System.Boolean)
L_0042: Label0
L_0042: ldloc 1 (System.Boolean)
L_0043: ret
DONE

### Patch RimWorld.GameEnder, Boolean


IsPlayerControlledWithFreeColonist(RimWorld.Planet.Caravan)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsPlayerControlled()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label6
L_0017: Label1
L_0017: ldarg.1
L_0018: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_001d: stloc.0
L_001e: ldc.i4.0
L_001f: stloc.1
L_0020: br Label2
L_0025: Label5
L_0025: ldloc.0
L_0026: ldloc.1
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stloc.2
L_002d: ldloc.2
L_002e: callvirt Boolean get_IsColonist()
L_0033: brfalse Label3
L_0038: ldloc.2
L_0039: callvirt RimWorld.Faction get_HostFaction()
L_003e: brtrue Label4
L_0043: ldc.i4.1
L_0044: br Label7
L_0049: Label3
L_0049: Label4
L_0049: ldloc.1
L_004a: ldc.i4.1
L_004b: add
L_004c: stloc.1
L_004d: Label2
L_004d: ldloc.1
L_004e: ldloc.0
L_004f: callvirt Int32 get_Count()
L_0054: blt Label5
L_0059: ldc.i4.0
L_005a: Label6
L_005a: Label7
L_005a: stloc 3 (System.Boolean)
L_005b: ldarg 1
L_0061: ldloca 3 (System.Boolean)
L_0063: call Void CanEndGame(RimWorld.Planet.Caravan, Boolean ByRef)
L_0068: ldloc 3 (System.Boolean)
L_0069: ret
DONE

### Patch RimWorld.RestUtility, RimWorld.Building_Bed FindBedFor(Verse.Pawn,


Verse.Pawn, Boolean, Boolean, Boolean)
L_0000: Local var 0: RimWorld.RestUtility+<FindBedFor>c__AnonStorey0
L_0000: Local var 1: RimWorld.Building_Bed
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: Verse.Pawn
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.ThingDef
L_0000: Local var 9: System.Int32
L_0000: Local var 10: RimWorld.RestUtility+<FindBedFor>c__AnonStorey1
L_0000: Local var 11: RimWorld.Building_Bed
L_0000: Local var 12: RimWorld.DirectPawnRelation
L_0000: Local var 13: RimWorld.Building_Bed
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.RestUtility+<FindBedFor>c__AnonStorey2
L_0000: Local var 16: System.Int32
L_0000: Local var 17: Verse.ThingDef
L_0000: Local var 18: RimWorld.Building_Bed
L_0000: Local var 19: RimWorld.Building_Bed
L_0000: ldnull
L_0001: stloc 19 (RimWorld.Building_Bed)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: stfld Verse.Pawn sleeper
L_0010: ldloc.0
L_0011: ldarg.1
L_0012: stfld Verse.Pawn traveler
L_0017: ldloc.0
L_0018: ldarg.2
L_0019: stfld System.Boolean sleeperWillBePrisoner
L_001e: ldloc.0
L_001f: ldarg.3
L_0020: stfld System.Boolean checkSocialProperness
L_0025: ldloc.0
L_0026: ldarg.s 4
L_0028: stfld System.Boolean ignoreOtherReservations
L_002d: ldloc.0
L_002e: ldfld Verse.Pawn sleeper
L_0033: call Boolean ShouldSeekMedicalRest(Verse.Pawn)
L_0038: brfalse Label1
L_003d: ldloc.0
L_003e: ldfld Verse.Pawn sleeper
L_0043: call Boolean InBed(Verse.Pawn)
L_0048: brfalse Label2
L_004d: ldloc.0
L_004e: ldfld Verse.Pawn sleeper
L_0053: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_0058: callvirt Boolean get_Medical()
L_005d: brfalse Label3
L_0062: ldloc.0
L_0063: ldfld Verse.Pawn sleeper
L_0068: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006d: stloc.1
L_006e: ldloc.0
L_006f: ldfld Verse.Pawn sleeper
L_0074: stloc.2
L_0075: ldloc.0
L_0076: ldfld Verse.Pawn traveler
L_007b: stloc.3
L_007c: ldloc.0
L_007d: ldfld System.Boolean sleeperWillBePrisoner
L_0082: stloc.s 4 (System.Boolean)
L_0084: ldloc.0
L_0085: ldfld System.Boolean checkSocialProperness
L_008a: stloc.s 5 (System.Boolean)
L_008c: ldloc.0
L_008d: ldfld System.Boolean ignoreOtherReservations
L_0092: stloc.s 6 (System.Boolean)
L_0094: ldloc.1
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: ldloc.s 4 (System.Boolean)
L_0099: ldloc.s 5 (System.Boolean)
L_009b: ldc.i4.0
L_009c: ldloc.s 6 (System.Boolean)
L_009e: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_00a3: brfalse Label4
L_00a8: ldloc.0
L_00a9: ldfld Verse.Pawn sleeper
L_00ae: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_00b3: br Label29
L_00b8: Label2
L_00b8: Label3
L_00b8: Label4
L_00b8: ldc.i4.0
L_00b9: stloc.s 7 (System.Int32)
L_00bb: br Label5
L_00c0: Label13
L_00c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_00c5: ldloc.s 7 (System.Int32)
L_00c7: callvirt Verse.ThingDef get_Item(Int32)
L_00cc: stloc.s 8 (Verse.ThingDef)
L_00ce: ldloc.0
L_00cf: ldfld Verse.Pawn sleeper
L_00d4: ldloc.s 8 (Verse.ThingDef)
L_00d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_00db: brtrue Label6
L_00e0: br Label7
L_00e5: Label6
L_00e5: ldc.i4.0
L_00e6: stloc.s 9 (System.Int32)
L_00e8: br Label8
L_00ed: Label12
L_00ed: newobj Void .ctor()
L_00f2: stloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f4: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f6: ldloc.0
L_00f7: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_00fc: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00fe: ldloc.s 9 (System.Int32)
L_0100: brtrue Label9
L_0105: ldc.i4.1
L_0106: br Label10
L_010b: Label9
L_010b: ldc.i4.3
L_010c: Label10
L_010c: stfld Verse.Danger maxDanger
L_0111: ldloc.0
L_0112: ldfld Verse.Pawn sleeper
L_0117: callvirt IntVec3 get_Position()
L_011c: ldloc.0
L_011d: ldfld Verse.Pawn sleeper
L_0122: callvirt Verse.Map get_Map()
L_0127: ldloc.s 8 (Verse.ThingDef)
L_0129: call ThingRequest ForDef(Verse.ThingDef)
L_012e: ldc.i4.1
L_012f: ldloc.0
L_0130: ldfld Verse.Pawn traveler
L_0135: ldc.i4.3
L_0136: ldc.i4.0
L_0137: ldc.i4.0
L_0138: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_013d: ldc.r4 9999
L_0142: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_0144: ldftn Boolean <>m__0(Verse.Thing)
L_014a: newobj Void .ctor(Object, IntPtr)
L_014f: ldnull
L_0150: ldc.i4.0
L_0151: ldc.i4.m1
L_0152: ldc.i4.0
L_0153: ldc.i4.6
L_0154: ldc.i4.0
L_0155: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_015a: castclass RimWorld.Building_Bed
L_015f: stloc.s 11 (RimWorld.Building_Bed)
L_0161: ldloc.s 11 (RimWorld.Building_Bed)
L_0163: brfalse Label11
L_0168: ldloc.s 11 (RimWorld.Building_Bed)
L_016a: br Label30
L_016f: Label11
L_016f: ldloc.s 9 (System.Int32)
L_0171: ldc.i4.1
L_0172: add
L_0173: stloc.s 9 (System.Int32)
L_0175: Label8
L_0175: ldloc.s 9 (System.Int32)
L_0177: ldc.i4.2
L_0178: blt Label12
L_017d: Label7
L_017d: ldloc.s 7 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 7 (System.Int32)
L_0183: Label5
L_0183: ldloc.s 7 (System.Int32)
L_0185: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_018a: callvirt Int32 get_Count()
L_018f: blt Label13
L_0194: Label1
L_0194: ldloc.0
L_0195: ldfld Verse.Pawn sleeper
L_019a: ldfld RimWorld.Pawn_Ownership ownership
L_019f: brfalse Label14
L_01a4: ldloc.0
L_01a5: ldfld Verse.Pawn sleeper
L_01aa: ldfld RimWorld.Pawn_Ownership ownership
L_01af: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01b4: brfalse Label15
L_01b9: ldloc.0
L_01ba: ldfld Verse.Pawn sleeper
L_01bf: ldfld RimWorld.Pawn_Ownership ownership
L_01c4: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01c9: stloc.1
L_01ca: ldloc.0
L_01cb: ldfld Verse.Pawn sleeper
L_01d0: stloc.3
L_01d1: ldloc.0
L_01d2: ldfld Verse.Pawn traveler
L_01d7: stloc.2
L_01d8: ldloc.0
L_01d9: ldfld System.Boolean sleeperWillBePrisoner
L_01de: stloc.s 6 (System.Boolean)
L_01e0: ldloc.0
L_01e1: ldfld System.Boolean checkSocialProperness
L_01e6: stloc.s 5 (System.Boolean)
L_01e8: ldloc.0
L_01e9: ldfld System.Boolean ignoreOtherReservations
L_01ee: stloc.s 4 (System.Boolean)
L_01f0: ldloc.1
L_01f1: ldloc.3
L_01f2: ldloc.2
L_01f3: ldloc.s 6 (System.Boolean)
L_01f5: ldloc.s 5 (System.Boolean)
L_01f7: ldc.i4.0
L_01f8: ldloc.s 4 (System.Boolean)
L_01fa: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_01ff: brfalse Label16
L_0204: ldloc.0
L_0205: ldfld Verse.Pawn sleeper
L_020a: ldfld RimWorld.Pawn_Ownership ownership
L_020f: callvirt RimWorld.Building_Bed get_OwnedBed()
L_0214: br Label31
L_0219: Label14
L_0219: Label15
L_0219: Label16
L_0219: ldloc.0
L_021a: ldfld Verse.Pawn sleeper
L_021f: ldc.i4.0
L_0220: call RimWorld.DirectPawnRelation
ExistingMostLikedLovePartnerRel(Verse.Pawn, Boolean)
L_0225: stloc.s 12 (RimWorld.DirectPawnRelation)
L_0227: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0229: brfalse Label17
L_022e: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0230: ldfld Verse.Pawn otherPawn
L_0235: ldfld RimWorld.Pawn_Ownership ownership
L_023a: callvirt RimWorld.Building_Bed get_OwnedBed()
L_023f: stloc.s 13 (RimWorld.Building_Bed)
L_0241: ldloc.s 13 (RimWorld.Building_Bed)
L_0243: brfalse Label18
L_0248: ldloc.s 13 (RimWorld.Building_Bed)
L_024a: stloc.1
L_024b: ldloc.0
L_024c: ldfld Verse.Pawn sleeper
L_0251: stloc.2
L_0252: ldloc.0
L_0253: ldfld Verse.Pawn traveler
L_0258: stloc.3
L_0259: ldloc.0
L_025a: ldfld System.Boolean sleeperWillBePrisoner
L_025f: stloc.s 4 (System.Boolean)
L_0261: ldloc.0
L_0262: ldfld System.Boolean checkSocialProperness
L_0267: stloc.s 5 (System.Boolean)
L_0269: ldloc.0
L_026a: ldfld System.Boolean ignoreOtherReservations
L_026f: stloc.s 6 (System.Boolean)
L_0271: ldloc.1
L_0272: ldloc.2
L_0273: ldloc.3
L_0274: ldloc.s 4 (System.Boolean)
L_0276: ldloc.s 5 (System.Boolean)
L_0278: ldc.i4.0
L_0279: ldloc.s 6 (System.Boolean)
L_027b: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_0280: brfalse Label19
L_0285: ldloc.s 13 (RimWorld.Building_Bed)
L_0287: br Label32
L_028c: Label17
L_028c: Label18
L_028c: Label19
L_028c: ldc.i4.0
L_028d: stloc.s 14 (System.Int32)
L_028f: br Label20
L_0294: Label28
L_0294: newobj Void .ctor()
L_0299: stloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029b: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029d: ldloc.0
L_029e: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_02a3: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_02a5: ldloc.s 14 (System.Int32)
L_02a7: brtrue Label21
L_02ac: ldc.i4.1
L_02ad: br Label22
L_02b2: Label21
L_02b2: ldc.i4.3
L_02b3: Label22
L_02b3: stfld Verse.Danger maxDanger
L_02b8: ldc.i4.0
L_02b9: stloc.s 16 (System.Int32)
L_02bb: br Label23
L_02c0: Label27
L_02c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_02c5: ldloc.s 16 (System.Int32)
L_02c7: callvirt Verse.ThingDef get_Item(Int32)
L_02cc: stloc.s 17 (Verse.ThingDef)
L_02ce: ldloc.0
L_02cf: ldfld Verse.Pawn sleeper
L_02d4: ldloc.s 17 (Verse.ThingDef)
L_02d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_02db: brtrue Label24
L_02e0: br Label25
L_02e5: Label24
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn sleeper
L_02eb: callvirt IntVec3 get_Position()
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn sleeper
L_02f6: callvirt Verse.Map get_Map()
L_02fb: ldloc.s 17 (Verse.ThingDef)
L_02fd: call ThingRequest ForDef(Verse.ThingDef)
L_0302: ldc.i4.1
L_0303: ldloc.0
L_0304: ldfld Verse.Pawn traveler
L_0309: ldc.i4.3
L_030a: ldc.i4.0
L_030b: ldc.i4.0
L_030c: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0311: ldc.r4 9999
L_0316: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_0318: ldftn Boolean <>m__0(Verse.Thing)
L_031e: newobj Void .ctor(Object, IntPtr)
L_0323: ldnull
L_0324: ldc.i4.0
L_0325: ldc.i4.m1
L_0326: ldc.i4.0
L_0327: ldc.i4.6
L_0328: ldc.i4.0
L_0329: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_032e: castclass RimWorld.Building_Bed
L_0333: stloc.s 18 (RimWorld.Building_Bed)
L_0335: ldloc.s 18 (RimWorld.Building_Bed)
L_0337: brfalse Label26
L_033c: ldloc.s 18 (RimWorld.Building_Bed)
L_033e: br Label33
L_0343: Label25
L_0343: Label26
L_0343: ldloc.s 16 (System.Int32)
L_0345: ldc.i4.1
L_0346: add
L_0347: stloc.s 16 (System.Int32)
L_0349: Label23
L_0349: ldloc.s 16 (System.Int32)
L_034b: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_0350: callvirt Int32 get_Count()
L_0355: blt Label27
L_035a: ldloc.s 14 (System.Int32)
L_035c: ldc.i4.1
L_035d: add
L_035e: stloc.s 14 (System.Int32)
L_0360: Label20
L_0360: ldloc.s 14 (System.Int32)
L_0362: ldc.i4.2
L_0363: blt Label28
L_0368: ldnull
L_0369: Label29
L_0369: Label30
L_0369: Label31
L_0369: Label32
L_0369: Label33
L_0369: stloc 19 (RimWorld.Building_Bed)
L_036b: ldloca 19 (RimWorld.Building_Bed)
L_036d: ldarg 0
L_0373: call Void DontRescueVehicles(RimWorld.Building_Bed ByRef, Verse.Pawn)
L_0378: ldloc 19 (RimWorld.Building_Bed)
L_037a: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ret
DONE

### Patch RimWorld.BaseGen.SymbolResolver_RandomMechanoidGroup, Boolean


<Resolve>m__0(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: stloc 0 (System.Boolean)
L_0012: ldloca 0 (System.Boolean)
L_0014: ldarg 0
L_001a: call Void MechanoidsFixerAncient(Boolean ByRef, Verse.PawnKindDef)
L_001f: ldloc 0 (System.Boolean)
L_0020: ret
DONE

### Patch RimWorld.CompSpawnerMechanoidsOnDamaged, Boolean


<TrySpawnMechanoids>m__1(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: brfalse Label1
L_0016: ldarg.1
L_0017: ldfld System.Boolean isFighter
L_001c: brfalse Label2
L_0021: ldarg.1
L_0022: ldfld System.Single combatPower
L_0027: ldarg.0
L_0028: ldfld System.Single pointsLeft
L_002d: cgt.un
L_002f: ldc.i4.0
L_0030: ceq
L_0032: br Label3
L_0037: Label1
L_0037: Label2
L_0037: ldc.i4.0
L_0038: Label3
L_0038: stloc 0 (System.Boolean)
L_0039: ldloca 0 (System.Boolean)
L_003b: ldarg 1
L_0041: call Void MechanoidsFixer(Boolean ByRef, Verse.PawnKindDef)
L_0046: ldloc 0 (System.Boolean)
L_0047: ret
DONE

### Patch RimWorld.ThinkNode_ConditionalColonist, Boolean Satisfied(Verse.Pawn)


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsColonist()
L_000c: stloc 0 (System.Boolean)
L_000d: ldarg 1
L_0013: ldloca 0 (System.Boolean)
L_0015: call Void Satisfied_PostFix(Verse.Pawn, Boolean ByRef)
L_001a: ldloc 0 (System.Boolean)
L_001b: ret
DONE
### Patch RimWorld.JobGiver_Haul, Verse.AI.Job TryGiveJob(Verse.Pawn)
L_0000: Local var 0: RimWorld.JobGiver_Haul+<TryGiveJob>c__AnonStorey0
L_0000: Local var 1: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldarg 1
L_0008: ldloca 3 (Verse.AI.Job)
L_000a: call Boolean TryGiveJob_PreFix(Verse.Pawn, Verse.AI.Job ByRef)
L_000f: brfalse Label0
L_0014: newobj Void .ctor()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: ldarg.1
L_001c: stfld Verse.Pawn pawn
L_0021: ldloc.0
L_0022: ldftn Boolean <>m__0(Verse.Thing)
L_0028: newobj Void .ctor(Object, IntPtr)
L_002d: stloc.1
L_002e: ldloc.0
L_002f: ldfld Verse.Pawn pawn
L_0034: callvirt IntVec3 get_Position()
L_0039: ldloc.0
L_003a: ldfld Verse.Pawn pawn
L_003f: callvirt Verse.Map get_Map()
L_0044: ldloc.0
L_0045: ldfld Verse.Pawn pawn
L_004a: callvirt Verse.Map get_Map()
L_004f: ldfld RimWorld.ListerHaulables listerHaulables
L_0054: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsPotentiallyNeedingHauling()
L_0059: ldc.i4.1
L_005a: ldloc.0
L_005b: ldfld Verse.Pawn pawn
L_0060: ldc.i4.3
L_0061: ldc.i4.0
L_0062: ldc.i4.0
L_0063: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0068: ldc.r4 9999
L_006d: ldloc.1
L_006e: ldnull
L_006f: call Verse.Thing ClosestThing_Global_Reachable(IntVec3, Verse.Map,
IEnumerable`1, PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing],
System.Func`2[Verse.Thing,System.Single])
L_0074: stloc.2
L_0075: ldloc.2
L_0076: brfalse Label1
L_007b: ldloc.0
L_007c: ldfld Verse.Pawn pawn
L_0081: ldloc.2
L_0082: call Verse.AI.Job HaulToStorageJob(Verse.Pawn, Verse.Thing)
L_0087: br Label2
L_008c: Label1
L_008c: ldnull
L_008d: Label2
L_008d: stloc 3 (Verse.AI.Job)
L_008e: Label0
L_008e: ldloc 3 (Verse.AI.Job)
L_008f: ret
DONE

### Patch Verse.AI.JobGiver_Orders, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 0 (Verse.AI.Job)
L_0002: ldarg.1
L_0003: callvirt Boolean get_Drafted()
L_0008: brfalse Label1
L_000d: ldsfld Verse.JobDef Wait_Combat
L_0012: ldarg.1
L_0013: callvirt IntVec3 get_Position()
L_0018: call LocalTargetInfo op_Implicit(IntVec3)
L_001d: newobj Void .ctor(JobDef, LocalTargetInfo)
L_0022: br Label2
L_0027: Label1
L_0027: ldnull
L_0028: Label2
L_0028: stloc 0 (Verse.AI.Job)
L_0029: ldloca 0 (Verse.AI.Job)
L_002b: ldarg 1
L_0031: call Void PreventWaitAttackError(Verse.AI.Job ByRef, Verse.Pawn)
L_0036: ldloc 0 (Verse.AI.Job)
L_0037: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemDuties(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldc.i4.0
L_000c: stloc.0
L_000d: br Label1
L_0012: Label6
L_0012: ldarg.0
L_0013: ldfld Verse.AI.Group.Lord lord
L_0018: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_001d: ldloc.0
L_001e: callvirt Verse.Pawn get_Item(Int32)
L_0023: stloc.1
L_0024: ldloc.1
L_0025: callvirt Boolean get_IsColonist()
L_002a: brfalse Label2
L_002f: ldloc.1
L_0030: ldfld Verse.AI.Pawn_MindState mindState
L_0035: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherItems
L_003a: newobj Void .ctor(DutyDef)
L_003f: stfld Verse.AI.PawnDuty duty
L_0044: br Label3
L_0049: Label2
L_0049: ldloc.1
L_004a: callvirt Verse.RaceProperties get_RaceProps()
L_004f: callvirt Boolean get_Animal()
L_0054: brfalse Label4
L_0059: ldloc.1
L_005a: ldfld Verse.AI.Pawn_MindState mindState
L_005f: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0064: ldarg.0
L_0065: ldfld Verse.IntVec3 meetingPoint
L_006a: call LocalTargetInfo op_Implicit(IntVec3)
L_006f: ldc.r4 -1
L_0074: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_0079: stfld Verse.AI.PawnDuty duty
L_007e: br Label5
L_0083: Label4
L_0083: ldloc.1
L_0084: ldfld Verse.AI.Pawn_MindState mindState
L_0089: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_008e: newobj Void .ctor(DutyDef)
L_0093: stfld Verse.AI.PawnDuty duty
L_0098: Label3
L_0098: Label5
L_0098: ldloc.0
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.0
L_009c: Label1
L_009c: ldloc.0
L_009d: ldarg.0
L_009e: ldfld Verse.AI.Group.Lord lord
L_00a3: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_00a8: callvirt Int32 get_Count()
L_00ad: blt Label6
L_00b2: Label0
L_00b2: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherAnimals, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadAnimalDuties(RimWorld.LordToil_PrepareCaravan_GatherAnimals)
L_0006: ldc.i4.0
L_0007: stloc.0
L_0008: br Label1
L_000d: Label5
L_000d: ldarg.0
L_000e: ldfld Verse.AI.Group.Lord lord
L_0013: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0018: ldloc.0
L_0019: callvirt Verse.Pawn get_Item(Int32)
L_001e: stloc.1
L_001f: ldloc.1
L_0020: callvirt Boolean get_IsColonist()
L_0025: brtrue Label2
L_002a: ldloc.1
L_002b: callvirt Verse.RaceProperties get_RaceProps()
L_0030: callvirt Boolean get_Animal()
L_0035: brfalse Label3
L_003a: Label2
L_003a: ldloc.1
L_003b: ldfld Verse.AI.Pawn_MindState mindState
L_0040: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherPawns
L_0045: ldarg.0
L_0046: ldfld Verse.IntVec3 meetingPoint
L_004b: call LocalTargetInfo op_Implicit(IntVec3)
L_0050: ldc.r4 -1
L_0055: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_005a: stfld Verse.AI.PawnDuty duty
L_005f: ldloc.1
L_0060: ldfld Verse.AI.Pawn_MindState mindState
L_0065: ldfld Verse.AI.PawnDuty duty
L_006a: ldc.i4.1
L_006b: stfld RimWorld.PawnsToGather pawnsToGather
L_0070: br Label4
L_0075: Label3
L_0075: ldloc.1
L_0076: ldfld Verse.AI.Pawn_MindState mindState
L_007b: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0080: newobj Void .ctor(DutyDef)
L_0085: stfld Verse.AI.PawnDuty duty
L_008a: Label4
L_008a: ldloc.0
L_008b: ldc.i4.1
L_008c: add
L_008d: stloc.0
L_008e: Label1
L_008e: ldloc.0
L_008f: ldarg.0
L_0090: ldfld Verse.AI.Group.Lord lord
L_0095: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_009a: callvirt Int32 get_Count()
L_009f: blt Label5
L_00a4: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherSlaves, Void LordToilTick()


L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadSlaveDuties(RimWorld.LordToil_PrepareCaravan_GatherSlaves)
L_0006: call Verse.TickManager get_TickManager()
L_000b: callvirt Int32 get_TicksGame()
L_0010: ldc.i4.s 100
L_0012: rem
L_0013: brtrue Label1
L_0018: ldarg.0
L_0019: ldfld Verse.AI.Group.Lord lord
L_001e: ldarg.0
L_001f: ldfld Verse.IntVec3 meetingPoint
L_0024: ldstr "AllSlavesGathered"
L_0029: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_002e: brtrue Label2
L_0033: ldnull
L_0034: ldftn Boolean <LordToilTick>m__0(Verse.Pawn)
L_003a: newobj Void .ctor(Object, IntPtr)
L_003f: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0044: Label2
L_0044: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0049: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_004e: brtrue Label3
L_0053: ldnull
L_0054: ldftn Boolean IsFollowingAnyone(Verse.Pawn)
L_005a: newobj Void .ctor(Object, IntPtr)
L_005f: stsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0064: Label3
L_0064: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0069: call Void CheckArrived(Verse.AI.Group.Lord, IntVec3, System.String,
System.Predicate`1[Verse.Pawn], System.Predicate`1[Verse.Pawn])
L_006e: Label1
L_006e: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void LordToilTick()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemToil(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void LordToilTick()
L_0011: call Verse.TickManager get_TickManager()
L_0016: callvirt Int32 get_TicksGame()
L_001b: ldc.i4.s 120
L_001d: rem
L_001e: brtrue Label1
L_0023: ldc.i4.1
L_0024: stloc.0
L_0025: ldc.i4.0
L_0026: stloc.1
L_0027: br Label2
L_002c: Label6
L_002c: ldarg.0
L_002d: ldfld Verse.AI.Group.Lord lord
L_0032: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0037: ldloc.1
L_0038: callvirt Verse.Pawn get_Item(Int32)
L_003d: stloc.2
L_003e: ldloc.2
L_003f: callvirt Boolean get_IsColonist()
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldfld Verse.AI.Pawn_MindState mindState
L_004f: ldfld Verse.AI.JobTag lastJobTag
L_0054: ldc.i4.8
L_0055: beq Label4
L_005a: ldc.i4.0
L_005b: stloc.0
L_005c: br Label5
L_0061: Label3
L_0061: Label4
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label2
L_0065: ldloc.1
L_0066: ldarg.0
L_0067: ldfld Verse.AI.Group.Lord lord
L_006c: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0071: callvirt Int32 get_Count()
L_0076: blt Label6
L_007b: Label5
L_007b: ldloc.0
L_007c: brfalse Label7
L_0081: ldarg.0
L_0082: call Verse.Map get_Map()
L_0087: ldfld Verse.MapPawns mapPawns
L_008c: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_0091: stloc.3
L_0092: ldc.i4.0
L_0093: stloc.s 4 (System.Int32)
L_0095: br Label8
L_009a: Label13
L_009a: ldloc.3
L_009b: ldloc.s 4 (System.Int32)
L_009d: callvirt Verse.Pawn get_Item(Int32)
L_00a2: callvirt Verse.AI.Job get_CurJob()
L_00a7: brfalse Label9
L_00ac: ldloc.3
L_00ad: ldloc.s 4 (System.Int32)
L_00af: callvirt Verse.Pawn get_Item(Int32)
L_00b4: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b9: ldfld Verse.AI.JobDriver curDriver
L_00be: isinst RimWorld.JobDriver_PrepareCaravan_GatherItems
L_00c3: brfalse Label10
L_00c8: ldloc.3
L_00c9: ldloc.s 4 (System.Int32)
L_00cb: callvirt Verse.Pawn get_Item(Int32)
L_00d0: callvirt Verse.AI.Job get_CurJob()
L_00d5: ldfld Verse.AI.Group.Lord lord
L_00da: ldarg.0
L_00db: ldfld Verse.AI.Group.Lord lord
L_00e0: bne.un Label11
L_00e5: ldc.i4.0
L_00e6: stloc.0
L_00e7: br Label12
L_00ec: Label9
L_00ec: Label10
L_00ec: Label11
L_00ec: ldloc.s 4 (System.Int32)
L_00ee: ldc.i4.1
L_00ef: add
L_00f0: stloc.s 4 (System.Int32)
L_00f2: Label8
L_00f2: ldloc.s 4 (System.Int32)
L_00f4: ldloc.3
L_00f5: callvirt Int32 get_Count()
L_00fa: blt Label13
L_00ff: Label7
L_00ff: Label12
L_00ff: ldloc.0
L_0100: brfalse Label14
L_0105: ldarg.0
L_0106: ldfld Verse.AI.Group.Lord lord
L_010b: ldstr "AllItemsGathered"
L_0110: callvirt Void ReceiveMemo(System.String)
L_0115: Label1
L_0115: Label14
L_0115: Label0
L_0115: ret
DONE

### Patch RimWorld.Planet.Caravan_NeedsTracker, Void


TrySatisfyPawnNeeds(Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Need, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Need
L_0000: Local var 3: RimWorld.Need_Rest
L_0000: Local var 4: RimWorld.Need_Food
L_0000: Local var 5: RimWorld.Need_Chemical
L_0000: Local var 6: RimWorld.Need_Joy
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean TrySatisfyFuelNeeds(RimWorld.Planet.Caravan_NeedsTracker,
Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: callvirt Boolean get_Dead()
L_0017: brfalse Label1
L_001c: br Label11
L_0021: Label1
L_0021: ldarg.1
L_0022: ldfld RimWorld.Pawn_NeedsTracker needs
L_0027: callvirt System.Collections.Generic.List`1[RimWorld.Need] get_AllNeeds()
L_002c: stloc.0
L_002d: ldc.i4.0
L_002e: stloc.1
L_002f: br Label2
L_0034: Label10
L_0034: ldloc.0
L_0035: ldloc.1
L_0036: callvirt RimWorld.Need get_Item(Int32)
L_003b: stloc.2
L_003c: ldloc.2
L_003d: isinst RimWorld.Need_Rest
L_0042: stloc.3
L_0043: ldloc.2
L_0044: isinst RimWorld.Need_Food
L_0049: stloc.s 4 (RimWorld.Need_Food)
L_004b: ldloc.2
L_004c: isinst RimWorld.Need_Chemical
L_0051: stloc.s 5 (RimWorld.Need_Chemical)
L_0053: ldloc.2
L_0054: isinst RimWorld.Need_Joy
L_0059: stloc.s 6 (RimWorld.Need_Joy)
L_005b: ldloc.3
L_005c: brfalse Label3
L_0061: ldarg.0
L_0062: ldarg.1
L_0063: ldloc.3
L_0064: call Void TrySatisfyRestNeed(Verse.Pawn, RimWorld.Need_Rest)
L_0069: br Label4
L_006e: Label3
L_006e: ldloc.s 4 (RimWorld.Need_Food)
L_0070: brfalse Label5
L_0075: ldarg.0
L_0076: ldarg.1
L_0077: ldloc.s 4 (RimWorld.Need_Food)
L_0079: call Void TrySatisfyFoodNeed(Verse.Pawn, RimWorld.Need_Food)
L_007e: br Label6
L_0083: Label5
L_0083: ldloc.s 5 (RimWorld.Need_Chemical)
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: ldarg.1
L_008c: ldloc.s 5 (RimWorld.Need_Chemical)
L_008e: call Void TrySatisfyChemicalNeed(Verse.Pawn, RimWorld.Need_Chemical)
L_0093: br Label8
L_0098: Label7
L_0098: ldloc.s 6 (RimWorld.Need_Joy)
L_009a: brfalse Label9
L_009f: ldarg.0
L_00a0: ldarg.1
L_00a1: ldloc.s 6 (RimWorld.Need_Joy)
L_00a3: call Void TrySatisfyJoyNeed(Verse.Pawn, RimWorld.Need_Joy)
L_00a8: Label4
L_00a8: Label6
L_00a8: Label8
L_00a8: Label9
L_00a8: ldloc.1
L_00a9: ldc.i4.1
L_00aa: add
L_00ab: stloc.1
L_00ac: Label2
L_00ac: ldloc.1
L_00ad: ldloc.0
L_00ae: callvirt Int32 get_Count()
L_00b3: blt Label10
L_00b8: Label11
L_00b8: Label0
L_00b8: ret
DONE

### Patch RimWorld.JobGiver_PrepareCaravan_GatherItems, Verse.AI.Job


TryGiveJob(Verse.Pawn)
L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: Verse.AI.Job
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldloca 3 (Verse.AI.Job)
L_0004: ldarg 1
L_000a: call Boolean TryGiveItemJob_PreFix(Verse.AI.Job ByRef, Verse.Pawn)
L_000f: brfalse Label0
L_0014: ldarg.1
L_0015: ldfld Verse.Pawn_HealthTracker health
L_001a: ldfld Verse.PawnCapacitiesHandler capacities
L_001f: ldsfld Verse.PawnCapacityDef Manipulation
L_0024: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0029: brtrue Label1
L_002e: ldnull
L_002f: br Label3
L_0034: Label1
L_0034: ldarg.1
L_0035: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_003a: stloc.0
L_003b: ldarg.1
L_003c: ldloc.0
L_003d: call Verse.Thing FindThingToHaul(Verse.Pawn, Verse.AI.Group.Lord)
L_0042: stloc.1
L_0043: ldloc.1
L_0044: brtrue Label2
L_0049: ldnull
L_004a: br Label4
L_004f: Label2
L_004f: ldsfld Verse.JobDef PrepareCaravan_GatherItems
L_0054: ldloc.1
L_0055: call LocalTargetInfo op_Implicit(Verse.Thing)
L_005a: newobj Void .ctor(JobDef, LocalTargetInfo)
L_005f: stloc.2
L_0060: ldloc.2
L_0061: ldloc.0
L_0062: stfld Verse.AI.Group.Lord lord
L_0067: ldloc.2
L_0068: Label3
L_0068: Label4
L_0068: stloc 3 (Verse.AI.Job)
L_0069: Label0
L_0069: ldloc 3 (Verse.AI.Job)
L_006a: ret
DONE

### Patch RimWorld.Planet.Caravan, Void AddPawn(Verse.Pawn, Boolean)


L_0000: Local var 0: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: ldarg 2
L_000d: call Boolean AddVehiclePawnsToCaravan(RimWorld.Planet.Caravan, Verse.Pawn,
Boolean)
L_0012: brfalse Label0
L_0017: ldarg.1
L_0018: brtrue Label1
L_001d: ldstr "Tried to add a null pawn to "
L_0022: ldarg.0
L_0023: call System.String Concat(System.Object, System.Object)
L_0028: ldc.i4.0
L_0029: call Void Warning(System.String, Boolean)
L_002e: br Label11
L_0033: Label1
L_0033: ldarg.1
L_0034: callvirt Boolean get_Dead()
L_0039: brfalse Label2
L_003e: ldc.i4.5
L_003f: newarr System.Object
L_0044: dup
L_0045: ldc.i4.0
L_0046: ldstr "Tried to add "
L_004b: stelem.ref
L_004c: dup
L_004d: ldc.i4.1
L_004e: ldarg.1
L_004f: stelem.ref
L_0050: dup
L_0051: ldc.i4.2
L_0052: ldstr " to "
L_0057: stelem.ref
L_0058: dup
L_0059: ldc.i4.3
L_005a: ldarg.0
L_005b: stelem.ref
L_005c: dup
L_005d: ldc.i4.4
L_005e: ldstr ", but this pawn is dead."
L_0063: stelem.ref
L_0064: call System.String Concat(System.Object[])
L_0069: ldc.i4.0
L_006a: call Void Warning(System.String, Boolean)
L_006f: br Label12
L_0074: Label2
L_0074: ldarg.1
L_0075: ldfld Verse.Pawn_CarryTracker carryTracker
L_007a: callvirt Verse.Thing get_CarriedThing()
L_007f: isinst Verse.Pawn
L_0084: stloc.0
L_0085: ldloc.0
L_0086: brfalse Label3
L_008b: ldarg.1
L_008c: ldfld Verse.Pawn_CarryTracker carryTracker
L_0091: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_0096: ldloc.0
L_0097: callvirt Boolean Remove(Verse.Thing)
L_009c: pop
L_009d: Label3
L_009d: ldarg.1
L_009e: callvirt Boolean get_Spawned()
L_00a3: brfalse Label4
L_00a8: ldarg.1
L_00a9: ldc.i4.0
L_00aa: callvirt Void DeSpawn(DestroyMode)
L_00af: Label4
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00b5: ldarg.1
L_00b6: ldc.i4.1
L_00b7: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_00bc: brfalse Label5
L_00c1: ldarg.0
L_00c2: ldarg.1
L_00c3: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00c8: brfalse Label6
L_00cd: ldarg.1
L_00ce: ldfld RimWorld.Pawn_GuestTracker guest
L_00d3: ldarg.0
L_00d4: call RimWorld.Faction get_Faction()
L_00d9: ldnull
L_00da: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_00df: Label6
L_00df: ldloc.0
L_00e0: brfalse Label7
L_00e5: ldarg.0
L_00e6: ldloc.0
L_00e7: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00ec: brfalse Label8
L_00f1: ldloc.0
L_00f2: ldfld RimWorld.Pawn_GuestTracker guest
L_00f7: ldarg.0
L_00f8: call RimWorld.Faction get_Faction()
L_00fd: ldarg.1
L_00fe: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_0103: Label8
L_0103: ldarg.0
L_0104: ldloc.0
L_0105: ldarg.2
L_0106: call Void AddPawn(Verse.Pawn, Boolean)
L_010b: ldarg.2
L_010c: brfalse Label9
L_0111: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_0116: ldloc.0
L_0117: ldc.i4.0
L_0118: callvirt Void PassToWorld(Verse.Pawn, PawnDiscardDecideMode)
L_011d: Label7
L_011d: Label9
L_011d: br Label10
L_0122: Label5
L_0122: ldstr "Couldn't add pawn "
L_0127: ldarg.1
L_0128: ldstr " to caravan."
L_012d: call System.String Concat(System.Object, System.Object, System.Object)
L_0132: ldc.i4.0
L_0133: call Void Error(System.String, Boolean)
L_0138: Label10
L_0138: Label11
L_0138: Label12
L_0138: Label0
L_0138: ret
DONE

### Patch RimWorld.Planet.Dialog_SplitCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldarg 1
L_000d: ldloca 0 (System.Boolean)
L_000f: call Boolean
DontSplitCaravansWithVehicles(RimWorld.Planet.Dialog_SplitCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0014: brfalse Label0
L_0019: ldarg.1
L_001a: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_001f: brtrue Label1
L_0024: ldnull
L_0025: ldftn Boolean <CheckForErrors>m__4(Verse.Pawn)
L_002b: newobj Void .ctor(Object, IntPtr)
L_0030: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_0035: Label1
L_0035: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_003a: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_003f: brtrue Label2
L_0044: ldstr "CaravanMustHaveAtLeastOneColonist"
L_0049: call System.String Translate(System.String)
L_004e: ldarg.0
L_004f: ldfld RimWorld.Planet.Caravan caravan
L_0054: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_0059: ldsfld Verse.MessageTypeDef RejectInput
L_005e: ldc.i4.0
L_005f: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0064: ldc.i4.0
L_0065: br Label4
L_006a: Label2
L_006a: ldarg.0
L_006b: ldarg.1
L_006c: call Boolean
AnyNonDownedColonistLeftInSourceCaravan(System.Collections.Generic.List`1[Verse.Paw
n])
L_0071: brtrue Label3
L_0076: ldstr "SourceCaravanMustHaveAtLeastOneColonist"
L_007b: call System.String Translate(System.String)
L_0080: ldarg.0
L_0081: ldfld RimWorld.Planet.Caravan caravan
L_0086: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_008b: ldsfld Verse.MessageTypeDef RejectInput
L_0090: ldc.i4.0
L_0091: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0096: ldc.i4.0
L_0097: br Label5
L_009c: Label3
L_009c: ldc.i4.1
L_009d: Label4
L_009d: Label5
L_009d: stloc 0 (System.Boolean)
L_009e: Label0
L_009e: ldloc 0 (System.Boolean)
L_009f: ret
DONE

### Patch RimWorld.Dialog_FormCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey1
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3
L_0000: Local var 7: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Boolean)
L_0007: ldarg.0
L_0008: ldarg 1
L_000e: ldloca 7 (System.Boolean)
L_0010: call Boolean CheckForErrors_PreFix(RimWorld.Dialog_FormCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0015: brfalse Label0
L_001a: newobj Void .ctor()
L_001f: stloc.0
L_0020: ldloc.0
L_0021: ldarg.1
L_0022: stfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0027: ldarg.0
L_0028: call Boolean get_MustChooseRoute()
L_002d: brfalse Label1
L_0032: ldarg.0
L_0033: ldfld System.Int32 destinationTile
L_0038: ldc.i4.0
L_0039: bge Label2
L_003e: ldstr "MessageMustChooseRouteFirst"
L_0043: call System.String Translate(System.String)
L_0048: ldsfld Verse.MessageTypeDef RejectInput
L_004d: ldc.i4.0
L_004e: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0053: ldc.i4.0
L_0054: br Label24
L_0059: Label1
L_0059: Label2
L_0059: ldarg.0
L_005a: ldfld System.Boolean reform
L_005f: brtrue Label3
L_0064: ldarg.0
L_0065: ldfld System.Int32 startingTile
L_006a: ldc.i4.0
L_006b: bge Label4
L_0070: ldstr "MessageNoValidExitTile"
L_0075: call System.String Translate(System.String)
L_007a: ldsfld Verse.MessageTypeDef RejectInput
L_007f: ldc.i4.0
L_0080: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0085: ldc.i4.0
L_0086: br Label25
L_008b: Label3
L_008b: Label4
L_008b: ldloc.0
L_008c: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0091: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_0096: brtrue Label5
L_009b: ldnull
L_009c: ldftn Boolean <CheckForErrors>m__B(Verse.Pawn)
L_00a2: newobj Void .ctor(Object, IntPtr)
L_00a7: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00ac: Label5
L_00ac: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00b1: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_00b6: brtrue Label6
L_00bb: ldstr "CaravanMustHaveAtLeastOneColonist"
L_00c0: call System.String Translate(System.String)
L_00c5: ldsfld Verse.MessageTypeDef RejectInput
L_00ca: ldc.i4.0
L_00cb: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_00d0: ldc.i4.0
L_00d1: br Label26
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Boolean reform
L_00dc: brtrue Label7
L_00e1: ldarg.0
L_00e2: call Single get_MassUsage()
L_00e7: ldarg.0
L_00e8: call Single get_MassCapacity()
L_00ed: ble.un Label8
L_00f2: ldarg.0
L_00f3: call Void FlashMass()
L_00f8: ldstr "TooBigCaravanMassUsage"
L_00fd: call System.String Translate(System.String)
L_0102: ldsfld Verse.MessageTypeDef RejectInput
L_0107: ldc.i4.0
L_0108: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_010d: ldc.i4.0
L_010e: br Label27
L_0113: Label7
L_0113: Label8
L_0113: ldloc.0
L_0114: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0119: ldloc.0
L_011a: ldftn Boolean <>m__0(Verse.Pawn)
L_0120: newobj Void .ctor(Object, IntPtr)
L_0125: callvirt Verse.Pawn Find(System.Predicate`1[Verse.Pawn])
L_012a: stloc.1
L_012b: ldloc.1
L_012c: brfalse Label9
L_0131: ldstr "CaravanPawnIsUnreachable"
L_0136: ldc.i4.1
L_0137: newarr System.Object
L_013c: dup
L_013d: ldc.i4.0
L_013e: ldloc.1
L_013f: callvirt System.String get_LabelShort()
L_0144: stelem.ref
L_0145: call System.String Translate(System.String, System.Object[])
L_014a: call System.String CapitalizeFirst(System.String)
L_014f: ldloc.1
L_0150: call Verse.LookTargets op_Implicit(Verse.Thing)
L_0155: ldsfld Verse.MessageTypeDef RejectInput
L_015a: ldc.i4.0
L_015b: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0160: ldc.i4.0
L_0161: br Label28
L_0166: Label9
L_0166: ldc.i4.0
L_0167: stloc.2
L_0168: br Label10
L_016d: Label23
L_016d: ldarg.0
L_016e: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0173: ldloc.2
L_0174: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0179: callvirt Verse.ThingDef get_ThingDef()
L_017e: ldfld Verse.ThingCategory category
L_0183: ldc.i4.2
L_0184: beq Label11
L_0189: br Label12
L_018e: Label11
L_018e: ldarg.0
L_018f: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0194: ldloc.2
L_0195: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_019a: callvirt Int32 get_CountToTransfer()
L_019f: stloc.3
L_01a0: ldc.i4.0
L_01a1: stloc.s 4 (System.Int32)
L_01a3: ldloc.3
L_01a4: ldc.i4.0
L_01a5: ble Label13
L_01aa: ldc.i4.0
L_01ab: stloc.s 5 (System.Int32)
L_01ad: br Label14
L_01b2: Label19
L_01b2: newobj Void .ctor()
L_01b7: stloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01b9: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01bb: ldarg.0
L_01bc: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_01c1: ldloc.2
L_01c2: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_01c7: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_01cc: ldloc.s 5 (System.Int32)
L_01ce: callvirt Verse.Thing get_Item(Int32)
L_01d3: stfld Verse.Thing t
L_01d8: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01da: ldfld Verse.Thing t
L_01df: callvirt Boolean get_Spawned()
L_01e4: brfalse Label15
L_01e9: ldloc.0
L_01ea: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_01ef: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01f1: ldftn Boolean <>m__0(Verse.Pawn)
L_01f7: newobj Void .ctor(Object, IntPtr)
L_01fc: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_0201: brfalse Label16
L_0206: Label15
L_0206: ldloc.s 4 (System.Int32)
L_0208: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_020a: ldfld Verse.Thing t
L_020f: ldfld System.Int32 stackCount
L_0214: add
L_0215: stloc.s 4 (System.Int32)
L_0217: ldloc.s 4 (System.Int32)
L_0219: ldloc.3
L_021a: blt Label17
L_021f: br Label18
L_0224: Label16
L_0224: Label17
L_0224: ldloc.s 5 (System.Int32)
L_0226: ldc.i4.1
L_0227: add
L_0228: stloc.s 5 (System.Int32)
L_022a: Label14
L_022a: ldloc.s 5 (System.Int32)
L_022c: ldarg.0
L_022d: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0232: ldloc.2
L_0233: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0238: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_023d: callvirt Int32 get_Count()
L_0242: blt Label19
L_0247: Label18
L_0247: ldloc.s 4 (System.Int32)
L_0249: ldloc.3
L_024a: bge Label20
L_024f: ldloc.3
L_0250: ldc.i4.1
L_0251: bne.un Label21
L_0256: ldstr "CaravanItemIsUnreachableSingle"
L_025b: ldc.i4.1
L_025c: newarr System.Object
L_0261: dup
L_0262: ldc.i4.0
L_0263: ldarg.0
L_0264: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0269: ldloc.2
L_026a: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_026f: callvirt Verse.ThingDef get_ThingDef()
L_0274: ldfld System.String label
L_0279: stelem.ref
L_027a: call System.String Translate(System.String, System.Object[])
L_027f: ldsfld Verse.MessageTypeDef RejectInput
L_0284: ldc.i4.0
L_0285: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_028a: br Label22
L_028f: Label21
L_028f: ldstr "CaravanItemIsUnreachableMulti"
L_0294: ldc.i4.2
L_0295: newarr System.Object
L_029a: dup
L_029b: ldc.i4.0
L_029c: ldloc.3
L_029d: box System.Int32
L_02a2: stelem.ref
L_02a3: dup
L_02a4: ldc.i4.1
L_02a5: ldarg.0
L_02a6: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02ab: ldloc.2
L_02ac: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_02b1: callvirt Verse.ThingDef get_ThingDef()
L_02b6: ldfld System.String label
L_02bb: stelem.ref
L_02bc: call System.String Translate(System.String, System.Object[])
L_02c1: ldsfld Verse.MessageTypeDef RejectInput
L_02c6: ldc.i4.0
L_02c7: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_02cc: Label22
L_02cc: ldc.i4.0
L_02cd: br Label29
L_02d2: Label12
L_02d2: Label13
L_02d2: Label20
L_02d2: ldloc.2
L_02d3: ldc.i4.1
L_02d4: add
L_02d5: stloc.2
L_02d6: Label10
L_02d6: ldloc.2
L_02d7: ldarg.0
L_02d8: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02dd: callvirt Int32 get_Count()
L_02e2: blt Label23
L_02e7: ldc.i4.1
L_02e8: Label24
L_02e8: Label25
L_02e8: Label26
L_02e8: Label27
L_02e8: Label28
L_02e8: Label29
L_02e8: stloc 7 (System.Boolean)
L_02ea: Label0
L_02ea: ldloc 7 (System.Boolean)
L_02ec: ret
DONE

### Patch RimWorld.Planet.CaravanUIUtility, Void


AddPawnsSections(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[RimWorld.TransferableOneWay, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.1
L_0001: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0006: brtrue Label1
L_000b: ldnull
L_000c: ldftn Boolean <AddPawnsSections>m__1(RimWorld.TransferableOneWay)
L_0012: newobj Void .ctor(Object, IntPtr)
L_0017: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_001c: Label1
L_001c: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0021: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0026: stloc.0
L_0027: ldarg.0
L_0028: ldstr "ColonistsSection"
L_002d: call System.String Translate(System.String)
L_0032: ldloc.0
L_0033: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0038: brtrue Label2
L_003d: ldnull
L_003e: ldftn Boolean <AddPawnsSections>m__2(RimWorld.TransferableOneWay)
L_0044: newobj Void .ctor(Object, IntPtr)
L_0049: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_004e: Label2
L_004e: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0053: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0058: callvirt Void AddSection(System.String, IEnumerable`1)
L_005d: ldarg.0
L_005e: ldstr "PrisonersSection"
L_0063: call System.String Translate(System.String)
L_0068: ldloc.0
L_0069: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_006e: brtrue Label3
L_0073: ldnull
L_0074: ldftn Boolean <AddPawnsSections>m__3(RimWorld.TransferableOneWay)
L_007a: newobj Void .ctor(Object, IntPtr)
L_007f: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0084: Label3
L_0084: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0089: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_008e: callvirt Void AddSection(System.String, IEnumerable`1)
L_0093: ldarg.0
L_0094: ldstr "CaptureSection"
L_0099: call System.String Translate(System.String)
L_009e: ldloc.0
L_009f: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00a4: brtrue Label4
L_00a9: ldnull
L_00aa: ldftn Boolean <AddPawnsSections>m__4(RimWorld.TransferableOneWay)
L_00b0: newobj Void .ctor(Object, IntPtr)
L_00b5: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00ba: Label4
L_00ba: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00bf: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00c4: callvirt Void AddSection(System.String, IEnumerable`1)
L_00c9: ldarg.0
L_00ca: ldstr "AnimalsSection"
L_00cf: call System.String Translate(System.String)
L_00d4: ldloc.0
L_00d5: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00da: brtrue Label5
L_00df: ldnull
L_00e0: ldftn Boolean <AddPawnsSections>m__5(RimWorld.TransferableOneWay)
L_00e6: newobj Void .ctor(Object, IntPtr)
L_00eb: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f0: Label5
L_00f0: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f5: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00fa: callvirt Void AddSection(System.String, IEnumerable`1)
L_00ff: ldarg 0
L_0105: ldarg 1
L_010b: call Void AddPawnsSections_PostFix(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0110: ret
DONE

### Patch RimWorld.Planet.CaravanExitMapUtility, Boolean


CanExitMapAndJoinOrCreateCaravanNow(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Boolean get_Spawned()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label5
L_0017: Label1
L_0017: ldarg.0
L_0018: callvirt Verse.Map get_Map()
L_001d: ldfld Verse.ExitMapGrid exitMapGrid
L_0022: callvirt Boolean get_MapUsesExitGrid()
L_0027: brtrue Label2
L_002c: ldc.i4.0
L_002d: br Label6
L_0032: Label2
L_0032: ldarg.0
L_0033: callvirt Boolean get_IsColonist()
L_0038: brtrue Label3
L_003d: ldarg.0
L_003e: call RimWorld.Planet.Caravan FindCaravanToJoinFor(Verse.Pawn)
L_0043: ldnull
L_0044: ceq
L_0046: ldc.i4.0
L_0047: ceq
L_0049: br Label4
L_004e: Label3
L_004e: ldc.i4.1
L_004f: Label4
L_004f: Label5
L_004f: Label6
L_004f: stloc 0 (System.Boolean)
L_0050: ldarg 0
L_0056: ldloca 0 (System.Boolean)
L_0058: call Void CanExit_PostFix(Verse.Pawn, Boolean ByRef)
L_005d: ldloc 0 (System.Boolean)
L_005e: ret
DONE

### Patch RimWorld.MassUtility, Single Capacity(Verse.Pawn,


System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Single
L_0000: ldc.r4 0
L_0005: stloc 1 (System.Single)
L_0006: ldarg.0
L_0007: call Boolean CanEverCarryAnything(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldc.r4 0
L_0016: br Label4
L_001b: Label1
L_001b: ldarg.0
L_001c: callvirt Single get_BodySize()
L_0021: ldc.r4 35
L_0026: mul
L_0027: stloc.0
L_0028: ldarg.1
L_0029: brfalse Label2
L_002e: ldarg.1
L_002f: callvirt Int32 get_Length()
L_0034: ldc.i4.0
L_0035: ble Label3
L_003a: ldarg.1
L_003b: callvirt System.Text.StringBuilder AppendLine()
L_0040: pop
L_0041: Label3
L_0041: ldarg.1
L_0042: ldstr " - "
L_0047: ldarg.0
L_0048: callvirt System.String get_LabelShortCap()
L_004d: ldstr ": "
L_0052: ldloc.0
L_0053: call System.String ToStringMassOffset(Single)
L_0058: call System.String Concat(System.String, System.String, System.String,
System.String)
L_005d: callvirt System.Text.StringBuilder Append(System.String)
L_0062: pop
L_0063: Label2
L_0063: ldloc.0
L_0064: Label4
L_0064: stloc 1 (System.Single)
L_0065: ldloca 1 (System.Single)
L_0067: ldarg 0
L_006d: call Void Capacity_PostFix(Single ByRef, Verse.Pawn)
L_0072: ldloc 1 (System.Single)
L_0073: ret
DONE

### Patch RimWorld.Planet.CaravanTicksPerMoveUtility, Int32


GetTicksPerMove(System.Collections.Generic.List`1[Verse.Pawn], Single, Single,
System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Single
L_0000: Local var 3: System.Single
L_0000: Local var 4: System.Single
L_0000: Local var 5: System.Single
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Single
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldarg.0
L_0008: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn])
L_000d: brfalse Label1
L_0012: ldarg.3
L_0013: brfalse Label2
L_0018: ldarg.3
L_0019: ldstr "CaravanMovementSpeedFull"
L_001e: call System.String Translate(System.String)
L_0023: ldstr ":"
L_0028: call System.String Concat(System.String, System.String)
L_002d: callvirt System.Text.StringBuilder Append(System.String)
L_0032: pop
L_0033: Label2
L_0033: ldc.r4 0
L_0038: stloc.0
L_0039: ldc.i4.0
L_003a: stloc.1
L_003b: br Label3
L_0040: Label11
L_0040: ldarg.0
L_0041: ldloc.1
L_0042: callvirt Verse.Pawn get_Item(Int32)
L_0047: callvirt Boolean get_Downed()
L_004c: brtrue Label4
L_0051: ldarg.0
L_0052: ldloc.1
L_0053: callvirt Verse.Pawn get_Item(Int32)
L_0058: call Boolean CarriedByCaravan(Verse.Pawn)
L_005d: brfalse Label5
L_0062: Label4
L_0062: ldc.i4 450
L_0067: br Label6
L_006c: Label5
L_006c: ldarg.0
L_006d: ldloc.1
L_006e: callvirt Verse.Pawn get_Item(Int32)
L_0073: callvirt Int32 get_TicksPerMoveCardinal()
L_0078: Label6
L_0078: conv.r4
L_0079: stloc.2
L_007a: ldloc.2
L_007b: ldc.r4 150
L_0080: call Single Min(Single, Single)
L_0085: ldc.r4 340
L_008a: mul
L_008b: stloc.2
L_008c: ldc.r4 60000
L_0091: ldloc.2
L_0092: conv.r4
L_0093: div
L_0094: stloc.3
L_0095: ldarg.3
L_0096: brfalse Label7
L_009b: ldarg.3
L_009c: callvirt System.Text.StringBuilder AppendLine()
L_00a1: pop
L_00a2: ldarg.3
L_00a3: ldc.i4.6
L_00a4: newarr System.String
L_00a9: dup
L_00aa: ldc.i4.0
L_00ab: ldstr " - "
L_00b0: stelem.ref
L_00b1: dup
L_00b2: ldc.i4.1
L_00b3: ldarg.0
L_00b4: ldloc.1
L_00b5: callvirt Verse.Pawn get_Item(Int32)
L_00ba: callvirt System.String get_LabelShortCap()
L_00bf: stelem.ref
L_00c0: dup
L_00c1: ldc.i4.2
L_00c2: ldstr ": "
L_00c7: stelem.ref
L_00c8: dup
L_00c9: ldc.i4.3
L_00ca: ldloca.s 3 (System.Single)
L_00cc: ldstr "0.#"
L_00d1: call System.String ToString(System.String)
L_00d6: stelem.ref
L_00d7: dup
L_00d8: ldc.i4.4
L_00d9: ldstr " "
L_00de: stelem.ref
L_00df: dup
L_00e0: ldc.i4.5
L_00e1: ldstr "TilesPerDay"
L_00e6: call System.String Translate(System.String)
L_00eb: stelem.ref
L_00ec: call System.String Concat(System.String[])
L_00f1: callvirt System.Text.StringBuilder Append(System.String)
L_00f6: pop
L_00f7: ldarg.0
L_00f8: ldloc.1
L_00f9: callvirt Verse.Pawn get_Item(Int32)
L_00fe: callvirt Boolean get_Downed()
L_0103: brfalse Label8
L_0108: ldarg.3
L_0109: ldstr " ("
L_010e: ldstr "DownedLower"
L_0113: call System.String Translate(System.String)
L_0118: ldstr ")"
L_011d: call System.String Concat(System.String, System.String, System.String)
L_0122: callvirt System.Text.StringBuilder Append(System.String)
L_0127: pop
L_0128: br Label9
L_012d: Label8
L_012d: ldarg.0
L_012e: ldloc.1
L_012f: callvirt Verse.Pawn get_Item(Int32)
L_0134: call Boolean CarriedByCaravan(Verse.Pawn)
L_0139: brfalse Label10
L_013e: ldarg.3
L_013f: ldstr " ("
L_0144: ldstr "Carried"
L_0149: call System.String Translate(System.String)
L_014e: ldstr ")"
L_0153: call System.String Concat(System.String, System.String, System.String)
L_0158: callvirt System.Text.StringBuilder Append(System.String)
L_015d: pop
L_015e: Label7
L_015e: Label9
L_015e: Label10
L_015e: ldloc.0
L_015f: ldloc.2
L_0160: ldarg.0
L_0161: callvirt Int32 get_Count()
L_0166: conv.r4
L_0167: div
L_0168: add
L_0169: stloc.0
L_016a: ldloc.1
L_016b: ldc.i4.1
L_016c: add
L_016d: stloc.1
L_016e: Label3
L_016e: ldloc.1
L_016f: ldarg.0
L_0170: callvirt Int32 get_Count()
L_0175: blt Label11
L_017a: ldarg.1
L_017b: ldarg.2
L_017c: call Single GetMoveSpeedFactorFromMass(Single, Single)
L_0181: stloc.s 4 (System.Single)
L_0183: ldarg.3
L_0184: brfalse Label12
L_0189: ldc.r4 60000
L_018e: ldloc.0
L_018f: conv.r4
L_0190: div
L_0191: stloc.s 5 (System.Single)
L_0193: ldarg.3
L_0194: callvirt System.Text.StringBuilder AppendLine()
L_0199: pop
L_019a: ldarg.3
L_019b: ldc.i4.6
L_019c: newarr System.String
L_01a1: dup
L_01a2: ldc.i4.0
L_01a3: ldstr " "
L_01a8: stelem.ref
L_01a9: dup
L_01aa: ldc.i4.1
L_01ab: ldstr "Average"
L_01b0: call System.String Translate(System.String)
L_01b5: stelem.ref
L_01b6: dup
L_01b7: ldc.i4.2
L_01b8: ldstr ": "
L_01bd: stelem.ref
L_01be: dup
L_01bf: ldc.i4.3
L_01c0: ldloca.s 5 (System.Single)
L_01c2: ldstr "0.#"
L_01c7: call System.String ToString(System.String)
L_01cc: stelem.ref
L_01cd: dup
L_01ce: ldc.i4.4
L_01cf: ldstr " "
L_01d4: stelem.ref
L_01d5: dup
L_01d6: ldc.i4.5
L_01d7: ldstr "TilesPerDay"
L_01dc: call System.String Translate(System.String)
L_01e1: stelem.ref
L_01e2: call System.String Concat(System.String[])
L_01e7: callvirt System.Text.StringBuilder Append(System.String)
L_01ec: pop
L_01ed: ldarg.3
L_01ee: callvirt System.Text.StringBuilder AppendLine()
L_01f3: pop
L_01f4: ldarg.3
L_01f5: ldstr " "
L_01fa: ldstr "MultiplierForCarriedMass"
L_01ff: ldc.i4.1
L_0200: newarr System.Object
L_0205: dup
L_0206: ldc.i4.0
L_0207: ldloc.s 4 (System.Single)
L_0209: call System.String ToStringPercent(Single)
L_020e: stelem.ref
L_020f: call System.String Translate(System.String, System.Object[])
L_0214: call System.String Concat(System.String, System.String)
L_0219: callvirt System.Text.StringBuilder Append(System.String)
L_021e: pop
L_021f: Label12
L_021f: ldloc.0
L_0220: ldloc.s 4 (System.Single)
L_0222: div
L_0223: call Int32 RoundToInt(Single)
L_0228: ldc.i4.1
L_0229: call Int32 Max(Int32, Int32)
L_022e: stloc.s 6 (System.Int32)
L_0230: ldarg.3
L_0231: brfalse Label13
L_0236: ldc.r4 60000
L_023b: ldloc.s 6 (System.Int32)
L_023d: conv.r4
L_023e: div
L_023f: stloc.s 7 (System.Single)
L_0241: ldarg.3
L_0242: callvirt System.Text.StringBuilder AppendLine()
L_0247: pop
L_0248: ldarg.3
L_0249: ldc.i4.6
L_024a: newarr System.String
L_024f: dup
L_0250: ldc.i4.0
L_0251: ldstr " "
L_0256: stelem.ref
L_0257: dup
L_0258: ldc.i4.1
L_0259: ldstr "FinalCaravanPawnsMovementSpeed"
L_025e: call System.String Translate(System.String)
L_0263: stelem.ref
L_0264: dup
L_0265: ldc.i4.2
L_0266: ldstr ": "
L_026b: stelem.ref
L_026c: dup
L_026d: ldc.i4.3
L_026e: ldloca.s 7 (System.Single)
L_0270: ldstr "0.#"
L_0275: call System.String ToString(System.String)
L_027a: stelem.ref
L_027b: dup
L_027c: ldc.i4.4
L_027d: ldstr " "
L_0282: stelem.ref
L_0283: dup
L_0284: ldc.i4.5
L_0285: ldstr "TilesPerDay"
L_028a: call System.String Translate(System.String)
L_028f: stelem.ref
L_0290: call System.String Concat(System.String[])
L_0295: callvirt System.Text.StringBuilder Append(System.String)
L_029a: pop
L_029b: Label13
L_029b: ldloc.s 6 (System.Int32)
L_029d: br Label15
L_02a2: Label1
L_02a2: ldarg.3
L_02a3: brfalse Label14
L_02a8: ldarg.3
L_02a9: call Void AppendUsingDefaultTicksPerMoveInfo(System.Text.StringBuilder)
L_02ae: Label14
L_02ae: ldc.i4 3300
L_02b3: Label15
L_02b3: stloc 8 (System.Int32)
L_02b5: ldarg 0
L_02bb: ldloca 8 (System.Int32)
L_02bd: call Void
GetTicksPerMove_PostFix(System.Collections.Generic.List`1[Verse.Pawn], Int32 ByRef)
L_02c2: ldloc 8 (System.Int32)
L_02c4: ret
DONE

### Patch RimWorld.Planet.CaravanEnterMapUtility, Void


Enter(RimWorld.Planet.Caravan, Verse.Map, System.Func`2[Verse.Pawn,Verse.IntVec3],
CaravanDropInventoryMode, Boolean)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: call Void Enter_PreFix(RimWorld.Planet.Caravan)
L_000b: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0010: callvirt Void Clear()
L_0015: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_001a: ldarg.0
L_001b: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_0020: callvirt Void AddRange(IEnumerable`1)
L_0025: ldc.i4.0
L_0026: stloc.0
L_0027: br Label1
L_002c: Label2
L_002c: ldarg.2
L_002d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0032: ldloc.0
L_0033: callvirt Verse.Pawn get_Item(Int32)
L_0038: callvirt IntVec3 Invoke(Verse.Pawn)
L_003d: stloc.1
L_003e: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0043: ldloc.0
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: ldloc.1
L_004a: ldarg.1
L_004b: call Rot4 get_Random()
L_0050: ldc.i4.0
L_0051: ldc.i4.0
L_0052: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0057: pop
L_0058: ldloc.0
L_0059: ldc.i4.1
L_005a: add
L_005b: stloc.0
L_005c: Label1
L_005c: ldloc.0
L_005d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0062: callvirt Int32 get_Count()
L_0067: blt Label2
L_006c: ldarg.3
L_006d: ldc.i4.1
L_006e: bne.un Label3
L_0073: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0078: call Void DropAllInventory(System.Collections.Generic.List`1[Verse.Pawn])
L_007d: br Label4
L_0082: Label3
L_0082: ldarg.3
L_0083: ldc.i4.2
L_0084: bne.un Label5
L_0089: ldc.i4.0
L_008a: stloc.2
L_008b: br Label6
L_0090: Label7
L_0090: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0095: ldloc.2
L_0096: callvirt Verse.Pawn get_Item(Int32)
L_009b: ldfld Verse.Pawn_InventoryTracker inventory
L_00a0: ldc.i4.1
L_00a1: callvirt Void set_UnloadEverything(Boolean)
L_00a6: ldloc.2
L_00a7: ldc.i4.1
L_00a8: add
L_00a9: stloc.2
L_00aa: Label6
L_00aa: ldloc.2
L_00ab: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00b0: callvirt Int32 get_Count()
L_00b5: blt Label7
L_00ba: Label4
L_00ba: Label5
L_00ba: ldarg.s 4
L_00bc: brfalse Label8
L_00c1: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00c6: call Void DraftColonists(System.Collections.Generic.List`1[Verse.Pawn])
L_00cb: Label8
L_00cb: ldarg.1
L_00cc: callvirt Boolean get_IsPlayerHome()
L_00d1: brfalse Label9
L_00d6: ldc.i4.0
L_00d7: stloc.3
L_00d8: br Label10
L_00dd: Label12
L_00dd: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00e2: ldloc.3
L_00e3: callvirt Verse.Pawn get_Item(Int32)
L_00e8: callvirt Boolean get_IsPrisoner()
L_00ed: brfalse Label11
L_00f2: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00f7: ldloc.3
L_00f8: callvirt Verse.Pawn get_Item(Int32)
L_00fd: ldfld RimWorld.Pawn_GuestTracker guest
L_0102: callvirt Void WaitInsteadOfEscapingForDefaultTicks()
L_0107: Label11
L_0107: ldloc.3
L_0108: ldc.i4.1
L_0109: add
L_010a: stloc.3
L_010b: Label10
L_010b: ldloc.3
L_010c: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0111: callvirt Int32 get_Count()
L_0116: blt Label12
L_011b: Label9
L_011b: ldarg.0
L_011c: callvirt Void RemoveAllPawns()
L_0121: ldarg.0
L_0122: callvirt Boolean get_Spawned()
L_0127: brfalse Label13
L_012c: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_0131: ldarg.0
L_0132: callvirt Void Remove(RimWorld.Planet.WorldObject)
L_0137: Label13
L_0137: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_013c: callvirt Void Clear()
L_0141: ret
DONE

### Patch RimWorld.Planet.Caravan, System.String GetInspectString()


L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Int32
L_0000: Local var 7: RimWorld.Planet.SettlementBase
L_0000: Local var 8: System.Single
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Int32
L_0000: Local var 11: System.String
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: ldnull
L_0001: stloc 13 (System.String)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: call System.String GetInspectString()
L_0010: callvirt System.Text.StringBuilder Append(System.String)
L_0015: pop
L_0016: ldloc.0
L_0017: callvirt Int32 get_Length()
L_001c: brfalse Label1
L_0021: ldloc.0
L_0022: callvirt System.Text.StringBuilder AppendLine()
L_0027: pop
L_0028: Label1
L_0028: ldc.i4.0
L_0029: stloc.1
L_002a: ldc.i4.0
L_002b: stloc.2
L_002c: ldc.i4.0
L_002d: stloc.3
L_002e: ldc.i4.0
L_002f: stloc.s 4 (System.Int32)
L_0031: ldc.i4.0
L_0032: stloc.s 5 (System.Int32)
L_0034: ldc.i4.0
L_0035: stloc.s 6 (System.Int32)
L_0037: br Label2
L_003c: Label10
L_003c: ldarg.0
L_003d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0042: ldloc.s 6 (System.Int32)
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: callvirt Boolean get_IsColonist()
L_004e: brfalse Label3
L_0053: ldloc.1
L_0054: ldc.i4.1
L_0055: add
L_0056: stloc.1
L_0057: br Label4
L_005c: Label3
L_005c: ldarg.0
L_005d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0062: ldloc.s 6 (System.Int32)
L_0064: callvirt Verse.Pawn get_Item(Int32)
L_0069: callvirt Verse.RaceProperties get_RaceProps()
L_006e: callvirt Boolean get_Animal()
L_0073: brfalse Label5
L_0078: ldloc.2
L_0079: ldc.i4.1
L_007a: add
L_007b: stloc.2
L_007c: br Label6
L_0081: Label5
L_0081: ldarg.0
L_0082: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0087: ldloc.s 6 (System.Int32)
L_0089: callvirt Verse.Pawn get_Item(Int32)
L_008e: callvirt Boolean get_IsPrisoner()
L_0093: brfalse Label7
L_0098: ldloc.3
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.3
L_009c: Label4
L_009c: Label6
L_009c: Label7
L_009c: ldarg.0
L_009d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00a2: ldloc.s 6 (System.Int32)
L_00a4: callvirt Verse.Pawn get_Item(Int32)
L_00a9: callvirt Boolean get_Downed()
L_00ae: brfalse Label8
L_00b3: ldloc.s 4 (System.Int32)
L_00b5: ldc.i4.1
L_00b6: add
L_00b7: stloc.s 4 (System.Int32)
L_00b9: Label8
L_00b9: ldarg.0
L_00ba: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00bf: ldloc.s 6 (System.Int32)
L_00c1: callvirt Verse.Pawn get_Item(Int32)
L_00c6: callvirt Boolean get_InMentalState()
L_00cb: brfalse Label9
L_00d0: ldloc.s 5 (System.Int32)
L_00d2: ldc.i4.1
L_00d3: add
L_00d4: stloc.s 5 (System.Int32)
L_00d6: Label9
L_00d6: ldloc.s 6 (System.Int32)
L_00d8: ldc.i4.1
L_00d9: add
L_00da: stloc.s 6 (System.Int32)
L_00dc: Label2
L_00dc: ldloc.s 6 (System.Int32)
L_00de: ldarg.0
L_00df: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00e4: callvirt Int32 get_Count()
L_00e9: blt Label10
L_00ee: ldloc.0
L_00ef: ldstr "CaravanColonistsCount"
L_00f4: ldc.i4.2
L_00f5: newarr System.Object
L_00fa: dup
L_00fb: ldc.i4.0
L_00fc: ldloc.1
L_00fd: box System.Int32
L_0102: stelem.ref
L_0103: dup
L_0104: ldc.i4.1
L_0105: ldloc.1
L_0106: ldc.i4.1
L_0107: bne.un Label11
L_010c: call RimWorld.Faction get_OfPlayer()
L_0111: ldfld RimWorld.FactionDef def
L_0116: ldfld System.String pawnSingular
L_011b: br Label12
L_0120: Label11
L_0120: call RimWorld.Faction get_OfPlayer()
L_0125: ldfld RimWorld.FactionDef def
L_012a: ldfld System.String pawnsPlural
L_012f: Label12
L_012f: stelem.ref
L_0130: call System.String Translate(System.String, System.Object[])
L_0135: callvirt System.Text.StringBuilder Append(System.String)
L_013a: pop
L_013b: ldloc.2
L_013c: ldc.i4.1
L_013d: bne.un Label13
L_0142: ldloc.0
L_0143: ldstr ", "
L_0148: ldstr "CaravanAnimal"
L_014d: call System.String Translate(System.String)
L_0152: call System.String Concat(System.String, System.String)
L_0157: callvirt System.Text.StringBuilder Append(System.String)
L_015c: pop
L_015d: br Label14
L_0162: Label13
L_0162: ldloc.2
L_0163: ldc.i4.1
L_0164: ble Label15
L_0169: ldloc.0
L_016a: ldstr ", "
L_016f: ldstr "CaravanAnimalsCount"
L_0174: ldc.i4.1
L_0175: newarr System.Object
L_017a: dup
L_017b: ldc.i4.0
L_017c: ldloc.2
L_017d: box System.Int32
L_0182: stelem.ref
L_0183: call System.String Translate(System.String, System.Object[])
L_0188: call System.String Concat(System.String, System.String)
L_018d: callvirt System.Text.StringBuilder Append(System.String)
L_0192: pop
L_0193: Label14
L_0193: Label15
L_0193: ldloc.3
L_0194: ldc.i4.1
L_0195: bne.un Label16
L_019a: ldloc.0
L_019b: ldstr ", "
L_01a0: ldstr "CaravanPrisoner"
L_01a5: call System.String Translate(System.String)
L_01aa: call System.String Concat(System.String, System.String)
L_01af: callvirt System.Text.StringBuilder Append(System.String)
L_01b4: pop
L_01b5: br Label17
L_01ba: Label16
L_01ba: ldloc.3
L_01bb: ldc.i4.1
L_01bc: ble Label18
L_01c1: ldloc.0
L_01c2: ldstr ", "
L_01c7: ldstr "CaravanPrisonersCount"
L_01cc: ldc.i4.1
L_01cd: newarr System.Object
L_01d2: dup
L_01d3: ldc.i4.0
L_01d4: ldloc.3
L_01d5: box System.Int32
L_01da: stelem.ref
L_01db: call System.String Translate(System.String, System.Object[])
L_01e0: call System.String Concat(System.String, System.String)
L_01e5: callvirt System.Text.StringBuilder Append(System.String)
L_01ea: pop
L_01eb: Label17
L_01eb: Label18
L_01eb: ldloc.0
L_01ec: callvirt System.Text.StringBuilder AppendLine()
L_01f1: pop
L_01f2: ldloc.s 5 (System.Int32)
L_01f4: ldc.i4.0
L_01f5: ble Label19
L_01fa: ldloc.0
L_01fb: ldstr "CaravanPawnsInMentalState"
L_0200: ldc.i4.1
L_0201: newarr System.Object
L_0206: dup
L_0207: ldc.i4.0
L_0208: ldloc.s 5 (System.Int32)
L_020a: box System.Int32
L_020f: stelem.ref
L_0210: call System.String Translate(System.String, System.Object[])
L_0215: callvirt System.Text.StringBuilder Append(System.String)
L_021a: pop
L_021b: Label19
L_021b: ldloc.s 4 (System.Int32)
L_021d: ldc.i4.0
L_021e: ble Label20
L_0223: ldloc.s 5 (System.Int32)
L_0225: ldc.i4.0
L_0226: ble Label21
L_022b: ldloc.0
L_022c: ldstr ", "
L_0231: callvirt System.Text.StringBuilder Append(System.String)
L_0236: pop
L_0237: Label21
L_0237: ldloc.0
L_0238: ldstr "CaravanPawnsDowned"
L_023d: ldc.i4.1
L_023e: newarr System.Object
L_0243: dup
L_0244: ldc.i4.0
L_0245: ldloc.s 4 (System.Int32)
L_0247: box System.Int32
L_024c: stelem.ref
L_024d: call System.String Translate(System.String, System.Object[])
L_0252: callvirt System.Text.StringBuilder Append(System.String)
L_0257: pop
L_0258: Label20
L_0258: ldloc.s 5 (System.Int32)
L_025a: ldc.i4.0
L_025b: bgt Label22
L_0260: ldloc.s 4 (System.Int32)
L_0262: ldc.i4.0
L_0263: ble Label23
L_0268: Label22
L_0268: ldloc.0
L_0269: callvirt System.Text.StringBuilder AppendLine()
L_026e: pop
L_026f: Label23
L_026f: ldarg.0
L_0270: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0275: callvirt Boolean get_Moving()
L_027a: brfalse Label24
L_027f: ldarg.0
L_0280: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0285: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_028a: brfalse Label25
L_028f: ldloc.0
L_0290: ldarg.0
L_0291: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0296: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_029b: callvirt System.String get_ReportString()
L_02a0: callvirt System.Text.StringBuilder Append(System.String)
L_02a5: pop
L_02a6: br Label26
L_02ab: Label25
L_02ab: ldloc.0
L_02ac: ldstr "CaravanTraveling"
L_02b1: call System.String Translate(System.String)
L_02b6: callvirt System.Text.StringBuilder Append(System.String)
L_02bb: pop
L_02bc: Label26
L_02bc: br Label27
L_02c1: Label24
L_02c1: ldarg.0
L_02c2: call RimWorld.Planet.SettlementBase
SettlementVisitedNow(RimWorld.Planet.Caravan)
L_02c7: stloc.s 7 (RimWorld.Planet.SettlementBase)
L_02c9: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02cb: brfalse Label28
L_02d0: ldloc.0
L_02d1: ldstr "CaravanVisiting"
L_02d6: ldc.i4.1
L_02d7: newarr System.Object
L_02dc: dup
L_02dd: ldc.i4.0
L_02de: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02e0: callvirt System.String get_Label()
L_02e5: stelem.ref
L_02e6: call System.String Translate(System.String, System.Object[])
L_02eb: callvirt System.Text.StringBuilder Append(System.String)
L_02f0: pop
L_02f1: br Label29
L_02f6: Label28
L_02f6: ldloc.0
L_02f7: ldstr "CaravanWaiting"
L_02fc: call System.String Translate(System.String)
L_0301: callvirt System.Text.StringBuilder Append(System.String)
L_0306: pop
L_0307: Label27
L_0307: Label29
L_0307: ldarg.0
L_0308: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_030d: callvirt Boolean get_Moving()
L_0312: brfalse Label30
L_0317: ldarg.0
L_0318: ldc.i4.1
L_0319: call Int32 EstimatedTicksToArrive(RimWorld.Planet.Caravan, Boolean)
L_031e: conv.r4
L_031f: ldc.r4 60000
L_0324: div
L_0325: stloc.s 8 (System.Single)
L_0327: ldloc.0
L_0328: callvirt System.Text.StringBuilder AppendLine()
L_032d: pop
L_032e: ldloc.0
L_032f: ldstr "CaravanEstimatedTimeToDestination"
L_0334: ldc.i4.1
L_0335: newarr System.Object
L_033a: dup
L_033b: ldc.i4.0
L_033c: ldloca.s 8 (System.Single)
L_033e: ldstr "0.#"
L_0343: call System.String ToString(System.String)
L_0348: stelem.ref
L_0349: call System.String Translate(System.String, System.Object[])
L_034e: callvirt System.Text.StringBuilder Append(System.String)
L_0353: pop
L_0354: Label30
L_0354: ldarg.0
L_0355: call Boolean get_AllOwnersDowned()
L_035a: brfalse Label31
L_035f: ldloc.0
L_0360: callvirt System.Text.StringBuilder AppendLine()
L_0365: pop
L_0366: ldloc.0
L_0367: ldstr "AllCaravanMembersDowned"
L_036c: call System.String Translate(System.String)
L_0371: callvirt System.Text.StringBuilder Append(System.String)
L_0376: pop
L_0377: br Label32
L_037c: Label31
L_037c: ldarg.0
L_037d: call Boolean get_AllOwnersHaveMentalBreak()
L_0382: brfalse Label33
L_0387: ldloc.0
L_0388: callvirt System.Text.StringBuilder AppendLine()
L_038d: pop
L_038e: ldloc.0
L_038f: ldstr "AllCaravanMembersMentalBreak"
L_0394: call System.String Translate(System.String)
L_0399: callvirt System.Text.StringBuilder Append(System.String)
L_039e: pop
L_039f: br Label34
L_03a4: Label33
L_03a4: ldarg.0
L_03a5: call Boolean get_ImmobilizedByMass()
L_03aa: brfalse Label35
L_03af: ldloc.0
L_03b0: callvirt System.Text.StringBuilder AppendLine()
L_03b5: pop
L_03b6: ldloc.0
L_03b7: ldstr "CaravanImmobilizedByMass"
L_03bc: call System.String Translate(System.String)
L_03c1: callvirt System.Text.StringBuilder Append(System.String)
L_03c6: pop
L_03c7: Label32
L_03c7: Label34
L_03c7: Label35
L_03c7: ldarg.0
L_03c8: ldfld RimWorld.Planet.Caravan_NeedsTracker needs
L_03cd: ldloca.s 9 (System.String)
L_03cf: callvirt Boolean AnyPawnOutOfFood(System.String ByRef)
L_03d4: brfalse Label36
L_03d9: ldloc.0
L_03da: callvirt System.Text.StringBuilder AppendLine()
L_03df: pop
L_03e0: ldloc.0
L_03e1: ldstr "CaravanOutOfFood"
L_03e6: call System.String Translate(System.String)
L_03eb: callvirt System.Text.StringBuilder Append(System.String)
L_03f0: pop
L_03f1: ldloc.s 9 (System.String)
L_03f3: call Boolean NullOrEmpty(System.String)
L_03f8: brtrue Label37
L_03fd: ldloc.0
L_03fe: ldstr " "
L_0403: callvirt System.Text.StringBuilder Append(System.String)
L_0408: pop
L_0409: ldloc.0
L_040a: ldloc.s 9 (System.String)
L_040c: callvirt System.Text.StringBuilder Append(System.String)
L_0411: pop
L_0412: ldloc.0
L_0413: ldstr "."
L_0418: callvirt System.Text.StringBuilder Append(System.String)
L_041d: pop
L_041e: Label36
L_041e: Label37
L_041e: ldarg.0
L_041f: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0424: callvirt Boolean get_MovingNow()
L_0429: brtrue Label38
L_042e: ldarg.0
L_042f: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_0434: callvirt Int32 GetUsedBedCount()
L_0439: stloc.s 10 (System.Int32)
L_043b: ldloc.0
L_043c: callvirt System.Text.StringBuilder AppendLine()
L_0441: pop
L_0442: ldloc.0
L_0443: ldstr "CaravanResting"
L_0448: call System.String Translate(System.String)
L_044d: ldloc.s 10 (System.Int32)
L_044f: call System.String AppendUsingBedsLabel(System.String, Int32)
L_0454: callvirt System.Text.StringBuilder Append(System.String)
L_0459: pop
L_045a: br Label39
L_045f: Label38
L_045f: ldarg.0
L_0460: ldfld RimWorld.Planet.Caravan_CarryTracker carryTracker
L_0465: callvirt System.String GetInspectStringLine()
L_046a: stloc.s 11 (System.String)
L_046c: ldloc.s 11 (System.String)
L_046e: call Boolean NullOrEmpty(System.String)
L_0473: brtrue Label40
L_0478: ldloc.0
L_0479: callvirt System.Text.StringBuilder AppendLine()
L_047e: pop
L_047f: ldloc.0
L_0480: ldloc.s 11 (System.String)
L_0482: callvirt System.Text.StringBuilder Append(System.String)
L_0487: pop
L_0488: Label40
L_0488: ldarg.0
L_0489: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_048e: callvirt System.String GetInBedForMedicalReasonsInspectStringLine()
L_0493: stloc.s 12 (System.String)
L_0495: ldloc.s 12 (System.String)
L_0497: call Boolean NullOrEmpty(System.String)
L_049c: brtrue Label41
L_04a1: ldloc.0
L_04a2: callvirt System.Text.StringBuilder AppendLine()
L_04a7: pop
L_04a8: ldloc.0
L_04a9: ldloc.s 12 (System.String)
L_04ab: callvirt System.Text.StringBuilder Append(System.String)
L_04b0: pop
L_04b1: Label39
L_04b1: Label41
L_04b1: ldloc.0
L_04b2: callvirt System.String ToString()
L_04b7: stloc 13 (System.String)
L_04b9: ldarg.0
L_04ba: ldloca 13 (System.String)
L_04bc: call Void GetInspectString_Jobs(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c1: ldarg.0
L_04c2: ldloca 13 (System.String)
L_04c4: call Void GetInspectString_PostFix(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c9: ldloc 13 (System.String)
L_04cb: ret
DONE

### Patch Verse.Pawn, Void Tick()


L_0000: Local var 0: System.Boolean
L_0000: ldsfld System.Boolean noAnimals
L_0005: brfalse Label1
L_000a: ldarg.0
L_000b: call Boolean get_Spawned()
L_0010: brfalse Label2
L_0015: ldarg.0
L_0016: call Verse.RaceProperties get_RaceProps()
L_001b: callvirt Boolean get_Animal()
L_0020: brfalse Label3
L_0025: ldarg.0
L_0026: ldc.i4.0
L_0027: callvirt Void Destroy(DestroyMode)
L_002c: br Label23
L_0031: Label1
L_0031: Label2
L_0031: Label3
L_0031: ldarg.0
L_0032: call Void Tick()
L_0037: call Verse.TickManager get_TickManager()
L_003c: callvirt Int32 get_TicksGame()
L_0041: ldc.i4 250
L_0046: rem
L_0047: brtrue Label4
L_004c: ldarg.0
L_004d: callvirt Void TickRare()
L_0052: Label4
L_0052: ldarg.0
L_0053: call Boolean get_Suspended()
L_0058: stloc.0
L_0059: ldloc.0
L_005a: brtrue Label5
L_005f: ldarg.0
L_0060: call Boolean get_Spawned()
L_0065: brfalse Label6
L_006a: ldarg.0
L_006b: ldfld Verse.AI.Pawn_PathFollower pather
L_0070: callvirt Void PatherTick()
L_0075: Label6
L_0075: ldarg.0
L_0076: call Boolean get_Spawned()
L_007b: brfalse Label7
L_0080: ldarg.0
L_0081: ldfld Verse.Pawn_StanceTracker stances
L_0086: callvirt Void StanceTrackerTick()
L_008b: ldarg.0
L_008c: ldfld Verse.VerbTracker verbTracker
L_0091: callvirt Void VerbsTick()
L_0096: ldarg.0
L_0097: ldfld RimWorld.Pawn_NativeVerbs natives
L_009c: callvirt Void NativeVerbsTick()
L_00a1: Label7
L_00a1: ldarg.0
L_00a2: call Boolean get_Spawned()
L_00a7: brfalse Label8
L_00ac: ldarg.0
L_00ad: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b2: callvirt Void JobTrackerTick()
L_00b7: Label8
L_00b7: ldarg.0
L_00b8: call Boolean get_Spawned()
L_00bd: brfalse Label9
L_00c2: ldarg.0
L_00c3: call Verse.Pawn_DrawTracker get_Drawer()
L_00c8: callvirt Void DrawTrackerTick()
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn_RotationTracker rotationTracker
L_00d3: callvirt Void RotationTrackerTick()
L_00d8: Label9
L_00d8: ldarg.0
L_00d9: ldfld Verse.Pawn_HealthTracker health
L_00de: callvirt Void HealthTick()
L_00e3: ldarg.0
L_00e4: call Boolean get_Dead()
L_00e9: brtrue Label10
L_00ee: ldarg.0
L_00ef: ldfld Verse.AI.Pawn_MindState mindState
L_00f4: callvirt Void MindStateTick()
L_00f9: ldarg.0
L_00fa: ldfld Verse.Pawn_CarryTracker carryTracker
L_00ff: callvirt Void CarryHandsTick()
L_0104: Label5
L_0104: Label10
L_0104: ldarg.0
L_0105: call Boolean get_Dead()
L_010a: brtrue Label11
L_010f: ldarg.0
L_0110: ldfld RimWorld.Pawn_NeedsTracker needs
L_0115: callvirt Void NeedsTrackerTick()
L_011a: Label11
L_011a: ldloc.0
L_011b: brtrue Label12
L_0120: ldarg.0
L_0121: ldfld Verse.Pawn_EquipmentTracker equipment
L_0126: brfalse Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_EquipmentTracker equipment
L_0131: callvirt Void EquipmentTrackerTick()
L_0136: Label13
L_0136: ldarg.0
L_0137: ldfld RimWorld.Pawn_ApparelTracker apparel
L_013c: brfalse Label14
L_0141: ldarg.0
L_0142: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0147: callvirt Void ApparelTrackerTick()
L_014c: Label14
L_014c: ldarg.0
L_014d: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0152: brfalse Label15
L_0157: ldarg.0
L_0158: call Boolean get_Spawned()
L_015d: brfalse Label16
L_0162: ldarg.0
L_0163: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0168: callvirt Void InteractionsTrackerTick()
L_016d: Label15
L_016d: Label16
L_016d: ldarg.0
L_016e: ldfld Verse.Pawn_CallTracker caller
L_0173: brfalse Label17
L_0178: ldarg.0
L_0179: ldfld Verse.Pawn_CallTracker caller
L_017e: callvirt Void CallTrackerTick()
L_0183: Label17
L_0183: ldarg.0
L_0184: ldfld RimWorld.Pawn_SkillTracker skills
L_0189: brfalse Label18
L_018e: ldarg.0
L_018f: ldfld RimWorld.Pawn_SkillTracker skills
L_0194: callvirt Void SkillsTick()
L_0199: Label18
L_0199: ldarg.0
L_019a: ldfld Verse.Pawn_InventoryTracker inventory
L_019f: brfalse Label19
L_01a4: ldarg.0
L_01a5: ldfld Verse.Pawn_InventoryTracker inventory
L_01aa: callvirt Void InventoryTrackerTick()
L_01af: Label19
L_01af: ldarg.0
L_01b0: ldfld RimWorld.Pawn_DraftController drafter
L_01b5: brfalse Label20
L_01ba: ldarg.0
L_01bb: ldfld RimWorld.Pawn_DraftController drafter
L_01c0: callvirt Void DraftControllerTick()
L_01c5: Label20
L_01c5: ldarg.0
L_01c6: ldfld RimWorld.Pawn_RelationsTracker relations
L_01cb: brfalse Label21
L_01d0: ldarg.0
L_01d1: ldfld RimWorld.Pawn_RelationsTracker relations
L_01d6: callvirt Void RelationsTrackerTick()
L_01db: Label21
L_01db: ldarg.0
L_01dc: call Verse.RaceProperties get_RaceProps()
L_01e1: callvirt Boolean get_Humanlike()
L_01e6: brfalse Label22
L_01eb: ldarg.0
L_01ec: ldfld RimWorld.Pawn_GuestTracker guest
L_01f1: callvirt Void GuestTrackerTick()
L_01f6: Label22
L_01f6: ldarg.0
L_01f7: ldfld Verse.Pawn_AgeTracker ageTracker
L_01fc: callvirt Void AgeTick()
L_0201: ldarg.0
L_0202: ldfld RimWorld.Pawn_RecordsTracker records
L_0207: callvirt Void RecordsTick()
L_020c: Label12
L_020c: Label23
L_020c: ldarg.0
L_020d: call Void Patch_Pawn_Tick(Verse.Pawn)
L_0212: ret
DONE

### Patch Verse.PawnGenerator, Void GenerateGearFor(Verse.Pawn,


PawnGenerationRequest)
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void GenerateStartingApparelFor(Verse.Pawn, PawnGenerationRequest)
L_0007: ldarg.0
L_0008: call Void TryGenerateWeaponFor(Verse.Pawn)
L_000d: ldarg.0
L_000e: ldarg.1
L_000f: call Void GenerateInventoryFor(Verse.Pawn, PawnGenerationRequest)
L_0014: ldarg 0
L_001a: ldarga 1
L_0020: call Void Patch_PawnGenerator_GenerateGearFor(Verse.Pawn,
PawnGenerationRequest ByRef)
L_0025: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ret
DONE

### Patch Verse.Pawn_HealthTracker, Void PreApplyDamage(DamageInfo, Boolean ByRef)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarga 1
L_0007: ldarg 2
L_000d: call Boolean PreApplyDamage_PrePatch(Verse.Pawn_HealthTracker, DamageInfo
ByRef, Boolean ByRef)
L_0012: brfalse Label0
L_0017: ldarg.0
L_0018: ldarga 1
L_001e: ldarg 2
L_0024: call Boolean
Patch_Pawn_HealthTracker_PreApplyDamage(Verse.Pawn_HealthTracker, DamageInfo ByRef,
Boolean ByRef)
L_0029: brfalse Label0
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Instigator()
L_0035: brfalse Label1
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt RimWorld.Faction get_Faction()
L_0045: brfalse Label2
L_004a: ldarg.0
L_004b: ldfld Verse.Pawn pawn
L_0050: callvirt RimWorld.Faction get_Faction()
L_0055: callvirt Boolean get_IsPlayer()
L_005a: brfalse Label3
L_005f: ldarg.0
L_0060: ldfld Verse.Pawn pawn
L_0065: callvirt Boolean get_InAggroMentalState()
L_006a: brtrue Label4
L_006f: ldarga.s 1
L_0071: call Verse.Thing get_Instigator()
L_0076: isinst Verse.Pawn
L_007b: stloc.0
L_007c: ldloc.0
L_007d: brfalse Label5
L_0082: ldloc.0
L_0083: ldfld RimWorld.Pawn_GuiltTracker guilt
L_0088: brfalse Label6
L_008d: ldloc.0
L_008e: ldfld Verse.AI.Pawn_MindState mindState
L_0093: brfalse Label7
L_0098: ldloc.0
L_0099: ldfld RimWorld.Pawn_GuiltTracker guilt
L_009e: callvirt Void Notify_Guilty()
L_00a3: Label1
L_00a3: Label2
L_00a3: Label3
L_00a3: Label4
L_00a3: Label5
L_00a3: Label6
L_00a3: Label7
L_00a3: ldarg.0
L_00a4: ldfld Verse.Pawn pawn
L_00a9: callvirt Boolean get_Spawned()
L_00ae: brfalse Label8
L_00b3: ldarg.0
L_00b4: ldfld Verse.Pawn pawn
L_00b9: callvirt IntVec3 get_Position()
L_00be: ldarg.0
L_00bf: ldfld Verse.Pawn pawn
L_00c4: callvirt Verse.Map get_Map()
L_00c9: call Boolean Fogged(IntVec3, Verse.Map)
L_00ce: brtrue Label9
L_00d3: ldarg.0
L_00d4: ldfld Verse.Pawn pawn
L_00d9: ldfld Verse.AI.Pawn_MindState mindState
L_00de: ldc.i4.1
L_00df: callvirt Void set_Active(Boolean)
L_00e4: Label9
L_00e4: ldarg.0
L_00e5: ldfld Verse.Pawn pawn
L_00ea: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00ef: stloc.1
L_00f0: ldloc.1
L_00f1: brfalse Label10
L_00f6: ldloc.1
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: ldarg.1
L_00fe: callvirt Void Notify_PawnDamaged(Verse.Pawn, DamageInfo)
L_0103: Label10
L_0103: ldarga.s 1
L_0105: call Verse.DamageDef get_Def()
L_010a: ldarg.0
L_010b: ldfld Verse.Pawn pawn
L_0110: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0115: brfalse Label11
L_011a: ldarg.0
L_011b: ldfld Verse.Pawn pawn
L_0120: ldc.r4 18
L_0125: ldsfld Verse.ClamorDef Harm
L_012a: call Void DoClamor(Verse.Thing, Single, Verse.ClamorDef)
L_012f: Label11
L_012f: ldarg.0
L_0130: ldfld Verse.Pawn pawn
L_0135: ldfld Verse.AI.Pawn_JobTracker jobs
L_013a: ldarg.1
L_013b: callvirt Void Notify_DamageTaken(DamageInfo)
L_0140: Label8
L_0140: ldarg.0
L_0141: ldfld Verse.Pawn pawn
L_0146: callvirt RimWorld.Faction get_Faction()
L_014b: brfalse Label12
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: callvirt RimWorld.Faction get_Faction()
L_015b: ldarg.0
L_015c: ldfld Verse.Pawn pawn
L_0161: ldarg.1
L_0162: callvirt Void Notify_MemberTookDamage(Verse.Pawn, DamageInfo)
L_0167: call ProgramState get_ProgramState()
L_016c: ldc.i4.2
L_016d: bne.un Label13
L_0172: ldarg.0
L_0173: ldfld Verse.Pawn pawn
L_0178: callvirt RimWorld.Faction get_Faction()
L_017d: call RimWorld.Faction get_OfPlayer()
L_0182: bne.un Label14
L_0187: ldarga.s 1
L_0189: call Verse.DamageDef get_Def()
L_018e: ldarg.0
L_018f: ldfld Verse.Pawn pawn
L_0194: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0199: brfalse Label15
L_019e: ldarg.0
L_019f: ldfld Verse.Pawn pawn
L_01a4: callvirt Boolean get_SpawnedOrAnyParentSpawned()
L_01a9: brfalse Label16
L_01ae: ldarg.0
L_01af: ldfld Verse.Pawn pawn
L_01b4: callvirt Verse.Map get_MapHeld()
L_01b9: ldfld RimWorld.DangerWatcher dangerWatcher
L_01be: callvirt Void Notify_ColonistHarmedExternally()
L_01c3: Label12
L_01c3: Label13
L_01c3: Label14
L_01c3: Label15
L_01c3: Label16
L_01c3: ldarg.0
L_01c4: ldfld Verse.Pawn pawn
L_01c9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ce: brfalse Label17
L_01d3: ldarg.0
L_01d4: ldfld Verse.Pawn pawn
L_01d9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01de: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_01e3: stloc.2
L_01e4: ldc.i4.0
L_01e5: stloc.3
L_01e6: br Label18
L_01eb: Label20
L_01eb: ldloc.2
L_01ec: ldloc.3
L_01ed: callvirt RimWorld.Apparel get_Item(Int32)
L_01f2: ldarg.1
L_01f3: callvirt Boolean CheckPreAbsorbDamage(DamageInfo)
L_01f8: brfalse Label19
L_01fd: ldarg.2
L_01fe: ldc.i4.1
L_01ff: stind.i1
L_0200: br Label32
L_0205: Label19
L_0205: ldloc.3
L_0206: ldc.i4.1
L_0207: add
L_0208: stloc.3
L_0209: Label18
L_0209: ldloc.3
L_020a: ldloc.2
L_020b: callvirt Int32 get_Count()
L_0210: blt Label20
L_0215: Label17
L_0215: ldarg.0
L_0216: ldfld Verse.Pawn pawn
L_021b: callvirt Boolean get_Spawned()
L_0220: brfalse Label21
L_0225: ldarg.0
L_0226: ldfld Verse.Pawn pawn
L_022b: ldfld Verse.Pawn_StanceTracker stances
L_0230: ldarg.1
L_0231: callvirt Void Notify_DamageTaken(DamageInfo)
L_0236: ldarg.0
L_0237: ldfld Verse.Pawn pawn
L_023c: ldfld Verse.Pawn_StanceTracker stances
L_0241: ldfld RimWorld.StunHandler stunner
L_0246: ldarg.1
L_0247: ldarg.0
L_0248: ldfld Verse.Pawn pawn
L_024d: callvirt Verse.RaceProperties get_RaceProps()
L_0252: callvirt Boolean get_IsFlesh()
L_0257: ldc.i4.0
L_0258: ceq
L_025a: callvirt Void Notify_DamageApplied(DamageInfo, Boolean)
L_025f: Label21
L_025f: ldarg.0
L_0260: ldfld Verse.Pawn pawn
L_0265: callvirt Verse.RaceProperties get_RaceProps()
L_026a: callvirt Boolean get_IsFlesh()
L_026f: brfalse Label22
L_0274: ldarga.s 1
L_0276: call Verse.DamageDef get_Def()
L_027b: ldarg.0
L_027c: ldfld Verse.Pawn pawn
L_0281: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0286: brfalse Label23
L_028b: ldarga.s 1
L_028d: call Verse.Thing get_Instigator()
L_0292: isinst Verse.Pawn
L_0297: stloc.s 4 (Verse.Pawn)
L_0299: ldloc.s 4 (Verse.Pawn)
L_029b: brfalse Label24
L_02a0: ldloc.s 4 (Verse.Pawn)
L_02a2: ldarg.0
L_02a3: ldfld Verse.Pawn pawn
L_02a8: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_02ad: brfalse Label25
L_02b2: ldarg.0
L_02b3: ldfld Verse.Pawn pawn
L_02b8: ldfld RimWorld.Pawn_RelationsTracker relations
L_02bd: ldc.i4.1
L_02be: stfld System.Boolean canGetRescuedThought
L_02c3: Label25
L_02c3: ldarg.0
L_02c4: ldfld Verse.Pawn pawn
L_02c9: callvirt Verse.RaceProperties get_RaceProps()
L_02ce: callvirt Boolean get_Humanlike()
L_02d3: brfalse Label26
L_02d8: ldloc.s 4 (Verse.Pawn)
L_02da: callvirt Verse.RaceProperties get_RaceProps()
L_02df: callvirt Boolean get_Humanlike()
L_02e4: brfalse Label27
L_02e9: ldarg.0
L_02ea: ldfld Verse.Pawn pawn
L_02ef: ldfld RimWorld.Pawn_NeedsTracker needs
L_02f4: ldfld RimWorld.Need_Mood mood
L_02f9: brfalse Label28
L_02fe: ldloc.s 4 (Verse.Pawn)
L_0300: ldarg.0
L_0301: ldfld Verse.Pawn pawn
L_0306: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_030b: brfalse Label29
L_0310: ldloc.s 4 (Verse.Pawn)
L_0312: callvirt RimWorld.Faction get_Faction()
L_0317: ldarg.0
L_0318: ldfld Verse.Pawn pawn
L_031d: callvirt RimWorld.Faction get_Faction()
L_0322: bne.un Label30
L_0327: ldloc.s 4 (Verse.Pawn)
L_0329: callvirt Boolean get_InMentalState()
L_032e: brfalse Label31
L_0333: Label29
L_0333: ldarg.0
L_0334: ldfld Verse.Pawn pawn
L_0339: ldfld RimWorld.Pawn_NeedsTracker needs
L_033e: ldfld RimWorld.Need_Mood mood
L_0343: ldfld RimWorld.ThoughtHandler thoughts
L_0348: ldfld RimWorld.MemoryThoughtHandler memories
L_034d: ldsfld RimWorld.ThoughtDef HarmedMe
L_0352: ldloc.s 4 (Verse.Pawn)
L_0354: callvirt Void TryGainMemory(RimWorld.ThoughtDef, Verse.Pawn)
L_0359: Label24
L_0359: Label26
L_0359: Label27
L_0359: Label28
L_0359: Label30
L_0359: Label31
L_0359: ldsfld RimWorld.TaleDef Wounded
L_035e: ldc.i4.3
L_035f: newarr System.Object
L_0364: dup
L_0365: ldc.i4.0
L_0366: ldarg.0
L_0367: ldfld Verse.Pawn pawn
L_036c: stelem.ref
L_036d: dup
L_036e: ldc.i4.1
L_036f: ldloc.s 4 (Verse.Pawn)
L_0371: stelem.ref
L_0372: dup
L_0373: ldc.i4.2
L_0374: ldarga.s 1
L_0376: call Verse.ThingDef get_Weapon()
L_037b: stelem.ref
L_037c: call RimWorld.Tale RecordTale(RimWorld.TaleDef, System.Object[])
L_0381: pop
L_0382: Label22
L_0382: Label23
L_0382: ldarg.2
L_0383: ldc.i4.0
L_0384: stind.i1
L_0385: Label32
L_0385: Label0
L_0385: ret
DONE

### Patch Verse.Pawn_EquipmentTracker, Void MakeRoomFor(Verse.ThingWithComps)


L_0000: Local var 0: Verse.ThingWithComps
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld Verse.EquipmentType equipmentType
L_000b: ldc.i4.1
L_000c: bne.un Label1
L_0011: ldarg.0
L_0012: call Verse.ThingWithComps get_Primary()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: ldarg.0
L_001e: call Verse.ThingWithComps get_Primary()
L_0023: ldloca.s 0 (Verse.ThingWithComps)
L_0025: ldarg.0
L_0026: ldfld Verse.Pawn pawn
L_002b: callvirt IntVec3 get_Position()
L_0030: ldc.i4.1
L_0031: call Boolean TryDropEquipment(Verse.ThingWithComps, Verse.ThingWithComps
ByRef, IntVec3, Boolean)
L_0036: brfalse Label3
L_003b: ldloc.0
L_003c: brfalse Label4
L_0041: ldloc.0
L_0042: ldc.i4.0
L_0043: ldc.i4.1
L_0044: call Void SetForbidden(Verse.Thing, Boolean, Boolean)
L_0049: Label4
L_0049: br Label5
L_004e: Label3
L_004e: ldarg.0
L_004f: ldfld Verse.Pawn pawn
L_0054: ldstr " couldn't make room for equipment "
L_0059: ldarg.1
L_005a: call System.String Concat(System.Object, System.Object, System.Object)
L_005f: ldc.i4.0
L_0060: call Void Error(System.String, Boolean)
L_0065: Label1
L_0065: Label2
L_0065: Label5
L_0065: ldarg.0
L_0066: ldarga 1
L_006c: call Void
Patch_Pawn_EquipmentTracker_MakeRoomFor(Verse.Pawn_EquipmentTracker,
Verse.ThingWithComps ByRef)
L_0071: ret
DONE

### Patch RimWorld.StatWorker, System.String GetExplanationUnfinalized(StatRequest,


ToStringNumberSense)
L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.SkillNeed
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Single
L_0000: Local var 7: RimWorld.PawnCapacityOffset
L_0000: Local var 8:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityOffset, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Single
L_0000: Local var 11: System.Single
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: Local var 14: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 15: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 16: System.Int32
L_0000: Local var 17: RimWorld.Trait
L_0000: Local var 18: System.String
L_0000: Local var 19: System.Int32
L_0000: Local var 20: RimWorld.Trait
L_0000: Local var 21: System.String
L_0000: Local var 22: System.Int32
L_0000: Local var 23: RimWorld.Apparel
L_0000: Local var 24: System.Boolean
L_0000: Local var 25: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 26: System.Int32
L_0000: Local var 27: Verse.HediffStage
L_0000: Local var 28: System.Single
L_0000: Local var 29: System.Single
L_0000: Local var 30: System.Single
L_0000: Local var 31: System.Single
L_0000: Local var 32: RimWorld.CompAffectedByFacilities
L_0000: Local var 33: System.Int32
L_0000: Local var 34: RimWorld.StatDef
L_0000: Local var 35: System.Int32
L_0000: Local var 36: RimWorld.SkillNeed
L_0000: Local var 37: System.Int32
L_0000: Local var 38: RimWorld.PawnCapacityFactor
L_0000: Local var 39:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityFactor, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 40: System.String
L_0000: Local var 41: System.Single
L_0000: Local var 42: System.String
L_0000: Local var 43: System.String
L_0000: Local var 44: System.Single
L_0000: Local var 45: System.Single
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldarg.0
L_0007: ldarga.s 1
L_0009: call Verse.BuildableDef get_Def()
L_000e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0013: stloc.1
L_0014: ldloc.1
L_0015: ldc.r4 0
L_001a: beq Label1
L_001f: ldloc.0
L_0020: ldstr "StatsReport_BaseValue"
L_0025: call System.String Translate(System.String)
L_002a: ldstr ": "
L_002f: ldarg.0
L_0030: ldfld RimWorld.StatDef stat
L_0035: ldloc.1
L_0036: ldarg.2
L_0037: callvirt System.String ValueToString(Single, ToStringNumberSense)
L_003c: call System.String Concat(System.String, System.String, System.String)
L_0041: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0046: pop
L_0047: ldloc.0
L_0048: callvirt System.Text.StringBuilder AppendLine()
L_004d: pop
L_004e: Label1
L_004e: ldarga.s 1
L_0050: call Verse.Thing get_Thing()
L_0055: isinst Verse.Pawn
L_005a: stloc.2
L_005b: ldloc.2
L_005c: brfalse Label2
L_0061: ldloc.2
L_0062: ldfld RimWorld.Pawn_SkillTracker skills
L_0067: brfalse Label3
L_006c: ldarg.0
L_006d: ldfld RimWorld.StatDef stat
L_0072: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0077: brfalse Label4
L_007c: ldloc.0
L_007d: ldstr "StatsReport_Skills"
L_0082: call System.String Translate(System.String)
L_0087: callvirt System.Text.StringBuilder AppendLine(System.String)
L_008c: pop
L_008d: ldc.i4.0
L_008e: stloc.3
L_008f: br Label5
L_0094: Label6
L_0094: ldarg.0
L_0095: ldfld RimWorld.StatDef stat
L_009a: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_009f: ldloc.3
L_00a0: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00a5: stloc.s 4 (RimWorld.SkillNeed)
L_00a7: ldloc.2
L_00a8: ldfld RimWorld.Pawn_SkillTracker skills
L_00ad: ldloc.s 4 (RimWorld.SkillNeed)
L_00af: ldfld RimWorld.SkillDef skill
L_00b4: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_00b9: callvirt Int32 get_Level()
L_00be: stloc.s 5 (System.Int32)
L_00c0: ldloc.s 4 (RimWorld.SkillNeed)
L_00c2: ldloc.2
L_00c3: callvirt Single ValueFor(Verse.Pawn)
L_00c8: stloc.s 6 (System.Single)
L_00ca: ldloc.0
L_00cb: ldc.i4.7
L_00cc: newarr System.Object
L_00d1: dup
L_00d2: ldc.i4.0
L_00d3: ldstr " "
L_00d8: stelem.ref
L_00d9: dup
L_00da: ldc.i4.1
L_00db: ldloc.s 4 (RimWorld.SkillNeed)
L_00dd: ldfld RimWorld.SkillDef skill
L_00e2: callvirt System.String get_LabelCap()
L_00e7: stelem.ref
L_00e8: dup
L_00e9: ldc.i4.2
L_00ea: ldstr " ("
L_00ef: stelem.ref
L_00f0: dup
L_00f1: ldc.i4.3
L_00f2: ldloc.s 5 (System.Int32)
L_00f4: box System.Int32
L_00f9: stelem.ref
L_00fa: dup
L_00fb: ldc.i4.4
L_00fc: ldstr "): "
L_0101: stelem.ref
L_0102: dup
L_0103: ldc.i4.5
L_0104: ldloc.s 6 (System.Single)
L_0106: call System.String ToStringSign(Single)
L_010b: stelem.ref
L_010c: dup
L_010d: ldc.i4.6
L_010e: ldarg.0
L_010f: ldloc.s 6 (System.Single)
L_0111: ldc.i4.0
L_0112: ldc.i4.1
L_0113: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0118: stelem.ref
L_0119: call System.String Concat(System.Object[])
L_011e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0123: pop
L_0124: ldloc.3
L_0125: ldc.i4.1
L_0126: add
L_0127: stloc.3
L_0128: Label5
L_0128: ldloc.3
L_0129: ldarg.0
L_012a: ldfld RimWorld.StatDef stat
L_012f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0134: callvirt Int32 get_Count()
L_0139: blt Label6
L_013e: ldloc.0
L_013f: callvirt System.Text.StringBuilder AppendLine()
L_0144: pop
L_0145: Label4
L_0145: br Label7
L_014a: Label3
L_014a: ldarg.0
L_014b: ldfld RimWorld.StatDef stat
L_0150: ldfld System.Single noSkillOffset
L_0155: ldc.r4 0
L_015a: beq Label8
L_015f: ldloc.0
L_0160: ldstr "StatsReport_Skills"
L_0165: call System.String Translate(System.String)
L_016a: callvirt System.Text.StringBuilder AppendLine(System.String)
L_016f: pop
L_0170: ldloc.0
L_0171: ldc.i4.5
L_0172: newarr System.String
L_0177: dup
L_0178: ldc.i4.0
L_0179: ldstr " "
L_017e: stelem.ref
L_017f: dup
L_0180: ldc.i4.1
L_0181: ldstr "default"
L_0186: call System.String Translate(System.String)
L_018b: call System.String CapitalizeFirst(System.String)
L_0190: stelem.ref
L_0191: dup
L_0192: ldc.i4.2
L_0193: ldstr " : "
L_0198: stelem.ref
L_0199: dup
L_019a: ldc.i4.3
L_019b: ldarg.0
L_019c: ldfld RimWorld.StatDef stat
L_01a1: ldfld System.Single noSkillOffset
L_01a6: call System.String ToStringSign(Single)
L_01ab: stelem.ref
L_01ac: dup
L_01ad: ldc.i4.4
L_01ae: ldarg.0
L_01af: ldarg.0
L_01b0: ldfld RimWorld.StatDef stat
L_01b5: ldfld System.Single noSkillOffset
L_01ba: ldc.i4.0
L_01bb: ldc.i4.1
L_01bc: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_01c1: stelem.ref
L_01c2: call System.String Concat(System.String[])
L_01c7: callvirt System.Text.StringBuilder AppendLine(System.String)
L_01cc: pop
L_01cd: ldloc.0
L_01ce: callvirt System.Text.StringBuilder AppendLine()
L_01d3: pop
L_01d4: Label7
L_01d4: Label8
L_01d4: ldarg.0
L_01d5: ldfld RimWorld.StatDef stat
L_01da: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_01df: brfalse Label9
L_01e4: ldloc.0
L_01e5: ldstr "StatsReport_Health"
L_01ea: call Boolean CanTranslate(System.String)
L_01ef: brfalse Label10
L_01f4: ldstr "StatsReport_Health"
L_01f9: call System.String Translate(System.String)
L_01fe: br Label11
L_0203: Label10
L_0203: ldstr "StatsReport_HealthFactors"
L_0208: call System.String Translate(System.String)
L_020d: Label11
L_020d: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0212: pop
L_0213: ldarg.0
L_0214: ldfld RimWorld.StatDef stat
L_0219: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_021e: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0223: brtrue Label12
L_0228: ldnull
L_0229: ldftn Int32 <GetExplanationUnfinalized>m__0(RimWorld.PawnCapacityOffset)
L_022f: newobj Void .ctor(Object, IntPtr)
L_0234: stsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0239: Label12
L_0239: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_023e: call IOrderedEnumerable`1 OrderBy[PawnCapacityOffset,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityOffset,System.Int32])
L_0243: callvirt IEnumerator`1 GetEnumerator()
L_0248: stloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
.try
{
L_024a: br Label13
L_024f: Label15
L_024f: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_0251: callvirt RimWorld.PawnCapacityOffset get_Current()
L_0256: stloc.s 7 (RimWorld.PawnCapacityOffset)
L_0258: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_025a: ldfld Verse.PawnCapacityDef capacity
L_025f: ldloc.2
L_0260: callvirt System.String GetLabelFor(Verse.Pawn)
L_0265: call System.String CapitalizeFirst(System.String)
L_026a: stloc.s 9 (System.String)
L_026c: ldloc.2
L_026d: ldfld Verse.Pawn_HealthTracker health
L_0272: ldfld Verse.PawnCapacitiesHandler capacities
L_0277: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0279: ldfld Verse.PawnCapacityDef capacity
L_027e: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0283: stloc.s 10 (System.Single)
L_0285: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0287: ldloc.2
L_0288: ldfld Verse.Pawn_HealthTracker health
L_028d: ldfld Verse.PawnCapacitiesHandler capacities
L_0292: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0294: ldfld Verse.PawnCapacityDef capacity
L_0299: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_029e: callvirt Single GetOffset(Single)
L_02a3: stloc.s 11 (System.Single)
L_02a5: ldarg.0
L_02a6: ldloc.s 11 (System.Single)
L_02a8: ldc.i4.0
L_02a9: ldc.i4.1
L_02aa: call System.String ValueToString(Single, Boolean,
ToStringNumberSense)
L_02af: stloc.s 12 (System.String)
L_02b1: ldloc.s 10 (System.Single)
L_02b3: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02b5: ldfld System.Single max
L_02ba: call Single Min(Single, Single)
L_02bf: call System.String ToStringPercent(Single)
L_02c4: ldstr ", "
L_02c9: ldstr "HealthOffsetScale"
L_02ce: ldc.i4.1
L_02cf: newarr System.Object
L_02d4: dup
L_02d5: ldc.i4.0
L_02d6: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02d8: ldflda System.Single scale
L_02dd: constrained. System.Single
L_02e3: callvirt System.String ToString()
L_02e8: ldstr "x"
L_02ed: call System.String Concat(System.String, System.String)
L_02f2: stelem.ref
L_02f3: call System.String Translate(System.String, System.Object[])
L_02f8: call System.String Concat(System.String, System.String,
System.String)
L_02fd: stloc.s 13 (System.String)
L_02ff: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0301: ldfld System.Single max
L_0306: ldc.r4 999
L_030b: bge.un Label14
L_0310: ldloc.s 13 (System.String)
L_0312: ldstr ", "
L_0317: ldstr "HealthFactorMaxImpact"
L_031c: ldc.i4.1
L_031d: newarr System.Object
L_0322: dup
L_0323: ldc.i4.0
L_0324: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0326: ldfld System.Single max
L_032b: call System.String ToStringPercent(Single)
L_0330: stelem.ref
L_0331: call System.String Translate(System.String, System.Object[])
L_0336: call System.String Concat(System.String, System.String,
System.String)
L_033b: stloc.s 13 (System.String)
L_033d: Label14
L_033d: ldloc.0
L_033e: ldc.i4.8
L_033f: newarr System.String
L_0344: dup
L_0345: ldc.i4.0
L_0346: ldstr " "
L_034b: stelem.ref
L_034c: dup
L_034d: ldc.i4.1
L_034e: ldloc.s 9 (System.String)
L_0350: stelem.ref
L_0351: dup
L_0352: ldc.i4.2
L_0353: ldstr ": "
L_0358: stelem.ref
L_0359: dup
L_035a: ldc.i4.3
L_035b: ldloc.s 11 (System.Single)
L_035d: call System.String ToStringSign(Single)
L_0362: stelem.ref
L_0363: dup
L_0364: ldc.i4.4
L_0365: ldloc.s 12 (System.String)
L_0367: stelem.ref
L_0368: dup
L_0369: ldc.i4.5
L_036a: ldstr " ("
L_036f: stelem.ref
L_0370: dup
L_0371: ldc.i4.6
L_0372: ldloc.s 13 (System.String)
L_0374: stelem.ref
L_0375: dup
L_0376: ldc.i4.7
L_0377: ldstr ")"
L_037c: stelem.ref
L_037d: call System.String Concat(System.String[])
L_0382: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0387: pop
L_0388: Label13
L_0388: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_038a: callvirt Boolean MoveNext()
L_038f: brtrue Label15
L_0394: leave Label16
L_0399: leave (autogenerated)
} // end try
.finally
{
L_039e: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a0: brfalse Label17
L_03a5: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a7: callvirt Void Dispose()
L_03ac: Label17
L_03ac: endfinally
L_03ad: leave (autogenerated)
} // end handler
L_03ae: Label16
L_03ae: ldloc.0
L_03af: callvirt System.Text.StringBuilder AppendLine()
L_03b4: pop
L_03b5: Label9
L_03b5: ldloc.2
L_03b6: callvirt Verse.RaceProperties get_RaceProps()
L_03bb: ldfld Verse.Intelligence intelligence
L_03c0: ldc.i4.1
L_03c1: blt Label18
L_03c6: ldloc.2
L_03c7: ldfld RimWorld.Pawn_StoryTracker story
L_03cc: brfalse Label19
L_03d1: ldloc.2
L_03d2: ldfld RimWorld.Pawn_StoryTracker story
L_03d7: ldfld RimWorld.TraitSet traits
L_03dc: brfalse Label20
L_03e1: ldloc.2
L_03e2: ldfld RimWorld.Pawn_StoryTracker story
L_03e7: ldfld RimWorld.TraitSet traits
L_03ec: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_03f1: ldarg.0
L_03f2: ldftn Boolean <GetExplanationUnfinalized>m__1(RimWorld.Trait)
L_03f8: newobj Void .ctor(Object, IntPtr)
L_03fd: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_0402: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_0407: stloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0409: ldloc.2
L_040a: ldfld RimWorld.Pawn_StoryTracker story
L_040f: ldfld RimWorld.TraitSet traits
L_0414: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0419: ldarg.0
L_041a: ldftn Boolean <GetExplanationUnfinalized>m__2(RimWorld.Trait)
L_0420: newobj Void .ctor(Object, IntPtr)
L_0425: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_042a: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_042f: stloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0431: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0433: callvirt Int32 get_Count()
L_0438: ldc.i4.0
L_0439: bgt Label21
L_043e: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0440: callvirt Int32 get_Count()
L_0445: ldc.i4.0
L_0446: ble Label22
L_044b: Label21
L_044b: ldloc.0
L_044c: ldstr "StatsReport_RelevantTraits"
L_0451: call System.String Translate(System.String)
L_0456: callvirt System.Text.StringBuilder AppendLine(System.String)
L_045b: pop
L_045c: ldc.i4.0
L_045d: stloc.s 16 (System.Int32)
L_045f: br Label23
L_0464: Label24
L_0464: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0466: ldloc.s 16 (System.Int32)
L_0468: callvirt RimWorld.Trait get_Item(Int32)
L_046d: stloc.s 17 (RimWorld.Trait)
L_046f: ldloc.s 17 (RimWorld.Trait)
L_0471: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_0476: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_047b: ldarg.0
L_047c: ldftn Boolean <GetExplanationUnfinalized>m__3(RimWorld.StatModifier)
L_0482: newobj Void .ctor(Object, IntPtr)
L_0487: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_048c: callvirt System.String get_ValueToStringAsOffset()
L_0491: stloc.s 18 (System.String)
L_0493: ldloc.0
L_0494: ldstr " "
L_0499: ldloc.s 17 (RimWorld.Trait)
L_049b: callvirt System.String get_LabelCap()
L_04a0: ldstr ": "
L_04a5: ldloc.s 18 (System.String)
L_04a7: call System.String Concat(System.String, System.String, System.String,
System.String)
L_04ac: callvirt System.Text.StringBuilder AppendLine(System.String)
L_04b1: pop
L_04b2: ldloc.s 16 (System.Int32)
L_04b4: ldc.i4.1
L_04b5: add
L_04b6: stloc.s 16 (System.Int32)
L_04b8: Label23
L_04b8: ldloc.s 16 (System.Int32)
L_04ba: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04bc: callvirt Int32 get_Count()
L_04c1: blt Label24
L_04c6: ldc.i4.0
L_04c7: stloc.s 19 (System.Int32)
L_04c9: br Label25
L_04ce: Label26
L_04ce: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04d0: ldloc.s 19 (System.Int32)
L_04d2: callvirt RimWorld.Trait get_Item(Int32)
L_04d7: stloc.s 20 (RimWorld.Trait)
L_04d9: ldloc.s 20 (RimWorld.Trait)
L_04db: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_04e0: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_04e5: ldarg.0
L_04e6: ldftn Boolean <GetExplanationUnfinalized>m__4(RimWorld.StatModifier)
L_04ec: newobj Void .ctor(Object, IntPtr)
L_04f1: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_04f6: callvirt System.String get_ToStringAsFactor()
L_04fb: stloc.s 21 (System.String)
L_04fd: ldloc.0
L_04fe: ldstr " "
L_0503: ldloc.s 20 (RimWorld.Trait)
L_0505: callvirt System.String get_LabelCap()
L_050a: ldstr ": "
L_050f: ldloc.s 21 (System.String)
L_0511: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0516: callvirt System.Text.StringBuilder AppendLine(System.String)
L_051b: pop
L_051c: ldloc.s 19 (System.Int32)
L_051e: ldc.i4.1
L_051f: add
L_0520: stloc.s 19 (System.Int32)
L_0522: Label25
L_0522: ldloc.s 19 (System.Int32)
L_0524: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0526: callvirt Int32 get_Count()
L_052b: blt Label26
L_0530: ldloc.0
L_0531: callvirt System.Text.StringBuilder AppendLine()
L_0536: pop
L_0537: Label19
L_0537: Label20
L_0537: Label22
L_0537: ldloc.2
L_0538: ldarg.0
L_0539: ldfld RimWorld.StatDef stat
L_053e: call IEnumerable`1 RelevantGear(Verse.Pawn, RimWorld.StatDef)
L_0543: call Boolean Any[Thing](IEnumerable`1)
L_0548: brfalse Label27
L_054d: ldloc.0
L_054e: ldstr "StatsReport_RelevantGear"
L_0553: call System.String Translate(System.String)
L_0558: callvirt System.Text.StringBuilder AppendLine(System.String)
L_055d: pop
L_055e: ldloc.2
L_055f: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0564: brfalse Label28
L_0569: ldc.i4.0
L_056a: stloc.s 22 (System.Int32)
L_056c: br Label29
L_0571: Label30
L_0571: ldloc.2
L_0572: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0577: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_057c: ldloc.s 22 (System.Int32)
L_057e: callvirt RimWorld.Apparel get_Item(Int32)
L_0583: stloc.s 23 (RimWorld.Apparel)
L_0585: ldloc.0
L_0586: ldloc.s 23 (RimWorld.Apparel)
L_0588: ldarg.0
L_0589: ldfld RimWorld.StatDef stat
L_058e: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_0593: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0598: pop
L_0599: ldloc.s 22 (System.Int32)
L_059b: ldc.i4.1
L_059c: add
L_059d: stloc.s 22 (System.Int32)
L_059f: Label29
L_059f: ldloc.s 22 (System.Int32)
L_05a1: ldloc.2
L_05a2: ldfld RimWorld.Pawn_ApparelTracker apparel
L_05a7: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_05ac: callvirt Int32 get_Count()
L_05b1: blt Label30
L_05b6: Label28
L_05b6: ldloc.2
L_05b7: ldfld Verse.Pawn_EquipmentTracker equipment
L_05bc: brfalse Label31
L_05c1: ldloc.2
L_05c2: ldfld Verse.Pawn_EquipmentTracker equipment
L_05c7: callvirt Verse.ThingWithComps get_Primary()
L_05cc: brfalse Label32
L_05d1: ldloc.0
L_05d2: ldloc.2
L_05d3: ldfld Verse.Pawn_EquipmentTracker equipment
L_05d8: callvirt Verse.ThingWithComps get_Primary()
L_05dd: ldarg.0
L_05de: ldfld RimWorld.StatDef stat
L_05e3: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_05e8: callvirt System.Text.StringBuilder AppendLine(System.String)
L_05ed: pop
L_05ee: ldloc.0
L_05ef: ldloc.2
L_05f0: ldarg.0
L_05f1: ldfld RimWorld.StatDef stat
L_05f6: call Void StatWorkerInjection_BuildShieldString(System.Text.StringBuilder,
Verse.Pawn, RimWorld.StatDef)
L_05fb: Label31
L_05fb: Label32
L_05fb: ldloc.0
L_05fc: callvirt System.Text.StringBuilder AppendLine()
L_0601: pop
L_0602: Label18
L_0602: Label27
L_0602: ldc.i4.0
L_0603: stloc.s 24 (System.Boolean)
L_0605: ldloc.2
L_0606: ldfld Verse.Pawn_HealthTracker health
L_060b: ldfld Verse.HediffSet hediffSet
L_0610: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0615: stloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0617: ldc.i4.0
L_0618: stloc.s 26 (System.Int32)
L_061a: br Label33
L_061f: Label37
L_061f: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0621: ldloc.s 26 (System.Int32)
L_0623: callvirt Verse.Hediff get_Item(Int32)
L_0628: callvirt Verse.HediffStage get_CurStage()
L_062d: stloc.s 27 (Verse.HediffStage)
L_062f: ldloc.s 27 (Verse.HediffStage)
L_0631: brfalse Label34
L_0636: ldloc.s 27 (Verse.HediffStage)
L_0638: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_063d: ldarg.0
L_063e: ldfld RimWorld.StatDef stat
L_0643: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0648: stloc.s 28 (System.Single)
L_064a: ldloc.s 28 (System.Single)
L_064c: ldc.r4 0
L_0651: beq Label35
L_0656: ldloc.s 24 (System.Boolean)
L_0658: brtrue Label36
L_065d: ldloc.0
L_065e: ldstr "StatsReport_RelevantHediffs"
L_0663: call System.String Translate(System.String)
L_0668: callvirt System.Text.StringBuilder AppendLine(System.String)
L_066d: pop
L_066e: ldc.i4.1
L_066f: stloc.s 24 (System.Boolean)
L_0671: Label36
L_0671: ldloc.0
L_0672: ldstr " "
L_0677: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0679: ldloc.s 26 (System.Int32)
L_067b: callvirt Verse.Hediff get_Item(Int32)
L_0680: callvirt System.String get_LabelBase()
L_0685: call System.String CapitalizeFirst(System.String)
L_068a: ldstr ": "
L_068f: ldarg.0
L_0690: ldloc.s 28 (System.Single)
L_0692: ldc.i4.0
L_0693: ldc.i4.3
L_0694: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0699: call System.String Concat(System.String, System.String, System.String,
System.String)
L_069e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_06a3: pop
L_06a4: ldloc.0
L_06a5: callvirt System.Text.StringBuilder AppendLine()
L_06aa: pop
L_06ab: Label34
L_06ab: Label35
L_06ab: ldloc.s 26 (System.Int32)
L_06ad: ldc.i4.1
L_06ae: add
L_06af: stloc.s 26 (System.Int32)
L_06b1: Label33
L_06b1: ldloc.s 26 (System.Int32)
L_06b3: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_06b5: callvirt Int32 get_Count()
L_06ba: blt Label37
L_06bf: ldloc.2
L_06c0: ldfld Verse.Pawn_AgeTracker ageTracker
L_06c5: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_06ca: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_06cf: ldarg.0
L_06d0: ldfld RimWorld.StatDef stat
L_06d5: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_06da: stloc.s 29 (System.Single)
L_06dc: ldloc.s 29 (System.Single)
L_06de: ldc.r4 1
L_06e3: beq Label38
L_06e8: ldloc.0
L_06e9: ldc.i4.5
L_06ea: newarr System.String
L_06ef: dup
L_06f0: ldc.i4.0
L_06f1: ldstr "StatsReport_LifeStage"
L_06f6: call System.String Translate(System.String)
L_06fb: stelem.ref
L_06fc: dup
L_06fd: ldc.i4.1
L_06fe: ldstr " ("
L_0703: stelem.ref
L_0704: dup
L_0705: ldc.i4.2
L_0706: ldloc.2
L_0707: ldfld Verse.Pawn_AgeTracker ageTracker
L_070c: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_0711: ldfld System.String label
L_0716: stelem.ref
L_0717: dup
L_0718: ldc.i4.3
L_0719: ldstr "): "
L_071e: stelem.ref
L_071f: dup
L_0720: ldc.i4.4
L_0721: ldloc.s 29 (System.Single)
L_0723: ldc.i4.8
L_0724: ldc.i4.2
L_0725: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_072a: stelem.ref
L_072b: call System.String Concat(System.String[])
L_0730: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0735: pop
L_0736: ldloc.0
L_0737: callvirt System.Text.StringBuilder AppendLine()
L_073c: pop
L_073d: Label2
L_073d: Label38
L_073d: ldarga.s 1
L_073f: call Verse.ThingDef get_StuffDef()
L_0744: brfalse Label39
L_0749: ldloc.1
L_074a: ldc.r4 0
L_074f: bgt Label40
L_0754: ldarg.0
L_0755: ldfld RimWorld.StatDef stat
L_075a: ldfld System.Boolean applyFactorsIfNegative
L_075f: brfalse Label41
L_0764: Label40
L_0764: ldarga.s 1
L_0766: call Verse.ThingDef get_StuffDef()
L_076b: ldfld Verse.StuffProperties stuffProps
L_0770: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0775: ldarg.0
L_0776: ldfld RimWorld.StatDef stat
L_077b: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0780: stloc.s 30 (System.Single)
L_0782: ldloc.s 30 (System.Single)
L_0784: ldc.r4 1
L_0789: beq Label42
L_078e: ldloc.0
L_078f: ldc.i4.5
L_0790: newarr System.String
L_0795: dup
L_0796: ldc.i4.0
L_0797: ldstr "StatsReport_Material"
L_079c: call System.String Translate(System.String)
L_07a1: stelem.ref
L_07a2: dup
L_07a3: ldc.i4.1
L_07a4: ldstr " ("
L_07a9: stelem.ref
L_07aa: dup
L_07ab: ldc.i4.2
L_07ac: ldarga.s 1
L_07ae: call Verse.ThingDef get_StuffDef()
L_07b3: callvirt System.String get_LabelCap()
L_07b8: stelem.ref
L_07b9: dup
L_07ba: ldc.i4.3
L_07bb: ldstr "): "
L_07c0: stelem.ref
L_07c1: dup
L_07c2: ldc.i4.4
L_07c3: ldloc.s 30 (System.Single)
L_07c5: ldc.i4.8
L_07c6: ldc.i4.2
L_07c7: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_07cc: stelem.ref
L_07cd: call System.String Concat(System.String[])
L_07d2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_07d7: pop
L_07d8: ldloc.0
L_07d9: callvirt System.Text.StringBuilder AppendLine()
L_07de: pop
L_07df: Label41
L_07df: Label42
L_07df: ldarga.s 1
L_07e1: call Verse.ThingDef get_StuffDef()
L_07e6: ldfld Verse.StuffProperties stuffProps
L_07eb: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_07f0: ldarg.0
L_07f1: ldfld RimWorld.StatDef stat
L_07f6: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_07fb: stloc.s 31 (System.Single)
L_07fd: ldloc.s 31 (System.Single)
L_07ff: ldc.r4 0
L_0804: beq Label43
L_0809: ldloc.0
L_080a: ldc.i4.5
L_080b: newarr System.String
L_0810: dup
L_0811: ldc.i4.0
L_0812: ldstr "StatsReport_Material"
L_0817: call System.String Translate(System.String)
L_081c: stelem.ref
L_081d: dup
L_081e: ldc.i4.1
L_081f: ldstr " ("
L_0824: stelem.ref
L_0825: dup
L_0826: ldc.i4.2
L_0827: ldarga.s 1
L_0829: call Verse.ThingDef get_StuffDef()
L_082e: callvirt System.String get_LabelCap()
L_0833: stelem.ref
L_0834: dup
L_0835: ldc.i4.3
L_0836: ldstr "): "
L_083b: stelem.ref
L_083c: dup
L_083d: ldc.i4.4
L_083e: ldloc.s 31 (System.Single)
L_0840: ldarg.0
L_0841: ldfld RimWorld.StatDef stat
L_0846: ldfld Verse.ToStringStyle toStringStyle
L_084b: ldc.i4.3
L_084c: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0851: stelem.ref
L_0852: call System.String Concat(System.String[])
L_0857: callvirt System.Text.StringBuilder AppendLine(System.String)
L_085c: pop
L_085d: ldloc.0
L_085e: callvirt System.Text.StringBuilder AppendLine()
L_0863: pop
L_0864: Label39
L_0864: Label43
L_0864: ldarga.s 1
L_0866: call Verse.Thing get_Thing()
L_086b: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0870: stloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0872: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0874: brfalse Label44
L_0879: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_087b: ldarg.0
L_087c: ldfld RimWorld.StatDef stat
L_0881: ldloc.0
L_0882: callvirt Void GetStatsExplanation(RimWorld.StatDef,
System.Text.StringBuilder)
L_0887: Label44
L_0887: ldarg.0
L_0888: ldfld RimWorld.StatDef stat
L_088d: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0892: brfalse Label45
L_0897: ldloc.0
L_0898: ldstr "StatsReport_OtherStats"
L_089d: call System.String Translate(System.String)
L_08a2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08a7: pop
L_08a8: ldc.i4.0
L_08a9: stloc.s 33 (System.Int32)
L_08ab: br Label46
L_08b0: Label47
L_08b0: ldarg.0
L_08b1: ldfld RimWorld.StatDef stat
L_08b6: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_08bb: ldloc.s 33 (System.Int32)
L_08bd: callvirt RimWorld.StatDef get_Item(Int32)
L_08c2: stloc.s 34 (RimWorld.StatDef)
L_08c4: ldloc.0
L_08c5: ldstr " "
L_08ca: ldloc.s 34 (RimWorld.StatDef)
L_08cc: callvirt System.String get_LabelCap()
L_08d1: ldstr ": x"
L_08d6: ldloc.s 34 (RimWorld.StatDef)
L_08d8: callvirt RimWorld.StatWorker get_Worker()
L_08dd: ldarg.1
L_08de: ldc.i4.1
L_08df: callvirt Single GetValue(StatRequest, Boolean)
L_08e4: call System.String ToStringPercent(Single)
L_08e9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_08ee: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08f3: pop
L_08f4: ldloc.s 33 (System.Int32)
L_08f6: ldc.i4.1
L_08f7: add
L_08f8: stloc.s 33 (System.Int32)
L_08fa: Label46
L_08fa: ldloc.s 33 (System.Int32)
L_08fc: ldarg.0
L_08fd: ldfld RimWorld.StatDef stat
L_0902: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0907: callvirt Int32 get_Count()
L_090c: blt Label47
L_0911: ldloc.0
L_0912: callvirt System.Text.StringBuilder AppendLine()
L_0917: pop
L_0918: Label45
L_0918: ldloc.2
L_0919: brfalse Label48
L_091e: ldloc.2
L_091f: ldfld RimWorld.Pawn_SkillTracker skills
L_0924: brfalse Label49
L_0929: ldarg.0
L_092a: ldfld RimWorld.StatDef stat
L_092f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0934: brfalse Label50
L_0939: ldloc.0
L_093a: ldstr "StatsReport_Skills"
L_093f: call System.String Translate(System.String)
L_0944: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0949: pop
L_094a: ldc.i4.0
L_094b: stloc.s 35 (System.Int32)
L_094d: br Label51
L_0952: Label52
L_0952: ldarg.0
L_0953: ldfld RimWorld.StatDef stat
L_0958: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_095d: ldloc.s 35 (System.Int32)
L_095f: callvirt RimWorld.SkillNeed get_Item(Int32)
L_0964: stloc.s 36 (RimWorld.SkillNeed)
L_0966: ldloc.2
L_0967: ldfld RimWorld.Pawn_SkillTracker skills
L_096c: ldloc.s 36 (RimWorld.SkillNeed)
L_096e: ldfld RimWorld.SkillDef skill
L_0973: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_0978: callvirt Int32 get_Level()
L_097d: stloc.s 37 (System.Int32)
L_097f: ldloc.0
L_0980: ldc.i4.6
L_0981: newarr System.Object
L_0986: dup
L_0987: ldc.i4.0
L_0988: ldstr " "
L_098d: stelem.ref
L_098e: dup
L_098f: ldc.i4.1
L_0990: ldloc.s 36 (RimWorld.SkillNeed)
L_0992: ldfld RimWorld.SkillDef skill
L_0997: callvirt System.String get_LabelCap()
L_099c: stelem.ref
L_099d: dup
L_099e: ldc.i4.2
L_099f: ldstr " ("
L_09a4: stelem.ref
L_09a5: dup
L_09a6: ldc.i4.3
L_09a7: ldloc.s 37 (System.Int32)
L_09a9: box System.Int32
L_09ae: stelem.ref
L_09af: dup
L_09b0: ldc.i4.4
L_09b1: ldstr "): x"
L_09b6: stelem.ref
L_09b7: dup
L_09b8: ldc.i4.5
L_09b9: ldloc.s 36 (RimWorld.SkillNeed)
L_09bb: ldloc.2
L_09bc: callvirt Single ValueFor(Verse.Pawn)
L_09c1: call System.String ToStringPercent(Single)
L_09c6: stelem.ref
L_09c7: call System.String Concat(System.Object[])
L_09cc: callvirt System.Text.StringBuilder AppendLine(System.String)
L_09d1: pop
L_09d2: ldloc.s 35 (System.Int32)
L_09d4: ldc.i4.1
L_09d5: add
L_09d6: stloc.s 35 (System.Int32)
L_09d8: Label51
L_09d8: ldloc.s 35 (System.Int32)
L_09da: ldarg.0
L_09db: ldfld RimWorld.StatDef stat
L_09e0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_09e5: callvirt Int32 get_Count()
L_09ea: blt Label52
L_09ef: ldloc.0
L_09f0: callvirt System.Text.StringBuilder AppendLine()
L_09f5: pop
L_09f6: Label50
L_09f6: br Label53
L_09fb: Label49
L_09fb: ldarg.0
L_09fc: ldfld RimWorld.StatDef stat
L_0a01: ldfld System.Single noSkillFactor
L_0a06: ldc.r4 1
L_0a0b: beq Label54
L_0a10: ldloc.0
L_0a11: ldstr "StatsReport_Skills"
L_0a16: call System.String Translate(System.String)
L_0a1b: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a20: pop
L_0a21: ldloc.0
L_0a22: ldstr " "
L_0a27: ldstr "default"
L_0a2c: call System.String Translate(System.String)
L_0a31: call System.String CapitalizeFirst(System.String)
L_0a36: ldstr " : x"
L_0a3b: ldarg.0
L_0a3c: ldfld RimWorld.StatDef stat
L_0a41: ldfld System.Single noSkillFactor
L_0a46: call System.String ToStringPercent(Single)
L_0a4b: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0a50: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a55: pop
L_0a56: ldloc.0
L_0a57: callvirt System.Text.StringBuilder AppendLine()
L_0a5c: pop
L_0a5d: Label53
L_0a5d: Label54
L_0a5d: ldarg.0
L_0a5e: ldfld RimWorld.StatDef stat
L_0a63: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0a68: brfalse Label55
L_0a6d: ldloc.0
L_0a6e: ldstr "StatsReport_Health"
L_0a73: call Boolean CanTranslate(System.String)
L_0a78: brfalse Label56
L_0a7d: ldstr "StatsReport_Health"
L_0a82: call System.String Translate(System.String)
L_0a87: br Label57
L_0a8c: Label56
L_0a8c: ldstr "StatsReport_HealthFactors"
L_0a91: call System.String Translate(System.String)
L_0a96: Label57
L_0a96: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a9b: pop
L_0a9c: ldarg.0
L_0a9d: ldfld RimWorld.StatDef stat
L_0aa2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0aa7: brfalse Label58
L_0aac: ldarg.0
L_0aad: ldfld RimWorld.StatDef stat
L_0ab2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0ab7: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0abc: brtrue Label59
L_0ac1: ldnull
L_0ac2: ldftn Int32 <GetExplanationUnfinalized>m__5(RimWorld.PawnCapacityFactor)
L_0ac8: newobj Void .ctor(Object, IntPtr)
L_0acd: stsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad2: Label59
L_0ad2: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad7: call IOrderedEnumerable`1 OrderBy[PawnCapacityFactor,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityFactor,System.Int32])
L_0adc: callvirt IEnumerator`1 GetEnumerator()
L_0ae1: stloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
.try
{
L_0ae3: br Label60
L_0ae8: Label63
L_0ae8: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0aea: callvirt RimWorld.PawnCapacityFactor get_Current()
L_0aef: stloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af1: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af3: ldfld Verse.PawnCapacityDef capacity
L_0af8: ldloc.2
L_0af9: callvirt System.String GetLabelFor(Verse.Pawn)
L_0afe: call System.String CapitalizeFirst(System.String)
L_0b03: stloc.s 40 (System.String)
L_0b05: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b07: ldloc.2
L_0b08: ldfld Verse.Pawn_HealthTracker health
L_0b0d: ldfld Verse.PawnCapacitiesHandler capacities
L_0b12: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b14: ldfld Verse.PawnCapacityDef capacity
L_0b19: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0b1e: callvirt Single GetFactor(Single)
L_0b23: stloc.s 41 (System.Single)
L_0b25: ldloc.s 41 (System.Single)
L_0b27: call System.String ToStringPercent(Single)
L_0b2c: stloc.s 42 (System.String)
L_0b2e: ldstr "HealthFactorPercentImpact"
L_0b33: ldc.i4.1
L_0b34: newarr System.Object
L_0b39: dup
L_0b3a: ldc.i4.0
L_0b3b: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b3d: ldfld System.Single weight
L_0b42: call System.String ToStringPercent(Single)
L_0b47: stelem.ref
L_0b48: call System.String Translate(System.String, System.Object[])
L_0b4d: stloc.s 43 (System.String)
L_0b4f: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b51: ldfld System.Single max
L_0b56: ldc.r4 999
L_0b5b: bge.un Label61
L_0b60: ldloc.s 43 (System.String)
L_0b62: ldstr ", "
L_0b67: ldstr "HealthFactorMaxImpact"
L_0b6c: ldc.i4.1
L_0b6d: newarr System.Object
L_0b72: dup
L_0b73: ldc.i4.0
L_0b74: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b76: ldfld System.Single max
L_0b7b: call System.String ToStringPercent(Single)
L_0b80: stelem.ref
L_0b81: call System.String Translate(System.String, System.Object[])
L_0b86: call System.String Concat(System.String, System.String,
System.String)
L_0b8b: stloc.s 43 (System.String)
L_0b8d: Label61
L_0b8d: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b8f: ldfld System.Single allowedDefect
L_0b94: ldc.r4 0
L_0b99: beq Label62
L_0b9e: ldloc.s 43 (System.String)
L_0ba0: ldstr ", "
L_0ba5: ldstr "HealthFactorAllowedDefect"
L_0baa: ldc.i4.1
L_0bab: newarr System.Object
L_0bb0: dup
L_0bb1: ldc.i4.0
L_0bb2: ldc.r4 1
L_0bb7: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0bb9: ldfld System.Single allowedDefect
L_0bbe: sub
L_0bbf: call System.String ToStringPercent(Single)
L_0bc4: stelem.ref
L_0bc5: call System.String Translate(System.String, System.Object[])
L_0bca: call System.String Concat(System.String, System.String,
System.String)
L_0bcf: stloc.s 43 (System.String)
L_0bd1: Label62
L_0bd1: ldloc.0
L_0bd2: ldc.i4.7
L_0bd3: newarr System.String
L_0bd8: dup
L_0bd9: ldc.i4.0
L_0bda: ldstr " "
L_0bdf: stelem.ref
L_0be0: dup
L_0be1: ldc.i4.1
L_0be2: ldloc.s 40 (System.String)
L_0be4: stelem.ref
L_0be5: dup
L_0be6: ldc.i4.2
L_0be7: ldstr ": x"
L_0bec: stelem.ref
L_0bed: dup
L_0bee: ldc.i4.3
L_0bef: ldloc.s 42 (System.String)
L_0bf1: stelem.ref
L_0bf2: dup
L_0bf3: ldc.i4.4
L_0bf4: ldstr " ("
L_0bf9: stelem.ref
L_0bfa: dup
L_0bfb: ldc.i4.5
L_0bfc: ldloc.s 43 (System.String)
L_0bfe: stelem.ref
L_0bff: dup
L_0c00: ldc.i4.6
L_0c01: ldstr ")"
L_0c06: stelem.ref
L_0c07: call System.String Concat(System.String[])
L_0c0c: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0c11: pop
L_0c12: Label60
L_0c12: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c14: callvirt Boolean MoveNext()
L_0c19: brtrue Label63
L_0c1e: leave Label64
L_0c23: leave (autogenerated)
} // end try
.finally
{
L_0c28: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c2a: brfalse Label65
L_0c2f: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c31: callvirt Void Dispose()
L_0c36: Label65
L_0c36: endfinally
L_0c37: leave (autogenerated)
} // end handler
L_0c38: Label58
L_0c38: Label64
L_0c38: ldloc.0
L_0c39: callvirt System.Text.StringBuilder AppendLine()
L_0c3e: pop
L_0c3f: Label55
L_0c3f: ldloc.2
L_0c40: callvirt Boolean get_Inspired()
L_0c45: brfalse Label66
L_0c4a: ldloc.2
L_0c4b: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0c50: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_0c55: ldarg.0
L_0c56: ldfld RimWorld.StatDef stat
L_0c5b: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0c60: stloc.s 44 (System.Single)
L_0c62: ldloc.s 44 (System.Single)
L_0c64: ldc.r4 0
L_0c69: beq Label67
L_0c6e: ldloc.0
L_0c6f: ldstr "StatsReport_Inspiration"
L_0c74: ldc.i4.1
L_0c75: newarr System.Object
L_0c7a: dup
L_0c7b: ldc.i4.0
L_0c7c: ldloc.2
L_0c7d: callvirt RimWorld.Inspiration get_Inspiration()
L_0c82: ldfld RimWorld.InspirationDef def
L_0c87: callvirt System.String get_LabelCap()
L_0c8c: stelem.ref
L_0c8d: call System.String Translate(System.String, System.Object[])
L_0c92: ldstr ": "
L_0c97: ldarg.0
L_0c98: ldloc.s 44 (System.Single)
L_0c9a: ldc.i4.0
L_0c9b: ldc.i4.3
L_0c9c: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0ca1: call System.String Concat(System.String, System.String, System.String)
L_0ca6: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0cab: pop
L_0cac: ldloc.0
L_0cad: callvirt System.Text.StringBuilder AppendLine()
L_0cb2: pop
L_0cb3: Label67
L_0cb3: ldloc.2
L_0cb4: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0cb9: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0cbe: ldarg.0
L_0cbf: ldfld RimWorld.StatDef stat
L_0cc4: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0cc9: stloc.s 45 (System.Single)
L_0ccb: ldloc.s 45 (System.Single)
L_0ccd: ldc.r4 1
L_0cd2: beq Label68
L_0cd7: ldloc.0
L_0cd8: ldstr "StatsReport_Inspiration"
L_0cdd: ldc.i4.1
L_0cde: newarr System.Object
L_0ce3: dup
L_0ce4: ldc.i4.0
L_0ce5: ldloc.2
L_0ce6: callvirt RimWorld.Inspiration get_Inspiration()
L_0ceb: ldfld RimWorld.InspirationDef def
L_0cf0: callvirt System.String get_LabelCap()
L_0cf5: stelem.ref
L_0cf6: call System.String Translate(System.String, System.Object[])
L_0cfb: ldstr ": "
L_0d00: ldloc.s 45 (System.Single)
L_0d02: ldc.i4.8
L_0d03: ldc.i4.2
L_0d04: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0d09: call System.String Concat(System.String, System.String, System.String)
L_0d0e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0d13: pop
L_0d14: ldloc.0
L_0d15: callvirt System.Text.StringBuilder AppendLine()
L_0d1a: pop
L_0d1b: Label48
L_0d1b: Label66
L_0d1b: Label68
L_0d1b: ldloc.0
L_0d1c: callvirt System.String ToString()
L_0d21: call System.String TrimEndNewlines(System.String)
L_0d26: ret
DONE

### Patch RimWorld.StatWorker, Single GetValueUnfinalized(StatRequest, Boolean)


L_0000: Local var 0: System.Single
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.PawnCapacityOffset
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.HediffStage
L_0000: Local var 9: System.Int32
L_0000: Local var 10: System.Int32
L_0000: Local var 11: RimWorld.CompAffectedByFacilities
L_0000: Local var 12: System.Int32
L_0000: Local var 13: System.Int32
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.PawnCapacityFactor
L_0000: Local var 16: System.Single
L_0000: Local var 17: System.Single
L_0000: ldc.r4 0
L_0005: stloc 17 (System.Single)
L_0007: call Boolean get_DevMode()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldarga.s 1
L_0014: call Verse.Thing get_Thing()
L_0019: callvirt Boolean IsDisabledFor(Verse.Thing)
L_001e: brfalse Label2
L_0023: ldstr "Attempted to calculate value for disabled stat {0}; this is meant as
a consistency check, either set the stat to neverDisabled or ensure this pawn
cannot accidentally use this stat (thing={1})"
L_0028: ldarg.0
L_0029: ldfld RimWorld.StatDef stat
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Thing()
L_0035: call System.String ToStringSafe[Thing](Verse.Thing)
L_003a: call System.String Format(System.String, System.Object, System.Object)
L_003f: ldc.i4 75193282
L_0044: ldarg.0
L_0045: ldfld RimWorld.StatDef stat
L_004a: ldfld System.UInt16 index
L_004f: add
L_0050: ldc.i4.0
L_0051: call Void ErrorOnce(System.String, Int32, Boolean)
L_0056: Label1
L_0056: Label2
L_0056: ldarg.0
L_0057: ldarga.s 1
L_0059: call Verse.BuildableDef get_Def()
L_005e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0063: stloc.0
L_0064: ldarga.s 1
L_0066: call Verse.Thing get_Thing()
L_006b: isinst Verse.Pawn
L_0070: stloc.1
L_0071: ldloc.1
L_0072: brfalse Label3
L_0077: ldloc.1
L_0078: ldfld RimWorld.Pawn_SkillTracker skills
L_007d: brfalse Label4
L_0082: ldarg.0
L_0083: ldfld RimWorld.StatDef stat
L_0088: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_008d: brfalse Label5
L_0092: ldc.i4.0
L_0093: stloc.2
L_0094: br Label6
L_0099: Label7
L_0099: ldloc.0
L_009a: ldarg.0
L_009b: ldfld RimWorld.StatDef stat
L_00a0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00a5: ldloc.2
L_00a6: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00ab: ldloc.1
L_00ac: callvirt Single ValueFor(Verse.Pawn)
L_00b1: add
L_00b2: stloc.0
L_00b3: ldloc.2
L_00b4: ldc.i4.1
L_00b5: add
L_00b6: stloc.2
L_00b7: Label6
L_00b7: ldloc.2
L_00b8: ldarg.0
L_00b9: ldfld RimWorld.StatDef stat
L_00be: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00c3: callvirt Int32 get_Count()
L_00c8: blt Label7
L_00cd: Label5
L_00cd: br Label8
L_00d2: Label4
L_00d2: ldloc.0
L_00d3: ldarg.0
L_00d4: ldfld RimWorld.StatDef stat
L_00d9: ldfld System.Single noSkillOffset
L_00de: add
L_00df: stloc.0
L_00e0: Label8
L_00e0: ldarg.0
L_00e1: ldfld RimWorld.StatDef stat
L_00e6: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_00eb: brfalse Label9
L_00f0: ldc.i4.0
L_00f1: stloc.3
L_00f2: br Label10
L_00f7: Label11
L_00f7: ldarg.0
L_00f8: ldfld RimWorld.StatDef stat
L_00fd: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_0102: ldloc.3
L_0103: callvirt RimWorld.PawnCapacityOffset get_Item(Int32)
L_0108: stloc.s 4 (RimWorld.PawnCapacityOffset)
L_010a: ldloc.0
L_010b: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_010d: ldloc.1
L_010e: ldfld Verse.Pawn_HealthTracker health
L_0113: ldfld Verse.PawnCapacitiesHandler capacities
L_0118: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_011a: ldfld Verse.PawnCapacityDef capacity
L_011f: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0124: callvirt Single GetOffset(Single)
L_0129: add
L_012a: stloc.0
L_012b: ldloc.3
L_012c: ldc.i4.1
L_012d: add
L_012e: stloc.3
L_012f: Label10
L_012f: ldloc.3
L_0130: ldarg.0
L_0131: ldfld RimWorld.StatDef stat
L_0136: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_013b: callvirt Int32 get_Count()
L_0140: blt Label11
L_0145: Label9
L_0145: ldloc.1
L_0146: ldfld RimWorld.Pawn_StoryTracker story
L_014b: brfalse Label12
L_0150: ldc.i4.0
L_0151: stloc.s 5 (System.Int32)
L_0153: br Label13
L_0158: Label14
L_0158: ldloc.0
L_0159: ldloc.1
L_015a: ldfld RimWorld.Pawn_StoryTracker story
L_015f: ldfld RimWorld.TraitSet traits
L_0164: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0169: ldloc.s 5 (System.Int32)
L_016b: callvirt RimWorld.Trait get_Item(Int32)
L_0170: ldarg.0
L_0171: ldfld RimWorld.StatDef stat
L_0176: callvirt Single OffsetOfStat(RimWorld.StatDef)
L_017b: add
L_017c: stloc.0
L_017d: ldloc.s 5 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 5 (System.Int32)
L_0183: Label13
L_0183: ldloc.s 5 (System.Int32)
L_0185: ldloc.1
L_0186: ldfld RimWorld.Pawn_StoryTracker story
L_018b: ldfld RimWorld.TraitSet traits
L_0190: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0195: callvirt Int32 get_Count()
L_019a: blt Label14
L_019f: Label12
L_019f: ldloc.1
L_01a0: ldfld Verse.Pawn_HealthTracker health
L_01a5: ldfld Verse.HediffSet hediffSet
L_01aa: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_01af: stloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01b1: ldc.i4.0
L_01b2: stloc.s 7 (System.Int32)
L_01b4: br Label15
L_01b9: Label17
L_01b9: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01bb: ldloc.s 7 (System.Int32)
L_01bd: callvirt Verse.Hediff get_Item(Int32)
L_01c2: callvirt Verse.HediffStage get_CurStage()
L_01c7: stloc.s 8 (Verse.HediffStage)
L_01c9: ldloc.s 8 (Verse.HediffStage)
L_01cb: brfalse Label16
L_01d0: ldloc.0
L_01d1: ldloc.s 8 (Verse.HediffStage)
L_01d3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_01d8: ldarg.0
L_01d9: ldfld RimWorld.StatDef stat
L_01de: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_01e3: add
L_01e4: stloc.0
L_01e5: Label16
L_01e5: ldloc.s 7 (System.Int32)
L_01e7: ldc.i4.1
L_01e8: add
L_01e9: stloc.s 7 (System.Int32)
L_01eb: Label15
L_01eb: ldloc.s 7 (System.Int32)
L_01ed: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01ef: callvirt Int32 get_Count()
L_01f4: blt Label17
L_01f9: ldloc.1
L_01fa: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ff: brfalse Label18
L_0204: ldc.i4.0
L_0205: stloc.s 9 (System.Int32)
L_0207: br Label19
L_020c: Label20
L_020c: ldloc.0
L_020d: ldloc.1
L_020e: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0213: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0218: ldloc.s 9 (System.Int32)
L_021a: callvirt RimWorld.Apparel get_Item(Int32)
L_021f: ldarg.0
L_0220: ldfld RimWorld.StatDef stat
L_0225: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_022a: add
L_022b: stloc.0
L_022c: ldloc.s 9 (System.Int32)
L_022e: ldc.i4.1
L_022f: add
L_0230: stloc.s 9 (System.Int32)
L_0232: Label19
L_0232: ldloc.s 9 (System.Int32)
L_0234: ldloc.1
L_0235: ldfld RimWorld.Pawn_ApparelTracker apparel
L_023a: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_023f: callvirt Int32 get_Count()
L_0244: blt Label20
L_0249: Label18
L_0249: ldloc.1
L_024a: ldfld Verse.Pawn_EquipmentTracker equipment
L_024f: brfalse Label21
L_0254: ldloc.1
L_0255: ldfld Verse.Pawn_EquipmentTracker equipment
L_025a: callvirt Verse.ThingWithComps get_Primary()
L_025f: brfalse Label22
L_0264: ldloc.0
L_0265: ldloc.1
L_0266: ldfld Verse.Pawn_EquipmentTracker equipment
L_026b: callvirt Verse.ThingWithComps get_Primary()
L_0270: ldarg.0
L_0271: ldfld RimWorld.StatDef stat
L_0276: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_027b: add
L_027c: stloc.0
L_027d: Label21
L_027d: Label22
L_027d: ldloc.1
L_027e: ldfld RimWorld.Pawn_StoryTracker story
L_0283: brfalse Label23
L_0288: ldc.i4.0
L_0289: stloc.s 10 (System.Int32)
L_028b: br Label24
L_0290: Label25
L_0290: ldloc.0
L_0291: ldloc.1
L_0292: ldfld RimWorld.Pawn_StoryTracker story
L_0297: ldfld RimWorld.TraitSet traits
L_029c: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02a1: ldloc.s 10 (System.Int32)
L_02a3: callvirt RimWorld.Trait get_Item(Int32)
L_02a8: ldarg.0
L_02a9: ldfld RimWorld.StatDef stat
L_02ae: callvirt Single MultiplierOfStat(RimWorld.StatDef)
L_02b3: mul
L_02b4: stloc.0
L_02b5: ldloc.s 10 (System.Int32)
L_02b7: ldc.i4.1
L_02b8: add
L_02b9: stloc.s 10 (System.Int32)
L_02bb: Label24
L_02bb: ldloc.s 10 (System.Int32)
L_02bd: ldloc.1
L_02be: ldfld RimWorld.Pawn_StoryTracker story
L_02c3: ldfld RimWorld.TraitSet traits
L_02c8: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02cd: callvirt Int32 get_Count()
L_02d2: blt Label25
L_02d7: Label23
L_02d7: ldloc.0
L_02d8: ldloc.1
L_02d9: ldfld Verse.Pawn_AgeTracker ageTracker
L_02de: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_02e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_02e8: ldarg.0
L_02e9: ldfld RimWorld.StatDef stat
L_02ee: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_02f3: mul
L_02f4: stloc.0
L_02f5: Label3
L_02f5: ldarga.s 1
L_02f7: call Verse.ThingDef get_StuffDef()
L_02fc: brfalse Label26
L_0301: ldloc.0
L_0302: ldc.r4 0
L_0307: bgt Label27
L_030c: ldarg.0
L_030d: ldfld RimWorld.StatDef stat
L_0312: ldfld System.Boolean applyFactorsIfNegative
L_0317: brfalse Label28
L_031c: Label27
L_031c: ldloc.0
L_031d: ldarga.s 1
L_031f: call Verse.ThingDef get_StuffDef()
L_0324: ldfld Verse.StuffProperties stuffProps
L_0329: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_032e: ldarg.0
L_032f: ldfld RimWorld.StatDef stat
L_0334: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0339: mul
L_033a: stloc.0
L_033b: Label28
L_033b: ldloc.0
L_033c: ldarga.s 1
L_033e: call Verse.ThingDef get_StuffDef()
L_0343: ldfld Verse.StuffProperties stuffProps
L_0348: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_034d: ldarg.0
L_034e: ldfld RimWorld.StatDef stat
L_0353: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0358: add
L_0359: stloc.0
L_035a: Label26
L_035a: ldarga.s 1
L_035c: call Boolean get_HasThing()
L_0361: brfalse Label29
L_0366: ldarga.s 1
L_0368: call Verse.Thing get_Thing()
L_036d: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0372: stloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0374: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0376: brfalse Label30
L_037b: ldloc.0
L_037c: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_037e: ldarg.0
L_037f: ldfld RimWorld.StatDef stat
L_0384: callvirt Single GetStatOffset(RimWorld.StatDef)
L_0389: add
L_038a: stloc.0
L_038b: Label30
L_038b: ldarg.0
L_038c: ldfld RimWorld.StatDef stat
L_0391: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0396: brfalse Label31
L_039b: ldc.i4.0
L_039c: stloc.s 12 (System.Int32)
L_039e: br Label32
L_03a3: Label33
L_03a3: ldloc.0
L_03a4: ldarga.s 1
L_03a6: call Verse.Thing get_Thing()
L_03ab: ldarg.0
L_03ac: ldfld RimWorld.StatDef stat
L_03b1: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03b6: ldloc.s 12 (System.Int32)
L_03b8: callvirt RimWorld.StatDef get_Item(Int32)
L_03bd: ldc.i4.1
L_03be: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_03c3: mul
L_03c4: stloc.0
L_03c5: ldloc.s 12 (System.Int32)
L_03c7: ldc.i4.1
L_03c8: add
L_03c9: stloc.s 12 (System.Int32)
L_03cb: Label32
L_03cb: ldloc.s 12 (System.Int32)
L_03cd: ldarg.0
L_03ce: ldfld RimWorld.StatDef stat
L_03d3: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03d8: callvirt Int32 get_Count()
L_03dd: blt Label33
L_03e2: Label31
L_03e2: ldloc.1
L_03e3: brfalse Label34
L_03e8: ldloc.1
L_03e9: ldfld RimWorld.Pawn_SkillTracker skills
L_03ee: brfalse Label35
L_03f3: ldarg.0
L_03f4: ldfld RimWorld.StatDef stat
L_03f9: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_03fe: brfalse Label36
L_0403: ldc.i4.0
L_0404: stloc.s 13 (System.Int32)
L_0406: br Label37
L_040b: Label38
L_040b: ldloc.0
L_040c: ldarg.0
L_040d: ldfld RimWorld.StatDef stat
L_0412: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0417: ldloc.s 13 (System.Int32)
L_0419: callvirt RimWorld.SkillNeed get_Item(Int32)
L_041e: ldloc.1
L_041f: callvirt Single ValueFor(Verse.Pawn)
L_0424: mul
L_0425: stloc.0
L_0426: ldloc.s 13 (System.Int32)
L_0428: ldc.i4.1
L_0429: add
L_042a: stloc.s 13 (System.Int32)
L_042c: Label37
L_042c: ldloc.s 13 (System.Int32)
L_042e: ldarg.0
L_042f: ldfld RimWorld.StatDef stat
L_0434: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0439: callvirt Int32 get_Count()
L_043e: blt Label38
L_0443: Label36
L_0443: br Label39
L_0448: Label35
L_0448: ldloc.0
L_0449: ldarg.0
L_044a: ldfld RimWorld.StatDef stat
L_044f: ldfld System.Single noSkillFactor
L_0454: mul
L_0455: stloc.0
L_0456: Label39
L_0456: ldarg.0
L_0457: ldfld RimWorld.StatDef stat
L_045c: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0461: brfalse Label40
L_0466: ldc.i4.0
L_0467: stloc.s 14 (System.Int32)
L_0469: br Label41
L_046e: Label42
L_046e: ldarg.0
L_046f: ldfld RimWorld.StatDef stat
L_0474: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0479: ldloc.s 14 (System.Int32)
L_047b: callvirt RimWorld.PawnCapacityFactor get_Item(Int32)
L_0480: stloc.s 15 (RimWorld.PawnCapacityFactor)
L_0482: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0484: ldloc.1
L_0485: ldfld Verse.Pawn_HealthTracker health
L_048a: ldfld Verse.PawnCapacitiesHandler capacities
L_048f: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0491: ldfld Verse.PawnCapacityDef capacity
L_0496: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_049b: callvirt Single GetFactor(Single)
L_04a0: stloc.s 16 (System.Single)
L_04a2: ldloc.0
L_04a3: ldloc.0
L_04a4: ldloc.s 16 (System.Single)
L_04a6: mul
L_04a7: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_04a9: ldfld System.Single weight
L_04ae: call Single Lerp(Single, Single, Single)
L_04b3: stloc.0
L_04b4: ldloc.s 14 (System.Int32)
L_04b6: ldc.i4.1
L_04b7: add
L_04b8: stloc.s 14 (System.Int32)
L_04ba: Label41
L_04ba: ldloc.s 14 (System.Int32)
L_04bc: ldarg.0
L_04bd: ldfld RimWorld.StatDef stat
L_04c2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_04c7: callvirt Int32 get_Count()
L_04cc: blt Label42
L_04d1: Label40
L_04d1: ldloc.1
L_04d2: callvirt Boolean get_Inspired()
L_04d7: brfalse Label43
L_04dc: ldloc.0
L_04dd: ldloc.1
L_04de: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_04e8: ldarg.0
L_04e9: ldfld RimWorld.StatDef stat
L_04ee: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_04f3: add
L_04f4: stloc.0
L_04f5: ldloc.0
L_04f6: ldloc.1
L_04f7: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04fc: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0501: ldarg.0
L_0502: ldfld RimWorld.StatDef stat
L_0507: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_050c: mul
L_050d: stloc.0
L_050e: Label29
L_050e: Label34
L_050e: Label43
L_050e: ldloc.0
L_050f: stloc 17 (System.Single)
L_0511: ldarg.0
L_0512: ldloca 17 (System.Single)
L_0514: ldarga 1
L_051a: ldarg 2
L_0520: call Void Patch_StatWorker_GetValueUnfinalized(RimWorld.StatWorker, Single
ByRef, StatRequest ByRef, Boolean)
L_0525: ldloc 17 (System.Single)
L_0527: ret
DONE

### Patch RimWorld.Dialog_ManageAreas, Void .ctor(Map)


L_0000: ldarg.0
L_0001: call Void .ctor()
L_0006: ldarg.0
L_0007: ldarg.1
L_0008: stfld Verse.Map map
L_000d: ldarg.0
L_000e: ldc.i4.1
L_000f: stfld System.Boolean forcePause
L_0014: ldarg.0
L_0015: ldc.i4.1
L_0016: stfld System.Boolean doCloseX
L_001b: ldarg.0
L_001c: ldc.i4.1
L_001d: stfld System.Boolean doCloseButton
L_0022: ldarg.0
L_0023: ldc.i4.1
L_0024: stfld System.Boolean closeOnClickedOutside
L_0029: ldarg.0
L_002a: ldc.i4.1
L_002b: stfld System.Boolean absorbInputAroundWindow
L_0030: call Void Postfix()
L_0035: ret
DONE

### Patch RimWorld.Area_Allowed, Int32 get_ListPriority()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldc.i4 500
L_000b: stloc 0 (System.Int32)
L_000c: ldarg.0
L_000d: ldloca 0 (System.Int32)
L_000f: call Void ListPriority_Postfix(RimWorld.Area_Allowed, Int32 ByRef)
L_0014: ldloc 0 (System.Int32)
L_0015: ret
DONE

### Patch RimWorld.InspectGizmoGrid, Void DrawInspectGizmoGridFor(IEnumerable`1,


Verse.Gizmo ByRef)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.ISelectable
L_0000: Local var 2: System.Int32
L_0000: Local var 3:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1
L_0000: Local var 4: System.Collections.Generic.List`1[[Verse.Designator, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 5: System.Int32
L_0000: Local var 6:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0
L_0000: Local var 7: Verse.AcceptanceReport
L_0000: Local var 8: System.Single
L_0000: Local var 9: UnityEngine.Vector2
L_0000: Local var 10: Verse.Command_Action
L_0000: Local var 11: System.Exception
L_0000: call Void ClearReverseDesignatorPairs()
L_0005: ldarg.1
L_0006: ldnull
L_0007: stind.ref
.try
{
L_0008: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_000d: callvirt Void Clear()
L_0012: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0017: ldarg.0
L_0018: callvirt Void AddRange(IEnumerable`1)
L_001d: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0022: callvirt Void Clear()
L_0027: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_002c: call IEnumerable`1 GetStopGizmos()
L_0031: call Void AddRange(IEnumerable`1)
L_0036: ldc.i4.0
L_0037: stloc.0
L_0038: br Label1
L_003d: Label3
L_003d: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0042: ldloc.0
L_0043: callvirt System.Object get_Item(Int32)
L_0048: isinst Verse.ISelectable
L_004d: stloc.1
L_004e: ldloc.1
L_004f: brfalse Label2
L_0054: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0059: ldloc.1
L_005a: callvirt IEnumerable`1 GetGizmos()
L_005f: callvirt Void AddRange(IEnumerable`1)
L_0064: Label2
L_0064: ldloc.0
L_0065: ldc.i4.1
L_0066: add
L_0067: stloc.0
L_0068: Label1
L_0068: ldloc.0
L_0069: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_006e: callvirt Int32 get_Count()
L_0073: blt Label3
L_0078: ldc.i4.0
L_0079: stloc.2
L_007a: br Label4
L_007f: Label12
L_007f: newobj Void .ctor()
L_0084: stloc.3
L_0085: ldloc.3
L_0086: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_008b: ldloc.2
L_008c: callvirt System.Object get_Item(Int32)
L_0091: isinst Verse.Thing
L_0096: stfld Verse.Thing t
L_009b: ldloc.3
L_009c: ldfld Verse.Thing t
L_00a1: brtrue Label5
L_00a6: leave Label6
L_00ab: Label5
L_00ab: call Verse.ReverseDesignatorDatabase get_ReverseDesignatorDatabase()
L_00b0: callvirt System.Collections.Generic.List`1[Verse.Designator]
get_AllDesignators()
L_00b5: stloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00b7: ldc.i4.0
L_00b8: stloc.s 5 (System.Int32)
L_00ba: br Label7
L_00bf: Label11
L_00bf: newobj Void .ctor()
L_00c4: stloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c8: ldloc.3
L_00c9: stfld
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1 <>f__ref$1
L_00ce: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00d0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00d2: ldloc.s 5 (System.Int32)
L_00d4: callvirt Verse.Designator get_Item(Int32)
L_00d9: stfld Verse.Designator des
L_00de: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00e0: ldfld Verse.Designator des
L_00e5: ldloc.3
L_00e6: ldfld Verse.Thing t
L_00eb: callvirt AcceptanceReport CanDesignateThing(Verse.Thing)
L_00f0: stloc.s 7 (Verse.AcceptanceReport)
L_00f2: ldloca.s 7 (Verse.AcceptanceReport)
L_00f4: call Boolean get_Accepted()
L_00f9: brfalse Label8
L_00fe: newobj Void .ctor()
L_0103: stloc.s 10 (Verse.Command_Action)
L_0105: ldloc.s 10 (Verse.Command_Action)
L_0107: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0109: ldfld Verse.Designator des
L_010e: ldloc.3
L_010f: ldfld Verse.Thing t
L_0114: callvirt System.String LabelCapReverseDesignating(Verse.Thing)
L_0119: stfld System.String defaultLabel
L_011e: ldloc.s 10 (Verse.Command_Action)
L_0120: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0122: ldfld Verse.Designator des
L_0127: ldloc.3
L_0128: ldfld Verse.Thing t
L_012d: ldloca.s 8 (System.Single)
L_012f: ldloca.s 9 (UnityEngine.Vector2)
L_0131: callvirt UnityEngine.Texture2D IconReverseDesignating(Verse.Thing,
Single ByRef, Vector2 ByRef)
L_0136: stfld UnityEngine.Texture2D icon
L_013b: ldloc.s 10 (Verse.Command_Action)
L_013d: ldloc.s 8 (System.Single)
L_013f: stfld System.Single iconAngle
L_0144: ldloc.s 10 (Verse.Command_Action)
L_0146: ldloc.s 9 (UnityEngine.Vector2)
L_0148: stfld UnityEngine.Vector2 iconOffset
L_014d: ldloc.s 10 (Verse.Command_Action)
L_014f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0151: ldfld Verse.Designator des
L_0156: ldloc.3
L_0157: ldfld Verse.Thing t
L_015c: callvirt System.String DescReverseDesignating(Verse.Thing)
L_0161: stfld System.String defaultDesc
L_0166: ldloc.s 10 (Verse.Command_Action)
L_0168: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_016a: ldfld Verse.Designator des
L_016f: isinst RimWorld.Designator_Uninstall
L_0174: brfalse Label9
L_0179: ldc.r4 -11
L_017e: br Label10
L_0183: Label9
L_0183: ldc.r4 -20
L_0188: Label10
L_0188: stfld System.Single order
L_018d: ldloc.s 10 (Verse.Command_Action)
L_018f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0191: ldftn Void <>m__0()
L_0197: newobj Void .ctor(Object, IntPtr)
L_019c: stfld System.Action action
L_01a1: ldloc.s 10 (Verse.Command_Action)
L_01a3: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01a5: ldfld Verse.Designator des
L_01aa: ldfld Verse.KeyBindingDef hotKey
L_01af: stfld Verse.KeyBindingDef hotKey
L_01b4: ldloc.s 10 (Verse.Command_Action)
L_01b6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01b8: ldfld Verse.Designator des
L_01bd: ldfld System.Int32 groupKey
L_01c2: stfld System.Int32 groupKey
L_01c7: ldloc.s 6
L_01cc: ldfld Verse.Designator des
L_01d1: ldloc 10
L_01d7: call Void RegisterReverseDesignatorPair(Verse.Designator,
Verse.Command_Action)
L_01dc: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_01e1: ldloc.s 10 (Verse.Command_Action)
L_01e3: callvirt Void Add(Verse.Gizmo)
L_01e8: Label8
L_01e8: ldloc.s 5 (System.Int32)
L_01ea: ldc.i4.1
L_01eb: add
L_01ec: stloc.s 5 (System.Int32)
L_01ee: Label7
L_01ee: ldloc.s 5 (System.Int32)
L_01f0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_01f2: callvirt Int32 get_Count()
L_01f7: blt Label11
L_01fc: Label6
L_01fc: ldloc.2
L_01fd: ldc.i4.1
L_01fe: add
L_01ff: stloc.2
L_0200: Label4
L_0200: ldloc.2
L_0201: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0206: callvirt Int32 get_Count()
L_020b: blt Label12
L_0210: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0215: callvirt Void Clear()
L_021a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_021f: call Verse.WindowStack get_WindowStack()
L_0224: callvirt IInspectPane WindowOfType[IInspectPane]()
L_0229: call Single PaneWidthFor(IInspectPane)
L_022e: ldc.r4 20
L_0233: add
L_0234: ldarg.1
L_0235: call Void DrawGizmoGrid(IEnumerable`1, Single, Verse.Gizmo ByRef)
L_023a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_023f: callvirt Void Clear()
L_0244: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0249: call IEnumerable`1 GetStopGizmos()
L_024e: call Void AddRange(IEnumerable`1)
L_0253: leave Label13
L_0258: leave (autogenerated)
} // end try
.catch System.Exception
{
L_025d: stloc.s 11 (System.Exception)
L_025f: ldloc.s 11 (System.Exception)
L_0261: callvirt System.String ToString()
L_0266: ldc.i4 3427734
L_026b: ldc.i4.0
L_026c: call Void ErrorOnce(System.String, Int32, Boolean)
L_0271: leave Label14
L_0276: leave (autogenerated)
} // end handler
L_027b: Label13
L_027b: Label14
L_027b: ret
DONE
### Patch Verse.PawnUIOverlay, Void DrawPawnGUIOverlay()
L_0000: Local var 0: Verse.AnimalNameDisplayMode
L_0000: Local var 1: UnityEngine.Vector2
L_0000: ldarg.0
L_0001: ldfld Verse.Pawn pawn
L_0006: callvirt Boolean get_Spawned()
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldfld Verse.Pawn pawn
L_0016: callvirt Verse.Map get_Map()
L_001b: ldfld Verse.FogGrid fogGrid
L_0020: ldarg.0
L_0021: ldfld Verse.Pawn pawn
L_0026: callvirt IntVec3 get_Position()
L_002b: callvirt Boolean IsFogged(IntVec3)
L_0030: brfalse Label2
L_0035: Label1
L_0035: br Label14
L_003a: Label2
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt Verse.RaceProperties get_RaceProps()
L_0045: callvirt Boolean get_Humanlike()
L_004a: brtrue Label3
L_004f: call AnimalNameDisplayMode get_AnimalNameMode()
L_0054: stloc.0
L_0055: ldloc.0
L_0056: brfalse Label4
L_005b: ldloc.0
L_005c: ldc.i4.2
L_005d: beq Label5
L_0062: ldloc.0
L_0063: ldc.i4.1
L_0064: beq Label6
L_0069: br Label7
L_006e: Label4
L_006e: br Label15
L_0073: Label5
L_0073: ldarg.0
L_0074: ldfld Verse.Pawn pawn
L_0079: callvirt Verse.Name get_Name()
L_007e: brtrue Label8
L_0083: br Label16
L_0088: Label8
L_0088: br Label9
L_008d: Label6
L_008d: ldarg.0
L_008e: ldfld Verse.Pawn pawn
L_0093: callvirt Verse.Name get_Name()
L_0098: brfalse Label10
L_009d: ldarg.0
L_009e: ldfld Verse.Pawn pawn
L_00a3: callvirt Verse.Name get_Name()
L_00a8: callvirt Boolean get_Numerical()
L_00ad: brfalse Label11
L_00b2: Label10
L_00b2: br Label17
L_00b7: Label11
L_00b7: br Label12
L_00bc: Label3
L_00bc: Label7
L_00bc: Label9
L_00bc: Label12
L_00bc: ldarg.0
L_00bd: ldfld Verse.Pawn pawn
L_00c2: ldc.r4 -0.6
L_00c7: call Vector2 LabelDrawPosFor(Verse.Thing, Single)
L_00cc: stloc.1
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: ldloc.1
L_00d4: ldc.r4 1
L_00d9: ldc.r4 9999
L_00de: ldnull
L_00df: ldc.i4.0
L_00e0: ldc.i4.1
L_00e1: ldc.i4.1
L_00e2: call Void DrawPawnLabel(Verse.Pawn, Vector2, Single, Single,
System.Collections.Generic.Dictionary`2[System.String,System.String], GameFont,
Boolean, Boolean)
L_00e7: ldarg.0
L_00e8: ldfld Verse.Pawn pawn
L_00ed: callvirt Boolean get_CanTradeNow()
L_00f2: brfalse Label13
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: callvirt Verse.Map get_Map()
L_0102: ldfld RimWorld.OverlayDrawer overlayDrawer
L_0107: ldarg.0
L_0108: ldfld Verse.Pawn pawn
L_010d: ldc.i4.s 32
L_010f: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0114: Label13
L_0114: Label14
L_0114: Label15
L_0114: Label16
L_0114: Label17
L_0114: ldarg.0
L_0115: call Void DrawPawnGUIOverlay(Verse.PawnUIOverlay)
L_011a: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ldarg.0
L_0424: ldarg 1
L_042a: ldarg 2
L_0430: ldarg 3
L_0436: call Void RenderPawnAt(Verse.PawnRenderer, Vector3, RotDrawMode, Boolean)
L_043b: ret
DONE

### Patch RimWorld.IncidentWorker_VisitorGroup, Boolean


TryConvertOnePawnToSmallTrader(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map)
L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: RimWorld.TraderKindDef
L_0000: Local var 3: RimWorld.ThingSetMakerParams
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: Verse.IntVec3
L_0000: Local var 8: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Boolean)
L_0007: ldarg.2
L_0008: ldfld RimWorld.FactionDef def
L_000d: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_0012: call Boolean NullOrEmpty[TraderKindDef](IList`1)
L_0017: brfalse Label1
L_001c: ldc.i4.0
L_001d: br Label10
L_0022: Label1
L_0022: ldarg.1
L_0023: call Verse.Pawn RandomElement[Pawn](IEnumerable`1)
L_0028: stloc.0
L_0029: ldloc.0
L_002a: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_002f: stloc.1
L_0030: ldloc.0
L_0031: ldfld Verse.AI.Pawn_MindState mindState
L_0036: ldc.i4.1
L_0037: stfld System.Boolean wantsToTradeWithColony
L_003c: ldloc.0
L_003d: ldc.i4.1
L_003e: call Void AddAndRemoveDynamicComponents(Verse.Pawn, Boolean)
L_0043: ldarg.2
L_0044: ldfld RimWorld.FactionDef def
L_0049: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_004e: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0053: brtrue Label2
L_0058: ldnull
L_0059: ldftn Single <TryConvertOnePawnToSmallTrader>m__0(RimWorld.TraderKindDef)
L_005f: newobj Void .ctor(Object, IntPtr)
L_0064: stsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0069: Label2
L_0069: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_006e: call RimWorld.TraderKindDef RandomElementByWeight[TraderKindDef]
(IEnumerable`1, System.Func`2[RimWorld.TraderKindDef,System.Single])
L_0073: stloc.2
L_0074: ldloc.0
L_0075: ldfld RimWorld.Pawn_TraderTracker trader
L_007a: ldloc.2
L_007b: stfld RimWorld.TraderKindDef traderKind
L_0080: ldloc.0
L_0081: ldfld Verse.Pawn_InventoryTracker inventory
L_0086: ldc.i4.0
L_0087: callvirt Void DestroyAll(DestroyMode)
L_008c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_008e: initobj RimWorld.ThingSetMakerParams
L_0094: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_0096: ldloc.2
L_0097: stfld RimWorld.TraderKindDef traderDef
L_009c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_009e: ldarg.3
L_009f: callvirt Int32 get_Tile()
L_00a4: newobj Void .ctor(Int32)
L_00a9: stfld System.Nullable`1[System.Int32] tile
L_00ae: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_00b0: ldarg.2
L_00b1: stfld RimWorld.Faction traderFaction
L_00b6: ldsfld RimWorld.ThingSetMakerDef TraderStock
L_00bb: ldfld RimWorld.ThingSetMaker root
L_00c0: ldloc.3
L_00c1: callvirt System.Collections.Generic.List`1[Verse.Thing]
Generate(ThingSetMakerParams)
L_00c6: callvirt Enumerator GetEnumerator()
L_00cb: stloc.s 5 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_00cd: br Label3
L_00d2: Label8
L_00d2: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_00d4: call Verse.Thing get_Current()
L_00d9: stloc.s 4 (Verse.Thing)
L_00db: ldloc.s 4 (Verse.Thing)
L_00dd: isinst Verse.Pawn
L_00e2: stloc.s 6 (Verse.Pawn)
L_00e4: ldloc.s 6 (Verse.Pawn)
L_00e6: brfalse Label4
L_00eb: ldloc.s 6 (Verse.Pawn)
L_00ed: callvirt RimWorld.Faction get_Faction()
L_00f2: ldloc.0
L_00f3: callvirt RimWorld.Faction get_Faction()
L_00f8: beq Label5
L_00fd: ldloc.s 6 (Verse.Pawn)
L_00ff: ldloc.0
L_0100: callvirt RimWorld.Faction get_Faction()
L_0105: ldnull
L_0106: callvirt Void SetFaction(RimWorld.Faction, Verse.Pawn)
L_010b: Label5
L_010b: ldloc.0
L_010c: callvirt IntVec3 get_Position()
L_0111: ldarg.3
L_0112: ldc.i4.5
L_0113: ldnull
L_0114: call IntVec3 RandomClosewalkCellNear(IntVec3, Verse.Map, Int32,
System.Predicate`1[Verse.IntVec3])
L_0119: stloc.s 7 (Verse.IntVec3)
L_011b: ldloc.s 6 (Verse.Pawn)
L_011d: ldloc.s 7 (Verse.IntVec3)
L_011f: ldarg.3
L_0120: ldc.i4.0
L_0121: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, WipeMode)
L_0126: pop
L_0127: ldloc.1
L_0128: ldloc.s 6 (Verse.Pawn)
L_012a: callvirt Void AddPawn(Verse.Pawn)
L_012f: br Label6
L_0134: Label4
L_0134: ldloc.0
L_0135: ldfld Verse.Pawn_InventoryTracker inventory
L_013a: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_013f: ldloc.s 4 (Verse.Thing)
L_0141: ldc.i4.1
L_0142: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0147: brtrue Label7
L_014c: ldloc.s 4 (Verse.Thing)
L_014e: ldc.i4.0
L_014f: callvirt Void Destroy(DestroyMode)
L_0154: Label3
L_0154: Label6
L_0154: Label7
L_0154: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0156: call Boolean MoveNext()
L_015b: brtrue Label8
L_0160: leave Label9
L_0165: leave (autogenerated)
} // end try
.finally
{
L_016a: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_016c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_0172: callvirt Void Dispose()
L_0177: endfinally
L_0178: leave (autogenerated)
} // end handler
L_0179: Label9
L_0179: ldloc.0
L_017a: call Void GiveRandomFood(Verse.Pawn)
L_017f: ldc.i4.1
L_0180: Label10
L_0180: stloc 8 (System.Boolean)
L_0182: ldarg 1
L_0188: ldarg 2
L_018e: ldarg 3
L_0194: ldloca 8 (System.Boolean)
L_0196: call Void AddQuestGiver(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map, Boolean ByRef)
L_019b: ldloc 8 (System.Boolean)
L_019d: ret
DONE

### Patch RimWorld.PawnGroupKindWorker_Trader, Void


GenerateGuards(RimWorld.PawnGroupMakerParms, RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Single
L_0000: Local var 1: RimWorld.PawnGenOption
L_0000: Local var 2:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnGenOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: Verse.PawnGenerationRequest
L_0000: Local var 4: Verse.PawnKindDef
L_0000: Local var 5: RimWorld.Faction
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Boolean
L_0000: Local var 8: System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var 9: System.Nullable`1[[Verse.Gender, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 10: Verse.Pawn
L_0000: ldarg.2
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0006: call Boolean Any[PawnGenOption]
(System.Collections.Generic.List`1[RimWorld.PawnGenOption])
L_000b: brtrue Label1
L_0010: br Label6
L_0015: Label1
L_0015: ldarg.1
L_0016: ldfld System.Single points
L_001b: stloc.0
L_001c: ldloc.0
L_001d: ldarg.2
L_001e: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0023: ldarg.1
L_0024: call IEnumerable`1 ChoosePawnGenOptionsByPoints(Single,
System.Collections.Generic.List`1[RimWorld.PawnGenOption],
RimWorld.PawnGroupMakerParms)
L_0029: callvirt IEnumerator`1 GetEnumerator()
L_002e: stloc.2
.try
{
L_002f: br Label2
L_0034: Label3
L_0034: ldloc.2
L_0035: callvirt RimWorld.PawnGenOption get_Current()
L_003a: stloc.1
L_003b: ldloca.s 3 (Verse.PawnGenerationRequest)
L_003d: ldloc.1
L_003e: ldfld Verse.PawnKindDef kind
L_0043: stloc.s 4 (Verse.PawnKindDef)
L_0045: ldarg.1
L_0046: ldfld RimWorld.Faction faction
L_004b: stloc.s 5 (RimWorld.Faction)
L_004d: ldarg.1
L_004e: ldfld System.Int32 tile
L_0053: stloc.s 6 (System.Int32)
L_0055: ldarg.1
L_0056: ldfld System.Boolean inhabitants
L_005b: stloc.s 7 (System.Boolean)
L_005d: ldloc.s 4 (Verse.PawnKindDef)
L_005f: ldloc.s 5 (RimWorld.Faction)
L_0061: ldc.i4.2
L_0062: ldloc.s 6 (System.Int32)
L_0064: ldc.i4.0
L_0065: ldc.i4.0
L_0066: ldc.i4.0
L_0067: ldc.i4.0
L_0068: ldc.i4.1
L_0069: ldc.i4.1
L_006a: ldc.r4 1
L_006f: ldc.i4.0
L_0070: ldc.i4.1
L_0071: ldc.i4.1
L_0072: ldloc.s 7 (System.Boolean)
L_0074: ldc.i4.0
L_0075: ldc.i4.0
L_0076: ldc.i4.0
L_0077: ldnull
L_0078: ldnull
L_0079: ldloca.s 8 (System.Nullable`1[System.Single])
L_007b: initobj System.Nullable`1[System.Single]
L_0081: ldloc.s 8 (System.Nullable`1[System.Single])
L_0083: ldloca.s 8 (System.Nullable`1[System.Single])
L_0085: initobj System.Nullable`1[System.Single]
L_008b: ldloc.s 8 (System.Nullable`1[System.Single])
L_008d: ldloca.s 8 (System.Nullable`1[System.Single])
L_008f: initobj System.Nullable`1[System.Single]
L_0095: ldloc.s 8 (System.Nullable`1[System.Single])
L_0097: ldloca.s 9 (System.Nullable`1[Verse.Gender])
L_0099: initobj System.Nullable`1[Verse.Gender]
L_009f: ldloc.s 9 (System.Nullable`1[Verse.Gender])
L_00a1: ldloca.s 8 (System.Nullable`1[System.Single])
L_00a3: initobj System.Nullable`1[System.Single]
L_00a9: ldloc.s 8 (System.Nullable`1[System.Single])
L_00ab: ldnull
L_00ac: call Void .ctor(PawnKindDef, Faction, PawnGenerationContext, Int32,
Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Single, Boolean, Boolean,
Boolean, Boolean, Boolean, Boolean, Boolean, Predicate`1, Predicate`1, Nullable`1,
Nullable`1, Nullable`1, Nullable`1, Nullable`1, String)
L_00b1: ldloc.3
L_00b2: call Verse.Pawn GeneratePawn(PawnGenerationRequest)
L_00b7: stloc.s 10 (Verse.Pawn)
L_00b9: ldarg.s 5
L_00bb: ldloc.s 10 (Verse.Pawn)
L_00bd: callvirt Void Add(Verse.Pawn)
L_00c2: Label2
L_00c2: ldloc.2
L_00c3: callvirt Boolean MoveNext()
L_00c8: brtrue Label3
L_00cd: leave Label4
L_00d2: leave (autogenerated)
} // end try
.finally
{
L_00d7: ldloc.2
L_00d8: brfalse Label5
L_00dd: ldloc.2
L_00de: callvirt Void Dispose()
L_00e3: Label5
L_00e3: endfinally
L_00e4: leave (autogenerated)
} // end handler
L_00e5: Label4
L_00e5: Label6
L_00e5: ldarg 1
L_00eb: ldarg 2
L_00f1: ldarg 3
L_00f7: ldarg 4
L_00fd: ldarg 5
L_0103: call Void AddQuestGiverTwo(RimWorld.PawnGroupMakerParms,
RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0108: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ldarga 0
L_1ea5: ldarga 1
L_1eab: ldarga 2
L_1eb1: call Void
FloatMenuMakerMap_AddHumanlikeOrdersToDismissTraders_PostFix(Vector3 ByRef,
Verse.Pawn ByRef, System.Collections.Generic.List`1[Verse.FloatMenuOption] ByRef)
L_1eb6: ldarg 0
L_1ebc: ldarg 1
L_1ec2: ldarg 2
L_1ec8: call Void AddHumanlikeOrders(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1ecd: ret
DONE
### Patch RimWorld.Page_ConfigureStartingPawns, Void PreOpen()
L_0000: ldarg.0
L_0001: call Void PreOpen()
L_0006: call Verse.GameInitData get_GameInitData()
L_000b: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0010: callvirt Int32 get_Count()
L_0015: ldc.i4.0
L_0016: ble Label1
L_001b: ldarg.0
L_001c: call Verse.GameInitData get_GameInitData()
L_0021: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0026: ldc.i4.0
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stfld Verse.Pawn curPawn
L_0031: Label1
L_0031: call Void PreOpenPostfix()
L_0036: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void DoWindowContents(Rect)


L_0000: Local var 0: UnityEngine.Rect
L_0000: Local var 1: UnityEngine.Rect
L_0000: Local var 2: UnityEngine.Rect
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void DrawPageTitle(Rect)
L_0007: ldarga.s 1
L_0009: dup
L_000a: call Single get_yMin()
L_000f: ldc.r4 45
L_0014: add
L_0015: call Void set_yMin(Single)
L_001a: ldarg.0
L_001b: ldarg.1
L_001c: ldstr "Start"
L_0021: call System.String Translate(System.String)
L_0026: ldnull
L_0027: ldnull
L_0028: ldc.i4.1
L_0029: call Void DoBottomButtons(Rect, System.String, System.String,
System.Action, Boolean)
L_002e: ldarga.s 1
L_0030: dup
L_0031: call Single get_yMax()
L_0036: ldc.r4 38
L_003b: sub
L_003c: call Void set_yMax(Single)
L_0041: ldarg.1
L_0042: stloc.0
L_0043: ldloca.s 0 (UnityEngine.Rect)
L_0045: ldc.r4 140
L_004a: call Void set_width(Single)
L_004f: ldarg.0
L_0050: ldloc.0
L_0051: call Void DrawPawnList(Rect)
L_0056: ldloc.0
L_0057: ldstr "ReorderPawn"
L_005c: call Void HighlightOpportunity(Rect, System.String)
L_0061: ldarg.1
L_0062: stloc.1
L_0063: ldloca.s 1 (UnityEngine.Rect)
L_0065: dup
L_0066: call Single get_xMin()
L_006b: ldc.r4 140
L_0070: add
L_0071: call Void set_xMin(Single)
L_0076: ldloc.1
L_0077: ldc.r4 141
L_007c: call Rect BottomPartPixels(Rect, Single)
L_0081: stloc.2
L_0082: ldloca.s 1 (UnityEngine.Rect)
L_0084: ldloca.s 2 (UnityEngine.Rect)
L_0086: call Single get_yMin()
L_008b: call Void set_yMax(Single)
L_0090: ldloc.1
L_0091: ldc.r4 4
L_0096: call Rect ContractedBy(Rect, Single)
L_009b: stloc.1
L_009c: ldloc.2
L_009d: ldc.r4 4
L_00a2: call Rect ContractedBy(Rect, Single)
L_00a7: stloc.2
L_00a8: ldarg.0
L_00a9: ldloc.1
L_00aa: call Void DrawPortraitArea(Rect)
L_00af: ldarg.0
L_00b0: ldloc.2
L_00b1: call Void DrawSkillSummaries(Rect)
L_00b6: ldarg 1
L_00bc: ldarg.0
L_00bd: call Void DoWindowContentsPostfix(Rect,
RimWorld.Page_ConfigureStartingPawns)
L_00c2: ret
DONE

### Patch Verse.Game, Void InitNewGame()


L_0000: Local var 0: System.String
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: RimWorld.Planet.Settlement
L_0000: Local var 3: System.Collections.Generic.List`1[[RimWorld.Planet.Settlement,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.ResearchProjectTagDef
L_0000: Local var 7:
System.Collections.Generic.List`1+Enumerator[[Verse.ResearchProjectTagDef,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: Verse.ResearchProjectDef
L_0000: Local var 9:
System.Collections.Generic.IEnumerator`1[[Verse.ResearchProjectDef, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: call IEnumerable`1 get_RunningMods()
L_0005: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_000a: brtrue Label1
L_000f: ldnull
L_0010: ldftn System.String <InitNewGame>m__1(Verse.ModContentPack)
L_0016: newobj Void .ctor(Object, IntPtr)
L_001b: stsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0020: Label1
L_0020: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0025: call IEnumerable`1 Select[ModContentPack,String](IEnumerable`1,
System.Func`2[Verse.ModContentPack,System.String])
L_002a: ldc.i4.0
L_002b: call System.String ToCommaList(IEnumerable`1, Boolean)
L_0030: stloc.0
L_0031: ldstr "Initializing new game with mods "
L_0036: ldloc.0
L_0037: call System.String Concat(System.String, System.String)
L_003c: ldc.i4.0
L_003d: call Void Message(System.String, Boolean)
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0048: call Boolean Any[Map](System.Collections.Generic.List`1[Verse.Map])
L_004d: brfalse Label2
L_0052: ldstr "Called InitNewGame() but there already is a map. There should be 0
maps..."
L_0057: ldc.i4.0
L_0058: call Void Error(System.String, Boolean)
L_005d: br Label22
L_0062: Label2
L_0062: ldarg.0
L_0063: ldfld Verse.GameInitData initData
L_0068: brtrue Label3
L_006d: ldstr "Called InitNewGame() but init data is null. Create it first."
L_0072: ldc.i4.0
L_0073: call Void Error(System.String, Boolean)
L_0078: br Label23
L_007d: Label3
L_007d: call Void UnloadUnusedUnityAssets()
L_0082: ldstr "InitNewGame"
L_0087: call Void Start(System.String)
.try
{
L_008c: ldc.i4.1
L_008d: call Void set_ProgramState(ProgramState)
L_0092: ldloca.s 1 (Verse.IntVec3)
L_0094: ldarg.0
L_0095: ldfld Verse.GameInitData initData
L_009a: ldfld System.Int32 mapSize
L_009f: ldc.i4.1
L_00a0: ldarg.0
L_00a1: ldfld Verse.GameInitData initData
L_00a6: ldfld System.Int32 mapSize
L_00ab: call Void .ctor(Int32, Int32, Int32)
L_00b0: ldnull
L_00b1: stloc.2
L_00b2: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_00b7: callvirt
System.Collections.Generic.List`1[RimWorld.Planet.Settlement] get_Settlements()
L_00bc: stloc.3
L_00bd: ldc.i4.0
L_00be: stloc.s 4 (System.Int32)
L_00c0: br Label4
L_00c5: Label7
L_00c5: ldloc.3
L_00c6: ldloc.s 4 (System.Int32)
L_00c8: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00cd: callvirt RimWorld.Faction get_Faction()
L_00d2: call RimWorld.Faction get_OfPlayer()
L_00d7: bne.un Label5
L_00dc: ldloc.3
L_00dd: ldloc.s 4 (System.Int32)
L_00df: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00e4: stloc.2
L_00e5: leave Label6
L_00ea: Label5
L_00ea: ldloc.s 4 (System.Int32)
L_00ec: ldc.i4.1
L_00ed: add
L_00ee: stloc.s 4 (System.Int32)
L_00f0: Label4
L_00f0: ldloc.s 4 (System.Int32)
L_00f2: ldloc.3
L_00f3: callvirt Int32 get_Count()
L_00f8: blt Label7
L_00fd: Label6
L_00fd: ldloc.2
L_00fe: brtrue Label8
L_0103: ldstr "Could not generate starting map because there is no any player
faction base."
L_0108: ldc.i4.0
L_0109: call Void Error(System.String, Boolean)
L_010e: Label8
L_010e: ldarg.0
L_010f: ldfld Verse.TickManager tickManager
L_0114: call Int32 get_ConfiguredTicksAbsAtGameStart()
L_0119: stfld System.Int32 gameStartAbsTick
L_011e: ldloc.1
L_011f: ldloc.2
L_0120: ldloc.2
L_0121: callvirt Verse.MapGeneratorDef get_MapGeneratorDef()
L_0126: ldloc.2
L_0127: callvirt IEnumerable`1 get_ExtraGenStepDefs()
L_012c: ldnull
L_012d: call Verse.Map GenerateMap(IntVec3, RimWorld.Planet.MapParent,
Verse.MapGeneratorDef, IEnumerable`1, System.Action`1[Verse.Map])
L_0132: stloc.s 5 (Verse.Map)
L_0134: ldarg.0
L_0135: ldfld RimWorld.Planet.World worldInt
L_013a: ldfld RimWorld.Planet.WorldInfo info
L_013f: ldloc.1
L_0140: stfld Verse.IntVec3 initialMapSize
L_0145: ldarg.0
L_0146: ldfld Verse.GameInitData initData
L_014b: ldfld System.Boolean permadeath
L_0150: brfalse Label9
L_0155: ldarg.0
L_0156: ldfld Verse.GameInfo info
L_015b: ldc.i4.1
L_015c: stfld System.Boolean permadeathMode
L_0161: ldarg.0
L_0162: ldfld Verse.GameInfo info
L_0167: call System.String GeneratePermadeathSaveName()
L_016c: stfld System.String permadeathModeUniqueName
L_0171: Label9
L_0171: ldsfld RimWorld.ThoughtDef NewColonyOptimism
L_0176: call Void GiveAllStartingPlayerPawnsThought(RimWorld.ThoughtDef)
L_017b: ldarg.0
L_017c: call Void FinalizeInit()
L_0181: call Verse.Game get_Game()
L_0186: ldloc.s 5 (Verse.Map)
L_0188: callvirt Void set_CurrentMap(Verse.Map)
L_018d: call Verse.CameraDriver get_CameraDriver()
L_0192: call IntVec3 get_PlayerStartSpot()
L_0197: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_019c: call Verse.CameraDriver get_CameraDriver()
L_01a1: callvirt Void ResetSize()
L_01a6: call Boolean get_PauseOnLoad()
L_01ab: brfalse Label10
L_01b0: ldarg.0
L_01b1: ldfld Verse.GameInitData initData
L_01b6: ldfld System.Boolean startedFromEntry
L_01bb: brfalse Label11
L_01c0: ldarg.0
L_01c1: ldftn Void <InitNewGame>m__2()
L_01c7: newobj Void .ctor(Object, IntPtr)
L_01cc: call Void ExecuteWhenFinished(System.Action)
L_01d1: Label10
L_01d1: Label11
L_01d1: call RimWorld.Scenario get_Scenario()
L_01d6: callvirt Void PostGameStart()
L_01db: call RimWorld.Faction get_OfPlayer()
L_01e0: ldfld RimWorld.FactionDef def
L_01e5: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01ea: brfalse Label12
L_01ef: call RimWorld.Faction get_OfPlayer()
L_01f4: ldfld RimWorld.FactionDef def
L_01f9: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01fe: callvirt Enumerator GetEnumerator()
L_0203: stloc.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
.try
{
L_0205: br Label13
L_020a: Label19
L_020a: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_020c: call Verse.ResearchProjectTagDef get_Current()
L_0211: stloc.s 6 (Verse.ResearchProjectTagDef)
L_0213: call IEnumerable`1 get_AllDefs()
L_0218: callvirt IEnumerator`1 GetEnumerator()
L_021d: stloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
.try
{
L_021f: br Label14
L_0224: Label16
L_0224: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0226: callvirt Verse.ResearchProjectDef get_Current()
L_022b: stloc.s 8 (Verse.ResearchProjectDef)
L_022d: ldloc.s 8 (Verse.ResearchProjectDef)
L_022f: ldloc.s 6 (Verse.ResearchProjectTagDef)
L_0231: callvirt Boolean HasTag(Verse.ResearchProjectTagDef)
L_0236: brfalse Label15
L_023b: ldarg.0
L_023c: ldfld RimWorld.ResearchManager researchManager
L_0241: ldloc.s 8 (Verse.ResearchProjectDef)
L_0243: ldc.i4.0
L_0244: ldnull
L_0245: callvirt Void FinishProject(Verse.ResearchProjectDef,
Boolean, Verse.Pawn)
L_024a: Label14
L_024a: Label15
L_024a: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_024c: callvirt Boolean MoveNext()
L_0251: brtrue Label16
L_0256: leave Label17
L_025b: leave (autogenerated)
} // end try
.finally
{
L_0260: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0262: brfalse Label18
L_0267: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0269: callvirt Void Dispose()
L_026e: Label18
L_026e: endfinally
L_026f: leave (autogenerated)
} // end handler
L_0270: Label13
L_0270: Label17
L_0270: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0272: call Boolean MoveNext()
L_0277: brtrue Label19
L_027c: leave Label20
L_0281: leave (autogenerated)
} // end try
.finally
{
L_0286: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0288: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef]
L_028e: callvirt Void Dispose()
L_0293: endfinally
L_0294: leave (autogenerated)
} // end handler
L_0295: Label12
L_0295: Label20
L_0295: call Void StartedNewGame()
L_029a: ldarg.0
L_029b: ldnull
L_029c: stfld Verse.GameInitData initData
L_02a1: leave Label21
L_02a6: leave (autogenerated)
} // end try
.finally
{
L_02ab: call Void End()
L_02b0: endfinally
L_02b1: leave (autogenerated)
} // end handler
L_02b2: Label21
L_02b2: Label22
L_02b2: Label23
L_02b2: call Void InitNewGamePostfix()
L_02b7: ret
DONE

### Patch RimWorld.MainTabWindow_Inspect, IEnumerable`1 get_CurTabs()


L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[Verse.InspectTabBase, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0002: ldarg.0
L_0003: call Int32 get_NumSelected()
L_0008: ldc.i4.1
L_0009: bne.un Label1
L_000e: ldarg.0
L_000f: call Verse.Thing get_SelThing()
L_0014: brfalse Label2
L_0019: ldarg.0
L_001a: call Verse.Thing get_SelThing()
L_001f: ldfld Verse.ThingDef def
L_0024: ldfld System.Collections.Generic.List`1[Verse.InspectTabBase]
inspectorTabsResolved
L_0029: brfalse Label3
L_002e: ldarg.0
L_002f: call Verse.Thing get_SelThing()
L_0034: callvirt IEnumerable`1 GetInspectTabs()
L_0039: br Label5
L_003e: Label2
L_003e: Label3
L_003e: ldarg.0
L_003f: call Verse.Zone get_SelZone()
L_0044: brfalse Label4
L_0049: ldarg.0
L_004a: call Verse.Zone get_SelZone()
L_004f: callvirt IEnumerable`1 GetInspectTabs()
L_0054: br Label6
L_0059: Label1
L_0059: Label4
L_0059: call IEnumerable`1 Empty[InspectTabBase]()
L_005e: Label5
L_005e: Label6
L_005e: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_005f: ldloca 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0061: call Void Postfix(IEnumerable`1 ByRef)
L_0066: ldloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0067: ret
DONE
### Patch Verse.ThingOwner, Void NotifyAdded(Verse.Thing)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Map, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.CompTransporter
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: Local var 4: RimWorld.Pawn_ApparelTracker
L_0000: Local var 5: Verse.Pawn_EquipmentTracker
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: call Boolean ShouldAutoExtinguishInnerThings(IThingHolder)
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldsfld Verse.ThingDef Fire
L_0016: call Boolean HasAttachment(Verse.Thing, Verse.ThingDef)
L_001b: brfalse Label2
L_0020: ldarg.1
L_0021: ldsfld Verse.ThingDef Fire
L_0026: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_002b: ldc.i4.0
L_002c: callvirt Void Destroy(DestroyMode)
L_0031: Label1
L_0031: Label2
L_0031: ldarg.0
L_0032: ldfld Verse.IThingHolder owner
L_0037: call Boolean ShouldRemoveDesignationsOnAddedThings(IThingHolder)
L_003c: brfalse Label3
L_0041: call System.Collections.Generic.List`1[Verse.Map] get_Maps()
L_0046: stloc.0
L_0047: ldc.i4.0
L_0048: stloc.1
L_0049: br Label4
L_004e: Label5
L_004e: ldloc.0
L_004f: ldloc.1
L_0050: callvirt Verse.Map get_Item(Int32)
L_0055: ldfld Verse.DesignationManager designationManager
L_005a: ldarg.1
L_005b: ldc.i4.0
L_005c: callvirt Void RemoveAllDesignationsOn(Verse.Thing, Boolean)
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label4
L_0065: ldloc.1
L_0066: ldloc.0
L_0067: callvirt Int32 get_Count()
L_006c: blt Label5
L_0071: Label3
L_0071: ldarg.0
L_0072: ldfld Verse.IThingHolder owner
L_0077: isinst RimWorld.CompTransporter
L_007c: stloc.2
L_007d: ldloc.2
L_007e: brfalse Label6
L_0083: ldloc.2
L_0084: ldarg.1
L_0085: callvirt Void Notify_ThingAdded(Verse.Thing)
L_008a: Label6
L_008a: ldarg.0
L_008b: ldfld Verse.IThingHolder owner
L_0090: isinst RimWorld.Planet.Caravan
L_0095: stloc.3
L_0096: ldloc.3
L_0097: brfalse Label7
L_009c: ldloc.3
L_009d: ldarg.1
L_009e: castclass Verse.Pawn
L_00a3: callvirt Void Notify_PawnAdded(Verse.Pawn)
L_00a8: Label7
L_00a8: ldarg.0
L_00a9: ldfld Verse.IThingHolder owner
L_00ae: isinst RimWorld.Pawn_ApparelTracker
L_00b3: stloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b5: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b7: brfalse Label8
L_00bc: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00be: ldarg.1
L_00bf: castclass RimWorld.Apparel
L_00c4: callvirt Void Notify_ApparelAdded(RimWorld.Apparel)
L_00c9: Label8
L_00c9: ldarg.0
L_00ca: ldfld Verse.IThingHolder owner
L_00cf: isinst Verse.Pawn_EquipmentTracker
L_00d4: stloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d6: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d8: brfalse Label9
L_00dd: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00df: ldarg.1
L_00e0: castclass Verse.ThingWithComps
L_00e5: callvirt Void Notify_EquipmentAdded(Verse.ThingWithComps)
L_00ea: Label9
L_00ea: ldarg.0
L_00eb: ldarg.1
L_00ec: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_00f1: ldarg.0
L_00f2: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_00f7: ret
DONE

### Patch Verse.ThingOwner, Void NotifyRemoved(Verse.Thing)


L_0000: Local var 0: Verse.Pawn_InventoryTracker
L_0000: Local var 1: RimWorld.Pawn_ApparelTracker
L_0000: Local var 2: Verse.Pawn_EquipmentTracker
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: isinst Verse.Pawn_InventoryTracker
L_000b: stloc.0
L_000c: ldloc.0
L_000d: brfalse Label1
L_0012: ldloc.0
L_0013: ldarg.1
L_0014: callvirt Void Notify_ItemRemoved(Verse.Thing)
L_0019: Label1
L_0019: ldarg.0
L_001a: ldfld Verse.IThingHolder owner
L_001f: isinst RimWorld.Pawn_ApparelTracker
L_0024: stloc.1
L_0025: ldloc.1
L_0026: brfalse Label2
L_002b: ldloc.1
L_002c: ldarg.1
L_002d: castclass RimWorld.Apparel
L_0032: callvirt Void Notify_ApparelRemoved(RimWorld.Apparel)
L_0037: Label2
L_0037: ldarg.0
L_0038: ldfld Verse.IThingHolder owner
L_003d: isinst Verse.Pawn_EquipmentTracker
L_0042: stloc.2
L_0043: ldloc.2
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldarg.1
L_004b: castclass Verse.ThingWithComps
L_0050: callvirt Void Notify_EquipmentRemoved(Verse.ThingWithComps)
L_0055: Label3
L_0055: ldarg.0
L_0056: ldfld Verse.IThingHolder owner
L_005b: isinst RimWorld.Planet.Caravan
L_0060: stloc.3
L_0061: ldloc.3
L_0062: brfalse Label4
L_0067: ldloc.3
L_0068: ldarg.1
L_0069: castclass Verse.Pawn
L_006e: callvirt Void Notify_PawnRemoved(Verse.Pawn)
L_0073: Label4
L_0073: ldarg.0
L_0074: ldarg.1
L_0075: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_007a: ldarg.0
L_007b: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_0080: ret
DONE

### Patch RimWorld.Selector, Void ClearSelection()


L_0000: call Void Clear()
L_0005: ldarg.0
L_0006: ldfld System.Collections.Generic.List`1[System.Object] selected
L_000b: callvirt Void Clear()
L_0010: call Void Postfix()
L_0015: ret
DONE

### Patch RimWorld.Selector, Void Deselect(System.Object)


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldloca 0 (System.Int32)
L_0008: call Void Prefix(Int32 ByRef)
L_000d: ldarg.0
L_000e: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0013: ldarg.1
L_0014: callvirt Boolean Contains(System.Object)
L_0019: brfalse Label1
L_001e: ldarg.0
L_001f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0024: ldarg.1
L_0025: callvirt Boolean Remove(System.Object)
L_002a: pop
L_002b: Label1
L_002b: ldloc 0 (System.Int32)
L_002c: call Void Postfix(Int32)
L_0031: ret
DONE

### Patch RimWorld.Selector, Void Select(System.Object, Boolean, Boolean)


L_0000: Local var 0: Verse.Thing
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Int32)
L_0007: ldloca 7 (System.Int32)
L_0009: call Void Prefix(Int32 ByRef)
L_000e: ldarg.1
L_000f: brtrue Label1
L_0014: ldstr "Cannot select null."
L_0019: ldc.i4.0
L_001a: call Void Error(System.String, Boolean)
L_001f: br Label26
L_0024: Label1
L_0024: ldarg.1
L_0025: isinst Verse.Thing
L_002a: stloc.0
L_002b: ldloc.0
L_002c: brtrue Label2
L_0031: ldarg.1
L_0032: isinst Verse.Zone
L_0037: brtrue Label3
L_003c: ldstr "Tried to select "
L_0041: ldarg.1
L_0042: ldstr " which is neither a Thing nor a Zone."
L_0047: call System.String Concat(System.Object, System.Object, System.Object)
L_004c: ldc.i4.0
L_004d: call Void Error(System.String, Boolean)
L_0052: br Label27
L_0057: Label2
L_0057: Label3
L_0057: ldloc.0
L_0058: brfalse Label4
L_005d: ldloc.0
L_005e: callvirt Boolean get_Destroyed()
L_0063: brfalse Label5
L_0068: ldstr "Cannot select destroyed thing."
L_006d: ldc.i4.0
L_006e: call Void Error(System.String, Boolean)
L_0073: br Label28
L_0078: Label4
L_0078: Label5
L_0078: ldarg.1
L_0079: isinst Verse.Pawn
L_007e: stloc.1
L_007f: ldloc.1
L_0080: brfalse Label6
L_0085: ldloc.1
L_0086: call Boolean IsWorldPawn(Verse.Pawn)
L_008b: brfalse Label7
L_0090: ldstr "Cannot select world pawns."
L_0095: ldc.i4.0
L_0096: call Void Error(System.String, Boolean)
L_009b: br Label29
L_00a0: Label6
L_00a0: Label7
L_00a0: ldarg.3
L_00a1: brfalse Label8
L_00a6: call Verse.DesignatorManager get_DesignatorManager()
L_00ab: callvirt Void Deselect()
L_00b0: Label8
L_00b0: ldarg.0
L_00b1: call Verse.Zone get_SelectedZone()
L_00b6: brfalse Label9
L_00bb: ldarg.1
L_00bc: isinst Verse.Zone
L_00c1: brtrue Label10
L_00c6: ldarg.0
L_00c7: call Void ClearSelection()
L_00cc: Label9
L_00cc: Label10
L_00cc: ldarg.1
L_00cd: isinst Verse.Zone
L_00d2: brfalse Label11
L_00d7: ldarg.0
L_00d8: call Verse.Zone get_SelectedZone()
L_00dd: brtrue Label12
L_00e2: ldarg.0
L_00e3: call Void ClearSelection()
L_00e8: Label11
L_00e8: Label12
L_00e8: ldloc.0
L_00e9: brfalse Label13
L_00ee: ldloc.0
L_00ef: callvirt Verse.Map get_Map()
L_00f4: br Label14
L_00f9: Label13
L_00f9: ldarg.1
L_00fa: castclass Verse.Zone
L_00ff: callvirt Verse.Map get_Map()
L_0104: Label14
L_0104: stloc.2
L_0105: ldarg.0
L_0106: ldfld System.Collections.Generic.List`1[System.Object] selected
L_010b: callvirt Int32 get_Count()
L_0110: ldc.i4.1
L_0111: sub
L_0112: stloc.3
L_0113: br Label15
L_0118: Label19
L_0118: ldarg.0
L_0119: ldfld System.Collections.Generic.List`1[System.Object] selected
L_011e: ldloc.3
L_011f: callvirt System.Object get_Item(Int32)
L_0124: isinst Verse.Thing
L_0129: stloc.s 4 (Verse.Thing)
L_012b: ldloc.s 4 (Verse.Thing)
L_012d: brfalse Label16
L_0132: ldloc.s 4 (Verse.Thing)
L_0134: callvirt Verse.Map get_Map()
L_0139: br Label17
L_013e: Label16
L_013e: ldarg.0
L_013f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0144: ldloc.3
L_0145: callvirt System.Object get_Item(Int32)
L_014a: castclass Verse.Zone
L_014f: callvirt Verse.Map get_Map()
L_0154: Label17
L_0154: stloc.s 5 (Verse.Map)
L_0156: ldloc.s 5 (Verse.Map)
L_0158: ldloc.2
L_0159: beq Label18
L_015e: ldarg.0
L_015f: ldarg.0
L_0160: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0165: ldloc.3
L_0166: callvirt System.Object get_Item(Int32)
L_016b: call Void Deselect(System.Object)
L_0170: Label18
L_0170: ldloc.3
L_0171: ldc.i4.1
L_0172: sub
L_0173: stloc.3
L_0174: Label15
L_0174: ldloc.3
L_0175: ldc.i4.0
L_0176: bge Label19
L_017b: ldarg.0
L_017c: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0181: callvirt Int32 get_Count()
L_0186: ldc.i4.s 80
L_0188: blt Label20
L_018d: br Label30
L_0192: Label20
L_0192: ldarg.0
L_0193: ldarg.1
L_0194: call Boolean IsSelected(System.Object)
L_0199: brtrue Label21
L_019e: ldloc.2
L_019f: call Verse.Map get_CurrentMap()
L_01a4: beq Label22
L_01a9: call Verse.Game get_Game()
L_01ae: ldloc.2
L_01af: callvirt Void set_CurrentMap(Verse.Map)
L_01b4: ldsfld Verse.SoundDef MapSelected
L_01b9: ldnull
L_01ba: call Void PlayOneShotOnCamera(Verse.SoundDef, Verse.Map)
L_01bf: ldloc.0
L_01c0: brfalse Label23
L_01c5: ldloc.0
L_01c6: callvirt IntVec3 get_Position()
L_01cb: br Label24
L_01d0: Label23
L_01d0: ldarg.1
L_01d1: castclass Verse.Zone
L_01d6: callvirt System.Collections.Generic.List`1[Verse.IntVec3] get_Cells()
L_01db: ldc.i4.0
L_01dc: callvirt IntVec3 get_Item(Int32)
L_01e1: Label24
L_01e1: stloc.s 6 (Verse.IntVec3)
L_01e3: call Verse.CameraDriver get_CameraDriver()
L_01e8: ldloc.s 6 (Verse.IntVec3)
L_01ea: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_01ef: Label22
L_01ef: ldarg.2
L_01f0: brfalse Label25
L_01f5: ldarg.0
L_01f6: ldarg.1
L_01f7: call Void PlaySelectionSoundFor(System.Object)
L_01fc: Label25
L_01fc: ldarg.0
L_01fd: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0202: ldarg.1
L_0203: callvirt Void Add(System.Object)
L_0208: ldarg.1
L_0209: call Void Notify_Selected(System.Object)
L_020e: Label21
L_020e: Label26
L_020e: Label27
L_020e: Label28
L_020e: Label29
L_020e: Label30
L_020e: ldloc 7 (System.Int32)
L_0210: call Void Postfix(Int32)
L_0215: ret
DONE

### Patch RimWorld.Blueprint_Build, Verse.Thing MakeSolidThing()


L_0000: Local var 0: Verse.Thing
L_0000: ldnull
L_0001: stloc 0 (Verse.Thing)
L_0002: ldarg.0
L_0003: ldfld Verse.ThingDef def
L_0008: ldfld Verse.BuildableDef entityDefToBuild
L_000d: ldfld Verse.ThingDef frameDef
L_0012: ldarg.0
L_0013: ldfld Verse.ThingDef stuffToUse
L_0018: call Verse.Thing MakeThing(Verse.ThingDef, Verse.ThingDef)
L_001d: stloc 0 (Verse.Thing)
L_001e: ldloc 0 (Verse.Thing)
L_001f: ldarg.0
L_0020: call Void Postfix(Verse.Thing, RimWorld.Blueprint_Build)
L_0025: ldloc 0 (Verse.Thing)
L_0026: ret
DONE

### Patch Verse.AreaManager, Void ExposeData()


L_0000: ldarg.0
L_0001: call Void Prefix(Verse.AreaManager)
L_0006: ldarg.0
L_0007: ldflda System.Collections.Generic.List`1[Verse.Area] areas
L_000c: ldstr "areas"
L_0011: ldc.i4.2
L_0012: ldc.i4.0
L_0013: newarr System.Object
L_0018: call Void Look[Area](System.Collections.Generic.List`1[Verse.Area] ByRef,
System.String, LookMode, System.Object[])
L_001d: ldsfld Verse.LoadSaveMode mode
L_0022: ldc.i4.2
L_0023: bne.un Label1
L_0028: ldarg.0
L_0029: call Void UpdateAllAreasLinks()
L_002e: Label1
L_002e: ret
DONE

### Patch RimWorld.PlaySettings, Void DoPlaySettingsGlobalControls(Verse.WidgetRow,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Boolean
L_0000: Local var 3: System.Boolean
L_0000: ldarg.0
L_0001: ldfld System.Boolean showColonistBar
L_0006: stloc.0
L_0007: ldarg.2
L_0008: brfalse Label1
L_000d: call ProgramState get_ProgramState()
L_0012: ldc.i4.2
L_0013: bne.un Label2
L_0018: ldarg.1
L_0019: ldarg.0
L_001a: ldflda System.Boolean showColonistBar
L_001f: ldsfld UnityEngine.Texture2D ShowColonistBar
L_0024: ldstr "ShowColonistBarToggleButton"
L_0029: call System.String Translate(System.String)
L_002e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0033: ldnull
L_0034: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0039: Label2
L_0039: ldarg.0
L_003a: ldfld System.Boolean lockNorthUp
L_003f: stloc.1
L_0040: ldarg.1
L_0041: ldarg.0
L_0042: ldflda System.Boolean lockNorthUp
L_0047: ldsfld UnityEngine.Texture2D LockNorthUp
L_004c: ldstr "LockNorthUpToggleButton"
L_0051: call System.String Translate(System.String)
L_0056: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_005b: ldnull
L_005c: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0061: ldloc.1
L_0062: ldarg.0
L_0063: ldfld System.Boolean lockNorthUp
L_0068: beq Label3
L_006d: ldarg.0
L_006e: ldfld System.Boolean lockNorthUp
L_0073: brfalse Label4
L_0078: call RimWorld.Planet.WorldCameraDriver get_WorldCameraDriver()
L_007d: ldc.i4.1
L_007e: callvirt Void RotateSoNorthIsUp(Boolean)
L_0083: Label3
L_0083: Label4
L_0083: ldarg.1
L_0084: ldarg.0
L_0085: ldflda System.Boolean usePlanetDayNightSystem
L_008a: ldsfld UnityEngine.Texture2D UsePlanetDayNightSystem
L_008f: ldstr "UsePlanetDayNightSystemToggleButton"
L_0094: call System.String Translate(System.String)
L_0099: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_009e: ldnull
L_009f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00a4: ldarg.1
L_00a5: ldarg.0
L_00a6: ldflda System.Boolean showExpandingIcons
L_00ab: ldsfld UnityEngine.Texture2D ShowExpandingIcons
L_00b0: ldstr "ShowExpandingIconsToggleButton"
L_00b5: call System.String Translate(System.String)
L_00ba: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00bf: ldnull
L_00c0: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00c5: ldarg.1
L_00c6: ldarg.0
L_00c7: ldflda System.Boolean showWorldFeatures
L_00cc: ldsfld UnityEngine.Texture2D ShowWorldFeatures
L_00d1: ldstr "ShowWorldFeaturesToggleButton"
L_00d6: call System.String Translate(System.String)
L_00db: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00e0: ldnull
L_00e1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00e6: br Label5
L_00eb: Label1
L_00eb: ldarg.1
L_00ec: ldarg.0
L_00ed: ldflda System.Boolean showLearningHelper
L_00f2: ldsfld UnityEngine.Texture2D ShowLearningHelper
L_00f7: ldstr "ShowLearningHelperWhenEmptyToggleButton"
L_00fc: call System.String Translate(System.String)
L_0101: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0106: ldnull
L_0107: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_010c: ldarg.1
L_010d: ldarg.0
L_010e: ldflda System.Boolean showZones
L_0113: ldsfld UnityEngine.Texture2D ShowZones
L_0118: ldstr "ZoneVisibilityToggleButton"
L_011d: call System.String Translate(System.String)
L_0122: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0127: ldnull
L_0128: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_012d: ldarg.1
L_012e: ldarg.0
L_012f: ldflda System.Boolean showBeauty
L_0134: ldsfld UnityEngine.Texture2D ShowBeauty
L_0139: ldstr "ShowBeautyToggleButton"
L_013e: call System.String Translate(System.String)
L_0143: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0148: ldnull
L_0149: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_014e: ldarg.0
L_014f: ldsfld Verse.KeyBindingDef ToggleBeautyDisplay
L_0154: ldarg.0
L_0155: ldflda System.Boolean showBeauty
L_015a: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_015f: ldarg.1
L_0160: ldarg.0
L_0161: ldflda System.Boolean showRoomStats
L_0166: ldsfld UnityEngine.Texture2D ShowRoomStats
L_016b: ldstr "ShowRoomStatsToggleButton"
L_0170: call System.String Translate(System.String)
L_0175: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_017a: ldstr "InspectRoomStats"
L_017f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0184: ldarg.0
L_0185: ldsfld Verse.KeyBindingDef ToggleRoomStatsDisplay
L_018a: ldarg.0
L_018b: ldflda System.Boolean showRoomStats
L_0190: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_0195: ldarg.1
L_0196: ldarg.0
L_0197: ldflda System.Boolean showColonistBar
L_019c: ldsfld UnityEngine.Texture2D ShowColonistBar
L_01a1: ldstr "ShowColonistBarToggleButton"
L_01a6: call System.String Translate(System.String)
L_01ab: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01b0: ldnull
L_01b1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01b6: ldarg.1
L_01b7: ldarg.0
L_01b8: ldflda System.Boolean showRoofOverlay
L_01bd: ldsfld UnityEngine.Texture2D ShowRoofOverlay
L_01c2: ldstr "ShowRoofOverlayToggleButton"
L_01c7: call System.String Translate(System.String)
L_01cc: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01d1: ldnull
L_01d2: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01d7: ldarg.1
L_01d8: ldarg.0
L_01d9: ldflda System.Boolean autoHomeArea
L_01de: ldsfld UnityEngine.Texture2D AutoHomeArea
L_01e3: ldstr "AutoHomeAreaToggleButton"
L_01e8: call System.String Translate(System.String)
L_01ed: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01f2: ldnull
L_01f3: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01f8: ldarg.1
L_01f9: ldarg.0
L_01fa: ldflda System.Boolean autoRebuild
L_01ff: ldsfld UnityEngine.Texture2D AutoRebuild
L_0204: ldstr "AutoRebuildButton"
L_0209: call System.String Translate(System.String)
L_020e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0213: ldnull
L_0214: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0219: call Boolean get_ResourceReadoutCategorized()
L_021e: stloc.2
L_021f: ldloc.2
L_0220: stloc.3
L_0221: ldarg.1
L_0222: ldloca.s 2 (System.Boolean)
L_0224: ldsfld UnityEngine.Texture2D CategorizedResourceReadout
L_0229: ldstr "CategorizedResourceReadoutToggleButton"
L_022e: call System.String Translate(System.String)
L_0233: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0238: ldnull
L_0239: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_023e: ldloc.2
L_023f: ldloc.3
L_0240: beq Label6
L_0245: ldloc.2
L_0246: call Void set_ResourceReadoutCategorized(Boolean)
L_024b: Label5
L_024b: Label6
L_024b: ldloc.0
L_024c: ldarg.0
L_024d: ldfld System.Boolean showColonistBar
L_0252: beq Label7
L_0257: call RimWorld.ColonistBar get_ColonistBar()
L_025c: callvirt Void MarkColonistsDirty()
L_0261: Label7
L_0261: ldarg 1
L_0267: ldarg 2
L_026d: call Void AddButton(Verse.WidgetRow, Boolean)
L_0272: ldarg 1
L_0278: ldarg 2
L_027e: call Void AddButton(Verse.WidgetRow, Boolean)
L_0283: ldarg 1
L_0289: ldarg 2
L_028f: call Void AddButton(Verse.WidgetRow, Boolean)
L_0294: ldarg 1
L_029a: ldarg 2
L_02a0: call Void Postfix(Verse.WidgetRow, Boolean)
L_02a5: ret
DONE

### Patch RimWorld.Apparel, Void Notify_PawnKilled()


L_0000: ldarg.0
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.ApparelProperties apparel
L_000b: ldfld System.Boolean careIfWornByCorpse
L_0010: brfalse Label1
L_0015: ldarg.0
L_0016: ldc.i4.1
L_0017: stfld System.Boolean wornByCorpseInt
L_001c: Label1
L_001c: ldarg.0
L_001d: call Void Postfix(RimWorld.Apparel)
L_0022: ret
DONE

### Patch Verse.Game, Void UpdatePlay()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.TickManager tickManager
L_0006: callvirt Void TickManagerUpdate()
L_000b: ldarg.0
L_000c: ldfld Verse.LetterStack letterStack
L_0011: callvirt Void LetterStackUpdate()
L_0016: ldarg.0
L_0017: call RimWorld.Planet.World get_World()
L_001c: callvirt Void WorldUpdate()
L_0021: ldc.i4.0
L_0022: stloc.0
L_0023: br Label1
L_0028: Label2
L_0028: ldarg.0
L_0029: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_002e: ldloc.0
L_002f: callvirt Verse.Map get_Item(Int32)
L_0034: callvirt Void MapUpdate()
L_0039: ldloc.0
L_003a: ldc.i4.1
L_003b: add
L_003c: stloc.0
L_003d: Label1
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0044: callvirt Int32 get_Count()
L_0049: blt Label2
L_004e: ldarg.0
L_004f: call Verse.GameInfo get_Info()
L_0054: callvirt Void GameInfoUpdate()
L_0059: call Void GameComponentUpdate()
L_005e: call Void Postfix()
L_0063: ret
DONE

### Patch Verse.EdificeGrid, Void Register(Verse.Building)


L_0000: Local var 0: Verse.CellIndices
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.IntVec3
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean RegisterDoorExpanded(Verse.EdificeGrid, Verse.Building)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld Verse.Map map
L_0017: ldfld Verse.CellIndices cellIndices
L_001c: stloc.0
L_001d: ldarg.1
L_001e: call CellRect OccupiedRect(Verse.Thing)
L_0023: stloc.1
L_0024: ldloca.s 1 (Verse.CellRect)
L_0026: ldfld System.Int32 minZ
L_002b: stloc.2
L_002c: br Label1
L_0031: Label7
L_0031: ldloca.s 1 (Verse.CellRect)
L_0033: ldfld System.Int32 minX
L_0038: stloc.3
L_0039: br Label2
L_003e: Label6
L_003e: ldloca.s 4 (Verse.IntVec3)
L_0040: ldloc.3
L_0041: ldc.i4.0
L_0042: ldloc.2
L_0043: call Void .ctor(Int32, Int32, Int32)
L_0048: ldsfld System.Boolean isDebugBuild
L_004d: brfalse Label3
L_0052: ldarg.0
L_0053: ldloc.s 4 (Verse.IntVec3)
L_0055: call Verse.Building get_Item(IntVec3)
L_005a: brfalse Label4
L_005f: ldarg.0
L_0060: ldloc.s 4 (Verse.IntVec3)
L_0062: call Verse.Building get_Item(IntVec3)
L_0067: callvirt Boolean get_Destroyed()
L_006c: brtrue Label5
L_0071: ldc.i4.7
L_0072: newarr System.Object
L_0077: dup
L_0078: ldc.i4.0
L_0079: ldstr "Added edifice "
L_007e: stelem.ref
L_007f: dup
L_0080: ldc.i4.1
L_0081: ldarg.1
L_0082: callvirt System.String get_LabelCap()
L_0087: stelem.ref
L_0088: dup
L_0089: ldc.i4.2
L_008a: ldstr " over edifice "
L_008f: stelem.ref
L_0090: dup
L_0091: ldc.i4.3
L_0092: ldarg.0
L_0093: ldloc.s 4 (Verse.IntVec3)
L_0095: call Verse.Building get_Item(IntVec3)
L_009a: callvirt System.String get_LabelCap()
L_009f: stelem.ref
L_00a0: dup
L_00a1: ldc.i4.4
L_00a2: ldstr " at "
L_00a7: stelem.ref
L_00a8: dup
L_00a9: ldc.i4.5
L_00aa: ldloc.s 4 (Verse.IntVec3)
L_00ac: box Verse.IntVec3
L_00b1: stelem.ref
L_00b2: dup
L_00b3: ldc.i4.6
L_00b4: ldstr ". Destroying old edifice."
L_00b9: stelem.ref
L_00ba: call System.String Concat(System.Object[])
L_00bf: ldc.i4.0
L_00c0: call Void Error(System.String, Boolean)
L_00c5: ldarg.0
L_00c6: ldloc.s 4 (Verse.IntVec3)
L_00c8: call Verse.Building get_Item(IntVec3)
L_00cd: ldc.i4.0
L_00ce: callvirt Void Destroy(DestroyMode)
L_00d3: br Label8
L_00d8: Label3
L_00d8: Label4
L_00d8: Label5
L_00d8: ldarg.0
L_00d9: ldfld Verse.Building[] innerArray
L_00de: ldloc.0
L_00df: ldloc.s 4 (Verse.IntVec3)
L_00e1: callvirt Int32 CellToIndex(IntVec3)
L_00e6: ldarg.1
L_00e7: stelem.ref
L_00e8: ldloc.3
L_00e9: ldc.i4.1
L_00ea: add
L_00eb: stloc.3
L_00ec: Label2
L_00ec: ldloc.3
L_00ed: ldloca.s 1 (Verse.CellRect)
L_00ef: ldfld System.Int32 maxX
L_00f4: ble Label6
L_00f9: ldloc.2
L_00fa: ldc.i4.1
L_00fb: add
L_00fc: stloc.2
L_00fd: Label1
L_00fd: ldloc.2
L_00fe: ldloca.s 1 (Verse.CellRect)
L_0100: ldfld System.Int32 maxZ
L_0105: ble Label7
L_010a: Label8
L_010a: Label0
L_010a: ret
DONE

### Patch RimWorld.Building_Door, Void DoorOpen(Int32)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorOpen(RimWorld.Building_Door, Int32)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean openInt
L_0017: brfalse Label1
L_001c: ldarg.0
L_001d: ldarg.1
L_001e: stfld System.Int32 ticksUntilClose
L_0023: br Label2
L_0028: Label1
L_0028: ldarg.0
L_0029: ldarg.0
L_002a: call Int32 get_TicksToOpenNow()
L_002f: ldarg.1
L_0030: add
L_0031: stfld System.Int32 ticksUntilClose
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld System.Boolean openInt
L_003c: brtrue Label3
L_0041: ldarg.0
L_0042: ldc.i4.1
L_0043: stfld System.Boolean openInt
L_0048: ldarg.0
L_0049: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_004e: ldarg.0
L_004f: call Boolean get_DoorPowerOn()
L_0054: brfalse Label4
L_0059: ldarg.0
L_005a: ldfld Verse.ThingDef def
L_005f: ldfld RimWorld.BuildingProperties building
L_0064: ldfld Verse.SoundDef soundDoorOpenPowered
L_0069: ldarg.0
L_006a: call IntVec3 get_Position()
L_006f: ldarg.0
L_0070: call Verse.Map get_Map()
L_0075: ldc.i4.0
L_0076: newobj Void .ctor(IntVec3, Map, Boolean)
L_007b: call SoundInfo op_Implicit(TargetInfo)
L_0080: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0085: br Label5
L_008a: Label4
L_008a: ldarg.0
L_008b: ldfld Verse.ThingDef def
L_0090: ldfld RimWorld.BuildingProperties building
L_0095: ldfld Verse.SoundDef soundDoorOpenManual
L_009a: ldarg.0
L_009b: call IntVec3 get_Position()
L_00a0: ldarg.0
L_00a1: call Verse.Map get_Map()
L_00a6: ldc.i4.0
L_00a7: newobj Void .ctor(IntVec3, Map, Boolean)
L_00ac: call SoundInfo op_Implicit(TargetInfo)
L_00b1: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00b6: Label3
L_00b6: Label5
L_00b6: Label0
L_00b6: ret
DONE

### Patch RimWorld.Building_Door, Boolean DoorTryClose()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InvisDoorTryClose(RimWorld.Building_Door)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean holdOpenInt
L_0017: brtrue Label1
L_001c: ldarg.0
L_001d: call Boolean get_BlockedOpenMomentary()
L_0022: brfalse Label2
L_0027: Label1
L_0027: ldc.i4.0
L_0028: br Label5
L_002d: Label2
L_002d: ldarg.0
L_002e: ldc.i4.0
L_002f: stfld System.Boolean openInt
L_0034: ldarg.0
L_0035: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_003a: ldarg.0
L_003b: call Boolean get_DoorPowerOn()
L_0040: brfalse Label3
L_0045: ldarg.0
L_0046: ldfld Verse.ThingDef def
L_004b: ldfld RimWorld.BuildingProperties building
L_0050: ldfld Verse.SoundDef soundDoorClosePowered
L_0055: ldarg.0
L_0056: call IntVec3 get_Position()
L_005b: ldarg.0
L_005c: call Verse.Map get_Map()
L_0061: ldc.i4.0
L_0062: newobj Void .ctor(IntVec3, Map, Boolean)
L_0067: call SoundInfo op_Implicit(TargetInfo)
L_006c: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0071: br Label4
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.ThingDef def
L_007c: ldfld RimWorld.BuildingProperties building
L_0081: ldfld Verse.SoundDef soundDoorCloseManual
L_0086: ldarg.0
L_0087: call IntVec3 get_Position()
L_008c: ldarg.0
L_008d: call Verse.Map get_Map()
L_0092: ldc.i4.0
L_0093: newobj Void .ctor(IntVec3, Map, Boolean)
L_0098: call SoundInfo op_Implicit(TargetInfo)
L_009d: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00a2: Label4
L_00a2: ldc.i4.1
L_00a3: Label5
L_00a3: stloc 0 (System.Boolean)
L_00a4: Label0
L_00a4: ldloc 0 (System.Boolean)
L_00a5: ret
DONE

### Patch RimWorld.Building_Door, Void Notify_PawnApproaching(Verse.Pawn, Int32)


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void CheckFriendlyTouched(Verse.Pawn)
L_0007: ldarg.0
L_0008: ldarg.1
L_0009: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_000e: brfalse Label1
L_0013: ldarg.0
L_0014: call Verse.Map get_Map()
L_0019: ldfld Verse.FogGrid fogGrid
L_001e: ldarg.0
L_001f: ldarg.1
L_0020: callvirt Void Notify_PawnEnteringDoor(RimWorld.Building_Door, Verse.Pawn)
L_0025: ldarg.0
L_0026: call Boolean get_SlowsPawns()
L_002b: brtrue Label2
L_0030: ldc.i4 300
L_0035: ldarg.2
L_0036: ldc.i4.1
L_0037: add
L_0038: call Int32 Max(Int32, Int32)
L_003d: stloc.0
L_003e: ldarg.0
L_003f: ldloc.0
L_0040: call Void DoorOpen(Int32)
L_0045: Label1
L_0045: Label2
L_0045: ldarg.0
L_0046: ldarg 1
L_004c: call Void InvisDoorNotifyApproaching(RimWorld.Building_Door, Verse.Pawn)
L_0051: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualCloseBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorManualClose(RimWorld.Building_Door, Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldc.i4.s 110
L_0014: stfld System.Int32 ticksUntilClose
L_0019: Label0
L_0019: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualOpenBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldc.i4.s 110
L_0003: call Void DoorOpen(Int32)
L_0008: ldarg.0
L_0009: ldarg 1
L_000f: call Void InvisDoorManualOpen(RimWorld.Building_Door, Verse.Pawn)
L_0014: ret
DONE

### Patch RimWorld.Building_Door, Boolean get_FreePassage()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean get_FreePassage(RimWorld.Building_Door, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: ldfld System.Boolean openInt
L_0019: brtrue Label1
L_001e: ldc.i4.0
L_001f: br Label4
L_0024: Label1
L_0024: ldarg.0
L_0025: ldfld System.Boolean holdOpenInt
L_002a: brtrue Label2
L_002f: ldarg.0
L_0030: call Boolean get_WillCloseSoon()
L_0035: ldc.i4.0
L_0036: ceq
L_0038: br Label3
L_003d: Label2
L_003d: ldc.i4.1
L_003e: Label3
L_003e: Label4
L_003e: stloc 0 (System.Boolean)
L_003f: Label0
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.GhostDrawer, Void DrawGhostThing(IntVec3, Rot4, Verse.ThingDef,


Verse.Graphic, Color, AltitudeLayer)
L_0000: Local var 0: Verse.Graphic
L_0000: Local var 1: UnityEngine.Vector3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: ldarg 5
L_0024: call Boolean HeronDoorGhostHandler(IntVec3, Rot4, Verse.ThingDef,
Verse.Graphic, Color, AltitudeLayer)
L_0029: brfalse Label0
L_002e: ldarg.3
L_002f: brtrue Label1
L_0034: ldarg.2
L_0035: ldfld Verse.Graphic graphic
L_003a: starg.s 3
L_003c: Label1
L_003c: ldarg.3
L_003d: ldarg.2
L_003e: ldarg.s 4
L_0040: call Verse.Graphic GhostGraphicFor(Verse.Graphic, Verse.ThingDef, Color)
L_0045: stloc.0
L_0046: ldarg.0
L_0047: ldarg.1
L_0048: ldarg.2
L_0049: callvirt IntVec2 get_Size()
L_004e: ldarg.s 5
L_0050: call Single AltitudeFor(AltitudeLayer)
L_0055: call Vector3 TrueCenter(IntVec3, Rot4, IntVec2, Single)
L_005a: stloc.1
L_005b: ldloc.0
L_005c: ldloc.1
L_005d: ldarg.1
L_005e: ldarg.2
L_005f: ldc.r4 0
L_0064: callvirt Void DrawFromDef(Vector3, Rot4, Verse.ThingDef, Single)
L_0069: ldc.i4.0
L_006a: stloc.2
L_006b: br Label2
L_0070: Label3
L_0070: ldarg.2
L_0071: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0076: ldloc.2
L_0077: callvirt Verse.CompProperties get_Item(Int32)
L_007c: ldarg.0
L_007d: ldarg.1
L_007e: ldarg.2
L_007f: ldarg.s 4
L_0081: ldarg.s 5
L_0083: callvirt Void DrawGhost(IntVec3, Rot4, Verse.ThingDef, Color,
AltitudeLayer)
L_0088: ldloc.2
L_0089: ldc.i4.1
L_008a: add
L_008b: stloc.2
L_008c: Label2
L_008c: ldloc.2
L_008d: ldarg.2
L_008e: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0093: callvirt Int32 get_Count()
L_0098: blt Label3
L_009d: ldarg.2
L_009e: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00a3: brfalse Label4
L_00a8: ldc.i4.0
L_00a9: stloc.3
L_00aa: br Label5
L_00af: Label6
L_00af: ldarg.2
L_00b0: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00b5: ldloc.3
L_00b6: callvirt Verse.PlaceWorker get_Item(Int32)
L_00bb: ldarg.2
L_00bc: ldarg.0
L_00bd: ldarg.1
L_00be: ldarg.s 4
L_00c0: callvirt Void DrawGhost(Verse.ThingDef, IntVec3, Rot4, Color)
L_00c5: ldloc.3
L_00c6: ldc.i4.1
L_00c7: add
L_00c8: stloc.3
L_00c9: Label5
L_00c9: ldloc.3
L_00ca: ldarg.2
L_00cb: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00d0: callvirt Int32 get_Count()
L_00d5: blt Label6
L_00da: Label4
L_00da: Label0
L_00da: ret
DONE

### Patch Verse.GenSpawn, Void SpawnBuildingAsPossible(Verse.Building, Verse.Map,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.CellRect
L_0000: Local var 5: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: call Boolean HeronSpawnBuildingAsPossible(Verse.Building, Verse.Map,
Boolean)
L_0017: brfalse Label0
L_001c: ldc.i4.0
L_001d: stloc.0
L_001e: ldarg.0
L_001f: call CellRect OccupiedRect(Verse.Thing)
L_0024: stloc.1
L_0025: ldloca.s 1 (Verse.CellRect)
L_0027: ldarg.1
L_0028: call Boolean InBounds(Verse.Map)
L_002d: brtrue Label1
L_0032: ldc.i4.1
L_0033: stloc.0
L_0034: br Label2
L_0039: Label1
L_0039: ldarg.0
L_003a: call CellRect OccupiedRect(Verse.Thing)
L_003f: stloc.s 4 (Verse.CellRect)
L_0041: ldloca.s 4 (Verse.CellRect)
L_0043: call IEnumerator`1 GetEnumerator()
L_0048: stloc.3
.try
{
L_0049: br Label3
L_004e: Label15
L_004e: ldloc.3
L_004f: callvirt IntVec3 get_Current()
L_0054: stloc.2
L_0055: ldloc.2
L_0056: ldarg.1
L_0057: call System.Collections.Generic.List`1[Verse.Thing]
GetThingList(IntVec3, Verse.Map)
L_005c: stloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_005e: ldc.i4.0
L_005f: stloc.s 6 (System.Int32)
L_0061: br Label4
L_0066: Label12
L_0066: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0068: ldloc.s 6 (System.Int32)
L_006a: callvirt Verse.Thing get_Item(Int32)
L_006f: isinst Verse.Pawn
L_0074: brfalse Label5
L_0079: ldarg.0
L_007a: ldfld Verse.ThingDef def
L_007f: ldfld Verse.Traversability passability
L_0084: ldc.i4.2
L_0085: bne.un Label6
L_008a: ldc.i4.1
L_008b: stloc.0
L_008c: leave Label7
L_0091: Label5
L_0091: Label6
L_0091: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0093: ldloc.s 6 (System.Int32)
L_0095: callvirt Verse.Thing get_Item(Int32)
L_009a: ldfld Verse.ThingDef def
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.3
L_00a5: beq Label8
L_00aa: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00ac: ldloc.s 6 (System.Int32)
L_00ae: callvirt Verse.Thing get_Item(Int32)
L_00b3: ldfld Verse.ThingDef def
L_00b8: ldfld Verse.ThingCategory category
L_00bd: ldc.i4.2
L_00be: bne.un Label9
L_00c3: Label8
L_00c3: ldarg.0
L_00c4: ldfld Verse.ThingDef def
L_00c9: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00cb: ldloc.s 6 (System.Int32)
L_00cd: callvirt Verse.Thing get_Item(Int32)
L_00d2: ldfld Verse.ThingDef def
L_00d7: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00dc: brfalse Label10
L_00e1: ldc.i4.1
L_00e2: stloc.0
L_00e3: leave Label11
L_00e8: Label9
L_00e8: Label10
L_00e8: ldloc.s 6 (System.Int32)
L_00ea: ldc.i4.1
L_00eb: add
L_00ec: stloc.s 6 (System.Int32)
L_00ee: Label4
L_00ee: ldloc.s 6 (System.Int32)
L_00f0: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00f2: callvirt Int32 get_Count()
L_00f7: blt Label12
L_00fc: Label7
L_00fc: Label11
L_00fc: ldloc.0
L_00fd: brfalse Label13
L_0102: leave Label14
L_0107: Label3
L_0107: Label13
L_0107: ldloc.3
L_0108: callvirt Boolean MoveNext()
L_010d: brtrue Label15
L_0112: Label14
L_0112: leave Label16
L_0117: leave (autogenerated)
} // end try
.finally
{
L_011c: ldloc.3
L_011d: brfalse Label17
L_0122: ldloc.3
L_0123: callvirt Void Dispose()
L_0128: Label17
L_0128: endfinally
L_0129: leave (autogenerated)
} // end handler
L_012a: Label2
L_012a: Label16
L_012a: ldloc.0
L_012b: brfalse Label18
L_0130: ldarg.0
L_0131: ldarg.1
L_0132: call CellRect get_Empty()
L_0137: call Void Refund(Verse.Thing, Verse.Map, CellRect)
L_013c: br Label19
L_0141: Label18
L_0141: ldarg.0
L_0142: ldarg.0
L_0143: callvirt IntVec3 get_Position()
L_0148: ldarg.1
L_0149: ldarg.0
L_014a: callvirt Rot4 get_Rotation()
L_014f: ldc.i4.1
L_0150: ldarg.2
L_0151: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0156: pop
L_0157: Label19
L_0157: Label0
L_0157: ret
DONE

### Patch Verse.GenSpawn, Void WipeExistingThings(IntVec3, Rot4,


Verse.BuildableDef, Verse.Map, DestroyMode)
L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: call Boolean WipeExistingThings(IntVec3, Rot4, Verse.BuildableDef,
Verse.Map, DestroyMode)
L_0023: brfalse Label0
L_0028: ldarg.0
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: callvirt IntVec2 get_Size()
L_0030: call IEnumerable`1 CellsOccupiedBy(IntVec3, Rot4, IntVec2)
L_0035: callvirt IEnumerator`1 GetEnumerator()
L_003a: stloc.1
.try
{
L_003b: br Label1
L_0040: Label6
L_0040: ldloc.1
L_0041: callvirt IntVec3 get_Current()
L_0046: stloc.0
L_0047: ldarg.3
L_0048: ldfld Verse.ThingGrid thingGrid
L_004d: ldloc.0
L_004e: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_0053: call System.Collections.Generic.List`1[Verse.Thing] ToList[Thing]
(IEnumerable`1)
L_0058: callvirt Enumerator GetEnumerator()
L_005d: stloc.3
.try
{
L_005e: br Label2
L_0063: Label4
L_0063: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0065: call Verse.Thing get_Current()
L_006a: stloc.2
L_006b: ldarg.2
L_006c: ldloc.2
L_006d: ldfld Verse.ThingDef def
L_0072: call Boolean SpawningWipes(Verse.BuildableDef,
Verse.BuildableDef)
L_0077: brfalse Label3
L_007c: ldloc.2
L_007d: ldarg.s 4
L_007f: callvirt Void Destroy(DestroyMode)
L_0084: Label2
L_0084: Label3
L_0084: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0086: call Boolean MoveNext()
L_008b: brtrue Label4
L_0090: leave Label5
L_0095: leave (autogenerated)
} // end try
.finally
{
L_009a: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_009c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_00a2: callvirt Void Dispose()
L_00a7: endfinally
L_00a8: leave (autogenerated)
} // end handler
L_00a9: Label1
L_00a9: Label5
L_00a9: ldloc.1
L_00aa: callvirt Boolean MoveNext()
L_00af: brtrue Label6
L_00b4: leave Label7
L_00b9: leave (autogenerated)
} // end try
.finally
{
L_00be: ldloc.1
L_00bf: brfalse Label8
L_00c4: ldloc.1
L_00c5: callvirt Void Dispose()
L_00ca: Label8
L_00ca: endfinally
L_00cb: leave (autogenerated)
} // end handler
L_00cc: Label7
L_00cc: Label0
L_00cc: ret
DONE

### Patch Verse.GenSpawn, Boolean SpawningWipes(Verse.BuildableDef,


Verse.BuildableDef)
L_0000: Local var 0: Verse.ThingDef
L_0000: Local var 1: Verse.ThingDef
L_0000: Local var 2: Verse.BuildableDef
L_0000: Local var 3: Verse.BuildableDef
L_0000: Local var 4: Verse.ThingDef
L_0000: Local var 5: Verse.ThingDef
L_0000: Local var 6: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 6 (System.Boolean)
L_0007: ldarg.0
L_0008: isinst Verse.ThingDef
L_000d: stloc.0
L_000e: ldarg.1
L_000f: isinst Verse.ThingDef
L_0014: stloc.1
L_0015: ldloc.0
L_0016: brfalse Label1
L_001b: ldloc.1
L_001c: brtrue Label2
L_0021: Label1
L_0021: ldc.i4.0
L_0022: br Label49
L_0027: Label2
L_0027: ldloc.0
L_0028: ldfld Verse.ThingCategory category
L_002d: ldc.i4.8
L_002e: beq Label3
L_0033: ldloc.0
L_0034: ldfld Verse.ThingCategory category
L_0039: ldc.i4.s 9
L_003b: beq Label4
L_0040: ldloc.0
L_0041: ldfld Verse.ThingCategory category
L_0046: ldc.i4.6
L_0047: beq Label5
L_004c: ldloc.0
L_004d: ldfld Verse.ThingCategory category
L_0052: ldc.i4.5
L_0053: bne.un Label6
L_0058: Label3
L_0058: Label4
L_0058: Label5
L_0058: ldc.i4.0
L_0059: br Label50
L_005e: Label6
L_005e: ldloc.1
L_005f: ldfld System.Boolean destroyable
L_0064: brtrue Label7
L_0069: ldc.i4.0
L_006a: br Label51
L_006f: Label7
L_006f: ldloc.0
L_0070: ldfld Verse.ThingCategory category
L_0075: ldc.i4.4
L_0076: bne.un Label8
L_007b: ldc.i4.0
L_007c: br Label52
L_0081: Label8
L_0081: ldloc.1
L_0082: ldfld Verse.ThingCategory category
L_0087: ldc.i4.6
L_0088: bne.un Label9
L_008d: ldloc.0
L_008e: ldfld Verse.Traversability passability
L_0093: brfalse Label10
L_0098: ldc.i4.1
L_0099: br Label53
L_009e: Label9
L_009e: Label10
L_009e: ldloc.1
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.2
L_00a5: bne.un Label11
L_00aa: ldloc.0
L_00ab: ldfld Verse.Traversability passability
L_00b0: ldc.i4.2
L_00b1: bne.un Label12
L_00b6: ldloc.0
L_00b7: ldfld Verse.SurfaceType surfaceType
L_00bc: brtrue Label13
L_00c1: ldc.i4.1
L_00c2: br Label54
L_00c7: Label11
L_00c7: Label12
L_00c7: Label13
L_00c7: ldloc.0
L_00c8: callvirt Boolean get_EverTransmitsPower()
L_00cd: brfalse Label14
L_00d2: ldloc.1
L_00d3: ldsfld Verse.ThingDef PowerConduit
L_00d8: bne.un Label15
L_00dd: ldc.i4.1
L_00de: br Label55
L_00e3: Label14
L_00e3: Label15
L_00e3: ldloc.0
L_00e4: callvirt Boolean get_IsFrame()
L_00e9: brfalse Label16
L_00ee: ldloc.0
L_00ef: ldfld Verse.BuildableDef entityDefToBuild
L_00f4: ldarg.1
L_00f5: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00fa: brfalse Label17
L_00ff: ldc.i4.1
L_0100: br Label56
L_0105: Label16
L_0105: Label17
L_0105: ldloc.0
L_0106: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_010b: stloc.2
L_010c: ldloc.1
L_010d: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_0112: stloc.3
L_0113: ldloc.2
L_0114: brfalse Label18
L_0119: ldloc.3
L_011a: brtrue Label19
L_011f: Label18
L_011f: ldc.i4.0
L_0120: br Label57
L_0125: Label19
L_0125: ldloc.0
L_0126: ldfld Verse.BuildableDef entityDefToBuild
L_012b: isinst Verse.ThingDef
L_0130: stloc.s 4 (Verse.ThingDef)
L_0132: ldloc.1
L_0133: callvirt Boolean get_IsBlueprint()
L_0138: brfalse Label20
L_013d: ldloc.0
L_013e: callvirt Boolean get_IsBlueprint()
L_0143: brfalse Label21
L_0148: ldloc.s 4 (Verse.ThingDef)
L_014a: brfalse Label22
L_014f: ldloc.s 4 (Verse.ThingDef)
L_0151: ldfld RimWorld.BuildingProperties building
L_0156: brfalse Label23
L_015b: ldloc.s 4 (Verse.ThingDef)
L_015d: ldfld RimWorld.BuildingProperties building
L_0162: ldfld System.Boolean canPlaceOverWall
L_0167: brfalse Label24
L_016c: ldloc.1
L_016d: ldfld Verse.BuildableDef entityDefToBuild
L_0172: isinst Verse.ThingDef
L_0177: brfalse Label25
L_017c: ldloc.1
L_017d: ldfld Verse.BuildableDef entityDefToBuild
L_0182: castclass Verse.ThingDef
L_0187: ldsfld Verse.ThingDef Wall
L_018c: bne.un Label26
L_0191: ldc.i4.1
L_0192: br Label58
L_0197: Label22
L_0197: Label23
L_0197: Label24
L_0197: Label25
L_0197: Label26
L_0197: ldloc.1
L_0198: ldfld Verse.BuildableDef entityDefToBuild
L_019d: isinst Verse.TerrainDef
L_01a2: brfalse Label27
L_01a7: ldloc.0
L_01a8: ldfld Verse.BuildableDef entityDefToBuild
L_01ad: isinst Verse.ThingDef
L_01b2: brfalse Label28
L_01b7: ldloc.0
L_01b8: ldfld Verse.BuildableDef entityDefToBuild
L_01bd: castclass Verse.ThingDef
L_01c2: ldfld System.Boolean coversFloor
L_01c7: brfalse Label29
L_01cc: ldc.i4.1
L_01cd: br Label59
L_01d2: Label28
L_01d2: Label29
L_01d2: ldloc.0
L_01d3: ldfld Verse.BuildableDef entityDefToBuild
L_01d8: isinst Verse.TerrainDef
L_01dd: brfalse Label30
L_01e2: ldc.i4.1
L_01e3: br Label60
L_01e8: Label21
L_01e8: Label27
L_01e8: Label30
L_01e8: ldloc.1
L_01e9: ldfld Verse.BuildableDef entityDefToBuild
L_01ee: ldsfld Verse.ThingDef PowerConduit
L_01f3: bne.un Label31
L_01f8: ldloc.0
L_01f9: ldfld Verse.BuildableDef entityDefToBuild
L_01fe: isinst Verse.ThingDef
L_0203: brfalse Label32
L_0208: ldloc.0
L_0209: ldfld Verse.BuildableDef entityDefToBuild
L_020e: isinst Verse.ThingDef
L_0213: callvirt Boolean get_EverTransmitsPower()
L_0218: brfalse Label33
L_021d: ldc.i4.1
L_021e: br Label61
L_0223: Label31
L_0223: Label32
L_0223: Label33
L_0223: ldc.i4.0
L_0224: br Label62
L_0229: Label20
L_0229: ldloc.1
L_022a: callvirt Boolean get_IsFrame()
L_022f: brtrue Label34
L_0234: ldloc.1
L_0235: callvirt Boolean get_IsBlueprint()
L_023a: brfalse Label35
L_023f: Label34
L_023f: ldloc.1
L_0240: ldfld Verse.BuildableDef entityDefToBuild
L_0245: isinst Verse.TerrainDef
L_024a: brfalse Label36
L_024f: ldloc.2
L_0250: isinst Verse.ThingDef
L_0255: stloc.s 5 (Verse.ThingDef)
L_0257: ldloc.s 5 (Verse.ThingDef)
L_0259: brfalse Label37
L_025e: ldloc.s 5 (Verse.ThingDef)
L_0260: callvirt Boolean get_CoexistsWithFloors()
L_0265: brtrue Label38
L_026a: ldc.i4.1
L_026b: br Label63
L_0270: Label35
L_0270: Label36
L_0270: Label37
L_0270: Label38
L_0270: ldloc.1
L_0271: ldsfld Verse.ThingDef ActiveDropPod
L_0276: bne.un Label39
L_027b: ldc.i4.0
L_027c: br Label64
L_0281: Label39
L_0281: ldloc.0
L_0282: ldsfld Verse.ThingDef ActiveDropPod
L_0287: bne.un Label40
L_028c: ldloc.1
L_028d: ldsfld Verse.ThingDef ActiveDropPod
L_0292: bne.un Label41
L_0297: ldc.i4.0
L_0298: br Label65
L_029d: Label41
L_029d: ldloc.1
L_029e: ldfld Verse.ThingCategory category
L_02a3: ldc.i4.3
L_02a4: bne.un Label42
L_02a9: ldloc.1
L_02aa: ldfld Verse.Traversability passability
L_02af: ldc.i4.2
L_02b0: bne.un Label43
L_02b5: ldc.i4.1
L_02b6: br Label66
L_02bb: Label42
L_02bb: Label43
L_02bb: ldc.i4.0
L_02bc: br Label67
L_02c1: Label40
L_02c1: ldloc.0
L_02c2: call Boolean IsEdifice(Verse.BuildableDef)
L_02c7: brfalse Label44
L_02cc: ldloc.0
L_02cd: callvirt Boolean get_BlockPlanting()
L_02d2: brfalse Label45
L_02d7: ldloc.1
L_02d8: ldfld Verse.ThingCategory category
L_02dd: ldc.i4.4
L_02de: bne.un Label46
L_02e3: ldc.i4.1
L_02e4: br Label68
L_02e9: Label45
L_02e9: Label46
L_02e9: ldloc.2
L_02ea: isinst Verse.TerrainDef
L_02ef: brtrue Label47
L_02f4: ldloc.3
L_02f5: call Boolean IsEdifice(Verse.BuildableDef)
L_02fa: brfalse Label48
L_02ff: ldc.i4.1
L_0300: br Label69
L_0305: Label44
L_0305: Label47
L_0305: Label48
L_0305: ldc.i4.0
L_0306: Label49
L_0306: Label50
L_0306: Label51
L_0306: Label52
L_0306: Label53
L_0306: Label54
L_0306: Label55
L_0306: Label56
L_0306: Label57
L_0306: Label58
L_0306: Label59
L_0306: Label60
L_0306: Label61
L_0306: Label62
L_0306: Label63
L_0306: Label64
L_0306: Label65
L_0306: Label66
L_0306: Label67
L_0306: Label68
L_0306: Label69
L_0306: stloc 6 (System.Boolean)
L_0308: ldarg 0
L_030e: ldarg 1
L_0314: ldloca 6 (System.Boolean)
L_0316: call Void InvisDoorsDontWipe(Verse.BuildableDef, Verse.BuildableDef,
Boolean ByRef)
L_031b: ldloc 6 (System.Boolean)
L_031d: ret
DONE

### Patch Verse.AI.GenPath, Boolean ShouldNotEnterCell(Verse.Pawn, Verse.Map,


IntVec3)
L_0000: Local var 0: Verse.Building
L_0000: Local var 1: RimWorld.Building_Door
L_0000: Local var 2: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.1
L_0007: ldfld Verse.AI.PathGrid pathGrid
L_000c: ldarg.2
L_000d: callvirt Int32 PerceivedPathCostAt(IntVec3)
L_0012: ldc.i4.s 30
L_0014: ble Label1
L_0019: ldc.i4.1
L_001a: br Label9
L_001f: Label1
L_001f: ldarg.2
L_0020: ldarg.1
L_0021: call Boolean Walkable(IntVec3, Verse.Map)
L_0026: brtrue Label2
L_002b: ldc.i4.1
L_002c: br Label10
L_0031: Label2
L_0031: ldarg.0
L_0032: brfalse Label3
L_0037: ldarg.2
L_0038: ldarg.0
L_0039: call Boolean IsForbidden(IntVec3, Verse.Pawn)
L_003e: brfalse Label4
L_0043: ldc.i4.1
L_0044: br Label11
L_0049: Label4
L_0049: ldarg.2
L_004a: ldarg.1
L_004b: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0050: stloc.0
L_0051: ldloc.0
L_0052: brfalse Label5
L_0057: ldloc.0
L_0058: isinst RimWorld.Building_Door
L_005d: stloc.1
L_005e: ldloc.1
L_005f: brfalse Label6
L_0064: ldloc.1
L_0065: ldarg.0
L_0066: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_006b: brfalse Label7
L_0070: ldc.i4.1
L_0071: br Label12
L_0076: Label7
L_0076: ldloc.1
L_0077: ldarg.0
L_0078: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_007d: brtrue Label8
L_0082: ldc.i4.1
L_0083: br Label13
L_0088: Label3
L_0088: Label5
L_0088: Label6
L_0088: Label8
L_0088: ldc.i4.0
L_0089: Label9
L_0089: Label10
L_0089: Label11
L_0089: Label12
L_0089: Label13
L_0089: stloc 2 (System.Boolean)
L_008a: ldarg 0
L_0090: ldarg 1
L_0096: ldarg 2
L_009c: ldloca 2 (System.Boolean)
L_009e: call Void ShouldNotEnterCellInvisDoors(Verse.Pawn, Verse.Map, IntVec3,
Boolean ByRef)
L_00a3: ldloc 2 (System.Boolean)
L_00a4: ret
DONE

### Patch RimWorld.CompForbiddable, Void PostDraw()


L_0000: ldarg.0
L_0001: call Boolean DontDrawInvisDoorForbiddenIcons(RimWorld.CompForbiddable)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld System.Boolean forbiddenInt
L_0011: brfalse Label1
L_0016: ldarg.0
L_0017: ldfld Verse.ThingWithComps parent
L_001c: isinst RimWorld.Blueprint
L_0021: brtrue Label2
L_0026: ldarg.0
L_0027: ldfld Verse.ThingWithComps parent
L_002c: isinst RimWorld.Frame
L_0031: brfalse Label3
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld Verse.ThingWithComps parent
L_003c: ldfld Verse.ThingDef def
L_0041: ldflda Verse.IntVec2 size
L_0046: ldfld System.Int32 x
L_004b: ldc.i4.1
L_004c: bgt Label4
L_0051: ldarg.0
L_0052: ldfld Verse.ThingWithComps parent
L_0057: ldfld Verse.ThingDef def
L_005c: ldflda Verse.IntVec2 size
L_0061: ldfld System.Int32 z
L_0066: ldc.i4.1
L_0067: ble Label5
L_006c: Label4
L_006c: ldarg.0
L_006d: ldfld Verse.ThingWithComps parent
L_0072: callvirt Verse.Map get_Map()
L_0077: ldfld RimWorld.OverlayDrawer overlayDrawer
L_007c: ldarg.0
L_007d: ldfld Verse.ThingWithComps parent
L_0082: ldc.i4.s 16
L_0084: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0089: br Label6
L_008e: Label5
L_008e: ldarg.0
L_008f: ldfld Verse.ThingWithComps parent
L_0094: callvirt Verse.Map get_Map()
L_0099: ldfld RimWorld.OverlayDrawer overlayDrawer
L_009e: ldarg.0
L_009f: ldfld Verse.ThingWithComps parent
L_00a4: ldc.i4.8
L_00a5: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00aa: Label6
L_00aa: br Label7
L_00af: Label3
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingWithComps parent
L_00b5: ldfld Verse.ThingDef def
L_00ba: ldfld Verse.ThingCategory category
L_00bf: ldc.i4.3
L_00c0: bne.un Label8
L_00c5: ldarg.0
L_00c6: ldfld Verse.ThingWithComps parent
L_00cb: callvirt Verse.Map get_Map()
L_00d0: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00d5: ldarg.0
L_00d6: ldfld Verse.ThingWithComps parent
L_00db: ldc.i4.s 16
L_00dd: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00e2: br Label9
L_00e7: Label8
L_00e7: ldarg.0
L_00e8: ldfld Verse.ThingWithComps parent
L_00ed: callvirt Verse.Map get_Map()
L_00f2: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00f7: ldarg.0
L_00f8: ldfld Verse.ThingWithComps parent
L_00fd: ldc.i4.8
L_00fe: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0103: Label1
L_0103: Label7
L_0103: Label9
L_0103: Label0
L_0103: ret
DONE

### Patch Verse.AI.PawnPathUtility, Boolean


TryFindLastCellBeforeBlockingDoor(Verse.AI.PawnPath, Verse.Pawn, IntVec3 ByRef)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Door
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg 0
L_000c: ldarg 1
L_0012: ldarg 2
L_0018: ldloca 3 (System.Boolean)
L_001a: call Boolean ManhunterJobGiverFix(Verse.AI.PawnPath, Verse.Pawn, IntVec3
ByRef, Boolean ByRef)
L_001f: brfalse Label0
L_0024: ldarg.0
L_0025: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_002a: callvirt Int32 get_Count()
L_002f: ldc.i4.1
L_0030: bne.un Label1
L_0035: ldarg.2
L_0036: ldarg.0
L_0037: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_003c: ldc.i4.0
L_003d: callvirt IntVec3 get_Item(Int32)
L_0042: stobj Verse.IntVec3
L_0047: ldc.i4.0
L_0048: br Label6
L_004d: Label1
L_004d: ldarg.0
L_004e: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0053: stloc.0
L_0054: ldloc.0
L_0055: callvirt Int32 get_Count()
L_005a: ldc.i4.2
L_005b: sub
L_005c: stloc.1
L_005d: br Label2
L_0062: Label5
L_0062: ldloc.0
L_0063: ldloc.1
L_0064: callvirt IntVec3 get_Item(Int32)
L_0069: ldarg.1
L_006a: callvirt Verse.Map get_Map()
L_006f: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0074: isinst RimWorld.Building_Door
L_0079: stloc.2
L_007a: ldloc.2
L_007b: brfalse Label3
L_0080: ldloc.2
L_0081: ldarg.1
L_0082: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0087: brtrue Label4
L_008c: ldarg.2
L_008d: ldloc.0
L_008e: ldloc.1
L_008f: ldc.i4.1
L_0090: add
L_0091: callvirt IntVec3 get_Item(Int32)
L_0096: stobj Verse.IntVec3
L_009b: ldc.i4.1
L_009c: br Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldloc.1
L_00a2: ldc.i4.1
L_00a3: sub
L_00a4: stloc.1
L_00a5: Label2
L_00a5: ldloc.1
L_00a6: ldc.i4.1
L_00a7: bge Label5
L_00ac: ldarg.2
L_00ad: ldloc.0
L_00ae: ldc.i4.0
L_00af: callvirt IntVec3 get_Item(Int32)
L_00b4: stobj Verse.IntVec3
L_00b9: ldc.i4.0
L_00ba: Label6
L_00ba: Label7
L_00ba: stloc 3 (System.Boolean)
L_00bb: Label0
L_00bb: ldloc 3 (System.Boolean)
L_00bc: ret
DONE
### Patch RimWorld.ForbidUtility, Boolean IsForbiddenToPass(RimWorld.Building_Door,
Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: ldc.i4.0
L_0008: call Boolean CaresAboutForbidden(Verse.Pawn, Boolean)
L_000d: brtrue Label1
L_0012: ldc.i4.0
L_0013: br Label3
L_0018: Label1
L_0018: ldarg.0
L_0019: ldarg.1
L_001a: callvirt RimWorld.Faction get_Faction()
L_001f: call Boolean IsForbidden(Verse.Thing, RimWorld.Faction)
L_0024: brfalse Label2
L_0029: ldc.i4.1
L_002a: br Label4
L_002f: Label2
L_002f: ldc.i4.0
L_0030: Label3
L_0030: Label4
L_0030: stloc 0 (System.Boolean)
L_0031: ldarg 0
L_0037: ldarg 1
L_003d: ldloca 0 (System.Boolean)
L_003f: call Void IsForbiddenToPass_PostFix(Verse.Thing, Verse.Pawn, Boolean ByRef)
L_0044: ldloc 0 (System.Boolean)
L_0045: ret
DONE

### Patch Verse.AI.PathFinder, Int32 GetBuildingCost(Verse.Building, TraverseParms,


Verse.Pawn)
L_0000: Local var 0: RimWorld.Building_Door
L_0000: Local var 1: Verse.TraverseMode
L_0000: Local var 2: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Int32)
L_0006: ldarg.0
L_0007: isinst RimWorld.Building_Door
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldarga.s 1
L_0015: ldfld Verse.TraverseMode mode
L_001a: stloc.1
L_001b: ldloc.1
L_001c: switch Labels2,3,4,5,6,7
L_0039: br Label8
L_003e: Label4
L_003e: Label6
L_003e: ldloc.0
L_003f: callvirt Boolean get_FreePassage()
L_0044: brfalse Label9
L_0049: ldc.i4.0
L_004a: br Label30
L_004f: Label9
L_004f: ldc.i4 2147483647
L_0054: br Label31
L_0059: Label5
L_0059: Label7
L_0059: ldarg.2
L_005a: brfalse Label10
L_005f: ldloc.0
L_0060: ldarg.2
L_0061: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0066: brfalse Label11
L_006b: ldloc.0
L_006c: ldarg.2
L_006d: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0072: brtrue Label12
L_0077: ldloc.0
L_0078: callvirt Boolean get_FreePassage()
L_007d: brtrue Label13
L_0082: ldloc.0
L_0083: callvirt Int32 get_TicksToOpenNow()
L_0088: br Label32
L_008d: Label10
L_008d: Label11
L_008d: Label12
L_008d: Label13
L_008d: ldloc.0
L_008e: ldarg.2
L_008f: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0094: brfalse Label14
L_0099: ldc.i4.0
L_009a: br Label33
L_009f: Label14
L_009f: ldc.i4.s 50
L_00a1: ldloc.0
L_00a2: callvirt Int32 get_HitPoints()
L_00a7: conv.r4
L_00a8: ldc.r4 0.2
L_00ad: mul
L_00ae: conv.i4
L_00af: add
L_00b0: br Label34
L_00b5: Label3
L_00b5: ldarg.2
L_00b6: brfalse Label15
L_00bb: ldloc.0
L_00bc: ldarg.2
L_00bd: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00c2: brfalse Label16
L_00c7: ldloc.0
L_00c8: ldarg.2
L_00c9: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_00ce: brtrue Label17
L_00d3: ldloc.0
L_00d4: callvirt Boolean get_FreePassage()
L_00d9: brtrue Label18
L_00de: ldloc.0
L_00df: callvirt Int32 get_TicksToOpenNow()
L_00e4: br Label35
L_00e9: Label15
L_00e9: Label16
L_00e9: Label17
L_00e9: Label18
L_00e9: ldloc.0
L_00ea: ldarg.2
L_00eb: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_00f0: brfalse Label19
L_00f5: ldc.i4.0
L_00f6: br Label36
L_00fb: Label19
L_00fb: ldc.i4 150
L_0100: br Label37
L_0105: Label2
L_0105: ldarga.s 1
L_0107: ldfld System.Boolean canBash
L_010c: brtrue Label20
L_0111: ldloc.0
L_0112: ldarg.2
L_0113: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0118: brfalse Label21
L_011d: ldsfld System.Boolean drawPaths
L_0122: brfalse Label22
L_0127: ldarg.0
L_0128: callvirt IntVec3 get_Position()
L_012d: ldarg.0
L_012e: callvirt Verse.Map get_Map()
L_0133: ldc.r4 0.77
L_0138: ldstr "forbid"
L_013d: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_0142: Label22
L_0142: ldc.i4 2147483647
L_0147: br Label38
L_014c: Label20
L_014c: Label21
L_014c: ldloc.0
L_014d: ldarg.2
L_014e: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0153: brfalse Label23
L_0158: ldloc.0
L_0159: callvirt Boolean get_FreePassage()
L_015e: brtrue Label24
L_0163: ldloc.0
L_0164: callvirt Int32 get_TicksToOpenNow()
L_0169: br Label39
L_016e: Label23
L_016e: Label24
L_016e: ldloc.0
L_016f: ldarg.2
L_0170: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0175: brfalse Label25
L_017a: ldc.i4.0
L_017b: br Label40
L_0180: Label25
L_0180: ldarga.s 1
L_0182: ldfld System.Boolean canBash
L_0187: brfalse Label26
L_018c: ldc.i4 300
L_0191: br Label41
L_0196: Label26
L_0196: ldsfld System.Boolean drawPaths
L_019b: brfalse Label27
L_01a0: ldarg.0
L_01a1: callvirt IntVec3 get_Position()
L_01a6: ldarg.0
L_01a7: callvirt Verse.Map get_Map()
L_01ac: ldc.r4 0.34
L_01b1: ldstr "cant pass"
L_01b6: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_01bb: Label27
L_01bb: ldc.i4 2147483647
L_01c0: br Label42
L_01c5: Label8
L_01c5: br Label28
L_01ca: Label1
L_01ca: ldarg.2
L_01cb: brfalse Label29
L_01d0: ldarg.0
L_01d1: ldarg.2
L_01d2: callvirt UInt16 PathFindCostFor(Verse.Pawn)
L_01d7: br Label43
L_01dc: Label28
L_01dc: Label29
L_01dc: ldc.i4.0
L_01dd: Label30
L_01dd: Label31
L_01dd: Label32
L_01dd: Label33
L_01dd: Label34
L_01dd: Label35
L_01dd: Label36
L_01dd: Label37
L_01dd: Label38
L_01dd: Label39
L_01dd: Label40
L_01dd: Label41
L_01dd: Label42
L_01dd: Label43
L_01dd: stloc 2 (System.Int32)
L_01de: ldarg 0
L_01e4: ldarg 1
L_01ea: ldarg 2
L_01f0: ldloca 2 (System.Int32)
L_01f2: call Void GetBuildingCost_PostFix(Verse.Building, TraverseParms,
Verse.Pawn, Int32 ByRef)
L_01f7: ldloc 2 (System.Int32)
L_01f8: ret
DONE

### Patch Verse.AI.PawnPathUtility, Verse.Thing


FirstBlockingBuilding(Verse.AI.PawnPath, IntVec3 ByRef, Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: Verse.Building
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Building
L_0000: Local var 5: RimWorld.Building_Door
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: Verse.Thing
L_0000: ldnull
L_0001: stloc 7 (Verse.Thing)
L_0003: ldarg.0
L_0004: callvirt Boolean get_Found()
L_0009: brtrue Label1
L_000e: ldarg.1
L_000f: call IntVec3 get_Invalid()
L_0014: stobj Verse.IntVec3
L_0019: ldnull
L_001a: br Label22
L_001f: Label1
L_001f: ldarg.0
L_0020: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0025: stloc.0
L_0026: ldloc.0
L_0027: callvirt Int32 get_Count()
L_002c: ldc.i4.1
L_002d: bne.un Label2
L_0032: ldarg.1
L_0033: ldloc.0
L_0034: ldc.i4.0
L_0035: callvirt IntVec3 get_Item(Int32)
L_003a: stobj Verse.IntVec3
L_003f: ldnull
L_0040: br Label23
L_0045: Label2
L_0045: ldnull
L_0046: stloc.1
L_0047: call IntVec3 get_Invalid()
L_004c: stloc.2
L_004d: ldloc.0
L_004e: callvirt Int32 get_Count()
L_0053: ldc.i4.2
L_0054: sub
L_0055: stloc.3
L_0056: br Label3
L_005b: Label21
L_005b: ldloc.0
L_005c: ldloc.3
L_005d: callvirt IntVec3 get_Item(Int32)
L_0062: ldarg.2
L_0063: callvirt Verse.Map get_Map()
L_0068: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_006d: stloc.s 4 (Verse.Building)
L_006f: ldloc.s 4 (Verse.Building)
L_0071: brfalse Label4
L_0076: ldloc.s 4 (Verse.Building)
L_0078: isinst RimWorld.Building_Door
L_007d: stloc.s 5 (RimWorld.Building_Door)
L_007f: ldloc.s 5 (RimWorld.Building_Door)
L_0081: brfalse Label5
L_0086: ldloc.s 5 (RimWorld.Building_Door)
L_0088: callvirt Boolean get_FreePassage()
L_008d: brtrue Label6
L_0092: ldarg.2
L_0093: brfalse Label7
L_0098: ldloc.s 5 (RimWorld.Building_Door)
L_009a: ldarg.2
L_009b: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00a0: ldc.i4.0
L_00a1: ceq
L_00a3: br Label8
L_00a8: Label7
L_00a8: ldc.i4.1
L_00a9: Label8
L_00a9: br Label9
L_00ae: Label5
L_00ae: Label6
L_00ae: ldc.i4.0
L_00af: Label9
L_00af: stloc.s 6 (System.Boolean)
L_00b1: ldloc.s 6 (System.Boolean)
L_00b3: brtrue Label10
L_00b8: ldloc.s 4 (Verse.Building)
L_00ba: ldfld Verse.ThingDef def
L_00bf: ldfld Verse.Traversability passability
L_00c4: ldc.i4.2
L_00c5: bne.un Label11
L_00ca: Label10
L_00ca: ldloc.1
L_00cb: brfalse Label12
L_00d0: ldarg.1
L_00d1: ldloc.2
L_00d2: stobj Verse.IntVec3
L_00d7: ldloc.1
L_00d8: br Label24
L_00dd: Label12
L_00dd: ldarg.1
L_00de: ldloc.0
L_00df: ldloc.3
L_00e0: ldc.i4.1
L_00e1: add
L_00e2: callvirt IntVec3 get_Item(Int32)
L_00e7: stobj Verse.IntVec3
L_00ec: ldloc.s 4 (Verse.Building)
L_00ee: br Label25
L_00f3: Label4
L_00f3: Label11
L_00f3: ldloc.s 4 (Verse.Building)
L_00f5: brfalse Label13
L_00fa: ldloc.s 4 (Verse.Building)
L_00fc: ldfld Verse.ThingDef def
L_0101: ldfld Verse.Traversability passability
L_0106: ldc.i4.1
L_0107: bne.un Label14
L_010c: ldloc.s 4 (Verse.Building)
L_010e: ldfld Verse.ThingDef def
L_0113: callvirt FillCategory get_Fillage()
L_0118: ldc.i4.2
L_0119: bne.un Label15
L_011e: ldloc.1
L_011f: brtrue Label16
L_0124: ldloc.s 4 (Verse.Building)
L_0126: stloc.1
L_0127: ldloc.0
L_0128: ldloc.3
L_0129: ldc.i4.1
L_012a: add
L_012b: callvirt IntVec3 get_Item(Int32)
L_0130: stloc.2
L_0131: Label16
L_0131: br Label17
L_0136: Label13
L_0136: Label14
L_0136: Label15
L_0136: ldloc.s 4 (Verse.Building)
L_0138: brfalse Label18
L_013d: ldloc.s 4 (Verse.Building)
L_013f: ldfld Verse.ThingDef def
L_0144: ldfld Verse.Traversability passability
L_0149: ldc.i4.1
L_014a: bne.un Label19
L_014f: br Label20
L_0154: Label18
L_0154: Label19
L_0154: ldnull
L_0155: stloc.1
L_0156: Label17
L_0156: Label20
L_0156: ldloc.3
L_0157: ldc.i4.1
L_0158: sub
L_0159: stloc.3
L_015a: Label3
L_015a: ldloc.3
L_015b: ldc.i4.0
L_015c: bge Label21
L_0161: ldarg.1
L_0162: ldloc.0
L_0163: ldc.i4.0
L_0164: callvirt IntVec3 get_Item(Int32)
L_0169: stobj Verse.IntVec3
L_016e: ldnull
L_016f: Label22
L_016f: Label23
L_016f: Label24
L_016f: Label25
L_016f: stloc 7 (Verse.Thing)
L_0171: ldarg 0
L_0177: ldarg 1
L_017d: ldarg 2
L_0183: ldloca 7 (Verse.Thing)
L_0185: call Void FirstBlockingBuilding_PostFix(Verse.AI.PawnPath, IntVec3 ByRef,
Verse.Pawn, Verse.Thing ByRef)
L_018a: ldloc 7 (Verse.Thing)
L_018c: ret
DONE

### Patch RimWorld.WorkGiver_DoBill, Verse.AI.Job JobOnThing(Verse.Pawn,


Verse.Thing, Boolean)
L_0000: Local var 0: RimWorld.IBillGiver
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: RimWorld.CompRefuelable
L_0000: Local var 5: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 5 (Verse.AI.Job)
L_0003: ldarg.2
L_0004: isinst RimWorld.IBillGiver
L_0009: stloc.0
L_000a: ldloc.0
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldarg.2
L_0012: call Boolean ThingIsUsableBillGiver(Verse.Thing)
L_0017: brfalse Label2
L_001c: ldloc.0
L_001d: callvirt RimWorld.BillStack get_BillStack()
L_0022: callvirt Boolean get_AnyShouldDoNow()
L_0027: brfalse Label3
L_002c: ldloc.0
L_002d: callvirt Boolean UsableForBillsAfterFueling()
L_0032: brfalse Label4
L_0037: ldarg.1
L_0038: stloc.1
L_0039: ldarg.2
L_003a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_003f: stloc.2
L_0040: ldarg.3
L_0041: stloc.3
L_0042: ldloc.1
L_0043: ldloc.2
L_0044: ldc.i4.1
L_0045: ldc.i4.m1
L_0046: ldnull
L_0047: ldloc.3
L_0048: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32, Int32,
Verse.ReservationLayerDef, Boolean)
L_004d: brfalse Label5
L_0052: ldarg.2
L_0053: call Boolean IsBurning(Verse.Thing)
L_0058: brtrue Label6
L_005d: ldarg.2
L_005e: ldarg.1
L_005f: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_0064: brfalse Label7
L_0069: Label1
L_0069: Label2
L_0069: Label3
L_0069: Label4
L_0069: Label5
L_0069: Label6
L_0069: ldnull
L_006a: br Label11
L_006f: Label7
L_006f: ldarg.2
L_0070: call RimWorld.CompRefuelable TryGetComp[CompRefuelable](Verse.Thing)
L_0075: stloc.s 4 (RimWorld.CompRefuelable)
L_0077: ldloc.s 4 (RimWorld.CompRefuelable)
L_0079: brfalse Label8
L_007e: ldloc.s 4 (RimWorld.CompRefuelable)
L_0080: callvirt Boolean get_HasFuel()
L_0085: brtrue Label9
L_008a: ldarg.1
L_008b: ldarg.2
L_008c: ldarg.3
L_008d: call Boolean CanRefuel(Verse.Pawn, Verse.Thing, Boolean)
L_0092: brtrue Label10
L_0097: ldnull
L_0098: br Label12
L_009d: Label10
L_009d: ldarg.1
L_009e: ldarg.2
L_009f: ldarg.3
L_00a0: ldnull
L_00a1: ldnull
L_00a2: call Verse.AI.Job RefuelJob(Verse.Pawn, Verse.Thing, Boolean, Verse.JobDef,
Verse.JobDef)
L_00a7: br Label13
L_00ac: Label8
L_00ac: Label9
L_00ac: ldloc.0
L_00ad: callvirt RimWorld.BillStack get_BillStack()
L_00b2: callvirt Void RemoveIncompletableBills()
L_00b7: ldarg.0
L_00b8: ldarg.1
L_00b9: ldloc.0
L_00ba: call Verse.AI.Job StartOrResumeBillJob(Verse.Pawn, IBillGiver)
L_00bf: Label11
L_00bf: Label12
L_00bf: Label13
L_00bf: stloc 5 (Verse.AI.Job)
L_00c1: ldloca 5 (Verse.AI.Job)
L_00c3: ldarg 1
L_00c9: ldarg 2
L_00cf: ldarg 3
L_00d5: call Void Postfix(Verse.AI.Job ByRef, Verse.Pawn, Verse.Thing, Boolean)
L_00da: ldloc 5 (Verse.AI.Job)
L_00dc: ret
DONE

### Patch RimWorld.Building_Bed, Void set_Medical(Boolean)


L_0000: ldarg.1
L_0001: ldarg.0
L_0002: ldfld System.Boolean medicalInt
L_0007: beq Label1
L_000c: ldarg.0
L_000d: ldfld Verse.ThingDef def
L_0012: ldfld RimWorld.BuildingProperties building
L_0017: ldfld System.Boolean bed_humanlike
L_001c: pop
L_001d: ldc.i4.1
L_001e: brtrue Label2
L_0023: Label1
L_0023: br Label4
L_0028: Label2
L_0028: ldarg.0
L_0029: call Void RemoveAllOwners()
L_002e: ldarg.0
L_002f: ldarg.1
L_0030: stfld System.Boolean medicalInt
L_0035: ldarg.0
L_0036: callvirt Void Notify_ColorChanged()
L_003b: ldarg.0
L_003c: call Boolean get_Spawned()
L_0041: brfalse Label3
L_0046: ldarg.0
L_0047: call Verse.Map get_Map()
L_004c: ldfld Verse.MapDrawer mapDrawer
L_0051: ldarg.0
L_0052: call IntVec3 get_Position()
L_0057: ldc.i4.1
L_0058: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_005d: ldarg.0
L_005e: call Void NotifyRoomBedTypeChanged()
L_0063: Label3
L_0063: ldarg.0
L_0064: call Void FacilityChanged()
L_0069: Label4
L_0069: ldarg.0
L_006a: ldarga 1
L_0070: call Void ChangeMedicalStatus(RimWorld.Building_Bed, Boolean ByRef)
L_0075: ret
DONE

### Patch Verse.DesignationCategoryDef, IEnumerable`1


get_ResolvedAllowedDesignators()
L_0000: Local var 0: Verse.DesignationCategoryDef+<>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Designator,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld Verse.DesignationCategoryDef $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, Verse.DesignationCategoryDef ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0027: ret
DONE

### Patch Verse.Dialog_RenameZone, Void SetName(System.String)


L_0000: ldarg.0
L_0001: ldfld Verse.Zone zone
L_0006: ldarg.0
L_0007: ldfld System.String curName
L_000c: stfld System.String label
L_0011: ldstr "ZoneGainsName"
L_0016: ldc.i4.1
L_0017: newarr System.Object
L_001c: dup
L_001d: ldc.i4.0
L_001e: ldarg.0
L_001f: ldfld System.String curName
L_0024: stelem.ref
L_0025: call System.String Translate(System.String, System.Object[])
L_002a: ldsfld Verse.MessageTypeDef TaskCompletion
L_002f: ldc.i4.0
L_0030: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0035: call Void Postfix()
L_003a: ret
DONE

### Patch Verse.DynamicDrawManager, Void DrawDynamicThings()


L_0000: Local var 0: System.Boolean[]
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: Verse.CellIndices
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Exception
L_0000: Local var 7: System.Exception
L_0000: ldarga 0
L_0006: call Boolean Prefix(Verse.DynamicDrawManager ByRef)
L_000b: brfalse Label0
L_0010: ldsfld System.Boolean drawThingsDynamic
L_0015: brtrue Label1
L_001a: br Label18
L_001f: Label1
L_001f: ldarg.0
L_0020: ldc.i4.1
L_0021: stfld System.Boolean drawingNow
.try
{
L_0026: ldarg.0
L_0027: ldfld Verse.Map map
L_002c: ldfld Verse.FogGrid fogGrid
L_0031: ldfld System.Boolean[] fogGrid
L_0036: stloc.0
L_0037: call Verse.CameraDriver get_CameraDriver()
L_003c: callvirt CellRect get_CurrentViewRect()
L_0041: stloc.1
L_0042: ldloca.s 1 (Verse.CellRect)
L_0044: ldarg.0
L_0045: ldfld Verse.Map map
L_004a: call CellRect ClipInsideMap(Verse.Map)
L_004f: pop
L_0050: ldloca.s 1 (Verse.CellRect)
L_0052: ldc.i4.1
L_0053: call CellRect ExpandedBy(Int32)
L_0058: stloc.1
L_0059: ldarg.0
L_005a: ldfld Verse.Map map
L_005f: ldfld Verse.CellIndices cellIndices
L_0064: stloc.3
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.HashSet`1[Verse.Thing] drawThings
L_006b: callvirt Enumerator GetEnumerator()
L_0070: stloc.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
.try
{
L_0072: br Label2
L_0077: Label14
L_0077: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0079: call Verse.Thing get_Current()
L_007e: stloc.s 4 (Verse.Thing)
L_0080: ldloc.s 4 (Verse.Thing)
L_0082: callvirt IntVec3 get_Position()
L_0087: stloc.2
L_0088: ldloca.s 1 (Verse.CellRect)
L_008a: ldloc.2
L_008b: call Boolean Contains(IntVec3)
L_0090: brtrue Label3
L_0095: ldloc.s 4 (Verse.Thing)
L_0097: ldfld Verse.ThingDef def
L_009c: ldfld System.Boolean drawOffscreen
L_00a1: brtrue Label4
L_00a6: leave Label5
L_00ab: Label3
L_00ab: Label4
L_00ab: ldloc.0
L_00ac: ldloc.3
L_00ad: ldloc.2
L_00ae: callvirt Int32 CellToIndex(IntVec3)
L_00b3: ldelem.u1
L_00b4: brfalse Label6
L_00b9: ldloc.s 4 (Verse.Thing)
L_00bb: ldfld Verse.ThingDef def
L_00c0: ldfld System.Boolean seeThroughFog
L_00c5: brtrue Label7
L_00ca: leave Label8
L_00cf: Label6
L_00cf: Label7
L_00cf: ldloc.s 4 (Verse.Thing)
L_00d1: ldfld Verse.ThingDef def
L_00d6: ldfld System.Single hideAtSnowDepth
L_00db: ldc.r4 1
L_00e0: bge.un Label9
L_00e5: ldarg.0
L_00e6: ldfld Verse.Map map
L_00eb: ldfld Verse.SnowGrid snowGrid
L_00f0: ldloc.s 4 (Verse.Thing)
L_00f2: callvirt IntVec3 get_Position()
L_00f7: callvirt Single GetDepth(IntVec3)
L_00fc: ldloc.s 4 (Verse.Thing)
L_00fe: ldfld Verse.ThingDef def
L_0103: ldfld System.Single hideAtSnowDepth
L_0108: ble.un Label10
L_010d: leave Label11
L_0112: Label9
L_0112: Label10
.try
{
L_0112: ldloc.s 4 (Verse.Thing)
L_0114: callvirt Void Draw()
L_0119: leave Label12
L_011e: leave (autogenerated)
} // end try
.catch System.Exception
{
L_0123: stloc.s 6 (System.Exception)
L_0125: ldc.i4.4
L_0126: newarr System.Object
L_012b: dup
L_012c: ldc.i4.0
L_012d: ldstr "Exception drawing "
L_0132: stelem.ref
L_0133: dup
L_0134: ldc.i4.1
L_0135: ldloc.s 4 (Verse.Thing)
L_0137: stelem.ref
L_0138: dup
L_0139: ldc.i4.2
L_013a: ldstr ": "
L_013f: stelem.ref
L_0140: dup
L_0141: ldc.i4.3
L_0142: ldloc.s 6 (System.Exception)
L_0144: callvirt System.String ToString()
L_0149: stelem.ref
L_014a: call System.String Concat(System.Object[])
L_014f: ldc.i4.0
L_0150: call Void Error(System.String, Boolean)
L_0155: leave Label13
L_015a: leave (autogenerated)
} // end handler
L_015f: Label2
L_015f: Label5
L_015f: Label8
L_015f: Label11
L_015f: Label12
L_015f: Label13
L_015f: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0161: call Boolean MoveNext()
L_0166: brtrue Label14
L_016b: leave Label15
L_0170: leave (autogenerated)
} // end try
.finally
{
L_0175: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0177: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing]
L_017d: callvirt Void Dispose()
L_0182: endfinally
L_0183: leave (autogenerated)
} // end handler
L_0184: Label15
L_0184: leave Label16
L_0189: leave (autogenerated)
} // end try
.catch System.Exception
{
L_018e: stloc.s 7 (System.Exception)
L_0190: ldstr "Exception drawing dynamic things: "
L_0195: ldloc.s 7 (System.Exception)
L_0197: call System.String Concat(System.Object, System.Object)
L_019c: ldc.i4.0
L_019d: call Void Error(System.String, Boolean)
L_01a2: leave Label17
L_01a7: leave (autogenerated)
} // end handler
L_01ac: Label16
L_01ac: Label17
L_01ac: ldarg.0
L_01ad: ldc.i4.0
L_01ae: stfld System.Boolean drawingNow
L_01b3: Label18
L_01b3: Label0
L_01b3: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterActivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brtrue Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Void Add(RimWorld.CompGatherSpot)
L_001d: Label1
L_001d: ldarga 1
L_0023: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0028: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterDeactivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Boolean Remove(RimWorld.CompGatherSpot)
L_001d: pop
L_001e: Label1
L_001e: ldarga 1
L_0024: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0029: ret
DONE

### Patch Verse.ListerBuildings, Void Add(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.BuildingProperties building
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldfld Verse.ThingDef def
L_0016: ldfld RimWorld.BuildingProperties building
L_001b: ldfld System.Boolean isNaturalRock
L_0020: brfalse Label2
L_0025: br Label7
L_002a: Label1
L_002a: Label2
L_002a: ldarg.1
L_002b: callvirt RimWorld.Faction get_Faction()
L_0030: call RimWorld.Faction get_OfPlayer()
L_0035: bne.un Label3
L_003a: ldarg.0
L_003b: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0040: ldarg.1
L_0041: callvirt Void Add(Verse.Building)
L_0046: ldarg.1
L_0047: isinst Verse.AI.IAttackTarget
L_004c: brfalse Label4
L_0051: ldarg.0
L_0052: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_0057: ldarg.1
L_0058: callvirt Boolean Add(Verse.Building)
L_005d: pop
L_005e: Label3
L_005e: Label4
L_005e: ldarg.1
L_005f: ldfld Verse.ThingDef def
L_0064: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0069: stloc.0
L_006a: ldloc.0
L_006b: brfalse Label5
L_0070: ldloc.0
L_0071: ldfld System.Boolean shortCircuitInRain
L_0076: brfalse Label6
L_007b: ldarg.0
L_007c: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0081: ldarg.1
L_0082: callvirt Boolean Add(Verse.Building)
L_0087: pop
L_0088: Label5
L_0088: Label6
L_0088: Label7
L_0088: ldarga 1
L_008e: call Void Postfix(Verse.Building ByRef)
L_0093: ret
DONE

### Patch Verse.ListerBuildings, Void Remove(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Building)
L_000c: pop
L_000d: ldarg.1
L_000e: isinst Verse.AI.IAttackTarget
L_0013: brfalse Label1
L_0018: ldarg.0
L_0019: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_001e: ldarg.1
L_001f: callvirt Boolean Remove(Verse.Building)
L_0024: pop
L_0025: Label1
L_0025: ldarg.1
L_0026: ldfld Verse.ThingDef def
L_002b: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0030: stloc.0
L_0031: ldloc.0
L_0032: brfalse Label2
L_0037: ldloc.0
L_0038: ldfld System.Boolean shortCircuitInRain
L_003d: brfalse Label3
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0048: ldarg.1
L_0049: callvirt Boolean Remove(Verse.Building)
L_004e: pop
L_004f: Label2
L_004f: Label3
L_004f: ldarga 1
L_0055: call Void Postfix(Verse.Building ByRef)
L_005a: ret
DONE

### Patch Verse.Room, Verse.Room MakeNew(Verse.Map)


L_0000: Local var 0: Verse.Room
L_0000: Local var 1: Verse.Room
L_0000: ldnull
L_0001: stloc 1 (Verse.Room)
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: callvirt Int32 get_Index()
L_000f: conv.i1
L_0010: stfld System.SByte mapIndex
L_0015: ldloc.0
L_0016: ldsfld System.Int32 nextRoomID
L_001b: stfld System.Int32 ID
L_0020: ldsfld System.Int32 nextRoomID
L_0025: ldc.i4.1
L_0026: add
L_0027: stsfld System.Int32 nextRoomID
L_002c: ldloc.0
L_002d: stloc 1 (Verse.Room)
L_002e: ldloca 1 (Verse.Room)
L_0030: call Void Postfix(Verse.Room ByRef)
L_0035: ldloc 1 (Verse.Room)
L_0036: ret
DONE

### Patch Verse.Room, Void Notify_BedTypeChanged()


L_0000: ldarg.0
L_0001: ldc.i4.1
L_0002: stfld System.Boolean statsAndRoleDirty
L_0007: ldarga 0
L_000d: call Void Postfix(Verse.Room ByRef)
L_0012: ret
DONE

### Patch Verse.Room, Void Notify_RoomShapeOrContainedBedsChanged()


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Bed
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: RimWorld.Building_Bed
L_0000: Local var 6:
System.Collections.Generic.IEnumerator`1[[RimWorld.Building_Bed, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldc.i4.m1
L_0002: stfld System.Int32 cachedCellCount
L_0007: ldarg.0
L_0008: ldc.i4.m1
L_0009: stfld System.Int32 cachedOpenRoofCount
L_000e: ldarg.0
L_000f: ldnull
L_0010: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_0015: call ProgramState get_ProgramState()
L_001a: ldc.i4.2
L_001b: bne.un Label1
L_0020: ldarg.0
L_0021: call Boolean get_Fogged()
L_0026: brtrue Label2
L_002b: ldarg.0
L_002c: call Verse.Map get_Map()
L_0031: ldfld Verse.AutoBuildRoofAreaSetter autoBuildRoofAreaSetter
L_0036: ldarg.0
L_0037: callvirt Void TryGenerateAreaFor(Verse.Room)
L_003c: Label1
L_003c: Label2
L_003c: ldarg.0
L_003d: ldc.i4.0
L_003e: stfld System.Boolean isPrisonCell
L_0043: ldarg.0
L_0044: call Boolean RoomCanBePrisonCell(Verse.Room)
L_0049: brfalse Label3
L_004e: ldarg.0
L_004f: call System.Collections.Generic.List`1[Verse.Thing]
get_ContainedAndAdjacentThings()
L_0054: stloc.0
L_0055: ldc.i4.0
L_0056: stloc.1
L_0057: br Label4
L_005c: Label8
L_005c: ldloc.0
L_005d: ldloc.1
L_005e: callvirt Verse.Thing get_Item(Int32)
L_0063: isinst RimWorld.Building_Bed
L_0068: stloc.2
L_0069: ldloc.2
L_006a: brfalse Label5
L_006f: ldloc.2
L_0070: callvirt Boolean get_ForPrisoners()
L_0075: brfalse Label6
L_007a: ldarg.0
L_007b: ldc.i4.1
L_007c: stfld System.Boolean isPrisonCell
L_0081: br Label7
L_0086: Label5
L_0086: Label6
L_0086: ldloc.1
L_0087: ldc.i4.1
L_0088: add
L_0089: stloc.1
L_008a: Label4
L_008a: ldloc.1
L_008b: ldloc.0
L_008c: callvirt Int32 get_Count()
L_0091: blt Label8
L_0096: Label3
L_0096: Label7
L_0096: ldarg.0
L_0097: call Verse.Map get_Map()
L_009c: ldfld Verse.ListerThings listerThings
L_00a1: ldsfld Verse.ThingDef NutrientPasteDispenser
L_00a6: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsOfDef(Verse.ThingDef)
L_00ab: stloc.3
L_00ac: ldc.i4.0
L_00ad: stloc.s 4 (System.Int32)
L_00af: br Label9
L_00b4: Label10
L_00b4: ldloc.3
L_00b5: ldloc.s 4 (System.Int32)
L_00b7: callvirt Verse.Thing get_Item(Int32)
L_00bc: callvirt Void Notify_ColorChanged()
L_00c1: ldloc.s 4 (System.Int32)
L_00c3: ldc.i4.1
L_00c4: add
L_00c5: stloc.s 4 (System.Int32)
L_00c7: Label9
L_00c7: ldloc.s 4 (System.Int32)
L_00c9: ldloc.3
L_00ca: callvirt Int32 get_Count()
L_00cf: blt Label10
L_00d4: call ProgramState get_ProgramState()
L_00d9: ldc.i4.2
L_00da: bne.un Label11
L_00df: ldarg.0
L_00e0: ldfld System.Boolean isPrisonCell
L_00e5: brfalse Label12
L_00ea: ldarg.0
L_00eb: call IEnumerable`1 get_ContainedBeds()
L_00f0: callvirt IEnumerator`1 GetEnumerator()
L_00f5: stloc.s 6 (System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
.try
{
L_00f7: br Label13
L_00fc: Label14
L_00fc: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_00fe: callvirt RimWorld.Building_Bed get_Current()
L_0103: stloc.s 5 (RimWorld.Building_Bed)
L_0105: ldloc.s 5 (RimWorld.Building_Bed)
L_0107: ldc.i4.1
L_0108: callvirt Void set_ForPrisoners(Boolean)
L_010d: Label13
L_010d: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_010f: callvirt Boolean MoveNext()
L_0114: brtrue Label14
L_0119: leave Label15
L_011e: leave (autogenerated)
} // end try
.finally
{
L_0123: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_0125: brfalse Label16
L_012a: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_012c: callvirt Void Dispose()
L_0131: Label16
L_0131: endfinally
L_0132: leave (autogenerated)
} // end handler
L_0133: Label11
L_0133: Label12
L_0133: Label15
L_0133: ldarg.0
L_0134: call Verse.TickManager get_TickManager()
L_0139: callvirt Int32 get_TicksGame()
L_013e: stfld System.Int32 lastChangeTick
L_0143: ldarg.0
L_0144: ldc.i4.1
L_0145: stfld System.Boolean statsAndRoleDirty
L_014a: ldarg.0
L_014b: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0150: call Void
NotifyFacilitiesAboutChangedLOSBlockers(System.Collections.Generic.List`1[Verse.Reg
ion])
L_0155: ldarga 0
L_015b: call Void Postfix(Verse.Room ByRef)
L_0160: ret
DONE

### Patch Verse.Room, Void RemoveRegion(Verse.Region)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(Verse.Region)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Tried to remove region from Room but this region is not here.
region="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: stelem.ref
L_0023: dup
L_0024: ldc.i4.2
L_0025: ldstr ", room="
L_002a: stelem.ref
L_002b: dup
L_002c: ldc.i4.3
L_002d: ldarg.0
L_002e: stelem.ref
L_002f: call System.String Concat(System.Object[])
L_0034: ldc.i4.0
L_0035: call Void Error(System.String, Boolean)
L_003a: br Label4
L_003f: Label1
L_003f: ldarg.0
L_0040: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0045: ldarg.1
L_0046: callvirt Boolean Remove(Verse.Region)
L_004b: pop
L_004c: ldarg.1
L_004d: ldfld System.Boolean touchesMapEdge
L_0052: brfalse Label2
L_0057: ldarg.0
L_0058: dup
L_0059: ldfld System.Int32 numRegionsTouchingMapEdge
L_005e: ldc.i4.1
L_005f: sub
L_0060: stfld System.Int32 numRegionsTouchingMapEdge
L_0065: Label2
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_006b: callvirt Int32 get_Count()
L_0070: brtrue Label3
L_0075: ldarg.0
L_0076: ldnull
L_0077: call Void set_Group(Verse.RoomGroup)
L_007c: ldarg.0
L_007d: ldc.i4.m1
L_007e: stfld System.Int32 cachedOpenRoofCount
L_0083: ldarg.0
L_0084: ldnull
L_0085: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_008a: ldarg.0
L_008b: ldc.i4.1
L_008c: stfld System.Boolean statsAndRoleDirty
L_0091: ldarg.0
L_0092: call Verse.Map get_Map()
L_0097: ldfld Verse.RegionGrid regionGrid
L_009c: ldfld System.Collections.Generic.List`1[Verse.Room] allRooms
L_00a1: ldarg.0
L_00a2: callvirt Boolean Remove(Verse.Room)
L_00a7: pop
L_00a8: Label3
L_00a8: Label4
L_00a8: ldarga 0
L_00ae: call Void Postfix(Verse.Room ByRef)
L_00b3: ret
DONE

### Patch Verse.ZoneManager, Void DeregisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Zone)
L_000c: pop
L_000d: ldarg.1
L_000e: callvirt Void PostDeregister()
L_0013: ldarga 1
L_0019: call Void Postfix(Verse.Zone ByRef)
L_001e: ret
DONE

### Patch Verse.ZoneManager, Void RegisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Void Add(Verse.Zone)
L_000c: ldarg.1
L_000d: callvirt Void PostRegister()
L_0012: ldarga 1
L_0018: call Void Postfix(Verse.Zone ByRef)
L_001d: ret
DONE

### Patch RimWorld.Zone_Growing, Void SetPlantDefToGrow(Verse.ThingDef)


L_0000: ldarg.0
L_0001: ldarg.1
L_0002: stfld Verse.ThingDef plantDefToGrow
L_0007: ldarga 0
L_000d: call Void Postfix(RimWorld.Zone_Growing ByRef)
L_0012: ret
DONE

### Patch Verse.Zone, Void RemoveCell(IntVec3)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Cannot remove cell from zone which doesn't have it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label3
L_0044: Label1
L_0044: ldarg.0
L_0045: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_004a: ldarg.1
L_004b: callvirt Boolean Remove(IntVec3)
L_0050: pop
L_0051: ldarg.0
L_0052: ldfld Verse.ZoneManager zoneManager
L_0057: ldarg.1
L_0058: callvirt Void ClearZoneGridCell(IntVec3)
L_005d: ldarg.0
L_005e: call Verse.Map get_Map()
L_0063: ldfld Verse.MapDrawer mapDrawer
L_0068: ldarg.1
L_0069: ldc.i4 128
L_006e: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_0073: ldarg.0
L_0074: ldc.i4.0
L_0075: stfld System.Boolean cellsShuffled
L_007a: ldarg.0
L_007b: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0080: callvirt Int32 get_Count()
L_0085: brtrue Label2
L_008a: ldarg.0
L_008b: call Void Deregister()
L_0090: Label2
L_0090: Label3
L_0090: ldarga 0
L_0096: call Void Postfix(Verse.Zone ByRef)
L_009b: ret
DONE

### Patch Verse.Zone, Void AddCell(IntVec3)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Thing
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brfalse Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Adding cell to zone which already has it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label5
L_0044: Label1
L_0044: ldarg.0
L_0045: call Verse.Map get_Map()
L_004a: ldfld Verse.ThingGrid thingGrid
L_004f: ldarg.1
L_0050: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsListAt(IntVec3)
L_0055: stloc.0
L_0056: ldc.i4.0
L_0057: stloc.1
L_0058: br Label2
L_005d: Label4
L_005d: ldloc.0
L_005e: ldloc.1
L_005f: callvirt Verse.Thing get_Item(Int32)
L_0064: stloc.2
L_0065: ldloc.2
L_0066: ldfld Verse.ThingDef def
L_006b: callvirt Boolean get_CanOverlapZones()
L_0070: brtrue Label3
L_0075: ldstr "Added zone over zone-incompatible thing "
L_007a: ldloc.2
L_007b: call System.String Concat(System.Object, System.Object)
L_0080: ldc.i4.0
L_0081: call Void Error(System.String, Boolean)
L_0086: br Label6
L_008b: Label3
L_008b: ldloc.1
L_008c: ldc.i4.1
L_008d: add
L_008e: stloc.1
L_008f: Label2
L_008f: ldloc.1
L_0090: ldloc.0
L_0091: callvirt Int32 get_Count()
L_0096: blt Label4
L_009b: ldarg.0
L_009c: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_00a1: ldarg.1
L_00a2: callvirt Void Add(IntVec3)
L_00a7: ldarg.0
L_00a8: ldfld Verse.ZoneManager zoneManager
L_00ad: ldarg.0
L_00ae: ldarg.1
L_00af: callvirt Void AddZoneGridCell(Verse.Zone, IntVec3)
L_00b4: ldarg.0
L_00b5: call Verse.Map get_Map()
L_00ba: ldfld Verse.MapDrawer mapDrawer
L_00bf: ldarg.1
L_00c0: ldc.i4 128
L_00c5: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_00ca: ldarg.1
L_00cb: ldarg.0
L_00cc: call Void Notify_ZoneCellAdded(IntVec3, Verse.Zone)
L_00d1: ldarg.0
L_00d2: ldc.i4.0
L_00d3: stfld System.Boolean cellsShuffled
L_00d8: Label5
L_00d8: Label6
L_00d8: ldarga 0
L_00de: call Void Postfix(Verse.Zone ByRef)
L_00e3: ret
DONE

### Patch Verse.AI.AttackTargetFinder, IAttackTarget


BestAttackTarget(IAttackTargetSearcher, TargetScanFlags,
System.Predicate`1[Verse.Thing], Single, Single, IntVec3, Single, Boolean, Boolean)
L_0000: Local var 0: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey1
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.AI.IAttackTarget
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: Verse.AI.IAttackTarget
L_0000: Local var 8: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2
L_0000: Local var 10: Verse.AI.IAttackTarget
L_0000: Local var 11: Verse.IntVec3
L_0000: Local var 12: Verse.Map
L_0000: Local var 13: Verse.ThingRequest
L_0000: Local var 14: Verse.AI.PathEndMode
L_0000: Local var 15: Verse.Pawn
L_0000: Local var 16: Verse.Danger
L_0000: Local var 17: System.Boolean
L_0000: Local var 18: Verse.TraverseParms
L_0000: Local var 19: System.Single
L_0000: Local var 20: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 21: System.Int32
L_0000: Local var 22: Verse.AI.IAttackTarget
L_0000: Local var 23: System.Single
L_0000: Local var 24: System.Single
L_0000: Local var 25: Verse.IntVec3
L_0000: Local var 26: Verse.AI.IAttackTarget
L_0000: ldnull
L_0001: stloc 26 (Verse.AI.IAttackTarget)
L_0003: ldarg 0
L_0009: ldarga 2
L_000f: call Boolean Prefix(IAttackTargetSearcher, System.Predicate`1[Verse.Thing]
ByRef)
L_0014: brfalse Label0
L_0019: newobj Void .ctor()
L_001e: stloc.0
L_001f: ldloc.0
L_0020: ldarg.0
L_0021: stfld Verse.AI.IAttackTargetSearcher searcher
L_0026: ldloc.0
L_0027: ldarg.s 8
L_0029: stfld System.Boolean canTakeTargetsCloserThanEffectiveMinRange
L_002e: ldloc.0
L_002f: ldarg.s 6
L_0031: stfld System.Single maxTravelRadiusFromLocus
L_0036: ldloc.0
L_0037: ldarg.s 5
L_0039: stfld Verse.IntVec3 locus
L_003e: ldloc.0
L_003f: ldarg.2
L_0040: stfld System.Predicate`1[Verse.Thing] validator
L_0045: ldloc.0
L_0046: ldarg.1
L_0047: stfld Verse.AI.TargetScanFlags flags
L_004c: ldloc.0
L_004d: ldarg.s 7
L_004f: stfld System.Boolean canBash
L_0054: ldloc.0
L_0055: ldarg.s 4
L_0057: stfld System.Single maxDist
L_005c: ldloc.0
L_005d: ldloc.0
L_005e: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0063: callvirt Verse.Thing get_Thing()
L_0068: stfld Verse.Thing searcherThing
L_006d: ldloc.0
L_006e: ldloc.0
L_006f: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0074: isinst Verse.Pawn
L_0079: stfld Verse.Pawn searcherPawn
L_007e: ldloc.0
L_007f: ldloc.0
L_0080: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0085: callvirt Verse.Verb get_CurrentEffectiveVerb()
L_008a: stfld Verse.Verb verb
L_008f: ldloc.0
L_0090: ldfld Verse.Verb verb
L_0095: brtrue Label1
L_009a: ldstr "BestAttackTarget with "
L_009f: ldloc.0
L_00a0: ldfld Verse.AI.IAttackTargetSearcher searcher
L_00a5: call System.String ToStringSafe[IAttackTargetSearcher]
(IAttackTargetSearcher)
L_00aa: ldstr " who has no attack verb."
L_00af: call System.String Concat(System.String, System.String, System.String)
L_00b4: ldc.i4.0
L_00b5: call Void Error(System.String, Boolean)
L_00ba: ldnull
L_00bb: br Label26
L_00c0: Label1
L_00c0: ldloc.0
L_00c1: ldloc.0
L_00c2: ldfld Verse.Verb verb
L_00c7: call Boolean IsEMP(Verse.Verb)
L_00cc: stfld System.Boolean onlyTargetMachines
L_00d1: ldloc.0
L_00d2: ldarg.3
L_00d3: ldarg.3
L_00d4: mul
L_00d5: stfld System.Single minDistSquared
L_00da: ldloc.0
L_00db: ldfld System.Single maxTravelRadiusFromLocus
L_00e0: ldloc.0
L_00e1: ldfld Verse.Verb verb
L_00e6: ldfld Verse.VerbProperties verbProps
L_00eb: ldfld System.Single range
L_00f0: add
L_00f1: stloc.1
L_00f2: ldloc.0
L_00f3: ldloc.1
L_00f4: ldloc.1
L_00f5: mul
L_00f6: stfld System.Single maxLocusDistSquared
L_00fb: ldloc.0
L_00fc: ldnull
L_00fd: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0102: ldloc.0
L_0103: ldfld Verse.AI.TargetScanFlags flags
L_0108: ldc.i4.s 64
L_010a: and
L_010b: conv.u1
L_010c: brfalse Label2
L_0111: ldloc.0
L_0112: ldloc.0
L_0113: ldftn Boolean <>m__0(IntVec3)
L_0119: newobj Void .ctor(Object, IntPtr)
L_011e: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0123: Label2
L_0123: ldloc.0
L_0124: ldloc.0
L_0125: ldftn Boolean <>m__1(IAttackTarget)
L_012b: newobj Void .ctor(Object, IntPtr)
L_0130: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0135: ldloc.0
L_0136: ldfld Verse.AI.IAttackTargetSearcher searcher
L_013b: call Boolean HasRangedAttack(IAttackTargetSearcher)
L_0140: brfalse Label3
L_0145: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_014a: callvirt Void Clear()
L_014f: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0154: ldloc.0
L_0155: ldfld Verse.Thing searcherThing
L_015a: callvirt Verse.Map get_Map()
L_015f: ldfld Verse.AI.AttackTargetsCache attackTargetsCache
L_0164: ldloc.0
L_0165: ldfld Verse.AI.IAttackTargetSearcher searcher
L_016a: callvirt System.Collections.Generic.List`1[Verse.AI.IAttackTarget]
GetPotentialTargetsFor(IAttackTargetSearcher)
L_016f: callvirt Void AddRange(IEnumerable`1)
L_0174: ldloc.0
L_0175: ldfld Verse.AI.TargetScanFlags flags
L_017a: ldc.i4.4
L_017b: and
L_017c: conv.u1
L_017d: brfalse Label4
L_0182: newobj Void .ctor()
L_0187: stloc.2
L_0188: ldloc.2
L_0189: ldloc.0
L_018a: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_018f: ldloc.2
L_0190: ldloc.0
L_0191: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0196: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_019b: ldloc.0
L_019c: ldloc.2
L_019d: ldftn Boolean <>m__0(IAttackTarget)
L_01a3: newobj Void .ctor(Object, IntPtr)
L_01a8: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01ad: Label4
L_01ad: ldc.i4.0
L_01ae: stloc.3
L_01af: ldc.i4.0
L_01b0: stloc.s 4 (System.Int32)
L_01b2: br Label5
L_01b7: Label10
L_01b7: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_01bc: ldloc.s 4 (System.Int32)
L_01be: callvirt IAttackTarget get_Item(Int32)
L_01c3: stloc.s 5 (Verse.AI.IAttackTarget)
L_01c5: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01c7: callvirt Verse.Thing get_Thing()
L_01cc: callvirt IntVec3 get_Position()
L_01d1: stloc.s 6 (Verse.IntVec3)
L_01d3: ldloca.s 6 (Verse.IntVec3)
L_01d5: ldloc.0
L_01d6: ldfld Verse.Thing searcherThing
L_01db: callvirt IntVec3 get_Position()
L_01e0: ldloc.0
L_01e1: ldfld System.Single maxDist
L_01e6: call Boolean InHorDistOf(IntVec3, Single)
L_01eb: brfalse Label6
L_01f0: ldloc.0
L_01f1: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01f6: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01f8: callvirt Boolean Invoke(IAttackTarget)
L_01fd: brfalse Label7
L_0202: ldloc.s 5 (Verse.AI.IAttackTarget)
L_0204: ldloc.0
L_0205: ldfld Verse.AI.IAttackTargetSearcher searcher
L_020a: ldloc.0
L_020b: ldfld Verse.Verb verb
L_0210: call Boolean CanShootAtFromCurrentPosition(IAttackTarget,
IAttackTargetSearcher, Verse.Verb)
L_0215: brfalse Label8
L_021a: ldc.i4.1
L_021b: stloc.3
L_021c: br Label9
L_0221: Label6
L_0221: Label7
L_0221: Label8
L_0221: ldloc.s 4 (System.Int32)
L_0223: ldc.i4.1
L_0224: add
L_0225: stloc.s 4 (System.Int32)
L_0227: Label5
L_0227: ldloc.s 4 (System.Int32)
L_0229: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_022e: callvirt Int32 get_Count()
L_0233: blt Label10
L_0238: Label9
L_0238: ldloc.3
L_0239: brfalse Label11
L_023e: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0243: ldloc.0
L_0244: ldftn Boolean <>m__2(IAttackTarget)
L_024a: newobj Void .ctor(Object, IntPtr)
L_024f: callvirt Int32 RemoveAll(System.Predicate`1[Verse.AI.IAttackTarget])
L_0254: pop
L_0255: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_025a: ldloc.0
L_025b: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0260: ldloc.0
L_0261: ldfld Verse.Verb verb
L_0266: call IAttackTarget
GetRandomShootingTargetByScore(System.Collections.Generic.List`1[Verse.AI.IAttackTa
rget], IAttackTargetSearcher, Verse.Verb)
L_026b: stloc.s 7 (Verse.AI.IAttackTarget)
L_026d: br Label12
L_0272: Label11
L_0272: ldloc.0
L_0273: ldfld Verse.AI.TargetScanFlags flags
L_0278: ldc.i4.8
L_0279: and
L_027a: conv.u1
L_027b: brfalse Label13
L_0280: ldloc.0
L_0281: ldfld Verse.AI.TargetScanFlags flags
L_0286: ldc.i4.4
L_0287: and
L_0288: conv.u1
L_0289: brtrue Label14
L_028e: ldloc.0
L_028f: ldftn Boolean <>m__3(Verse.Thing)
L_0295: newobj Void .ctor(Object, IntPtr)
L_029a: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_029c: br Label15
L_02a1: Label13
L_02a1: Label14
L_02a1: ldloc.0
L_02a2: ldftn Boolean <>m__4(Verse.Thing)
L_02a8: newobj Void .ctor(Object, IntPtr)
L_02ad: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_02af: Label15
L_02af: ldloc.0
L_02b0: ldfld Verse.Thing searcherThing
L_02b5: callvirt IntVec3 get_Position()
L_02ba: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02bf: ldloc.0
L_02c0: ldfld System.Single maxDist
L_02c5: ldloc.s 8 (System.Predicate`1[Verse.Thing])
L_02c7: ldnull
L_02c8: call Verse.Thing ClosestThing_Global(IntVec3, IEnumerable, Single,
System.Predicate`1[Verse.Thing], System.Func`2[Verse.Thing,System.Single])
L_02cd: castclass Verse.AI.IAttackTarget
L_02d2: stloc.s 7 (Verse.AI.IAttackTarget)
L_02d4: Label12
L_02d4: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02d9: callvirt Void Clear()
L_02de: ldloc.s 7 (Verse.AI.IAttackTarget)
L_02e0: br Label27
L_02e5: Label3
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn searcherPawn
L_02eb: brfalse Label16
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn searcherPawn
L_02f6: ldfld Verse.AI.Pawn_MindState mindState
L_02fb: ldfld Verse.AI.PawnDuty duty
L_0300: brfalse Label17
L_0305: ldloc.0
L_0306: ldfld Verse.Pawn searcherPawn
L_030b: ldfld Verse.AI.Pawn_MindState mindState
L_0310: ldfld Verse.AI.PawnDuty duty
L_0315: ldfld System.Single radius
L_031a: ldc.r4 0
L_031f: ble.un Label18
L_0324: ldloc.0
L_0325: ldfld Verse.Pawn searcherPawn
L_032a: callvirt Boolean get_InMentalState()
L_032f: brtrue Label19
L_0334: newobj Void .ctor()
L_0339: stloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033b: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033d: ldloc.0
L_033e: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_0343: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0345: ldloc.0
L_0346: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_034b: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_0350: ldloc.0
L_0351: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0353: ldftn Boolean <>m__0(IAttackTarget)
L_0359: newobj Void .ctor(Object, IntPtr)
L_035e: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0363: Label16
L_0363: Label17
L_0363: Label18
L_0363: Label19
L_0363: ldloc.0
L_0364: ldfld Verse.Thing searcherThing
L_0369: callvirt IntVec3 get_Position()
L_036e: stloc.s 11 (Verse.IntVec3)
L_0370: ldloc.0
L_0371: ldfld Verse.Thing searcherThing
L_0376: callvirt Verse.Map get_Map()
L_037b: stloc.s 12 (Verse.Map)
L_037d: ldc.i4.s 15
L_037f: call ThingRequest ForGroup(ThingRequestGroup)
L_0384: stloc.s 13 (Verse.ThingRequest)
L_0386: ldc.i4.2
L_0387: stloc.s 14 (Verse.AI.PathEndMode)
L_0389: ldloc.0
L_038a: ldfld Verse.Pawn searcherPawn
L_038f: stloc.s 15 (Verse.Pawn)
L_0391: ldc.i4.3
L_0392: stloc.s 16 (Verse.Danger)
L_0394: ldloc.0
L_0395: ldfld System.Boolean canBash
L_039a: stloc.s 17 (System.Boolean)
L_039c: ldloc.s 15 (Verse.Pawn)
L_039e: ldloc.s 16 (Verse.Danger)
L_03a0: ldc.i4.0
L_03a1: ldloc.s 17 (System.Boolean)
L_03a3: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_03a8: stloc.s 18 (Verse.TraverseParms)
L_03aa: ldloc.0
L_03ab: ldfld System.Single maxDist
L_03b0: stloc.s 19 (System.Single)
L_03b2: ldloc.0
L_03b3: ldftn Boolean <>m__5(Verse.Thing)
L_03b9: newobj Void .ctor(Object, IntPtr)
L_03be: stloc.s 20 (System.Predicate`1[Verse.Thing])
L_03c0: ldloc.0
L_03c1: ldfld System.Single maxDist
L_03c6: ldc.r4 800
L_03cb: ble.un Label20
L_03d0: ldc.i4.m1
L_03d1: br Label21
L_03d6: Label20
L_03d6: ldc.i4.s 40
L_03d8: Label21
L_03d8: stloc.s 21 (System.Int32)
L_03da: ldloc.s 11 (Verse.IntVec3)
L_03dc: ldloc.s 12 (Verse.Map)
L_03de: ldloc.s 13 (Verse.ThingRequest)
L_03e0: ldloc.s 14 (Verse.AI.PathEndMode)
L_03e2: ldloc.s 18 (Verse.TraverseParms)
L_03e4: ldloc.s 19 (System.Single)
L_03e6: ldloc.s 20 (System.Predicate`1[Verse.Thing])
L_03e8: ldnull
L_03e9: ldc.i4.0
L_03ea: ldloc.s 21 (System.Int32)
L_03ec: ldc.i4.0
L_03ed: ldc.i4.6
L_03ee: ldc.i4.0
L_03ef: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_03f4: castclass Verse.AI.IAttackTarget
L_03f9: stloc.s 10 (Verse.AI.IAttackTarget)
L_03fb: ldloc.s 10 (Verse.AI.IAttackTarget)
L_03fd: brfalse Label22
L_0402: ldloc.0
L_0403: ldfld Verse.Pawn searcherPawn
L_0408: call Boolean ShouldCollideWithPawns(Verse.Pawn)
L_040d: brfalse Label23
L_0412: ldloc.0
L_0413: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0418: ldloc.0
L_0419: ldfld Verse.Pawn searcherPawn
L_041e: ldloc.0
L_041f: ldfld System.Single maxDist
L_0424: ldloc.0
L_0425: ldfld System.Boolean canBash
L_042a: call IAttackTarget
FindBestReachableMeleeTarget(System.Predicate`1[Verse.AI.IAttackTarget],
Verse.Pawn, Single, Boolean)
L_042f: stloc.s 22 (Verse.AI.IAttackTarget)
L_0431: ldloc.s 22 (Verse.AI.IAttackTarget)
L_0433: brfalse Label24
L_0438: ldloc.0
L_0439: ldfld Verse.Pawn searcherPawn
L_043e: callvirt IntVec3 get_Position()
L_0443: ldloc.s 10 (Verse.AI.IAttackTarget)
L_0445: callvirt Verse.Thing get_Thing()
L_044a: callvirt IntVec3 get_Position()
L_044f: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_0454: stloc.s 11 (Verse.IntVec3)
L_0456: ldloca.s 11 (Verse.IntVec3)
L_0458: call Single get_LengthHorizontal()
L_045d: stloc.s 23 (System.Single)
L_045f: ldloc.0
L_0460: ldfld Verse.Pawn searcherPawn
L_0465: callvirt IntVec3 get_Position()
L_046a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_046c: callvirt Verse.Thing get_Thing()
L_0471: callvirt IntVec3 get_Position()
L_0476: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_047b: stloc.s 25 (Verse.IntVec3)
L_047d: ldloca.s 25 (Verse.IntVec3)
L_047f: call Single get_LengthHorizontal()
L_0484: stloc.s 24 (System.Single)
L_0486: ldloc.s 23 (System.Single)
L_0488: ldloc.s 24 (System.Single)
L_048a: sub
L_048b: call Single Abs(Single)
L_0490: ldc.r4 50
L_0495: bge.un Label25
L_049a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_049c: stloc.s 10 (Verse.AI.IAttackTarget)
L_049e: Label22
L_049e: Label23
L_049e: Label24
L_049e: Label25
L_049e: ldloc.s 10 (Verse.AI.IAttackTarget)
L_04a0: Label26
L_04a0: Label27
L_04a0: stloc 26 (Verse.AI.IAttackTarget)
L_04a2: Label0
L_04a2: ldloc 26 (Verse.AI.IAttackTarget)
L_04a4: ret
DONE

### Patch RimWorld.Pawn_DraftController, IEnumerable`1 GetGizmos()


L_0000: Local var 0: RimWorld.Pawn_DraftController+<GetGizmos>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Gizmo,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld RimWorld.Pawn_DraftController $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, RimWorld.Pawn_DraftController ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0027: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ldarg.0
L_019a: ldarg 1
L_01a0: call Void Postfix(RimWorld.Pawn_DraftController, Boolean)
L_01a5: ret
DONE

### Patch Verse.Pawn, Void Kill(Nullable`1, Verse.Hediff)


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: Verse.Map
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.Planet.Caravan
L_0000: Local var 7: RimWorld.Building_Grave
L_0000: Local var 8: System.Boolean
L_0000: Local var 9: System.Single
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.ThingOwner
L_0000: Local var 12: System.Boolean
L_0000: Local var 13: System.Boolean
L_0000: Local var 14: System.Boolean
L_0000: Local var 15: System.Boolean
L_0000: Local var 16: Verse.DamageInfo
L_0000: Local var 17: System.Single
L_0000: Local var 18: Verse.Thing
L_0000: Local var 19: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 20: Verse.DamageInfo
L_0000: Local var 21: Verse.DamageInfo
L_0000: Local var 22: Verse.Pawn
L_0000: Local var 23: Verse.DamageInfo
L_0000: Local var 24: Verse.DamageInfo
L_0000: Local var 25: Verse.DamageInfo
L_0000: Local var 26: Verse.Pawn_CarryTracker
L_0000: Local var 27: Verse.Thing
L_0000: Local var 28: Verse.AI.Group.Lord
L_0000: Local var 29: Verse.Corpse
L_0000: Local var 30: Verse.DamageInfo
L_0000: Local var 31: Verse.DamageInfo
L_0000: Local var 32: Verse.Hediff
L_0000: Local var 33: RimWorld.CompRottable
L_0000: Local var 34: System.Int32
L_0000: ldarg.0
L_0001: call IntVec3 get_PositionHeld()
L_0006: stloc.0
L_0007: ldarg.0
L_0008: call Verse.Map get_Map()
L_000d: stloc.1
L_000e: ldarg.0
L_000f: call Verse.Map get_MapHeld()
L_0014: stloc.2
L_0015: ldarg.0
L_0016: call Boolean get_Spawned()
L_001b: stloc.3
L_001c: ldarg.0
L_001d: call Boolean get_SpawnedOrAnyParentSpawned()
L_0022: stloc.s 4 (System.Boolean)
L_0024: ldarg.0
L_0025: call Boolean IsWorldPawn(Verse.Pawn)
L_002a: stloc.s 5 (System.Boolean)
L_002c: ldarg.0
L_002d: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_0032: stloc.s 6 (RimWorld.Planet.Caravan)
L_0034: ldnull
L_0035: stloc.s 7 (RimWorld.Building_Grave)
L_0037: ldarg.0
L_0038: ldfld RimWorld.Pawn_Ownership ownership
L_003d: brfalse Label1
L_0042: ldarg.0
L_0043: ldfld RimWorld.Pawn_Ownership ownership
L_0048: callvirt RimWorld.Building_Grave get_AssignedGrave()
L_004d: stloc.s 7 (RimWorld.Building_Grave)
L_004f: Label1
L_004f: ldarg.0
L_0050: call Boolean InBed(Verse.Pawn)
L_0055: stloc.s 8 (System.Boolean)
L_0057: ldc.r4 0
L_005c: stloc.s 9 (System.Single)
L_005e: ldloc.s 8 (System.Boolean)
L_0060: brfalse Label2
L_0065: ldarg.0
L_0066: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006b: callvirt Rot4 get_Rotation()
L_0070: stloc.s 10 (Verse.Rot4)
L_0072: ldloca.s 10 (Verse.Rot4)
L_0074: call Single get_AsAngle()
L_0079: stloc.s 9 (System.Single)
L_007b: Label2
L_007b: ldnull
L_007c: stloc.s 11 (Verse.ThingOwner)
L_007e: ldarg.0
L_007f: call Boolean get_InContainerEnclosed()
L_0084: stloc.s 12 (System.Boolean)
L_0086: ldloc.s 12 (System.Boolean)
L_0088: brfalse Label3
L_008d: ldarg.0
L_008e: ldfld Verse.ThingOwner holdingOwner
L_0093: stloc.s 11 (Verse.ThingOwner)
L_0095: ldloc.s 11 (Verse.ThingOwner)
L_0097: ldarg.0
L_0098: callvirt Boolean Remove(Verse.Thing)
L_009d: pop
L_009e: Label3
L_009e: ldc.i4.0
L_009f: stloc.s 13 (System.Boolean)
L_00a1: ldc.i4.0
L_00a2: stloc.s 14 (System.Boolean)
L_00a4: call ProgramState get_ProgramState()
L_00a9: ldc.i4.2
L_00aa: bne.un Label4
L_00af: ldloc.1
L_00b0: brfalse Label5
L_00b5: ldloc.1
L_00b6: ldfld Verse.DesignationManager designationManager
L_00bb: ldarg.0
L_00bc: ldsfld Verse.DesignationDef Hunt
L_00c1: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00c6: ldnull
L_00c7: ceq
L_00c9: ldc.i4.0
L_00ca: ceq
L_00cc: stloc.s 13 (System.Boolean)
L_00ce: ldloc.1
L_00cf: ldfld Verse.DesignationManager designationManager
L_00d4: ldarg.0
L_00d5: ldsfld Verse.DesignationDef Slaughter
L_00da: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00df: ldnull
L_00e0: ceq
L_00e2: ldc.i4.0
L_00e3: ceq
L_00e5: stloc.s 14 (System.Boolean)
L_00e7: Label4
L_00e7: Label5
L_00e7: ldarg.0
L_00e8: call Boolean ShouldSendNotificationAbout(Verse.Pawn)
L_00ed: brfalse Label6
L_00f2: ldloc.s 14 (System.Boolean)
L_00f4: brfalse Label7
L_00f9: ldarga.s 1
L_00fb: call Boolean get_HasValue()
L_0100: brfalse Label8
L_0105: ldarga.s 1
L_0107: call DamageInfo get_Value()
L_010c: stloc.s 16 (Verse.DamageInfo)
L_010e: ldloca.s 16 (Verse.DamageInfo)
L_0110: call Verse.DamageDef get_Def()
L_0115: ldsfld Verse.DamageDef ExecutionCut
L_011a: ceq
L_011c: br Label9
L_0121: Label7
L_0121: Label8
L_0121: ldc.i4.0
L_0122: Label9
L_0122: ldc.i4.0
L_0123: ceq
L_0125: br Label10
L_012a: Label6
L_012a: ldc.i4.0
L_012b: Label10
L_012b: stloc.s 15 (System.Boolean)
L_012d: ldc.r4 0
L_0132: stloc.s 17 (System.Single)
L_0134: ldarg.0
L_0135: ldsfld Verse.ThingDef Fire
L_013a: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_013f: stloc.s 18 (Verse.Thing)
L_0141: ldloc.s 18 (Verse.Thing)
L_0143: brfalse Label11
L_0148: ldloc.s 18 (Verse.Thing)
L_014a: castclass RimWorld.Fire
L_014f: callvirt Single CurrentSize()
L_0154: stloc.s 17 (System.Single)
L_0156: Label11
L_0156: ldarg.0
L_0157: ldarg.1
L_0158: ldc.i4.0
L_0159: call Void TryGiveThoughts(Verse.Pawn, Nullable`1,
PawnDiedOrDownedThoughtsKind)
L_015e: call ProgramState get_ProgramState()
L_0163: ldc.i4.2
L_0164: bne.un Label12
L_0169: call RimWorld.Storyteller get_Storyteller()
L_016e: ldarg.0
L_016f: ldc.i4.1
L_0170: ldloca.s 19 (System.Nullable`1[Verse.DamageInfo])
L_0172: initobj System.Nullable`1[Verse.DamageInfo]
L_0178: ldloc.s 19 (System.Nullable`1[Verse.DamageInfo])
L_017a: callvirt Void Notify_PawnEvent(Verse.Pawn, AdaptationEvent, Nullable`1)
L_017f: Label12
L_017f: ldarg.0
L_0180: call Boolean get_IsColonist()
L_0185: brfalse Label13
L_018a: call RimWorld.StoryWatcher get_StoryWatcher()
L_018f: ldfld RimWorld.StatsRecord statsRecord
L_0194: callvirt Void Notify_ColonistKilled()
L_0199: Label13
L_0199: ldloc.3
L_019a: brfalse Label14
L_019f: ldarga.s 1
L_01a1: call Boolean get_HasValue()
L_01a6: brfalse Label15
L_01ab: ldarga.s 1
L_01ad: call DamageInfo get_Value()
L_01b2: stloc.s 20 (Verse.DamageInfo)
L_01b4: ldloca.s 20 (Verse.DamageInfo)
L_01b6: call Verse.DamageDef get_Def()
L_01bb: ldarg.0
L_01bc: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_01c1: brfalse Label16
L_01c6: ldarg.0
L_01c7: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01cc: brtrue Label17
L_01d1: ldnull
L_01d2: ldftn Verse.SoundDef <Kill>m__8(Verse.LifeStageAge)
L_01d8: newobj Void .ctor(Object, IntPtr)
L_01dd: stsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e2: Label17
L_01e2: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e7: ldc.r4 1
L_01ec: call Void PlayNearestLifestageSound(Verse.Pawn,
System.Func`2[Verse.LifeStageAge,Verse.SoundDef], Single)
L_01f1: Label14
L_01f1: Label15
L_01f1: Label16
L_01f1: ldarga.s 1
L_01f3: call Boolean get_HasValue()
L_01f8: brfalse Label18
L_01fd: ldarga.s 1
L_01ff: call DamageInfo get_Value()
L_0204: stloc.s 21 (Verse.DamageInfo)
L_0206: ldloca.s 21 (Verse.DamageInfo)
L_0208: call Verse.Thing get_Instigator()
L_020d: brfalse Label19
L_0212: ldarga.s 1
L_0214: call DamageInfo get_Value()
L_0219: stloc.s 23 (Verse.DamageInfo)
L_021b: ldloca.s 23 (Verse.DamageInfo)
L_021d: call Verse.Thing get_Instigator()
L_0222: isinst Verse.Pawn
L_0227: stloc.s 22 (Verse.Pawn)
L_0229: ldloc.s 22 (Verse.Pawn)
L_022b: brfalse Label20
L_0230: ldarg.0
L_0231: ldloc.s 22 (Verse.Pawn)
L_0233: call Void Notify_PawnKilled(Verse.Pawn, Verse.Pawn)
L_0238: ldarg.0
L_0239: call Boolean get_IsColonist()
L_023e: brfalse Label21
L_0243: ldloc.s 22 (Verse.Pawn)
L_0245: ldfld RimWorld.Pawn_RecordsTracker records
L_024a: ldsfld RimWorld.StoryEventDef KilledPlayer
L_024f: callvirt Void AccumulateStoryEvent(RimWorld.StoryEventDef)
L_0254: Label18
L_0254: Label19
L_0254: Label20
L_0254: Label21
L_0254: ldarg.0
L_0255: ldarg.1
L_0256: call Void Notify_PawnDied(Verse.Pawn, Nullable`1)
L_025b: ldloc.3
L_025c: brfalse Label22
L_0261: call Verse.BattleLog get_BattleLog()
L_0266: ldarg.0
L_0267: ldarg.0
L_0268: call Verse.RaceProperties get_RaceProps()
L_026d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0272: callvirt Verse.RulePackDef get_DeathRules()
L_0277: ldarga.s 1
L_0279: call Boolean get_HasValue()
L_027e: brfalse Label23
L_0283: ldarga.s 1
L_0285: call DamageInfo get_Value()
L_028a: stloc.s 24 (Verse.DamageInfo)
L_028c: ldloca.s 24 (Verse.DamageInfo)
L_028e: call Verse.Thing get_Instigator()
L_0293: isinst Verse.Pawn
L_0298: br Label24
L_029d: Label23
L_029d: ldnull
L_029e: Label24
L_029e: ldarg.2
L_029f: ldarga.s 1
L_02a1: call Boolean get_HasValue()
L_02a6: brfalse Label25
L_02ab: ldarga.s 1
L_02ad: call DamageInfo get_Value()
L_02b2: stloc.s 25 (Verse.DamageInfo)
L_02b4: ldloca.s 25 (Verse.DamageInfo)
L_02b6: call Verse.BodyPartRecord get_HitPart()
L_02bb: br Label26
L_02c0: Label25
L_02c0: ldnull
L_02c1: Label26
L_02c1: newobj Void .ctor(Thing, RulePackDef, Pawn, Hediff, BodyPartRecord)
L_02c6: callvirt Void Add(Verse.LogEntry)
L_02cb: Label22
L_02cb: ldarg.0
L_02cc: ldfld Verse.Pawn_HealthTracker health
L_02d1: ldfld RimWorld.BillStack surgeryBills
L_02d6: callvirt Void Clear()
L_02db: ldarg.0
L_02dc: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02e1: brfalse Label27
L_02e6: ldarg.0
L_02e7: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02ec: ldarg.1
L_02ed: callvirt Void Notify_PawnKilled(Nullable`1)
L_02f2: Label27
L_02f2: ldarg.0
L_02f3: call Verse.RaceProperties get_RaceProps()
L_02f8: callvirt Boolean get_IsFlesh()
L_02fd: brfalse Label28
L_0302: ldarg.0
L_0303: ldfld RimWorld.Pawn_RelationsTracker relations
L_0308: ldarg.1
L_0309: ldloc.1
L_030a: callvirt Void Notify_PawnKilled(Nullable`1, Verse.Map)
L_030f: Label28
L_030f: ldarg.0
L_0310: ldfld RimWorld.Pawn_MeleeVerbs meleeVerbs
L_0315: callvirt Void Notify_PawnKilled()
L_031a: ldarg.0
L_031b: call IThingHolder get_ParentHolder()
L_0320: isinst Verse.Pawn_CarryTracker
L_0325: stloc.s 26 (Verse.Pawn_CarryTracker)
L_0327: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0329: brfalse Label29
L_032e: ldarg.0
L_032f: ldfld Verse.ThingOwner holdingOwner
L_0334: ldarg.0
L_0335: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0337: ldfld Verse.Pawn pawn
L_033c: callvirt IntVec3 get_Position()
L_0341: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0343: ldfld Verse.Pawn pawn
L_0348: callvirt Verse.Map get_Map()
L_034d: ldc.i4.1
L_034e: ldloca.s 27 (Verse.Thing)
L_0350: ldnull
L_0351: ldnull
L_0352: callvirt Boolean TryDrop(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
Verse.Thing ByRef, System.Action`2[Verse.Thing,System.Int32],
System.Predicate`1[Verse.IntVec3])
L_0357: brfalse Label30
L_035c: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_035e: ldfld Verse.Pawn pawn
L_0363: callvirt Verse.Map get_Map()
L_0368: stloc.1
L_0369: ldc.i4.1
L_036a: stloc.3
L_036b: Label29
L_036b: Label30
L_036b: ldarg.0
L_036c: ldfld Verse.Pawn_HealthTracker health
L_0371: callvirt Void SetDead()
L_0376: ldarg.0
L_0377: ldfld Verse.Pawn_HealthTracker health
L_037c: ldfld Verse.Effecter deflectionEffecter
L_0381: brfalse Label31
L_0386: ldarg.0
L_0387: ldfld Verse.Pawn_HealthTracker health
L_038c: ldfld Verse.Effecter deflectionEffecter
L_0391: callvirt Void Cleanup()
L_0396: ldarg.0
L_0397: ldfld Verse.Pawn_HealthTracker health
L_039c: ldnull
L_039d: stfld Verse.Effecter deflectionEffecter
L_03a2: Label31
L_03a2: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03a4: brfalse Label32
L_03a9: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03ab: ldarg.0
L_03ac: callvirt Void Notify_MemberDied(Verse.Pawn)
L_03b1: Label32
L_03b1: ldarg.0
L_03b2: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_03b7: stloc.s 28 (Verse.AI.Group.Lord)
L_03b9: ldloc.s 28 (Verse.AI.Group.Lord)
L_03bb: brfalse Label33
L_03c0: ldloc.s 28 (Verse.AI.Group.Lord)
L_03c2: ldarg.0
L_03c3: ldc.i4.2
L_03c4: ldarg.1
L_03c5: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_03ca: Label33
L_03ca: ldloc.3
L_03cb: brfalse Label34
L_03d0: ldarg.0
L_03d1: ldc.i4.0
L_03d2: call Void DropAndForbidEverything(Boolean)
L_03d7: Label34
L_03d7: ldloc.3
L_03d8: brfalse Label35
L_03dd: ldarg.0
L_03de: ldc.i4.0
L_03df: callvirt Void DeSpawn(DestroyMode)
L_03e4: Label35
L_03e4: ldnull
L_03e5: stloc.s 29 (Verse.Corpse)
L_03e7: ldarg.0
L_03e8: call Boolean IsBeingGenerated(Verse.Pawn)
L_03ed: brtrue Label36
L_03f2: ldloc.s 12 (System.Boolean)
L_03f4: brfalse Label37
L_03f9: ldarg.0
L_03fa: ldloc.s 7 (RimWorld.Building_Grave)
L_03fc: ldloc.s 8 (System.Boolean)
L_03fe: ldloc.s 9 (System.Single)
L_0400: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0405: stloc.s 29 (Verse.Corpse)
L_0407: ldloc.s 11 (Verse.ThingOwner)
L_0409: ldloc.s 29 (Verse.Corpse)
L_040b: ldc.i4.1
L_040c: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0411: brtrue Label38
L_0416: ldloc.s 29 (Verse.Corpse)
L_0418: ldc.i4.0
L_0419: callvirt Void Destroy(DestroyMode)
L_041e: ldnull
L_041f: stloc.s 29 (Verse.Corpse)
L_0421: Label38
L_0421: br Label39
L_0426: Label37
L_0426: ldloc.s 4 (System.Boolean)
L_0428: brfalse Label40
L_042d: ldarg.0
L_042e: ldfld Verse.ThingOwner holdingOwner
L_0433: brfalse Label41
L_0438: ldarg.0
L_0439: ldfld Verse.ThingOwner holdingOwner
L_043e: ldarg.0
L_043f: callvirt Boolean Remove(Verse.Thing)
L_0444: pop
L_0445: Label41
L_0445: ldarg.0
L_0446: ldloc.s 7 (RimWorld.Building_Grave)
L_0448: ldloc.s 8 (System.Boolean)
L_044a: ldloc.s 9 (System.Single)
L_044c: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0451: stloc.s 29 (Verse.Corpse)
L_0453: ldloc.s 29 (Verse.Corpse)
L_0455: ldloc.0
L_0456: ldloc.2
L_0457: ldc.i4.0
L_0458: ldnull
L_0459: ldnull
L_045a: call Boolean TryPlaceThing(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
System.Action`2[Verse.Thing,System.Int32], System.Predicate`1[Verse.IntVec3])
L_045f: brfalse Label42
L_0464: ldloc.s 29 (Verse.Corpse)
L_0466: ldarg.0
L_0467: call Rot4 get_Rotation()
L_046c: callvirt Void set_Rotation(Rot4)
L_0471: ldarg.0
L_0472: ldarg.1
L_0473: call Boolean WasKilledByHunter(Verse.Pawn, Nullable`1)
L_0478: brfalse Label43
L_047d: ldarga.s 1
L_047f: call DamageInfo get_Value()
L_0484: stloc.s 30 (Verse.DamageInfo)
L_0486: ldloca.s 30 (Verse.DamageInfo)
L_0488: call Verse.Thing get_Instigator()
L_048d: castclass Verse.Pawn
L_0492: ldloc.s 29 (Verse.Corpse)
L_0494: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0499: ldarga.s 1
L_049b: call DamageInfo get_Value()
L_04a0: stloc.s 31 (Verse.DamageInfo)
L_04a2: ldloca.s 31 (Verse.DamageInfo)
L_04a4: call Verse.Thing get_Instigator()
L_04a9: castclass Verse.Pawn
L_04ae: callvirt Verse.AI.Job get_CurJob()
L_04b3: ldc.i4.1
L_04b4: ldc.i4.m1
L_04b5: ldnull
L_04b6: ldc.i4.1
L_04b7: call Boolean Reserve(Verse.Pawn, LocalTargetInfo, Verse.AI.Job, Int32,
Int32, Verse.ReservationLayerDef, Boolean)
L_04bc: pop
L_04bd: br Label44
L_04c2: Label43
L_04c2: ldloc.s 13 (System.Boolean)
L_04c4: brtrue Label45
L_04c9: ldloc.s 14 (System.Boolean)
L_04cb: brtrue Label46
L_04d0: ldloc.s 29 (Verse.Corpse)
L_04d2: call Void SetForbiddenIfOutsideHomeArea(Verse.Thing)
L_04d7: Label44
L_04d7: Label45
L_04d7: Label46
L_04d7: ldloc.s 17 (System.Single)
L_04d9: ldc.r4 0
L_04de: ble.un Label47
L_04e3: ldloc.s 29 (Verse.Corpse)
L_04e5: callvirt IntVec3 get_Position()
L_04ea: ldloc.s 29 (Verse.Corpse)
L_04ec: callvirt Verse.Map get_Map()
L_04f1: ldloc.s 17 (System.Single)
L_04f3: call Boolean TryStartFireIn(IntVec3, Verse.Map, Single)
L_04f8: pop
L_04f9: Label47
L_04f9: br Label48
L_04fe: Label42
L_04fe: ldloc.s 29 (Verse.Corpse)
L_0500: ldc.i4.0
L_0501: callvirt Void Destroy(DestroyMode)
L_0506: ldnull
L_0507: stloc.s 29 (Verse.Corpse)
L_0509: Label48
L_0509: br Label49
L_050e: Label40
L_050e: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0510: brfalse Label50
L_0515: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0517: callvirt Boolean get_Spawned()
L_051c: brfalse Label51
L_0521: ldarg.0
L_0522: ldloc.s 7 (RimWorld.Building_Grave)
L_0524: ldloc.s 8 (System.Boolean)
L_0526: ldloc.s 9 (System.Single)
L_0528: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_052d: stloc.s 29 (Verse.Corpse)
L_052f: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0531: ldloc.s 29 (Verse.Corpse)
L_0533: ldc.i4.1
L_0534: callvirt Void AddPawnOrItem(Verse.Thing, Boolean)
L_0539: br Label52
L_053e: Label50
L_053e: Label51
L_053e: ldarg.0
L_053f: ldfld Verse.ThingOwner holdingOwner
L_0544: brtrue Label53
L_0549: ldarg.0
L_054a: call Boolean IsWorldPawn(Verse.Pawn)
L_054f: brfalse Label54
L_0554: Label53
L_0554: ldarg.0
L_0555: call Void PostCorpseDestroy(Verse.Pawn)
L_055a: br Label55
L_055f: Label54
L_055f: ldarg.0
L_0560: ldloc.s 7 (RimWorld.Building_Grave)
L_0562: ldloc.s 8 (System.Boolean)
L_0564: ldloc.s 9 (System.Single)
L_0566: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_056b: stloc.s 29 (Verse.Corpse)
L_056d: Label36
L_056d: Label39
L_056d: Label49
L_056d: Label52
L_056d: Label55
L_056d: ldloc.s 29 (Verse.Corpse)
L_056f: brfalse Label56
L_0574: ldarg.0
L_0575: ldfld Verse.Pawn_HealthTracker health
L_057a: ldfld Verse.HediffSet hediffSet
L_057f: ldsfld Verse.HediffDef ToxicBuildup
L_0584: ldc.i4.0
L_0585: callvirt Verse.Hediff GetFirstHediffOfDef(Verse.HediffDef, Boolean)
L_058a: stloc.s 32 (Verse.Hediff)
L_058c: ldloc.s 29 (Verse.Corpse)
L_058e: callvirt RimWorld.CompRottable GetComp[CompRottable]()
L_0593: stloc.s 33 (RimWorld.CompRottable)
L_0595: ldloc.s 32 (Verse.Hediff)
L_0597: brfalse Label57
L_059c: call Single get_Value()
L_05a1: ldloc.s 32 (Verse.Hediff)
L_05a3: callvirt Single get_Severity()
L_05a8: bge.un Label58
L_05ad: ldloc.s 33 (RimWorld.CompRottable)
L_05af: brfalse Label59
L_05b4: ldloc.s 33 (RimWorld.CompRottable)
L_05b6: callvirt Void RotImmediately()
L_05bb: Label56
L_05bb: Label57
L_05bb: Label58
L_05bb: Label59
L_05bb: ldarg.0
L_05bc: call Boolean get_Destroyed()
L_05c1: brtrue Label60
L_05c6: ldarg.0
L_05c7: ldc.i4.2
L_05c8: callvirt Void Destroy(DestroyMode)
L_05cd: Label60
L_05cd: ldarg.0
L_05ce: call Void RemoveComponentsOnKilled(Verse.Pawn)
L_05d3: ldarg.0
L_05d4: ldfld Verse.Pawn_HealthTracker health
L_05d9: ldfld Verse.HediffSet hediffSet
L_05de: callvirt Void DirtyCache()
L_05e3: ldarg.0
L_05e4: call Void SetDirty(Verse.Pawn)
L_05e9: ldc.i4.0
L_05ea: stloc.s 34 (System.Int32)
L_05ec: br Label61
L_05f1: Label62
L_05f1: ldarg.0
L_05f2: ldfld Verse.Pawn_HealthTracker health
L_05f7: ldfld Verse.HediffSet hediffSet
L_05fc: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0601: ldloc.s 34 (System.Int32)
L_0603: callvirt Verse.Hediff get_Item(Int32)
L_0608: callvirt Void Notify_PawnDied()
L_060d: ldloc.s 34 (System.Int32)
L_060f: ldc.i4.1
L_0610: add
L_0611: stloc.s 34 (System.Int32)
L_0613: Label61
L_0613: ldloc.s 34 (System.Int32)
L_0615: ldarg.0
L_0616: ldfld Verse.Pawn_HealthTracker health
L_061b: ldfld Verse.HediffSet hediffSet
L_0620: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0625: callvirt Int32 get_Count()
L_062a: blt Label62
L_062f: ldarg.0
L_0630: call RimWorld.Faction get_Faction()
L_0635: brfalse Label63
L_063a: ldarg.0
L_063b: call RimWorld.Faction get_Faction()
L_0640: ldarg.0
L_0641: ldarg.1
L_0642: ldloc.s 5 (System.Boolean)
L_0644: ldloc.2
L_0645: callvirt Void Notify_MemberDied(Verse.Pawn, Nullable`1, Boolean, Verse.Map)
L_064a: Label63
L_064a: ldloc.s 29 (Verse.Corpse)
L_064c: brfalse Label64
L_0651: ldarg.0
L_0652: call Verse.RaceProperties get_RaceProps()
L_0657: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_065c: brfalse Label65
L_0661: ldloc.3
L_0662: brfalse Label66
L_0667: ldarg.0
L_0668: call Verse.RaceProperties get_RaceProps()
L_066d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0672: ldloc.s 29 (Verse.Corpse)
L_0674: callvirt Void PawnDied(Verse.Corpse)
L_0679: Label65
L_0679: Label66
L_0679: call RimWorld.Scenario get_Scenario()
L_067e: brfalse Label67
L_0683: call RimWorld.Scenario get_Scenario()
L_0688: ldloc.s 29 (Verse.Corpse)
L_068a: callvirt Void Notify_PawnDied(Verse.Corpse)
L_068f: Label64
L_068f: Label67
L_068f: ldarg.0
L_0690: call RimWorld.Faction get_Faction()
L_0695: brfalse Label68
L_069a: ldarg.0
L_069b: call RimWorld.Faction get_Faction()
L_06a0: callvirt Boolean get_IsPlayer()
L_06a5: brfalse Label69
L_06aa: ldarg.0
L_06ab: call Void Notify_ColonistUnavailable(Verse.Pawn)
L_06b0: Label68
L_06b0: Label69
L_06b0: ldloc.s 4 (System.Boolean)
L_06b2: brfalse Label70
L_06b7: ldarg.0
L_06b8: ldloc.2
L_06b9: call Void Notify_PawnLostForTutor(Verse.Pawn, Verse.Map)
L_06be: Label70
L_06be: ldarg.0
L_06bf: call RimWorld.Faction get_Faction()
L_06c4: brfalse Label71
L_06c9: ldarg.0
L_06ca: call RimWorld.Faction get_Faction()
L_06cf: callvirt Boolean get_IsPlayer()
L_06d4: brfalse Label72
L_06d9: call ProgramState get_ProgramState()
L_06de: ldc.i4.2
L_06df: bne.un Label73
L_06e4: call RimWorld.ColonistBar get_ColonistBar()
L_06e9: callvirt Void MarkColonistsDirty()
L_06ee: Label71
L_06ee: Label72
L_06ee: Label73
L_06ee: ldloc.s 15 (System.Boolean)
L_06f0: brfalse Label74
L_06f5: ldarg.0
L_06f6: ldfld Verse.Pawn_HealthTracker health
L_06fb: ldarg.1
L_06fc: ldarg.2
L_06fd: ldloc.s 6 (RimWorld.Planet.Caravan)
L_06ff: callvirt Void NotifyPlayerOfKilled(Nullable`1, Verse.Hediff,
RimWorld.Planet.Caravan)
L_0704: Label74
L_0704: ldarg.0
L_0705: call Void Postfix(Verse.Pawn)
L_070a: ldarga 0
L_0710: call Void Postfix(Verse.Pawn ByRef)
L_0715: ret
DONE

### Patch RimWorld.Targeter, Void TargeterUpdate()


L_0000: Local var 0: Verse.LocalTargetInfo
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Single
L_0000: Local var 3: Verse.ShootLine
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: ldarg.0
L_0001: ldfld Verse.Verb targetingVerb
L_0006: brfalse Label1
L_000b: ldarg.0
L_000c: ldfld Verse.Verb targetingVerb
L_0011: ldfld Verse.VerbProperties verbProps
L_0016: ldarg.0
L_0017: ldfld Verse.Verb targetingVerb
L_001c: ldfld Verse.Thing caster
L_0021: callvirt IntVec3 get_Position()
L_0026: callvirt Void DrawRadiusRing(IntVec3)
L_002b: ldarg.0
L_002c: ldc.i4.1
L_002d: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_0032: stloc.0
L_0033: ldloca.s 0 (Verse.LocalTargetInfo)
L_0035: call Boolean get_IsValid()
L_003a: brfalse Label2
L_003f: ldloc.0
L_0040: call Void DrawTargetHighlight(LocalTargetInfo)
L_0045: ldarg.0
L_0046: ldfld Verse.Verb targetingVerb
L_004b: ldloca.s 1 (System.Boolean)
L_004d: callvirt Single HighlightFieldRadiusAroundTarget(Boolean ByRef)
L_0052: stloc.2
L_0053: ldloc.2
L_0054: ldc.r4 0.2
L_0059: ble.un Label3
L_005e: ldarg.0
L_005f: ldfld Verse.Verb targetingVerb
L_0064: ldarg.0
L_0065: ldfld Verse.Verb targetingVerb
L_006a: ldfld Verse.Thing caster
L_006f: callvirt IntVec3 get_Position()
L_0074: ldloc.0
L_0075: ldloca.s 3 (Verse.ShootLine)
L_0077: callvirt Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_007c: brfalse Label4
L_0081: ldloc.1
L_0082: brfalse Label5
L_0087: ldloca.s 3 (Verse.ShootLine)
L_0089: call IntVec3 get_Dest()
L_008e: ldloc.2
L_008f: call Void RenderPredictedAreaOfEffect(IntVec3, Single)
L_0094: br Label6
L_0099: Label5
L_0099: ldloca.s 3 (Verse.ShootLine)
L_009b: call IntVec3 get_Dest()
L_00a0: ldloc.2
L_00a1: ldc.i4.1
L_00a2: call IEnumerable`1 RadialCellsAround(IntVec3, Single, Boolean)
L_00a7: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00ac: brtrue Label7
L_00b1: ldnull
L_00b2: ldftn Boolean <TargeterUpdate>m__0(IntVec3)
L_00b8: newobj Void .ctor(Object, IntPtr)
L_00bd: stsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c2: Label7
L_00c2: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c7: call IEnumerable`1 Where[IntVec3](IEnumerable`1,
System.Func`2[Verse.IntVec3,System.Boolean])
L_00cc: call System.Collections.Generic.List`1[Verse.IntVec3] ToList[IntVec3]
(IEnumerable`1)
L_00d1: call Void DrawFieldEdges(System.Collections.Generic.List`1[Verse.IntVec3])
L_00d6: Label1
L_00d6: Label2
L_00d6: Label3
L_00d6: Label4
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Action`1[Verse.LocalTargetInfo] action
L_00dc: brfalse Label8
L_00e1: ldarg.0
L_00e2: ldc.i4.0
L_00e3: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_00e8: stloc.s 4 (Verse.LocalTargetInfo)
L_00ea: ldloca.s 4 (Verse.LocalTargetInfo)
L_00ec: call Boolean get_IsValid()
L_00f1: brfalse Label9
L_00f6: ldloc.s 4 (Verse.LocalTargetInfo)
L_00f8: call Void DrawTargetHighlight(LocalTargetInfo)
L_00fd: Label8
L_00fd: Label9
L_00fd: ldarg.0
L_00fe: call Void TargeterUpdate_PostFix(RimWorld.Targeter)
L_0103: ldarga 0
L_0109: call Void Postfix(RimWorld.Targeter ByRef)
L_010e: ret
DONE

### Patch Verse.Verb, Boolean CanHitTargetFrom(IntVec3, LocalTargetInfo)


L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.ShootLine
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarga.s 2
L_0008: call Verse.Thing get_Thing()
L_000d: brfalse Label1
L_0012: ldarga.s 2
L_0014: call Verse.Thing get_Thing()
L_0019: ldarg.0
L_001a: ldfld Verse.Thing caster
L_001f: bne.un Label2
L_0024: ldarg.0
L_0025: ldfld Verse.VerbProperties verbProps
L_002a: ldfld RimWorld.TargetingParameters targetParams
L_002f: ldfld System.Boolean canTargetSelf
L_0034: br Label8
L_0039: Label1
L_0039: Label2
L_0039: ldarg.0
L_003a: call Boolean get_CasterIsPawn()
L_003f: brfalse Label3
L_0044: ldarg.0
L_0045: call Verse.Pawn get_CasterPawn()
L_004a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_004f: brfalse Label4
L_0054: ldarg.0
L_0055: call Verse.Pawn get_CasterPawn()
L_005a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_005f: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0064: stloc.0
L_0065: ldc.i4.0
L_0066: stloc.1
L_0067: br Label5
L_006c: Label7
L_006c: ldloc.0
L_006d: ldloc.1
L_006e: callvirt RimWorld.Apparel get_Item(Int32)
L_0073: ldarg.1
L_0074: ldarg.0
L_0075: ldfld Verse.Thing caster
L_007a: callvirt Verse.Map get_Map()
L_007f: ldarg.2
L_0080: ldarg.0
L_0081: callvirt Boolean AllowVerbCast(IntVec3, Verse.Map, LocalTargetInfo,
Verse.Verb)
L_0086: brtrue Label6
L_008b: ldc.i4.0
L_008c: br Label9
L_0091: Label6
L_0091: ldloc.1
L_0092: ldc.i4.1
L_0093: add
L_0094: stloc.1
L_0095: Label5
L_0095: ldloc.1
L_0096: ldloc.0
L_0097: callvirt Int32 get_Count()
L_009c: blt Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldarg.0
L_00a2: ldarg.1
L_00a3: ldarg.2
L_00a4: ldloca.s 2 (Verse.ShootLine)
L_00a6: call Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_00ab: Label8
L_00ab: Label9
L_00ab: stloc 3 (System.Boolean)
L_00ac: ldarga 0
L_00b2: ldloca 3 (System.Boolean)
L_00b4: ldarg 1
L_00ba: ldarg 2
L_00c0: call Void Postfix(Verse.Verb ByRef, Boolean ByRef, IntVec3,
LocalTargetInfo)
L_00c5: ldloc 3 (System.Boolean)
L_00c6: ret
DONE

### Patch Verse.Pawn_RotationTracker, Void RotationTrackerTick()


L_0000: ldarg.0
L_0001: call Boolean VehicleRotatorTick(Verse.Pawn_RotationTracker)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void UpdateRotation()
L_0011: Label0
L_0011: ret
DONE

### Patch Verse.DamageWorker_AddInjury, Single FinalizeAndAddInjury(Verse.Pawn,


Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult)
L_0000: Local var 0: Verse.HediffComp_GetsPermanent
L_0000: Local var 1: System.Single
L_0000: Local var 2: System.Single
L_0000: ldc.r4 0
L_0005: stloc 2 (System.Single)
L_0006: ldarg.2
L_0007: call Verse.HediffComp_GetsPermanent TryGetComp[HediffComp_GetsPermanent]
(Verse.Hediff)
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldloc.0
L_0014: callvirt Void PreFinalizeInjury()
L_0019: Label1
L_0019: ldarg.1
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldarg.2
L_0020: ldnull
L_0021: ldarg.3
L_0022: newobj Void .ctor(DamageInfo)
L_0027: ldarg.s 4
L_0029: callvirt Void AddHediff(Verse.Hediff, Verse.BodyPartRecord, Nullable`1,
Verse.DamageWorker+DamageResult)
L_002e: ldarg.2
L_002f: callvirt Single get_Severity()
L_0034: ldarg.1
L_0035: ldfld Verse.Pawn_HealthTracker health
L_003a: ldfld Verse.HediffSet hediffSet
L_003f: ldarg.2
L_0040: callvirt Verse.BodyPartRecord get_Part()
L_0045: callvirt Single GetPartHealth(Verse.BodyPartRecord)
L_004a: call Single Min(Single, Single)
L_004f: stloc.1
L_0050: ldarg.s 4
L_0052: dup
L_0053: ldfld System.Single totalDamageDealt
L_0058: ldloc.1
L_0059: add
L_005a: stfld System.Single totalDamageDealt
L_005f: ldarg.s 4
L_0061: ldc.i4.1
L_0062: stfld System.Boolean wounded
L_0067: ldarg.s 4
L_0069: ldarg.1
L_006a: ldarg.2
L_006b: callvirt Verse.BodyPartRecord get_Part()
L_0070: callvirt Void AddPart(Verse.Thing, Verse.BodyPartRecord)
L_0075: ldarg.s 4
L_0077: ldarg.2
L_0078: callvirt Void AddHediff(Verse.Hediff)
L_007d: ldloc.1
L_007e: stloc 2 (System.Single)
L_007f: ldarg.0
L_0080: ldarg 1
L_0086: ldarg 2
L_008c: ldarg 3
L_0092: ldarga 4
L_0098: ldloca 2 (System.Single)
L_009a: call Void TryInjureVehicleOccupants(Verse.DamageWorker_AddInjury,
Verse.Pawn, Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult ByRef,
Single ByRef)
L_009f: ldloc 2 (System.Single)
L_00a0: ret
DONE

### Patch Verse.HealthUtility, System.String GetGeneralConditionLabel(Verse.Pawn,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Hediff_Injury
L_0000: Local var 3: System.String
L_0000: ldnull
L_0001: stloc 3 (System.String)
L_0002: ldloca 3 (System.String)
L_0004: ldarg 0
L_000a: ldarg 1
L_0010: call Boolean ReplaceConditionLabel(System.String ByRef, Verse.Pawn,
Boolean)
L_0015: brfalse Label0
L_001a: ldarg.0
L_001b: ldfld Verse.Pawn_HealthTracker health
L_0020: callvirt Boolean get_Dead()
L_0025: brfalse Label1
L_002a: ldstr "Dead"
L_002f: call System.String Translate(System.String)
L_0034: br Label15
L_0039: Label1
L_0039: ldarg.0
L_003a: ldfld Verse.Pawn_HealthTracker health
L_003f: ldfld Verse.PawnCapacitiesHandler capacities
L_0044: callvirt Boolean get_CanBeAwake()
L_0049: brtrue Label2
L_004e: ldstr "Unconscious"
L_0053: call System.String Translate(System.String)
L_0058: br Label16
L_005d: Label2
L_005d: ldarg.0
L_005e: ldfld Verse.Pawn_HealthTracker health
L_0063: callvirt Boolean get_InPainShock()
L_0068: brfalse Label3
L_006d: ldarg.1
L_006e: brfalse Label4
L_0073: ldstr "PainShockShort"
L_0078: call Boolean CanTranslate(System.String)
L_007d: brfalse Label5
L_0082: ldstr "PainShockShort"
L_0087: call System.String Translate(System.String)
L_008c: br Label6
L_0091: Label4
L_0091: Label5
L_0091: ldstr "PainShock"
L_0096: call System.String Translate(System.String)
L_009b: Label6
L_009b: br Label17
L_00a0: Label3
L_00a0: ldarg.0
L_00a1: callvirt Boolean get_Downed()
L_00a6: brfalse Label7
L_00ab: ldstr "Incapacitated"
L_00b0: call System.String Translate(System.String)
L_00b5: br Label18
L_00ba: Label7
L_00ba: ldc.i4.0
L_00bb: stloc.0
L_00bc: ldc.i4.0
L_00bd: stloc.1
L_00be: br Label8
L_00c3: Label12
L_00c3: ldarg.0
L_00c4: ldfld Verse.Pawn_HealthTracker health
L_00c9: ldfld Verse.HediffSet hediffSet
L_00ce: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_00d3: ldloc.1
L_00d4: callvirt Verse.Hediff get_Item(Int32)
L_00d9: isinst Verse.Hediff_Injury
L_00de: stloc.2
L_00df: ldloc.2
L_00e0: brtrue Label9
L_00e5: br Label10
L_00ea: Label9
L_00ea: ldloc.2
L_00eb: call Boolean IsPermanent(Verse.Hediff)
L_00f0: brtrue Label11
L_00f5: ldc.i4.1
L_00f6: stloc.0
L_00f7: Label10
L_00f7: Label11
L_00f7: ldloc.1
L_00f8: ldc.i4.1
L_00f9: add
L_00fa: stloc.1
L_00fb: Label8
L_00fb: ldloc.1
L_00fc: ldarg.0
L_00fd: ldfld Verse.Pawn_HealthTracker health
L_0102: ldfld Verse.HediffSet hediffSet
L_0107: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_010c: callvirt Int32 get_Count()
L_0111: blt Label12
L_0116: ldloc.0
L_0117: brfalse Label13
L_011c: ldstr "Injured"
L_0121: call System.String Translate(System.String)
L_0126: br Label19
L_012b: Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_HealthTracker health
L_0131: ldfld Verse.HediffSet hediffSet
L_0136: callvirt Single get_PainTotal()
L_013b: ldc.r4 0.3
L_0140: ble.un Label14
L_0145: ldstr "InPain"
L_014a: call System.String Translate(System.String)
L_014f: br Label20
L_0154: Label14
L_0154: ldstr "Healthy"
L_0159: call System.String Translate(System.String)
L_015e: Label15
L_015e: Label16
L_015e: Label17
L_015e: Label18
L_015e: Label19
L_015e: Label20
L_015e: stloc 3 (System.String)
L_015f: Label0
L_015f: ldloc 3 (System.String)
L_0160: ret
DONE

### Patch Verse.MapPawns, Int32 get_FreeColonistsSpawnedCount()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldarg.0
L_0007: call IEnumerable`1 get_FreeColonistsSpawned()
L_000c: call Int32 Count[Pawn](IEnumerable`1)
L_0011: stloc 0 (System.Int32)
L_0012: ldarg.0
L_0013: ldloca 0 (System.Int32)
L_0015: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_001a: ldloc 0 (System.Int32)
L_001b: ret
DONE

### Patch Verse.MapPawns, Int32


get_FreeColonistsSpawnedOrInPlayerEjectablePodsCount()
L_0000: Local var 0: System.Int32
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.Building_CryptosleepCasket
L_0000: Local var 5: Verse.IThingHolder
L_0000: Local var 6: System.Int32
L_0000: Local var 7: Verse.Pawn
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldc.i4.0
L_0008: stloc.0
L_0009: ldc.i4.0
L_000a: stloc.1
L_000b: br Label1
L_0010: Label3
L_0010: ldarg.0
L_0011: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0016: ldloc.1
L_0017: callvirt Verse.Pawn get_Item(Int32)
L_001c: callvirt Boolean get_IsFreeColonist()
L_0021: brfalse Label2
L_0026: ldloc.0
L_0027: ldc.i4.1
L_0028: add
L_0029: stloc.0
L_002a: Label2
L_002a: ldloc.1
L_002b: ldc.i4.1
L_002c: add
L_002d: stloc.1
L_002e: Label1
L_002e: ldloc.1
L_002f: ldarg.0
L_0030: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0035: callvirt Int32 get_Count()
L_003a: blt Label3
L_003f: ldarg.0
L_0040: ldfld Verse.Map map
L_0045: ldfld Verse.ListerThings listerThings
L_004a: ldc.i4.s 30
L_004c: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsInGroup(ThingRequestGroup)
L_0051: stloc.2
L_0052: ldc.i4.0
L_0053: stloc.3
L_0054: br Label4
L_0059: Label15
L_0059: ldloc.2
L_005a: ldloc.3
L_005b: callvirt Verse.Thing get_Item(Int32)
L_0060: isinst RimWorld.Building_CryptosleepCasket
L_0065: stloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0067: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0069: brfalse Label5
L_006e: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0070: ldfld Verse.ThingDef def
L_0075: ldfld RimWorld.BuildingProperties building
L_007a: ldfld System.Boolean isPlayerEjectable
L_007f: brtrue Label6
L_0084: Label5
L_0084: ldloc.2
L_0085: ldloc.3
L_0086: callvirt Verse.Thing get_Item(Int32)
L_008b: isinst RimWorld.IActiveDropPod
L_0090: brtrue Label7
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: callvirt Verse.Thing get_Item(Int32)
L_009c: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00a1: brfalse Label8
L_00a6: Label6
L_00a6: Label7
L_00a6: ldloc.2
L_00a7: ldloc.3
L_00a8: callvirt Verse.Thing get_Item(Int32)
L_00ad: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00b2: dup
L_00b3: brtrue Label9
L_00b8: pop
L_00b9: ldloc.2
L_00ba: ldloc.3
L_00bb: callvirt Verse.Thing get_Item(Int32)
L_00c0: castclass Verse.IThingHolder
L_00c5: Label9
L_00c5: stloc.s 5 (Verse.IThingHolder)
L_00c7: ldarg.0
L_00c8: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00cd: callvirt Void Clear()
L_00d2: ldloc.s 5 (Verse.IThingHolder)
L_00d4: ldarg.0
L_00d5: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00da: ldc.i4.1
L_00db: ldnull
L_00dc: call Void GetAllThingsRecursively(IThingHolder,
System.Collections.Generic.List`1[Verse.Thing], Boolean,
System.Predicate`1[Verse.IThingHolder])
L_00e1: ldc.i4.0
L_00e2: stloc.s 6 (System.Int32)
L_00e4: br Label10
L_00e9: Label14
L_00e9: ldarg.0
L_00ea: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00ef: ldloc.s 6 (System.Int32)
L_00f1: callvirt Verse.Thing get_Item(Int32)
L_00f6: isinst Verse.Pawn
L_00fb: stloc.s 7 (Verse.Pawn)
L_00fd: ldloc.s 7 (Verse.Pawn)
L_00ff: brfalse Label11
L_0104: ldloc.s 7 (Verse.Pawn)
L_0106: callvirt Boolean get_Dead()
L_010b: brtrue Label12
L_0110: ldloc.s 7 (Verse.Pawn)
L_0112: callvirt Boolean get_IsFreeColonist()
L_0117: brfalse Label13
L_011c: ldloc.0
L_011d: ldc.i4.1
L_011e: add
L_011f: stloc.0
L_0120: Label11
L_0120: Label12
L_0120: Label13
L_0120: ldloc.s 6 (System.Int32)
L_0122: ldc.i4.1
L_0123: add
L_0124: stloc.s 6 (System.Int32)
L_0126: Label10
L_0126: ldloc.s 6 (System.Int32)
L_0128: ldarg.0
L_0129: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_012e: callvirt Int32 get_Count()
L_0133: blt Label14
L_0138: Label8
L_0138: ldloc.3
L_0139: ldc.i4.1
L_013a: add
L_013b: stloc.3
L_013c: Label4
L_013c: ldloc.3
L_013d: ldloc.2
L_013e: callvirt Int32 get_Count()
L_0143: blt Label15
L_0148: ldarg.0
L_0149: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_014e: callvirt Void Clear()
L_0153: ldloc.0
L_0154: stloc 8 (System.Int32)
L_0156: ldarg.0
L_0157: ldloca 8 (System.Int32)
L_0159: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_015e: ldloc 8 (System.Int32)
L_0160: ret
DONE

### Patch Verse.Pawn_HealthTracker, Boolean ShouldBeDowned()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean VehicleShouldBeDowned(Verse.Pawn_HealthTracker, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean get_InPainShock()
L_0019: brtrue Label1
L_001e: ldarg.0
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: callvirt Boolean get_CanBeAwake()
L_0029: brfalse Label2
L_002e: ldarg.0
L_002f: ldfld Verse.PawnCapacitiesHandler capacities
L_0034: ldsfld Verse.PawnCapacityDef Moving
L_0039: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_003e: ldc.i4.0
L_003f: ceq
L_0041: br Label3
L_0046: Label1
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: stloc 0 (System.Boolean)
L_0048: Label0
L_0048: ldloc 0 (System.Boolean)
L_0049: ret
DONE

### Patch Verse.PawnDownedWiggler, Void WigglerTick()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: call Boolean VehicleShouldWiggle(Verse.PawnDownedWiggler)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld Verse.Pawn pawn
L_0011: callvirt Boolean get_Downed()
L_0016: brfalse Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: callvirt Boolean get_Spawned()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: ldfld Verse.Pawn pawn
L_0031: call Boolean InBed(Verse.Pawn)
L_0036: brtrue Label3
L_003b: ldarg.0
L_003c: dup
L_003d: ldfld System.Int32 ticksToIncapIcon
L_0042: ldc.i4.1
L_0043: sub
L_0044: stfld System.Int32 ticksToIncapIcon
L_0049: ldarg.0
L_004a: ldfld System.Int32 ticksToIncapIcon
L_004f: ldc.i4.0
L_0050: bgt Label4
L_0055: ldarg.0
L_0056: ldfld Verse.Pawn pawn
L_005b: callvirt IntVec3 get_Position()
L_0060: ldarg.0
L_0061: ldfld Verse.Pawn pawn
L_0066: callvirt Verse.Map get_Map()
L_006b: ldsfld Verse.ThingDef Mote_IncapIcon
L_0070: call Verse.Mote ThrowMetaIcon(IntVec3, Verse.Map, Verse.ThingDef)
L_0075: pop
L_0076: ldarg.0
L_0077: ldc.i4 200
L_007c: stfld System.Int32 ticksToIncapIcon
L_0081: Label4
L_0081: ldarg.0
L_0082: ldfld Verse.Pawn pawn
L_0087: call Boolean Awake(Verse.Pawn)
L_008c: brfalse Label5
L_0091: call Verse.TickManager get_TickManager()
L_0096: callvirt Int32 get_TicksGame()
L_009b: ldc.i4 300
L_00a0: rem
L_00a1: ldc.i4.2
L_00a2: mul
L_00a3: stloc.0
L_00a4: ldloc.0
L_00a5: ldc.i4.s 90
L_00a7: bge Label6
L_00ac: ldarg.0
L_00ad: dup
L_00ae: ldfld System.Single downedAngle
L_00b3: ldc.r4 0.35
L_00b8: add
L_00b9: stfld System.Single downedAngle
L_00be: br Label7
L_00c3: Label6
L_00c3: ldloc.0
L_00c4: ldc.i4 390
L_00c9: bge Label8
L_00ce: ldloc.0
L_00cf: ldc.i4 300
L_00d4: blt Label9
L_00d9: ldarg.0
L_00da: dup
L_00db: ldfld System.Single downedAngle
L_00e0: ldc.r4 0.35
L_00e5: sub
L_00e6: stfld System.Single downedAngle
L_00eb: Label1
L_00eb: Label2
L_00eb: Label3
L_00eb: Label5
L_00eb: Label7
L_00eb: Label8
L_00eb: Label9
L_00eb: Label0
L_00eb: ret
DONE

### Patch Verse.VerbTracker, IEnumerable`1 GetVerbsCommands(KeyCode)


L_0000: Local var 0: Verse.VerbTracker+<GetVerbsCommands>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Command,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0002: ldarg.0
L_0003: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0005: ldarg 1
L_000b: call Boolean GetVerbsCommands_PreFix(Verse.VerbTracker, IEnumerable`1
ByRef, KeyCode)
L_0010: brfalse Label0
L_0015: newobj Void .ctor()
L_001a: stloc.0
L_001b: ldloc.0
L_001c: ldarg.0
L_001d: stfld Verse.VerbTracker $this
L_0022: ldloc.0
L_0023: dup
L_0024: ldc.i4.s -2
L_0026: stfld System.Int32 $PC
L_002b: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002c: Label0
L_002c: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002d: ret
DONE

### Patch RimWorld.PawnUtility, Boolean


IsTravelingInTransportPodWorldObject(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean IsWorldPawn(Verse.Pawn)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean AnyParentIs[ActiveDropPodInfo](Verse.Thing)
L_0017: br Label2
L_001c: Label1
L_001c: ldc.i4.0
L_001d: Label2
L_001d: stloc 0 (System.Boolean)
L_001e: ldloca 0 (System.Boolean)
L_0020: ldarg 0
L_0026: call Void PreventAssigningRandomFaction(Boolean ByRef, Verse.Pawn)
L_002b: ldloc 0 (System.Boolean)
L_002c: ret
DONE

### Patch RimWorld.SocialCardUtility, Void Recache(Verse.Pawn)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: Local var 5: System.Int32
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: RimWorld.SocialCardUtility+CachedSocialTabEntry
L_0000: Local var 9: System.Int32
L_0000: ldarg 0
L_0006: call Boolean SocialTabNullHandling(Verse.Pawn)
L_000b: brfalse Label0
L_0010: ldarg.0
L_0011: stsfld Verse.Pawn cachedForPawn
L_0016: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_001b: callvirt Void Clear()
L_0020: ldarg.0
L_0021: ldfld RimWorld.Pawn_RelationsTracker relations
L_0026: callvirt IEnumerable`1 get_RelatedPawns()
L_002b: callvirt IEnumerator`1 GetEnumerator()
L_0030: stloc.1
.try
{
L_0031: br Label1
L_0036: Label4
L_0036: ldloc.1
L_0037: callvirt Verse.Pawn get_Current()
L_003c: stloc.0
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_0044: brtrue Label2
L_0049: leave Label3
L_004e: Label2
L_004e: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0053: ldloc.0
L_0054: callvirt Boolean Add(Verse.Pawn)
L_0059: pop
L_005a: Label1
L_005a: Label3
L_005a: ldloc.1
L_005b: callvirt Boolean MoveNext()
L_0060: brtrue Label4
L_0065: leave Label5
L_006a: leave (autogenerated)
} // end try
.finally
{
L_006f: ldloc.1
L_0070: brfalse Label6
L_0075: ldloc.1
L_0076: callvirt Void Dispose()
L_007b: Label6
L_007b: endfinally
L_007c: leave (autogenerated)
} // end handler
L_007d: Label5
L_007d: ldnull
L_007e: stloc.2
L_007f: ldarg.0
L_0080: callvirt Verse.Map get_MapHeld()
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: callvirt Verse.Map get_MapHeld()
L_0090: ldfld Verse.MapPawns mapPawns
L_0095: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_009a: stloc.2
L_009b: br Label8
L_00a0: Label7
L_00a0: ldarg.0
L_00a1: call Boolean IsCaravanMember(Verse.Pawn)
L_00a6: brfalse Label9
L_00ab: ldarg.0
L_00ac: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_00b1: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_00b6: stloc.2
L_00b7: Label8
L_00b7: Label9
L_00b7: ldloc.2
L_00b8: brfalse Label10
L_00bd: ldc.i4.0
L_00be: stloc.3
L_00bf: br Label11
L_00c4: Label20
L_00c4: ldloc.2
L_00c5: ldloc.3
L_00c6: callvirt Verse.Pawn get_Item(Int32)
L_00cb: stloc.s 4 (Verse.Pawn)
L_00cd: ldloc.s 4 (Verse.Pawn)
L_00cf: callvirt Verse.RaceProperties get_RaceProps()
L_00d4: callvirt Boolean get_Humanlike()
L_00d9: brfalse Label12
L_00de: ldloc.s 4 (Verse.Pawn)
L_00e0: ldarg.0
L_00e1: beq Label13
L_00e6: ldloc.s 4 (Verse.Pawn)
L_00e8: ldarg.0
L_00e9: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_00ee: brfalse Label14
L_00f3: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_00f8: ldloc.s 4 (Verse.Pawn)
L_00fa: callvirt Boolean Contains(Verse.Pawn)
L_00ff: brfalse Label15
L_0104: Label12
L_0104: Label13
L_0104: Label14
L_0104: br Label16
L_0109: Label15
L_0109: ldarg.0
L_010a: ldfld RimWorld.Pawn_RelationsTracker relations
L_010f: ldloc.s 4 (Verse.Pawn)
L_0111: callvirt Int32 OpinionOf(Verse.Pawn)
L_0116: brtrue Label17
L_011b: ldloc.s 4 (Verse.Pawn)
L_011d: ldfld RimWorld.Pawn_RelationsTracker relations
L_0122: ldarg.0
L_0123: callvirt Int32 OpinionOf(Verse.Pawn)
L_0128: brtrue Label18
L_012d: br Label19
L_0132: Label17
L_0132: Label18
L_0132: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0137: ldloc.s 4 (Verse.Pawn)
L_0139: callvirt Boolean Add(Verse.Pawn)
L_013e: pop
L_013f: Label16
L_013f: Label19
L_013f: ldloc.3
L_0140: ldc.i4.1
L_0141: add
L_0142: stloc.3
L_0143: Label11
L_0143: ldloc.3
L_0144: ldloc.2
L_0145: callvirt Int32 get_Count()
L_014a: blt Label20
L_014f: Label10
L_014f: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0154: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0159: brtrue Label21
L_015e: ldnull
L_015f: ldftn Boolean
<Recache>m__0(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0165: newobj Void .ctor(Object, IntPtr)
L_016a: stsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_016f: Label21
L_016f: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0174: callvirt Int32
RemoveAll(System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry])
L_0179: pop
L_017a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_017f: callvirt Void Clear()
L_0184: ldc.i4.0
L_0185: stloc.s 5 (System.Int32)
L_0187: br Label22
L_018c: Label23
L_018c: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0191: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0196: ldloc.s 5 (System.Int32)
L_0198: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_019d: ldfld Verse.Pawn otherPawn
L_01a2: callvirt Boolean Add(Verse.Pawn)
L_01a7: pop
L_01a8: ldloc.s 5 (System.Int32)
L_01aa: ldc.i4.1
L_01ab: add
L_01ac: stloc.s 5 (System.Int32)
L_01ae: Label22
L_01ae: ldloc.s 5 (System.Int32)
L_01b0: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_01b5: callvirt Int32 get_Count()
L_01ba: blt Label23
L_01bf: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_01c4: callvirt Enumerator GetEnumerator()
L_01c9: stloc.s 7 (System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
.try
{
L_01cb: br Label24
L_01d0: Label27
L_01d0: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_01d2: call Verse.Pawn get_Current()
L_01d7: stloc.s 6 (Verse.Pawn)
L_01d9: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_01de: ldloc.s 6 (Verse.Pawn)
L_01e0: callvirt Boolean Contains(Verse.Pawn)
L_01e5: brfalse Label25
L_01ea: leave Label26
L_01ef: Label25
L_01ef: newobj Void .ctor()
L_01f4: stloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f6: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f8: ldloc.s 6 (Verse.Pawn)
L_01fa: stfld Verse.Pawn otherPawn
L_01ff: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0204: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0206: callvirt Void Add(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_020b: Label24
L_020b: Label26
L_020b: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_020d: call Boolean MoveNext()
L_0212: brtrue Label27
L_0217: leave Label28
L_021c: leave (autogenerated)
} // end try
.finally
{
L_0221: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_0223: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn]
L_0229: callvirt Void Dispose()
L_022e: endfinally
L_022f: leave (autogenerated)
} // end handler
L_0230: Label28
L_0230: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0235: callvirt Void Clear()
L_023a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_023f: callvirt Void Clear()
L_0244: ldc.i4.0
L_0245: stloc.s 9 (System.Int32)
L_0247: br Label29
L_024c: Label30
L_024c: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0251: ldloc.s 9 (System.Int32)
L_0253: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_0258: ldarg.0
L_0259: call Void RecacheEntry(RimWorld.SocialCardUtility+CachedSocialTabEntry,
Verse.Pawn)
L_025e: ldloc.s 9 (System.Int32)
L_0260: ldc.i4.1
L_0261: add
L_0262: stloc.s 9 (System.Int32)
L_0264: Label29
L_0264: ldloc.s 9 (System.Int32)
L_0266: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_026b: callvirt Int32 get_Count()
L_0270: blt Label30
L_0275: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_027a: ldsfld RimWorld.SocialCardUtility+CachedSocialTabEntryComparer
CachedEntriesComparer
L_027f: callvirt Void Sort(IComparer`1)
L_0284: Label0
L_0284: ret
DONE

### Patch Verse.Pawn, Boolean get_IsColonistPlayerControlled()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean get_Spawned()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean get_IsColonist()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: call Verse.MentalStateDef get_MentalStateDef()
L_0022: brtrue Label3
L_0027: ldarg.0
L_0028: call RimWorld.Faction get_HostFaction()
L_002d: ldnull
L_002e: ceq
L_0030: br Label4
L_0035: Label1
L_0035: Label2
L_0035: Label3
L_0035: ldc.i4.0
L_0036: Label4
L_0036: stloc 0 (System.Boolean)
L_0037: ldarg.0
L_0038: ldloca 0 (System.Boolean)
L_003a: call Void IncludeVehiclesInIsColonistPlayerControlled(Verse.Pawn, Boolean
ByRef)
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.Pawn, Boolean CurrentlyUsableForBills()


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InBed(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldsfld System.String NotSurgeryReadyTrans
L_0016: ldnull
L_0017: call Void Is(System.String, System.String)
L_001c: ldc.i4.0
L_001d: br Label3
L_0022: Label1
L_0022: ldarg.0
L_0023: callvirt IntVec3 get_InteractionCell()
L_0028: stloc.0
L_0029: ldloca.s 0 (Verse.IntVec3)
L_002b: call Boolean get_IsValid()
L_0030: brtrue Label2
L_0035: ldsfld System.String CannotReachTrans
L_003a: ldnull
L_003b: call Void Is(System.String, System.String)
L_0040: ldc.i4.0
L_0041: br Label4
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: Label4
L_0047: stloc 1 (System.Boolean)
L_0048: ldarg.0
L_0049: ldloca 1 (System.Boolean)
L_004b: call Void CantUseMovingVehicles(Verse.Pawn, Boolean ByRef)
L_0050: ldloc 1 (System.Boolean)
L_0051: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ret
DONE

### Patch Verse.Verb_Shoot, Boolean TryCastShot()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 1 (System.Boolean)
L_0009: call Boolean CanVehicleShoot(Verse.Verb_Shoot, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean TryCastShot()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: brfalse Label1
L_0020: ldarg.0
L_0021: call Boolean get_CasterIsPawn()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: call Verse.Pawn get_CasterPawn()
L_0031: ldfld RimWorld.Pawn_RecordsTracker records
L_0036: ldsfld RimWorld.RecordDef ShotsFired
L_003b: callvirt Void Increment(RimWorld.RecordDef)
L_0040: Label1
L_0040: Label2
L_0040: ldloc.0
L_0041: stloc 1 (System.Boolean)
L_0042: Label0
L_0042: ldloc 1 (System.Boolean)
L_0043: ret
DONE

### Patch RimWorld.GameEnder, Boolean


IsPlayerControlledWithFreeColonist(RimWorld.Planet.Caravan)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsPlayerControlled()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label6
L_0017: Label1
L_0017: ldarg.1
L_0018: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_001d: stloc.0
L_001e: ldc.i4.0
L_001f: stloc.1
L_0020: br Label2
L_0025: Label5
L_0025: ldloc.0
L_0026: ldloc.1
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stloc.2
L_002d: ldloc.2
L_002e: callvirt Boolean get_IsColonist()
L_0033: brfalse Label3
L_0038: ldloc.2
L_0039: callvirt RimWorld.Faction get_HostFaction()
L_003e: brtrue Label4
L_0043: ldc.i4.1
L_0044: br Label7
L_0049: Label3
L_0049: Label4
L_0049: ldloc.1
L_004a: ldc.i4.1
L_004b: add
L_004c: stloc.1
L_004d: Label2
L_004d: ldloc.1
L_004e: ldloc.0
L_004f: callvirt Int32 get_Count()
L_0054: blt Label5
L_0059: ldc.i4.0
L_005a: Label6
L_005a: Label7
L_005a: stloc 3 (System.Boolean)
L_005b: ldarg 1
L_0061: ldloca 3 (System.Boolean)
L_0063: call Void CanEndGame(RimWorld.Planet.Caravan, Boolean ByRef)
L_0068: ldloc 3 (System.Boolean)
L_0069: ret
DONE

### Patch RimWorld.RestUtility, RimWorld.Building_Bed FindBedFor(Verse.Pawn,


Verse.Pawn, Boolean, Boolean, Boolean)
L_0000: Local var 0: RimWorld.RestUtility+<FindBedFor>c__AnonStorey0
L_0000: Local var 1: RimWorld.Building_Bed
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: Verse.Pawn
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.ThingDef
L_0000: Local var 9: System.Int32
L_0000: Local var 10: RimWorld.RestUtility+<FindBedFor>c__AnonStorey1
L_0000: Local var 11: RimWorld.Building_Bed
L_0000: Local var 12: RimWorld.DirectPawnRelation
L_0000: Local var 13: RimWorld.Building_Bed
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.RestUtility+<FindBedFor>c__AnonStorey2
L_0000: Local var 16: System.Int32
L_0000: Local var 17: Verse.ThingDef
L_0000: Local var 18: RimWorld.Building_Bed
L_0000: Local var 19: RimWorld.Building_Bed
L_0000: ldnull
L_0001: stloc 19 (RimWorld.Building_Bed)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: stfld Verse.Pawn sleeper
L_0010: ldloc.0
L_0011: ldarg.1
L_0012: stfld Verse.Pawn traveler
L_0017: ldloc.0
L_0018: ldarg.2
L_0019: stfld System.Boolean sleeperWillBePrisoner
L_001e: ldloc.0
L_001f: ldarg.3
L_0020: stfld System.Boolean checkSocialProperness
L_0025: ldloc.0
L_0026: ldarg.s 4
L_0028: stfld System.Boolean ignoreOtherReservations
L_002d: ldloc.0
L_002e: ldfld Verse.Pawn sleeper
L_0033: call Boolean ShouldSeekMedicalRest(Verse.Pawn)
L_0038: brfalse Label1
L_003d: ldloc.0
L_003e: ldfld Verse.Pawn sleeper
L_0043: call Boolean InBed(Verse.Pawn)
L_0048: brfalse Label2
L_004d: ldloc.0
L_004e: ldfld Verse.Pawn sleeper
L_0053: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_0058: callvirt Boolean get_Medical()
L_005d: brfalse Label3
L_0062: ldloc.0
L_0063: ldfld Verse.Pawn sleeper
L_0068: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006d: stloc.1
L_006e: ldloc.0
L_006f: ldfld Verse.Pawn sleeper
L_0074: stloc.2
L_0075: ldloc.0
L_0076: ldfld Verse.Pawn traveler
L_007b: stloc.3
L_007c: ldloc.0
L_007d: ldfld System.Boolean sleeperWillBePrisoner
L_0082: stloc.s 4 (System.Boolean)
L_0084: ldloc.0
L_0085: ldfld System.Boolean checkSocialProperness
L_008a: stloc.s 5 (System.Boolean)
L_008c: ldloc.0
L_008d: ldfld System.Boolean ignoreOtherReservations
L_0092: stloc.s 6 (System.Boolean)
L_0094: ldloc.1
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: ldloc.s 4 (System.Boolean)
L_0099: ldloc.s 5 (System.Boolean)
L_009b: ldc.i4.0
L_009c: ldloc.s 6 (System.Boolean)
L_009e: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_00a3: brfalse Label4
L_00a8: ldloc.0
L_00a9: ldfld Verse.Pawn sleeper
L_00ae: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_00b3: br Label29
L_00b8: Label2
L_00b8: Label3
L_00b8: Label4
L_00b8: ldc.i4.0
L_00b9: stloc.s 7 (System.Int32)
L_00bb: br Label5
L_00c0: Label13
L_00c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_00c5: ldloc.s 7 (System.Int32)
L_00c7: callvirt Verse.ThingDef get_Item(Int32)
L_00cc: stloc.s 8 (Verse.ThingDef)
L_00ce: ldloc.0
L_00cf: ldfld Verse.Pawn sleeper
L_00d4: ldloc.s 8 (Verse.ThingDef)
L_00d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_00db: brtrue Label6
L_00e0: br Label7
L_00e5: Label6
L_00e5: ldc.i4.0
L_00e6: stloc.s 9 (System.Int32)
L_00e8: br Label8
L_00ed: Label12
L_00ed: newobj Void .ctor()
L_00f2: stloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f4: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f6: ldloc.0
L_00f7: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_00fc: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00fe: ldloc.s 9 (System.Int32)
L_0100: brtrue Label9
L_0105: ldc.i4.1
L_0106: br Label10
L_010b: Label9
L_010b: ldc.i4.3
L_010c: Label10
L_010c: stfld Verse.Danger maxDanger
L_0111: ldloc.0
L_0112: ldfld Verse.Pawn sleeper
L_0117: callvirt IntVec3 get_Position()
L_011c: ldloc.0
L_011d: ldfld Verse.Pawn sleeper
L_0122: callvirt Verse.Map get_Map()
L_0127: ldloc.s 8 (Verse.ThingDef)
L_0129: call ThingRequest ForDef(Verse.ThingDef)
L_012e: ldc.i4.1
L_012f: ldloc.0
L_0130: ldfld Verse.Pawn traveler
L_0135: ldc.i4.3
L_0136: ldc.i4.0
L_0137: ldc.i4.0
L_0138: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_013d: ldc.r4 9999
L_0142: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_0144: ldftn Boolean <>m__0(Verse.Thing)
L_014a: newobj Void .ctor(Object, IntPtr)
L_014f: ldnull
L_0150: ldc.i4.0
L_0151: ldc.i4.m1
L_0152: ldc.i4.0
L_0153: ldc.i4.6
L_0154: ldc.i4.0
L_0155: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_015a: castclass RimWorld.Building_Bed
L_015f: stloc.s 11 (RimWorld.Building_Bed)
L_0161: ldloc.s 11 (RimWorld.Building_Bed)
L_0163: brfalse Label11
L_0168: ldloc.s 11 (RimWorld.Building_Bed)
L_016a: br Label30
L_016f: Label11
L_016f: ldloc.s 9 (System.Int32)
L_0171: ldc.i4.1
L_0172: add
L_0173: stloc.s 9 (System.Int32)
L_0175: Label8
L_0175: ldloc.s 9 (System.Int32)
L_0177: ldc.i4.2
L_0178: blt Label12
L_017d: Label7
L_017d: ldloc.s 7 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 7 (System.Int32)
L_0183: Label5
L_0183: ldloc.s 7 (System.Int32)
L_0185: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_018a: callvirt Int32 get_Count()
L_018f: blt Label13
L_0194: Label1
L_0194: ldloc.0
L_0195: ldfld Verse.Pawn sleeper
L_019a: ldfld RimWorld.Pawn_Ownership ownership
L_019f: brfalse Label14
L_01a4: ldloc.0
L_01a5: ldfld Verse.Pawn sleeper
L_01aa: ldfld RimWorld.Pawn_Ownership ownership
L_01af: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01b4: brfalse Label15
L_01b9: ldloc.0
L_01ba: ldfld Verse.Pawn sleeper
L_01bf: ldfld RimWorld.Pawn_Ownership ownership
L_01c4: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01c9: stloc.1
L_01ca: ldloc.0
L_01cb: ldfld Verse.Pawn sleeper
L_01d0: stloc.3
L_01d1: ldloc.0
L_01d2: ldfld Verse.Pawn traveler
L_01d7: stloc.2
L_01d8: ldloc.0
L_01d9: ldfld System.Boolean sleeperWillBePrisoner
L_01de: stloc.s 6 (System.Boolean)
L_01e0: ldloc.0
L_01e1: ldfld System.Boolean checkSocialProperness
L_01e6: stloc.s 5 (System.Boolean)
L_01e8: ldloc.0
L_01e9: ldfld System.Boolean ignoreOtherReservations
L_01ee: stloc.s 4 (System.Boolean)
L_01f0: ldloc.1
L_01f1: ldloc.3
L_01f2: ldloc.2
L_01f3: ldloc.s 6 (System.Boolean)
L_01f5: ldloc.s 5 (System.Boolean)
L_01f7: ldc.i4.0
L_01f8: ldloc.s 4 (System.Boolean)
L_01fa: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_01ff: brfalse Label16
L_0204: ldloc.0
L_0205: ldfld Verse.Pawn sleeper
L_020a: ldfld RimWorld.Pawn_Ownership ownership
L_020f: callvirt RimWorld.Building_Bed get_OwnedBed()
L_0214: br Label31
L_0219: Label14
L_0219: Label15
L_0219: Label16
L_0219: ldloc.0
L_021a: ldfld Verse.Pawn sleeper
L_021f: ldc.i4.0
L_0220: call RimWorld.DirectPawnRelation
ExistingMostLikedLovePartnerRel(Verse.Pawn, Boolean)
L_0225: stloc.s 12 (RimWorld.DirectPawnRelation)
L_0227: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0229: brfalse Label17
L_022e: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0230: ldfld Verse.Pawn otherPawn
L_0235: ldfld RimWorld.Pawn_Ownership ownership
L_023a: callvirt RimWorld.Building_Bed get_OwnedBed()
L_023f: stloc.s 13 (RimWorld.Building_Bed)
L_0241: ldloc.s 13 (RimWorld.Building_Bed)
L_0243: brfalse Label18
L_0248: ldloc.s 13 (RimWorld.Building_Bed)
L_024a: stloc.1
L_024b: ldloc.0
L_024c: ldfld Verse.Pawn sleeper
L_0251: stloc.2
L_0252: ldloc.0
L_0253: ldfld Verse.Pawn traveler
L_0258: stloc.3
L_0259: ldloc.0
L_025a: ldfld System.Boolean sleeperWillBePrisoner
L_025f: stloc.s 4 (System.Boolean)
L_0261: ldloc.0
L_0262: ldfld System.Boolean checkSocialProperness
L_0267: stloc.s 5 (System.Boolean)
L_0269: ldloc.0
L_026a: ldfld System.Boolean ignoreOtherReservations
L_026f: stloc.s 6 (System.Boolean)
L_0271: ldloc.1
L_0272: ldloc.2
L_0273: ldloc.3
L_0274: ldloc.s 4 (System.Boolean)
L_0276: ldloc.s 5 (System.Boolean)
L_0278: ldc.i4.0
L_0279: ldloc.s 6 (System.Boolean)
L_027b: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_0280: brfalse Label19
L_0285: ldloc.s 13 (RimWorld.Building_Bed)
L_0287: br Label32
L_028c: Label17
L_028c: Label18
L_028c: Label19
L_028c: ldc.i4.0
L_028d: stloc.s 14 (System.Int32)
L_028f: br Label20
L_0294: Label28
L_0294: newobj Void .ctor()
L_0299: stloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029b: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029d: ldloc.0
L_029e: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_02a3: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_02a5: ldloc.s 14 (System.Int32)
L_02a7: brtrue Label21
L_02ac: ldc.i4.1
L_02ad: br Label22
L_02b2: Label21
L_02b2: ldc.i4.3
L_02b3: Label22
L_02b3: stfld Verse.Danger maxDanger
L_02b8: ldc.i4.0
L_02b9: stloc.s 16 (System.Int32)
L_02bb: br Label23
L_02c0: Label27
L_02c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_02c5: ldloc.s 16 (System.Int32)
L_02c7: callvirt Verse.ThingDef get_Item(Int32)
L_02cc: stloc.s 17 (Verse.ThingDef)
L_02ce: ldloc.0
L_02cf: ldfld Verse.Pawn sleeper
L_02d4: ldloc.s 17 (Verse.ThingDef)
L_02d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_02db: brtrue Label24
L_02e0: br Label25
L_02e5: Label24
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn sleeper
L_02eb: callvirt IntVec3 get_Position()
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn sleeper
L_02f6: callvirt Verse.Map get_Map()
L_02fb: ldloc.s 17 (Verse.ThingDef)
L_02fd: call ThingRequest ForDef(Verse.ThingDef)
L_0302: ldc.i4.1
L_0303: ldloc.0
L_0304: ldfld Verse.Pawn traveler
L_0309: ldc.i4.3
L_030a: ldc.i4.0
L_030b: ldc.i4.0
L_030c: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0311: ldc.r4 9999
L_0316: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_0318: ldftn Boolean <>m__0(Verse.Thing)
L_031e: newobj Void .ctor(Object, IntPtr)
L_0323: ldnull
L_0324: ldc.i4.0
L_0325: ldc.i4.m1
L_0326: ldc.i4.0
L_0327: ldc.i4.6
L_0328: ldc.i4.0
L_0329: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_032e: castclass RimWorld.Building_Bed
L_0333: stloc.s 18 (RimWorld.Building_Bed)
L_0335: ldloc.s 18 (RimWorld.Building_Bed)
L_0337: brfalse Label26
L_033c: ldloc.s 18 (RimWorld.Building_Bed)
L_033e: br Label33
L_0343: Label25
L_0343: Label26
L_0343: ldloc.s 16 (System.Int32)
L_0345: ldc.i4.1
L_0346: add
L_0347: stloc.s 16 (System.Int32)
L_0349: Label23
L_0349: ldloc.s 16 (System.Int32)
L_034b: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_0350: callvirt Int32 get_Count()
L_0355: blt Label27
L_035a: ldloc.s 14 (System.Int32)
L_035c: ldc.i4.1
L_035d: add
L_035e: stloc.s 14 (System.Int32)
L_0360: Label20
L_0360: ldloc.s 14 (System.Int32)
L_0362: ldc.i4.2
L_0363: blt Label28
L_0368: ldnull
L_0369: Label29
L_0369: Label30
L_0369: Label31
L_0369: Label32
L_0369: Label33
L_0369: stloc 19 (RimWorld.Building_Bed)
L_036b: ldloca 19 (RimWorld.Building_Bed)
L_036d: ldarg 0
L_0373: call Void DontRescueVehicles(RimWorld.Building_Bed ByRef, Verse.Pawn)
L_0378: ldloc 19 (RimWorld.Building_Bed)
L_037a: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ret
DONE

### Patch RimWorld.BaseGen.SymbolResolver_RandomMechanoidGroup, Boolean


<Resolve>m__0(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: stloc 0 (System.Boolean)
L_0012: ldloca 0 (System.Boolean)
L_0014: ldarg 0
L_001a: call Void MechanoidsFixerAncient(Boolean ByRef, Verse.PawnKindDef)
L_001f: ldloc 0 (System.Boolean)
L_0020: ret
DONE

### Patch RimWorld.CompSpawnerMechanoidsOnDamaged, Boolean


<TrySpawnMechanoids>m__1(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: brfalse Label1
L_0016: ldarg.1
L_0017: ldfld System.Boolean isFighter
L_001c: brfalse Label2
L_0021: ldarg.1
L_0022: ldfld System.Single combatPower
L_0027: ldarg.0
L_0028: ldfld System.Single pointsLeft
L_002d: cgt.un
L_002f: ldc.i4.0
L_0030: ceq
L_0032: br Label3
L_0037: Label1
L_0037: Label2
L_0037: ldc.i4.0
L_0038: Label3
L_0038: stloc 0 (System.Boolean)
L_0039: ldloca 0 (System.Boolean)
L_003b: ldarg 1
L_0041: call Void MechanoidsFixer(Boolean ByRef, Verse.PawnKindDef)
L_0046: ldloc 0 (System.Boolean)
L_0047: ret
DONE

### Patch RimWorld.ThinkNode_ConditionalColonist, Boolean Satisfied(Verse.Pawn)


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsColonist()
L_000c: stloc 0 (System.Boolean)
L_000d: ldarg 1
L_0013: ldloca 0 (System.Boolean)
L_0015: call Void Satisfied_PostFix(Verse.Pawn, Boolean ByRef)
L_001a: ldloc 0 (System.Boolean)
L_001b: ret
DONE

### Patch RimWorld.JobGiver_Haul, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: RimWorld.JobGiver_Haul+<TryGiveJob>c__AnonStorey0
L_0000: Local var 1: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldarg 1
L_0008: ldloca 3 (Verse.AI.Job)
L_000a: call Boolean TryGiveJob_PreFix(Verse.Pawn, Verse.AI.Job ByRef)
L_000f: brfalse Label0
L_0014: newobj Void .ctor()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: ldarg.1
L_001c: stfld Verse.Pawn pawn
L_0021: ldloc.0
L_0022: ldftn Boolean <>m__0(Verse.Thing)
L_0028: newobj Void .ctor(Object, IntPtr)
L_002d: stloc.1
L_002e: ldloc.0
L_002f: ldfld Verse.Pawn pawn
L_0034: callvirt IntVec3 get_Position()
L_0039: ldloc.0
L_003a: ldfld Verse.Pawn pawn
L_003f: callvirt Verse.Map get_Map()
L_0044: ldloc.0
L_0045: ldfld Verse.Pawn pawn
L_004a: callvirt Verse.Map get_Map()
L_004f: ldfld RimWorld.ListerHaulables listerHaulables
L_0054: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsPotentiallyNeedingHauling()
L_0059: ldc.i4.1
L_005a: ldloc.0
L_005b: ldfld Verse.Pawn pawn
L_0060: ldc.i4.3
L_0061: ldc.i4.0
L_0062: ldc.i4.0
L_0063: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0068: ldc.r4 9999
L_006d: ldloc.1
L_006e: ldnull
L_006f: call Verse.Thing ClosestThing_Global_Reachable(IntVec3, Verse.Map,
IEnumerable`1, PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing],
System.Func`2[Verse.Thing,System.Single])
L_0074: stloc.2
L_0075: ldloc.2
L_0076: brfalse Label1
L_007b: ldloc.0
L_007c: ldfld Verse.Pawn pawn
L_0081: ldloc.2
L_0082: call Verse.AI.Job HaulToStorageJob(Verse.Pawn, Verse.Thing)
L_0087: br Label2
L_008c: Label1
L_008c: ldnull
L_008d: Label2
L_008d: stloc 3 (Verse.AI.Job)
L_008e: Label0
L_008e: ldloc 3 (Verse.AI.Job)
L_008f: ret
DONE

### Patch Verse.AI.JobGiver_Orders, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 0 (Verse.AI.Job)
L_0002: ldarg.1
L_0003: callvirt Boolean get_Drafted()
L_0008: brfalse Label1
L_000d: ldsfld Verse.JobDef Wait_Combat
L_0012: ldarg.1
L_0013: callvirt IntVec3 get_Position()
L_0018: call LocalTargetInfo op_Implicit(IntVec3)
L_001d: newobj Void .ctor(JobDef, LocalTargetInfo)
L_0022: br Label2
L_0027: Label1
L_0027: ldnull
L_0028: Label2
L_0028: stloc 0 (Verse.AI.Job)
L_0029: ldloca 0 (Verse.AI.Job)
L_002b: ldarg 1
L_0031: call Void PreventWaitAttackError(Verse.AI.Job ByRef, Verse.Pawn)
L_0036: ldloc 0 (Verse.AI.Job)
L_0037: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemDuties(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldc.i4.0
L_000c: stloc.0
L_000d: br Label1
L_0012: Label6
L_0012: ldarg.0
L_0013: ldfld Verse.AI.Group.Lord lord
L_0018: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_001d: ldloc.0
L_001e: callvirt Verse.Pawn get_Item(Int32)
L_0023: stloc.1
L_0024: ldloc.1
L_0025: callvirt Boolean get_IsColonist()
L_002a: brfalse Label2
L_002f: ldloc.1
L_0030: ldfld Verse.AI.Pawn_MindState mindState
L_0035: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherItems
L_003a: newobj Void .ctor(DutyDef)
L_003f: stfld Verse.AI.PawnDuty duty
L_0044: br Label3
L_0049: Label2
L_0049: ldloc.1
L_004a: callvirt Verse.RaceProperties get_RaceProps()
L_004f: callvirt Boolean get_Animal()
L_0054: brfalse Label4
L_0059: ldloc.1
L_005a: ldfld Verse.AI.Pawn_MindState mindState
L_005f: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0064: ldarg.0
L_0065: ldfld Verse.IntVec3 meetingPoint
L_006a: call LocalTargetInfo op_Implicit(IntVec3)
L_006f: ldc.r4 -1
L_0074: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_0079: stfld Verse.AI.PawnDuty duty
L_007e: br Label5
L_0083: Label4
L_0083: ldloc.1
L_0084: ldfld Verse.AI.Pawn_MindState mindState
L_0089: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_008e: newobj Void .ctor(DutyDef)
L_0093: stfld Verse.AI.PawnDuty duty
L_0098: Label3
L_0098: Label5
L_0098: ldloc.0
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.0
L_009c: Label1
L_009c: ldloc.0
L_009d: ldarg.0
L_009e: ldfld Verse.AI.Group.Lord lord
L_00a3: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_00a8: callvirt Int32 get_Count()
L_00ad: blt Label6
L_00b2: Label0
L_00b2: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherAnimals, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadAnimalDuties(RimWorld.LordToil_PrepareCaravan_GatherAnimals)
L_0006: ldc.i4.0
L_0007: stloc.0
L_0008: br Label1
L_000d: Label5
L_000d: ldarg.0
L_000e: ldfld Verse.AI.Group.Lord lord
L_0013: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0018: ldloc.0
L_0019: callvirt Verse.Pawn get_Item(Int32)
L_001e: stloc.1
L_001f: ldloc.1
L_0020: callvirt Boolean get_IsColonist()
L_0025: brtrue Label2
L_002a: ldloc.1
L_002b: callvirt Verse.RaceProperties get_RaceProps()
L_0030: callvirt Boolean get_Animal()
L_0035: brfalse Label3
L_003a: Label2
L_003a: ldloc.1
L_003b: ldfld Verse.AI.Pawn_MindState mindState
L_0040: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherPawns
L_0045: ldarg.0
L_0046: ldfld Verse.IntVec3 meetingPoint
L_004b: call LocalTargetInfo op_Implicit(IntVec3)
L_0050: ldc.r4 -1
L_0055: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_005a: stfld Verse.AI.PawnDuty duty
L_005f: ldloc.1
L_0060: ldfld Verse.AI.Pawn_MindState mindState
L_0065: ldfld Verse.AI.PawnDuty duty
L_006a: ldc.i4.1
L_006b: stfld RimWorld.PawnsToGather pawnsToGather
L_0070: br Label4
L_0075: Label3
L_0075: ldloc.1
L_0076: ldfld Verse.AI.Pawn_MindState mindState
L_007b: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0080: newobj Void .ctor(DutyDef)
L_0085: stfld Verse.AI.PawnDuty duty
L_008a: Label4
L_008a: ldloc.0
L_008b: ldc.i4.1
L_008c: add
L_008d: stloc.0
L_008e: Label1
L_008e: ldloc.0
L_008f: ldarg.0
L_0090: ldfld Verse.AI.Group.Lord lord
L_0095: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_009a: callvirt Int32 get_Count()
L_009f: blt Label5
L_00a4: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherSlaves, Void LordToilTick()


L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadSlaveDuties(RimWorld.LordToil_PrepareCaravan_GatherSlaves)
L_0006: call Verse.TickManager get_TickManager()
L_000b: callvirt Int32 get_TicksGame()
L_0010: ldc.i4.s 100
L_0012: rem
L_0013: brtrue Label1
L_0018: ldarg.0
L_0019: ldfld Verse.AI.Group.Lord lord
L_001e: ldarg.0
L_001f: ldfld Verse.IntVec3 meetingPoint
L_0024: ldstr "AllSlavesGathered"
L_0029: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_002e: brtrue Label2
L_0033: ldnull
L_0034: ldftn Boolean <LordToilTick>m__0(Verse.Pawn)
L_003a: newobj Void .ctor(Object, IntPtr)
L_003f: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0044: Label2
L_0044: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0049: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_004e: brtrue Label3
L_0053: ldnull
L_0054: ldftn Boolean IsFollowingAnyone(Verse.Pawn)
L_005a: newobj Void .ctor(Object, IntPtr)
L_005f: stsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0064: Label3
L_0064: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0069: call Void CheckArrived(Verse.AI.Group.Lord, IntVec3, System.String,
System.Predicate`1[Verse.Pawn], System.Predicate`1[Verse.Pawn])
L_006e: Label1
L_006e: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void LordToilTick()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemToil(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void LordToilTick()
L_0011: call Verse.TickManager get_TickManager()
L_0016: callvirt Int32 get_TicksGame()
L_001b: ldc.i4.s 120
L_001d: rem
L_001e: brtrue Label1
L_0023: ldc.i4.1
L_0024: stloc.0
L_0025: ldc.i4.0
L_0026: stloc.1
L_0027: br Label2
L_002c: Label6
L_002c: ldarg.0
L_002d: ldfld Verse.AI.Group.Lord lord
L_0032: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0037: ldloc.1
L_0038: callvirt Verse.Pawn get_Item(Int32)
L_003d: stloc.2
L_003e: ldloc.2
L_003f: callvirt Boolean get_IsColonist()
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldfld Verse.AI.Pawn_MindState mindState
L_004f: ldfld Verse.AI.JobTag lastJobTag
L_0054: ldc.i4.8
L_0055: beq Label4
L_005a: ldc.i4.0
L_005b: stloc.0
L_005c: br Label5
L_0061: Label3
L_0061: Label4
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label2
L_0065: ldloc.1
L_0066: ldarg.0
L_0067: ldfld Verse.AI.Group.Lord lord
L_006c: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0071: callvirt Int32 get_Count()
L_0076: blt Label6
L_007b: Label5
L_007b: ldloc.0
L_007c: brfalse Label7
L_0081: ldarg.0
L_0082: call Verse.Map get_Map()
L_0087: ldfld Verse.MapPawns mapPawns
L_008c: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_0091: stloc.3
L_0092: ldc.i4.0
L_0093: stloc.s 4 (System.Int32)
L_0095: br Label8
L_009a: Label13
L_009a: ldloc.3
L_009b: ldloc.s 4 (System.Int32)
L_009d: callvirt Verse.Pawn get_Item(Int32)
L_00a2: callvirt Verse.AI.Job get_CurJob()
L_00a7: brfalse Label9
L_00ac: ldloc.3
L_00ad: ldloc.s 4 (System.Int32)
L_00af: callvirt Verse.Pawn get_Item(Int32)
L_00b4: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b9: ldfld Verse.AI.JobDriver curDriver
L_00be: isinst RimWorld.JobDriver_PrepareCaravan_GatherItems
L_00c3: brfalse Label10
L_00c8: ldloc.3
L_00c9: ldloc.s 4 (System.Int32)
L_00cb: callvirt Verse.Pawn get_Item(Int32)
L_00d0: callvirt Verse.AI.Job get_CurJob()
L_00d5: ldfld Verse.AI.Group.Lord lord
L_00da: ldarg.0
L_00db: ldfld Verse.AI.Group.Lord lord
L_00e0: bne.un Label11
L_00e5: ldc.i4.0
L_00e6: stloc.0
L_00e7: br Label12
L_00ec: Label9
L_00ec: Label10
L_00ec: Label11
L_00ec: ldloc.s 4 (System.Int32)
L_00ee: ldc.i4.1
L_00ef: add
L_00f0: stloc.s 4 (System.Int32)
L_00f2: Label8
L_00f2: ldloc.s 4 (System.Int32)
L_00f4: ldloc.3
L_00f5: callvirt Int32 get_Count()
L_00fa: blt Label13
L_00ff: Label7
L_00ff: Label12
L_00ff: ldloc.0
L_0100: brfalse Label14
L_0105: ldarg.0
L_0106: ldfld Verse.AI.Group.Lord lord
L_010b: ldstr "AllItemsGathered"
L_0110: callvirt Void ReceiveMemo(System.String)
L_0115: Label1
L_0115: Label14
L_0115: Label0
L_0115: ret
DONE

### Patch RimWorld.Planet.Caravan_NeedsTracker, Void


TrySatisfyPawnNeeds(Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Need, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Need
L_0000: Local var 3: RimWorld.Need_Rest
L_0000: Local var 4: RimWorld.Need_Food
L_0000: Local var 5: RimWorld.Need_Chemical
L_0000: Local var 6: RimWorld.Need_Joy
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean TrySatisfyFuelNeeds(RimWorld.Planet.Caravan_NeedsTracker,
Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: callvirt Boolean get_Dead()
L_0017: brfalse Label1
L_001c: br Label11
L_0021: Label1
L_0021: ldarg.1
L_0022: ldfld RimWorld.Pawn_NeedsTracker needs
L_0027: callvirt System.Collections.Generic.List`1[RimWorld.Need] get_AllNeeds()
L_002c: stloc.0
L_002d: ldc.i4.0
L_002e: stloc.1
L_002f: br Label2
L_0034: Label10
L_0034: ldloc.0
L_0035: ldloc.1
L_0036: callvirt RimWorld.Need get_Item(Int32)
L_003b: stloc.2
L_003c: ldloc.2
L_003d: isinst RimWorld.Need_Rest
L_0042: stloc.3
L_0043: ldloc.2
L_0044: isinst RimWorld.Need_Food
L_0049: stloc.s 4 (RimWorld.Need_Food)
L_004b: ldloc.2
L_004c: isinst RimWorld.Need_Chemical
L_0051: stloc.s 5 (RimWorld.Need_Chemical)
L_0053: ldloc.2
L_0054: isinst RimWorld.Need_Joy
L_0059: stloc.s 6 (RimWorld.Need_Joy)
L_005b: ldloc.3
L_005c: brfalse Label3
L_0061: ldarg.0
L_0062: ldarg.1
L_0063: ldloc.3
L_0064: call Void TrySatisfyRestNeed(Verse.Pawn, RimWorld.Need_Rest)
L_0069: br Label4
L_006e: Label3
L_006e: ldloc.s 4 (RimWorld.Need_Food)
L_0070: brfalse Label5
L_0075: ldarg.0
L_0076: ldarg.1
L_0077: ldloc.s 4 (RimWorld.Need_Food)
L_0079: call Void TrySatisfyFoodNeed(Verse.Pawn, RimWorld.Need_Food)
L_007e: br Label6
L_0083: Label5
L_0083: ldloc.s 5 (RimWorld.Need_Chemical)
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: ldarg.1
L_008c: ldloc.s 5 (RimWorld.Need_Chemical)
L_008e: call Void TrySatisfyChemicalNeed(Verse.Pawn, RimWorld.Need_Chemical)
L_0093: br Label8
L_0098: Label7
L_0098: ldloc.s 6 (RimWorld.Need_Joy)
L_009a: brfalse Label9
L_009f: ldarg.0
L_00a0: ldarg.1
L_00a1: ldloc.s 6 (RimWorld.Need_Joy)
L_00a3: call Void TrySatisfyJoyNeed(Verse.Pawn, RimWorld.Need_Joy)
L_00a8: Label4
L_00a8: Label6
L_00a8: Label8
L_00a8: Label9
L_00a8: ldloc.1
L_00a9: ldc.i4.1
L_00aa: add
L_00ab: stloc.1
L_00ac: Label2
L_00ac: ldloc.1
L_00ad: ldloc.0
L_00ae: callvirt Int32 get_Count()
L_00b3: blt Label10
L_00b8: Label11
L_00b8: Label0
L_00b8: ret
DONE

### Patch RimWorld.JobGiver_PrepareCaravan_GatherItems, Verse.AI.Job


TryGiveJob(Verse.Pawn)
L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: Verse.AI.Job
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldloca 3 (Verse.AI.Job)
L_0004: ldarg 1
L_000a: call Boolean TryGiveItemJob_PreFix(Verse.AI.Job ByRef, Verse.Pawn)
L_000f: brfalse Label0
L_0014: ldarg.1
L_0015: ldfld Verse.Pawn_HealthTracker health
L_001a: ldfld Verse.PawnCapacitiesHandler capacities
L_001f: ldsfld Verse.PawnCapacityDef Manipulation
L_0024: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0029: brtrue Label1
L_002e: ldnull
L_002f: br Label3
L_0034: Label1
L_0034: ldarg.1
L_0035: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_003a: stloc.0
L_003b: ldarg.1
L_003c: ldloc.0
L_003d: call Verse.Thing FindThingToHaul(Verse.Pawn, Verse.AI.Group.Lord)
L_0042: stloc.1
L_0043: ldloc.1
L_0044: brtrue Label2
L_0049: ldnull
L_004a: br Label4
L_004f: Label2
L_004f: ldsfld Verse.JobDef PrepareCaravan_GatherItems
L_0054: ldloc.1
L_0055: call LocalTargetInfo op_Implicit(Verse.Thing)
L_005a: newobj Void .ctor(JobDef, LocalTargetInfo)
L_005f: stloc.2
L_0060: ldloc.2
L_0061: ldloc.0
L_0062: stfld Verse.AI.Group.Lord lord
L_0067: ldloc.2
L_0068: Label3
L_0068: Label4
L_0068: stloc 3 (Verse.AI.Job)
L_0069: Label0
L_0069: ldloc 3 (Verse.AI.Job)
L_006a: ret
DONE

### Patch RimWorld.Planet.Caravan, Void AddPawn(Verse.Pawn, Boolean)


L_0000: Local var 0: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: ldarg 2
L_000d: call Boolean AddVehiclePawnsToCaravan(RimWorld.Planet.Caravan, Verse.Pawn,
Boolean)
L_0012: brfalse Label0
L_0017: ldarg.1
L_0018: brtrue Label1
L_001d: ldstr "Tried to add a null pawn to "
L_0022: ldarg.0
L_0023: call System.String Concat(System.Object, System.Object)
L_0028: ldc.i4.0
L_0029: call Void Warning(System.String, Boolean)
L_002e: br Label11
L_0033: Label1
L_0033: ldarg.1
L_0034: callvirt Boolean get_Dead()
L_0039: brfalse Label2
L_003e: ldc.i4.5
L_003f: newarr System.Object
L_0044: dup
L_0045: ldc.i4.0
L_0046: ldstr "Tried to add "
L_004b: stelem.ref
L_004c: dup
L_004d: ldc.i4.1
L_004e: ldarg.1
L_004f: stelem.ref
L_0050: dup
L_0051: ldc.i4.2
L_0052: ldstr " to "
L_0057: stelem.ref
L_0058: dup
L_0059: ldc.i4.3
L_005a: ldarg.0
L_005b: stelem.ref
L_005c: dup
L_005d: ldc.i4.4
L_005e: ldstr ", but this pawn is dead."
L_0063: stelem.ref
L_0064: call System.String Concat(System.Object[])
L_0069: ldc.i4.0
L_006a: call Void Warning(System.String, Boolean)
L_006f: br Label12
L_0074: Label2
L_0074: ldarg.1
L_0075: ldfld Verse.Pawn_CarryTracker carryTracker
L_007a: callvirt Verse.Thing get_CarriedThing()
L_007f: isinst Verse.Pawn
L_0084: stloc.0
L_0085: ldloc.0
L_0086: brfalse Label3
L_008b: ldarg.1
L_008c: ldfld Verse.Pawn_CarryTracker carryTracker
L_0091: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_0096: ldloc.0
L_0097: callvirt Boolean Remove(Verse.Thing)
L_009c: pop
L_009d: Label3
L_009d: ldarg.1
L_009e: callvirt Boolean get_Spawned()
L_00a3: brfalse Label4
L_00a8: ldarg.1
L_00a9: ldc.i4.0
L_00aa: callvirt Void DeSpawn(DestroyMode)
L_00af: Label4
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00b5: ldarg.1
L_00b6: ldc.i4.1
L_00b7: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_00bc: brfalse Label5
L_00c1: ldarg.0
L_00c2: ldarg.1
L_00c3: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00c8: brfalse Label6
L_00cd: ldarg.1
L_00ce: ldfld RimWorld.Pawn_GuestTracker guest
L_00d3: ldarg.0
L_00d4: call RimWorld.Faction get_Faction()
L_00d9: ldnull
L_00da: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_00df: Label6
L_00df: ldloc.0
L_00e0: brfalse Label7
L_00e5: ldarg.0
L_00e6: ldloc.0
L_00e7: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00ec: brfalse Label8
L_00f1: ldloc.0
L_00f2: ldfld RimWorld.Pawn_GuestTracker guest
L_00f7: ldarg.0
L_00f8: call RimWorld.Faction get_Faction()
L_00fd: ldarg.1
L_00fe: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_0103: Label8
L_0103: ldarg.0
L_0104: ldloc.0
L_0105: ldarg.2
L_0106: call Void AddPawn(Verse.Pawn, Boolean)
L_010b: ldarg.2
L_010c: brfalse Label9
L_0111: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_0116: ldloc.0
L_0117: ldc.i4.0
L_0118: callvirt Void PassToWorld(Verse.Pawn, PawnDiscardDecideMode)
L_011d: Label7
L_011d: Label9
L_011d: br Label10
L_0122: Label5
L_0122: ldstr "Couldn't add pawn "
L_0127: ldarg.1
L_0128: ldstr " to caravan."
L_012d: call System.String Concat(System.Object, System.Object, System.Object)
L_0132: ldc.i4.0
L_0133: call Void Error(System.String, Boolean)
L_0138: Label10
L_0138: Label11
L_0138: Label12
L_0138: Label0
L_0138: ret
DONE

### Patch RimWorld.Planet.Dialog_SplitCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldarg 1
L_000d: ldloca 0 (System.Boolean)
L_000f: call Boolean
DontSplitCaravansWithVehicles(RimWorld.Planet.Dialog_SplitCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0014: brfalse Label0
L_0019: ldarg.1
L_001a: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_001f: brtrue Label1
L_0024: ldnull
L_0025: ldftn Boolean <CheckForErrors>m__4(Verse.Pawn)
L_002b: newobj Void .ctor(Object, IntPtr)
L_0030: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_0035: Label1
L_0035: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_003a: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_003f: brtrue Label2
L_0044: ldstr "CaravanMustHaveAtLeastOneColonist"
L_0049: call System.String Translate(System.String)
L_004e: ldarg.0
L_004f: ldfld RimWorld.Planet.Caravan caravan
L_0054: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_0059: ldsfld Verse.MessageTypeDef RejectInput
L_005e: ldc.i4.0
L_005f: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0064: ldc.i4.0
L_0065: br Label4
L_006a: Label2
L_006a: ldarg.0
L_006b: ldarg.1
L_006c: call Boolean
AnyNonDownedColonistLeftInSourceCaravan(System.Collections.Generic.List`1[Verse.Paw
n])
L_0071: brtrue Label3
L_0076: ldstr "SourceCaravanMustHaveAtLeastOneColonist"
L_007b: call System.String Translate(System.String)
L_0080: ldarg.0
L_0081: ldfld RimWorld.Planet.Caravan caravan
L_0086: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_008b: ldsfld Verse.MessageTypeDef RejectInput
L_0090: ldc.i4.0
L_0091: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0096: ldc.i4.0
L_0097: br Label5
L_009c: Label3
L_009c: ldc.i4.1
L_009d: Label4
L_009d: Label5
L_009d: stloc 0 (System.Boolean)
L_009e: Label0
L_009e: ldloc 0 (System.Boolean)
L_009f: ret
DONE

### Patch RimWorld.Dialog_FormCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey1
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3
L_0000: Local var 7: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Boolean)
L_0007: ldarg.0
L_0008: ldarg 1
L_000e: ldloca 7 (System.Boolean)
L_0010: call Boolean CheckForErrors_PreFix(RimWorld.Dialog_FormCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0015: brfalse Label0
L_001a: newobj Void .ctor()
L_001f: stloc.0
L_0020: ldloc.0
L_0021: ldarg.1
L_0022: stfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0027: ldarg.0
L_0028: call Boolean get_MustChooseRoute()
L_002d: brfalse Label1
L_0032: ldarg.0
L_0033: ldfld System.Int32 destinationTile
L_0038: ldc.i4.0
L_0039: bge Label2
L_003e: ldstr "MessageMustChooseRouteFirst"
L_0043: call System.String Translate(System.String)
L_0048: ldsfld Verse.MessageTypeDef RejectInput
L_004d: ldc.i4.0
L_004e: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0053: ldc.i4.0
L_0054: br Label24
L_0059: Label1
L_0059: Label2
L_0059: ldarg.0
L_005a: ldfld System.Boolean reform
L_005f: brtrue Label3
L_0064: ldarg.0
L_0065: ldfld System.Int32 startingTile
L_006a: ldc.i4.0
L_006b: bge Label4
L_0070: ldstr "MessageNoValidExitTile"
L_0075: call System.String Translate(System.String)
L_007a: ldsfld Verse.MessageTypeDef RejectInput
L_007f: ldc.i4.0
L_0080: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0085: ldc.i4.0
L_0086: br Label25
L_008b: Label3
L_008b: Label4
L_008b: ldloc.0
L_008c: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0091: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_0096: brtrue Label5
L_009b: ldnull
L_009c: ldftn Boolean <CheckForErrors>m__B(Verse.Pawn)
L_00a2: newobj Void .ctor(Object, IntPtr)
L_00a7: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00ac: Label5
L_00ac: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00b1: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_00b6: brtrue Label6
L_00bb: ldstr "CaravanMustHaveAtLeastOneColonist"
L_00c0: call System.String Translate(System.String)
L_00c5: ldsfld Verse.MessageTypeDef RejectInput
L_00ca: ldc.i4.0
L_00cb: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_00d0: ldc.i4.0
L_00d1: br Label26
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Boolean reform
L_00dc: brtrue Label7
L_00e1: ldarg.0
L_00e2: call Single get_MassUsage()
L_00e7: ldarg.0
L_00e8: call Single get_MassCapacity()
L_00ed: ble.un Label8
L_00f2: ldarg.0
L_00f3: call Void FlashMass()
L_00f8: ldstr "TooBigCaravanMassUsage"
L_00fd: call System.String Translate(System.String)
L_0102: ldsfld Verse.MessageTypeDef RejectInput
L_0107: ldc.i4.0
L_0108: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_010d: ldc.i4.0
L_010e: br Label27
L_0113: Label7
L_0113: Label8
L_0113: ldloc.0
L_0114: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0119: ldloc.0
L_011a: ldftn Boolean <>m__0(Verse.Pawn)
L_0120: newobj Void .ctor(Object, IntPtr)
L_0125: callvirt Verse.Pawn Find(System.Predicate`1[Verse.Pawn])
L_012a: stloc.1
L_012b: ldloc.1
L_012c: brfalse Label9
L_0131: ldstr "CaravanPawnIsUnreachable"
L_0136: ldc.i4.1
L_0137: newarr System.Object
L_013c: dup
L_013d: ldc.i4.0
L_013e: ldloc.1
L_013f: callvirt System.String get_LabelShort()
L_0144: stelem.ref
L_0145: call System.String Translate(System.String, System.Object[])
L_014a: call System.String CapitalizeFirst(System.String)
L_014f: ldloc.1
L_0150: call Verse.LookTargets op_Implicit(Verse.Thing)
L_0155: ldsfld Verse.MessageTypeDef RejectInput
L_015a: ldc.i4.0
L_015b: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0160: ldc.i4.0
L_0161: br Label28
L_0166: Label9
L_0166: ldc.i4.0
L_0167: stloc.2
L_0168: br Label10
L_016d: Label23
L_016d: ldarg.0
L_016e: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0173: ldloc.2
L_0174: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0179: callvirt Verse.ThingDef get_ThingDef()
L_017e: ldfld Verse.ThingCategory category
L_0183: ldc.i4.2
L_0184: beq Label11
L_0189: br Label12
L_018e: Label11
L_018e: ldarg.0
L_018f: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0194: ldloc.2
L_0195: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_019a: callvirt Int32 get_CountToTransfer()
L_019f: stloc.3
L_01a0: ldc.i4.0
L_01a1: stloc.s 4 (System.Int32)
L_01a3: ldloc.3
L_01a4: ldc.i4.0
L_01a5: ble Label13
L_01aa: ldc.i4.0
L_01ab: stloc.s 5 (System.Int32)
L_01ad: br Label14
L_01b2: Label19
L_01b2: newobj Void .ctor()
L_01b7: stloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01b9: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01bb: ldarg.0
L_01bc: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_01c1: ldloc.2
L_01c2: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_01c7: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_01cc: ldloc.s 5 (System.Int32)
L_01ce: callvirt Verse.Thing get_Item(Int32)
L_01d3: stfld Verse.Thing t
L_01d8: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01da: ldfld Verse.Thing t
L_01df: callvirt Boolean get_Spawned()
L_01e4: brfalse Label15
L_01e9: ldloc.0
L_01ea: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_01ef: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01f1: ldftn Boolean <>m__0(Verse.Pawn)
L_01f7: newobj Void .ctor(Object, IntPtr)
L_01fc: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_0201: brfalse Label16
L_0206: Label15
L_0206: ldloc.s 4 (System.Int32)
L_0208: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_020a: ldfld Verse.Thing t
L_020f: ldfld System.Int32 stackCount
L_0214: add
L_0215: stloc.s 4 (System.Int32)
L_0217: ldloc.s 4 (System.Int32)
L_0219: ldloc.3
L_021a: blt Label17
L_021f: br Label18
L_0224: Label16
L_0224: Label17
L_0224: ldloc.s 5 (System.Int32)
L_0226: ldc.i4.1
L_0227: add
L_0228: stloc.s 5 (System.Int32)
L_022a: Label14
L_022a: ldloc.s 5 (System.Int32)
L_022c: ldarg.0
L_022d: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0232: ldloc.2
L_0233: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0238: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_023d: callvirt Int32 get_Count()
L_0242: blt Label19
L_0247: Label18
L_0247: ldloc.s 4 (System.Int32)
L_0249: ldloc.3
L_024a: bge Label20
L_024f: ldloc.3
L_0250: ldc.i4.1
L_0251: bne.un Label21
L_0256: ldstr "CaravanItemIsUnreachableSingle"
L_025b: ldc.i4.1
L_025c: newarr System.Object
L_0261: dup
L_0262: ldc.i4.0
L_0263: ldarg.0
L_0264: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0269: ldloc.2
L_026a: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_026f: callvirt Verse.ThingDef get_ThingDef()
L_0274: ldfld System.String label
L_0279: stelem.ref
L_027a: call System.String Translate(System.String, System.Object[])
L_027f: ldsfld Verse.MessageTypeDef RejectInput
L_0284: ldc.i4.0
L_0285: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_028a: br Label22
L_028f: Label21
L_028f: ldstr "CaravanItemIsUnreachableMulti"
L_0294: ldc.i4.2
L_0295: newarr System.Object
L_029a: dup
L_029b: ldc.i4.0
L_029c: ldloc.3
L_029d: box System.Int32
L_02a2: stelem.ref
L_02a3: dup
L_02a4: ldc.i4.1
L_02a5: ldarg.0
L_02a6: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02ab: ldloc.2
L_02ac: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_02b1: callvirt Verse.ThingDef get_ThingDef()
L_02b6: ldfld System.String label
L_02bb: stelem.ref
L_02bc: call System.String Translate(System.String, System.Object[])
L_02c1: ldsfld Verse.MessageTypeDef RejectInput
L_02c6: ldc.i4.0
L_02c7: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_02cc: Label22
L_02cc: ldc.i4.0
L_02cd: br Label29
L_02d2: Label12
L_02d2: Label13
L_02d2: Label20
L_02d2: ldloc.2
L_02d3: ldc.i4.1
L_02d4: add
L_02d5: stloc.2
L_02d6: Label10
L_02d6: ldloc.2
L_02d7: ldarg.0
L_02d8: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02dd: callvirt Int32 get_Count()
L_02e2: blt Label23
L_02e7: ldc.i4.1
L_02e8: Label24
L_02e8: Label25
L_02e8: Label26
L_02e8: Label27
L_02e8: Label28
L_02e8: Label29
L_02e8: stloc 7 (System.Boolean)
L_02ea: Label0
L_02ea: ldloc 7 (System.Boolean)
L_02ec: ret
DONE

### Patch RimWorld.Planet.CaravanUIUtility, Void


AddPawnsSections(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[RimWorld.TransferableOneWay, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.1
L_0001: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0006: brtrue Label1
L_000b: ldnull
L_000c: ldftn Boolean <AddPawnsSections>m__1(RimWorld.TransferableOneWay)
L_0012: newobj Void .ctor(Object, IntPtr)
L_0017: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_001c: Label1
L_001c: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0021: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0026: stloc.0
L_0027: ldarg.0
L_0028: ldstr "ColonistsSection"
L_002d: call System.String Translate(System.String)
L_0032: ldloc.0
L_0033: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0038: brtrue Label2
L_003d: ldnull
L_003e: ldftn Boolean <AddPawnsSections>m__2(RimWorld.TransferableOneWay)
L_0044: newobj Void .ctor(Object, IntPtr)
L_0049: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_004e: Label2
L_004e: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0053: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0058: callvirt Void AddSection(System.String, IEnumerable`1)
L_005d: ldarg.0
L_005e: ldstr "PrisonersSection"
L_0063: call System.String Translate(System.String)
L_0068: ldloc.0
L_0069: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_006e: brtrue Label3
L_0073: ldnull
L_0074: ldftn Boolean <AddPawnsSections>m__3(RimWorld.TransferableOneWay)
L_007a: newobj Void .ctor(Object, IntPtr)
L_007f: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0084: Label3
L_0084: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0089: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_008e: callvirt Void AddSection(System.String, IEnumerable`1)
L_0093: ldarg.0
L_0094: ldstr "CaptureSection"
L_0099: call System.String Translate(System.String)
L_009e: ldloc.0
L_009f: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00a4: brtrue Label4
L_00a9: ldnull
L_00aa: ldftn Boolean <AddPawnsSections>m__4(RimWorld.TransferableOneWay)
L_00b0: newobj Void .ctor(Object, IntPtr)
L_00b5: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00ba: Label4
L_00ba: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00bf: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00c4: callvirt Void AddSection(System.String, IEnumerable`1)
L_00c9: ldarg.0
L_00ca: ldstr "AnimalsSection"
L_00cf: call System.String Translate(System.String)
L_00d4: ldloc.0
L_00d5: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00da: brtrue Label5
L_00df: ldnull
L_00e0: ldftn Boolean <AddPawnsSections>m__5(RimWorld.TransferableOneWay)
L_00e6: newobj Void .ctor(Object, IntPtr)
L_00eb: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f0: Label5
L_00f0: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f5: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00fa: callvirt Void AddSection(System.String, IEnumerable`1)
L_00ff: ldarg 0
L_0105: ldarg 1
L_010b: call Void AddPawnsSections_PostFix(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0110: ret
DONE

### Patch RimWorld.Planet.CaravanExitMapUtility, Boolean


CanExitMapAndJoinOrCreateCaravanNow(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Boolean get_Spawned()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label5
L_0017: Label1
L_0017: ldarg.0
L_0018: callvirt Verse.Map get_Map()
L_001d: ldfld Verse.ExitMapGrid exitMapGrid
L_0022: callvirt Boolean get_MapUsesExitGrid()
L_0027: brtrue Label2
L_002c: ldc.i4.0
L_002d: br Label6
L_0032: Label2
L_0032: ldarg.0
L_0033: callvirt Boolean get_IsColonist()
L_0038: brtrue Label3
L_003d: ldarg.0
L_003e: call RimWorld.Planet.Caravan FindCaravanToJoinFor(Verse.Pawn)
L_0043: ldnull
L_0044: ceq
L_0046: ldc.i4.0
L_0047: ceq
L_0049: br Label4
L_004e: Label3
L_004e: ldc.i4.1
L_004f: Label4
L_004f: Label5
L_004f: Label6
L_004f: stloc 0 (System.Boolean)
L_0050: ldarg 0
L_0056: ldloca 0 (System.Boolean)
L_0058: call Void CanExit_PostFix(Verse.Pawn, Boolean ByRef)
L_005d: ldloc 0 (System.Boolean)
L_005e: ret
DONE

### Patch RimWorld.MassUtility, Single Capacity(Verse.Pawn,


System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Single
L_0000: ldc.r4 0
L_0005: stloc 1 (System.Single)
L_0006: ldarg.0
L_0007: call Boolean CanEverCarryAnything(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldc.r4 0
L_0016: br Label4
L_001b: Label1
L_001b: ldarg.0
L_001c: callvirt Single get_BodySize()
L_0021: ldc.r4 35
L_0026: mul
L_0027: stloc.0
L_0028: ldarg.1
L_0029: brfalse Label2
L_002e: ldarg.1
L_002f: callvirt Int32 get_Length()
L_0034: ldc.i4.0
L_0035: ble Label3
L_003a: ldarg.1
L_003b: callvirt System.Text.StringBuilder AppendLine()
L_0040: pop
L_0041: Label3
L_0041: ldarg.1
L_0042: ldstr " - "
L_0047: ldarg.0
L_0048: callvirt System.String get_LabelShortCap()
L_004d: ldstr ": "
L_0052: ldloc.0
L_0053: call System.String ToStringMassOffset(Single)
L_0058: call System.String Concat(System.String, System.String, System.String,
System.String)
L_005d: callvirt System.Text.StringBuilder Append(System.String)
L_0062: pop
L_0063: Label2
L_0063: ldloc.0
L_0064: Label4
L_0064: stloc 1 (System.Single)
L_0065: ldloca 1 (System.Single)
L_0067: ldarg 0
L_006d: call Void Capacity_PostFix(Single ByRef, Verse.Pawn)
L_0072: ldloc 1 (System.Single)
L_0073: ret
DONE

### Patch RimWorld.Planet.CaravanTicksPerMoveUtility, Int32


GetTicksPerMove(System.Collections.Generic.List`1[Verse.Pawn], Single, Single,
System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Single
L_0000: Local var 3: System.Single
L_0000: Local var 4: System.Single
L_0000: Local var 5: System.Single
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Single
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldarg.0
L_0008: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn])
L_000d: brfalse Label1
L_0012: ldarg.3
L_0013: brfalse Label2
L_0018: ldarg.3
L_0019: ldstr "CaravanMovementSpeedFull"
L_001e: call System.String Translate(System.String)
L_0023: ldstr ":"
L_0028: call System.String Concat(System.String, System.String)
L_002d: callvirt System.Text.StringBuilder Append(System.String)
L_0032: pop
L_0033: Label2
L_0033: ldc.r4 0
L_0038: stloc.0
L_0039: ldc.i4.0
L_003a: stloc.1
L_003b: br Label3
L_0040: Label11
L_0040: ldarg.0
L_0041: ldloc.1
L_0042: callvirt Verse.Pawn get_Item(Int32)
L_0047: callvirt Boolean get_Downed()
L_004c: brtrue Label4
L_0051: ldarg.0
L_0052: ldloc.1
L_0053: callvirt Verse.Pawn get_Item(Int32)
L_0058: call Boolean CarriedByCaravan(Verse.Pawn)
L_005d: brfalse Label5
L_0062: Label4
L_0062: ldc.i4 450
L_0067: br Label6
L_006c: Label5
L_006c: ldarg.0
L_006d: ldloc.1
L_006e: callvirt Verse.Pawn get_Item(Int32)
L_0073: callvirt Int32 get_TicksPerMoveCardinal()
L_0078: Label6
L_0078: conv.r4
L_0079: stloc.2
L_007a: ldloc.2
L_007b: ldc.r4 150
L_0080: call Single Min(Single, Single)
L_0085: ldc.r4 340
L_008a: mul
L_008b: stloc.2
L_008c: ldc.r4 60000
L_0091: ldloc.2
L_0092: conv.r4
L_0093: div
L_0094: stloc.3
L_0095: ldarg.3
L_0096: brfalse Label7
L_009b: ldarg.3
L_009c: callvirt System.Text.StringBuilder AppendLine()
L_00a1: pop
L_00a2: ldarg.3
L_00a3: ldc.i4.6
L_00a4: newarr System.String
L_00a9: dup
L_00aa: ldc.i4.0
L_00ab: ldstr " - "
L_00b0: stelem.ref
L_00b1: dup
L_00b2: ldc.i4.1
L_00b3: ldarg.0
L_00b4: ldloc.1
L_00b5: callvirt Verse.Pawn get_Item(Int32)
L_00ba: callvirt System.String get_LabelShortCap()
L_00bf: stelem.ref
L_00c0: dup
L_00c1: ldc.i4.2
L_00c2: ldstr ": "
L_00c7: stelem.ref
L_00c8: dup
L_00c9: ldc.i4.3
L_00ca: ldloca.s 3 (System.Single)
L_00cc: ldstr "0.#"
L_00d1: call System.String ToString(System.String)
L_00d6: stelem.ref
L_00d7: dup
L_00d8: ldc.i4.4
L_00d9: ldstr " "
L_00de: stelem.ref
L_00df: dup
L_00e0: ldc.i4.5
L_00e1: ldstr "TilesPerDay"
L_00e6: call System.String Translate(System.String)
L_00eb: stelem.ref
L_00ec: call System.String Concat(System.String[])
L_00f1: callvirt System.Text.StringBuilder Append(System.String)
L_00f6: pop
L_00f7: ldarg.0
L_00f8: ldloc.1
L_00f9: callvirt Verse.Pawn get_Item(Int32)
L_00fe: callvirt Boolean get_Downed()
L_0103: brfalse Label8
L_0108: ldarg.3
L_0109: ldstr " ("
L_010e: ldstr "DownedLower"
L_0113: call System.String Translate(System.String)
L_0118: ldstr ")"
L_011d: call System.String Concat(System.String, System.String, System.String)
L_0122: callvirt System.Text.StringBuilder Append(System.String)
L_0127: pop
L_0128: br Label9
L_012d: Label8
L_012d: ldarg.0
L_012e: ldloc.1
L_012f: callvirt Verse.Pawn get_Item(Int32)
L_0134: call Boolean CarriedByCaravan(Verse.Pawn)
L_0139: brfalse Label10
L_013e: ldarg.3
L_013f: ldstr " ("
L_0144: ldstr "Carried"
L_0149: call System.String Translate(System.String)
L_014e: ldstr ")"
L_0153: call System.String Concat(System.String, System.String, System.String)
L_0158: callvirt System.Text.StringBuilder Append(System.String)
L_015d: pop
L_015e: Label7
L_015e: Label9
L_015e: Label10
L_015e: ldloc.0
L_015f: ldloc.2
L_0160: ldarg.0
L_0161: callvirt Int32 get_Count()
L_0166: conv.r4
L_0167: div
L_0168: add
L_0169: stloc.0
L_016a: ldloc.1
L_016b: ldc.i4.1
L_016c: add
L_016d: stloc.1
L_016e: Label3
L_016e: ldloc.1
L_016f: ldarg.0
L_0170: callvirt Int32 get_Count()
L_0175: blt Label11
L_017a: ldarg.1
L_017b: ldarg.2
L_017c: call Single GetMoveSpeedFactorFromMass(Single, Single)
L_0181: stloc.s 4 (System.Single)
L_0183: ldarg.3
L_0184: brfalse Label12
L_0189: ldc.r4 60000
L_018e: ldloc.0
L_018f: conv.r4
L_0190: div
L_0191: stloc.s 5 (System.Single)
L_0193: ldarg.3
L_0194: callvirt System.Text.StringBuilder AppendLine()
L_0199: pop
L_019a: ldarg.3
L_019b: ldc.i4.6
L_019c: newarr System.String
L_01a1: dup
L_01a2: ldc.i4.0
L_01a3: ldstr " "
L_01a8: stelem.ref
L_01a9: dup
L_01aa: ldc.i4.1
L_01ab: ldstr "Average"
L_01b0: call System.String Translate(System.String)
L_01b5: stelem.ref
L_01b6: dup
L_01b7: ldc.i4.2
L_01b8: ldstr ": "
L_01bd: stelem.ref
L_01be: dup
L_01bf: ldc.i4.3
L_01c0: ldloca.s 5 (System.Single)
L_01c2: ldstr "0.#"
L_01c7: call System.String ToString(System.String)
L_01cc: stelem.ref
L_01cd: dup
L_01ce: ldc.i4.4
L_01cf: ldstr " "
L_01d4: stelem.ref
L_01d5: dup
L_01d6: ldc.i4.5
L_01d7: ldstr "TilesPerDay"
L_01dc: call System.String Translate(System.String)
L_01e1: stelem.ref
L_01e2: call System.String Concat(System.String[])
L_01e7: callvirt System.Text.StringBuilder Append(System.String)
L_01ec: pop
L_01ed: ldarg.3
L_01ee: callvirt System.Text.StringBuilder AppendLine()
L_01f3: pop
L_01f4: ldarg.3
L_01f5: ldstr " "
L_01fa: ldstr "MultiplierForCarriedMass"
L_01ff: ldc.i4.1
L_0200: newarr System.Object
L_0205: dup
L_0206: ldc.i4.0
L_0207: ldloc.s 4 (System.Single)
L_0209: call System.String ToStringPercent(Single)
L_020e: stelem.ref
L_020f: call System.String Translate(System.String, System.Object[])
L_0214: call System.String Concat(System.String, System.String)
L_0219: callvirt System.Text.StringBuilder Append(System.String)
L_021e: pop
L_021f: Label12
L_021f: ldloc.0
L_0220: ldloc.s 4 (System.Single)
L_0222: div
L_0223: call Int32 RoundToInt(Single)
L_0228: ldc.i4.1
L_0229: call Int32 Max(Int32, Int32)
L_022e: stloc.s 6 (System.Int32)
L_0230: ldarg.3
L_0231: brfalse Label13
L_0236: ldc.r4 60000
L_023b: ldloc.s 6 (System.Int32)
L_023d: conv.r4
L_023e: div
L_023f: stloc.s 7 (System.Single)
L_0241: ldarg.3
L_0242: callvirt System.Text.StringBuilder AppendLine()
L_0247: pop
L_0248: ldarg.3
L_0249: ldc.i4.6
L_024a: newarr System.String
L_024f: dup
L_0250: ldc.i4.0
L_0251: ldstr " "
L_0256: stelem.ref
L_0257: dup
L_0258: ldc.i4.1
L_0259: ldstr "FinalCaravanPawnsMovementSpeed"
L_025e: call System.String Translate(System.String)
L_0263: stelem.ref
L_0264: dup
L_0265: ldc.i4.2
L_0266: ldstr ": "
L_026b: stelem.ref
L_026c: dup
L_026d: ldc.i4.3
L_026e: ldloca.s 7 (System.Single)
L_0270: ldstr "0.#"
L_0275: call System.String ToString(System.String)
L_027a: stelem.ref
L_027b: dup
L_027c: ldc.i4.4
L_027d: ldstr " "
L_0282: stelem.ref
L_0283: dup
L_0284: ldc.i4.5
L_0285: ldstr "TilesPerDay"
L_028a: call System.String Translate(System.String)
L_028f: stelem.ref
L_0290: call System.String Concat(System.String[])
L_0295: callvirt System.Text.StringBuilder Append(System.String)
L_029a: pop
L_029b: Label13
L_029b: ldloc.s 6 (System.Int32)
L_029d: br Label15
L_02a2: Label1
L_02a2: ldarg.3
L_02a3: brfalse Label14
L_02a8: ldarg.3
L_02a9: call Void AppendUsingDefaultTicksPerMoveInfo(System.Text.StringBuilder)
L_02ae: Label14
L_02ae: ldc.i4 3300
L_02b3: Label15
L_02b3: stloc 8 (System.Int32)
L_02b5: ldarg 0
L_02bb: ldloca 8 (System.Int32)
L_02bd: call Void
GetTicksPerMove_PostFix(System.Collections.Generic.List`1[Verse.Pawn], Int32 ByRef)
L_02c2: ldloc 8 (System.Int32)
L_02c4: ret
DONE

### Patch RimWorld.Planet.CaravanEnterMapUtility, Void


Enter(RimWorld.Planet.Caravan, Verse.Map, System.Func`2[Verse.Pawn,Verse.IntVec3],
CaravanDropInventoryMode, Boolean)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: call Void Enter_PreFix(RimWorld.Planet.Caravan)
L_000b: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0010: callvirt Void Clear()
L_0015: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_001a: ldarg.0
L_001b: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_0020: callvirt Void AddRange(IEnumerable`1)
L_0025: ldc.i4.0
L_0026: stloc.0
L_0027: br Label1
L_002c: Label2
L_002c: ldarg.2
L_002d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0032: ldloc.0
L_0033: callvirt Verse.Pawn get_Item(Int32)
L_0038: callvirt IntVec3 Invoke(Verse.Pawn)
L_003d: stloc.1
L_003e: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0043: ldloc.0
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: ldloc.1
L_004a: ldarg.1
L_004b: call Rot4 get_Random()
L_0050: ldc.i4.0
L_0051: ldc.i4.0
L_0052: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0057: pop
L_0058: ldloc.0
L_0059: ldc.i4.1
L_005a: add
L_005b: stloc.0
L_005c: Label1
L_005c: ldloc.0
L_005d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0062: callvirt Int32 get_Count()
L_0067: blt Label2
L_006c: ldarg.3
L_006d: ldc.i4.1
L_006e: bne.un Label3
L_0073: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0078: call Void DropAllInventory(System.Collections.Generic.List`1[Verse.Pawn])
L_007d: br Label4
L_0082: Label3
L_0082: ldarg.3
L_0083: ldc.i4.2
L_0084: bne.un Label5
L_0089: ldc.i4.0
L_008a: stloc.2
L_008b: br Label6
L_0090: Label7
L_0090: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0095: ldloc.2
L_0096: callvirt Verse.Pawn get_Item(Int32)
L_009b: ldfld Verse.Pawn_InventoryTracker inventory
L_00a0: ldc.i4.1
L_00a1: callvirt Void set_UnloadEverything(Boolean)
L_00a6: ldloc.2
L_00a7: ldc.i4.1
L_00a8: add
L_00a9: stloc.2
L_00aa: Label6
L_00aa: ldloc.2
L_00ab: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00b0: callvirt Int32 get_Count()
L_00b5: blt Label7
L_00ba: Label4
L_00ba: Label5
L_00ba: ldarg.s 4
L_00bc: brfalse Label8
L_00c1: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00c6: call Void DraftColonists(System.Collections.Generic.List`1[Verse.Pawn])
L_00cb: Label8
L_00cb: ldarg.1
L_00cc: callvirt Boolean get_IsPlayerHome()
L_00d1: brfalse Label9
L_00d6: ldc.i4.0
L_00d7: stloc.3
L_00d8: br Label10
L_00dd: Label12
L_00dd: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00e2: ldloc.3
L_00e3: callvirt Verse.Pawn get_Item(Int32)
L_00e8: callvirt Boolean get_IsPrisoner()
L_00ed: brfalse Label11
L_00f2: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00f7: ldloc.3
L_00f8: callvirt Verse.Pawn get_Item(Int32)
L_00fd: ldfld RimWorld.Pawn_GuestTracker guest
L_0102: callvirt Void WaitInsteadOfEscapingForDefaultTicks()
L_0107: Label11
L_0107: ldloc.3
L_0108: ldc.i4.1
L_0109: add
L_010a: stloc.3
L_010b: Label10
L_010b: ldloc.3
L_010c: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0111: callvirt Int32 get_Count()
L_0116: blt Label12
L_011b: Label9
L_011b: ldarg.0
L_011c: callvirt Void RemoveAllPawns()
L_0121: ldarg.0
L_0122: callvirt Boolean get_Spawned()
L_0127: brfalse Label13
L_012c: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_0131: ldarg.0
L_0132: callvirt Void Remove(RimWorld.Planet.WorldObject)
L_0137: Label13
L_0137: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_013c: callvirt Void Clear()
L_0141: ret
DONE

### Patch RimWorld.Planet.Caravan, System.String GetInspectString()


L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Int32
L_0000: Local var 7: RimWorld.Planet.SettlementBase
L_0000: Local var 8: System.Single
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Int32
L_0000: Local var 11: System.String
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: ldnull
L_0001: stloc 13 (System.String)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: call System.String GetInspectString()
L_0010: callvirt System.Text.StringBuilder Append(System.String)
L_0015: pop
L_0016: ldloc.0
L_0017: callvirt Int32 get_Length()
L_001c: brfalse Label1
L_0021: ldloc.0
L_0022: callvirt System.Text.StringBuilder AppendLine()
L_0027: pop
L_0028: Label1
L_0028: ldc.i4.0
L_0029: stloc.1
L_002a: ldc.i4.0
L_002b: stloc.2
L_002c: ldc.i4.0
L_002d: stloc.3
L_002e: ldc.i4.0
L_002f: stloc.s 4 (System.Int32)
L_0031: ldc.i4.0
L_0032: stloc.s 5 (System.Int32)
L_0034: ldc.i4.0
L_0035: stloc.s 6 (System.Int32)
L_0037: br Label2
L_003c: Label10
L_003c: ldarg.0
L_003d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0042: ldloc.s 6 (System.Int32)
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: callvirt Boolean get_IsColonist()
L_004e: brfalse Label3
L_0053: ldloc.1
L_0054: ldc.i4.1
L_0055: add
L_0056: stloc.1
L_0057: br Label4
L_005c: Label3
L_005c: ldarg.0
L_005d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0062: ldloc.s 6 (System.Int32)
L_0064: callvirt Verse.Pawn get_Item(Int32)
L_0069: callvirt Verse.RaceProperties get_RaceProps()
L_006e: callvirt Boolean get_Animal()
L_0073: brfalse Label5
L_0078: ldloc.2
L_0079: ldc.i4.1
L_007a: add
L_007b: stloc.2
L_007c: br Label6
L_0081: Label5
L_0081: ldarg.0
L_0082: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0087: ldloc.s 6 (System.Int32)
L_0089: callvirt Verse.Pawn get_Item(Int32)
L_008e: callvirt Boolean get_IsPrisoner()
L_0093: brfalse Label7
L_0098: ldloc.3
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.3
L_009c: Label4
L_009c: Label6
L_009c: Label7
L_009c: ldarg.0
L_009d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00a2: ldloc.s 6 (System.Int32)
L_00a4: callvirt Verse.Pawn get_Item(Int32)
L_00a9: callvirt Boolean get_Downed()
L_00ae: brfalse Label8
L_00b3: ldloc.s 4 (System.Int32)
L_00b5: ldc.i4.1
L_00b6: add
L_00b7: stloc.s 4 (System.Int32)
L_00b9: Label8
L_00b9: ldarg.0
L_00ba: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00bf: ldloc.s 6 (System.Int32)
L_00c1: callvirt Verse.Pawn get_Item(Int32)
L_00c6: callvirt Boolean get_InMentalState()
L_00cb: brfalse Label9
L_00d0: ldloc.s 5 (System.Int32)
L_00d2: ldc.i4.1
L_00d3: add
L_00d4: stloc.s 5 (System.Int32)
L_00d6: Label9
L_00d6: ldloc.s 6 (System.Int32)
L_00d8: ldc.i4.1
L_00d9: add
L_00da: stloc.s 6 (System.Int32)
L_00dc: Label2
L_00dc: ldloc.s 6 (System.Int32)
L_00de: ldarg.0
L_00df: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00e4: callvirt Int32 get_Count()
L_00e9: blt Label10
L_00ee: ldloc.0
L_00ef: ldstr "CaravanColonistsCount"
L_00f4: ldc.i4.2
L_00f5: newarr System.Object
L_00fa: dup
L_00fb: ldc.i4.0
L_00fc: ldloc.1
L_00fd: box System.Int32
L_0102: stelem.ref
L_0103: dup
L_0104: ldc.i4.1
L_0105: ldloc.1
L_0106: ldc.i4.1
L_0107: bne.un Label11
L_010c: call RimWorld.Faction get_OfPlayer()
L_0111: ldfld RimWorld.FactionDef def
L_0116: ldfld System.String pawnSingular
L_011b: br Label12
L_0120: Label11
L_0120: call RimWorld.Faction get_OfPlayer()
L_0125: ldfld RimWorld.FactionDef def
L_012a: ldfld System.String pawnsPlural
L_012f: Label12
L_012f: stelem.ref
L_0130: call System.String Translate(System.String, System.Object[])
L_0135: callvirt System.Text.StringBuilder Append(System.String)
L_013a: pop
L_013b: ldloc.2
L_013c: ldc.i4.1
L_013d: bne.un Label13
L_0142: ldloc.0
L_0143: ldstr ", "
L_0148: ldstr "CaravanAnimal"
L_014d: call System.String Translate(System.String)
L_0152: call System.String Concat(System.String, System.String)
L_0157: callvirt System.Text.StringBuilder Append(System.String)
L_015c: pop
L_015d: br Label14
L_0162: Label13
L_0162: ldloc.2
L_0163: ldc.i4.1
L_0164: ble Label15
L_0169: ldloc.0
L_016a: ldstr ", "
L_016f: ldstr "CaravanAnimalsCount"
L_0174: ldc.i4.1
L_0175: newarr System.Object
L_017a: dup
L_017b: ldc.i4.0
L_017c: ldloc.2
L_017d: box System.Int32
L_0182: stelem.ref
L_0183: call System.String Translate(System.String, System.Object[])
L_0188: call System.String Concat(System.String, System.String)
L_018d: callvirt System.Text.StringBuilder Append(System.String)
L_0192: pop
L_0193: Label14
L_0193: Label15
L_0193: ldloc.3
L_0194: ldc.i4.1
L_0195: bne.un Label16
L_019a: ldloc.0
L_019b: ldstr ", "
L_01a0: ldstr "CaravanPrisoner"
L_01a5: call System.String Translate(System.String)
L_01aa: call System.String Concat(System.String, System.String)
L_01af: callvirt System.Text.StringBuilder Append(System.String)
L_01b4: pop
L_01b5: br Label17
L_01ba: Label16
L_01ba: ldloc.3
L_01bb: ldc.i4.1
L_01bc: ble Label18
L_01c1: ldloc.0
L_01c2: ldstr ", "
L_01c7: ldstr "CaravanPrisonersCount"
L_01cc: ldc.i4.1
L_01cd: newarr System.Object
L_01d2: dup
L_01d3: ldc.i4.0
L_01d4: ldloc.3
L_01d5: box System.Int32
L_01da: stelem.ref
L_01db: call System.String Translate(System.String, System.Object[])
L_01e0: call System.String Concat(System.String, System.String)
L_01e5: callvirt System.Text.StringBuilder Append(System.String)
L_01ea: pop
L_01eb: Label17
L_01eb: Label18
L_01eb: ldloc.0
L_01ec: callvirt System.Text.StringBuilder AppendLine()
L_01f1: pop
L_01f2: ldloc.s 5 (System.Int32)
L_01f4: ldc.i4.0
L_01f5: ble Label19
L_01fa: ldloc.0
L_01fb: ldstr "CaravanPawnsInMentalState"
L_0200: ldc.i4.1
L_0201: newarr System.Object
L_0206: dup
L_0207: ldc.i4.0
L_0208: ldloc.s 5 (System.Int32)
L_020a: box System.Int32
L_020f: stelem.ref
L_0210: call System.String Translate(System.String, System.Object[])
L_0215: callvirt System.Text.StringBuilder Append(System.String)
L_021a: pop
L_021b: Label19
L_021b: ldloc.s 4 (System.Int32)
L_021d: ldc.i4.0
L_021e: ble Label20
L_0223: ldloc.s 5 (System.Int32)
L_0225: ldc.i4.0
L_0226: ble Label21
L_022b: ldloc.0
L_022c: ldstr ", "
L_0231: callvirt System.Text.StringBuilder Append(System.String)
L_0236: pop
L_0237: Label21
L_0237: ldloc.0
L_0238: ldstr "CaravanPawnsDowned"
L_023d: ldc.i4.1
L_023e: newarr System.Object
L_0243: dup
L_0244: ldc.i4.0
L_0245: ldloc.s 4 (System.Int32)
L_0247: box System.Int32
L_024c: stelem.ref
L_024d: call System.String Translate(System.String, System.Object[])
L_0252: callvirt System.Text.StringBuilder Append(System.String)
L_0257: pop
L_0258: Label20
L_0258: ldloc.s 5 (System.Int32)
L_025a: ldc.i4.0
L_025b: bgt Label22
L_0260: ldloc.s 4 (System.Int32)
L_0262: ldc.i4.0
L_0263: ble Label23
L_0268: Label22
L_0268: ldloc.0
L_0269: callvirt System.Text.StringBuilder AppendLine()
L_026e: pop
L_026f: Label23
L_026f: ldarg.0
L_0270: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0275: callvirt Boolean get_Moving()
L_027a: brfalse Label24
L_027f: ldarg.0
L_0280: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0285: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_028a: brfalse Label25
L_028f: ldloc.0
L_0290: ldarg.0
L_0291: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0296: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_029b: callvirt System.String get_ReportString()
L_02a0: callvirt System.Text.StringBuilder Append(System.String)
L_02a5: pop
L_02a6: br Label26
L_02ab: Label25
L_02ab: ldloc.0
L_02ac: ldstr "CaravanTraveling"
L_02b1: call System.String Translate(System.String)
L_02b6: callvirt System.Text.StringBuilder Append(System.String)
L_02bb: pop
L_02bc: Label26
L_02bc: br Label27
L_02c1: Label24
L_02c1: ldarg.0
L_02c2: call RimWorld.Planet.SettlementBase
SettlementVisitedNow(RimWorld.Planet.Caravan)
L_02c7: stloc.s 7 (RimWorld.Planet.SettlementBase)
L_02c9: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02cb: brfalse Label28
L_02d0: ldloc.0
L_02d1: ldstr "CaravanVisiting"
L_02d6: ldc.i4.1
L_02d7: newarr System.Object
L_02dc: dup
L_02dd: ldc.i4.0
L_02de: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02e0: callvirt System.String get_Label()
L_02e5: stelem.ref
L_02e6: call System.String Translate(System.String, System.Object[])
L_02eb: callvirt System.Text.StringBuilder Append(System.String)
L_02f0: pop
L_02f1: br Label29
L_02f6: Label28
L_02f6: ldloc.0
L_02f7: ldstr "CaravanWaiting"
L_02fc: call System.String Translate(System.String)
L_0301: callvirt System.Text.StringBuilder Append(System.String)
L_0306: pop
L_0307: Label27
L_0307: Label29
L_0307: ldarg.0
L_0308: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_030d: callvirt Boolean get_Moving()
L_0312: brfalse Label30
L_0317: ldarg.0
L_0318: ldc.i4.1
L_0319: call Int32 EstimatedTicksToArrive(RimWorld.Planet.Caravan, Boolean)
L_031e: conv.r4
L_031f: ldc.r4 60000
L_0324: div
L_0325: stloc.s 8 (System.Single)
L_0327: ldloc.0
L_0328: callvirt System.Text.StringBuilder AppendLine()
L_032d: pop
L_032e: ldloc.0
L_032f: ldstr "CaravanEstimatedTimeToDestination"
L_0334: ldc.i4.1
L_0335: newarr System.Object
L_033a: dup
L_033b: ldc.i4.0
L_033c: ldloca.s 8 (System.Single)
L_033e: ldstr "0.#"
L_0343: call System.String ToString(System.String)
L_0348: stelem.ref
L_0349: call System.String Translate(System.String, System.Object[])
L_034e: callvirt System.Text.StringBuilder Append(System.String)
L_0353: pop
L_0354: Label30
L_0354: ldarg.0
L_0355: call Boolean get_AllOwnersDowned()
L_035a: brfalse Label31
L_035f: ldloc.0
L_0360: callvirt System.Text.StringBuilder AppendLine()
L_0365: pop
L_0366: ldloc.0
L_0367: ldstr "AllCaravanMembersDowned"
L_036c: call System.String Translate(System.String)
L_0371: callvirt System.Text.StringBuilder Append(System.String)
L_0376: pop
L_0377: br Label32
L_037c: Label31
L_037c: ldarg.0
L_037d: call Boolean get_AllOwnersHaveMentalBreak()
L_0382: brfalse Label33
L_0387: ldloc.0
L_0388: callvirt System.Text.StringBuilder AppendLine()
L_038d: pop
L_038e: ldloc.0
L_038f: ldstr "AllCaravanMembersMentalBreak"
L_0394: call System.String Translate(System.String)
L_0399: callvirt System.Text.StringBuilder Append(System.String)
L_039e: pop
L_039f: br Label34
L_03a4: Label33
L_03a4: ldarg.0
L_03a5: call Boolean get_ImmobilizedByMass()
L_03aa: brfalse Label35
L_03af: ldloc.0
L_03b0: callvirt System.Text.StringBuilder AppendLine()
L_03b5: pop
L_03b6: ldloc.0
L_03b7: ldstr "CaravanImmobilizedByMass"
L_03bc: call System.String Translate(System.String)
L_03c1: callvirt System.Text.StringBuilder Append(System.String)
L_03c6: pop
L_03c7: Label32
L_03c7: Label34
L_03c7: Label35
L_03c7: ldarg.0
L_03c8: ldfld RimWorld.Planet.Caravan_NeedsTracker needs
L_03cd: ldloca.s 9 (System.String)
L_03cf: callvirt Boolean AnyPawnOutOfFood(System.String ByRef)
L_03d4: brfalse Label36
L_03d9: ldloc.0
L_03da: callvirt System.Text.StringBuilder AppendLine()
L_03df: pop
L_03e0: ldloc.0
L_03e1: ldstr "CaravanOutOfFood"
L_03e6: call System.String Translate(System.String)
L_03eb: callvirt System.Text.StringBuilder Append(System.String)
L_03f0: pop
L_03f1: ldloc.s 9 (System.String)
L_03f3: call Boolean NullOrEmpty(System.String)
L_03f8: brtrue Label37
L_03fd: ldloc.0
L_03fe: ldstr " "
L_0403: callvirt System.Text.StringBuilder Append(System.String)
L_0408: pop
L_0409: ldloc.0
L_040a: ldloc.s 9 (System.String)
L_040c: callvirt System.Text.StringBuilder Append(System.String)
L_0411: pop
L_0412: ldloc.0
L_0413: ldstr "."
L_0418: callvirt System.Text.StringBuilder Append(System.String)
L_041d: pop
L_041e: Label36
L_041e: Label37
L_041e: ldarg.0
L_041f: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0424: callvirt Boolean get_MovingNow()
L_0429: brtrue Label38
L_042e: ldarg.0
L_042f: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_0434: callvirt Int32 GetUsedBedCount()
L_0439: stloc.s 10 (System.Int32)
L_043b: ldloc.0
L_043c: callvirt System.Text.StringBuilder AppendLine()
L_0441: pop
L_0442: ldloc.0
L_0443: ldstr "CaravanResting"
L_0448: call System.String Translate(System.String)
L_044d: ldloc.s 10 (System.Int32)
L_044f: call System.String AppendUsingBedsLabel(System.String, Int32)
L_0454: callvirt System.Text.StringBuilder Append(System.String)
L_0459: pop
L_045a: br Label39
L_045f: Label38
L_045f: ldarg.0
L_0460: ldfld RimWorld.Planet.Caravan_CarryTracker carryTracker
L_0465: callvirt System.String GetInspectStringLine()
L_046a: stloc.s 11 (System.String)
L_046c: ldloc.s 11 (System.String)
L_046e: call Boolean NullOrEmpty(System.String)
L_0473: brtrue Label40
L_0478: ldloc.0
L_0479: callvirt System.Text.StringBuilder AppendLine()
L_047e: pop
L_047f: ldloc.0
L_0480: ldloc.s 11 (System.String)
L_0482: callvirt System.Text.StringBuilder Append(System.String)
L_0487: pop
L_0488: Label40
L_0488: ldarg.0
L_0489: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_048e: callvirt System.String GetInBedForMedicalReasonsInspectStringLine()
L_0493: stloc.s 12 (System.String)
L_0495: ldloc.s 12 (System.String)
L_0497: call Boolean NullOrEmpty(System.String)
L_049c: brtrue Label41
L_04a1: ldloc.0
L_04a2: callvirt System.Text.StringBuilder AppendLine()
L_04a7: pop
L_04a8: ldloc.0
L_04a9: ldloc.s 12 (System.String)
L_04ab: callvirt System.Text.StringBuilder Append(System.String)
L_04b0: pop
L_04b1: Label39
L_04b1: Label41
L_04b1: ldloc.0
L_04b2: callvirt System.String ToString()
L_04b7: stloc 13 (System.String)
L_04b9: ldarg.0
L_04ba: ldloca 13 (System.String)
L_04bc: call Void GetInspectString_Jobs(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c1: ldarg.0
L_04c2: ldloca 13 (System.String)
L_04c4: call Void GetInspectString_PostFix(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c9: ldloc 13 (System.String)
L_04cb: ret
DONE

### Patch Verse.Pawn, Void Tick()


L_0000: Local var 0: System.Boolean
L_0000: ldsfld System.Boolean noAnimals
L_0005: brfalse Label1
L_000a: ldarg.0
L_000b: call Boolean get_Spawned()
L_0010: brfalse Label2
L_0015: ldarg.0
L_0016: call Verse.RaceProperties get_RaceProps()
L_001b: callvirt Boolean get_Animal()
L_0020: brfalse Label3
L_0025: ldarg.0
L_0026: ldc.i4.0
L_0027: callvirt Void Destroy(DestroyMode)
L_002c: br Label23
L_0031: Label1
L_0031: Label2
L_0031: Label3
L_0031: ldarg.0
L_0032: call Void Tick()
L_0037: call Verse.TickManager get_TickManager()
L_003c: callvirt Int32 get_TicksGame()
L_0041: ldc.i4 250
L_0046: rem
L_0047: brtrue Label4
L_004c: ldarg.0
L_004d: callvirt Void TickRare()
L_0052: Label4
L_0052: ldarg.0
L_0053: call Boolean get_Suspended()
L_0058: stloc.0
L_0059: ldloc.0
L_005a: brtrue Label5
L_005f: ldarg.0
L_0060: call Boolean get_Spawned()
L_0065: brfalse Label6
L_006a: ldarg.0
L_006b: ldfld Verse.AI.Pawn_PathFollower pather
L_0070: callvirt Void PatherTick()
L_0075: Label6
L_0075: ldarg.0
L_0076: call Boolean get_Spawned()
L_007b: brfalse Label7
L_0080: ldarg.0
L_0081: ldfld Verse.Pawn_StanceTracker stances
L_0086: callvirt Void StanceTrackerTick()
L_008b: ldarg.0
L_008c: ldfld Verse.VerbTracker verbTracker
L_0091: callvirt Void VerbsTick()
L_0096: ldarg.0
L_0097: ldfld RimWorld.Pawn_NativeVerbs natives
L_009c: callvirt Void NativeVerbsTick()
L_00a1: Label7
L_00a1: ldarg.0
L_00a2: call Boolean get_Spawned()
L_00a7: brfalse Label8
L_00ac: ldarg.0
L_00ad: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b2: callvirt Void JobTrackerTick()
L_00b7: Label8
L_00b7: ldarg.0
L_00b8: call Boolean get_Spawned()
L_00bd: brfalse Label9
L_00c2: ldarg.0
L_00c3: call Verse.Pawn_DrawTracker get_Drawer()
L_00c8: callvirt Void DrawTrackerTick()
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn_RotationTracker rotationTracker
L_00d3: callvirt Void RotationTrackerTick()
L_00d8: Label9
L_00d8: ldarg.0
L_00d9: ldfld Verse.Pawn_HealthTracker health
L_00de: callvirt Void HealthTick()
L_00e3: ldarg.0
L_00e4: call Boolean get_Dead()
L_00e9: brtrue Label10
L_00ee: ldarg.0
L_00ef: ldfld Verse.AI.Pawn_MindState mindState
L_00f4: callvirt Void MindStateTick()
L_00f9: ldarg.0
L_00fa: ldfld Verse.Pawn_CarryTracker carryTracker
L_00ff: callvirt Void CarryHandsTick()
L_0104: Label5
L_0104: Label10
L_0104: ldarg.0
L_0105: call Boolean get_Dead()
L_010a: brtrue Label11
L_010f: ldarg.0
L_0110: ldfld RimWorld.Pawn_NeedsTracker needs
L_0115: callvirt Void NeedsTrackerTick()
L_011a: Label11
L_011a: ldloc.0
L_011b: brtrue Label12
L_0120: ldarg.0
L_0121: ldfld Verse.Pawn_EquipmentTracker equipment
L_0126: brfalse Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_EquipmentTracker equipment
L_0131: callvirt Void EquipmentTrackerTick()
L_0136: Label13
L_0136: ldarg.0
L_0137: ldfld RimWorld.Pawn_ApparelTracker apparel
L_013c: brfalse Label14
L_0141: ldarg.0
L_0142: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0147: callvirt Void ApparelTrackerTick()
L_014c: Label14
L_014c: ldarg.0
L_014d: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0152: brfalse Label15
L_0157: ldarg.0
L_0158: call Boolean get_Spawned()
L_015d: brfalse Label16
L_0162: ldarg.0
L_0163: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0168: callvirt Void InteractionsTrackerTick()
L_016d: Label15
L_016d: Label16
L_016d: ldarg.0
L_016e: ldfld Verse.Pawn_CallTracker caller
L_0173: brfalse Label17
L_0178: ldarg.0
L_0179: ldfld Verse.Pawn_CallTracker caller
L_017e: callvirt Void CallTrackerTick()
L_0183: Label17
L_0183: ldarg.0
L_0184: ldfld RimWorld.Pawn_SkillTracker skills
L_0189: brfalse Label18
L_018e: ldarg.0
L_018f: ldfld RimWorld.Pawn_SkillTracker skills
L_0194: callvirt Void SkillsTick()
L_0199: Label18
L_0199: ldarg.0
L_019a: ldfld Verse.Pawn_InventoryTracker inventory
L_019f: brfalse Label19
L_01a4: ldarg.0
L_01a5: ldfld Verse.Pawn_InventoryTracker inventory
L_01aa: callvirt Void InventoryTrackerTick()
L_01af: Label19
L_01af: ldarg.0
L_01b0: ldfld RimWorld.Pawn_DraftController drafter
L_01b5: brfalse Label20
L_01ba: ldarg.0
L_01bb: ldfld RimWorld.Pawn_DraftController drafter
L_01c0: callvirt Void DraftControllerTick()
L_01c5: Label20
L_01c5: ldarg.0
L_01c6: ldfld RimWorld.Pawn_RelationsTracker relations
L_01cb: brfalse Label21
L_01d0: ldarg.0
L_01d1: ldfld RimWorld.Pawn_RelationsTracker relations
L_01d6: callvirt Void RelationsTrackerTick()
L_01db: Label21
L_01db: ldarg.0
L_01dc: call Verse.RaceProperties get_RaceProps()
L_01e1: callvirt Boolean get_Humanlike()
L_01e6: brfalse Label22
L_01eb: ldarg.0
L_01ec: ldfld RimWorld.Pawn_GuestTracker guest
L_01f1: callvirt Void GuestTrackerTick()
L_01f6: Label22
L_01f6: ldarg.0
L_01f7: ldfld Verse.Pawn_AgeTracker ageTracker
L_01fc: callvirt Void AgeTick()
L_0201: ldarg.0
L_0202: ldfld RimWorld.Pawn_RecordsTracker records
L_0207: callvirt Void RecordsTick()
L_020c: Label12
L_020c: Label23
L_020c: ldarg.0
L_020d: call Void Patch_Pawn_Tick(Verse.Pawn)
L_0212: ret
DONE

### Patch Verse.PawnGenerator, Void GenerateGearFor(Verse.Pawn,


PawnGenerationRequest)
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void GenerateStartingApparelFor(Verse.Pawn, PawnGenerationRequest)
L_0007: ldarg.0
L_0008: call Void TryGenerateWeaponFor(Verse.Pawn)
L_000d: ldarg.0
L_000e: ldarg.1
L_000f: call Void GenerateInventoryFor(Verse.Pawn, PawnGenerationRequest)
L_0014: ldarg 0
L_001a: ldarga 1
L_0020: call Void Patch_PawnGenerator_GenerateGearFor(Verse.Pawn,
PawnGenerationRequest ByRef)
L_0025: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ret
DONE

### Patch Verse.Pawn_HealthTracker, Void PreApplyDamage(DamageInfo, Boolean ByRef)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarga 1
L_0007: ldarg 2
L_000d: call Boolean PreApplyDamage_PrePatch(Verse.Pawn_HealthTracker, DamageInfo
ByRef, Boolean ByRef)
L_0012: brfalse Label0
L_0017: ldarg.0
L_0018: ldarga 1
L_001e: ldarg 2
L_0024: call Boolean
Patch_Pawn_HealthTracker_PreApplyDamage(Verse.Pawn_HealthTracker, DamageInfo ByRef,
Boolean ByRef)
L_0029: brfalse Label0
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Instigator()
L_0035: brfalse Label1
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt RimWorld.Faction get_Faction()
L_0045: brfalse Label2
L_004a: ldarg.0
L_004b: ldfld Verse.Pawn pawn
L_0050: callvirt RimWorld.Faction get_Faction()
L_0055: callvirt Boolean get_IsPlayer()
L_005a: brfalse Label3
L_005f: ldarg.0
L_0060: ldfld Verse.Pawn pawn
L_0065: callvirt Boolean get_InAggroMentalState()
L_006a: brtrue Label4
L_006f: ldarga.s 1
L_0071: call Verse.Thing get_Instigator()
L_0076: isinst Verse.Pawn
L_007b: stloc.0
L_007c: ldloc.0
L_007d: brfalse Label5
L_0082: ldloc.0
L_0083: ldfld RimWorld.Pawn_GuiltTracker guilt
L_0088: brfalse Label6
L_008d: ldloc.0
L_008e: ldfld Verse.AI.Pawn_MindState mindState
L_0093: brfalse Label7
L_0098: ldloc.0
L_0099: ldfld RimWorld.Pawn_GuiltTracker guilt
L_009e: callvirt Void Notify_Guilty()
L_00a3: Label1
L_00a3: Label2
L_00a3: Label3
L_00a3: Label4
L_00a3: Label5
L_00a3: Label6
L_00a3: Label7
L_00a3: ldarg.0
L_00a4: ldfld Verse.Pawn pawn
L_00a9: callvirt Boolean get_Spawned()
L_00ae: brfalse Label8
L_00b3: ldarg.0
L_00b4: ldfld Verse.Pawn pawn
L_00b9: callvirt IntVec3 get_Position()
L_00be: ldarg.0
L_00bf: ldfld Verse.Pawn pawn
L_00c4: callvirt Verse.Map get_Map()
L_00c9: call Boolean Fogged(IntVec3, Verse.Map)
L_00ce: brtrue Label9
L_00d3: ldarg.0
L_00d4: ldfld Verse.Pawn pawn
L_00d9: ldfld Verse.AI.Pawn_MindState mindState
L_00de: ldc.i4.1
L_00df: callvirt Void set_Active(Boolean)
L_00e4: Label9
L_00e4: ldarg.0
L_00e5: ldfld Verse.Pawn pawn
L_00ea: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00ef: stloc.1
L_00f0: ldloc.1
L_00f1: brfalse Label10
L_00f6: ldloc.1
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: ldarg.1
L_00fe: callvirt Void Notify_PawnDamaged(Verse.Pawn, DamageInfo)
L_0103: Label10
L_0103: ldarga.s 1
L_0105: call Verse.DamageDef get_Def()
L_010a: ldarg.0
L_010b: ldfld Verse.Pawn pawn
L_0110: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0115: brfalse Label11
L_011a: ldarg.0
L_011b: ldfld Verse.Pawn pawn
L_0120: ldc.r4 18
L_0125: ldsfld Verse.ClamorDef Harm
L_012a: call Void DoClamor(Verse.Thing, Single, Verse.ClamorDef)
L_012f: Label11
L_012f: ldarg.0
L_0130: ldfld Verse.Pawn pawn
L_0135: ldfld Verse.AI.Pawn_JobTracker jobs
L_013a: ldarg.1
L_013b: callvirt Void Notify_DamageTaken(DamageInfo)
L_0140: Label8
L_0140: ldarg.0
L_0141: ldfld Verse.Pawn pawn
L_0146: callvirt RimWorld.Faction get_Faction()
L_014b: brfalse Label12
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: callvirt RimWorld.Faction get_Faction()
L_015b: ldarg.0
L_015c: ldfld Verse.Pawn pawn
L_0161: ldarg.1
L_0162: callvirt Void Notify_MemberTookDamage(Verse.Pawn, DamageInfo)
L_0167: call ProgramState get_ProgramState()
L_016c: ldc.i4.2
L_016d: bne.un Label13
L_0172: ldarg.0
L_0173: ldfld Verse.Pawn pawn
L_0178: callvirt RimWorld.Faction get_Faction()
L_017d: call RimWorld.Faction get_OfPlayer()
L_0182: bne.un Label14
L_0187: ldarga.s 1
L_0189: call Verse.DamageDef get_Def()
L_018e: ldarg.0
L_018f: ldfld Verse.Pawn pawn
L_0194: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0199: brfalse Label15
L_019e: ldarg.0
L_019f: ldfld Verse.Pawn pawn
L_01a4: callvirt Boolean get_SpawnedOrAnyParentSpawned()
L_01a9: brfalse Label16
L_01ae: ldarg.0
L_01af: ldfld Verse.Pawn pawn
L_01b4: callvirt Verse.Map get_MapHeld()
L_01b9: ldfld RimWorld.DangerWatcher dangerWatcher
L_01be: callvirt Void Notify_ColonistHarmedExternally()
L_01c3: Label12
L_01c3: Label13
L_01c3: Label14
L_01c3: Label15
L_01c3: Label16
L_01c3: ldarg.0
L_01c4: ldfld Verse.Pawn pawn
L_01c9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ce: brfalse Label17
L_01d3: ldarg.0
L_01d4: ldfld Verse.Pawn pawn
L_01d9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01de: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_01e3: stloc.2
L_01e4: ldc.i4.0
L_01e5: stloc.3
L_01e6: br Label18
L_01eb: Label20
L_01eb: ldloc.2
L_01ec: ldloc.3
L_01ed: callvirt RimWorld.Apparel get_Item(Int32)
L_01f2: ldarg.1
L_01f3: callvirt Boolean CheckPreAbsorbDamage(DamageInfo)
L_01f8: brfalse Label19
L_01fd: ldarg.2
L_01fe: ldc.i4.1
L_01ff: stind.i1
L_0200: br Label32
L_0205: Label19
L_0205: ldloc.3
L_0206: ldc.i4.1
L_0207: add
L_0208: stloc.3
L_0209: Label18
L_0209: ldloc.3
L_020a: ldloc.2
L_020b: callvirt Int32 get_Count()
L_0210: blt Label20
L_0215: Label17
L_0215: ldarg.0
L_0216: ldfld Verse.Pawn pawn
L_021b: callvirt Boolean get_Spawned()
L_0220: brfalse Label21
L_0225: ldarg.0
L_0226: ldfld Verse.Pawn pawn
L_022b: ldfld Verse.Pawn_StanceTracker stances
L_0230: ldarg.1
L_0231: callvirt Void Notify_DamageTaken(DamageInfo)
L_0236: ldarg.0
L_0237: ldfld Verse.Pawn pawn
L_023c: ldfld Verse.Pawn_StanceTracker stances
L_0241: ldfld RimWorld.StunHandler stunner
L_0246: ldarg.1
L_0247: ldarg.0
L_0248: ldfld Verse.Pawn pawn
L_024d: callvirt Verse.RaceProperties get_RaceProps()
L_0252: callvirt Boolean get_IsFlesh()
L_0257: ldc.i4.0
L_0258: ceq
L_025a: callvirt Void Notify_DamageApplied(DamageInfo, Boolean)
L_025f: Label21
L_025f: ldarg.0
L_0260: ldfld Verse.Pawn pawn
L_0265: callvirt Verse.RaceProperties get_RaceProps()
L_026a: callvirt Boolean get_IsFlesh()
L_026f: brfalse Label22
L_0274: ldarga.s 1
L_0276: call Verse.DamageDef get_Def()
L_027b: ldarg.0
L_027c: ldfld Verse.Pawn pawn
L_0281: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0286: brfalse Label23
L_028b: ldarga.s 1
L_028d: call Verse.Thing get_Instigator()
L_0292: isinst Verse.Pawn
L_0297: stloc.s 4 (Verse.Pawn)
L_0299: ldloc.s 4 (Verse.Pawn)
L_029b: brfalse Label24
L_02a0: ldloc.s 4 (Verse.Pawn)
L_02a2: ldarg.0
L_02a3: ldfld Verse.Pawn pawn
L_02a8: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_02ad: brfalse Label25
L_02b2: ldarg.0
L_02b3: ldfld Verse.Pawn pawn
L_02b8: ldfld RimWorld.Pawn_RelationsTracker relations
L_02bd: ldc.i4.1
L_02be: stfld System.Boolean canGetRescuedThought
L_02c3: Label25
L_02c3: ldarg.0
L_02c4: ldfld Verse.Pawn pawn
L_02c9: callvirt Verse.RaceProperties get_RaceProps()
L_02ce: callvirt Boolean get_Humanlike()
L_02d3: brfalse Label26
L_02d8: ldloc.s 4 (Verse.Pawn)
L_02da: callvirt Verse.RaceProperties get_RaceProps()
L_02df: callvirt Boolean get_Humanlike()
L_02e4: brfalse Label27
L_02e9: ldarg.0
L_02ea: ldfld Verse.Pawn pawn
L_02ef: ldfld RimWorld.Pawn_NeedsTracker needs
L_02f4: ldfld RimWorld.Need_Mood mood
L_02f9: brfalse Label28
L_02fe: ldloc.s 4 (Verse.Pawn)
L_0300: ldarg.0
L_0301: ldfld Verse.Pawn pawn
L_0306: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_030b: brfalse Label29
L_0310: ldloc.s 4 (Verse.Pawn)
L_0312: callvirt RimWorld.Faction get_Faction()
L_0317: ldarg.0
L_0318: ldfld Verse.Pawn pawn
L_031d: callvirt RimWorld.Faction get_Faction()
L_0322: bne.un Label30
L_0327: ldloc.s 4 (Verse.Pawn)
L_0329: callvirt Boolean get_InMentalState()
L_032e: brfalse Label31
L_0333: Label29
L_0333: ldarg.0
L_0334: ldfld Verse.Pawn pawn
L_0339: ldfld RimWorld.Pawn_NeedsTracker needs
L_033e: ldfld RimWorld.Need_Mood mood
L_0343: ldfld RimWorld.ThoughtHandler thoughts
L_0348: ldfld RimWorld.MemoryThoughtHandler memories
L_034d: ldsfld RimWorld.ThoughtDef HarmedMe
L_0352: ldloc.s 4 (Verse.Pawn)
L_0354: callvirt Void TryGainMemory(RimWorld.ThoughtDef, Verse.Pawn)
L_0359: Label24
L_0359: Label26
L_0359: Label27
L_0359: Label28
L_0359: Label30
L_0359: Label31
L_0359: ldsfld RimWorld.TaleDef Wounded
L_035e: ldc.i4.3
L_035f: newarr System.Object
L_0364: dup
L_0365: ldc.i4.0
L_0366: ldarg.0
L_0367: ldfld Verse.Pawn pawn
L_036c: stelem.ref
L_036d: dup
L_036e: ldc.i4.1
L_036f: ldloc.s 4 (Verse.Pawn)
L_0371: stelem.ref
L_0372: dup
L_0373: ldc.i4.2
L_0374: ldarga.s 1
L_0376: call Verse.ThingDef get_Weapon()
L_037b: stelem.ref
L_037c: call RimWorld.Tale RecordTale(RimWorld.TaleDef, System.Object[])
L_0381: pop
L_0382: Label22
L_0382: Label23
L_0382: ldarg.2
L_0383: ldc.i4.0
L_0384: stind.i1
L_0385: Label32
L_0385: Label0
L_0385: ret
DONE

### Patch Verse.Pawn_EquipmentTracker, Void MakeRoomFor(Verse.ThingWithComps)


L_0000: Local var 0: Verse.ThingWithComps
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld Verse.EquipmentType equipmentType
L_000b: ldc.i4.1
L_000c: bne.un Label1
L_0011: ldarg.0
L_0012: call Verse.ThingWithComps get_Primary()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: ldarg.0
L_001e: call Verse.ThingWithComps get_Primary()
L_0023: ldloca.s 0 (Verse.ThingWithComps)
L_0025: ldarg.0
L_0026: ldfld Verse.Pawn pawn
L_002b: callvirt IntVec3 get_Position()
L_0030: ldc.i4.1
L_0031: call Boolean TryDropEquipment(Verse.ThingWithComps, Verse.ThingWithComps
ByRef, IntVec3, Boolean)
L_0036: brfalse Label3
L_003b: ldloc.0
L_003c: brfalse Label4
L_0041: ldloc.0
L_0042: ldc.i4.0
L_0043: ldc.i4.1
L_0044: call Void SetForbidden(Verse.Thing, Boolean, Boolean)
L_0049: Label4
L_0049: br Label5
L_004e: Label3
L_004e: ldarg.0
L_004f: ldfld Verse.Pawn pawn
L_0054: ldstr " couldn't make room for equipment "
L_0059: ldarg.1
L_005a: call System.String Concat(System.Object, System.Object, System.Object)
L_005f: ldc.i4.0
L_0060: call Void Error(System.String, Boolean)
L_0065: Label1
L_0065: Label2
L_0065: Label5
L_0065: ldarg.0
L_0066: ldarga 1
L_006c: call Void
Patch_Pawn_EquipmentTracker_MakeRoomFor(Verse.Pawn_EquipmentTracker,
Verse.ThingWithComps ByRef)
L_0071: ret
DONE

### Patch RimWorld.StatWorker, System.String GetExplanationUnfinalized(StatRequest,


ToStringNumberSense)
L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.SkillNeed
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Single
L_0000: Local var 7: RimWorld.PawnCapacityOffset
L_0000: Local var 8:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityOffset, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Single
L_0000: Local var 11: System.Single
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: Local var 14: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 15: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 16: System.Int32
L_0000: Local var 17: RimWorld.Trait
L_0000: Local var 18: System.String
L_0000: Local var 19: System.Int32
L_0000: Local var 20: RimWorld.Trait
L_0000: Local var 21: System.String
L_0000: Local var 22: System.Int32
L_0000: Local var 23: RimWorld.Apparel
L_0000: Local var 24: System.Boolean
L_0000: Local var 25: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 26: System.Int32
L_0000: Local var 27: Verse.HediffStage
L_0000: Local var 28: System.Single
L_0000: Local var 29: System.Single
L_0000: Local var 30: System.Single
L_0000: Local var 31: System.Single
L_0000: Local var 32: RimWorld.CompAffectedByFacilities
L_0000: Local var 33: System.Int32
L_0000: Local var 34: RimWorld.StatDef
L_0000: Local var 35: System.Int32
L_0000: Local var 36: RimWorld.SkillNeed
L_0000: Local var 37: System.Int32
L_0000: Local var 38: RimWorld.PawnCapacityFactor
L_0000: Local var 39:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityFactor, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 40: System.String
L_0000: Local var 41: System.Single
L_0000: Local var 42: System.String
L_0000: Local var 43: System.String
L_0000: Local var 44: System.Single
L_0000: Local var 45: System.Single
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldarg.0
L_0007: ldarga.s 1
L_0009: call Verse.BuildableDef get_Def()
L_000e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0013: stloc.1
L_0014: ldloc.1
L_0015: ldc.r4 0
L_001a: beq Label1
L_001f: ldloc.0
L_0020: ldstr "StatsReport_BaseValue"
L_0025: call System.String Translate(System.String)
L_002a: ldstr ": "
L_002f: ldarg.0
L_0030: ldfld RimWorld.StatDef stat
L_0035: ldloc.1
L_0036: ldarg.2
L_0037: callvirt System.String ValueToString(Single, ToStringNumberSense)
L_003c: call System.String Concat(System.String, System.String, System.String)
L_0041: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0046: pop
L_0047: ldloc.0
L_0048: callvirt System.Text.StringBuilder AppendLine()
L_004d: pop
L_004e: Label1
L_004e: ldarga.s 1
L_0050: call Verse.Thing get_Thing()
L_0055: isinst Verse.Pawn
L_005a: stloc.2
L_005b: ldloc.2
L_005c: brfalse Label2
L_0061: ldloc.2
L_0062: ldfld RimWorld.Pawn_SkillTracker skills
L_0067: brfalse Label3
L_006c: ldarg.0
L_006d: ldfld RimWorld.StatDef stat
L_0072: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0077: brfalse Label4
L_007c: ldloc.0
L_007d: ldstr "StatsReport_Skills"
L_0082: call System.String Translate(System.String)
L_0087: callvirt System.Text.StringBuilder AppendLine(System.String)
L_008c: pop
L_008d: ldc.i4.0
L_008e: stloc.3
L_008f: br Label5
L_0094: Label6
L_0094: ldarg.0
L_0095: ldfld RimWorld.StatDef stat
L_009a: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_009f: ldloc.3
L_00a0: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00a5: stloc.s 4 (RimWorld.SkillNeed)
L_00a7: ldloc.2
L_00a8: ldfld RimWorld.Pawn_SkillTracker skills
L_00ad: ldloc.s 4 (RimWorld.SkillNeed)
L_00af: ldfld RimWorld.SkillDef skill
L_00b4: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_00b9: callvirt Int32 get_Level()
L_00be: stloc.s 5 (System.Int32)
L_00c0: ldloc.s 4 (RimWorld.SkillNeed)
L_00c2: ldloc.2
L_00c3: callvirt Single ValueFor(Verse.Pawn)
L_00c8: stloc.s 6 (System.Single)
L_00ca: ldloc.0
L_00cb: ldc.i4.7
L_00cc: newarr System.Object
L_00d1: dup
L_00d2: ldc.i4.0
L_00d3: ldstr " "
L_00d8: stelem.ref
L_00d9: dup
L_00da: ldc.i4.1
L_00db: ldloc.s 4 (RimWorld.SkillNeed)
L_00dd: ldfld RimWorld.SkillDef skill
L_00e2: callvirt System.String get_LabelCap()
L_00e7: stelem.ref
L_00e8: dup
L_00e9: ldc.i4.2
L_00ea: ldstr " ("
L_00ef: stelem.ref
L_00f0: dup
L_00f1: ldc.i4.3
L_00f2: ldloc.s 5 (System.Int32)
L_00f4: box System.Int32
L_00f9: stelem.ref
L_00fa: dup
L_00fb: ldc.i4.4
L_00fc: ldstr "): "
L_0101: stelem.ref
L_0102: dup
L_0103: ldc.i4.5
L_0104: ldloc.s 6 (System.Single)
L_0106: call System.String ToStringSign(Single)
L_010b: stelem.ref
L_010c: dup
L_010d: ldc.i4.6
L_010e: ldarg.0
L_010f: ldloc.s 6 (System.Single)
L_0111: ldc.i4.0
L_0112: ldc.i4.1
L_0113: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0118: stelem.ref
L_0119: call System.String Concat(System.Object[])
L_011e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0123: pop
L_0124: ldloc.3
L_0125: ldc.i4.1
L_0126: add
L_0127: stloc.3
L_0128: Label5
L_0128: ldloc.3
L_0129: ldarg.0
L_012a: ldfld RimWorld.StatDef stat
L_012f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0134: callvirt Int32 get_Count()
L_0139: blt Label6
L_013e: ldloc.0
L_013f: callvirt System.Text.StringBuilder AppendLine()
L_0144: pop
L_0145: Label4
L_0145: br Label7
L_014a: Label3
L_014a: ldarg.0
L_014b: ldfld RimWorld.StatDef stat
L_0150: ldfld System.Single noSkillOffset
L_0155: ldc.r4 0
L_015a: beq Label8
L_015f: ldloc.0
L_0160: ldstr "StatsReport_Skills"
L_0165: call System.String Translate(System.String)
L_016a: callvirt System.Text.StringBuilder AppendLine(System.String)
L_016f: pop
L_0170: ldloc.0
L_0171: ldc.i4.5
L_0172: newarr System.String
L_0177: dup
L_0178: ldc.i4.0
L_0179: ldstr " "
L_017e: stelem.ref
L_017f: dup
L_0180: ldc.i4.1
L_0181: ldstr "default"
L_0186: call System.String Translate(System.String)
L_018b: call System.String CapitalizeFirst(System.String)
L_0190: stelem.ref
L_0191: dup
L_0192: ldc.i4.2
L_0193: ldstr " : "
L_0198: stelem.ref
L_0199: dup
L_019a: ldc.i4.3
L_019b: ldarg.0
L_019c: ldfld RimWorld.StatDef stat
L_01a1: ldfld System.Single noSkillOffset
L_01a6: call System.String ToStringSign(Single)
L_01ab: stelem.ref
L_01ac: dup
L_01ad: ldc.i4.4
L_01ae: ldarg.0
L_01af: ldarg.0
L_01b0: ldfld RimWorld.StatDef stat
L_01b5: ldfld System.Single noSkillOffset
L_01ba: ldc.i4.0
L_01bb: ldc.i4.1
L_01bc: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_01c1: stelem.ref
L_01c2: call System.String Concat(System.String[])
L_01c7: callvirt System.Text.StringBuilder AppendLine(System.String)
L_01cc: pop
L_01cd: ldloc.0
L_01ce: callvirt System.Text.StringBuilder AppendLine()
L_01d3: pop
L_01d4: Label7
L_01d4: Label8
L_01d4: ldarg.0
L_01d5: ldfld RimWorld.StatDef stat
L_01da: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_01df: brfalse Label9
L_01e4: ldloc.0
L_01e5: ldstr "StatsReport_Health"
L_01ea: call Boolean CanTranslate(System.String)
L_01ef: brfalse Label10
L_01f4: ldstr "StatsReport_Health"
L_01f9: call System.String Translate(System.String)
L_01fe: br Label11
L_0203: Label10
L_0203: ldstr "StatsReport_HealthFactors"
L_0208: call System.String Translate(System.String)
L_020d: Label11
L_020d: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0212: pop
L_0213: ldarg.0
L_0214: ldfld RimWorld.StatDef stat
L_0219: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_021e: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0223: brtrue Label12
L_0228: ldnull
L_0229: ldftn Int32 <GetExplanationUnfinalized>m__0(RimWorld.PawnCapacityOffset)
L_022f: newobj Void .ctor(Object, IntPtr)
L_0234: stsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0239: Label12
L_0239: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_023e: call IOrderedEnumerable`1 OrderBy[PawnCapacityOffset,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityOffset,System.Int32])
L_0243: callvirt IEnumerator`1 GetEnumerator()
L_0248: stloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
.try
{
L_024a: br Label13
L_024f: Label15
L_024f: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_0251: callvirt RimWorld.PawnCapacityOffset get_Current()
L_0256: stloc.s 7 (RimWorld.PawnCapacityOffset)
L_0258: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_025a: ldfld Verse.PawnCapacityDef capacity
L_025f: ldloc.2
L_0260: callvirt System.String GetLabelFor(Verse.Pawn)
L_0265: call System.String CapitalizeFirst(System.String)
L_026a: stloc.s 9 (System.String)
L_026c: ldloc.2
L_026d: ldfld Verse.Pawn_HealthTracker health
L_0272: ldfld Verse.PawnCapacitiesHandler capacities
L_0277: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0279: ldfld Verse.PawnCapacityDef capacity
L_027e: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0283: stloc.s 10 (System.Single)
L_0285: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0287: ldloc.2
L_0288: ldfld Verse.Pawn_HealthTracker health
L_028d: ldfld Verse.PawnCapacitiesHandler capacities
L_0292: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0294: ldfld Verse.PawnCapacityDef capacity
L_0299: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_029e: callvirt Single GetOffset(Single)
L_02a3: stloc.s 11 (System.Single)
L_02a5: ldarg.0
L_02a6: ldloc.s 11 (System.Single)
L_02a8: ldc.i4.0
L_02a9: ldc.i4.1
L_02aa: call System.String ValueToString(Single, Boolean,
ToStringNumberSense)
L_02af: stloc.s 12 (System.String)
L_02b1: ldloc.s 10 (System.Single)
L_02b3: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02b5: ldfld System.Single max
L_02ba: call Single Min(Single, Single)
L_02bf: call System.String ToStringPercent(Single)
L_02c4: ldstr ", "
L_02c9: ldstr "HealthOffsetScale"
L_02ce: ldc.i4.1
L_02cf: newarr System.Object
L_02d4: dup
L_02d5: ldc.i4.0
L_02d6: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02d8: ldflda System.Single scale
L_02dd: constrained. System.Single
L_02e3: callvirt System.String ToString()
L_02e8: ldstr "x"
L_02ed: call System.String Concat(System.String, System.String)
L_02f2: stelem.ref
L_02f3: call System.String Translate(System.String, System.Object[])
L_02f8: call System.String Concat(System.String, System.String,
System.String)
L_02fd: stloc.s 13 (System.String)
L_02ff: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0301: ldfld System.Single max
L_0306: ldc.r4 999
L_030b: bge.un Label14
L_0310: ldloc.s 13 (System.String)
L_0312: ldstr ", "
L_0317: ldstr "HealthFactorMaxImpact"
L_031c: ldc.i4.1
L_031d: newarr System.Object
L_0322: dup
L_0323: ldc.i4.0
L_0324: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0326: ldfld System.Single max
L_032b: call System.String ToStringPercent(Single)
L_0330: stelem.ref
L_0331: call System.String Translate(System.String, System.Object[])
L_0336: call System.String Concat(System.String, System.String,
System.String)
L_033b: stloc.s 13 (System.String)
L_033d: Label14
L_033d: ldloc.0
L_033e: ldc.i4.8
L_033f: newarr System.String
L_0344: dup
L_0345: ldc.i4.0
L_0346: ldstr " "
L_034b: stelem.ref
L_034c: dup
L_034d: ldc.i4.1
L_034e: ldloc.s 9 (System.String)
L_0350: stelem.ref
L_0351: dup
L_0352: ldc.i4.2
L_0353: ldstr ": "
L_0358: stelem.ref
L_0359: dup
L_035a: ldc.i4.3
L_035b: ldloc.s 11 (System.Single)
L_035d: call System.String ToStringSign(Single)
L_0362: stelem.ref
L_0363: dup
L_0364: ldc.i4.4
L_0365: ldloc.s 12 (System.String)
L_0367: stelem.ref
L_0368: dup
L_0369: ldc.i4.5
L_036a: ldstr " ("
L_036f: stelem.ref
L_0370: dup
L_0371: ldc.i4.6
L_0372: ldloc.s 13 (System.String)
L_0374: stelem.ref
L_0375: dup
L_0376: ldc.i4.7
L_0377: ldstr ")"
L_037c: stelem.ref
L_037d: call System.String Concat(System.String[])
L_0382: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0387: pop
L_0388: Label13
L_0388: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_038a: callvirt Boolean MoveNext()
L_038f: brtrue Label15
L_0394: leave Label16
L_0399: leave (autogenerated)
} // end try
.finally
{
L_039e: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a0: brfalse Label17
L_03a5: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a7: callvirt Void Dispose()
L_03ac: Label17
L_03ac: endfinally
L_03ad: leave (autogenerated)
} // end handler
L_03ae: Label16
L_03ae: ldloc.0
L_03af: callvirt System.Text.StringBuilder AppendLine()
L_03b4: pop
L_03b5: Label9
L_03b5: ldloc.2
L_03b6: callvirt Verse.RaceProperties get_RaceProps()
L_03bb: ldfld Verse.Intelligence intelligence
L_03c0: ldc.i4.1
L_03c1: blt Label18
L_03c6: ldloc.2
L_03c7: ldfld RimWorld.Pawn_StoryTracker story
L_03cc: brfalse Label19
L_03d1: ldloc.2
L_03d2: ldfld RimWorld.Pawn_StoryTracker story
L_03d7: ldfld RimWorld.TraitSet traits
L_03dc: brfalse Label20
L_03e1: ldloc.2
L_03e2: ldfld RimWorld.Pawn_StoryTracker story
L_03e7: ldfld RimWorld.TraitSet traits
L_03ec: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_03f1: ldarg.0
L_03f2: ldftn Boolean <GetExplanationUnfinalized>m__1(RimWorld.Trait)
L_03f8: newobj Void .ctor(Object, IntPtr)
L_03fd: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_0402: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_0407: stloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0409: ldloc.2
L_040a: ldfld RimWorld.Pawn_StoryTracker story
L_040f: ldfld RimWorld.TraitSet traits
L_0414: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0419: ldarg.0
L_041a: ldftn Boolean <GetExplanationUnfinalized>m__2(RimWorld.Trait)
L_0420: newobj Void .ctor(Object, IntPtr)
L_0425: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_042a: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_042f: stloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0431: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0433: callvirt Int32 get_Count()
L_0438: ldc.i4.0
L_0439: bgt Label21
L_043e: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0440: callvirt Int32 get_Count()
L_0445: ldc.i4.0
L_0446: ble Label22
L_044b: Label21
L_044b: ldloc.0
L_044c: ldstr "StatsReport_RelevantTraits"
L_0451: call System.String Translate(System.String)
L_0456: callvirt System.Text.StringBuilder AppendLine(System.String)
L_045b: pop
L_045c: ldc.i4.0
L_045d: stloc.s 16 (System.Int32)
L_045f: br Label23
L_0464: Label24
L_0464: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0466: ldloc.s 16 (System.Int32)
L_0468: callvirt RimWorld.Trait get_Item(Int32)
L_046d: stloc.s 17 (RimWorld.Trait)
L_046f: ldloc.s 17 (RimWorld.Trait)
L_0471: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_0476: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_047b: ldarg.0
L_047c: ldftn Boolean <GetExplanationUnfinalized>m__3(RimWorld.StatModifier)
L_0482: newobj Void .ctor(Object, IntPtr)
L_0487: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_048c: callvirt System.String get_ValueToStringAsOffset()
L_0491: stloc.s 18 (System.String)
L_0493: ldloc.0
L_0494: ldstr " "
L_0499: ldloc.s 17 (RimWorld.Trait)
L_049b: callvirt System.String get_LabelCap()
L_04a0: ldstr ": "
L_04a5: ldloc.s 18 (System.String)
L_04a7: call System.String Concat(System.String, System.String, System.String,
System.String)
L_04ac: callvirt System.Text.StringBuilder AppendLine(System.String)
L_04b1: pop
L_04b2: ldloc.s 16 (System.Int32)
L_04b4: ldc.i4.1
L_04b5: add
L_04b6: stloc.s 16 (System.Int32)
L_04b8: Label23
L_04b8: ldloc.s 16 (System.Int32)
L_04ba: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04bc: callvirt Int32 get_Count()
L_04c1: blt Label24
L_04c6: ldc.i4.0
L_04c7: stloc.s 19 (System.Int32)
L_04c9: br Label25
L_04ce: Label26
L_04ce: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04d0: ldloc.s 19 (System.Int32)
L_04d2: callvirt RimWorld.Trait get_Item(Int32)
L_04d7: stloc.s 20 (RimWorld.Trait)
L_04d9: ldloc.s 20 (RimWorld.Trait)
L_04db: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_04e0: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_04e5: ldarg.0
L_04e6: ldftn Boolean <GetExplanationUnfinalized>m__4(RimWorld.StatModifier)
L_04ec: newobj Void .ctor(Object, IntPtr)
L_04f1: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_04f6: callvirt System.String get_ToStringAsFactor()
L_04fb: stloc.s 21 (System.String)
L_04fd: ldloc.0
L_04fe: ldstr " "
L_0503: ldloc.s 20 (RimWorld.Trait)
L_0505: callvirt System.String get_LabelCap()
L_050a: ldstr ": "
L_050f: ldloc.s 21 (System.String)
L_0511: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0516: callvirt System.Text.StringBuilder AppendLine(System.String)
L_051b: pop
L_051c: ldloc.s 19 (System.Int32)
L_051e: ldc.i4.1
L_051f: add
L_0520: stloc.s 19 (System.Int32)
L_0522: Label25
L_0522: ldloc.s 19 (System.Int32)
L_0524: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0526: callvirt Int32 get_Count()
L_052b: blt Label26
L_0530: ldloc.0
L_0531: callvirt System.Text.StringBuilder AppendLine()
L_0536: pop
L_0537: Label19
L_0537: Label20
L_0537: Label22
L_0537: ldloc.2
L_0538: ldarg.0
L_0539: ldfld RimWorld.StatDef stat
L_053e: call IEnumerable`1 RelevantGear(Verse.Pawn, RimWorld.StatDef)
L_0543: call Boolean Any[Thing](IEnumerable`1)
L_0548: brfalse Label27
L_054d: ldloc.0
L_054e: ldstr "StatsReport_RelevantGear"
L_0553: call System.String Translate(System.String)
L_0558: callvirt System.Text.StringBuilder AppendLine(System.String)
L_055d: pop
L_055e: ldloc.2
L_055f: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0564: brfalse Label28
L_0569: ldc.i4.0
L_056a: stloc.s 22 (System.Int32)
L_056c: br Label29
L_0571: Label30
L_0571: ldloc.2
L_0572: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0577: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_057c: ldloc.s 22 (System.Int32)
L_057e: callvirt RimWorld.Apparel get_Item(Int32)
L_0583: stloc.s 23 (RimWorld.Apparel)
L_0585: ldloc.0
L_0586: ldloc.s 23 (RimWorld.Apparel)
L_0588: ldarg.0
L_0589: ldfld RimWorld.StatDef stat
L_058e: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_0593: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0598: pop
L_0599: ldloc.s 22 (System.Int32)
L_059b: ldc.i4.1
L_059c: add
L_059d: stloc.s 22 (System.Int32)
L_059f: Label29
L_059f: ldloc.s 22 (System.Int32)
L_05a1: ldloc.2
L_05a2: ldfld RimWorld.Pawn_ApparelTracker apparel
L_05a7: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_05ac: callvirt Int32 get_Count()
L_05b1: blt Label30
L_05b6: Label28
L_05b6: ldloc.2
L_05b7: ldfld Verse.Pawn_EquipmentTracker equipment
L_05bc: brfalse Label31
L_05c1: ldloc.2
L_05c2: ldfld Verse.Pawn_EquipmentTracker equipment
L_05c7: callvirt Verse.ThingWithComps get_Primary()
L_05cc: brfalse Label32
L_05d1: ldloc.0
L_05d2: ldloc.2
L_05d3: ldfld Verse.Pawn_EquipmentTracker equipment
L_05d8: callvirt Verse.ThingWithComps get_Primary()
L_05dd: ldarg.0
L_05de: ldfld RimWorld.StatDef stat
L_05e3: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_05e8: callvirt System.Text.StringBuilder AppendLine(System.String)
L_05ed: pop
L_05ee: ldloc.0
L_05ef: ldloc.2
L_05f0: ldarg.0
L_05f1: ldfld RimWorld.StatDef stat
L_05f6: call Void StatWorkerInjection_BuildShieldString(System.Text.StringBuilder,
Verse.Pawn, RimWorld.StatDef)
L_05fb: Label31
L_05fb: Label32
L_05fb: ldloc.0
L_05fc: callvirt System.Text.StringBuilder AppendLine()
L_0601: pop
L_0602: Label18
L_0602: Label27
L_0602: ldc.i4.0
L_0603: stloc.s 24 (System.Boolean)
L_0605: ldloc.2
L_0606: ldfld Verse.Pawn_HealthTracker health
L_060b: ldfld Verse.HediffSet hediffSet
L_0610: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0615: stloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0617: ldc.i4.0
L_0618: stloc.s 26 (System.Int32)
L_061a: br Label33
L_061f: Label37
L_061f: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0621: ldloc.s 26 (System.Int32)
L_0623: callvirt Verse.Hediff get_Item(Int32)
L_0628: callvirt Verse.HediffStage get_CurStage()
L_062d: stloc.s 27 (Verse.HediffStage)
L_062f: ldloc.s 27 (Verse.HediffStage)
L_0631: brfalse Label34
L_0636: ldloc.s 27 (Verse.HediffStage)
L_0638: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_063d: ldarg.0
L_063e: ldfld RimWorld.StatDef stat
L_0643: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0648: stloc.s 28 (System.Single)
L_064a: ldloc.s 28 (System.Single)
L_064c: ldc.r4 0
L_0651: beq Label35
L_0656: ldloc.s 24 (System.Boolean)
L_0658: brtrue Label36
L_065d: ldloc.0
L_065e: ldstr "StatsReport_RelevantHediffs"
L_0663: call System.String Translate(System.String)
L_0668: callvirt System.Text.StringBuilder AppendLine(System.String)
L_066d: pop
L_066e: ldc.i4.1
L_066f: stloc.s 24 (System.Boolean)
L_0671: Label36
L_0671: ldloc.0
L_0672: ldstr " "
L_0677: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0679: ldloc.s 26 (System.Int32)
L_067b: callvirt Verse.Hediff get_Item(Int32)
L_0680: callvirt System.String get_LabelBase()
L_0685: call System.String CapitalizeFirst(System.String)
L_068a: ldstr ": "
L_068f: ldarg.0
L_0690: ldloc.s 28 (System.Single)
L_0692: ldc.i4.0
L_0693: ldc.i4.3
L_0694: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0699: call System.String Concat(System.String, System.String, System.String,
System.String)
L_069e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_06a3: pop
L_06a4: ldloc.0
L_06a5: callvirt System.Text.StringBuilder AppendLine()
L_06aa: pop
L_06ab: Label34
L_06ab: Label35
L_06ab: ldloc.s 26 (System.Int32)
L_06ad: ldc.i4.1
L_06ae: add
L_06af: stloc.s 26 (System.Int32)
L_06b1: Label33
L_06b1: ldloc.s 26 (System.Int32)
L_06b3: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_06b5: callvirt Int32 get_Count()
L_06ba: blt Label37
L_06bf: ldloc.2
L_06c0: ldfld Verse.Pawn_AgeTracker ageTracker
L_06c5: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_06ca: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_06cf: ldarg.0
L_06d0: ldfld RimWorld.StatDef stat
L_06d5: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_06da: stloc.s 29 (System.Single)
L_06dc: ldloc.s 29 (System.Single)
L_06de: ldc.r4 1
L_06e3: beq Label38
L_06e8: ldloc.0
L_06e9: ldc.i4.5
L_06ea: newarr System.String
L_06ef: dup
L_06f0: ldc.i4.0
L_06f1: ldstr "StatsReport_LifeStage"
L_06f6: call System.String Translate(System.String)
L_06fb: stelem.ref
L_06fc: dup
L_06fd: ldc.i4.1
L_06fe: ldstr " ("
L_0703: stelem.ref
L_0704: dup
L_0705: ldc.i4.2
L_0706: ldloc.2
L_0707: ldfld Verse.Pawn_AgeTracker ageTracker
L_070c: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_0711: ldfld System.String label
L_0716: stelem.ref
L_0717: dup
L_0718: ldc.i4.3
L_0719: ldstr "): "
L_071e: stelem.ref
L_071f: dup
L_0720: ldc.i4.4
L_0721: ldloc.s 29 (System.Single)
L_0723: ldc.i4.8
L_0724: ldc.i4.2
L_0725: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_072a: stelem.ref
L_072b: call System.String Concat(System.String[])
L_0730: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0735: pop
L_0736: ldloc.0
L_0737: callvirt System.Text.StringBuilder AppendLine()
L_073c: pop
L_073d: Label2
L_073d: Label38
L_073d: ldarga.s 1
L_073f: call Verse.ThingDef get_StuffDef()
L_0744: brfalse Label39
L_0749: ldloc.1
L_074a: ldc.r4 0
L_074f: bgt Label40
L_0754: ldarg.0
L_0755: ldfld RimWorld.StatDef stat
L_075a: ldfld System.Boolean applyFactorsIfNegative
L_075f: brfalse Label41
L_0764: Label40
L_0764: ldarga.s 1
L_0766: call Verse.ThingDef get_StuffDef()
L_076b: ldfld Verse.StuffProperties stuffProps
L_0770: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0775: ldarg.0
L_0776: ldfld RimWorld.StatDef stat
L_077b: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0780: stloc.s 30 (System.Single)
L_0782: ldloc.s 30 (System.Single)
L_0784: ldc.r4 1
L_0789: beq Label42
L_078e: ldloc.0
L_078f: ldc.i4.5
L_0790: newarr System.String
L_0795: dup
L_0796: ldc.i4.0
L_0797: ldstr "StatsReport_Material"
L_079c: call System.String Translate(System.String)
L_07a1: stelem.ref
L_07a2: dup
L_07a3: ldc.i4.1
L_07a4: ldstr " ("
L_07a9: stelem.ref
L_07aa: dup
L_07ab: ldc.i4.2
L_07ac: ldarga.s 1
L_07ae: call Verse.ThingDef get_StuffDef()
L_07b3: callvirt System.String get_LabelCap()
L_07b8: stelem.ref
L_07b9: dup
L_07ba: ldc.i4.3
L_07bb: ldstr "): "
L_07c0: stelem.ref
L_07c1: dup
L_07c2: ldc.i4.4
L_07c3: ldloc.s 30 (System.Single)
L_07c5: ldc.i4.8
L_07c6: ldc.i4.2
L_07c7: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_07cc: stelem.ref
L_07cd: call System.String Concat(System.String[])
L_07d2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_07d7: pop
L_07d8: ldloc.0
L_07d9: callvirt System.Text.StringBuilder AppendLine()
L_07de: pop
L_07df: Label41
L_07df: Label42
L_07df: ldarga.s 1
L_07e1: call Verse.ThingDef get_StuffDef()
L_07e6: ldfld Verse.StuffProperties stuffProps
L_07eb: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_07f0: ldarg.0
L_07f1: ldfld RimWorld.StatDef stat
L_07f6: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_07fb: stloc.s 31 (System.Single)
L_07fd: ldloc.s 31 (System.Single)
L_07ff: ldc.r4 0
L_0804: beq Label43
L_0809: ldloc.0
L_080a: ldc.i4.5
L_080b: newarr System.String
L_0810: dup
L_0811: ldc.i4.0
L_0812: ldstr "StatsReport_Material"
L_0817: call System.String Translate(System.String)
L_081c: stelem.ref
L_081d: dup
L_081e: ldc.i4.1
L_081f: ldstr " ("
L_0824: stelem.ref
L_0825: dup
L_0826: ldc.i4.2
L_0827: ldarga.s 1
L_0829: call Verse.ThingDef get_StuffDef()
L_082e: callvirt System.String get_LabelCap()
L_0833: stelem.ref
L_0834: dup
L_0835: ldc.i4.3
L_0836: ldstr "): "
L_083b: stelem.ref
L_083c: dup
L_083d: ldc.i4.4
L_083e: ldloc.s 31 (System.Single)
L_0840: ldarg.0
L_0841: ldfld RimWorld.StatDef stat
L_0846: ldfld Verse.ToStringStyle toStringStyle
L_084b: ldc.i4.3
L_084c: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0851: stelem.ref
L_0852: call System.String Concat(System.String[])
L_0857: callvirt System.Text.StringBuilder AppendLine(System.String)
L_085c: pop
L_085d: ldloc.0
L_085e: callvirt System.Text.StringBuilder AppendLine()
L_0863: pop
L_0864: Label39
L_0864: Label43
L_0864: ldarga.s 1
L_0866: call Verse.Thing get_Thing()
L_086b: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0870: stloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0872: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0874: brfalse Label44
L_0879: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_087b: ldarg.0
L_087c: ldfld RimWorld.StatDef stat
L_0881: ldloc.0
L_0882: callvirt Void GetStatsExplanation(RimWorld.StatDef,
System.Text.StringBuilder)
L_0887: Label44
L_0887: ldarg.0
L_0888: ldfld RimWorld.StatDef stat
L_088d: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0892: brfalse Label45
L_0897: ldloc.0
L_0898: ldstr "StatsReport_OtherStats"
L_089d: call System.String Translate(System.String)
L_08a2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08a7: pop
L_08a8: ldc.i4.0
L_08a9: stloc.s 33 (System.Int32)
L_08ab: br Label46
L_08b0: Label47
L_08b0: ldarg.0
L_08b1: ldfld RimWorld.StatDef stat
L_08b6: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_08bb: ldloc.s 33 (System.Int32)
L_08bd: callvirt RimWorld.StatDef get_Item(Int32)
L_08c2: stloc.s 34 (RimWorld.StatDef)
L_08c4: ldloc.0
L_08c5: ldstr " "
L_08ca: ldloc.s 34 (RimWorld.StatDef)
L_08cc: callvirt System.String get_LabelCap()
L_08d1: ldstr ": x"
L_08d6: ldloc.s 34 (RimWorld.StatDef)
L_08d8: callvirt RimWorld.StatWorker get_Worker()
L_08dd: ldarg.1
L_08de: ldc.i4.1
L_08df: callvirt Single GetValue(StatRequest, Boolean)
L_08e4: call System.String ToStringPercent(Single)
L_08e9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_08ee: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08f3: pop
L_08f4: ldloc.s 33 (System.Int32)
L_08f6: ldc.i4.1
L_08f7: add
L_08f8: stloc.s 33 (System.Int32)
L_08fa: Label46
L_08fa: ldloc.s 33 (System.Int32)
L_08fc: ldarg.0
L_08fd: ldfld RimWorld.StatDef stat
L_0902: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0907: callvirt Int32 get_Count()
L_090c: blt Label47
L_0911: ldloc.0
L_0912: callvirt System.Text.StringBuilder AppendLine()
L_0917: pop
L_0918: Label45
L_0918: ldloc.2
L_0919: brfalse Label48
L_091e: ldloc.2
L_091f: ldfld RimWorld.Pawn_SkillTracker skills
L_0924: brfalse Label49
L_0929: ldarg.0
L_092a: ldfld RimWorld.StatDef stat
L_092f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0934: brfalse Label50
L_0939: ldloc.0
L_093a: ldstr "StatsReport_Skills"
L_093f: call System.String Translate(System.String)
L_0944: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0949: pop
L_094a: ldc.i4.0
L_094b: stloc.s 35 (System.Int32)
L_094d: br Label51
L_0952: Label52
L_0952: ldarg.0
L_0953: ldfld RimWorld.StatDef stat
L_0958: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_095d: ldloc.s 35 (System.Int32)
L_095f: callvirt RimWorld.SkillNeed get_Item(Int32)
L_0964: stloc.s 36 (RimWorld.SkillNeed)
L_0966: ldloc.2
L_0967: ldfld RimWorld.Pawn_SkillTracker skills
L_096c: ldloc.s 36 (RimWorld.SkillNeed)
L_096e: ldfld RimWorld.SkillDef skill
L_0973: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_0978: callvirt Int32 get_Level()
L_097d: stloc.s 37 (System.Int32)
L_097f: ldloc.0
L_0980: ldc.i4.6
L_0981: newarr System.Object
L_0986: dup
L_0987: ldc.i4.0
L_0988: ldstr " "
L_098d: stelem.ref
L_098e: dup
L_098f: ldc.i4.1
L_0990: ldloc.s 36 (RimWorld.SkillNeed)
L_0992: ldfld RimWorld.SkillDef skill
L_0997: callvirt System.String get_LabelCap()
L_099c: stelem.ref
L_099d: dup
L_099e: ldc.i4.2
L_099f: ldstr " ("
L_09a4: stelem.ref
L_09a5: dup
L_09a6: ldc.i4.3
L_09a7: ldloc.s 37 (System.Int32)
L_09a9: box System.Int32
L_09ae: stelem.ref
L_09af: dup
L_09b0: ldc.i4.4
L_09b1: ldstr "): x"
L_09b6: stelem.ref
L_09b7: dup
L_09b8: ldc.i4.5
L_09b9: ldloc.s 36 (RimWorld.SkillNeed)
L_09bb: ldloc.2
L_09bc: callvirt Single ValueFor(Verse.Pawn)
L_09c1: call System.String ToStringPercent(Single)
L_09c6: stelem.ref
L_09c7: call System.String Concat(System.Object[])
L_09cc: callvirt System.Text.StringBuilder AppendLine(System.String)
L_09d1: pop
L_09d2: ldloc.s 35 (System.Int32)
L_09d4: ldc.i4.1
L_09d5: add
L_09d6: stloc.s 35 (System.Int32)
L_09d8: Label51
L_09d8: ldloc.s 35 (System.Int32)
L_09da: ldarg.0
L_09db: ldfld RimWorld.StatDef stat
L_09e0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_09e5: callvirt Int32 get_Count()
L_09ea: blt Label52
L_09ef: ldloc.0
L_09f0: callvirt System.Text.StringBuilder AppendLine()
L_09f5: pop
L_09f6: Label50
L_09f6: br Label53
L_09fb: Label49
L_09fb: ldarg.0
L_09fc: ldfld RimWorld.StatDef stat
L_0a01: ldfld System.Single noSkillFactor
L_0a06: ldc.r4 1
L_0a0b: beq Label54
L_0a10: ldloc.0
L_0a11: ldstr "StatsReport_Skills"
L_0a16: call System.String Translate(System.String)
L_0a1b: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a20: pop
L_0a21: ldloc.0
L_0a22: ldstr " "
L_0a27: ldstr "default"
L_0a2c: call System.String Translate(System.String)
L_0a31: call System.String CapitalizeFirst(System.String)
L_0a36: ldstr " : x"
L_0a3b: ldarg.0
L_0a3c: ldfld RimWorld.StatDef stat
L_0a41: ldfld System.Single noSkillFactor
L_0a46: call System.String ToStringPercent(Single)
L_0a4b: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0a50: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a55: pop
L_0a56: ldloc.0
L_0a57: callvirt System.Text.StringBuilder AppendLine()
L_0a5c: pop
L_0a5d: Label53
L_0a5d: Label54
L_0a5d: ldarg.0
L_0a5e: ldfld RimWorld.StatDef stat
L_0a63: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0a68: brfalse Label55
L_0a6d: ldloc.0
L_0a6e: ldstr "StatsReport_Health"
L_0a73: call Boolean CanTranslate(System.String)
L_0a78: brfalse Label56
L_0a7d: ldstr "StatsReport_Health"
L_0a82: call System.String Translate(System.String)
L_0a87: br Label57
L_0a8c: Label56
L_0a8c: ldstr "StatsReport_HealthFactors"
L_0a91: call System.String Translate(System.String)
L_0a96: Label57
L_0a96: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a9b: pop
L_0a9c: ldarg.0
L_0a9d: ldfld RimWorld.StatDef stat
L_0aa2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0aa7: brfalse Label58
L_0aac: ldarg.0
L_0aad: ldfld RimWorld.StatDef stat
L_0ab2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0ab7: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0abc: brtrue Label59
L_0ac1: ldnull
L_0ac2: ldftn Int32 <GetExplanationUnfinalized>m__5(RimWorld.PawnCapacityFactor)
L_0ac8: newobj Void .ctor(Object, IntPtr)
L_0acd: stsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad2: Label59
L_0ad2: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad7: call IOrderedEnumerable`1 OrderBy[PawnCapacityFactor,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityFactor,System.Int32])
L_0adc: callvirt IEnumerator`1 GetEnumerator()
L_0ae1: stloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
.try
{
L_0ae3: br Label60
L_0ae8: Label63
L_0ae8: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0aea: callvirt RimWorld.PawnCapacityFactor get_Current()
L_0aef: stloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af1: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af3: ldfld Verse.PawnCapacityDef capacity
L_0af8: ldloc.2
L_0af9: callvirt System.String GetLabelFor(Verse.Pawn)
L_0afe: call System.String CapitalizeFirst(System.String)
L_0b03: stloc.s 40 (System.String)
L_0b05: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b07: ldloc.2
L_0b08: ldfld Verse.Pawn_HealthTracker health
L_0b0d: ldfld Verse.PawnCapacitiesHandler capacities
L_0b12: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b14: ldfld Verse.PawnCapacityDef capacity
L_0b19: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0b1e: callvirt Single GetFactor(Single)
L_0b23: stloc.s 41 (System.Single)
L_0b25: ldloc.s 41 (System.Single)
L_0b27: call System.String ToStringPercent(Single)
L_0b2c: stloc.s 42 (System.String)
L_0b2e: ldstr "HealthFactorPercentImpact"
L_0b33: ldc.i4.1
L_0b34: newarr System.Object
L_0b39: dup
L_0b3a: ldc.i4.0
L_0b3b: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b3d: ldfld System.Single weight
L_0b42: call System.String ToStringPercent(Single)
L_0b47: stelem.ref
L_0b48: call System.String Translate(System.String, System.Object[])
L_0b4d: stloc.s 43 (System.String)
L_0b4f: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b51: ldfld System.Single max
L_0b56: ldc.r4 999
L_0b5b: bge.un Label61
L_0b60: ldloc.s 43 (System.String)
L_0b62: ldstr ", "
L_0b67: ldstr "HealthFactorMaxImpact"
L_0b6c: ldc.i4.1
L_0b6d: newarr System.Object
L_0b72: dup
L_0b73: ldc.i4.0
L_0b74: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b76: ldfld System.Single max
L_0b7b: call System.String ToStringPercent(Single)
L_0b80: stelem.ref
L_0b81: call System.String Translate(System.String, System.Object[])
L_0b86: call System.String Concat(System.String, System.String,
System.String)
L_0b8b: stloc.s 43 (System.String)
L_0b8d: Label61
L_0b8d: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b8f: ldfld System.Single allowedDefect
L_0b94: ldc.r4 0
L_0b99: beq Label62
L_0b9e: ldloc.s 43 (System.String)
L_0ba0: ldstr ", "
L_0ba5: ldstr "HealthFactorAllowedDefect"
L_0baa: ldc.i4.1
L_0bab: newarr System.Object
L_0bb0: dup
L_0bb1: ldc.i4.0
L_0bb2: ldc.r4 1
L_0bb7: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0bb9: ldfld System.Single allowedDefect
L_0bbe: sub
L_0bbf: call System.String ToStringPercent(Single)
L_0bc4: stelem.ref
L_0bc5: call System.String Translate(System.String, System.Object[])
L_0bca: call System.String Concat(System.String, System.String,
System.String)
L_0bcf: stloc.s 43 (System.String)
L_0bd1: Label62
L_0bd1: ldloc.0
L_0bd2: ldc.i4.7
L_0bd3: newarr System.String
L_0bd8: dup
L_0bd9: ldc.i4.0
L_0bda: ldstr " "
L_0bdf: stelem.ref
L_0be0: dup
L_0be1: ldc.i4.1
L_0be2: ldloc.s 40 (System.String)
L_0be4: stelem.ref
L_0be5: dup
L_0be6: ldc.i4.2
L_0be7: ldstr ": x"
L_0bec: stelem.ref
L_0bed: dup
L_0bee: ldc.i4.3
L_0bef: ldloc.s 42 (System.String)
L_0bf1: stelem.ref
L_0bf2: dup
L_0bf3: ldc.i4.4
L_0bf4: ldstr " ("
L_0bf9: stelem.ref
L_0bfa: dup
L_0bfb: ldc.i4.5
L_0bfc: ldloc.s 43 (System.String)
L_0bfe: stelem.ref
L_0bff: dup
L_0c00: ldc.i4.6
L_0c01: ldstr ")"
L_0c06: stelem.ref
L_0c07: call System.String Concat(System.String[])
L_0c0c: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0c11: pop
L_0c12: Label60
L_0c12: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c14: callvirt Boolean MoveNext()
L_0c19: brtrue Label63
L_0c1e: leave Label64
L_0c23: leave (autogenerated)
} // end try
.finally
{
L_0c28: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c2a: brfalse Label65
L_0c2f: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c31: callvirt Void Dispose()
L_0c36: Label65
L_0c36: endfinally
L_0c37: leave (autogenerated)
} // end handler
L_0c38: Label58
L_0c38: Label64
L_0c38: ldloc.0
L_0c39: callvirt System.Text.StringBuilder AppendLine()
L_0c3e: pop
L_0c3f: Label55
L_0c3f: ldloc.2
L_0c40: callvirt Boolean get_Inspired()
L_0c45: brfalse Label66
L_0c4a: ldloc.2
L_0c4b: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0c50: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_0c55: ldarg.0
L_0c56: ldfld RimWorld.StatDef stat
L_0c5b: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0c60: stloc.s 44 (System.Single)
L_0c62: ldloc.s 44 (System.Single)
L_0c64: ldc.r4 0
L_0c69: beq Label67
L_0c6e: ldloc.0
L_0c6f: ldstr "StatsReport_Inspiration"
L_0c74: ldc.i4.1
L_0c75: newarr System.Object
L_0c7a: dup
L_0c7b: ldc.i4.0
L_0c7c: ldloc.2
L_0c7d: callvirt RimWorld.Inspiration get_Inspiration()
L_0c82: ldfld RimWorld.InspirationDef def
L_0c87: callvirt System.String get_LabelCap()
L_0c8c: stelem.ref
L_0c8d: call System.String Translate(System.String, System.Object[])
L_0c92: ldstr ": "
L_0c97: ldarg.0
L_0c98: ldloc.s 44 (System.Single)
L_0c9a: ldc.i4.0
L_0c9b: ldc.i4.3
L_0c9c: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0ca1: call System.String Concat(System.String, System.String, System.String)
L_0ca6: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0cab: pop
L_0cac: ldloc.0
L_0cad: callvirt System.Text.StringBuilder AppendLine()
L_0cb2: pop
L_0cb3: Label67
L_0cb3: ldloc.2
L_0cb4: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0cb9: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0cbe: ldarg.0
L_0cbf: ldfld RimWorld.StatDef stat
L_0cc4: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0cc9: stloc.s 45 (System.Single)
L_0ccb: ldloc.s 45 (System.Single)
L_0ccd: ldc.r4 1
L_0cd2: beq Label68
L_0cd7: ldloc.0
L_0cd8: ldstr "StatsReport_Inspiration"
L_0cdd: ldc.i4.1
L_0cde: newarr System.Object
L_0ce3: dup
L_0ce4: ldc.i4.0
L_0ce5: ldloc.2
L_0ce6: callvirt RimWorld.Inspiration get_Inspiration()
L_0ceb: ldfld RimWorld.InspirationDef def
L_0cf0: callvirt System.String get_LabelCap()
L_0cf5: stelem.ref
L_0cf6: call System.String Translate(System.String, System.Object[])
L_0cfb: ldstr ": "
L_0d00: ldloc.s 45 (System.Single)
L_0d02: ldc.i4.8
L_0d03: ldc.i4.2
L_0d04: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0d09: call System.String Concat(System.String, System.String, System.String)
L_0d0e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0d13: pop
L_0d14: ldloc.0
L_0d15: callvirt System.Text.StringBuilder AppendLine()
L_0d1a: pop
L_0d1b: Label48
L_0d1b: Label66
L_0d1b: Label68
L_0d1b: ldloc.0
L_0d1c: callvirt System.String ToString()
L_0d21: call System.String TrimEndNewlines(System.String)
L_0d26: ret
DONE

### Patch RimWorld.StatWorker, Single GetValueUnfinalized(StatRequest, Boolean)


L_0000: Local var 0: System.Single
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.PawnCapacityOffset
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.HediffStage
L_0000: Local var 9: System.Int32
L_0000: Local var 10: System.Int32
L_0000: Local var 11: RimWorld.CompAffectedByFacilities
L_0000: Local var 12: System.Int32
L_0000: Local var 13: System.Int32
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.PawnCapacityFactor
L_0000: Local var 16: System.Single
L_0000: Local var 17: System.Single
L_0000: ldc.r4 0
L_0005: stloc 17 (System.Single)
L_0007: call Boolean get_DevMode()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldarga.s 1
L_0014: call Verse.Thing get_Thing()
L_0019: callvirt Boolean IsDisabledFor(Verse.Thing)
L_001e: brfalse Label2
L_0023: ldstr "Attempted to calculate value for disabled stat {0}; this is meant as
a consistency check, either set the stat to neverDisabled or ensure this pawn
cannot accidentally use this stat (thing={1})"
L_0028: ldarg.0
L_0029: ldfld RimWorld.StatDef stat
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Thing()
L_0035: call System.String ToStringSafe[Thing](Verse.Thing)
L_003a: call System.String Format(System.String, System.Object, System.Object)
L_003f: ldc.i4 75193282
L_0044: ldarg.0
L_0045: ldfld RimWorld.StatDef stat
L_004a: ldfld System.UInt16 index
L_004f: add
L_0050: ldc.i4.0
L_0051: call Void ErrorOnce(System.String, Int32, Boolean)
L_0056: Label1
L_0056: Label2
L_0056: ldarg.0
L_0057: ldarga.s 1
L_0059: call Verse.BuildableDef get_Def()
L_005e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0063: stloc.0
L_0064: ldarga.s 1
L_0066: call Verse.Thing get_Thing()
L_006b: isinst Verse.Pawn
L_0070: stloc.1
L_0071: ldloc.1
L_0072: brfalse Label3
L_0077: ldloc.1
L_0078: ldfld RimWorld.Pawn_SkillTracker skills
L_007d: brfalse Label4
L_0082: ldarg.0
L_0083: ldfld RimWorld.StatDef stat
L_0088: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_008d: brfalse Label5
L_0092: ldc.i4.0
L_0093: stloc.2
L_0094: br Label6
L_0099: Label7
L_0099: ldloc.0
L_009a: ldarg.0
L_009b: ldfld RimWorld.StatDef stat
L_00a0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00a5: ldloc.2
L_00a6: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00ab: ldloc.1
L_00ac: callvirt Single ValueFor(Verse.Pawn)
L_00b1: add
L_00b2: stloc.0
L_00b3: ldloc.2
L_00b4: ldc.i4.1
L_00b5: add
L_00b6: stloc.2
L_00b7: Label6
L_00b7: ldloc.2
L_00b8: ldarg.0
L_00b9: ldfld RimWorld.StatDef stat
L_00be: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00c3: callvirt Int32 get_Count()
L_00c8: blt Label7
L_00cd: Label5
L_00cd: br Label8
L_00d2: Label4
L_00d2: ldloc.0
L_00d3: ldarg.0
L_00d4: ldfld RimWorld.StatDef stat
L_00d9: ldfld System.Single noSkillOffset
L_00de: add
L_00df: stloc.0
L_00e0: Label8
L_00e0: ldarg.0
L_00e1: ldfld RimWorld.StatDef stat
L_00e6: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_00eb: brfalse Label9
L_00f0: ldc.i4.0
L_00f1: stloc.3
L_00f2: br Label10
L_00f7: Label11
L_00f7: ldarg.0
L_00f8: ldfld RimWorld.StatDef stat
L_00fd: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_0102: ldloc.3
L_0103: callvirt RimWorld.PawnCapacityOffset get_Item(Int32)
L_0108: stloc.s 4 (RimWorld.PawnCapacityOffset)
L_010a: ldloc.0
L_010b: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_010d: ldloc.1
L_010e: ldfld Verse.Pawn_HealthTracker health
L_0113: ldfld Verse.PawnCapacitiesHandler capacities
L_0118: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_011a: ldfld Verse.PawnCapacityDef capacity
L_011f: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0124: callvirt Single GetOffset(Single)
L_0129: add
L_012a: stloc.0
L_012b: ldloc.3
L_012c: ldc.i4.1
L_012d: add
L_012e: stloc.3
L_012f: Label10
L_012f: ldloc.3
L_0130: ldarg.0
L_0131: ldfld RimWorld.StatDef stat
L_0136: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_013b: callvirt Int32 get_Count()
L_0140: blt Label11
L_0145: Label9
L_0145: ldloc.1
L_0146: ldfld RimWorld.Pawn_StoryTracker story
L_014b: brfalse Label12
L_0150: ldc.i4.0
L_0151: stloc.s 5 (System.Int32)
L_0153: br Label13
L_0158: Label14
L_0158: ldloc.0
L_0159: ldloc.1
L_015a: ldfld RimWorld.Pawn_StoryTracker story
L_015f: ldfld RimWorld.TraitSet traits
L_0164: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0169: ldloc.s 5 (System.Int32)
L_016b: callvirt RimWorld.Trait get_Item(Int32)
L_0170: ldarg.0
L_0171: ldfld RimWorld.StatDef stat
L_0176: callvirt Single OffsetOfStat(RimWorld.StatDef)
L_017b: add
L_017c: stloc.0
L_017d: ldloc.s 5 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 5 (System.Int32)
L_0183: Label13
L_0183: ldloc.s 5 (System.Int32)
L_0185: ldloc.1
L_0186: ldfld RimWorld.Pawn_StoryTracker story
L_018b: ldfld RimWorld.TraitSet traits
L_0190: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0195: callvirt Int32 get_Count()
L_019a: blt Label14
L_019f: Label12
L_019f: ldloc.1
L_01a0: ldfld Verse.Pawn_HealthTracker health
L_01a5: ldfld Verse.HediffSet hediffSet
L_01aa: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_01af: stloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01b1: ldc.i4.0
L_01b2: stloc.s 7 (System.Int32)
L_01b4: br Label15
L_01b9: Label17
L_01b9: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01bb: ldloc.s 7 (System.Int32)
L_01bd: callvirt Verse.Hediff get_Item(Int32)
L_01c2: callvirt Verse.HediffStage get_CurStage()
L_01c7: stloc.s 8 (Verse.HediffStage)
L_01c9: ldloc.s 8 (Verse.HediffStage)
L_01cb: brfalse Label16
L_01d0: ldloc.0
L_01d1: ldloc.s 8 (Verse.HediffStage)
L_01d3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_01d8: ldarg.0
L_01d9: ldfld RimWorld.StatDef stat
L_01de: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_01e3: add
L_01e4: stloc.0
L_01e5: Label16
L_01e5: ldloc.s 7 (System.Int32)
L_01e7: ldc.i4.1
L_01e8: add
L_01e9: stloc.s 7 (System.Int32)
L_01eb: Label15
L_01eb: ldloc.s 7 (System.Int32)
L_01ed: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01ef: callvirt Int32 get_Count()
L_01f4: blt Label17
L_01f9: ldloc.1
L_01fa: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ff: brfalse Label18
L_0204: ldc.i4.0
L_0205: stloc.s 9 (System.Int32)
L_0207: br Label19
L_020c: Label20
L_020c: ldloc.0
L_020d: ldloc.1
L_020e: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0213: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0218: ldloc.s 9 (System.Int32)
L_021a: callvirt RimWorld.Apparel get_Item(Int32)
L_021f: ldarg.0
L_0220: ldfld RimWorld.StatDef stat
L_0225: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_022a: add
L_022b: stloc.0
L_022c: ldloc.s 9 (System.Int32)
L_022e: ldc.i4.1
L_022f: add
L_0230: stloc.s 9 (System.Int32)
L_0232: Label19
L_0232: ldloc.s 9 (System.Int32)
L_0234: ldloc.1
L_0235: ldfld RimWorld.Pawn_ApparelTracker apparel
L_023a: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_023f: callvirt Int32 get_Count()
L_0244: blt Label20
L_0249: Label18
L_0249: ldloc.1
L_024a: ldfld Verse.Pawn_EquipmentTracker equipment
L_024f: brfalse Label21
L_0254: ldloc.1
L_0255: ldfld Verse.Pawn_EquipmentTracker equipment
L_025a: callvirt Verse.ThingWithComps get_Primary()
L_025f: brfalse Label22
L_0264: ldloc.0
L_0265: ldloc.1
L_0266: ldfld Verse.Pawn_EquipmentTracker equipment
L_026b: callvirt Verse.ThingWithComps get_Primary()
L_0270: ldarg.0
L_0271: ldfld RimWorld.StatDef stat
L_0276: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_027b: add
L_027c: stloc.0
L_027d: Label21
L_027d: Label22
L_027d: ldloc.1
L_027e: ldfld RimWorld.Pawn_StoryTracker story
L_0283: brfalse Label23
L_0288: ldc.i4.0
L_0289: stloc.s 10 (System.Int32)
L_028b: br Label24
L_0290: Label25
L_0290: ldloc.0
L_0291: ldloc.1
L_0292: ldfld RimWorld.Pawn_StoryTracker story
L_0297: ldfld RimWorld.TraitSet traits
L_029c: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02a1: ldloc.s 10 (System.Int32)
L_02a3: callvirt RimWorld.Trait get_Item(Int32)
L_02a8: ldarg.0
L_02a9: ldfld RimWorld.StatDef stat
L_02ae: callvirt Single MultiplierOfStat(RimWorld.StatDef)
L_02b3: mul
L_02b4: stloc.0
L_02b5: ldloc.s 10 (System.Int32)
L_02b7: ldc.i4.1
L_02b8: add
L_02b9: stloc.s 10 (System.Int32)
L_02bb: Label24
L_02bb: ldloc.s 10 (System.Int32)
L_02bd: ldloc.1
L_02be: ldfld RimWorld.Pawn_StoryTracker story
L_02c3: ldfld RimWorld.TraitSet traits
L_02c8: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02cd: callvirt Int32 get_Count()
L_02d2: blt Label25
L_02d7: Label23
L_02d7: ldloc.0
L_02d8: ldloc.1
L_02d9: ldfld Verse.Pawn_AgeTracker ageTracker
L_02de: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_02e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_02e8: ldarg.0
L_02e9: ldfld RimWorld.StatDef stat
L_02ee: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_02f3: mul
L_02f4: stloc.0
L_02f5: Label3
L_02f5: ldarga.s 1
L_02f7: call Verse.ThingDef get_StuffDef()
L_02fc: brfalse Label26
L_0301: ldloc.0
L_0302: ldc.r4 0
L_0307: bgt Label27
L_030c: ldarg.0
L_030d: ldfld RimWorld.StatDef stat
L_0312: ldfld System.Boolean applyFactorsIfNegative
L_0317: brfalse Label28
L_031c: Label27
L_031c: ldloc.0
L_031d: ldarga.s 1
L_031f: call Verse.ThingDef get_StuffDef()
L_0324: ldfld Verse.StuffProperties stuffProps
L_0329: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_032e: ldarg.0
L_032f: ldfld RimWorld.StatDef stat
L_0334: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0339: mul
L_033a: stloc.0
L_033b: Label28
L_033b: ldloc.0
L_033c: ldarga.s 1
L_033e: call Verse.ThingDef get_StuffDef()
L_0343: ldfld Verse.StuffProperties stuffProps
L_0348: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_034d: ldarg.0
L_034e: ldfld RimWorld.StatDef stat
L_0353: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0358: add
L_0359: stloc.0
L_035a: Label26
L_035a: ldarga.s 1
L_035c: call Boolean get_HasThing()
L_0361: brfalse Label29
L_0366: ldarga.s 1
L_0368: call Verse.Thing get_Thing()
L_036d: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0372: stloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0374: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0376: brfalse Label30
L_037b: ldloc.0
L_037c: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_037e: ldarg.0
L_037f: ldfld RimWorld.StatDef stat
L_0384: callvirt Single GetStatOffset(RimWorld.StatDef)
L_0389: add
L_038a: stloc.0
L_038b: Label30
L_038b: ldarg.0
L_038c: ldfld RimWorld.StatDef stat
L_0391: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0396: brfalse Label31
L_039b: ldc.i4.0
L_039c: stloc.s 12 (System.Int32)
L_039e: br Label32
L_03a3: Label33
L_03a3: ldloc.0
L_03a4: ldarga.s 1
L_03a6: call Verse.Thing get_Thing()
L_03ab: ldarg.0
L_03ac: ldfld RimWorld.StatDef stat
L_03b1: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03b6: ldloc.s 12 (System.Int32)
L_03b8: callvirt RimWorld.StatDef get_Item(Int32)
L_03bd: ldc.i4.1
L_03be: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_03c3: mul
L_03c4: stloc.0
L_03c5: ldloc.s 12 (System.Int32)
L_03c7: ldc.i4.1
L_03c8: add
L_03c9: stloc.s 12 (System.Int32)
L_03cb: Label32
L_03cb: ldloc.s 12 (System.Int32)
L_03cd: ldarg.0
L_03ce: ldfld RimWorld.StatDef stat
L_03d3: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03d8: callvirt Int32 get_Count()
L_03dd: blt Label33
L_03e2: Label31
L_03e2: ldloc.1
L_03e3: brfalse Label34
L_03e8: ldloc.1
L_03e9: ldfld RimWorld.Pawn_SkillTracker skills
L_03ee: brfalse Label35
L_03f3: ldarg.0
L_03f4: ldfld RimWorld.StatDef stat
L_03f9: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_03fe: brfalse Label36
L_0403: ldc.i4.0
L_0404: stloc.s 13 (System.Int32)
L_0406: br Label37
L_040b: Label38
L_040b: ldloc.0
L_040c: ldarg.0
L_040d: ldfld RimWorld.StatDef stat
L_0412: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0417: ldloc.s 13 (System.Int32)
L_0419: callvirt RimWorld.SkillNeed get_Item(Int32)
L_041e: ldloc.1
L_041f: callvirt Single ValueFor(Verse.Pawn)
L_0424: mul
L_0425: stloc.0
L_0426: ldloc.s 13 (System.Int32)
L_0428: ldc.i4.1
L_0429: add
L_042a: stloc.s 13 (System.Int32)
L_042c: Label37
L_042c: ldloc.s 13 (System.Int32)
L_042e: ldarg.0
L_042f: ldfld RimWorld.StatDef stat
L_0434: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0439: callvirt Int32 get_Count()
L_043e: blt Label38
L_0443: Label36
L_0443: br Label39
L_0448: Label35
L_0448: ldloc.0
L_0449: ldarg.0
L_044a: ldfld RimWorld.StatDef stat
L_044f: ldfld System.Single noSkillFactor
L_0454: mul
L_0455: stloc.0
L_0456: Label39
L_0456: ldarg.0
L_0457: ldfld RimWorld.StatDef stat
L_045c: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0461: brfalse Label40
L_0466: ldc.i4.0
L_0467: stloc.s 14 (System.Int32)
L_0469: br Label41
L_046e: Label42
L_046e: ldarg.0
L_046f: ldfld RimWorld.StatDef stat
L_0474: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0479: ldloc.s 14 (System.Int32)
L_047b: callvirt RimWorld.PawnCapacityFactor get_Item(Int32)
L_0480: stloc.s 15 (RimWorld.PawnCapacityFactor)
L_0482: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0484: ldloc.1
L_0485: ldfld Verse.Pawn_HealthTracker health
L_048a: ldfld Verse.PawnCapacitiesHandler capacities
L_048f: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0491: ldfld Verse.PawnCapacityDef capacity
L_0496: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_049b: callvirt Single GetFactor(Single)
L_04a0: stloc.s 16 (System.Single)
L_04a2: ldloc.0
L_04a3: ldloc.0
L_04a4: ldloc.s 16 (System.Single)
L_04a6: mul
L_04a7: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_04a9: ldfld System.Single weight
L_04ae: call Single Lerp(Single, Single, Single)
L_04b3: stloc.0
L_04b4: ldloc.s 14 (System.Int32)
L_04b6: ldc.i4.1
L_04b7: add
L_04b8: stloc.s 14 (System.Int32)
L_04ba: Label41
L_04ba: ldloc.s 14 (System.Int32)
L_04bc: ldarg.0
L_04bd: ldfld RimWorld.StatDef stat
L_04c2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_04c7: callvirt Int32 get_Count()
L_04cc: blt Label42
L_04d1: Label40
L_04d1: ldloc.1
L_04d2: callvirt Boolean get_Inspired()
L_04d7: brfalse Label43
L_04dc: ldloc.0
L_04dd: ldloc.1
L_04de: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_04e8: ldarg.0
L_04e9: ldfld RimWorld.StatDef stat
L_04ee: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_04f3: add
L_04f4: stloc.0
L_04f5: ldloc.0
L_04f6: ldloc.1
L_04f7: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04fc: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0501: ldarg.0
L_0502: ldfld RimWorld.StatDef stat
L_0507: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_050c: mul
L_050d: stloc.0
L_050e: Label29
L_050e: Label34
L_050e: Label43
L_050e: ldloc.0
L_050f: stloc 17 (System.Single)
L_0511: ldarg.0
L_0512: ldloca 17 (System.Single)
L_0514: ldarga 1
L_051a: ldarg 2
L_0520: call Void Patch_StatWorker_GetValueUnfinalized(RimWorld.StatWorker, Single
ByRef, StatRequest ByRef, Boolean)
L_0525: ldloc 17 (System.Single)
L_0527: ret
DONE

### Patch RimWorld.Dialog_ManageAreas, Void .ctor(Map)


L_0000: ldarg.0
L_0001: call Void .ctor()
L_0006: ldarg.0
L_0007: ldarg.1
L_0008: stfld Verse.Map map
L_000d: ldarg.0
L_000e: ldc.i4.1
L_000f: stfld System.Boolean forcePause
L_0014: ldarg.0
L_0015: ldc.i4.1
L_0016: stfld System.Boolean doCloseX
L_001b: ldarg.0
L_001c: ldc.i4.1
L_001d: stfld System.Boolean doCloseButton
L_0022: ldarg.0
L_0023: ldc.i4.1
L_0024: stfld System.Boolean closeOnClickedOutside
L_0029: ldarg.0
L_002a: ldc.i4.1
L_002b: stfld System.Boolean absorbInputAroundWindow
L_0030: call Void Postfix()
L_0035: ret
DONE

### Patch RimWorld.Area_Allowed, Int32 get_ListPriority()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldc.i4 500
L_000b: stloc 0 (System.Int32)
L_000c: ldarg.0
L_000d: ldloca 0 (System.Int32)
L_000f: call Void ListPriority_Postfix(RimWorld.Area_Allowed, Int32 ByRef)
L_0014: ldloc 0 (System.Int32)
L_0015: ret
DONE

### Patch RimWorld.InspectGizmoGrid, Void DrawInspectGizmoGridFor(IEnumerable`1,


Verse.Gizmo ByRef)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.ISelectable
L_0000: Local var 2: System.Int32
L_0000: Local var 3:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1
L_0000: Local var 4: System.Collections.Generic.List`1[[Verse.Designator, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 5: System.Int32
L_0000: Local var 6:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0
L_0000: Local var 7: Verse.AcceptanceReport
L_0000: Local var 8: System.Single
L_0000: Local var 9: UnityEngine.Vector2
L_0000: Local var 10: Verse.Command_Action
L_0000: Local var 11: System.Exception
L_0000: call Void ClearReverseDesignatorPairs()
L_0005: ldarg.1
L_0006: ldnull
L_0007: stind.ref
.try
{
L_0008: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_000d: callvirt Void Clear()
L_0012: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0017: ldarg.0
L_0018: callvirt Void AddRange(IEnumerable`1)
L_001d: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0022: callvirt Void Clear()
L_0027: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_002c: call IEnumerable`1 GetStopGizmos()
L_0031: call Void AddRange(IEnumerable`1)
L_0036: ldc.i4.0
L_0037: stloc.0
L_0038: br Label1
L_003d: Label3
L_003d: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0042: ldloc.0
L_0043: callvirt System.Object get_Item(Int32)
L_0048: isinst Verse.ISelectable
L_004d: stloc.1
L_004e: ldloc.1
L_004f: brfalse Label2
L_0054: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0059: ldloc.1
L_005a: callvirt IEnumerable`1 GetGizmos()
L_005f: callvirt Void AddRange(IEnumerable`1)
L_0064: Label2
L_0064: ldloc.0
L_0065: ldc.i4.1
L_0066: add
L_0067: stloc.0
L_0068: Label1
L_0068: ldloc.0
L_0069: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_006e: callvirt Int32 get_Count()
L_0073: blt Label3
L_0078: ldc.i4.0
L_0079: stloc.2
L_007a: br Label4
L_007f: Label12
L_007f: newobj Void .ctor()
L_0084: stloc.3
L_0085: ldloc.3
L_0086: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_008b: ldloc.2
L_008c: callvirt System.Object get_Item(Int32)
L_0091: isinst Verse.Thing
L_0096: stfld Verse.Thing t
L_009b: ldloc.3
L_009c: ldfld Verse.Thing t
L_00a1: brtrue Label5
L_00a6: leave Label6
L_00ab: Label5
L_00ab: call Verse.ReverseDesignatorDatabase get_ReverseDesignatorDatabase()
L_00b0: callvirt System.Collections.Generic.List`1[Verse.Designator]
get_AllDesignators()
L_00b5: stloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00b7: ldc.i4.0
L_00b8: stloc.s 5 (System.Int32)
L_00ba: br Label7
L_00bf: Label11
L_00bf: newobj Void .ctor()
L_00c4: stloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c8: ldloc.3
L_00c9: stfld
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1 <>f__ref$1
L_00ce: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00d0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00d2: ldloc.s 5 (System.Int32)
L_00d4: callvirt Verse.Designator get_Item(Int32)
L_00d9: stfld Verse.Designator des
L_00de: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00e0: ldfld Verse.Designator des
L_00e5: ldloc.3
L_00e6: ldfld Verse.Thing t
L_00eb: callvirt AcceptanceReport CanDesignateThing(Verse.Thing)
L_00f0: stloc.s 7 (Verse.AcceptanceReport)
L_00f2: ldloca.s 7 (Verse.AcceptanceReport)
L_00f4: call Boolean get_Accepted()
L_00f9: brfalse Label8
L_00fe: newobj Void .ctor()
L_0103: stloc.s 10 (Verse.Command_Action)
L_0105: ldloc.s 10 (Verse.Command_Action)
L_0107: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0109: ldfld Verse.Designator des
L_010e: ldloc.3
L_010f: ldfld Verse.Thing t
L_0114: callvirt System.String LabelCapReverseDesignating(Verse.Thing)
L_0119: stfld System.String defaultLabel
L_011e: ldloc.s 10 (Verse.Command_Action)
L_0120: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0122: ldfld Verse.Designator des
L_0127: ldloc.3
L_0128: ldfld Verse.Thing t
L_012d: ldloca.s 8 (System.Single)
L_012f: ldloca.s 9 (UnityEngine.Vector2)
L_0131: callvirt UnityEngine.Texture2D IconReverseDesignating(Verse.Thing,
Single ByRef, Vector2 ByRef)
L_0136: stfld UnityEngine.Texture2D icon
L_013b: ldloc.s 10 (Verse.Command_Action)
L_013d: ldloc.s 8 (System.Single)
L_013f: stfld System.Single iconAngle
L_0144: ldloc.s 10 (Verse.Command_Action)
L_0146: ldloc.s 9 (UnityEngine.Vector2)
L_0148: stfld UnityEngine.Vector2 iconOffset
L_014d: ldloc.s 10 (Verse.Command_Action)
L_014f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0151: ldfld Verse.Designator des
L_0156: ldloc.3
L_0157: ldfld Verse.Thing t
L_015c: callvirt System.String DescReverseDesignating(Verse.Thing)
L_0161: stfld System.String defaultDesc
L_0166: ldloc.s 10 (Verse.Command_Action)
L_0168: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_016a: ldfld Verse.Designator des
L_016f: isinst RimWorld.Designator_Uninstall
L_0174: brfalse Label9
L_0179: ldc.r4 -11
L_017e: br Label10
L_0183: Label9
L_0183: ldc.r4 -20
L_0188: Label10
L_0188: stfld System.Single order
L_018d: ldloc.s 10 (Verse.Command_Action)
L_018f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0191: ldftn Void <>m__0()
L_0197: newobj Void .ctor(Object, IntPtr)
L_019c: stfld System.Action action
L_01a1: ldloc.s 10 (Verse.Command_Action)
L_01a3: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01a5: ldfld Verse.Designator des
L_01aa: ldfld Verse.KeyBindingDef hotKey
L_01af: stfld Verse.KeyBindingDef hotKey
L_01b4: ldloc.s 10 (Verse.Command_Action)
L_01b6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01b8: ldfld Verse.Designator des
L_01bd: ldfld System.Int32 groupKey
L_01c2: stfld System.Int32 groupKey
L_01c7: ldloc.s 6
L_01cc: ldfld Verse.Designator des
L_01d1: ldloc 10
L_01d7: call Void RegisterReverseDesignatorPair(Verse.Designator,
Verse.Command_Action)
L_01dc: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_01e1: ldloc.s 10 (Verse.Command_Action)
L_01e3: callvirt Void Add(Verse.Gizmo)
L_01e8: Label8
L_01e8: ldloc.s 5 (System.Int32)
L_01ea: ldc.i4.1
L_01eb: add
L_01ec: stloc.s 5 (System.Int32)
L_01ee: Label7
L_01ee: ldloc.s 5 (System.Int32)
L_01f0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_01f2: callvirt Int32 get_Count()
L_01f7: blt Label11
L_01fc: Label6
L_01fc: ldloc.2
L_01fd: ldc.i4.1
L_01fe: add
L_01ff: stloc.2
L_0200: Label4
L_0200: ldloc.2
L_0201: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0206: callvirt Int32 get_Count()
L_020b: blt Label12
L_0210: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0215: callvirt Void Clear()
L_021a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_021f: call Verse.WindowStack get_WindowStack()
L_0224: callvirt IInspectPane WindowOfType[IInspectPane]()
L_0229: call Single PaneWidthFor(IInspectPane)
L_022e: ldc.r4 20
L_0233: add
L_0234: ldarg.1
L_0235: call Void DrawGizmoGrid(IEnumerable`1, Single, Verse.Gizmo ByRef)
L_023a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_023f: callvirt Void Clear()
L_0244: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0249: call IEnumerable`1 GetStopGizmos()
L_024e: call Void AddRange(IEnumerable`1)
L_0253: leave Label13
L_0258: leave (autogenerated)
} // end try
.catch System.Exception
{
L_025d: stloc.s 11 (System.Exception)
L_025f: ldloc.s 11 (System.Exception)
L_0261: callvirt System.String ToString()
L_0266: ldc.i4 3427734
L_026b: ldc.i4.0
L_026c: call Void ErrorOnce(System.String, Int32, Boolean)
L_0271: leave Label14
L_0276: leave (autogenerated)
} // end handler
L_027b: Label13
L_027b: Label14
L_027b: ret
DONE

### Patch Verse.PawnUIOverlay, Void DrawPawnGUIOverlay()


L_0000: Local var 0: Verse.AnimalNameDisplayMode
L_0000: Local var 1: UnityEngine.Vector2
L_0000: ldarg.0
L_0001: ldfld Verse.Pawn pawn
L_0006: callvirt Boolean get_Spawned()
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldfld Verse.Pawn pawn
L_0016: callvirt Verse.Map get_Map()
L_001b: ldfld Verse.FogGrid fogGrid
L_0020: ldarg.0
L_0021: ldfld Verse.Pawn pawn
L_0026: callvirt IntVec3 get_Position()
L_002b: callvirt Boolean IsFogged(IntVec3)
L_0030: brfalse Label2
L_0035: Label1
L_0035: br Label14
L_003a: Label2
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt Verse.RaceProperties get_RaceProps()
L_0045: callvirt Boolean get_Humanlike()
L_004a: brtrue Label3
L_004f: call AnimalNameDisplayMode get_AnimalNameMode()
L_0054: stloc.0
L_0055: ldloc.0
L_0056: brfalse Label4
L_005b: ldloc.0
L_005c: ldc.i4.2
L_005d: beq Label5
L_0062: ldloc.0
L_0063: ldc.i4.1
L_0064: beq Label6
L_0069: br Label7
L_006e: Label4
L_006e: br Label15
L_0073: Label5
L_0073: ldarg.0
L_0074: ldfld Verse.Pawn pawn
L_0079: callvirt Verse.Name get_Name()
L_007e: brtrue Label8
L_0083: br Label16
L_0088: Label8
L_0088: br Label9
L_008d: Label6
L_008d: ldarg.0
L_008e: ldfld Verse.Pawn pawn
L_0093: callvirt Verse.Name get_Name()
L_0098: brfalse Label10
L_009d: ldarg.0
L_009e: ldfld Verse.Pawn pawn
L_00a3: callvirt Verse.Name get_Name()
L_00a8: callvirt Boolean get_Numerical()
L_00ad: brfalse Label11
L_00b2: Label10
L_00b2: br Label17
L_00b7: Label11
L_00b7: br Label12
L_00bc: Label3
L_00bc: Label7
L_00bc: Label9
L_00bc: Label12
L_00bc: ldarg.0
L_00bd: ldfld Verse.Pawn pawn
L_00c2: ldc.r4 -0.6
L_00c7: call Vector2 LabelDrawPosFor(Verse.Thing, Single)
L_00cc: stloc.1
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: ldloc.1
L_00d4: ldc.r4 1
L_00d9: ldc.r4 9999
L_00de: ldnull
L_00df: ldc.i4.0
L_00e0: ldc.i4.1
L_00e1: ldc.i4.1
L_00e2: call Void DrawPawnLabel(Verse.Pawn, Vector2, Single, Single,
System.Collections.Generic.Dictionary`2[System.String,System.String], GameFont,
Boolean, Boolean)
L_00e7: ldarg.0
L_00e8: ldfld Verse.Pawn pawn
L_00ed: callvirt Boolean get_CanTradeNow()
L_00f2: brfalse Label13
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: callvirt Verse.Map get_Map()
L_0102: ldfld RimWorld.OverlayDrawer overlayDrawer
L_0107: ldarg.0
L_0108: ldfld Verse.Pawn pawn
L_010d: ldc.i4.s 32
L_010f: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0114: Label13
L_0114: Label14
L_0114: Label15
L_0114: Label16
L_0114: Label17
L_0114: ldarg.0
L_0115: call Void DrawPawnGUIOverlay(Verse.PawnUIOverlay)
L_011a: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ldarg.0
L_0424: ldarg 1
L_042a: ldarg 2
L_0430: ldarg 3
L_0436: call Void RenderPawnAt(Verse.PawnRenderer, Vector3, RotDrawMode, Boolean)
L_043b: ret
DONE

### Patch RimWorld.IncidentWorker_VisitorGroup, Boolean


TryConvertOnePawnToSmallTrader(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map)
L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: RimWorld.TraderKindDef
L_0000: Local var 3: RimWorld.ThingSetMakerParams
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: Verse.IntVec3
L_0000: Local var 8: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Boolean)
L_0007: ldarg.2
L_0008: ldfld RimWorld.FactionDef def
L_000d: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_0012: call Boolean NullOrEmpty[TraderKindDef](IList`1)
L_0017: brfalse Label1
L_001c: ldc.i4.0
L_001d: br Label10
L_0022: Label1
L_0022: ldarg.1
L_0023: call Verse.Pawn RandomElement[Pawn](IEnumerable`1)
L_0028: stloc.0
L_0029: ldloc.0
L_002a: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_002f: stloc.1
L_0030: ldloc.0
L_0031: ldfld Verse.AI.Pawn_MindState mindState
L_0036: ldc.i4.1
L_0037: stfld System.Boolean wantsToTradeWithColony
L_003c: ldloc.0
L_003d: ldc.i4.1
L_003e: call Void AddAndRemoveDynamicComponents(Verse.Pawn, Boolean)
L_0043: ldarg.2
L_0044: ldfld RimWorld.FactionDef def
L_0049: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_004e: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0053: brtrue Label2
L_0058: ldnull
L_0059: ldftn Single <TryConvertOnePawnToSmallTrader>m__0(RimWorld.TraderKindDef)
L_005f: newobj Void .ctor(Object, IntPtr)
L_0064: stsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0069: Label2
L_0069: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_006e: call RimWorld.TraderKindDef RandomElementByWeight[TraderKindDef]
(IEnumerable`1, System.Func`2[RimWorld.TraderKindDef,System.Single])
L_0073: stloc.2
L_0074: ldloc.0
L_0075: ldfld RimWorld.Pawn_TraderTracker trader
L_007a: ldloc.2
L_007b: stfld RimWorld.TraderKindDef traderKind
L_0080: ldloc.0
L_0081: ldfld Verse.Pawn_InventoryTracker inventory
L_0086: ldc.i4.0
L_0087: callvirt Void DestroyAll(DestroyMode)
L_008c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_008e: initobj RimWorld.ThingSetMakerParams
L_0094: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_0096: ldloc.2
L_0097: stfld RimWorld.TraderKindDef traderDef
L_009c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_009e: ldarg.3
L_009f: callvirt Int32 get_Tile()
L_00a4: newobj Void .ctor(Int32)
L_00a9: stfld System.Nullable`1[System.Int32] tile
L_00ae: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_00b0: ldarg.2
L_00b1: stfld RimWorld.Faction traderFaction
L_00b6: ldsfld RimWorld.ThingSetMakerDef TraderStock
L_00bb: ldfld RimWorld.ThingSetMaker root
L_00c0: ldloc.3
L_00c1: callvirt System.Collections.Generic.List`1[Verse.Thing]
Generate(ThingSetMakerParams)
L_00c6: callvirt Enumerator GetEnumerator()
L_00cb: stloc.s 5 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_00cd: br Label3
L_00d2: Label8
L_00d2: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_00d4: call Verse.Thing get_Current()
L_00d9: stloc.s 4 (Verse.Thing)
L_00db: ldloc.s 4 (Verse.Thing)
L_00dd: isinst Verse.Pawn
L_00e2: stloc.s 6 (Verse.Pawn)
L_00e4: ldloc.s 6 (Verse.Pawn)
L_00e6: brfalse Label4
L_00eb: ldloc.s 6 (Verse.Pawn)
L_00ed: callvirt RimWorld.Faction get_Faction()
L_00f2: ldloc.0
L_00f3: callvirt RimWorld.Faction get_Faction()
L_00f8: beq Label5
L_00fd: ldloc.s 6 (Verse.Pawn)
L_00ff: ldloc.0
L_0100: callvirt RimWorld.Faction get_Faction()
L_0105: ldnull
L_0106: callvirt Void SetFaction(RimWorld.Faction, Verse.Pawn)
L_010b: Label5
L_010b: ldloc.0
L_010c: callvirt IntVec3 get_Position()
L_0111: ldarg.3
L_0112: ldc.i4.5
L_0113: ldnull
L_0114: call IntVec3 RandomClosewalkCellNear(IntVec3, Verse.Map, Int32,
System.Predicate`1[Verse.IntVec3])
L_0119: stloc.s 7 (Verse.IntVec3)
L_011b: ldloc.s 6 (Verse.Pawn)
L_011d: ldloc.s 7 (Verse.IntVec3)
L_011f: ldarg.3
L_0120: ldc.i4.0
L_0121: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, WipeMode)
L_0126: pop
L_0127: ldloc.1
L_0128: ldloc.s 6 (Verse.Pawn)
L_012a: callvirt Void AddPawn(Verse.Pawn)
L_012f: br Label6
L_0134: Label4
L_0134: ldloc.0
L_0135: ldfld Verse.Pawn_InventoryTracker inventory
L_013a: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_013f: ldloc.s 4 (Verse.Thing)
L_0141: ldc.i4.1
L_0142: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0147: brtrue Label7
L_014c: ldloc.s 4 (Verse.Thing)
L_014e: ldc.i4.0
L_014f: callvirt Void Destroy(DestroyMode)
L_0154: Label3
L_0154: Label6
L_0154: Label7
L_0154: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0156: call Boolean MoveNext()
L_015b: brtrue Label8
L_0160: leave Label9
L_0165: leave (autogenerated)
} // end try
.finally
{
L_016a: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_016c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_0172: callvirt Void Dispose()
L_0177: endfinally
L_0178: leave (autogenerated)
} // end handler
L_0179: Label9
L_0179: ldloc.0
L_017a: call Void GiveRandomFood(Verse.Pawn)
L_017f: ldc.i4.1
L_0180: Label10
L_0180: stloc 8 (System.Boolean)
L_0182: ldarg 1
L_0188: ldarg 2
L_018e: ldarg 3
L_0194: ldloca 8 (System.Boolean)
L_0196: call Void AddQuestGiver(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map, Boolean ByRef)
L_019b: ldloc 8 (System.Boolean)
L_019d: ret
DONE

### Patch RimWorld.PawnGroupKindWorker_Trader, Void


GenerateGuards(RimWorld.PawnGroupMakerParms, RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Single
L_0000: Local var 1: RimWorld.PawnGenOption
L_0000: Local var 2:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnGenOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: Verse.PawnGenerationRequest
L_0000: Local var 4: Verse.PawnKindDef
L_0000: Local var 5: RimWorld.Faction
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Boolean
L_0000: Local var 8: System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var 9: System.Nullable`1[[Verse.Gender, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 10: Verse.Pawn
L_0000: ldarg.2
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0006: call Boolean Any[PawnGenOption]
(System.Collections.Generic.List`1[RimWorld.PawnGenOption])
L_000b: brtrue Label1
L_0010: br Label6
L_0015: Label1
L_0015: ldarg.1
L_0016: ldfld System.Single points
L_001b: stloc.0
L_001c: ldloc.0
L_001d: ldarg.2
L_001e: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0023: ldarg.1
L_0024: call IEnumerable`1 ChoosePawnGenOptionsByPoints(Single,
System.Collections.Generic.List`1[RimWorld.PawnGenOption],
RimWorld.PawnGroupMakerParms)
L_0029: callvirt IEnumerator`1 GetEnumerator()
L_002e: stloc.2
.try
{
L_002f: br Label2
L_0034: Label3
L_0034: ldloc.2
L_0035: callvirt RimWorld.PawnGenOption get_Current()
L_003a: stloc.1
L_003b: ldloca.s 3 (Verse.PawnGenerationRequest)
L_003d: ldloc.1
L_003e: ldfld Verse.PawnKindDef kind
L_0043: stloc.s 4 (Verse.PawnKindDef)
L_0045: ldarg.1
L_0046: ldfld RimWorld.Faction faction
L_004b: stloc.s 5 (RimWorld.Faction)
L_004d: ldarg.1
L_004e: ldfld System.Int32 tile
L_0053: stloc.s 6 (System.Int32)
L_0055: ldarg.1
L_0056: ldfld System.Boolean inhabitants
L_005b: stloc.s 7 (System.Boolean)
L_005d: ldloc.s 4 (Verse.PawnKindDef)
L_005f: ldloc.s 5 (RimWorld.Faction)
L_0061: ldc.i4.2
L_0062: ldloc.s 6 (System.Int32)
L_0064: ldc.i4.0
L_0065: ldc.i4.0
L_0066: ldc.i4.0
L_0067: ldc.i4.0
L_0068: ldc.i4.1
L_0069: ldc.i4.1
L_006a: ldc.r4 1
L_006f: ldc.i4.0
L_0070: ldc.i4.1
L_0071: ldc.i4.1
L_0072: ldloc.s 7 (System.Boolean)
L_0074: ldc.i4.0
L_0075: ldc.i4.0
L_0076: ldc.i4.0
L_0077: ldnull
L_0078: ldnull
L_0079: ldloca.s 8 (System.Nullable`1[System.Single])
L_007b: initobj System.Nullable`1[System.Single]
L_0081: ldloc.s 8 (System.Nullable`1[System.Single])
L_0083: ldloca.s 8 (System.Nullable`1[System.Single])
L_0085: initobj System.Nullable`1[System.Single]
L_008b: ldloc.s 8 (System.Nullable`1[System.Single])
L_008d: ldloca.s 8 (System.Nullable`1[System.Single])
L_008f: initobj System.Nullable`1[System.Single]
L_0095: ldloc.s 8 (System.Nullable`1[System.Single])
L_0097: ldloca.s 9 (System.Nullable`1[Verse.Gender])
L_0099: initobj System.Nullable`1[Verse.Gender]
L_009f: ldloc.s 9 (System.Nullable`1[Verse.Gender])
L_00a1: ldloca.s 8 (System.Nullable`1[System.Single])
L_00a3: initobj System.Nullable`1[System.Single]
L_00a9: ldloc.s 8 (System.Nullable`1[System.Single])
L_00ab: ldnull
L_00ac: call Void .ctor(PawnKindDef, Faction, PawnGenerationContext, Int32,
Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Single, Boolean, Boolean,
Boolean, Boolean, Boolean, Boolean, Boolean, Predicate`1, Predicate`1, Nullable`1,
Nullable`1, Nullable`1, Nullable`1, Nullable`1, String)
L_00b1: ldloc.3
L_00b2: call Verse.Pawn GeneratePawn(PawnGenerationRequest)
L_00b7: stloc.s 10 (Verse.Pawn)
L_00b9: ldarg.s 5
L_00bb: ldloc.s 10 (Verse.Pawn)
L_00bd: callvirt Void Add(Verse.Pawn)
L_00c2: Label2
L_00c2: ldloc.2
L_00c3: callvirt Boolean MoveNext()
L_00c8: brtrue Label3
L_00cd: leave Label4
L_00d2: leave (autogenerated)
} // end try
.finally
{
L_00d7: ldloc.2
L_00d8: brfalse Label5
L_00dd: ldloc.2
L_00de: callvirt Void Dispose()
L_00e3: Label5
L_00e3: endfinally
L_00e4: leave (autogenerated)
} // end handler
L_00e5: Label4
L_00e5: Label6
L_00e5: ldarg 1
L_00eb: ldarg 2
L_00f1: ldarg 3
L_00f7: ldarg 4
L_00fd: ldarg 5
L_0103: call Void AddQuestGiverTwo(RimWorld.PawnGroupMakerParms,
RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0108: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ldarga 0
L_1ea5: ldarga 1
L_1eab: ldarga 2
L_1eb1: call Void
FloatMenuMakerMap_AddHumanlikeOrdersToDismissTraders_PostFix(Vector3 ByRef,
Verse.Pawn ByRef, System.Collections.Generic.List`1[Verse.FloatMenuOption] ByRef)
L_1eb6: ldarg 0
L_1ebc: ldarg 1
L_1ec2: ldarg 2
L_1ec8: call Void AddHumanlikeOrders(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1ecd: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void PreOpen()


L_0000: ldarg.0
L_0001: call Void PreOpen()
L_0006: call Verse.GameInitData get_GameInitData()
L_000b: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0010: callvirt Int32 get_Count()
L_0015: ldc.i4.0
L_0016: ble Label1
L_001b: ldarg.0
L_001c: call Verse.GameInitData get_GameInitData()
L_0021: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0026: ldc.i4.0
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stfld Verse.Pawn curPawn
L_0031: Label1
L_0031: call Void PreOpenPostfix()
L_0036: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void DoWindowContents(Rect)


L_0000: Local var 0: UnityEngine.Rect
L_0000: Local var 1: UnityEngine.Rect
L_0000: Local var 2: UnityEngine.Rect
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void DrawPageTitle(Rect)
L_0007: ldarga.s 1
L_0009: dup
L_000a: call Single get_yMin()
L_000f: ldc.r4 45
L_0014: add
L_0015: call Void set_yMin(Single)
L_001a: ldarg.0
L_001b: ldarg.1
L_001c: ldstr "Start"
L_0021: call System.String Translate(System.String)
L_0026: ldnull
L_0027: ldnull
L_0028: ldc.i4.1
L_0029: call Void DoBottomButtons(Rect, System.String, System.String,
System.Action, Boolean)
L_002e: ldarga.s 1
L_0030: dup
L_0031: call Single get_yMax()
L_0036: ldc.r4 38
L_003b: sub
L_003c: call Void set_yMax(Single)
L_0041: ldarg.1
L_0042: stloc.0
L_0043: ldloca.s 0 (UnityEngine.Rect)
L_0045: ldc.r4 140
L_004a: call Void set_width(Single)
L_004f: ldarg.0
L_0050: ldloc.0
L_0051: call Void DrawPawnList(Rect)
L_0056: ldloc.0
L_0057: ldstr "ReorderPawn"
L_005c: call Void HighlightOpportunity(Rect, System.String)
L_0061: ldarg.1
L_0062: stloc.1
L_0063: ldloca.s 1 (UnityEngine.Rect)
L_0065: dup
L_0066: call Single get_xMin()
L_006b: ldc.r4 140
L_0070: add
L_0071: call Void set_xMin(Single)
L_0076: ldloc.1
L_0077: ldc.r4 141
L_007c: call Rect BottomPartPixels(Rect, Single)
L_0081: stloc.2
L_0082: ldloca.s 1 (UnityEngine.Rect)
L_0084: ldloca.s 2 (UnityEngine.Rect)
L_0086: call Single get_yMin()
L_008b: call Void set_yMax(Single)
L_0090: ldloc.1
L_0091: ldc.r4 4
L_0096: call Rect ContractedBy(Rect, Single)
L_009b: stloc.1
L_009c: ldloc.2
L_009d: ldc.r4 4
L_00a2: call Rect ContractedBy(Rect, Single)
L_00a7: stloc.2
L_00a8: ldarg.0
L_00a9: ldloc.1
L_00aa: call Void DrawPortraitArea(Rect)
L_00af: ldarg.0
L_00b0: ldloc.2
L_00b1: call Void DrawSkillSummaries(Rect)
L_00b6: ldarg 1
L_00bc: ldarg.0
L_00bd: call Void DoWindowContentsPostfix(Rect,
RimWorld.Page_ConfigureStartingPawns)
L_00c2: ret
DONE

### Patch Verse.Game, Void InitNewGame()


L_0000: Local var 0: System.String
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: RimWorld.Planet.Settlement
L_0000: Local var 3: System.Collections.Generic.List`1[[RimWorld.Planet.Settlement,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.ResearchProjectTagDef
L_0000: Local var 7:
System.Collections.Generic.List`1+Enumerator[[Verse.ResearchProjectTagDef,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: Verse.ResearchProjectDef
L_0000: Local var 9:
System.Collections.Generic.IEnumerator`1[[Verse.ResearchProjectDef, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: call IEnumerable`1 get_RunningMods()
L_0005: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_000a: brtrue Label1
L_000f: ldnull
L_0010: ldftn System.String <InitNewGame>m__1(Verse.ModContentPack)
L_0016: newobj Void .ctor(Object, IntPtr)
L_001b: stsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0020: Label1
L_0020: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0025: call IEnumerable`1 Select[ModContentPack,String](IEnumerable`1,
System.Func`2[Verse.ModContentPack,System.String])
L_002a: ldc.i4.0
L_002b: call System.String ToCommaList(IEnumerable`1, Boolean)
L_0030: stloc.0
L_0031: ldstr "Initializing new game with mods "
L_0036: ldloc.0
L_0037: call System.String Concat(System.String, System.String)
L_003c: ldc.i4.0
L_003d: call Void Message(System.String, Boolean)
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0048: call Boolean Any[Map](System.Collections.Generic.List`1[Verse.Map])
L_004d: brfalse Label2
L_0052: ldstr "Called InitNewGame() but there already is a map. There should be 0
maps..."
L_0057: ldc.i4.0
L_0058: call Void Error(System.String, Boolean)
L_005d: br Label22
L_0062: Label2
L_0062: ldarg.0
L_0063: ldfld Verse.GameInitData initData
L_0068: brtrue Label3
L_006d: ldstr "Called InitNewGame() but init data is null. Create it first."
L_0072: ldc.i4.0
L_0073: call Void Error(System.String, Boolean)
L_0078: br Label23
L_007d: Label3
L_007d: call Void UnloadUnusedUnityAssets()
L_0082: ldstr "InitNewGame"
L_0087: call Void Start(System.String)
.try
{
L_008c: ldc.i4.1
L_008d: call Void set_ProgramState(ProgramState)
L_0092: ldloca.s 1 (Verse.IntVec3)
L_0094: ldarg.0
L_0095: ldfld Verse.GameInitData initData
L_009a: ldfld System.Int32 mapSize
L_009f: ldc.i4.1
L_00a0: ldarg.0
L_00a1: ldfld Verse.GameInitData initData
L_00a6: ldfld System.Int32 mapSize
L_00ab: call Void .ctor(Int32, Int32, Int32)
L_00b0: ldnull
L_00b1: stloc.2
L_00b2: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_00b7: callvirt
System.Collections.Generic.List`1[RimWorld.Planet.Settlement] get_Settlements()
L_00bc: stloc.3
L_00bd: ldc.i4.0
L_00be: stloc.s 4 (System.Int32)
L_00c0: br Label4
L_00c5: Label7
L_00c5: ldloc.3
L_00c6: ldloc.s 4 (System.Int32)
L_00c8: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00cd: callvirt RimWorld.Faction get_Faction()
L_00d2: call RimWorld.Faction get_OfPlayer()
L_00d7: bne.un Label5
L_00dc: ldloc.3
L_00dd: ldloc.s 4 (System.Int32)
L_00df: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00e4: stloc.2
L_00e5: leave Label6
L_00ea: Label5
L_00ea: ldloc.s 4 (System.Int32)
L_00ec: ldc.i4.1
L_00ed: add
L_00ee: stloc.s 4 (System.Int32)
L_00f0: Label4
L_00f0: ldloc.s 4 (System.Int32)
L_00f2: ldloc.3
L_00f3: callvirt Int32 get_Count()
L_00f8: blt Label7
L_00fd: Label6
L_00fd: ldloc.2
L_00fe: brtrue Label8
L_0103: ldstr "Could not generate starting map because there is no any player
faction base."
L_0108: ldc.i4.0
L_0109: call Void Error(System.String, Boolean)
L_010e: Label8
L_010e: ldarg.0
L_010f: ldfld Verse.TickManager tickManager
L_0114: call Int32 get_ConfiguredTicksAbsAtGameStart()
L_0119: stfld System.Int32 gameStartAbsTick
L_011e: ldloc.1
L_011f: ldloc.2
L_0120: ldloc.2
L_0121: callvirt Verse.MapGeneratorDef get_MapGeneratorDef()
L_0126: ldloc.2
L_0127: callvirt IEnumerable`1 get_ExtraGenStepDefs()
L_012c: ldnull
L_012d: call Verse.Map GenerateMap(IntVec3, RimWorld.Planet.MapParent,
Verse.MapGeneratorDef, IEnumerable`1, System.Action`1[Verse.Map])
L_0132: stloc.s 5 (Verse.Map)
L_0134: ldarg.0
L_0135: ldfld RimWorld.Planet.World worldInt
L_013a: ldfld RimWorld.Planet.WorldInfo info
L_013f: ldloc.1
L_0140: stfld Verse.IntVec3 initialMapSize
L_0145: ldarg.0
L_0146: ldfld Verse.GameInitData initData
L_014b: ldfld System.Boolean permadeath
L_0150: brfalse Label9
L_0155: ldarg.0
L_0156: ldfld Verse.GameInfo info
L_015b: ldc.i4.1
L_015c: stfld System.Boolean permadeathMode
L_0161: ldarg.0
L_0162: ldfld Verse.GameInfo info
L_0167: call System.String GeneratePermadeathSaveName()
L_016c: stfld System.String permadeathModeUniqueName
L_0171: Label9
L_0171: ldsfld RimWorld.ThoughtDef NewColonyOptimism
L_0176: call Void GiveAllStartingPlayerPawnsThought(RimWorld.ThoughtDef)
L_017b: ldarg.0
L_017c: call Void FinalizeInit()
L_0181: call Verse.Game get_Game()
L_0186: ldloc.s 5 (Verse.Map)
L_0188: callvirt Void set_CurrentMap(Verse.Map)
L_018d: call Verse.CameraDriver get_CameraDriver()
L_0192: call IntVec3 get_PlayerStartSpot()
L_0197: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_019c: call Verse.CameraDriver get_CameraDriver()
L_01a1: callvirt Void ResetSize()
L_01a6: call Boolean get_PauseOnLoad()
L_01ab: brfalse Label10
L_01b0: ldarg.0
L_01b1: ldfld Verse.GameInitData initData
L_01b6: ldfld System.Boolean startedFromEntry
L_01bb: brfalse Label11
L_01c0: ldarg.0
L_01c1: ldftn Void <InitNewGame>m__2()
L_01c7: newobj Void .ctor(Object, IntPtr)
L_01cc: call Void ExecuteWhenFinished(System.Action)
L_01d1: Label10
L_01d1: Label11
L_01d1: call RimWorld.Scenario get_Scenario()
L_01d6: callvirt Void PostGameStart()
L_01db: call RimWorld.Faction get_OfPlayer()
L_01e0: ldfld RimWorld.FactionDef def
L_01e5: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01ea: brfalse Label12
L_01ef: call RimWorld.Faction get_OfPlayer()
L_01f4: ldfld RimWorld.FactionDef def
L_01f9: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01fe: callvirt Enumerator GetEnumerator()
L_0203: stloc.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
.try
{
L_0205: br Label13
L_020a: Label19
L_020a: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_020c: call Verse.ResearchProjectTagDef get_Current()
L_0211: stloc.s 6 (Verse.ResearchProjectTagDef)
L_0213: call IEnumerable`1 get_AllDefs()
L_0218: callvirt IEnumerator`1 GetEnumerator()
L_021d: stloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
.try
{
L_021f: br Label14
L_0224: Label16
L_0224: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0226: callvirt Verse.ResearchProjectDef get_Current()
L_022b: stloc.s 8 (Verse.ResearchProjectDef)
L_022d: ldloc.s 8 (Verse.ResearchProjectDef)
L_022f: ldloc.s 6 (Verse.ResearchProjectTagDef)
L_0231: callvirt Boolean HasTag(Verse.ResearchProjectTagDef)
L_0236: brfalse Label15
L_023b: ldarg.0
L_023c: ldfld RimWorld.ResearchManager researchManager
L_0241: ldloc.s 8 (Verse.ResearchProjectDef)
L_0243: ldc.i4.0
L_0244: ldnull
L_0245: callvirt Void FinishProject(Verse.ResearchProjectDef,
Boolean, Verse.Pawn)
L_024a: Label14
L_024a: Label15
L_024a: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_024c: callvirt Boolean MoveNext()
L_0251: brtrue Label16
L_0256: leave Label17
L_025b: leave (autogenerated)
} // end try
.finally
{
L_0260: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0262: brfalse Label18
L_0267: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0269: callvirt Void Dispose()
L_026e: Label18
L_026e: endfinally
L_026f: leave (autogenerated)
} // end handler
L_0270: Label13
L_0270: Label17
L_0270: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0272: call Boolean MoveNext()
L_0277: brtrue Label19
L_027c: leave Label20
L_0281: leave (autogenerated)
} // end try
.finally
{
L_0286: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0288: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef]
L_028e: callvirt Void Dispose()
L_0293: endfinally
L_0294: leave (autogenerated)
} // end handler
L_0295: Label12
L_0295: Label20
L_0295: call Void StartedNewGame()
L_029a: ldarg.0
L_029b: ldnull
L_029c: stfld Verse.GameInitData initData
L_02a1: leave Label21
L_02a6: leave (autogenerated)
} // end try
.finally
{
L_02ab: call Void End()
L_02b0: endfinally
L_02b1: leave (autogenerated)
} // end handler
L_02b2: Label21
L_02b2: Label22
L_02b2: Label23
L_02b2: call Void InitNewGamePostfix()
L_02b7: ret
DONE

### Patch RimWorld.MainTabWindow_Inspect, IEnumerable`1 get_CurTabs()


L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[Verse.InspectTabBase, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0002: ldarg.0
L_0003: call Int32 get_NumSelected()
L_0008: ldc.i4.1
L_0009: bne.un Label1
L_000e: ldarg.0
L_000f: call Verse.Thing get_SelThing()
L_0014: brfalse Label2
L_0019: ldarg.0
L_001a: call Verse.Thing get_SelThing()
L_001f: ldfld Verse.ThingDef def
L_0024: ldfld System.Collections.Generic.List`1[Verse.InspectTabBase]
inspectorTabsResolved
L_0029: brfalse Label3
L_002e: ldarg.0
L_002f: call Verse.Thing get_SelThing()
L_0034: callvirt IEnumerable`1 GetInspectTabs()
L_0039: br Label5
L_003e: Label2
L_003e: Label3
L_003e: ldarg.0
L_003f: call Verse.Zone get_SelZone()
L_0044: brfalse Label4
L_0049: ldarg.0
L_004a: call Verse.Zone get_SelZone()
L_004f: callvirt IEnumerable`1 GetInspectTabs()
L_0054: br Label6
L_0059: Label1
L_0059: Label4
L_0059: call IEnumerable`1 Empty[InspectTabBase]()
L_005e: Label5
L_005e: Label6
L_005e: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_005f: ldloca 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0061: call Void Postfix(IEnumerable`1 ByRef)
L_0066: ldloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0067: ret
DONE

### Patch Verse.ThingOwner, Void NotifyAdded(Verse.Thing)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Map, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.CompTransporter
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: Local var 4: RimWorld.Pawn_ApparelTracker
L_0000: Local var 5: Verse.Pawn_EquipmentTracker
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: call Boolean ShouldAutoExtinguishInnerThings(IThingHolder)
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldsfld Verse.ThingDef Fire
L_0016: call Boolean HasAttachment(Verse.Thing, Verse.ThingDef)
L_001b: brfalse Label2
L_0020: ldarg.1
L_0021: ldsfld Verse.ThingDef Fire
L_0026: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_002b: ldc.i4.0
L_002c: callvirt Void Destroy(DestroyMode)
L_0031: Label1
L_0031: Label2
L_0031: ldarg.0
L_0032: ldfld Verse.IThingHolder owner
L_0037: call Boolean ShouldRemoveDesignationsOnAddedThings(IThingHolder)
L_003c: brfalse Label3
L_0041: call System.Collections.Generic.List`1[Verse.Map] get_Maps()
L_0046: stloc.0
L_0047: ldc.i4.0
L_0048: stloc.1
L_0049: br Label4
L_004e: Label5
L_004e: ldloc.0
L_004f: ldloc.1
L_0050: callvirt Verse.Map get_Item(Int32)
L_0055: ldfld Verse.DesignationManager designationManager
L_005a: ldarg.1
L_005b: ldc.i4.0
L_005c: callvirt Void RemoveAllDesignationsOn(Verse.Thing, Boolean)
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label4
L_0065: ldloc.1
L_0066: ldloc.0
L_0067: callvirt Int32 get_Count()
L_006c: blt Label5
L_0071: Label3
L_0071: ldarg.0
L_0072: ldfld Verse.IThingHolder owner
L_0077: isinst RimWorld.CompTransporter
L_007c: stloc.2
L_007d: ldloc.2
L_007e: brfalse Label6
L_0083: ldloc.2
L_0084: ldarg.1
L_0085: callvirt Void Notify_ThingAdded(Verse.Thing)
L_008a: Label6
L_008a: ldarg.0
L_008b: ldfld Verse.IThingHolder owner
L_0090: isinst RimWorld.Planet.Caravan
L_0095: stloc.3
L_0096: ldloc.3
L_0097: brfalse Label7
L_009c: ldloc.3
L_009d: ldarg.1
L_009e: castclass Verse.Pawn
L_00a3: callvirt Void Notify_PawnAdded(Verse.Pawn)
L_00a8: Label7
L_00a8: ldarg.0
L_00a9: ldfld Verse.IThingHolder owner
L_00ae: isinst RimWorld.Pawn_ApparelTracker
L_00b3: stloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b5: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b7: brfalse Label8
L_00bc: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00be: ldarg.1
L_00bf: castclass RimWorld.Apparel
L_00c4: callvirt Void Notify_ApparelAdded(RimWorld.Apparel)
L_00c9: Label8
L_00c9: ldarg.0
L_00ca: ldfld Verse.IThingHolder owner
L_00cf: isinst Verse.Pawn_EquipmentTracker
L_00d4: stloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d6: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d8: brfalse Label9
L_00dd: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00df: ldarg.1
L_00e0: castclass Verse.ThingWithComps
L_00e5: callvirt Void Notify_EquipmentAdded(Verse.ThingWithComps)
L_00ea: Label9
L_00ea: ldarg.0
L_00eb: ldarg.1
L_00ec: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_00f1: ldarg.0
L_00f2: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_00f7: ret
DONE

### Patch Verse.ThingOwner, Void NotifyRemoved(Verse.Thing)


L_0000: Local var 0: Verse.Pawn_InventoryTracker
L_0000: Local var 1: RimWorld.Pawn_ApparelTracker
L_0000: Local var 2: Verse.Pawn_EquipmentTracker
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: isinst Verse.Pawn_InventoryTracker
L_000b: stloc.0
L_000c: ldloc.0
L_000d: brfalse Label1
L_0012: ldloc.0
L_0013: ldarg.1
L_0014: callvirt Void Notify_ItemRemoved(Verse.Thing)
L_0019: Label1
L_0019: ldarg.0
L_001a: ldfld Verse.IThingHolder owner
L_001f: isinst RimWorld.Pawn_ApparelTracker
L_0024: stloc.1
L_0025: ldloc.1
L_0026: brfalse Label2
L_002b: ldloc.1
L_002c: ldarg.1
L_002d: castclass RimWorld.Apparel
L_0032: callvirt Void Notify_ApparelRemoved(RimWorld.Apparel)
L_0037: Label2
L_0037: ldarg.0
L_0038: ldfld Verse.IThingHolder owner
L_003d: isinst Verse.Pawn_EquipmentTracker
L_0042: stloc.2
L_0043: ldloc.2
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldarg.1
L_004b: castclass Verse.ThingWithComps
L_0050: callvirt Void Notify_EquipmentRemoved(Verse.ThingWithComps)
L_0055: Label3
L_0055: ldarg.0
L_0056: ldfld Verse.IThingHolder owner
L_005b: isinst RimWorld.Planet.Caravan
L_0060: stloc.3
L_0061: ldloc.3
L_0062: brfalse Label4
L_0067: ldloc.3
L_0068: ldarg.1
L_0069: castclass Verse.Pawn
L_006e: callvirt Void Notify_PawnRemoved(Verse.Pawn)
L_0073: Label4
L_0073: ldarg.0
L_0074: ldarg.1
L_0075: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_007a: ldarg.0
L_007b: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_0080: ret
DONE

### Patch RimWorld.Selector, Void ClearSelection()


L_0000: call Void Clear()
L_0005: ldarg.0
L_0006: ldfld System.Collections.Generic.List`1[System.Object] selected
L_000b: callvirt Void Clear()
L_0010: call Void Postfix()
L_0015: ret
DONE

### Patch RimWorld.Selector, Void Deselect(System.Object)


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldloca 0 (System.Int32)
L_0008: call Void Prefix(Int32 ByRef)
L_000d: ldarg.0
L_000e: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0013: ldarg.1
L_0014: callvirt Boolean Contains(System.Object)
L_0019: brfalse Label1
L_001e: ldarg.0
L_001f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0024: ldarg.1
L_0025: callvirt Boolean Remove(System.Object)
L_002a: pop
L_002b: Label1
L_002b: ldloc 0 (System.Int32)
L_002c: call Void Postfix(Int32)
L_0031: ret
DONE

### Patch RimWorld.Selector, Void Select(System.Object, Boolean, Boolean)


L_0000: Local var 0: Verse.Thing
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Int32)
L_0007: ldloca 7 (System.Int32)
L_0009: call Void Prefix(Int32 ByRef)
L_000e: ldarg.1
L_000f: brtrue Label1
L_0014: ldstr "Cannot select null."
L_0019: ldc.i4.0
L_001a: call Void Error(System.String, Boolean)
L_001f: br Label26
L_0024: Label1
L_0024: ldarg.1
L_0025: isinst Verse.Thing
L_002a: stloc.0
L_002b: ldloc.0
L_002c: brtrue Label2
L_0031: ldarg.1
L_0032: isinst Verse.Zone
L_0037: brtrue Label3
L_003c: ldstr "Tried to select "
L_0041: ldarg.1
L_0042: ldstr " which is neither a Thing nor a Zone."
L_0047: call System.String Concat(System.Object, System.Object, System.Object)
L_004c: ldc.i4.0
L_004d: call Void Error(System.String, Boolean)
L_0052: br Label27
L_0057: Label2
L_0057: Label3
L_0057: ldloc.0
L_0058: brfalse Label4
L_005d: ldloc.0
L_005e: callvirt Boolean get_Destroyed()
L_0063: brfalse Label5
L_0068: ldstr "Cannot select destroyed thing."
L_006d: ldc.i4.0
L_006e: call Void Error(System.String, Boolean)
L_0073: br Label28
L_0078: Label4
L_0078: Label5
L_0078: ldarg.1
L_0079: isinst Verse.Pawn
L_007e: stloc.1
L_007f: ldloc.1
L_0080: brfalse Label6
L_0085: ldloc.1
L_0086: call Boolean IsWorldPawn(Verse.Pawn)
L_008b: brfalse Label7
L_0090: ldstr "Cannot select world pawns."
L_0095: ldc.i4.0
L_0096: call Void Error(System.String, Boolean)
L_009b: br Label29
L_00a0: Label6
L_00a0: Label7
L_00a0: ldarg.3
L_00a1: brfalse Label8
L_00a6: call Verse.DesignatorManager get_DesignatorManager()
L_00ab: callvirt Void Deselect()
L_00b0: Label8
L_00b0: ldarg.0
L_00b1: call Verse.Zone get_SelectedZone()
L_00b6: brfalse Label9
L_00bb: ldarg.1
L_00bc: isinst Verse.Zone
L_00c1: brtrue Label10
L_00c6: ldarg.0
L_00c7: call Void ClearSelection()
L_00cc: Label9
L_00cc: Label10
L_00cc: ldarg.1
L_00cd: isinst Verse.Zone
L_00d2: brfalse Label11
L_00d7: ldarg.0
L_00d8: call Verse.Zone get_SelectedZone()
L_00dd: brtrue Label12
L_00e2: ldarg.0
L_00e3: call Void ClearSelection()
L_00e8: Label11
L_00e8: Label12
L_00e8: ldloc.0
L_00e9: brfalse Label13
L_00ee: ldloc.0
L_00ef: callvirt Verse.Map get_Map()
L_00f4: br Label14
L_00f9: Label13
L_00f9: ldarg.1
L_00fa: castclass Verse.Zone
L_00ff: callvirt Verse.Map get_Map()
L_0104: Label14
L_0104: stloc.2
L_0105: ldarg.0
L_0106: ldfld System.Collections.Generic.List`1[System.Object] selected
L_010b: callvirt Int32 get_Count()
L_0110: ldc.i4.1
L_0111: sub
L_0112: stloc.3
L_0113: br Label15
L_0118: Label19
L_0118: ldarg.0
L_0119: ldfld System.Collections.Generic.List`1[System.Object] selected
L_011e: ldloc.3
L_011f: callvirt System.Object get_Item(Int32)
L_0124: isinst Verse.Thing
L_0129: stloc.s 4 (Verse.Thing)
L_012b: ldloc.s 4 (Verse.Thing)
L_012d: brfalse Label16
L_0132: ldloc.s 4 (Verse.Thing)
L_0134: callvirt Verse.Map get_Map()
L_0139: br Label17
L_013e: Label16
L_013e: ldarg.0
L_013f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0144: ldloc.3
L_0145: callvirt System.Object get_Item(Int32)
L_014a: castclass Verse.Zone
L_014f: callvirt Verse.Map get_Map()
L_0154: Label17
L_0154: stloc.s 5 (Verse.Map)
L_0156: ldloc.s 5 (Verse.Map)
L_0158: ldloc.2
L_0159: beq Label18
L_015e: ldarg.0
L_015f: ldarg.0
L_0160: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0165: ldloc.3
L_0166: callvirt System.Object get_Item(Int32)
L_016b: call Void Deselect(System.Object)
L_0170: Label18
L_0170: ldloc.3
L_0171: ldc.i4.1
L_0172: sub
L_0173: stloc.3
L_0174: Label15
L_0174: ldloc.3
L_0175: ldc.i4.0
L_0176: bge Label19
L_017b: ldarg.0
L_017c: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0181: callvirt Int32 get_Count()
L_0186: ldc.i4.s 80
L_0188: blt Label20
L_018d: br Label30
L_0192: Label20
L_0192: ldarg.0
L_0193: ldarg.1
L_0194: call Boolean IsSelected(System.Object)
L_0199: brtrue Label21
L_019e: ldloc.2
L_019f: call Verse.Map get_CurrentMap()
L_01a4: beq Label22
L_01a9: call Verse.Game get_Game()
L_01ae: ldloc.2
L_01af: callvirt Void set_CurrentMap(Verse.Map)
L_01b4: ldsfld Verse.SoundDef MapSelected
L_01b9: ldnull
L_01ba: call Void PlayOneShotOnCamera(Verse.SoundDef, Verse.Map)
L_01bf: ldloc.0
L_01c0: brfalse Label23
L_01c5: ldloc.0
L_01c6: callvirt IntVec3 get_Position()
L_01cb: br Label24
L_01d0: Label23
L_01d0: ldarg.1
L_01d1: castclass Verse.Zone
L_01d6: callvirt System.Collections.Generic.List`1[Verse.IntVec3] get_Cells()
L_01db: ldc.i4.0
L_01dc: callvirt IntVec3 get_Item(Int32)
L_01e1: Label24
L_01e1: stloc.s 6 (Verse.IntVec3)
L_01e3: call Verse.CameraDriver get_CameraDriver()
L_01e8: ldloc.s 6 (Verse.IntVec3)
L_01ea: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_01ef: Label22
L_01ef: ldarg.2
L_01f0: brfalse Label25
L_01f5: ldarg.0
L_01f6: ldarg.1
L_01f7: call Void PlaySelectionSoundFor(System.Object)
L_01fc: Label25
L_01fc: ldarg.0
L_01fd: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0202: ldarg.1
L_0203: callvirt Void Add(System.Object)
L_0208: ldarg.1
L_0209: call Void Notify_Selected(System.Object)
L_020e: Label21
L_020e: Label26
L_020e: Label27
L_020e: Label28
L_020e: Label29
L_020e: Label30
L_020e: ldloc 7 (System.Int32)
L_0210: call Void Postfix(Int32)
L_0215: ret
DONE

### Patch RimWorld.Blueprint_Build, Verse.Thing MakeSolidThing()


L_0000: Local var 0: Verse.Thing
L_0000: ldnull
L_0001: stloc 0 (Verse.Thing)
L_0002: ldarg.0
L_0003: ldfld Verse.ThingDef def
L_0008: ldfld Verse.BuildableDef entityDefToBuild
L_000d: ldfld Verse.ThingDef frameDef
L_0012: ldarg.0
L_0013: ldfld Verse.ThingDef stuffToUse
L_0018: call Verse.Thing MakeThing(Verse.ThingDef, Verse.ThingDef)
L_001d: stloc 0 (Verse.Thing)
L_001e: ldloc 0 (Verse.Thing)
L_001f: ldarg.0
L_0020: call Void Postfix(Verse.Thing, RimWorld.Blueprint_Build)
L_0025: ldloc 0 (Verse.Thing)
L_0026: ret
DONE

### Patch Verse.AreaManager, Void ExposeData()


L_0000: ldarg.0
L_0001: call Void Prefix(Verse.AreaManager)
L_0006: ldarg.0
L_0007: ldflda System.Collections.Generic.List`1[Verse.Area] areas
L_000c: ldstr "areas"
L_0011: ldc.i4.2
L_0012: ldc.i4.0
L_0013: newarr System.Object
L_0018: call Void Look[Area](System.Collections.Generic.List`1[Verse.Area] ByRef,
System.String, LookMode, System.Object[])
L_001d: ldsfld Verse.LoadSaveMode mode
L_0022: ldc.i4.2
L_0023: bne.un Label1
L_0028: ldarg.0
L_0029: call Void UpdateAllAreasLinks()
L_002e: Label1
L_002e: ret
DONE

### Patch RimWorld.PlaySettings, Void DoPlaySettingsGlobalControls(Verse.WidgetRow,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Boolean
L_0000: Local var 3: System.Boolean
L_0000: ldarg.0
L_0001: ldfld System.Boolean showColonistBar
L_0006: stloc.0
L_0007: ldarg.2
L_0008: brfalse Label1
L_000d: call ProgramState get_ProgramState()
L_0012: ldc.i4.2
L_0013: bne.un Label2
L_0018: ldarg.1
L_0019: ldarg.0
L_001a: ldflda System.Boolean showColonistBar
L_001f: ldsfld UnityEngine.Texture2D ShowColonistBar
L_0024: ldstr "ShowColonistBarToggleButton"
L_0029: call System.String Translate(System.String)
L_002e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0033: ldnull
L_0034: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0039: Label2
L_0039: ldarg.0
L_003a: ldfld System.Boolean lockNorthUp
L_003f: stloc.1
L_0040: ldarg.1
L_0041: ldarg.0
L_0042: ldflda System.Boolean lockNorthUp
L_0047: ldsfld UnityEngine.Texture2D LockNorthUp
L_004c: ldstr "LockNorthUpToggleButton"
L_0051: call System.String Translate(System.String)
L_0056: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_005b: ldnull
L_005c: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0061: ldloc.1
L_0062: ldarg.0
L_0063: ldfld System.Boolean lockNorthUp
L_0068: beq Label3
L_006d: ldarg.0
L_006e: ldfld System.Boolean lockNorthUp
L_0073: brfalse Label4
L_0078: call RimWorld.Planet.WorldCameraDriver get_WorldCameraDriver()
L_007d: ldc.i4.1
L_007e: callvirt Void RotateSoNorthIsUp(Boolean)
L_0083: Label3
L_0083: Label4
L_0083: ldarg.1
L_0084: ldarg.0
L_0085: ldflda System.Boolean usePlanetDayNightSystem
L_008a: ldsfld UnityEngine.Texture2D UsePlanetDayNightSystem
L_008f: ldstr "UsePlanetDayNightSystemToggleButton"
L_0094: call System.String Translate(System.String)
L_0099: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_009e: ldnull
L_009f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00a4: ldarg.1
L_00a5: ldarg.0
L_00a6: ldflda System.Boolean showExpandingIcons
L_00ab: ldsfld UnityEngine.Texture2D ShowExpandingIcons
L_00b0: ldstr "ShowExpandingIconsToggleButton"
L_00b5: call System.String Translate(System.String)
L_00ba: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00bf: ldnull
L_00c0: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00c5: ldarg.1
L_00c6: ldarg.0
L_00c7: ldflda System.Boolean showWorldFeatures
L_00cc: ldsfld UnityEngine.Texture2D ShowWorldFeatures
L_00d1: ldstr "ShowWorldFeaturesToggleButton"
L_00d6: call System.String Translate(System.String)
L_00db: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00e0: ldnull
L_00e1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00e6: br Label5
L_00eb: Label1
L_00eb: ldarg.1
L_00ec: ldarg.0
L_00ed: ldflda System.Boolean showLearningHelper
L_00f2: ldsfld UnityEngine.Texture2D ShowLearningHelper
L_00f7: ldstr "ShowLearningHelperWhenEmptyToggleButton"
L_00fc: call System.String Translate(System.String)
L_0101: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0106: ldnull
L_0107: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_010c: ldarg.1
L_010d: ldarg.0
L_010e: ldflda System.Boolean showZones
L_0113: ldsfld UnityEngine.Texture2D ShowZones
L_0118: ldstr "ZoneVisibilityToggleButton"
L_011d: call System.String Translate(System.String)
L_0122: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0127: ldnull
L_0128: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_012d: ldarg.1
L_012e: ldarg.0
L_012f: ldflda System.Boolean showBeauty
L_0134: ldsfld UnityEngine.Texture2D ShowBeauty
L_0139: ldstr "ShowBeautyToggleButton"
L_013e: call System.String Translate(System.String)
L_0143: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0148: ldnull
L_0149: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_014e: ldarg.0
L_014f: ldsfld Verse.KeyBindingDef ToggleBeautyDisplay
L_0154: ldarg.0
L_0155: ldflda System.Boolean showBeauty
L_015a: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_015f: ldarg.1
L_0160: ldarg.0
L_0161: ldflda System.Boolean showRoomStats
L_0166: ldsfld UnityEngine.Texture2D ShowRoomStats
L_016b: ldstr "ShowRoomStatsToggleButton"
L_0170: call System.String Translate(System.String)
L_0175: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_017a: ldstr "InspectRoomStats"
L_017f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0184: ldarg.0
L_0185: ldsfld Verse.KeyBindingDef ToggleRoomStatsDisplay
L_018a: ldarg.0
L_018b: ldflda System.Boolean showRoomStats
L_0190: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_0195: ldarg.1
L_0196: ldarg.0
L_0197: ldflda System.Boolean showColonistBar
L_019c: ldsfld UnityEngine.Texture2D ShowColonistBar
L_01a1: ldstr "ShowColonistBarToggleButton"
L_01a6: call System.String Translate(System.String)
L_01ab: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01b0: ldnull
L_01b1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01b6: ldarg.1
L_01b7: ldarg.0
L_01b8: ldflda System.Boolean showRoofOverlay
L_01bd: ldsfld UnityEngine.Texture2D ShowRoofOverlay
L_01c2: ldstr "ShowRoofOverlayToggleButton"
L_01c7: call System.String Translate(System.String)
L_01cc: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01d1: ldnull
L_01d2: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01d7: ldarg.1
L_01d8: ldarg.0
L_01d9: ldflda System.Boolean autoHomeArea
L_01de: ldsfld UnityEngine.Texture2D AutoHomeArea
L_01e3: ldstr "AutoHomeAreaToggleButton"
L_01e8: call System.String Translate(System.String)
L_01ed: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01f2: ldnull
L_01f3: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01f8: ldarg.1
L_01f9: ldarg.0
L_01fa: ldflda System.Boolean autoRebuild
L_01ff: ldsfld UnityEngine.Texture2D AutoRebuild
L_0204: ldstr "AutoRebuildButton"
L_0209: call System.String Translate(System.String)
L_020e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0213: ldnull
L_0214: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0219: call Boolean get_ResourceReadoutCategorized()
L_021e: stloc.2
L_021f: ldloc.2
L_0220: stloc.3
L_0221: ldarg.1
L_0222: ldloca.s 2 (System.Boolean)
L_0224: ldsfld UnityEngine.Texture2D CategorizedResourceReadout
L_0229: ldstr "CategorizedResourceReadoutToggleButton"
L_022e: call System.String Translate(System.String)
L_0233: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0238: ldnull
L_0239: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_023e: ldloc.2
L_023f: ldloc.3
L_0240: beq Label6
L_0245: ldloc.2
L_0246: call Void set_ResourceReadoutCategorized(Boolean)
L_024b: Label5
L_024b: Label6
L_024b: ldloc.0
L_024c: ldarg.0
L_024d: ldfld System.Boolean showColonistBar
L_0252: beq Label7
L_0257: call RimWorld.ColonistBar get_ColonistBar()
L_025c: callvirt Void MarkColonistsDirty()
L_0261: Label7
L_0261: ldarg 1
L_0267: ldarg 2
L_026d: call Void AddButton(Verse.WidgetRow, Boolean)
L_0272: ldarg 1
L_0278: ldarg 2
L_027e: call Void AddButton(Verse.WidgetRow, Boolean)
L_0283: ldarg 1
L_0289: ldarg 2
L_028f: call Void AddButton(Verse.WidgetRow, Boolean)
L_0294: ldarg 1
L_029a: ldarg 2
L_02a0: call Void Postfix(Verse.WidgetRow, Boolean)
L_02a5: ret
DONE

### Patch RimWorld.Apparel, Void Notify_PawnKilled()


L_0000: ldarg.0
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.ApparelProperties apparel
L_000b: ldfld System.Boolean careIfWornByCorpse
L_0010: brfalse Label1
L_0015: ldarg.0
L_0016: ldc.i4.1
L_0017: stfld System.Boolean wornByCorpseInt
L_001c: Label1
L_001c: ldarg.0
L_001d: call Void Postfix(RimWorld.Apparel)
L_0022: ret
DONE

### Patch Verse.Game, Void UpdatePlay()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.TickManager tickManager
L_0006: callvirt Void TickManagerUpdate()
L_000b: ldarg.0
L_000c: ldfld Verse.LetterStack letterStack
L_0011: callvirt Void LetterStackUpdate()
L_0016: ldarg.0
L_0017: call RimWorld.Planet.World get_World()
L_001c: callvirt Void WorldUpdate()
L_0021: ldc.i4.0
L_0022: stloc.0
L_0023: br Label1
L_0028: Label2
L_0028: ldarg.0
L_0029: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_002e: ldloc.0
L_002f: callvirt Verse.Map get_Item(Int32)
L_0034: callvirt Void MapUpdate()
L_0039: ldloc.0
L_003a: ldc.i4.1
L_003b: add
L_003c: stloc.0
L_003d: Label1
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0044: callvirt Int32 get_Count()
L_0049: blt Label2
L_004e: ldarg.0
L_004f: call Verse.GameInfo get_Info()
L_0054: callvirt Void GameInfoUpdate()
L_0059: call Void GameComponentUpdate()
L_005e: call Void Postfix()
L_0063: ret
DONE

### Patch Verse.EdificeGrid, Void Register(Verse.Building)


L_0000: Local var 0: Verse.CellIndices
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.IntVec3
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean RegisterDoorExpanded(Verse.EdificeGrid, Verse.Building)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld Verse.Map map
L_0017: ldfld Verse.CellIndices cellIndices
L_001c: stloc.0
L_001d: ldarg.1
L_001e: call CellRect OccupiedRect(Verse.Thing)
L_0023: stloc.1
L_0024: ldloca.s 1 (Verse.CellRect)
L_0026: ldfld System.Int32 minZ
L_002b: stloc.2
L_002c: br Label1
L_0031: Label7
L_0031: ldloca.s 1 (Verse.CellRect)
L_0033: ldfld System.Int32 minX
L_0038: stloc.3
L_0039: br Label2
L_003e: Label6
L_003e: ldloca.s 4 (Verse.IntVec3)
L_0040: ldloc.3
L_0041: ldc.i4.0
L_0042: ldloc.2
L_0043: call Void .ctor(Int32, Int32, Int32)
L_0048: ldsfld System.Boolean isDebugBuild
L_004d: brfalse Label3
L_0052: ldarg.0
L_0053: ldloc.s 4 (Verse.IntVec3)
L_0055: call Verse.Building get_Item(IntVec3)
L_005a: brfalse Label4
L_005f: ldarg.0
L_0060: ldloc.s 4 (Verse.IntVec3)
L_0062: call Verse.Building get_Item(IntVec3)
L_0067: callvirt Boolean get_Destroyed()
L_006c: brtrue Label5
L_0071: ldc.i4.7
L_0072: newarr System.Object
L_0077: dup
L_0078: ldc.i4.0
L_0079: ldstr "Added edifice "
L_007e: stelem.ref
L_007f: dup
L_0080: ldc.i4.1
L_0081: ldarg.1
L_0082: callvirt System.String get_LabelCap()
L_0087: stelem.ref
L_0088: dup
L_0089: ldc.i4.2
L_008a: ldstr " over edifice "
L_008f: stelem.ref
L_0090: dup
L_0091: ldc.i4.3
L_0092: ldarg.0
L_0093: ldloc.s 4 (Verse.IntVec3)
L_0095: call Verse.Building get_Item(IntVec3)
L_009a: callvirt System.String get_LabelCap()
L_009f: stelem.ref
L_00a0: dup
L_00a1: ldc.i4.4
L_00a2: ldstr " at "
L_00a7: stelem.ref
L_00a8: dup
L_00a9: ldc.i4.5
L_00aa: ldloc.s 4 (Verse.IntVec3)
L_00ac: box Verse.IntVec3
L_00b1: stelem.ref
L_00b2: dup
L_00b3: ldc.i4.6
L_00b4: ldstr ". Destroying old edifice."
L_00b9: stelem.ref
L_00ba: call System.String Concat(System.Object[])
L_00bf: ldc.i4.0
L_00c0: call Void Error(System.String, Boolean)
L_00c5: ldarg.0
L_00c6: ldloc.s 4 (Verse.IntVec3)
L_00c8: call Verse.Building get_Item(IntVec3)
L_00cd: ldc.i4.0
L_00ce: callvirt Void Destroy(DestroyMode)
L_00d3: br Label8
L_00d8: Label3
L_00d8: Label4
L_00d8: Label5
L_00d8: ldarg.0
L_00d9: ldfld Verse.Building[] innerArray
L_00de: ldloc.0
L_00df: ldloc.s 4 (Verse.IntVec3)
L_00e1: callvirt Int32 CellToIndex(IntVec3)
L_00e6: ldarg.1
L_00e7: stelem.ref
L_00e8: ldloc.3
L_00e9: ldc.i4.1
L_00ea: add
L_00eb: stloc.3
L_00ec: Label2
L_00ec: ldloc.3
L_00ed: ldloca.s 1 (Verse.CellRect)
L_00ef: ldfld System.Int32 maxX
L_00f4: ble Label6
L_00f9: ldloc.2
L_00fa: ldc.i4.1
L_00fb: add
L_00fc: stloc.2
L_00fd: Label1
L_00fd: ldloc.2
L_00fe: ldloca.s 1 (Verse.CellRect)
L_0100: ldfld System.Int32 maxZ
L_0105: ble Label7
L_010a: Label8
L_010a: Label0
L_010a: ret
DONE

### Patch RimWorld.Building_Door, Void DoorOpen(Int32)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorOpen(RimWorld.Building_Door, Int32)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean openInt
L_0017: brfalse Label1
L_001c: ldarg.0
L_001d: ldarg.1
L_001e: stfld System.Int32 ticksUntilClose
L_0023: br Label2
L_0028: Label1
L_0028: ldarg.0
L_0029: ldarg.0
L_002a: call Int32 get_TicksToOpenNow()
L_002f: ldarg.1
L_0030: add
L_0031: stfld System.Int32 ticksUntilClose
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld System.Boolean openInt
L_003c: brtrue Label3
L_0041: ldarg.0
L_0042: ldc.i4.1
L_0043: stfld System.Boolean openInt
L_0048: ldarg.0
L_0049: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_004e: ldarg.0
L_004f: call Boolean get_DoorPowerOn()
L_0054: brfalse Label4
L_0059: ldarg.0
L_005a: ldfld Verse.ThingDef def
L_005f: ldfld RimWorld.BuildingProperties building
L_0064: ldfld Verse.SoundDef soundDoorOpenPowered
L_0069: ldarg.0
L_006a: call IntVec3 get_Position()
L_006f: ldarg.0
L_0070: call Verse.Map get_Map()
L_0075: ldc.i4.0
L_0076: newobj Void .ctor(IntVec3, Map, Boolean)
L_007b: call SoundInfo op_Implicit(TargetInfo)
L_0080: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0085: br Label5
L_008a: Label4
L_008a: ldarg.0
L_008b: ldfld Verse.ThingDef def
L_0090: ldfld RimWorld.BuildingProperties building
L_0095: ldfld Verse.SoundDef soundDoorOpenManual
L_009a: ldarg.0
L_009b: call IntVec3 get_Position()
L_00a0: ldarg.0
L_00a1: call Verse.Map get_Map()
L_00a6: ldc.i4.0
L_00a7: newobj Void .ctor(IntVec3, Map, Boolean)
L_00ac: call SoundInfo op_Implicit(TargetInfo)
L_00b1: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00b6: Label3
L_00b6: Label5
L_00b6: Label0
L_00b6: ret
DONE

### Patch RimWorld.Building_Door, Boolean DoorTryClose()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InvisDoorTryClose(RimWorld.Building_Door)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean holdOpenInt
L_0017: brtrue Label1
L_001c: ldarg.0
L_001d: call Boolean get_BlockedOpenMomentary()
L_0022: brfalse Label2
L_0027: Label1
L_0027: ldc.i4.0
L_0028: br Label5
L_002d: Label2
L_002d: ldarg.0
L_002e: ldc.i4.0
L_002f: stfld System.Boolean openInt
L_0034: ldarg.0
L_0035: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_003a: ldarg.0
L_003b: call Boolean get_DoorPowerOn()
L_0040: brfalse Label3
L_0045: ldarg.0
L_0046: ldfld Verse.ThingDef def
L_004b: ldfld RimWorld.BuildingProperties building
L_0050: ldfld Verse.SoundDef soundDoorClosePowered
L_0055: ldarg.0
L_0056: call IntVec3 get_Position()
L_005b: ldarg.0
L_005c: call Verse.Map get_Map()
L_0061: ldc.i4.0
L_0062: newobj Void .ctor(IntVec3, Map, Boolean)
L_0067: call SoundInfo op_Implicit(TargetInfo)
L_006c: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0071: br Label4
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.ThingDef def
L_007c: ldfld RimWorld.BuildingProperties building
L_0081: ldfld Verse.SoundDef soundDoorCloseManual
L_0086: ldarg.0
L_0087: call IntVec3 get_Position()
L_008c: ldarg.0
L_008d: call Verse.Map get_Map()
L_0092: ldc.i4.0
L_0093: newobj Void .ctor(IntVec3, Map, Boolean)
L_0098: call SoundInfo op_Implicit(TargetInfo)
L_009d: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00a2: Label4
L_00a2: ldc.i4.1
L_00a3: Label5
L_00a3: stloc 0 (System.Boolean)
L_00a4: Label0
L_00a4: ldloc 0 (System.Boolean)
L_00a5: ret
DONE

### Patch RimWorld.Building_Door, Void Notify_PawnApproaching(Verse.Pawn, Int32)


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void CheckFriendlyTouched(Verse.Pawn)
L_0007: ldarg.0
L_0008: ldarg.1
L_0009: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_000e: brfalse Label1
L_0013: ldarg.0
L_0014: call Verse.Map get_Map()
L_0019: ldfld Verse.FogGrid fogGrid
L_001e: ldarg.0
L_001f: ldarg.1
L_0020: callvirt Void Notify_PawnEnteringDoor(RimWorld.Building_Door, Verse.Pawn)
L_0025: ldarg.0
L_0026: call Boolean get_SlowsPawns()
L_002b: brtrue Label2
L_0030: ldc.i4 300
L_0035: ldarg.2
L_0036: ldc.i4.1
L_0037: add
L_0038: call Int32 Max(Int32, Int32)
L_003d: stloc.0
L_003e: ldarg.0
L_003f: ldloc.0
L_0040: call Void DoorOpen(Int32)
L_0045: Label1
L_0045: Label2
L_0045: ldarg.0
L_0046: ldarg 1
L_004c: call Void InvisDoorNotifyApproaching(RimWorld.Building_Door, Verse.Pawn)
L_0051: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualCloseBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorManualClose(RimWorld.Building_Door, Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldc.i4.s 110
L_0014: stfld System.Int32 ticksUntilClose
L_0019: Label0
L_0019: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualOpenBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldc.i4.s 110
L_0003: call Void DoorOpen(Int32)
L_0008: ldarg.0
L_0009: ldarg 1
L_000f: call Void InvisDoorManualOpen(RimWorld.Building_Door, Verse.Pawn)
L_0014: ret
DONE

### Patch RimWorld.Building_Door, Boolean get_FreePassage()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean get_FreePassage(RimWorld.Building_Door, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: ldfld System.Boolean openInt
L_0019: brtrue Label1
L_001e: ldc.i4.0
L_001f: br Label4
L_0024: Label1
L_0024: ldarg.0
L_0025: ldfld System.Boolean holdOpenInt
L_002a: brtrue Label2
L_002f: ldarg.0
L_0030: call Boolean get_WillCloseSoon()
L_0035: ldc.i4.0
L_0036: ceq
L_0038: br Label3
L_003d: Label2
L_003d: ldc.i4.1
L_003e: Label3
L_003e: Label4
L_003e: stloc 0 (System.Boolean)
L_003f: Label0
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.GhostDrawer, Void DrawGhostThing(IntVec3, Rot4, Verse.ThingDef,


Verse.Graphic, Color, AltitudeLayer)
L_0000: Local var 0: Verse.Graphic
L_0000: Local var 1: UnityEngine.Vector3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: ldarg 5
L_0024: call Boolean HeronDoorGhostHandler(IntVec3, Rot4, Verse.ThingDef,
Verse.Graphic, Color, AltitudeLayer)
L_0029: brfalse Label0
L_002e: ldarg.3
L_002f: brtrue Label1
L_0034: ldarg.2
L_0035: ldfld Verse.Graphic graphic
L_003a: starg.s 3
L_003c: Label1
L_003c: ldarg.3
L_003d: ldarg.2
L_003e: ldarg.s 4
L_0040: call Verse.Graphic GhostGraphicFor(Verse.Graphic, Verse.ThingDef, Color)
L_0045: stloc.0
L_0046: ldarg.0
L_0047: ldarg.1
L_0048: ldarg.2
L_0049: callvirt IntVec2 get_Size()
L_004e: ldarg.s 5
L_0050: call Single AltitudeFor(AltitudeLayer)
L_0055: call Vector3 TrueCenter(IntVec3, Rot4, IntVec2, Single)
L_005a: stloc.1
L_005b: ldloc.0
L_005c: ldloc.1
L_005d: ldarg.1
L_005e: ldarg.2
L_005f: ldc.r4 0
L_0064: callvirt Void DrawFromDef(Vector3, Rot4, Verse.ThingDef, Single)
L_0069: ldc.i4.0
L_006a: stloc.2
L_006b: br Label2
L_0070: Label3
L_0070: ldarg.2
L_0071: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0076: ldloc.2
L_0077: callvirt Verse.CompProperties get_Item(Int32)
L_007c: ldarg.0
L_007d: ldarg.1
L_007e: ldarg.2
L_007f: ldarg.s 4
L_0081: ldarg.s 5
L_0083: callvirt Void DrawGhost(IntVec3, Rot4, Verse.ThingDef, Color,
AltitudeLayer)
L_0088: ldloc.2
L_0089: ldc.i4.1
L_008a: add
L_008b: stloc.2
L_008c: Label2
L_008c: ldloc.2
L_008d: ldarg.2
L_008e: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0093: callvirt Int32 get_Count()
L_0098: blt Label3
L_009d: ldarg.2
L_009e: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00a3: brfalse Label4
L_00a8: ldc.i4.0
L_00a9: stloc.3
L_00aa: br Label5
L_00af: Label6
L_00af: ldarg.2
L_00b0: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00b5: ldloc.3
L_00b6: callvirt Verse.PlaceWorker get_Item(Int32)
L_00bb: ldarg.2
L_00bc: ldarg.0
L_00bd: ldarg.1
L_00be: ldarg.s 4
L_00c0: callvirt Void DrawGhost(Verse.ThingDef, IntVec3, Rot4, Color)
L_00c5: ldloc.3
L_00c6: ldc.i4.1
L_00c7: add
L_00c8: stloc.3
L_00c9: Label5
L_00c9: ldloc.3
L_00ca: ldarg.2
L_00cb: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00d0: callvirt Int32 get_Count()
L_00d5: blt Label6
L_00da: Label4
L_00da: Label0
L_00da: ret
DONE

### Patch Verse.GenSpawn, Void SpawnBuildingAsPossible(Verse.Building, Verse.Map,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.CellRect
L_0000: Local var 5: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: call Boolean HeronSpawnBuildingAsPossible(Verse.Building, Verse.Map,
Boolean)
L_0017: brfalse Label0
L_001c: ldc.i4.0
L_001d: stloc.0
L_001e: ldarg.0
L_001f: call CellRect OccupiedRect(Verse.Thing)
L_0024: stloc.1
L_0025: ldloca.s 1 (Verse.CellRect)
L_0027: ldarg.1
L_0028: call Boolean InBounds(Verse.Map)
L_002d: brtrue Label1
L_0032: ldc.i4.1
L_0033: stloc.0
L_0034: br Label2
L_0039: Label1
L_0039: ldarg.0
L_003a: call CellRect OccupiedRect(Verse.Thing)
L_003f: stloc.s 4 (Verse.CellRect)
L_0041: ldloca.s 4 (Verse.CellRect)
L_0043: call IEnumerator`1 GetEnumerator()
L_0048: stloc.3
.try
{
L_0049: br Label3
L_004e: Label15
L_004e: ldloc.3
L_004f: callvirt IntVec3 get_Current()
L_0054: stloc.2
L_0055: ldloc.2
L_0056: ldarg.1
L_0057: call System.Collections.Generic.List`1[Verse.Thing]
GetThingList(IntVec3, Verse.Map)
L_005c: stloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_005e: ldc.i4.0
L_005f: stloc.s 6 (System.Int32)
L_0061: br Label4
L_0066: Label12
L_0066: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0068: ldloc.s 6 (System.Int32)
L_006a: callvirt Verse.Thing get_Item(Int32)
L_006f: isinst Verse.Pawn
L_0074: brfalse Label5
L_0079: ldarg.0
L_007a: ldfld Verse.ThingDef def
L_007f: ldfld Verse.Traversability passability
L_0084: ldc.i4.2
L_0085: bne.un Label6
L_008a: ldc.i4.1
L_008b: stloc.0
L_008c: leave Label7
L_0091: Label5
L_0091: Label6
L_0091: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0093: ldloc.s 6 (System.Int32)
L_0095: callvirt Verse.Thing get_Item(Int32)
L_009a: ldfld Verse.ThingDef def
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.3
L_00a5: beq Label8
L_00aa: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00ac: ldloc.s 6 (System.Int32)
L_00ae: callvirt Verse.Thing get_Item(Int32)
L_00b3: ldfld Verse.ThingDef def
L_00b8: ldfld Verse.ThingCategory category
L_00bd: ldc.i4.2
L_00be: bne.un Label9
L_00c3: Label8
L_00c3: ldarg.0
L_00c4: ldfld Verse.ThingDef def
L_00c9: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00cb: ldloc.s 6 (System.Int32)
L_00cd: callvirt Verse.Thing get_Item(Int32)
L_00d2: ldfld Verse.ThingDef def
L_00d7: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00dc: brfalse Label10
L_00e1: ldc.i4.1
L_00e2: stloc.0
L_00e3: leave Label11
L_00e8: Label9
L_00e8: Label10
L_00e8: ldloc.s 6 (System.Int32)
L_00ea: ldc.i4.1
L_00eb: add
L_00ec: stloc.s 6 (System.Int32)
L_00ee: Label4
L_00ee: ldloc.s 6 (System.Int32)
L_00f0: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00f2: callvirt Int32 get_Count()
L_00f7: blt Label12
L_00fc: Label7
L_00fc: Label11
L_00fc: ldloc.0
L_00fd: brfalse Label13
L_0102: leave Label14
L_0107: Label3
L_0107: Label13
L_0107: ldloc.3
L_0108: callvirt Boolean MoveNext()
L_010d: brtrue Label15
L_0112: Label14
L_0112: leave Label16
L_0117: leave (autogenerated)
} // end try
.finally
{
L_011c: ldloc.3
L_011d: brfalse Label17
L_0122: ldloc.3
L_0123: callvirt Void Dispose()
L_0128: Label17
L_0128: endfinally
L_0129: leave (autogenerated)
} // end handler
L_012a: Label2
L_012a: Label16
L_012a: ldloc.0
L_012b: brfalse Label18
L_0130: ldarg.0
L_0131: ldarg.1
L_0132: call CellRect get_Empty()
L_0137: call Void Refund(Verse.Thing, Verse.Map, CellRect)
L_013c: br Label19
L_0141: Label18
L_0141: ldarg.0
L_0142: ldarg.0
L_0143: callvirt IntVec3 get_Position()
L_0148: ldarg.1
L_0149: ldarg.0
L_014a: callvirt Rot4 get_Rotation()
L_014f: ldc.i4.1
L_0150: ldarg.2
L_0151: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0156: pop
L_0157: Label19
L_0157: Label0
L_0157: ret
DONE

### Patch Verse.GenSpawn, Void WipeExistingThings(IntVec3, Rot4,


Verse.BuildableDef, Verse.Map, DestroyMode)
L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: call Boolean WipeExistingThings(IntVec3, Rot4, Verse.BuildableDef,
Verse.Map, DestroyMode)
L_0023: brfalse Label0
L_0028: ldarg.0
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: callvirt IntVec2 get_Size()
L_0030: call IEnumerable`1 CellsOccupiedBy(IntVec3, Rot4, IntVec2)
L_0035: callvirt IEnumerator`1 GetEnumerator()
L_003a: stloc.1
.try
{
L_003b: br Label1
L_0040: Label6
L_0040: ldloc.1
L_0041: callvirt IntVec3 get_Current()
L_0046: stloc.0
L_0047: ldarg.3
L_0048: ldfld Verse.ThingGrid thingGrid
L_004d: ldloc.0
L_004e: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_0053: call System.Collections.Generic.List`1[Verse.Thing] ToList[Thing]
(IEnumerable`1)
L_0058: callvirt Enumerator GetEnumerator()
L_005d: stloc.3
.try
{
L_005e: br Label2
L_0063: Label4
L_0063: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0065: call Verse.Thing get_Current()
L_006a: stloc.2
L_006b: ldarg.2
L_006c: ldloc.2
L_006d: ldfld Verse.ThingDef def
L_0072: call Boolean SpawningWipes(Verse.BuildableDef,
Verse.BuildableDef)
L_0077: brfalse Label3
L_007c: ldloc.2
L_007d: ldarg.s 4
L_007f: callvirt Void Destroy(DestroyMode)
L_0084: Label2
L_0084: Label3
L_0084: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0086: call Boolean MoveNext()
L_008b: brtrue Label4
L_0090: leave Label5
L_0095: leave (autogenerated)
} // end try
.finally
{
L_009a: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_009c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_00a2: callvirt Void Dispose()
L_00a7: endfinally
L_00a8: leave (autogenerated)
} // end handler
L_00a9: Label1
L_00a9: Label5
L_00a9: ldloc.1
L_00aa: callvirt Boolean MoveNext()
L_00af: brtrue Label6
L_00b4: leave Label7
L_00b9: leave (autogenerated)
} // end try
.finally
{
L_00be: ldloc.1
L_00bf: brfalse Label8
L_00c4: ldloc.1
L_00c5: callvirt Void Dispose()
L_00ca: Label8
L_00ca: endfinally
L_00cb: leave (autogenerated)
} // end handler
L_00cc: Label7
L_00cc: Label0
L_00cc: ret
DONE

### Patch Verse.GenSpawn, Boolean SpawningWipes(Verse.BuildableDef,


Verse.BuildableDef)
L_0000: Local var 0: Verse.ThingDef
L_0000: Local var 1: Verse.ThingDef
L_0000: Local var 2: Verse.BuildableDef
L_0000: Local var 3: Verse.BuildableDef
L_0000: Local var 4: Verse.ThingDef
L_0000: Local var 5: Verse.ThingDef
L_0000: Local var 6: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 6 (System.Boolean)
L_0007: ldarg.0
L_0008: isinst Verse.ThingDef
L_000d: stloc.0
L_000e: ldarg.1
L_000f: isinst Verse.ThingDef
L_0014: stloc.1
L_0015: ldloc.0
L_0016: brfalse Label1
L_001b: ldloc.1
L_001c: brtrue Label2
L_0021: Label1
L_0021: ldc.i4.0
L_0022: br Label49
L_0027: Label2
L_0027: ldloc.0
L_0028: ldfld Verse.ThingCategory category
L_002d: ldc.i4.8
L_002e: beq Label3
L_0033: ldloc.0
L_0034: ldfld Verse.ThingCategory category
L_0039: ldc.i4.s 9
L_003b: beq Label4
L_0040: ldloc.0
L_0041: ldfld Verse.ThingCategory category
L_0046: ldc.i4.6
L_0047: beq Label5
L_004c: ldloc.0
L_004d: ldfld Verse.ThingCategory category
L_0052: ldc.i4.5
L_0053: bne.un Label6
L_0058: Label3
L_0058: Label4
L_0058: Label5
L_0058: ldc.i4.0
L_0059: br Label50
L_005e: Label6
L_005e: ldloc.1
L_005f: ldfld System.Boolean destroyable
L_0064: brtrue Label7
L_0069: ldc.i4.0
L_006a: br Label51
L_006f: Label7
L_006f: ldloc.0
L_0070: ldfld Verse.ThingCategory category
L_0075: ldc.i4.4
L_0076: bne.un Label8
L_007b: ldc.i4.0
L_007c: br Label52
L_0081: Label8
L_0081: ldloc.1
L_0082: ldfld Verse.ThingCategory category
L_0087: ldc.i4.6
L_0088: bne.un Label9
L_008d: ldloc.0
L_008e: ldfld Verse.Traversability passability
L_0093: brfalse Label10
L_0098: ldc.i4.1
L_0099: br Label53
L_009e: Label9
L_009e: Label10
L_009e: ldloc.1
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.2
L_00a5: bne.un Label11
L_00aa: ldloc.0
L_00ab: ldfld Verse.Traversability passability
L_00b0: ldc.i4.2
L_00b1: bne.un Label12
L_00b6: ldloc.0
L_00b7: ldfld Verse.SurfaceType surfaceType
L_00bc: brtrue Label13
L_00c1: ldc.i4.1
L_00c2: br Label54
L_00c7: Label11
L_00c7: Label12
L_00c7: Label13
L_00c7: ldloc.0
L_00c8: callvirt Boolean get_EverTransmitsPower()
L_00cd: brfalse Label14
L_00d2: ldloc.1
L_00d3: ldsfld Verse.ThingDef PowerConduit
L_00d8: bne.un Label15
L_00dd: ldc.i4.1
L_00de: br Label55
L_00e3: Label14
L_00e3: Label15
L_00e3: ldloc.0
L_00e4: callvirt Boolean get_IsFrame()
L_00e9: brfalse Label16
L_00ee: ldloc.0
L_00ef: ldfld Verse.BuildableDef entityDefToBuild
L_00f4: ldarg.1
L_00f5: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00fa: brfalse Label17
L_00ff: ldc.i4.1
L_0100: br Label56
L_0105: Label16
L_0105: Label17
L_0105: ldloc.0
L_0106: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_010b: stloc.2
L_010c: ldloc.1
L_010d: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_0112: stloc.3
L_0113: ldloc.2
L_0114: brfalse Label18
L_0119: ldloc.3
L_011a: brtrue Label19
L_011f: Label18
L_011f: ldc.i4.0
L_0120: br Label57
L_0125: Label19
L_0125: ldloc.0
L_0126: ldfld Verse.BuildableDef entityDefToBuild
L_012b: isinst Verse.ThingDef
L_0130: stloc.s 4 (Verse.ThingDef)
L_0132: ldloc.1
L_0133: callvirt Boolean get_IsBlueprint()
L_0138: brfalse Label20
L_013d: ldloc.0
L_013e: callvirt Boolean get_IsBlueprint()
L_0143: brfalse Label21
L_0148: ldloc.s 4 (Verse.ThingDef)
L_014a: brfalse Label22
L_014f: ldloc.s 4 (Verse.ThingDef)
L_0151: ldfld RimWorld.BuildingProperties building
L_0156: brfalse Label23
L_015b: ldloc.s 4 (Verse.ThingDef)
L_015d: ldfld RimWorld.BuildingProperties building
L_0162: ldfld System.Boolean canPlaceOverWall
L_0167: brfalse Label24
L_016c: ldloc.1
L_016d: ldfld Verse.BuildableDef entityDefToBuild
L_0172: isinst Verse.ThingDef
L_0177: brfalse Label25
L_017c: ldloc.1
L_017d: ldfld Verse.BuildableDef entityDefToBuild
L_0182: castclass Verse.ThingDef
L_0187: ldsfld Verse.ThingDef Wall
L_018c: bne.un Label26
L_0191: ldc.i4.1
L_0192: br Label58
L_0197: Label22
L_0197: Label23
L_0197: Label24
L_0197: Label25
L_0197: Label26
L_0197: ldloc.1
L_0198: ldfld Verse.BuildableDef entityDefToBuild
L_019d: isinst Verse.TerrainDef
L_01a2: brfalse Label27
L_01a7: ldloc.0
L_01a8: ldfld Verse.BuildableDef entityDefToBuild
L_01ad: isinst Verse.ThingDef
L_01b2: brfalse Label28
L_01b7: ldloc.0
L_01b8: ldfld Verse.BuildableDef entityDefToBuild
L_01bd: castclass Verse.ThingDef
L_01c2: ldfld System.Boolean coversFloor
L_01c7: brfalse Label29
L_01cc: ldc.i4.1
L_01cd: br Label59
L_01d2: Label28
L_01d2: Label29
L_01d2: ldloc.0
L_01d3: ldfld Verse.BuildableDef entityDefToBuild
L_01d8: isinst Verse.TerrainDef
L_01dd: brfalse Label30
L_01e2: ldc.i4.1
L_01e3: br Label60
L_01e8: Label21
L_01e8: Label27
L_01e8: Label30
L_01e8: ldloc.1
L_01e9: ldfld Verse.BuildableDef entityDefToBuild
L_01ee: ldsfld Verse.ThingDef PowerConduit
L_01f3: bne.un Label31
L_01f8: ldloc.0
L_01f9: ldfld Verse.BuildableDef entityDefToBuild
L_01fe: isinst Verse.ThingDef
L_0203: brfalse Label32
L_0208: ldloc.0
L_0209: ldfld Verse.BuildableDef entityDefToBuild
L_020e: isinst Verse.ThingDef
L_0213: callvirt Boolean get_EverTransmitsPower()
L_0218: brfalse Label33
L_021d: ldc.i4.1
L_021e: br Label61
L_0223: Label31
L_0223: Label32
L_0223: Label33
L_0223: ldc.i4.0
L_0224: br Label62
L_0229: Label20
L_0229: ldloc.1
L_022a: callvirt Boolean get_IsFrame()
L_022f: brtrue Label34
L_0234: ldloc.1
L_0235: callvirt Boolean get_IsBlueprint()
L_023a: brfalse Label35
L_023f: Label34
L_023f: ldloc.1
L_0240: ldfld Verse.BuildableDef entityDefToBuild
L_0245: isinst Verse.TerrainDef
L_024a: brfalse Label36
L_024f: ldloc.2
L_0250: isinst Verse.ThingDef
L_0255: stloc.s 5 (Verse.ThingDef)
L_0257: ldloc.s 5 (Verse.ThingDef)
L_0259: brfalse Label37
L_025e: ldloc.s 5 (Verse.ThingDef)
L_0260: callvirt Boolean get_CoexistsWithFloors()
L_0265: brtrue Label38
L_026a: ldc.i4.1
L_026b: br Label63
L_0270: Label35
L_0270: Label36
L_0270: Label37
L_0270: Label38
L_0270: ldloc.1
L_0271: ldsfld Verse.ThingDef ActiveDropPod
L_0276: bne.un Label39
L_027b: ldc.i4.0
L_027c: br Label64
L_0281: Label39
L_0281: ldloc.0
L_0282: ldsfld Verse.ThingDef ActiveDropPod
L_0287: bne.un Label40
L_028c: ldloc.1
L_028d: ldsfld Verse.ThingDef ActiveDropPod
L_0292: bne.un Label41
L_0297: ldc.i4.0
L_0298: br Label65
L_029d: Label41
L_029d: ldloc.1
L_029e: ldfld Verse.ThingCategory category
L_02a3: ldc.i4.3
L_02a4: bne.un Label42
L_02a9: ldloc.1
L_02aa: ldfld Verse.Traversability passability
L_02af: ldc.i4.2
L_02b0: bne.un Label43
L_02b5: ldc.i4.1
L_02b6: br Label66
L_02bb: Label42
L_02bb: Label43
L_02bb: ldc.i4.0
L_02bc: br Label67
L_02c1: Label40
L_02c1: ldloc.0
L_02c2: call Boolean IsEdifice(Verse.BuildableDef)
L_02c7: brfalse Label44
L_02cc: ldloc.0
L_02cd: callvirt Boolean get_BlockPlanting()
L_02d2: brfalse Label45
L_02d7: ldloc.1
L_02d8: ldfld Verse.ThingCategory category
L_02dd: ldc.i4.4
L_02de: bne.un Label46
L_02e3: ldc.i4.1
L_02e4: br Label68
L_02e9: Label45
L_02e9: Label46
L_02e9: ldloc.2
L_02ea: isinst Verse.TerrainDef
L_02ef: brtrue Label47
L_02f4: ldloc.3
L_02f5: call Boolean IsEdifice(Verse.BuildableDef)
L_02fa: brfalse Label48
L_02ff: ldc.i4.1
L_0300: br Label69
L_0305: Label44
L_0305: Label47
L_0305: Label48
L_0305: ldc.i4.0
L_0306: Label49
L_0306: Label50
L_0306: Label51
L_0306: Label52
L_0306: Label53
L_0306: Label54
L_0306: Label55
L_0306: Label56
L_0306: Label57
L_0306: Label58
L_0306: Label59
L_0306: Label60
L_0306: Label61
L_0306: Label62
L_0306: Label63
L_0306: Label64
L_0306: Label65
L_0306: Label66
L_0306: Label67
L_0306: Label68
L_0306: Label69
L_0306: stloc 6 (System.Boolean)
L_0308: ldarg 0
L_030e: ldarg 1
L_0314: ldloca 6 (System.Boolean)
L_0316: call Void InvisDoorsDontWipe(Verse.BuildableDef, Verse.BuildableDef,
Boolean ByRef)
L_031b: ldloc 6 (System.Boolean)
L_031d: ret
DONE

### Patch Verse.AI.GenPath, Boolean ShouldNotEnterCell(Verse.Pawn, Verse.Map,


IntVec3)
L_0000: Local var 0: Verse.Building
L_0000: Local var 1: RimWorld.Building_Door
L_0000: Local var 2: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.1
L_0007: ldfld Verse.AI.PathGrid pathGrid
L_000c: ldarg.2
L_000d: callvirt Int32 PerceivedPathCostAt(IntVec3)
L_0012: ldc.i4.s 30
L_0014: ble Label1
L_0019: ldc.i4.1
L_001a: br Label9
L_001f: Label1
L_001f: ldarg.2
L_0020: ldarg.1
L_0021: call Boolean Walkable(IntVec3, Verse.Map)
L_0026: brtrue Label2
L_002b: ldc.i4.1
L_002c: br Label10
L_0031: Label2
L_0031: ldarg.0
L_0032: brfalse Label3
L_0037: ldarg.2
L_0038: ldarg.0
L_0039: call Boolean IsForbidden(IntVec3, Verse.Pawn)
L_003e: brfalse Label4
L_0043: ldc.i4.1
L_0044: br Label11
L_0049: Label4
L_0049: ldarg.2
L_004a: ldarg.1
L_004b: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0050: stloc.0
L_0051: ldloc.0
L_0052: brfalse Label5
L_0057: ldloc.0
L_0058: isinst RimWorld.Building_Door
L_005d: stloc.1
L_005e: ldloc.1
L_005f: brfalse Label6
L_0064: ldloc.1
L_0065: ldarg.0
L_0066: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_006b: brfalse Label7
L_0070: ldc.i4.1
L_0071: br Label12
L_0076: Label7
L_0076: ldloc.1
L_0077: ldarg.0
L_0078: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_007d: brtrue Label8
L_0082: ldc.i4.1
L_0083: br Label13
L_0088: Label3
L_0088: Label5
L_0088: Label6
L_0088: Label8
L_0088: ldc.i4.0
L_0089: Label9
L_0089: Label10
L_0089: Label11
L_0089: Label12
L_0089: Label13
L_0089: stloc 2 (System.Boolean)
L_008a: ldarg 0
L_0090: ldarg 1
L_0096: ldarg 2
L_009c: ldloca 2 (System.Boolean)
L_009e: call Void ShouldNotEnterCellInvisDoors(Verse.Pawn, Verse.Map, IntVec3,
Boolean ByRef)
L_00a3: ldloc 2 (System.Boolean)
L_00a4: ret
DONE

### Patch RimWorld.CompForbiddable, Void PostDraw()


L_0000: ldarg.0
L_0001: call Boolean DontDrawInvisDoorForbiddenIcons(RimWorld.CompForbiddable)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld System.Boolean forbiddenInt
L_0011: brfalse Label1
L_0016: ldarg.0
L_0017: ldfld Verse.ThingWithComps parent
L_001c: isinst RimWorld.Blueprint
L_0021: brtrue Label2
L_0026: ldarg.0
L_0027: ldfld Verse.ThingWithComps parent
L_002c: isinst RimWorld.Frame
L_0031: brfalse Label3
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld Verse.ThingWithComps parent
L_003c: ldfld Verse.ThingDef def
L_0041: ldflda Verse.IntVec2 size
L_0046: ldfld System.Int32 x
L_004b: ldc.i4.1
L_004c: bgt Label4
L_0051: ldarg.0
L_0052: ldfld Verse.ThingWithComps parent
L_0057: ldfld Verse.ThingDef def
L_005c: ldflda Verse.IntVec2 size
L_0061: ldfld System.Int32 z
L_0066: ldc.i4.1
L_0067: ble Label5
L_006c: Label4
L_006c: ldarg.0
L_006d: ldfld Verse.ThingWithComps parent
L_0072: callvirt Verse.Map get_Map()
L_0077: ldfld RimWorld.OverlayDrawer overlayDrawer
L_007c: ldarg.0
L_007d: ldfld Verse.ThingWithComps parent
L_0082: ldc.i4.s 16
L_0084: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0089: br Label6
L_008e: Label5
L_008e: ldarg.0
L_008f: ldfld Verse.ThingWithComps parent
L_0094: callvirt Verse.Map get_Map()
L_0099: ldfld RimWorld.OverlayDrawer overlayDrawer
L_009e: ldarg.0
L_009f: ldfld Verse.ThingWithComps parent
L_00a4: ldc.i4.8
L_00a5: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00aa: Label6
L_00aa: br Label7
L_00af: Label3
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingWithComps parent
L_00b5: ldfld Verse.ThingDef def
L_00ba: ldfld Verse.ThingCategory category
L_00bf: ldc.i4.3
L_00c0: bne.un Label8
L_00c5: ldarg.0
L_00c6: ldfld Verse.ThingWithComps parent
L_00cb: callvirt Verse.Map get_Map()
L_00d0: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00d5: ldarg.0
L_00d6: ldfld Verse.ThingWithComps parent
L_00db: ldc.i4.s 16
L_00dd: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00e2: br Label9
L_00e7: Label8
L_00e7: ldarg.0
L_00e8: ldfld Verse.ThingWithComps parent
L_00ed: callvirt Verse.Map get_Map()
L_00f2: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00f7: ldarg.0
L_00f8: ldfld Verse.ThingWithComps parent
L_00fd: ldc.i4.8
L_00fe: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0103: Label1
L_0103: Label7
L_0103: Label9
L_0103: Label0
L_0103: ret
DONE

### Patch Verse.AI.PawnPathUtility, Boolean


TryFindLastCellBeforeBlockingDoor(Verse.AI.PawnPath, Verse.Pawn, IntVec3 ByRef)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Door
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg 0
L_000c: ldarg 1
L_0012: ldarg 2
L_0018: ldloca 3 (System.Boolean)
L_001a: call Boolean ManhunterJobGiverFix(Verse.AI.PawnPath, Verse.Pawn, IntVec3
ByRef, Boolean ByRef)
L_001f: brfalse Label0
L_0024: ldarg.0
L_0025: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_002a: callvirt Int32 get_Count()
L_002f: ldc.i4.1
L_0030: bne.un Label1
L_0035: ldarg.2
L_0036: ldarg.0
L_0037: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_003c: ldc.i4.0
L_003d: callvirt IntVec3 get_Item(Int32)
L_0042: stobj Verse.IntVec3
L_0047: ldc.i4.0
L_0048: br Label6
L_004d: Label1
L_004d: ldarg.0
L_004e: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0053: stloc.0
L_0054: ldloc.0
L_0055: callvirt Int32 get_Count()
L_005a: ldc.i4.2
L_005b: sub
L_005c: stloc.1
L_005d: br Label2
L_0062: Label5
L_0062: ldloc.0
L_0063: ldloc.1
L_0064: callvirt IntVec3 get_Item(Int32)
L_0069: ldarg.1
L_006a: callvirt Verse.Map get_Map()
L_006f: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0074: isinst RimWorld.Building_Door
L_0079: stloc.2
L_007a: ldloc.2
L_007b: brfalse Label3
L_0080: ldloc.2
L_0081: ldarg.1
L_0082: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0087: brtrue Label4
L_008c: ldarg.2
L_008d: ldloc.0
L_008e: ldloc.1
L_008f: ldc.i4.1
L_0090: add
L_0091: callvirt IntVec3 get_Item(Int32)
L_0096: stobj Verse.IntVec3
L_009b: ldc.i4.1
L_009c: br Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldloc.1
L_00a2: ldc.i4.1
L_00a3: sub
L_00a4: stloc.1
L_00a5: Label2
L_00a5: ldloc.1
L_00a6: ldc.i4.1
L_00a7: bge Label5
L_00ac: ldarg.2
L_00ad: ldloc.0
L_00ae: ldc.i4.0
L_00af: callvirt IntVec3 get_Item(Int32)
L_00b4: stobj Verse.IntVec3
L_00b9: ldc.i4.0
L_00ba: Label6
L_00ba: Label7
L_00ba: stloc 3 (System.Boolean)
L_00bb: Label0
L_00bb: ldloc 3 (System.Boolean)
L_00bc: ret
DONE

### Patch RimWorld.ForbidUtility, Boolean IsForbiddenToPass(RimWorld.Building_Door,


Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: ldc.i4.0
L_0008: call Boolean CaresAboutForbidden(Verse.Pawn, Boolean)
L_000d: brtrue Label1
L_0012: ldc.i4.0
L_0013: br Label3
L_0018: Label1
L_0018: ldarg.0
L_0019: ldarg.1
L_001a: callvirt RimWorld.Faction get_Faction()
L_001f: call Boolean IsForbidden(Verse.Thing, RimWorld.Faction)
L_0024: brfalse Label2
L_0029: ldc.i4.1
L_002a: br Label4
L_002f: Label2
L_002f: ldc.i4.0
L_0030: Label3
L_0030: Label4
L_0030: stloc 0 (System.Boolean)
L_0031: ldarg 0
L_0037: ldarg 1
L_003d: ldloca 0 (System.Boolean)
L_003f: call Void IsForbiddenToPass_PostFix(Verse.Thing, Verse.Pawn, Boolean ByRef)
L_0044: ldloc 0 (System.Boolean)
L_0045: ret
DONE

### Patch Verse.AI.PathFinder, Int32 GetBuildingCost(Verse.Building, TraverseParms,


Verse.Pawn)
L_0000: Local var 0: RimWorld.Building_Door
L_0000: Local var 1: Verse.TraverseMode
L_0000: Local var 2: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Int32)
L_0006: ldarg.0
L_0007: isinst RimWorld.Building_Door
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldarga.s 1
L_0015: ldfld Verse.TraverseMode mode
L_001a: stloc.1
L_001b: ldloc.1
L_001c: switch Labels2,3,4,5,6,7
L_0039: br Label8
L_003e: Label4
L_003e: Label6
L_003e: ldloc.0
L_003f: callvirt Boolean get_FreePassage()
L_0044: brfalse Label9
L_0049: ldc.i4.0
L_004a: br Label30
L_004f: Label9
L_004f: ldc.i4 2147483647
L_0054: br Label31
L_0059: Label5
L_0059: Label7
L_0059: ldarg.2
L_005a: brfalse Label10
L_005f: ldloc.0
L_0060: ldarg.2
L_0061: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0066: brfalse Label11
L_006b: ldloc.0
L_006c: ldarg.2
L_006d: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0072: brtrue Label12
L_0077: ldloc.0
L_0078: callvirt Boolean get_FreePassage()
L_007d: brtrue Label13
L_0082: ldloc.0
L_0083: callvirt Int32 get_TicksToOpenNow()
L_0088: br Label32
L_008d: Label10
L_008d: Label11
L_008d: Label12
L_008d: Label13
L_008d: ldloc.0
L_008e: ldarg.2
L_008f: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0094: brfalse Label14
L_0099: ldc.i4.0
L_009a: br Label33
L_009f: Label14
L_009f: ldc.i4.s 50
L_00a1: ldloc.0
L_00a2: callvirt Int32 get_HitPoints()
L_00a7: conv.r4
L_00a8: ldc.r4 0.2
L_00ad: mul
L_00ae: conv.i4
L_00af: add
L_00b0: br Label34
L_00b5: Label3
L_00b5: ldarg.2
L_00b6: brfalse Label15
L_00bb: ldloc.0
L_00bc: ldarg.2
L_00bd: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00c2: brfalse Label16
L_00c7: ldloc.0
L_00c8: ldarg.2
L_00c9: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_00ce: brtrue Label17
L_00d3: ldloc.0
L_00d4: callvirt Boolean get_FreePassage()
L_00d9: brtrue Label18
L_00de: ldloc.0
L_00df: callvirt Int32 get_TicksToOpenNow()
L_00e4: br Label35
L_00e9: Label15
L_00e9: Label16
L_00e9: Label17
L_00e9: Label18
L_00e9: ldloc.0
L_00ea: ldarg.2
L_00eb: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_00f0: brfalse Label19
L_00f5: ldc.i4.0
L_00f6: br Label36
L_00fb: Label19
L_00fb: ldc.i4 150
L_0100: br Label37
L_0105: Label2
L_0105: ldarga.s 1
L_0107: ldfld System.Boolean canBash
L_010c: brtrue Label20
L_0111: ldloc.0
L_0112: ldarg.2
L_0113: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0118: brfalse Label21
L_011d: ldsfld System.Boolean drawPaths
L_0122: brfalse Label22
L_0127: ldarg.0
L_0128: callvirt IntVec3 get_Position()
L_012d: ldarg.0
L_012e: callvirt Verse.Map get_Map()
L_0133: ldc.r4 0.77
L_0138: ldstr "forbid"
L_013d: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_0142: Label22
L_0142: ldc.i4 2147483647
L_0147: br Label38
L_014c: Label20
L_014c: Label21
L_014c: ldloc.0
L_014d: ldarg.2
L_014e: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0153: brfalse Label23
L_0158: ldloc.0
L_0159: callvirt Boolean get_FreePassage()
L_015e: brtrue Label24
L_0163: ldloc.0
L_0164: callvirt Int32 get_TicksToOpenNow()
L_0169: br Label39
L_016e: Label23
L_016e: Label24
L_016e: ldloc.0
L_016f: ldarg.2
L_0170: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0175: brfalse Label25
L_017a: ldc.i4.0
L_017b: br Label40
L_0180: Label25
L_0180: ldarga.s 1
L_0182: ldfld System.Boolean canBash
L_0187: brfalse Label26
L_018c: ldc.i4 300
L_0191: br Label41
L_0196: Label26
L_0196: ldsfld System.Boolean drawPaths
L_019b: brfalse Label27
L_01a0: ldarg.0
L_01a1: callvirt IntVec3 get_Position()
L_01a6: ldarg.0
L_01a7: callvirt Verse.Map get_Map()
L_01ac: ldc.r4 0.34
L_01b1: ldstr "cant pass"
L_01b6: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_01bb: Label27
L_01bb: ldc.i4 2147483647
L_01c0: br Label42
L_01c5: Label8
L_01c5: br Label28
L_01ca: Label1
L_01ca: ldarg.2
L_01cb: brfalse Label29
L_01d0: ldarg.0
L_01d1: ldarg.2
L_01d2: callvirt UInt16 PathFindCostFor(Verse.Pawn)
L_01d7: br Label43
L_01dc: Label28
L_01dc: Label29
L_01dc: ldc.i4.0
L_01dd: Label30
L_01dd: Label31
L_01dd: Label32
L_01dd: Label33
L_01dd: Label34
L_01dd: Label35
L_01dd: Label36
L_01dd: Label37
L_01dd: Label38
L_01dd: Label39
L_01dd: Label40
L_01dd: Label41
L_01dd: Label42
L_01dd: Label43
L_01dd: stloc 2 (System.Int32)
L_01de: ldarg 0
L_01e4: ldarg 1
L_01ea: ldarg 2
L_01f0: ldloca 2 (System.Int32)
L_01f2: call Void GetBuildingCost_PostFix(Verse.Building, TraverseParms,
Verse.Pawn, Int32 ByRef)
L_01f7: ldloc 2 (System.Int32)
L_01f8: ret
DONE

### Patch Verse.AI.PawnPathUtility, Verse.Thing


FirstBlockingBuilding(Verse.AI.PawnPath, IntVec3 ByRef, Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: Verse.Building
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Building
L_0000: Local var 5: RimWorld.Building_Door
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: Verse.Thing
L_0000: ldnull
L_0001: stloc 7 (Verse.Thing)
L_0003: ldarg.0
L_0004: callvirt Boolean get_Found()
L_0009: brtrue Label1
L_000e: ldarg.1
L_000f: call IntVec3 get_Invalid()
L_0014: stobj Verse.IntVec3
L_0019: ldnull
L_001a: br Label22
L_001f: Label1
L_001f: ldarg.0
L_0020: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0025: stloc.0
L_0026: ldloc.0
L_0027: callvirt Int32 get_Count()
L_002c: ldc.i4.1
L_002d: bne.un Label2
L_0032: ldarg.1
L_0033: ldloc.0
L_0034: ldc.i4.0
L_0035: callvirt IntVec3 get_Item(Int32)
L_003a: stobj Verse.IntVec3
L_003f: ldnull
L_0040: br Label23
L_0045: Label2
L_0045: ldnull
L_0046: stloc.1
L_0047: call IntVec3 get_Invalid()
L_004c: stloc.2
L_004d: ldloc.0
L_004e: callvirt Int32 get_Count()
L_0053: ldc.i4.2
L_0054: sub
L_0055: stloc.3
L_0056: br Label3
L_005b: Label21
L_005b: ldloc.0
L_005c: ldloc.3
L_005d: callvirt IntVec3 get_Item(Int32)
L_0062: ldarg.2
L_0063: callvirt Verse.Map get_Map()
L_0068: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_006d: stloc.s 4 (Verse.Building)
L_006f: ldloc.s 4 (Verse.Building)
L_0071: brfalse Label4
L_0076: ldloc.s 4 (Verse.Building)
L_0078: isinst RimWorld.Building_Door
L_007d: stloc.s 5 (RimWorld.Building_Door)
L_007f: ldloc.s 5 (RimWorld.Building_Door)
L_0081: brfalse Label5
L_0086: ldloc.s 5 (RimWorld.Building_Door)
L_0088: callvirt Boolean get_FreePassage()
L_008d: brtrue Label6
L_0092: ldarg.2
L_0093: brfalse Label7
L_0098: ldloc.s 5 (RimWorld.Building_Door)
L_009a: ldarg.2
L_009b: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00a0: ldc.i4.0
L_00a1: ceq
L_00a3: br Label8
L_00a8: Label7
L_00a8: ldc.i4.1
L_00a9: Label8
L_00a9: br Label9
L_00ae: Label5
L_00ae: Label6
L_00ae: ldc.i4.0
L_00af: Label9
L_00af: stloc.s 6 (System.Boolean)
L_00b1: ldloc.s 6 (System.Boolean)
L_00b3: brtrue Label10
L_00b8: ldloc.s 4 (Verse.Building)
L_00ba: ldfld Verse.ThingDef def
L_00bf: ldfld Verse.Traversability passability
L_00c4: ldc.i4.2
L_00c5: bne.un Label11
L_00ca: Label10
L_00ca: ldloc.1
L_00cb: brfalse Label12
L_00d0: ldarg.1
L_00d1: ldloc.2
L_00d2: stobj Verse.IntVec3
L_00d7: ldloc.1
L_00d8: br Label24
L_00dd: Label12
L_00dd: ldarg.1
L_00de: ldloc.0
L_00df: ldloc.3
L_00e0: ldc.i4.1
L_00e1: add
L_00e2: callvirt IntVec3 get_Item(Int32)
L_00e7: stobj Verse.IntVec3
L_00ec: ldloc.s 4 (Verse.Building)
L_00ee: br Label25
L_00f3: Label4
L_00f3: Label11
L_00f3: ldloc.s 4 (Verse.Building)
L_00f5: brfalse Label13
L_00fa: ldloc.s 4 (Verse.Building)
L_00fc: ldfld Verse.ThingDef def
L_0101: ldfld Verse.Traversability passability
L_0106: ldc.i4.1
L_0107: bne.un Label14
L_010c: ldloc.s 4 (Verse.Building)
L_010e: ldfld Verse.ThingDef def
L_0113: callvirt FillCategory get_Fillage()
L_0118: ldc.i4.2
L_0119: bne.un Label15
L_011e: ldloc.1
L_011f: brtrue Label16
L_0124: ldloc.s 4 (Verse.Building)
L_0126: stloc.1
L_0127: ldloc.0
L_0128: ldloc.3
L_0129: ldc.i4.1
L_012a: add
L_012b: callvirt IntVec3 get_Item(Int32)
L_0130: stloc.2
L_0131: Label16
L_0131: br Label17
L_0136: Label13
L_0136: Label14
L_0136: Label15
L_0136: ldloc.s 4 (Verse.Building)
L_0138: brfalse Label18
L_013d: ldloc.s 4 (Verse.Building)
L_013f: ldfld Verse.ThingDef def
L_0144: ldfld Verse.Traversability passability
L_0149: ldc.i4.1
L_014a: bne.un Label19
L_014f: br Label20
L_0154: Label18
L_0154: Label19
L_0154: ldnull
L_0155: stloc.1
L_0156: Label17
L_0156: Label20
L_0156: ldloc.3
L_0157: ldc.i4.1
L_0158: sub
L_0159: stloc.3
L_015a: Label3
L_015a: ldloc.3
L_015b: ldc.i4.0
L_015c: bge Label21
L_0161: ldarg.1
L_0162: ldloc.0
L_0163: ldc.i4.0
L_0164: callvirt IntVec3 get_Item(Int32)
L_0169: stobj Verse.IntVec3
L_016e: ldnull
L_016f: Label22
L_016f: Label23
L_016f: Label24
L_016f: Label25
L_016f: stloc 7 (Verse.Thing)
L_0171: ldarg 0
L_0177: ldarg 1
L_017d: ldarg 2
L_0183: ldloca 7 (Verse.Thing)
L_0185: call Void FirstBlockingBuilding_PostFix(Verse.AI.PawnPath, IntVec3 ByRef,
Verse.Pawn, Verse.Thing ByRef)
L_018a: ldloc 7 (Verse.Thing)
L_018c: ret
DONE

### Patch RimWorld.WorkGiver_DoBill, Verse.AI.Job JobOnThing(Verse.Pawn,


Verse.Thing, Boolean)
L_0000: Local var 0: RimWorld.IBillGiver
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: RimWorld.CompRefuelable
L_0000: Local var 5: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 5 (Verse.AI.Job)
L_0003: ldarg.2
L_0004: isinst RimWorld.IBillGiver
L_0009: stloc.0
L_000a: ldloc.0
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldarg.2
L_0012: call Boolean ThingIsUsableBillGiver(Verse.Thing)
L_0017: brfalse Label2
L_001c: ldloc.0
L_001d: callvirt RimWorld.BillStack get_BillStack()
L_0022: callvirt Boolean get_AnyShouldDoNow()
L_0027: brfalse Label3
L_002c: ldloc.0
L_002d: callvirt Boolean UsableForBillsAfterFueling()
L_0032: brfalse Label4
L_0037: ldarg.1
L_0038: stloc.1
L_0039: ldarg.2
L_003a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_003f: stloc.2
L_0040: ldarg.3
L_0041: stloc.3
L_0042: ldloc.1
L_0043: ldloc.2
L_0044: ldc.i4.1
L_0045: ldc.i4.m1
L_0046: ldnull
L_0047: ldloc.3
L_0048: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32, Int32,
Verse.ReservationLayerDef, Boolean)
L_004d: brfalse Label5
L_0052: ldarg.2
L_0053: call Boolean IsBurning(Verse.Thing)
L_0058: brtrue Label6
L_005d: ldarg.2
L_005e: ldarg.1
L_005f: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_0064: brfalse Label7
L_0069: Label1
L_0069: Label2
L_0069: Label3
L_0069: Label4
L_0069: Label5
L_0069: Label6
L_0069: ldnull
L_006a: br Label11
L_006f: Label7
L_006f: ldarg.2
L_0070: call RimWorld.CompRefuelable TryGetComp[CompRefuelable](Verse.Thing)
L_0075: stloc.s 4 (RimWorld.CompRefuelable)
L_0077: ldloc.s 4 (RimWorld.CompRefuelable)
L_0079: brfalse Label8
L_007e: ldloc.s 4 (RimWorld.CompRefuelable)
L_0080: callvirt Boolean get_HasFuel()
L_0085: brtrue Label9
L_008a: ldarg.1
L_008b: ldarg.2
L_008c: ldarg.3
L_008d: call Boolean CanRefuel(Verse.Pawn, Verse.Thing, Boolean)
L_0092: brtrue Label10
L_0097: ldnull
L_0098: br Label12
L_009d: Label10
L_009d: ldarg.1
L_009e: ldarg.2
L_009f: ldarg.3
L_00a0: ldnull
L_00a1: ldnull
L_00a2: call Verse.AI.Job RefuelJob(Verse.Pawn, Verse.Thing, Boolean, Verse.JobDef,
Verse.JobDef)
L_00a7: br Label13
L_00ac: Label8
L_00ac: Label9
L_00ac: ldloc.0
L_00ad: callvirt RimWorld.BillStack get_BillStack()
L_00b2: callvirt Void RemoveIncompletableBills()
L_00b7: ldarg.0
L_00b8: ldarg.1
L_00b9: ldloc.0
L_00ba: call Verse.AI.Job StartOrResumeBillJob(Verse.Pawn, IBillGiver)
L_00bf: Label11
L_00bf: Label12
L_00bf: Label13
L_00bf: stloc 5 (Verse.AI.Job)
L_00c1: ldloca 5 (Verse.AI.Job)
L_00c3: ldarg 1
L_00c9: ldarg 2
L_00cf: ldarg 3
L_00d5: call Void Postfix(Verse.AI.Job ByRef, Verse.Pawn, Verse.Thing, Boolean)
L_00da: ldloc 5 (Verse.AI.Job)
L_00dc: ret
DONE

### Patch RimWorld.Building_Bed, Void set_Medical(Boolean)


L_0000: ldarg.1
L_0001: ldarg.0
L_0002: ldfld System.Boolean medicalInt
L_0007: beq Label1
L_000c: ldarg.0
L_000d: ldfld Verse.ThingDef def
L_0012: ldfld RimWorld.BuildingProperties building
L_0017: ldfld System.Boolean bed_humanlike
L_001c: pop
L_001d: ldc.i4.1
L_001e: brtrue Label2
L_0023: Label1
L_0023: br Label4
L_0028: Label2
L_0028: ldarg.0
L_0029: call Void RemoveAllOwners()
L_002e: ldarg.0
L_002f: ldarg.1
L_0030: stfld System.Boolean medicalInt
L_0035: ldarg.0
L_0036: callvirt Void Notify_ColorChanged()
L_003b: ldarg.0
L_003c: call Boolean get_Spawned()
L_0041: brfalse Label3
L_0046: ldarg.0
L_0047: call Verse.Map get_Map()
L_004c: ldfld Verse.MapDrawer mapDrawer
L_0051: ldarg.0
L_0052: call IntVec3 get_Position()
L_0057: ldc.i4.1
L_0058: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_005d: ldarg.0
L_005e: call Void NotifyRoomBedTypeChanged()
L_0063: Label3
L_0063: ldarg.0
L_0064: call Void FacilityChanged()
L_0069: Label4
L_0069: ldarg.0
L_006a: ldarga 1
L_0070: call Void ChangeMedicalStatus(RimWorld.Building_Bed, Boolean ByRef)
L_0075: ret
DONE

### Patch Verse.DesignationCategoryDef, IEnumerable`1


get_ResolvedAllowedDesignators()
L_0000: Local var 0: Verse.DesignationCategoryDef+<>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Designator,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld Verse.DesignationCategoryDef $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, Verse.DesignationCategoryDef ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0027: ret
DONE

### Patch Verse.Dialog_RenameZone, Void SetName(System.String)


L_0000: ldarg.0
L_0001: ldfld Verse.Zone zone
L_0006: ldarg.0
L_0007: ldfld System.String curName
L_000c: stfld System.String label
L_0011: ldstr "ZoneGainsName"
L_0016: ldc.i4.1
L_0017: newarr System.Object
L_001c: dup
L_001d: ldc.i4.0
L_001e: ldarg.0
L_001f: ldfld System.String curName
L_0024: stelem.ref
L_0025: call System.String Translate(System.String, System.Object[])
L_002a: ldsfld Verse.MessageTypeDef TaskCompletion
L_002f: ldc.i4.0
L_0030: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0035: call Void Postfix()
L_003a: ret
DONE

### Patch Verse.DynamicDrawManager, Void DrawDynamicThings()


L_0000: Local var 0: System.Boolean[]
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: Verse.CellIndices
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Exception
L_0000: Local var 7: System.Exception
L_0000: ldarga 0
L_0006: call Boolean Prefix(Verse.DynamicDrawManager ByRef)
L_000b: brfalse Label0
L_0010: ldsfld System.Boolean drawThingsDynamic
L_0015: brtrue Label1
L_001a: br Label18
L_001f: Label1
L_001f: ldarg.0
L_0020: ldc.i4.1
L_0021: stfld System.Boolean drawingNow
.try
{
L_0026: ldarg.0
L_0027: ldfld Verse.Map map
L_002c: ldfld Verse.FogGrid fogGrid
L_0031: ldfld System.Boolean[] fogGrid
L_0036: stloc.0
L_0037: call Verse.CameraDriver get_CameraDriver()
L_003c: callvirt CellRect get_CurrentViewRect()
L_0041: stloc.1
L_0042: ldloca.s 1 (Verse.CellRect)
L_0044: ldarg.0
L_0045: ldfld Verse.Map map
L_004a: call CellRect ClipInsideMap(Verse.Map)
L_004f: pop
L_0050: ldloca.s 1 (Verse.CellRect)
L_0052: ldc.i4.1
L_0053: call CellRect ExpandedBy(Int32)
L_0058: stloc.1
L_0059: ldarg.0
L_005a: ldfld Verse.Map map
L_005f: ldfld Verse.CellIndices cellIndices
L_0064: stloc.3
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.HashSet`1[Verse.Thing] drawThings
L_006b: callvirt Enumerator GetEnumerator()
L_0070: stloc.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
.try
{
L_0072: br Label2
L_0077: Label14
L_0077: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0079: call Verse.Thing get_Current()
L_007e: stloc.s 4 (Verse.Thing)
L_0080: ldloc.s 4 (Verse.Thing)
L_0082: callvirt IntVec3 get_Position()
L_0087: stloc.2
L_0088: ldloca.s 1 (Verse.CellRect)
L_008a: ldloc.2
L_008b: call Boolean Contains(IntVec3)
L_0090: brtrue Label3
L_0095: ldloc.s 4 (Verse.Thing)
L_0097: ldfld Verse.ThingDef def
L_009c: ldfld System.Boolean drawOffscreen
L_00a1: brtrue Label4
L_00a6: leave Label5
L_00ab: Label3
L_00ab: Label4
L_00ab: ldloc.0
L_00ac: ldloc.3
L_00ad: ldloc.2
L_00ae: callvirt Int32 CellToIndex(IntVec3)
L_00b3: ldelem.u1
L_00b4: brfalse Label6
L_00b9: ldloc.s 4 (Verse.Thing)
L_00bb: ldfld Verse.ThingDef def
L_00c0: ldfld System.Boolean seeThroughFog
L_00c5: brtrue Label7
L_00ca: leave Label8
L_00cf: Label6
L_00cf: Label7
L_00cf: ldloc.s 4 (Verse.Thing)
L_00d1: ldfld Verse.ThingDef def
L_00d6: ldfld System.Single hideAtSnowDepth
L_00db: ldc.r4 1
L_00e0: bge.un Label9
L_00e5: ldarg.0
L_00e6: ldfld Verse.Map map
L_00eb: ldfld Verse.SnowGrid snowGrid
L_00f0: ldloc.s 4 (Verse.Thing)
L_00f2: callvirt IntVec3 get_Position()
L_00f7: callvirt Single GetDepth(IntVec3)
L_00fc: ldloc.s 4 (Verse.Thing)
L_00fe: ldfld Verse.ThingDef def
L_0103: ldfld System.Single hideAtSnowDepth
L_0108: ble.un Label10
L_010d: leave Label11
L_0112: Label9
L_0112: Label10
.try
{
L_0112: ldloc.s 4 (Verse.Thing)
L_0114: callvirt Void Draw()
L_0119: leave Label12
L_011e: leave (autogenerated)
} // end try
.catch System.Exception
{
L_0123: stloc.s 6 (System.Exception)
L_0125: ldc.i4.4
L_0126: newarr System.Object
L_012b: dup
L_012c: ldc.i4.0
L_012d: ldstr "Exception drawing "
L_0132: stelem.ref
L_0133: dup
L_0134: ldc.i4.1
L_0135: ldloc.s 4 (Verse.Thing)
L_0137: stelem.ref
L_0138: dup
L_0139: ldc.i4.2
L_013a: ldstr ": "
L_013f: stelem.ref
L_0140: dup
L_0141: ldc.i4.3
L_0142: ldloc.s 6 (System.Exception)
L_0144: callvirt System.String ToString()
L_0149: stelem.ref
L_014a: call System.String Concat(System.Object[])
L_014f: ldc.i4.0
L_0150: call Void Error(System.String, Boolean)
L_0155: leave Label13
L_015a: leave (autogenerated)
} // end handler
L_015f: Label2
L_015f: Label5
L_015f: Label8
L_015f: Label11
L_015f: Label12
L_015f: Label13
L_015f: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0161: call Boolean MoveNext()
L_0166: brtrue Label14
L_016b: leave Label15
L_0170: leave (autogenerated)
} // end try
.finally
{
L_0175: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0177: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing]
L_017d: callvirt Void Dispose()
L_0182: endfinally
L_0183: leave (autogenerated)
} // end handler
L_0184: Label15
L_0184: leave Label16
L_0189: leave (autogenerated)
} // end try
.catch System.Exception
{
L_018e: stloc.s 7 (System.Exception)
L_0190: ldstr "Exception drawing dynamic things: "
L_0195: ldloc.s 7 (System.Exception)
L_0197: call System.String Concat(System.Object, System.Object)
L_019c: ldc.i4.0
L_019d: call Void Error(System.String, Boolean)
L_01a2: leave Label17
L_01a7: leave (autogenerated)
} // end handler
L_01ac: Label16
L_01ac: Label17
L_01ac: ldarg.0
L_01ad: ldc.i4.0
L_01ae: stfld System.Boolean drawingNow
L_01b3: Label18
L_01b3: Label0
L_01b3: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterActivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brtrue Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Void Add(RimWorld.CompGatherSpot)
L_001d: Label1
L_001d: ldarga 1
L_0023: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0028: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterDeactivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Boolean Remove(RimWorld.CompGatherSpot)
L_001d: pop
L_001e: Label1
L_001e: ldarga 1
L_0024: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0029: ret
DONE

### Patch Verse.ListerBuildings, Void Add(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.BuildingProperties building
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldfld Verse.ThingDef def
L_0016: ldfld RimWorld.BuildingProperties building
L_001b: ldfld System.Boolean isNaturalRock
L_0020: brfalse Label2
L_0025: br Label7
L_002a: Label1
L_002a: Label2
L_002a: ldarg.1
L_002b: callvirt RimWorld.Faction get_Faction()
L_0030: call RimWorld.Faction get_OfPlayer()
L_0035: bne.un Label3
L_003a: ldarg.0
L_003b: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0040: ldarg.1
L_0041: callvirt Void Add(Verse.Building)
L_0046: ldarg.1
L_0047: isinst Verse.AI.IAttackTarget
L_004c: brfalse Label4
L_0051: ldarg.0
L_0052: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_0057: ldarg.1
L_0058: callvirt Boolean Add(Verse.Building)
L_005d: pop
L_005e: Label3
L_005e: Label4
L_005e: ldarg.1
L_005f: ldfld Verse.ThingDef def
L_0064: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0069: stloc.0
L_006a: ldloc.0
L_006b: brfalse Label5
L_0070: ldloc.0
L_0071: ldfld System.Boolean shortCircuitInRain
L_0076: brfalse Label6
L_007b: ldarg.0
L_007c: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0081: ldarg.1
L_0082: callvirt Boolean Add(Verse.Building)
L_0087: pop
L_0088: Label5
L_0088: Label6
L_0088: Label7
L_0088: ldarga 1
L_008e: call Void Postfix(Verse.Building ByRef)
L_0093: ret
DONE

### Patch Verse.ListerBuildings, Void Remove(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Building)
L_000c: pop
L_000d: ldarg.1
L_000e: isinst Verse.AI.IAttackTarget
L_0013: brfalse Label1
L_0018: ldarg.0
L_0019: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_001e: ldarg.1
L_001f: callvirt Boolean Remove(Verse.Building)
L_0024: pop
L_0025: Label1
L_0025: ldarg.1
L_0026: ldfld Verse.ThingDef def
L_002b: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0030: stloc.0
L_0031: ldloc.0
L_0032: brfalse Label2
L_0037: ldloc.0
L_0038: ldfld System.Boolean shortCircuitInRain
L_003d: brfalse Label3
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0048: ldarg.1
L_0049: callvirt Boolean Remove(Verse.Building)
L_004e: pop
L_004f: Label2
L_004f: Label3
L_004f: ldarga 1
L_0055: call Void Postfix(Verse.Building ByRef)
L_005a: ret
DONE

### Patch Verse.Room, Verse.Room MakeNew(Verse.Map)


L_0000: Local var 0: Verse.Room
L_0000: Local var 1: Verse.Room
L_0000: ldnull
L_0001: stloc 1 (Verse.Room)
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: callvirt Int32 get_Index()
L_000f: conv.i1
L_0010: stfld System.SByte mapIndex
L_0015: ldloc.0
L_0016: ldsfld System.Int32 nextRoomID
L_001b: stfld System.Int32 ID
L_0020: ldsfld System.Int32 nextRoomID
L_0025: ldc.i4.1
L_0026: add
L_0027: stsfld System.Int32 nextRoomID
L_002c: ldloc.0
L_002d: stloc 1 (Verse.Room)
L_002e: ldloca 1 (Verse.Room)
L_0030: call Void Postfix(Verse.Room ByRef)
L_0035: ldloc 1 (Verse.Room)
L_0036: ret
DONE

### Patch Verse.Room, Void Notify_BedTypeChanged()


L_0000: ldarg.0
L_0001: ldc.i4.1
L_0002: stfld System.Boolean statsAndRoleDirty
L_0007: ldarga 0
L_000d: call Void Postfix(Verse.Room ByRef)
L_0012: ret
DONE

### Patch Verse.Room, Void Notify_RoomShapeOrContainedBedsChanged()


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Bed
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: RimWorld.Building_Bed
L_0000: Local var 6:
System.Collections.Generic.IEnumerator`1[[RimWorld.Building_Bed, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldc.i4.m1
L_0002: stfld System.Int32 cachedCellCount
L_0007: ldarg.0
L_0008: ldc.i4.m1
L_0009: stfld System.Int32 cachedOpenRoofCount
L_000e: ldarg.0
L_000f: ldnull
L_0010: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_0015: call ProgramState get_ProgramState()
L_001a: ldc.i4.2
L_001b: bne.un Label1
L_0020: ldarg.0
L_0021: call Boolean get_Fogged()
L_0026: brtrue Label2
L_002b: ldarg.0
L_002c: call Verse.Map get_Map()
L_0031: ldfld Verse.AutoBuildRoofAreaSetter autoBuildRoofAreaSetter
L_0036: ldarg.0
L_0037: callvirt Void TryGenerateAreaFor(Verse.Room)
L_003c: Label1
L_003c: Label2
L_003c: ldarg.0
L_003d: ldc.i4.0
L_003e: stfld System.Boolean isPrisonCell
L_0043: ldarg.0
L_0044: call Boolean RoomCanBePrisonCell(Verse.Room)
L_0049: brfalse Label3
L_004e: ldarg.0
L_004f: call System.Collections.Generic.List`1[Verse.Thing]
get_ContainedAndAdjacentThings()
L_0054: stloc.0
L_0055: ldc.i4.0
L_0056: stloc.1
L_0057: br Label4
L_005c: Label8
L_005c: ldloc.0
L_005d: ldloc.1
L_005e: callvirt Verse.Thing get_Item(Int32)
L_0063: isinst RimWorld.Building_Bed
L_0068: stloc.2
L_0069: ldloc.2
L_006a: brfalse Label5
L_006f: ldloc.2
L_0070: callvirt Boolean get_ForPrisoners()
L_0075: brfalse Label6
L_007a: ldarg.0
L_007b: ldc.i4.1
L_007c: stfld System.Boolean isPrisonCell
L_0081: br Label7
L_0086: Label5
L_0086: Label6
L_0086: ldloc.1
L_0087: ldc.i4.1
L_0088: add
L_0089: stloc.1
L_008a: Label4
L_008a: ldloc.1
L_008b: ldloc.0
L_008c: callvirt Int32 get_Count()
L_0091: blt Label8
L_0096: Label3
L_0096: Label7
L_0096: ldarg.0
L_0097: call Verse.Map get_Map()
L_009c: ldfld Verse.ListerThings listerThings
L_00a1: ldsfld Verse.ThingDef NutrientPasteDispenser
L_00a6: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsOfDef(Verse.ThingDef)
L_00ab: stloc.3
L_00ac: ldc.i4.0
L_00ad: stloc.s 4 (System.Int32)
L_00af: br Label9
L_00b4: Label10
L_00b4: ldloc.3
L_00b5: ldloc.s 4 (System.Int32)
L_00b7: callvirt Verse.Thing get_Item(Int32)
L_00bc: callvirt Void Notify_ColorChanged()
L_00c1: ldloc.s 4 (System.Int32)
L_00c3: ldc.i4.1
L_00c4: add
L_00c5: stloc.s 4 (System.Int32)
L_00c7: Label9
L_00c7: ldloc.s 4 (System.Int32)
L_00c9: ldloc.3
L_00ca: callvirt Int32 get_Count()
L_00cf: blt Label10
L_00d4: call ProgramState get_ProgramState()
L_00d9: ldc.i4.2
L_00da: bne.un Label11
L_00df: ldarg.0
L_00e0: ldfld System.Boolean isPrisonCell
L_00e5: brfalse Label12
L_00ea: ldarg.0
L_00eb: call IEnumerable`1 get_ContainedBeds()
L_00f0: callvirt IEnumerator`1 GetEnumerator()
L_00f5: stloc.s 6 (System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
.try
{
L_00f7: br Label13
L_00fc: Label14
L_00fc: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_00fe: callvirt RimWorld.Building_Bed get_Current()
L_0103: stloc.s 5 (RimWorld.Building_Bed)
L_0105: ldloc.s 5 (RimWorld.Building_Bed)
L_0107: ldc.i4.1
L_0108: callvirt Void set_ForPrisoners(Boolean)
L_010d: Label13
L_010d: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_010f: callvirt Boolean MoveNext()
L_0114: brtrue Label14
L_0119: leave Label15
L_011e: leave (autogenerated)
} // end try
.finally
{
L_0123: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_0125: brfalse Label16
L_012a: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_012c: callvirt Void Dispose()
L_0131: Label16
L_0131: endfinally
L_0132: leave (autogenerated)
} // end handler
L_0133: Label11
L_0133: Label12
L_0133: Label15
L_0133: ldarg.0
L_0134: call Verse.TickManager get_TickManager()
L_0139: callvirt Int32 get_TicksGame()
L_013e: stfld System.Int32 lastChangeTick
L_0143: ldarg.0
L_0144: ldc.i4.1
L_0145: stfld System.Boolean statsAndRoleDirty
L_014a: ldarg.0
L_014b: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0150: call Void
NotifyFacilitiesAboutChangedLOSBlockers(System.Collections.Generic.List`1[Verse.Reg
ion])
L_0155: ldarga 0
L_015b: call Void Postfix(Verse.Room ByRef)
L_0160: ret
DONE

### Patch Verse.Room, Void RemoveRegion(Verse.Region)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(Verse.Region)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Tried to remove region from Room but this region is not here.
region="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: stelem.ref
L_0023: dup
L_0024: ldc.i4.2
L_0025: ldstr ", room="
L_002a: stelem.ref
L_002b: dup
L_002c: ldc.i4.3
L_002d: ldarg.0
L_002e: stelem.ref
L_002f: call System.String Concat(System.Object[])
L_0034: ldc.i4.0
L_0035: call Void Error(System.String, Boolean)
L_003a: br Label4
L_003f: Label1
L_003f: ldarg.0
L_0040: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0045: ldarg.1
L_0046: callvirt Boolean Remove(Verse.Region)
L_004b: pop
L_004c: ldarg.1
L_004d: ldfld System.Boolean touchesMapEdge
L_0052: brfalse Label2
L_0057: ldarg.0
L_0058: dup
L_0059: ldfld System.Int32 numRegionsTouchingMapEdge
L_005e: ldc.i4.1
L_005f: sub
L_0060: stfld System.Int32 numRegionsTouchingMapEdge
L_0065: Label2
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_006b: callvirt Int32 get_Count()
L_0070: brtrue Label3
L_0075: ldarg.0
L_0076: ldnull
L_0077: call Void set_Group(Verse.RoomGroup)
L_007c: ldarg.0
L_007d: ldc.i4.m1
L_007e: stfld System.Int32 cachedOpenRoofCount
L_0083: ldarg.0
L_0084: ldnull
L_0085: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_008a: ldarg.0
L_008b: ldc.i4.1
L_008c: stfld System.Boolean statsAndRoleDirty
L_0091: ldarg.0
L_0092: call Verse.Map get_Map()
L_0097: ldfld Verse.RegionGrid regionGrid
L_009c: ldfld System.Collections.Generic.List`1[Verse.Room] allRooms
L_00a1: ldarg.0
L_00a2: callvirt Boolean Remove(Verse.Room)
L_00a7: pop
L_00a8: Label3
L_00a8: Label4
L_00a8: ldarga 0
L_00ae: call Void Postfix(Verse.Room ByRef)
L_00b3: ret
DONE

### Patch Verse.ZoneManager, Void DeregisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Zone)
L_000c: pop
L_000d: ldarg.1
L_000e: callvirt Void PostDeregister()
L_0013: ldarga 1
L_0019: call Void Postfix(Verse.Zone ByRef)
L_001e: ret
DONE

### Patch Verse.ZoneManager, Void RegisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Void Add(Verse.Zone)
L_000c: ldarg.1
L_000d: callvirt Void PostRegister()
L_0012: ldarga 1
L_0018: call Void Postfix(Verse.Zone ByRef)
L_001d: ret
DONE

### Patch RimWorld.Zone_Growing, Void SetPlantDefToGrow(Verse.ThingDef)


L_0000: ldarg.0
L_0001: ldarg.1
L_0002: stfld Verse.ThingDef plantDefToGrow
L_0007: ldarga 0
L_000d: call Void Postfix(RimWorld.Zone_Growing ByRef)
L_0012: ret
DONE

### Patch Verse.Zone, Void RemoveCell(IntVec3)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Cannot remove cell from zone which doesn't have it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label3
L_0044: Label1
L_0044: ldarg.0
L_0045: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_004a: ldarg.1
L_004b: callvirt Boolean Remove(IntVec3)
L_0050: pop
L_0051: ldarg.0
L_0052: ldfld Verse.ZoneManager zoneManager
L_0057: ldarg.1
L_0058: callvirt Void ClearZoneGridCell(IntVec3)
L_005d: ldarg.0
L_005e: call Verse.Map get_Map()
L_0063: ldfld Verse.MapDrawer mapDrawer
L_0068: ldarg.1
L_0069: ldc.i4 128
L_006e: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_0073: ldarg.0
L_0074: ldc.i4.0
L_0075: stfld System.Boolean cellsShuffled
L_007a: ldarg.0
L_007b: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0080: callvirt Int32 get_Count()
L_0085: brtrue Label2
L_008a: ldarg.0
L_008b: call Void Deregister()
L_0090: Label2
L_0090: Label3
L_0090: ldarga 0
L_0096: call Void Postfix(Verse.Zone ByRef)
L_009b: ret
DONE

### Patch Verse.Zone, Void AddCell(IntVec3)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Thing
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brfalse Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Adding cell to zone which already has it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label5
L_0044: Label1
L_0044: ldarg.0
L_0045: call Verse.Map get_Map()
L_004a: ldfld Verse.ThingGrid thingGrid
L_004f: ldarg.1
L_0050: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsListAt(IntVec3)
L_0055: stloc.0
L_0056: ldc.i4.0
L_0057: stloc.1
L_0058: br Label2
L_005d: Label4
L_005d: ldloc.0
L_005e: ldloc.1
L_005f: callvirt Verse.Thing get_Item(Int32)
L_0064: stloc.2
L_0065: ldloc.2
L_0066: ldfld Verse.ThingDef def
L_006b: callvirt Boolean get_CanOverlapZones()
L_0070: brtrue Label3
L_0075: ldstr "Added zone over zone-incompatible thing "
L_007a: ldloc.2
L_007b: call System.String Concat(System.Object, System.Object)
L_0080: ldc.i4.0
L_0081: call Void Error(System.String, Boolean)
L_0086: br Label6
L_008b: Label3
L_008b: ldloc.1
L_008c: ldc.i4.1
L_008d: add
L_008e: stloc.1
L_008f: Label2
L_008f: ldloc.1
L_0090: ldloc.0
L_0091: callvirt Int32 get_Count()
L_0096: blt Label4
L_009b: ldarg.0
L_009c: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_00a1: ldarg.1
L_00a2: callvirt Void Add(IntVec3)
L_00a7: ldarg.0
L_00a8: ldfld Verse.ZoneManager zoneManager
L_00ad: ldarg.0
L_00ae: ldarg.1
L_00af: callvirt Void AddZoneGridCell(Verse.Zone, IntVec3)
L_00b4: ldarg.0
L_00b5: call Verse.Map get_Map()
L_00ba: ldfld Verse.MapDrawer mapDrawer
L_00bf: ldarg.1
L_00c0: ldc.i4 128
L_00c5: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_00ca: ldarg.1
L_00cb: ldarg.0
L_00cc: call Void Notify_ZoneCellAdded(IntVec3, Verse.Zone)
L_00d1: ldarg.0
L_00d2: ldc.i4.0
L_00d3: stfld System.Boolean cellsShuffled
L_00d8: Label5
L_00d8: Label6
L_00d8: ldarga 0
L_00de: call Void Postfix(Verse.Zone ByRef)
L_00e3: ret
DONE

### Patch Verse.AI.AttackTargetFinder, IAttackTarget


BestAttackTarget(IAttackTargetSearcher, TargetScanFlags,
System.Predicate`1[Verse.Thing], Single, Single, IntVec3, Single, Boolean, Boolean)
L_0000: Local var 0: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey1
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.AI.IAttackTarget
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: Verse.AI.IAttackTarget
L_0000: Local var 8: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2
L_0000: Local var 10: Verse.AI.IAttackTarget
L_0000: Local var 11: Verse.IntVec3
L_0000: Local var 12: Verse.Map
L_0000: Local var 13: Verse.ThingRequest
L_0000: Local var 14: Verse.AI.PathEndMode
L_0000: Local var 15: Verse.Pawn
L_0000: Local var 16: Verse.Danger
L_0000: Local var 17: System.Boolean
L_0000: Local var 18: Verse.TraverseParms
L_0000: Local var 19: System.Single
L_0000: Local var 20: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 21: System.Int32
L_0000: Local var 22: Verse.AI.IAttackTarget
L_0000: Local var 23: System.Single
L_0000: Local var 24: System.Single
L_0000: Local var 25: Verse.IntVec3
L_0000: Local var 26: Verse.AI.IAttackTarget
L_0000: ldnull
L_0001: stloc 26 (Verse.AI.IAttackTarget)
L_0003: ldarg 0
L_0009: ldarga 2
L_000f: call Boolean Prefix(IAttackTargetSearcher, System.Predicate`1[Verse.Thing]
ByRef)
L_0014: brfalse Label0
L_0019: newobj Void .ctor()
L_001e: stloc.0
L_001f: ldloc.0
L_0020: ldarg.0
L_0021: stfld Verse.AI.IAttackTargetSearcher searcher
L_0026: ldloc.0
L_0027: ldarg.s 8
L_0029: stfld System.Boolean canTakeTargetsCloserThanEffectiveMinRange
L_002e: ldloc.0
L_002f: ldarg.s 6
L_0031: stfld System.Single maxTravelRadiusFromLocus
L_0036: ldloc.0
L_0037: ldarg.s 5
L_0039: stfld Verse.IntVec3 locus
L_003e: ldloc.0
L_003f: ldarg.2
L_0040: stfld System.Predicate`1[Verse.Thing] validator
L_0045: ldloc.0
L_0046: ldarg.1
L_0047: stfld Verse.AI.TargetScanFlags flags
L_004c: ldloc.0
L_004d: ldarg.s 7
L_004f: stfld System.Boolean canBash
L_0054: ldloc.0
L_0055: ldarg.s 4
L_0057: stfld System.Single maxDist
L_005c: ldloc.0
L_005d: ldloc.0
L_005e: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0063: callvirt Verse.Thing get_Thing()
L_0068: stfld Verse.Thing searcherThing
L_006d: ldloc.0
L_006e: ldloc.0
L_006f: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0074: isinst Verse.Pawn
L_0079: stfld Verse.Pawn searcherPawn
L_007e: ldloc.0
L_007f: ldloc.0
L_0080: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0085: callvirt Verse.Verb get_CurrentEffectiveVerb()
L_008a: stfld Verse.Verb verb
L_008f: ldloc.0
L_0090: ldfld Verse.Verb verb
L_0095: brtrue Label1
L_009a: ldstr "BestAttackTarget with "
L_009f: ldloc.0
L_00a0: ldfld Verse.AI.IAttackTargetSearcher searcher
L_00a5: call System.String ToStringSafe[IAttackTargetSearcher]
(IAttackTargetSearcher)
L_00aa: ldstr " who has no attack verb."
L_00af: call System.String Concat(System.String, System.String, System.String)
L_00b4: ldc.i4.0
L_00b5: call Void Error(System.String, Boolean)
L_00ba: ldnull
L_00bb: br Label26
L_00c0: Label1
L_00c0: ldloc.0
L_00c1: ldloc.0
L_00c2: ldfld Verse.Verb verb
L_00c7: call Boolean IsEMP(Verse.Verb)
L_00cc: stfld System.Boolean onlyTargetMachines
L_00d1: ldloc.0
L_00d2: ldarg.3
L_00d3: ldarg.3
L_00d4: mul
L_00d5: stfld System.Single minDistSquared
L_00da: ldloc.0
L_00db: ldfld System.Single maxTravelRadiusFromLocus
L_00e0: ldloc.0
L_00e1: ldfld Verse.Verb verb
L_00e6: ldfld Verse.VerbProperties verbProps
L_00eb: ldfld System.Single range
L_00f0: add
L_00f1: stloc.1
L_00f2: ldloc.0
L_00f3: ldloc.1
L_00f4: ldloc.1
L_00f5: mul
L_00f6: stfld System.Single maxLocusDistSquared
L_00fb: ldloc.0
L_00fc: ldnull
L_00fd: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0102: ldloc.0
L_0103: ldfld Verse.AI.TargetScanFlags flags
L_0108: ldc.i4.s 64
L_010a: and
L_010b: conv.u1
L_010c: brfalse Label2
L_0111: ldloc.0
L_0112: ldloc.0
L_0113: ldftn Boolean <>m__0(IntVec3)
L_0119: newobj Void .ctor(Object, IntPtr)
L_011e: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0123: Label2
L_0123: ldloc.0
L_0124: ldloc.0
L_0125: ldftn Boolean <>m__1(IAttackTarget)
L_012b: newobj Void .ctor(Object, IntPtr)
L_0130: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0135: ldloc.0
L_0136: ldfld Verse.AI.IAttackTargetSearcher searcher
L_013b: call Boolean HasRangedAttack(IAttackTargetSearcher)
L_0140: brfalse Label3
L_0145: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_014a: callvirt Void Clear()
L_014f: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0154: ldloc.0
L_0155: ldfld Verse.Thing searcherThing
L_015a: callvirt Verse.Map get_Map()
L_015f: ldfld Verse.AI.AttackTargetsCache attackTargetsCache
L_0164: ldloc.0
L_0165: ldfld Verse.AI.IAttackTargetSearcher searcher
L_016a: callvirt System.Collections.Generic.List`1[Verse.AI.IAttackTarget]
GetPotentialTargetsFor(IAttackTargetSearcher)
L_016f: callvirt Void AddRange(IEnumerable`1)
L_0174: ldloc.0
L_0175: ldfld Verse.AI.TargetScanFlags flags
L_017a: ldc.i4.4
L_017b: and
L_017c: conv.u1
L_017d: brfalse Label4
L_0182: newobj Void .ctor()
L_0187: stloc.2
L_0188: ldloc.2
L_0189: ldloc.0
L_018a: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_018f: ldloc.2
L_0190: ldloc.0
L_0191: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0196: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_019b: ldloc.0
L_019c: ldloc.2
L_019d: ldftn Boolean <>m__0(IAttackTarget)
L_01a3: newobj Void .ctor(Object, IntPtr)
L_01a8: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01ad: Label4
L_01ad: ldc.i4.0
L_01ae: stloc.3
L_01af: ldc.i4.0
L_01b0: stloc.s 4 (System.Int32)
L_01b2: br Label5
L_01b7: Label10
L_01b7: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_01bc: ldloc.s 4 (System.Int32)
L_01be: callvirt IAttackTarget get_Item(Int32)
L_01c3: stloc.s 5 (Verse.AI.IAttackTarget)
L_01c5: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01c7: callvirt Verse.Thing get_Thing()
L_01cc: callvirt IntVec3 get_Position()
L_01d1: stloc.s 6 (Verse.IntVec3)
L_01d3: ldloca.s 6 (Verse.IntVec3)
L_01d5: ldloc.0
L_01d6: ldfld Verse.Thing searcherThing
L_01db: callvirt IntVec3 get_Position()
L_01e0: ldloc.0
L_01e1: ldfld System.Single maxDist
L_01e6: call Boolean InHorDistOf(IntVec3, Single)
L_01eb: brfalse Label6
L_01f0: ldloc.0
L_01f1: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01f6: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01f8: callvirt Boolean Invoke(IAttackTarget)
L_01fd: brfalse Label7
L_0202: ldloc.s 5 (Verse.AI.IAttackTarget)
L_0204: ldloc.0
L_0205: ldfld Verse.AI.IAttackTargetSearcher searcher
L_020a: ldloc.0
L_020b: ldfld Verse.Verb verb
L_0210: call Boolean CanShootAtFromCurrentPosition(IAttackTarget,
IAttackTargetSearcher, Verse.Verb)
L_0215: brfalse Label8
L_021a: ldc.i4.1
L_021b: stloc.3
L_021c: br Label9
L_0221: Label6
L_0221: Label7
L_0221: Label8
L_0221: ldloc.s 4 (System.Int32)
L_0223: ldc.i4.1
L_0224: add
L_0225: stloc.s 4 (System.Int32)
L_0227: Label5
L_0227: ldloc.s 4 (System.Int32)
L_0229: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_022e: callvirt Int32 get_Count()
L_0233: blt Label10
L_0238: Label9
L_0238: ldloc.3
L_0239: brfalse Label11
L_023e: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0243: ldloc.0
L_0244: ldftn Boolean <>m__2(IAttackTarget)
L_024a: newobj Void .ctor(Object, IntPtr)
L_024f: callvirt Int32 RemoveAll(System.Predicate`1[Verse.AI.IAttackTarget])
L_0254: pop
L_0255: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_025a: ldloc.0
L_025b: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0260: ldloc.0
L_0261: ldfld Verse.Verb verb
L_0266: call IAttackTarget
GetRandomShootingTargetByScore(System.Collections.Generic.List`1[Verse.AI.IAttackTa
rget], IAttackTargetSearcher, Verse.Verb)
L_026b: stloc.s 7 (Verse.AI.IAttackTarget)
L_026d: br Label12
L_0272: Label11
L_0272: ldloc.0
L_0273: ldfld Verse.AI.TargetScanFlags flags
L_0278: ldc.i4.8
L_0279: and
L_027a: conv.u1
L_027b: brfalse Label13
L_0280: ldloc.0
L_0281: ldfld Verse.AI.TargetScanFlags flags
L_0286: ldc.i4.4
L_0287: and
L_0288: conv.u1
L_0289: brtrue Label14
L_028e: ldloc.0
L_028f: ldftn Boolean <>m__3(Verse.Thing)
L_0295: newobj Void .ctor(Object, IntPtr)
L_029a: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_029c: br Label15
L_02a1: Label13
L_02a1: Label14
L_02a1: ldloc.0
L_02a2: ldftn Boolean <>m__4(Verse.Thing)
L_02a8: newobj Void .ctor(Object, IntPtr)
L_02ad: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_02af: Label15
L_02af: ldloc.0
L_02b0: ldfld Verse.Thing searcherThing
L_02b5: callvirt IntVec3 get_Position()
L_02ba: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02bf: ldloc.0
L_02c0: ldfld System.Single maxDist
L_02c5: ldloc.s 8 (System.Predicate`1[Verse.Thing])
L_02c7: ldnull
L_02c8: call Verse.Thing ClosestThing_Global(IntVec3, IEnumerable, Single,
System.Predicate`1[Verse.Thing], System.Func`2[Verse.Thing,System.Single])
L_02cd: castclass Verse.AI.IAttackTarget
L_02d2: stloc.s 7 (Verse.AI.IAttackTarget)
L_02d4: Label12
L_02d4: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02d9: callvirt Void Clear()
L_02de: ldloc.s 7 (Verse.AI.IAttackTarget)
L_02e0: br Label27
L_02e5: Label3
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn searcherPawn
L_02eb: brfalse Label16
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn searcherPawn
L_02f6: ldfld Verse.AI.Pawn_MindState mindState
L_02fb: ldfld Verse.AI.PawnDuty duty
L_0300: brfalse Label17
L_0305: ldloc.0
L_0306: ldfld Verse.Pawn searcherPawn
L_030b: ldfld Verse.AI.Pawn_MindState mindState
L_0310: ldfld Verse.AI.PawnDuty duty
L_0315: ldfld System.Single radius
L_031a: ldc.r4 0
L_031f: ble.un Label18
L_0324: ldloc.0
L_0325: ldfld Verse.Pawn searcherPawn
L_032a: callvirt Boolean get_InMentalState()
L_032f: brtrue Label19
L_0334: newobj Void .ctor()
L_0339: stloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033b: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033d: ldloc.0
L_033e: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_0343: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0345: ldloc.0
L_0346: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_034b: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_0350: ldloc.0
L_0351: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0353: ldftn Boolean <>m__0(IAttackTarget)
L_0359: newobj Void .ctor(Object, IntPtr)
L_035e: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0363: Label16
L_0363: Label17
L_0363: Label18
L_0363: Label19
L_0363: ldloc.0
L_0364: ldfld Verse.Thing searcherThing
L_0369: callvirt IntVec3 get_Position()
L_036e: stloc.s 11 (Verse.IntVec3)
L_0370: ldloc.0
L_0371: ldfld Verse.Thing searcherThing
L_0376: callvirt Verse.Map get_Map()
L_037b: stloc.s 12 (Verse.Map)
L_037d: ldc.i4.s 15
L_037f: call ThingRequest ForGroup(ThingRequestGroup)
L_0384: stloc.s 13 (Verse.ThingRequest)
L_0386: ldc.i4.2
L_0387: stloc.s 14 (Verse.AI.PathEndMode)
L_0389: ldloc.0
L_038a: ldfld Verse.Pawn searcherPawn
L_038f: stloc.s 15 (Verse.Pawn)
L_0391: ldc.i4.3
L_0392: stloc.s 16 (Verse.Danger)
L_0394: ldloc.0
L_0395: ldfld System.Boolean canBash
L_039a: stloc.s 17 (System.Boolean)
L_039c: ldloc.s 15 (Verse.Pawn)
L_039e: ldloc.s 16 (Verse.Danger)
L_03a0: ldc.i4.0
L_03a1: ldloc.s 17 (System.Boolean)
L_03a3: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_03a8: stloc.s 18 (Verse.TraverseParms)
L_03aa: ldloc.0
L_03ab: ldfld System.Single maxDist
L_03b0: stloc.s 19 (System.Single)
L_03b2: ldloc.0
L_03b3: ldftn Boolean <>m__5(Verse.Thing)
L_03b9: newobj Void .ctor(Object, IntPtr)
L_03be: stloc.s 20 (System.Predicate`1[Verse.Thing])
L_03c0: ldloc.0
L_03c1: ldfld System.Single maxDist
L_03c6: ldc.r4 800
L_03cb: ble.un Label20
L_03d0: ldc.i4.m1
L_03d1: br Label21
L_03d6: Label20
L_03d6: ldc.i4.s 40
L_03d8: Label21
L_03d8: stloc.s 21 (System.Int32)
L_03da: ldloc.s 11 (Verse.IntVec3)
L_03dc: ldloc.s 12 (Verse.Map)
L_03de: ldloc.s 13 (Verse.ThingRequest)
L_03e0: ldloc.s 14 (Verse.AI.PathEndMode)
L_03e2: ldloc.s 18 (Verse.TraverseParms)
L_03e4: ldloc.s 19 (System.Single)
L_03e6: ldloc.s 20 (System.Predicate`1[Verse.Thing])
L_03e8: ldnull
L_03e9: ldc.i4.0
L_03ea: ldloc.s 21 (System.Int32)
L_03ec: ldc.i4.0
L_03ed: ldc.i4.6
L_03ee: ldc.i4.0
L_03ef: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_03f4: castclass Verse.AI.IAttackTarget
L_03f9: stloc.s 10 (Verse.AI.IAttackTarget)
L_03fb: ldloc.s 10 (Verse.AI.IAttackTarget)
L_03fd: brfalse Label22
L_0402: ldloc.0
L_0403: ldfld Verse.Pawn searcherPawn
L_0408: call Boolean ShouldCollideWithPawns(Verse.Pawn)
L_040d: brfalse Label23
L_0412: ldloc.0
L_0413: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0418: ldloc.0
L_0419: ldfld Verse.Pawn searcherPawn
L_041e: ldloc.0
L_041f: ldfld System.Single maxDist
L_0424: ldloc.0
L_0425: ldfld System.Boolean canBash
L_042a: call IAttackTarget
FindBestReachableMeleeTarget(System.Predicate`1[Verse.AI.IAttackTarget],
Verse.Pawn, Single, Boolean)
L_042f: stloc.s 22 (Verse.AI.IAttackTarget)
L_0431: ldloc.s 22 (Verse.AI.IAttackTarget)
L_0433: brfalse Label24
L_0438: ldloc.0
L_0439: ldfld Verse.Pawn searcherPawn
L_043e: callvirt IntVec3 get_Position()
L_0443: ldloc.s 10 (Verse.AI.IAttackTarget)
L_0445: callvirt Verse.Thing get_Thing()
L_044a: callvirt IntVec3 get_Position()
L_044f: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_0454: stloc.s 11 (Verse.IntVec3)
L_0456: ldloca.s 11 (Verse.IntVec3)
L_0458: call Single get_LengthHorizontal()
L_045d: stloc.s 23 (System.Single)
L_045f: ldloc.0
L_0460: ldfld Verse.Pawn searcherPawn
L_0465: callvirt IntVec3 get_Position()
L_046a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_046c: callvirt Verse.Thing get_Thing()
L_0471: callvirt IntVec3 get_Position()
L_0476: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_047b: stloc.s 25 (Verse.IntVec3)
L_047d: ldloca.s 25 (Verse.IntVec3)
L_047f: call Single get_LengthHorizontal()
L_0484: stloc.s 24 (System.Single)
L_0486: ldloc.s 23 (System.Single)
L_0488: ldloc.s 24 (System.Single)
L_048a: sub
L_048b: call Single Abs(Single)
L_0490: ldc.r4 50
L_0495: bge.un Label25
L_049a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_049c: stloc.s 10 (Verse.AI.IAttackTarget)
L_049e: Label22
L_049e: Label23
L_049e: Label24
L_049e: Label25
L_049e: ldloc.s 10 (Verse.AI.IAttackTarget)
L_04a0: Label26
L_04a0: Label27
L_04a0: stloc 26 (Verse.AI.IAttackTarget)
L_04a2: Label0
L_04a2: ldloc 26 (Verse.AI.IAttackTarget)
L_04a4: ret
DONE

### Patch RimWorld.Pawn_DraftController, IEnumerable`1 GetGizmos()


L_0000: Local var 0: RimWorld.Pawn_DraftController+<GetGizmos>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Gizmo,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld RimWorld.Pawn_DraftController $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, RimWorld.Pawn_DraftController ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0027: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ldarg.0
L_019a: ldarg 1
L_01a0: call Void Postfix(RimWorld.Pawn_DraftController, Boolean)
L_01a5: ret
DONE

### Patch Verse.Pawn, Void Kill(Nullable`1, Verse.Hediff)


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: Verse.Map
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.Planet.Caravan
L_0000: Local var 7: RimWorld.Building_Grave
L_0000: Local var 8: System.Boolean
L_0000: Local var 9: System.Single
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.ThingOwner
L_0000: Local var 12: System.Boolean
L_0000: Local var 13: System.Boolean
L_0000: Local var 14: System.Boolean
L_0000: Local var 15: System.Boolean
L_0000: Local var 16: Verse.DamageInfo
L_0000: Local var 17: System.Single
L_0000: Local var 18: Verse.Thing
L_0000: Local var 19: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 20: Verse.DamageInfo
L_0000: Local var 21: Verse.DamageInfo
L_0000: Local var 22: Verse.Pawn
L_0000: Local var 23: Verse.DamageInfo
L_0000: Local var 24: Verse.DamageInfo
L_0000: Local var 25: Verse.DamageInfo
L_0000: Local var 26: Verse.Pawn_CarryTracker
L_0000: Local var 27: Verse.Thing
L_0000: Local var 28: Verse.AI.Group.Lord
L_0000: Local var 29: Verse.Corpse
L_0000: Local var 30: Verse.DamageInfo
L_0000: Local var 31: Verse.DamageInfo
L_0000: Local var 32: Verse.Hediff
L_0000: Local var 33: RimWorld.CompRottable
L_0000: Local var 34: System.Int32
L_0000: ldarg.0
L_0001: call IntVec3 get_PositionHeld()
L_0006: stloc.0
L_0007: ldarg.0
L_0008: call Verse.Map get_Map()
L_000d: stloc.1
L_000e: ldarg.0
L_000f: call Verse.Map get_MapHeld()
L_0014: stloc.2
L_0015: ldarg.0
L_0016: call Boolean get_Spawned()
L_001b: stloc.3
L_001c: ldarg.0
L_001d: call Boolean get_SpawnedOrAnyParentSpawned()
L_0022: stloc.s 4 (System.Boolean)
L_0024: ldarg.0
L_0025: call Boolean IsWorldPawn(Verse.Pawn)
L_002a: stloc.s 5 (System.Boolean)
L_002c: ldarg.0
L_002d: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_0032: stloc.s 6 (RimWorld.Planet.Caravan)
L_0034: ldnull
L_0035: stloc.s 7 (RimWorld.Building_Grave)
L_0037: ldarg.0
L_0038: ldfld RimWorld.Pawn_Ownership ownership
L_003d: brfalse Label1
L_0042: ldarg.0
L_0043: ldfld RimWorld.Pawn_Ownership ownership
L_0048: callvirt RimWorld.Building_Grave get_AssignedGrave()
L_004d: stloc.s 7 (RimWorld.Building_Grave)
L_004f: Label1
L_004f: ldarg.0
L_0050: call Boolean InBed(Verse.Pawn)
L_0055: stloc.s 8 (System.Boolean)
L_0057: ldc.r4 0
L_005c: stloc.s 9 (System.Single)
L_005e: ldloc.s 8 (System.Boolean)
L_0060: brfalse Label2
L_0065: ldarg.0
L_0066: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006b: callvirt Rot4 get_Rotation()
L_0070: stloc.s 10 (Verse.Rot4)
L_0072: ldloca.s 10 (Verse.Rot4)
L_0074: call Single get_AsAngle()
L_0079: stloc.s 9 (System.Single)
L_007b: Label2
L_007b: ldnull
L_007c: stloc.s 11 (Verse.ThingOwner)
L_007e: ldarg.0
L_007f: call Boolean get_InContainerEnclosed()
L_0084: stloc.s 12 (System.Boolean)
L_0086: ldloc.s 12 (System.Boolean)
L_0088: brfalse Label3
L_008d: ldarg.0
L_008e: ldfld Verse.ThingOwner holdingOwner
L_0093: stloc.s 11 (Verse.ThingOwner)
L_0095: ldloc.s 11 (Verse.ThingOwner)
L_0097: ldarg.0
L_0098: callvirt Boolean Remove(Verse.Thing)
L_009d: pop
L_009e: Label3
L_009e: ldc.i4.0
L_009f: stloc.s 13 (System.Boolean)
L_00a1: ldc.i4.0
L_00a2: stloc.s 14 (System.Boolean)
L_00a4: call ProgramState get_ProgramState()
L_00a9: ldc.i4.2
L_00aa: bne.un Label4
L_00af: ldloc.1
L_00b0: brfalse Label5
L_00b5: ldloc.1
L_00b6: ldfld Verse.DesignationManager designationManager
L_00bb: ldarg.0
L_00bc: ldsfld Verse.DesignationDef Hunt
L_00c1: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00c6: ldnull
L_00c7: ceq
L_00c9: ldc.i4.0
L_00ca: ceq
L_00cc: stloc.s 13 (System.Boolean)
L_00ce: ldloc.1
L_00cf: ldfld Verse.DesignationManager designationManager
L_00d4: ldarg.0
L_00d5: ldsfld Verse.DesignationDef Slaughter
L_00da: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00df: ldnull
L_00e0: ceq
L_00e2: ldc.i4.0
L_00e3: ceq
L_00e5: stloc.s 14 (System.Boolean)
L_00e7: Label4
L_00e7: Label5
L_00e7: ldarg.0
L_00e8: call Boolean ShouldSendNotificationAbout(Verse.Pawn)
L_00ed: brfalse Label6
L_00f2: ldloc.s 14 (System.Boolean)
L_00f4: brfalse Label7
L_00f9: ldarga.s 1
L_00fb: call Boolean get_HasValue()
L_0100: brfalse Label8
L_0105: ldarga.s 1
L_0107: call DamageInfo get_Value()
L_010c: stloc.s 16 (Verse.DamageInfo)
L_010e: ldloca.s 16 (Verse.DamageInfo)
L_0110: call Verse.DamageDef get_Def()
L_0115: ldsfld Verse.DamageDef ExecutionCut
L_011a: ceq
L_011c: br Label9
L_0121: Label7
L_0121: Label8
L_0121: ldc.i4.0
L_0122: Label9
L_0122: ldc.i4.0
L_0123: ceq
L_0125: br Label10
L_012a: Label6
L_012a: ldc.i4.0
L_012b: Label10
L_012b: stloc.s 15 (System.Boolean)
L_012d: ldc.r4 0
L_0132: stloc.s 17 (System.Single)
L_0134: ldarg.0
L_0135: ldsfld Verse.ThingDef Fire
L_013a: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_013f: stloc.s 18 (Verse.Thing)
L_0141: ldloc.s 18 (Verse.Thing)
L_0143: brfalse Label11
L_0148: ldloc.s 18 (Verse.Thing)
L_014a: castclass RimWorld.Fire
L_014f: callvirt Single CurrentSize()
L_0154: stloc.s 17 (System.Single)
L_0156: Label11
L_0156: ldarg.0
L_0157: ldarg.1
L_0158: ldc.i4.0
L_0159: call Void TryGiveThoughts(Verse.Pawn, Nullable`1,
PawnDiedOrDownedThoughtsKind)
L_015e: call ProgramState get_ProgramState()
L_0163: ldc.i4.2
L_0164: bne.un Label12
L_0169: call RimWorld.Storyteller get_Storyteller()
L_016e: ldarg.0
L_016f: ldc.i4.1
L_0170: ldloca.s 19 (System.Nullable`1[Verse.DamageInfo])
L_0172: initobj System.Nullable`1[Verse.DamageInfo]
L_0178: ldloc.s 19 (System.Nullable`1[Verse.DamageInfo])
L_017a: callvirt Void Notify_PawnEvent(Verse.Pawn, AdaptationEvent, Nullable`1)
L_017f: Label12
L_017f: ldarg.0
L_0180: call Boolean get_IsColonist()
L_0185: brfalse Label13
L_018a: call RimWorld.StoryWatcher get_StoryWatcher()
L_018f: ldfld RimWorld.StatsRecord statsRecord
L_0194: callvirt Void Notify_ColonistKilled()
L_0199: Label13
L_0199: ldloc.3
L_019a: brfalse Label14
L_019f: ldarga.s 1
L_01a1: call Boolean get_HasValue()
L_01a6: brfalse Label15
L_01ab: ldarga.s 1
L_01ad: call DamageInfo get_Value()
L_01b2: stloc.s 20 (Verse.DamageInfo)
L_01b4: ldloca.s 20 (Verse.DamageInfo)
L_01b6: call Verse.DamageDef get_Def()
L_01bb: ldarg.0
L_01bc: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_01c1: brfalse Label16
L_01c6: ldarg.0
L_01c7: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01cc: brtrue Label17
L_01d1: ldnull
L_01d2: ldftn Verse.SoundDef <Kill>m__8(Verse.LifeStageAge)
L_01d8: newobj Void .ctor(Object, IntPtr)
L_01dd: stsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e2: Label17
L_01e2: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e7: ldc.r4 1
L_01ec: call Void PlayNearestLifestageSound(Verse.Pawn,
System.Func`2[Verse.LifeStageAge,Verse.SoundDef], Single)
L_01f1: Label14
L_01f1: Label15
L_01f1: Label16
L_01f1: ldarga.s 1
L_01f3: call Boolean get_HasValue()
L_01f8: brfalse Label18
L_01fd: ldarga.s 1
L_01ff: call DamageInfo get_Value()
L_0204: stloc.s 21 (Verse.DamageInfo)
L_0206: ldloca.s 21 (Verse.DamageInfo)
L_0208: call Verse.Thing get_Instigator()
L_020d: brfalse Label19
L_0212: ldarga.s 1
L_0214: call DamageInfo get_Value()
L_0219: stloc.s 23 (Verse.DamageInfo)
L_021b: ldloca.s 23 (Verse.DamageInfo)
L_021d: call Verse.Thing get_Instigator()
L_0222: isinst Verse.Pawn
L_0227: stloc.s 22 (Verse.Pawn)
L_0229: ldloc.s 22 (Verse.Pawn)
L_022b: brfalse Label20
L_0230: ldarg.0
L_0231: ldloc.s 22 (Verse.Pawn)
L_0233: call Void Notify_PawnKilled(Verse.Pawn, Verse.Pawn)
L_0238: ldarg.0
L_0239: call Boolean get_IsColonist()
L_023e: brfalse Label21
L_0243: ldloc.s 22 (Verse.Pawn)
L_0245: ldfld RimWorld.Pawn_RecordsTracker records
L_024a: ldsfld RimWorld.StoryEventDef KilledPlayer
L_024f: callvirt Void AccumulateStoryEvent(RimWorld.StoryEventDef)
L_0254: Label18
L_0254: Label19
L_0254: Label20
L_0254: Label21
L_0254: ldarg.0
L_0255: ldarg.1
L_0256: call Void Notify_PawnDied(Verse.Pawn, Nullable`1)
L_025b: ldloc.3
L_025c: brfalse Label22
L_0261: call Verse.BattleLog get_BattleLog()
L_0266: ldarg.0
L_0267: ldarg.0
L_0268: call Verse.RaceProperties get_RaceProps()
L_026d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0272: callvirt Verse.RulePackDef get_DeathRules()
L_0277: ldarga.s 1
L_0279: call Boolean get_HasValue()
L_027e: brfalse Label23
L_0283: ldarga.s 1
L_0285: call DamageInfo get_Value()
L_028a: stloc.s 24 (Verse.DamageInfo)
L_028c: ldloca.s 24 (Verse.DamageInfo)
L_028e: call Verse.Thing get_Instigator()
L_0293: isinst Verse.Pawn
L_0298: br Label24
L_029d: Label23
L_029d: ldnull
L_029e: Label24
L_029e: ldarg.2
L_029f: ldarga.s 1
L_02a1: call Boolean get_HasValue()
L_02a6: brfalse Label25
L_02ab: ldarga.s 1
L_02ad: call DamageInfo get_Value()
L_02b2: stloc.s 25 (Verse.DamageInfo)
L_02b4: ldloca.s 25 (Verse.DamageInfo)
L_02b6: call Verse.BodyPartRecord get_HitPart()
L_02bb: br Label26
L_02c0: Label25
L_02c0: ldnull
L_02c1: Label26
L_02c1: newobj Void .ctor(Thing, RulePackDef, Pawn, Hediff, BodyPartRecord)
L_02c6: callvirt Void Add(Verse.LogEntry)
L_02cb: Label22
L_02cb: ldarg.0
L_02cc: ldfld Verse.Pawn_HealthTracker health
L_02d1: ldfld RimWorld.BillStack surgeryBills
L_02d6: callvirt Void Clear()
L_02db: ldarg.0
L_02dc: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02e1: brfalse Label27
L_02e6: ldarg.0
L_02e7: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02ec: ldarg.1
L_02ed: callvirt Void Notify_PawnKilled(Nullable`1)
L_02f2: Label27
L_02f2: ldarg.0
L_02f3: call Verse.RaceProperties get_RaceProps()
L_02f8: callvirt Boolean get_IsFlesh()
L_02fd: brfalse Label28
L_0302: ldarg.0
L_0303: ldfld RimWorld.Pawn_RelationsTracker relations
L_0308: ldarg.1
L_0309: ldloc.1
L_030a: callvirt Void Notify_PawnKilled(Nullable`1, Verse.Map)
L_030f: Label28
L_030f: ldarg.0
L_0310: ldfld RimWorld.Pawn_MeleeVerbs meleeVerbs
L_0315: callvirt Void Notify_PawnKilled()
L_031a: ldarg.0
L_031b: call IThingHolder get_ParentHolder()
L_0320: isinst Verse.Pawn_CarryTracker
L_0325: stloc.s 26 (Verse.Pawn_CarryTracker)
L_0327: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0329: brfalse Label29
L_032e: ldarg.0
L_032f: ldfld Verse.ThingOwner holdingOwner
L_0334: ldarg.0
L_0335: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0337: ldfld Verse.Pawn pawn
L_033c: callvirt IntVec3 get_Position()
L_0341: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0343: ldfld Verse.Pawn pawn
L_0348: callvirt Verse.Map get_Map()
L_034d: ldc.i4.1
L_034e: ldloca.s 27 (Verse.Thing)
L_0350: ldnull
L_0351: ldnull
L_0352: callvirt Boolean TryDrop(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
Verse.Thing ByRef, System.Action`2[Verse.Thing,System.Int32],
System.Predicate`1[Verse.IntVec3])
L_0357: brfalse Label30
L_035c: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_035e: ldfld Verse.Pawn pawn
L_0363: callvirt Verse.Map get_Map()
L_0368: stloc.1
L_0369: ldc.i4.1
L_036a: stloc.3
L_036b: Label29
L_036b: Label30
L_036b: ldarg.0
L_036c: ldfld Verse.Pawn_HealthTracker health
L_0371: callvirt Void SetDead()
L_0376: ldarg.0
L_0377: ldfld Verse.Pawn_HealthTracker health
L_037c: ldfld Verse.Effecter deflectionEffecter
L_0381: brfalse Label31
L_0386: ldarg.0
L_0387: ldfld Verse.Pawn_HealthTracker health
L_038c: ldfld Verse.Effecter deflectionEffecter
L_0391: callvirt Void Cleanup()
L_0396: ldarg.0
L_0397: ldfld Verse.Pawn_HealthTracker health
L_039c: ldnull
L_039d: stfld Verse.Effecter deflectionEffecter
L_03a2: Label31
L_03a2: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03a4: brfalse Label32
L_03a9: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03ab: ldarg.0
L_03ac: callvirt Void Notify_MemberDied(Verse.Pawn)
L_03b1: Label32
L_03b1: ldarg.0
L_03b2: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_03b7: stloc.s 28 (Verse.AI.Group.Lord)
L_03b9: ldloc.s 28 (Verse.AI.Group.Lord)
L_03bb: brfalse Label33
L_03c0: ldloc.s 28 (Verse.AI.Group.Lord)
L_03c2: ldarg.0
L_03c3: ldc.i4.2
L_03c4: ldarg.1
L_03c5: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_03ca: Label33
L_03ca: ldloc.3
L_03cb: brfalse Label34
L_03d0: ldarg.0
L_03d1: ldc.i4.0
L_03d2: call Void DropAndForbidEverything(Boolean)
L_03d7: Label34
L_03d7: ldloc.3
L_03d8: brfalse Label35
L_03dd: ldarg.0
L_03de: ldc.i4.0
L_03df: callvirt Void DeSpawn(DestroyMode)
L_03e4: Label35
L_03e4: ldnull
L_03e5: stloc.s 29 (Verse.Corpse)
L_03e7: ldarg.0
L_03e8: call Boolean IsBeingGenerated(Verse.Pawn)
L_03ed: brtrue Label36
L_03f2: ldloc.s 12 (System.Boolean)
L_03f4: brfalse Label37
L_03f9: ldarg.0
L_03fa: ldloc.s 7 (RimWorld.Building_Grave)
L_03fc: ldloc.s 8 (System.Boolean)
L_03fe: ldloc.s 9 (System.Single)
L_0400: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0405: stloc.s 29 (Verse.Corpse)
L_0407: ldloc.s 11 (Verse.ThingOwner)
L_0409: ldloc.s 29 (Verse.Corpse)
L_040b: ldc.i4.1
L_040c: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0411: brtrue Label38
L_0416: ldloc.s 29 (Verse.Corpse)
L_0418: ldc.i4.0
L_0419: callvirt Void Destroy(DestroyMode)
L_041e: ldnull
L_041f: stloc.s 29 (Verse.Corpse)
L_0421: Label38
L_0421: br Label39
L_0426: Label37
L_0426: ldloc.s 4 (System.Boolean)
L_0428: brfalse Label40
L_042d: ldarg.0
L_042e: ldfld Verse.ThingOwner holdingOwner
L_0433: brfalse Label41
L_0438: ldarg.0
L_0439: ldfld Verse.ThingOwner holdingOwner
L_043e: ldarg.0
L_043f: callvirt Boolean Remove(Verse.Thing)
L_0444: pop
L_0445: Label41
L_0445: ldarg.0
L_0446: ldloc.s 7 (RimWorld.Building_Grave)
L_0448: ldloc.s 8 (System.Boolean)
L_044a: ldloc.s 9 (System.Single)
L_044c: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0451: stloc.s 29 (Verse.Corpse)
L_0453: ldloc.s 29 (Verse.Corpse)
L_0455: ldloc.0
L_0456: ldloc.2
L_0457: ldc.i4.0
L_0458: ldnull
L_0459: ldnull
L_045a: call Boolean TryPlaceThing(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
System.Action`2[Verse.Thing,System.Int32], System.Predicate`1[Verse.IntVec3])
L_045f: brfalse Label42
L_0464: ldloc.s 29 (Verse.Corpse)
L_0466: ldarg.0
L_0467: call Rot4 get_Rotation()
L_046c: callvirt Void set_Rotation(Rot4)
L_0471: ldarg.0
L_0472: ldarg.1
L_0473: call Boolean WasKilledByHunter(Verse.Pawn, Nullable`1)
L_0478: brfalse Label43
L_047d: ldarga.s 1
L_047f: call DamageInfo get_Value()
L_0484: stloc.s 30 (Verse.DamageInfo)
L_0486: ldloca.s 30 (Verse.DamageInfo)
L_0488: call Verse.Thing get_Instigator()
L_048d: castclass Verse.Pawn
L_0492: ldloc.s 29 (Verse.Corpse)
L_0494: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0499: ldarga.s 1
L_049b: call DamageInfo get_Value()
L_04a0: stloc.s 31 (Verse.DamageInfo)
L_04a2: ldloca.s 31 (Verse.DamageInfo)
L_04a4: call Verse.Thing get_Instigator()
L_04a9: castclass Verse.Pawn
L_04ae: callvirt Verse.AI.Job get_CurJob()
L_04b3: ldc.i4.1
L_04b4: ldc.i4.m1
L_04b5: ldnull
L_04b6: ldc.i4.1
L_04b7: call Boolean Reserve(Verse.Pawn, LocalTargetInfo, Verse.AI.Job, Int32,
Int32, Verse.ReservationLayerDef, Boolean)
L_04bc: pop
L_04bd: br Label44
L_04c2: Label43
L_04c2: ldloc.s 13 (System.Boolean)
L_04c4: brtrue Label45
L_04c9: ldloc.s 14 (System.Boolean)
L_04cb: brtrue Label46
L_04d0: ldloc.s 29 (Verse.Corpse)
L_04d2: call Void SetForbiddenIfOutsideHomeArea(Verse.Thing)
L_04d7: Label44
L_04d7: Label45
L_04d7: Label46
L_04d7: ldloc.s 17 (System.Single)
L_04d9: ldc.r4 0
L_04de: ble.un Label47
L_04e3: ldloc.s 29 (Verse.Corpse)
L_04e5: callvirt IntVec3 get_Position()
L_04ea: ldloc.s 29 (Verse.Corpse)
L_04ec: callvirt Verse.Map get_Map()
L_04f1: ldloc.s 17 (System.Single)
L_04f3: call Boolean TryStartFireIn(IntVec3, Verse.Map, Single)
L_04f8: pop
L_04f9: Label47
L_04f9: br Label48
L_04fe: Label42
L_04fe: ldloc.s 29 (Verse.Corpse)
L_0500: ldc.i4.0
L_0501: callvirt Void Destroy(DestroyMode)
L_0506: ldnull
L_0507: stloc.s 29 (Verse.Corpse)
L_0509: Label48
L_0509: br Label49
L_050e: Label40
L_050e: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0510: brfalse Label50
L_0515: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0517: callvirt Boolean get_Spawned()
L_051c: brfalse Label51
L_0521: ldarg.0
L_0522: ldloc.s 7 (RimWorld.Building_Grave)
L_0524: ldloc.s 8 (System.Boolean)
L_0526: ldloc.s 9 (System.Single)
L_0528: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_052d: stloc.s 29 (Verse.Corpse)
L_052f: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0531: ldloc.s 29 (Verse.Corpse)
L_0533: ldc.i4.1
L_0534: callvirt Void AddPawnOrItem(Verse.Thing, Boolean)
L_0539: br Label52
L_053e: Label50
L_053e: Label51
L_053e: ldarg.0
L_053f: ldfld Verse.ThingOwner holdingOwner
L_0544: brtrue Label53
L_0549: ldarg.0
L_054a: call Boolean IsWorldPawn(Verse.Pawn)
L_054f: brfalse Label54
L_0554: Label53
L_0554: ldarg.0
L_0555: call Void PostCorpseDestroy(Verse.Pawn)
L_055a: br Label55
L_055f: Label54
L_055f: ldarg.0
L_0560: ldloc.s 7 (RimWorld.Building_Grave)
L_0562: ldloc.s 8 (System.Boolean)
L_0564: ldloc.s 9 (System.Single)
L_0566: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_056b: stloc.s 29 (Verse.Corpse)
L_056d: Label36
L_056d: Label39
L_056d: Label49
L_056d: Label52
L_056d: Label55
L_056d: ldloc.s 29 (Verse.Corpse)
L_056f: brfalse Label56
L_0574: ldarg.0
L_0575: ldfld Verse.Pawn_HealthTracker health
L_057a: ldfld Verse.HediffSet hediffSet
L_057f: ldsfld Verse.HediffDef ToxicBuildup
L_0584: ldc.i4.0
L_0585: callvirt Verse.Hediff GetFirstHediffOfDef(Verse.HediffDef, Boolean)
L_058a: stloc.s 32 (Verse.Hediff)
L_058c: ldloc.s 29 (Verse.Corpse)
L_058e: callvirt RimWorld.CompRottable GetComp[CompRottable]()
L_0593: stloc.s 33 (RimWorld.CompRottable)
L_0595: ldloc.s 32 (Verse.Hediff)
L_0597: brfalse Label57
L_059c: call Single get_Value()
L_05a1: ldloc.s 32 (Verse.Hediff)
L_05a3: callvirt Single get_Severity()
L_05a8: bge.un Label58
L_05ad: ldloc.s 33 (RimWorld.CompRottable)
L_05af: brfalse Label59
L_05b4: ldloc.s 33 (RimWorld.CompRottable)
L_05b6: callvirt Void RotImmediately()
L_05bb: Label56
L_05bb: Label57
L_05bb: Label58
L_05bb: Label59
L_05bb: ldarg.0
L_05bc: call Boolean get_Destroyed()
L_05c1: brtrue Label60
L_05c6: ldarg.0
L_05c7: ldc.i4.2
L_05c8: callvirt Void Destroy(DestroyMode)
L_05cd: Label60
L_05cd: ldarg.0
L_05ce: call Void RemoveComponentsOnKilled(Verse.Pawn)
L_05d3: ldarg.0
L_05d4: ldfld Verse.Pawn_HealthTracker health
L_05d9: ldfld Verse.HediffSet hediffSet
L_05de: callvirt Void DirtyCache()
L_05e3: ldarg.0
L_05e4: call Void SetDirty(Verse.Pawn)
L_05e9: ldc.i4.0
L_05ea: stloc.s 34 (System.Int32)
L_05ec: br Label61
L_05f1: Label62
L_05f1: ldarg.0
L_05f2: ldfld Verse.Pawn_HealthTracker health
L_05f7: ldfld Verse.HediffSet hediffSet
L_05fc: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0601: ldloc.s 34 (System.Int32)
L_0603: callvirt Verse.Hediff get_Item(Int32)
L_0608: callvirt Void Notify_PawnDied()
L_060d: ldloc.s 34 (System.Int32)
L_060f: ldc.i4.1
L_0610: add
L_0611: stloc.s 34 (System.Int32)
L_0613: Label61
L_0613: ldloc.s 34 (System.Int32)
L_0615: ldarg.0
L_0616: ldfld Verse.Pawn_HealthTracker health
L_061b: ldfld Verse.HediffSet hediffSet
L_0620: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0625: callvirt Int32 get_Count()
L_062a: blt Label62
L_062f: ldarg.0
L_0630: call RimWorld.Faction get_Faction()
L_0635: brfalse Label63
L_063a: ldarg.0
L_063b: call RimWorld.Faction get_Faction()
L_0640: ldarg.0
L_0641: ldarg.1
L_0642: ldloc.s 5 (System.Boolean)
L_0644: ldloc.2
L_0645: callvirt Void Notify_MemberDied(Verse.Pawn, Nullable`1, Boolean, Verse.Map)
L_064a: Label63
L_064a: ldloc.s 29 (Verse.Corpse)
L_064c: brfalse Label64
L_0651: ldarg.0
L_0652: call Verse.RaceProperties get_RaceProps()
L_0657: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_065c: brfalse Label65
L_0661: ldloc.3
L_0662: brfalse Label66
L_0667: ldarg.0
L_0668: call Verse.RaceProperties get_RaceProps()
L_066d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0672: ldloc.s 29 (Verse.Corpse)
L_0674: callvirt Void PawnDied(Verse.Corpse)
L_0679: Label65
L_0679: Label66
L_0679: call RimWorld.Scenario get_Scenario()
L_067e: brfalse Label67
L_0683: call RimWorld.Scenario get_Scenario()
L_0688: ldloc.s 29 (Verse.Corpse)
L_068a: callvirt Void Notify_PawnDied(Verse.Corpse)
L_068f: Label64
L_068f: Label67
L_068f: ldarg.0
L_0690: call RimWorld.Faction get_Faction()
L_0695: brfalse Label68
L_069a: ldarg.0
L_069b: call RimWorld.Faction get_Faction()
L_06a0: callvirt Boolean get_IsPlayer()
L_06a5: brfalse Label69
L_06aa: ldarg.0
L_06ab: call Void Notify_ColonistUnavailable(Verse.Pawn)
L_06b0: Label68
L_06b0: Label69
L_06b0: ldloc.s 4 (System.Boolean)
L_06b2: brfalse Label70
L_06b7: ldarg.0
L_06b8: ldloc.2
L_06b9: call Void Notify_PawnLostForTutor(Verse.Pawn, Verse.Map)
L_06be: Label70
L_06be: ldarg.0
L_06bf: call RimWorld.Faction get_Faction()
L_06c4: brfalse Label71
L_06c9: ldarg.0
L_06ca: call RimWorld.Faction get_Faction()
L_06cf: callvirt Boolean get_IsPlayer()
L_06d4: brfalse Label72
L_06d9: call ProgramState get_ProgramState()
L_06de: ldc.i4.2
L_06df: bne.un Label73
L_06e4: call RimWorld.ColonistBar get_ColonistBar()
L_06e9: callvirt Void MarkColonistsDirty()
L_06ee: Label71
L_06ee: Label72
L_06ee: Label73
L_06ee: ldloc.s 15 (System.Boolean)
L_06f0: brfalse Label74
L_06f5: ldarg.0
L_06f6: ldfld Verse.Pawn_HealthTracker health
L_06fb: ldarg.1
L_06fc: ldarg.2
L_06fd: ldloc.s 6 (RimWorld.Planet.Caravan)
L_06ff: callvirt Void NotifyPlayerOfKilled(Nullable`1, Verse.Hediff,
RimWorld.Planet.Caravan)
L_0704: Label74
L_0704: ldarg.0
L_0705: call Void Postfix(Verse.Pawn)
L_070a: ldarga 0
L_0710: call Void Postfix(Verse.Pawn ByRef)
L_0715: ret
DONE

### Patch RimWorld.Targeter, Void TargeterUpdate()


L_0000: Local var 0: Verse.LocalTargetInfo
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Single
L_0000: Local var 3: Verse.ShootLine
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: ldarg.0
L_0001: ldfld Verse.Verb targetingVerb
L_0006: brfalse Label1
L_000b: ldarg.0
L_000c: ldfld Verse.Verb targetingVerb
L_0011: ldfld Verse.VerbProperties verbProps
L_0016: ldarg.0
L_0017: ldfld Verse.Verb targetingVerb
L_001c: ldfld Verse.Thing caster
L_0021: callvirt IntVec3 get_Position()
L_0026: callvirt Void DrawRadiusRing(IntVec3)
L_002b: ldarg.0
L_002c: ldc.i4.1
L_002d: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_0032: stloc.0
L_0033: ldloca.s 0 (Verse.LocalTargetInfo)
L_0035: call Boolean get_IsValid()
L_003a: brfalse Label2
L_003f: ldloc.0
L_0040: call Void DrawTargetHighlight(LocalTargetInfo)
L_0045: ldarg.0
L_0046: ldfld Verse.Verb targetingVerb
L_004b: ldloca.s 1 (System.Boolean)
L_004d: callvirt Single HighlightFieldRadiusAroundTarget(Boolean ByRef)
L_0052: stloc.2
L_0053: ldloc.2
L_0054: ldc.r4 0.2
L_0059: ble.un Label3
L_005e: ldarg.0
L_005f: ldfld Verse.Verb targetingVerb
L_0064: ldarg.0
L_0065: ldfld Verse.Verb targetingVerb
L_006a: ldfld Verse.Thing caster
L_006f: callvirt IntVec3 get_Position()
L_0074: ldloc.0
L_0075: ldloca.s 3 (Verse.ShootLine)
L_0077: callvirt Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_007c: brfalse Label4
L_0081: ldloc.1
L_0082: brfalse Label5
L_0087: ldloca.s 3 (Verse.ShootLine)
L_0089: call IntVec3 get_Dest()
L_008e: ldloc.2
L_008f: call Void RenderPredictedAreaOfEffect(IntVec3, Single)
L_0094: br Label6
L_0099: Label5
L_0099: ldloca.s 3 (Verse.ShootLine)
L_009b: call IntVec3 get_Dest()
L_00a0: ldloc.2
L_00a1: ldc.i4.1
L_00a2: call IEnumerable`1 RadialCellsAround(IntVec3, Single, Boolean)
L_00a7: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00ac: brtrue Label7
L_00b1: ldnull
L_00b2: ldftn Boolean <TargeterUpdate>m__0(IntVec3)
L_00b8: newobj Void .ctor(Object, IntPtr)
L_00bd: stsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c2: Label7
L_00c2: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c7: call IEnumerable`1 Where[IntVec3](IEnumerable`1,
System.Func`2[Verse.IntVec3,System.Boolean])
L_00cc: call System.Collections.Generic.List`1[Verse.IntVec3] ToList[IntVec3]
(IEnumerable`1)
L_00d1: call Void DrawFieldEdges(System.Collections.Generic.List`1[Verse.IntVec3])
L_00d6: Label1
L_00d6: Label2
L_00d6: Label3
L_00d6: Label4
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Action`1[Verse.LocalTargetInfo] action
L_00dc: brfalse Label8
L_00e1: ldarg.0
L_00e2: ldc.i4.0
L_00e3: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_00e8: stloc.s 4 (Verse.LocalTargetInfo)
L_00ea: ldloca.s 4 (Verse.LocalTargetInfo)
L_00ec: call Boolean get_IsValid()
L_00f1: brfalse Label9
L_00f6: ldloc.s 4 (Verse.LocalTargetInfo)
L_00f8: call Void DrawTargetHighlight(LocalTargetInfo)
L_00fd: Label8
L_00fd: Label9
L_00fd: ldarg.0
L_00fe: call Void TargeterUpdate_PostFix(RimWorld.Targeter)
L_0103: ldarga 0
L_0109: call Void Postfix(RimWorld.Targeter ByRef)
L_010e: ret
DONE

### Patch Verse.Verb, Boolean CanHitTargetFrom(IntVec3, LocalTargetInfo)


L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.ShootLine
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarga.s 2
L_0008: call Verse.Thing get_Thing()
L_000d: brfalse Label1
L_0012: ldarga.s 2
L_0014: call Verse.Thing get_Thing()
L_0019: ldarg.0
L_001a: ldfld Verse.Thing caster
L_001f: bne.un Label2
L_0024: ldarg.0
L_0025: ldfld Verse.VerbProperties verbProps
L_002a: ldfld RimWorld.TargetingParameters targetParams
L_002f: ldfld System.Boolean canTargetSelf
L_0034: br Label8
L_0039: Label1
L_0039: Label2
L_0039: ldarg.0
L_003a: call Boolean get_CasterIsPawn()
L_003f: brfalse Label3
L_0044: ldarg.0
L_0045: call Verse.Pawn get_CasterPawn()
L_004a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_004f: brfalse Label4
L_0054: ldarg.0
L_0055: call Verse.Pawn get_CasterPawn()
L_005a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_005f: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0064: stloc.0
L_0065: ldc.i4.0
L_0066: stloc.1
L_0067: br Label5
L_006c: Label7
L_006c: ldloc.0
L_006d: ldloc.1
L_006e: callvirt RimWorld.Apparel get_Item(Int32)
L_0073: ldarg.1
L_0074: ldarg.0
L_0075: ldfld Verse.Thing caster
L_007a: callvirt Verse.Map get_Map()
L_007f: ldarg.2
L_0080: ldarg.0
L_0081: callvirt Boolean AllowVerbCast(IntVec3, Verse.Map, LocalTargetInfo,
Verse.Verb)
L_0086: brtrue Label6
L_008b: ldc.i4.0
L_008c: br Label9
L_0091: Label6
L_0091: ldloc.1
L_0092: ldc.i4.1
L_0093: add
L_0094: stloc.1
L_0095: Label5
L_0095: ldloc.1
L_0096: ldloc.0
L_0097: callvirt Int32 get_Count()
L_009c: blt Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldarg.0
L_00a2: ldarg.1
L_00a3: ldarg.2
L_00a4: ldloca.s 2 (Verse.ShootLine)
L_00a6: call Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_00ab: Label8
L_00ab: Label9
L_00ab: stloc 3 (System.Boolean)
L_00ac: ldarga 0
L_00b2: ldloca 3 (System.Boolean)
L_00b4: ldarg 1
L_00ba: ldarg 2
L_00c0: call Void Postfix(Verse.Verb ByRef, Boolean ByRef, IntVec3,
LocalTargetInfo)
L_00c5: ldloc 3 (System.Boolean)
L_00c6: ret
DONE

### Patch Verse.Pawn_RotationTracker, Void RotationTrackerTick()


L_0000: ldarg.0
L_0001: call Boolean VehicleRotatorTick(Verse.Pawn_RotationTracker)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void UpdateRotation()
L_0011: Label0
L_0011: ret
DONE

### Patch Verse.DamageWorker_AddInjury, Single FinalizeAndAddInjury(Verse.Pawn,


Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult)
L_0000: Local var 0: Verse.HediffComp_GetsPermanent
L_0000: Local var 1: System.Single
L_0000: Local var 2: System.Single
L_0000: ldc.r4 0
L_0005: stloc 2 (System.Single)
L_0006: ldarg.2
L_0007: call Verse.HediffComp_GetsPermanent TryGetComp[HediffComp_GetsPermanent]
(Verse.Hediff)
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldloc.0
L_0014: callvirt Void PreFinalizeInjury()
L_0019: Label1
L_0019: ldarg.1
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldarg.2
L_0020: ldnull
L_0021: ldarg.3
L_0022: newobj Void .ctor(DamageInfo)
L_0027: ldarg.s 4
L_0029: callvirt Void AddHediff(Verse.Hediff, Verse.BodyPartRecord, Nullable`1,
Verse.DamageWorker+DamageResult)
L_002e: ldarg.2
L_002f: callvirt Single get_Severity()
L_0034: ldarg.1
L_0035: ldfld Verse.Pawn_HealthTracker health
L_003a: ldfld Verse.HediffSet hediffSet
L_003f: ldarg.2
L_0040: callvirt Verse.BodyPartRecord get_Part()
L_0045: callvirt Single GetPartHealth(Verse.BodyPartRecord)
L_004a: call Single Min(Single, Single)
L_004f: stloc.1
L_0050: ldarg.s 4
L_0052: dup
L_0053: ldfld System.Single totalDamageDealt
L_0058: ldloc.1
L_0059: add
L_005a: stfld System.Single totalDamageDealt
L_005f: ldarg.s 4
L_0061: ldc.i4.1
L_0062: stfld System.Boolean wounded
L_0067: ldarg.s 4
L_0069: ldarg.1
L_006a: ldarg.2
L_006b: callvirt Verse.BodyPartRecord get_Part()
L_0070: callvirt Void AddPart(Verse.Thing, Verse.BodyPartRecord)
L_0075: ldarg.s 4
L_0077: ldarg.2
L_0078: callvirt Void AddHediff(Verse.Hediff)
L_007d: ldloc.1
L_007e: stloc 2 (System.Single)
L_007f: ldarg.0
L_0080: ldarg 1
L_0086: ldarg 2
L_008c: ldarg 3
L_0092: ldarga 4
L_0098: ldloca 2 (System.Single)
L_009a: call Void TryInjureVehicleOccupants(Verse.DamageWorker_AddInjury,
Verse.Pawn, Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult ByRef,
Single ByRef)
L_009f: ldloc 2 (System.Single)
L_00a0: ret
DONE

### Patch Verse.HealthUtility, System.String GetGeneralConditionLabel(Verse.Pawn,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Hediff_Injury
L_0000: Local var 3: System.String
L_0000: ldnull
L_0001: stloc 3 (System.String)
L_0002: ldloca 3 (System.String)
L_0004: ldarg 0
L_000a: ldarg 1
L_0010: call Boolean ReplaceConditionLabel(System.String ByRef, Verse.Pawn,
Boolean)
L_0015: brfalse Label0
L_001a: ldarg.0
L_001b: ldfld Verse.Pawn_HealthTracker health
L_0020: callvirt Boolean get_Dead()
L_0025: brfalse Label1
L_002a: ldstr "Dead"
L_002f: call System.String Translate(System.String)
L_0034: br Label15
L_0039: Label1
L_0039: ldarg.0
L_003a: ldfld Verse.Pawn_HealthTracker health
L_003f: ldfld Verse.PawnCapacitiesHandler capacities
L_0044: callvirt Boolean get_CanBeAwake()
L_0049: brtrue Label2
L_004e: ldstr "Unconscious"
L_0053: call System.String Translate(System.String)
L_0058: br Label16
L_005d: Label2
L_005d: ldarg.0
L_005e: ldfld Verse.Pawn_HealthTracker health
L_0063: callvirt Boolean get_InPainShock()
L_0068: brfalse Label3
L_006d: ldarg.1
L_006e: brfalse Label4
L_0073: ldstr "PainShockShort"
L_0078: call Boolean CanTranslate(System.String)
L_007d: brfalse Label5
L_0082: ldstr "PainShockShort"
L_0087: call System.String Translate(System.String)
L_008c: br Label6
L_0091: Label4
L_0091: Label5
L_0091: ldstr "PainShock"
L_0096: call System.String Translate(System.String)
L_009b: Label6
L_009b: br Label17
L_00a0: Label3
L_00a0: ldarg.0
L_00a1: callvirt Boolean get_Downed()
L_00a6: brfalse Label7
L_00ab: ldstr "Incapacitated"
L_00b0: call System.String Translate(System.String)
L_00b5: br Label18
L_00ba: Label7
L_00ba: ldc.i4.0
L_00bb: stloc.0
L_00bc: ldc.i4.0
L_00bd: stloc.1
L_00be: br Label8
L_00c3: Label12
L_00c3: ldarg.0
L_00c4: ldfld Verse.Pawn_HealthTracker health
L_00c9: ldfld Verse.HediffSet hediffSet
L_00ce: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_00d3: ldloc.1
L_00d4: callvirt Verse.Hediff get_Item(Int32)
L_00d9: isinst Verse.Hediff_Injury
L_00de: stloc.2
L_00df: ldloc.2
L_00e0: brtrue Label9
L_00e5: br Label10
L_00ea: Label9
L_00ea: ldloc.2
L_00eb: call Boolean IsPermanent(Verse.Hediff)
L_00f0: brtrue Label11
L_00f5: ldc.i4.1
L_00f6: stloc.0
L_00f7: Label10
L_00f7: Label11
L_00f7: ldloc.1
L_00f8: ldc.i4.1
L_00f9: add
L_00fa: stloc.1
L_00fb: Label8
L_00fb: ldloc.1
L_00fc: ldarg.0
L_00fd: ldfld Verse.Pawn_HealthTracker health
L_0102: ldfld Verse.HediffSet hediffSet
L_0107: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_010c: callvirt Int32 get_Count()
L_0111: blt Label12
L_0116: ldloc.0
L_0117: brfalse Label13
L_011c: ldstr "Injured"
L_0121: call System.String Translate(System.String)
L_0126: br Label19
L_012b: Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_HealthTracker health
L_0131: ldfld Verse.HediffSet hediffSet
L_0136: callvirt Single get_PainTotal()
L_013b: ldc.r4 0.3
L_0140: ble.un Label14
L_0145: ldstr "InPain"
L_014a: call System.String Translate(System.String)
L_014f: br Label20
L_0154: Label14
L_0154: ldstr "Healthy"
L_0159: call System.String Translate(System.String)
L_015e: Label15
L_015e: Label16
L_015e: Label17
L_015e: Label18
L_015e: Label19
L_015e: Label20
L_015e: stloc 3 (System.String)
L_015f: Label0
L_015f: ldloc 3 (System.String)
L_0160: ret
DONE

### Patch Verse.MapPawns, Int32 get_FreeColonistsSpawnedCount()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldarg.0
L_0007: call IEnumerable`1 get_FreeColonistsSpawned()
L_000c: call Int32 Count[Pawn](IEnumerable`1)
L_0011: stloc 0 (System.Int32)
L_0012: ldarg.0
L_0013: ldloca 0 (System.Int32)
L_0015: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_001a: ldloc 0 (System.Int32)
L_001b: ret
DONE

### Patch Verse.MapPawns, Int32


get_FreeColonistsSpawnedOrInPlayerEjectablePodsCount()
L_0000: Local var 0: System.Int32
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.Building_CryptosleepCasket
L_0000: Local var 5: Verse.IThingHolder
L_0000: Local var 6: System.Int32
L_0000: Local var 7: Verse.Pawn
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldc.i4.0
L_0008: stloc.0
L_0009: ldc.i4.0
L_000a: stloc.1
L_000b: br Label1
L_0010: Label3
L_0010: ldarg.0
L_0011: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0016: ldloc.1
L_0017: callvirt Verse.Pawn get_Item(Int32)
L_001c: callvirt Boolean get_IsFreeColonist()
L_0021: brfalse Label2
L_0026: ldloc.0
L_0027: ldc.i4.1
L_0028: add
L_0029: stloc.0
L_002a: Label2
L_002a: ldloc.1
L_002b: ldc.i4.1
L_002c: add
L_002d: stloc.1
L_002e: Label1
L_002e: ldloc.1
L_002f: ldarg.0
L_0030: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0035: callvirt Int32 get_Count()
L_003a: blt Label3
L_003f: ldarg.0
L_0040: ldfld Verse.Map map
L_0045: ldfld Verse.ListerThings listerThings
L_004a: ldc.i4.s 30
L_004c: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsInGroup(ThingRequestGroup)
L_0051: stloc.2
L_0052: ldc.i4.0
L_0053: stloc.3
L_0054: br Label4
L_0059: Label15
L_0059: ldloc.2
L_005a: ldloc.3
L_005b: callvirt Verse.Thing get_Item(Int32)
L_0060: isinst RimWorld.Building_CryptosleepCasket
L_0065: stloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0067: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0069: brfalse Label5
L_006e: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0070: ldfld Verse.ThingDef def
L_0075: ldfld RimWorld.BuildingProperties building
L_007a: ldfld System.Boolean isPlayerEjectable
L_007f: brtrue Label6
L_0084: Label5
L_0084: ldloc.2
L_0085: ldloc.3
L_0086: callvirt Verse.Thing get_Item(Int32)
L_008b: isinst RimWorld.IActiveDropPod
L_0090: brtrue Label7
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: callvirt Verse.Thing get_Item(Int32)
L_009c: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00a1: brfalse Label8
L_00a6: Label6
L_00a6: Label7
L_00a6: ldloc.2
L_00a7: ldloc.3
L_00a8: callvirt Verse.Thing get_Item(Int32)
L_00ad: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00b2: dup
L_00b3: brtrue Label9
L_00b8: pop
L_00b9: ldloc.2
L_00ba: ldloc.3
L_00bb: callvirt Verse.Thing get_Item(Int32)
L_00c0: castclass Verse.IThingHolder
L_00c5: Label9
L_00c5: stloc.s 5 (Verse.IThingHolder)
L_00c7: ldarg.0
L_00c8: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00cd: callvirt Void Clear()
L_00d2: ldloc.s 5 (Verse.IThingHolder)
L_00d4: ldarg.0
L_00d5: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00da: ldc.i4.1
L_00db: ldnull
L_00dc: call Void GetAllThingsRecursively(IThingHolder,
System.Collections.Generic.List`1[Verse.Thing], Boolean,
System.Predicate`1[Verse.IThingHolder])
L_00e1: ldc.i4.0
L_00e2: stloc.s 6 (System.Int32)
L_00e4: br Label10
L_00e9: Label14
L_00e9: ldarg.0
L_00ea: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00ef: ldloc.s 6 (System.Int32)
L_00f1: callvirt Verse.Thing get_Item(Int32)
L_00f6: isinst Verse.Pawn
L_00fb: stloc.s 7 (Verse.Pawn)
L_00fd: ldloc.s 7 (Verse.Pawn)
L_00ff: brfalse Label11
L_0104: ldloc.s 7 (Verse.Pawn)
L_0106: callvirt Boolean get_Dead()
L_010b: brtrue Label12
L_0110: ldloc.s 7 (Verse.Pawn)
L_0112: callvirt Boolean get_IsFreeColonist()
L_0117: brfalse Label13
L_011c: ldloc.0
L_011d: ldc.i4.1
L_011e: add
L_011f: stloc.0
L_0120: Label11
L_0120: Label12
L_0120: Label13
L_0120: ldloc.s 6 (System.Int32)
L_0122: ldc.i4.1
L_0123: add
L_0124: stloc.s 6 (System.Int32)
L_0126: Label10
L_0126: ldloc.s 6 (System.Int32)
L_0128: ldarg.0
L_0129: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_012e: callvirt Int32 get_Count()
L_0133: blt Label14
L_0138: Label8
L_0138: ldloc.3
L_0139: ldc.i4.1
L_013a: add
L_013b: stloc.3
L_013c: Label4
L_013c: ldloc.3
L_013d: ldloc.2
L_013e: callvirt Int32 get_Count()
L_0143: blt Label15
L_0148: ldarg.0
L_0149: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_014e: callvirt Void Clear()
L_0153: ldloc.0
L_0154: stloc 8 (System.Int32)
L_0156: ldarg.0
L_0157: ldloca 8 (System.Int32)
L_0159: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_015e: ldloc 8 (System.Int32)
L_0160: ret
DONE

### Patch Verse.Pawn_HealthTracker, Boolean ShouldBeDowned()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean VehicleShouldBeDowned(Verse.Pawn_HealthTracker, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean get_InPainShock()
L_0019: brtrue Label1
L_001e: ldarg.0
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: callvirt Boolean get_CanBeAwake()
L_0029: brfalse Label2
L_002e: ldarg.0
L_002f: ldfld Verse.PawnCapacitiesHandler capacities
L_0034: ldsfld Verse.PawnCapacityDef Moving
L_0039: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_003e: ldc.i4.0
L_003f: ceq
L_0041: br Label3
L_0046: Label1
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: stloc 0 (System.Boolean)
L_0048: Label0
L_0048: ldloc 0 (System.Boolean)
L_0049: ret
DONE

### Patch Verse.PawnDownedWiggler, Void WigglerTick()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: call Boolean VehicleShouldWiggle(Verse.PawnDownedWiggler)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld Verse.Pawn pawn
L_0011: callvirt Boolean get_Downed()
L_0016: brfalse Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: callvirt Boolean get_Spawned()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: ldfld Verse.Pawn pawn
L_0031: call Boolean InBed(Verse.Pawn)
L_0036: brtrue Label3
L_003b: ldarg.0
L_003c: dup
L_003d: ldfld System.Int32 ticksToIncapIcon
L_0042: ldc.i4.1
L_0043: sub
L_0044: stfld System.Int32 ticksToIncapIcon
L_0049: ldarg.0
L_004a: ldfld System.Int32 ticksToIncapIcon
L_004f: ldc.i4.0
L_0050: bgt Label4
L_0055: ldarg.0
L_0056: ldfld Verse.Pawn pawn
L_005b: callvirt IntVec3 get_Position()
L_0060: ldarg.0
L_0061: ldfld Verse.Pawn pawn
L_0066: callvirt Verse.Map get_Map()
L_006b: ldsfld Verse.ThingDef Mote_IncapIcon
L_0070: call Verse.Mote ThrowMetaIcon(IntVec3, Verse.Map, Verse.ThingDef)
L_0075: pop
L_0076: ldarg.0
L_0077: ldc.i4 200
L_007c: stfld System.Int32 ticksToIncapIcon
L_0081: Label4
L_0081: ldarg.0
L_0082: ldfld Verse.Pawn pawn
L_0087: call Boolean Awake(Verse.Pawn)
L_008c: brfalse Label5
L_0091: call Verse.TickManager get_TickManager()
L_0096: callvirt Int32 get_TicksGame()
L_009b: ldc.i4 300
L_00a0: rem
L_00a1: ldc.i4.2
L_00a2: mul
L_00a3: stloc.0
L_00a4: ldloc.0
L_00a5: ldc.i4.s 90
L_00a7: bge Label6
L_00ac: ldarg.0
L_00ad: dup
L_00ae: ldfld System.Single downedAngle
L_00b3: ldc.r4 0.35
L_00b8: add
L_00b9: stfld System.Single downedAngle
L_00be: br Label7
L_00c3: Label6
L_00c3: ldloc.0
L_00c4: ldc.i4 390
L_00c9: bge Label8
L_00ce: ldloc.0
L_00cf: ldc.i4 300
L_00d4: blt Label9
L_00d9: ldarg.0
L_00da: dup
L_00db: ldfld System.Single downedAngle
L_00e0: ldc.r4 0.35
L_00e5: sub
L_00e6: stfld System.Single downedAngle
L_00eb: Label1
L_00eb: Label2
L_00eb: Label3
L_00eb: Label5
L_00eb: Label7
L_00eb: Label8
L_00eb: Label9
L_00eb: Label0
L_00eb: ret
DONE

### Patch Verse.VerbTracker, IEnumerable`1 GetVerbsCommands(KeyCode)


L_0000: Local var 0: Verse.VerbTracker+<GetVerbsCommands>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Command,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0002: ldarg.0
L_0003: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0005: ldarg 1
L_000b: call Boolean GetVerbsCommands_PreFix(Verse.VerbTracker, IEnumerable`1
ByRef, KeyCode)
L_0010: brfalse Label0
L_0015: newobj Void .ctor()
L_001a: stloc.0
L_001b: ldloc.0
L_001c: ldarg.0
L_001d: stfld Verse.VerbTracker $this
L_0022: ldloc.0
L_0023: dup
L_0024: ldc.i4.s -2
L_0026: stfld System.Int32 $PC
L_002b: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002c: Label0
L_002c: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002d: ret
DONE

### Patch RimWorld.PawnUtility, Boolean


IsTravelingInTransportPodWorldObject(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean IsWorldPawn(Verse.Pawn)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean AnyParentIs[ActiveDropPodInfo](Verse.Thing)
L_0017: br Label2
L_001c: Label1
L_001c: ldc.i4.0
L_001d: Label2
L_001d: stloc 0 (System.Boolean)
L_001e: ldloca 0 (System.Boolean)
L_0020: ldarg 0
L_0026: call Void PreventAssigningRandomFaction(Boolean ByRef, Verse.Pawn)
L_002b: ldloc 0 (System.Boolean)
L_002c: ret
DONE

### Patch RimWorld.SocialCardUtility, Void Recache(Verse.Pawn)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: Local var 5: System.Int32
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: RimWorld.SocialCardUtility+CachedSocialTabEntry
L_0000: Local var 9: System.Int32
L_0000: ldarg 0
L_0006: call Boolean SocialTabNullHandling(Verse.Pawn)
L_000b: brfalse Label0
L_0010: ldarg.0
L_0011: stsfld Verse.Pawn cachedForPawn
L_0016: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_001b: callvirt Void Clear()
L_0020: ldarg.0
L_0021: ldfld RimWorld.Pawn_RelationsTracker relations
L_0026: callvirt IEnumerable`1 get_RelatedPawns()
L_002b: callvirt IEnumerator`1 GetEnumerator()
L_0030: stloc.1
.try
{
L_0031: br Label1
L_0036: Label4
L_0036: ldloc.1
L_0037: callvirt Verse.Pawn get_Current()
L_003c: stloc.0
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_0044: brtrue Label2
L_0049: leave Label3
L_004e: Label2
L_004e: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0053: ldloc.0
L_0054: callvirt Boolean Add(Verse.Pawn)
L_0059: pop
L_005a: Label1
L_005a: Label3
L_005a: ldloc.1
L_005b: callvirt Boolean MoveNext()
L_0060: brtrue Label4
L_0065: leave Label5
L_006a: leave (autogenerated)
} // end try
.finally
{
L_006f: ldloc.1
L_0070: brfalse Label6
L_0075: ldloc.1
L_0076: callvirt Void Dispose()
L_007b: Label6
L_007b: endfinally
L_007c: leave (autogenerated)
} // end handler
L_007d: Label5
L_007d: ldnull
L_007e: stloc.2
L_007f: ldarg.0
L_0080: callvirt Verse.Map get_MapHeld()
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: callvirt Verse.Map get_MapHeld()
L_0090: ldfld Verse.MapPawns mapPawns
L_0095: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_009a: stloc.2
L_009b: br Label8
L_00a0: Label7
L_00a0: ldarg.0
L_00a1: call Boolean IsCaravanMember(Verse.Pawn)
L_00a6: brfalse Label9
L_00ab: ldarg.0
L_00ac: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_00b1: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_00b6: stloc.2
L_00b7: Label8
L_00b7: Label9
L_00b7: ldloc.2
L_00b8: brfalse Label10
L_00bd: ldc.i4.0
L_00be: stloc.3
L_00bf: br Label11
L_00c4: Label20
L_00c4: ldloc.2
L_00c5: ldloc.3
L_00c6: callvirt Verse.Pawn get_Item(Int32)
L_00cb: stloc.s 4 (Verse.Pawn)
L_00cd: ldloc.s 4 (Verse.Pawn)
L_00cf: callvirt Verse.RaceProperties get_RaceProps()
L_00d4: callvirt Boolean get_Humanlike()
L_00d9: brfalse Label12
L_00de: ldloc.s 4 (Verse.Pawn)
L_00e0: ldarg.0
L_00e1: beq Label13
L_00e6: ldloc.s 4 (Verse.Pawn)
L_00e8: ldarg.0
L_00e9: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_00ee: brfalse Label14
L_00f3: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_00f8: ldloc.s 4 (Verse.Pawn)
L_00fa: callvirt Boolean Contains(Verse.Pawn)
L_00ff: brfalse Label15
L_0104: Label12
L_0104: Label13
L_0104: Label14
L_0104: br Label16
L_0109: Label15
L_0109: ldarg.0
L_010a: ldfld RimWorld.Pawn_RelationsTracker relations
L_010f: ldloc.s 4 (Verse.Pawn)
L_0111: callvirt Int32 OpinionOf(Verse.Pawn)
L_0116: brtrue Label17
L_011b: ldloc.s 4 (Verse.Pawn)
L_011d: ldfld RimWorld.Pawn_RelationsTracker relations
L_0122: ldarg.0
L_0123: callvirt Int32 OpinionOf(Verse.Pawn)
L_0128: brtrue Label18
L_012d: br Label19
L_0132: Label17
L_0132: Label18
L_0132: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0137: ldloc.s 4 (Verse.Pawn)
L_0139: callvirt Boolean Add(Verse.Pawn)
L_013e: pop
L_013f: Label16
L_013f: Label19
L_013f: ldloc.3
L_0140: ldc.i4.1
L_0141: add
L_0142: stloc.3
L_0143: Label11
L_0143: ldloc.3
L_0144: ldloc.2
L_0145: callvirt Int32 get_Count()
L_014a: blt Label20
L_014f: Label10
L_014f: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0154: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0159: brtrue Label21
L_015e: ldnull
L_015f: ldftn Boolean
<Recache>m__0(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0165: newobj Void .ctor(Object, IntPtr)
L_016a: stsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_016f: Label21
L_016f: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0174: callvirt Int32
RemoveAll(System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry])
L_0179: pop
L_017a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_017f: callvirt Void Clear()
L_0184: ldc.i4.0
L_0185: stloc.s 5 (System.Int32)
L_0187: br Label22
L_018c: Label23
L_018c: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0191: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0196: ldloc.s 5 (System.Int32)
L_0198: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_019d: ldfld Verse.Pawn otherPawn
L_01a2: callvirt Boolean Add(Verse.Pawn)
L_01a7: pop
L_01a8: ldloc.s 5 (System.Int32)
L_01aa: ldc.i4.1
L_01ab: add
L_01ac: stloc.s 5 (System.Int32)
L_01ae: Label22
L_01ae: ldloc.s 5 (System.Int32)
L_01b0: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_01b5: callvirt Int32 get_Count()
L_01ba: blt Label23
L_01bf: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_01c4: callvirt Enumerator GetEnumerator()
L_01c9: stloc.s 7 (System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
.try
{
L_01cb: br Label24
L_01d0: Label27
L_01d0: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_01d2: call Verse.Pawn get_Current()
L_01d7: stloc.s 6 (Verse.Pawn)
L_01d9: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_01de: ldloc.s 6 (Verse.Pawn)
L_01e0: callvirt Boolean Contains(Verse.Pawn)
L_01e5: brfalse Label25
L_01ea: leave Label26
L_01ef: Label25
L_01ef: newobj Void .ctor()
L_01f4: stloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f6: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f8: ldloc.s 6 (Verse.Pawn)
L_01fa: stfld Verse.Pawn otherPawn
L_01ff: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0204: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0206: callvirt Void Add(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_020b: Label24
L_020b: Label26
L_020b: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_020d: call Boolean MoveNext()
L_0212: brtrue Label27
L_0217: leave Label28
L_021c: leave (autogenerated)
} // end try
.finally
{
L_0221: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_0223: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn]
L_0229: callvirt Void Dispose()
L_022e: endfinally
L_022f: leave (autogenerated)
} // end handler
L_0230: Label28
L_0230: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0235: callvirt Void Clear()
L_023a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_023f: callvirt Void Clear()
L_0244: ldc.i4.0
L_0245: stloc.s 9 (System.Int32)
L_0247: br Label29
L_024c: Label30
L_024c: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0251: ldloc.s 9 (System.Int32)
L_0253: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_0258: ldarg.0
L_0259: call Void RecacheEntry(RimWorld.SocialCardUtility+CachedSocialTabEntry,
Verse.Pawn)
L_025e: ldloc.s 9 (System.Int32)
L_0260: ldc.i4.1
L_0261: add
L_0262: stloc.s 9 (System.Int32)
L_0264: Label29
L_0264: ldloc.s 9 (System.Int32)
L_0266: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_026b: callvirt Int32 get_Count()
L_0270: blt Label30
L_0275: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_027a: ldsfld RimWorld.SocialCardUtility+CachedSocialTabEntryComparer
CachedEntriesComparer
L_027f: callvirt Void Sort(IComparer`1)
L_0284: Label0
L_0284: ret
DONE

### Patch Verse.Pawn, Boolean get_IsColonistPlayerControlled()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean get_Spawned()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean get_IsColonist()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: call Verse.MentalStateDef get_MentalStateDef()
L_0022: brtrue Label3
L_0027: ldarg.0
L_0028: call RimWorld.Faction get_HostFaction()
L_002d: ldnull
L_002e: ceq
L_0030: br Label4
L_0035: Label1
L_0035: Label2
L_0035: Label3
L_0035: ldc.i4.0
L_0036: Label4
L_0036: stloc 0 (System.Boolean)
L_0037: ldarg.0
L_0038: ldloca 0 (System.Boolean)
L_003a: call Void IncludeVehiclesInIsColonistPlayerControlled(Verse.Pawn, Boolean
ByRef)
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.Pawn, Boolean CurrentlyUsableForBills()


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InBed(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldsfld System.String NotSurgeryReadyTrans
L_0016: ldnull
L_0017: call Void Is(System.String, System.String)
L_001c: ldc.i4.0
L_001d: br Label3
L_0022: Label1
L_0022: ldarg.0
L_0023: callvirt IntVec3 get_InteractionCell()
L_0028: stloc.0
L_0029: ldloca.s 0 (Verse.IntVec3)
L_002b: call Boolean get_IsValid()
L_0030: brtrue Label2
L_0035: ldsfld System.String CannotReachTrans
L_003a: ldnull
L_003b: call Void Is(System.String, System.String)
L_0040: ldc.i4.0
L_0041: br Label4
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: Label4
L_0047: stloc 1 (System.Boolean)
L_0048: ldarg.0
L_0049: ldloca 1 (System.Boolean)
L_004b: call Void CantUseMovingVehicles(Verse.Pawn, Boolean ByRef)
L_0050: ldloc 1 (System.Boolean)
L_0051: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ret
DONE

### Patch Verse.Verb_Shoot, Boolean TryCastShot()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 1 (System.Boolean)
L_0009: call Boolean CanVehicleShoot(Verse.Verb_Shoot, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean TryCastShot()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: brfalse Label1
L_0020: ldarg.0
L_0021: call Boolean get_CasterIsPawn()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: call Verse.Pawn get_CasterPawn()
L_0031: ldfld RimWorld.Pawn_RecordsTracker records
L_0036: ldsfld RimWorld.RecordDef ShotsFired
L_003b: callvirt Void Increment(RimWorld.RecordDef)
L_0040: Label1
L_0040: Label2
L_0040: ldloc.0
L_0041: stloc 1 (System.Boolean)
L_0042: Label0
L_0042: ldloc 1 (System.Boolean)
L_0043: ret
DONE

### Patch RimWorld.GameEnder, Boolean


IsPlayerControlledWithFreeColonist(RimWorld.Planet.Caravan)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsPlayerControlled()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label6
L_0017: Label1
L_0017: ldarg.1
L_0018: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_001d: stloc.0
L_001e: ldc.i4.0
L_001f: stloc.1
L_0020: br Label2
L_0025: Label5
L_0025: ldloc.0
L_0026: ldloc.1
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stloc.2
L_002d: ldloc.2
L_002e: callvirt Boolean get_IsColonist()
L_0033: brfalse Label3
L_0038: ldloc.2
L_0039: callvirt RimWorld.Faction get_HostFaction()
L_003e: brtrue Label4
L_0043: ldc.i4.1
L_0044: br Label7
L_0049: Label3
L_0049: Label4
L_0049: ldloc.1
L_004a: ldc.i4.1
L_004b: add
L_004c: stloc.1
L_004d: Label2
L_004d: ldloc.1
L_004e: ldloc.0
L_004f: callvirt Int32 get_Count()
L_0054: blt Label5
L_0059: ldc.i4.0
L_005a: Label6
L_005a: Label7
L_005a: stloc 3 (System.Boolean)
L_005b: ldarg 1
L_0061: ldloca 3 (System.Boolean)
L_0063: call Void CanEndGame(RimWorld.Planet.Caravan, Boolean ByRef)
L_0068: ldloc 3 (System.Boolean)
L_0069: ret
DONE

### Patch RimWorld.RestUtility, RimWorld.Building_Bed FindBedFor(Verse.Pawn,


Verse.Pawn, Boolean, Boolean, Boolean)
L_0000: Local var 0: RimWorld.RestUtility+<FindBedFor>c__AnonStorey0
L_0000: Local var 1: RimWorld.Building_Bed
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: Verse.Pawn
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.ThingDef
L_0000: Local var 9: System.Int32
L_0000: Local var 10: RimWorld.RestUtility+<FindBedFor>c__AnonStorey1
L_0000: Local var 11: RimWorld.Building_Bed
L_0000: Local var 12: RimWorld.DirectPawnRelation
L_0000: Local var 13: RimWorld.Building_Bed
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.RestUtility+<FindBedFor>c__AnonStorey2
L_0000: Local var 16: System.Int32
L_0000: Local var 17: Verse.ThingDef
L_0000: Local var 18: RimWorld.Building_Bed
L_0000: Local var 19: RimWorld.Building_Bed
L_0000: ldnull
L_0001: stloc 19 (RimWorld.Building_Bed)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: stfld Verse.Pawn sleeper
L_0010: ldloc.0
L_0011: ldarg.1
L_0012: stfld Verse.Pawn traveler
L_0017: ldloc.0
L_0018: ldarg.2
L_0019: stfld System.Boolean sleeperWillBePrisoner
L_001e: ldloc.0
L_001f: ldarg.3
L_0020: stfld System.Boolean checkSocialProperness
L_0025: ldloc.0
L_0026: ldarg.s 4
L_0028: stfld System.Boolean ignoreOtherReservations
L_002d: ldloc.0
L_002e: ldfld Verse.Pawn sleeper
L_0033: call Boolean ShouldSeekMedicalRest(Verse.Pawn)
L_0038: brfalse Label1
L_003d: ldloc.0
L_003e: ldfld Verse.Pawn sleeper
L_0043: call Boolean InBed(Verse.Pawn)
L_0048: brfalse Label2
L_004d: ldloc.0
L_004e: ldfld Verse.Pawn sleeper
L_0053: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_0058: callvirt Boolean get_Medical()
L_005d: brfalse Label3
L_0062: ldloc.0
L_0063: ldfld Verse.Pawn sleeper
L_0068: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006d: stloc.1
L_006e: ldloc.0
L_006f: ldfld Verse.Pawn sleeper
L_0074: stloc.2
L_0075: ldloc.0
L_0076: ldfld Verse.Pawn traveler
L_007b: stloc.3
L_007c: ldloc.0
L_007d: ldfld System.Boolean sleeperWillBePrisoner
L_0082: stloc.s 4 (System.Boolean)
L_0084: ldloc.0
L_0085: ldfld System.Boolean checkSocialProperness
L_008a: stloc.s 5 (System.Boolean)
L_008c: ldloc.0
L_008d: ldfld System.Boolean ignoreOtherReservations
L_0092: stloc.s 6 (System.Boolean)
L_0094: ldloc.1
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: ldloc.s 4 (System.Boolean)
L_0099: ldloc.s 5 (System.Boolean)
L_009b: ldc.i4.0
L_009c: ldloc.s 6 (System.Boolean)
L_009e: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_00a3: brfalse Label4
L_00a8: ldloc.0
L_00a9: ldfld Verse.Pawn sleeper
L_00ae: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_00b3: br Label29
L_00b8: Label2
L_00b8: Label3
L_00b8: Label4
L_00b8: ldc.i4.0
L_00b9: stloc.s 7 (System.Int32)
L_00bb: br Label5
L_00c0: Label13
L_00c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_00c5: ldloc.s 7 (System.Int32)
L_00c7: callvirt Verse.ThingDef get_Item(Int32)
L_00cc: stloc.s 8 (Verse.ThingDef)
L_00ce: ldloc.0
L_00cf: ldfld Verse.Pawn sleeper
L_00d4: ldloc.s 8 (Verse.ThingDef)
L_00d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_00db: brtrue Label6
L_00e0: br Label7
L_00e5: Label6
L_00e5: ldc.i4.0
L_00e6: stloc.s 9 (System.Int32)
L_00e8: br Label8
L_00ed: Label12
L_00ed: newobj Void .ctor()
L_00f2: stloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f4: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f6: ldloc.0
L_00f7: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_00fc: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00fe: ldloc.s 9 (System.Int32)
L_0100: brtrue Label9
L_0105: ldc.i4.1
L_0106: br Label10
L_010b: Label9
L_010b: ldc.i4.3
L_010c: Label10
L_010c: stfld Verse.Danger maxDanger
L_0111: ldloc.0
L_0112: ldfld Verse.Pawn sleeper
L_0117: callvirt IntVec3 get_Position()
L_011c: ldloc.0
L_011d: ldfld Verse.Pawn sleeper
L_0122: callvirt Verse.Map get_Map()
L_0127: ldloc.s 8 (Verse.ThingDef)
L_0129: call ThingRequest ForDef(Verse.ThingDef)
L_012e: ldc.i4.1
L_012f: ldloc.0
L_0130: ldfld Verse.Pawn traveler
L_0135: ldc.i4.3
L_0136: ldc.i4.0
L_0137: ldc.i4.0
L_0138: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_013d: ldc.r4 9999
L_0142: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_0144: ldftn Boolean <>m__0(Verse.Thing)
L_014a: newobj Void .ctor(Object, IntPtr)
L_014f: ldnull
L_0150: ldc.i4.0
L_0151: ldc.i4.m1
L_0152: ldc.i4.0
L_0153: ldc.i4.6
L_0154: ldc.i4.0
L_0155: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_015a: castclass RimWorld.Building_Bed
L_015f: stloc.s 11 (RimWorld.Building_Bed)
L_0161: ldloc.s 11 (RimWorld.Building_Bed)
L_0163: brfalse Label11
L_0168: ldloc.s 11 (RimWorld.Building_Bed)
L_016a: br Label30
L_016f: Label11
L_016f: ldloc.s 9 (System.Int32)
L_0171: ldc.i4.1
L_0172: add
L_0173: stloc.s 9 (System.Int32)
L_0175: Label8
L_0175: ldloc.s 9 (System.Int32)
L_0177: ldc.i4.2
L_0178: blt Label12
L_017d: Label7
L_017d: ldloc.s 7 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 7 (System.Int32)
L_0183: Label5
L_0183: ldloc.s 7 (System.Int32)
L_0185: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_018a: callvirt Int32 get_Count()
L_018f: blt Label13
L_0194: Label1
L_0194: ldloc.0
L_0195: ldfld Verse.Pawn sleeper
L_019a: ldfld RimWorld.Pawn_Ownership ownership
L_019f: brfalse Label14
L_01a4: ldloc.0
L_01a5: ldfld Verse.Pawn sleeper
L_01aa: ldfld RimWorld.Pawn_Ownership ownership
L_01af: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01b4: brfalse Label15
L_01b9: ldloc.0
L_01ba: ldfld Verse.Pawn sleeper
L_01bf: ldfld RimWorld.Pawn_Ownership ownership
L_01c4: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01c9: stloc.1
L_01ca: ldloc.0
L_01cb: ldfld Verse.Pawn sleeper
L_01d0: stloc.3
L_01d1: ldloc.0
L_01d2: ldfld Verse.Pawn traveler
L_01d7: stloc.2
L_01d8: ldloc.0
L_01d9: ldfld System.Boolean sleeperWillBePrisoner
L_01de: stloc.s 6 (System.Boolean)
L_01e0: ldloc.0
L_01e1: ldfld System.Boolean checkSocialProperness
L_01e6: stloc.s 5 (System.Boolean)
L_01e8: ldloc.0
L_01e9: ldfld System.Boolean ignoreOtherReservations
L_01ee: stloc.s 4 (System.Boolean)
L_01f0: ldloc.1
L_01f1: ldloc.3
L_01f2: ldloc.2
L_01f3: ldloc.s 6 (System.Boolean)
L_01f5: ldloc.s 5 (System.Boolean)
L_01f7: ldc.i4.0
L_01f8: ldloc.s 4 (System.Boolean)
L_01fa: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_01ff: brfalse Label16
L_0204: ldloc.0
L_0205: ldfld Verse.Pawn sleeper
L_020a: ldfld RimWorld.Pawn_Ownership ownership
L_020f: callvirt RimWorld.Building_Bed get_OwnedBed()
L_0214: br Label31
L_0219: Label14
L_0219: Label15
L_0219: Label16
L_0219: ldloc.0
L_021a: ldfld Verse.Pawn sleeper
L_021f: ldc.i4.0
L_0220: call RimWorld.DirectPawnRelation
ExistingMostLikedLovePartnerRel(Verse.Pawn, Boolean)
L_0225: stloc.s 12 (RimWorld.DirectPawnRelation)
L_0227: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0229: brfalse Label17
L_022e: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0230: ldfld Verse.Pawn otherPawn
L_0235: ldfld RimWorld.Pawn_Ownership ownership
L_023a: callvirt RimWorld.Building_Bed get_OwnedBed()
L_023f: stloc.s 13 (RimWorld.Building_Bed)
L_0241: ldloc.s 13 (RimWorld.Building_Bed)
L_0243: brfalse Label18
L_0248: ldloc.s 13 (RimWorld.Building_Bed)
L_024a: stloc.1
L_024b: ldloc.0
L_024c: ldfld Verse.Pawn sleeper
L_0251: stloc.2
L_0252: ldloc.0
L_0253: ldfld Verse.Pawn traveler
L_0258: stloc.3
L_0259: ldloc.0
L_025a: ldfld System.Boolean sleeperWillBePrisoner
L_025f: stloc.s 4 (System.Boolean)
L_0261: ldloc.0
L_0262: ldfld System.Boolean checkSocialProperness
L_0267: stloc.s 5 (System.Boolean)
L_0269: ldloc.0
L_026a: ldfld System.Boolean ignoreOtherReservations
L_026f: stloc.s 6 (System.Boolean)
L_0271: ldloc.1
L_0272: ldloc.2
L_0273: ldloc.3
L_0274: ldloc.s 4 (System.Boolean)
L_0276: ldloc.s 5 (System.Boolean)
L_0278: ldc.i4.0
L_0279: ldloc.s 6 (System.Boolean)
L_027b: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_0280: brfalse Label19
L_0285: ldloc.s 13 (RimWorld.Building_Bed)
L_0287: br Label32
L_028c: Label17
L_028c: Label18
L_028c: Label19
L_028c: ldc.i4.0
L_028d: stloc.s 14 (System.Int32)
L_028f: br Label20
L_0294: Label28
L_0294: newobj Void .ctor()
L_0299: stloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029b: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029d: ldloc.0
L_029e: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_02a3: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_02a5: ldloc.s 14 (System.Int32)
L_02a7: brtrue Label21
L_02ac: ldc.i4.1
L_02ad: br Label22
L_02b2: Label21
L_02b2: ldc.i4.3
L_02b3: Label22
L_02b3: stfld Verse.Danger maxDanger
L_02b8: ldc.i4.0
L_02b9: stloc.s 16 (System.Int32)
L_02bb: br Label23
L_02c0: Label27
L_02c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_02c5: ldloc.s 16 (System.Int32)
L_02c7: callvirt Verse.ThingDef get_Item(Int32)
L_02cc: stloc.s 17 (Verse.ThingDef)
L_02ce: ldloc.0
L_02cf: ldfld Verse.Pawn sleeper
L_02d4: ldloc.s 17 (Verse.ThingDef)
L_02d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_02db: brtrue Label24
L_02e0: br Label25
L_02e5: Label24
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn sleeper
L_02eb: callvirt IntVec3 get_Position()
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn sleeper
L_02f6: callvirt Verse.Map get_Map()
L_02fb: ldloc.s 17 (Verse.ThingDef)
L_02fd: call ThingRequest ForDef(Verse.ThingDef)
L_0302: ldc.i4.1
L_0303: ldloc.0
L_0304: ldfld Verse.Pawn traveler
L_0309: ldc.i4.3
L_030a: ldc.i4.0
L_030b: ldc.i4.0
L_030c: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0311: ldc.r4 9999
L_0316: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_0318: ldftn Boolean <>m__0(Verse.Thing)
L_031e: newobj Void .ctor(Object, IntPtr)
L_0323: ldnull
L_0324: ldc.i4.0
L_0325: ldc.i4.m1
L_0326: ldc.i4.0
L_0327: ldc.i4.6
L_0328: ldc.i4.0
L_0329: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_032e: castclass RimWorld.Building_Bed
L_0333: stloc.s 18 (RimWorld.Building_Bed)
L_0335: ldloc.s 18 (RimWorld.Building_Bed)
L_0337: brfalse Label26
L_033c: ldloc.s 18 (RimWorld.Building_Bed)
L_033e: br Label33
L_0343: Label25
L_0343: Label26
L_0343: ldloc.s 16 (System.Int32)
L_0345: ldc.i4.1
L_0346: add
L_0347: stloc.s 16 (System.Int32)
L_0349: Label23
L_0349: ldloc.s 16 (System.Int32)
L_034b: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_0350: callvirt Int32 get_Count()
L_0355: blt Label27
L_035a: ldloc.s 14 (System.Int32)
L_035c: ldc.i4.1
L_035d: add
L_035e: stloc.s 14 (System.Int32)
L_0360: Label20
L_0360: ldloc.s 14 (System.Int32)
L_0362: ldc.i4.2
L_0363: blt Label28
L_0368: ldnull
L_0369: Label29
L_0369: Label30
L_0369: Label31
L_0369: Label32
L_0369: Label33
L_0369: stloc 19 (RimWorld.Building_Bed)
L_036b: ldloca 19 (RimWorld.Building_Bed)
L_036d: ldarg 0
L_0373: call Void DontRescueVehicles(RimWorld.Building_Bed ByRef, Verse.Pawn)
L_0378: ldloc 19 (RimWorld.Building_Bed)
L_037a: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ret
DONE

### Patch RimWorld.BaseGen.SymbolResolver_RandomMechanoidGroup, Boolean


<Resolve>m__0(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: stloc 0 (System.Boolean)
L_0012: ldloca 0 (System.Boolean)
L_0014: ldarg 0
L_001a: call Void MechanoidsFixerAncient(Boolean ByRef, Verse.PawnKindDef)
L_001f: ldloc 0 (System.Boolean)
L_0020: ret
DONE

### Patch RimWorld.CompSpawnerMechanoidsOnDamaged, Boolean


<TrySpawnMechanoids>m__1(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: brfalse Label1
L_0016: ldarg.1
L_0017: ldfld System.Boolean isFighter
L_001c: brfalse Label2
L_0021: ldarg.1
L_0022: ldfld System.Single combatPower
L_0027: ldarg.0
L_0028: ldfld System.Single pointsLeft
L_002d: cgt.un
L_002f: ldc.i4.0
L_0030: ceq
L_0032: br Label3
L_0037: Label1
L_0037: Label2
L_0037: ldc.i4.0
L_0038: Label3
L_0038: stloc 0 (System.Boolean)
L_0039: ldloca 0 (System.Boolean)
L_003b: ldarg 1
L_0041: call Void MechanoidsFixer(Boolean ByRef, Verse.PawnKindDef)
L_0046: ldloc 0 (System.Boolean)
L_0047: ret
DONE

### Patch RimWorld.ThinkNode_ConditionalColonist, Boolean Satisfied(Verse.Pawn)


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsColonist()
L_000c: stloc 0 (System.Boolean)
L_000d: ldarg 1
L_0013: ldloca 0 (System.Boolean)
L_0015: call Void Satisfied_PostFix(Verse.Pawn, Boolean ByRef)
L_001a: ldloc 0 (System.Boolean)
L_001b: ret
DONE

### Patch RimWorld.JobGiver_Haul, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: RimWorld.JobGiver_Haul+<TryGiveJob>c__AnonStorey0
L_0000: Local var 1: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldarg 1
L_0008: ldloca 3 (Verse.AI.Job)
L_000a: call Boolean TryGiveJob_PreFix(Verse.Pawn, Verse.AI.Job ByRef)
L_000f: brfalse Label0
L_0014: newobj Void .ctor()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: ldarg.1
L_001c: stfld Verse.Pawn pawn
L_0021: ldloc.0
L_0022: ldftn Boolean <>m__0(Verse.Thing)
L_0028: newobj Void .ctor(Object, IntPtr)
L_002d: stloc.1
L_002e: ldloc.0
L_002f: ldfld Verse.Pawn pawn
L_0034: callvirt IntVec3 get_Position()
L_0039: ldloc.0
L_003a: ldfld Verse.Pawn pawn
L_003f: callvirt Verse.Map get_Map()
L_0044: ldloc.0
L_0045: ldfld Verse.Pawn pawn
L_004a: callvirt Verse.Map get_Map()
L_004f: ldfld RimWorld.ListerHaulables listerHaulables
L_0054: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsPotentiallyNeedingHauling()
L_0059: ldc.i4.1
L_005a: ldloc.0
L_005b: ldfld Verse.Pawn pawn
L_0060: ldc.i4.3
L_0061: ldc.i4.0
L_0062: ldc.i4.0
L_0063: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0068: ldc.r4 9999
L_006d: ldloc.1
L_006e: ldnull
L_006f: call Verse.Thing ClosestThing_Global_Reachable(IntVec3, Verse.Map,
IEnumerable`1, PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing],
System.Func`2[Verse.Thing,System.Single])
L_0074: stloc.2
L_0075: ldloc.2
L_0076: brfalse Label1
L_007b: ldloc.0
L_007c: ldfld Verse.Pawn pawn
L_0081: ldloc.2
L_0082: call Verse.AI.Job HaulToStorageJob(Verse.Pawn, Verse.Thing)
L_0087: br Label2
L_008c: Label1
L_008c: ldnull
L_008d: Label2
L_008d: stloc 3 (Verse.AI.Job)
L_008e: Label0
L_008e: ldloc 3 (Verse.AI.Job)
L_008f: ret
DONE

### Patch Verse.AI.JobGiver_Orders, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 0 (Verse.AI.Job)
L_0002: ldarg.1
L_0003: callvirt Boolean get_Drafted()
L_0008: brfalse Label1
L_000d: ldsfld Verse.JobDef Wait_Combat
L_0012: ldarg.1
L_0013: callvirt IntVec3 get_Position()
L_0018: call LocalTargetInfo op_Implicit(IntVec3)
L_001d: newobj Void .ctor(JobDef, LocalTargetInfo)
L_0022: br Label2
L_0027: Label1
L_0027: ldnull
L_0028: Label2
L_0028: stloc 0 (Verse.AI.Job)
L_0029: ldloca 0 (Verse.AI.Job)
L_002b: ldarg 1
L_0031: call Void PreventWaitAttackError(Verse.AI.Job ByRef, Verse.Pawn)
L_0036: ldloc 0 (Verse.AI.Job)
L_0037: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemDuties(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldc.i4.0
L_000c: stloc.0
L_000d: br Label1
L_0012: Label6
L_0012: ldarg.0
L_0013: ldfld Verse.AI.Group.Lord lord
L_0018: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_001d: ldloc.0
L_001e: callvirt Verse.Pawn get_Item(Int32)
L_0023: stloc.1
L_0024: ldloc.1
L_0025: callvirt Boolean get_IsColonist()
L_002a: brfalse Label2
L_002f: ldloc.1
L_0030: ldfld Verse.AI.Pawn_MindState mindState
L_0035: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherItems
L_003a: newobj Void .ctor(DutyDef)
L_003f: stfld Verse.AI.PawnDuty duty
L_0044: br Label3
L_0049: Label2
L_0049: ldloc.1
L_004a: callvirt Verse.RaceProperties get_RaceProps()
L_004f: callvirt Boolean get_Animal()
L_0054: brfalse Label4
L_0059: ldloc.1
L_005a: ldfld Verse.AI.Pawn_MindState mindState
L_005f: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0064: ldarg.0
L_0065: ldfld Verse.IntVec3 meetingPoint
L_006a: call LocalTargetInfo op_Implicit(IntVec3)
L_006f: ldc.r4 -1
L_0074: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_0079: stfld Verse.AI.PawnDuty duty
L_007e: br Label5
L_0083: Label4
L_0083: ldloc.1
L_0084: ldfld Verse.AI.Pawn_MindState mindState
L_0089: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_008e: newobj Void .ctor(DutyDef)
L_0093: stfld Verse.AI.PawnDuty duty
L_0098: Label3
L_0098: Label5
L_0098: ldloc.0
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.0
L_009c: Label1
L_009c: ldloc.0
L_009d: ldarg.0
L_009e: ldfld Verse.AI.Group.Lord lord
L_00a3: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_00a8: callvirt Int32 get_Count()
L_00ad: blt Label6
L_00b2: Label0
L_00b2: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherAnimals, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadAnimalDuties(RimWorld.LordToil_PrepareCaravan_GatherAnimals)
L_0006: ldc.i4.0
L_0007: stloc.0
L_0008: br Label1
L_000d: Label5
L_000d: ldarg.0
L_000e: ldfld Verse.AI.Group.Lord lord
L_0013: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0018: ldloc.0
L_0019: callvirt Verse.Pawn get_Item(Int32)
L_001e: stloc.1
L_001f: ldloc.1
L_0020: callvirt Boolean get_IsColonist()
L_0025: brtrue Label2
L_002a: ldloc.1
L_002b: callvirt Verse.RaceProperties get_RaceProps()
L_0030: callvirt Boolean get_Animal()
L_0035: brfalse Label3
L_003a: Label2
L_003a: ldloc.1
L_003b: ldfld Verse.AI.Pawn_MindState mindState
L_0040: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherPawns
L_0045: ldarg.0
L_0046: ldfld Verse.IntVec3 meetingPoint
L_004b: call LocalTargetInfo op_Implicit(IntVec3)
L_0050: ldc.r4 -1
L_0055: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_005a: stfld Verse.AI.PawnDuty duty
L_005f: ldloc.1
L_0060: ldfld Verse.AI.Pawn_MindState mindState
L_0065: ldfld Verse.AI.PawnDuty duty
L_006a: ldc.i4.1
L_006b: stfld RimWorld.PawnsToGather pawnsToGather
L_0070: br Label4
L_0075: Label3
L_0075: ldloc.1
L_0076: ldfld Verse.AI.Pawn_MindState mindState
L_007b: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0080: newobj Void .ctor(DutyDef)
L_0085: stfld Verse.AI.PawnDuty duty
L_008a: Label4
L_008a: ldloc.0
L_008b: ldc.i4.1
L_008c: add
L_008d: stloc.0
L_008e: Label1
L_008e: ldloc.0
L_008f: ldarg.0
L_0090: ldfld Verse.AI.Group.Lord lord
L_0095: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_009a: callvirt Int32 get_Count()
L_009f: blt Label5
L_00a4: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherSlaves, Void LordToilTick()


L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadSlaveDuties(RimWorld.LordToil_PrepareCaravan_GatherSlaves)
L_0006: call Verse.TickManager get_TickManager()
L_000b: callvirt Int32 get_TicksGame()
L_0010: ldc.i4.s 100
L_0012: rem
L_0013: brtrue Label1
L_0018: ldarg.0
L_0019: ldfld Verse.AI.Group.Lord lord
L_001e: ldarg.0
L_001f: ldfld Verse.IntVec3 meetingPoint
L_0024: ldstr "AllSlavesGathered"
L_0029: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_002e: brtrue Label2
L_0033: ldnull
L_0034: ldftn Boolean <LordToilTick>m__0(Verse.Pawn)
L_003a: newobj Void .ctor(Object, IntPtr)
L_003f: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0044: Label2
L_0044: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0049: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_004e: brtrue Label3
L_0053: ldnull
L_0054: ldftn Boolean IsFollowingAnyone(Verse.Pawn)
L_005a: newobj Void .ctor(Object, IntPtr)
L_005f: stsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0064: Label3
L_0064: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0069: call Void CheckArrived(Verse.AI.Group.Lord, IntVec3, System.String,
System.Predicate`1[Verse.Pawn], System.Predicate`1[Verse.Pawn])
L_006e: Label1
L_006e: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void LordToilTick()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemToil(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void LordToilTick()
L_0011: call Verse.TickManager get_TickManager()
L_0016: callvirt Int32 get_TicksGame()
L_001b: ldc.i4.s 120
L_001d: rem
L_001e: brtrue Label1
L_0023: ldc.i4.1
L_0024: stloc.0
L_0025: ldc.i4.0
L_0026: stloc.1
L_0027: br Label2
L_002c: Label6
L_002c: ldarg.0
L_002d: ldfld Verse.AI.Group.Lord lord
L_0032: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0037: ldloc.1
L_0038: callvirt Verse.Pawn get_Item(Int32)
L_003d: stloc.2
L_003e: ldloc.2
L_003f: callvirt Boolean get_IsColonist()
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldfld Verse.AI.Pawn_MindState mindState
L_004f: ldfld Verse.AI.JobTag lastJobTag
L_0054: ldc.i4.8
L_0055: beq Label4
L_005a: ldc.i4.0
L_005b: stloc.0
L_005c: br Label5
L_0061: Label3
L_0061: Label4
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label2
L_0065: ldloc.1
L_0066: ldarg.0
L_0067: ldfld Verse.AI.Group.Lord lord
L_006c: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0071: callvirt Int32 get_Count()
L_0076: blt Label6
L_007b: Label5
L_007b: ldloc.0
L_007c: brfalse Label7
L_0081: ldarg.0
L_0082: call Verse.Map get_Map()
L_0087: ldfld Verse.MapPawns mapPawns
L_008c: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_0091: stloc.3
L_0092: ldc.i4.0
L_0093: stloc.s 4 (System.Int32)
L_0095: br Label8
L_009a: Label13
L_009a: ldloc.3
L_009b: ldloc.s 4 (System.Int32)
L_009d: callvirt Verse.Pawn get_Item(Int32)
L_00a2: callvirt Verse.AI.Job get_CurJob()
L_00a7: brfalse Label9
L_00ac: ldloc.3
L_00ad: ldloc.s 4 (System.Int32)
L_00af: callvirt Verse.Pawn get_Item(Int32)
L_00b4: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b9: ldfld Verse.AI.JobDriver curDriver
L_00be: isinst RimWorld.JobDriver_PrepareCaravan_GatherItems
L_00c3: brfalse Label10
L_00c8: ldloc.3
L_00c9: ldloc.s 4 (System.Int32)
L_00cb: callvirt Verse.Pawn get_Item(Int32)
L_00d0: callvirt Verse.AI.Job get_CurJob()
L_00d5: ldfld Verse.AI.Group.Lord lord
L_00da: ldarg.0
L_00db: ldfld Verse.AI.Group.Lord lord
L_00e0: bne.un Label11
L_00e5: ldc.i4.0
L_00e6: stloc.0
L_00e7: br Label12
L_00ec: Label9
L_00ec: Label10
L_00ec: Label11
L_00ec: ldloc.s 4 (System.Int32)
L_00ee: ldc.i4.1
L_00ef: add
L_00f0: stloc.s 4 (System.Int32)
L_00f2: Label8
L_00f2: ldloc.s 4 (System.Int32)
L_00f4: ldloc.3
L_00f5: callvirt Int32 get_Count()
L_00fa: blt Label13
L_00ff: Label7
L_00ff: Label12
L_00ff: ldloc.0
L_0100: brfalse Label14
L_0105: ldarg.0
L_0106: ldfld Verse.AI.Group.Lord lord
L_010b: ldstr "AllItemsGathered"
L_0110: callvirt Void ReceiveMemo(System.String)
L_0115: Label1
L_0115: Label14
L_0115: Label0
L_0115: ret
DONE

### Patch RimWorld.Planet.Caravan_NeedsTracker, Void


TrySatisfyPawnNeeds(Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Need, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Need
L_0000: Local var 3: RimWorld.Need_Rest
L_0000: Local var 4: RimWorld.Need_Food
L_0000: Local var 5: RimWorld.Need_Chemical
L_0000: Local var 6: RimWorld.Need_Joy
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean TrySatisfyFuelNeeds(RimWorld.Planet.Caravan_NeedsTracker,
Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: callvirt Boolean get_Dead()
L_0017: brfalse Label1
L_001c: br Label11
L_0021: Label1
L_0021: ldarg.1
L_0022: ldfld RimWorld.Pawn_NeedsTracker needs
L_0027: callvirt System.Collections.Generic.List`1[RimWorld.Need] get_AllNeeds()
L_002c: stloc.0
L_002d: ldc.i4.0
L_002e: stloc.1
L_002f: br Label2
L_0034: Label10
L_0034: ldloc.0
L_0035: ldloc.1
L_0036: callvirt RimWorld.Need get_Item(Int32)
L_003b: stloc.2
L_003c: ldloc.2
L_003d: isinst RimWorld.Need_Rest
L_0042: stloc.3
L_0043: ldloc.2
L_0044: isinst RimWorld.Need_Food
L_0049: stloc.s 4 (RimWorld.Need_Food)
L_004b: ldloc.2
L_004c: isinst RimWorld.Need_Chemical
L_0051: stloc.s 5 (RimWorld.Need_Chemical)
L_0053: ldloc.2
L_0054: isinst RimWorld.Need_Joy
L_0059: stloc.s 6 (RimWorld.Need_Joy)
L_005b: ldloc.3
L_005c: brfalse Label3
L_0061: ldarg.0
L_0062: ldarg.1
L_0063: ldloc.3
L_0064: call Void TrySatisfyRestNeed(Verse.Pawn, RimWorld.Need_Rest)
L_0069: br Label4
L_006e: Label3
L_006e: ldloc.s 4 (RimWorld.Need_Food)
L_0070: brfalse Label5
L_0075: ldarg.0
L_0076: ldarg.1
L_0077: ldloc.s 4 (RimWorld.Need_Food)
L_0079: call Void TrySatisfyFoodNeed(Verse.Pawn, RimWorld.Need_Food)
L_007e: br Label6
L_0083: Label5
L_0083: ldloc.s 5 (RimWorld.Need_Chemical)
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: ldarg.1
L_008c: ldloc.s 5 (RimWorld.Need_Chemical)
L_008e: call Void TrySatisfyChemicalNeed(Verse.Pawn, RimWorld.Need_Chemical)
L_0093: br Label8
L_0098: Label7
L_0098: ldloc.s 6 (RimWorld.Need_Joy)
L_009a: brfalse Label9
L_009f: ldarg.0
L_00a0: ldarg.1
L_00a1: ldloc.s 6 (RimWorld.Need_Joy)
L_00a3: call Void TrySatisfyJoyNeed(Verse.Pawn, RimWorld.Need_Joy)
L_00a8: Label4
L_00a8: Label6
L_00a8: Label8
L_00a8: Label9
L_00a8: ldloc.1
L_00a9: ldc.i4.1
L_00aa: add
L_00ab: stloc.1
L_00ac: Label2
L_00ac: ldloc.1
L_00ad: ldloc.0
L_00ae: callvirt Int32 get_Count()
L_00b3: blt Label10
L_00b8: Label11
L_00b8: Label0
L_00b8: ret
DONE

### Patch RimWorld.JobGiver_PrepareCaravan_GatherItems, Verse.AI.Job


TryGiveJob(Verse.Pawn)
L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: Verse.AI.Job
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldloca 3 (Verse.AI.Job)
L_0004: ldarg 1
L_000a: call Boolean TryGiveItemJob_PreFix(Verse.AI.Job ByRef, Verse.Pawn)
L_000f: brfalse Label0
L_0014: ldarg.1
L_0015: ldfld Verse.Pawn_HealthTracker health
L_001a: ldfld Verse.PawnCapacitiesHandler capacities
L_001f: ldsfld Verse.PawnCapacityDef Manipulation
L_0024: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0029: brtrue Label1
L_002e: ldnull
L_002f: br Label3
L_0034: Label1
L_0034: ldarg.1
L_0035: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_003a: stloc.0
L_003b: ldarg.1
L_003c: ldloc.0
L_003d: call Verse.Thing FindThingToHaul(Verse.Pawn, Verse.AI.Group.Lord)
L_0042: stloc.1
L_0043: ldloc.1
L_0044: brtrue Label2
L_0049: ldnull
L_004a: br Label4
L_004f: Label2
L_004f: ldsfld Verse.JobDef PrepareCaravan_GatherItems
L_0054: ldloc.1
L_0055: call LocalTargetInfo op_Implicit(Verse.Thing)
L_005a: newobj Void .ctor(JobDef, LocalTargetInfo)
L_005f: stloc.2
L_0060: ldloc.2
L_0061: ldloc.0
L_0062: stfld Verse.AI.Group.Lord lord
L_0067: ldloc.2
L_0068: Label3
L_0068: Label4
L_0068: stloc 3 (Verse.AI.Job)
L_0069: Label0
L_0069: ldloc 3 (Verse.AI.Job)
L_006a: ret
DONE

### Patch RimWorld.Planet.Caravan, Void AddPawn(Verse.Pawn, Boolean)


L_0000: Local var 0: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: ldarg 2
L_000d: call Boolean AddVehiclePawnsToCaravan(RimWorld.Planet.Caravan, Verse.Pawn,
Boolean)
L_0012: brfalse Label0
L_0017: ldarg.1
L_0018: brtrue Label1
L_001d: ldstr "Tried to add a null pawn to "
L_0022: ldarg.0
L_0023: call System.String Concat(System.Object, System.Object)
L_0028: ldc.i4.0
L_0029: call Void Warning(System.String, Boolean)
L_002e: br Label11
L_0033: Label1
L_0033: ldarg.1
L_0034: callvirt Boolean get_Dead()
L_0039: brfalse Label2
L_003e: ldc.i4.5
L_003f: newarr System.Object
L_0044: dup
L_0045: ldc.i4.0
L_0046: ldstr "Tried to add "
L_004b: stelem.ref
L_004c: dup
L_004d: ldc.i4.1
L_004e: ldarg.1
L_004f: stelem.ref
L_0050: dup
L_0051: ldc.i4.2
L_0052: ldstr " to "
L_0057: stelem.ref
L_0058: dup
L_0059: ldc.i4.3
L_005a: ldarg.0
L_005b: stelem.ref
L_005c: dup
L_005d: ldc.i4.4
L_005e: ldstr ", but this pawn is dead."
L_0063: stelem.ref
L_0064: call System.String Concat(System.Object[])
L_0069: ldc.i4.0
L_006a: call Void Warning(System.String, Boolean)
L_006f: br Label12
L_0074: Label2
L_0074: ldarg.1
L_0075: ldfld Verse.Pawn_CarryTracker carryTracker
L_007a: callvirt Verse.Thing get_CarriedThing()
L_007f: isinst Verse.Pawn
L_0084: stloc.0
L_0085: ldloc.0
L_0086: brfalse Label3
L_008b: ldarg.1
L_008c: ldfld Verse.Pawn_CarryTracker carryTracker
L_0091: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_0096: ldloc.0
L_0097: callvirt Boolean Remove(Verse.Thing)
L_009c: pop
L_009d: Label3
L_009d: ldarg.1
L_009e: callvirt Boolean get_Spawned()
L_00a3: brfalse Label4
L_00a8: ldarg.1
L_00a9: ldc.i4.0
L_00aa: callvirt Void DeSpawn(DestroyMode)
L_00af: Label4
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00b5: ldarg.1
L_00b6: ldc.i4.1
L_00b7: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_00bc: brfalse Label5
L_00c1: ldarg.0
L_00c2: ldarg.1
L_00c3: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00c8: brfalse Label6
L_00cd: ldarg.1
L_00ce: ldfld RimWorld.Pawn_GuestTracker guest
L_00d3: ldarg.0
L_00d4: call RimWorld.Faction get_Faction()
L_00d9: ldnull
L_00da: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_00df: Label6
L_00df: ldloc.0
L_00e0: brfalse Label7
L_00e5: ldarg.0
L_00e6: ldloc.0
L_00e7: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00ec: brfalse Label8
L_00f1: ldloc.0
L_00f2: ldfld RimWorld.Pawn_GuestTracker guest
L_00f7: ldarg.0
L_00f8: call RimWorld.Faction get_Faction()
L_00fd: ldarg.1
L_00fe: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_0103: Label8
L_0103: ldarg.0
L_0104: ldloc.0
L_0105: ldarg.2
L_0106: call Void AddPawn(Verse.Pawn, Boolean)
L_010b: ldarg.2
L_010c: brfalse Label9
L_0111: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_0116: ldloc.0
L_0117: ldc.i4.0
L_0118: callvirt Void PassToWorld(Verse.Pawn, PawnDiscardDecideMode)
L_011d: Label7
L_011d: Label9
L_011d: br Label10
L_0122: Label5
L_0122: ldstr "Couldn't add pawn "
L_0127: ldarg.1
L_0128: ldstr " to caravan."
L_012d: call System.String Concat(System.Object, System.Object, System.Object)
L_0132: ldc.i4.0
L_0133: call Void Error(System.String, Boolean)
L_0138: Label10
L_0138: Label11
L_0138: Label12
L_0138: Label0
L_0138: ret
DONE

### Patch RimWorld.Planet.Dialog_SplitCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldarg 1
L_000d: ldloca 0 (System.Boolean)
L_000f: call Boolean
DontSplitCaravansWithVehicles(RimWorld.Planet.Dialog_SplitCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0014: brfalse Label0
L_0019: ldarg.1
L_001a: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_001f: brtrue Label1
L_0024: ldnull
L_0025: ldftn Boolean <CheckForErrors>m__4(Verse.Pawn)
L_002b: newobj Void .ctor(Object, IntPtr)
L_0030: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_0035: Label1
L_0035: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_003a: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_003f: brtrue Label2
L_0044: ldstr "CaravanMustHaveAtLeastOneColonist"
L_0049: call System.String Translate(System.String)
L_004e: ldarg.0
L_004f: ldfld RimWorld.Planet.Caravan caravan
L_0054: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_0059: ldsfld Verse.MessageTypeDef RejectInput
L_005e: ldc.i4.0
L_005f: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0064: ldc.i4.0
L_0065: br Label4
L_006a: Label2
L_006a: ldarg.0
L_006b: ldarg.1
L_006c: call Boolean
AnyNonDownedColonistLeftInSourceCaravan(System.Collections.Generic.List`1[Verse.Paw
n])
L_0071: brtrue Label3
L_0076: ldstr "SourceCaravanMustHaveAtLeastOneColonist"
L_007b: call System.String Translate(System.String)
L_0080: ldarg.0
L_0081: ldfld RimWorld.Planet.Caravan caravan
L_0086: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_008b: ldsfld Verse.MessageTypeDef RejectInput
L_0090: ldc.i4.0
L_0091: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0096: ldc.i4.0
L_0097: br Label5
L_009c: Label3
L_009c: ldc.i4.1
L_009d: Label4
L_009d: Label5
L_009d: stloc 0 (System.Boolean)
L_009e: Label0
L_009e: ldloc 0 (System.Boolean)
L_009f: ret
DONE

### Patch RimWorld.Dialog_FormCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey1
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3
L_0000: Local var 7: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Boolean)
L_0007: ldarg.0
L_0008: ldarg 1
L_000e: ldloca 7 (System.Boolean)
L_0010: call Boolean CheckForErrors_PreFix(RimWorld.Dialog_FormCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0015: brfalse Label0
L_001a: newobj Void .ctor()
L_001f: stloc.0
L_0020: ldloc.0
L_0021: ldarg.1
L_0022: stfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0027: ldarg.0
L_0028: call Boolean get_MustChooseRoute()
L_002d: brfalse Label1
L_0032: ldarg.0
L_0033: ldfld System.Int32 destinationTile
L_0038: ldc.i4.0
L_0039: bge Label2
L_003e: ldstr "MessageMustChooseRouteFirst"
L_0043: call System.String Translate(System.String)
L_0048: ldsfld Verse.MessageTypeDef RejectInput
L_004d: ldc.i4.0
L_004e: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0053: ldc.i4.0
L_0054: br Label24
L_0059: Label1
L_0059: Label2
L_0059: ldarg.0
L_005a: ldfld System.Boolean reform
L_005f: brtrue Label3
L_0064: ldarg.0
L_0065: ldfld System.Int32 startingTile
L_006a: ldc.i4.0
L_006b: bge Label4
L_0070: ldstr "MessageNoValidExitTile"
L_0075: call System.String Translate(System.String)
L_007a: ldsfld Verse.MessageTypeDef RejectInput
L_007f: ldc.i4.0
L_0080: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0085: ldc.i4.0
L_0086: br Label25
L_008b: Label3
L_008b: Label4
L_008b: ldloc.0
L_008c: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0091: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_0096: brtrue Label5
L_009b: ldnull
L_009c: ldftn Boolean <CheckForErrors>m__B(Verse.Pawn)
L_00a2: newobj Void .ctor(Object, IntPtr)
L_00a7: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00ac: Label5
L_00ac: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00b1: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_00b6: brtrue Label6
L_00bb: ldstr "CaravanMustHaveAtLeastOneColonist"
L_00c0: call System.String Translate(System.String)
L_00c5: ldsfld Verse.MessageTypeDef RejectInput
L_00ca: ldc.i4.0
L_00cb: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_00d0: ldc.i4.0
L_00d1: br Label26
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Boolean reform
L_00dc: brtrue Label7
L_00e1: ldarg.0
L_00e2: call Single get_MassUsage()
L_00e7: ldarg.0
L_00e8: call Single get_MassCapacity()
L_00ed: ble.un Label8
L_00f2: ldarg.0
L_00f3: call Void FlashMass()
L_00f8: ldstr "TooBigCaravanMassUsage"
L_00fd: call System.String Translate(System.String)
L_0102: ldsfld Verse.MessageTypeDef RejectInput
L_0107: ldc.i4.0
L_0108: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_010d: ldc.i4.0
L_010e: br Label27
L_0113: Label7
L_0113: Label8
L_0113: ldloc.0
L_0114: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0119: ldloc.0
L_011a: ldftn Boolean <>m__0(Verse.Pawn)
L_0120: newobj Void .ctor(Object, IntPtr)
L_0125: callvirt Verse.Pawn Find(System.Predicate`1[Verse.Pawn])
L_012a: stloc.1
L_012b: ldloc.1
L_012c: brfalse Label9
L_0131: ldstr "CaravanPawnIsUnreachable"
L_0136: ldc.i4.1
L_0137: newarr System.Object
L_013c: dup
L_013d: ldc.i4.0
L_013e: ldloc.1
L_013f: callvirt System.String get_LabelShort()
L_0144: stelem.ref
L_0145: call System.String Translate(System.String, System.Object[])
L_014a: call System.String CapitalizeFirst(System.String)
L_014f: ldloc.1
L_0150: call Verse.LookTargets op_Implicit(Verse.Thing)
L_0155: ldsfld Verse.MessageTypeDef RejectInput
L_015a: ldc.i4.0
L_015b: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0160: ldc.i4.0
L_0161: br Label28
L_0166: Label9
L_0166: ldc.i4.0
L_0167: stloc.2
L_0168: br Label10
L_016d: Label23
L_016d: ldarg.0
L_016e: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0173: ldloc.2
L_0174: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0179: callvirt Verse.ThingDef get_ThingDef()
L_017e: ldfld Verse.ThingCategory category
L_0183: ldc.i4.2
L_0184: beq Label11
L_0189: br Label12
L_018e: Label11
L_018e: ldarg.0
L_018f: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0194: ldloc.2
L_0195: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_019a: callvirt Int32 get_CountToTransfer()
L_019f: stloc.3
L_01a0: ldc.i4.0
L_01a1: stloc.s 4 (System.Int32)
L_01a3: ldloc.3
L_01a4: ldc.i4.0
L_01a5: ble Label13
L_01aa: ldc.i4.0
L_01ab: stloc.s 5 (System.Int32)
L_01ad: br Label14
L_01b2: Label19
L_01b2: newobj Void .ctor()
L_01b7: stloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01b9: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01bb: ldarg.0
L_01bc: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_01c1: ldloc.2
L_01c2: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_01c7: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_01cc: ldloc.s 5 (System.Int32)
L_01ce: callvirt Verse.Thing get_Item(Int32)
L_01d3: stfld Verse.Thing t
L_01d8: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01da: ldfld Verse.Thing t
L_01df: callvirt Boolean get_Spawned()
L_01e4: brfalse Label15
L_01e9: ldloc.0
L_01ea: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_01ef: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01f1: ldftn Boolean <>m__0(Verse.Pawn)
L_01f7: newobj Void .ctor(Object, IntPtr)
L_01fc: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_0201: brfalse Label16
L_0206: Label15
L_0206: ldloc.s 4 (System.Int32)
L_0208: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_020a: ldfld Verse.Thing t
L_020f: ldfld System.Int32 stackCount
L_0214: add
L_0215: stloc.s 4 (System.Int32)
L_0217: ldloc.s 4 (System.Int32)
L_0219: ldloc.3
L_021a: blt Label17
L_021f: br Label18
L_0224: Label16
L_0224: Label17
L_0224: ldloc.s 5 (System.Int32)
L_0226: ldc.i4.1
L_0227: add
L_0228: stloc.s 5 (System.Int32)
L_022a: Label14
L_022a: ldloc.s 5 (System.Int32)
L_022c: ldarg.0
L_022d: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0232: ldloc.2
L_0233: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0238: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_023d: callvirt Int32 get_Count()
L_0242: blt Label19
L_0247: Label18
L_0247: ldloc.s 4 (System.Int32)
L_0249: ldloc.3
L_024a: bge Label20
L_024f: ldloc.3
L_0250: ldc.i4.1
L_0251: bne.un Label21
L_0256: ldstr "CaravanItemIsUnreachableSingle"
L_025b: ldc.i4.1
L_025c: newarr System.Object
L_0261: dup
L_0262: ldc.i4.0
L_0263: ldarg.0
L_0264: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0269: ldloc.2
L_026a: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_026f: callvirt Verse.ThingDef get_ThingDef()
L_0274: ldfld System.String label
L_0279: stelem.ref
L_027a: call System.String Translate(System.String, System.Object[])
L_027f: ldsfld Verse.MessageTypeDef RejectInput
L_0284: ldc.i4.0
L_0285: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_028a: br Label22
L_028f: Label21
L_028f: ldstr "CaravanItemIsUnreachableMulti"
L_0294: ldc.i4.2
L_0295: newarr System.Object
L_029a: dup
L_029b: ldc.i4.0
L_029c: ldloc.3
L_029d: box System.Int32
L_02a2: stelem.ref
L_02a3: dup
L_02a4: ldc.i4.1
L_02a5: ldarg.0
L_02a6: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02ab: ldloc.2
L_02ac: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_02b1: callvirt Verse.ThingDef get_ThingDef()
L_02b6: ldfld System.String label
L_02bb: stelem.ref
L_02bc: call System.String Translate(System.String, System.Object[])
L_02c1: ldsfld Verse.MessageTypeDef RejectInput
L_02c6: ldc.i4.0
L_02c7: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_02cc: Label22
L_02cc: ldc.i4.0
L_02cd: br Label29
L_02d2: Label12
L_02d2: Label13
L_02d2: Label20
L_02d2: ldloc.2
L_02d3: ldc.i4.1
L_02d4: add
L_02d5: stloc.2
L_02d6: Label10
L_02d6: ldloc.2
L_02d7: ldarg.0
L_02d8: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02dd: callvirt Int32 get_Count()
L_02e2: blt Label23
L_02e7: ldc.i4.1
L_02e8: Label24
L_02e8: Label25
L_02e8: Label26
L_02e8: Label27
L_02e8: Label28
L_02e8: Label29
L_02e8: stloc 7 (System.Boolean)
L_02ea: Label0
L_02ea: ldloc 7 (System.Boolean)
L_02ec: ret
DONE
### Patch RimWorld.Planet.CaravanUIUtility, Void
AddPawnsSections(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[RimWorld.TransferableOneWay, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.1
L_0001: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0006: brtrue Label1
L_000b: ldnull
L_000c: ldftn Boolean <AddPawnsSections>m__1(RimWorld.TransferableOneWay)
L_0012: newobj Void .ctor(Object, IntPtr)
L_0017: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_001c: Label1
L_001c: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0021: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0026: stloc.0
L_0027: ldarg.0
L_0028: ldstr "ColonistsSection"
L_002d: call System.String Translate(System.String)
L_0032: ldloc.0
L_0033: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0038: brtrue Label2
L_003d: ldnull
L_003e: ldftn Boolean <AddPawnsSections>m__2(RimWorld.TransferableOneWay)
L_0044: newobj Void .ctor(Object, IntPtr)
L_0049: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_004e: Label2
L_004e: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0053: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0058: callvirt Void AddSection(System.String, IEnumerable`1)
L_005d: ldarg.0
L_005e: ldstr "PrisonersSection"
L_0063: call System.String Translate(System.String)
L_0068: ldloc.0
L_0069: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_006e: brtrue Label3
L_0073: ldnull
L_0074: ldftn Boolean <AddPawnsSections>m__3(RimWorld.TransferableOneWay)
L_007a: newobj Void .ctor(Object, IntPtr)
L_007f: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0084: Label3
L_0084: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0089: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_008e: callvirt Void AddSection(System.String, IEnumerable`1)
L_0093: ldarg.0
L_0094: ldstr "CaptureSection"
L_0099: call System.String Translate(System.String)
L_009e: ldloc.0
L_009f: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00a4: brtrue Label4
L_00a9: ldnull
L_00aa: ldftn Boolean <AddPawnsSections>m__4(RimWorld.TransferableOneWay)
L_00b0: newobj Void .ctor(Object, IntPtr)
L_00b5: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00ba: Label4
L_00ba: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00bf: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00c4: callvirt Void AddSection(System.String, IEnumerable`1)
L_00c9: ldarg.0
L_00ca: ldstr "AnimalsSection"
L_00cf: call System.String Translate(System.String)
L_00d4: ldloc.0
L_00d5: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00da: brtrue Label5
L_00df: ldnull
L_00e0: ldftn Boolean <AddPawnsSections>m__5(RimWorld.TransferableOneWay)
L_00e6: newobj Void .ctor(Object, IntPtr)
L_00eb: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f0: Label5
L_00f0: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f5: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00fa: callvirt Void AddSection(System.String, IEnumerable`1)
L_00ff: ldarg 0
L_0105: ldarg 1
L_010b: call Void AddPawnsSections_PostFix(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0110: ret
DONE

### Patch RimWorld.Planet.CaravanExitMapUtility, Boolean


CanExitMapAndJoinOrCreateCaravanNow(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Boolean get_Spawned()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label5
L_0017: Label1
L_0017: ldarg.0
L_0018: callvirt Verse.Map get_Map()
L_001d: ldfld Verse.ExitMapGrid exitMapGrid
L_0022: callvirt Boolean get_MapUsesExitGrid()
L_0027: brtrue Label2
L_002c: ldc.i4.0
L_002d: br Label6
L_0032: Label2
L_0032: ldarg.0
L_0033: callvirt Boolean get_IsColonist()
L_0038: brtrue Label3
L_003d: ldarg.0
L_003e: call RimWorld.Planet.Caravan FindCaravanToJoinFor(Verse.Pawn)
L_0043: ldnull
L_0044: ceq
L_0046: ldc.i4.0
L_0047: ceq
L_0049: br Label4
L_004e: Label3
L_004e: ldc.i4.1
L_004f: Label4
L_004f: Label5
L_004f: Label6
L_004f: stloc 0 (System.Boolean)
L_0050: ldarg 0
L_0056: ldloca 0 (System.Boolean)
L_0058: call Void CanExit_PostFix(Verse.Pawn, Boolean ByRef)
L_005d: ldloc 0 (System.Boolean)
L_005e: ret
DONE

### Patch RimWorld.MassUtility, Single Capacity(Verse.Pawn,


System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Single
L_0000: ldc.r4 0
L_0005: stloc 1 (System.Single)
L_0006: ldarg.0
L_0007: call Boolean CanEverCarryAnything(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldc.r4 0
L_0016: br Label4
L_001b: Label1
L_001b: ldarg.0
L_001c: callvirt Single get_BodySize()
L_0021: ldc.r4 35
L_0026: mul
L_0027: stloc.0
L_0028: ldarg.1
L_0029: brfalse Label2
L_002e: ldarg.1
L_002f: callvirt Int32 get_Length()
L_0034: ldc.i4.0
L_0035: ble Label3
L_003a: ldarg.1
L_003b: callvirt System.Text.StringBuilder AppendLine()
L_0040: pop
L_0041: Label3
L_0041: ldarg.1
L_0042: ldstr " - "
L_0047: ldarg.0
L_0048: callvirt System.String get_LabelShortCap()
L_004d: ldstr ": "
L_0052: ldloc.0
L_0053: call System.String ToStringMassOffset(Single)
L_0058: call System.String Concat(System.String, System.String, System.String,
System.String)
L_005d: callvirt System.Text.StringBuilder Append(System.String)
L_0062: pop
L_0063: Label2
L_0063: ldloc.0
L_0064: Label4
L_0064: stloc 1 (System.Single)
L_0065: ldloca 1 (System.Single)
L_0067: ldarg 0
L_006d: call Void Capacity_PostFix(Single ByRef, Verse.Pawn)
L_0072: ldloc 1 (System.Single)
L_0073: ret
DONE

### Patch RimWorld.Planet.CaravanTicksPerMoveUtility, Int32


GetTicksPerMove(System.Collections.Generic.List`1[Verse.Pawn], Single, Single,
System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Single
L_0000: Local var 3: System.Single
L_0000: Local var 4: System.Single
L_0000: Local var 5: System.Single
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Single
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldarg.0
L_0008: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn])
L_000d: brfalse Label1
L_0012: ldarg.3
L_0013: brfalse Label2
L_0018: ldarg.3
L_0019: ldstr "CaravanMovementSpeedFull"
L_001e: call System.String Translate(System.String)
L_0023: ldstr ":"
L_0028: call System.String Concat(System.String, System.String)
L_002d: callvirt System.Text.StringBuilder Append(System.String)
L_0032: pop
L_0033: Label2
L_0033: ldc.r4 0
L_0038: stloc.0
L_0039: ldc.i4.0
L_003a: stloc.1
L_003b: br Label3
L_0040: Label11
L_0040: ldarg.0
L_0041: ldloc.1
L_0042: callvirt Verse.Pawn get_Item(Int32)
L_0047: callvirt Boolean get_Downed()
L_004c: brtrue Label4
L_0051: ldarg.0
L_0052: ldloc.1
L_0053: callvirt Verse.Pawn get_Item(Int32)
L_0058: call Boolean CarriedByCaravan(Verse.Pawn)
L_005d: brfalse Label5
L_0062: Label4
L_0062: ldc.i4 450
L_0067: br Label6
L_006c: Label5
L_006c: ldarg.0
L_006d: ldloc.1
L_006e: callvirt Verse.Pawn get_Item(Int32)
L_0073: callvirt Int32 get_TicksPerMoveCardinal()
L_0078: Label6
L_0078: conv.r4
L_0079: stloc.2
L_007a: ldloc.2
L_007b: ldc.r4 150
L_0080: call Single Min(Single, Single)
L_0085: ldc.r4 340
L_008a: mul
L_008b: stloc.2
L_008c: ldc.r4 60000
L_0091: ldloc.2
L_0092: conv.r4
L_0093: div
L_0094: stloc.3
L_0095: ldarg.3
L_0096: brfalse Label7
L_009b: ldarg.3
L_009c: callvirt System.Text.StringBuilder AppendLine()
L_00a1: pop
L_00a2: ldarg.3
L_00a3: ldc.i4.6
L_00a4: newarr System.String
L_00a9: dup
L_00aa: ldc.i4.0
L_00ab: ldstr " - "
L_00b0: stelem.ref
L_00b1: dup
L_00b2: ldc.i4.1
L_00b3: ldarg.0
L_00b4: ldloc.1
L_00b5: callvirt Verse.Pawn get_Item(Int32)
L_00ba: callvirt System.String get_LabelShortCap()
L_00bf: stelem.ref
L_00c0: dup
L_00c1: ldc.i4.2
L_00c2: ldstr ": "
L_00c7: stelem.ref
L_00c8: dup
L_00c9: ldc.i4.3
L_00ca: ldloca.s 3 (System.Single)
L_00cc: ldstr "0.#"
L_00d1: call System.String ToString(System.String)
L_00d6: stelem.ref
L_00d7: dup
L_00d8: ldc.i4.4
L_00d9: ldstr " "
L_00de: stelem.ref
L_00df: dup
L_00e0: ldc.i4.5
L_00e1: ldstr "TilesPerDay"
L_00e6: call System.String Translate(System.String)
L_00eb: stelem.ref
L_00ec: call System.String Concat(System.String[])
L_00f1: callvirt System.Text.StringBuilder Append(System.String)
L_00f6: pop
L_00f7: ldarg.0
L_00f8: ldloc.1
L_00f9: callvirt Verse.Pawn get_Item(Int32)
L_00fe: callvirt Boolean get_Downed()
L_0103: brfalse Label8
L_0108: ldarg.3
L_0109: ldstr " ("
L_010e: ldstr "DownedLower"
L_0113: call System.String Translate(System.String)
L_0118: ldstr ")"
L_011d: call System.String Concat(System.String, System.String, System.String)
L_0122: callvirt System.Text.StringBuilder Append(System.String)
L_0127: pop
L_0128: br Label9
L_012d: Label8
L_012d: ldarg.0
L_012e: ldloc.1
L_012f: callvirt Verse.Pawn get_Item(Int32)
L_0134: call Boolean CarriedByCaravan(Verse.Pawn)
L_0139: brfalse Label10
L_013e: ldarg.3
L_013f: ldstr " ("
L_0144: ldstr "Carried"
L_0149: call System.String Translate(System.String)
L_014e: ldstr ")"
L_0153: call System.String Concat(System.String, System.String, System.String)
L_0158: callvirt System.Text.StringBuilder Append(System.String)
L_015d: pop
L_015e: Label7
L_015e: Label9
L_015e: Label10
L_015e: ldloc.0
L_015f: ldloc.2
L_0160: ldarg.0
L_0161: callvirt Int32 get_Count()
L_0166: conv.r4
L_0167: div
L_0168: add
L_0169: stloc.0
L_016a: ldloc.1
L_016b: ldc.i4.1
L_016c: add
L_016d: stloc.1
L_016e: Label3
L_016e: ldloc.1
L_016f: ldarg.0
L_0170: callvirt Int32 get_Count()
L_0175: blt Label11
L_017a: ldarg.1
L_017b: ldarg.2
L_017c: call Single GetMoveSpeedFactorFromMass(Single, Single)
L_0181: stloc.s 4 (System.Single)
L_0183: ldarg.3
L_0184: brfalse Label12
L_0189: ldc.r4 60000
L_018e: ldloc.0
L_018f: conv.r4
L_0190: div
L_0191: stloc.s 5 (System.Single)
L_0193: ldarg.3
L_0194: callvirt System.Text.StringBuilder AppendLine()
L_0199: pop
L_019a: ldarg.3
L_019b: ldc.i4.6
L_019c: newarr System.String
L_01a1: dup
L_01a2: ldc.i4.0
L_01a3: ldstr " "
L_01a8: stelem.ref
L_01a9: dup
L_01aa: ldc.i4.1
L_01ab: ldstr "Average"
L_01b0: call System.String Translate(System.String)
L_01b5: stelem.ref
L_01b6: dup
L_01b7: ldc.i4.2
L_01b8: ldstr ": "
L_01bd: stelem.ref
L_01be: dup
L_01bf: ldc.i4.3
L_01c0: ldloca.s 5 (System.Single)
L_01c2: ldstr "0.#"
L_01c7: call System.String ToString(System.String)
L_01cc: stelem.ref
L_01cd: dup
L_01ce: ldc.i4.4
L_01cf: ldstr " "
L_01d4: stelem.ref
L_01d5: dup
L_01d6: ldc.i4.5
L_01d7: ldstr "TilesPerDay"
L_01dc: call System.String Translate(System.String)
L_01e1: stelem.ref
L_01e2: call System.String Concat(System.String[])
L_01e7: callvirt System.Text.StringBuilder Append(System.String)
L_01ec: pop
L_01ed: ldarg.3
L_01ee: callvirt System.Text.StringBuilder AppendLine()
L_01f3: pop
L_01f4: ldarg.3
L_01f5: ldstr " "
L_01fa: ldstr "MultiplierForCarriedMass"
L_01ff: ldc.i4.1
L_0200: newarr System.Object
L_0205: dup
L_0206: ldc.i4.0
L_0207: ldloc.s 4 (System.Single)
L_0209: call System.String ToStringPercent(Single)
L_020e: stelem.ref
L_020f: call System.String Translate(System.String, System.Object[])
L_0214: call System.String Concat(System.String, System.String)
L_0219: callvirt System.Text.StringBuilder Append(System.String)
L_021e: pop
L_021f: Label12
L_021f: ldloc.0
L_0220: ldloc.s 4 (System.Single)
L_0222: div
L_0223: call Int32 RoundToInt(Single)
L_0228: ldc.i4.1
L_0229: call Int32 Max(Int32, Int32)
L_022e: stloc.s 6 (System.Int32)
L_0230: ldarg.3
L_0231: brfalse Label13
L_0236: ldc.r4 60000
L_023b: ldloc.s 6 (System.Int32)
L_023d: conv.r4
L_023e: div
L_023f: stloc.s 7 (System.Single)
L_0241: ldarg.3
L_0242: callvirt System.Text.StringBuilder AppendLine()
L_0247: pop
L_0248: ldarg.3
L_0249: ldc.i4.6
L_024a: newarr System.String
L_024f: dup
L_0250: ldc.i4.0
L_0251: ldstr " "
L_0256: stelem.ref
L_0257: dup
L_0258: ldc.i4.1
L_0259: ldstr "FinalCaravanPawnsMovementSpeed"
L_025e: call System.String Translate(System.String)
L_0263: stelem.ref
L_0264: dup
L_0265: ldc.i4.2
L_0266: ldstr ": "
L_026b: stelem.ref
L_026c: dup
L_026d: ldc.i4.3
L_026e: ldloca.s 7 (System.Single)
L_0270: ldstr "0.#"
L_0275: call System.String ToString(System.String)
L_027a: stelem.ref
L_027b: dup
L_027c: ldc.i4.4
L_027d: ldstr " "
L_0282: stelem.ref
L_0283: dup
L_0284: ldc.i4.5
L_0285: ldstr "TilesPerDay"
L_028a: call System.String Translate(System.String)
L_028f: stelem.ref
L_0290: call System.String Concat(System.String[])
L_0295: callvirt System.Text.StringBuilder Append(System.String)
L_029a: pop
L_029b: Label13
L_029b: ldloc.s 6 (System.Int32)
L_029d: br Label15
L_02a2: Label1
L_02a2: ldarg.3
L_02a3: brfalse Label14
L_02a8: ldarg.3
L_02a9: call Void AppendUsingDefaultTicksPerMoveInfo(System.Text.StringBuilder)
L_02ae: Label14
L_02ae: ldc.i4 3300
L_02b3: Label15
L_02b3: stloc 8 (System.Int32)
L_02b5: ldarg 0
L_02bb: ldloca 8 (System.Int32)
L_02bd: call Void
GetTicksPerMove_PostFix(System.Collections.Generic.List`1[Verse.Pawn], Int32 ByRef)
L_02c2: ldloc 8 (System.Int32)
L_02c4: ret
DONE

### Patch RimWorld.Planet.CaravanEnterMapUtility, Void


Enter(RimWorld.Planet.Caravan, Verse.Map, System.Func`2[Verse.Pawn,Verse.IntVec3],
CaravanDropInventoryMode, Boolean)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: call Void Enter_PreFix(RimWorld.Planet.Caravan)
L_000b: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0010: callvirt Void Clear()
L_0015: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_001a: ldarg.0
L_001b: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_0020: callvirt Void AddRange(IEnumerable`1)
L_0025: ldc.i4.0
L_0026: stloc.0
L_0027: br Label1
L_002c: Label2
L_002c: ldarg.2
L_002d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0032: ldloc.0
L_0033: callvirt Verse.Pawn get_Item(Int32)
L_0038: callvirt IntVec3 Invoke(Verse.Pawn)
L_003d: stloc.1
L_003e: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0043: ldloc.0
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: ldloc.1
L_004a: ldarg.1
L_004b: call Rot4 get_Random()
L_0050: ldc.i4.0
L_0051: ldc.i4.0
L_0052: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0057: pop
L_0058: ldloc.0
L_0059: ldc.i4.1
L_005a: add
L_005b: stloc.0
L_005c: Label1
L_005c: ldloc.0
L_005d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0062: callvirt Int32 get_Count()
L_0067: blt Label2
L_006c: ldarg.3
L_006d: ldc.i4.1
L_006e: bne.un Label3
L_0073: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0078: call Void DropAllInventory(System.Collections.Generic.List`1[Verse.Pawn])
L_007d: br Label4
L_0082: Label3
L_0082: ldarg.3
L_0083: ldc.i4.2
L_0084: bne.un Label5
L_0089: ldc.i4.0
L_008a: stloc.2
L_008b: br Label6
L_0090: Label7
L_0090: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0095: ldloc.2
L_0096: callvirt Verse.Pawn get_Item(Int32)
L_009b: ldfld Verse.Pawn_InventoryTracker inventory
L_00a0: ldc.i4.1
L_00a1: callvirt Void set_UnloadEverything(Boolean)
L_00a6: ldloc.2
L_00a7: ldc.i4.1
L_00a8: add
L_00a9: stloc.2
L_00aa: Label6
L_00aa: ldloc.2
L_00ab: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00b0: callvirt Int32 get_Count()
L_00b5: blt Label7
L_00ba: Label4
L_00ba: Label5
L_00ba: ldarg.s 4
L_00bc: brfalse Label8
L_00c1: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00c6: call Void DraftColonists(System.Collections.Generic.List`1[Verse.Pawn])
L_00cb: Label8
L_00cb: ldarg.1
L_00cc: callvirt Boolean get_IsPlayerHome()
L_00d1: brfalse Label9
L_00d6: ldc.i4.0
L_00d7: stloc.3
L_00d8: br Label10
L_00dd: Label12
L_00dd: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00e2: ldloc.3
L_00e3: callvirt Verse.Pawn get_Item(Int32)
L_00e8: callvirt Boolean get_IsPrisoner()
L_00ed: brfalse Label11
L_00f2: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00f7: ldloc.3
L_00f8: callvirt Verse.Pawn get_Item(Int32)
L_00fd: ldfld RimWorld.Pawn_GuestTracker guest
L_0102: callvirt Void WaitInsteadOfEscapingForDefaultTicks()
L_0107: Label11
L_0107: ldloc.3
L_0108: ldc.i4.1
L_0109: add
L_010a: stloc.3
L_010b: Label10
L_010b: ldloc.3
L_010c: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0111: callvirt Int32 get_Count()
L_0116: blt Label12
L_011b: Label9
L_011b: ldarg.0
L_011c: callvirt Void RemoveAllPawns()
L_0121: ldarg.0
L_0122: callvirt Boolean get_Spawned()
L_0127: brfalse Label13
L_012c: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_0131: ldarg.0
L_0132: callvirt Void Remove(RimWorld.Planet.WorldObject)
L_0137: Label13
L_0137: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_013c: callvirt Void Clear()
L_0141: ret
DONE

### Patch RimWorld.Planet.Caravan, System.String GetInspectString()


L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Int32
L_0000: Local var 7: RimWorld.Planet.SettlementBase
L_0000: Local var 8: System.Single
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Int32
L_0000: Local var 11: System.String
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: ldnull
L_0001: stloc 13 (System.String)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: call System.String GetInspectString()
L_0010: callvirt System.Text.StringBuilder Append(System.String)
L_0015: pop
L_0016: ldloc.0
L_0017: callvirt Int32 get_Length()
L_001c: brfalse Label1
L_0021: ldloc.0
L_0022: callvirt System.Text.StringBuilder AppendLine()
L_0027: pop
L_0028: Label1
L_0028: ldc.i4.0
L_0029: stloc.1
L_002a: ldc.i4.0
L_002b: stloc.2
L_002c: ldc.i4.0
L_002d: stloc.3
L_002e: ldc.i4.0
L_002f: stloc.s 4 (System.Int32)
L_0031: ldc.i4.0
L_0032: stloc.s 5 (System.Int32)
L_0034: ldc.i4.0
L_0035: stloc.s 6 (System.Int32)
L_0037: br Label2
L_003c: Label10
L_003c: ldarg.0
L_003d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0042: ldloc.s 6 (System.Int32)
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: callvirt Boolean get_IsColonist()
L_004e: brfalse Label3
L_0053: ldloc.1
L_0054: ldc.i4.1
L_0055: add
L_0056: stloc.1
L_0057: br Label4
L_005c: Label3
L_005c: ldarg.0
L_005d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0062: ldloc.s 6 (System.Int32)
L_0064: callvirt Verse.Pawn get_Item(Int32)
L_0069: callvirt Verse.RaceProperties get_RaceProps()
L_006e: callvirt Boolean get_Animal()
L_0073: brfalse Label5
L_0078: ldloc.2
L_0079: ldc.i4.1
L_007a: add
L_007b: stloc.2
L_007c: br Label6
L_0081: Label5
L_0081: ldarg.0
L_0082: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0087: ldloc.s 6 (System.Int32)
L_0089: callvirt Verse.Pawn get_Item(Int32)
L_008e: callvirt Boolean get_IsPrisoner()
L_0093: brfalse Label7
L_0098: ldloc.3
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.3
L_009c: Label4
L_009c: Label6
L_009c: Label7
L_009c: ldarg.0
L_009d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00a2: ldloc.s 6 (System.Int32)
L_00a4: callvirt Verse.Pawn get_Item(Int32)
L_00a9: callvirt Boolean get_Downed()
L_00ae: brfalse Label8
L_00b3: ldloc.s 4 (System.Int32)
L_00b5: ldc.i4.1
L_00b6: add
L_00b7: stloc.s 4 (System.Int32)
L_00b9: Label8
L_00b9: ldarg.0
L_00ba: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00bf: ldloc.s 6 (System.Int32)
L_00c1: callvirt Verse.Pawn get_Item(Int32)
L_00c6: callvirt Boolean get_InMentalState()
L_00cb: brfalse Label9
L_00d0: ldloc.s 5 (System.Int32)
L_00d2: ldc.i4.1
L_00d3: add
L_00d4: stloc.s 5 (System.Int32)
L_00d6: Label9
L_00d6: ldloc.s 6 (System.Int32)
L_00d8: ldc.i4.1
L_00d9: add
L_00da: stloc.s 6 (System.Int32)
L_00dc: Label2
L_00dc: ldloc.s 6 (System.Int32)
L_00de: ldarg.0
L_00df: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00e4: callvirt Int32 get_Count()
L_00e9: blt Label10
L_00ee: ldloc.0
L_00ef: ldstr "CaravanColonistsCount"
L_00f4: ldc.i4.2
L_00f5: newarr System.Object
L_00fa: dup
L_00fb: ldc.i4.0
L_00fc: ldloc.1
L_00fd: box System.Int32
L_0102: stelem.ref
L_0103: dup
L_0104: ldc.i4.1
L_0105: ldloc.1
L_0106: ldc.i4.1
L_0107: bne.un Label11
L_010c: call RimWorld.Faction get_OfPlayer()
L_0111: ldfld RimWorld.FactionDef def
L_0116: ldfld System.String pawnSingular
L_011b: br Label12
L_0120: Label11
L_0120: call RimWorld.Faction get_OfPlayer()
L_0125: ldfld RimWorld.FactionDef def
L_012a: ldfld System.String pawnsPlural
L_012f: Label12
L_012f: stelem.ref
L_0130: call System.String Translate(System.String, System.Object[])
L_0135: callvirt System.Text.StringBuilder Append(System.String)
L_013a: pop
L_013b: ldloc.2
L_013c: ldc.i4.1
L_013d: bne.un Label13
L_0142: ldloc.0
L_0143: ldstr ", "
L_0148: ldstr "CaravanAnimal"
L_014d: call System.String Translate(System.String)
L_0152: call System.String Concat(System.String, System.String)
L_0157: callvirt System.Text.StringBuilder Append(System.String)
L_015c: pop
L_015d: br Label14
L_0162: Label13
L_0162: ldloc.2
L_0163: ldc.i4.1
L_0164: ble Label15
L_0169: ldloc.0
L_016a: ldstr ", "
L_016f: ldstr "CaravanAnimalsCount"
L_0174: ldc.i4.1
L_0175: newarr System.Object
L_017a: dup
L_017b: ldc.i4.0
L_017c: ldloc.2
L_017d: box System.Int32
L_0182: stelem.ref
L_0183: call System.String Translate(System.String, System.Object[])
L_0188: call System.String Concat(System.String, System.String)
L_018d: callvirt System.Text.StringBuilder Append(System.String)
L_0192: pop
L_0193: Label14
L_0193: Label15
L_0193: ldloc.3
L_0194: ldc.i4.1
L_0195: bne.un Label16
L_019a: ldloc.0
L_019b: ldstr ", "
L_01a0: ldstr "CaravanPrisoner"
L_01a5: call System.String Translate(System.String)
L_01aa: call System.String Concat(System.String, System.String)
L_01af: callvirt System.Text.StringBuilder Append(System.String)
L_01b4: pop
L_01b5: br Label17
L_01ba: Label16
L_01ba: ldloc.3
L_01bb: ldc.i4.1
L_01bc: ble Label18
L_01c1: ldloc.0
L_01c2: ldstr ", "
L_01c7: ldstr "CaravanPrisonersCount"
L_01cc: ldc.i4.1
L_01cd: newarr System.Object
L_01d2: dup
L_01d3: ldc.i4.0
L_01d4: ldloc.3
L_01d5: box System.Int32
L_01da: stelem.ref
L_01db: call System.String Translate(System.String, System.Object[])
L_01e0: call System.String Concat(System.String, System.String)
L_01e5: callvirt System.Text.StringBuilder Append(System.String)
L_01ea: pop
L_01eb: Label17
L_01eb: Label18
L_01eb: ldloc.0
L_01ec: callvirt System.Text.StringBuilder AppendLine()
L_01f1: pop
L_01f2: ldloc.s 5 (System.Int32)
L_01f4: ldc.i4.0
L_01f5: ble Label19
L_01fa: ldloc.0
L_01fb: ldstr "CaravanPawnsInMentalState"
L_0200: ldc.i4.1
L_0201: newarr System.Object
L_0206: dup
L_0207: ldc.i4.0
L_0208: ldloc.s 5 (System.Int32)
L_020a: box System.Int32
L_020f: stelem.ref
L_0210: call System.String Translate(System.String, System.Object[])
L_0215: callvirt System.Text.StringBuilder Append(System.String)
L_021a: pop
L_021b: Label19
L_021b: ldloc.s 4 (System.Int32)
L_021d: ldc.i4.0
L_021e: ble Label20
L_0223: ldloc.s 5 (System.Int32)
L_0225: ldc.i4.0
L_0226: ble Label21
L_022b: ldloc.0
L_022c: ldstr ", "
L_0231: callvirt System.Text.StringBuilder Append(System.String)
L_0236: pop
L_0237: Label21
L_0237: ldloc.0
L_0238: ldstr "CaravanPawnsDowned"
L_023d: ldc.i4.1
L_023e: newarr System.Object
L_0243: dup
L_0244: ldc.i4.0
L_0245: ldloc.s 4 (System.Int32)
L_0247: box System.Int32
L_024c: stelem.ref
L_024d: call System.String Translate(System.String, System.Object[])
L_0252: callvirt System.Text.StringBuilder Append(System.String)
L_0257: pop
L_0258: Label20
L_0258: ldloc.s 5 (System.Int32)
L_025a: ldc.i4.0
L_025b: bgt Label22
L_0260: ldloc.s 4 (System.Int32)
L_0262: ldc.i4.0
L_0263: ble Label23
L_0268: Label22
L_0268: ldloc.0
L_0269: callvirt System.Text.StringBuilder AppendLine()
L_026e: pop
L_026f: Label23
L_026f: ldarg.0
L_0270: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0275: callvirt Boolean get_Moving()
L_027a: brfalse Label24
L_027f: ldarg.0
L_0280: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0285: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_028a: brfalse Label25
L_028f: ldloc.0
L_0290: ldarg.0
L_0291: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0296: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_029b: callvirt System.String get_ReportString()
L_02a0: callvirt System.Text.StringBuilder Append(System.String)
L_02a5: pop
L_02a6: br Label26
L_02ab: Label25
L_02ab: ldloc.0
L_02ac: ldstr "CaravanTraveling"
L_02b1: call System.String Translate(System.String)
L_02b6: callvirt System.Text.StringBuilder Append(System.String)
L_02bb: pop
L_02bc: Label26
L_02bc: br Label27
L_02c1: Label24
L_02c1: ldarg.0
L_02c2: call RimWorld.Planet.SettlementBase
SettlementVisitedNow(RimWorld.Planet.Caravan)
L_02c7: stloc.s 7 (RimWorld.Planet.SettlementBase)
L_02c9: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02cb: brfalse Label28
L_02d0: ldloc.0
L_02d1: ldstr "CaravanVisiting"
L_02d6: ldc.i4.1
L_02d7: newarr System.Object
L_02dc: dup
L_02dd: ldc.i4.0
L_02de: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02e0: callvirt System.String get_Label()
L_02e5: stelem.ref
L_02e6: call System.String Translate(System.String, System.Object[])
L_02eb: callvirt System.Text.StringBuilder Append(System.String)
L_02f0: pop
L_02f1: br Label29
L_02f6: Label28
L_02f6: ldloc.0
L_02f7: ldstr "CaravanWaiting"
L_02fc: call System.String Translate(System.String)
L_0301: callvirt System.Text.StringBuilder Append(System.String)
L_0306: pop
L_0307: Label27
L_0307: Label29
L_0307: ldarg.0
L_0308: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_030d: callvirt Boolean get_Moving()
L_0312: brfalse Label30
L_0317: ldarg.0
L_0318: ldc.i4.1
L_0319: call Int32 EstimatedTicksToArrive(RimWorld.Planet.Caravan, Boolean)
L_031e: conv.r4
L_031f: ldc.r4 60000
L_0324: div
L_0325: stloc.s 8 (System.Single)
L_0327: ldloc.0
L_0328: callvirt System.Text.StringBuilder AppendLine()
L_032d: pop
L_032e: ldloc.0
L_032f: ldstr "CaravanEstimatedTimeToDestination"
L_0334: ldc.i4.1
L_0335: newarr System.Object
L_033a: dup
L_033b: ldc.i4.0
L_033c: ldloca.s 8 (System.Single)
L_033e: ldstr "0.#"
L_0343: call System.String ToString(System.String)
L_0348: stelem.ref
L_0349: call System.String Translate(System.String, System.Object[])
L_034e: callvirt System.Text.StringBuilder Append(System.String)
L_0353: pop
L_0354: Label30
L_0354: ldarg.0
L_0355: call Boolean get_AllOwnersDowned()
L_035a: brfalse Label31
L_035f: ldloc.0
L_0360: callvirt System.Text.StringBuilder AppendLine()
L_0365: pop
L_0366: ldloc.0
L_0367: ldstr "AllCaravanMembersDowned"
L_036c: call System.String Translate(System.String)
L_0371: callvirt System.Text.StringBuilder Append(System.String)
L_0376: pop
L_0377: br Label32
L_037c: Label31
L_037c: ldarg.0
L_037d: call Boolean get_AllOwnersHaveMentalBreak()
L_0382: brfalse Label33
L_0387: ldloc.0
L_0388: callvirt System.Text.StringBuilder AppendLine()
L_038d: pop
L_038e: ldloc.0
L_038f: ldstr "AllCaravanMembersMentalBreak"
L_0394: call System.String Translate(System.String)
L_0399: callvirt System.Text.StringBuilder Append(System.String)
L_039e: pop
L_039f: br Label34
L_03a4: Label33
L_03a4: ldarg.0
L_03a5: call Boolean get_ImmobilizedByMass()
L_03aa: brfalse Label35
L_03af: ldloc.0
L_03b0: callvirt System.Text.StringBuilder AppendLine()
L_03b5: pop
L_03b6: ldloc.0
L_03b7: ldstr "CaravanImmobilizedByMass"
L_03bc: call System.String Translate(System.String)
L_03c1: callvirt System.Text.StringBuilder Append(System.String)
L_03c6: pop
L_03c7: Label32
L_03c7: Label34
L_03c7: Label35
L_03c7: ldarg.0
L_03c8: ldfld RimWorld.Planet.Caravan_NeedsTracker needs
L_03cd: ldloca.s 9 (System.String)
L_03cf: callvirt Boolean AnyPawnOutOfFood(System.String ByRef)
L_03d4: brfalse Label36
L_03d9: ldloc.0
L_03da: callvirt System.Text.StringBuilder AppendLine()
L_03df: pop
L_03e0: ldloc.0
L_03e1: ldstr "CaravanOutOfFood"
L_03e6: call System.String Translate(System.String)
L_03eb: callvirt System.Text.StringBuilder Append(System.String)
L_03f0: pop
L_03f1: ldloc.s 9 (System.String)
L_03f3: call Boolean NullOrEmpty(System.String)
L_03f8: brtrue Label37
L_03fd: ldloc.0
L_03fe: ldstr " "
L_0403: callvirt System.Text.StringBuilder Append(System.String)
L_0408: pop
L_0409: ldloc.0
L_040a: ldloc.s 9 (System.String)
L_040c: callvirt System.Text.StringBuilder Append(System.String)
L_0411: pop
L_0412: ldloc.0
L_0413: ldstr "."
L_0418: callvirt System.Text.StringBuilder Append(System.String)
L_041d: pop
L_041e: Label36
L_041e: Label37
L_041e: ldarg.0
L_041f: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0424: callvirt Boolean get_MovingNow()
L_0429: brtrue Label38
L_042e: ldarg.0
L_042f: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_0434: callvirt Int32 GetUsedBedCount()
L_0439: stloc.s 10 (System.Int32)
L_043b: ldloc.0
L_043c: callvirt System.Text.StringBuilder AppendLine()
L_0441: pop
L_0442: ldloc.0
L_0443: ldstr "CaravanResting"
L_0448: call System.String Translate(System.String)
L_044d: ldloc.s 10 (System.Int32)
L_044f: call System.String AppendUsingBedsLabel(System.String, Int32)
L_0454: callvirt System.Text.StringBuilder Append(System.String)
L_0459: pop
L_045a: br Label39
L_045f: Label38
L_045f: ldarg.0
L_0460: ldfld RimWorld.Planet.Caravan_CarryTracker carryTracker
L_0465: callvirt System.String GetInspectStringLine()
L_046a: stloc.s 11 (System.String)
L_046c: ldloc.s 11 (System.String)
L_046e: call Boolean NullOrEmpty(System.String)
L_0473: brtrue Label40
L_0478: ldloc.0
L_0479: callvirt System.Text.StringBuilder AppendLine()
L_047e: pop
L_047f: ldloc.0
L_0480: ldloc.s 11 (System.String)
L_0482: callvirt System.Text.StringBuilder Append(System.String)
L_0487: pop
L_0488: Label40
L_0488: ldarg.0
L_0489: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_048e: callvirt System.String GetInBedForMedicalReasonsInspectStringLine()
L_0493: stloc.s 12 (System.String)
L_0495: ldloc.s 12 (System.String)
L_0497: call Boolean NullOrEmpty(System.String)
L_049c: brtrue Label41
L_04a1: ldloc.0
L_04a2: callvirt System.Text.StringBuilder AppendLine()
L_04a7: pop
L_04a8: ldloc.0
L_04a9: ldloc.s 12 (System.String)
L_04ab: callvirt System.Text.StringBuilder Append(System.String)
L_04b0: pop
L_04b1: Label39
L_04b1: Label41
L_04b1: ldloc.0
L_04b2: callvirt System.String ToString()
L_04b7: stloc 13 (System.String)
L_04b9: ldarg.0
L_04ba: ldloca 13 (System.String)
L_04bc: call Void GetInspectString_Jobs(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c1: ldarg.0
L_04c2: ldloca 13 (System.String)
L_04c4: call Void GetInspectString_PostFix(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c9: ldloc 13 (System.String)
L_04cb: ret
DONE

### Patch Verse.Pawn, Void Tick()


L_0000: Local var 0: System.Boolean
L_0000: ldsfld System.Boolean noAnimals
L_0005: brfalse Label1
L_000a: ldarg.0
L_000b: call Boolean get_Spawned()
L_0010: brfalse Label2
L_0015: ldarg.0
L_0016: call Verse.RaceProperties get_RaceProps()
L_001b: callvirt Boolean get_Animal()
L_0020: brfalse Label3
L_0025: ldarg.0
L_0026: ldc.i4.0
L_0027: callvirt Void Destroy(DestroyMode)
L_002c: br Label23
L_0031: Label1
L_0031: Label2
L_0031: Label3
L_0031: ldarg.0
L_0032: call Void Tick()
L_0037: call Verse.TickManager get_TickManager()
L_003c: callvirt Int32 get_TicksGame()
L_0041: ldc.i4 250
L_0046: rem
L_0047: brtrue Label4
L_004c: ldarg.0
L_004d: callvirt Void TickRare()
L_0052: Label4
L_0052: ldarg.0
L_0053: call Boolean get_Suspended()
L_0058: stloc.0
L_0059: ldloc.0
L_005a: brtrue Label5
L_005f: ldarg.0
L_0060: call Boolean get_Spawned()
L_0065: brfalse Label6
L_006a: ldarg.0
L_006b: ldfld Verse.AI.Pawn_PathFollower pather
L_0070: callvirt Void PatherTick()
L_0075: Label6
L_0075: ldarg.0
L_0076: call Boolean get_Spawned()
L_007b: brfalse Label7
L_0080: ldarg.0
L_0081: ldfld Verse.Pawn_StanceTracker stances
L_0086: callvirt Void StanceTrackerTick()
L_008b: ldarg.0
L_008c: ldfld Verse.VerbTracker verbTracker
L_0091: callvirt Void VerbsTick()
L_0096: ldarg.0
L_0097: ldfld RimWorld.Pawn_NativeVerbs natives
L_009c: callvirt Void NativeVerbsTick()
L_00a1: Label7
L_00a1: ldarg.0
L_00a2: call Boolean get_Spawned()
L_00a7: brfalse Label8
L_00ac: ldarg.0
L_00ad: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b2: callvirt Void JobTrackerTick()
L_00b7: Label8
L_00b7: ldarg.0
L_00b8: call Boolean get_Spawned()
L_00bd: brfalse Label9
L_00c2: ldarg.0
L_00c3: call Verse.Pawn_DrawTracker get_Drawer()
L_00c8: callvirt Void DrawTrackerTick()
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn_RotationTracker rotationTracker
L_00d3: callvirt Void RotationTrackerTick()
L_00d8: Label9
L_00d8: ldarg.0
L_00d9: ldfld Verse.Pawn_HealthTracker health
L_00de: callvirt Void HealthTick()
L_00e3: ldarg.0
L_00e4: call Boolean get_Dead()
L_00e9: brtrue Label10
L_00ee: ldarg.0
L_00ef: ldfld Verse.AI.Pawn_MindState mindState
L_00f4: callvirt Void MindStateTick()
L_00f9: ldarg.0
L_00fa: ldfld Verse.Pawn_CarryTracker carryTracker
L_00ff: callvirt Void CarryHandsTick()
L_0104: Label5
L_0104: Label10
L_0104: ldarg.0
L_0105: call Boolean get_Dead()
L_010a: brtrue Label11
L_010f: ldarg.0
L_0110: ldfld RimWorld.Pawn_NeedsTracker needs
L_0115: callvirt Void NeedsTrackerTick()
L_011a: Label11
L_011a: ldloc.0
L_011b: brtrue Label12
L_0120: ldarg.0
L_0121: ldfld Verse.Pawn_EquipmentTracker equipment
L_0126: brfalse Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_EquipmentTracker equipment
L_0131: callvirt Void EquipmentTrackerTick()
L_0136: Label13
L_0136: ldarg.0
L_0137: ldfld RimWorld.Pawn_ApparelTracker apparel
L_013c: brfalse Label14
L_0141: ldarg.0
L_0142: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0147: callvirt Void ApparelTrackerTick()
L_014c: Label14
L_014c: ldarg.0
L_014d: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0152: brfalse Label15
L_0157: ldarg.0
L_0158: call Boolean get_Spawned()
L_015d: brfalse Label16
L_0162: ldarg.0
L_0163: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0168: callvirt Void InteractionsTrackerTick()
L_016d: Label15
L_016d: Label16
L_016d: ldarg.0
L_016e: ldfld Verse.Pawn_CallTracker caller
L_0173: brfalse Label17
L_0178: ldarg.0
L_0179: ldfld Verse.Pawn_CallTracker caller
L_017e: callvirt Void CallTrackerTick()
L_0183: Label17
L_0183: ldarg.0
L_0184: ldfld RimWorld.Pawn_SkillTracker skills
L_0189: brfalse Label18
L_018e: ldarg.0
L_018f: ldfld RimWorld.Pawn_SkillTracker skills
L_0194: callvirt Void SkillsTick()
L_0199: Label18
L_0199: ldarg.0
L_019a: ldfld Verse.Pawn_InventoryTracker inventory
L_019f: brfalse Label19
L_01a4: ldarg.0
L_01a5: ldfld Verse.Pawn_InventoryTracker inventory
L_01aa: callvirt Void InventoryTrackerTick()
L_01af: Label19
L_01af: ldarg.0
L_01b0: ldfld RimWorld.Pawn_DraftController drafter
L_01b5: brfalse Label20
L_01ba: ldarg.0
L_01bb: ldfld RimWorld.Pawn_DraftController drafter
L_01c0: callvirt Void DraftControllerTick()
L_01c5: Label20
L_01c5: ldarg.0
L_01c6: ldfld RimWorld.Pawn_RelationsTracker relations
L_01cb: brfalse Label21
L_01d0: ldarg.0
L_01d1: ldfld RimWorld.Pawn_RelationsTracker relations
L_01d6: callvirt Void RelationsTrackerTick()
L_01db: Label21
L_01db: ldarg.0
L_01dc: call Verse.RaceProperties get_RaceProps()
L_01e1: callvirt Boolean get_Humanlike()
L_01e6: brfalse Label22
L_01eb: ldarg.0
L_01ec: ldfld RimWorld.Pawn_GuestTracker guest
L_01f1: callvirt Void GuestTrackerTick()
L_01f6: Label22
L_01f6: ldarg.0
L_01f7: ldfld Verse.Pawn_AgeTracker ageTracker
L_01fc: callvirt Void AgeTick()
L_0201: ldarg.0
L_0202: ldfld RimWorld.Pawn_RecordsTracker records
L_0207: callvirt Void RecordsTick()
L_020c: Label12
L_020c: Label23
L_020c: ldarg.0
L_020d: call Void Patch_Pawn_Tick(Verse.Pawn)
L_0212: ret
DONE

### Patch Verse.PawnGenerator, Void GenerateGearFor(Verse.Pawn,


PawnGenerationRequest)
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void GenerateStartingApparelFor(Verse.Pawn, PawnGenerationRequest)
L_0007: ldarg.0
L_0008: call Void TryGenerateWeaponFor(Verse.Pawn)
L_000d: ldarg.0
L_000e: ldarg.1
L_000f: call Void GenerateInventoryFor(Verse.Pawn, PawnGenerationRequest)
L_0014: ldarg 0
L_001a: ldarga 1
L_0020: call Void Patch_PawnGenerator_GenerateGearFor(Verse.Pawn,
PawnGenerationRequest ByRef)
L_0025: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ret
DONE

### Patch Verse.Pawn_HealthTracker, Void PreApplyDamage(DamageInfo, Boolean ByRef)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarga 1
L_0007: ldarg 2
L_000d: call Boolean PreApplyDamage_PrePatch(Verse.Pawn_HealthTracker, DamageInfo
ByRef, Boolean ByRef)
L_0012: brfalse Label0
L_0017: ldarg.0
L_0018: ldarga 1
L_001e: ldarg 2
L_0024: call Boolean
Patch_Pawn_HealthTracker_PreApplyDamage(Verse.Pawn_HealthTracker, DamageInfo ByRef,
Boolean ByRef)
L_0029: brfalse Label0
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Instigator()
L_0035: brfalse Label1
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt RimWorld.Faction get_Faction()
L_0045: brfalse Label2
L_004a: ldarg.0
L_004b: ldfld Verse.Pawn pawn
L_0050: callvirt RimWorld.Faction get_Faction()
L_0055: callvirt Boolean get_IsPlayer()
L_005a: brfalse Label3
L_005f: ldarg.0
L_0060: ldfld Verse.Pawn pawn
L_0065: callvirt Boolean get_InAggroMentalState()
L_006a: brtrue Label4
L_006f: ldarga.s 1
L_0071: call Verse.Thing get_Instigator()
L_0076: isinst Verse.Pawn
L_007b: stloc.0
L_007c: ldloc.0
L_007d: brfalse Label5
L_0082: ldloc.0
L_0083: ldfld RimWorld.Pawn_GuiltTracker guilt
L_0088: brfalse Label6
L_008d: ldloc.0
L_008e: ldfld Verse.AI.Pawn_MindState mindState
L_0093: brfalse Label7
L_0098: ldloc.0
L_0099: ldfld RimWorld.Pawn_GuiltTracker guilt
L_009e: callvirt Void Notify_Guilty()
L_00a3: Label1
L_00a3: Label2
L_00a3: Label3
L_00a3: Label4
L_00a3: Label5
L_00a3: Label6
L_00a3: Label7
L_00a3: ldarg.0
L_00a4: ldfld Verse.Pawn pawn
L_00a9: callvirt Boolean get_Spawned()
L_00ae: brfalse Label8
L_00b3: ldarg.0
L_00b4: ldfld Verse.Pawn pawn
L_00b9: callvirt IntVec3 get_Position()
L_00be: ldarg.0
L_00bf: ldfld Verse.Pawn pawn
L_00c4: callvirt Verse.Map get_Map()
L_00c9: call Boolean Fogged(IntVec3, Verse.Map)
L_00ce: brtrue Label9
L_00d3: ldarg.0
L_00d4: ldfld Verse.Pawn pawn
L_00d9: ldfld Verse.AI.Pawn_MindState mindState
L_00de: ldc.i4.1
L_00df: callvirt Void set_Active(Boolean)
L_00e4: Label9
L_00e4: ldarg.0
L_00e5: ldfld Verse.Pawn pawn
L_00ea: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00ef: stloc.1
L_00f0: ldloc.1
L_00f1: brfalse Label10
L_00f6: ldloc.1
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: ldarg.1
L_00fe: callvirt Void Notify_PawnDamaged(Verse.Pawn, DamageInfo)
L_0103: Label10
L_0103: ldarga.s 1
L_0105: call Verse.DamageDef get_Def()
L_010a: ldarg.0
L_010b: ldfld Verse.Pawn pawn
L_0110: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0115: brfalse Label11
L_011a: ldarg.0
L_011b: ldfld Verse.Pawn pawn
L_0120: ldc.r4 18
L_0125: ldsfld Verse.ClamorDef Harm
L_012a: call Void DoClamor(Verse.Thing, Single, Verse.ClamorDef)
L_012f: Label11
L_012f: ldarg.0
L_0130: ldfld Verse.Pawn pawn
L_0135: ldfld Verse.AI.Pawn_JobTracker jobs
L_013a: ldarg.1
L_013b: callvirt Void Notify_DamageTaken(DamageInfo)
L_0140: Label8
L_0140: ldarg.0
L_0141: ldfld Verse.Pawn pawn
L_0146: callvirt RimWorld.Faction get_Faction()
L_014b: brfalse Label12
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: callvirt RimWorld.Faction get_Faction()
L_015b: ldarg.0
L_015c: ldfld Verse.Pawn pawn
L_0161: ldarg.1
L_0162: callvirt Void Notify_MemberTookDamage(Verse.Pawn, DamageInfo)
L_0167: call ProgramState get_ProgramState()
L_016c: ldc.i4.2
L_016d: bne.un Label13
L_0172: ldarg.0
L_0173: ldfld Verse.Pawn pawn
L_0178: callvirt RimWorld.Faction get_Faction()
L_017d: call RimWorld.Faction get_OfPlayer()
L_0182: bne.un Label14
L_0187: ldarga.s 1
L_0189: call Verse.DamageDef get_Def()
L_018e: ldarg.0
L_018f: ldfld Verse.Pawn pawn
L_0194: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0199: brfalse Label15
L_019e: ldarg.0
L_019f: ldfld Verse.Pawn pawn
L_01a4: callvirt Boolean get_SpawnedOrAnyParentSpawned()
L_01a9: brfalse Label16
L_01ae: ldarg.0
L_01af: ldfld Verse.Pawn pawn
L_01b4: callvirt Verse.Map get_MapHeld()
L_01b9: ldfld RimWorld.DangerWatcher dangerWatcher
L_01be: callvirt Void Notify_ColonistHarmedExternally()
L_01c3: Label12
L_01c3: Label13
L_01c3: Label14
L_01c3: Label15
L_01c3: Label16
L_01c3: ldarg.0
L_01c4: ldfld Verse.Pawn pawn
L_01c9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ce: brfalse Label17
L_01d3: ldarg.0
L_01d4: ldfld Verse.Pawn pawn
L_01d9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01de: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_01e3: stloc.2
L_01e4: ldc.i4.0
L_01e5: stloc.3
L_01e6: br Label18
L_01eb: Label20
L_01eb: ldloc.2
L_01ec: ldloc.3
L_01ed: callvirt RimWorld.Apparel get_Item(Int32)
L_01f2: ldarg.1
L_01f3: callvirt Boolean CheckPreAbsorbDamage(DamageInfo)
L_01f8: brfalse Label19
L_01fd: ldarg.2
L_01fe: ldc.i4.1
L_01ff: stind.i1
L_0200: br Label32
L_0205: Label19
L_0205: ldloc.3
L_0206: ldc.i4.1
L_0207: add
L_0208: stloc.3
L_0209: Label18
L_0209: ldloc.3
L_020a: ldloc.2
L_020b: callvirt Int32 get_Count()
L_0210: blt Label20
L_0215: Label17
L_0215: ldarg.0
L_0216: ldfld Verse.Pawn pawn
L_021b: callvirt Boolean get_Spawned()
L_0220: brfalse Label21
L_0225: ldarg.0
L_0226: ldfld Verse.Pawn pawn
L_022b: ldfld Verse.Pawn_StanceTracker stances
L_0230: ldarg.1
L_0231: callvirt Void Notify_DamageTaken(DamageInfo)
L_0236: ldarg.0
L_0237: ldfld Verse.Pawn pawn
L_023c: ldfld Verse.Pawn_StanceTracker stances
L_0241: ldfld RimWorld.StunHandler stunner
L_0246: ldarg.1
L_0247: ldarg.0
L_0248: ldfld Verse.Pawn pawn
L_024d: callvirt Verse.RaceProperties get_RaceProps()
L_0252: callvirt Boolean get_IsFlesh()
L_0257: ldc.i4.0
L_0258: ceq
L_025a: callvirt Void Notify_DamageApplied(DamageInfo, Boolean)
L_025f: Label21
L_025f: ldarg.0
L_0260: ldfld Verse.Pawn pawn
L_0265: callvirt Verse.RaceProperties get_RaceProps()
L_026a: callvirt Boolean get_IsFlesh()
L_026f: brfalse Label22
L_0274: ldarga.s 1
L_0276: call Verse.DamageDef get_Def()
L_027b: ldarg.0
L_027c: ldfld Verse.Pawn pawn
L_0281: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0286: brfalse Label23
L_028b: ldarga.s 1
L_028d: call Verse.Thing get_Instigator()
L_0292: isinst Verse.Pawn
L_0297: stloc.s 4 (Verse.Pawn)
L_0299: ldloc.s 4 (Verse.Pawn)
L_029b: brfalse Label24
L_02a0: ldloc.s 4 (Verse.Pawn)
L_02a2: ldarg.0
L_02a3: ldfld Verse.Pawn pawn
L_02a8: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_02ad: brfalse Label25
L_02b2: ldarg.0
L_02b3: ldfld Verse.Pawn pawn
L_02b8: ldfld RimWorld.Pawn_RelationsTracker relations
L_02bd: ldc.i4.1
L_02be: stfld System.Boolean canGetRescuedThought
L_02c3: Label25
L_02c3: ldarg.0
L_02c4: ldfld Verse.Pawn pawn
L_02c9: callvirt Verse.RaceProperties get_RaceProps()
L_02ce: callvirt Boolean get_Humanlike()
L_02d3: brfalse Label26
L_02d8: ldloc.s 4 (Verse.Pawn)
L_02da: callvirt Verse.RaceProperties get_RaceProps()
L_02df: callvirt Boolean get_Humanlike()
L_02e4: brfalse Label27
L_02e9: ldarg.0
L_02ea: ldfld Verse.Pawn pawn
L_02ef: ldfld RimWorld.Pawn_NeedsTracker needs
L_02f4: ldfld RimWorld.Need_Mood mood
L_02f9: brfalse Label28
L_02fe: ldloc.s 4 (Verse.Pawn)
L_0300: ldarg.0
L_0301: ldfld Verse.Pawn pawn
L_0306: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_030b: brfalse Label29
L_0310: ldloc.s 4 (Verse.Pawn)
L_0312: callvirt RimWorld.Faction get_Faction()
L_0317: ldarg.0
L_0318: ldfld Verse.Pawn pawn
L_031d: callvirt RimWorld.Faction get_Faction()
L_0322: bne.un Label30
L_0327: ldloc.s 4 (Verse.Pawn)
L_0329: callvirt Boolean get_InMentalState()
L_032e: brfalse Label31
L_0333: Label29
L_0333: ldarg.0
L_0334: ldfld Verse.Pawn pawn
L_0339: ldfld RimWorld.Pawn_NeedsTracker needs
L_033e: ldfld RimWorld.Need_Mood mood
L_0343: ldfld RimWorld.ThoughtHandler thoughts
L_0348: ldfld RimWorld.MemoryThoughtHandler memories
L_034d: ldsfld RimWorld.ThoughtDef HarmedMe
L_0352: ldloc.s 4 (Verse.Pawn)
L_0354: callvirt Void TryGainMemory(RimWorld.ThoughtDef, Verse.Pawn)
L_0359: Label24
L_0359: Label26
L_0359: Label27
L_0359: Label28
L_0359: Label30
L_0359: Label31
L_0359: ldsfld RimWorld.TaleDef Wounded
L_035e: ldc.i4.3
L_035f: newarr System.Object
L_0364: dup
L_0365: ldc.i4.0
L_0366: ldarg.0
L_0367: ldfld Verse.Pawn pawn
L_036c: stelem.ref
L_036d: dup
L_036e: ldc.i4.1
L_036f: ldloc.s 4 (Verse.Pawn)
L_0371: stelem.ref
L_0372: dup
L_0373: ldc.i4.2
L_0374: ldarga.s 1
L_0376: call Verse.ThingDef get_Weapon()
L_037b: stelem.ref
L_037c: call RimWorld.Tale RecordTale(RimWorld.TaleDef, System.Object[])
L_0381: pop
L_0382: Label22
L_0382: Label23
L_0382: ldarg.2
L_0383: ldc.i4.0
L_0384: stind.i1
L_0385: Label32
L_0385: Label0
L_0385: ret
DONE

### Patch Verse.Pawn_EquipmentTracker, Void MakeRoomFor(Verse.ThingWithComps)


L_0000: Local var 0: Verse.ThingWithComps
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld Verse.EquipmentType equipmentType
L_000b: ldc.i4.1
L_000c: bne.un Label1
L_0011: ldarg.0
L_0012: call Verse.ThingWithComps get_Primary()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: ldarg.0
L_001e: call Verse.ThingWithComps get_Primary()
L_0023: ldloca.s 0 (Verse.ThingWithComps)
L_0025: ldarg.0
L_0026: ldfld Verse.Pawn pawn
L_002b: callvirt IntVec3 get_Position()
L_0030: ldc.i4.1
L_0031: call Boolean TryDropEquipment(Verse.ThingWithComps, Verse.ThingWithComps
ByRef, IntVec3, Boolean)
L_0036: brfalse Label3
L_003b: ldloc.0
L_003c: brfalse Label4
L_0041: ldloc.0
L_0042: ldc.i4.0
L_0043: ldc.i4.1
L_0044: call Void SetForbidden(Verse.Thing, Boolean, Boolean)
L_0049: Label4
L_0049: br Label5
L_004e: Label3
L_004e: ldarg.0
L_004f: ldfld Verse.Pawn pawn
L_0054: ldstr " couldn't make room for equipment "
L_0059: ldarg.1
L_005a: call System.String Concat(System.Object, System.Object, System.Object)
L_005f: ldc.i4.0
L_0060: call Void Error(System.String, Boolean)
L_0065: Label1
L_0065: Label2
L_0065: Label5
L_0065: ldarg.0
L_0066: ldarga 1
L_006c: call Void
Patch_Pawn_EquipmentTracker_MakeRoomFor(Verse.Pawn_EquipmentTracker,
Verse.ThingWithComps ByRef)
L_0071: ret
DONE

### Patch RimWorld.StatWorker, System.String GetExplanationUnfinalized(StatRequest,


ToStringNumberSense)
L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.SkillNeed
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Single
L_0000: Local var 7: RimWorld.PawnCapacityOffset
L_0000: Local var 8:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityOffset, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Single
L_0000: Local var 11: System.Single
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: Local var 14: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 15: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 16: System.Int32
L_0000: Local var 17: RimWorld.Trait
L_0000: Local var 18: System.String
L_0000: Local var 19: System.Int32
L_0000: Local var 20: RimWorld.Trait
L_0000: Local var 21: System.String
L_0000: Local var 22: System.Int32
L_0000: Local var 23: RimWorld.Apparel
L_0000: Local var 24: System.Boolean
L_0000: Local var 25: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 26: System.Int32
L_0000: Local var 27: Verse.HediffStage
L_0000: Local var 28: System.Single
L_0000: Local var 29: System.Single
L_0000: Local var 30: System.Single
L_0000: Local var 31: System.Single
L_0000: Local var 32: RimWorld.CompAffectedByFacilities
L_0000: Local var 33: System.Int32
L_0000: Local var 34: RimWorld.StatDef
L_0000: Local var 35: System.Int32
L_0000: Local var 36: RimWorld.SkillNeed
L_0000: Local var 37: System.Int32
L_0000: Local var 38: RimWorld.PawnCapacityFactor
L_0000: Local var 39:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityFactor, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 40: System.String
L_0000: Local var 41: System.Single
L_0000: Local var 42: System.String
L_0000: Local var 43: System.String
L_0000: Local var 44: System.Single
L_0000: Local var 45: System.Single
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldarg.0
L_0007: ldarga.s 1
L_0009: call Verse.BuildableDef get_Def()
L_000e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0013: stloc.1
L_0014: ldloc.1
L_0015: ldc.r4 0
L_001a: beq Label1
L_001f: ldloc.0
L_0020: ldstr "StatsReport_BaseValue"
L_0025: call System.String Translate(System.String)
L_002a: ldstr ": "
L_002f: ldarg.0
L_0030: ldfld RimWorld.StatDef stat
L_0035: ldloc.1
L_0036: ldarg.2
L_0037: callvirt System.String ValueToString(Single, ToStringNumberSense)
L_003c: call System.String Concat(System.String, System.String, System.String)
L_0041: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0046: pop
L_0047: ldloc.0
L_0048: callvirt System.Text.StringBuilder AppendLine()
L_004d: pop
L_004e: Label1
L_004e: ldarga.s 1
L_0050: call Verse.Thing get_Thing()
L_0055: isinst Verse.Pawn
L_005a: stloc.2
L_005b: ldloc.2
L_005c: brfalse Label2
L_0061: ldloc.2
L_0062: ldfld RimWorld.Pawn_SkillTracker skills
L_0067: brfalse Label3
L_006c: ldarg.0
L_006d: ldfld RimWorld.StatDef stat
L_0072: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0077: brfalse Label4
L_007c: ldloc.0
L_007d: ldstr "StatsReport_Skills"
L_0082: call System.String Translate(System.String)
L_0087: callvirt System.Text.StringBuilder AppendLine(System.String)
L_008c: pop
L_008d: ldc.i4.0
L_008e: stloc.3
L_008f: br Label5
L_0094: Label6
L_0094: ldarg.0
L_0095: ldfld RimWorld.StatDef stat
L_009a: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_009f: ldloc.3
L_00a0: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00a5: stloc.s 4 (RimWorld.SkillNeed)
L_00a7: ldloc.2
L_00a8: ldfld RimWorld.Pawn_SkillTracker skills
L_00ad: ldloc.s 4 (RimWorld.SkillNeed)
L_00af: ldfld RimWorld.SkillDef skill
L_00b4: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_00b9: callvirt Int32 get_Level()
L_00be: stloc.s 5 (System.Int32)
L_00c0: ldloc.s 4 (RimWorld.SkillNeed)
L_00c2: ldloc.2
L_00c3: callvirt Single ValueFor(Verse.Pawn)
L_00c8: stloc.s 6 (System.Single)
L_00ca: ldloc.0
L_00cb: ldc.i4.7
L_00cc: newarr System.Object
L_00d1: dup
L_00d2: ldc.i4.0
L_00d3: ldstr " "
L_00d8: stelem.ref
L_00d9: dup
L_00da: ldc.i4.1
L_00db: ldloc.s 4 (RimWorld.SkillNeed)
L_00dd: ldfld RimWorld.SkillDef skill
L_00e2: callvirt System.String get_LabelCap()
L_00e7: stelem.ref
L_00e8: dup
L_00e9: ldc.i4.2
L_00ea: ldstr " ("
L_00ef: stelem.ref
L_00f0: dup
L_00f1: ldc.i4.3
L_00f2: ldloc.s 5 (System.Int32)
L_00f4: box System.Int32
L_00f9: stelem.ref
L_00fa: dup
L_00fb: ldc.i4.4
L_00fc: ldstr "): "
L_0101: stelem.ref
L_0102: dup
L_0103: ldc.i4.5
L_0104: ldloc.s 6 (System.Single)
L_0106: call System.String ToStringSign(Single)
L_010b: stelem.ref
L_010c: dup
L_010d: ldc.i4.6
L_010e: ldarg.0
L_010f: ldloc.s 6 (System.Single)
L_0111: ldc.i4.0
L_0112: ldc.i4.1
L_0113: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0118: stelem.ref
L_0119: call System.String Concat(System.Object[])
L_011e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0123: pop
L_0124: ldloc.3
L_0125: ldc.i4.1
L_0126: add
L_0127: stloc.3
L_0128: Label5
L_0128: ldloc.3
L_0129: ldarg.0
L_012a: ldfld RimWorld.StatDef stat
L_012f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0134: callvirt Int32 get_Count()
L_0139: blt Label6
L_013e: ldloc.0
L_013f: callvirt System.Text.StringBuilder AppendLine()
L_0144: pop
L_0145: Label4
L_0145: br Label7
L_014a: Label3
L_014a: ldarg.0
L_014b: ldfld RimWorld.StatDef stat
L_0150: ldfld System.Single noSkillOffset
L_0155: ldc.r4 0
L_015a: beq Label8
L_015f: ldloc.0
L_0160: ldstr "StatsReport_Skills"
L_0165: call System.String Translate(System.String)
L_016a: callvirt System.Text.StringBuilder AppendLine(System.String)
L_016f: pop
L_0170: ldloc.0
L_0171: ldc.i4.5
L_0172: newarr System.String
L_0177: dup
L_0178: ldc.i4.0
L_0179: ldstr " "
L_017e: stelem.ref
L_017f: dup
L_0180: ldc.i4.1
L_0181: ldstr "default"
L_0186: call System.String Translate(System.String)
L_018b: call System.String CapitalizeFirst(System.String)
L_0190: stelem.ref
L_0191: dup
L_0192: ldc.i4.2
L_0193: ldstr " : "
L_0198: stelem.ref
L_0199: dup
L_019a: ldc.i4.3
L_019b: ldarg.0
L_019c: ldfld RimWorld.StatDef stat
L_01a1: ldfld System.Single noSkillOffset
L_01a6: call System.String ToStringSign(Single)
L_01ab: stelem.ref
L_01ac: dup
L_01ad: ldc.i4.4
L_01ae: ldarg.0
L_01af: ldarg.0
L_01b0: ldfld RimWorld.StatDef stat
L_01b5: ldfld System.Single noSkillOffset
L_01ba: ldc.i4.0
L_01bb: ldc.i4.1
L_01bc: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_01c1: stelem.ref
L_01c2: call System.String Concat(System.String[])
L_01c7: callvirt System.Text.StringBuilder AppendLine(System.String)
L_01cc: pop
L_01cd: ldloc.0
L_01ce: callvirt System.Text.StringBuilder AppendLine()
L_01d3: pop
L_01d4: Label7
L_01d4: Label8
L_01d4: ldarg.0
L_01d5: ldfld RimWorld.StatDef stat
L_01da: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_01df: brfalse Label9
L_01e4: ldloc.0
L_01e5: ldstr "StatsReport_Health"
L_01ea: call Boolean CanTranslate(System.String)
L_01ef: brfalse Label10
L_01f4: ldstr "StatsReport_Health"
L_01f9: call System.String Translate(System.String)
L_01fe: br Label11
L_0203: Label10
L_0203: ldstr "StatsReport_HealthFactors"
L_0208: call System.String Translate(System.String)
L_020d: Label11
L_020d: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0212: pop
L_0213: ldarg.0
L_0214: ldfld RimWorld.StatDef stat
L_0219: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_021e: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0223: brtrue Label12
L_0228: ldnull
L_0229: ldftn Int32 <GetExplanationUnfinalized>m__0(RimWorld.PawnCapacityOffset)
L_022f: newobj Void .ctor(Object, IntPtr)
L_0234: stsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0239: Label12
L_0239: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_023e: call IOrderedEnumerable`1 OrderBy[PawnCapacityOffset,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityOffset,System.Int32])
L_0243: callvirt IEnumerator`1 GetEnumerator()
L_0248: stloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
.try
{
L_024a: br Label13
L_024f: Label15
L_024f: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_0251: callvirt RimWorld.PawnCapacityOffset get_Current()
L_0256: stloc.s 7 (RimWorld.PawnCapacityOffset)
L_0258: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_025a: ldfld Verse.PawnCapacityDef capacity
L_025f: ldloc.2
L_0260: callvirt System.String GetLabelFor(Verse.Pawn)
L_0265: call System.String CapitalizeFirst(System.String)
L_026a: stloc.s 9 (System.String)
L_026c: ldloc.2
L_026d: ldfld Verse.Pawn_HealthTracker health
L_0272: ldfld Verse.PawnCapacitiesHandler capacities
L_0277: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0279: ldfld Verse.PawnCapacityDef capacity
L_027e: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0283: stloc.s 10 (System.Single)
L_0285: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0287: ldloc.2
L_0288: ldfld Verse.Pawn_HealthTracker health
L_028d: ldfld Verse.PawnCapacitiesHandler capacities
L_0292: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0294: ldfld Verse.PawnCapacityDef capacity
L_0299: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_029e: callvirt Single GetOffset(Single)
L_02a3: stloc.s 11 (System.Single)
L_02a5: ldarg.0
L_02a6: ldloc.s 11 (System.Single)
L_02a8: ldc.i4.0
L_02a9: ldc.i4.1
L_02aa: call System.String ValueToString(Single, Boolean,
ToStringNumberSense)
L_02af: stloc.s 12 (System.String)
L_02b1: ldloc.s 10 (System.Single)
L_02b3: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02b5: ldfld System.Single max
L_02ba: call Single Min(Single, Single)
L_02bf: call System.String ToStringPercent(Single)
L_02c4: ldstr ", "
L_02c9: ldstr "HealthOffsetScale"
L_02ce: ldc.i4.1
L_02cf: newarr System.Object
L_02d4: dup
L_02d5: ldc.i4.0
L_02d6: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02d8: ldflda System.Single scale
L_02dd: constrained. System.Single
L_02e3: callvirt System.String ToString()
L_02e8: ldstr "x"
L_02ed: call System.String Concat(System.String, System.String)
L_02f2: stelem.ref
L_02f3: call System.String Translate(System.String, System.Object[])
L_02f8: call System.String Concat(System.String, System.String,
System.String)
L_02fd: stloc.s 13 (System.String)
L_02ff: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0301: ldfld System.Single max
L_0306: ldc.r4 999
L_030b: bge.un Label14
L_0310: ldloc.s 13 (System.String)
L_0312: ldstr ", "
L_0317: ldstr "HealthFactorMaxImpact"
L_031c: ldc.i4.1
L_031d: newarr System.Object
L_0322: dup
L_0323: ldc.i4.0
L_0324: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0326: ldfld System.Single max
L_032b: call System.String ToStringPercent(Single)
L_0330: stelem.ref
L_0331: call System.String Translate(System.String, System.Object[])
L_0336: call System.String Concat(System.String, System.String,
System.String)
L_033b: stloc.s 13 (System.String)
L_033d: Label14
L_033d: ldloc.0
L_033e: ldc.i4.8
L_033f: newarr System.String
L_0344: dup
L_0345: ldc.i4.0
L_0346: ldstr " "
L_034b: stelem.ref
L_034c: dup
L_034d: ldc.i4.1
L_034e: ldloc.s 9 (System.String)
L_0350: stelem.ref
L_0351: dup
L_0352: ldc.i4.2
L_0353: ldstr ": "
L_0358: stelem.ref
L_0359: dup
L_035a: ldc.i4.3
L_035b: ldloc.s 11 (System.Single)
L_035d: call System.String ToStringSign(Single)
L_0362: stelem.ref
L_0363: dup
L_0364: ldc.i4.4
L_0365: ldloc.s 12 (System.String)
L_0367: stelem.ref
L_0368: dup
L_0369: ldc.i4.5
L_036a: ldstr " ("
L_036f: stelem.ref
L_0370: dup
L_0371: ldc.i4.6
L_0372: ldloc.s 13 (System.String)
L_0374: stelem.ref
L_0375: dup
L_0376: ldc.i4.7
L_0377: ldstr ")"
L_037c: stelem.ref
L_037d: call System.String Concat(System.String[])
L_0382: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0387: pop
L_0388: Label13
L_0388: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_038a: callvirt Boolean MoveNext()
L_038f: brtrue Label15
L_0394: leave Label16
L_0399: leave (autogenerated)
} // end try
.finally
{
L_039e: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a0: brfalse Label17
L_03a5: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a7: callvirt Void Dispose()
L_03ac: Label17
L_03ac: endfinally
L_03ad: leave (autogenerated)
} // end handler
L_03ae: Label16
L_03ae: ldloc.0
L_03af: callvirt System.Text.StringBuilder AppendLine()
L_03b4: pop
L_03b5: Label9
L_03b5: ldloc.2
L_03b6: callvirt Verse.RaceProperties get_RaceProps()
L_03bb: ldfld Verse.Intelligence intelligence
L_03c0: ldc.i4.1
L_03c1: blt Label18
L_03c6: ldloc.2
L_03c7: ldfld RimWorld.Pawn_StoryTracker story
L_03cc: brfalse Label19
L_03d1: ldloc.2
L_03d2: ldfld RimWorld.Pawn_StoryTracker story
L_03d7: ldfld RimWorld.TraitSet traits
L_03dc: brfalse Label20
L_03e1: ldloc.2
L_03e2: ldfld RimWorld.Pawn_StoryTracker story
L_03e7: ldfld RimWorld.TraitSet traits
L_03ec: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_03f1: ldarg.0
L_03f2: ldftn Boolean <GetExplanationUnfinalized>m__1(RimWorld.Trait)
L_03f8: newobj Void .ctor(Object, IntPtr)
L_03fd: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_0402: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_0407: stloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0409: ldloc.2
L_040a: ldfld RimWorld.Pawn_StoryTracker story
L_040f: ldfld RimWorld.TraitSet traits
L_0414: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0419: ldarg.0
L_041a: ldftn Boolean <GetExplanationUnfinalized>m__2(RimWorld.Trait)
L_0420: newobj Void .ctor(Object, IntPtr)
L_0425: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_042a: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_042f: stloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0431: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0433: callvirt Int32 get_Count()
L_0438: ldc.i4.0
L_0439: bgt Label21
L_043e: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0440: callvirt Int32 get_Count()
L_0445: ldc.i4.0
L_0446: ble Label22
L_044b: Label21
L_044b: ldloc.0
L_044c: ldstr "StatsReport_RelevantTraits"
L_0451: call System.String Translate(System.String)
L_0456: callvirt System.Text.StringBuilder AppendLine(System.String)
L_045b: pop
L_045c: ldc.i4.0
L_045d: stloc.s 16 (System.Int32)
L_045f: br Label23
L_0464: Label24
L_0464: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0466: ldloc.s 16 (System.Int32)
L_0468: callvirt RimWorld.Trait get_Item(Int32)
L_046d: stloc.s 17 (RimWorld.Trait)
L_046f: ldloc.s 17 (RimWorld.Trait)
L_0471: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_0476: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_047b: ldarg.0
L_047c: ldftn Boolean <GetExplanationUnfinalized>m__3(RimWorld.StatModifier)
L_0482: newobj Void .ctor(Object, IntPtr)
L_0487: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_048c: callvirt System.String get_ValueToStringAsOffset()
L_0491: stloc.s 18 (System.String)
L_0493: ldloc.0
L_0494: ldstr " "
L_0499: ldloc.s 17 (RimWorld.Trait)
L_049b: callvirt System.String get_LabelCap()
L_04a0: ldstr ": "
L_04a5: ldloc.s 18 (System.String)
L_04a7: call System.String Concat(System.String, System.String, System.String,
System.String)
L_04ac: callvirt System.Text.StringBuilder AppendLine(System.String)
L_04b1: pop
L_04b2: ldloc.s 16 (System.Int32)
L_04b4: ldc.i4.1
L_04b5: add
L_04b6: stloc.s 16 (System.Int32)
L_04b8: Label23
L_04b8: ldloc.s 16 (System.Int32)
L_04ba: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04bc: callvirt Int32 get_Count()
L_04c1: blt Label24
L_04c6: ldc.i4.0
L_04c7: stloc.s 19 (System.Int32)
L_04c9: br Label25
L_04ce: Label26
L_04ce: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04d0: ldloc.s 19 (System.Int32)
L_04d2: callvirt RimWorld.Trait get_Item(Int32)
L_04d7: stloc.s 20 (RimWorld.Trait)
L_04d9: ldloc.s 20 (RimWorld.Trait)
L_04db: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_04e0: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_04e5: ldarg.0
L_04e6: ldftn Boolean <GetExplanationUnfinalized>m__4(RimWorld.StatModifier)
L_04ec: newobj Void .ctor(Object, IntPtr)
L_04f1: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_04f6: callvirt System.String get_ToStringAsFactor()
L_04fb: stloc.s 21 (System.String)
L_04fd: ldloc.0
L_04fe: ldstr " "
L_0503: ldloc.s 20 (RimWorld.Trait)
L_0505: callvirt System.String get_LabelCap()
L_050a: ldstr ": "
L_050f: ldloc.s 21 (System.String)
L_0511: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0516: callvirt System.Text.StringBuilder AppendLine(System.String)
L_051b: pop
L_051c: ldloc.s 19 (System.Int32)
L_051e: ldc.i4.1
L_051f: add
L_0520: stloc.s 19 (System.Int32)
L_0522: Label25
L_0522: ldloc.s 19 (System.Int32)
L_0524: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0526: callvirt Int32 get_Count()
L_052b: blt Label26
L_0530: ldloc.0
L_0531: callvirt System.Text.StringBuilder AppendLine()
L_0536: pop
L_0537: Label19
L_0537: Label20
L_0537: Label22
L_0537: ldloc.2
L_0538: ldarg.0
L_0539: ldfld RimWorld.StatDef stat
L_053e: call IEnumerable`1 RelevantGear(Verse.Pawn, RimWorld.StatDef)
L_0543: call Boolean Any[Thing](IEnumerable`1)
L_0548: brfalse Label27
L_054d: ldloc.0
L_054e: ldstr "StatsReport_RelevantGear"
L_0553: call System.String Translate(System.String)
L_0558: callvirt System.Text.StringBuilder AppendLine(System.String)
L_055d: pop
L_055e: ldloc.2
L_055f: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0564: brfalse Label28
L_0569: ldc.i4.0
L_056a: stloc.s 22 (System.Int32)
L_056c: br Label29
L_0571: Label30
L_0571: ldloc.2
L_0572: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0577: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_057c: ldloc.s 22 (System.Int32)
L_057e: callvirt RimWorld.Apparel get_Item(Int32)
L_0583: stloc.s 23 (RimWorld.Apparel)
L_0585: ldloc.0
L_0586: ldloc.s 23 (RimWorld.Apparel)
L_0588: ldarg.0
L_0589: ldfld RimWorld.StatDef stat
L_058e: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_0593: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0598: pop
L_0599: ldloc.s 22 (System.Int32)
L_059b: ldc.i4.1
L_059c: add
L_059d: stloc.s 22 (System.Int32)
L_059f: Label29
L_059f: ldloc.s 22 (System.Int32)
L_05a1: ldloc.2
L_05a2: ldfld RimWorld.Pawn_ApparelTracker apparel
L_05a7: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_05ac: callvirt Int32 get_Count()
L_05b1: blt Label30
L_05b6: Label28
L_05b6: ldloc.2
L_05b7: ldfld Verse.Pawn_EquipmentTracker equipment
L_05bc: brfalse Label31
L_05c1: ldloc.2
L_05c2: ldfld Verse.Pawn_EquipmentTracker equipment
L_05c7: callvirt Verse.ThingWithComps get_Primary()
L_05cc: brfalse Label32
L_05d1: ldloc.0
L_05d2: ldloc.2
L_05d3: ldfld Verse.Pawn_EquipmentTracker equipment
L_05d8: callvirt Verse.ThingWithComps get_Primary()
L_05dd: ldarg.0
L_05de: ldfld RimWorld.StatDef stat
L_05e3: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_05e8: callvirt System.Text.StringBuilder AppendLine(System.String)
L_05ed: pop
L_05ee: ldloc.0
L_05ef: ldloc.2
L_05f0: ldarg.0
L_05f1: ldfld RimWorld.StatDef stat
L_05f6: call Void StatWorkerInjection_BuildShieldString(System.Text.StringBuilder,
Verse.Pawn, RimWorld.StatDef)
L_05fb: Label31
L_05fb: Label32
L_05fb: ldloc.0
L_05fc: callvirt System.Text.StringBuilder AppendLine()
L_0601: pop
L_0602: Label18
L_0602: Label27
L_0602: ldc.i4.0
L_0603: stloc.s 24 (System.Boolean)
L_0605: ldloc.2
L_0606: ldfld Verse.Pawn_HealthTracker health
L_060b: ldfld Verse.HediffSet hediffSet
L_0610: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0615: stloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0617: ldc.i4.0
L_0618: stloc.s 26 (System.Int32)
L_061a: br Label33
L_061f: Label37
L_061f: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0621: ldloc.s 26 (System.Int32)
L_0623: callvirt Verse.Hediff get_Item(Int32)
L_0628: callvirt Verse.HediffStage get_CurStage()
L_062d: stloc.s 27 (Verse.HediffStage)
L_062f: ldloc.s 27 (Verse.HediffStage)
L_0631: brfalse Label34
L_0636: ldloc.s 27 (Verse.HediffStage)
L_0638: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_063d: ldarg.0
L_063e: ldfld RimWorld.StatDef stat
L_0643: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0648: stloc.s 28 (System.Single)
L_064a: ldloc.s 28 (System.Single)
L_064c: ldc.r4 0
L_0651: beq Label35
L_0656: ldloc.s 24 (System.Boolean)
L_0658: brtrue Label36
L_065d: ldloc.0
L_065e: ldstr "StatsReport_RelevantHediffs"
L_0663: call System.String Translate(System.String)
L_0668: callvirt System.Text.StringBuilder AppendLine(System.String)
L_066d: pop
L_066e: ldc.i4.1
L_066f: stloc.s 24 (System.Boolean)
L_0671: Label36
L_0671: ldloc.0
L_0672: ldstr " "
L_0677: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0679: ldloc.s 26 (System.Int32)
L_067b: callvirt Verse.Hediff get_Item(Int32)
L_0680: callvirt System.String get_LabelBase()
L_0685: call System.String CapitalizeFirst(System.String)
L_068a: ldstr ": "
L_068f: ldarg.0
L_0690: ldloc.s 28 (System.Single)
L_0692: ldc.i4.0
L_0693: ldc.i4.3
L_0694: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0699: call System.String Concat(System.String, System.String, System.String,
System.String)
L_069e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_06a3: pop
L_06a4: ldloc.0
L_06a5: callvirt System.Text.StringBuilder AppendLine()
L_06aa: pop
L_06ab: Label34
L_06ab: Label35
L_06ab: ldloc.s 26 (System.Int32)
L_06ad: ldc.i4.1
L_06ae: add
L_06af: stloc.s 26 (System.Int32)
L_06b1: Label33
L_06b1: ldloc.s 26 (System.Int32)
L_06b3: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_06b5: callvirt Int32 get_Count()
L_06ba: blt Label37
L_06bf: ldloc.2
L_06c0: ldfld Verse.Pawn_AgeTracker ageTracker
L_06c5: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_06ca: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_06cf: ldarg.0
L_06d0: ldfld RimWorld.StatDef stat
L_06d5: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_06da: stloc.s 29 (System.Single)
L_06dc: ldloc.s 29 (System.Single)
L_06de: ldc.r4 1
L_06e3: beq Label38
L_06e8: ldloc.0
L_06e9: ldc.i4.5
L_06ea: newarr System.String
L_06ef: dup
L_06f0: ldc.i4.0
L_06f1: ldstr "StatsReport_LifeStage"
L_06f6: call System.String Translate(System.String)
L_06fb: stelem.ref
L_06fc: dup
L_06fd: ldc.i4.1
L_06fe: ldstr " ("
L_0703: stelem.ref
L_0704: dup
L_0705: ldc.i4.2
L_0706: ldloc.2
L_0707: ldfld Verse.Pawn_AgeTracker ageTracker
L_070c: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_0711: ldfld System.String label
L_0716: stelem.ref
L_0717: dup
L_0718: ldc.i4.3
L_0719: ldstr "): "
L_071e: stelem.ref
L_071f: dup
L_0720: ldc.i4.4
L_0721: ldloc.s 29 (System.Single)
L_0723: ldc.i4.8
L_0724: ldc.i4.2
L_0725: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_072a: stelem.ref
L_072b: call System.String Concat(System.String[])
L_0730: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0735: pop
L_0736: ldloc.0
L_0737: callvirt System.Text.StringBuilder AppendLine()
L_073c: pop
L_073d: Label2
L_073d: Label38
L_073d: ldarga.s 1
L_073f: call Verse.ThingDef get_StuffDef()
L_0744: brfalse Label39
L_0749: ldloc.1
L_074a: ldc.r4 0
L_074f: bgt Label40
L_0754: ldarg.0
L_0755: ldfld RimWorld.StatDef stat
L_075a: ldfld System.Boolean applyFactorsIfNegative
L_075f: brfalse Label41
L_0764: Label40
L_0764: ldarga.s 1
L_0766: call Verse.ThingDef get_StuffDef()
L_076b: ldfld Verse.StuffProperties stuffProps
L_0770: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0775: ldarg.0
L_0776: ldfld RimWorld.StatDef stat
L_077b: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0780: stloc.s 30 (System.Single)
L_0782: ldloc.s 30 (System.Single)
L_0784: ldc.r4 1
L_0789: beq Label42
L_078e: ldloc.0
L_078f: ldc.i4.5
L_0790: newarr System.String
L_0795: dup
L_0796: ldc.i4.0
L_0797: ldstr "StatsReport_Material"
L_079c: call System.String Translate(System.String)
L_07a1: stelem.ref
L_07a2: dup
L_07a3: ldc.i4.1
L_07a4: ldstr " ("
L_07a9: stelem.ref
L_07aa: dup
L_07ab: ldc.i4.2
L_07ac: ldarga.s 1
L_07ae: call Verse.ThingDef get_StuffDef()
L_07b3: callvirt System.String get_LabelCap()
L_07b8: stelem.ref
L_07b9: dup
L_07ba: ldc.i4.3
L_07bb: ldstr "): "
L_07c0: stelem.ref
L_07c1: dup
L_07c2: ldc.i4.4
L_07c3: ldloc.s 30 (System.Single)
L_07c5: ldc.i4.8
L_07c6: ldc.i4.2
L_07c7: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_07cc: stelem.ref
L_07cd: call System.String Concat(System.String[])
L_07d2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_07d7: pop
L_07d8: ldloc.0
L_07d9: callvirt System.Text.StringBuilder AppendLine()
L_07de: pop
L_07df: Label41
L_07df: Label42
L_07df: ldarga.s 1
L_07e1: call Verse.ThingDef get_StuffDef()
L_07e6: ldfld Verse.StuffProperties stuffProps
L_07eb: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_07f0: ldarg.0
L_07f1: ldfld RimWorld.StatDef stat
L_07f6: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_07fb: stloc.s 31 (System.Single)
L_07fd: ldloc.s 31 (System.Single)
L_07ff: ldc.r4 0
L_0804: beq Label43
L_0809: ldloc.0
L_080a: ldc.i4.5
L_080b: newarr System.String
L_0810: dup
L_0811: ldc.i4.0
L_0812: ldstr "StatsReport_Material"
L_0817: call System.String Translate(System.String)
L_081c: stelem.ref
L_081d: dup
L_081e: ldc.i4.1
L_081f: ldstr " ("
L_0824: stelem.ref
L_0825: dup
L_0826: ldc.i4.2
L_0827: ldarga.s 1
L_0829: call Verse.ThingDef get_StuffDef()
L_082e: callvirt System.String get_LabelCap()
L_0833: stelem.ref
L_0834: dup
L_0835: ldc.i4.3
L_0836: ldstr "): "
L_083b: stelem.ref
L_083c: dup
L_083d: ldc.i4.4
L_083e: ldloc.s 31 (System.Single)
L_0840: ldarg.0
L_0841: ldfld RimWorld.StatDef stat
L_0846: ldfld Verse.ToStringStyle toStringStyle
L_084b: ldc.i4.3
L_084c: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0851: stelem.ref
L_0852: call System.String Concat(System.String[])
L_0857: callvirt System.Text.StringBuilder AppendLine(System.String)
L_085c: pop
L_085d: ldloc.0
L_085e: callvirt System.Text.StringBuilder AppendLine()
L_0863: pop
L_0864: Label39
L_0864: Label43
L_0864: ldarga.s 1
L_0866: call Verse.Thing get_Thing()
L_086b: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0870: stloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0872: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0874: brfalse Label44
L_0879: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_087b: ldarg.0
L_087c: ldfld RimWorld.StatDef stat
L_0881: ldloc.0
L_0882: callvirt Void GetStatsExplanation(RimWorld.StatDef,
System.Text.StringBuilder)
L_0887: Label44
L_0887: ldarg.0
L_0888: ldfld RimWorld.StatDef stat
L_088d: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0892: brfalse Label45
L_0897: ldloc.0
L_0898: ldstr "StatsReport_OtherStats"
L_089d: call System.String Translate(System.String)
L_08a2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08a7: pop
L_08a8: ldc.i4.0
L_08a9: stloc.s 33 (System.Int32)
L_08ab: br Label46
L_08b0: Label47
L_08b0: ldarg.0
L_08b1: ldfld RimWorld.StatDef stat
L_08b6: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_08bb: ldloc.s 33 (System.Int32)
L_08bd: callvirt RimWorld.StatDef get_Item(Int32)
L_08c2: stloc.s 34 (RimWorld.StatDef)
L_08c4: ldloc.0
L_08c5: ldstr " "
L_08ca: ldloc.s 34 (RimWorld.StatDef)
L_08cc: callvirt System.String get_LabelCap()
L_08d1: ldstr ": x"
L_08d6: ldloc.s 34 (RimWorld.StatDef)
L_08d8: callvirt RimWorld.StatWorker get_Worker()
L_08dd: ldarg.1
L_08de: ldc.i4.1
L_08df: callvirt Single GetValue(StatRequest, Boolean)
L_08e4: call System.String ToStringPercent(Single)
L_08e9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_08ee: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08f3: pop
L_08f4: ldloc.s 33 (System.Int32)
L_08f6: ldc.i4.1
L_08f7: add
L_08f8: stloc.s 33 (System.Int32)
L_08fa: Label46
L_08fa: ldloc.s 33 (System.Int32)
L_08fc: ldarg.0
L_08fd: ldfld RimWorld.StatDef stat
L_0902: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0907: callvirt Int32 get_Count()
L_090c: blt Label47
L_0911: ldloc.0
L_0912: callvirt System.Text.StringBuilder AppendLine()
L_0917: pop
L_0918: Label45
L_0918: ldloc.2
L_0919: brfalse Label48
L_091e: ldloc.2
L_091f: ldfld RimWorld.Pawn_SkillTracker skills
L_0924: brfalse Label49
L_0929: ldarg.0
L_092a: ldfld RimWorld.StatDef stat
L_092f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0934: brfalse Label50
L_0939: ldloc.0
L_093a: ldstr "StatsReport_Skills"
L_093f: call System.String Translate(System.String)
L_0944: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0949: pop
L_094a: ldc.i4.0
L_094b: stloc.s 35 (System.Int32)
L_094d: br Label51
L_0952: Label52
L_0952: ldarg.0
L_0953: ldfld RimWorld.StatDef stat
L_0958: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_095d: ldloc.s 35 (System.Int32)
L_095f: callvirt RimWorld.SkillNeed get_Item(Int32)
L_0964: stloc.s 36 (RimWorld.SkillNeed)
L_0966: ldloc.2
L_0967: ldfld RimWorld.Pawn_SkillTracker skills
L_096c: ldloc.s 36 (RimWorld.SkillNeed)
L_096e: ldfld RimWorld.SkillDef skill
L_0973: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_0978: callvirt Int32 get_Level()
L_097d: stloc.s 37 (System.Int32)
L_097f: ldloc.0
L_0980: ldc.i4.6
L_0981: newarr System.Object
L_0986: dup
L_0987: ldc.i4.0
L_0988: ldstr " "
L_098d: stelem.ref
L_098e: dup
L_098f: ldc.i4.1
L_0990: ldloc.s 36 (RimWorld.SkillNeed)
L_0992: ldfld RimWorld.SkillDef skill
L_0997: callvirt System.String get_LabelCap()
L_099c: stelem.ref
L_099d: dup
L_099e: ldc.i4.2
L_099f: ldstr " ("
L_09a4: stelem.ref
L_09a5: dup
L_09a6: ldc.i4.3
L_09a7: ldloc.s 37 (System.Int32)
L_09a9: box System.Int32
L_09ae: stelem.ref
L_09af: dup
L_09b0: ldc.i4.4
L_09b1: ldstr "): x"
L_09b6: stelem.ref
L_09b7: dup
L_09b8: ldc.i4.5
L_09b9: ldloc.s 36 (RimWorld.SkillNeed)
L_09bb: ldloc.2
L_09bc: callvirt Single ValueFor(Verse.Pawn)
L_09c1: call System.String ToStringPercent(Single)
L_09c6: stelem.ref
L_09c7: call System.String Concat(System.Object[])
L_09cc: callvirt System.Text.StringBuilder AppendLine(System.String)
L_09d1: pop
L_09d2: ldloc.s 35 (System.Int32)
L_09d4: ldc.i4.1
L_09d5: add
L_09d6: stloc.s 35 (System.Int32)
L_09d8: Label51
L_09d8: ldloc.s 35 (System.Int32)
L_09da: ldarg.0
L_09db: ldfld RimWorld.StatDef stat
L_09e0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_09e5: callvirt Int32 get_Count()
L_09ea: blt Label52
L_09ef: ldloc.0
L_09f0: callvirt System.Text.StringBuilder AppendLine()
L_09f5: pop
L_09f6: Label50
L_09f6: br Label53
L_09fb: Label49
L_09fb: ldarg.0
L_09fc: ldfld RimWorld.StatDef stat
L_0a01: ldfld System.Single noSkillFactor
L_0a06: ldc.r4 1
L_0a0b: beq Label54
L_0a10: ldloc.0
L_0a11: ldstr "StatsReport_Skills"
L_0a16: call System.String Translate(System.String)
L_0a1b: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a20: pop
L_0a21: ldloc.0
L_0a22: ldstr " "
L_0a27: ldstr "default"
L_0a2c: call System.String Translate(System.String)
L_0a31: call System.String CapitalizeFirst(System.String)
L_0a36: ldstr " : x"
L_0a3b: ldarg.0
L_0a3c: ldfld RimWorld.StatDef stat
L_0a41: ldfld System.Single noSkillFactor
L_0a46: call System.String ToStringPercent(Single)
L_0a4b: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0a50: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a55: pop
L_0a56: ldloc.0
L_0a57: callvirt System.Text.StringBuilder AppendLine()
L_0a5c: pop
L_0a5d: Label53
L_0a5d: Label54
L_0a5d: ldarg.0
L_0a5e: ldfld RimWorld.StatDef stat
L_0a63: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0a68: brfalse Label55
L_0a6d: ldloc.0
L_0a6e: ldstr "StatsReport_Health"
L_0a73: call Boolean CanTranslate(System.String)
L_0a78: brfalse Label56
L_0a7d: ldstr "StatsReport_Health"
L_0a82: call System.String Translate(System.String)
L_0a87: br Label57
L_0a8c: Label56
L_0a8c: ldstr "StatsReport_HealthFactors"
L_0a91: call System.String Translate(System.String)
L_0a96: Label57
L_0a96: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a9b: pop
L_0a9c: ldarg.0
L_0a9d: ldfld RimWorld.StatDef stat
L_0aa2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0aa7: brfalse Label58
L_0aac: ldarg.0
L_0aad: ldfld RimWorld.StatDef stat
L_0ab2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0ab7: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0abc: brtrue Label59
L_0ac1: ldnull
L_0ac2: ldftn Int32 <GetExplanationUnfinalized>m__5(RimWorld.PawnCapacityFactor)
L_0ac8: newobj Void .ctor(Object, IntPtr)
L_0acd: stsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad2: Label59
L_0ad2: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad7: call IOrderedEnumerable`1 OrderBy[PawnCapacityFactor,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityFactor,System.Int32])
L_0adc: callvirt IEnumerator`1 GetEnumerator()
L_0ae1: stloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
.try
{
L_0ae3: br Label60
L_0ae8: Label63
L_0ae8: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0aea: callvirt RimWorld.PawnCapacityFactor get_Current()
L_0aef: stloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af1: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af3: ldfld Verse.PawnCapacityDef capacity
L_0af8: ldloc.2
L_0af9: callvirt System.String GetLabelFor(Verse.Pawn)
L_0afe: call System.String CapitalizeFirst(System.String)
L_0b03: stloc.s 40 (System.String)
L_0b05: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b07: ldloc.2
L_0b08: ldfld Verse.Pawn_HealthTracker health
L_0b0d: ldfld Verse.PawnCapacitiesHandler capacities
L_0b12: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b14: ldfld Verse.PawnCapacityDef capacity
L_0b19: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0b1e: callvirt Single GetFactor(Single)
L_0b23: stloc.s 41 (System.Single)
L_0b25: ldloc.s 41 (System.Single)
L_0b27: call System.String ToStringPercent(Single)
L_0b2c: stloc.s 42 (System.String)
L_0b2e: ldstr "HealthFactorPercentImpact"
L_0b33: ldc.i4.1
L_0b34: newarr System.Object
L_0b39: dup
L_0b3a: ldc.i4.0
L_0b3b: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b3d: ldfld System.Single weight
L_0b42: call System.String ToStringPercent(Single)
L_0b47: stelem.ref
L_0b48: call System.String Translate(System.String, System.Object[])
L_0b4d: stloc.s 43 (System.String)
L_0b4f: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b51: ldfld System.Single max
L_0b56: ldc.r4 999
L_0b5b: bge.un Label61
L_0b60: ldloc.s 43 (System.String)
L_0b62: ldstr ", "
L_0b67: ldstr "HealthFactorMaxImpact"
L_0b6c: ldc.i4.1
L_0b6d: newarr System.Object
L_0b72: dup
L_0b73: ldc.i4.0
L_0b74: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b76: ldfld System.Single max
L_0b7b: call System.String ToStringPercent(Single)
L_0b80: stelem.ref
L_0b81: call System.String Translate(System.String, System.Object[])
L_0b86: call System.String Concat(System.String, System.String,
System.String)
L_0b8b: stloc.s 43 (System.String)
L_0b8d: Label61
L_0b8d: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b8f: ldfld System.Single allowedDefect
L_0b94: ldc.r4 0
L_0b99: beq Label62
L_0b9e: ldloc.s 43 (System.String)
L_0ba0: ldstr ", "
L_0ba5: ldstr "HealthFactorAllowedDefect"
L_0baa: ldc.i4.1
L_0bab: newarr System.Object
L_0bb0: dup
L_0bb1: ldc.i4.0
L_0bb2: ldc.r4 1
L_0bb7: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0bb9: ldfld System.Single allowedDefect
L_0bbe: sub
L_0bbf: call System.String ToStringPercent(Single)
L_0bc4: stelem.ref
L_0bc5: call System.String Translate(System.String, System.Object[])
L_0bca: call System.String Concat(System.String, System.String,
System.String)
L_0bcf: stloc.s 43 (System.String)
L_0bd1: Label62
L_0bd1: ldloc.0
L_0bd2: ldc.i4.7
L_0bd3: newarr System.String
L_0bd8: dup
L_0bd9: ldc.i4.0
L_0bda: ldstr " "
L_0bdf: stelem.ref
L_0be0: dup
L_0be1: ldc.i4.1
L_0be2: ldloc.s 40 (System.String)
L_0be4: stelem.ref
L_0be5: dup
L_0be6: ldc.i4.2
L_0be7: ldstr ": x"
L_0bec: stelem.ref
L_0bed: dup
L_0bee: ldc.i4.3
L_0bef: ldloc.s 42 (System.String)
L_0bf1: stelem.ref
L_0bf2: dup
L_0bf3: ldc.i4.4
L_0bf4: ldstr " ("
L_0bf9: stelem.ref
L_0bfa: dup
L_0bfb: ldc.i4.5
L_0bfc: ldloc.s 43 (System.String)
L_0bfe: stelem.ref
L_0bff: dup
L_0c00: ldc.i4.6
L_0c01: ldstr ")"
L_0c06: stelem.ref
L_0c07: call System.String Concat(System.String[])
L_0c0c: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0c11: pop
L_0c12: Label60
L_0c12: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c14: callvirt Boolean MoveNext()
L_0c19: brtrue Label63
L_0c1e: leave Label64
L_0c23: leave (autogenerated)
} // end try
.finally
{
L_0c28: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c2a: brfalse Label65
L_0c2f: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c31: callvirt Void Dispose()
L_0c36: Label65
L_0c36: endfinally
L_0c37: leave (autogenerated)
} // end handler
L_0c38: Label58
L_0c38: Label64
L_0c38: ldloc.0
L_0c39: callvirt System.Text.StringBuilder AppendLine()
L_0c3e: pop
L_0c3f: Label55
L_0c3f: ldloc.2
L_0c40: callvirt Boolean get_Inspired()
L_0c45: brfalse Label66
L_0c4a: ldloc.2
L_0c4b: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0c50: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_0c55: ldarg.0
L_0c56: ldfld RimWorld.StatDef stat
L_0c5b: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0c60: stloc.s 44 (System.Single)
L_0c62: ldloc.s 44 (System.Single)
L_0c64: ldc.r4 0
L_0c69: beq Label67
L_0c6e: ldloc.0
L_0c6f: ldstr "StatsReport_Inspiration"
L_0c74: ldc.i4.1
L_0c75: newarr System.Object
L_0c7a: dup
L_0c7b: ldc.i4.0
L_0c7c: ldloc.2
L_0c7d: callvirt RimWorld.Inspiration get_Inspiration()
L_0c82: ldfld RimWorld.InspirationDef def
L_0c87: callvirt System.String get_LabelCap()
L_0c8c: stelem.ref
L_0c8d: call System.String Translate(System.String, System.Object[])
L_0c92: ldstr ": "
L_0c97: ldarg.0
L_0c98: ldloc.s 44 (System.Single)
L_0c9a: ldc.i4.0
L_0c9b: ldc.i4.3
L_0c9c: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0ca1: call System.String Concat(System.String, System.String, System.String)
L_0ca6: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0cab: pop
L_0cac: ldloc.0
L_0cad: callvirt System.Text.StringBuilder AppendLine()
L_0cb2: pop
L_0cb3: Label67
L_0cb3: ldloc.2
L_0cb4: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0cb9: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0cbe: ldarg.0
L_0cbf: ldfld RimWorld.StatDef stat
L_0cc4: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0cc9: stloc.s 45 (System.Single)
L_0ccb: ldloc.s 45 (System.Single)
L_0ccd: ldc.r4 1
L_0cd2: beq Label68
L_0cd7: ldloc.0
L_0cd8: ldstr "StatsReport_Inspiration"
L_0cdd: ldc.i4.1
L_0cde: newarr System.Object
L_0ce3: dup
L_0ce4: ldc.i4.0
L_0ce5: ldloc.2
L_0ce6: callvirt RimWorld.Inspiration get_Inspiration()
L_0ceb: ldfld RimWorld.InspirationDef def
L_0cf0: callvirt System.String get_LabelCap()
L_0cf5: stelem.ref
L_0cf6: call System.String Translate(System.String, System.Object[])
L_0cfb: ldstr ": "
L_0d00: ldloc.s 45 (System.Single)
L_0d02: ldc.i4.8
L_0d03: ldc.i4.2
L_0d04: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0d09: call System.String Concat(System.String, System.String, System.String)
L_0d0e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0d13: pop
L_0d14: ldloc.0
L_0d15: callvirt System.Text.StringBuilder AppendLine()
L_0d1a: pop
L_0d1b: Label48
L_0d1b: Label66
L_0d1b: Label68
L_0d1b: ldloc.0
L_0d1c: callvirt System.String ToString()
L_0d21: call System.String TrimEndNewlines(System.String)
L_0d26: ret
DONE

### Patch RimWorld.StatWorker, Single GetValueUnfinalized(StatRequest, Boolean)


L_0000: Local var 0: System.Single
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.PawnCapacityOffset
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.HediffStage
L_0000: Local var 9: System.Int32
L_0000: Local var 10: System.Int32
L_0000: Local var 11: RimWorld.CompAffectedByFacilities
L_0000: Local var 12: System.Int32
L_0000: Local var 13: System.Int32
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.PawnCapacityFactor
L_0000: Local var 16: System.Single
L_0000: Local var 17: System.Single
L_0000: ldc.r4 0
L_0005: stloc 17 (System.Single)
L_0007: call Boolean get_DevMode()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldarga.s 1
L_0014: call Verse.Thing get_Thing()
L_0019: callvirt Boolean IsDisabledFor(Verse.Thing)
L_001e: brfalse Label2
L_0023: ldstr "Attempted to calculate value for disabled stat {0}; this is meant as
a consistency check, either set the stat to neverDisabled or ensure this pawn
cannot accidentally use this stat (thing={1})"
L_0028: ldarg.0
L_0029: ldfld RimWorld.StatDef stat
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Thing()
L_0035: call System.String ToStringSafe[Thing](Verse.Thing)
L_003a: call System.String Format(System.String, System.Object, System.Object)
L_003f: ldc.i4 75193282
L_0044: ldarg.0
L_0045: ldfld RimWorld.StatDef stat
L_004a: ldfld System.UInt16 index
L_004f: add
L_0050: ldc.i4.0
L_0051: call Void ErrorOnce(System.String, Int32, Boolean)
L_0056: Label1
L_0056: Label2
L_0056: ldarg.0
L_0057: ldarga.s 1
L_0059: call Verse.BuildableDef get_Def()
L_005e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0063: stloc.0
L_0064: ldarga.s 1
L_0066: call Verse.Thing get_Thing()
L_006b: isinst Verse.Pawn
L_0070: stloc.1
L_0071: ldloc.1
L_0072: brfalse Label3
L_0077: ldloc.1
L_0078: ldfld RimWorld.Pawn_SkillTracker skills
L_007d: brfalse Label4
L_0082: ldarg.0
L_0083: ldfld RimWorld.StatDef stat
L_0088: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_008d: brfalse Label5
L_0092: ldc.i4.0
L_0093: stloc.2
L_0094: br Label6
L_0099: Label7
L_0099: ldloc.0
L_009a: ldarg.0
L_009b: ldfld RimWorld.StatDef stat
L_00a0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00a5: ldloc.2
L_00a6: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00ab: ldloc.1
L_00ac: callvirt Single ValueFor(Verse.Pawn)
L_00b1: add
L_00b2: stloc.0
L_00b3: ldloc.2
L_00b4: ldc.i4.1
L_00b5: add
L_00b6: stloc.2
L_00b7: Label6
L_00b7: ldloc.2
L_00b8: ldarg.0
L_00b9: ldfld RimWorld.StatDef stat
L_00be: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00c3: callvirt Int32 get_Count()
L_00c8: blt Label7
L_00cd: Label5
L_00cd: br Label8
L_00d2: Label4
L_00d2: ldloc.0
L_00d3: ldarg.0
L_00d4: ldfld RimWorld.StatDef stat
L_00d9: ldfld System.Single noSkillOffset
L_00de: add
L_00df: stloc.0
L_00e0: Label8
L_00e0: ldarg.0
L_00e1: ldfld RimWorld.StatDef stat
L_00e6: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_00eb: brfalse Label9
L_00f0: ldc.i4.0
L_00f1: stloc.3
L_00f2: br Label10
L_00f7: Label11
L_00f7: ldarg.0
L_00f8: ldfld RimWorld.StatDef stat
L_00fd: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_0102: ldloc.3
L_0103: callvirt RimWorld.PawnCapacityOffset get_Item(Int32)
L_0108: stloc.s 4 (RimWorld.PawnCapacityOffset)
L_010a: ldloc.0
L_010b: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_010d: ldloc.1
L_010e: ldfld Verse.Pawn_HealthTracker health
L_0113: ldfld Verse.PawnCapacitiesHandler capacities
L_0118: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_011a: ldfld Verse.PawnCapacityDef capacity
L_011f: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0124: callvirt Single GetOffset(Single)
L_0129: add
L_012a: stloc.0
L_012b: ldloc.3
L_012c: ldc.i4.1
L_012d: add
L_012e: stloc.3
L_012f: Label10
L_012f: ldloc.3
L_0130: ldarg.0
L_0131: ldfld RimWorld.StatDef stat
L_0136: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_013b: callvirt Int32 get_Count()
L_0140: blt Label11
L_0145: Label9
L_0145: ldloc.1
L_0146: ldfld RimWorld.Pawn_StoryTracker story
L_014b: brfalse Label12
L_0150: ldc.i4.0
L_0151: stloc.s 5 (System.Int32)
L_0153: br Label13
L_0158: Label14
L_0158: ldloc.0
L_0159: ldloc.1
L_015a: ldfld RimWorld.Pawn_StoryTracker story
L_015f: ldfld RimWorld.TraitSet traits
L_0164: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0169: ldloc.s 5 (System.Int32)
L_016b: callvirt RimWorld.Trait get_Item(Int32)
L_0170: ldarg.0
L_0171: ldfld RimWorld.StatDef stat
L_0176: callvirt Single OffsetOfStat(RimWorld.StatDef)
L_017b: add
L_017c: stloc.0
L_017d: ldloc.s 5 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 5 (System.Int32)
L_0183: Label13
L_0183: ldloc.s 5 (System.Int32)
L_0185: ldloc.1
L_0186: ldfld RimWorld.Pawn_StoryTracker story
L_018b: ldfld RimWorld.TraitSet traits
L_0190: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0195: callvirt Int32 get_Count()
L_019a: blt Label14
L_019f: Label12
L_019f: ldloc.1
L_01a0: ldfld Verse.Pawn_HealthTracker health
L_01a5: ldfld Verse.HediffSet hediffSet
L_01aa: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_01af: stloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01b1: ldc.i4.0
L_01b2: stloc.s 7 (System.Int32)
L_01b4: br Label15
L_01b9: Label17
L_01b9: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01bb: ldloc.s 7 (System.Int32)
L_01bd: callvirt Verse.Hediff get_Item(Int32)
L_01c2: callvirt Verse.HediffStage get_CurStage()
L_01c7: stloc.s 8 (Verse.HediffStage)
L_01c9: ldloc.s 8 (Verse.HediffStage)
L_01cb: brfalse Label16
L_01d0: ldloc.0
L_01d1: ldloc.s 8 (Verse.HediffStage)
L_01d3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_01d8: ldarg.0
L_01d9: ldfld RimWorld.StatDef stat
L_01de: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_01e3: add
L_01e4: stloc.0
L_01e5: Label16
L_01e5: ldloc.s 7 (System.Int32)
L_01e7: ldc.i4.1
L_01e8: add
L_01e9: stloc.s 7 (System.Int32)
L_01eb: Label15
L_01eb: ldloc.s 7 (System.Int32)
L_01ed: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01ef: callvirt Int32 get_Count()
L_01f4: blt Label17
L_01f9: ldloc.1
L_01fa: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ff: brfalse Label18
L_0204: ldc.i4.0
L_0205: stloc.s 9 (System.Int32)
L_0207: br Label19
L_020c: Label20
L_020c: ldloc.0
L_020d: ldloc.1
L_020e: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0213: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0218: ldloc.s 9 (System.Int32)
L_021a: callvirt RimWorld.Apparel get_Item(Int32)
L_021f: ldarg.0
L_0220: ldfld RimWorld.StatDef stat
L_0225: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_022a: add
L_022b: stloc.0
L_022c: ldloc.s 9 (System.Int32)
L_022e: ldc.i4.1
L_022f: add
L_0230: stloc.s 9 (System.Int32)
L_0232: Label19
L_0232: ldloc.s 9 (System.Int32)
L_0234: ldloc.1
L_0235: ldfld RimWorld.Pawn_ApparelTracker apparel
L_023a: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_023f: callvirt Int32 get_Count()
L_0244: blt Label20
L_0249: Label18
L_0249: ldloc.1
L_024a: ldfld Verse.Pawn_EquipmentTracker equipment
L_024f: brfalse Label21
L_0254: ldloc.1
L_0255: ldfld Verse.Pawn_EquipmentTracker equipment
L_025a: callvirt Verse.ThingWithComps get_Primary()
L_025f: brfalse Label22
L_0264: ldloc.0
L_0265: ldloc.1
L_0266: ldfld Verse.Pawn_EquipmentTracker equipment
L_026b: callvirt Verse.ThingWithComps get_Primary()
L_0270: ldarg.0
L_0271: ldfld RimWorld.StatDef stat
L_0276: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_027b: add
L_027c: stloc.0
L_027d: Label21
L_027d: Label22
L_027d: ldloc.1
L_027e: ldfld RimWorld.Pawn_StoryTracker story
L_0283: brfalse Label23
L_0288: ldc.i4.0
L_0289: stloc.s 10 (System.Int32)
L_028b: br Label24
L_0290: Label25
L_0290: ldloc.0
L_0291: ldloc.1
L_0292: ldfld RimWorld.Pawn_StoryTracker story
L_0297: ldfld RimWorld.TraitSet traits
L_029c: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02a1: ldloc.s 10 (System.Int32)
L_02a3: callvirt RimWorld.Trait get_Item(Int32)
L_02a8: ldarg.0
L_02a9: ldfld RimWorld.StatDef stat
L_02ae: callvirt Single MultiplierOfStat(RimWorld.StatDef)
L_02b3: mul
L_02b4: stloc.0
L_02b5: ldloc.s 10 (System.Int32)
L_02b7: ldc.i4.1
L_02b8: add
L_02b9: stloc.s 10 (System.Int32)
L_02bb: Label24
L_02bb: ldloc.s 10 (System.Int32)
L_02bd: ldloc.1
L_02be: ldfld RimWorld.Pawn_StoryTracker story
L_02c3: ldfld RimWorld.TraitSet traits
L_02c8: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02cd: callvirt Int32 get_Count()
L_02d2: blt Label25
L_02d7: Label23
L_02d7: ldloc.0
L_02d8: ldloc.1
L_02d9: ldfld Verse.Pawn_AgeTracker ageTracker
L_02de: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_02e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_02e8: ldarg.0
L_02e9: ldfld RimWorld.StatDef stat
L_02ee: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_02f3: mul
L_02f4: stloc.0
L_02f5: Label3
L_02f5: ldarga.s 1
L_02f7: call Verse.ThingDef get_StuffDef()
L_02fc: brfalse Label26
L_0301: ldloc.0
L_0302: ldc.r4 0
L_0307: bgt Label27
L_030c: ldarg.0
L_030d: ldfld RimWorld.StatDef stat
L_0312: ldfld System.Boolean applyFactorsIfNegative
L_0317: brfalse Label28
L_031c: Label27
L_031c: ldloc.0
L_031d: ldarga.s 1
L_031f: call Verse.ThingDef get_StuffDef()
L_0324: ldfld Verse.StuffProperties stuffProps
L_0329: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_032e: ldarg.0
L_032f: ldfld RimWorld.StatDef stat
L_0334: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0339: mul
L_033a: stloc.0
L_033b: Label28
L_033b: ldloc.0
L_033c: ldarga.s 1
L_033e: call Verse.ThingDef get_StuffDef()
L_0343: ldfld Verse.StuffProperties stuffProps
L_0348: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_034d: ldarg.0
L_034e: ldfld RimWorld.StatDef stat
L_0353: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0358: add
L_0359: stloc.0
L_035a: Label26
L_035a: ldarga.s 1
L_035c: call Boolean get_HasThing()
L_0361: brfalse Label29
L_0366: ldarga.s 1
L_0368: call Verse.Thing get_Thing()
L_036d: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0372: stloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0374: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0376: brfalse Label30
L_037b: ldloc.0
L_037c: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_037e: ldarg.0
L_037f: ldfld RimWorld.StatDef stat
L_0384: callvirt Single GetStatOffset(RimWorld.StatDef)
L_0389: add
L_038a: stloc.0
L_038b: Label30
L_038b: ldarg.0
L_038c: ldfld RimWorld.StatDef stat
L_0391: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0396: brfalse Label31
L_039b: ldc.i4.0
L_039c: stloc.s 12 (System.Int32)
L_039e: br Label32
L_03a3: Label33
L_03a3: ldloc.0
L_03a4: ldarga.s 1
L_03a6: call Verse.Thing get_Thing()
L_03ab: ldarg.0
L_03ac: ldfld RimWorld.StatDef stat
L_03b1: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03b6: ldloc.s 12 (System.Int32)
L_03b8: callvirt RimWorld.StatDef get_Item(Int32)
L_03bd: ldc.i4.1
L_03be: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_03c3: mul
L_03c4: stloc.0
L_03c5: ldloc.s 12 (System.Int32)
L_03c7: ldc.i4.1
L_03c8: add
L_03c9: stloc.s 12 (System.Int32)
L_03cb: Label32
L_03cb: ldloc.s 12 (System.Int32)
L_03cd: ldarg.0
L_03ce: ldfld RimWorld.StatDef stat
L_03d3: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03d8: callvirt Int32 get_Count()
L_03dd: blt Label33
L_03e2: Label31
L_03e2: ldloc.1
L_03e3: brfalse Label34
L_03e8: ldloc.1
L_03e9: ldfld RimWorld.Pawn_SkillTracker skills
L_03ee: brfalse Label35
L_03f3: ldarg.0
L_03f4: ldfld RimWorld.StatDef stat
L_03f9: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_03fe: brfalse Label36
L_0403: ldc.i4.0
L_0404: stloc.s 13 (System.Int32)
L_0406: br Label37
L_040b: Label38
L_040b: ldloc.0
L_040c: ldarg.0
L_040d: ldfld RimWorld.StatDef stat
L_0412: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0417: ldloc.s 13 (System.Int32)
L_0419: callvirt RimWorld.SkillNeed get_Item(Int32)
L_041e: ldloc.1
L_041f: callvirt Single ValueFor(Verse.Pawn)
L_0424: mul
L_0425: stloc.0
L_0426: ldloc.s 13 (System.Int32)
L_0428: ldc.i4.1
L_0429: add
L_042a: stloc.s 13 (System.Int32)
L_042c: Label37
L_042c: ldloc.s 13 (System.Int32)
L_042e: ldarg.0
L_042f: ldfld RimWorld.StatDef stat
L_0434: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0439: callvirt Int32 get_Count()
L_043e: blt Label38
L_0443: Label36
L_0443: br Label39
L_0448: Label35
L_0448: ldloc.0
L_0449: ldarg.0
L_044a: ldfld RimWorld.StatDef stat
L_044f: ldfld System.Single noSkillFactor
L_0454: mul
L_0455: stloc.0
L_0456: Label39
L_0456: ldarg.0
L_0457: ldfld RimWorld.StatDef stat
L_045c: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0461: brfalse Label40
L_0466: ldc.i4.0
L_0467: stloc.s 14 (System.Int32)
L_0469: br Label41
L_046e: Label42
L_046e: ldarg.0
L_046f: ldfld RimWorld.StatDef stat
L_0474: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0479: ldloc.s 14 (System.Int32)
L_047b: callvirt RimWorld.PawnCapacityFactor get_Item(Int32)
L_0480: stloc.s 15 (RimWorld.PawnCapacityFactor)
L_0482: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0484: ldloc.1
L_0485: ldfld Verse.Pawn_HealthTracker health
L_048a: ldfld Verse.PawnCapacitiesHandler capacities
L_048f: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0491: ldfld Verse.PawnCapacityDef capacity
L_0496: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_049b: callvirt Single GetFactor(Single)
L_04a0: stloc.s 16 (System.Single)
L_04a2: ldloc.0
L_04a3: ldloc.0
L_04a4: ldloc.s 16 (System.Single)
L_04a6: mul
L_04a7: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_04a9: ldfld System.Single weight
L_04ae: call Single Lerp(Single, Single, Single)
L_04b3: stloc.0
L_04b4: ldloc.s 14 (System.Int32)
L_04b6: ldc.i4.1
L_04b7: add
L_04b8: stloc.s 14 (System.Int32)
L_04ba: Label41
L_04ba: ldloc.s 14 (System.Int32)
L_04bc: ldarg.0
L_04bd: ldfld RimWorld.StatDef stat
L_04c2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_04c7: callvirt Int32 get_Count()
L_04cc: blt Label42
L_04d1: Label40
L_04d1: ldloc.1
L_04d2: callvirt Boolean get_Inspired()
L_04d7: brfalse Label43
L_04dc: ldloc.0
L_04dd: ldloc.1
L_04de: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_04e8: ldarg.0
L_04e9: ldfld RimWorld.StatDef stat
L_04ee: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_04f3: add
L_04f4: stloc.0
L_04f5: ldloc.0
L_04f6: ldloc.1
L_04f7: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04fc: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0501: ldarg.0
L_0502: ldfld RimWorld.StatDef stat
L_0507: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_050c: mul
L_050d: stloc.0
L_050e: Label29
L_050e: Label34
L_050e: Label43
L_050e: ldloc.0
L_050f: stloc 17 (System.Single)
L_0511: ldarg.0
L_0512: ldloca 17 (System.Single)
L_0514: ldarga 1
L_051a: ldarg 2
L_0520: call Void Patch_StatWorker_GetValueUnfinalized(RimWorld.StatWorker, Single
ByRef, StatRequest ByRef, Boolean)
L_0525: ldloc 17 (System.Single)
L_0527: ret
DONE

### Patch RimWorld.Dialog_ManageAreas, Void .ctor(Map)


L_0000: ldarg.0
L_0001: call Void .ctor()
L_0006: ldarg.0
L_0007: ldarg.1
L_0008: stfld Verse.Map map
L_000d: ldarg.0
L_000e: ldc.i4.1
L_000f: stfld System.Boolean forcePause
L_0014: ldarg.0
L_0015: ldc.i4.1
L_0016: stfld System.Boolean doCloseX
L_001b: ldarg.0
L_001c: ldc.i4.1
L_001d: stfld System.Boolean doCloseButton
L_0022: ldarg.0
L_0023: ldc.i4.1
L_0024: stfld System.Boolean closeOnClickedOutside
L_0029: ldarg.0
L_002a: ldc.i4.1
L_002b: stfld System.Boolean absorbInputAroundWindow
L_0030: call Void Postfix()
L_0035: ret
DONE

### Patch RimWorld.Area_Allowed, Int32 get_ListPriority()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldc.i4 500
L_000b: stloc 0 (System.Int32)
L_000c: ldarg.0
L_000d: ldloca 0 (System.Int32)
L_000f: call Void ListPriority_Postfix(RimWorld.Area_Allowed, Int32 ByRef)
L_0014: ldloc 0 (System.Int32)
L_0015: ret
DONE

### Patch RimWorld.InspectGizmoGrid, Void DrawInspectGizmoGridFor(IEnumerable`1,


Verse.Gizmo ByRef)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.ISelectable
L_0000: Local var 2: System.Int32
L_0000: Local var 3:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1
L_0000: Local var 4: System.Collections.Generic.List`1[[Verse.Designator, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 5: System.Int32
L_0000: Local var 6:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0
L_0000: Local var 7: Verse.AcceptanceReport
L_0000: Local var 8: System.Single
L_0000: Local var 9: UnityEngine.Vector2
L_0000: Local var 10: Verse.Command_Action
L_0000: Local var 11: System.Exception
L_0000: call Void ClearReverseDesignatorPairs()
L_0005: ldarg.1
L_0006: ldnull
L_0007: stind.ref
.try
{
L_0008: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_000d: callvirt Void Clear()
L_0012: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0017: ldarg.0
L_0018: callvirt Void AddRange(IEnumerable`1)
L_001d: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0022: callvirt Void Clear()
L_0027: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_002c: call IEnumerable`1 GetStopGizmos()
L_0031: call Void AddRange(IEnumerable`1)
L_0036: ldc.i4.0
L_0037: stloc.0
L_0038: br Label1
L_003d: Label3
L_003d: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0042: ldloc.0
L_0043: callvirt System.Object get_Item(Int32)
L_0048: isinst Verse.ISelectable
L_004d: stloc.1
L_004e: ldloc.1
L_004f: brfalse Label2
L_0054: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0059: ldloc.1
L_005a: callvirt IEnumerable`1 GetGizmos()
L_005f: callvirt Void AddRange(IEnumerable`1)
L_0064: Label2
L_0064: ldloc.0
L_0065: ldc.i4.1
L_0066: add
L_0067: stloc.0
L_0068: Label1
L_0068: ldloc.0
L_0069: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_006e: callvirt Int32 get_Count()
L_0073: blt Label3
L_0078: ldc.i4.0
L_0079: stloc.2
L_007a: br Label4
L_007f: Label12
L_007f: newobj Void .ctor()
L_0084: stloc.3
L_0085: ldloc.3
L_0086: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_008b: ldloc.2
L_008c: callvirt System.Object get_Item(Int32)
L_0091: isinst Verse.Thing
L_0096: stfld Verse.Thing t
L_009b: ldloc.3
L_009c: ldfld Verse.Thing t
L_00a1: brtrue Label5
L_00a6: leave Label6
L_00ab: Label5
L_00ab: call Verse.ReverseDesignatorDatabase get_ReverseDesignatorDatabase()
L_00b0: callvirt System.Collections.Generic.List`1[Verse.Designator]
get_AllDesignators()
L_00b5: stloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00b7: ldc.i4.0
L_00b8: stloc.s 5 (System.Int32)
L_00ba: br Label7
L_00bf: Label11
L_00bf: newobj Void .ctor()
L_00c4: stloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c8: ldloc.3
L_00c9: stfld
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1 <>f__ref$1
L_00ce: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00d0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00d2: ldloc.s 5 (System.Int32)
L_00d4: callvirt Verse.Designator get_Item(Int32)
L_00d9: stfld Verse.Designator des
L_00de: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00e0: ldfld Verse.Designator des
L_00e5: ldloc.3
L_00e6: ldfld Verse.Thing t
L_00eb: callvirt AcceptanceReport CanDesignateThing(Verse.Thing)
L_00f0: stloc.s 7 (Verse.AcceptanceReport)
L_00f2: ldloca.s 7 (Verse.AcceptanceReport)
L_00f4: call Boolean get_Accepted()
L_00f9: brfalse Label8
L_00fe: newobj Void .ctor()
L_0103: stloc.s 10 (Verse.Command_Action)
L_0105: ldloc.s 10 (Verse.Command_Action)
L_0107: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0109: ldfld Verse.Designator des
L_010e: ldloc.3
L_010f: ldfld Verse.Thing t
L_0114: callvirt System.String LabelCapReverseDesignating(Verse.Thing)
L_0119: stfld System.String defaultLabel
L_011e: ldloc.s 10 (Verse.Command_Action)
L_0120: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0122: ldfld Verse.Designator des
L_0127: ldloc.3
L_0128: ldfld Verse.Thing t
L_012d: ldloca.s 8 (System.Single)
L_012f: ldloca.s 9 (UnityEngine.Vector2)
L_0131: callvirt UnityEngine.Texture2D IconReverseDesignating(Verse.Thing,
Single ByRef, Vector2 ByRef)
L_0136: stfld UnityEngine.Texture2D icon
L_013b: ldloc.s 10 (Verse.Command_Action)
L_013d: ldloc.s 8 (System.Single)
L_013f: stfld System.Single iconAngle
L_0144: ldloc.s 10 (Verse.Command_Action)
L_0146: ldloc.s 9 (UnityEngine.Vector2)
L_0148: stfld UnityEngine.Vector2 iconOffset
L_014d: ldloc.s 10 (Verse.Command_Action)
L_014f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0151: ldfld Verse.Designator des
L_0156: ldloc.3
L_0157: ldfld Verse.Thing t
L_015c: callvirt System.String DescReverseDesignating(Verse.Thing)
L_0161: stfld System.String defaultDesc
L_0166: ldloc.s 10 (Verse.Command_Action)
L_0168: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_016a: ldfld Verse.Designator des
L_016f: isinst RimWorld.Designator_Uninstall
L_0174: brfalse Label9
L_0179: ldc.r4 -11
L_017e: br Label10
L_0183: Label9
L_0183: ldc.r4 -20
L_0188: Label10
L_0188: stfld System.Single order
L_018d: ldloc.s 10 (Verse.Command_Action)
L_018f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0191: ldftn Void <>m__0()
L_0197: newobj Void .ctor(Object, IntPtr)
L_019c: stfld System.Action action
L_01a1: ldloc.s 10 (Verse.Command_Action)
L_01a3: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01a5: ldfld Verse.Designator des
L_01aa: ldfld Verse.KeyBindingDef hotKey
L_01af: stfld Verse.KeyBindingDef hotKey
L_01b4: ldloc.s 10 (Verse.Command_Action)
L_01b6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01b8: ldfld Verse.Designator des
L_01bd: ldfld System.Int32 groupKey
L_01c2: stfld System.Int32 groupKey
L_01c7: ldloc.s 6
L_01cc: ldfld Verse.Designator des
L_01d1: ldloc 10
L_01d7: call Void RegisterReverseDesignatorPair(Verse.Designator,
Verse.Command_Action)
L_01dc: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_01e1: ldloc.s 10 (Verse.Command_Action)
L_01e3: callvirt Void Add(Verse.Gizmo)
L_01e8: Label8
L_01e8: ldloc.s 5 (System.Int32)
L_01ea: ldc.i4.1
L_01eb: add
L_01ec: stloc.s 5 (System.Int32)
L_01ee: Label7
L_01ee: ldloc.s 5 (System.Int32)
L_01f0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_01f2: callvirt Int32 get_Count()
L_01f7: blt Label11
L_01fc: Label6
L_01fc: ldloc.2
L_01fd: ldc.i4.1
L_01fe: add
L_01ff: stloc.2
L_0200: Label4
L_0200: ldloc.2
L_0201: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0206: callvirt Int32 get_Count()
L_020b: blt Label12
L_0210: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0215: callvirt Void Clear()
L_021a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_021f: call Verse.WindowStack get_WindowStack()
L_0224: callvirt IInspectPane WindowOfType[IInspectPane]()
L_0229: call Single PaneWidthFor(IInspectPane)
L_022e: ldc.r4 20
L_0233: add
L_0234: ldarg.1
L_0235: call Void DrawGizmoGrid(IEnumerable`1, Single, Verse.Gizmo ByRef)
L_023a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_023f: callvirt Void Clear()
L_0244: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0249: call IEnumerable`1 GetStopGizmos()
L_024e: call Void AddRange(IEnumerable`1)
L_0253: leave Label13
L_0258: leave (autogenerated)
} // end try
.catch System.Exception
{
L_025d: stloc.s 11 (System.Exception)
L_025f: ldloc.s 11 (System.Exception)
L_0261: callvirt System.String ToString()
L_0266: ldc.i4 3427734
L_026b: ldc.i4.0
L_026c: call Void ErrorOnce(System.String, Int32, Boolean)
L_0271: leave Label14
L_0276: leave (autogenerated)
} // end handler
L_027b: Label13
L_027b: Label14
L_027b: ret
DONE

### Patch Verse.PawnUIOverlay, Void DrawPawnGUIOverlay()


L_0000: Local var 0: Verse.AnimalNameDisplayMode
L_0000: Local var 1: UnityEngine.Vector2
L_0000: ldarg.0
L_0001: ldfld Verse.Pawn pawn
L_0006: callvirt Boolean get_Spawned()
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldfld Verse.Pawn pawn
L_0016: callvirt Verse.Map get_Map()
L_001b: ldfld Verse.FogGrid fogGrid
L_0020: ldarg.0
L_0021: ldfld Verse.Pawn pawn
L_0026: callvirt IntVec3 get_Position()
L_002b: callvirt Boolean IsFogged(IntVec3)
L_0030: brfalse Label2
L_0035: Label1
L_0035: br Label14
L_003a: Label2
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt Verse.RaceProperties get_RaceProps()
L_0045: callvirt Boolean get_Humanlike()
L_004a: brtrue Label3
L_004f: call AnimalNameDisplayMode get_AnimalNameMode()
L_0054: stloc.0
L_0055: ldloc.0
L_0056: brfalse Label4
L_005b: ldloc.0
L_005c: ldc.i4.2
L_005d: beq Label5
L_0062: ldloc.0
L_0063: ldc.i4.1
L_0064: beq Label6
L_0069: br Label7
L_006e: Label4
L_006e: br Label15
L_0073: Label5
L_0073: ldarg.0
L_0074: ldfld Verse.Pawn pawn
L_0079: callvirt Verse.Name get_Name()
L_007e: brtrue Label8
L_0083: br Label16
L_0088: Label8
L_0088: br Label9
L_008d: Label6
L_008d: ldarg.0
L_008e: ldfld Verse.Pawn pawn
L_0093: callvirt Verse.Name get_Name()
L_0098: brfalse Label10
L_009d: ldarg.0
L_009e: ldfld Verse.Pawn pawn
L_00a3: callvirt Verse.Name get_Name()
L_00a8: callvirt Boolean get_Numerical()
L_00ad: brfalse Label11
L_00b2: Label10
L_00b2: br Label17
L_00b7: Label11
L_00b7: br Label12
L_00bc: Label3
L_00bc: Label7
L_00bc: Label9
L_00bc: Label12
L_00bc: ldarg.0
L_00bd: ldfld Verse.Pawn pawn
L_00c2: ldc.r4 -0.6
L_00c7: call Vector2 LabelDrawPosFor(Verse.Thing, Single)
L_00cc: stloc.1
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: ldloc.1
L_00d4: ldc.r4 1
L_00d9: ldc.r4 9999
L_00de: ldnull
L_00df: ldc.i4.0
L_00e0: ldc.i4.1
L_00e1: ldc.i4.1
L_00e2: call Void DrawPawnLabel(Verse.Pawn, Vector2, Single, Single,
System.Collections.Generic.Dictionary`2[System.String,System.String], GameFont,
Boolean, Boolean)
L_00e7: ldarg.0
L_00e8: ldfld Verse.Pawn pawn
L_00ed: callvirt Boolean get_CanTradeNow()
L_00f2: brfalse Label13
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: callvirt Verse.Map get_Map()
L_0102: ldfld RimWorld.OverlayDrawer overlayDrawer
L_0107: ldarg.0
L_0108: ldfld Verse.Pawn pawn
L_010d: ldc.i4.s 32
L_010f: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0114: Label13
L_0114: Label14
L_0114: Label15
L_0114: Label16
L_0114: Label17
L_0114: ldarg.0
L_0115: call Void DrawPawnGUIOverlay(Verse.PawnUIOverlay)
L_011a: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ldarg.0
L_0424: ldarg 1
L_042a: ldarg 2
L_0430: ldarg 3
L_0436: call Void RenderPawnAt(Verse.PawnRenderer, Vector3, RotDrawMode, Boolean)
L_043b: ret
DONE

### Patch RimWorld.IncidentWorker_VisitorGroup, Boolean


TryConvertOnePawnToSmallTrader(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map)
L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: RimWorld.TraderKindDef
L_0000: Local var 3: RimWorld.ThingSetMakerParams
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: Verse.IntVec3
L_0000: Local var 8: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Boolean)
L_0007: ldarg.2
L_0008: ldfld RimWorld.FactionDef def
L_000d: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_0012: call Boolean NullOrEmpty[TraderKindDef](IList`1)
L_0017: brfalse Label1
L_001c: ldc.i4.0
L_001d: br Label10
L_0022: Label1
L_0022: ldarg.1
L_0023: call Verse.Pawn RandomElement[Pawn](IEnumerable`1)
L_0028: stloc.0
L_0029: ldloc.0
L_002a: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_002f: stloc.1
L_0030: ldloc.0
L_0031: ldfld Verse.AI.Pawn_MindState mindState
L_0036: ldc.i4.1
L_0037: stfld System.Boolean wantsToTradeWithColony
L_003c: ldloc.0
L_003d: ldc.i4.1
L_003e: call Void AddAndRemoveDynamicComponents(Verse.Pawn, Boolean)
L_0043: ldarg.2
L_0044: ldfld RimWorld.FactionDef def
L_0049: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_004e: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0053: brtrue Label2
L_0058: ldnull
L_0059: ldftn Single <TryConvertOnePawnToSmallTrader>m__0(RimWorld.TraderKindDef)
L_005f: newobj Void .ctor(Object, IntPtr)
L_0064: stsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0069: Label2
L_0069: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_006e: call RimWorld.TraderKindDef RandomElementByWeight[TraderKindDef]
(IEnumerable`1, System.Func`2[RimWorld.TraderKindDef,System.Single])
L_0073: stloc.2
L_0074: ldloc.0
L_0075: ldfld RimWorld.Pawn_TraderTracker trader
L_007a: ldloc.2
L_007b: stfld RimWorld.TraderKindDef traderKind
L_0080: ldloc.0
L_0081: ldfld Verse.Pawn_InventoryTracker inventory
L_0086: ldc.i4.0
L_0087: callvirt Void DestroyAll(DestroyMode)
L_008c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_008e: initobj RimWorld.ThingSetMakerParams
L_0094: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_0096: ldloc.2
L_0097: stfld RimWorld.TraderKindDef traderDef
L_009c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_009e: ldarg.3
L_009f: callvirt Int32 get_Tile()
L_00a4: newobj Void .ctor(Int32)
L_00a9: stfld System.Nullable`1[System.Int32] tile
L_00ae: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_00b0: ldarg.2
L_00b1: stfld RimWorld.Faction traderFaction
L_00b6: ldsfld RimWorld.ThingSetMakerDef TraderStock
L_00bb: ldfld RimWorld.ThingSetMaker root
L_00c0: ldloc.3
L_00c1: callvirt System.Collections.Generic.List`1[Verse.Thing]
Generate(ThingSetMakerParams)
L_00c6: callvirt Enumerator GetEnumerator()
L_00cb: stloc.s 5 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_00cd: br Label3
L_00d2: Label8
L_00d2: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_00d4: call Verse.Thing get_Current()
L_00d9: stloc.s 4 (Verse.Thing)
L_00db: ldloc.s 4 (Verse.Thing)
L_00dd: isinst Verse.Pawn
L_00e2: stloc.s 6 (Verse.Pawn)
L_00e4: ldloc.s 6 (Verse.Pawn)
L_00e6: brfalse Label4
L_00eb: ldloc.s 6 (Verse.Pawn)
L_00ed: callvirt RimWorld.Faction get_Faction()
L_00f2: ldloc.0
L_00f3: callvirt RimWorld.Faction get_Faction()
L_00f8: beq Label5
L_00fd: ldloc.s 6 (Verse.Pawn)
L_00ff: ldloc.0
L_0100: callvirt RimWorld.Faction get_Faction()
L_0105: ldnull
L_0106: callvirt Void SetFaction(RimWorld.Faction, Verse.Pawn)
L_010b: Label5
L_010b: ldloc.0
L_010c: callvirt IntVec3 get_Position()
L_0111: ldarg.3
L_0112: ldc.i4.5
L_0113: ldnull
L_0114: call IntVec3 RandomClosewalkCellNear(IntVec3, Verse.Map, Int32,
System.Predicate`1[Verse.IntVec3])
L_0119: stloc.s 7 (Verse.IntVec3)
L_011b: ldloc.s 6 (Verse.Pawn)
L_011d: ldloc.s 7 (Verse.IntVec3)
L_011f: ldarg.3
L_0120: ldc.i4.0
L_0121: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, WipeMode)
L_0126: pop
L_0127: ldloc.1
L_0128: ldloc.s 6 (Verse.Pawn)
L_012a: callvirt Void AddPawn(Verse.Pawn)
L_012f: br Label6
L_0134: Label4
L_0134: ldloc.0
L_0135: ldfld Verse.Pawn_InventoryTracker inventory
L_013a: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_013f: ldloc.s 4 (Verse.Thing)
L_0141: ldc.i4.1
L_0142: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0147: brtrue Label7
L_014c: ldloc.s 4 (Verse.Thing)
L_014e: ldc.i4.0
L_014f: callvirt Void Destroy(DestroyMode)
L_0154: Label3
L_0154: Label6
L_0154: Label7
L_0154: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0156: call Boolean MoveNext()
L_015b: brtrue Label8
L_0160: leave Label9
L_0165: leave (autogenerated)
} // end try
.finally
{
L_016a: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_016c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_0172: callvirt Void Dispose()
L_0177: endfinally
L_0178: leave (autogenerated)
} // end handler
L_0179: Label9
L_0179: ldloc.0
L_017a: call Void GiveRandomFood(Verse.Pawn)
L_017f: ldc.i4.1
L_0180: Label10
L_0180: stloc 8 (System.Boolean)
L_0182: ldarg 1
L_0188: ldarg 2
L_018e: ldarg 3
L_0194: ldloca 8 (System.Boolean)
L_0196: call Void AddQuestGiver(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map, Boolean ByRef)
L_019b: ldloc 8 (System.Boolean)
L_019d: ret
DONE

### Patch RimWorld.PawnGroupKindWorker_Trader, Void


GenerateGuards(RimWorld.PawnGroupMakerParms, RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Single
L_0000: Local var 1: RimWorld.PawnGenOption
L_0000: Local var 2:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnGenOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: Verse.PawnGenerationRequest
L_0000: Local var 4: Verse.PawnKindDef
L_0000: Local var 5: RimWorld.Faction
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Boolean
L_0000: Local var 8: System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var 9: System.Nullable`1[[Verse.Gender, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 10: Verse.Pawn
L_0000: ldarg.2
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0006: call Boolean Any[PawnGenOption]
(System.Collections.Generic.List`1[RimWorld.PawnGenOption])
L_000b: brtrue Label1
L_0010: br Label6
L_0015: Label1
L_0015: ldarg.1
L_0016: ldfld System.Single points
L_001b: stloc.0
L_001c: ldloc.0
L_001d: ldarg.2
L_001e: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0023: ldarg.1
L_0024: call IEnumerable`1 ChoosePawnGenOptionsByPoints(Single,
System.Collections.Generic.List`1[RimWorld.PawnGenOption],
RimWorld.PawnGroupMakerParms)
L_0029: callvirt IEnumerator`1 GetEnumerator()
L_002e: stloc.2
.try
{
L_002f: br Label2
L_0034: Label3
L_0034: ldloc.2
L_0035: callvirt RimWorld.PawnGenOption get_Current()
L_003a: stloc.1
L_003b: ldloca.s 3 (Verse.PawnGenerationRequest)
L_003d: ldloc.1
L_003e: ldfld Verse.PawnKindDef kind
L_0043: stloc.s 4 (Verse.PawnKindDef)
L_0045: ldarg.1
L_0046: ldfld RimWorld.Faction faction
L_004b: stloc.s 5 (RimWorld.Faction)
L_004d: ldarg.1
L_004e: ldfld System.Int32 tile
L_0053: stloc.s 6 (System.Int32)
L_0055: ldarg.1
L_0056: ldfld System.Boolean inhabitants
L_005b: stloc.s 7 (System.Boolean)
L_005d: ldloc.s 4 (Verse.PawnKindDef)
L_005f: ldloc.s 5 (RimWorld.Faction)
L_0061: ldc.i4.2
L_0062: ldloc.s 6 (System.Int32)
L_0064: ldc.i4.0
L_0065: ldc.i4.0
L_0066: ldc.i4.0
L_0067: ldc.i4.0
L_0068: ldc.i4.1
L_0069: ldc.i4.1
L_006a: ldc.r4 1
L_006f: ldc.i4.0
L_0070: ldc.i4.1
L_0071: ldc.i4.1
L_0072: ldloc.s 7 (System.Boolean)
L_0074: ldc.i4.0
L_0075: ldc.i4.0
L_0076: ldc.i4.0
L_0077: ldnull
L_0078: ldnull
L_0079: ldloca.s 8 (System.Nullable`1[System.Single])
L_007b: initobj System.Nullable`1[System.Single]
L_0081: ldloc.s 8 (System.Nullable`1[System.Single])
L_0083: ldloca.s 8 (System.Nullable`1[System.Single])
L_0085: initobj System.Nullable`1[System.Single]
L_008b: ldloc.s 8 (System.Nullable`1[System.Single])
L_008d: ldloca.s 8 (System.Nullable`1[System.Single])
L_008f: initobj System.Nullable`1[System.Single]
L_0095: ldloc.s 8 (System.Nullable`1[System.Single])
L_0097: ldloca.s 9 (System.Nullable`1[Verse.Gender])
L_0099: initobj System.Nullable`1[Verse.Gender]
L_009f: ldloc.s 9 (System.Nullable`1[Verse.Gender])
L_00a1: ldloca.s 8 (System.Nullable`1[System.Single])
L_00a3: initobj System.Nullable`1[System.Single]
L_00a9: ldloc.s 8 (System.Nullable`1[System.Single])
L_00ab: ldnull
L_00ac: call Void .ctor(PawnKindDef, Faction, PawnGenerationContext, Int32,
Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Single, Boolean, Boolean,
Boolean, Boolean, Boolean, Boolean, Boolean, Predicate`1, Predicate`1, Nullable`1,
Nullable`1, Nullable`1, Nullable`1, Nullable`1, String)
L_00b1: ldloc.3
L_00b2: call Verse.Pawn GeneratePawn(PawnGenerationRequest)
L_00b7: stloc.s 10 (Verse.Pawn)
L_00b9: ldarg.s 5
L_00bb: ldloc.s 10 (Verse.Pawn)
L_00bd: callvirt Void Add(Verse.Pawn)
L_00c2: Label2
L_00c2: ldloc.2
L_00c3: callvirt Boolean MoveNext()
L_00c8: brtrue Label3
L_00cd: leave Label4
L_00d2: leave (autogenerated)
} // end try
.finally
{
L_00d7: ldloc.2
L_00d8: brfalse Label5
L_00dd: ldloc.2
L_00de: callvirt Void Dispose()
L_00e3: Label5
L_00e3: endfinally
L_00e4: leave (autogenerated)
} // end handler
L_00e5: Label4
L_00e5: Label6
L_00e5: ldarg 1
L_00eb: ldarg 2
L_00f1: ldarg 3
L_00f7: ldarg 4
L_00fd: ldarg 5
L_0103: call Void AddQuestGiverTwo(RimWorld.PawnGroupMakerParms,
RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0108: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ldarga 0
L_1ea5: ldarga 1
L_1eab: ldarga 2
L_1eb1: call Void
FloatMenuMakerMap_AddHumanlikeOrdersToDismissTraders_PostFix(Vector3 ByRef,
Verse.Pawn ByRef, System.Collections.Generic.List`1[Verse.FloatMenuOption] ByRef)
L_1eb6: ldarg 0
L_1ebc: ldarg 1
L_1ec2: ldarg 2
L_1ec8: call Void AddHumanlikeOrders(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1ecd: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void PreOpen()


L_0000: ldarg.0
L_0001: call Void PreOpen()
L_0006: call Verse.GameInitData get_GameInitData()
L_000b: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0010: callvirt Int32 get_Count()
L_0015: ldc.i4.0
L_0016: ble Label1
L_001b: ldarg.0
L_001c: call Verse.GameInitData get_GameInitData()
L_0021: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0026: ldc.i4.0
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stfld Verse.Pawn curPawn
L_0031: Label1
L_0031: call Void PreOpenPostfix()
L_0036: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void DoWindowContents(Rect)


L_0000: Local var 0: UnityEngine.Rect
L_0000: Local var 1: UnityEngine.Rect
L_0000: Local var 2: UnityEngine.Rect
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void DrawPageTitle(Rect)
L_0007: ldarga.s 1
L_0009: dup
L_000a: call Single get_yMin()
L_000f: ldc.r4 45
L_0014: add
L_0015: call Void set_yMin(Single)
L_001a: ldarg.0
L_001b: ldarg.1
L_001c: ldstr "Start"
L_0021: call System.String Translate(System.String)
L_0026: ldnull
L_0027: ldnull
L_0028: ldc.i4.1
L_0029: call Void DoBottomButtons(Rect, System.String, System.String,
System.Action, Boolean)
L_002e: ldarga.s 1
L_0030: dup
L_0031: call Single get_yMax()
L_0036: ldc.r4 38
L_003b: sub
L_003c: call Void set_yMax(Single)
L_0041: ldarg.1
L_0042: stloc.0
L_0043: ldloca.s 0 (UnityEngine.Rect)
L_0045: ldc.r4 140
L_004a: call Void set_width(Single)
L_004f: ldarg.0
L_0050: ldloc.0
L_0051: call Void DrawPawnList(Rect)
L_0056: ldloc.0
L_0057: ldstr "ReorderPawn"
L_005c: call Void HighlightOpportunity(Rect, System.String)
L_0061: ldarg.1
L_0062: stloc.1
L_0063: ldloca.s 1 (UnityEngine.Rect)
L_0065: dup
L_0066: call Single get_xMin()
L_006b: ldc.r4 140
L_0070: add
L_0071: call Void set_xMin(Single)
L_0076: ldloc.1
L_0077: ldc.r4 141
L_007c: call Rect BottomPartPixels(Rect, Single)
L_0081: stloc.2
L_0082: ldloca.s 1 (UnityEngine.Rect)
L_0084: ldloca.s 2 (UnityEngine.Rect)
L_0086: call Single get_yMin()
L_008b: call Void set_yMax(Single)
L_0090: ldloc.1
L_0091: ldc.r4 4
L_0096: call Rect ContractedBy(Rect, Single)
L_009b: stloc.1
L_009c: ldloc.2
L_009d: ldc.r4 4
L_00a2: call Rect ContractedBy(Rect, Single)
L_00a7: stloc.2
L_00a8: ldarg.0
L_00a9: ldloc.1
L_00aa: call Void DrawPortraitArea(Rect)
L_00af: ldarg.0
L_00b0: ldloc.2
L_00b1: call Void DrawSkillSummaries(Rect)
L_00b6: ldarg 1
L_00bc: ldarg.0
L_00bd: call Void DoWindowContentsPostfix(Rect,
RimWorld.Page_ConfigureStartingPawns)
L_00c2: ret
DONE

### Patch Verse.Game, Void InitNewGame()


L_0000: Local var 0: System.String
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: RimWorld.Planet.Settlement
L_0000: Local var 3: System.Collections.Generic.List`1[[RimWorld.Planet.Settlement,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.ResearchProjectTagDef
L_0000: Local var 7:
System.Collections.Generic.List`1+Enumerator[[Verse.ResearchProjectTagDef,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: Verse.ResearchProjectDef
L_0000: Local var 9:
System.Collections.Generic.IEnumerator`1[[Verse.ResearchProjectDef, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: call IEnumerable`1 get_RunningMods()
L_0005: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_000a: brtrue Label1
L_000f: ldnull
L_0010: ldftn System.String <InitNewGame>m__1(Verse.ModContentPack)
L_0016: newobj Void .ctor(Object, IntPtr)
L_001b: stsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0020: Label1
L_0020: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0025: call IEnumerable`1 Select[ModContentPack,String](IEnumerable`1,
System.Func`2[Verse.ModContentPack,System.String])
L_002a: ldc.i4.0
L_002b: call System.String ToCommaList(IEnumerable`1, Boolean)
L_0030: stloc.0
L_0031: ldstr "Initializing new game with mods "
L_0036: ldloc.0
L_0037: call System.String Concat(System.String, System.String)
L_003c: ldc.i4.0
L_003d: call Void Message(System.String, Boolean)
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0048: call Boolean Any[Map](System.Collections.Generic.List`1[Verse.Map])
L_004d: brfalse Label2
L_0052: ldstr "Called InitNewGame() but there already is a map. There should be 0
maps..."
L_0057: ldc.i4.0
L_0058: call Void Error(System.String, Boolean)
L_005d: br Label22
L_0062: Label2
L_0062: ldarg.0
L_0063: ldfld Verse.GameInitData initData
L_0068: brtrue Label3
L_006d: ldstr "Called InitNewGame() but init data is null. Create it first."
L_0072: ldc.i4.0
L_0073: call Void Error(System.String, Boolean)
L_0078: br Label23
L_007d: Label3
L_007d: call Void UnloadUnusedUnityAssets()
L_0082: ldstr "InitNewGame"
L_0087: call Void Start(System.String)
.try
{
L_008c: ldc.i4.1
L_008d: call Void set_ProgramState(ProgramState)
L_0092: ldloca.s 1 (Verse.IntVec3)
L_0094: ldarg.0
L_0095: ldfld Verse.GameInitData initData
L_009a: ldfld System.Int32 mapSize
L_009f: ldc.i4.1
L_00a0: ldarg.0
L_00a1: ldfld Verse.GameInitData initData
L_00a6: ldfld System.Int32 mapSize
L_00ab: call Void .ctor(Int32, Int32, Int32)
L_00b0: ldnull
L_00b1: stloc.2
L_00b2: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_00b7: callvirt
System.Collections.Generic.List`1[RimWorld.Planet.Settlement] get_Settlements()
L_00bc: stloc.3
L_00bd: ldc.i4.0
L_00be: stloc.s 4 (System.Int32)
L_00c0: br Label4
L_00c5: Label7
L_00c5: ldloc.3
L_00c6: ldloc.s 4 (System.Int32)
L_00c8: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00cd: callvirt RimWorld.Faction get_Faction()
L_00d2: call RimWorld.Faction get_OfPlayer()
L_00d7: bne.un Label5
L_00dc: ldloc.3
L_00dd: ldloc.s 4 (System.Int32)
L_00df: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00e4: stloc.2
L_00e5: leave Label6
L_00ea: Label5
L_00ea: ldloc.s 4 (System.Int32)
L_00ec: ldc.i4.1
L_00ed: add
L_00ee: stloc.s 4 (System.Int32)
L_00f0: Label4
L_00f0: ldloc.s 4 (System.Int32)
L_00f2: ldloc.3
L_00f3: callvirt Int32 get_Count()
L_00f8: blt Label7
L_00fd: Label6
L_00fd: ldloc.2
L_00fe: brtrue Label8
L_0103: ldstr "Could not generate starting map because there is no any player
faction base."
L_0108: ldc.i4.0
L_0109: call Void Error(System.String, Boolean)
L_010e: Label8
L_010e: ldarg.0
L_010f: ldfld Verse.TickManager tickManager
L_0114: call Int32 get_ConfiguredTicksAbsAtGameStart()
L_0119: stfld System.Int32 gameStartAbsTick
L_011e: ldloc.1
L_011f: ldloc.2
L_0120: ldloc.2
L_0121: callvirt Verse.MapGeneratorDef get_MapGeneratorDef()
L_0126: ldloc.2
L_0127: callvirt IEnumerable`1 get_ExtraGenStepDefs()
L_012c: ldnull
L_012d: call Verse.Map GenerateMap(IntVec3, RimWorld.Planet.MapParent,
Verse.MapGeneratorDef, IEnumerable`1, System.Action`1[Verse.Map])
L_0132: stloc.s 5 (Verse.Map)
L_0134: ldarg.0
L_0135: ldfld RimWorld.Planet.World worldInt
L_013a: ldfld RimWorld.Planet.WorldInfo info
L_013f: ldloc.1
L_0140: stfld Verse.IntVec3 initialMapSize
L_0145: ldarg.0
L_0146: ldfld Verse.GameInitData initData
L_014b: ldfld System.Boolean permadeath
L_0150: brfalse Label9
L_0155: ldarg.0
L_0156: ldfld Verse.GameInfo info
L_015b: ldc.i4.1
L_015c: stfld System.Boolean permadeathMode
L_0161: ldarg.0
L_0162: ldfld Verse.GameInfo info
L_0167: call System.String GeneratePermadeathSaveName()
L_016c: stfld System.String permadeathModeUniqueName
L_0171: Label9
L_0171: ldsfld RimWorld.ThoughtDef NewColonyOptimism
L_0176: call Void GiveAllStartingPlayerPawnsThought(RimWorld.ThoughtDef)
L_017b: ldarg.0
L_017c: call Void FinalizeInit()
L_0181: call Verse.Game get_Game()
L_0186: ldloc.s 5 (Verse.Map)
L_0188: callvirt Void set_CurrentMap(Verse.Map)
L_018d: call Verse.CameraDriver get_CameraDriver()
L_0192: call IntVec3 get_PlayerStartSpot()
L_0197: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_019c: call Verse.CameraDriver get_CameraDriver()
L_01a1: callvirt Void ResetSize()
L_01a6: call Boolean get_PauseOnLoad()
L_01ab: brfalse Label10
L_01b0: ldarg.0
L_01b1: ldfld Verse.GameInitData initData
L_01b6: ldfld System.Boolean startedFromEntry
L_01bb: brfalse Label11
L_01c0: ldarg.0
L_01c1: ldftn Void <InitNewGame>m__2()
L_01c7: newobj Void .ctor(Object, IntPtr)
L_01cc: call Void ExecuteWhenFinished(System.Action)
L_01d1: Label10
L_01d1: Label11
L_01d1: call RimWorld.Scenario get_Scenario()
L_01d6: callvirt Void PostGameStart()
L_01db: call RimWorld.Faction get_OfPlayer()
L_01e0: ldfld RimWorld.FactionDef def
L_01e5: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01ea: brfalse Label12
L_01ef: call RimWorld.Faction get_OfPlayer()
L_01f4: ldfld RimWorld.FactionDef def
L_01f9: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01fe: callvirt Enumerator GetEnumerator()
L_0203: stloc.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
.try
{
L_0205: br Label13
L_020a: Label19
L_020a: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_020c: call Verse.ResearchProjectTagDef get_Current()
L_0211: stloc.s 6 (Verse.ResearchProjectTagDef)
L_0213: call IEnumerable`1 get_AllDefs()
L_0218: callvirt IEnumerator`1 GetEnumerator()
L_021d: stloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
.try
{
L_021f: br Label14
L_0224: Label16
L_0224: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0226: callvirt Verse.ResearchProjectDef get_Current()
L_022b: stloc.s 8 (Verse.ResearchProjectDef)
L_022d: ldloc.s 8 (Verse.ResearchProjectDef)
L_022f: ldloc.s 6 (Verse.ResearchProjectTagDef)
L_0231: callvirt Boolean HasTag(Verse.ResearchProjectTagDef)
L_0236: brfalse Label15
L_023b: ldarg.0
L_023c: ldfld RimWorld.ResearchManager researchManager
L_0241: ldloc.s 8 (Verse.ResearchProjectDef)
L_0243: ldc.i4.0
L_0244: ldnull
L_0245: callvirt Void FinishProject(Verse.ResearchProjectDef,
Boolean, Verse.Pawn)
L_024a: Label14
L_024a: Label15
L_024a: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_024c: callvirt Boolean MoveNext()
L_0251: brtrue Label16
L_0256: leave Label17
L_025b: leave (autogenerated)
} // end try
.finally
{
L_0260: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0262: brfalse Label18
L_0267: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0269: callvirt Void Dispose()
L_026e: Label18
L_026e: endfinally
L_026f: leave (autogenerated)
} // end handler
L_0270: Label13
L_0270: Label17
L_0270: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0272: call Boolean MoveNext()
L_0277: brtrue Label19
L_027c: leave Label20
L_0281: leave (autogenerated)
} // end try
.finally
{
L_0286: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0288: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef]
L_028e: callvirt Void Dispose()
L_0293: endfinally
L_0294: leave (autogenerated)
} // end handler
L_0295: Label12
L_0295: Label20
L_0295: call Void StartedNewGame()
L_029a: ldarg.0
L_029b: ldnull
L_029c: stfld Verse.GameInitData initData
L_02a1: leave Label21
L_02a6: leave (autogenerated)
} // end try
.finally
{
L_02ab: call Void End()
L_02b0: endfinally
L_02b1: leave (autogenerated)
} // end handler
L_02b2: Label21
L_02b2: Label22
L_02b2: Label23
L_02b2: call Void InitNewGamePostfix()
L_02b7: ret
DONE

### Patch RimWorld.MainTabWindow_Inspect, IEnumerable`1 get_CurTabs()


L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[Verse.InspectTabBase, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0002: ldarg.0
L_0003: call Int32 get_NumSelected()
L_0008: ldc.i4.1
L_0009: bne.un Label1
L_000e: ldarg.0
L_000f: call Verse.Thing get_SelThing()
L_0014: brfalse Label2
L_0019: ldarg.0
L_001a: call Verse.Thing get_SelThing()
L_001f: ldfld Verse.ThingDef def
L_0024: ldfld System.Collections.Generic.List`1[Verse.InspectTabBase]
inspectorTabsResolved
L_0029: brfalse Label3
L_002e: ldarg.0
L_002f: call Verse.Thing get_SelThing()
L_0034: callvirt IEnumerable`1 GetInspectTabs()
L_0039: br Label5
L_003e: Label2
L_003e: Label3
L_003e: ldarg.0
L_003f: call Verse.Zone get_SelZone()
L_0044: brfalse Label4
L_0049: ldarg.0
L_004a: call Verse.Zone get_SelZone()
L_004f: callvirt IEnumerable`1 GetInspectTabs()
L_0054: br Label6
L_0059: Label1
L_0059: Label4
L_0059: call IEnumerable`1 Empty[InspectTabBase]()
L_005e: Label5
L_005e: Label6
L_005e: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_005f: ldloca 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0061: call Void Postfix(IEnumerable`1 ByRef)
L_0066: ldloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0067: ret
DONE

### Patch Verse.ThingOwner, Void NotifyAdded(Verse.Thing)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Map, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.CompTransporter
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: Local var 4: RimWorld.Pawn_ApparelTracker
L_0000: Local var 5: Verse.Pawn_EquipmentTracker
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: call Boolean ShouldAutoExtinguishInnerThings(IThingHolder)
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldsfld Verse.ThingDef Fire
L_0016: call Boolean HasAttachment(Verse.Thing, Verse.ThingDef)
L_001b: brfalse Label2
L_0020: ldarg.1
L_0021: ldsfld Verse.ThingDef Fire
L_0026: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_002b: ldc.i4.0
L_002c: callvirt Void Destroy(DestroyMode)
L_0031: Label1
L_0031: Label2
L_0031: ldarg.0
L_0032: ldfld Verse.IThingHolder owner
L_0037: call Boolean ShouldRemoveDesignationsOnAddedThings(IThingHolder)
L_003c: brfalse Label3
L_0041: call System.Collections.Generic.List`1[Verse.Map] get_Maps()
L_0046: stloc.0
L_0047: ldc.i4.0
L_0048: stloc.1
L_0049: br Label4
L_004e: Label5
L_004e: ldloc.0
L_004f: ldloc.1
L_0050: callvirt Verse.Map get_Item(Int32)
L_0055: ldfld Verse.DesignationManager designationManager
L_005a: ldarg.1
L_005b: ldc.i4.0
L_005c: callvirt Void RemoveAllDesignationsOn(Verse.Thing, Boolean)
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label4
L_0065: ldloc.1
L_0066: ldloc.0
L_0067: callvirt Int32 get_Count()
L_006c: blt Label5
L_0071: Label3
L_0071: ldarg.0
L_0072: ldfld Verse.IThingHolder owner
L_0077: isinst RimWorld.CompTransporter
L_007c: stloc.2
L_007d: ldloc.2
L_007e: brfalse Label6
L_0083: ldloc.2
L_0084: ldarg.1
L_0085: callvirt Void Notify_ThingAdded(Verse.Thing)
L_008a: Label6
L_008a: ldarg.0
L_008b: ldfld Verse.IThingHolder owner
L_0090: isinst RimWorld.Planet.Caravan
L_0095: stloc.3
L_0096: ldloc.3
L_0097: brfalse Label7
L_009c: ldloc.3
L_009d: ldarg.1
L_009e: castclass Verse.Pawn
L_00a3: callvirt Void Notify_PawnAdded(Verse.Pawn)
L_00a8: Label7
L_00a8: ldarg.0
L_00a9: ldfld Verse.IThingHolder owner
L_00ae: isinst RimWorld.Pawn_ApparelTracker
L_00b3: stloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b5: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b7: brfalse Label8
L_00bc: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00be: ldarg.1
L_00bf: castclass RimWorld.Apparel
L_00c4: callvirt Void Notify_ApparelAdded(RimWorld.Apparel)
L_00c9: Label8
L_00c9: ldarg.0
L_00ca: ldfld Verse.IThingHolder owner
L_00cf: isinst Verse.Pawn_EquipmentTracker
L_00d4: stloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d6: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d8: brfalse Label9
L_00dd: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00df: ldarg.1
L_00e0: castclass Verse.ThingWithComps
L_00e5: callvirt Void Notify_EquipmentAdded(Verse.ThingWithComps)
L_00ea: Label9
L_00ea: ldarg.0
L_00eb: ldarg.1
L_00ec: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_00f1: ldarg.0
L_00f2: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_00f7: ret
DONE

### Patch Verse.ThingOwner, Void NotifyRemoved(Verse.Thing)


L_0000: Local var 0: Verse.Pawn_InventoryTracker
L_0000: Local var 1: RimWorld.Pawn_ApparelTracker
L_0000: Local var 2: Verse.Pawn_EquipmentTracker
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: isinst Verse.Pawn_InventoryTracker
L_000b: stloc.0
L_000c: ldloc.0
L_000d: brfalse Label1
L_0012: ldloc.0
L_0013: ldarg.1
L_0014: callvirt Void Notify_ItemRemoved(Verse.Thing)
L_0019: Label1
L_0019: ldarg.0
L_001a: ldfld Verse.IThingHolder owner
L_001f: isinst RimWorld.Pawn_ApparelTracker
L_0024: stloc.1
L_0025: ldloc.1
L_0026: brfalse Label2
L_002b: ldloc.1
L_002c: ldarg.1
L_002d: castclass RimWorld.Apparel
L_0032: callvirt Void Notify_ApparelRemoved(RimWorld.Apparel)
L_0037: Label2
L_0037: ldarg.0
L_0038: ldfld Verse.IThingHolder owner
L_003d: isinst Verse.Pawn_EquipmentTracker
L_0042: stloc.2
L_0043: ldloc.2
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldarg.1
L_004b: castclass Verse.ThingWithComps
L_0050: callvirt Void Notify_EquipmentRemoved(Verse.ThingWithComps)
L_0055: Label3
L_0055: ldarg.0
L_0056: ldfld Verse.IThingHolder owner
L_005b: isinst RimWorld.Planet.Caravan
L_0060: stloc.3
L_0061: ldloc.3
L_0062: brfalse Label4
L_0067: ldloc.3
L_0068: ldarg.1
L_0069: castclass Verse.Pawn
L_006e: callvirt Void Notify_PawnRemoved(Verse.Pawn)
L_0073: Label4
L_0073: ldarg.0
L_0074: ldarg.1
L_0075: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_007a: ldarg.0
L_007b: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_0080: ret
DONE

### Patch RimWorld.Selector, Void ClearSelection()


L_0000: call Void Clear()
L_0005: ldarg.0
L_0006: ldfld System.Collections.Generic.List`1[System.Object] selected
L_000b: callvirt Void Clear()
L_0010: call Void Postfix()
L_0015: ret
DONE

### Patch RimWorld.Selector, Void Deselect(System.Object)


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldloca 0 (System.Int32)
L_0008: call Void Prefix(Int32 ByRef)
L_000d: ldarg.0
L_000e: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0013: ldarg.1
L_0014: callvirt Boolean Contains(System.Object)
L_0019: brfalse Label1
L_001e: ldarg.0
L_001f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0024: ldarg.1
L_0025: callvirt Boolean Remove(System.Object)
L_002a: pop
L_002b: Label1
L_002b: ldloc 0 (System.Int32)
L_002c: call Void Postfix(Int32)
L_0031: ret
DONE

### Patch RimWorld.Selector, Void Select(System.Object, Boolean, Boolean)


L_0000: Local var 0: Verse.Thing
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Int32)
L_0007: ldloca 7 (System.Int32)
L_0009: call Void Prefix(Int32 ByRef)
L_000e: ldarg.1
L_000f: brtrue Label1
L_0014: ldstr "Cannot select null."
L_0019: ldc.i4.0
L_001a: call Void Error(System.String, Boolean)
L_001f: br Label26
L_0024: Label1
L_0024: ldarg.1
L_0025: isinst Verse.Thing
L_002a: stloc.0
L_002b: ldloc.0
L_002c: brtrue Label2
L_0031: ldarg.1
L_0032: isinst Verse.Zone
L_0037: brtrue Label3
L_003c: ldstr "Tried to select "
L_0041: ldarg.1
L_0042: ldstr " which is neither a Thing nor a Zone."
L_0047: call System.String Concat(System.Object, System.Object, System.Object)
L_004c: ldc.i4.0
L_004d: call Void Error(System.String, Boolean)
L_0052: br Label27
L_0057: Label2
L_0057: Label3
L_0057: ldloc.0
L_0058: brfalse Label4
L_005d: ldloc.0
L_005e: callvirt Boolean get_Destroyed()
L_0063: brfalse Label5
L_0068: ldstr "Cannot select destroyed thing."
L_006d: ldc.i4.0
L_006e: call Void Error(System.String, Boolean)
L_0073: br Label28
L_0078: Label4
L_0078: Label5
L_0078: ldarg.1
L_0079: isinst Verse.Pawn
L_007e: stloc.1
L_007f: ldloc.1
L_0080: brfalse Label6
L_0085: ldloc.1
L_0086: call Boolean IsWorldPawn(Verse.Pawn)
L_008b: brfalse Label7
L_0090: ldstr "Cannot select world pawns."
L_0095: ldc.i4.0
L_0096: call Void Error(System.String, Boolean)
L_009b: br Label29
L_00a0: Label6
L_00a0: Label7
L_00a0: ldarg.3
L_00a1: brfalse Label8
L_00a6: call Verse.DesignatorManager get_DesignatorManager()
L_00ab: callvirt Void Deselect()
L_00b0: Label8
L_00b0: ldarg.0
L_00b1: call Verse.Zone get_SelectedZone()
L_00b6: brfalse Label9
L_00bb: ldarg.1
L_00bc: isinst Verse.Zone
L_00c1: brtrue Label10
L_00c6: ldarg.0
L_00c7: call Void ClearSelection()
L_00cc: Label9
L_00cc: Label10
L_00cc: ldarg.1
L_00cd: isinst Verse.Zone
L_00d2: brfalse Label11
L_00d7: ldarg.0
L_00d8: call Verse.Zone get_SelectedZone()
L_00dd: brtrue Label12
L_00e2: ldarg.0
L_00e3: call Void ClearSelection()
L_00e8: Label11
L_00e8: Label12
L_00e8: ldloc.0
L_00e9: brfalse Label13
L_00ee: ldloc.0
L_00ef: callvirt Verse.Map get_Map()
L_00f4: br Label14
L_00f9: Label13
L_00f9: ldarg.1
L_00fa: castclass Verse.Zone
L_00ff: callvirt Verse.Map get_Map()
L_0104: Label14
L_0104: stloc.2
L_0105: ldarg.0
L_0106: ldfld System.Collections.Generic.List`1[System.Object] selected
L_010b: callvirt Int32 get_Count()
L_0110: ldc.i4.1
L_0111: sub
L_0112: stloc.3
L_0113: br Label15
L_0118: Label19
L_0118: ldarg.0
L_0119: ldfld System.Collections.Generic.List`1[System.Object] selected
L_011e: ldloc.3
L_011f: callvirt System.Object get_Item(Int32)
L_0124: isinst Verse.Thing
L_0129: stloc.s 4 (Verse.Thing)
L_012b: ldloc.s 4 (Verse.Thing)
L_012d: brfalse Label16
L_0132: ldloc.s 4 (Verse.Thing)
L_0134: callvirt Verse.Map get_Map()
L_0139: br Label17
L_013e: Label16
L_013e: ldarg.0
L_013f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0144: ldloc.3
L_0145: callvirt System.Object get_Item(Int32)
L_014a: castclass Verse.Zone
L_014f: callvirt Verse.Map get_Map()
L_0154: Label17
L_0154: stloc.s 5 (Verse.Map)
L_0156: ldloc.s 5 (Verse.Map)
L_0158: ldloc.2
L_0159: beq Label18
L_015e: ldarg.0
L_015f: ldarg.0
L_0160: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0165: ldloc.3
L_0166: callvirt System.Object get_Item(Int32)
L_016b: call Void Deselect(System.Object)
L_0170: Label18
L_0170: ldloc.3
L_0171: ldc.i4.1
L_0172: sub
L_0173: stloc.3
L_0174: Label15
L_0174: ldloc.3
L_0175: ldc.i4.0
L_0176: bge Label19
L_017b: ldarg.0
L_017c: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0181: callvirt Int32 get_Count()
L_0186: ldc.i4.s 80
L_0188: blt Label20
L_018d: br Label30
L_0192: Label20
L_0192: ldarg.0
L_0193: ldarg.1
L_0194: call Boolean IsSelected(System.Object)
L_0199: brtrue Label21
L_019e: ldloc.2
L_019f: call Verse.Map get_CurrentMap()
L_01a4: beq Label22
L_01a9: call Verse.Game get_Game()
L_01ae: ldloc.2
L_01af: callvirt Void set_CurrentMap(Verse.Map)
L_01b4: ldsfld Verse.SoundDef MapSelected
L_01b9: ldnull
L_01ba: call Void PlayOneShotOnCamera(Verse.SoundDef, Verse.Map)
L_01bf: ldloc.0
L_01c0: brfalse Label23
L_01c5: ldloc.0
L_01c6: callvirt IntVec3 get_Position()
L_01cb: br Label24
L_01d0: Label23
L_01d0: ldarg.1
L_01d1: castclass Verse.Zone
L_01d6: callvirt System.Collections.Generic.List`1[Verse.IntVec3] get_Cells()
L_01db: ldc.i4.0
L_01dc: callvirt IntVec3 get_Item(Int32)
L_01e1: Label24
L_01e1: stloc.s 6 (Verse.IntVec3)
L_01e3: call Verse.CameraDriver get_CameraDriver()
L_01e8: ldloc.s 6 (Verse.IntVec3)
L_01ea: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_01ef: Label22
L_01ef: ldarg.2
L_01f0: brfalse Label25
L_01f5: ldarg.0
L_01f6: ldarg.1
L_01f7: call Void PlaySelectionSoundFor(System.Object)
L_01fc: Label25
L_01fc: ldarg.0
L_01fd: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0202: ldarg.1
L_0203: callvirt Void Add(System.Object)
L_0208: ldarg.1
L_0209: call Void Notify_Selected(System.Object)
L_020e: Label21
L_020e: Label26
L_020e: Label27
L_020e: Label28
L_020e: Label29
L_020e: Label30
L_020e: ldloc 7 (System.Int32)
L_0210: call Void Postfix(Int32)
L_0215: ret
DONE

### Patch RimWorld.Blueprint_Build, Verse.Thing MakeSolidThing()


L_0000: Local var 0: Verse.Thing
L_0000: ldnull
L_0001: stloc 0 (Verse.Thing)
L_0002: ldarg.0
L_0003: ldfld Verse.ThingDef def
L_0008: ldfld Verse.BuildableDef entityDefToBuild
L_000d: ldfld Verse.ThingDef frameDef
L_0012: ldarg.0
L_0013: ldfld Verse.ThingDef stuffToUse
L_0018: call Verse.Thing MakeThing(Verse.ThingDef, Verse.ThingDef)
L_001d: stloc 0 (Verse.Thing)
L_001e: ldloc 0 (Verse.Thing)
L_001f: ldarg.0
L_0020: call Void Postfix(Verse.Thing, RimWorld.Blueprint_Build)
L_0025: ldloc 0 (Verse.Thing)
L_0026: ret
DONE

### Patch Verse.AreaManager, Void ExposeData()


L_0000: ldarg.0
L_0001: call Void Prefix(Verse.AreaManager)
L_0006: ldarg.0
L_0007: ldflda System.Collections.Generic.List`1[Verse.Area] areas
L_000c: ldstr "areas"
L_0011: ldc.i4.2
L_0012: ldc.i4.0
L_0013: newarr System.Object
L_0018: call Void Look[Area](System.Collections.Generic.List`1[Verse.Area] ByRef,
System.String, LookMode, System.Object[])
L_001d: ldsfld Verse.LoadSaveMode mode
L_0022: ldc.i4.2
L_0023: bne.un Label1
L_0028: ldarg.0
L_0029: call Void UpdateAllAreasLinks()
L_002e: Label1
L_002e: ret
DONE

### Patch RimWorld.PlaySettings, Void DoPlaySettingsGlobalControls(Verse.WidgetRow,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Boolean
L_0000: Local var 3: System.Boolean
L_0000: ldarg.0
L_0001: ldfld System.Boolean showColonistBar
L_0006: stloc.0
L_0007: ldarg.2
L_0008: brfalse Label1
L_000d: call ProgramState get_ProgramState()
L_0012: ldc.i4.2
L_0013: bne.un Label2
L_0018: ldarg.1
L_0019: ldarg.0
L_001a: ldflda System.Boolean showColonistBar
L_001f: ldsfld UnityEngine.Texture2D ShowColonistBar
L_0024: ldstr "ShowColonistBarToggleButton"
L_0029: call System.String Translate(System.String)
L_002e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0033: ldnull
L_0034: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0039: Label2
L_0039: ldarg.0
L_003a: ldfld System.Boolean lockNorthUp
L_003f: stloc.1
L_0040: ldarg.1
L_0041: ldarg.0
L_0042: ldflda System.Boolean lockNorthUp
L_0047: ldsfld UnityEngine.Texture2D LockNorthUp
L_004c: ldstr "LockNorthUpToggleButton"
L_0051: call System.String Translate(System.String)
L_0056: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_005b: ldnull
L_005c: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0061: ldloc.1
L_0062: ldarg.0
L_0063: ldfld System.Boolean lockNorthUp
L_0068: beq Label3
L_006d: ldarg.0
L_006e: ldfld System.Boolean lockNorthUp
L_0073: brfalse Label4
L_0078: call RimWorld.Planet.WorldCameraDriver get_WorldCameraDriver()
L_007d: ldc.i4.1
L_007e: callvirt Void RotateSoNorthIsUp(Boolean)
L_0083: Label3
L_0083: Label4
L_0083: ldarg.1
L_0084: ldarg.0
L_0085: ldflda System.Boolean usePlanetDayNightSystem
L_008a: ldsfld UnityEngine.Texture2D UsePlanetDayNightSystem
L_008f: ldstr "UsePlanetDayNightSystemToggleButton"
L_0094: call System.String Translate(System.String)
L_0099: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_009e: ldnull
L_009f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00a4: ldarg.1
L_00a5: ldarg.0
L_00a6: ldflda System.Boolean showExpandingIcons
L_00ab: ldsfld UnityEngine.Texture2D ShowExpandingIcons
L_00b0: ldstr "ShowExpandingIconsToggleButton"
L_00b5: call System.String Translate(System.String)
L_00ba: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00bf: ldnull
L_00c0: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00c5: ldarg.1
L_00c6: ldarg.0
L_00c7: ldflda System.Boolean showWorldFeatures
L_00cc: ldsfld UnityEngine.Texture2D ShowWorldFeatures
L_00d1: ldstr "ShowWorldFeaturesToggleButton"
L_00d6: call System.String Translate(System.String)
L_00db: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00e0: ldnull
L_00e1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00e6: br Label5
L_00eb: Label1
L_00eb: ldarg.1
L_00ec: ldarg.0
L_00ed: ldflda System.Boolean showLearningHelper
L_00f2: ldsfld UnityEngine.Texture2D ShowLearningHelper
L_00f7: ldstr "ShowLearningHelperWhenEmptyToggleButton"
L_00fc: call System.String Translate(System.String)
L_0101: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0106: ldnull
L_0107: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_010c: ldarg.1
L_010d: ldarg.0
L_010e: ldflda System.Boolean showZones
L_0113: ldsfld UnityEngine.Texture2D ShowZones
L_0118: ldstr "ZoneVisibilityToggleButton"
L_011d: call System.String Translate(System.String)
L_0122: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0127: ldnull
L_0128: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_012d: ldarg.1
L_012e: ldarg.0
L_012f: ldflda System.Boolean showBeauty
L_0134: ldsfld UnityEngine.Texture2D ShowBeauty
L_0139: ldstr "ShowBeautyToggleButton"
L_013e: call System.String Translate(System.String)
L_0143: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0148: ldnull
L_0149: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_014e: ldarg.0
L_014f: ldsfld Verse.KeyBindingDef ToggleBeautyDisplay
L_0154: ldarg.0
L_0155: ldflda System.Boolean showBeauty
L_015a: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_015f: ldarg.1
L_0160: ldarg.0
L_0161: ldflda System.Boolean showRoomStats
L_0166: ldsfld UnityEngine.Texture2D ShowRoomStats
L_016b: ldstr "ShowRoomStatsToggleButton"
L_0170: call System.String Translate(System.String)
L_0175: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_017a: ldstr "InspectRoomStats"
L_017f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0184: ldarg.0
L_0185: ldsfld Verse.KeyBindingDef ToggleRoomStatsDisplay
L_018a: ldarg.0
L_018b: ldflda System.Boolean showRoomStats
L_0190: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_0195: ldarg.1
L_0196: ldarg.0
L_0197: ldflda System.Boolean showColonistBar
L_019c: ldsfld UnityEngine.Texture2D ShowColonistBar
L_01a1: ldstr "ShowColonistBarToggleButton"
L_01a6: call System.String Translate(System.String)
L_01ab: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01b0: ldnull
L_01b1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01b6: ldarg.1
L_01b7: ldarg.0
L_01b8: ldflda System.Boolean showRoofOverlay
L_01bd: ldsfld UnityEngine.Texture2D ShowRoofOverlay
L_01c2: ldstr "ShowRoofOverlayToggleButton"
L_01c7: call System.String Translate(System.String)
L_01cc: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01d1: ldnull
L_01d2: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01d7: ldarg.1
L_01d8: ldarg.0
L_01d9: ldflda System.Boolean autoHomeArea
L_01de: ldsfld UnityEngine.Texture2D AutoHomeArea
L_01e3: ldstr "AutoHomeAreaToggleButton"
L_01e8: call System.String Translate(System.String)
L_01ed: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01f2: ldnull
L_01f3: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01f8: ldarg.1
L_01f9: ldarg.0
L_01fa: ldflda System.Boolean autoRebuild
L_01ff: ldsfld UnityEngine.Texture2D AutoRebuild
L_0204: ldstr "AutoRebuildButton"
L_0209: call System.String Translate(System.String)
L_020e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0213: ldnull
L_0214: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0219: call Boolean get_ResourceReadoutCategorized()
L_021e: stloc.2
L_021f: ldloc.2
L_0220: stloc.3
L_0221: ldarg.1
L_0222: ldloca.s 2 (System.Boolean)
L_0224: ldsfld UnityEngine.Texture2D CategorizedResourceReadout
L_0229: ldstr "CategorizedResourceReadoutToggleButton"
L_022e: call System.String Translate(System.String)
L_0233: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0238: ldnull
L_0239: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_023e: ldloc.2
L_023f: ldloc.3
L_0240: beq Label6
L_0245: ldloc.2
L_0246: call Void set_ResourceReadoutCategorized(Boolean)
L_024b: Label5
L_024b: Label6
L_024b: ldloc.0
L_024c: ldarg.0
L_024d: ldfld System.Boolean showColonistBar
L_0252: beq Label7
L_0257: call RimWorld.ColonistBar get_ColonistBar()
L_025c: callvirt Void MarkColonistsDirty()
L_0261: Label7
L_0261: ldarg 1
L_0267: ldarg 2
L_026d: call Void AddButton(Verse.WidgetRow, Boolean)
L_0272: ldarg 1
L_0278: ldarg 2
L_027e: call Void AddButton(Verse.WidgetRow, Boolean)
L_0283: ldarg 1
L_0289: ldarg 2
L_028f: call Void AddButton(Verse.WidgetRow, Boolean)
L_0294: ldarg 1
L_029a: ldarg 2
L_02a0: call Void Postfix(Verse.WidgetRow, Boolean)
L_02a5: ret
DONE

### Patch RimWorld.Apparel, Void Notify_PawnKilled()


L_0000: ldarg.0
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.ApparelProperties apparel
L_000b: ldfld System.Boolean careIfWornByCorpse
L_0010: brfalse Label1
L_0015: ldarg.0
L_0016: ldc.i4.1
L_0017: stfld System.Boolean wornByCorpseInt
L_001c: Label1
L_001c: ldarg.0
L_001d: call Void Postfix(RimWorld.Apparel)
L_0022: ret
DONE

### Patch Verse.Game, Void UpdatePlay()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.TickManager tickManager
L_0006: callvirt Void TickManagerUpdate()
L_000b: ldarg.0
L_000c: ldfld Verse.LetterStack letterStack
L_0011: callvirt Void LetterStackUpdate()
L_0016: ldarg.0
L_0017: call RimWorld.Planet.World get_World()
L_001c: callvirt Void WorldUpdate()
L_0021: ldc.i4.0
L_0022: stloc.0
L_0023: br Label1
L_0028: Label2
L_0028: ldarg.0
L_0029: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_002e: ldloc.0
L_002f: callvirt Verse.Map get_Item(Int32)
L_0034: callvirt Void MapUpdate()
L_0039: ldloc.0
L_003a: ldc.i4.1
L_003b: add
L_003c: stloc.0
L_003d: Label1
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0044: callvirt Int32 get_Count()
L_0049: blt Label2
L_004e: ldarg.0
L_004f: call Verse.GameInfo get_Info()
L_0054: callvirt Void GameInfoUpdate()
L_0059: call Void GameComponentUpdate()
L_005e: call Void Postfix()
L_0063: ret
DONE

### Patch Verse.EdificeGrid, Void Register(Verse.Building)


L_0000: Local var 0: Verse.CellIndices
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.IntVec3
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean RegisterDoorExpanded(Verse.EdificeGrid, Verse.Building)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld Verse.Map map
L_0017: ldfld Verse.CellIndices cellIndices
L_001c: stloc.0
L_001d: ldarg.1
L_001e: call CellRect OccupiedRect(Verse.Thing)
L_0023: stloc.1
L_0024: ldloca.s 1 (Verse.CellRect)
L_0026: ldfld System.Int32 minZ
L_002b: stloc.2
L_002c: br Label1
L_0031: Label7
L_0031: ldloca.s 1 (Verse.CellRect)
L_0033: ldfld System.Int32 minX
L_0038: stloc.3
L_0039: br Label2
L_003e: Label6
L_003e: ldloca.s 4 (Verse.IntVec3)
L_0040: ldloc.3
L_0041: ldc.i4.0
L_0042: ldloc.2
L_0043: call Void .ctor(Int32, Int32, Int32)
L_0048: ldsfld System.Boolean isDebugBuild
L_004d: brfalse Label3
L_0052: ldarg.0
L_0053: ldloc.s 4 (Verse.IntVec3)
L_0055: call Verse.Building get_Item(IntVec3)
L_005a: brfalse Label4
L_005f: ldarg.0
L_0060: ldloc.s 4 (Verse.IntVec3)
L_0062: call Verse.Building get_Item(IntVec3)
L_0067: callvirt Boolean get_Destroyed()
L_006c: brtrue Label5
L_0071: ldc.i4.7
L_0072: newarr System.Object
L_0077: dup
L_0078: ldc.i4.0
L_0079: ldstr "Added edifice "
L_007e: stelem.ref
L_007f: dup
L_0080: ldc.i4.1
L_0081: ldarg.1
L_0082: callvirt System.String get_LabelCap()
L_0087: stelem.ref
L_0088: dup
L_0089: ldc.i4.2
L_008a: ldstr " over edifice "
L_008f: stelem.ref
L_0090: dup
L_0091: ldc.i4.3
L_0092: ldarg.0
L_0093: ldloc.s 4 (Verse.IntVec3)
L_0095: call Verse.Building get_Item(IntVec3)
L_009a: callvirt System.String get_LabelCap()
L_009f: stelem.ref
L_00a0: dup
L_00a1: ldc.i4.4
L_00a2: ldstr " at "
L_00a7: stelem.ref
L_00a8: dup
L_00a9: ldc.i4.5
L_00aa: ldloc.s 4 (Verse.IntVec3)
L_00ac: box Verse.IntVec3
L_00b1: stelem.ref
L_00b2: dup
L_00b3: ldc.i4.6
L_00b4: ldstr ". Destroying old edifice."
L_00b9: stelem.ref
L_00ba: call System.String Concat(System.Object[])
L_00bf: ldc.i4.0
L_00c0: call Void Error(System.String, Boolean)
L_00c5: ldarg.0
L_00c6: ldloc.s 4 (Verse.IntVec3)
L_00c8: call Verse.Building get_Item(IntVec3)
L_00cd: ldc.i4.0
L_00ce: callvirt Void Destroy(DestroyMode)
L_00d3: br Label8
L_00d8: Label3
L_00d8: Label4
L_00d8: Label5
L_00d8: ldarg.0
L_00d9: ldfld Verse.Building[] innerArray
L_00de: ldloc.0
L_00df: ldloc.s 4 (Verse.IntVec3)
L_00e1: callvirt Int32 CellToIndex(IntVec3)
L_00e6: ldarg.1
L_00e7: stelem.ref
L_00e8: ldloc.3
L_00e9: ldc.i4.1
L_00ea: add
L_00eb: stloc.3
L_00ec: Label2
L_00ec: ldloc.3
L_00ed: ldloca.s 1 (Verse.CellRect)
L_00ef: ldfld System.Int32 maxX
L_00f4: ble Label6
L_00f9: ldloc.2
L_00fa: ldc.i4.1
L_00fb: add
L_00fc: stloc.2
L_00fd: Label1
L_00fd: ldloc.2
L_00fe: ldloca.s 1 (Verse.CellRect)
L_0100: ldfld System.Int32 maxZ
L_0105: ble Label7
L_010a: Label8
L_010a: Label0
L_010a: ret
DONE

### Patch RimWorld.Building_Door, Void DoorOpen(Int32)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorOpen(RimWorld.Building_Door, Int32)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean openInt
L_0017: brfalse Label1
L_001c: ldarg.0
L_001d: ldarg.1
L_001e: stfld System.Int32 ticksUntilClose
L_0023: br Label2
L_0028: Label1
L_0028: ldarg.0
L_0029: ldarg.0
L_002a: call Int32 get_TicksToOpenNow()
L_002f: ldarg.1
L_0030: add
L_0031: stfld System.Int32 ticksUntilClose
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld System.Boolean openInt
L_003c: brtrue Label3
L_0041: ldarg.0
L_0042: ldc.i4.1
L_0043: stfld System.Boolean openInt
L_0048: ldarg.0
L_0049: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_004e: ldarg.0
L_004f: call Boolean get_DoorPowerOn()
L_0054: brfalse Label4
L_0059: ldarg.0
L_005a: ldfld Verse.ThingDef def
L_005f: ldfld RimWorld.BuildingProperties building
L_0064: ldfld Verse.SoundDef soundDoorOpenPowered
L_0069: ldarg.0
L_006a: call IntVec3 get_Position()
L_006f: ldarg.0
L_0070: call Verse.Map get_Map()
L_0075: ldc.i4.0
L_0076: newobj Void .ctor(IntVec3, Map, Boolean)
L_007b: call SoundInfo op_Implicit(TargetInfo)
L_0080: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0085: br Label5
L_008a: Label4
L_008a: ldarg.0
L_008b: ldfld Verse.ThingDef def
L_0090: ldfld RimWorld.BuildingProperties building
L_0095: ldfld Verse.SoundDef soundDoorOpenManual
L_009a: ldarg.0
L_009b: call IntVec3 get_Position()
L_00a0: ldarg.0
L_00a1: call Verse.Map get_Map()
L_00a6: ldc.i4.0
L_00a7: newobj Void .ctor(IntVec3, Map, Boolean)
L_00ac: call SoundInfo op_Implicit(TargetInfo)
L_00b1: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00b6: Label3
L_00b6: Label5
L_00b6: Label0
L_00b6: ret
DONE

### Patch RimWorld.Building_Door, Boolean DoorTryClose()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InvisDoorTryClose(RimWorld.Building_Door)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean holdOpenInt
L_0017: brtrue Label1
L_001c: ldarg.0
L_001d: call Boolean get_BlockedOpenMomentary()
L_0022: brfalse Label2
L_0027: Label1
L_0027: ldc.i4.0
L_0028: br Label5
L_002d: Label2
L_002d: ldarg.0
L_002e: ldc.i4.0
L_002f: stfld System.Boolean openInt
L_0034: ldarg.0
L_0035: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_003a: ldarg.0
L_003b: call Boolean get_DoorPowerOn()
L_0040: brfalse Label3
L_0045: ldarg.0
L_0046: ldfld Verse.ThingDef def
L_004b: ldfld RimWorld.BuildingProperties building
L_0050: ldfld Verse.SoundDef soundDoorClosePowered
L_0055: ldarg.0
L_0056: call IntVec3 get_Position()
L_005b: ldarg.0
L_005c: call Verse.Map get_Map()
L_0061: ldc.i4.0
L_0062: newobj Void .ctor(IntVec3, Map, Boolean)
L_0067: call SoundInfo op_Implicit(TargetInfo)
L_006c: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0071: br Label4
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.ThingDef def
L_007c: ldfld RimWorld.BuildingProperties building
L_0081: ldfld Verse.SoundDef soundDoorCloseManual
L_0086: ldarg.0
L_0087: call IntVec3 get_Position()
L_008c: ldarg.0
L_008d: call Verse.Map get_Map()
L_0092: ldc.i4.0
L_0093: newobj Void .ctor(IntVec3, Map, Boolean)
L_0098: call SoundInfo op_Implicit(TargetInfo)
L_009d: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00a2: Label4
L_00a2: ldc.i4.1
L_00a3: Label5
L_00a3: stloc 0 (System.Boolean)
L_00a4: Label0
L_00a4: ldloc 0 (System.Boolean)
L_00a5: ret
DONE

### Patch RimWorld.Building_Door, Void Notify_PawnApproaching(Verse.Pawn, Int32)


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void CheckFriendlyTouched(Verse.Pawn)
L_0007: ldarg.0
L_0008: ldarg.1
L_0009: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_000e: brfalse Label1
L_0013: ldarg.0
L_0014: call Verse.Map get_Map()
L_0019: ldfld Verse.FogGrid fogGrid
L_001e: ldarg.0
L_001f: ldarg.1
L_0020: callvirt Void Notify_PawnEnteringDoor(RimWorld.Building_Door, Verse.Pawn)
L_0025: ldarg.0
L_0026: call Boolean get_SlowsPawns()
L_002b: brtrue Label2
L_0030: ldc.i4 300
L_0035: ldarg.2
L_0036: ldc.i4.1
L_0037: add
L_0038: call Int32 Max(Int32, Int32)
L_003d: stloc.0
L_003e: ldarg.0
L_003f: ldloc.0
L_0040: call Void DoorOpen(Int32)
L_0045: Label1
L_0045: Label2
L_0045: ldarg.0
L_0046: ldarg 1
L_004c: call Void InvisDoorNotifyApproaching(RimWorld.Building_Door, Verse.Pawn)
L_0051: ret
DONE
### Patch RimWorld.Building_Door, Void StartManualCloseBy(Verse.Pawn)
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorManualClose(RimWorld.Building_Door, Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldc.i4.s 110
L_0014: stfld System.Int32 ticksUntilClose
L_0019: Label0
L_0019: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualOpenBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldc.i4.s 110
L_0003: call Void DoorOpen(Int32)
L_0008: ldarg.0
L_0009: ldarg 1
L_000f: call Void InvisDoorManualOpen(RimWorld.Building_Door, Verse.Pawn)
L_0014: ret
DONE

### Patch RimWorld.Building_Door, Boolean get_FreePassage()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean get_FreePassage(RimWorld.Building_Door, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: ldfld System.Boolean openInt
L_0019: brtrue Label1
L_001e: ldc.i4.0
L_001f: br Label4
L_0024: Label1
L_0024: ldarg.0
L_0025: ldfld System.Boolean holdOpenInt
L_002a: brtrue Label2
L_002f: ldarg.0
L_0030: call Boolean get_WillCloseSoon()
L_0035: ldc.i4.0
L_0036: ceq
L_0038: br Label3
L_003d: Label2
L_003d: ldc.i4.1
L_003e: Label3
L_003e: Label4
L_003e: stloc 0 (System.Boolean)
L_003f: Label0
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.GhostDrawer, Void DrawGhostThing(IntVec3, Rot4, Verse.ThingDef,


Verse.Graphic, Color, AltitudeLayer)
L_0000: Local var 0: Verse.Graphic
L_0000: Local var 1: UnityEngine.Vector3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: ldarg 5
L_0024: call Boolean HeronDoorGhostHandler(IntVec3, Rot4, Verse.ThingDef,
Verse.Graphic, Color, AltitudeLayer)
L_0029: brfalse Label0
L_002e: ldarg.3
L_002f: brtrue Label1
L_0034: ldarg.2
L_0035: ldfld Verse.Graphic graphic
L_003a: starg.s 3
L_003c: Label1
L_003c: ldarg.3
L_003d: ldarg.2
L_003e: ldarg.s 4
L_0040: call Verse.Graphic GhostGraphicFor(Verse.Graphic, Verse.ThingDef, Color)
L_0045: stloc.0
L_0046: ldarg.0
L_0047: ldarg.1
L_0048: ldarg.2
L_0049: callvirt IntVec2 get_Size()
L_004e: ldarg.s 5
L_0050: call Single AltitudeFor(AltitudeLayer)
L_0055: call Vector3 TrueCenter(IntVec3, Rot4, IntVec2, Single)
L_005a: stloc.1
L_005b: ldloc.0
L_005c: ldloc.1
L_005d: ldarg.1
L_005e: ldarg.2
L_005f: ldc.r4 0
L_0064: callvirt Void DrawFromDef(Vector3, Rot4, Verse.ThingDef, Single)
L_0069: ldc.i4.0
L_006a: stloc.2
L_006b: br Label2
L_0070: Label3
L_0070: ldarg.2
L_0071: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0076: ldloc.2
L_0077: callvirt Verse.CompProperties get_Item(Int32)
L_007c: ldarg.0
L_007d: ldarg.1
L_007e: ldarg.2
L_007f: ldarg.s 4
L_0081: ldarg.s 5
L_0083: callvirt Void DrawGhost(IntVec3, Rot4, Verse.ThingDef, Color,
AltitudeLayer)
L_0088: ldloc.2
L_0089: ldc.i4.1
L_008a: add
L_008b: stloc.2
L_008c: Label2
L_008c: ldloc.2
L_008d: ldarg.2
L_008e: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0093: callvirt Int32 get_Count()
L_0098: blt Label3
L_009d: ldarg.2
L_009e: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00a3: brfalse Label4
L_00a8: ldc.i4.0
L_00a9: stloc.3
L_00aa: br Label5
L_00af: Label6
L_00af: ldarg.2
L_00b0: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00b5: ldloc.3
L_00b6: callvirt Verse.PlaceWorker get_Item(Int32)
L_00bb: ldarg.2
L_00bc: ldarg.0
L_00bd: ldarg.1
L_00be: ldarg.s 4
L_00c0: callvirt Void DrawGhost(Verse.ThingDef, IntVec3, Rot4, Color)
L_00c5: ldloc.3
L_00c6: ldc.i4.1
L_00c7: add
L_00c8: stloc.3
L_00c9: Label5
L_00c9: ldloc.3
L_00ca: ldarg.2
L_00cb: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00d0: callvirt Int32 get_Count()
L_00d5: blt Label6
L_00da: Label4
L_00da: Label0
L_00da: ret
DONE

### Patch Verse.GenSpawn, Void SpawnBuildingAsPossible(Verse.Building, Verse.Map,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.CellRect
L_0000: Local var 5: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: call Boolean HeronSpawnBuildingAsPossible(Verse.Building, Verse.Map,
Boolean)
L_0017: brfalse Label0
L_001c: ldc.i4.0
L_001d: stloc.0
L_001e: ldarg.0
L_001f: call CellRect OccupiedRect(Verse.Thing)
L_0024: stloc.1
L_0025: ldloca.s 1 (Verse.CellRect)
L_0027: ldarg.1
L_0028: call Boolean InBounds(Verse.Map)
L_002d: brtrue Label1
L_0032: ldc.i4.1
L_0033: stloc.0
L_0034: br Label2
L_0039: Label1
L_0039: ldarg.0
L_003a: call CellRect OccupiedRect(Verse.Thing)
L_003f: stloc.s 4 (Verse.CellRect)
L_0041: ldloca.s 4 (Verse.CellRect)
L_0043: call IEnumerator`1 GetEnumerator()
L_0048: stloc.3
.try
{
L_0049: br Label3
L_004e: Label15
L_004e: ldloc.3
L_004f: callvirt IntVec3 get_Current()
L_0054: stloc.2
L_0055: ldloc.2
L_0056: ldarg.1
L_0057: call System.Collections.Generic.List`1[Verse.Thing]
GetThingList(IntVec3, Verse.Map)
L_005c: stloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_005e: ldc.i4.0
L_005f: stloc.s 6 (System.Int32)
L_0061: br Label4
L_0066: Label12
L_0066: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0068: ldloc.s 6 (System.Int32)
L_006a: callvirt Verse.Thing get_Item(Int32)
L_006f: isinst Verse.Pawn
L_0074: brfalse Label5
L_0079: ldarg.0
L_007a: ldfld Verse.ThingDef def
L_007f: ldfld Verse.Traversability passability
L_0084: ldc.i4.2
L_0085: bne.un Label6
L_008a: ldc.i4.1
L_008b: stloc.0
L_008c: leave Label7
L_0091: Label5
L_0091: Label6
L_0091: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0093: ldloc.s 6 (System.Int32)
L_0095: callvirt Verse.Thing get_Item(Int32)
L_009a: ldfld Verse.ThingDef def
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.3
L_00a5: beq Label8
L_00aa: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00ac: ldloc.s 6 (System.Int32)
L_00ae: callvirt Verse.Thing get_Item(Int32)
L_00b3: ldfld Verse.ThingDef def
L_00b8: ldfld Verse.ThingCategory category
L_00bd: ldc.i4.2
L_00be: bne.un Label9
L_00c3: Label8
L_00c3: ldarg.0
L_00c4: ldfld Verse.ThingDef def
L_00c9: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00cb: ldloc.s 6 (System.Int32)
L_00cd: callvirt Verse.Thing get_Item(Int32)
L_00d2: ldfld Verse.ThingDef def
L_00d7: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00dc: brfalse Label10
L_00e1: ldc.i4.1
L_00e2: stloc.0
L_00e3: leave Label11
L_00e8: Label9
L_00e8: Label10
L_00e8: ldloc.s 6 (System.Int32)
L_00ea: ldc.i4.1
L_00eb: add
L_00ec: stloc.s 6 (System.Int32)
L_00ee: Label4
L_00ee: ldloc.s 6 (System.Int32)
L_00f0: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00f2: callvirt Int32 get_Count()
L_00f7: blt Label12
L_00fc: Label7
L_00fc: Label11
L_00fc: ldloc.0
L_00fd: brfalse Label13
L_0102: leave Label14
L_0107: Label3
L_0107: Label13
L_0107: ldloc.3
L_0108: callvirt Boolean MoveNext()
L_010d: brtrue Label15
L_0112: Label14
L_0112: leave Label16
L_0117: leave (autogenerated)
} // end try
.finally
{
L_011c: ldloc.3
L_011d: brfalse Label17
L_0122: ldloc.3
L_0123: callvirt Void Dispose()
L_0128: Label17
L_0128: endfinally
L_0129: leave (autogenerated)
} // end handler
L_012a: Label2
L_012a: Label16
L_012a: ldloc.0
L_012b: brfalse Label18
L_0130: ldarg.0
L_0131: ldarg.1
L_0132: call CellRect get_Empty()
L_0137: call Void Refund(Verse.Thing, Verse.Map, CellRect)
L_013c: br Label19
L_0141: Label18
L_0141: ldarg.0
L_0142: ldarg.0
L_0143: callvirt IntVec3 get_Position()
L_0148: ldarg.1
L_0149: ldarg.0
L_014a: callvirt Rot4 get_Rotation()
L_014f: ldc.i4.1
L_0150: ldarg.2
L_0151: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0156: pop
L_0157: Label19
L_0157: Label0
L_0157: ret
DONE

### Patch Verse.GenSpawn, Void WipeExistingThings(IntVec3, Rot4,


Verse.BuildableDef, Verse.Map, DestroyMode)
L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: call Boolean WipeExistingThings(IntVec3, Rot4, Verse.BuildableDef,
Verse.Map, DestroyMode)
L_0023: brfalse Label0
L_0028: ldarg.0
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: callvirt IntVec2 get_Size()
L_0030: call IEnumerable`1 CellsOccupiedBy(IntVec3, Rot4, IntVec2)
L_0035: callvirt IEnumerator`1 GetEnumerator()
L_003a: stloc.1
.try
{
L_003b: br Label1
L_0040: Label6
L_0040: ldloc.1
L_0041: callvirt IntVec3 get_Current()
L_0046: stloc.0
L_0047: ldarg.3
L_0048: ldfld Verse.ThingGrid thingGrid
L_004d: ldloc.0
L_004e: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_0053: call System.Collections.Generic.List`1[Verse.Thing] ToList[Thing]
(IEnumerable`1)
L_0058: callvirt Enumerator GetEnumerator()
L_005d: stloc.3
.try
{
L_005e: br Label2
L_0063: Label4
L_0063: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0065: call Verse.Thing get_Current()
L_006a: stloc.2
L_006b: ldarg.2
L_006c: ldloc.2
L_006d: ldfld Verse.ThingDef def
L_0072: call Boolean SpawningWipes(Verse.BuildableDef,
Verse.BuildableDef)
L_0077: brfalse Label3
L_007c: ldloc.2
L_007d: ldarg.s 4
L_007f: callvirt Void Destroy(DestroyMode)
L_0084: Label2
L_0084: Label3
L_0084: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0086: call Boolean MoveNext()
L_008b: brtrue Label4
L_0090: leave Label5
L_0095: leave (autogenerated)
} // end try
.finally
{
L_009a: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_009c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_00a2: callvirt Void Dispose()
L_00a7: endfinally
L_00a8: leave (autogenerated)
} // end handler
L_00a9: Label1
L_00a9: Label5
L_00a9: ldloc.1
L_00aa: callvirt Boolean MoveNext()
L_00af: brtrue Label6
L_00b4: leave Label7
L_00b9: leave (autogenerated)
} // end try
.finally
{
L_00be: ldloc.1
L_00bf: brfalse Label8
L_00c4: ldloc.1
L_00c5: callvirt Void Dispose()
L_00ca: Label8
L_00ca: endfinally
L_00cb: leave (autogenerated)
} // end handler
L_00cc: Label7
L_00cc: Label0
L_00cc: ret
DONE

### Patch Verse.GenSpawn, Boolean SpawningWipes(Verse.BuildableDef,


Verse.BuildableDef)
L_0000: Local var 0: Verse.ThingDef
L_0000: Local var 1: Verse.ThingDef
L_0000: Local var 2: Verse.BuildableDef
L_0000: Local var 3: Verse.BuildableDef
L_0000: Local var 4: Verse.ThingDef
L_0000: Local var 5: Verse.ThingDef
L_0000: Local var 6: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 6 (System.Boolean)
L_0007: ldarg.0
L_0008: isinst Verse.ThingDef
L_000d: stloc.0
L_000e: ldarg.1
L_000f: isinst Verse.ThingDef
L_0014: stloc.1
L_0015: ldloc.0
L_0016: brfalse Label1
L_001b: ldloc.1
L_001c: brtrue Label2
L_0021: Label1
L_0021: ldc.i4.0
L_0022: br Label49
L_0027: Label2
L_0027: ldloc.0
L_0028: ldfld Verse.ThingCategory category
L_002d: ldc.i4.8
L_002e: beq Label3
L_0033: ldloc.0
L_0034: ldfld Verse.ThingCategory category
L_0039: ldc.i4.s 9
L_003b: beq Label4
L_0040: ldloc.0
L_0041: ldfld Verse.ThingCategory category
L_0046: ldc.i4.6
L_0047: beq Label5
L_004c: ldloc.0
L_004d: ldfld Verse.ThingCategory category
L_0052: ldc.i4.5
L_0053: bne.un Label6
L_0058: Label3
L_0058: Label4
L_0058: Label5
L_0058: ldc.i4.0
L_0059: br Label50
L_005e: Label6
L_005e: ldloc.1
L_005f: ldfld System.Boolean destroyable
L_0064: brtrue Label7
L_0069: ldc.i4.0
L_006a: br Label51
L_006f: Label7
L_006f: ldloc.0
L_0070: ldfld Verse.ThingCategory category
L_0075: ldc.i4.4
L_0076: bne.un Label8
L_007b: ldc.i4.0
L_007c: br Label52
L_0081: Label8
L_0081: ldloc.1
L_0082: ldfld Verse.ThingCategory category
L_0087: ldc.i4.6
L_0088: bne.un Label9
L_008d: ldloc.0
L_008e: ldfld Verse.Traversability passability
L_0093: brfalse Label10
L_0098: ldc.i4.1
L_0099: br Label53
L_009e: Label9
L_009e: Label10
L_009e: ldloc.1
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.2
L_00a5: bne.un Label11
L_00aa: ldloc.0
L_00ab: ldfld Verse.Traversability passability
L_00b0: ldc.i4.2
L_00b1: bne.un Label12
L_00b6: ldloc.0
L_00b7: ldfld Verse.SurfaceType surfaceType
L_00bc: brtrue Label13
L_00c1: ldc.i4.1
L_00c2: br Label54
L_00c7: Label11
L_00c7: Label12
L_00c7: Label13
L_00c7: ldloc.0
L_00c8: callvirt Boolean get_EverTransmitsPower()
L_00cd: brfalse Label14
L_00d2: ldloc.1
L_00d3: ldsfld Verse.ThingDef PowerConduit
L_00d8: bne.un Label15
L_00dd: ldc.i4.1
L_00de: br Label55
L_00e3: Label14
L_00e3: Label15
L_00e3: ldloc.0
L_00e4: callvirt Boolean get_IsFrame()
L_00e9: brfalse Label16
L_00ee: ldloc.0
L_00ef: ldfld Verse.BuildableDef entityDefToBuild
L_00f4: ldarg.1
L_00f5: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00fa: brfalse Label17
L_00ff: ldc.i4.1
L_0100: br Label56
L_0105: Label16
L_0105: Label17
L_0105: ldloc.0
L_0106: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_010b: stloc.2
L_010c: ldloc.1
L_010d: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_0112: stloc.3
L_0113: ldloc.2
L_0114: brfalse Label18
L_0119: ldloc.3
L_011a: brtrue Label19
L_011f: Label18
L_011f: ldc.i4.0
L_0120: br Label57
L_0125: Label19
L_0125: ldloc.0
L_0126: ldfld Verse.BuildableDef entityDefToBuild
L_012b: isinst Verse.ThingDef
L_0130: stloc.s 4 (Verse.ThingDef)
L_0132: ldloc.1
L_0133: callvirt Boolean get_IsBlueprint()
L_0138: brfalse Label20
L_013d: ldloc.0
L_013e: callvirt Boolean get_IsBlueprint()
L_0143: brfalse Label21
L_0148: ldloc.s 4 (Verse.ThingDef)
L_014a: brfalse Label22
L_014f: ldloc.s 4 (Verse.ThingDef)
L_0151: ldfld RimWorld.BuildingProperties building
L_0156: brfalse Label23
L_015b: ldloc.s 4 (Verse.ThingDef)
L_015d: ldfld RimWorld.BuildingProperties building
L_0162: ldfld System.Boolean canPlaceOverWall
L_0167: brfalse Label24
L_016c: ldloc.1
L_016d: ldfld Verse.BuildableDef entityDefToBuild
L_0172: isinst Verse.ThingDef
L_0177: brfalse Label25
L_017c: ldloc.1
L_017d: ldfld Verse.BuildableDef entityDefToBuild
L_0182: castclass Verse.ThingDef
L_0187: ldsfld Verse.ThingDef Wall
L_018c: bne.un Label26
L_0191: ldc.i4.1
L_0192: br Label58
L_0197: Label22
L_0197: Label23
L_0197: Label24
L_0197: Label25
L_0197: Label26
L_0197: ldloc.1
L_0198: ldfld Verse.BuildableDef entityDefToBuild
L_019d: isinst Verse.TerrainDef
L_01a2: brfalse Label27
L_01a7: ldloc.0
L_01a8: ldfld Verse.BuildableDef entityDefToBuild
L_01ad: isinst Verse.ThingDef
L_01b2: brfalse Label28
L_01b7: ldloc.0
L_01b8: ldfld Verse.BuildableDef entityDefToBuild
L_01bd: castclass Verse.ThingDef
L_01c2: ldfld System.Boolean coversFloor
L_01c7: brfalse Label29
L_01cc: ldc.i4.1
L_01cd: br Label59
L_01d2: Label28
L_01d2: Label29
L_01d2: ldloc.0
L_01d3: ldfld Verse.BuildableDef entityDefToBuild
L_01d8: isinst Verse.TerrainDef
L_01dd: brfalse Label30
L_01e2: ldc.i4.1
L_01e3: br Label60
L_01e8: Label21
L_01e8: Label27
L_01e8: Label30
L_01e8: ldloc.1
L_01e9: ldfld Verse.BuildableDef entityDefToBuild
L_01ee: ldsfld Verse.ThingDef PowerConduit
L_01f3: bne.un Label31
L_01f8: ldloc.0
L_01f9: ldfld Verse.BuildableDef entityDefToBuild
L_01fe: isinst Verse.ThingDef
L_0203: brfalse Label32
L_0208: ldloc.0
L_0209: ldfld Verse.BuildableDef entityDefToBuild
L_020e: isinst Verse.ThingDef
L_0213: callvirt Boolean get_EverTransmitsPower()
L_0218: brfalse Label33
L_021d: ldc.i4.1
L_021e: br Label61
L_0223: Label31
L_0223: Label32
L_0223: Label33
L_0223: ldc.i4.0
L_0224: br Label62
L_0229: Label20
L_0229: ldloc.1
L_022a: callvirt Boolean get_IsFrame()
L_022f: brtrue Label34
L_0234: ldloc.1
L_0235: callvirt Boolean get_IsBlueprint()
L_023a: brfalse Label35
L_023f: Label34
L_023f: ldloc.1
L_0240: ldfld Verse.BuildableDef entityDefToBuild
L_0245: isinst Verse.TerrainDef
L_024a: brfalse Label36
L_024f: ldloc.2
L_0250: isinst Verse.ThingDef
L_0255: stloc.s 5 (Verse.ThingDef)
L_0257: ldloc.s 5 (Verse.ThingDef)
L_0259: brfalse Label37
L_025e: ldloc.s 5 (Verse.ThingDef)
L_0260: callvirt Boolean get_CoexistsWithFloors()
L_0265: brtrue Label38
L_026a: ldc.i4.1
L_026b: br Label63
L_0270: Label35
L_0270: Label36
L_0270: Label37
L_0270: Label38
L_0270: ldloc.1
L_0271: ldsfld Verse.ThingDef ActiveDropPod
L_0276: bne.un Label39
L_027b: ldc.i4.0
L_027c: br Label64
L_0281: Label39
L_0281: ldloc.0
L_0282: ldsfld Verse.ThingDef ActiveDropPod
L_0287: bne.un Label40
L_028c: ldloc.1
L_028d: ldsfld Verse.ThingDef ActiveDropPod
L_0292: bne.un Label41
L_0297: ldc.i4.0
L_0298: br Label65
L_029d: Label41
L_029d: ldloc.1
L_029e: ldfld Verse.ThingCategory category
L_02a3: ldc.i4.3
L_02a4: bne.un Label42
L_02a9: ldloc.1
L_02aa: ldfld Verse.Traversability passability
L_02af: ldc.i4.2
L_02b0: bne.un Label43
L_02b5: ldc.i4.1
L_02b6: br Label66
L_02bb: Label42
L_02bb: Label43
L_02bb: ldc.i4.0
L_02bc: br Label67
L_02c1: Label40
L_02c1: ldloc.0
L_02c2: call Boolean IsEdifice(Verse.BuildableDef)
L_02c7: brfalse Label44
L_02cc: ldloc.0
L_02cd: callvirt Boolean get_BlockPlanting()
L_02d2: brfalse Label45
L_02d7: ldloc.1
L_02d8: ldfld Verse.ThingCategory category
L_02dd: ldc.i4.4
L_02de: bne.un Label46
L_02e3: ldc.i4.1
L_02e4: br Label68
L_02e9: Label45
L_02e9: Label46
L_02e9: ldloc.2
L_02ea: isinst Verse.TerrainDef
L_02ef: brtrue Label47
L_02f4: ldloc.3
L_02f5: call Boolean IsEdifice(Verse.BuildableDef)
L_02fa: brfalse Label48
L_02ff: ldc.i4.1
L_0300: br Label69
L_0305: Label44
L_0305: Label47
L_0305: Label48
L_0305: ldc.i4.0
L_0306: Label49
L_0306: Label50
L_0306: Label51
L_0306: Label52
L_0306: Label53
L_0306: Label54
L_0306: Label55
L_0306: Label56
L_0306: Label57
L_0306: Label58
L_0306: Label59
L_0306: Label60
L_0306: Label61
L_0306: Label62
L_0306: Label63
L_0306: Label64
L_0306: Label65
L_0306: Label66
L_0306: Label67
L_0306: Label68
L_0306: Label69
L_0306: stloc 6 (System.Boolean)
L_0308: ldarg 0
L_030e: ldarg 1
L_0314: ldloca 6 (System.Boolean)
L_0316: call Void InvisDoorsDontWipe(Verse.BuildableDef, Verse.BuildableDef,
Boolean ByRef)
L_031b: ldloc 6 (System.Boolean)
L_031d: ret
DONE

### Patch Verse.AI.GenPath, Boolean ShouldNotEnterCell(Verse.Pawn, Verse.Map,


IntVec3)
L_0000: Local var 0: Verse.Building
L_0000: Local var 1: RimWorld.Building_Door
L_0000: Local var 2: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.1
L_0007: ldfld Verse.AI.PathGrid pathGrid
L_000c: ldarg.2
L_000d: callvirt Int32 PerceivedPathCostAt(IntVec3)
L_0012: ldc.i4.s 30
L_0014: ble Label1
L_0019: ldc.i4.1
L_001a: br Label9
L_001f: Label1
L_001f: ldarg.2
L_0020: ldarg.1
L_0021: call Boolean Walkable(IntVec3, Verse.Map)
L_0026: brtrue Label2
L_002b: ldc.i4.1
L_002c: br Label10
L_0031: Label2
L_0031: ldarg.0
L_0032: brfalse Label3
L_0037: ldarg.2
L_0038: ldarg.0
L_0039: call Boolean IsForbidden(IntVec3, Verse.Pawn)
L_003e: brfalse Label4
L_0043: ldc.i4.1
L_0044: br Label11
L_0049: Label4
L_0049: ldarg.2
L_004a: ldarg.1
L_004b: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0050: stloc.0
L_0051: ldloc.0
L_0052: brfalse Label5
L_0057: ldloc.0
L_0058: isinst RimWorld.Building_Door
L_005d: stloc.1
L_005e: ldloc.1
L_005f: brfalse Label6
L_0064: ldloc.1
L_0065: ldarg.0
L_0066: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_006b: brfalse Label7
L_0070: ldc.i4.1
L_0071: br Label12
L_0076: Label7
L_0076: ldloc.1
L_0077: ldarg.0
L_0078: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_007d: brtrue Label8
L_0082: ldc.i4.1
L_0083: br Label13
L_0088: Label3
L_0088: Label5
L_0088: Label6
L_0088: Label8
L_0088: ldc.i4.0
L_0089: Label9
L_0089: Label10
L_0089: Label11
L_0089: Label12
L_0089: Label13
L_0089: stloc 2 (System.Boolean)
L_008a: ldarg 0
L_0090: ldarg 1
L_0096: ldarg 2
L_009c: ldloca 2 (System.Boolean)
L_009e: call Void ShouldNotEnterCellInvisDoors(Verse.Pawn, Verse.Map, IntVec3,
Boolean ByRef)
L_00a3: ldloc 2 (System.Boolean)
L_00a4: ret
DONE

### Patch RimWorld.CompForbiddable, Void PostDraw()


L_0000: ldarg.0
L_0001: call Boolean DontDrawInvisDoorForbiddenIcons(RimWorld.CompForbiddable)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld System.Boolean forbiddenInt
L_0011: brfalse Label1
L_0016: ldarg.0
L_0017: ldfld Verse.ThingWithComps parent
L_001c: isinst RimWorld.Blueprint
L_0021: brtrue Label2
L_0026: ldarg.0
L_0027: ldfld Verse.ThingWithComps parent
L_002c: isinst RimWorld.Frame
L_0031: brfalse Label3
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld Verse.ThingWithComps parent
L_003c: ldfld Verse.ThingDef def
L_0041: ldflda Verse.IntVec2 size
L_0046: ldfld System.Int32 x
L_004b: ldc.i4.1
L_004c: bgt Label4
L_0051: ldarg.0
L_0052: ldfld Verse.ThingWithComps parent
L_0057: ldfld Verse.ThingDef def
L_005c: ldflda Verse.IntVec2 size
L_0061: ldfld System.Int32 z
L_0066: ldc.i4.1
L_0067: ble Label5
L_006c: Label4
L_006c: ldarg.0
L_006d: ldfld Verse.ThingWithComps parent
L_0072: callvirt Verse.Map get_Map()
L_0077: ldfld RimWorld.OverlayDrawer overlayDrawer
L_007c: ldarg.0
L_007d: ldfld Verse.ThingWithComps parent
L_0082: ldc.i4.s 16
L_0084: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0089: br Label6
L_008e: Label5
L_008e: ldarg.0
L_008f: ldfld Verse.ThingWithComps parent
L_0094: callvirt Verse.Map get_Map()
L_0099: ldfld RimWorld.OverlayDrawer overlayDrawer
L_009e: ldarg.0
L_009f: ldfld Verse.ThingWithComps parent
L_00a4: ldc.i4.8
L_00a5: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00aa: Label6
L_00aa: br Label7
L_00af: Label3
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingWithComps parent
L_00b5: ldfld Verse.ThingDef def
L_00ba: ldfld Verse.ThingCategory category
L_00bf: ldc.i4.3
L_00c0: bne.un Label8
L_00c5: ldarg.0
L_00c6: ldfld Verse.ThingWithComps parent
L_00cb: callvirt Verse.Map get_Map()
L_00d0: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00d5: ldarg.0
L_00d6: ldfld Verse.ThingWithComps parent
L_00db: ldc.i4.s 16
L_00dd: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00e2: br Label9
L_00e7: Label8
L_00e7: ldarg.0
L_00e8: ldfld Verse.ThingWithComps parent
L_00ed: callvirt Verse.Map get_Map()
L_00f2: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00f7: ldarg.0
L_00f8: ldfld Verse.ThingWithComps parent
L_00fd: ldc.i4.8
L_00fe: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0103: Label1
L_0103: Label7
L_0103: Label9
L_0103: Label0
L_0103: ret
DONE

### Patch Verse.AI.PawnPathUtility, Boolean


TryFindLastCellBeforeBlockingDoor(Verse.AI.PawnPath, Verse.Pawn, IntVec3 ByRef)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Door
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg 0
L_000c: ldarg 1
L_0012: ldarg 2
L_0018: ldloca 3 (System.Boolean)
L_001a: call Boolean ManhunterJobGiverFix(Verse.AI.PawnPath, Verse.Pawn, IntVec3
ByRef, Boolean ByRef)
L_001f: brfalse Label0
L_0024: ldarg.0
L_0025: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_002a: callvirt Int32 get_Count()
L_002f: ldc.i4.1
L_0030: bne.un Label1
L_0035: ldarg.2
L_0036: ldarg.0
L_0037: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_003c: ldc.i4.0
L_003d: callvirt IntVec3 get_Item(Int32)
L_0042: stobj Verse.IntVec3
L_0047: ldc.i4.0
L_0048: br Label6
L_004d: Label1
L_004d: ldarg.0
L_004e: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0053: stloc.0
L_0054: ldloc.0
L_0055: callvirt Int32 get_Count()
L_005a: ldc.i4.2
L_005b: sub
L_005c: stloc.1
L_005d: br Label2
L_0062: Label5
L_0062: ldloc.0
L_0063: ldloc.1
L_0064: callvirt IntVec3 get_Item(Int32)
L_0069: ldarg.1
L_006a: callvirt Verse.Map get_Map()
L_006f: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0074: isinst RimWorld.Building_Door
L_0079: stloc.2
L_007a: ldloc.2
L_007b: brfalse Label3
L_0080: ldloc.2
L_0081: ldarg.1
L_0082: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0087: brtrue Label4
L_008c: ldarg.2
L_008d: ldloc.0
L_008e: ldloc.1
L_008f: ldc.i4.1
L_0090: add
L_0091: callvirt IntVec3 get_Item(Int32)
L_0096: stobj Verse.IntVec3
L_009b: ldc.i4.1
L_009c: br Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldloc.1
L_00a2: ldc.i4.1
L_00a3: sub
L_00a4: stloc.1
L_00a5: Label2
L_00a5: ldloc.1
L_00a6: ldc.i4.1
L_00a7: bge Label5
L_00ac: ldarg.2
L_00ad: ldloc.0
L_00ae: ldc.i4.0
L_00af: callvirt IntVec3 get_Item(Int32)
L_00b4: stobj Verse.IntVec3
L_00b9: ldc.i4.0
L_00ba: Label6
L_00ba: Label7
L_00ba: stloc 3 (System.Boolean)
L_00bb: Label0
L_00bb: ldloc 3 (System.Boolean)
L_00bc: ret
DONE

### Patch RimWorld.ForbidUtility, Boolean IsForbiddenToPass(RimWorld.Building_Door,


Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: ldc.i4.0
L_0008: call Boolean CaresAboutForbidden(Verse.Pawn, Boolean)
L_000d: brtrue Label1
L_0012: ldc.i4.0
L_0013: br Label3
L_0018: Label1
L_0018: ldarg.0
L_0019: ldarg.1
L_001a: callvirt RimWorld.Faction get_Faction()
L_001f: call Boolean IsForbidden(Verse.Thing, RimWorld.Faction)
L_0024: brfalse Label2
L_0029: ldc.i4.1
L_002a: br Label4
L_002f: Label2
L_002f: ldc.i4.0
L_0030: Label3
L_0030: Label4
L_0030: stloc 0 (System.Boolean)
L_0031: ldarg 0
L_0037: ldarg 1
L_003d: ldloca 0 (System.Boolean)
L_003f: call Void IsForbiddenToPass_PostFix(Verse.Thing, Verse.Pawn, Boolean ByRef)
L_0044: ldloc 0 (System.Boolean)
L_0045: ret
DONE
### Patch Verse.AI.PathFinder, Int32 GetBuildingCost(Verse.Building, TraverseParms,
Verse.Pawn)
L_0000: Local var 0: RimWorld.Building_Door
L_0000: Local var 1: Verse.TraverseMode
L_0000: Local var 2: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Int32)
L_0006: ldarg.0
L_0007: isinst RimWorld.Building_Door
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldarga.s 1
L_0015: ldfld Verse.TraverseMode mode
L_001a: stloc.1
L_001b: ldloc.1
L_001c: switch Labels2,3,4,5,6,7
L_0039: br Label8
L_003e: Label4
L_003e: Label6
L_003e: ldloc.0
L_003f: callvirt Boolean get_FreePassage()
L_0044: brfalse Label9
L_0049: ldc.i4.0
L_004a: br Label30
L_004f: Label9
L_004f: ldc.i4 2147483647
L_0054: br Label31
L_0059: Label5
L_0059: Label7
L_0059: ldarg.2
L_005a: brfalse Label10
L_005f: ldloc.0
L_0060: ldarg.2
L_0061: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0066: brfalse Label11
L_006b: ldloc.0
L_006c: ldarg.2
L_006d: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0072: brtrue Label12
L_0077: ldloc.0
L_0078: callvirt Boolean get_FreePassage()
L_007d: brtrue Label13
L_0082: ldloc.0
L_0083: callvirt Int32 get_TicksToOpenNow()
L_0088: br Label32
L_008d: Label10
L_008d: Label11
L_008d: Label12
L_008d: Label13
L_008d: ldloc.0
L_008e: ldarg.2
L_008f: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0094: brfalse Label14
L_0099: ldc.i4.0
L_009a: br Label33
L_009f: Label14
L_009f: ldc.i4.s 50
L_00a1: ldloc.0
L_00a2: callvirt Int32 get_HitPoints()
L_00a7: conv.r4
L_00a8: ldc.r4 0.2
L_00ad: mul
L_00ae: conv.i4
L_00af: add
L_00b0: br Label34
L_00b5: Label3
L_00b5: ldarg.2
L_00b6: brfalse Label15
L_00bb: ldloc.0
L_00bc: ldarg.2
L_00bd: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00c2: brfalse Label16
L_00c7: ldloc.0
L_00c8: ldarg.2
L_00c9: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_00ce: brtrue Label17
L_00d3: ldloc.0
L_00d4: callvirt Boolean get_FreePassage()
L_00d9: brtrue Label18
L_00de: ldloc.0
L_00df: callvirt Int32 get_TicksToOpenNow()
L_00e4: br Label35
L_00e9: Label15
L_00e9: Label16
L_00e9: Label17
L_00e9: Label18
L_00e9: ldloc.0
L_00ea: ldarg.2
L_00eb: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_00f0: brfalse Label19
L_00f5: ldc.i4.0
L_00f6: br Label36
L_00fb: Label19
L_00fb: ldc.i4 150
L_0100: br Label37
L_0105: Label2
L_0105: ldarga.s 1
L_0107: ldfld System.Boolean canBash
L_010c: brtrue Label20
L_0111: ldloc.0
L_0112: ldarg.2
L_0113: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0118: brfalse Label21
L_011d: ldsfld System.Boolean drawPaths
L_0122: brfalse Label22
L_0127: ldarg.0
L_0128: callvirt IntVec3 get_Position()
L_012d: ldarg.0
L_012e: callvirt Verse.Map get_Map()
L_0133: ldc.r4 0.77
L_0138: ldstr "forbid"
L_013d: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_0142: Label22
L_0142: ldc.i4 2147483647
L_0147: br Label38
L_014c: Label20
L_014c: Label21
L_014c: ldloc.0
L_014d: ldarg.2
L_014e: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0153: brfalse Label23
L_0158: ldloc.0
L_0159: callvirt Boolean get_FreePassage()
L_015e: brtrue Label24
L_0163: ldloc.0
L_0164: callvirt Int32 get_TicksToOpenNow()
L_0169: br Label39
L_016e: Label23
L_016e: Label24
L_016e: ldloc.0
L_016f: ldarg.2
L_0170: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0175: brfalse Label25
L_017a: ldc.i4.0
L_017b: br Label40
L_0180: Label25
L_0180: ldarga.s 1
L_0182: ldfld System.Boolean canBash
L_0187: brfalse Label26
L_018c: ldc.i4 300
L_0191: br Label41
L_0196: Label26
L_0196: ldsfld System.Boolean drawPaths
L_019b: brfalse Label27
L_01a0: ldarg.0
L_01a1: callvirt IntVec3 get_Position()
L_01a6: ldarg.0
L_01a7: callvirt Verse.Map get_Map()
L_01ac: ldc.r4 0.34
L_01b1: ldstr "cant pass"
L_01b6: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_01bb: Label27
L_01bb: ldc.i4 2147483647
L_01c0: br Label42
L_01c5: Label8
L_01c5: br Label28
L_01ca: Label1
L_01ca: ldarg.2
L_01cb: brfalse Label29
L_01d0: ldarg.0
L_01d1: ldarg.2
L_01d2: callvirt UInt16 PathFindCostFor(Verse.Pawn)
L_01d7: br Label43
L_01dc: Label28
L_01dc: Label29
L_01dc: ldc.i4.0
L_01dd: Label30
L_01dd: Label31
L_01dd: Label32
L_01dd: Label33
L_01dd: Label34
L_01dd: Label35
L_01dd: Label36
L_01dd: Label37
L_01dd: Label38
L_01dd: Label39
L_01dd: Label40
L_01dd: Label41
L_01dd: Label42
L_01dd: Label43
L_01dd: stloc 2 (System.Int32)
L_01de: ldarg 0
L_01e4: ldarg 1
L_01ea: ldarg 2
L_01f0: ldloca 2 (System.Int32)
L_01f2: call Void GetBuildingCost_PostFix(Verse.Building, TraverseParms,
Verse.Pawn, Int32 ByRef)
L_01f7: ldloc 2 (System.Int32)
L_01f8: ret
DONE

### Patch Verse.AI.PawnPathUtility, Verse.Thing


FirstBlockingBuilding(Verse.AI.PawnPath, IntVec3 ByRef, Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: Verse.Building
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Building
L_0000: Local var 5: RimWorld.Building_Door
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: Verse.Thing
L_0000: ldnull
L_0001: stloc 7 (Verse.Thing)
L_0003: ldarg.0
L_0004: callvirt Boolean get_Found()
L_0009: brtrue Label1
L_000e: ldarg.1
L_000f: call IntVec3 get_Invalid()
L_0014: stobj Verse.IntVec3
L_0019: ldnull
L_001a: br Label22
L_001f: Label1
L_001f: ldarg.0
L_0020: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0025: stloc.0
L_0026: ldloc.0
L_0027: callvirt Int32 get_Count()
L_002c: ldc.i4.1
L_002d: bne.un Label2
L_0032: ldarg.1
L_0033: ldloc.0
L_0034: ldc.i4.0
L_0035: callvirt IntVec3 get_Item(Int32)
L_003a: stobj Verse.IntVec3
L_003f: ldnull
L_0040: br Label23
L_0045: Label2
L_0045: ldnull
L_0046: stloc.1
L_0047: call IntVec3 get_Invalid()
L_004c: stloc.2
L_004d: ldloc.0
L_004e: callvirt Int32 get_Count()
L_0053: ldc.i4.2
L_0054: sub
L_0055: stloc.3
L_0056: br Label3
L_005b: Label21
L_005b: ldloc.0
L_005c: ldloc.3
L_005d: callvirt IntVec3 get_Item(Int32)
L_0062: ldarg.2
L_0063: callvirt Verse.Map get_Map()
L_0068: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_006d: stloc.s 4 (Verse.Building)
L_006f: ldloc.s 4 (Verse.Building)
L_0071: brfalse Label4
L_0076: ldloc.s 4 (Verse.Building)
L_0078: isinst RimWorld.Building_Door
L_007d: stloc.s 5 (RimWorld.Building_Door)
L_007f: ldloc.s 5 (RimWorld.Building_Door)
L_0081: brfalse Label5
L_0086: ldloc.s 5 (RimWorld.Building_Door)
L_0088: callvirt Boolean get_FreePassage()
L_008d: brtrue Label6
L_0092: ldarg.2
L_0093: brfalse Label7
L_0098: ldloc.s 5 (RimWorld.Building_Door)
L_009a: ldarg.2
L_009b: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00a0: ldc.i4.0
L_00a1: ceq
L_00a3: br Label8
L_00a8: Label7
L_00a8: ldc.i4.1
L_00a9: Label8
L_00a9: br Label9
L_00ae: Label5
L_00ae: Label6
L_00ae: ldc.i4.0
L_00af: Label9
L_00af: stloc.s 6 (System.Boolean)
L_00b1: ldloc.s 6 (System.Boolean)
L_00b3: brtrue Label10
L_00b8: ldloc.s 4 (Verse.Building)
L_00ba: ldfld Verse.ThingDef def
L_00bf: ldfld Verse.Traversability passability
L_00c4: ldc.i4.2
L_00c5: bne.un Label11
L_00ca: Label10
L_00ca: ldloc.1
L_00cb: brfalse Label12
L_00d0: ldarg.1
L_00d1: ldloc.2
L_00d2: stobj Verse.IntVec3
L_00d7: ldloc.1
L_00d8: br Label24
L_00dd: Label12
L_00dd: ldarg.1
L_00de: ldloc.0
L_00df: ldloc.3
L_00e0: ldc.i4.1
L_00e1: add
L_00e2: callvirt IntVec3 get_Item(Int32)
L_00e7: stobj Verse.IntVec3
L_00ec: ldloc.s 4 (Verse.Building)
L_00ee: br Label25
L_00f3: Label4
L_00f3: Label11
L_00f3: ldloc.s 4 (Verse.Building)
L_00f5: brfalse Label13
L_00fa: ldloc.s 4 (Verse.Building)
L_00fc: ldfld Verse.ThingDef def
L_0101: ldfld Verse.Traversability passability
L_0106: ldc.i4.1
L_0107: bne.un Label14
L_010c: ldloc.s 4 (Verse.Building)
L_010e: ldfld Verse.ThingDef def
L_0113: callvirt FillCategory get_Fillage()
L_0118: ldc.i4.2
L_0119: bne.un Label15
L_011e: ldloc.1
L_011f: brtrue Label16
L_0124: ldloc.s 4 (Verse.Building)
L_0126: stloc.1
L_0127: ldloc.0
L_0128: ldloc.3
L_0129: ldc.i4.1
L_012a: add
L_012b: callvirt IntVec3 get_Item(Int32)
L_0130: stloc.2
L_0131: Label16
L_0131: br Label17
L_0136: Label13
L_0136: Label14
L_0136: Label15
L_0136: ldloc.s 4 (Verse.Building)
L_0138: brfalse Label18
L_013d: ldloc.s 4 (Verse.Building)
L_013f: ldfld Verse.ThingDef def
L_0144: ldfld Verse.Traversability passability
L_0149: ldc.i4.1
L_014a: bne.un Label19
L_014f: br Label20
L_0154: Label18
L_0154: Label19
L_0154: ldnull
L_0155: stloc.1
L_0156: Label17
L_0156: Label20
L_0156: ldloc.3
L_0157: ldc.i4.1
L_0158: sub
L_0159: stloc.3
L_015a: Label3
L_015a: ldloc.3
L_015b: ldc.i4.0
L_015c: bge Label21
L_0161: ldarg.1
L_0162: ldloc.0
L_0163: ldc.i4.0
L_0164: callvirt IntVec3 get_Item(Int32)
L_0169: stobj Verse.IntVec3
L_016e: ldnull
L_016f: Label22
L_016f: Label23
L_016f: Label24
L_016f: Label25
L_016f: stloc 7 (Verse.Thing)
L_0171: ldarg 0
L_0177: ldarg 1
L_017d: ldarg 2
L_0183: ldloca 7 (Verse.Thing)
L_0185: call Void FirstBlockingBuilding_PostFix(Verse.AI.PawnPath, IntVec3 ByRef,
Verse.Pawn, Verse.Thing ByRef)
L_018a: ldloc 7 (Verse.Thing)
L_018c: ret
DONE

### Patch RimWorld.WorkGiver_DoBill, Verse.AI.Job JobOnThing(Verse.Pawn,


Verse.Thing, Boolean)
L_0000: Local var 0: RimWorld.IBillGiver
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: RimWorld.CompRefuelable
L_0000: Local var 5: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 5 (Verse.AI.Job)
L_0003: ldarg.2
L_0004: isinst RimWorld.IBillGiver
L_0009: stloc.0
L_000a: ldloc.0
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldarg.2
L_0012: call Boolean ThingIsUsableBillGiver(Verse.Thing)
L_0017: brfalse Label2
L_001c: ldloc.0
L_001d: callvirt RimWorld.BillStack get_BillStack()
L_0022: callvirt Boolean get_AnyShouldDoNow()
L_0027: brfalse Label3
L_002c: ldloc.0
L_002d: callvirt Boolean UsableForBillsAfterFueling()
L_0032: brfalse Label4
L_0037: ldarg.1
L_0038: stloc.1
L_0039: ldarg.2
L_003a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_003f: stloc.2
L_0040: ldarg.3
L_0041: stloc.3
L_0042: ldloc.1
L_0043: ldloc.2
L_0044: ldc.i4.1
L_0045: ldc.i4.m1
L_0046: ldnull
L_0047: ldloc.3
L_0048: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32, Int32,
Verse.ReservationLayerDef, Boolean)
L_004d: brfalse Label5
L_0052: ldarg.2
L_0053: call Boolean IsBurning(Verse.Thing)
L_0058: brtrue Label6
L_005d: ldarg.2
L_005e: ldarg.1
L_005f: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_0064: brfalse Label7
L_0069: Label1
L_0069: Label2
L_0069: Label3
L_0069: Label4
L_0069: Label5
L_0069: Label6
L_0069: ldnull
L_006a: br Label11
L_006f: Label7
L_006f: ldarg.2
L_0070: call RimWorld.CompRefuelable TryGetComp[CompRefuelable](Verse.Thing)
L_0075: stloc.s 4 (RimWorld.CompRefuelable)
L_0077: ldloc.s 4 (RimWorld.CompRefuelable)
L_0079: brfalse Label8
L_007e: ldloc.s 4 (RimWorld.CompRefuelable)
L_0080: callvirt Boolean get_HasFuel()
L_0085: brtrue Label9
L_008a: ldarg.1
L_008b: ldarg.2
L_008c: ldarg.3
L_008d: call Boolean CanRefuel(Verse.Pawn, Verse.Thing, Boolean)
L_0092: brtrue Label10
L_0097: ldnull
L_0098: br Label12
L_009d: Label10
L_009d: ldarg.1
L_009e: ldarg.2
L_009f: ldarg.3
L_00a0: ldnull
L_00a1: ldnull
L_00a2: call Verse.AI.Job RefuelJob(Verse.Pawn, Verse.Thing, Boolean, Verse.JobDef,
Verse.JobDef)
L_00a7: br Label13
L_00ac: Label8
L_00ac: Label9
L_00ac: ldloc.0
L_00ad: callvirt RimWorld.BillStack get_BillStack()
L_00b2: callvirt Void RemoveIncompletableBills()
L_00b7: ldarg.0
L_00b8: ldarg.1
L_00b9: ldloc.0
L_00ba: call Verse.AI.Job StartOrResumeBillJob(Verse.Pawn, IBillGiver)
L_00bf: Label11
L_00bf: Label12
L_00bf: Label13
L_00bf: stloc 5 (Verse.AI.Job)
L_00c1: ldloca 5 (Verse.AI.Job)
L_00c3: ldarg 1
L_00c9: ldarg 2
L_00cf: ldarg 3
L_00d5: call Void Postfix(Verse.AI.Job ByRef, Verse.Pawn, Verse.Thing, Boolean)
L_00da: ldloc 5 (Verse.AI.Job)
L_00dc: ret
DONE

### Patch RimWorld.Building_Bed, Void set_Medical(Boolean)


L_0000: ldarg.1
L_0001: ldarg.0
L_0002: ldfld System.Boolean medicalInt
L_0007: beq Label1
L_000c: ldarg.0
L_000d: ldfld Verse.ThingDef def
L_0012: ldfld RimWorld.BuildingProperties building
L_0017: ldfld System.Boolean bed_humanlike
L_001c: pop
L_001d: ldc.i4.1
L_001e: brtrue Label2
L_0023: Label1
L_0023: br Label4
L_0028: Label2
L_0028: ldarg.0
L_0029: call Void RemoveAllOwners()
L_002e: ldarg.0
L_002f: ldarg.1
L_0030: stfld System.Boolean medicalInt
L_0035: ldarg.0
L_0036: callvirt Void Notify_ColorChanged()
L_003b: ldarg.0
L_003c: call Boolean get_Spawned()
L_0041: brfalse Label3
L_0046: ldarg.0
L_0047: call Verse.Map get_Map()
L_004c: ldfld Verse.MapDrawer mapDrawer
L_0051: ldarg.0
L_0052: call IntVec3 get_Position()
L_0057: ldc.i4.1
L_0058: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_005d: ldarg.0
L_005e: call Void NotifyRoomBedTypeChanged()
L_0063: Label3
L_0063: ldarg.0
L_0064: call Void FacilityChanged()
L_0069: Label4
L_0069: ldarg.0
L_006a: ldarga 1
L_0070: call Void ChangeMedicalStatus(RimWorld.Building_Bed, Boolean ByRef)
L_0075: ret
DONE

### Patch Verse.DesignationCategoryDef, IEnumerable`1


get_ResolvedAllowedDesignators()
L_0000: Local var 0: Verse.DesignationCategoryDef+<>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Designator,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld Verse.DesignationCategoryDef $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, Verse.DesignationCategoryDef ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0027: ret
DONE

### Patch Verse.Dialog_RenameZone, Void SetName(System.String)


L_0000: ldarg.0
L_0001: ldfld Verse.Zone zone
L_0006: ldarg.0
L_0007: ldfld System.String curName
L_000c: stfld System.String label
L_0011: ldstr "ZoneGainsName"
L_0016: ldc.i4.1
L_0017: newarr System.Object
L_001c: dup
L_001d: ldc.i4.0
L_001e: ldarg.0
L_001f: ldfld System.String curName
L_0024: stelem.ref
L_0025: call System.String Translate(System.String, System.Object[])
L_002a: ldsfld Verse.MessageTypeDef TaskCompletion
L_002f: ldc.i4.0
L_0030: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0035: call Void Postfix()
L_003a: ret
DONE

### Patch Verse.DynamicDrawManager, Void DrawDynamicThings()


L_0000: Local var 0: System.Boolean[]
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: Verse.CellIndices
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Exception
L_0000: Local var 7: System.Exception
L_0000: ldarga 0
L_0006: call Boolean Prefix(Verse.DynamicDrawManager ByRef)
L_000b: brfalse Label0
L_0010: ldsfld System.Boolean drawThingsDynamic
L_0015: brtrue Label1
L_001a: br Label18
L_001f: Label1
L_001f: ldarg.0
L_0020: ldc.i4.1
L_0021: stfld System.Boolean drawingNow
.try
{
L_0026: ldarg.0
L_0027: ldfld Verse.Map map
L_002c: ldfld Verse.FogGrid fogGrid
L_0031: ldfld System.Boolean[] fogGrid
L_0036: stloc.0
L_0037: call Verse.CameraDriver get_CameraDriver()
L_003c: callvirt CellRect get_CurrentViewRect()
L_0041: stloc.1
L_0042: ldloca.s 1 (Verse.CellRect)
L_0044: ldarg.0
L_0045: ldfld Verse.Map map
L_004a: call CellRect ClipInsideMap(Verse.Map)
L_004f: pop
L_0050: ldloca.s 1 (Verse.CellRect)
L_0052: ldc.i4.1
L_0053: call CellRect ExpandedBy(Int32)
L_0058: stloc.1
L_0059: ldarg.0
L_005a: ldfld Verse.Map map
L_005f: ldfld Verse.CellIndices cellIndices
L_0064: stloc.3
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.HashSet`1[Verse.Thing] drawThings
L_006b: callvirt Enumerator GetEnumerator()
L_0070: stloc.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
.try
{
L_0072: br Label2
L_0077: Label14
L_0077: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0079: call Verse.Thing get_Current()
L_007e: stloc.s 4 (Verse.Thing)
L_0080: ldloc.s 4 (Verse.Thing)
L_0082: callvirt IntVec3 get_Position()
L_0087: stloc.2
L_0088: ldloca.s 1 (Verse.CellRect)
L_008a: ldloc.2
L_008b: call Boolean Contains(IntVec3)
L_0090: brtrue Label3
L_0095: ldloc.s 4 (Verse.Thing)
L_0097: ldfld Verse.ThingDef def
L_009c: ldfld System.Boolean drawOffscreen
L_00a1: brtrue Label4
L_00a6: leave Label5
L_00ab: Label3
L_00ab: Label4
L_00ab: ldloc.0
L_00ac: ldloc.3
L_00ad: ldloc.2
L_00ae: callvirt Int32 CellToIndex(IntVec3)
L_00b3: ldelem.u1
L_00b4: brfalse Label6
L_00b9: ldloc.s 4 (Verse.Thing)
L_00bb: ldfld Verse.ThingDef def
L_00c0: ldfld System.Boolean seeThroughFog
L_00c5: brtrue Label7
L_00ca: leave Label8
L_00cf: Label6
L_00cf: Label7
L_00cf: ldloc.s 4 (Verse.Thing)
L_00d1: ldfld Verse.ThingDef def
L_00d6: ldfld System.Single hideAtSnowDepth
L_00db: ldc.r4 1
L_00e0: bge.un Label9
L_00e5: ldarg.0
L_00e6: ldfld Verse.Map map
L_00eb: ldfld Verse.SnowGrid snowGrid
L_00f0: ldloc.s 4 (Verse.Thing)
L_00f2: callvirt IntVec3 get_Position()
L_00f7: callvirt Single GetDepth(IntVec3)
L_00fc: ldloc.s 4 (Verse.Thing)
L_00fe: ldfld Verse.ThingDef def
L_0103: ldfld System.Single hideAtSnowDepth
L_0108: ble.un Label10
L_010d: leave Label11
L_0112: Label9
L_0112: Label10
.try
{
L_0112: ldloc.s 4 (Verse.Thing)
L_0114: callvirt Void Draw()
L_0119: leave Label12
L_011e: leave (autogenerated)
} // end try
.catch System.Exception
{
L_0123: stloc.s 6 (System.Exception)
L_0125: ldc.i4.4
L_0126: newarr System.Object
L_012b: dup
L_012c: ldc.i4.0
L_012d: ldstr "Exception drawing "
L_0132: stelem.ref
L_0133: dup
L_0134: ldc.i4.1
L_0135: ldloc.s 4 (Verse.Thing)
L_0137: stelem.ref
L_0138: dup
L_0139: ldc.i4.2
L_013a: ldstr ": "
L_013f: stelem.ref
L_0140: dup
L_0141: ldc.i4.3
L_0142: ldloc.s 6 (System.Exception)
L_0144: callvirt System.String ToString()
L_0149: stelem.ref
L_014a: call System.String Concat(System.Object[])
L_014f: ldc.i4.0
L_0150: call Void Error(System.String, Boolean)
L_0155: leave Label13
L_015a: leave (autogenerated)
} // end handler
L_015f: Label2
L_015f: Label5
L_015f: Label8
L_015f: Label11
L_015f: Label12
L_015f: Label13
L_015f: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0161: call Boolean MoveNext()
L_0166: brtrue Label14
L_016b: leave Label15
L_0170: leave (autogenerated)
} // end try
.finally
{
L_0175: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0177: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing]
L_017d: callvirt Void Dispose()
L_0182: endfinally
L_0183: leave (autogenerated)
} // end handler
L_0184: Label15
L_0184: leave Label16
L_0189: leave (autogenerated)
} // end try
.catch System.Exception
{
L_018e: stloc.s 7 (System.Exception)
L_0190: ldstr "Exception drawing dynamic things: "
L_0195: ldloc.s 7 (System.Exception)
L_0197: call System.String Concat(System.Object, System.Object)
L_019c: ldc.i4.0
L_019d: call Void Error(System.String, Boolean)
L_01a2: leave Label17
L_01a7: leave (autogenerated)
} // end handler
L_01ac: Label16
L_01ac: Label17
L_01ac: ldarg.0
L_01ad: ldc.i4.0
L_01ae: stfld System.Boolean drawingNow
L_01b3: Label18
L_01b3: Label0
L_01b3: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterActivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brtrue Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Void Add(RimWorld.CompGatherSpot)
L_001d: Label1
L_001d: ldarga 1
L_0023: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0028: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterDeactivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Boolean Remove(RimWorld.CompGatherSpot)
L_001d: pop
L_001e: Label1
L_001e: ldarga 1
L_0024: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0029: ret
DONE

### Patch Verse.ListerBuildings, Void Add(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.BuildingProperties building
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldfld Verse.ThingDef def
L_0016: ldfld RimWorld.BuildingProperties building
L_001b: ldfld System.Boolean isNaturalRock
L_0020: brfalse Label2
L_0025: br Label7
L_002a: Label1
L_002a: Label2
L_002a: ldarg.1
L_002b: callvirt RimWorld.Faction get_Faction()
L_0030: call RimWorld.Faction get_OfPlayer()
L_0035: bne.un Label3
L_003a: ldarg.0
L_003b: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0040: ldarg.1
L_0041: callvirt Void Add(Verse.Building)
L_0046: ldarg.1
L_0047: isinst Verse.AI.IAttackTarget
L_004c: brfalse Label4
L_0051: ldarg.0
L_0052: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_0057: ldarg.1
L_0058: callvirt Boolean Add(Verse.Building)
L_005d: pop
L_005e: Label3
L_005e: Label4
L_005e: ldarg.1
L_005f: ldfld Verse.ThingDef def
L_0064: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0069: stloc.0
L_006a: ldloc.0
L_006b: brfalse Label5
L_0070: ldloc.0
L_0071: ldfld System.Boolean shortCircuitInRain
L_0076: brfalse Label6
L_007b: ldarg.0
L_007c: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0081: ldarg.1
L_0082: callvirt Boolean Add(Verse.Building)
L_0087: pop
L_0088: Label5
L_0088: Label6
L_0088: Label7
L_0088: ldarga 1
L_008e: call Void Postfix(Verse.Building ByRef)
L_0093: ret
DONE

### Patch Verse.ListerBuildings, Void Remove(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Building)
L_000c: pop
L_000d: ldarg.1
L_000e: isinst Verse.AI.IAttackTarget
L_0013: brfalse Label1
L_0018: ldarg.0
L_0019: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_001e: ldarg.1
L_001f: callvirt Boolean Remove(Verse.Building)
L_0024: pop
L_0025: Label1
L_0025: ldarg.1
L_0026: ldfld Verse.ThingDef def
L_002b: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0030: stloc.0
L_0031: ldloc.0
L_0032: brfalse Label2
L_0037: ldloc.0
L_0038: ldfld System.Boolean shortCircuitInRain
L_003d: brfalse Label3
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0048: ldarg.1
L_0049: callvirt Boolean Remove(Verse.Building)
L_004e: pop
L_004f: Label2
L_004f: Label3
L_004f: ldarga 1
L_0055: call Void Postfix(Verse.Building ByRef)
L_005a: ret
DONE

### Patch Verse.Room, Verse.Room MakeNew(Verse.Map)


L_0000: Local var 0: Verse.Room
L_0000: Local var 1: Verse.Room
L_0000: ldnull
L_0001: stloc 1 (Verse.Room)
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: callvirt Int32 get_Index()
L_000f: conv.i1
L_0010: stfld System.SByte mapIndex
L_0015: ldloc.0
L_0016: ldsfld System.Int32 nextRoomID
L_001b: stfld System.Int32 ID
L_0020: ldsfld System.Int32 nextRoomID
L_0025: ldc.i4.1
L_0026: add
L_0027: stsfld System.Int32 nextRoomID
L_002c: ldloc.0
L_002d: stloc 1 (Verse.Room)
L_002e: ldloca 1 (Verse.Room)
L_0030: call Void Postfix(Verse.Room ByRef)
L_0035: ldloc 1 (Verse.Room)
L_0036: ret
DONE

### Patch Verse.Room, Void Notify_BedTypeChanged()


L_0000: ldarg.0
L_0001: ldc.i4.1
L_0002: stfld System.Boolean statsAndRoleDirty
L_0007: ldarga 0
L_000d: call Void Postfix(Verse.Room ByRef)
L_0012: ret
DONE

### Patch Verse.Room, Void Notify_RoomShapeOrContainedBedsChanged()


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Bed
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: RimWorld.Building_Bed
L_0000: Local var 6:
System.Collections.Generic.IEnumerator`1[[RimWorld.Building_Bed, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldc.i4.m1
L_0002: stfld System.Int32 cachedCellCount
L_0007: ldarg.0
L_0008: ldc.i4.m1
L_0009: stfld System.Int32 cachedOpenRoofCount
L_000e: ldarg.0
L_000f: ldnull
L_0010: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_0015: call ProgramState get_ProgramState()
L_001a: ldc.i4.2
L_001b: bne.un Label1
L_0020: ldarg.0
L_0021: call Boolean get_Fogged()
L_0026: brtrue Label2
L_002b: ldarg.0
L_002c: call Verse.Map get_Map()
L_0031: ldfld Verse.AutoBuildRoofAreaSetter autoBuildRoofAreaSetter
L_0036: ldarg.0
L_0037: callvirt Void TryGenerateAreaFor(Verse.Room)
L_003c: Label1
L_003c: Label2
L_003c: ldarg.0
L_003d: ldc.i4.0
L_003e: stfld System.Boolean isPrisonCell
L_0043: ldarg.0
L_0044: call Boolean RoomCanBePrisonCell(Verse.Room)
L_0049: brfalse Label3
L_004e: ldarg.0
L_004f: call System.Collections.Generic.List`1[Verse.Thing]
get_ContainedAndAdjacentThings()
L_0054: stloc.0
L_0055: ldc.i4.0
L_0056: stloc.1
L_0057: br Label4
L_005c: Label8
L_005c: ldloc.0
L_005d: ldloc.1
L_005e: callvirt Verse.Thing get_Item(Int32)
L_0063: isinst RimWorld.Building_Bed
L_0068: stloc.2
L_0069: ldloc.2
L_006a: brfalse Label5
L_006f: ldloc.2
L_0070: callvirt Boolean get_ForPrisoners()
L_0075: brfalse Label6
L_007a: ldarg.0
L_007b: ldc.i4.1
L_007c: stfld System.Boolean isPrisonCell
L_0081: br Label7
L_0086: Label5
L_0086: Label6
L_0086: ldloc.1
L_0087: ldc.i4.1
L_0088: add
L_0089: stloc.1
L_008a: Label4
L_008a: ldloc.1
L_008b: ldloc.0
L_008c: callvirt Int32 get_Count()
L_0091: blt Label8
L_0096: Label3
L_0096: Label7
L_0096: ldarg.0
L_0097: call Verse.Map get_Map()
L_009c: ldfld Verse.ListerThings listerThings
L_00a1: ldsfld Verse.ThingDef NutrientPasteDispenser
L_00a6: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsOfDef(Verse.ThingDef)
L_00ab: stloc.3
L_00ac: ldc.i4.0
L_00ad: stloc.s 4 (System.Int32)
L_00af: br Label9
L_00b4: Label10
L_00b4: ldloc.3
L_00b5: ldloc.s 4 (System.Int32)
L_00b7: callvirt Verse.Thing get_Item(Int32)
L_00bc: callvirt Void Notify_ColorChanged()
L_00c1: ldloc.s 4 (System.Int32)
L_00c3: ldc.i4.1
L_00c4: add
L_00c5: stloc.s 4 (System.Int32)
L_00c7: Label9
L_00c7: ldloc.s 4 (System.Int32)
L_00c9: ldloc.3
L_00ca: callvirt Int32 get_Count()
L_00cf: blt Label10
L_00d4: call ProgramState get_ProgramState()
L_00d9: ldc.i4.2
L_00da: bne.un Label11
L_00df: ldarg.0
L_00e0: ldfld System.Boolean isPrisonCell
L_00e5: brfalse Label12
L_00ea: ldarg.0
L_00eb: call IEnumerable`1 get_ContainedBeds()
L_00f0: callvirt IEnumerator`1 GetEnumerator()
L_00f5: stloc.s 6 (System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
.try
{
L_00f7: br Label13
L_00fc: Label14
L_00fc: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_00fe: callvirt RimWorld.Building_Bed get_Current()
L_0103: stloc.s 5 (RimWorld.Building_Bed)
L_0105: ldloc.s 5 (RimWorld.Building_Bed)
L_0107: ldc.i4.1
L_0108: callvirt Void set_ForPrisoners(Boolean)
L_010d: Label13
L_010d: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_010f: callvirt Boolean MoveNext()
L_0114: brtrue Label14
L_0119: leave Label15
L_011e: leave (autogenerated)
} // end try
.finally
{
L_0123: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_0125: brfalse Label16
L_012a: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_012c: callvirt Void Dispose()
L_0131: Label16
L_0131: endfinally
L_0132: leave (autogenerated)
} // end handler
L_0133: Label11
L_0133: Label12
L_0133: Label15
L_0133: ldarg.0
L_0134: call Verse.TickManager get_TickManager()
L_0139: callvirt Int32 get_TicksGame()
L_013e: stfld System.Int32 lastChangeTick
L_0143: ldarg.0
L_0144: ldc.i4.1
L_0145: stfld System.Boolean statsAndRoleDirty
L_014a: ldarg.0
L_014b: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0150: call Void
NotifyFacilitiesAboutChangedLOSBlockers(System.Collections.Generic.List`1[Verse.Reg
ion])
L_0155: ldarga 0
L_015b: call Void Postfix(Verse.Room ByRef)
L_0160: ret
DONE

### Patch Verse.Room, Void RemoveRegion(Verse.Region)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(Verse.Region)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Tried to remove region from Room but this region is not here.
region="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: stelem.ref
L_0023: dup
L_0024: ldc.i4.2
L_0025: ldstr ", room="
L_002a: stelem.ref
L_002b: dup
L_002c: ldc.i4.3
L_002d: ldarg.0
L_002e: stelem.ref
L_002f: call System.String Concat(System.Object[])
L_0034: ldc.i4.0
L_0035: call Void Error(System.String, Boolean)
L_003a: br Label4
L_003f: Label1
L_003f: ldarg.0
L_0040: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0045: ldarg.1
L_0046: callvirt Boolean Remove(Verse.Region)
L_004b: pop
L_004c: ldarg.1
L_004d: ldfld System.Boolean touchesMapEdge
L_0052: brfalse Label2
L_0057: ldarg.0
L_0058: dup
L_0059: ldfld System.Int32 numRegionsTouchingMapEdge
L_005e: ldc.i4.1
L_005f: sub
L_0060: stfld System.Int32 numRegionsTouchingMapEdge
L_0065: Label2
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_006b: callvirt Int32 get_Count()
L_0070: brtrue Label3
L_0075: ldarg.0
L_0076: ldnull
L_0077: call Void set_Group(Verse.RoomGroup)
L_007c: ldarg.0
L_007d: ldc.i4.m1
L_007e: stfld System.Int32 cachedOpenRoofCount
L_0083: ldarg.0
L_0084: ldnull
L_0085: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_008a: ldarg.0
L_008b: ldc.i4.1
L_008c: stfld System.Boolean statsAndRoleDirty
L_0091: ldarg.0
L_0092: call Verse.Map get_Map()
L_0097: ldfld Verse.RegionGrid regionGrid
L_009c: ldfld System.Collections.Generic.List`1[Verse.Room] allRooms
L_00a1: ldarg.0
L_00a2: callvirt Boolean Remove(Verse.Room)
L_00a7: pop
L_00a8: Label3
L_00a8: Label4
L_00a8: ldarga 0
L_00ae: call Void Postfix(Verse.Room ByRef)
L_00b3: ret
DONE

### Patch Verse.ZoneManager, Void DeregisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Zone)
L_000c: pop
L_000d: ldarg.1
L_000e: callvirt Void PostDeregister()
L_0013: ldarga 1
L_0019: call Void Postfix(Verse.Zone ByRef)
L_001e: ret
DONE

### Patch Verse.ZoneManager, Void RegisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Void Add(Verse.Zone)
L_000c: ldarg.1
L_000d: callvirt Void PostRegister()
L_0012: ldarga 1
L_0018: call Void Postfix(Verse.Zone ByRef)
L_001d: ret
DONE

### Patch RimWorld.Zone_Growing, Void SetPlantDefToGrow(Verse.ThingDef)


L_0000: ldarg.0
L_0001: ldarg.1
L_0002: stfld Verse.ThingDef plantDefToGrow
L_0007: ldarga 0
L_000d: call Void Postfix(RimWorld.Zone_Growing ByRef)
L_0012: ret
DONE

### Patch Verse.Zone, Void RemoveCell(IntVec3)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Cannot remove cell from zone which doesn't have it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label3
L_0044: Label1
L_0044: ldarg.0
L_0045: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_004a: ldarg.1
L_004b: callvirt Boolean Remove(IntVec3)
L_0050: pop
L_0051: ldarg.0
L_0052: ldfld Verse.ZoneManager zoneManager
L_0057: ldarg.1
L_0058: callvirt Void ClearZoneGridCell(IntVec3)
L_005d: ldarg.0
L_005e: call Verse.Map get_Map()
L_0063: ldfld Verse.MapDrawer mapDrawer
L_0068: ldarg.1
L_0069: ldc.i4 128
L_006e: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_0073: ldarg.0
L_0074: ldc.i4.0
L_0075: stfld System.Boolean cellsShuffled
L_007a: ldarg.0
L_007b: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0080: callvirt Int32 get_Count()
L_0085: brtrue Label2
L_008a: ldarg.0
L_008b: call Void Deregister()
L_0090: Label2
L_0090: Label3
L_0090: ldarga 0
L_0096: call Void Postfix(Verse.Zone ByRef)
L_009b: ret
DONE

### Patch Verse.Zone, Void AddCell(IntVec3)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Thing
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brfalse Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Adding cell to zone which already has it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label5
L_0044: Label1
L_0044: ldarg.0
L_0045: call Verse.Map get_Map()
L_004a: ldfld Verse.ThingGrid thingGrid
L_004f: ldarg.1
L_0050: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsListAt(IntVec3)
L_0055: stloc.0
L_0056: ldc.i4.0
L_0057: stloc.1
L_0058: br Label2
L_005d: Label4
L_005d: ldloc.0
L_005e: ldloc.1
L_005f: callvirt Verse.Thing get_Item(Int32)
L_0064: stloc.2
L_0065: ldloc.2
L_0066: ldfld Verse.ThingDef def
L_006b: callvirt Boolean get_CanOverlapZones()
L_0070: brtrue Label3
L_0075: ldstr "Added zone over zone-incompatible thing "
L_007a: ldloc.2
L_007b: call System.String Concat(System.Object, System.Object)
L_0080: ldc.i4.0
L_0081: call Void Error(System.String, Boolean)
L_0086: br Label6
L_008b: Label3
L_008b: ldloc.1
L_008c: ldc.i4.1
L_008d: add
L_008e: stloc.1
L_008f: Label2
L_008f: ldloc.1
L_0090: ldloc.0
L_0091: callvirt Int32 get_Count()
L_0096: blt Label4
L_009b: ldarg.0
L_009c: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_00a1: ldarg.1
L_00a2: callvirt Void Add(IntVec3)
L_00a7: ldarg.0
L_00a8: ldfld Verse.ZoneManager zoneManager
L_00ad: ldarg.0
L_00ae: ldarg.1
L_00af: callvirt Void AddZoneGridCell(Verse.Zone, IntVec3)
L_00b4: ldarg.0
L_00b5: call Verse.Map get_Map()
L_00ba: ldfld Verse.MapDrawer mapDrawer
L_00bf: ldarg.1
L_00c0: ldc.i4 128
L_00c5: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_00ca: ldarg.1
L_00cb: ldarg.0
L_00cc: call Void Notify_ZoneCellAdded(IntVec3, Verse.Zone)
L_00d1: ldarg.0
L_00d2: ldc.i4.0
L_00d3: stfld System.Boolean cellsShuffled
L_00d8: Label5
L_00d8: Label6
L_00d8: ldarga 0
L_00de: call Void Postfix(Verse.Zone ByRef)
L_00e3: ret
DONE

### Patch Verse.AI.AttackTargetFinder, IAttackTarget


BestAttackTarget(IAttackTargetSearcher, TargetScanFlags,
System.Predicate`1[Verse.Thing], Single, Single, IntVec3, Single, Boolean, Boolean)
L_0000: Local var 0: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey1
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.AI.IAttackTarget
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: Verse.AI.IAttackTarget
L_0000: Local var 8: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2
L_0000: Local var 10: Verse.AI.IAttackTarget
L_0000: Local var 11: Verse.IntVec3
L_0000: Local var 12: Verse.Map
L_0000: Local var 13: Verse.ThingRequest
L_0000: Local var 14: Verse.AI.PathEndMode
L_0000: Local var 15: Verse.Pawn
L_0000: Local var 16: Verse.Danger
L_0000: Local var 17: System.Boolean
L_0000: Local var 18: Verse.TraverseParms
L_0000: Local var 19: System.Single
L_0000: Local var 20: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 21: System.Int32
L_0000: Local var 22: Verse.AI.IAttackTarget
L_0000: Local var 23: System.Single
L_0000: Local var 24: System.Single
L_0000: Local var 25: Verse.IntVec3
L_0000: Local var 26: Verse.AI.IAttackTarget
L_0000: ldnull
L_0001: stloc 26 (Verse.AI.IAttackTarget)
L_0003: ldarg 0
L_0009: ldarga 2
L_000f: call Boolean Prefix(IAttackTargetSearcher, System.Predicate`1[Verse.Thing]
ByRef)
L_0014: brfalse Label0
L_0019: newobj Void .ctor()
L_001e: stloc.0
L_001f: ldloc.0
L_0020: ldarg.0
L_0021: stfld Verse.AI.IAttackTargetSearcher searcher
L_0026: ldloc.0
L_0027: ldarg.s 8
L_0029: stfld System.Boolean canTakeTargetsCloserThanEffectiveMinRange
L_002e: ldloc.0
L_002f: ldarg.s 6
L_0031: stfld System.Single maxTravelRadiusFromLocus
L_0036: ldloc.0
L_0037: ldarg.s 5
L_0039: stfld Verse.IntVec3 locus
L_003e: ldloc.0
L_003f: ldarg.2
L_0040: stfld System.Predicate`1[Verse.Thing] validator
L_0045: ldloc.0
L_0046: ldarg.1
L_0047: stfld Verse.AI.TargetScanFlags flags
L_004c: ldloc.0
L_004d: ldarg.s 7
L_004f: stfld System.Boolean canBash
L_0054: ldloc.0
L_0055: ldarg.s 4
L_0057: stfld System.Single maxDist
L_005c: ldloc.0
L_005d: ldloc.0
L_005e: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0063: callvirt Verse.Thing get_Thing()
L_0068: stfld Verse.Thing searcherThing
L_006d: ldloc.0
L_006e: ldloc.0
L_006f: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0074: isinst Verse.Pawn
L_0079: stfld Verse.Pawn searcherPawn
L_007e: ldloc.0
L_007f: ldloc.0
L_0080: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0085: callvirt Verse.Verb get_CurrentEffectiveVerb()
L_008a: stfld Verse.Verb verb
L_008f: ldloc.0
L_0090: ldfld Verse.Verb verb
L_0095: brtrue Label1
L_009a: ldstr "BestAttackTarget with "
L_009f: ldloc.0
L_00a0: ldfld Verse.AI.IAttackTargetSearcher searcher
L_00a5: call System.String ToStringSafe[IAttackTargetSearcher]
(IAttackTargetSearcher)
L_00aa: ldstr " who has no attack verb."
L_00af: call System.String Concat(System.String, System.String, System.String)
L_00b4: ldc.i4.0
L_00b5: call Void Error(System.String, Boolean)
L_00ba: ldnull
L_00bb: br Label26
L_00c0: Label1
L_00c0: ldloc.0
L_00c1: ldloc.0
L_00c2: ldfld Verse.Verb verb
L_00c7: call Boolean IsEMP(Verse.Verb)
L_00cc: stfld System.Boolean onlyTargetMachines
L_00d1: ldloc.0
L_00d2: ldarg.3
L_00d3: ldarg.3
L_00d4: mul
L_00d5: stfld System.Single minDistSquared
L_00da: ldloc.0
L_00db: ldfld System.Single maxTravelRadiusFromLocus
L_00e0: ldloc.0
L_00e1: ldfld Verse.Verb verb
L_00e6: ldfld Verse.VerbProperties verbProps
L_00eb: ldfld System.Single range
L_00f0: add
L_00f1: stloc.1
L_00f2: ldloc.0
L_00f3: ldloc.1
L_00f4: ldloc.1
L_00f5: mul
L_00f6: stfld System.Single maxLocusDistSquared
L_00fb: ldloc.0
L_00fc: ldnull
L_00fd: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0102: ldloc.0
L_0103: ldfld Verse.AI.TargetScanFlags flags
L_0108: ldc.i4.s 64
L_010a: and
L_010b: conv.u1
L_010c: brfalse Label2
L_0111: ldloc.0
L_0112: ldloc.0
L_0113: ldftn Boolean <>m__0(IntVec3)
L_0119: newobj Void .ctor(Object, IntPtr)
L_011e: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0123: Label2
L_0123: ldloc.0
L_0124: ldloc.0
L_0125: ldftn Boolean <>m__1(IAttackTarget)
L_012b: newobj Void .ctor(Object, IntPtr)
L_0130: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0135: ldloc.0
L_0136: ldfld Verse.AI.IAttackTargetSearcher searcher
L_013b: call Boolean HasRangedAttack(IAttackTargetSearcher)
L_0140: brfalse Label3
L_0145: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_014a: callvirt Void Clear()
L_014f: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0154: ldloc.0
L_0155: ldfld Verse.Thing searcherThing
L_015a: callvirt Verse.Map get_Map()
L_015f: ldfld Verse.AI.AttackTargetsCache attackTargetsCache
L_0164: ldloc.0
L_0165: ldfld Verse.AI.IAttackTargetSearcher searcher
L_016a: callvirt System.Collections.Generic.List`1[Verse.AI.IAttackTarget]
GetPotentialTargetsFor(IAttackTargetSearcher)
L_016f: callvirt Void AddRange(IEnumerable`1)
L_0174: ldloc.0
L_0175: ldfld Verse.AI.TargetScanFlags flags
L_017a: ldc.i4.4
L_017b: and
L_017c: conv.u1
L_017d: brfalse Label4
L_0182: newobj Void .ctor()
L_0187: stloc.2
L_0188: ldloc.2
L_0189: ldloc.0
L_018a: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_018f: ldloc.2
L_0190: ldloc.0
L_0191: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0196: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_019b: ldloc.0
L_019c: ldloc.2
L_019d: ldftn Boolean <>m__0(IAttackTarget)
L_01a3: newobj Void .ctor(Object, IntPtr)
L_01a8: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01ad: Label4
L_01ad: ldc.i4.0
L_01ae: stloc.3
L_01af: ldc.i4.0
L_01b0: stloc.s 4 (System.Int32)
L_01b2: br Label5
L_01b7: Label10
L_01b7: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_01bc: ldloc.s 4 (System.Int32)
L_01be: callvirt IAttackTarget get_Item(Int32)
L_01c3: stloc.s 5 (Verse.AI.IAttackTarget)
L_01c5: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01c7: callvirt Verse.Thing get_Thing()
L_01cc: callvirt IntVec3 get_Position()
L_01d1: stloc.s 6 (Verse.IntVec3)
L_01d3: ldloca.s 6 (Verse.IntVec3)
L_01d5: ldloc.0
L_01d6: ldfld Verse.Thing searcherThing
L_01db: callvirt IntVec3 get_Position()
L_01e0: ldloc.0
L_01e1: ldfld System.Single maxDist
L_01e6: call Boolean InHorDistOf(IntVec3, Single)
L_01eb: brfalse Label6
L_01f0: ldloc.0
L_01f1: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01f6: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01f8: callvirt Boolean Invoke(IAttackTarget)
L_01fd: brfalse Label7
L_0202: ldloc.s 5 (Verse.AI.IAttackTarget)
L_0204: ldloc.0
L_0205: ldfld Verse.AI.IAttackTargetSearcher searcher
L_020a: ldloc.0
L_020b: ldfld Verse.Verb verb
L_0210: call Boolean CanShootAtFromCurrentPosition(IAttackTarget,
IAttackTargetSearcher, Verse.Verb)
L_0215: brfalse Label8
L_021a: ldc.i4.1
L_021b: stloc.3
L_021c: br Label9
L_0221: Label6
L_0221: Label7
L_0221: Label8
L_0221: ldloc.s 4 (System.Int32)
L_0223: ldc.i4.1
L_0224: add
L_0225: stloc.s 4 (System.Int32)
L_0227: Label5
L_0227: ldloc.s 4 (System.Int32)
L_0229: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_022e: callvirt Int32 get_Count()
L_0233: blt Label10
L_0238: Label9
L_0238: ldloc.3
L_0239: brfalse Label11
L_023e: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0243: ldloc.0
L_0244: ldftn Boolean <>m__2(IAttackTarget)
L_024a: newobj Void .ctor(Object, IntPtr)
L_024f: callvirt Int32 RemoveAll(System.Predicate`1[Verse.AI.IAttackTarget])
L_0254: pop
L_0255: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_025a: ldloc.0
L_025b: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0260: ldloc.0
L_0261: ldfld Verse.Verb verb
L_0266: call IAttackTarget
GetRandomShootingTargetByScore(System.Collections.Generic.List`1[Verse.AI.IAttackTa
rget], IAttackTargetSearcher, Verse.Verb)
L_026b: stloc.s 7 (Verse.AI.IAttackTarget)
L_026d: br Label12
L_0272: Label11
L_0272: ldloc.0
L_0273: ldfld Verse.AI.TargetScanFlags flags
L_0278: ldc.i4.8
L_0279: and
L_027a: conv.u1
L_027b: brfalse Label13
L_0280: ldloc.0
L_0281: ldfld Verse.AI.TargetScanFlags flags
L_0286: ldc.i4.4
L_0287: and
L_0288: conv.u1
L_0289: brtrue Label14
L_028e: ldloc.0
L_028f: ldftn Boolean <>m__3(Verse.Thing)
L_0295: newobj Void .ctor(Object, IntPtr)
L_029a: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_029c: br Label15
L_02a1: Label13
L_02a1: Label14
L_02a1: ldloc.0
L_02a2: ldftn Boolean <>m__4(Verse.Thing)
L_02a8: newobj Void .ctor(Object, IntPtr)
L_02ad: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_02af: Label15
L_02af: ldloc.0
L_02b0: ldfld Verse.Thing searcherThing
L_02b5: callvirt IntVec3 get_Position()
L_02ba: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02bf: ldloc.0
L_02c0: ldfld System.Single maxDist
L_02c5: ldloc.s 8 (System.Predicate`1[Verse.Thing])
L_02c7: ldnull
L_02c8: call Verse.Thing ClosestThing_Global(IntVec3, IEnumerable, Single,
System.Predicate`1[Verse.Thing], System.Func`2[Verse.Thing,System.Single])
L_02cd: castclass Verse.AI.IAttackTarget
L_02d2: stloc.s 7 (Verse.AI.IAttackTarget)
L_02d4: Label12
L_02d4: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02d9: callvirt Void Clear()
L_02de: ldloc.s 7 (Verse.AI.IAttackTarget)
L_02e0: br Label27
L_02e5: Label3
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn searcherPawn
L_02eb: brfalse Label16
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn searcherPawn
L_02f6: ldfld Verse.AI.Pawn_MindState mindState
L_02fb: ldfld Verse.AI.PawnDuty duty
L_0300: brfalse Label17
L_0305: ldloc.0
L_0306: ldfld Verse.Pawn searcherPawn
L_030b: ldfld Verse.AI.Pawn_MindState mindState
L_0310: ldfld Verse.AI.PawnDuty duty
L_0315: ldfld System.Single radius
L_031a: ldc.r4 0
L_031f: ble.un Label18
L_0324: ldloc.0
L_0325: ldfld Verse.Pawn searcherPawn
L_032a: callvirt Boolean get_InMentalState()
L_032f: brtrue Label19
L_0334: newobj Void .ctor()
L_0339: stloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033b: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033d: ldloc.0
L_033e: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_0343: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0345: ldloc.0
L_0346: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_034b: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_0350: ldloc.0
L_0351: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0353: ldftn Boolean <>m__0(IAttackTarget)
L_0359: newobj Void .ctor(Object, IntPtr)
L_035e: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0363: Label16
L_0363: Label17
L_0363: Label18
L_0363: Label19
L_0363: ldloc.0
L_0364: ldfld Verse.Thing searcherThing
L_0369: callvirt IntVec3 get_Position()
L_036e: stloc.s 11 (Verse.IntVec3)
L_0370: ldloc.0
L_0371: ldfld Verse.Thing searcherThing
L_0376: callvirt Verse.Map get_Map()
L_037b: stloc.s 12 (Verse.Map)
L_037d: ldc.i4.s 15
L_037f: call ThingRequest ForGroup(ThingRequestGroup)
L_0384: stloc.s 13 (Verse.ThingRequest)
L_0386: ldc.i4.2
L_0387: stloc.s 14 (Verse.AI.PathEndMode)
L_0389: ldloc.0
L_038a: ldfld Verse.Pawn searcherPawn
L_038f: stloc.s 15 (Verse.Pawn)
L_0391: ldc.i4.3
L_0392: stloc.s 16 (Verse.Danger)
L_0394: ldloc.0
L_0395: ldfld System.Boolean canBash
L_039a: stloc.s 17 (System.Boolean)
L_039c: ldloc.s 15 (Verse.Pawn)
L_039e: ldloc.s 16 (Verse.Danger)
L_03a0: ldc.i4.0
L_03a1: ldloc.s 17 (System.Boolean)
L_03a3: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_03a8: stloc.s 18 (Verse.TraverseParms)
L_03aa: ldloc.0
L_03ab: ldfld System.Single maxDist
L_03b0: stloc.s 19 (System.Single)
L_03b2: ldloc.0
L_03b3: ldftn Boolean <>m__5(Verse.Thing)
L_03b9: newobj Void .ctor(Object, IntPtr)
L_03be: stloc.s 20 (System.Predicate`1[Verse.Thing])
L_03c0: ldloc.0
L_03c1: ldfld System.Single maxDist
L_03c6: ldc.r4 800
L_03cb: ble.un Label20
L_03d0: ldc.i4.m1
L_03d1: br Label21
L_03d6: Label20
L_03d6: ldc.i4.s 40
L_03d8: Label21
L_03d8: stloc.s 21 (System.Int32)
L_03da: ldloc.s 11 (Verse.IntVec3)
L_03dc: ldloc.s 12 (Verse.Map)
L_03de: ldloc.s 13 (Verse.ThingRequest)
L_03e0: ldloc.s 14 (Verse.AI.PathEndMode)
L_03e2: ldloc.s 18 (Verse.TraverseParms)
L_03e4: ldloc.s 19 (System.Single)
L_03e6: ldloc.s 20 (System.Predicate`1[Verse.Thing])
L_03e8: ldnull
L_03e9: ldc.i4.0
L_03ea: ldloc.s 21 (System.Int32)
L_03ec: ldc.i4.0
L_03ed: ldc.i4.6
L_03ee: ldc.i4.0
L_03ef: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_03f4: castclass Verse.AI.IAttackTarget
L_03f9: stloc.s 10 (Verse.AI.IAttackTarget)
L_03fb: ldloc.s 10 (Verse.AI.IAttackTarget)
L_03fd: brfalse Label22
L_0402: ldloc.0
L_0403: ldfld Verse.Pawn searcherPawn
L_0408: call Boolean ShouldCollideWithPawns(Verse.Pawn)
L_040d: brfalse Label23
L_0412: ldloc.0
L_0413: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0418: ldloc.0
L_0419: ldfld Verse.Pawn searcherPawn
L_041e: ldloc.0
L_041f: ldfld System.Single maxDist
L_0424: ldloc.0
L_0425: ldfld System.Boolean canBash
L_042a: call IAttackTarget
FindBestReachableMeleeTarget(System.Predicate`1[Verse.AI.IAttackTarget],
Verse.Pawn, Single, Boolean)
L_042f: stloc.s 22 (Verse.AI.IAttackTarget)
L_0431: ldloc.s 22 (Verse.AI.IAttackTarget)
L_0433: brfalse Label24
L_0438: ldloc.0
L_0439: ldfld Verse.Pawn searcherPawn
L_043e: callvirt IntVec3 get_Position()
L_0443: ldloc.s 10 (Verse.AI.IAttackTarget)
L_0445: callvirt Verse.Thing get_Thing()
L_044a: callvirt IntVec3 get_Position()
L_044f: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_0454: stloc.s 11 (Verse.IntVec3)
L_0456: ldloca.s 11 (Verse.IntVec3)
L_0458: call Single get_LengthHorizontal()
L_045d: stloc.s 23 (System.Single)
L_045f: ldloc.0
L_0460: ldfld Verse.Pawn searcherPawn
L_0465: callvirt IntVec3 get_Position()
L_046a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_046c: callvirt Verse.Thing get_Thing()
L_0471: callvirt IntVec3 get_Position()
L_0476: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_047b: stloc.s 25 (Verse.IntVec3)
L_047d: ldloca.s 25 (Verse.IntVec3)
L_047f: call Single get_LengthHorizontal()
L_0484: stloc.s 24 (System.Single)
L_0486: ldloc.s 23 (System.Single)
L_0488: ldloc.s 24 (System.Single)
L_048a: sub
L_048b: call Single Abs(Single)
L_0490: ldc.r4 50
L_0495: bge.un Label25
L_049a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_049c: stloc.s 10 (Verse.AI.IAttackTarget)
L_049e: Label22
L_049e: Label23
L_049e: Label24
L_049e: Label25
L_049e: ldloc.s 10 (Verse.AI.IAttackTarget)
L_04a0: Label26
L_04a0: Label27
L_04a0: stloc 26 (Verse.AI.IAttackTarget)
L_04a2: Label0
L_04a2: ldloc 26 (Verse.AI.IAttackTarget)
L_04a4: ret
DONE

### Patch RimWorld.Pawn_DraftController, IEnumerable`1 GetGizmos()


L_0000: Local var 0: RimWorld.Pawn_DraftController+<GetGizmos>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Gizmo,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld RimWorld.Pawn_DraftController $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, RimWorld.Pawn_DraftController ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0027: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ldarg.0
L_019a: ldarg 1
L_01a0: call Void Postfix(RimWorld.Pawn_DraftController, Boolean)
L_01a5: ret
DONE

### Patch Verse.Pawn, Void Kill(Nullable`1, Verse.Hediff)


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: Verse.Map
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.Planet.Caravan
L_0000: Local var 7: RimWorld.Building_Grave
L_0000: Local var 8: System.Boolean
L_0000: Local var 9: System.Single
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.ThingOwner
L_0000: Local var 12: System.Boolean
L_0000: Local var 13: System.Boolean
L_0000: Local var 14: System.Boolean
L_0000: Local var 15: System.Boolean
L_0000: Local var 16: Verse.DamageInfo
L_0000: Local var 17: System.Single
L_0000: Local var 18: Verse.Thing
L_0000: Local var 19: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 20: Verse.DamageInfo
L_0000: Local var 21: Verse.DamageInfo
L_0000: Local var 22: Verse.Pawn
L_0000: Local var 23: Verse.DamageInfo
L_0000: Local var 24: Verse.DamageInfo
L_0000: Local var 25: Verse.DamageInfo
L_0000: Local var 26: Verse.Pawn_CarryTracker
L_0000: Local var 27: Verse.Thing
L_0000: Local var 28: Verse.AI.Group.Lord
L_0000: Local var 29: Verse.Corpse
L_0000: Local var 30: Verse.DamageInfo
L_0000: Local var 31: Verse.DamageInfo
L_0000: Local var 32: Verse.Hediff
L_0000: Local var 33: RimWorld.CompRottable
L_0000: Local var 34: System.Int32
L_0000: ldarg.0
L_0001: call IntVec3 get_PositionHeld()
L_0006: stloc.0
L_0007: ldarg.0
L_0008: call Verse.Map get_Map()
L_000d: stloc.1
L_000e: ldarg.0
L_000f: call Verse.Map get_MapHeld()
L_0014: stloc.2
L_0015: ldarg.0
L_0016: call Boolean get_Spawned()
L_001b: stloc.3
L_001c: ldarg.0
L_001d: call Boolean get_SpawnedOrAnyParentSpawned()
L_0022: stloc.s 4 (System.Boolean)
L_0024: ldarg.0
L_0025: call Boolean IsWorldPawn(Verse.Pawn)
L_002a: stloc.s 5 (System.Boolean)
L_002c: ldarg.0
L_002d: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_0032: stloc.s 6 (RimWorld.Planet.Caravan)
L_0034: ldnull
L_0035: stloc.s 7 (RimWorld.Building_Grave)
L_0037: ldarg.0
L_0038: ldfld RimWorld.Pawn_Ownership ownership
L_003d: brfalse Label1
L_0042: ldarg.0
L_0043: ldfld RimWorld.Pawn_Ownership ownership
L_0048: callvirt RimWorld.Building_Grave get_AssignedGrave()
L_004d: stloc.s 7 (RimWorld.Building_Grave)
L_004f: Label1
L_004f: ldarg.0
L_0050: call Boolean InBed(Verse.Pawn)
L_0055: stloc.s 8 (System.Boolean)
L_0057: ldc.r4 0
L_005c: stloc.s 9 (System.Single)
L_005e: ldloc.s 8 (System.Boolean)
L_0060: brfalse Label2
L_0065: ldarg.0
L_0066: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006b: callvirt Rot4 get_Rotation()
L_0070: stloc.s 10 (Verse.Rot4)
L_0072: ldloca.s 10 (Verse.Rot4)
L_0074: call Single get_AsAngle()
L_0079: stloc.s 9 (System.Single)
L_007b: Label2
L_007b: ldnull
L_007c: stloc.s 11 (Verse.ThingOwner)
L_007e: ldarg.0
L_007f: call Boolean get_InContainerEnclosed()
L_0084: stloc.s 12 (System.Boolean)
L_0086: ldloc.s 12 (System.Boolean)
L_0088: brfalse Label3
L_008d: ldarg.0
L_008e: ldfld Verse.ThingOwner holdingOwner
L_0093: stloc.s 11 (Verse.ThingOwner)
L_0095: ldloc.s 11 (Verse.ThingOwner)
L_0097: ldarg.0
L_0098: callvirt Boolean Remove(Verse.Thing)
L_009d: pop
L_009e: Label3
L_009e: ldc.i4.0
L_009f: stloc.s 13 (System.Boolean)
L_00a1: ldc.i4.0
L_00a2: stloc.s 14 (System.Boolean)
L_00a4: call ProgramState get_ProgramState()
L_00a9: ldc.i4.2
L_00aa: bne.un Label4
L_00af: ldloc.1
L_00b0: brfalse Label5
L_00b5: ldloc.1
L_00b6: ldfld Verse.DesignationManager designationManager
L_00bb: ldarg.0
L_00bc: ldsfld Verse.DesignationDef Hunt
L_00c1: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00c6: ldnull
L_00c7: ceq
L_00c9: ldc.i4.0
L_00ca: ceq
L_00cc: stloc.s 13 (System.Boolean)
L_00ce: ldloc.1
L_00cf: ldfld Verse.DesignationManager designationManager
L_00d4: ldarg.0
L_00d5: ldsfld Verse.DesignationDef Slaughter
L_00da: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00df: ldnull
L_00e0: ceq
L_00e2: ldc.i4.0
L_00e3: ceq
L_00e5: stloc.s 14 (System.Boolean)
L_00e7: Label4
L_00e7: Label5
L_00e7: ldarg.0
L_00e8: call Boolean ShouldSendNotificationAbout(Verse.Pawn)
L_00ed: brfalse Label6
L_00f2: ldloc.s 14 (System.Boolean)
L_00f4: brfalse Label7
L_00f9: ldarga.s 1
L_00fb: call Boolean get_HasValue()
L_0100: brfalse Label8
L_0105: ldarga.s 1
L_0107: call DamageInfo get_Value()
L_010c: stloc.s 16 (Verse.DamageInfo)
L_010e: ldloca.s 16 (Verse.DamageInfo)
L_0110: call Verse.DamageDef get_Def()
L_0115: ldsfld Verse.DamageDef ExecutionCut
L_011a: ceq
L_011c: br Label9
L_0121: Label7
L_0121: Label8
L_0121: ldc.i4.0
L_0122: Label9
L_0122: ldc.i4.0
L_0123: ceq
L_0125: br Label10
L_012a: Label6
L_012a: ldc.i4.0
L_012b: Label10
L_012b: stloc.s 15 (System.Boolean)
L_012d: ldc.r4 0
L_0132: stloc.s 17 (System.Single)
L_0134: ldarg.0
L_0135: ldsfld Verse.ThingDef Fire
L_013a: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_013f: stloc.s 18 (Verse.Thing)
L_0141: ldloc.s 18 (Verse.Thing)
L_0143: brfalse Label11
L_0148: ldloc.s 18 (Verse.Thing)
L_014a: castclass RimWorld.Fire
L_014f: callvirt Single CurrentSize()
L_0154: stloc.s 17 (System.Single)
L_0156: Label11
L_0156: ldarg.0
L_0157: ldarg.1
L_0158: ldc.i4.0
L_0159: call Void TryGiveThoughts(Verse.Pawn, Nullable`1,
PawnDiedOrDownedThoughtsKind)
L_015e: call ProgramState get_ProgramState()
L_0163: ldc.i4.2
L_0164: bne.un Label12
L_0169: call RimWorld.Storyteller get_Storyteller()
L_016e: ldarg.0
L_016f: ldc.i4.1
L_0170: ldloca.s 19 (System.Nullable`1[Verse.DamageInfo])
L_0172: initobj System.Nullable`1[Verse.DamageInfo]
L_0178: ldloc.s 19 (System.Nullable`1[Verse.DamageInfo])
L_017a: callvirt Void Notify_PawnEvent(Verse.Pawn, AdaptationEvent, Nullable`1)
L_017f: Label12
L_017f: ldarg.0
L_0180: call Boolean get_IsColonist()
L_0185: brfalse Label13
L_018a: call RimWorld.StoryWatcher get_StoryWatcher()
L_018f: ldfld RimWorld.StatsRecord statsRecord
L_0194: callvirt Void Notify_ColonistKilled()
L_0199: Label13
L_0199: ldloc.3
L_019a: brfalse Label14
L_019f: ldarga.s 1
L_01a1: call Boolean get_HasValue()
L_01a6: brfalse Label15
L_01ab: ldarga.s 1
L_01ad: call DamageInfo get_Value()
L_01b2: stloc.s 20 (Verse.DamageInfo)
L_01b4: ldloca.s 20 (Verse.DamageInfo)
L_01b6: call Verse.DamageDef get_Def()
L_01bb: ldarg.0
L_01bc: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_01c1: brfalse Label16
L_01c6: ldarg.0
L_01c7: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01cc: brtrue Label17
L_01d1: ldnull
L_01d2: ldftn Verse.SoundDef <Kill>m__8(Verse.LifeStageAge)
L_01d8: newobj Void .ctor(Object, IntPtr)
L_01dd: stsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e2: Label17
L_01e2: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e7: ldc.r4 1
L_01ec: call Void PlayNearestLifestageSound(Verse.Pawn,
System.Func`2[Verse.LifeStageAge,Verse.SoundDef], Single)
L_01f1: Label14
L_01f1: Label15
L_01f1: Label16
L_01f1: ldarga.s 1
L_01f3: call Boolean get_HasValue()
L_01f8: brfalse Label18
L_01fd: ldarga.s 1
L_01ff: call DamageInfo get_Value()
L_0204: stloc.s 21 (Verse.DamageInfo)
L_0206: ldloca.s 21 (Verse.DamageInfo)
L_0208: call Verse.Thing get_Instigator()
L_020d: brfalse Label19
L_0212: ldarga.s 1
L_0214: call DamageInfo get_Value()
L_0219: stloc.s 23 (Verse.DamageInfo)
L_021b: ldloca.s 23 (Verse.DamageInfo)
L_021d: call Verse.Thing get_Instigator()
L_0222: isinst Verse.Pawn
L_0227: stloc.s 22 (Verse.Pawn)
L_0229: ldloc.s 22 (Verse.Pawn)
L_022b: brfalse Label20
L_0230: ldarg.0
L_0231: ldloc.s 22 (Verse.Pawn)
L_0233: call Void Notify_PawnKilled(Verse.Pawn, Verse.Pawn)
L_0238: ldarg.0
L_0239: call Boolean get_IsColonist()
L_023e: brfalse Label21
L_0243: ldloc.s 22 (Verse.Pawn)
L_0245: ldfld RimWorld.Pawn_RecordsTracker records
L_024a: ldsfld RimWorld.StoryEventDef KilledPlayer
L_024f: callvirt Void AccumulateStoryEvent(RimWorld.StoryEventDef)
L_0254: Label18
L_0254: Label19
L_0254: Label20
L_0254: Label21
L_0254: ldarg.0
L_0255: ldarg.1
L_0256: call Void Notify_PawnDied(Verse.Pawn, Nullable`1)
L_025b: ldloc.3
L_025c: brfalse Label22
L_0261: call Verse.BattleLog get_BattleLog()
L_0266: ldarg.0
L_0267: ldarg.0
L_0268: call Verse.RaceProperties get_RaceProps()
L_026d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0272: callvirt Verse.RulePackDef get_DeathRules()
L_0277: ldarga.s 1
L_0279: call Boolean get_HasValue()
L_027e: brfalse Label23
L_0283: ldarga.s 1
L_0285: call DamageInfo get_Value()
L_028a: stloc.s 24 (Verse.DamageInfo)
L_028c: ldloca.s 24 (Verse.DamageInfo)
L_028e: call Verse.Thing get_Instigator()
L_0293: isinst Verse.Pawn
L_0298: br Label24
L_029d: Label23
L_029d: ldnull
L_029e: Label24
L_029e: ldarg.2
L_029f: ldarga.s 1
L_02a1: call Boolean get_HasValue()
L_02a6: brfalse Label25
L_02ab: ldarga.s 1
L_02ad: call DamageInfo get_Value()
L_02b2: stloc.s 25 (Verse.DamageInfo)
L_02b4: ldloca.s 25 (Verse.DamageInfo)
L_02b6: call Verse.BodyPartRecord get_HitPart()
L_02bb: br Label26
L_02c0: Label25
L_02c0: ldnull
L_02c1: Label26
L_02c1: newobj Void .ctor(Thing, RulePackDef, Pawn, Hediff, BodyPartRecord)
L_02c6: callvirt Void Add(Verse.LogEntry)
L_02cb: Label22
L_02cb: ldarg.0
L_02cc: ldfld Verse.Pawn_HealthTracker health
L_02d1: ldfld RimWorld.BillStack surgeryBills
L_02d6: callvirt Void Clear()
L_02db: ldarg.0
L_02dc: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02e1: brfalse Label27
L_02e6: ldarg.0
L_02e7: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02ec: ldarg.1
L_02ed: callvirt Void Notify_PawnKilled(Nullable`1)
L_02f2: Label27
L_02f2: ldarg.0
L_02f3: call Verse.RaceProperties get_RaceProps()
L_02f8: callvirt Boolean get_IsFlesh()
L_02fd: brfalse Label28
L_0302: ldarg.0
L_0303: ldfld RimWorld.Pawn_RelationsTracker relations
L_0308: ldarg.1
L_0309: ldloc.1
L_030a: callvirt Void Notify_PawnKilled(Nullable`1, Verse.Map)
L_030f: Label28
L_030f: ldarg.0
L_0310: ldfld RimWorld.Pawn_MeleeVerbs meleeVerbs
L_0315: callvirt Void Notify_PawnKilled()
L_031a: ldarg.0
L_031b: call IThingHolder get_ParentHolder()
L_0320: isinst Verse.Pawn_CarryTracker
L_0325: stloc.s 26 (Verse.Pawn_CarryTracker)
L_0327: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0329: brfalse Label29
L_032e: ldarg.0
L_032f: ldfld Verse.ThingOwner holdingOwner
L_0334: ldarg.0
L_0335: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0337: ldfld Verse.Pawn pawn
L_033c: callvirt IntVec3 get_Position()
L_0341: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0343: ldfld Verse.Pawn pawn
L_0348: callvirt Verse.Map get_Map()
L_034d: ldc.i4.1
L_034e: ldloca.s 27 (Verse.Thing)
L_0350: ldnull
L_0351: ldnull
L_0352: callvirt Boolean TryDrop(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
Verse.Thing ByRef, System.Action`2[Verse.Thing,System.Int32],
System.Predicate`1[Verse.IntVec3])
L_0357: brfalse Label30
L_035c: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_035e: ldfld Verse.Pawn pawn
L_0363: callvirt Verse.Map get_Map()
L_0368: stloc.1
L_0369: ldc.i4.1
L_036a: stloc.3
L_036b: Label29
L_036b: Label30
L_036b: ldarg.0
L_036c: ldfld Verse.Pawn_HealthTracker health
L_0371: callvirt Void SetDead()
L_0376: ldarg.0
L_0377: ldfld Verse.Pawn_HealthTracker health
L_037c: ldfld Verse.Effecter deflectionEffecter
L_0381: brfalse Label31
L_0386: ldarg.0
L_0387: ldfld Verse.Pawn_HealthTracker health
L_038c: ldfld Verse.Effecter deflectionEffecter
L_0391: callvirt Void Cleanup()
L_0396: ldarg.0
L_0397: ldfld Verse.Pawn_HealthTracker health
L_039c: ldnull
L_039d: stfld Verse.Effecter deflectionEffecter
L_03a2: Label31
L_03a2: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03a4: brfalse Label32
L_03a9: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03ab: ldarg.0
L_03ac: callvirt Void Notify_MemberDied(Verse.Pawn)
L_03b1: Label32
L_03b1: ldarg.0
L_03b2: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_03b7: stloc.s 28 (Verse.AI.Group.Lord)
L_03b9: ldloc.s 28 (Verse.AI.Group.Lord)
L_03bb: brfalse Label33
L_03c0: ldloc.s 28 (Verse.AI.Group.Lord)
L_03c2: ldarg.0
L_03c3: ldc.i4.2
L_03c4: ldarg.1
L_03c5: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_03ca: Label33
L_03ca: ldloc.3
L_03cb: brfalse Label34
L_03d0: ldarg.0
L_03d1: ldc.i4.0
L_03d2: call Void DropAndForbidEverything(Boolean)
L_03d7: Label34
L_03d7: ldloc.3
L_03d8: brfalse Label35
L_03dd: ldarg.0
L_03de: ldc.i4.0
L_03df: callvirt Void DeSpawn(DestroyMode)
L_03e4: Label35
L_03e4: ldnull
L_03e5: stloc.s 29 (Verse.Corpse)
L_03e7: ldarg.0
L_03e8: call Boolean IsBeingGenerated(Verse.Pawn)
L_03ed: brtrue Label36
L_03f2: ldloc.s 12 (System.Boolean)
L_03f4: brfalse Label37
L_03f9: ldarg.0
L_03fa: ldloc.s 7 (RimWorld.Building_Grave)
L_03fc: ldloc.s 8 (System.Boolean)
L_03fe: ldloc.s 9 (System.Single)
L_0400: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0405: stloc.s 29 (Verse.Corpse)
L_0407: ldloc.s 11 (Verse.ThingOwner)
L_0409: ldloc.s 29 (Verse.Corpse)
L_040b: ldc.i4.1
L_040c: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0411: brtrue Label38
L_0416: ldloc.s 29 (Verse.Corpse)
L_0418: ldc.i4.0
L_0419: callvirt Void Destroy(DestroyMode)
L_041e: ldnull
L_041f: stloc.s 29 (Verse.Corpse)
L_0421: Label38
L_0421: br Label39
L_0426: Label37
L_0426: ldloc.s 4 (System.Boolean)
L_0428: brfalse Label40
L_042d: ldarg.0
L_042e: ldfld Verse.ThingOwner holdingOwner
L_0433: brfalse Label41
L_0438: ldarg.0
L_0439: ldfld Verse.ThingOwner holdingOwner
L_043e: ldarg.0
L_043f: callvirt Boolean Remove(Verse.Thing)
L_0444: pop
L_0445: Label41
L_0445: ldarg.0
L_0446: ldloc.s 7 (RimWorld.Building_Grave)
L_0448: ldloc.s 8 (System.Boolean)
L_044a: ldloc.s 9 (System.Single)
L_044c: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0451: stloc.s 29 (Verse.Corpse)
L_0453: ldloc.s 29 (Verse.Corpse)
L_0455: ldloc.0
L_0456: ldloc.2
L_0457: ldc.i4.0
L_0458: ldnull
L_0459: ldnull
L_045a: call Boolean TryPlaceThing(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
System.Action`2[Verse.Thing,System.Int32], System.Predicate`1[Verse.IntVec3])
L_045f: brfalse Label42
L_0464: ldloc.s 29 (Verse.Corpse)
L_0466: ldarg.0
L_0467: call Rot4 get_Rotation()
L_046c: callvirt Void set_Rotation(Rot4)
L_0471: ldarg.0
L_0472: ldarg.1
L_0473: call Boolean WasKilledByHunter(Verse.Pawn, Nullable`1)
L_0478: brfalse Label43
L_047d: ldarga.s 1
L_047f: call DamageInfo get_Value()
L_0484: stloc.s 30 (Verse.DamageInfo)
L_0486: ldloca.s 30 (Verse.DamageInfo)
L_0488: call Verse.Thing get_Instigator()
L_048d: castclass Verse.Pawn
L_0492: ldloc.s 29 (Verse.Corpse)
L_0494: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0499: ldarga.s 1
L_049b: call DamageInfo get_Value()
L_04a0: stloc.s 31 (Verse.DamageInfo)
L_04a2: ldloca.s 31 (Verse.DamageInfo)
L_04a4: call Verse.Thing get_Instigator()
L_04a9: castclass Verse.Pawn
L_04ae: callvirt Verse.AI.Job get_CurJob()
L_04b3: ldc.i4.1
L_04b4: ldc.i4.m1
L_04b5: ldnull
L_04b6: ldc.i4.1
L_04b7: call Boolean Reserve(Verse.Pawn, LocalTargetInfo, Verse.AI.Job, Int32,
Int32, Verse.ReservationLayerDef, Boolean)
L_04bc: pop
L_04bd: br Label44
L_04c2: Label43
L_04c2: ldloc.s 13 (System.Boolean)
L_04c4: brtrue Label45
L_04c9: ldloc.s 14 (System.Boolean)
L_04cb: brtrue Label46
L_04d0: ldloc.s 29 (Verse.Corpse)
L_04d2: call Void SetForbiddenIfOutsideHomeArea(Verse.Thing)
L_04d7: Label44
L_04d7: Label45
L_04d7: Label46
L_04d7: ldloc.s 17 (System.Single)
L_04d9: ldc.r4 0
L_04de: ble.un Label47
L_04e3: ldloc.s 29 (Verse.Corpse)
L_04e5: callvirt IntVec3 get_Position()
L_04ea: ldloc.s 29 (Verse.Corpse)
L_04ec: callvirt Verse.Map get_Map()
L_04f1: ldloc.s 17 (System.Single)
L_04f3: call Boolean TryStartFireIn(IntVec3, Verse.Map, Single)
L_04f8: pop
L_04f9: Label47
L_04f9: br Label48
L_04fe: Label42
L_04fe: ldloc.s 29 (Verse.Corpse)
L_0500: ldc.i4.0
L_0501: callvirt Void Destroy(DestroyMode)
L_0506: ldnull
L_0507: stloc.s 29 (Verse.Corpse)
L_0509: Label48
L_0509: br Label49
L_050e: Label40
L_050e: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0510: brfalse Label50
L_0515: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0517: callvirt Boolean get_Spawned()
L_051c: brfalse Label51
L_0521: ldarg.0
L_0522: ldloc.s 7 (RimWorld.Building_Grave)
L_0524: ldloc.s 8 (System.Boolean)
L_0526: ldloc.s 9 (System.Single)
L_0528: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_052d: stloc.s 29 (Verse.Corpse)
L_052f: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0531: ldloc.s 29 (Verse.Corpse)
L_0533: ldc.i4.1
L_0534: callvirt Void AddPawnOrItem(Verse.Thing, Boolean)
L_0539: br Label52
L_053e: Label50
L_053e: Label51
L_053e: ldarg.0
L_053f: ldfld Verse.ThingOwner holdingOwner
L_0544: brtrue Label53
L_0549: ldarg.0
L_054a: call Boolean IsWorldPawn(Verse.Pawn)
L_054f: brfalse Label54
L_0554: Label53
L_0554: ldarg.0
L_0555: call Void PostCorpseDestroy(Verse.Pawn)
L_055a: br Label55
L_055f: Label54
L_055f: ldarg.0
L_0560: ldloc.s 7 (RimWorld.Building_Grave)
L_0562: ldloc.s 8 (System.Boolean)
L_0564: ldloc.s 9 (System.Single)
L_0566: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_056b: stloc.s 29 (Verse.Corpse)
L_056d: Label36
L_056d: Label39
L_056d: Label49
L_056d: Label52
L_056d: Label55
L_056d: ldloc.s 29 (Verse.Corpse)
L_056f: brfalse Label56
L_0574: ldarg.0
L_0575: ldfld Verse.Pawn_HealthTracker health
L_057a: ldfld Verse.HediffSet hediffSet
L_057f: ldsfld Verse.HediffDef ToxicBuildup
L_0584: ldc.i4.0
L_0585: callvirt Verse.Hediff GetFirstHediffOfDef(Verse.HediffDef, Boolean)
L_058a: stloc.s 32 (Verse.Hediff)
L_058c: ldloc.s 29 (Verse.Corpse)
L_058e: callvirt RimWorld.CompRottable GetComp[CompRottable]()
L_0593: stloc.s 33 (RimWorld.CompRottable)
L_0595: ldloc.s 32 (Verse.Hediff)
L_0597: brfalse Label57
L_059c: call Single get_Value()
L_05a1: ldloc.s 32 (Verse.Hediff)
L_05a3: callvirt Single get_Severity()
L_05a8: bge.un Label58
L_05ad: ldloc.s 33 (RimWorld.CompRottable)
L_05af: brfalse Label59
L_05b4: ldloc.s 33 (RimWorld.CompRottable)
L_05b6: callvirt Void RotImmediately()
L_05bb: Label56
L_05bb: Label57
L_05bb: Label58
L_05bb: Label59
L_05bb: ldarg.0
L_05bc: call Boolean get_Destroyed()
L_05c1: brtrue Label60
L_05c6: ldarg.0
L_05c7: ldc.i4.2
L_05c8: callvirt Void Destroy(DestroyMode)
L_05cd: Label60
L_05cd: ldarg.0
L_05ce: call Void RemoveComponentsOnKilled(Verse.Pawn)
L_05d3: ldarg.0
L_05d4: ldfld Verse.Pawn_HealthTracker health
L_05d9: ldfld Verse.HediffSet hediffSet
L_05de: callvirt Void DirtyCache()
L_05e3: ldarg.0
L_05e4: call Void SetDirty(Verse.Pawn)
L_05e9: ldc.i4.0
L_05ea: stloc.s 34 (System.Int32)
L_05ec: br Label61
L_05f1: Label62
L_05f1: ldarg.0
L_05f2: ldfld Verse.Pawn_HealthTracker health
L_05f7: ldfld Verse.HediffSet hediffSet
L_05fc: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0601: ldloc.s 34 (System.Int32)
L_0603: callvirt Verse.Hediff get_Item(Int32)
L_0608: callvirt Void Notify_PawnDied()
L_060d: ldloc.s 34 (System.Int32)
L_060f: ldc.i4.1
L_0610: add
L_0611: stloc.s 34 (System.Int32)
L_0613: Label61
L_0613: ldloc.s 34 (System.Int32)
L_0615: ldarg.0
L_0616: ldfld Verse.Pawn_HealthTracker health
L_061b: ldfld Verse.HediffSet hediffSet
L_0620: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0625: callvirt Int32 get_Count()
L_062a: blt Label62
L_062f: ldarg.0
L_0630: call RimWorld.Faction get_Faction()
L_0635: brfalse Label63
L_063a: ldarg.0
L_063b: call RimWorld.Faction get_Faction()
L_0640: ldarg.0
L_0641: ldarg.1
L_0642: ldloc.s 5 (System.Boolean)
L_0644: ldloc.2
L_0645: callvirt Void Notify_MemberDied(Verse.Pawn, Nullable`1, Boolean, Verse.Map)
L_064a: Label63
L_064a: ldloc.s 29 (Verse.Corpse)
L_064c: brfalse Label64
L_0651: ldarg.0
L_0652: call Verse.RaceProperties get_RaceProps()
L_0657: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_065c: brfalse Label65
L_0661: ldloc.3
L_0662: brfalse Label66
L_0667: ldarg.0
L_0668: call Verse.RaceProperties get_RaceProps()
L_066d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0672: ldloc.s 29 (Verse.Corpse)
L_0674: callvirt Void PawnDied(Verse.Corpse)
L_0679: Label65
L_0679: Label66
L_0679: call RimWorld.Scenario get_Scenario()
L_067e: brfalse Label67
L_0683: call RimWorld.Scenario get_Scenario()
L_0688: ldloc.s 29 (Verse.Corpse)
L_068a: callvirt Void Notify_PawnDied(Verse.Corpse)
L_068f: Label64
L_068f: Label67
L_068f: ldarg.0
L_0690: call RimWorld.Faction get_Faction()
L_0695: brfalse Label68
L_069a: ldarg.0
L_069b: call RimWorld.Faction get_Faction()
L_06a0: callvirt Boolean get_IsPlayer()
L_06a5: brfalse Label69
L_06aa: ldarg.0
L_06ab: call Void Notify_ColonistUnavailable(Verse.Pawn)
L_06b0: Label68
L_06b0: Label69
L_06b0: ldloc.s 4 (System.Boolean)
L_06b2: brfalse Label70
L_06b7: ldarg.0
L_06b8: ldloc.2
L_06b9: call Void Notify_PawnLostForTutor(Verse.Pawn, Verse.Map)
L_06be: Label70
L_06be: ldarg.0
L_06bf: call RimWorld.Faction get_Faction()
L_06c4: brfalse Label71
L_06c9: ldarg.0
L_06ca: call RimWorld.Faction get_Faction()
L_06cf: callvirt Boolean get_IsPlayer()
L_06d4: brfalse Label72
L_06d9: call ProgramState get_ProgramState()
L_06de: ldc.i4.2
L_06df: bne.un Label73
L_06e4: call RimWorld.ColonistBar get_ColonistBar()
L_06e9: callvirt Void MarkColonistsDirty()
L_06ee: Label71
L_06ee: Label72
L_06ee: Label73
L_06ee: ldloc.s 15 (System.Boolean)
L_06f0: brfalse Label74
L_06f5: ldarg.0
L_06f6: ldfld Verse.Pawn_HealthTracker health
L_06fb: ldarg.1
L_06fc: ldarg.2
L_06fd: ldloc.s 6 (RimWorld.Planet.Caravan)
L_06ff: callvirt Void NotifyPlayerOfKilled(Nullable`1, Verse.Hediff,
RimWorld.Planet.Caravan)
L_0704: Label74
L_0704: ldarg.0
L_0705: call Void Postfix(Verse.Pawn)
L_070a: ldarga 0
L_0710: call Void Postfix(Verse.Pawn ByRef)
L_0715: ret
DONE

### Patch RimWorld.Targeter, Void TargeterUpdate()


L_0000: Local var 0: Verse.LocalTargetInfo
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Single
L_0000: Local var 3: Verse.ShootLine
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: ldarg.0
L_0001: ldfld Verse.Verb targetingVerb
L_0006: brfalse Label1
L_000b: ldarg.0
L_000c: ldfld Verse.Verb targetingVerb
L_0011: ldfld Verse.VerbProperties verbProps
L_0016: ldarg.0
L_0017: ldfld Verse.Verb targetingVerb
L_001c: ldfld Verse.Thing caster
L_0021: callvirt IntVec3 get_Position()
L_0026: callvirt Void DrawRadiusRing(IntVec3)
L_002b: ldarg.0
L_002c: ldc.i4.1
L_002d: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_0032: stloc.0
L_0033: ldloca.s 0 (Verse.LocalTargetInfo)
L_0035: call Boolean get_IsValid()
L_003a: brfalse Label2
L_003f: ldloc.0
L_0040: call Void DrawTargetHighlight(LocalTargetInfo)
L_0045: ldarg.0
L_0046: ldfld Verse.Verb targetingVerb
L_004b: ldloca.s 1 (System.Boolean)
L_004d: callvirt Single HighlightFieldRadiusAroundTarget(Boolean ByRef)
L_0052: stloc.2
L_0053: ldloc.2
L_0054: ldc.r4 0.2
L_0059: ble.un Label3
L_005e: ldarg.0
L_005f: ldfld Verse.Verb targetingVerb
L_0064: ldarg.0
L_0065: ldfld Verse.Verb targetingVerb
L_006a: ldfld Verse.Thing caster
L_006f: callvirt IntVec3 get_Position()
L_0074: ldloc.0
L_0075: ldloca.s 3 (Verse.ShootLine)
L_0077: callvirt Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_007c: brfalse Label4
L_0081: ldloc.1
L_0082: brfalse Label5
L_0087: ldloca.s 3 (Verse.ShootLine)
L_0089: call IntVec3 get_Dest()
L_008e: ldloc.2
L_008f: call Void RenderPredictedAreaOfEffect(IntVec3, Single)
L_0094: br Label6
L_0099: Label5
L_0099: ldloca.s 3 (Verse.ShootLine)
L_009b: call IntVec3 get_Dest()
L_00a0: ldloc.2
L_00a1: ldc.i4.1
L_00a2: call IEnumerable`1 RadialCellsAround(IntVec3, Single, Boolean)
L_00a7: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00ac: brtrue Label7
L_00b1: ldnull
L_00b2: ldftn Boolean <TargeterUpdate>m__0(IntVec3)
L_00b8: newobj Void .ctor(Object, IntPtr)
L_00bd: stsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c2: Label7
L_00c2: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c7: call IEnumerable`1 Where[IntVec3](IEnumerable`1,
System.Func`2[Verse.IntVec3,System.Boolean])
L_00cc: call System.Collections.Generic.List`1[Verse.IntVec3] ToList[IntVec3]
(IEnumerable`1)
L_00d1: call Void DrawFieldEdges(System.Collections.Generic.List`1[Verse.IntVec3])
L_00d6: Label1
L_00d6: Label2
L_00d6: Label3
L_00d6: Label4
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Action`1[Verse.LocalTargetInfo] action
L_00dc: brfalse Label8
L_00e1: ldarg.0
L_00e2: ldc.i4.0
L_00e3: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_00e8: stloc.s 4 (Verse.LocalTargetInfo)
L_00ea: ldloca.s 4 (Verse.LocalTargetInfo)
L_00ec: call Boolean get_IsValid()
L_00f1: brfalse Label9
L_00f6: ldloc.s 4 (Verse.LocalTargetInfo)
L_00f8: call Void DrawTargetHighlight(LocalTargetInfo)
L_00fd: Label8
L_00fd: Label9
L_00fd: ldarg.0
L_00fe: call Void TargeterUpdate_PostFix(RimWorld.Targeter)
L_0103: ldarga 0
L_0109: call Void Postfix(RimWorld.Targeter ByRef)
L_010e: ret
DONE

### Patch Verse.Verb, Boolean CanHitTargetFrom(IntVec3, LocalTargetInfo)


L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.ShootLine
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarga.s 2
L_0008: call Verse.Thing get_Thing()
L_000d: brfalse Label1
L_0012: ldarga.s 2
L_0014: call Verse.Thing get_Thing()
L_0019: ldarg.0
L_001a: ldfld Verse.Thing caster
L_001f: bne.un Label2
L_0024: ldarg.0
L_0025: ldfld Verse.VerbProperties verbProps
L_002a: ldfld RimWorld.TargetingParameters targetParams
L_002f: ldfld System.Boolean canTargetSelf
L_0034: br Label8
L_0039: Label1
L_0039: Label2
L_0039: ldarg.0
L_003a: call Boolean get_CasterIsPawn()
L_003f: brfalse Label3
L_0044: ldarg.0
L_0045: call Verse.Pawn get_CasterPawn()
L_004a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_004f: brfalse Label4
L_0054: ldarg.0
L_0055: call Verse.Pawn get_CasterPawn()
L_005a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_005f: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0064: stloc.0
L_0065: ldc.i4.0
L_0066: stloc.1
L_0067: br Label5
L_006c: Label7
L_006c: ldloc.0
L_006d: ldloc.1
L_006e: callvirt RimWorld.Apparel get_Item(Int32)
L_0073: ldarg.1
L_0074: ldarg.0
L_0075: ldfld Verse.Thing caster
L_007a: callvirt Verse.Map get_Map()
L_007f: ldarg.2
L_0080: ldarg.0
L_0081: callvirt Boolean AllowVerbCast(IntVec3, Verse.Map, LocalTargetInfo,
Verse.Verb)
L_0086: brtrue Label6
L_008b: ldc.i4.0
L_008c: br Label9
L_0091: Label6
L_0091: ldloc.1
L_0092: ldc.i4.1
L_0093: add
L_0094: stloc.1
L_0095: Label5
L_0095: ldloc.1
L_0096: ldloc.0
L_0097: callvirt Int32 get_Count()
L_009c: blt Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldarg.0
L_00a2: ldarg.1
L_00a3: ldarg.2
L_00a4: ldloca.s 2 (Verse.ShootLine)
L_00a6: call Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_00ab: Label8
L_00ab: Label9
L_00ab: stloc 3 (System.Boolean)
L_00ac: ldarga 0
L_00b2: ldloca 3 (System.Boolean)
L_00b4: ldarg 1
L_00ba: ldarg 2
L_00c0: call Void Postfix(Verse.Verb ByRef, Boolean ByRef, IntVec3,
LocalTargetInfo)
L_00c5: ldloc 3 (System.Boolean)
L_00c6: ret
DONE

### Patch Verse.Pawn_RotationTracker, Void RotationTrackerTick()


L_0000: ldarg.0
L_0001: call Boolean VehicleRotatorTick(Verse.Pawn_RotationTracker)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void UpdateRotation()
L_0011: Label0
L_0011: ret
DONE

### Patch Verse.DamageWorker_AddInjury, Single FinalizeAndAddInjury(Verse.Pawn,


Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult)
L_0000: Local var 0: Verse.HediffComp_GetsPermanent
L_0000: Local var 1: System.Single
L_0000: Local var 2: System.Single
L_0000: ldc.r4 0
L_0005: stloc 2 (System.Single)
L_0006: ldarg.2
L_0007: call Verse.HediffComp_GetsPermanent TryGetComp[HediffComp_GetsPermanent]
(Verse.Hediff)
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldloc.0
L_0014: callvirt Void PreFinalizeInjury()
L_0019: Label1
L_0019: ldarg.1
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldarg.2
L_0020: ldnull
L_0021: ldarg.3
L_0022: newobj Void .ctor(DamageInfo)
L_0027: ldarg.s 4
L_0029: callvirt Void AddHediff(Verse.Hediff, Verse.BodyPartRecord, Nullable`1,
Verse.DamageWorker+DamageResult)
L_002e: ldarg.2
L_002f: callvirt Single get_Severity()
L_0034: ldarg.1
L_0035: ldfld Verse.Pawn_HealthTracker health
L_003a: ldfld Verse.HediffSet hediffSet
L_003f: ldarg.2
L_0040: callvirt Verse.BodyPartRecord get_Part()
L_0045: callvirt Single GetPartHealth(Verse.BodyPartRecord)
L_004a: call Single Min(Single, Single)
L_004f: stloc.1
L_0050: ldarg.s 4
L_0052: dup
L_0053: ldfld System.Single totalDamageDealt
L_0058: ldloc.1
L_0059: add
L_005a: stfld System.Single totalDamageDealt
L_005f: ldarg.s 4
L_0061: ldc.i4.1
L_0062: stfld System.Boolean wounded
L_0067: ldarg.s 4
L_0069: ldarg.1
L_006a: ldarg.2
L_006b: callvirt Verse.BodyPartRecord get_Part()
L_0070: callvirt Void AddPart(Verse.Thing, Verse.BodyPartRecord)
L_0075: ldarg.s 4
L_0077: ldarg.2
L_0078: callvirt Void AddHediff(Verse.Hediff)
L_007d: ldloc.1
L_007e: stloc 2 (System.Single)
L_007f: ldarg.0
L_0080: ldarg 1
L_0086: ldarg 2
L_008c: ldarg 3
L_0092: ldarga 4
L_0098: ldloca 2 (System.Single)
L_009a: call Void TryInjureVehicleOccupants(Verse.DamageWorker_AddInjury,
Verse.Pawn, Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult ByRef,
Single ByRef)
L_009f: ldloc 2 (System.Single)
L_00a0: ret
DONE

### Patch Verse.HealthUtility, System.String GetGeneralConditionLabel(Verse.Pawn,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Hediff_Injury
L_0000: Local var 3: System.String
L_0000: ldnull
L_0001: stloc 3 (System.String)
L_0002: ldloca 3 (System.String)
L_0004: ldarg 0
L_000a: ldarg 1
L_0010: call Boolean ReplaceConditionLabel(System.String ByRef, Verse.Pawn,
Boolean)
L_0015: brfalse Label0
L_001a: ldarg.0
L_001b: ldfld Verse.Pawn_HealthTracker health
L_0020: callvirt Boolean get_Dead()
L_0025: brfalse Label1
L_002a: ldstr "Dead"
L_002f: call System.String Translate(System.String)
L_0034: br Label15
L_0039: Label1
L_0039: ldarg.0
L_003a: ldfld Verse.Pawn_HealthTracker health
L_003f: ldfld Verse.PawnCapacitiesHandler capacities
L_0044: callvirt Boolean get_CanBeAwake()
L_0049: brtrue Label2
L_004e: ldstr "Unconscious"
L_0053: call System.String Translate(System.String)
L_0058: br Label16
L_005d: Label2
L_005d: ldarg.0
L_005e: ldfld Verse.Pawn_HealthTracker health
L_0063: callvirt Boolean get_InPainShock()
L_0068: brfalse Label3
L_006d: ldarg.1
L_006e: brfalse Label4
L_0073: ldstr "PainShockShort"
L_0078: call Boolean CanTranslate(System.String)
L_007d: brfalse Label5
L_0082: ldstr "PainShockShort"
L_0087: call System.String Translate(System.String)
L_008c: br Label6
L_0091: Label4
L_0091: Label5
L_0091: ldstr "PainShock"
L_0096: call System.String Translate(System.String)
L_009b: Label6
L_009b: br Label17
L_00a0: Label3
L_00a0: ldarg.0
L_00a1: callvirt Boolean get_Downed()
L_00a6: brfalse Label7
L_00ab: ldstr "Incapacitated"
L_00b0: call System.String Translate(System.String)
L_00b5: br Label18
L_00ba: Label7
L_00ba: ldc.i4.0
L_00bb: stloc.0
L_00bc: ldc.i4.0
L_00bd: stloc.1
L_00be: br Label8
L_00c3: Label12
L_00c3: ldarg.0
L_00c4: ldfld Verse.Pawn_HealthTracker health
L_00c9: ldfld Verse.HediffSet hediffSet
L_00ce: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_00d3: ldloc.1
L_00d4: callvirt Verse.Hediff get_Item(Int32)
L_00d9: isinst Verse.Hediff_Injury
L_00de: stloc.2
L_00df: ldloc.2
L_00e0: brtrue Label9
L_00e5: br Label10
L_00ea: Label9
L_00ea: ldloc.2
L_00eb: call Boolean IsPermanent(Verse.Hediff)
L_00f0: brtrue Label11
L_00f5: ldc.i4.1
L_00f6: stloc.0
L_00f7: Label10
L_00f7: Label11
L_00f7: ldloc.1
L_00f8: ldc.i4.1
L_00f9: add
L_00fa: stloc.1
L_00fb: Label8
L_00fb: ldloc.1
L_00fc: ldarg.0
L_00fd: ldfld Verse.Pawn_HealthTracker health
L_0102: ldfld Verse.HediffSet hediffSet
L_0107: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_010c: callvirt Int32 get_Count()
L_0111: blt Label12
L_0116: ldloc.0
L_0117: brfalse Label13
L_011c: ldstr "Injured"
L_0121: call System.String Translate(System.String)
L_0126: br Label19
L_012b: Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_HealthTracker health
L_0131: ldfld Verse.HediffSet hediffSet
L_0136: callvirt Single get_PainTotal()
L_013b: ldc.r4 0.3
L_0140: ble.un Label14
L_0145: ldstr "InPain"
L_014a: call System.String Translate(System.String)
L_014f: br Label20
L_0154: Label14
L_0154: ldstr "Healthy"
L_0159: call System.String Translate(System.String)
L_015e: Label15
L_015e: Label16
L_015e: Label17
L_015e: Label18
L_015e: Label19
L_015e: Label20
L_015e: stloc 3 (System.String)
L_015f: Label0
L_015f: ldloc 3 (System.String)
L_0160: ret
DONE

### Patch Verse.MapPawns, Int32 get_FreeColonistsSpawnedCount()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldarg.0
L_0007: call IEnumerable`1 get_FreeColonistsSpawned()
L_000c: call Int32 Count[Pawn](IEnumerable`1)
L_0011: stloc 0 (System.Int32)
L_0012: ldarg.0
L_0013: ldloca 0 (System.Int32)
L_0015: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_001a: ldloc 0 (System.Int32)
L_001b: ret
DONE

### Patch Verse.MapPawns, Int32


get_FreeColonistsSpawnedOrInPlayerEjectablePodsCount()
L_0000: Local var 0: System.Int32
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.Building_CryptosleepCasket
L_0000: Local var 5: Verse.IThingHolder
L_0000: Local var 6: System.Int32
L_0000: Local var 7: Verse.Pawn
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldc.i4.0
L_0008: stloc.0
L_0009: ldc.i4.0
L_000a: stloc.1
L_000b: br Label1
L_0010: Label3
L_0010: ldarg.0
L_0011: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0016: ldloc.1
L_0017: callvirt Verse.Pawn get_Item(Int32)
L_001c: callvirt Boolean get_IsFreeColonist()
L_0021: brfalse Label2
L_0026: ldloc.0
L_0027: ldc.i4.1
L_0028: add
L_0029: stloc.0
L_002a: Label2
L_002a: ldloc.1
L_002b: ldc.i4.1
L_002c: add
L_002d: stloc.1
L_002e: Label1
L_002e: ldloc.1
L_002f: ldarg.0
L_0030: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0035: callvirt Int32 get_Count()
L_003a: blt Label3
L_003f: ldarg.0
L_0040: ldfld Verse.Map map
L_0045: ldfld Verse.ListerThings listerThings
L_004a: ldc.i4.s 30
L_004c: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsInGroup(ThingRequestGroup)
L_0051: stloc.2
L_0052: ldc.i4.0
L_0053: stloc.3
L_0054: br Label4
L_0059: Label15
L_0059: ldloc.2
L_005a: ldloc.3
L_005b: callvirt Verse.Thing get_Item(Int32)
L_0060: isinst RimWorld.Building_CryptosleepCasket
L_0065: stloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0067: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0069: brfalse Label5
L_006e: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0070: ldfld Verse.ThingDef def
L_0075: ldfld RimWorld.BuildingProperties building
L_007a: ldfld System.Boolean isPlayerEjectable
L_007f: brtrue Label6
L_0084: Label5
L_0084: ldloc.2
L_0085: ldloc.3
L_0086: callvirt Verse.Thing get_Item(Int32)
L_008b: isinst RimWorld.IActiveDropPod
L_0090: brtrue Label7
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: callvirt Verse.Thing get_Item(Int32)
L_009c: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00a1: brfalse Label8
L_00a6: Label6
L_00a6: Label7
L_00a6: ldloc.2
L_00a7: ldloc.3
L_00a8: callvirt Verse.Thing get_Item(Int32)
L_00ad: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00b2: dup
L_00b3: brtrue Label9
L_00b8: pop
L_00b9: ldloc.2
L_00ba: ldloc.3
L_00bb: callvirt Verse.Thing get_Item(Int32)
L_00c0: castclass Verse.IThingHolder
L_00c5: Label9
L_00c5: stloc.s 5 (Verse.IThingHolder)
L_00c7: ldarg.0
L_00c8: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00cd: callvirt Void Clear()
L_00d2: ldloc.s 5 (Verse.IThingHolder)
L_00d4: ldarg.0
L_00d5: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00da: ldc.i4.1
L_00db: ldnull
L_00dc: call Void GetAllThingsRecursively(IThingHolder,
System.Collections.Generic.List`1[Verse.Thing], Boolean,
System.Predicate`1[Verse.IThingHolder])
L_00e1: ldc.i4.0
L_00e2: stloc.s 6 (System.Int32)
L_00e4: br Label10
L_00e9: Label14
L_00e9: ldarg.0
L_00ea: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00ef: ldloc.s 6 (System.Int32)
L_00f1: callvirt Verse.Thing get_Item(Int32)
L_00f6: isinst Verse.Pawn
L_00fb: stloc.s 7 (Verse.Pawn)
L_00fd: ldloc.s 7 (Verse.Pawn)
L_00ff: brfalse Label11
L_0104: ldloc.s 7 (Verse.Pawn)
L_0106: callvirt Boolean get_Dead()
L_010b: brtrue Label12
L_0110: ldloc.s 7 (Verse.Pawn)
L_0112: callvirt Boolean get_IsFreeColonist()
L_0117: brfalse Label13
L_011c: ldloc.0
L_011d: ldc.i4.1
L_011e: add
L_011f: stloc.0
L_0120: Label11
L_0120: Label12
L_0120: Label13
L_0120: ldloc.s 6 (System.Int32)
L_0122: ldc.i4.1
L_0123: add
L_0124: stloc.s 6 (System.Int32)
L_0126: Label10
L_0126: ldloc.s 6 (System.Int32)
L_0128: ldarg.0
L_0129: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_012e: callvirt Int32 get_Count()
L_0133: blt Label14
L_0138: Label8
L_0138: ldloc.3
L_0139: ldc.i4.1
L_013a: add
L_013b: stloc.3
L_013c: Label4
L_013c: ldloc.3
L_013d: ldloc.2
L_013e: callvirt Int32 get_Count()
L_0143: blt Label15
L_0148: ldarg.0
L_0149: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_014e: callvirt Void Clear()
L_0153: ldloc.0
L_0154: stloc 8 (System.Int32)
L_0156: ldarg.0
L_0157: ldloca 8 (System.Int32)
L_0159: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_015e: ldloc 8 (System.Int32)
L_0160: ret
DONE

### Patch Verse.Pawn_HealthTracker, Boolean ShouldBeDowned()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean VehicleShouldBeDowned(Verse.Pawn_HealthTracker, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean get_InPainShock()
L_0019: brtrue Label1
L_001e: ldarg.0
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: callvirt Boolean get_CanBeAwake()
L_0029: brfalse Label2
L_002e: ldarg.0
L_002f: ldfld Verse.PawnCapacitiesHandler capacities
L_0034: ldsfld Verse.PawnCapacityDef Moving
L_0039: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_003e: ldc.i4.0
L_003f: ceq
L_0041: br Label3
L_0046: Label1
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: stloc 0 (System.Boolean)
L_0048: Label0
L_0048: ldloc 0 (System.Boolean)
L_0049: ret
DONE

### Patch Verse.PawnDownedWiggler, Void WigglerTick()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: call Boolean VehicleShouldWiggle(Verse.PawnDownedWiggler)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld Verse.Pawn pawn
L_0011: callvirt Boolean get_Downed()
L_0016: brfalse Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: callvirt Boolean get_Spawned()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: ldfld Verse.Pawn pawn
L_0031: call Boolean InBed(Verse.Pawn)
L_0036: brtrue Label3
L_003b: ldarg.0
L_003c: dup
L_003d: ldfld System.Int32 ticksToIncapIcon
L_0042: ldc.i4.1
L_0043: sub
L_0044: stfld System.Int32 ticksToIncapIcon
L_0049: ldarg.0
L_004a: ldfld System.Int32 ticksToIncapIcon
L_004f: ldc.i4.0
L_0050: bgt Label4
L_0055: ldarg.0
L_0056: ldfld Verse.Pawn pawn
L_005b: callvirt IntVec3 get_Position()
L_0060: ldarg.0
L_0061: ldfld Verse.Pawn pawn
L_0066: callvirt Verse.Map get_Map()
L_006b: ldsfld Verse.ThingDef Mote_IncapIcon
L_0070: call Verse.Mote ThrowMetaIcon(IntVec3, Verse.Map, Verse.ThingDef)
L_0075: pop
L_0076: ldarg.0
L_0077: ldc.i4 200
L_007c: stfld System.Int32 ticksToIncapIcon
L_0081: Label4
L_0081: ldarg.0
L_0082: ldfld Verse.Pawn pawn
L_0087: call Boolean Awake(Verse.Pawn)
L_008c: brfalse Label5
L_0091: call Verse.TickManager get_TickManager()
L_0096: callvirt Int32 get_TicksGame()
L_009b: ldc.i4 300
L_00a0: rem
L_00a1: ldc.i4.2
L_00a2: mul
L_00a3: stloc.0
L_00a4: ldloc.0
L_00a5: ldc.i4.s 90
L_00a7: bge Label6
L_00ac: ldarg.0
L_00ad: dup
L_00ae: ldfld System.Single downedAngle
L_00b3: ldc.r4 0.35
L_00b8: add
L_00b9: stfld System.Single downedAngle
L_00be: br Label7
L_00c3: Label6
L_00c3: ldloc.0
L_00c4: ldc.i4 390
L_00c9: bge Label8
L_00ce: ldloc.0
L_00cf: ldc.i4 300
L_00d4: blt Label9
L_00d9: ldarg.0
L_00da: dup
L_00db: ldfld System.Single downedAngle
L_00e0: ldc.r4 0.35
L_00e5: sub
L_00e6: stfld System.Single downedAngle
L_00eb: Label1
L_00eb: Label2
L_00eb: Label3
L_00eb: Label5
L_00eb: Label7
L_00eb: Label8
L_00eb: Label9
L_00eb: Label0
L_00eb: ret
DONE

### Patch Verse.VerbTracker, IEnumerable`1 GetVerbsCommands(KeyCode)


L_0000: Local var 0: Verse.VerbTracker+<GetVerbsCommands>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Command,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0002: ldarg.0
L_0003: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0005: ldarg 1
L_000b: call Boolean GetVerbsCommands_PreFix(Verse.VerbTracker, IEnumerable`1
ByRef, KeyCode)
L_0010: brfalse Label0
L_0015: newobj Void .ctor()
L_001a: stloc.0
L_001b: ldloc.0
L_001c: ldarg.0
L_001d: stfld Verse.VerbTracker $this
L_0022: ldloc.0
L_0023: dup
L_0024: ldc.i4.s -2
L_0026: stfld System.Int32 $PC
L_002b: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002c: Label0
L_002c: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002d: ret
DONE

### Patch RimWorld.PawnUtility, Boolean


IsTravelingInTransportPodWorldObject(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean IsWorldPawn(Verse.Pawn)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean AnyParentIs[ActiveDropPodInfo](Verse.Thing)
L_0017: br Label2
L_001c: Label1
L_001c: ldc.i4.0
L_001d: Label2
L_001d: stloc 0 (System.Boolean)
L_001e: ldloca 0 (System.Boolean)
L_0020: ldarg 0
L_0026: call Void PreventAssigningRandomFaction(Boolean ByRef, Verse.Pawn)
L_002b: ldloc 0 (System.Boolean)
L_002c: ret
DONE

### Patch RimWorld.SocialCardUtility, Void Recache(Verse.Pawn)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: Local var 5: System.Int32
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: RimWorld.SocialCardUtility+CachedSocialTabEntry
L_0000: Local var 9: System.Int32
L_0000: ldarg 0
L_0006: call Boolean SocialTabNullHandling(Verse.Pawn)
L_000b: brfalse Label0
L_0010: ldarg.0
L_0011: stsfld Verse.Pawn cachedForPawn
L_0016: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_001b: callvirt Void Clear()
L_0020: ldarg.0
L_0021: ldfld RimWorld.Pawn_RelationsTracker relations
L_0026: callvirt IEnumerable`1 get_RelatedPawns()
L_002b: callvirt IEnumerator`1 GetEnumerator()
L_0030: stloc.1
.try
{
L_0031: br Label1
L_0036: Label4
L_0036: ldloc.1
L_0037: callvirt Verse.Pawn get_Current()
L_003c: stloc.0
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_0044: brtrue Label2
L_0049: leave Label3
L_004e: Label2
L_004e: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0053: ldloc.0
L_0054: callvirt Boolean Add(Verse.Pawn)
L_0059: pop
L_005a: Label1
L_005a: Label3
L_005a: ldloc.1
L_005b: callvirt Boolean MoveNext()
L_0060: brtrue Label4
L_0065: leave Label5
L_006a: leave (autogenerated)
} // end try
.finally
{
L_006f: ldloc.1
L_0070: brfalse Label6
L_0075: ldloc.1
L_0076: callvirt Void Dispose()
L_007b: Label6
L_007b: endfinally
L_007c: leave (autogenerated)
} // end handler
L_007d: Label5
L_007d: ldnull
L_007e: stloc.2
L_007f: ldarg.0
L_0080: callvirt Verse.Map get_MapHeld()
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: callvirt Verse.Map get_MapHeld()
L_0090: ldfld Verse.MapPawns mapPawns
L_0095: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_009a: stloc.2
L_009b: br Label8
L_00a0: Label7
L_00a0: ldarg.0
L_00a1: call Boolean IsCaravanMember(Verse.Pawn)
L_00a6: brfalse Label9
L_00ab: ldarg.0
L_00ac: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_00b1: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_00b6: stloc.2
L_00b7: Label8
L_00b7: Label9
L_00b7: ldloc.2
L_00b8: brfalse Label10
L_00bd: ldc.i4.0
L_00be: stloc.3
L_00bf: br Label11
L_00c4: Label20
L_00c4: ldloc.2
L_00c5: ldloc.3
L_00c6: callvirt Verse.Pawn get_Item(Int32)
L_00cb: stloc.s 4 (Verse.Pawn)
L_00cd: ldloc.s 4 (Verse.Pawn)
L_00cf: callvirt Verse.RaceProperties get_RaceProps()
L_00d4: callvirt Boolean get_Humanlike()
L_00d9: brfalse Label12
L_00de: ldloc.s 4 (Verse.Pawn)
L_00e0: ldarg.0
L_00e1: beq Label13
L_00e6: ldloc.s 4 (Verse.Pawn)
L_00e8: ldarg.0
L_00e9: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_00ee: brfalse Label14
L_00f3: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_00f8: ldloc.s 4 (Verse.Pawn)
L_00fa: callvirt Boolean Contains(Verse.Pawn)
L_00ff: brfalse Label15
L_0104: Label12
L_0104: Label13
L_0104: Label14
L_0104: br Label16
L_0109: Label15
L_0109: ldarg.0
L_010a: ldfld RimWorld.Pawn_RelationsTracker relations
L_010f: ldloc.s 4 (Verse.Pawn)
L_0111: callvirt Int32 OpinionOf(Verse.Pawn)
L_0116: brtrue Label17
L_011b: ldloc.s 4 (Verse.Pawn)
L_011d: ldfld RimWorld.Pawn_RelationsTracker relations
L_0122: ldarg.0
L_0123: callvirt Int32 OpinionOf(Verse.Pawn)
L_0128: brtrue Label18
L_012d: br Label19
L_0132: Label17
L_0132: Label18
L_0132: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0137: ldloc.s 4 (Verse.Pawn)
L_0139: callvirt Boolean Add(Verse.Pawn)
L_013e: pop
L_013f: Label16
L_013f: Label19
L_013f: ldloc.3
L_0140: ldc.i4.1
L_0141: add
L_0142: stloc.3
L_0143: Label11
L_0143: ldloc.3
L_0144: ldloc.2
L_0145: callvirt Int32 get_Count()
L_014a: blt Label20
L_014f: Label10
L_014f: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0154: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0159: brtrue Label21
L_015e: ldnull
L_015f: ldftn Boolean
<Recache>m__0(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0165: newobj Void .ctor(Object, IntPtr)
L_016a: stsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_016f: Label21
L_016f: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0174: callvirt Int32
RemoveAll(System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry])
L_0179: pop
L_017a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_017f: callvirt Void Clear()
L_0184: ldc.i4.0
L_0185: stloc.s 5 (System.Int32)
L_0187: br Label22
L_018c: Label23
L_018c: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0191: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0196: ldloc.s 5 (System.Int32)
L_0198: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_019d: ldfld Verse.Pawn otherPawn
L_01a2: callvirt Boolean Add(Verse.Pawn)
L_01a7: pop
L_01a8: ldloc.s 5 (System.Int32)
L_01aa: ldc.i4.1
L_01ab: add
L_01ac: stloc.s 5 (System.Int32)
L_01ae: Label22
L_01ae: ldloc.s 5 (System.Int32)
L_01b0: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_01b5: callvirt Int32 get_Count()
L_01ba: blt Label23
L_01bf: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_01c4: callvirt Enumerator GetEnumerator()
L_01c9: stloc.s 7 (System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
.try
{
L_01cb: br Label24
L_01d0: Label27
L_01d0: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_01d2: call Verse.Pawn get_Current()
L_01d7: stloc.s 6 (Verse.Pawn)
L_01d9: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_01de: ldloc.s 6 (Verse.Pawn)
L_01e0: callvirt Boolean Contains(Verse.Pawn)
L_01e5: brfalse Label25
L_01ea: leave Label26
L_01ef: Label25
L_01ef: newobj Void .ctor()
L_01f4: stloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f6: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f8: ldloc.s 6 (Verse.Pawn)
L_01fa: stfld Verse.Pawn otherPawn
L_01ff: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0204: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0206: callvirt Void Add(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_020b: Label24
L_020b: Label26
L_020b: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_020d: call Boolean MoveNext()
L_0212: brtrue Label27
L_0217: leave Label28
L_021c: leave (autogenerated)
} // end try
.finally
{
L_0221: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_0223: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn]
L_0229: callvirt Void Dispose()
L_022e: endfinally
L_022f: leave (autogenerated)
} // end handler
L_0230: Label28
L_0230: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0235: callvirt Void Clear()
L_023a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_023f: callvirt Void Clear()
L_0244: ldc.i4.0
L_0245: stloc.s 9 (System.Int32)
L_0247: br Label29
L_024c: Label30
L_024c: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0251: ldloc.s 9 (System.Int32)
L_0253: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_0258: ldarg.0
L_0259: call Void RecacheEntry(RimWorld.SocialCardUtility+CachedSocialTabEntry,
Verse.Pawn)
L_025e: ldloc.s 9 (System.Int32)
L_0260: ldc.i4.1
L_0261: add
L_0262: stloc.s 9 (System.Int32)
L_0264: Label29
L_0264: ldloc.s 9 (System.Int32)
L_0266: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_026b: callvirt Int32 get_Count()
L_0270: blt Label30
L_0275: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_027a: ldsfld RimWorld.SocialCardUtility+CachedSocialTabEntryComparer
CachedEntriesComparer
L_027f: callvirt Void Sort(IComparer`1)
L_0284: Label0
L_0284: ret
DONE

### Patch Verse.Pawn, Boolean get_IsColonistPlayerControlled()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean get_Spawned()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean get_IsColonist()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: call Verse.MentalStateDef get_MentalStateDef()
L_0022: brtrue Label3
L_0027: ldarg.0
L_0028: call RimWorld.Faction get_HostFaction()
L_002d: ldnull
L_002e: ceq
L_0030: br Label4
L_0035: Label1
L_0035: Label2
L_0035: Label3
L_0035: ldc.i4.0
L_0036: Label4
L_0036: stloc 0 (System.Boolean)
L_0037: ldarg.0
L_0038: ldloca 0 (System.Boolean)
L_003a: call Void IncludeVehiclesInIsColonistPlayerControlled(Verse.Pawn, Boolean
ByRef)
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.Pawn, Boolean CurrentlyUsableForBills()


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InBed(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldsfld System.String NotSurgeryReadyTrans
L_0016: ldnull
L_0017: call Void Is(System.String, System.String)
L_001c: ldc.i4.0
L_001d: br Label3
L_0022: Label1
L_0022: ldarg.0
L_0023: callvirt IntVec3 get_InteractionCell()
L_0028: stloc.0
L_0029: ldloca.s 0 (Verse.IntVec3)
L_002b: call Boolean get_IsValid()
L_0030: brtrue Label2
L_0035: ldsfld System.String CannotReachTrans
L_003a: ldnull
L_003b: call Void Is(System.String, System.String)
L_0040: ldc.i4.0
L_0041: br Label4
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: Label4
L_0047: stloc 1 (System.Boolean)
L_0048: ldarg.0
L_0049: ldloca 1 (System.Boolean)
L_004b: call Void CantUseMovingVehicles(Verse.Pawn, Boolean ByRef)
L_0050: ldloc 1 (System.Boolean)
L_0051: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ret
DONE

### Patch Verse.Verb_Shoot, Boolean TryCastShot()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 1 (System.Boolean)
L_0009: call Boolean CanVehicleShoot(Verse.Verb_Shoot, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean TryCastShot()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: brfalse Label1
L_0020: ldarg.0
L_0021: call Boolean get_CasterIsPawn()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: call Verse.Pawn get_CasterPawn()
L_0031: ldfld RimWorld.Pawn_RecordsTracker records
L_0036: ldsfld RimWorld.RecordDef ShotsFired
L_003b: callvirt Void Increment(RimWorld.RecordDef)
L_0040: Label1
L_0040: Label2
L_0040: ldloc.0
L_0041: stloc 1 (System.Boolean)
L_0042: Label0
L_0042: ldloc 1 (System.Boolean)
L_0043: ret
DONE

### Patch RimWorld.GameEnder, Boolean


IsPlayerControlledWithFreeColonist(RimWorld.Planet.Caravan)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsPlayerControlled()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label6
L_0017: Label1
L_0017: ldarg.1
L_0018: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_001d: stloc.0
L_001e: ldc.i4.0
L_001f: stloc.1
L_0020: br Label2
L_0025: Label5
L_0025: ldloc.0
L_0026: ldloc.1
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stloc.2
L_002d: ldloc.2
L_002e: callvirt Boolean get_IsColonist()
L_0033: brfalse Label3
L_0038: ldloc.2
L_0039: callvirt RimWorld.Faction get_HostFaction()
L_003e: brtrue Label4
L_0043: ldc.i4.1
L_0044: br Label7
L_0049: Label3
L_0049: Label4
L_0049: ldloc.1
L_004a: ldc.i4.1
L_004b: add
L_004c: stloc.1
L_004d: Label2
L_004d: ldloc.1
L_004e: ldloc.0
L_004f: callvirt Int32 get_Count()
L_0054: blt Label5
L_0059: ldc.i4.0
L_005a: Label6
L_005a: Label7
L_005a: stloc 3 (System.Boolean)
L_005b: ldarg 1
L_0061: ldloca 3 (System.Boolean)
L_0063: call Void CanEndGame(RimWorld.Planet.Caravan, Boolean ByRef)
L_0068: ldloc 3 (System.Boolean)
L_0069: ret
DONE

### Patch RimWorld.RestUtility, RimWorld.Building_Bed FindBedFor(Verse.Pawn,


Verse.Pawn, Boolean, Boolean, Boolean)
L_0000: Local var 0: RimWorld.RestUtility+<FindBedFor>c__AnonStorey0
L_0000: Local var 1: RimWorld.Building_Bed
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: Verse.Pawn
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.ThingDef
L_0000: Local var 9: System.Int32
L_0000: Local var 10: RimWorld.RestUtility+<FindBedFor>c__AnonStorey1
L_0000: Local var 11: RimWorld.Building_Bed
L_0000: Local var 12: RimWorld.DirectPawnRelation
L_0000: Local var 13: RimWorld.Building_Bed
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.RestUtility+<FindBedFor>c__AnonStorey2
L_0000: Local var 16: System.Int32
L_0000: Local var 17: Verse.ThingDef
L_0000: Local var 18: RimWorld.Building_Bed
L_0000: Local var 19: RimWorld.Building_Bed
L_0000: ldnull
L_0001: stloc 19 (RimWorld.Building_Bed)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: stfld Verse.Pawn sleeper
L_0010: ldloc.0
L_0011: ldarg.1
L_0012: stfld Verse.Pawn traveler
L_0017: ldloc.0
L_0018: ldarg.2
L_0019: stfld System.Boolean sleeperWillBePrisoner
L_001e: ldloc.0
L_001f: ldarg.3
L_0020: stfld System.Boolean checkSocialProperness
L_0025: ldloc.0
L_0026: ldarg.s 4
L_0028: stfld System.Boolean ignoreOtherReservations
L_002d: ldloc.0
L_002e: ldfld Verse.Pawn sleeper
L_0033: call Boolean ShouldSeekMedicalRest(Verse.Pawn)
L_0038: brfalse Label1
L_003d: ldloc.0
L_003e: ldfld Verse.Pawn sleeper
L_0043: call Boolean InBed(Verse.Pawn)
L_0048: brfalse Label2
L_004d: ldloc.0
L_004e: ldfld Verse.Pawn sleeper
L_0053: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_0058: callvirt Boolean get_Medical()
L_005d: brfalse Label3
L_0062: ldloc.0
L_0063: ldfld Verse.Pawn sleeper
L_0068: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006d: stloc.1
L_006e: ldloc.0
L_006f: ldfld Verse.Pawn sleeper
L_0074: stloc.2
L_0075: ldloc.0
L_0076: ldfld Verse.Pawn traveler
L_007b: stloc.3
L_007c: ldloc.0
L_007d: ldfld System.Boolean sleeperWillBePrisoner
L_0082: stloc.s 4 (System.Boolean)
L_0084: ldloc.0
L_0085: ldfld System.Boolean checkSocialProperness
L_008a: stloc.s 5 (System.Boolean)
L_008c: ldloc.0
L_008d: ldfld System.Boolean ignoreOtherReservations
L_0092: stloc.s 6 (System.Boolean)
L_0094: ldloc.1
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: ldloc.s 4 (System.Boolean)
L_0099: ldloc.s 5 (System.Boolean)
L_009b: ldc.i4.0
L_009c: ldloc.s 6 (System.Boolean)
L_009e: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_00a3: brfalse Label4
L_00a8: ldloc.0
L_00a9: ldfld Verse.Pawn sleeper
L_00ae: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_00b3: br Label29
L_00b8: Label2
L_00b8: Label3
L_00b8: Label4
L_00b8: ldc.i4.0
L_00b9: stloc.s 7 (System.Int32)
L_00bb: br Label5
L_00c0: Label13
L_00c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_00c5: ldloc.s 7 (System.Int32)
L_00c7: callvirt Verse.ThingDef get_Item(Int32)
L_00cc: stloc.s 8 (Verse.ThingDef)
L_00ce: ldloc.0
L_00cf: ldfld Verse.Pawn sleeper
L_00d4: ldloc.s 8 (Verse.ThingDef)
L_00d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_00db: brtrue Label6
L_00e0: br Label7
L_00e5: Label6
L_00e5: ldc.i4.0
L_00e6: stloc.s 9 (System.Int32)
L_00e8: br Label8
L_00ed: Label12
L_00ed: newobj Void .ctor()
L_00f2: stloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f4: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f6: ldloc.0
L_00f7: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_00fc: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00fe: ldloc.s 9 (System.Int32)
L_0100: brtrue Label9
L_0105: ldc.i4.1
L_0106: br Label10
L_010b: Label9
L_010b: ldc.i4.3
L_010c: Label10
L_010c: stfld Verse.Danger maxDanger
L_0111: ldloc.0
L_0112: ldfld Verse.Pawn sleeper
L_0117: callvirt IntVec3 get_Position()
L_011c: ldloc.0
L_011d: ldfld Verse.Pawn sleeper
L_0122: callvirt Verse.Map get_Map()
L_0127: ldloc.s 8 (Verse.ThingDef)
L_0129: call ThingRequest ForDef(Verse.ThingDef)
L_012e: ldc.i4.1
L_012f: ldloc.0
L_0130: ldfld Verse.Pawn traveler
L_0135: ldc.i4.3
L_0136: ldc.i4.0
L_0137: ldc.i4.0
L_0138: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_013d: ldc.r4 9999
L_0142: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_0144: ldftn Boolean <>m__0(Verse.Thing)
L_014a: newobj Void .ctor(Object, IntPtr)
L_014f: ldnull
L_0150: ldc.i4.0
L_0151: ldc.i4.m1
L_0152: ldc.i4.0
L_0153: ldc.i4.6
L_0154: ldc.i4.0
L_0155: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_015a: castclass RimWorld.Building_Bed
L_015f: stloc.s 11 (RimWorld.Building_Bed)
L_0161: ldloc.s 11 (RimWorld.Building_Bed)
L_0163: brfalse Label11
L_0168: ldloc.s 11 (RimWorld.Building_Bed)
L_016a: br Label30
L_016f: Label11
L_016f: ldloc.s 9 (System.Int32)
L_0171: ldc.i4.1
L_0172: add
L_0173: stloc.s 9 (System.Int32)
L_0175: Label8
L_0175: ldloc.s 9 (System.Int32)
L_0177: ldc.i4.2
L_0178: blt Label12
L_017d: Label7
L_017d: ldloc.s 7 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 7 (System.Int32)
L_0183: Label5
L_0183: ldloc.s 7 (System.Int32)
L_0185: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_018a: callvirt Int32 get_Count()
L_018f: blt Label13
L_0194: Label1
L_0194: ldloc.0
L_0195: ldfld Verse.Pawn sleeper
L_019a: ldfld RimWorld.Pawn_Ownership ownership
L_019f: brfalse Label14
L_01a4: ldloc.0
L_01a5: ldfld Verse.Pawn sleeper
L_01aa: ldfld RimWorld.Pawn_Ownership ownership
L_01af: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01b4: brfalse Label15
L_01b9: ldloc.0
L_01ba: ldfld Verse.Pawn sleeper
L_01bf: ldfld RimWorld.Pawn_Ownership ownership
L_01c4: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01c9: stloc.1
L_01ca: ldloc.0
L_01cb: ldfld Verse.Pawn sleeper
L_01d0: stloc.3
L_01d1: ldloc.0
L_01d2: ldfld Verse.Pawn traveler
L_01d7: stloc.2
L_01d8: ldloc.0
L_01d9: ldfld System.Boolean sleeperWillBePrisoner
L_01de: stloc.s 6 (System.Boolean)
L_01e0: ldloc.0
L_01e1: ldfld System.Boolean checkSocialProperness
L_01e6: stloc.s 5 (System.Boolean)
L_01e8: ldloc.0
L_01e9: ldfld System.Boolean ignoreOtherReservations
L_01ee: stloc.s 4 (System.Boolean)
L_01f0: ldloc.1
L_01f1: ldloc.3
L_01f2: ldloc.2
L_01f3: ldloc.s 6 (System.Boolean)
L_01f5: ldloc.s 5 (System.Boolean)
L_01f7: ldc.i4.0
L_01f8: ldloc.s 4 (System.Boolean)
L_01fa: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_01ff: brfalse Label16
L_0204: ldloc.0
L_0205: ldfld Verse.Pawn sleeper
L_020a: ldfld RimWorld.Pawn_Ownership ownership
L_020f: callvirt RimWorld.Building_Bed get_OwnedBed()
L_0214: br Label31
L_0219: Label14
L_0219: Label15
L_0219: Label16
L_0219: ldloc.0
L_021a: ldfld Verse.Pawn sleeper
L_021f: ldc.i4.0
L_0220: call RimWorld.DirectPawnRelation
ExistingMostLikedLovePartnerRel(Verse.Pawn, Boolean)
L_0225: stloc.s 12 (RimWorld.DirectPawnRelation)
L_0227: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0229: brfalse Label17
L_022e: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0230: ldfld Verse.Pawn otherPawn
L_0235: ldfld RimWorld.Pawn_Ownership ownership
L_023a: callvirt RimWorld.Building_Bed get_OwnedBed()
L_023f: stloc.s 13 (RimWorld.Building_Bed)
L_0241: ldloc.s 13 (RimWorld.Building_Bed)
L_0243: brfalse Label18
L_0248: ldloc.s 13 (RimWorld.Building_Bed)
L_024a: stloc.1
L_024b: ldloc.0
L_024c: ldfld Verse.Pawn sleeper
L_0251: stloc.2
L_0252: ldloc.0
L_0253: ldfld Verse.Pawn traveler
L_0258: stloc.3
L_0259: ldloc.0
L_025a: ldfld System.Boolean sleeperWillBePrisoner
L_025f: stloc.s 4 (System.Boolean)
L_0261: ldloc.0
L_0262: ldfld System.Boolean checkSocialProperness
L_0267: stloc.s 5 (System.Boolean)
L_0269: ldloc.0
L_026a: ldfld System.Boolean ignoreOtherReservations
L_026f: stloc.s 6 (System.Boolean)
L_0271: ldloc.1
L_0272: ldloc.2
L_0273: ldloc.3
L_0274: ldloc.s 4 (System.Boolean)
L_0276: ldloc.s 5 (System.Boolean)
L_0278: ldc.i4.0
L_0279: ldloc.s 6 (System.Boolean)
L_027b: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_0280: brfalse Label19
L_0285: ldloc.s 13 (RimWorld.Building_Bed)
L_0287: br Label32
L_028c: Label17
L_028c: Label18
L_028c: Label19
L_028c: ldc.i4.0
L_028d: stloc.s 14 (System.Int32)
L_028f: br Label20
L_0294: Label28
L_0294: newobj Void .ctor()
L_0299: stloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029b: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029d: ldloc.0
L_029e: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_02a3: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_02a5: ldloc.s 14 (System.Int32)
L_02a7: brtrue Label21
L_02ac: ldc.i4.1
L_02ad: br Label22
L_02b2: Label21
L_02b2: ldc.i4.3
L_02b3: Label22
L_02b3: stfld Verse.Danger maxDanger
L_02b8: ldc.i4.0
L_02b9: stloc.s 16 (System.Int32)
L_02bb: br Label23
L_02c0: Label27
L_02c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_02c5: ldloc.s 16 (System.Int32)
L_02c7: callvirt Verse.ThingDef get_Item(Int32)
L_02cc: stloc.s 17 (Verse.ThingDef)
L_02ce: ldloc.0
L_02cf: ldfld Verse.Pawn sleeper
L_02d4: ldloc.s 17 (Verse.ThingDef)
L_02d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_02db: brtrue Label24
L_02e0: br Label25
L_02e5: Label24
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn sleeper
L_02eb: callvirt IntVec3 get_Position()
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn sleeper
L_02f6: callvirt Verse.Map get_Map()
L_02fb: ldloc.s 17 (Verse.ThingDef)
L_02fd: call ThingRequest ForDef(Verse.ThingDef)
L_0302: ldc.i4.1
L_0303: ldloc.0
L_0304: ldfld Verse.Pawn traveler
L_0309: ldc.i4.3
L_030a: ldc.i4.0
L_030b: ldc.i4.0
L_030c: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0311: ldc.r4 9999
L_0316: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_0318: ldftn Boolean <>m__0(Verse.Thing)
L_031e: newobj Void .ctor(Object, IntPtr)
L_0323: ldnull
L_0324: ldc.i4.0
L_0325: ldc.i4.m1
L_0326: ldc.i4.0
L_0327: ldc.i4.6
L_0328: ldc.i4.0
L_0329: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_032e: castclass RimWorld.Building_Bed
L_0333: stloc.s 18 (RimWorld.Building_Bed)
L_0335: ldloc.s 18 (RimWorld.Building_Bed)
L_0337: brfalse Label26
L_033c: ldloc.s 18 (RimWorld.Building_Bed)
L_033e: br Label33
L_0343: Label25
L_0343: Label26
L_0343: ldloc.s 16 (System.Int32)
L_0345: ldc.i4.1
L_0346: add
L_0347: stloc.s 16 (System.Int32)
L_0349: Label23
L_0349: ldloc.s 16 (System.Int32)
L_034b: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_0350: callvirt Int32 get_Count()
L_0355: blt Label27
L_035a: ldloc.s 14 (System.Int32)
L_035c: ldc.i4.1
L_035d: add
L_035e: stloc.s 14 (System.Int32)
L_0360: Label20
L_0360: ldloc.s 14 (System.Int32)
L_0362: ldc.i4.2
L_0363: blt Label28
L_0368: ldnull
L_0369: Label29
L_0369: Label30
L_0369: Label31
L_0369: Label32
L_0369: Label33
L_0369: stloc 19 (RimWorld.Building_Bed)
L_036b: ldloca 19 (RimWorld.Building_Bed)
L_036d: ldarg 0
L_0373: call Void DontRescueVehicles(RimWorld.Building_Bed ByRef, Verse.Pawn)
L_0378: ldloc 19 (RimWorld.Building_Bed)
L_037a: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ret
DONE

### Patch RimWorld.BaseGen.SymbolResolver_RandomMechanoidGroup, Boolean


<Resolve>m__0(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: stloc 0 (System.Boolean)
L_0012: ldloca 0 (System.Boolean)
L_0014: ldarg 0
L_001a: call Void MechanoidsFixerAncient(Boolean ByRef, Verse.PawnKindDef)
L_001f: ldloc 0 (System.Boolean)
L_0020: ret
DONE

### Patch RimWorld.CompSpawnerMechanoidsOnDamaged, Boolean


<TrySpawnMechanoids>m__1(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: brfalse Label1
L_0016: ldarg.1
L_0017: ldfld System.Boolean isFighter
L_001c: brfalse Label2
L_0021: ldarg.1
L_0022: ldfld System.Single combatPower
L_0027: ldarg.0
L_0028: ldfld System.Single pointsLeft
L_002d: cgt.un
L_002f: ldc.i4.0
L_0030: ceq
L_0032: br Label3
L_0037: Label1
L_0037: Label2
L_0037: ldc.i4.0
L_0038: Label3
L_0038: stloc 0 (System.Boolean)
L_0039: ldloca 0 (System.Boolean)
L_003b: ldarg 1
L_0041: call Void MechanoidsFixer(Boolean ByRef, Verse.PawnKindDef)
L_0046: ldloc 0 (System.Boolean)
L_0047: ret
DONE

### Patch RimWorld.ThinkNode_ConditionalColonist, Boolean Satisfied(Verse.Pawn)


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsColonist()
L_000c: stloc 0 (System.Boolean)
L_000d: ldarg 1
L_0013: ldloca 0 (System.Boolean)
L_0015: call Void Satisfied_PostFix(Verse.Pawn, Boolean ByRef)
L_001a: ldloc 0 (System.Boolean)
L_001b: ret
DONE

### Patch RimWorld.JobGiver_Haul, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: RimWorld.JobGiver_Haul+<TryGiveJob>c__AnonStorey0
L_0000: Local var 1: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldarg 1
L_0008: ldloca 3 (Verse.AI.Job)
L_000a: call Boolean TryGiveJob_PreFix(Verse.Pawn, Verse.AI.Job ByRef)
L_000f: brfalse Label0
L_0014: newobj Void .ctor()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: ldarg.1
L_001c: stfld Verse.Pawn pawn
L_0021: ldloc.0
L_0022: ldftn Boolean <>m__0(Verse.Thing)
L_0028: newobj Void .ctor(Object, IntPtr)
L_002d: stloc.1
L_002e: ldloc.0
L_002f: ldfld Verse.Pawn pawn
L_0034: callvirt IntVec3 get_Position()
L_0039: ldloc.0
L_003a: ldfld Verse.Pawn pawn
L_003f: callvirt Verse.Map get_Map()
L_0044: ldloc.0
L_0045: ldfld Verse.Pawn pawn
L_004a: callvirt Verse.Map get_Map()
L_004f: ldfld RimWorld.ListerHaulables listerHaulables
L_0054: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsPotentiallyNeedingHauling()
L_0059: ldc.i4.1
L_005a: ldloc.0
L_005b: ldfld Verse.Pawn pawn
L_0060: ldc.i4.3
L_0061: ldc.i4.0
L_0062: ldc.i4.0
L_0063: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0068: ldc.r4 9999
L_006d: ldloc.1
L_006e: ldnull
L_006f: call Verse.Thing ClosestThing_Global_Reachable(IntVec3, Verse.Map,
IEnumerable`1, PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing],
System.Func`2[Verse.Thing,System.Single])
L_0074: stloc.2
L_0075: ldloc.2
L_0076: brfalse Label1
L_007b: ldloc.0
L_007c: ldfld Verse.Pawn pawn
L_0081: ldloc.2
L_0082: call Verse.AI.Job HaulToStorageJob(Verse.Pawn, Verse.Thing)
L_0087: br Label2
L_008c: Label1
L_008c: ldnull
L_008d: Label2
L_008d: stloc 3 (Verse.AI.Job)
L_008e: Label0
L_008e: ldloc 3 (Verse.AI.Job)
L_008f: ret
DONE

### Patch Verse.AI.JobGiver_Orders, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 0 (Verse.AI.Job)
L_0002: ldarg.1
L_0003: callvirt Boolean get_Drafted()
L_0008: brfalse Label1
L_000d: ldsfld Verse.JobDef Wait_Combat
L_0012: ldarg.1
L_0013: callvirt IntVec3 get_Position()
L_0018: call LocalTargetInfo op_Implicit(IntVec3)
L_001d: newobj Void .ctor(JobDef, LocalTargetInfo)
L_0022: br Label2
L_0027: Label1
L_0027: ldnull
L_0028: Label2
L_0028: stloc 0 (Verse.AI.Job)
L_0029: ldloca 0 (Verse.AI.Job)
L_002b: ldarg 1
L_0031: call Void PreventWaitAttackError(Verse.AI.Job ByRef, Verse.Pawn)
L_0036: ldloc 0 (Verse.AI.Job)
L_0037: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemDuties(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldc.i4.0
L_000c: stloc.0
L_000d: br Label1
L_0012: Label6
L_0012: ldarg.0
L_0013: ldfld Verse.AI.Group.Lord lord
L_0018: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_001d: ldloc.0
L_001e: callvirt Verse.Pawn get_Item(Int32)
L_0023: stloc.1
L_0024: ldloc.1
L_0025: callvirt Boolean get_IsColonist()
L_002a: brfalse Label2
L_002f: ldloc.1
L_0030: ldfld Verse.AI.Pawn_MindState mindState
L_0035: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherItems
L_003a: newobj Void .ctor(DutyDef)
L_003f: stfld Verse.AI.PawnDuty duty
L_0044: br Label3
L_0049: Label2
L_0049: ldloc.1
L_004a: callvirt Verse.RaceProperties get_RaceProps()
L_004f: callvirt Boolean get_Animal()
L_0054: brfalse Label4
L_0059: ldloc.1
L_005a: ldfld Verse.AI.Pawn_MindState mindState
L_005f: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0064: ldarg.0
L_0065: ldfld Verse.IntVec3 meetingPoint
L_006a: call LocalTargetInfo op_Implicit(IntVec3)
L_006f: ldc.r4 -1
L_0074: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_0079: stfld Verse.AI.PawnDuty duty
L_007e: br Label5
L_0083: Label4
L_0083: ldloc.1
L_0084: ldfld Verse.AI.Pawn_MindState mindState
L_0089: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_008e: newobj Void .ctor(DutyDef)
L_0093: stfld Verse.AI.PawnDuty duty
L_0098: Label3
L_0098: Label5
L_0098: ldloc.0
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.0
L_009c: Label1
L_009c: ldloc.0
L_009d: ldarg.0
L_009e: ldfld Verse.AI.Group.Lord lord
L_00a3: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_00a8: callvirt Int32 get_Count()
L_00ad: blt Label6
L_00b2: Label0
L_00b2: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherAnimals, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadAnimalDuties(RimWorld.LordToil_PrepareCaravan_GatherAnimals)
L_0006: ldc.i4.0
L_0007: stloc.0
L_0008: br Label1
L_000d: Label5
L_000d: ldarg.0
L_000e: ldfld Verse.AI.Group.Lord lord
L_0013: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0018: ldloc.0
L_0019: callvirt Verse.Pawn get_Item(Int32)
L_001e: stloc.1
L_001f: ldloc.1
L_0020: callvirt Boolean get_IsColonist()
L_0025: brtrue Label2
L_002a: ldloc.1
L_002b: callvirt Verse.RaceProperties get_RaceProps()
L_0030: callvirt Boolean get_Animal()
L_0035: brfalse Label3
L_003a: Label2
L_003a: ldloc.1
L_003b: ldfld Verse.AI.Pawn_MindState mindState
L_0040: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherPawns
L_0045: ldarg.0
L_0046: ldfld Verse.IntVec3 meetingPoint
L_004b: call LocalTargetInfo op_Implicit(IntVec3)
L_0050: ldc.r4 -1
L_0055: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_005a: stfld Verse.AI.PawnDuty duty
L_005f: ldloc.1
L_0060: ldfld Verse.AI.Pawn_MindState mindState
L_0065: ldfld Verse.AI.PawnDuty duty
L_006a: ldc.i4.1
L_006b: stfld RimWorld.PawnsToGather pawnsToGather
L_0070: br Label4
L_0075: Label3
L_0075: ldloc.1
L_0076: ldfld Verse.AI.Pawn_MindState mindState
L_007b: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0080: newobj Void .ctor(DutyDef)
L_0085: stfld Verse.AI.PawnDuty duty
L_008a: Label4
L_008a: ldloc.0
L_008b: ldc.i4.1
L_008c: add
L_008d: stloc.0
L_008e: Label1
L_008e: ldloc.0
L_008f: ldarg.0
L_0090: ldfld Verse.AI.Group.Lord lord
L_0095: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_009a: callvirt Int32 get_Count()
L_009f: blt Label5
L_00a4: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherSlaves, Void LordToilTick()


L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadSlaveDuties(RimWorld.LordToil_PrepareCaravan_GatherSlaves)
L_0006: call Verse.TickManager get_TickManager()
L_000b: callvirt Int32 get_TicksGame()
L_0010: ldc.i4.s 100
L_0012: rem
L_0013: brtrue Label1
L_0018: ldarg.0
L_0019: ldfld Verse.AI.Group.Lord lord
L_001e: ldarg.0
L_001f: ldfld Verse.IntVec3 meetingPoint
L_0024: ldstr "AllSlavesGathered"
L_0029: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_002e: brtrue Label2
L_0033: ldnull
L_0034: ldftn Boolean <LordToilTick>m__0(Verse.Pawn)
L_003a: newobj Void .ctor(Object, IntPtr)
L_003f: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0044: Label2
L_0044: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0049: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_004e: brtrue Label3
L_0053: ldnull
L_0054: ldftn Boolean IsFollowingAnyone(Verse.Pawn)
L_005a: newobj Void .ctor(Object, IntPtr)
L_005f: stsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0064: Label3
L_0064: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0069: call Void CheckArrived(Verse.AI.Group.Lord, IntVec3, System.String,
System.Predicate`1[Verse.Pawn], System.Predicate`1[Verse.Pawn])
L_006e: Label1
L_006e: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void LordToilTick()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemToil(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void LordToilTick()
L_0011: call Verse.TickManager get_TickManager()
L_0016: callvirt Int32 get_TicksGame()
L_001b: ldc.i4.s 120
L_001d: rem
L_001e: brtrue Label1
L_0023: ldc.i4.1
L_0024: stloc.0
L_0025: ldc.i4.0
L_0026: stloc.1
L_0027: br Label2
L_002c: Label6
L_002c: ldarg.0
L_002d: ldfld Verse.AI.Group.Lord lord
L_0032: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0037: ldloc.1
L_0038: callvirt Verse.Pawn get_Item(Int32)
L_003d: stloc.2
L_003e: ldloc.2
L_003f: callvirt Boolean get_IsColonist()
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldfld Verse.AI.Pawn_MindState mindState
L_004f: ldfld Verse.AI.JobTag lastJobTag
L_0054: ldc.i4.8
L_0055: beq Label4
L_005a: ldc.i4.0
L_005b: stloc.0
L_005c: br Label5
L_0061: Label3
L_0061: Label4
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label2
L_0065: ldloc.1
L_0066: ldarg.0
L_0067: ldfld Verse.AI.Group.Lord lord
L_006c: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0071: callvirt Int32 get_Count()
L_0076: blt Label6
L_007b: Label5
L_007b: ldloc.0
L_007c: brfalse Label7
L_0081: ldarg.0
L_0082: call Verse.Map get_Map()
L_0087: ldfld Verse.MapPawns mapPawns
L_008c: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_0091: stloc.3
L_0092: ldc.i4.0
L_0093: stloc.s 4 (System.Int32)
L_0095: br Label8
L_009a: Label13
L_009a: ldloc.3
L_009b: ldloc.s 4 (System.Int32)
L_009d: callvirt Verse.Pawn get_Item(Int32)
L_00a2: callvirt Verse.AI.Job get_CurJob()
L_00a7: brfalse Label9
L_00ac: ldloc.3
L_00ad: ldloc.s 4 (System.Int32)
L_00af: callvirt Verse.Pawn get_Item(Int32)
L_00b4: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b9: ldfld Verse.AI.JobDriver curDriver
L_00be: isinst RimWorld.JobDriver_PrepareCaravan_GatherItems
L_00c3: brfalse Label10
L_00c8: ldloc.3
L_00c9: ldloc.s 4 (System.Int32)
L_00cb: callvirt Verse.Pawn get_Item(Int32)
L_00d0: callvirt Verse.AI.Job get_CurJob()
L_00d5: ldfld Verse.AI.Group.Lord lord
L_00da: ldarg.0
L_00db: ldfld Verse.AI.Group.Lord lord
L_00e0: bne.un Label11
L_00e5: ldc.i4.0
L_00e6: stloc.0
L_00e7: br Label12
L_00ec: Label9
L_00ec: Label10
L_00ec: Label11
L_00ec: ldloc.s 4 (System.Int32)
L_00ee: ldc.i4.1
L_00ef: add
L_00f0: stloc.s 4 (System.Int32)
L_00f2: Label8
L_00f2: ldloc.s 4 (System.Int32)
L_00f4: ldloc.3
L_00f5: callvirt Int32 get_Count()
L_00fa: blt Label13
L_00ff: Label7
L_00ff: Label12
L_00ff: ldloc.0
L_0100: brfalse Label14
L_0105: ldarg.0
L_0106: ldfld Verse.AI.Group.Lord lord
L_010b: ldstr "AllItemsGathered"
L_0110: callvirt Void ReceiveMemo(System.String)
L_0115: Label1
L_0115: Label14
L_0115: Label0
L_0115: ret
DONE

### Patch RimWorld.Planet.Caravan_NeedsTracker, Void


TrySatisfyPawnNeeds(Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Need, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Need
L_0000: Local var 3: RimWorld.Need_Rest
L_0000: Local var 4: RimWorld.Need_Food
L_0000: Local var 5: RimWorld.Need_Chemical
L_0000: Local var 6: RimWorld.Need_Joy
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean TrySatisfyFuelNeeds(RimWorld.Planet.Caravan_NeedsTracker,
Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: callvirt Boolean get_Dead()
L_0017: brfalse Label1
L_001c: br Label11
L_0021: Label1
L_0021: ldarg.1
L_0022: ldfld RimWorld.Pawn_NeedsTracker needs
L_0027: callvirt System.Collections.Generic.List`1[RimWorld.Need] get_AllNeeds()
L_002c: stloc.0
L_002d: ldc.i4.0
L_002e: stloc.1
L_002f: br Label2
L_0034: Label10
L_0034: ldloc.0
L_0035: ldloc.1
L_0036: callvirt RimWorld.Need get_Item(Int32)
L_003b: stloc.2
L_003c: ldloc.2
L_003d: isinst RimWorld.Need_Rest
L_0042: stloc.3
L_0043: ldloc.2
L_0044: isinst RimWorld.Need_Food
L_0049: stloc.s 4 (RimWorld.Need_Food)
L_004b: ldloc.2
L_004c: isinst RimWorld.Need_Chemical
L_0051: stloc.s 5 (RimWorld.Need_Chemical)
L_0053: ldloc.2
L_0054: isinst RimWorld.Need_Joy
L_0059: stloc.s 6 (RimWorld.Need_Joy)
L_005b: ldloc.3
L_005c: brfalse Label3
L_0061: ldarg.0
L_0062: ldarg.1
L_0063: ldloc.3
L_0064: call Void TrySatisfyRestNeed(Verse.Pawn, RimWorld.Need_Rest)
L_0069: br Label4
L_006e: Label3
L_006e: ldloc.s 4 (RimWorld.Need_Food)
L_0070: brfalse Label5
L_0075: ldarg.0
L_0076: ldarg.1
L_0077: ldloc.s 4 (RimWorld.Need_Food)
L_0079: call Void TrySatisfyFoodNeed(Verse.Pawn, RimWorld.Need_Food)
L_007e: br Label6
L_0083: Label5
L_0083: ldloc.s 5 (RimWorld.Need_Chemical)
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: ldarg.1
L_008c: ldloc.s 5 (RimWorld.Need_Chemical)
L_008e: call Void TrySatisfyChemicalNeed(Verse.Pawn, RimWorld.Need_Chemical)
L_0093: br Label8
L_0098: Label7
L_0098: ldloc.s 6 (RimWorld.Need_Joy)
L_009a: brfalse Label9
L_009f: ldarg.0
L_00a0: ldarg.1
L_00a1: ldloc.s 6 (RimWorld.Need_Joy)
L_00a3: call Void TrySatisfyJoyNeed(Verse.Pawn, RimWorld.Need_Joy)
L_00a8: Label4
L_00a8: Label6
L_00a8: Label8
L_00a8: Label9
L_00a8: ldloc.1
L_00a9: ldc.i4.1
L_00aa: add
L_00ab: stloc.1
L_00ac: Label2
L_00ac: ldloc.1
L_00ad: ldloc.0
L_00ae: callvirt Int32 get_Count()
L_00b3: blt Label10
L_00b8: Label11
L_00b8: Label0
L_00b8: ret
DONE

### Patch RimWorld.JobGiver_PrepareCaravan_GatherItems, Verse.AI.Job


TryGiveJob(Verse.Pawn)
L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: Verse.AI.Job
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldloca 3 (Verse.AI.Job)
L_0004: ldarg 1
L_000a: call Boolean TryGiveItemJob_PreFix(Verse.AI.Job ByRef, Verse.Pawn)
L_000f: brfalse Label0
L_0014: ldarg.1
L_0015: ldfld Verse.Pawn_HealthTracker health
L_001a: ldfld Verse.PawnCapacitiesHandler capacities
L_001f: ldsfld Verse.PawnCapacityDef Manipulation
L_0024: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0029: brtrue Label1
L_002e: ldnull
L_002f: br Label3
L_0034: Label1
L_0034: ldarg.1
L_0035: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_003a: stloc.0
L_003b: ldarg.1
L_003c: ldloc.0
L_003d: call Verse.Thing FindThingToHaul(Verse.Pawn, Verse.AI.Group.Lord)
L_0042: stloc.1
L_0043: ldloc.1
L_0044: brtrue Label2
L_0049: ldnull
L_004a: br Label4
L_004f: Label2
L_004f: ldsfld Verse.JobDef PrepareCaravan_GatherItems
L_0054: ldloc.1
L_0055: call LocalTargetInfo op_Implicit(Verse.Thing)
L_005a: newobj Void .ctor(JobDef, LocalTargetInfo)
L_005f: stloc.2
L_0060: ldloc.2
L_0061: ldloc.0
L_0062: stfld Verse.AI.Group.Lord lord
L_0067: ldloc.2
L_0068: Label3
L_0068: Label4
L_0068: stloc 3 (Verse.AI.Job)
L_0069: Label0
L_0069: ldloc 3 (Verse.AI.Job)
L_006a: ret
DONE

### Patch RimWorld.Planet.Caravan, Void AddPawn(Verse.Pawn, Boolean)


L_0000: Local var 0: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: ldarg 2
L_000d: call Boolean AddVehiclePawnsToCaravan(RimWorld.Planet.Caravan, Verse.Pawn,
Boolean)
L_0012: brfalse Label0
L_0017: ldarg.1
L_0018: brtrue Label1
L_001d: ldstr "Tried to add a null pawn to "
L_0022: ldarg.0
L_0023: call System.String Concat(System.Object, System.Object)
L_0028: ldc.i4.0
L_0029: call Void Warning(System.String, Boolean)
L_002e: br Label11
L_0033: Label1
L_0033: ldarg.1
L_0034: callvirt Boolean get_Dead()
L_0039: brfalse Label2
L_003e: ldc.i4.5
L_003f: newarr System.Object
L_0044: dup
L_0045: ldc.i4.0
L_0046: ldstr "Tried to add "
L_004b: stelem.ref
L_004c: dup
L_004d: ldc.i4.1
L_004e: ldarg.1
L_004f: stelem.ref
L_0050: dup
L_0051: ldc.i4.2
L_0052: ldstr " to "
L_0057: stelem.ref
L_0058: dup
L_0059: ldc.i4.3
L_005a: ldarg.0
L_005b: stelem.ref
L_005c: dup
L_005d: ldc.i4.4
L_005e: ldstr ", but this pawn is dead."
L_0063: stelem.ref
L_0064: call System.String Concat(System.Object[])
L_0069: ldc.i4.0
L_006a: call Void Warning(System.String, Boolean)
L_006f: br Label12
L_0074: Label2
L_0074: ldarg.1
L_0075: ldfld Verse.Pawn_CarryTracker carryTracker
L_007a: callvirt Verse.Thing get_CarriedThing()
L_007f: isinst Verse.Pawn
L_0084: stloc.0
L_0085: ldloc.0
L_0086: brfalse Label3
L_008b: ldarg.1
L_008c: ldfld Verse.Pawn_CarryTracker carryTracker
L_0091: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_0096: ldloc.0
L_0097: callvirt Boolean Remove(Verse.Thing)
L_009c: pop
L_009d: Label3
L_009d: ldarg.1
L_009e: callvirt Boolean get_Spawned()
L_00a3: brfalse Label4
L_00a8: ldarg.1
L_00a9: ldc.i4.0
L_00aa: callvirt Void DeSpawn(DestroyMode)
L_00af: Label4
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00b5: ldarg.1
L_00b6: ldc.i4.1
L_00b7: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_00bc: brfalse Label5
L_00c1: ldarg.0
L_00c2: ldarg.1
L_00c3: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00c8: brfalse Label6
L_00cd: ldarg.1
L_00ce: ldfld RimWorld.Pawn_GuestTracker guest
L_00d3: ldarg.0
L_00d4: call RimWorld.Faction get_Faction()
L_00d9: ldnull
L_00da: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_00df: Label6
L_00df: ldloc.0
L_00e0: brfalse Label7
L_00e5: ldarg.0
L_00e6: ldloc.0
L_00e7: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00ec: brfalse Label8
L_00f1: ldloc.0
L_00f2: ldfld RimWorld.Pawn_GuestTracker guest
L_00f7: ldarg.0
L_00f8: call RimWorld.Faction get_Faction()
L_00fd: ldarg.1
L_00fe: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_0103: Label8
L_0103: ldarg.0
L_0104: ldloc.0
L_0105: ldarg.2
L_0106: call Void AddPawn(Verse.Pawn, Boolean)
L_010b: ldarg.2
L_010c: brfalse Label9
L_0111: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_0116: ldloc.0
L_0117: ldc.i4.0
L_0118: callvirt Void PassToWorld(Verse.Pawn, PawnDiscardDecideMode)
L_011d: Label7
L_011d: Label9
L_011d: br Label10
L_0122: Label5
L_0122: ldstr "Couldn't add pawn "
L_0127: ldarg.1
L_0128: ldstr " to caravan."
L_012d: call System.String Concat(System.Object, System.Object, System.Object)
L_0132: ldc.i4.0
L_0133: call Void Error(System.String, Boolean)
L_0138: Label10
L_0138: Label11
L_0138: Label12
L_0138: Label0
L_0138: ret
DONE

### Patch RimWorld.Planet.Dialog_SplitCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldarg 1
L_000d: ldloca 0 (System.Boolean)
L_000f: call Boolean
DontSplitCaravansWithVehicles(RimWorld.Planet.Dialog_SplitCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0014: brfalse Label0
L_0019: ldarg.1
L_001a: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_001f: brtrue Label1
L_0024: ldnull
L_0025: ldftn Boolean <CheckForErrors>m__4(Verse.Pawn)
L_002b: newobj Void .ctor(Object, IntPtr)
L_0030: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_0035: Label1
L_0035: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_003a: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_003f: brtrue Label2
L_0044: ldstr "CaravanMustHaveAtLeastOneColonist"
L_0049: call System.String Translate(System.String)
L_004e: ldarg.0
L_004f: ldfld RimWorld.Planet.Caravan caravan
L_0054: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_0059: ldsfld Verse.MessageTypeDef RejectInput
L_005e: ldc.i4.0
L_005f: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0064: ldc.i4.0
L_0065: br Label4
L_006a: Label2
L_006a: ldarg.0
L_006b: ldarg.1
L_006c: call Boolean
AnyNonDownedColonistLeftInSourceCaravan(System.Collections.Generic.List`1[Verse.Paw
n])
L_0071: brtrue Label3
L_0076: ldstr "SourceCaravanMustHaveAtLeastOneColonist"
L_007b: call System.String Translate(System.String)
L_0080: ldarg.0
L_0081: ldfld RimWorld.Planet.Caravan caravan
L_0086: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_008b: ldsfld Verse.MessageTypeDef RejectInput
L_0090: ldc.i4.0
L_0091: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0096: ldc.i4.0
L_0097: br Label5
L_009c: Label3
L_009c: ldc.i4.1
L_009d: Label4
L_009d: Label5
L_009d: stloc 0 (System.Boolean)
L_009e: Label0
L_009e: ldloc 0 (System.Boolean)
L_009f: ret
DONE

### Patch RimWorld.Dialog_FormCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey1
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3
L_0000: Local var 7: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Boolean)
L_0007: ldarg.0
L_0008: ldarg 1
L_000e: ldloca 7 (System.Boolean)
L_0010: call Boolean CheckForErrors_PreFix(RimWorld.Dialog_FormCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0015: brfalse Label0
L_001a: newobj Void .ctor()
L_001f: stloc.0
L_0020: ldloc.0
L_0021: ldarg.1
L_0022: stfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0027: ldarg.0
L_0028: call Boolean get_MustChooseRoute()
L_002d: brfalse Label1
L_0032: ldarg.0
L_0033: ldfld System.Int32 destinationTile
L_0038: ldc.i4.0
L_0039: bge Label2
L_003e: ldstr "MessageMustChooseRouteFirst"
L_0043: call System.String Translate(System.String)
L_0048: ldsfld Verse.MessageTypeDef RejectInput
L_004d: ldc.i4.0
L_004e: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0053: ldc.i4.0
L_0054: br Label24
L_0059: Label1
L_0059: Label2
L_0059: ldarg.0
L_005a: ldfld System.Boolean reform
L_005f: brtrue Label3
L_0064: ldarg.0
L_0065: ldfld System.Int32 startingTile
L_006a: ldc.i4.0
L_006b: bge Label4
L_0070: ldstr "MessageNoValidExitTile"
L_0075: call System.String Translate(System.String)
L_007a: ldsfld Verse.MessageTypeDef RejectInput
L_007f: ldc.i4.0
L_0080: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0085: ldc.i4.0
L_0086: br Label25
L_008b: Label3
L_008b: Label4
L_008b: ldloc.0
L_008c: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0091: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_0096: brtrue Label5
L_009b: ldnull
L_009c: ldftn Boolean <CheckForErrors>m__B(Verse.Pawn)
L_00a2: newobj Void .ctor(Object, IntPtr)
L_00a7: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00ac: Label5
L_00ac: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00b1: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_00b6: brtrue Label6
L_00bb: ldstr "CaravanMustHaveAtLeastOneColonist"
L_00c0: call System.String Translate(System.String)
L_00c5: ldsfld Verse.MessageTypeDef RejectInput
L_00ca: ldc.i4.0
L_00cb: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_00d0: ldc.i4.0
L_00d1: br Label26
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Boolean reform
L_00dc: brtrue Label7
L_00e1: ldarg.0
L_00e2: call Single get_MassUsage()
L_00e7: ldarg.0
L_00e8: call Single get_MassCapacity()
L_00ed: ble.un Label8
L_00f2: ldarg.0
L_00f3: call Void FlashMass()
L_00f8: ldstr "TooBigCaravanMassUsage"
L_00fd: call System.String Translate(System.String)
L_0102: ldsfld Verse.MessageTypeDef RejectInput
L_0107: ldc.i4.0
L_0108: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_010d: ldc.i4.0
L_010e: br Label27
L_0113: Label7
L_0113: Label8
L_0113: ldloc.0
L_0114: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0119: ldloc.0
L_011a: ldftn Boolean <>m__0(Verse.Pawn)
L_0120: newobj Void .ctor(Object, IntPtr)
L_0125: callvirt Verse.Pawn Find(System.Predicate`1[Verse.Pawn])
L_012a: stloc.1
L_012b: ldloc.1
L_012c: brfalse Label9
L_0131: ldstr "CaravanPawnIsUnreachable"
L_0136: ldc.i4.1
L_0137: newarr System.Object
L_013c: dup
L_013d: ldc.i4.0
L_013e: ldloc.1
L_013f: callvirt System.String get_LabelShort()
L_0144: stelem.ref
L_0145: call System.String Translate(System.String, System.Object[])
L_014a: call System.String CapitalizeFirst(System.String)
L_014f: ldloc.1
L_0150: call Verse.LookTargets op_Implicit(Verse.Thing)
L_0155: ldsfld Verse.MessageTypeDef RejectInput
L_015a: ldc.i4.0
L_015b: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0160: ldc.i4.0
L_0161: br Label28
L_0166: Label9
L_0166: ldc.i4.0
L_0167: stloc.2
L_0168: br Label10
L_016d: Label23
L_016d: ldarg.0
L_016e: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0173: ldloc.2
L_0174: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0179: callvirt Verse.ThingDef get_ThingDef()
L_017e: ldfld Verse.ThingCategory category
L_0183: ldc.i4.2
L_0184: beq Label11
L_0189: br Label12
L_018e: Label11
L_018e: ldarg.0
L_018f: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0194: ldloc.2
L_0195: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_019a: callvirt Int32 get_CountToTransfer()
L_019f: stloc.3
L_01a0: ldc.i4.0
L_01a1: stloc.s 4 (System.Int32)
L_01a3: ldloc.3
L_01a4: ldc.i4.0
L_01a5: ble Label13
L_01aa: ldc.i4.0
L_01ab: stloc.s 5 (System.Int32)
L_01ad: br Label14
L_01b2: Label19
L_01b2: newobj Void .ctor()
L_01b7: stloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01b9: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01bb: ldarg.0
L_01bc: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_01c1: ldloc.2
L_01c2: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_01c7: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_01cc: ldloc.s 5 (System.Int32)
L_01ce: callvirt Verse.Thing get_Item(Int32)
L_01d3: stfld Verse.Thing t
L_01d8: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01da: ldfld Verse.Thing t
L_01df: callvirt Boolean get_Spawned()
L_01e4: brfalse Label15
L_01e9: ldloc.0
L_01ea: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_01ef: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01f1: ldftn Boolean <>m__0(Verse.Pawn)
L_01f7: newobj Void .ctor(Object, IntPtr)
L_01fc: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_0201: brfalse Label16
L_0206: Label15
L_0206: ldloc.s 4 (System.Int32)
L_0208: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_020a: ldfld Verse.Thing t
L_020f: ldfld System.Int32 stackCount
L_0214: add
L_0215: stloc.s 4 (System.Int32)
L_0217: ldloc.s 4 (System.Int32)
L_0219: ldloc.3
L_021a: blt Label17
L_021f: br Label18
L_0224: Label16
L_0224: Label17
L_0224: ldloc.s 5 (System.Int32)
L_0226: ldc.i4.1
L_0227: add
L_0228: stloc.s 5 (System.Int32)
L_022a: Label14
L_022a: ldloc.s 5 (System.Int32)
L_022c: ldarg.0
L_022d: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0232: ldloc.2
L_0233: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0238: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_023d: callvirt Int32 get_Count()
L_0242: blt Label19
L_0247: Label18
L_0247: ldloc.s 4 (System.Int32)
L_0249: ldloc.3
L_024a: bge Label20
L_024f: ldloc.3
L_0250: ldc.i4.1
L_0251: bne.un Label21
L_0256: ldstr "CaravanItemIsUnreachableSingle"
L_025b: ldc.i4.1
L_025c: newarr System.Object
L_0261: dup
L_0262: ldc.i4.0
L_0263: ldarg.0
L_0264: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0269: ldloc.2
L_026a: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_026f: callvirt Verse.ThingDef get_ThingDef()
L_0274: ldfld System.String label
L_0279: stelem.ref
L_027a: call System.String Translate(System.String, System.Object[])
L_027f: ldsfld Verse.MessageTypeDef RejectInput
L_0284: ldc.i4.0
L_0285: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_028a: br Label22
L_028f: Label21
L_028f: ldstr "CaravanItemIsUnreachableMulti"
L_0294: ldc.i4.2
L_0295: newarr System.Object
L_029a: dup
L_029b: ldc.i4.0
L_029c: ldloc.3
L_029d: box System.Int32
L_02a2: stelem.ref
L_02a3: dup
L_02a4: ldc.i4.1
L_02a5: ldarg.0
L_02a6: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02ab: ldloc.2
L_02ac: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_02b1: callvirt Verse.ThingDef get_ThingDef()
L_02b6: ldfld System.String label
L_02bb: stelem.ref
L_02bc: call System.String Translate(System.String, System.Object[])
L_02c1: ldsfld Verse.MessageTypeDef RejectInput
L_02c6: ldc.i4.0
L_02c7: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_02cc: Label22
L_02cc: ldc.i4.0
L_02cd: br Label29
L_02d2: Label12
L_02d2: Label13
L_02d2: Label20
L_02d2: ldloc.2
L_02d3: ldc.i4.1
L_02d4: add
L_02d5: stloc.2
L_02d6: Label10
L_02d6: ldloc.2
L_02d7: ldarg.0
L_02d8: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02dd: callvirt Int32 get_Count()
L_02e2: blt Label23
L_02e7: ldc.i4.1
L_02e8: Label24
L_02e8: Label25
L_02e8: Label26
L_02e8: Label27
L_02e8: Label28
L_02e8: Label29
L_02e8: stloc 7 (System.Boolean)
L_02ea: Label0
L_02ea: ldloc 7 (System.Boolean)
L_02ec: ret
DONE

### Patch RimWorld.Planet.CaravanUIUtility, Void


AddPawnsSections(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[RimWorld.TransferableOneWay, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.1
L_0001: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0006: brtrue Label1
L_000b: ldnull
L_000c: ldftn Boolean <AddPawnsSections>m__1(RimWorld.TransferableOneWay)
L_0012: newobj Void .ctor(Object, IntPtr)
L_0017: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_001c: Label1
L_001c: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0021: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0026: stloc.0
L_0027: ldarg.0
L_0028: ldstr "ColonistsSection"
L_002d: call System.String Translate(System.String)
L_0032: ldloc.0
L_0033: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0038: brtrue Label2
L_003d: ldnull
L_003e: ldftn Boolean <AddPawnsSections>m__2(RimWorld.TransferableOneWay)
L_0044: newobj Void .ctor(Object, IntPtr)
L_0049: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_004e: Label2
L_004e: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0053: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0058: callvirt Void AddSection(System.String, IEnumerable`1)
L_005d: ldarg.0
L_005e: ldstr "PrisonersSection"
L_0063: call System.String Translate(System.String)
L_0068: ldloc.0
L_0069: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_006e: brtrue Label3
L_0073: ldnull
L_0074: ldftn Boolean <AddPawnsSections>m__3(RimWorld.TransferableOneWay)
L_007a: newobj Void .ctor(Object, IntPtr)
L_007f: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0084: Label3
L_0084: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0089: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_008e: callvirt Void AddSection(System.String, IEnumerable`1)
L_0093: ldarg.0
L_0094: ldstr "CaptureSection"
L_0099: call System.String Translate(System.String)
L_009e: ldloc.0
L_009f: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00a4: brtrue Label4
L_00a9: ldnull
L_00aa: ldftn Boolean <AddPawnsSections>m__4(RimWorld.TransferableOneWay)
L_00b0: newobj Void .ctor(Object, IntPtr)
L_00b5: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00ba: Label4
L_00ba: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00bf: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00c4: callvirt Void AddSection(System.String, IEnumerable`1)
L_00c9: ldarg.0
L_00ca: ldstr "AnimalsSection"
L_00cf: call System.String Translate(System.String)
L_00d4: ldloc.0
L_00d5: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00da: brtrue Label5
L_00df: ldnull
L_00e0: ldftn Boolean <AddPawnsSections>m__5(RimWorld.TransferableOneWay)
L_00e6: newobj Void .ctor(Object, IntPtr)
L_00eb: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f0: Label5
L_00f0: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f5: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00fa: callvirt Void AddSection(System.String, IEnumerable`1)
L_00ff: ldarg 0
L_0105: ldarg 1
L_010b: call Void AddPawnsSections_PostFix(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0110: ret
DONE

### Patch RimWorld.Planet.CaravanExitMapUtility, Boolean


CanExitMapAndJoinOrCreateCaravanNow(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Boolean get_Spawned()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label5
L_0017: Label1
L_0017: ldarg.0
L_0018: callvirt Verse.Map get_Map()
L_001d: ldfld Verse.ExitMapGrid exitMapGrid
L_0022: callvirt Boolean get_MapUsesExitGrid()
L_0027: brtrue Label2
L_002c: ldc.i4.0
L_002d: br Label6
L_0032: Label2
L_0032: ldarg.0
L_0033: callvirt Boolean get_IsColonist()
L_0038: brtrue Label3
L_003d: ldarg.0
L_003e: call RimWorld.Planet.Caravan FindCaravanToJoinFor(Verse.Pawn)
L_0043: ldnull
L_0044: ceq
L_0046: ldc.i4.0
L_0047: ceq
L_0049: br Label4
L_004e: Label3
L_004e: ldc.i4.1
L_004f: Label4
L_004f: Label5
L_004f: Label6
L_004f: stloc 0 (System.Boolean)
L_0050: ldarg 0
L_0056: ldloca 0 (System.Boolean)
L_0058: call Void CanExit_PostFix(Verse.Pawn, Boolean ByRef)
L_005d: ldloc 0 (System.Boolean)
L_005e: ret
DONE

### Patch RimWorld.MassUtility, Single Capacity(Verse.Pawn,


System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Single
L_0000: ldc.r4 0
L_0005: stloc 1 (System.Single)
L_0006: ldarg.0
L_0007: call Boolean CanEverCarryAnything(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldc.r4 0
L_0016: br Label4
L_001b: Label1
L_001b: ldarg.0
L_001c: callvirt Single get_BodySize()
L_0021: ldc.r4 35
L_0026: mul
L_0027: stloc.0
L_0028: ldarg.1
L_0029: brfalse Label2
L_002e: ldarg.1
L_002f: callvirt Int32 get_Length()
L_0034: ldc.i4.0
L_0035: ble Label3
L_003a: ldarg.1
L_003b: callvirt System.Text.StringBuilder AppendLine()
L_0040: pop
L_0041: Label3
L_0041: ldarg.1
L_0042: ldstr " - "
L_0047: ldarg.0
L_0048: callvirt System.String get_LabelShortCap()
L_004d: ldstr ": "
L_0052: ldloc.0
L_0053: call System.String ToStringMassOffset(Single)
L_0058: call System.String Concat(System.String, System.String, System.String,
System.String)
L_005d: callvirt System.Text.StringBuilder Append(System.String)
L_0062: pop
L_0063: Label2
L_0063: ldloc.0
L_0064: Label4
L_0064: stloc 1 (System.Single)
L_0065: ldloca 1 (System.Single)
L_0067: ldarg 0
L_006d: call Void Capacity_PostFix(Single ByRef, Verse.Pawn)
L_0072: ldloc 1 (System.Single)
L_0073: ret
DONE

### Patch RimWorld.Planet.CaravanTicksPerMoveUtility, Int32


GetTicksPerMove(System.Collections.Generic.List`1[Verse.Pawn], Single, Single,
System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Single
L_0000: Local var 3: System.Single
L_0000: Local var 4: System.Single
L_0000: Local var 5: System.Single
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Single
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldarg.0
L_0008: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn])
L_000d: brfalse Label1
L_0012: ldarg.3
L_0013: brfalse Label2
L_0018: ldarg.3
L_0019: ldstr "CaravanMovementSpeedFull"
L_001e: call System.String Translate(System.String)
L_0023: ldstr ":"
L_0028: call System.String Concat(System.String, System.String)
L_002d: callvirt System.Text.StringBuilder Append(System.String)
L_0032: pop
L_0033: Label2
L_0033: ldc.r4 0
L_0038: stloc.0
L_0039: ldc.i4.0
L_003a: stloc.1
L_003b: br Label3
L_0040: Label11
L_0040: ldarg.0
L_0041: ldloc.1
L_0042: callvirt Verse.Pawn get_Item(Int32)
L_0047: callvirt Boolean get_Downed()
L_004c: brtrue Label4
L_0051: ldarg.0
L_0052: ldloc.1
L_0053: callvirt Verse.Pawn get_Item(Int32)
L_0058: call Boolean CarriedByCaravan(Verse.Pawn)
L_005d: brfalse Label5
L_0062: Label4
L_0062: ldc.i4 450
L_0067: br Label6
L_006c: Label5
L_006c: ldarg.0
L_006d: ldloc.1
L_006e: callvirt Verse.Pawn get_Item(Int32)
L_0073: callvirt Int32 get_TicksPerMoveCardinal()
L_0078: Label6
L_0078: conv.r4
L_0079: stloc.2
L_007a: ldloc.2
L_007b: ldc.r4 150
L_0080: call Single Min(Single, Single)
L_0085: ldc.r4 340
L_008a: mul
L_008b: stloc.2
L_008c: ldc.r4 60000
L_0091: ldloc.2
L_0092: conv.r4
L_0093: div
L_0094: stloc.3
L_0095: ldarg.3
L_0096: brfalse Label7
L_009b: ldarg.3
L_009c: callvirt System.Text.StringBuilder AppendLine()
L_00a1: pop
L_00a2: ldarg.3
L_00a3: ldc.i4.6
L_00a4: newarr System.String
L_00a9: dup
L_00aa: ldc.i4.0
L_00ab: ldstr " - "
L_00b0: stelem.ref
L_00b1: dup
L_00b2: ldc.i4.1
L_00b3: ldarg.0
L_00b4: ldloc.1
L_00b5: callvirt Verse.Pawn get_Item(Int32)
L_00ba: callvirt System.String get_LabelShortCap()
L_00bf: stelem.ref
L_00c0: dup
L_00c1: ldc.i4.2
L_00c2: ldstr ": "
L_00c7: stelem.ref
L_00c8: dup
L_00c9: ldc.i4.3
L_00ca: ldloca.s 3 (System.Single)
L_00cc: ldstr "0.#"
L_00d1: call System.String ToString(System.String)
L_00d6: stelem.ref
L_00d7: dup
L_00d8: ldc.i4.4
L_00d9: ldstr " "
L_00de: stelem.ref
L_00df: dup
L_00e0: ldc.i4.5
L_00e1: ldstr "TilesPerDay"
L_00e6: call System.String Translate(System.String)
L_00eb: stelem.ref
L_00ec: call System.String Concat(System.String[])
L_00f1: callvirt System.Text.StringBuilder Append(System.String)
L_00f6: pop
L_00f7: ldarg.0
L_00f8: ldloc.1
L_00f9: callvirt Verse.Pawn get_Item(Int32)
L_00fe: callvirt Boolean get_Downed()
L_0103: brfalse Label8
L_0108: ldarg.3
L_0109: ldstr " ("
L_010e: ldstr "DownedLower"
L_0113: call System.String Translate(System.String)
L_0118: ldstr ")"
L_011d: call System.String Concat(System.String, System.String, System.String)
L_0122: callvirt System.Text.StringBuilder Append(System.String)
L_0127: pop
L_0128: br Label9
L_012d: Label8
L_012d: ldarg.0
L_012e: ldloc.1
L_012f: callvirt Verse.Pawn get_Item(Int32)
L_0134: call Boolean CarriedByCaravan(Verse.Pawn)
L_0139: brfalse Label10
L_013e: ldarg.3
L_013f: ldstr " ("
L_0144: ldstr "Carried"
L_0149: call System.String Translate(System.String)
L_014e: ldstr ")"
L_0153: call System.String Concat(System.String, System.String, System.String)
L_0158: callvirt System.Text.StringBuilder Append(System.String)
L_015d: pop
L_015e: Label7
L_015e: Label9
L_015e: Label10
L_015e: ldloc.0
L_015f: ldloc.2
L_0160: ldarg.0
L_0161: callvirt Int32 get_Count()
L_0166: conv.r4
L_0167: div
L_0168: add
L_0169: stloc.0
L_016a: ldloc.1
L_016b: ldc.i4.1
L_016c: add
L_016d: stloc.1
L_016e: Label3
L_016e: ldloc.1
L_016f: ldarg.0
L_0170: callvirt Int32 get_Count()
L_0175: blt Label11
L_017a: ldarg.1
L_017b: ldarg.2
L_017c: call Single GetMoveSpeedFactorFromMass(Single, Single)
L_0181: stloc.s 4 (System.Single)
L_0183: ldarg.3
L_0184: brfalse Label12
L_0189: ldc.r4 60000
L_018e: ldloc.0
L_018f: conv.r4
L_0190: div
L_0191: stloc.s 5 (System.Single)
L_0193: ldarg.3
L_0194: callvirt System.Text.StringBuilder AppendLine()
L_0199: pop
L_019a: ldarg.3
L_019b: ldc.i4.6
L_019c: newarr System.String
L_01a1: dup
L_01a2: ldc.i4.0
L_01a3: ldstr " "
L_01a8: stelem.ref
L_01a9: dup
L_01aa: ldc.i4.1
L_01ab: ldstr "Average"
L_01b0: call System.String Translate(System.String)
L_01b5: stelem.ref
L_01b6: dup
L_01b7: ldc.i4.2
L_01b8: ldstr ": "
L_01bd: stelem.ref
L_01be: dup
L_01bf: ldc.i4.3
L_01c0: ldloca.s 5 (System.Single)
L_01c2: ldstr "0.#"
L_01c7: call System.String ToString(System.String)
L_01cc: stelem.ref
L_01cd: dup
L_01ce: ldc.i4.4
L_01cf: ldstr " "
L_01d4: stelem.ref
L_01d5: dup
L_01d6: ldc.i4.5
L_01d7: ldstr "TilesPerDay"
L_01dc: call System.String Translate(System.String)
L_01e1: stelem.ref
L_01e2: call System.String Concat(System.String[])
L_01e7: callvirt System.Text.StringBuilder Append(System.String)
L_01ec: pop
L_01ed: ldarg.3
L_01ee: callvirt System.Text.StringBuilder AppendLine()
L_01f3: pop
L_01f4: ldarg.3
L_01f5: ldstr " "
L_01fa: ldstr "MultiplierForCarriedMass"
L_01ff: ldc.i4.1
L_0200: newarr System.Object
L_0205: dup
L_0206: ldc.i4.0
L_0207: ldloc.s 4 (System.Single)
L_0209: call System.String ToStringPercent(Single)
L_020e: stelem.ref
L_020f: call System.String Translate(System.String, System.Object[])
L_0214: call System.String Concat(System.String, System.String)
L_0219: callvirt System.Text.StringBuilder Append(System.String)
L_021e: pop
L_021f: Label12
L_021f: ldloc.0
L_0220: ldloc.s 4 (System.Single)
L_0222: div
L_0223: call Int32 RoundToInt(Single)
L_0228: ldc.i4.1
L_0229: call Int32 Max(Int32, Int32)
L_022e: stloc.s 6 (System.Int32)
L_0230: ldarg.3
L_0231: brfalse Label13
L_0236: ldc.r4 60000
L_023b: ldloc.s 6 (System.Int32)
L_023d: conv.r4
L_023e: div
L_023f: stloc.s 7 (System.Single)
L_0241: ldarg.3
L_0242: callvirt System.Text.StringBuilder AppendLine()
L_0247: pop
L_0248: ldarg.3
L_0249: ldc.i4.6
L_024a: newarr System.String
L_024f: dup
L_0250: ldc.i4.0
L_0251: ldstr " "
L_0256: stelem.ref
L_0257: dup
L_0258: ldc.i4.1
L_0259: ldstr "FinalCaravanPawnsMovementSpeed"
L_025e: call System.String Translate(System.String)
L_0263: stelem.ref
L_0264: dup
L_0265: ldc.i4.2
L_0266: ldstr ": "
L_026b: stelem.ref
L_026c: dup
L_026d: ldc.i4.3
L_026e: ldloca.s 7 (System.Single)
L_0270: ldstr "0.#"
L_0275: call System.String ToString(System.String)
L_027a: stelem.ref
L_027b: dup
L_027c: ldc.i4.4
L_027d: ldstr " "
L_0282: stelem.ref
L_0283: dup
L_0284: ldc.i4.5
L_0285: ldstr "TilesPerDay"
L_028a: call System.String Translate(System.String)
L_028f: stelem.ref
L_0290: call System.String Concat(System.String[])
L_0295: callvirt System.Text.StringBuilder Append(System.String)
L_029a: pop
L_029b: Label13
L_029b: ldloc.s 6 (System.Int32)
L_029d: br Label15
L_02a2: Label1
L_02a2: ldarg.3
L_02a3: brfalse Label14
L_02a8: ldarg.3
L_02a9: call Void AppendUsingDefaultTicksPerMoveInfo(System.Text.StringBuilder)
L_02ae: Label14
L_02ae: ldc.i4 3300
L_02b3: Label15
L_02b3: stloc 8 (System.Int32)
L_02b5: ldarg 0
L_02bb: ldloca 8 (System.Int32)
L_02bd: call Void
GetTicksPerMove_PostFix(System.Collections.Generic.List`1[Verse.Pawn], Int32 ByRef)
L_02c2: ldloc 8 (System.Int32)
L_02c4: ret
DONE

### Patch RimWorld.Planet.CaravanEnterMapUtility, Void


Enter(RimWorld.Planet.Caravan, Verse.Map, System.Func`2[Verse.Pawn,Verse.IntVec3],
CaravanDropInventoryMode, Boolean)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: call Void Enter_PreFix(RimWorld.Planet.Caravan)
L_000b: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0010: callvirt Void Clear()
L_0015: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_001a: ldarg.0
L_001b: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_0020: callvirt Void AddRange(IEnumerable`1)
L_0025: ldc.i4.0
L_0026: stloc.0
L_0027: br Label1
L_002c: Label2
L_002c: ldarg.2
L_002d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0032: ldloc.0
L_0033: callvirt Verse.Pawn get_Item(Int32)
L_0038: callvirt IntVec3 Invoke(Verse.Pawn)
L_003d: stloc.1
L_003e: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0043: ldloc.0
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: ldloc.1
L_004a: ldarg.1
L_004b: call Rot4 get_Random()
L_0050: ldc.i4.0
L_0051: ldc.i4.0
L_0052: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0057: pop
L_0058: ldloc.0
L_0059: ldc.i4.1
L_005a: add
L_005b: stloc.0
L_005c: Label1
L_005c: ldloc.0
L_005d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0062: callvirt Int32 get_Count()
L_0067: blt Label2
L_006c: ldarg.3
L_006d: ldc.i4.1
L_006e: bne.un Label3
L_0073: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0078: call Void DropAllInventory(System.Collections.Generic.List`1[Verse.Pawn])
L_007d: br Label4
L_0082: Label3
L_0082: ldarg.3
L_0083: ldc.i4.2
L_0084: bne.un Label5
L_0089: ldc.i4.0
L_008a: stloc.2
L_008b: br Label6
L_0090: Label7
L_0090: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0095: ldloc.2
L_0096: callvirt Verse.Pawn get_Item(Int32)
L_009b: ldfld Verse.Pawn_InventoryTracker inventory
L_00a0: ldc.i4.1
L_00a1: callvirt Void set_UnloadEverything(Boolean)
L_00a6: ldloc.2
L_00a7: ldc.i4.1
L_00a8: add
L_00a9: stloc.2
L_00aa: Label6
L_00aa: ldloc.2
L_00ab: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00b0: callvirt Int32 get_Count()
L_00b5: blt Label7
L_00ba: Label4
L_00ba: Label5
L_00ba: ldarg.s 4
L_00bc: brfalse Label8
L_00c1: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00c6: call Void DraftColonists(System.Collections.Generic.List`1[Verse.Pawn])
L_00cb: Label8
L_00cb: ldarg.1
L_00cc: callvirt Boolean get_IsPlayerHome()
L_00d1: brfalse Label9
L_00d6: ldc.i4.0
L_00d7: stloc.3
L_00d8: br Label10
L_00dd: Label12
L_00dd: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00e2: ldloc.3
L_00e3: callvirt Verse.Pawn get_Item(Int32)
L_00e8: callvirt Boolean get_IsPrisoner()
L_00ed: brfalse Label11
L_00f2: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00f7: ldloc.3
L_00f8: callvirt Verse.Pawn get_Item(Int32)
L_00fd: ldfld RimWorld.Pawn_GuestTracker guest
L_0102: callvirt Void WaitInsteadOfEscapingForDefaultTicks()
L_0107: Label11
L_0107: ldloc.3
L_0108: ldc.i4.1
L_0109: add
L_010a: stloc.3
L_010b: Label10
L_010b: ldloc.3
L_010c: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0111: callvirt Int32 get_Count()
L_0116: blt Label12
L_011b: Label9
L_011b: ldarg.0
L_011c: callvirt Void RemoveAllPawns()
L_0121: ldarg.0
L_0122: callvirt Boolean get_Spawned()
L_0127: brfalse Label13
L_012c: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_0131: ldarg.0
L_0132: callvirt Void Remove(RimWorld.Planet.WorldObject)
L_0137: Label13
L_0137: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_013c: callvirt Void Clear()
L_0141: ret
DONE
### Patch RimWorld.Planet.Caravan, System.String GetInspectString()
L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Int32
L_0000: Local var 7: RimWorld.Planet.SettlementBase
L_0000: Local var 8: System.Single
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Int32
L_0000: Local var 11: System.String
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: ldnull
L_0001: stloc 13 (System.String)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: call System.String GetInspectString()
L_0010: callvirt System.Text.StringBuilder Append(System.String)
L_0015: pop
L_0016: ldloc.0
L_0017: callvirt Int32 get_Length()
L_001c: brfalse Label1
L_0021: ldloc.0
L_0022: callvirt System.Text.StringBuilder AppendLine()
L_0027: pop
L_0028: Label1
L_0028: ldc.i4.0
L_0029: stloc.1
L_002a: ldc.i4.0
L_002b: stloc.2
L_002c: ldc.i4.0
L_002d: stloc.3
L_002e: ldc.i4.0
L_002f: stloc.s 4 (System.Int32)
L_0031: ldc.i4.0
L_0032: stloc.s 5 (System.Int32)
L_0034: ldc.i4.0
L_0035: stloc.s 6 (System.Int32)
L_0037: br Label2
L_003c: Label10
L_003c: ldarg.0
L_003d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0042: ldloc.s 6 (System.Int32)
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: callvirt Boolean get_IsColonist()
L_004e: brfalse Label3
L_0053: ldloc.1
L_0054: ldc.i4.1
L_0055: add
L_0056: stloc.1
L_0057: br Label4
L_005c: Label3
L_005c: ldarg.0
L_005d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0062: ldloc.s 6 (System.Int32)
L_0064: callvirt Verse.Pawn get_Item(Int32)
L_0069: callvirt Verse.RaceProperties get_RaceProps()
L_006e: callvirt Boolean get_Animal()
L_0073: brfalse Label5
L_0078: ldloc.2
L_0079: ldc.i4.1
L_007a: add
L_007b: stloc.2
L_007c: br Label6
L_0081: Label5
L_0081: ldarg.0
L_0082: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0087: ldloc.s 6 (System.Int32)
L_0089: callvirt Verse.Pawn get_Item(Int32)
L_008e: callvirt Boolean get_IsPrisoner()
L_0093: brfalse Label7
L_0098: ldloc.3
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.3
L_009c: Label4
L_009c: Label6
L_009c: Label7
L_009c: ldarg.0
L_009d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00a2: ldloc.s 6 (System.Int32)
L_00a4: callvirt Verse.Pawn get_Item(Int32)
L_00a9: callvirt Boolean get_Downed()
L_00ae: brfalse Label8
L_00b3: ldloc.s 4 (System.Int32)
L_00b5: ldc.i4.1
L_00b6: add
L_00b7: stloc.s 4 (System.Int32)
L_00b9: Label8
L_00b9: ldarg.0
L_00ba: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00bf: ldloc.s 6 (System.Int32)
L_00c1: callvirt Verse.Pawn get_Item(Int32)
L_00c6: callvirt Boolean get_InMentalState()
L_00cb: brfalse Label9
L_00d0: ldloc.s 5 (System.Int32)
L_00d2: ldc.i4.1
L_00d3: add
L_00d4: stloc.s 5 (System.Int32)
L_00d6: Label9
L_00d6: ldloc.s 6 (System.Int32)
L_00d8: ldc.i4.1
L_00d9: add
L_00da: stloc.s 6 (System.Int32)
L_00dc: Label2
L_00dc: ldloc.s 6 (System.Int32)
L_00de: ldarg.0
L_00df: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00e4: callvirt Int32 get_Count()
L_00e9: blt Label10
L_00ee: ldloc.0
L_00ef: ldstr "CaravanColonistsCount"
L_00f4: ldc.i4.2
L_00f5: newarr System.Object
L_00fa: dup
L_00fb: ldc.i4.0
L_00fc: ldloc.1
L_00fd: box System.Int32
L_0102: stelem.ref
L_0103: dup
L_0104: ldc.i4.1
L_0105: ldloc.1
L_0106: ldc.i4.1
L_0107: bne.un Label11
L_010c: call RimWorld.Faction get_OfPlayer()
L_0111: ldfld RimWorld.FactionDef def
L_0116: ldfld System.String pawnSingular
L_011b: br Label12
L_0120: Label11
L_0120: call RimWorld.Faction get_OfPlayer()
L_0125: ldfld RimWorld.FactionDef def
L_012a: ldfld System.String pawnsPlural
L_012f: Label12
L_012f: stelem.ref
L_0130: call System.String Translate(System.String, System.Object[])
L_0135: callvirt System.Text.StringBuilder Append(System.String)
L_013a: pop
L_013b: ldloc.2
L_013c: ldc.i4.1
L_013d: bne.un Label13
L_0142: ldloc.0
L_0143: ldstr ", "
L_0148: ldstr "CaravanAnimal"
L_014d: call System.String Translate(System.String)
L_0152: call System.String Concat(System.String, System.String)
L_0157: callvirt System.Text.StringBuilder Append(System.String)
L_015c: pop
L_015d: br Label14
L_0162: Label13
L_0162: ldloc.2
L_0163: ldc.i4.1
L_0164: ble Label15
L_0169: ldloc.0
L_016a: ldstr ", "
L_016f: ldstr "CaravanAnimalsCount"
L_0174: ldc.i4.1
L_0175: newarr System.Object
L_017a: dup
L_017b: ldc.i4.0
L_017c: ldloc.2
L_017d: box System.Int32
L_0182: stelem.ref
L_0183: call System.String Translate(System.String, System.Object[])
L_0188: call System.String Concat(System.String, System.String)
L_018d: callvirt System.Text.StringBuilder Append(System.String)
L_0192: pop
L_0193: Label14
L_0193: Label15
L_0193: ldloc.3
L_0194: ldc.i4.1
L_0195: bne.un Label16
L_019a: ldloc.0
L_019b: ldstr ", "
L_01a0: ldstr "CaravanPrisoner"
L_01a5: call System.String Translate(System.String)
L_01aa: call System.String Concat(System.String, System.String)
L_01af: callvirt System.Text.StringBuilder Append(System.String)
L_01b4: pop
L_01b5: br Label17
L_01ba: Label16
L_01ba: ldloc.3
L_01bb: ldc.i4.1
L_01bc: ble Label18
L_01c1: ldloc.0
L_01c2: ldstr ", "
L_01c7: ldstr "CaravanPrisonersCount"
L_01cc: ldc.i4.1
L_01cd: newarr System.Object
L_01d2: dup
L_01d3: ldc.i4.0
L_01d4: ldloc.3
L_01d5: box System.Int32
L_01da: stelem.ref
L_01db: call System.String Translate(System.String, System.Object[])
L_01e0: call System.String Concat(System.String, System.String)
L_01e5: callvirt System.Text.StringBuilder Append(System.String)
L_01ea: pop
L_01eb: Label17
L_01eb: Label18
L_01eb: ldloc.0
L_01ec: callvirt System.Text.StringBuilder AppendLine()
L_01f1: pop
L_01f2: ldloc.s 5 (System.Int32)
L_01f4: ldc.i4.0
L_01f5: ble Label19
L_01fa: ldloc.0
L_01fb: ldstr "CaravanPawnsInMentalState"
L_0200: ldc.i4.1
L_0201: newarr System.Object
L_0206: dup
L_0207: ldc.i4.0
L_0208: ldloc.s 5 (System.Int32)
L_020a: box System.Int32
L_020f: stelem.ref
L_0210: call System.String Translate(System.String, System.Object[])
L_0215: callvirt System.Text.StringBuilder Append(System.String)
L_021a: pop
L_021b: Label19
L_021b: ldloc.s 4 (System.Int32)
L_021d: ldc.i4.0
L_021e: ble Label20
L_0223: ldloc.s 5 (System.Int32)
L_0225: ldc.i4.0
L_0226: ble Label21
L_022b: ldloc.0
L_022c: ldstr ", "
L_0231: callvirt System.Text.StringBuilder Append(System.String)
L_0236: pop
L_0237: Label21
L_0237: ldloc.0
L_0238: ldstr "CaravanPawnsDowned"
L_023d: ldc.i4.1
L_023e: newarr System.Object
L_0243: dup
L_0244: ldc.i4.0
L_0245: ldloc.s 4 (System.Int32)
L_0247: box System.Int32
L_024c: stelem.ref
L_024d: call System.String Translate(System.String, System.Object[])
L_0252: callvirt System.Text.StringBuilder Append(System.String)
L_0257: pop
L_0258: Label20
L_0258: ldloc.s 5 (System.Int32)
L_025a: ldc.i4.0
L_025b: bgt Label22
L_0260: ldloc.s 4 (System.Int32)
L_0262: ldc.i4.0
L_0263: ble Label23
L_0268: Label22
L_0268: ldloc.0
L_0269: callvirt System.Text.StringBuilder AppendLine()
L_026e: pop
L_026f: Label23
L_026f: ldarg.0
L_0270: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0275: callvirt Boolean get_Moving()
L_027a: brfalse Label24
L_027f: ldarg.0
L_0280: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0285: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_028a: brfalse Label25
L_028f: ldloc.0
L_0290: ldarg.0
L_0291: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0296: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_029b: callvirt System.String get_ReportString()
L_02a0: callvirt System.Text.StringBuilder Append(System.String)
L_02a5: pop
L_02a6: br Label26
L_02ab: Label25
L_02ab: ldloc.0
L_02ac: ldstr "CaravanTraveling"
L_02b1: call System.String Translate(System.String)
L_02b6: callvirt System.Text.StringBuilder Append(System.String)
L_02bb: pop
L_02bc: Label26
L_02bc: br Label27
L_02c1: Label24
L_02c1: ldarg.0
L_02c2: call RimWorld.Planet.SettlementBase
SettlementVisitedNow(RimWorld.Planet.Caravan)
L_02c7: stloc.s 7 (RimWorld.Planet.SettlementBase)
L_02c9: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02cb: brfalse Label28
L_02d0: ldloc.0
L_02d1: ldstr "CaravanVisiting"
L_02d6: ldc.i4.1
L_02d7: newarr System.Object
L_02dc: dup
L_02dd: ldc.i4.0
L_02de: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02e0: callvirt System.String get_Label()
L_02e5: stelem.ref
L_02e6: call System.String Translate(System.String, System.Object[])
L_02eb: callvirt System.Text.StringBuilder Append(System.String)
L_02f0: pop
L_02f1: br Label29
L_02f6: Label28
L_02f6: ldloc.0
L_02f7: ldstr "CaravanWaiting"
L_02fc: call System.String Translate(System.String)
L_0301: callvirt System.Text.StringBuilder Append(System.String)
L_0306: pop
L_0307: Label27
L_0307: Label29
L_0307: ldarg.0
L_0308: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_030d: callvirt Boolean get_Moving()
L_0312: brfalse Label30
L_0317: ldarg.0
L_0318: ldc.i4.1
L_0319: call Int32 EstimatedTicksToArrive(RimWorld.Planet.Caravan, Boolean)
L_031e: conv.r4
L_031f: ldc.r4 60000
L_0324: div
L_0325: stloc.s 8 (System.Single)
L_0327: ldloc.0
L_0328: callvirt System.Text.StringBuilder AppendLine()
L_032d: pop
L_032e: ldloc.0
L_032f: ldstr "CaravanEstimatedTimeToDestination"
L_0334: ldc.i4.1
L_0335: newarr System.Object
L_033a: dup
L_033b: ldc.i4.0
L_033c: ldloca.s 8 (System.Single)
L_033e: ldstr "0.#"
L_0343: call System.String ToString(System.String)
L_0348: stelem.ref
L_0349: call System.String Translate(System.String, System.Object[])
L_034e: callvirt System.Text.StringBuilder Append(System.String)
L_0353: pop
L_0354: Label30
L_0354: ldarg.0
L_0355: call Boolean get_AllOwnersDowned()
L_035a: brfalse Label31
L_035f: ldloc.0
L_0360: callvirt System.Text.StringBuilder AppendLine()
L_0365: pop
L_0366: ldloc.0
L_0367: ldstr "AllCaravanMembersDowned"
L_036c: call System.String Translate(System.String)
L_0371: callvirt System.Text.StringBuilder Append(System.String)
L_0376: pop
L_0377: br Label32
L_037c: Label31
L_037c: ldarg.0
L_037d: call Boolean get_AllOwnersHaveMentalBreak()
L_0382: brfalse Label33
L_0387: ldloc.0
L_0388: callvirt System.Text.StringBuilder AppendLine()
L_038d: pop
L_038e: ldloc.0
L_038f: ldstr "AllCaravanMembersMentalBreak"
L_0394: call System.String Translate(System.String)
L_0399: callvirt System.Text.StringBuilder Append(System.String)
L_039e: pop
L_039f: br Label34
L_03a4: Label33
L_03a4: ldarg.0
L_03a5: call Boolean get_ImmobilizedByMass()
L_03aa: brfalse Label35
L_03af: ldloc.0
L_03b0: callvirt System.Text.StringBuilder AppendLine()
L_03b5: pop
L_03b6: ldloc.0
L_03b7: ldstr "CaravanImmobilizedByMass"
L_03bc: call System.String Translate(System.String)
L_03c1: callvirt System.Text.StringBuilder Append(System.String)
L_03c6: pop
L_03c7: Label32
L_03c7: Label34
L_03c7: Label35
L_03c7: ldarg.0
L_03c8: ldfld RimWorld.Planet.Caravan_NeedsTracker needs
L_03cd: ldloca.s 9 (System.String)
L_03cf: callvirt Boolean AnyPawnOutOfFood(System.String ByRef)
L_03d4: brfalse Label36
L_03d9: ldloc.0
L_03da: callvirt System.Text.StringBuilder AppendLine()
L_03df: pop
L_03e0: ldloc.0
L_03e1: ldstr "CaravanOutOfFood"
L_03e6: call System.String Translate(System.String)
L_03eb: callvirt System.Text.StringBuilder Append(System.String)
L_03f0: pop
L_03f1: ldloc.s 9 (System.String)
L_03f3: call Boolean NullOrEmpty(System.String)
L_03f8: brtrue Label37
L_03fd: ldloc.0
L_03fe: ldstr " "
L_0403: callvirt System.Text.StringBuilder Append(System.String)
L_0408: pop
L_0409: ldloc.0
L_040a: ldloc.s 9 (System.String)
L_040c: callvirt System.Text.StringBuilder Append(System.String)
L_0411: pop
L_0412: ldloc.0
L_0413: ldstr "."
L_0418: callvirt System.Text.StringBuilder Append(System.String)
L_041d: pop
L_041e: Label36
L_041e: Label37
L_041e: ldarg.0
L_041f: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0424: callvirt Boolean get_MovingNow()
L_0429: brtrue Label38
L_042e: ldarg.0
L_042f: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_0434: callvirt Int32 GetUsedBedCount()
L_0439: stloc.s 10 (System.Int32)
L_043b: ldloc.0
L_043c: callvirt System.Text.StringBuilder AppendLine()
L_0441: pop
L_0442: ldloc.0
L_0443: ldstr "CaravanResting"
L_0448: call System.String Translate(System.String)
L_044d: ldloc.s 10 (System.Int32)
L_044f: call System.String AppendUsingBedsLabel(System.String, Int32)
L_0454: callvirt System.Text.StringBuilder Append(System.String)
L_0459: pop
L_045a: br Label39
L_045f: Label38
L_045f: ldarg.0
L_0460: ldfld RimWorld.Planet.Caravan_CarryTracker carryTracker
L_0465: callvirt System.String GetInspectStringLine()
L_046a: stloc.s 11 (System.String)
L_046c: ldloc.s 11 (System.String)
L_046e: call Boolean NullOrEmpty(System.String)
L_0473: brtrue Label40
L_0478: ldloc.0
L_0479: callvirt System.Text.StringBuilder AppendLine()
L_047e: pop
L_047f: ldloc.0
L_0480: ldloc.s 11 (System.String)
L_0482: callvirt System.Text.StringBuilder Append(System.String)
L_0487: pop
L_0488: Label40
L_0488: ldarg.0
L_0489: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_048e: callvirt System.String GetInBedForMedicalReasonsInspectStringLine()
L_0493: stloc.s 12 (System.String)
L_0495: ldloc.s 12 (System.String)
L_0497: call Boolean NullOrEmpty(System.String)
L_049c: brtrue Label41
L_04a1: ldloc.0
L_04a2: callvirt System.Text.StringBuilder AppendLine()
L_04a7: pop
L_04a8: ldloc.0
L_04a9: ldloc.s 12 (System.String)
L_04ab: callvirt System.Text.StringBuilder Append(System.String)
L_04b0: pop
L_04b1: Label39
L_04b1: Label41
L_04b1: ldloc.0
L_04b2: callvirt System.String ToString()
L_04b7: stloc 13 (System.String)
L_04b9: ldarg.0
L_04ba: ldloca 13 (System.String)
L_04bc: call Void GetInspectString_Jobs(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c1: ldarg.0
L_04c2: ldloca 13 (System.String)
L_04c4: call Void GetInspectString_PostFix(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c9: ldloc 13 (System.String)
L_04cb: ret
DONE

### Patch Verse.Pawn, Void Tick()


L_0000: Local var 0: System.Boolean
L_0000: ldsfld System.Boolean noAnimals
L_0005: brfalse Label1
L_000a: ldarg.0
L_000b: call Boolean get_Spawned()
L_0010: brfalse Label2
L_0015: ldarg.0
L_0016: call Verse.RaceProperties get_RaceProps()
L_001b: callvirt Boolean get_Animal()
L_0020: brfalse Label3
L_0025: ldarg.0
L_0026: ldc.i4.0
L_0027: callvirt Void Destroy(DestroyMode)
L_002c: br Label23
L_0031: Label1
L_0031: Label2
L_0031: Label3
L_0031: ldarg.0
L_0032: call Void Tick()
L_0037: call Verse.TickManager get_TickManager()
L_003c: callvirt Int32 get_TicksGame()
L_0041: ldc.i4 250
L_0046: rem
L_0047: brtrue Label4
L_004c: ldarg.0
L_004d: callvirt Void TickRare()
L_0052: Label4
L_0052: ldarg.0
L_0053: call Boolean get_Suspended()
L_0058: stloc.0
L_0059: ldloc.0
L_005a: brtrue Label5
L_005f: ldarg.0
L_0060: call Boolean get_Spawned()
L_0065: brfalse Label6
L_006a: ldarg.0
L_006b: ldfld Verse.AI.Pawn_PathFollower pather
L_0070: callvirt Void PatherTick()
L_0075: Label6
L_0075: ldarg.0
L_0076: call Boolean get_Spawned()
L_007b: brfalse Label7
L_0080: ldarg.0
L_0081: ldfld Verse.Pawn_StanceTracker stances
L_0086: callvirt Void StanceTrackerTick()
L_008b: ldarg.0
L_008c: ldfld Verse.VerbTracker verbTracker
L_0091: callvirt Void VerbsTick()
L_0096: ldarg.0
L_0097: ldfld RimWorld.Pawn_NativeVerbs natives
L_009c: callvirt Void NativeVerbsTick()
L_00a1: Label7
L_00a1: ldarg.0
L_00a2: call Boolean get_Spawned()
L_00a7: brfalse Label8
L_00ac: ldarg.0
L_00ad: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b2: callvirt Void JobTrackerTick()
L_00b7: Label8
L_00b7: ldarg.0
L_00b8: call Boolean get_Spawned()
L_00bd: brfalse Label9
L_00c2: ldarg.0
L_00c3: call Verse.Pawn_DrawTracker get_Drawer()
L_00c8: callvirt Void DrawTrackerTick()
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn_RotationTracker rotationTracker
L_00d3: callvirt Void RotationTrackerTick()
L_00d8: Label9
L_00d8: ldarg.0
L_00d9: ldfld Verse.Pawn_HealthTracker health
L_00de: callvirt Void HealthTick()
L_00e3: ldarg.0
L_00e4: call Boolean get_Dead()
L_00e9: brtrue Label10
L_00ee: ldarg.0
L_00ef: ldfld Verse.AI.Pawn_MindState mindState
L_00f4: callvirt Void MindStateTick()
L_00f9: ldarg.0
L_00fa: ldfld Verse.Pawn_CarryTracker carryTracker
L_00ff: callvirt Void CarryHandsTick()
L_0104: Label5
L_0104: Label10
L_0104: ldarg.0
L_0105: call Boolean get_Dead()
L_010a: brtrue Label11
L_010f: ldarg.0
L_0110: ldfld RimWorld.Pawn_NeedsTracker needs
L_0115: callvirt Void NeedsTrackerTick()
L_011a: Label11
L_011a: ldloc.0
L_011b: brtrue Label12
L_0120: ldarg.0
L_0121: ldfld Verse.Pawn_EquipmentTracker equipment
L_0126: brfalse Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_EquipmentTracker equipment
L_0131: callvirt Void EquipmentTrackerTick()
L_0136: Label13
L_0136: ldarg.0
L_0137: ldfld RimWorld.Pawn_ApparelTracker apparel
L_013c: brfalse Label14
L_0141: ldarg.0
L_0142: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0147: callvirt Void ApparelTrackerTick()
L_014c: Label14
L_014c: ldarg.0
L_014d: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0152: brfalse Label15
L_0157: ldarg.0
L_0158: call Boolean get_Spawned()
L_015d: brfalse Label16
L_0162: ldarg.0
L_0163: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0168: callvirt Void InteractionsTrackerTick()
L_016d: Label15
L_016d: Label16
L_016d: ldarg.0
L_016e: ldfld Verse.Pawn_CallTracker caller
L_0173: brfalse Label17
L_0178: ldarg.0
L_0179: ldfld Verse.Pawn_CallTracker caller
L_017e: callvirt Void CallTrackerTick()
L_0183: Label17
L_0183: ldarg.0
L_0184: ldfld RimWorld.Pawn_SkillTracker skills
L_0189: brfalse Label18
L_018e: ldarg.0
L_018f: ldfld RimWorld.Pawn_SkillTracker skills
L_0194: callvirt Void SkillsTick()
L_0199: Label18
L_0199: ldarg.0
L_019a: ldfld Verse.Pawn_InventoryTracker inventory
L_019f: brfalse Label19
L_01a4: ldarg.0
L_01a5: ldfld Verse.Pawn_InventoryTracker inventory
L_01aa: callvirt Void InventoryTrackerTick()
L_01af: Label19
L_01af: ldarg.0
L_01b0: ldfld RimWorld.Pawn_DraftController drafter
L_01b5: brfalse Label20
L_01ba: ldarg.0
L_01bb: ldfld RimWorld.Pawn_DraftController drafter
L_01c0: callvirt Void DraftControllerTick()
L_01c5: Label20
L_01c5: ldarg.0
L_01c6: ldfld RimWorld.Pawn_RelationsTracker relations
L_01cb: brfalse Label21
L_01d0: ldarg.0
L_01d1: ldfld RimWorld.Pawn_RelationsTracker relations
L_01d6: callvirt Void RelationsTrackerTick()
L_01db: Label21
L_01db: ldarg.0
L_01dc: call Verse.RaceProperties get_RaceProps()
L_01e1: callvirt Boolean get_Humanlike()
L_01e6: brfalse Label22
L_01eb: ldarg.0
L_01ec: ldfld RimWorld.Pawn_GuestTracker guest
L_01f1: callvirt Void GuestTrackerTick()
L_01f6: Label22
L_01f6: ldarg.0
L_01f7: ldfld Verse.Pawn_AgeTracker ageTracker
L_01fc: callvirt Void AgeTick()
L_0201: ldarg.0
L_0202: ldfld RimWorld.Pawn_RecordsTracker records
L_0207: callvirt Void RecordsTick()
L_020c: Label12
L_020c: Label23
L_020c: ldarg.0
L_020d: call Void Patch_Pawn_Tick(Verse.Pawn)
L_0212: ret
DONE
### Patch Verse.PawnGenerator, Void GenerateGearFor(Verse.Pawn,
PawnGenerationRequest)
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void GenerateStartingApparelFor(Verse.Pawn, PawnGenerationRequest)
L_0007: ldarg.0
L_0008: call Void TryGenerateWeaponFor(Verse.Pawn)
L_000d: ldarg.0
L_000e: ldarg.1
L_000f: call Void GenerateInventoryFor(Verse.Pawn, PawnGenerationRequest)
L_0014: ldarg 0
L_001a: ldarga 1
L_0020: call Void Patch_PawnGenerator_GenerateGearFor(Verse.Pawn,
PawnGenerationRequest ByRef)
L_0025: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ret
DONE

### Patch Verse.Pawn_HealthTracker, Void PreApplyDamage(DamageInfo, Boolean ByRef)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarga 1
L_0007: ldarg 2
L_000d: call Boolean PreApplyDamage_PrePatch(Verse.Pawn_HealthTracker, DamageInfo
ByRef, Boolean ByRef)
L_0012: brfalse Label0
L_0017: ldarg.0
L_0018: ldarga 1
L_001e: ldarg 2
L_0024: call Boolean
Patch_Pawn_HealthTracker_PreApplyDamage(Verse.Pawn_HealthTracker, DamageInfo ByRef,
Boolean ByRef)
L_0029: brfalse Label0
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Instigator()
L_0035: brfalse Label1
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt RimWorld.Faction get_Faction()
L_0045: brfalse Label2
L_004a: ldarg.0
L_004b: ldfld Verse.Pawn pawn
L_0050: callvirt RimWorld.Faction get_Faction()
L_0055: callvirt Boolean get_IsPlayer()
L_005a: brfalse Label3
L_005f: ldarg.0
L_0060: ldfld Verse.Pawn pawn
L_0065: callvirt Boolean get_InAggroMentalState()
L_006a: brtrue Label4
L_006f: ldarga.s 1
L_0071: call Verse.Thing get_Instigator()
L_0076: isinst Verse.Pawn
L_007b: stloc.0
L_007c: ldloc.0
L_007d: brfalse Label5
L_0082: ldloc.0
L_0083: ldfld RimWorld.Pawn_GuiltTracker guilt
L_0088: brfalse Label6
L_008d: ldloc.0
L_008e: ldfld Verse.AI.Pawn_MindState mindState
L_0093: brfalse Label7
L_0098: ldloc.0
L_0099: ldfld RimWorld.Pawn_GuiltTracker guilt
L_009e: callvirt Void Notify_Guilty()
L_00a3: Label1
L_00a3: Label2
L_00a3: Label3
L_00a3: Label4
L_00a3: Label5
L_00a3: Label6
L_00a3: Label7
L_00a3: ldarg.0
L_00a4: ldfld Verse.Pawn pawn
L_00a9: callvirt Boolean get_Spawned()
L_00ae: brfalse Label8
L_00b3: ldarg.0
L_00b4: ldfld Verse.Pawn pawn
L_00b9: callvirt IntVec3 get_Position()
L_00be: ldarg.0
L_00bf: ldfld Verse.Pawn pawn
L_00c4: callvirt Verse.Map get_Map()
L_00c9: call Boolean Fogged(IntVec3, Verse.Map)
L_00ce: brtrue Label9
L_00d3: ldarg.0
L_00d4: ldfld Verse.Pawn pawn
L_00d9: ldfld Verse.AI.Pawn_MindState mindState
L_00de: ldc.i4.1
L_00df: callvirt Void set_Active(Boolean)
L_00e4: Label9
L_00e4: ldarg.0
L_00e5: ldfld Verse.Pawn pawn
L_00ea: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00ef: stloc.1
L_00f0: ldloc.1
L_00f1: brfalse Label10
L_00f6: ldloc.1
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: ldarg.1
L_00fe: callvirt Void Notify_PawnDamaged(Verse.Pawn, DamageInfo)
L_0103: Label10
L_0103: ldarga.s 1
L_0105: call Verse.DamageDef get_Def()
L_010a: ldarg.0
L_010b: ldfld Verse.Pawn pawn
L_0110: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0115: brfalse Label11
L_011a: ldarg.0
L_011b: ldfld Verse.Pawn pawn
L_0120: ldc.r4 18
L_0125: ldsfld Verse.ClamorDef Harm
L_012a: call Void DoClamor(Verse.Thing, Single, Verse.ClamorDef)
L_012f: Label11
L_012f: ldarg.0
L_0130: ldfld Verse.Pawn pawn
L_0135: ldfld Verse.AI.Pawn_JobTracker jobs
L_013a: ldarg.1
L_013b: callvirt Void Notify_DamageTaken(DamageInfo)
L_0140: Label8
L_0140: ldarg.0
L_0141: ldfld Verse.Pawn pawn
L_0146: callvirt RimWorld.Faction get_Faction()
L_014b: brfalse Label12
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: callvirt RimWorld.Faction get_Faction()
L_015b: ldarg.0
L_015c: ldfld Verse.Pawn pawn
L_0161: ldarg.1
L_0162: callvirt Void Notify_MemberTookDamage(Verse.Pawn, DamageInfo)
L_0167: call ProgramState get_ProgramState()
L_016c: ldc.i4.2
L_016d: bne.un Label13
L_0172: ldarg.0
L_0173: ldfld Verse.Pawn pawn
L_0178: callvirt RimWorld.Faction get_Faction()
L_017d: call RimWorld.Faction get_OfPlayer()
L_0182: bne.un Label14
L_0187: ldarga.s 1
L_0189: call Verse.DamageDef get_Def()
L_018e: ldarg.0
L_018f: ldfld Verse.Pawn pawn
L_0194: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0199: brfalse Label15
L_019e: ldarg.0
L_019f: ldfld Verse.Pawn pawn
L_01a4: callvirt Boolean get_SpawnedOrAnyParentSpawned()
L_01a9: brfalse Label16
L_01ae: ldarg.0
L_01af: ldfld Verse.Pawn pawn
L_01b4: callvirt Verse.Map get_MapHeld()
L_01b9: ldfld RimWorld.DangerWatcher dangerWatcher
L_01be: callvirt Void Notify_ColonistHarmedExternally()
L_01c3: Label12
L_01c3: Label13
L_01c3: Label14
L_01c3: Label15
L_01c3: Label16
L_01c3: ldarg.0
L_01c4: ldfld Verse.Pawn pawn
L_01c9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ce: brfalse Label17
L_01d3: ldarg.0
L_01d4: ldfld Verse.Pawn pawn
L_01d9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01de: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_01e3: stloc.2
L_01e4: ldc.i4.0
L_01e5: stloc.3
L_01e6: br Label18
L_01eb: Label20
L_01eb: ldloc.2
L_01ec: ldloc.3
L_01ed: callvirt RimWorld.Apparel get_Item(Int32)
L_01f2: ldarg.1
L_01f3: callvirt Boolean CheckPreAbsorbDamage(DamageInfo)
L_01f8: brfalse Label19
L_01fd: ldarg.2
L_01fe: ldc.i4.1
L_01ff: stind.i1
L_0200: br Label32
L_0205: Label19
L_0205: ldloc.3
L_0206: ldc.i4.1
L_0207: add
L_0208: stloc.3
L_0209: Label18
L_0209: ldloc.3
L_020a: ldloc.2
L_020b: callvirt Int32 get_Count()
L_0210: blt Label20
L_0215: Label17
L_0215: ldarg.0
L_0216: ldfld Verse.Pawn pawn
L_021b: callvirt Boolean get_Spawned()
L_0220: brfalse Label21
L_0225: ldarg.0
L_0226: ldfld Verse.Pawn pawn
L_022b: ldfld Verse.Pawn_StanceTracker stances
L_0230: ldarg.1
L_0231: callvirt Void Notify_DamageTaken(DamageInfo)
L_0236: ldarg.0
L_0237: ldfld Verse.Pawn pawn
L_023c: ldfld Verse.Pawn_StanceTracker stances
L_0241: ldfld RimWorld.StunHandler stunner
L_0246: ldarg.1
L_0247: ldarg.0
L_0248: ldfld Verse.Pawn pawn
L_024d: callvirt Verse.RaceProperties get_RaceProps()
L_0252: callvirt Boolean get_IsFlesh()
L_0257: ldc.i4.0
L_0258: ceq
L_025a: callvirt Void Notify_DamageApplied(DamageInfo, Boolean)
L_025f: Label21
L_025f: ldarg.0
L_0260: ldfld Verse.Pawn pawn
L_0265: callvirt Verse.RaceProperties get_RaceProps()
L_026a: callvirt Boolean get_IsFlesh()
L_026f: brfalse Label22
L_0274: ldarga.s 1
L_0276: call Verse.DamageDef get_Def()
L_027b: ldarg.0
L_027c: ldfld Verse.Pawn pawn
L_0281: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0286: brfalse Label23
L_028b: ldarga.s 1
L_028d: call Verse.Thing get_Instigator()
L_0292: isinst Verse.Pawn
L_0297: stloc.s 4 (Verse.Pawn)
L_0299: ldloc.s 4 (Verse.Pawn)
L_029b: brfalse Label24
L_02a0: ldloc.s 4 (Verse.Pawn)
L_02a2: ldarg.0
L_02a3: ldfld Verse.Pawn pawn
L_02a8: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_02ad: brfalse Label25
L_02b2: ldarg.0
L_02b3: ldfld Verse.Pawn pawn
L_02b8: ldfld RimWorld.Pawn_RelationsTracker relations
L_02bd: ldc.i4.1
L_02be: stfld System.Boolean canGetRescuedThought
L_02c3: Label25
L_02c3: ldarg.0
L_02c4: ldfld Verse.Pawn pawn
L_02c9: callvirt Verse.RaceProperties get_RaceProps()
L_02ce: callvirt Boolean get_Humanlike()
L_02d3: brfalse Label26
L_02d8: ldloc.s 4 (Verse.Pawn)
L_02da: callvirt Verse.RaceProperties get_RaceProps()
L_02df: callvirt Boolean get_Humanlike()
L_02e4: brfalse Label27
L_02e9: ldarg.0
L_02ea: ldfld Verse.Pawn pawn
L_02ef: ldfld RimWorld.Pawn_NeedsTracker needs
L_02f4: ldfld RimWorld.Need_Mood mood
L_02f9: brfalse Label28
L_02fe: ldloc.s 4 (Verse.Pawn)
L_0300: ldarg.0
L_0301: ldfld Verse.Pawn pawn
L_0306: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_030b: brfalse Label29
L_0310: ldloc.s 4 (Verse.Pawn)
L_0312: callvirt RimWorld.Faction get_Faction()
L_0317: ldarg.0
L_0318: ldfld Verse.Pawn pawn
L_031d: callvirt RimWorld.Faction get_Faction()
L_0322: bne.un Label30
L_0327: ldloc.s 4 (Verse.Pawn)
L_0329: callvirt Boolean get_InMentalState()
L_032e: brfalse Label31
L_0333: Label29
L_0333: ldarg.0
L_0334: ldfld Verse.Pawn pawn
L_0339: ldfld RimWorld.Pawn_NeedsTracker needs
L_033e: ldfld RimWorld.Need_Mood mood
L_0343: ldfld RimWorld.ThoughtHandler thoughts
L_0348: ldfld RimWorld.MemoryThoughtHandler memories
L_034d: ldsfld RimWorld.ThoughtDef HarmedMe
L_0352: ldloc.s 4 (Verse.Pawn)
L_0354: callvirt Void TryGainMemory(RimWorld.ThoughtDef, Verse.Pawn)
L_0359: Label24
L_0359: Label26
L_0359: Label27
L_0359: Label28
L_0359: Label30
L_0359: Label31
L_0359: ldsfld RimWorld.TaleDef Wounded
L_035e: ldc.i4.3
L_035f: newarr System.Object
L_0364: dup
L_0365: ldc.i4.0
L_0366: ldarg.0
L_0367: ldfld Verse.Pawn pawn
L_036c: stelem.ref
L_036d: dup
L_036e: ldc.i4.1
L_036f: ldloc.s 4 (Verse.Pawn)
L_0371: stelem.ref
L_0372: dup
L_0373: ldc.i4.2
L_0374: ldarga.s 1
L_0376: call Verse.ThingDef get_Weapon()
L_037b: stelem.ref
L_037c: call RimWorld.Tale RecordTale(RimWorld.TaleDef, System.Object[])
L_0381: pop
L_0382: Label22
L_0382: Label23
L_0382: ldarg.2
L_0383: ldc.i4.0
L_0384: stind.i1
L_0385: Label32
L_0385: Label0
L_0385: ret
DONE

### Patch Verse.Pawn_EquipmentTracker, Void MakeRoomFor(Verse.ThingWithComps)


L_0000: Local var 0: Verse.ThingWithComps
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld Verse.EquipmentType equipmentType
L_000b: ldc.i4.1
L_000c: bne.un Label1
L_0011: ldarg.0
L_0012: call Verse.ThingWithComps get_Primary()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: ldarg.0
L_001e: call Verse.ThingWithComps get_Primary()
L_0023: ldloca.s 0 (Verse.ThingWithComps)
L_0025: ldarg.0
L_0026: ldfld Verse.Pawn pawn
L_002b: callvirt IntVec3 get_Position()
L_0030: ldc.i4.1
L_0031: call Boolean TryDropEquipment(Verse.ThingWithComps, Verse.ThingWithComps
ByRef, IntVec3, Boolean)
L_0036: brfalse Label3
L_003b: ldloc.0
L_003c: brfalse Label4
L_0041: ldloc.0
L_0042: ldc.i4.0
L_0043: ldc.i4.1
L_0044: call Void SetForbidden(Verse.Thing, Boolean, Boolean)
L_0049: Label4
L_0049: br Label5
L_004e: Label3
L_004e: ldarg.0
L_004f: ldfld Verse.Pawn pawn
L_0054: ldstr " couldn't make room for equipment "
L_0059: ldarg.1
L_005a: call System.String Concat(System.Object, System.Object, System.Object)
L_005f: ldc.i4.0
L_0060: call Void Error(System.String, Boolean)
L_0065: Label1
L_0065: Label2
L_0065: Label5
L_0065: ldarg.0
L_0066: ldarga 1
L_006c: call Void
Patch_Pawn_EquipmentTracker_MakeRoomFor(Verse.Pawn_EquipmentTracker,
Verse.ThingWithComps ByRef)
L_0071: ret
DONE

### Patch RimWorld.StatWorker, System.String GetExplanationUnfinalized(StatRequest,


ToStringNumberSense)
L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.SkillNeed
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Single
L_0000: Local var 7: RimWorld.PawnCapacityOffset
L_0000: Local var 8:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityOffset, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Single
L_0000: Local var 11: System.Single
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: Local var 14: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 15: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 16: System.Int32
L_0000: Local var 17: RimWorld.Trait
L_0000: Local var 18: System.String
L_0000: Local var 19: System.Int32
L_0000: Local var 20: RimWorld.Trait
L_0000: Local var 21: System.String
L_0000: Local var 22: System.Int32
L_0000: Local var 23: RimWorld.Apparel
L_0000: Local var 24: System.Boolean
L_0000: Local var 25: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 26: System.Int32
L_0000: Local var 27: Verse.HediffStage
L_0000: Local var 28: System.Single
L_0000: Local var 29: System.Single
L_0000: Local var 30: System.Single
L_0000: Local var 31: System.Single
L_0000: Local var 32: RimWorld.CompAffectedByFacilities
L_0000: Local var 33: System.Int32
L_0000: Local var 34: RimWorld.StatDef
L_0000: Local var 35: System.Int32
L_0000: Local var 36: RimWorld.SkillNeed
L_0000: Local var 37: System.Int32
L_0000: Local var 38: RimWorld.PawnCapacityFactor
L_0000: Local var 39:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityFactor, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 40: System.String
L_0000: Local var 41: System.Single
L_0000: Local var 42: System.String
L_0000: Local var 43: System.String
L_0000: Local var 44: System.Single
L_0000: Local var 45: System.Single
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldarg.0
L_0007: ldarga.s 1
L_0009: call Verse.BuildableDef get_Def()
L_000e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0013: stloc.1
L_0014: ldloc.1
L_0015: ldc.r4 0
L_001a: beq Label1
L_001f: ldloc.0
L_0020: ldstr "StatsReport_BaseValue"
L_0025: call System.String Translate(System.String)
L_002a: ldstr ": "
L_002f: ldarg.0
L_0030: ldfld RimWorld.StatDef stat
L_0035: ldloc.1
L_0036: ldarg.2
L_0037: callvirt System.String ValueToString(Single, ToStringNumberSense)
L_003c: call System.String Concat(System.String, System.String, System.String)
L_0041: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0046: pop
L_0047: ldloc.0
L_0048: callvirt System.Text.StringBuilder AppendLine()
L_004d: pop
L_004e: Label1
L_004e: ldarga.s 1
L_0050: call Verse.Thing get_Thing()
L_0055: isinst Verse.Pawn
L_005a: stloc.2
L_005b: ldloc.2
L_005c: brfalse Label2
L_0061: ldloc.2
L_0062: ldfld RimWorld.Pawn_SkillTracker skills
L_0067: brfalse Label3
L_006c: ldarg.0
L_006d: ldfld RimWorld.StatDef stat
L_0072: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0077: brfalse Label4
L_007c: ldloc.0
L_007d: ldstr "StatsReport_Skills"
L_0082: call System.String Translate(System.String)
L_0087: callvirt System.Text.StringBuilder AppendLine(System.String)
L_008c: pop
L_008d: ldc.i4.0
L_008e: stloc.3
L_008f: br Label5
L_0094: Label6
L_0094: ldarg.0
L_0095: ldfld RimWorld.StatDef stat
L_009a: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_009f: ldloc.3
L_00a0: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00a5: stloc.s 4 (RimWorld.SkillNeed)
L_00a7: ldloc.2
L_00a8: ldfld RimWorld.Pawn_SkillTracker skills
L_00ad: ldloc.s 4 (RimWorld.SkillNeed)
L_00af: ldfld RimWorld.SkillDef skill
L_00b4: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_00b9: callvirt Int32 get_Level()
L_00be: stloc.s 5 (System.Int32)
L_00c0: ldloc.s 4 (RimWorld.SkillNeed)
L_00c2: ldloc.2
L_00c3: callvirt Single ValueFor(Verse.Pawn)
L_00c8: stloc.s 6 (System.Single)
L_00ca: ldloc.0
L_00cb: ldc.i4.7
L_00cc: newarr System.Object
L_00d1: dup
L_00d2: ldc.i4.0
L_00d3: ldstr " "
L_00d8: stelem.ref
L_00d9: dup
L_00da: ldc.i4.1
L_00db: ldloc.s 4 (RimWorld.SkillNeed)
L_00dd: ldfld RimWorld.SkillDef skill
L_00e2: callvirt System.String get_LabelCap()
L_00e7: stelem.ref
L_00e8: dup
L_00e9: ldc.i4.2
L_00ea: ldstr " ("
L_00ef: stelem.ref
L_00f0: dup
L_00f1: ldc.i4.3
L_00f2: ldloc.s 5 (System.Int32)
L_00f4: box System.Int32
L_00f9: stelem.ref
L_00fa: dup
L_00fb: ldc.i4.4
L_00fc: ldstr "): "
L_0101: stelem.ref
L_0102: dup
L_0103: ldc.i4.5
L_0104: ldloc.s 6 (System.Single)
L_0106: call System.String ToStringSign(Single)
L_010b: stelem.ref
L_010c: dup
L_010d: ldc.i4.6
L_010e: ldarg.0
L_010f: ldloc.s 6 (System.Single)
L_0111: ldc.i4.0
L_0112: ldc.i4.1
L_0113: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0118: stelem.ref
L_0119: call System.String Concat(System.Object[])
L_011e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0123: pop
L_0124: ldloc.3
L_0125: ldc.i4.1
L_0126: add
L_0127: stloc.3
L_0128: Label5
L_0128: ldloc.3
L_0129: ldarg.0
L_012a: ldfld RimWorld.StatDef stat
L_012f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0134: callvirt Int32 get_Count()
L_0139: blt Label6
L_013e: ldloc.0
L_013f: callvirt System.Text.StringBuilder AppendLine()
L_0144: pop
L_0145: Label4
L_0145: br Label7
L_014a: Label3
L_014a: ldarg.0
L_014b: ldfld RimWorld.StatDef stat
L_0150: ldfld System.Single noSkillOffset
L_0155: ldc.r4 0
L_015a: beq Label8
L_015f: ldloc.0
L_0160: ldstr "StatsReport_Skills"
L_0165: call System.String Translate(System.String)
L_016a: callvirt System.Text.StringBuilder AppendLine(System.String)
L_016f: pop
L_0170: ldloc.0
L_0171: ldc.i4.5
L_0172: newarr System.String
L_0177: dup
L_0178: ldc.i4.0
L_0179: ldstr " "
L_017e: stelem.ref
L_017f: dup
L_0180: ldc.i4.1
L_0181: ldstr "default"
L_0186: call System.String Translate(System.String)
L_018b: call System.String CapitalizeFirst(System.String)
L_0190: stelem.ref
L_0191: dup
L_0192: ldc.i4.2
L_0193: ldstr " : "
L_0198: stelem.ref
L_0199: dup
L_019a: ldc.i4.3
L_019b: ldarg.0
L_019c: ldfld RimWorld.StatDef stat
L_01a1: ldfld System.Single noSkillOffset
L_01a6: call System.String ToStringSign(Single)
L_01ab: stelem.ref
L_01ac: dup
L_01ad: ldc.i4.4
L_01ae: ldarg.0
L_01af: ldarg.0
L_01b0: ldfld RimWorld.StatDef stat
L_01b5: ldfld System.Single noSkillOffset
L_01ba: ldc.i4.0
L_01bb: ldc.i4.1
L_01bc: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_01c1: stelem.ref
L_01c2: call System.String Concat(System.String[])
L_01c7: callvirt System.Text.StringBuilder AppendLine(System.String)
L_01cc: pop
L_01cd: ldloc.0
L_01ce: callvirt System.Text.StringBuilder AppendLine()
L_01d3: pop
L_01d4: Label7
L_01d4: Label8
L_01d4: ldarg.0
L_01d5: ldfld RimWorld.StatDef stat
L_01da: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_01df: brfalse Label9
L_01e4: ldloc.0
L_01e5: ldstr "StatsReport_Health"
L_01ea: call Boolean CanTranslate(System.String)
L_01ef: brfalse Label10
L_01f4: ldstr "StatsReport_Health"
L_01f9: call System.String Translate(System.String)
L_01fe: br Label11
L_0203: Label10
L_0203: ldstr "StatsReport_HealthFactors"
L_0208: call System.String Translate(System.String)
L_020d: Label11
L_020d: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0212: pop
L_0213: ldarg.0
L_0214: ldfld RimWorld.StatDef stat
L_0219: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_021e: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0223: brtrue Label12
L_0228: ldnull
L_0229: ldftn Int32 <GetExplanationUnfinalized>m__0(RimWorld.PawnCapacityOffset)
L_022f: newobj Void .ctor(Object, IntPtr)
L_0234: stsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0239: Label12
L_0239: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_023e: call IOrderedEnumerable`1 OrderBy[PawnCapacityOffset,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityOffset,System.Int32])
L_0243: callvirt IEnumerator`1 GetEnumerator()
L_0248: stloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
.try
{
L_024a: br Label13
L_024f: Label15
L_024f: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_0251: callvirt RimWorld.PawnCapacityOffset get_Current()
L_0256: stloc.s 7 (RimWorld.PawnCapacityOffset)
L_0258: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_025a: ldfld Verse.PawnCapacityDef capacity
L_025f: ldloc.2
L_0260: callvirt System.String GetLabelFor(Verse.Pawn)
L_0265: call System.String CapitalizeFirst(System.String)
L_026a: stloc.s 9 (System.String)
L_026c: ldloc.2
L_026d: ldfld Verse.Pawn_HealthTracker health
L_0272: ldfld Verse.PawnCapacitiesHandler capacities
L_0277: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0279: ldfld Verse.PawnCapacityDef capacity
L_027e: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0283: stloc.s 10 (System.Single)
L_0285: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0287: ldloc.2
L_0288: ldfld Verse.Pawn_HealthTracker health
L_028d: ldfld Verse.PawnCapacitiesHandler capacities
L_0292: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0294: ldfld Verse.PawnCapacityDef capacity
L_0299: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_029e: callvirt Single GetOffset(Single)
L_02a3: stloc.s 11 (System.Single)
L_02a5: ldarg.0
L_02a6: ldloc.s 11 (System.Single)
L_02a8: ldc.i4.0
L_02a9: ldc.i4.1
L_02aa: call System.String ValueToString(Single, Boolean,
ToStringNumberSense)
L_02af: stloc.s 12 (System.String)
L_02b1: ldloc.s 10 (System.Single)
L_02b3: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02b5: ldfld System.Single max
L_02ba: call Single Min(Single, Single)
L_02bf: call System.String ToStringPercent(Single)
L_02c4: ldstr ", "
L_02c9: ldstr "HealthOffsetScale"
L_02ce: ldc.i4.1
L_02cf: newarr System.Object
L_02d4: dup
L_02d5: ldc.i4.0
L_02d6: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02d8: ldflda System.Single scale
L_02dd: constrained. System.Single
L_02e3: callvirt System.String ToString()
L_02e8: ldstr "x"
L_02ed: call System.String Concat(System.String, System.String)
L_02f2: stelem.ref
L_02f3: call System.String Translate(System.String, System.Object[])
L_02f8: call System.String Concat(System.String, System.String,
System.String)
L_02fd: stloc.s 13 (System.String)
L_02ff: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0301: ldfld System.Single max
L_0306: ldc.r4 999
L_030b: bge.un Label14
L_0310: ldloc.s 13 (System.String)
L_0312: ldstr ", "
L_0317: ldstr "HealthFactorMaxImpact"
L_031c: ldc.i4.1
L_031d: newarr System.Object
L_0322: dup
L_0323: ldc.i4.0
L_0324: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0326: ldfld System.Single max
L_032b: call System.String ToStringPercent(Single)
L_0330: stelem.ref
L_0331: call System.String Translate(System.String, System.Object[])
L_0336: call System.String Concat(System.String, System.String,
System.String)
L_033b: stloc.s 13 (System.String)
L_033d: Label14
L_033d: ldloc.0
L_033e: ldc.i4.8
L_033f: newarr System.String
L_0344: dup
L_0345: ldc.i4.0
L_0346: ldstr " "
L_034b: stelem.ref
L_034c: dup
L_034d: ldc.i4.1
L_034e: ldloc.s 9 (System.String)
L_0350: stelem.ref
L_0351: dup
L_0352: ldc.i4.2
L_0353: ldstr ": "
L_0358: stelem.ref
L_0359: dup
L_035a: ldc.i4.3
L_035b: ldloc.s 11 (System.Single)
L_035d: call System.String ToStringSign(Single)
L_0362: stelem.ref
L_0363: dup
L_0364: ldc.i4.4
L_0365: ldloc.s 12 (System.String)
L_0367: stelem.ref
L_0368: dup
L_0369: ldc.i4.5
L_036a: ldstr " ("
L_036f: stelem.ref
L_0370: dup
L_0371: ldc.i4.6
L_0372: ldloc.s 13 (System.String)
L_0374: stelem.ref
L_0375: dup
L_0376: ldc.i4.7
L_0377: ldstr ")"
L_037c: stelem.ref
L_037d: call System.String Concat(System.String[])
L_0382: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0387: pop
L_0388: Label13
L_0388: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_038a: callvirt Boolean MoveNext()
L_038f: brtrue Label15
L_0394: leave Label16
L_0399: leave (autogenerated)
} // end try
.finally
{
L_039e: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a0: brfalse Label17
L_03a5: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a7: callvirt Void Dispose()
L_03ac: Label17
L_03ac: endfinally
L_03ad: leave (autogenerated)
} // end handler
L_03ae: Label16
L_03ae: ldloc.0
L_03af: callvirt System.Text.StringBuilder AppendLine()
L_03b4: pop
L_03b5: Label9
L_03b5: ldloc.2
L_03b6: callvirt Verse.RaceProperties get_RaceProps()
L_03bb: ldfld Verse.Intelligence intelligence
L_03c0: ldc.i4.1
L_03c1: blt Label18
L_03c6: ldloc.2
L_03c7: ldfld RimWorld.Pawn_StoryTracker story
L_03cc: brfalse Label19
L_03d1: ldloc.2
L_03d2: ldfld RimWorld.Pawn_StoryTracker story
L_03d7: ldfld RimWorld.TraitSet traits
L_03dc: brfalse Label20
L_03e1: ldloc.2
L_03e2: ldfld RimWorld.Pawn_StoryTracker story
L_03e7: ldfld RimWorld.TraitSet traits
L_03ec: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_03f1: ldarg.0
L_03f2: ldftn Boolean <GetExplanationUnfinalized>m__1(RimWorld.Trait)
L_03f8: newobj Void .ctor(Object, IntPtr)
L_03fd: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_0402: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_0407: stloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0409: ldloc.2
L_040a: ldfld RimWorld.Pawn_StoryTracker story
L_040f: ldfld RimWorld.TraitSet traits
L_0414: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0419: ldarg.0
L_041a: ldftn Boolean <GetExplanationUnfinalized>m__2(RimWorld.Trait)
L_0420: newobj Void .ctor(Object, IntPtr)
L_0425: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_042a: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_042f: stloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0431: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0433: callvirt Int32 get_Count()
L_0438: ldc.i4.0
L_0439: bgt Label21
L_043e: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0440: callvirt Int32 get_Count()
L_0445: ldc.i4.0
L_0446: ble Label22
L_044b: Label21
L_044b: ldloc.0
L_044c: ldstr "StatsReport_RelevantTraits"
L_0451: call System.String Translate(System.String)
L_0456: callvirt System.Text.StringBuilder AppendLine(System.String)
L_045b: pop
L_045c: ldc.i4.0
L_045d: stloc.s 16 (System.Int32)
L_045f: br Label23
L_0464: Label24
L_0464: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0466: ldloc.s 16 (System.Int32)
L_0468: callvirt RimWorld.Trait get_Item(Int32)
L_046d: stloc.s 17 (RimWorld.Trait)
L_046f: ldloc.s 17 (RimWorld.Trait)
L_0471: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_0476: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_047b: ldarg.0
L_047c: ldftn Boolean <GetExplanationUnfinalized>m__3(RimWorld.StatModifier)
L_0482: newobj Void .ctor(Object, IntPtr)
L_0487: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_048c: callvirt System.String get_ValueToStringAsOffset()
L_0491: stloc.s 18 (System.String)
L_0493: ldloc.0
L_0494: ldstr " "
L_0499: ldloc.s 17 (RimWorld.Trait)
L_049b: callvirt System.String get_LabelCap()
L_04a0: ldstr ": "
L_04a5: ldloc.s 18 (System.String)
L_04a7: call System.String Concat(System.String, System.String, System.String,
System.String)
L_04ac: callvirt System.Text.StringBuilder AppendLine(System.String)
L_04b1: pop
L_04b2: ldloc.s 16 (System.Int32)
L_04b4: ldc.i4.1
L_04b5: add
L_04b6: stloc.s 16 (System.Int32)
L_04b8: Label23
L_04b8: ldloc.s 16 (System.Int32)
L_04ba: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04bc: callvirt Int32 get_Count()
L_04c1: blt Label24
L_04c6: ldc.i4.0
L_04c7: stloc.s 19 (System.Int32)
L_04c9: br Label25
L_04ce: Label26
L_04ce: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04d0: ldloc.s 19 (System.Int32)
L_04d2: callvirt RimWorld.Trait get_Item(Int32)
L_04d7: stloc.s 20 (RimWorld.Trait)
L_04d9: ldloc.s 20 (RimWorld.Trait)
L_04db: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_04e0: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_04e5: ldarg.0
L_04e6: ldftn Boolean <GetExplanationUnfinalized>m__4(RimWorld.StatModifier)
L_04ec: newobj Void .ctor(Object, IntPtr)
L_04f1: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_04f6: callvirt System.String get_ToStringAsFactor()
L_04fb: stloc.s 21 (System.String)
L_04fd: ldloc.0
L_04fe: ldstr " "
L_0503: ldloc.s 20 (RimWorld.Trait)
L_0505: callvirt System.String get_LabelCap()
L_050a: ldstr ": "
L_050f: ldloc.s 21 (System.String)
L_0511: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0516: callvirt System.Text.StringBuilder AppendLine(System.String)
L_051b: pop
L_051c: ldloc.s 19 (System.Int32)
L_051e: ldc.i4.1
L_051f: add
L_0520: stloc.s 19 (System.Int32)
L_0522: Label25
L_0522: ldloc.s 19 (System.Int32)
L_0524: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0526: callvirt Int32 get_Count()
L_052b: blt Label26
L_0530: ldloc.0
L_0531: callvirt System.Text.StringBuilder AppendLine()
L_0536: pop
L_0537: Label19
L_0537: Label20
L_0537: Label22
L_0537: ldloc.2
L_0538: ldarg.0
L_0539: ldfld RimWorld.StatDef stat
L_053e: call IEnumerable`1 RelevantGear(Verse.Pawn, RimWorld.StatDef)
L_0543: call Boolean Any[Thing](IEnumerable`1)
L_0548: brfalse Label27
L_054d: ldloc.0
L_054e: ldstr "StatsReport_RelevantGear"
L_0553: call System.String Translate(System.String)
L_0558: callvirt System.Text.StringBuilder AppendLine(System.String)
L_055d: pop
L_055e: ldloc.2
L_055f: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0564: brfalse Label28
L_0569: ldc.i4.0
L_056a: stloc.s 22 (System.Int32)
L_056c: br Label29
L_0571: Label30
L_0571: ldloc.2
L_0572: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0577: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_057c: ldloc.s 22 (System.Int32)
L_057e: callvirt RimWorld.Apparel get_Item(Int32)
L_0583: stloc.s 23 (RimWorld.Apparel)
L_0585: ldloc.0
L_0586: ldloc.s 23 (RimWorld.Apparel)
L_0588: ldarg.0
L_0589: ldfld RimWorld.StatDef stat
L_058e: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_0593: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0598: pop
L_0599: ldloc.s 22 (System.Int32)
L_059b: ldc.i4.1
L_059c: add
L_059d: stloc.s 22 (System.Int32)
L_059f: Label29
L_059f: ldloc.s 22 (System.Int32)
L_05a1: ldloc.2
L_05a2: ldfld RimWorld.Pawn_ApparelTracker apparel
L_05a7: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_05ac: callvirt Int32 get_Count()
L_05b1: blt Label30
L_05b6: Label28
L_05b6: ldloc.2
L_05b7: ldfld Verse.Pawn_EquipmentTracker equipment
L_05bc: brfalse Label31
L_05c1: ldloc.2
L_05c2: ldfld Verse.Pawn_EquipmentTracker equipment
L_05c7: callvirt Verse.ThingWithComps get_Primary()
L_05cc: brfalse Label32
L_05d1: ldloc.0
L_05d2: ldloc.2
L_05d3: ldfld Verse.Pawn_EquipmentTracker equipment
L_05d8: callvirt Verse.ThingWithComps get_Primary()
L_05dd: ldarg.0
L_05de: ldfld RimWorld.StatDef stat
L_05e3: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_05e8: callvirt System.Text.StringBuilder AppendLine(System.String)
L_05ed: pop
L_05ee: ldloc.0
L_05ef: ldloc.2
L_05f0: ldarg.0
L_05f1: ldfld RimWorld.StatDef stat
L_05f6: call Void StatWorkerInjection_BuildShieldString(System.Text.StringBuilder,
Verse.Pawn, RimWorld.StatDef)
L_05fb: Label31
L_05fb: Label32
L_05fb: ldloc.0
L_05fc: callvirt System.Text.StringBuilder AppendLine()
L_0601: pop
L_0602: Label18
L_0602: Label27
L_0602: ldc.i4.0
L_0603: stloc.s 24 (System.Boolean)
L_0605: ldloc.2
L_0606: ldfld Verse.Pawn_HealthTracker health
L_060b: ldfld Verse.HediffSet hediffSet
L_0610: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0615: stloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0617: ldc.i4.0
L_0618: stloc.s 26 (System.Int32)
L_061a: br Label33
L_061f: Label37
L_061f: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0621: ldloc.s 26 (System.Int32)
L_0623: callvirt Verse.Hediff get_Item(Int32)
L_0628: callvirt Verse.HediffStage get_CurStage()
L_062d: stloc.s 27 (Verse.HediffStage)
L_062f: ldloc.s 27 (Verse.HediffStage)
L_0631: brfalse Label34
L_0636: ldloc.s 27 (Verse.HediffStage)
L_0638: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_063d: ldarg.0
L_063e: ldfld RimWorld.StatDef stat
L_0643: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0648: stloc.s 28 (System.Single)
L_064a: ldloc.s 28 (System.Single)
L_064c: ldc.r4 0
L_0651: beq Label35
L_0656: ldloc.s 24 (System.Boolean)
L_0658: brtrue Label36
L_065d: ldloc.0
L_065e: ldstr "StatsReport_RelevantHediffs"
L_0663: call System.String Translate(System.String)
L_0668: callvirt System.Text.StringBuilder AppendLine(System.String)
L_066d: pop
L_066e: ldc.i4.1
L_066f: stloc.s 24 (System.Boolean)
L_0671: Label36
L_0671: ldloc.0
L_0672: ldstr " "
L_0677: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0679: ldloc.s 26 (System.Int32)
L_067b: callvirt Verse.Hediff get_Item(Int32)
L_0680: callvirt System.String get_LabelBase()
L_0685: call System.String CapitalizeFirst(System.String)
L_068a: ldstr ": "
L_068f: ldarg.0
L_0690: ldloc.s 28 (System.Single)
L_0692: ldc.i4.0
L_0693: ldc.i4.3
L_0694: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0699: call System.String Concat(System.String, System.String, System.String,
System.String)
L_069e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_06a3: pop
L_06a4: ldloc.0
L_06a5: callvirt System.Text.StringBuilder AppendLine()
L_06aa: pop
L_06ab: Label34
L_06ab: Label35
L_06ab: ldloc.s 26 (System.Int32)
L_06ad: ldc.i4.1
L_06ae: add
L_06af: stloc.s 26 (System.Int32)
L_06b1: Label33
L_06b1: ldloc.s 26 (System.Int32)
L_06b3: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_06b5: callvirt Int32 get_Count()
L_06ba: blt Label37
L_06bf: ldloc.2
L_06c0: ldfld Verse.Pawn_AgeTracker ageTracker
L_06c5: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_06ca: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_06cf: ldarg.0
L_06d0: ldfld RimWorld.StatDef stat
L_06d5: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_06da: stloc.s 29 (System.Single)
L_06dc: ldloc.s 29 (System.Single)
L_06de: ldc.r4 1
L_06e3: beq Label38
L_06e8: ldloc.0
L_06e9: ldc.i4.5
L_06ea: newarr System.String
L_06ef: dup
L_06f0: ldc.i4.0
L_06f1: ldstr "StatsReport_LifeStage"
L_06f6: call System.String Translate(System.String)
L_06fb: stelem.ref
L_06fc: dup
L_06fd: ldc.i4.1
L_06fe: ldstr " ("
L_0703: stelem.ref
L_0704: dup
L_0705: ldc.i4.2
L_0706: ldloc.2
L_0707: ldfld Verse.Pawn_AgeTracker ageTracker
L_070c: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_0711: ldfld System.String label
L_0716: stelem.ref
L_0717: dup
L_0718: ldc.i4.3
L_0719: ldstr "): "
L_071e: stelem.ref
L_071f: dup
L_0720: ldc.i4.4
L_0721: ldloc.s 29 (System.Single)
L_0723: ldc.i4.8
L_0724: ldc.i4.2
L_0725: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_072a: stelem.ref
L_072b: call System.String Concat(System.String[])
L_0730: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0735: pop
L_0736: ldloc.0
L_0737: callvirt System.Text.StringBuilder AppendLine()
L_073c: pop
L_073d: Label2
L_073d: Label38
L_073d: ldarga.s 1
L_073f: call Verse.ThingDef get_StuffDef()
L_0744: brfalse Label39
L_0749: ldloc.1
L_074a: ldc.r4 0
L_074f: bgt Label40
L_0754: ldarg.0
L_0755: ldfld RimWorld.StatDef stat
L_075a: ldfld System.Boolean applyFactorsIfNegative
L_075f: brfalse Label41
L_0764: Label40
L_0764: ldarga.s 1
L_0766: call Verse.ThingDef get_StuffDef()
L_076b: ldfld Verse.StuffProperties stuffProps
L_0770: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0775: ldarg.0
L_0776: ldfld RimWorld.StatDef stat
L_077b: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0780: stloc.s 30 (System.Single)
L_0782: ldloc.s 30 (System.Single)
L_0784: ldc.r4 1
L_0789: beq Label42
L_078e: ldloc.0
L_078f: ldc.i4.5
L_0790: newarr System.String
L_0795: dup
L_0796: ldc.i4.0
L_0797: ldstr "StatsReport_Material"
L_079c: call System.String Translate(System.String)
L_07a1: stelem.ref
L_07a2: dup
L_07a3: ldc.i4.1
L_07a4: ldstr " ("
L_07a9: stelem.ref
L_07aa: dup
L_07ab: ldc.i4.2
L_07ac: ldarga.s 1
L_07ae: call Verse.ThingDef get_StuffDef()
L_07b3: callvirt System.String get_LabelCap()
L_07b8: stelem.ref
L_07b9: dup
L_07ba: ldc.i4.3
L_07bb: ldstr "): "
L_07c0: stelem.ref
L_07c1: dup
L_07c2: ldc.i4.4
L_07c3: ldloc.s 30 (System.Single)
L_07c5: ldc.i4.8
L_07c6: ldc.i4.2
L_07c7: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_07cc: stelem.ref
L_07cd: call System.String Concat(System.String[])
L_07d2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_07d7: pop
L_07d8: ldloc.0
L_07d9: callvirt System.Text.StringBuilder AppendLine()
L_07de: pop
L_07df: Label41
L_07df: Label42
L_07df: ldarga.s 1
L_07e1: call Verse.ThingDef get_StuffDef()
L_07e6: ldfld Verse.StuffProperties stuffProps
L_07eb: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_07f0: ldarg.0
L_07f1: ldfld RimWorld.StatDef stat
L_07f6: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_07fb: stloc.s 31 (System.Single)
L_07fd: ldloc.s 31 (System.Single)
L_07ff: ldc.r4 0
L_0804: beq Label43
L_0809: ldloc.0
L_080a: ldc.i4.5
L_080b: newarr System.String
L_0810: dup
L_0811: ldc.i4.0
L_0812: ldstr "StatsReport_Material"
L_0817: call System.String Translate(System.String)
L_081c: stelem.ref
L_081d: dup
L_081e: ldc.i4.1
L_081f: ldstr " ("
L_0824: stelem.ref
L_0825: dup
L_0826: ldc.i4.2
L_0827: ldarga.s 1
L_0829: call Verse.ThingDef get_StuffDef()
L_082e: callvirt System.String get_LabelCap()
L_0833: stelem.ref
L_0834: dup
L_0835: ldc.i4.3
L_0836: ldstr "): "
L_083b: stelem.ref
L_083c: dup
L_083d: ldc.i4.4
L_083e: ldloc.s 31 (System.Single)
L_0840: ldarg.0
L_0841: ldfld RimWorld.StatDef stat
L_0846: ldfld Verse.ToStringStyle toStringStyle
L_084b: ldc.i4.3
L_084c: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0851: stelem.ref
L_0852: call System.String Concat(System.String[])
L_0857: callvirt System.Text.StringBuilder AppendLine(System.String)
L_085c: pop
L_085d: ldloc.0
L_085e: callvirt System.Text.StringBuilder AppendLine()
L_0863: pop
L_0864: Label39
L_0864: Label43
L_0864: ldarga.s 1
L_0866: call Verse.Thing get_Thing()
L_086b: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0870: stloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0872: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0874: brfalse Label44
L_0879: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_087b: ldarg.0
L_087c: ldfld RimWorld.StatDef stat
L_0881: ldloc.0
L_0882: callvirt Void GetStatsExplanation(RimWorld.StatDef,
System.Text.StringBuilder)
L_0887: Label44
L_0887: ldarg.0
L_0888: ldfld RimWorld.StatDef stat
L_088d: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0892: brfalse Label45
L_0897: ldloc.0
L_0898: ldstr "StatsReport_OtherStats"
L_089d: call System.String Translate(System.String)
L_08a2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08a7: pop
L_08a8: ldc.i4.0
L_08a9: stloc.s 33 (System.Int32)
L_08ab: br Label46
L_08b0: Label47
L_08b0: ldarg.0
L_08b1: ldfld RimWorld.StatDef stat
L_08b6: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_08bb: ldloc.s 33 (System.Int32)
L_08bd: callvirt RimWorld.StatDef get_Item(Int32)
L_08c2: stloc.s 34 (RimWorld.StatDef)
L_08c4: ldloc.0
L_08c5: ldstr " "
L_08ca: ldloc.s 34 (RimWorld.StatDef)
L_08cc: callvirt System.String get_LabelCap()
L_08d1: ldstr ": x"
L_08d6: ldloc.s 34 (RimWorld.StatDef)
L_08d8: callvirt RimWorld.StatWorker get_Worker()
L_08dd: ldarg.1
L_08de: ldc.i4.1
L_08df: callvirt Single GetValue(StatRequest, Boolean)
L_08e4: call System.String ToStringPercent(Single)
L_08e9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_08ee: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08f3: pop
L_08f4: ldloc.s 33 (System.Int32)
L_08f6: ldc.i4.1
L_08f7: add
L_08f8: stloc.s 33 (System.Int32)
L_08fa: Label46
L_08fa: ldloc.s 33 (System.Int32)
L_08fc: ldarg.0
L_08fd: ldfld RimWorld.StatDef stat
L_0902: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0907: callvirt Int32 get_Count()
L_090c: blt Label47
L_0911: ldloc.0
L_0912: callvirt System.Text.StringBuilder AppendLine()
L_0917: pop
L_0918: Label45
L_0918: ldloc.2
L_0919: brfalse Label48
L_091e: ldloc.2
L_091f: ldfld RimWorld.Pawn_SkillTracker skills
L_0924: brfalse Label49
L_0929: ldarg.0
L_092a: ldfld RimWorld.StatDef stat
L_092f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0934: brfalse Label50
L_0939: ldloc.0
L_093a: ldstr "StatsReport_Skills"
L_093f: call System.String Translate(System.String)
L_0944: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0949: pop
L_094a: ldc.i4.0
L_094b: stloc.s 35 (System.Int32)
L_094d: br Label51
L_0952: Label52
L_0952: ldarg.0
L_0953: ldfld RimWorld.StatDef stat
L_0958: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_095d: ldloc.s 35 (System.Int32)
L_095f: callvirt RimWorld.SkillNeed get_Item(Int32)
L_0964: stloc.s 36 (RimWorld.SkillNeed)
L_0966: ldloc.2
L_0967: ldfld RimWorld.Pawn_SkillTracker skills
L_096c: ldloc.s 36 (RimWorld.SkillNeed)
L_096e: ldfld RimWorld.SkillDef skill
L_0973: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_0978: callvirt Int32 get_Level()
L_097d: stloc.s 37 (System.Int32)
L_097f: ldloc.0
L_0980: ldc.i4.6
L_0981: newarr System.Object
L_0986: dup
L_0987: ldc.i4.0
L_0988: ldstr " "
L_098d: stelem.ref
L_098e: dup
L_098f: ldc.i4.1
L_0990: ldloc.s 36 (RimWorld.SkillNeed)
L_0992: ldfld RimWorld.SkillDef skill
L_0997: callvirt System.String get_LabelCap()
L_099c: stelem.ref
L_099d: dup
L_099e: ldc.i4.2
L_099f: ldstr " ("
L_09a4: stelem.ref
L_09a5: dup
L_09a6: ldc.i4.3
L_09a7: ldloc.s 37 (System.Int32)
L_09a9: box System.Int32
L_09ae: stelem.ref
L_09af: dup
L_09b0: ldc.i4.4
L_09b1: ldstr "): x"
L_09b6: stelem.ref
L_09b7: dup
L_09b8: ldc.i4.5
L_09b9: ldloc.s 36 (RimWorld.SkillNeed)
L_09bb: ldloc.2
L_09bc: callvirt Single ValueFor(Verse.Pawn)
L_09c1: call System.String ToStringPercent(Single)
L_09c6: stelem.ref
L_09c7: call System.String Concat(System.Object[])
L_09cc: callvirt System.Text.StringBuilder AppendLine(System.String)
L_09d1: pop
L_09d2: ldloc.s 35 (System.Int32)
L_09d4: ldc.i4.1
L_09d5: add
L_09d6: stloc.s 35 (System.Int32)
L_09d8: Label51
L_09d8: ldloc.s 35 (System.Int32)
L_09da: ldarg.0
L_09db: ldfld RimWorld.StatDef stat
L_09e0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_09e5: callvirt Int32 get_Count()
L_09ea: blt Label52
L_09ef: ldloc.0
L_09f0: callvirt System.Text.StringBuilder AppendLine()
L_09f5: pop
L_09f6: Label50
L_09f6: br Label53
L_09fb: Label49
L_09fb: ldarg.0
L_09fc: ldfld RimWorld.StatDef stat
L_0a01: ldfld System.Single noSkillFactor
L_0a06: ldc.r4 1
L_0a0b: beq Label54
L_0a10: ldloc.0
L_0a11: ldstr "StatsReport_Skills"
L_0a16: call System.String Translate(System.String)
L_0a1b: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a20: pop
L_0a21: ldloc.0
L_0a22: ldstr " "
L_0a27: ldstr "default"
L_0a2c: call System.String Translate(System.String)
L_0a31: call System.String CapitalizeFirst(System.String)
L_0a36: ldstr " : x"
L_0a3b: ldarg.0
L_0a3c: ldfld RimWorld.StatDef stat
L_0a41: ldfld System.Single noSkillFactor
L_0a46: call System.String ToStringPercent(Single)
L_0a4b: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0a50: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a55: pop
L_0a56: ldloc.0
L_0a57: callvirt System.Text.StringBuilder AppendLine()
L_0a5c: pop
L_0a5d: Label53
L_0a5d: Label54
L_0a5d: ldarg.0
L_0a5e: ldfld RimWorld.StatDef stat
L_0a63: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0a68: brfalse Label55
L_0a6d: ldloc.0
L_0a6e: ldstr "StatsReport_Health"
L_0a73: call Boolean CanTranslate(System.String)
L_0a78: brfalse Label56
L_0a7d: ldstr "StatsReport_Health"
L_0a82: call System.String Translate(System.String)
L_0a87: br Label57
L_0a8c: Label56
L_0a8c: ldstr "StatsReport_HealthFactors"
L_0a91: call System.String Translate(System.String)
L_0a96: Label57
L_0a96: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a9b: pop
L_0a9c: ldarg.0
L_0a9d: ldfld RimWorld.StatDef stat
L_0aa2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0aa7: brfalse Label58
L_0aac: ldarg.0
L_0aad: ldfld RimWorld.StatDef stat
L_0ab2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0ab7: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0abc: brtrue Label59
L_0ac1: ldnull
L_0ac2: ldftn Int32 <GetExplanationUnfinalized>m__5(RimWorld.PawnCapacityFactor)
L_0ac8: newobj Void .ctor(Object, IntPtr)
L_0acd: stsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad2: Label59
L_0ad2: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad7: call IOrderedEnumerable`1 OrderBy[PawnCapacityFactor,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityFactor,System.Int32])
L_0adc: callvirt IEnumerator`1 GetEnumerator()
L_0ae1: stloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
.try
{
L_0ae3: br Label60
L_0ae8: Label63
L_0ae8: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0aea: callvirt RimWorld.PawnCapacityFactor get_Current()
L_0aef: stloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af1: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af3: ldfld Verse.PawnCapacityDef capacity
L_0af8: ldloc.2
L_0af9: callvirt System.String GetLabelFor(Verse.Pawn)
L_0afe: call System.String CapitalizeFirst(System.String)
L_0b03: stloc.s 40 (System.String)
L_0b05: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b07: ldloc.2
L_0b08: ldfld Verse.Pawn_HealthTracker health
L_0b0d: ldfld Verse.PawnCapacitiesHandler capacities
L_0b12: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b14: ldfld Verse.PawnCapacityDef capacity
L_0b19: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0b1e: callvirt Single GetFactor(Single)
L_0b23: stloc.s 41 (System.Single)
L_0b25: ldloc.s 41 (System.Single)
L_0b27: call System.String ToStringPercent(Single)
L_0b2c: stloc.s 42 (System.String)
L_0b2e: ldstr "HealthFactorPercentImpact"
L_0b33: ldc.i4.1
L_0b34: newarr System.Object
L_0b39: dup
L_0b3a: ldc.i4.0
L_0b3b: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b3d: ldfld System.Single weight
L_0b42: call System.String ToStringPercent(Single)
L_0b47: stelem.ref
L_0b48: call System.String Translate(System.String, System.Object[])
L_0b4d: stloc.s 43 (System.String)
L_0b4f: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b51: ldfld System.Single max
L_0b56: ldc.r4 999
L_0b5b: bge.un Label61
L_0b60: ldloc.s 43 (System.String)
L_0b62: ldstr ", "
L_0b67: ldstr "HealthFactorMaxImpact"
L_0b6c: ldc.i4.1
L_0b6d: newarr System.Object
L_0b72: dup
L_0b73: ldc.i4.0
L_0b74: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b76: ldfld System.Single max
L_0b7b: call System.String ToStringPercent(Single)
L_0b80: stelem.ref
L_0b81: call System.String Translate(System.String, System.Object[])
L_0b86: call System.String Concat(System.String, System.String,
System.String)
L_0b8b: stloc.s 43 (System.String)
L_0b8d: Label61
L_0b8d: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b8f: ldfld System.Single allowedDefect
L_0b94: ldc.r4 0
L_0b99: beq Label62
L_0b9e: ldloc.s 43 (System.String)
L_0ba0: ldstr ", "
L_0ba5: ldstr "HealthFactorAllowedDefect"
L_0baa: ldc.i4.1
L_0bab: newarr System.Object
L_0bb0: dup
L_0bb1: ldc.i4.0
L_0bb2: ldc.r4 1
L_0bb7: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0bb9: ldfld System.Single allowedDefect
L_0bbe: sub
L_0bbf: call System.String ToStringPercent(Single)
L_0bc4: stelem.ref
L_0bc5: call System.String Translate(System.String, System.Object[])
L_0bca: call System.String Concat(System.String, System.String,
System.String)
L_0bcf: stloc.s 43 (System.String)
L_0bd1: Label62
L_0bd1: ldloc.0
L_0bd2: ldc.i4.7
L_0bd3: newarr System.String
L_0bd8: dup
L_0bd9: ldc.i4.0
L_0bda: ldstr " "
L_0bdf: stelem.ref
L_0be0: dup
L_0be1: ldc.i4.1
L_0be2: ldloc.s 40 (System.String)
L_0be4: stelem.ref
L_0be5: dup
L_0be6: ldc.i4.2
L_0be7: ldstr ": x"
L_0bec: stelem.ref
L_0bed: dup
L_0bee: ldc.i4.3
L_0bef: ldloc.s 42 (System.String)
L_0bf1: stelem.ref
L_0bf2: dup
L_0bf3: ldc.i4.4
L_0bf4: ldstr " ("
L_0bf9: stelem.ref
L_0bfa: dup
L_0bfb: ldc.i4.5
L_0bfc: ldloc.s 43 (System.String)
L_0bfe: stelem.ref
L_0bff: dup
L_0c00: ldc.i4.6
L_0c01: ldstr ")"
L_0c06: stelem.ref
L_0c07: call System.String Concat(System.String[])
L_0c0c: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0c11: pop
L_0c12: Label60
L_0c12: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c14: callvirt Boolean MoveNext()
L_0c19: brtrue Label63
L_0c1e: leave Label64
L_0c23: leave (autogenerated)
} // end try
.finally
{
L_0c28: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c2a: brfalse Label65
L_0c2f: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c31: callvirt Void Dispose()
L_0c36: Label65
L_0c36: endfinally
L_0c37: leave (autogenerated)
} // end handler
L_0c38: Label58
L_0c38: Label64
L_0c38: ldloc.0
L_0c39: callvirt System.Text.StringBuilder AppendLine()
L_0c3e: pop
L_0c3f: Label55
L_0c3f: ldloc.2
L_0c40: callvirt Boolean get_Inspired()
L_0c45: brfalse Label66
L_0c4a: ldloc.2
L_0c4b: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0c50: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_0c55: ldarg.0
L_0c56: ldfld RimWorld.StatDef stat
L_0c5b: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0c60: stloc.s 44 (System.Single)
L_0c62: ldloc.s 44 (System.Single)
L_0c64: ldc.r4 0
L_0c69: beq Label67
L_0c6e: ldloc.0
L_0c6f: ldstr "StatsReport_Inspiration"
L_0c74: ldc.i4.1
L_0c75: newarr System.Object
L_0c7a: dup
L_0c7b: ldc.i4.0
L_0c7c: ldloc.2
L_0c7d: callvirt RimWorld.Inspiration get_Inspiration()
L_0c82: ldfld RimWorld.InspirationDef def
L_0c87: callvirt System.String get_LabelCap()
L_0c8c: stelem.ref
L_0c8d: call System.String Translate(System.String, System.Object[])
L_0c92: ldstr ": "
L_0c97: ldarg.0
L_0c98: ldloc.s 44 (System.Single)
L_0c9a: ldc.i4.0
L_0c9b: ldc.i4.3
L_0c9c: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0ca1: call System.String Concat(System.String, System.String, System.String)
L_0ca6: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0cab: pop
L_0cac: ldloc.0
L_0cad: callvirt System.Text.StringBuilder AppendLine()
L_0cb2: pop
L_0cb3: Label67
L_0cb3: ldloc.2
L_0cb4: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0cb9: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0cbe: ldarg.0
L_0cbf: ldfld RimWorld.StatDef stat
L_0cc4: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0cc9: stloc.s 45 (System.Single)
L_0ccb: ldloc.s 45 (System.Single)
L_0ccd: ldc.r4 1
L_0cd2: beq Label68
L_0cd7: ldloc.0
L_0cd8: ldstr "StatsReport_Inspiration"
L_0cdd: ldc.i4.1
L_0cde: newarr System.Object
L_0ce3: dup
L_0ce4: ldc.i4.0
L_0ce5: ldloc.2
L_0ce6: callvirt RimWorld.Inspiration get_Inspiration()
L_0ceb: ldfld RimWorld.InspirationDef def
L_0cf0: callvirt System.String get_LabelCap()
L_0cf5: stelem.ref
L_0cf6: call System.String Translate(System.String, System.Object[])
L_0cfb: ldstr ": "
L_0d00: ldloc.s 45 (System.Single)
L_0d02: ldc.i4.8
L_0d03: ldc.i4.2
L_0d04: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0d09: call System.String Concat(System.String, System.String, System.String)
L_0d0e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0d13: pop
L_0d14: ldloc.0
L_0d15: callvirt System.Text.StringBuilder AppendLine()
L_0d1a: pop
L_0d1b: Label48
L_0d1b: Label66
L_0d1b: Label68
L_0d1b: ldloc.0
L_0d1c: callvirt System.String ToString()
L_0d21: call System.String TrimEndNewlines(System.String)
L_0d26: ret
DONE

### Patch RimWorld.StatWorker, Single GetValueUnfinalized(StatRequest, Boolean)


L_0000: Local var 0: System.Single
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.PawnCapacityOffset
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.HediffStage
L_0000: Local var 9: System.Int32
L_0000: Local var 10: System.Int32
L_0000: Local var 11: RimWorld.CompAffectedByFacilities
L_0000: Local var 12: System.Int32
L_0000: Local var 13: System.Int32
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.PawnCapacityFactor
L_0000: Local var 16: System.Single
L_0000: Local var 17: System.Single
L_0000: ldc.r4 0
L_0005: stloc 17 (System.Single)
L_0007: call Boolean get_DevMode()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldarga.s 1
L_0014: call Verse.Thing get_Thing()
L_0019: callvirt Boolean IsDisabledFor(Verse.Thing)
L_001e: brfalse Label2
L_0023: ldstr "Attempted to calculate value for disabled stat {0}; this is meant as
a consistency check, either set the stat to neverDisabled or ensure this pawn
cannot accidentally use this stat (thing={1})"
L_0028: ldarg.0
L_0029: ldfld RimWorld.StatDef stat
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Thing()
L_0035: call System.String ToStringSafe[Thing](Verse.Thing)
L_003a: call System.String Format(System.String, System.Object, System.Object)
L_003f: ldc.i4 75193282
L_0044: ldarg.0
L_0045: ldfld RimWorld.StatDef stat
L_004a: ldfld System.UInt16 index
L_004f: add
L_0050: ldc.i4.0
L_0051: call Void ErrorOnce(System.String, Int32, Boolean)
L_0056: Label1
L_0056: Label2
L_0056: ldarg.0
L_0057: ldarga.s 1
L_0059: call Verse.BuildableDef get_Def()
L_005e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0063: stloc.0
L_0064: ldarga.s 1
L_0066: call Verse.Thing get_Thing()
L_006b: isinst Verse.Pawn
L_0070: stloc.1
L_0071: ldloc.1
L_0072: brfalse Label3
L_0077: ldloc.1
L_0078: ldfld RimWorld.Pawn_SkillTracker skills
L_007d: brfalse Label4
L_0082: ldarg.0
L_0083: ldfld RimWorld.StatDef stat
L_0088: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_008d: brfalse Label5
L_0092: ldc.i4.0
L_0093: stloc.2
L_0094: br Label6
L_0099: Label7
L_0099: ldloc.0
L_009a: ldarg.0
L_009b: ldfld RimWorld.StatDef stat
L_00a0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00a5: ldloc.2
L_00a6: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00ab: ldloc.1
L_00ac: callvirt Single ValueFor(Verse.Pawn)
L_00b1: add
L_00b2: stloc.0
L_00b3: ldloc.2
L_00b4: ldc.i4.1
L_00b5: add
L_00b6: stloc.2
L_00b7: Label6
L_00b7: ldloc.2
L_00b8: ldarg.0
L_00b9: ldfld RimWorld.StatDef stat
L_00be: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00c3: callvirt Int32 get_Count()
L_00c8: blt Label7
L_00cd: Label5
L_00cd: br Label8
L_00d2: Label4
L_00d2: ldloc.0
L_00d3: ldarg.0
L_00d4: ldfld RimWorld.StatDef stat
L_00d9: ldfld System.Single noSkillOffset
L_00de: add
L_00df: stloc.0
L_00e0: Label8
L_00e0: ldarg.0
L_00e1: ldfld RimWorld.StatDef stat
L_00e6: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_00eb: brfalse Label9
L_00f0: ldc.i4.0
L_00f1: stloc.3
L_00f2: br Label10
L_00f7: Label11
L_00f7: ldarg.0
L_00f8: ldfld RimWorld.StatDef stat
L_00fd: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_0102: ldloc.3
L_0103: callvirt RimWorld.PawnCapacityOffset get_Item(Int32)
L_0108: stloc.s 4 (RimWorld.PawnCapacityOffset)
L_010a: ldloc.0
L_010b: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_010d: ldloc.1
L_010e: ldfld Verse.Pawn_HealthTracker health
L_0113: ldfld Verse.PawnCapacitiesHandler capacities
L_0118: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_011a: ldfld Verse.PawnCapacityDef capacity
L_011f: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0124: callvirt Single GetOffset(Single)
L_0129: add
L_012a: stloc.0
L_012b: ldloc.3
L_012c: ldc.i4.1
L_012d: add
L_012e: stloc.3
L_012f: Label10
L_012f: ldloc.3
L_0130: ldarg.0
L_0131: ldfld RimWorld.StatDef stat
L_0136: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_013b: callvirt Int32 get_Count()
L_0140: blt Label11
L_0145: Label9
L_0145: ldloc.1
L_0146: ldfld RimWorld.Pawn_StoryTracker story
L_014b: brfalse Label12
L_0150: ldc.i4.0
L_0151: stloc.s 5 (System.Int32)
L_0153: br Label13
L_0158: Label14
L_0158: ldloc.0
L_0159: ldloc.1
L_015a: ldfld RimWorld.Pawn_StoryTracker story
L_015f: ldfld RimWorld.TraitSet traits
L_0164: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0169: ldloc.s 5 (System.Int32)
L_016b: callvirt RimWorld.Trait get_Item(Int32)
L_0170: ldarg.0
L_0171: ldfld RimWorld.StatDef stat
L_0176: callvirt Single OffsetOfStat(RimWorld.StatDef)
L_017b: add
L_017c: stloc.0
L_017d: ldloc.s 5 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 5 (System.Int32)
L_0183: Label13
L_0183: ldloc.s 5 (System.Int32)
L_0185: ldloc.1
L_0186: ldfld RimWorld.Pawn_StoryTracker story
L_018b: ldfld RimWorld.TraitSet traits
L_0190: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0195: callvirt Int32 get_Count()
L_019a: blt Label14
L_019f: Label12
L_019f: ldloc.1
L_01a0: ldfld Verse.Pawn_HealthTracker health
L_01a5: ldfld Verse.HediffSet hediffSet
L_01aa: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_01af: stloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01b1: ldc.i4.0
L_01b2: stloc.s 7 (System.Int32)
L_01b4: br Label15
L_01b9: Label17
L_01b9: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01bb: ldloc.s 7 (System.Int32)
L_01bd: callvirt Verse.Hediff get_Item(Int32)
L_01c2: callvirt Verse.HediffStage get_CurStage()
L_01c7: stloc.s 8 (Verse.HediffStage)
L_01c9: ldloc.s 8 (Verse.HediffStage)
L_01cb: brfalse Label16
L_01d0: ldloc.0
L_01d1: ldloc.s 8 (Verse.HediffStage)
L_01d3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_01d8: ldarg.0
L_01d9: ldfld RimWorld.StatDef stat
L_01de: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_01e3: add
L_01e4: stloc.0
L_01e5: Label16
L_01e5: ldloc.s 7 (System.Int32)
L_01e7: ldc.i4.1
L_01e8: add
L_01e9: stloc.s 7 (System.Int32)
L_01eb: Label15
L_01eb: ldloc.s 7 (System.Int32)
L_01ed: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01ef: callvirt Int32 get_Count()
L_01f4: blt Label17
L_01f9: ldloc.1
L_01fa: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ff: brfalse Label18
L_0204: ldc.i4.0
L_0205: stloc.s 9 (System.Int32)
L_0207: br Label19
L_020c: Label20
L_020c: ldloc.0
L_020d: ldloc.1
L_020e: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0213: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0218: ldloc.s 9 (System.Int32)
L_021a: callvirt RimWorld.Apparel get_Item(Int32)
L_021f: ldarg.0
L_0220: ldfld RimWorld.StatDef stat
L_0225: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_022a: add
L_022b: stloc.0
L_022c: ldloc.s 9 (System.Int32)
L_022e: ldc.i4.1
L_022f: add
L_0230: stloc.s 9 (System.Int32)
L_0232: Label19
L_0232: ldloc.s 9 (System.Int32)
L_0234: ldloc.1
L_0235: ldfld RimWorld.Pawn_ApparelTracker apparel
L_023a: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_023f: callvirt Int32 get_Count()
L_0244: blt Label20
L_0249: Label18
L_0249: ldloc.1
L_024a: ldfld Verse.Pawn_EquipmentTracker equipment
L_024f: brfalse Label21
L_0254: ldloc.1
L_0255: ldfld Verse.Pawn_EquipmentTracker equipment
L_025a: callvirt Verse.ThingWithComps get_Primary()
L_025f: brfalse Label22
L_0264: ldloc.0
L_0265: ldloc.1
L_0266: ldfld Verse.Pawn_EquipmentTracker equipment
L_026b: callvirt Verse.ThingWithComps get_Primary()
L_0270: ldarg.0
L_0271: ldfld RimWorld.StatDef stat
L_0276: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_027b: add
L_027c: stloc.0
L_027d: Label21
L_027d: Label22
L_027d: ldloc.1
L_027e: ldfld RimWorld.Pawn_StoryTracker story
L_0283: brfalse Label23
L_0288: ldc.i4.0
L_0289: stloc.s 10 (System.Int32)
L_028b: br Label24
L_0290: Label25
L_0290: ldloc.0
L_0291: ldloc.1
L_0292: ldfld RimWorld.Pawn_StoryTracker story
L_0297: ldfld RimWorld.TraitSet traits
L_029c: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02a1: ldloc.s 10 (System.Int32)
L_02a3: callvirt RimWorld.Trait get_Item(Int32)
L_02a8: ldarg.0
L_02a9: ldfld RimWorld.StatDef stat
L_02ae: callvirt Single MultiplierOfStat(RimWorld.StatDef)
L_02b3: mul
L_02b4: stloc.0
L_02b5: ldloc.s 10 (System.Int32)
L_02b7: ldc.i4.1
L_02b8: add
L_02b9: stloc.s 10 (System.Int32)
L_02bb: Label24
L_02bb: ldloc.s 10 (System.Int32)
L_02bd: ldloc.1
L_02be: ldfld RimWorld.Pawn_StoryTracker story
L_02c3: ldfld RimWorld.TraitSet traits
L_02c8: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02cd: callvirt Int32 get_Count()
L_02d2: blt Label25
L_02d7: Label23
L_02d7: ldloc.0
L_02d8: ldloc.1
L_02d9: ldfld Verse.Pawn_AgeTracker ageTracker
L_02de: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_02e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_02e8: ldarg.0
L_02e9: ldfld RimWorld.StatDef stat
L_02ee: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_02f3: mul
L_02f4: stloc.0
L_02f5: Label3
L_02f5: ldarga.s 1
L_02f7: call Verse.ThingDef get_StuffDef()
L_02fc: brfalse Label26
L_0301: ldloc.0
L_0302: ldc.r4 0
L_0307: bgt Label27
L_030c: ldarg.0
L_030d: ldfld RimWorld.StatDef stat
L_0312: ldfld System.Boolean applyFactorsIfNegative
L_0317: brfalse Label28
L_031c: Label27
L_031c: ldloc.0
L_031d: ldarga.s 1
L_031f: call Verse.ThingDef get_StuffDef()
L_0324: ldfld Verse.StuffProperties stuffProps
L_0329: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_032e: ldarg.0
L_032f: ldfld RimWorld.StatDef stat
L_0334: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0339: mul
L_033a: stloc.0
L_033b: Label28
L_033b: ldloc.0
L_033c: ldarga.s 1
L_033e: call Verse.ThingDef get_StuffDef()
L_0343: ldfld Verse.StuffProperties stuffProps
L_0348: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_034d: ldarg.0
L_034e: ldfld RimWorld.StatDef stat
L_0353: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0358: add
L_0359: stloc.0
L_035a: Label26
L_035a: ldarga.s 1
L_035c: call Boolean get_HasThing()
L_0361: brfalse Label29
L_0366: ldarga.s 1
L_0368: call Verse.Thing get_Thing()
L_036d: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0372: stloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0374: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0376: brfalse Label30
L_037b: ldloc.0
L_037c: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_037e: ldarg.0
L_037f: ldfld RimWorld.StatDef stat
L_0384: callvirt Single GetStatOffset(RimWorld.StatDef)
L_0389: add
L_038a: stloc.0
L_038b: Label30
L_038b: ldarg.0
L_038c: ldfld RimWorld.StatDef stat
L_0391: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0396: brfalse Label31
L_039b: ldc.i4.0
L_039c: stloc.s 12 (System.Int32)
L_039e: br Label32
L_03a3: Label33
L_03a3: ldloc.0
L_03a4: ldarga.s 1
L_03a6: call Verse.Thing get_Thing()
L_03ab: ldarg.0
L_03ac: ldfld RimWorld.StatDef stat
L_03b1: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03b6: ldloc.s 12 (System.Int32)
L_03b8: callvirt RimWorld.StatDef get_Item(Int32)
L_03bd: ldc.i4.1
L_03be: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_03c3: mul
L_03c4: stloc.0
L_03c5: ldloc.s 12 (System.Int32)
L_03c7: ldc.i4.1
L_03c8: add
L_03c9: stloc.s 12 (System.Int32)
L_03cb: Label32
L_03cb: ldloc.s 12 (System.Int32)
L_03cd: ldarg.0
L_03ce: ldfld RimWorld.StatDef stat
L_03d3: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03d8: callvirt Int32 get_Count()
L_03dd: blt Label33
L_03e2: Label31
L_03e2: ldloc.1
L_03e3: brfalse Label34
L_03e8: ldloc.1
L_03e9: ldfld RimWorld.Pawn_SkillTracker skills
L_03ee: brfalse Label35
L_03f3: ldarg.0
L_03f4: ldfld RimWorld.StatDef stat
L_03f9: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_03fe: brfalse Label36
L_0403: ldc.i4.0
L_0404: stloc.s 13 (System.Int32)
L_0406: br Label37
L_040b: Label38
L_040b: ldloc.0
L_040c: ldarg.0
L_040d: ldfld RimWorld.StatDef stat
L_0412: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0417: ldloc.s 13 (System.Int32)
L_0419: callvirt RimWorld.SkillNeed get_Item(Int32)
L_041e: ldloc.1
L_041f: callvirt Single ValueFor(Verse.Pawn)
L_0424: mul
L_0425: stloc.0
L_0426: ldloc.s 13 (System.Int32)
L_0428: ldc.i4.1
L_0429: add
L_042a: stloc.s 13 (System.Int32)
L_042c: Label37
L_042c: ldloc.s 13 (System.Int32)
L_042e: ldarg.0
L_042f: ldfld RimWorld.StatDef stat
L_0434: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0439: callvirt Int32 get_Count()
L_043e: blt Label38
L_0443: Label36
L_0443: br Label39
L_0448: Label35
L_0448: ldloc.0
L_0449: ldarg.0
L_044a: ldfld RimWorld.StatDef stat
L_044f: ldfld System.Single noSkillFactor
L_0454: mul
L_0455: stloc.0
L_0456: Label39
L_0456: ldarg.0
L_0457: ldfld RimWorld.StatDef stat
L_045c: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0461: brfalse Label40
L_0466: ldc.i4.0
L_0467: stloc.s 14 (System.Int32)
L_0469: br Label41
L_046e: Label42
L_046e: ldarg.0
L_046f: ldfld RimWorld.StatDef stat
L_0474: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0479: ldloc.s 14 (System.Int32)
L_047b: callvirt RimWorld.PawnCapacityFactor get_Item(Int32)
L_0480: stloc.s 15 (RimWorld.PawnCapacityFactor)
L_0482: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0484: ldloc.1
L_0485: ldfld Verse.Pawn_HealthTracker health
L_048a: ldfld Verse.PawnCapacitiesHandler capacities
L_048f: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0491: ldfld Verse.PawnCapacityDef capacity
L_0496: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_049b: callvirt Single GetFactor(Single)
L_04a0: stloc.s 16 (System.Single)
L_04a2: ldloc.0
L_04a3: ldloc.0
L_04a4: ldloc.s 16 (System.Single)
L_04a6: mul
L_04a7: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_04a9: ldfld System.Single weight
L_04ae: call Single Lerp(Single, Single, Single)
L_04b3: stloc.0
L_04b4: ldloc.s 14 (System.Int32)
L_04b6: ldc.i4.1
L_04b7: add
L_04b8: stloc.s 14 (System.Int32)
L_04ba: Label41
L_04ba: ldloc.s 14 (System.Int32)
L_04bc: ldarg.0
L_04bd: ldfld RimWorld.StatDef stat
L_04c2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_04c7: callvirt Int32 get_Count()
L_04cc: blt Label42
L_04d1: Label40
L_04d1: ldloc.1
L_04d2: callvirt Boolean get_Inspired()
L_04d7: brfalse Label43
L_04dc: ldloc.0
L_04dd: ldloc.1
L_04de: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_04e8: ldarg.0
L_04e9: ldfld RimWorld.StatDef stat
L_04ee: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_04f3: add
L_04f4: stloc.0
L_04f5: ldloc.0
L_04f6: ldloc.1
L_04f7: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04fc: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0501: ldarg.0
L_0502: ldfld RimWorld.StatDef stat
L_0507: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_050c: mul
L_050d: stloc.0
L_050e: Label29
L_050e: Label34
L_050e: Label43
L_050e: ldloc.0
L_050f: stloc 17 (System.Single)
L_0511: ldarg.0
L_0512: ldloca 17 (System.Single)
L_0514: ldarga 1
L_051a: ldarg 2
L_0520: call Void Patch_StatWorker_GetValueUnfinalized(RimWorld.StatWorker, Single
ByRef, StatRequest ByRef, Boolean)
L_0525: ldloc 17 (System.Single)
L_0527: ret
DONE

### Patch RimWorld.Dialog_ManageAreas, Void .ctor(Map)


L_0000: ldarg.0
L_0001: call Void .ctor()
L_0006: ldarg.0
L_0007: ldarg.1
L_0008: stfld Verse.Map map
L_000d: ldarg.0
L_000e: ldc.i4.1
L_000f: stfld System.Boolean forcePause
L_0014: ldarg.0
L_0015: ldc.i4.1
L_0016: stfld System.Boolean doCloseX
L_001b: ldarg.0
L_001c: ldc.i4.1
L_001d: stfld System.Boolean doCloseButton
L_0022: ldarg.0
L_0023: ldc.i4.1
L_0024: stfld System.Boolean closeOnClickedOutside
L_0029: ldarg.0
L_002a: ldc.i4.1
L_002b: stfld System.Boolean absorbInputAroundWindow
L_0030: call Void Postfix()
L_0035: ret
DONE
### Patch RimWorld.Area_Allowed, Int32 get_ListPriority()
L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldc.i4 500
L_000b: stloc 0 (System.Int32)
L_000c: ldarg.0
L_000d: ldloca 0 (System.Int32)
L_000f: call Void ListPriority_Postfix(RimWorld.Area_Allowed, Int32 ByRef)
L_0014: ldloc 0 (System.Int32)
L_0015: ret
DONE

### Patch RimWorld.InspectGizmoGrid, Void DrawInspectGizmoGridFor(IEnumerable`1,


Verse.Gizmo ByRef)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.ISelectable
L_0000: Local var 2: System.Int32
L_0000: Local var 3:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1
L_0000: Local var 4: System.Collections.Generic.List`1[[Verse.Designator, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 5: System.Int32
L_0000: Local var 6:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0
L_0000: Local var 7: Verse.AcceptanceReport
L_0000: Local var 8: System.Single
L_0000: Local var 9: UnityEngine.Vector2
L_0000: Local var 10: Verse.Command_Action
L_0000: Local var 11: System.Exception
L_0000: call Void ClearReverseDesignatorPairs()
L_0005: ldarg.1
L_0006: ldnull
L_0007: stind.ref
.try
{
L_0008: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_000d: callvirt Void Clear()
L_0012: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0017: ldarg.0
L_0018: callvirt Void AddRange(IEnumerable`1)
L_001d: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0022: callvirt Void Clear()
L_0027: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_002c: call IEnumerable`1 GetStopGizmos()
L_0031: call Void AddRange(IEnumerable`1)
L_0036: ldc.i4.0
L_0037: stloc.0
L_0038: br Label1
L_003d: Label3
L_003d: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0042: ldloc.0
L_0043: callvirt System.Object get_Item(Int32)
L_0048: isinst Verse.ISelectable
L_004d: stloc.1
L_004e: ldloc.1
L_004f: brfalse Label2
L_0054: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0059: ldloc.1
L_005a: callvirt IEnumerable`1 GetGizmos()
L_005f: callvirt Void AddRange(IEnumerable`1)
L_0064: Label2
L_0064: ldloc.0
L_0065: ldc.i4.1
L_0066: add
L_0067: stloc.0
L_0068: Label1
L_0068: ldloc.0
L_0069: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_006e: callvirt Int32 get_Count()
L_0073: blt Label3
L_0078: ldc.i4.0
L_0079: stloc.2
L_007a: br Label4
L_007f: Label12
L_007f: newobj Void .ctor()
L_0084: stloc.3
L_0085: ldloc.3
L_0086: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_008b: ldloc.2
L_008c: callvirt System.Object get_Item(Int32)
L_0091: isinst Verse.Thing
L_0096: stfld Verse.Thing t
L_009b: ldloc.3
L_009c: ldfld Verse.Thing t
L_00a1: brtrue Label5
L_00a6: leave Label6
L_00ab: Label5
L_00ab: call Verse.ReverseDesignatorDatabase get_ReverseDesignatorDatabase()
L_00b0: callvirt System.Collections.Generic.List`1[Verse.Designator]
get_AllDesignators()
L_00b5: stloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00b7: ldc.i4.0
L_00b8: stloc.s 5 (System.Int32)
L_00ba: br Label7
L_00bf: Label11
L_00bf: newobj Void .ctor()
L_00c4: stloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c8: ldloc.3
L_00c9: stfld
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1 <>f__ref$1
L_00ce: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00d0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00d2: ldloc.s 5 (System.Int32)
L_00d4: callvirt Verse.Designator get_Item(Int32)
L_00d9: stfld Verse.Designator des
L_00de: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00e0: ldfld Verse.Designator des
L_00e5: ldloc.3
L_00e6: ldfld Verse.Thing t
L_00eb: callvirt AcceptanceReport CanDesignateThing(Verse.Thing)
L_00f0: stloc.s 7 (Verse.AcceptanceReport)
L_00f2: ldloca.s 7 (Verse.AcceptanceReport)
L_00f4: call Boolean get_Accepted()
L_00f9: brfalse Label8
L_00fe: newobj Void .ctor()
L_0103: stloc.s 10 (Verse.Command_Action)
L_0105: ldloc.s 10 (Verse.Command_Action)
L_0107: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0109: ldfld Verse.Designator des
L_010e: ldloc.3
L_010f: ldfld Verse.Thing t
L_0114: callvirt System.String LabelCapReverseDesignating(Verse.Thing)
L_0119: stfld System.String defaultLabel
L_011e: ldloc.s 10 (Verse.Command_Action)
L_0120: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0122: ldfld Verse.Designator des
L_0127: ldloc.3
L_0128: ldfld Verse.Thing t
L_012d: ldloca.s 8 (System.Single)
L_012f: ldloca.s 9 (UnityEngine.Vector2)
L_0131: callvirt UnityEngine.Texture2D IconReverseDesignating(Verse.Thing,
Single ByRef, Vector2 ByRef)
L_0136: stfld UnityEngine.Texture2D icon
L_013b: ldloc.s 10 (Verse.Command_Action)
L_013d: ldloc.s 8 (System.Single)
L_013f: stfld System.Single iconAngle
L_0144: ldloc.s 10 (Verse.Command_Action)
L_0146: ldloc.s 9 (UnityEngine.Vector2)
L_0148: stfld UnityEngine.Vector2 iconOffset
L_014d: ldloc.s 10 (Verse.Command_Action)
L_014f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0151: ldfld Verse.Designator des
L_0156: ldloc.3
L_0157: ldfld Verse.Thing t
L_015c: callvirt System.String DescReverseDesignating(Verse.Thing)
L_0161: stfld System.String defaultDesc
L_0166: ldloc.s 10 (Verse.Command_Action)
L_0168: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_016a: ldfld Verse.Designator des
L_016f: isinst RimWorld.Designator_Uninstall
L_0174: brfalse Label9
L_0179: ldc.r4 -11
L_017e: br Label10
L_0183: Label9
L_0183: ldc.r4 -20
L_0188: Label10
L_0188: stfld System.Single order
L_018d: ldloc.s 10 (Verse.Command_Action)
L_018f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0191: ldftn Void <>m__0()
L_0197: newobj Void .ctor(Object, IntPtr)
L_019c: stfld System.Action action
L_01a1: ldloc.s 10 (Verse.Command_Action)
L_01a3: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01a5: ldfld Verse.Designator des
L_01aa: ldfld Verse.KeyBindingDef hotKey
L_01af: stfld Verse.KeyBindingDef hotKey
L_01b4: ldloc.s 10 (Verse.Command_Action)
L_01b6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01b8: ldfld Verse.Designator des
L_01bd: ldfld System.Int32 groupKey
L_01c2: stfld System.Int32 groupKey
L_01c7: ldloc.s 6
L_01cc: ldfld Verse.Designator des
L_01d1: ldloc 10
L_01d7: call Void RegisterReverseDesignatorPair(Verse.Designator,
Verse.Command_Action)
L_01dc: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_01e1: ldloc.s 10 (Verse.Command_Action)
L_01e3: callvirt Void Add(Verse.Gizmo)
L_01e8: Label8
L_01e8: ldloc.s 5 (System.Int32)
L_01ea: ldc.i4.1
L_01eb: add
L_01ec: stloc.s 5 (System.Int32)
L_01ee: Label7
L_01ee: ldloc.s 5 (System.Int32)
L_01f0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_01f2: callvirt Int32 get_Count()
L_01f7: blt Label11
L_01fc: Label6
L_01fc: ldloc.2
L_01fd: ldc.i4.1
L_01fe: add
L_01ff: stloc.2
L_0200: Label4
L_0200: ldloc.2
L_0201: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0206: callvirt Int32 get_Count()
L_020b: blt Label12
L_0210: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0215: callvirt Void Clear()
L_021a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_021f: call Verse.WindowStack get_WindowStack()
L_0224: callvirt IInspectPane WindowOfType[IInspectPane]()
L_0229: call Single PaneWidthFor(IInspectPane)
L_022e: ldc.r4 20
L_0233: add
L_0234: ldarg.1
L_0235: call Void DrawGizmoGrid(IEnumerable`1, Single, Verse.Gizmo ByRef)
L_023a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_023f: callvirt Void Clear()
L_0244: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0249: call IEnumerable`1 GetStopGizmos()
L_024e: call Void AddRange(IEnumerable`1)
L_0253: leave Label13
L_0258: leave (autogenerated)
} // end try
.catch System.Exception
{
L_025d: stloc.s 11 (System.Exception)
L_025f: ldloc.s 11 (System.Exception)
L_0261: callvirt System.String ToString()
L_0266: ldc.i4 3427734
L_026b: ldc.i4.0
L_026c: call Void ErrorOnce(System.String, Int32, Boolean)
L_0271: leave Label14
L_0276: leave (autogenerated)
} // end handler
L_027b: Label13
L_027b: Label14
L_027b: ret
DONE

### Patch Verse.PawnUIOverlay, Void DrawPawnGUIOverlay()


L_0000: Local var 0: Verse.AnimalNameDisplayMode
L_0000: Local var 1: UnityEngine.Vector2
L_0000: ldarg.0
L_0001: ldfld Verse.Pawn pawn
L_0006: callvirt Boolean get_Spawned()
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldfld Verse.Pawn pawn
L_0016: callvirt Verse.Map get_Map()
L_001b: ldfld Verse.FogGrid fogGrid
L_0020: ldarg.0
L_0021: ldfld Verse.Pawn pawn
L_0026: callvirt IntVec3 get_Position()
L_002b: callvirt Boolean IsFogged(IntVec3)
L_0030: brfalse Label2
L_0035: Label1
L_0035: br Label14
L_003a: Label2
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt Verse.RaceProperties get_RaceProps()
L_0045: callvirt Boolean get_Humanlike()
L_004a: brtrue Label3
L_004f: call AnimalNameDisplayMode get_AnimalNameMode()
L_0054: stloc.0
L_0055: ldloc.0
L_0056: brfalse Label4
L_005b: ldloc.0
L_005c: ldc.i4.2
L_005d: beq Label5
L_0062: ldloc.0
L_0063: ldc.i4.1
L_0064: beq Label6
L_0069: br Label7
L_006e: Label4
L_006e: br Label15
L_0073: Label5
L_0073: ldarg.0
L_0074: ldfld Verse.Pawn pawn
L_0079: callvirt Verse.Name get_Name()
L_007e: brtrue Label8
L_0083: br Label16
L_0088: Label8
L_0088: br Label9
L_008d: Label6
L_008d: ldarg.0
L_008e: ldfld Verse.Pawn pawn
L_0093: callvirt Verse.Name get_Name()
L_0098: brfalse Label10
L_009d: ldarg.0
L_009e: ldfld Verse.Pawn pawn
L_00a3: callvirt Verse.Name get_Name()
L_00a8: callvirt Boolean get_Numerical()
L_00ad: brfalse Label11
L_00b2: Label10
L_00b2: br Label17
L_00b7: Label11
L_00b7: br Label12
L_00bc: Label3
L_00bc: Label7
L_00bc: Label9
L_00bc: Label12
L_00bc: ldarg.0
L_00bd: ldfld Verse.Pawn pawn
L_00c2: ldc.r4 -0.6
L_00c7: call Vector2 LabelDrawPosFor(Verse.Thing, Single)
L_00cc: stloc.1
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: ldloc.1
L_00d4: ldc.r4 1
L_00d9: ldc.r4 9999
L_00de: ldnull
L_00df: ldc.i4.0
L_00e0: ldc.i4.1
L_00e1: ldc.i4.1
L_00e2: call Void DrawPawnLabel(Verse.Pawn, Vector2, Single, Single,
System.Collections.Generic.Dictionary`2[System.String,System.String], GameFont,
Boolean, Boolean)
L_00e7: ldarg.0
L_00e8: ldfld Verse.Pawn pawn
L_00ed: callvirt Boolean get_CanTradeNow()
L_00f2: brfalse Label13
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: callvirt Verse.Map get_Map()
L_0102: ldfld RimWorld.OverlayDrawer overlayDrawer
L_0107: ldarg.0
L_0108: ldfld Verse.Pawn pawn
L_010d: ldc.i4.s 32
L_010f: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0114: Label13
L_0114: Label14
L_0114: Label15
L_0114: Label16
L_0114: Label17
L_0114: ldarg.0
L_0115: call Void DrawPawnGUIOverlay(Verse.PawnUIOverlay)
L_011a: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ldarg.0
L_0424: ldarg 1
L_042a: ldarg 2
L_0430: ldarg 3
L_0436: call Void RenderPawnAt(Verse.PawnRenderer, Vector3, RotDrawMode, Boolean)
L_043b: ret
DONE

### Patch RimWorld.IncidentWorker_VisitorGroup, Boolean


TryConvertOnePawnToSmallTrader(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map)
L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: RimWorld.TraderKindDef
L_0000: Local var 3: RimWorld.ThingSetMakerParams
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: Verse.IntVec3
L_0000: Local var 8: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Boolean)
L_0007: ldarg.2
L_0008: ldfld RimWorld.FactionDef def
L_000d: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_0012: call Boolean NullOrEmpty[TraderKindDef](IList`1)
L_0017: brfalse Label1
L_001c: ldc.i4.0
L_001d: br Label10
L_0022: Label1
L_0022: ldarg.1
L_0023: call Verse.Pawn RandomElement[Pawn](IEnumerable`1)
L_0028: stloc.0
L_0029: ldloc.0
L_002a: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_002f: stloc.1
L_0030: ldloc.0
L_0031: ldfld Verse.AI.Pawn_MindState mindState
L_0036: ldc.i4.1
L_0037: stfld System.Boolean wantsToTradeWithColony
L_003c: ldloc.0
L_003d: ldc.i4.1
L_003e: call Void AddAndRemoveDynamicComponents(Verse.Pawn, Boolean)
L_0043: ldarg.2
L_0044: ldfld RimWorld.FactionDef def
L_0049: ldfld System.Collections.Generic.List`1[RimWorld.TraderKindDef]
visitorTraderKinds
L_004e: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0053: brtrue Label2
L_0058: ldnull
L_0059: ldftn Single <TryConvertOnePawnToSmallTrader>m__0(RimWorld.TraderKindDef)
L_005f: newobj Void .ctor(Object, IntPtr)
L_0064: stsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_0069: Label2
L_0069: ldsfld System.Func`2[RimWorld.TraderKindDef,System.Single] <>f__am$cache0
L_006e: call RimWorld.TraderKindDef RandomElementByWeight[TraderKindDef]
(IEnumerable`1, System.Func`2[RimWorld.TraderKindDef,System.Single])
L_0073: stloc.2
L_0074: ldloc.0
L_0075: ldfld RimWorld.Pawn_TraderTracker trader
L_007a: ldloc.2
L_007b: stfld RimWorld.TraderKindDef traderKind
L_0080: ldloc.0
L_0081: ldfld Verse.Pawn_InventoryTracker inventory
L_0086: ldc.i4.0
L_0087: callvirt Void DestroyAll(DestroyMode)
L_008c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_008e: initobj RimWorld.ThingSetMakerParams
L_0094: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_0096: ldloc.2
L_0097: stfld RimWorld.TraderKindDef traderDef
L_009c: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_009e: ldarg.3
L_009f: callvirt Int32 get_Tile()
L_00a4: newobj Void .ctor(Int32)
L_00a9: stfld System.Nullable`1[System.Int32] tile
L_00ae: ldloca.s 3 (RimWorld.ThingSetMakerParams)
L_00b0: ldarg.2
L_00b1: stfld RimWorld.Faction traderFaction
L_00b6: ldsfld RimWorld.ThingSetMakerDef TraderStock
L_00bb: ldfld RimWorld.ThingSetMaker root
L_00c0: ldloc.3
L_00c1: callvirt System.Collections.Generic.List`1[Verse.Thing]
Generate(ThingSetMakerParams)
L_00c6: callvirt Enumerator GetEnumerator()
L_00cb: stloc.s 5 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_00cd: br Label3
L_00d2: Label8
L_00d2: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_00d4: call Verse.Thing get_Current()
L_00d9: stloc.s 4 (Verse.Thing)
L_00db: ldloc.s 4 (Verse.Thing)
L_00dd: isinst Verse.Pawn
L_00e2: stloc.s 6 (Verse.Pawn)
L_00e4: ldloc.s 6 (Verse.Pawn)
L_00e6: brfalse Label4
L_00eb: ldloc.s 6 (Verse.Pawn)
L_00ed: callvirt RimWorld.Faction get_Faction()
L_00f2: ldloc.0
L_00f3: callvirt RimWorld.Faction get_Faction()
L_00f8: beq Label5
L_00fd: ldloc.s 6 (Verse.Pawn)
L_00ff: ldloc.0
L_0100: callvirt RimWorld.Faction get_Faction()
L_0105: ldnull
L_0106: callvirt Void SetFaction(RimWorld.Faction, Verse.Pawn)
L_010b: Label5
L_010b: ldloc.0
L_010c: callvirt IntVec3 get_Position()
L_0111: ldarg.3
L_0112: ldc.i4.5
L_0113: ldnull
L_0114: call IntVec3 RandomClosewalkCellNear(IntVec3, Verse.Map, Int32,
System.Predicate`1[Verse.IntVec3])
L_0119: stloc.s 7 (Verse.IntVec3)
L_011b: ldloc.s 6 (Verse.Pawn)
L_011d: ldloc.s 7 (Verse.IntVec3)
L_011f: ldarg.3
L_0120: ldc.i4.0
L_0121: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, WipeMode)
L_0126: pop
L_0127: ldloc.1
L_0128: ldloc.s 6 (Verse.Pawn)
L_012a: callvirt Void AddPawn(Verse.Pawn)
L_012f: br Label6
L_0134: Label4
L_0134: ldloc.0
L_0135: ldfld Verse.Pawn_InventoryTracker inventory
L_013a: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_013f: ldloc.s 4 (Verse.Thing)
L_0141: ldc.i4.1
L_0142: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0147: brtrue Label7
L_014c: ldloc.s 4 (Verse.Thing)
L_014e: ldc.i4.0
L_014f: callvirt Void Destroy(DestroyMode)
L_0154: Label3
L_0154: Label6
L_0154: Label7
L_0154: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0156: call Boolean MoveNext()
L_015b: brtrue Label8
L_0160: leave Label9
L_0165: leave (autogenerated)
} // end try
.finally
{
L_016a: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_016c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_0172: callvirt Void Dispose()
L_0177: endfinally
L_0178: leave (autogenerated)
} // end handler
L_0179: Label9
L_0179: ldloc.0
L_017a: call Void GiveRandomFood(Verse.Pawn)
L_017f: ldc.i4.1
L_0180: Label10
L_0180: stloc 8 (System.Boolean)
L_0182: ldarg 1
L_0188: ldarg 2
L_018e: ldarg 3
L_0194: ldloca 8 (System.Boolean)
L_0196: call Void AddQuestGiver(System.Collections.Generic.List`1[Verse.Pawn],
RimWorld.Faction, Verse.Map, Boolean ByRef)
L_019b: ldloc 8 (System.Boolean)
L_019d: ret
DONE

### Patch RimWorld.PawnGroupKindWorker_Trader, Void


GenerateGuards(RimWorld.PawnGroupMakerParms, RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Single
L_0000: Local var 1: RimWorld.PawnGenOption
L_0000: Local var 2:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnGenOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: Verse.PawnGenerationRequest
L_0000: Local var 4: Verse.PawnKindDef
L_0000: Local var 5: RimWorld.Faction
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Boolean
L_0000: Local var 8: System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var 9: System.Nullable`1[[Verse.Gender, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 10: Verse.Pawn
L_0000: ldarg.2
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0006: call Boolean Any[PawnGenOption]
(System.Collections.Generic.List`1[RimWorld.PawnGenOption])
L_000b: brtrue Label1
L_0010: br Label6
L_0015: Label1
L_0015: ldarg.1
L_0016: ldfld System.Single points
L_001b: stloc.0
L_001c: ldloc.0
L_001d: ldarg.2
L_001e: ldfld System.Collections.Generic.List`1[RimWorld.PawnGenOption] guards
L_0023: ldarg.1
L_0024: call IEnumerable`1 ChoosePawnGenOptionsByPoints(Single,
System.Collections.Generic.List`1[RimWorld.PawnGenOption],
RimWorld.PawnGroupMakerParms)
L_0029: callvirt IEnumerator`1 GetEnumerator()
L_002e: stloc.2
.try
{
L_002f: br Label2
L_0034: Label3
L_0034: ldloc.2
L_0035: callvirt RimWorld.PawnGenOption get_Current()
L_003a: stloc.1
L_003b: ldloca.s 3 (Verse.PawnGenerationRequest)
L_003d: ldloc.1
L_003e: ldfld Verse.PawnKindDef kind
L_0043: stloc.s 4 (Verse.PawnKindDef)
L_0045: ldarg.1
L_0046: ldfld RimWorld.Faction faction
L_004b: stloc.s 5 (RimWorld.Faction)
L_004d: ldarg.1
L_004e: ldfld System.Int32 tile
L_0053: stloc.s 6 (System.Int32)
L_0055: ldarg.1
L_0056: ldfld System.Boolean inhabitants
L_005b: stloc.s 7 (System.Boolean)
L_005d: ldloc.s 4 (Verse.PawnKindDef)
L_005f: ldloc.s 5 (RimWorld.Faction)
L_0061: ldc.i4.2
L_0062: ldloc.s 6 (System.Int32)
L_0064: ldc.i4.0
L_0065: ldc.i4.0
L_0066: ldc.i4.0
L_0067: ldc.i4.0
L_0068: ldc.i4.1
L_0069: ldc.i4.1
L_006a: ldc.r4 1
L_006f: ldc.i4.0
L_0070: ldc.i4.1
L_0071: ldc.i4.1
L_0072: ldloc.s 7 (System.Boolean)
L_0074: ldc.i4.0
L_0075: ldc.i4.0
L_0076: ldc.i4.0
L_0077: ldnull
L_0078: ldnull
L_0079: ldloca.s 8 (System.Nullable`1[System.Single])
L_007b: initobj System.Nullable`1[System.Single]
L_0081: ldloc.s 8 (System.Nullable`1[System.Single])
L_0083: ldloca.s 8 (System.Nullable`1[System.Single])
L_0085: initobj System.Nullable`1[System.Single]
L_008b: ldloc.s 8 (System.Nullable`1[System.Single])
L_008d: ldloca.s 8 (System.Nullable`1[System.Single])
L_008f: initobj System.Nullable`1[System.Single]
L_0095: ldloc.s 8 (System.Nullable`1[System.Single])
L_0097: ldloca.s 9 (System.Nullable`1[Verse.Gender])
L_0099: initobj System.Nullable`1[Verse.Gender]
L_009f: ldloc.s 9 (System.Nullable`1[Verse.Gender])
L_00a1: ldloca.s 8 (System.Nullable`1[System.Single])
L_00a3: initobj System.Nullable`1[System.Single]
L_00a9: ldloc.s 8 (System.Nullable`1[System.Single])
L_00ab: ldnull
L_00ac: call Void .ctor(PawnKindDef, Faction, PawnGenerationContext, Int32,
Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Single, Boolean, Boolean,
Boolean, Boolean, Boolean, Boolean, Boolean, Predicate`1, Predicate`1, Nullable`1,
Nullable`1, Nullable`1, Nullable`1, Nullable`1, String)
L_00b1: ldloc.3
L_00b2: call Verse.Pawn GeneratePawn(PawnGenerationRequest)
L_00b7: stloc.s 10 (Verse.Pawn)
L_00b9: ldarg.s 5
L_00bb: ldloc.s 10 (Verse.Pawn)
L_00bd: callvirt Void Add(Verse.Pawn)
L_00c2: Label2
L_00c2: ldloc.2
L_00c3: callvirt Boolean MoveNext()
L_00c8: brtrue Label3
L_00cd: leave Label4
L_00d2: leave (autogenerated)
} // end try
.finally
{
L_00d7: ldloc.2
L_00d8: brfalse Label5
L_00dd: ldloc.2
L_00de: callvirt Void Dispose()
L_00e3: Label5
L_00e3: endfinally
L_00e4: leave (autogenerated)
} // end handler
L_00e5: Label4
L_00e5: Label6
L_00e5: ldarg 1
L_00eb: ldarg 2
L_00f1: ldarg 3
L_00f7: ldarg 4
L_00fd: ldarg 5
L_0103: call Void AddQuestGiverTwo(RimWorld.PawnGroupMakerParms,
RimWorld.PawnGroupMaker, Verse.Pawn,
System.Collections.Generic.List`1[Verse.Thing],
System.Collections.Generic.List`1[Verse.Pawn])
L_0108: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ldarga 0
L_1ea5: ldarga 1
L_1eab: ldarga 2
L_1eb1: call Void
FloatMenuMakerMap_AddHumanlikeOrdersToDismissTraders_PostFix(Vector3 ByRef,
Verse.Pawn ByRef, System.Collections.Generic.List`1[Verse.FloatMenuOption] ByRef)
L_1eb6: ldarg 0
L_1ebc: ldarg 1
L_1ec2: ldarg 2
L_1ec8: call Void AddHumanlikeOrders(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1ecd: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void PreOpen()


L_0000: ldarg.0
L_0001: call Void PreOpen()
L_0006: call Verse.GameInitData get_GameInitData()
L_000b: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0010: callvirt Int32 get_Count()
L_0015: ldc.i4.0
L_0016: ble Label1
L_001b: ldarg.0
L_001c: call Verse.GameInitData get_GameInitData()
L_0021: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0026: ldc.i4.0
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stfld Verse.Pawn curPawn
L_0031: Label1
L_0031: call Void PreOpenPostfix()
L_0036: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void DoWindowContents(Rect)


L_0000: Local var 0: UnityEngine.Rect
L_0000: Local var 1: UnityEngine.Rect
L_0000: Local var 2: UnityEngine.Rect
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void DrawPageTitle(Rect)
L_0007: ldarga.s 1
L_0009: dup
L_000a: call Single get_yMin()
L_000f: ldc.r4 45
L_0014: add
L_0015: call Void set_yMin(Single)
L_001a: ldarg.0
L_001b: ldarg.1
L_001c: ldstr "Start"
L_0021: call System.String Translate(System.String)
L_0026: ldnull
L_0027: ldnull
L_0028: ldc.i4.1
L_0029: call Void DoBottomButtons(Rect, System.String, System.String,
System.Action, Boolean)
L_002e: ldarga.s 1
L_0030: dup
L_0031: call Single get_yMax()
L_0036: ldc.r4 38
L_003b: sub
L_003c: call Void set_yMax(Single)
L_0041: ldarg.1
L_0042: stloc.0
L_0043: ldloca.s 0 (UnityEngine.Rect)
L_0045: ldc.r4 140
L_004a: call Void set_width(Single)
L_004f: ldarg.0
L_0050: ldloc.0
L_0051: call Void DrawPawnList(Rect)
L_0056: ldloc.0
L_0057: ldstr "ReorderPawn"
L_005c: call Void HighlightOpportunity(Rect, System.String)
L_0061: ldarg.1
L_0062: stloc.1
L_0063: ldloca.s 1 (UnityEngine.Rect)
L_0065: dup
L_0066: call Single get_xMin()
L_006b: ldc.r4 140
L_0070: add
L_0071: call Void set_xMin(Single)
L_0076: ldloc.1
L_0077: ldc.r4 141
L_007c: call Rect BottomPartPixels(Rect, Single)
L_0081: stloc.2
L_0082: ldloca.s 1 (UnityEngine.Rect)
L_0084: ldloca.s 2 (UnityEngine.Rect)
L_0086: call Single get_yMin()
L_008b: call Void set_yMax(Single)
L_0090: ldloc.1
L_0091: ldc.r4 4
L_0096: call Rect ContractedBy(Rect, Single)
L_009b: stloc.1
L_009c: ldloc.2
L_009d: ldc.r4 4
L_00a2: call Rect ContractedBy(Rect, Single)
L_00a7: stloc.2
L_00a8: ldarg.0
L_00a9: ldloc.1
L_00aa: call Void DrawPortraitArea(Rect)
L_00af: ldarg.0
L_00b0: ldloc.2
L_00b1: call Void DrawSkillSummaries(Rect)
L_00b6: ldarg 1
L_00bc: ldarg.0
L_00bd: call Void DoWindowContentsPostfix(Rect,
RimWorld.Page_ConfigureStartingPawns)
L_00c2: ret
DONE

### Patch Verse.Game, Void InitNewGame()


L_0000: Local var 0: System.String
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: RimWorld.Planet.Settlement
L_0000: Local var 3: System.Collections.Generic.List`1[[RimWorld.Planet.Settlement,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.ResearchProjectTagDef
L_0000: Local var 7:
System.Collections.Generic.List`1+Enumerator[[Verse.ResearchProjectTagDef,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: Verse.ResearchProjectDef
L_0000: Local var 9:
System.Collections.Generic.IEnumerator`1[[Verse.ResearchProjectDef, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: call IEnumerable`1 get_RunningMods()
L_0005: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_000a: brtrue Label1
L_000f: ldnull
L_0010: ldftn System.String <InitNewGame>m__1(Verse.ModContentPack)
L_0016: newobj Void .ctor(Object, IntPtr)
L_001b: stsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0020: Label1
L_0020: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0025: call IEnumerable`1 Select[ModContentPack,String](IEnumerable`1,
System.Func`2[Verse.ModContentPack,System.String])
L_002a: ldc.i4.0
L_002b: call System.String ToCommaList(IEnumerable`1, Boolean)
L_0030: stloc.0
L_0031: ldstr "Initializing new game with mods "
L_0036: ldloc.0
L_0037: call System.String Concat(System.String, System.String)
L_003c: ldc.i4.0
L_003d: call Void Message(System.String, Boolean)
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0048: call Boolean Any[Map](System.Collections.Generic.List`1[Verse.Map])
L_004d: brfalse Label2
L_0052: ldstr "Called InitNewGame() but there already is a map. There should be 0
maps..."
L_0057: ldc.i4.0
L_0058: call Void Error(System.String, Boolean)
L_005d: br Label22
L_0062: Label2
L_0062: ldarg.0
L_0063: ldfld Verse.GameInitData initData
L_0068: brtrue Label3
L_006d: ldstr "Called InitNewGame() but init data is null. Create it first."
L_0072: ldc.i4.0
L_0073: call Void Error(System.String, Boolean)
L_0078: br Label23
L_007d: Label3
L_007d: call Void UnloadUnusedUnityAssets()
L_0082: ldstr "InitNewGame"
L_0087: call Void Start(System.String)
.try
{
L_008c: ldc.i4.1
L_008d: call Void set_ProgramState(ProgramState)
L_0092: ldloca.s 1 (Verse.IntVec3)
L_0094: ldarg.0
L_0095: ldfld Verse.GameInitData initData
L_009a: ldfld System.Int32 mapSize
L_009f: ldc.i4.1
L_00a0: ldarg.0
L_00a1: ldfld Verse.GameInitData initData
L_00a6: ldfld System.Int32 mapSize
L_00ab: call Void .ctor(Int32, Int32, Int32)
L_00b0: ldnull
L_00b1: stloc.2
L_00b2: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_00b7: callvirt
System.Collections.Generic.List`1[RimWorld.Planet.Settlement] get_Settlements()
L_00bc: stloc.3
L_00bd: ldc.i4.0
L_00be: stloc.s 4 (System.Int32)
L_00c0: br Label4
L_00c5: Label7
L_00c5: ldloc.3
L_00c6: ldloc.s 4 (System.Int32)
L_00c8: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00cd: callvirt RimWorld.Faction get_Faction()
L_00d2: call RimWorld.Faction get_OfPlayer()
L_00d7: bne.un Label5
L_00dc: ldloc.3
L_00dd: ldloc.s 4 (System.Int32)
L_00df: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00e4: stloc.2
L_00e5: leave Label6
L_00ea: Label5
L_00ea: ldloc.s 4 (System.Int32)
L_00ec: ldc.i4.1
L_00ed: add
L_00ee: stloc.s 4 (System.Int32)
L_00f0: Label4
L_00f0: ldloc.s 4 (System.Int32)
L_00f2: ldloc.3
L_00f3: callvirt Int32 get_Count()
L_00f8: blt Label7
L_00fd: Label6
L_00fd: ldloc.2
L_00fe: brtrue Label8
L_0103: ldstr "Could not generate starting map because there is no any player
faction base."
L_0108: ldc.i4.0
L_0109: call Void Error(System.String, Boolean)
L_010e: Label8
L_010e: ldarg.0
L_010f: ldfld Verse.TickManager tickManager
L_0114: call Int32 get_ConfiguredTicksAbsAtGameStart()
L_0119: stfld System.Int32 gameStartAbsTick
L_011e: ldloc.1
L_011f: ldloc.2
L_0120: ldloc.2
L_0121: callvirt Verse.MapGeneratorDef get_MapGeneratorDef()
L_0126: ldloc.2
L_0127: callvirt IEnumerable`1 get_ExtraGenStepDefs()
L_012c: ldnull
L_012d: call Verse.Map GenerateMap(IntVec3, RimWorld.Planet.MapParent,
Verse.MapGeneratorDef, IEnumerable`1, System.Action`1[Verse.Map])
L_0132: stloc.s 5 (Verse.Map)
L_0134: ldarg.0
L_0135: ldfld RimWorld.Planet.World worldInt
L_013a: ldfld RimWorld.Planet.WorldInfo info
L_013f: ldloc.1
L_0140: stfld Verse.IntVec3 initialMapSize
L_0145: ldarg.0
L_0146: ldfld Verse.GameInitData initData
L_014b: ldfld System.Boolean permadeath
L_0150: brfalse Label9
L_0155: ldarg.0
L_0156: ldfld Verse.GameInfo info
L_015b: ldc.i4.1
L_015c: stfld System.Boolean permadeathMode
L_0161: ldarg.0
L_0162: ldfld Verse.GameInfo info
L_0167: call System.String GeneratePermadeathSaveName()
L_016c: stfld System.String permadeathModeUniqueName
L_0171: Label9
L_0171: ldsfld RimWorld.ThoughtDef NewColonyOptimism
L_0176: call Void GiveAllStartingPlayerPawnsThought(RimWorld.ThoughtDef)
L_017b: ldarg.0
L_017c: call Void FinalizeInit()
L_0181: call Verse.Game get_Game()
L_0186: ldloc.s 5 (Verse.Map)
L_0188: callvirt Void set_CurrentMap(Verse.Map)
L_018d: call Verse.CameraDriver get_CameraDriver()
L_0192: call IntVec3 get_PlayerStartSpot()
L_0197: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_019c: call Verse.CameraDriver get_CameraDriver()
L_01a1: callvirt Void ResetSize()
L_01a6: call Boolean get_PauseOnLoad()
L_01ab: brfalse Label10
L_01b0: ldarg.0
L_01b1: ldfld Verse.GameInitData initData
L_01b6: ldfld System.Boolean startedFromEntry
L_01bb: brfalse Label11
L_01c0: ldarg.0
L_01c1: ldftn Void <InitNewGame>m__2()
L_01c7: newobj Void .ctor(Object, IntPtr)
L_01cc: call Void ExecuteWhenFinished(System.Action)
L_01d1: Label10
L_01d1: Label11
L_01d1: call RimWorld.Scenario get_Scenario()
L_01d6: callvirt Void PostGameStart()
L_01db: call RimWorld.Faction get_OfPlayer()
L_01e0: ldfld RimWorld.FactionDef def
L_01e5: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01ea: brfalse Label12
L_01ef: call RimWorld.Faction get_OfPlayer()
L_01f4: ldfld RimWorld.FactionDef def
L_01f9: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01fe: callvirt Enumerator GetEnumerator()
L_0203: stloc.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
.try
{
L_0205: br Label13
L_020a: Label19
L_020a: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_020c: call Verse.ResearchProjectTagDef get_Current()
L_0211: stloc.s 6 (Verse.ResearchProjectTagDef)
L_0213: call IEnumerable`1 get_AllDefs()
L_0218: callvirt IEnumerator`1 GetEnumerator()
L_021d: stloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
.try
{
L_021f: br Label14
L_0224: Label16
L_0224: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0226: callvirt Verse.ResearchProjectDef get_Current()
L_022b: stloc.s 8 (Verse.ResearchProjectDef)
L_022d: ldloc.s 8 (Verse.ResearchProjectDef)
L_022f: ldloc.s 6 (Verse.ResearchProjectTagDef)
L_0231: callvirt Boolean HasTag(Verse.ResearchProjectTagDef)
L_0236: brfalse Label15
L_023b: ldarg.0
L_023c: ldfld RimWorld.ResearchManager researchManager
L_0241: ldloc.s 8 (Verse.ResearchProjectDef)
L_0243: ldc.i4.0
L_0244: ldnull
L_0245: callvirt Void FinishProject(Verse.ResearchProjectDef,
Boolean, Verse.Pawn)
L_024a: Label14
L_024a: Label15
L_024a: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_024c: callvirt Boolean MoveNext()
L_0251: brtrue Label16
L_0256: leave Label17
L_025b: leave (autogenerated)
} // end try
.finally
{
L_0260: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0262: brfalse Label18
L_0267: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0269: callvirt Void Dispose()
L_026e: Label18
L_026e: endfinally
L_026f: leave (autogenerated)
} // end handler
L_0270: Label13
L_0270: Label17
L_0270: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0272: call Boolean MoveNext()
L_0277: brtrue Label19
L_027c: leave Label20
L_0281: leave (autogenerated)
} // end try
.finally
{
L_0286: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0288: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef]
L_028e: callvirt Void Dispose()
L_0293: endfinally
L_0294: leave (autogenerated)
} // end handler
L_0295: Label12
L_0295: Label20
L_0295: call Void StartedNewGame()
L_029a: ldarg.0
L_029b: ldnull
L_029c: stfld Verse.GameInitData initData
L_02a1: leave Label21
L_02a6: leave (autogenerated)
} // end try
.finally
{
L_02ab: call Void End()
L_02b0: endfinally
L_02b1: leave (autogenerated)
} // end handler
L_02b2: Label21
L_02b2: Label22
L_02b2: Label23
L_02b2: call Void InitNewGamePostfix()
L_02b7: ret
DONE

### Patch RimWorld.MainTabWindow_Inspect, IEnumerable`1 get_CurTabs()


L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[Verse.InspectTabBase, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0002: ldarg.0
L_0003: call Int32 get_NumSelected()
L_0008: ldc.i4.1
L_0009: bne.un Label1
L_000e: ldarg.0
L_000f: call Verse.Thing get_SelThing()
L_0014: brfalse Label2
L_0019: ldarg.0
L_001a: call Verse.Thing get_SelThing()
L_001f: ldfld Verse.ThingDef def
L_0024: ldfld System.Collections.Generic.List`1[Verse.InspectTabBase]
inspectorTabsResolved
L_0029: brfalse Label3
L_002e: ldarg.0
L_002f: call Verse.Thing get_SelThing()
L_0034: callvirt IEnumerable`1 GetInspectTabs()
L_0039: br Label5
L_003e: Label2
L_003e: Label3
L_003e: ldarg.0
L_003f: call Verse.Zone get_SelZone()
L_0044: brfalse Label4
L_0049: ldarg.0
L_004a: call Verse.Zone get_SelZone()
L_004f: callvirt IEnumerable`1 GetInspectTabs()
L_0054: br Label6
L_0059: Label1
L_0059: Label4
L_0059: call IEnumerable`1 Empty[InspectTabBase]()
L_005e: Label5
L_005e: Label6
L_005e: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_005f: ldloca 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0061: call Void Postfix(IEnumerable`1 ByRef)
L_0066: ldloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0067: ret
DONE

### Patch Verse.ThingOwner, Void NotifyAdded(Verse.Thing)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Map, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.CompTransporter
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: Local var 4: RimWorld.Pawn_ApparelTracker
L_0000: Local var 5: Verse.Pawn_EquipmentTracker
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: call Boolean ShouldAutoExtinguishInnerThings(IThingHolder)
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldsfld Verse.ThingDef Fire
L_0016: call Boolean HasAttachment(Verse.Thing, Verse.ThingDef)
L_001b: brfalse Label2
L_0020: ldarg.1
L_0021: ldsfld Verse.ThingDef Fire
L_0026: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_002b: ldc.i4.0
L_002c: callvirt Void Destroy(DestroyMode)
L_0031: Label1
L_0031: Label2
L_0031: ldarg.0
L_0032: ldfld Verse.IThingHolder owner
L_0037: call Boolean ShouldRemoveDesignationsOnAddedThings(IThingHolder)
L_003c: brfalse Label3
L_0041: call System.Collections.Generic.List`1[Verse.Map] get_Maps()
L_0046: stloc.0
L_0047: ldc.i4.0
L_0048: stloc.1
L_0049: br Label4
L_004e: Label5
L_004e: ldloc.0
L_004f: ldloc.1
L_0050: callvirt Verse.Map get_Item(Int32)
L_0055: ldfld Verse.DesignationManager designationManager
L_005a: ldarg.1
L_005b: ldc.i4.0
L_005c: callvirt Void RemoveAllDesignationsOn(Verse.Thing, Boolean)
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label4
L_0065: ldloc.1
L_0066: ldloc.0
L_0067: callvirt Int32 get_Count()
L_006c: blt Label5
L_0071: Label3
L_0071: ldarg.0
L_0072: ldfld Verse.IThingHolder owner
L_0077: isinst RimWorld.CompTransporter
L_007c: stloc.2
L_007d: ldloc.2
L_007e: brfalse Label6
L_0083: ldloc.2
L_0084: ldarg.1
L_0085: callvirt Void Notify_ThingAdded(Verse.Thing)
L_008a: Label6
L_008a: ldarg.0
L_008b: ldfld Verse.IThingHolder owner
L_0090: isinst RimWorld.Planet.Caravan
L_0095: stloc.3
L_0096: ldloc.3
L_0097: brfalse Label7
L_009c: ldloc.3
L_009d: ldarg.1
L_009e: castclass Verse.Pawn
L_00a3: callvirt Void Notify_PawnAdded(Verse.Pawn)
L_00a8: Label7
L_00a8: ldarg.0
L_00a9: ldfld Verse.IThingHolder owner
L_00ae: isinst RimWorld.Pawn_ApparelTracker
L_00b3: stloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b5: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b7: brfalse Label8
L_00bc: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00be: ldarg.1
L_00bf: castclass RimWorld.Apparel
L_00c4: callvirt Void Notify_ApparelAdded(RimWorld.Apparel)
L_00c9: Label8
L_00c9: ldarg.0
L_00ca: ldfld Verse.IThingHolder owner
L_00cf: isinst Verse.Pawn_EquipmentTracker
L_00d4: stloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d6: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d8: brfalse Label9
L_00dd: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00df: ldarg.1
L_00e0: castclass Verse.ThingWithComps
L_00e5: callvirt Void Notify_EquipmentAdded(Verse.ThingWithComps)
L_00ea: Label9
L_00ea: ldarg.0
L_00eb: ldarg.1
L_00ec: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_00f1: ldarg.0
L_00f2: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_00f7: ret
DONE

### Patch Verse.ThingOwner, Void NotifyRemoved(Verse.Thing)


L_0000: Local var 0: Verse.Pawn_InventoryTracker
L_0000: Local var 1: RimWorld.Pawn_ApparelTracker
L_0000: Local var 2: Verse.Pawn_EquipmentTracker
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: isinst Verse.Pawn_InventoryTracker
L_000b: stloc.0
L_000c: ldloc.0
L_000d: brfalse Label1
L_0012: ldloc.0
L_0013: ldarg.1
L_0014: callvirt Void Notify_ItemRemoved(Verse.Thing)
L_0019: Label1
L_0019: ldarg.0
L_001a: ldfld Verse.IThingHolder owner
L_001f: isinst RimWorld.Pawn_ApparelTracker
L_0024: stloc.1
L_0025: ldloc.1
L_0026: brfalse Label2
L_002b: ldloc.1
L_002c: ldarg.1
L_002d: castclass RimWorld.Apparel
L_0032: callvirt Void Notify_ApparelRemoved(RimWorld.Apparel)
L_0037: Label2
L_0037: ldarg.0
L_0038: ldfld Verse.IThingHolder owner
L_003d: isinst Verse.Pawn_EquipmentTracker
L_0042: stloc.2
L_0043: ldloc.2
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldarg.1
L_004b: castclass Verse.ThingWithComps
L_0050: callvirt Void Notify_EquipmentRemoved(Verse.ThingWithComps)
L_0055: Label3
L_0055: ldarg.0
L_0056: ldfld Verse.IThingHolder owner
L_005b: isinst RimWorld.Planet.Caravan
L_0060: stloc.3
L_0061: ldloc.3
L_0062: brfalse Label4
L_0067: ldloc.3
L_0068: ldarg.1
L_0069: castclass Verse.Pawn
L_006e: callvirt Void Notify_PawnRemoved(Verse.Pawn)
L_0073: Label4
L_0073: ldarg.0
L_0074: ldarg.1
L_0075: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_007a: ldarg.0
L_007b: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_0080: ret
DONE

### Patch RimWorld.Selector, Void ClearSelection()


L_0000: call Void Clear()
L_0005: ldarg.0
L_0006: ldfld System.Collections.Generic.List`1[System.Object] selected
L_000b: callvirt Void Clear()
L_0010: call Void Postfix()
L_0015: ret
DONE
### Patch RimWorld.Selector, Void Deselect(System.Object)
L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldloca 0 (System.Int32)
L_0008: call Void Prefix(Int32 ByRef)
L_000d: ldarg.0
L_000e: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0013: ldarg.1
L_0014: callvirt Boolean Contains(System.Object)
L_0019: brfalse Label1
L_001e: ldarg.0
L_001f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0024: ldarg.1
L_0025: callvirt Boolean Remove(System.Object)
L_002a: pop
L_002b: Label1
L_002b: ldloc 0 (System.Int32)
L_002c: call Void Postfix(Int32)
L_0031: ret
DONE

### Patch RimWorld.Selector, Void Select(System.Object, Boolean, Boolean)


L_0000: Local var 0: Verse.Thing
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Int32)
L_0007: ldloca 7 (System.Int32)
L_0009: call Void Prefix(Int32 ByRef)
L_000e: ldarg.1
L_000f: brtrue Label1
L_0014: ldstr "Cannot select null."
L_0019: ldc.i4.0
L_001a: call Void Error(System.String, Boolean)
L_001f: br Label26
L_0024: Label1
L_0024: ldarg.1
L_0025: isinst Verse.Thing
L_002a: stloc.0
L_002b: ldloc.0
L_002c: brtrue Label2
L_0031: ldarg.1
L_0032: isinst Verse.Zone
L_0037: brtrue Label3
L_003c: ldstr "Tried to select "
L_0041: ldarg.1
L_0042: ldstr " which is neither a Thing nor a Zone."
L_0047: call System.String Concat(System.Object, System.Object, System.Object)
L_004c: ldc.i4.0
L_004d: call Void Error(System.String, Boolean)
L_0052: br Label27
L_0057: Label2
L_0057: Label3
L_0057: ldloc.0
L_0058: brfalse Label4
L_005d: ldloc.0
L_005e: callvirt Boolean get_Destroyed()
L_0063: brfalse Label5
L_0068: ldstr "Cannot select destroyed thing."
L_006d: ldc.i4.0
L_006e: call Void Error(System.String, Boolean)
L_0073: br Label28
L_0078: Label4
L_0078: Label5
L_0078: ldarg.1
L_0079: isinst Verse.Pawn
L_007e: stloc.1
L_007f: ldloc.1
L_0080: brfalse Label6
L_0085: ldloc.1
L_0086: call Boolean IsWorldPawn(Verse.Pawn)
L_008b: brfalse Label7
L_0090: ldstr "Cannot select world pawns."
L_0095: ldc.i4.0
L_0096: call Void Error(System.String, Boolean)
L_009b: br Label29
L_00a0: Label6
L_00a0: Label7
L_00a0: ldarg.3
L_00a1: brfalse Label8
L_00a6: call Verse.DesignatorManager get_DesignatorManager()
L_00ab: callvirt Void Deselect()
L_00b0: Label8
L_00b0: ldarg.0
L_00b1: call Verse.Zone get_SelectedZone()
L_00b6: brfalse Label9
L_00bb: ldarg.1
L_00bc: isinst Verse.Zone
L_00c1: brtrue Label10
L_00c6: ldarg.0
L_00c7: call Void ClearSelection()
L_00cc: Label9
L_00cc: Label10
L_00cc: ldarg.1
L_00cd: isinst Verse.Zone
L_00d2: brfalse Label11
L_00d7: ldarg.0
L_00d8: call Verse.Zone get_SelectedZone()
L_00dd: brtrue Label12
L_00e2: ldarg.0
L_00e3: call Void ClearSelection()
L_00e8: Label11
L_00e8: Label12
L_00e8: ldloc.0
L_00e9: brfalse Label13
L_00ee: ldloc.0
L_00ef: callvirt Verse.Map get_Map()
L_00f4: br Label14
L_00f9: Label13
L_00f9: ldarg.1
L_00fa: castclass Verse.Zone
L_00ff: callvirt Verse.Map get_Map()
L_0104: Label14
L_0104: stloc.2
L_0105: ldarg.0
L_0106: ldfld System.Collections.Generic.List`1[System.Object] selected
L_010b: callvirt Int32 get_Count()
L_0110: ldc.i4.1
L_0111: sub
L_0112: stloc.3
L_0113: br Label15
L_0118: Label19
L_0118: ldarg.0
L_0119: ldfld System.Collections.Generic.List`1[System.Object] selected
L_011e: ldloc.3
L_011f: callvirt System.Object get_Item(Int32)
L_0124: isinst Verse.Thing
L_0129: stloc.s 4 (Verse.Thing)
L_012b: ldloc.s 4 (Verse.Thing)
L_012d: brfalse Label16
L_0132: ldloc.s 4 (Verse.Thing)
L_0134: callvirt Verse.Map get_Map()
L_0139: br Label17
L_013e: Label16
L_013e: ldarg.0
L_013f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0144: ldloc.3
L_0145: callvirt System.Object get_Item(Int32)
L_014a: castclass Verse.Zone
L_014f: callvirt Verse.Map get_Map()
L_0154: Label17
L_0154: stloc.s 5 (Verse.Map)
L_0156: ldloc.s 5 (Verse.Map)
L_0158: ldloc.2
L_0159: beq Label18
L_015e: ldarg.0
L_015f: ldarg.0
L_0160: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0165: ldloc.3
L_0166: callvirt System.Object get_Item(Int32)
L_016b: call Void Deselect(System.Object)
L_0170: Label18
L_0170: ldloc.3
L_0171: ldc.i4.1
L_0172: sub
L_0173: stloc.3
L_0174: Label15
L_0174: ldloc.3
L_0175: ldc.i4.0
L_0176: bge Label19
L_017b: ldarg.0
L_017c: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0181: callvirt Int32 get_Count()
L_0186: ldc.i4.s 80
L_0188: blt Label20
L_018d: br Label30
L_0192: Label20
L_0192: ldarg.0
L_0193: ldarg.1
L_0194: call Boolean IsSelected(System.Object)
L_0199: brtrue Label21
L_019e: ldloc.2
L_019f: call Verse.Map get_CurrentMap()
L_01a4: beq Label22
L_01a9: call Verse.Game get_Game()
L_01ae: ldloc.2
L_01af: callvirt Void set_CurrentMap(Verse.Map)
L_01b4: ldsfld Verse.SoundDef MapSelected
L_01b9: ldnull
L_01ba: call Void PlayOneShotOnCamera(Verse.SoundDef, Verse.Map)
L_01bf: ldloc.0
L_01c0: brfalse Label23
L_01c5: ldloc.0
L_01c6: callvirt IntVec3 get_Position()
L_01cb: br Label24
L_01d0: Label23
L_01d0: ldarg.1
L_01d1: castclass Verse.Zone
L_01d6: callvirt System.Collections.Generic.List`1[Verse.IntVec3] get_Cells()
L_01db: ldc.i4.0
L_01dc: callvirt IntVec3 get_Item(Int32)
L_01e1: Label24
L_01e1: stloc.s 6 (Verse.IntVec3)
L_01e3: call Verse.CameraDriver get_CameraDriver()
L_01e8: ldloc.s 6 (Verse.IntVec3)
L_01ea: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_01ef: Label22
L_01ef: ldarg.2
L_01f0: brfalse Label25
L_01f5: ldarg.0
L_01f6: ldarg.1
L_01f7: call Void PlaySelectionSoundFor(System.Object)
L_01fc: Label25
L_01fc: ldarg.0
L_01fd: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0202: ldarg.1
L_0203: callvirt Void Add(System.Object)
L_0208: ldarg.1
L_0209: call Void Notify_Selected(System.Object)
L_020e: Label21
L_020e: Label26
L_020e: Label27
L_020e: Label28
L_020e: Label29
L_020e: Label30
L_020e: ldloc 7 (System.Int32)
L_0210: call Void Postfix(Int32)
L_0215: ret
DONE

### Patch RimWorld.Blueprint_Build, Verse.Thing MakeSolidThing()


L_0000: Local var 0: Verse.Thing
L_0000: ldnull
L_0001: stloc 0 (Verse.Thing)
L_0002: ldarg.0
L_0003: ldfld Verse.ThingDef def
L_0008: ldfld Verse.BuildableDef entityDefToBuild
L_000d: ldfld Verse.ThingDef frameDef
L_0012: ldarg.0
L_0013: ldfld Verse.ThingDef stuffToUse
L_0018: call Verse.Thing MakeThing(Verse.ThingDef, Verse.ThingDef)
L_001d: stloc 0 (Verse.Thing)
L_001e: ldloc 0 (Verse.Thing)
L_001f: ldarg.0
L_0020: call Void Postfix(Verse.Thing, RimWorld.Blueprint_Build)
L_0025: ldloc 0 (Verse.Thing)
L_0026: ret
DONE

### Patch Verse.AreaManager, Void ExposeData()


L_0000: ldarg.0
L_0001: call Void Prefix(Verse.AreaManager)
L_0006: ldarg.0
L_0007: ldflda System.Collections.Generic.List`1[Verse.Area] areas
L_000c: ldstr "areas"
L_0011: ldc.i4.2
L_0012: ldc.i4.0
L_0013: newarr System.Object
L_0018: call Void Look[Area](System.Collections.Generic.List`1[Verse.Area] ByRef,
System.String, LookMode, System.Object[])
L_001d: ldsfld Verse.LoadSaveMode mode
L_0022: ldc.i4.2
L_0023: bne.un Label1
L_0028: ldarg.0
L_0029: call Void UpdateAllAreasLinks()
L_002e: Label1
L_002e: ret
DONE

### Patch RimWorld.PlaySettings, Void DoPlaySettingsGlobalControls(Verse.WidgetRow,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Boolean
L_0000: Local var 3: System.Boolean
L_0000: ldarg.0
L_0001: ldfld System.Boolean showColonistBar
L_0006: stloc.0
L_0007: ldarg.2
L_0008: brfalse Label1
L_000d: call ProgramState get_ProgramState()
L_0012: ldc.i4.2
L_0013: bne.un Label2
L_0018: ldarg.1
L_0019: ldarg.0
L_001a: ldflda System.Boolean showColonistBar
L_001f: ldsfld UnityEngine.Texture2D ShowColonistBar
L_0024: ldstr "ShowColonistBarToggleButton"
L_0029: call System.String Translate(System.String)
L_002e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0033: ldnull
L_0034: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0039: Label2
L_0039: ldarg.0
L_003a: ldfld System.Boolean lockNorthUp
L_003f: stloc.1
L_0040: ldarg.1
L_0041: ldarg.0
L_0042: ldflda System.Boolean lockNorthUp
L_0047: ldsfld UnityEngine.Texture2D LockNorthUp
L_004c: ldstr "LockNorthUpToggleButton"
L_0051: call System.String Translate(System.String)
L_0056: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_005b: ldnull
L_005c: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0061: ldloc.1
L_0062: ldarg.0
L_0063: ldfld System.Boolean lockNorthUp
L_0068: beq Label3
L_006d: ldarg.0
L_006e: ldfld System.Boolean lockNorthUp
L_0073: brfalse Label4
L_0078: call RimWorld.Planet.WorldCameraDriver get_WorldCameraDriver()
L_007d: ldc.i4.1
L_007e: callvirt Void RotateSoNorthIsUp(Boolean)
L_0083: Label3
L_0083: Label4
L_0083: ldarg.1
L_0084: ldarg.0
L_0085: ldflda System.Boolean usePlanetDayNightSystem
L_008a: ldsfld UnityEngine.Texture2D UsePlanetDayNightSystem
L_008f: ldstr "UsePlanetDayNightSystemToggleButton"
L_0094: call System.String Translate(System.String)
L_0099: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_009e: ldnull
L_009f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00a4: ldarg.1
L_00a5: ldarg.0
L_00a6: ldflda System.Boolean showExpandingIcons
L_00ab: ldsfld UnityEngine.Texture2D ShowExpandingIcons
L_00b0: ldstr "ShowExpandingIconsToggleButton"
L_00b5: call System.String Translate(System.String)
L_00ba: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00bf: ldnull
L_00c0: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00c5: ldarg.1
L_00c6: ldarg.0
L_00c7: ldflda System.Boolean showWorldFeatures
L_00cc: ldsfld UnityEngine.Texture2D ShowWorldFeatures
L_00d1: ldstr "ShowWorldFeaturesToggleButton"
L_00d6: call System.String Translate(System.String)
L_00db: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00e0: ldnull
L_00e1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00e6: br Label5
L_00eb: Label1
L_00eb: ldarg.1
L_00ec: ldarg.0
L_00ed: ldflda System.Boolean showLearningHelper
L_00f2: ldsfld UnityEngine.Texture2D ShowLearningHelper
L_00f7: ldstr "ShowLearningHelperWhenEmptyToggleButton"
L_00fc: call System.String Translate(System.String)
L_0101: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0106: ldnull
L_0107: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_010c: ldarg.1
L_010d: ldarg.0
L_010e: ldflda System.Boolean showZones
L_0113: ldsfld UnityEngine.Texture2D ShowZones
L_0118: ldstr "ZoneVisibilityToggleButton"
L_011d: call System.String Translate(System.String)
L_0122: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0127: ldnull
L_0128: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_012d: ldarg.1
L_012e: ldarg.0
L_012f: ldflda System.Boolean showBeauty
L_0134: ldsfld UnityEngine.Texture2D ShowBeauty
L_0139: ldstr "ShowBeautyToggleButton"
L_013e: call System.String Translate(System.String)
L_0143: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0148: ldnull
L_0149: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_014e: ldarg.0
L_014f: ldsfld Verse.KeyBindingDef ToggleBeautyDisplay
L_0154: ldarg.0
L_0155: ldflda System.Boolean showBeauty
L_015a: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_015f: ldarg.1
L_0160: ldarg.0
L_0161: ldflda System.Boolean showRoomStats
L_0166: ldsfld UnityEngine.Texture2D ShowRoomStats
L_016b: ldstr "ShowRoomStatsToggleButton"
L_0170: call System.String Translate(System.String)
L_0175: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_017a: ldstr "InspectRoomStats"
L_017f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0184: ldarg.0
L_0185: ldsfld Verse.KeyBindingDef ToggleRoomStatsDisplay
L_018a: ldarg.0
L_018b: ldflda System.Boolean showRoomStats
L_0190: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_0195: ldarg.1
L_0196: ldarg.0
L_0197: ldflda System.Boolean showColonistBar
L_019c: ldsfld UnityEngine.Texture2D ShowColonistBar
L_01a1: ldstr "ShowColonistBarToggleButton"
L_01a6: call System.String Translate(System.String)
L_01ab: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01b0: ldnull
L_01b1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01b6: ldarg.1
L_01b7: ldarg.0
L_01b8: ldflda System.Boolean showRoofOverlay
L_01bd: ldsfld UnityEngine.Texture2D ShowRoofOverlay
L_01c2: ldstr "ShowRoofOverlayToggleButton"
L_01c7: call System.String Translate(System.String)
L_01cc: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01d1: ldnull
L_01d2: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01d7: ldarg.1
L_01d8: ldarg.0
L_01d9: ldflda System.Boolean autoHomeArea
L_01de: ldsfld UnityEngine.Texture2D AutoHomeArea
L_01e3: ldstr "AutoHomeAreaToggleButton"
L_01e8: call System.String Translate(System.String)
L_01ed: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01f2: ldnull
L_01f3: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01f8: ldarg.1
L_01f9: ldarg.0
L_01fa: ldflda System.Boolean autoRebuild
L_01ff: ldsfld UnityEngine.Texture2D AutoRebuild
L_0204: ldstr "AutoRebuildButton"
L_0209: call System.String Translate(System.String)
L_020e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0213: ldnull
L_0214: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0219: call Boolean get_ResourceReadoutCategorized()
L_021e: stloc.2
L_021f: ldloc.2
L_0220: stloc.3
L_0221: ldarg.1
L_0222: ldloca.s 2 (System.Boolean)
L_0224: ldsfld UnityEngine.Texture2D CategorizedResourceReadout
L_0229: ldstr "CategorizedResourceReadoutToggleButton"
L_022e: call System.String Translate(System.String)
L_0233: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0238: ldnull
L_0239: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_023e: ldloc.2
L_023f: ldloc.3
L_0240: beq Label6
L_0245: ldloc.2
L_0246: call Void set_ResourceReadoutCategorized(Boolean)
L_024b: Label5
L_024b: Label6
L_024b: ldloc.0
L_024c: ldarg.0
L_024d: ldfld System.Boolean showColonistBar
L_0252: beq Label7
L_0257: call RimWorld.ColonistBar get_ColonistBar()
L_025c: callvirt Void MarkColonistsDirty()
L_0261: Label7
L_0261: ldarg 1
L_0267: ldarg 2
L_026d: call Void AddButton(Verse.WidgetRow, Boolean)
L_0272: ldarg 1
L_0278: ldarg 2
L_027e: call Void AddButton(Verse.WidgetRow, Boolean)
L_0283: ldarg 1
L_0289: ldarg 2
L_028f: call Void AddButton(Verse.WidgetRow, Boolean)
L_0294: ldarg 1
L_029a: ldarg 2
L_02a0: call Void Postfix(Verse.WidgetRow, Boolean)
L_02a5: ret
DONE

### Patch RimWorld.Apparel, Void Notify_PawnKilled()


L_0000: ldarg.0
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.ApparelProperties apparel
L_000b: ldfld System.Boolean careIfWornByCorpse
L_0010: brfalse Label1
L_0015: ldarg.0
L_0016: ldc.i4.1
L_0017: stfld System.Boolean wornByCorpseInt
L_001c: Label1
L_001c: ldarg.0
L_001d: call Void Postfix(RimWorld.Apparel)
L_0022: ret
DONE

### Patch Verse.Game, Void UpdatePlay()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.TickManager tickManager
L_0006: callvirt Void TickManagerUpdate()
L_000b: ldarg.0
L_000c: ldfld Verse.LetterStack letterStack
L_0011: callvirt Void LetterStackUpdate()
L_0016: ldarg.0
L_0017: call RimWorld.Planet.World get_World()
L_001c: callvirt Void WorldUpdate()
L_0021: ldc.i4.0
L_0022: stloc.0
L_0023: br Label1
L_0028: Label2
L_0028: ldarg.0
L_0029: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_002e: ldloc.0
L_002f: callvirt Verse.Map get_Item(Int32)
L_0034: callvirt Void MapUpdate()
L_0039: ldloc.0
L_003a: ldc.i4.1
L_003b: add
L_003c: stloc.0
L_003d: Label1
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0044: callvirt Int32 get_Count()
L_0049: blt Label2
L_004e: ldarg.0
L_004f: call Verse.GameInfo get_Info()
L_0054: callvirt Void GameInfoUpdate()
L_0059: call Void GameComponentUpdate()
L_005e: call Void Postfix()
L_0063: ret
DONE
### Patch Verse.EdificeGrid, Void Register(Verse.Building)
L_0000: Local var 0: Verse.CellIndices
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.IntVec3
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean RegisterDoorExpanded(Verse.EdificeGrid, Verse.Building)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld Verse.Map map
L_0017: ldfld Verse.CellIndices cellIndices
L_001c: stloc.0
L_001d: ldarg.1
L_001e: call CellRect OccupiedRect(Verse.Thing)
L_0023: stloc.1
L_0024: ldloca.s 1 (Verse.CellRect)
L_0026: ldfld System.Int32 minZ
L_002b: stloc.2
L_002c: br Label1
L_0031: Label7
L_0031: ldloca.s 1 (Verse.CellRect)
L_0033: ldfld System.Int32 minX
L_0038: stloc.3
L_0039: br Label2
L_003e: Label6
L_003e: ldloca.s 4 (Verse.IntVec3)
L_0040: ldloc.3
L_0041: ldc.i4.0
L_0042: ldloc.2
L_0043: call Void .ctor(Int32, Int32, Int32)
L_0048: ldsfld System.Boolean isDebugBuild
L_004d: brfalse Label3
L_0052: ldarg.0
L_0053: ldloc.s 4 (Verse.IntVec3)
L_0055: call Verse.Building get_Item(IntVec3)
L_005a: brfalse Label4
L_005f: ldarg.0
L_0060: ldloc.s 4 (Verse.IntVec3)
L_0062: call Verse.Building get_Item(IntVec3)
L_0067: callvirt Boolean get_Destroyed()
L_006c: brtrue Label5
L_0071: ldc.i4.7
L_0072: newarr System.Object
L_0077: dup
L_0078: ldc.i4.0
L_0079: ldstr "Added edifice "
L_007e: stelem.ref
L_007f: dup
L_0080: ldc.i4.1
L_0081: ldarg.1
L_0082: callvirt System.String get_LabelCap()
L_0087: stelem.ref
L_0088: dup
L_0089: ldc.i4.2
L_008a: ldstr " over edifice "
L_008f: stelem.ref
L_0090: dup
L_0091: ldc.i4.3
L_0092: ldarg.0
L_0093: ldloc.s 4 (Verse.IntVec3)
L_0095: call Verse.Building get_Item(IntVec3)
L_009a: callvirt System.String get_LabelCap()
L_009f: stelem.ref
L_00a0: dup
L_00a1: ldc.i4.4
L_00a2: ldstr " at "
L_00a7: stelem.ref
L_00a8: dup
L_00a9: ldc.i4.5
L_00aa: ldloc.s 4 (Verse.IntVec3)
L_00ac: box Verse.IntVec3
L_00b1: stelem.ref
L_00b2: dup
L_00b3: ldc.i4.6
L_00b4: ldstr ". Destroying old edifice."
L_00b9: stelem.ref
L_00ba: call System.String Concat(System.Object[])
L_00bf: ldc.i4.0
L_00c0: call Void Error(System.String, Boolean)
L_00c5: ldarg.0
L_00c6: ldloc.s 4 (Verse.IntVec3)
L_00c8: call Verse.Building get_Item(IntVec3)
L_00cd: ldc.i4.0
L_00ce: callvirt Void Destroy(DestroyMode)
L_00d3: br Label8
L_00d8: Label3
L_00d8: Label4
L_00d8: Label5
L_00d8: ldarg.0
L_00d9: ldfld Verse.Building[] innerArray
L_00de: ldloc.0
L_00df: ldloc.s 4 (Verse.IntVec3)
L_00e1: callvirt Int32 CellToIndex(IntVec3)
L_00e6: ldarg.1
L_00e7: stelem.ref
L_00e8: ldloc.3
L_00e9: ldc.i4.1
L_00ea: add
L_00eb: stloc.3
L_00ec: Label2
L_00ec: ldloc.3
L_00ed: ldloca.s 1 (Verse.CellRect)
L_00ef: ldfld System.Int32 maxX
L_00f4: ble Label6
L_00f9: ldloc.2
L_00fa: ldc.i4.1
L_00fb: add
L_00fc: stloc.2
L_00fd: Label1
L_00fd: ldloc.2
L_00fe: ldloca.s 1 (Verse.CellRect)
L_0100: ldfld System.Int32 maxZ
L_0105: ble Label7
L_010a: Label8
L_010a: Label0
L_010a: ret
DONE

### Patch RimWorld.Building_Door, Void DoorOpen(Int32)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorOpen(RimWorld.Building_Door, Int32)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean openInt
L_0017: brfalse Label1
L_001c: ldarg.0
L_001d: ldarg.1
L_001e: stfld System.Int32 ticksUntilClose
L_0023: br Label2
L_0028: Label1
L_0028: ldarg.0
L_0029: ldarg.0
L_002a: call Int32 get_TicksToOpenNow()
L_002f: ldarg.1
L_0030: add
L_0031: stfld System.Int32 ticksUntilClose
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld System.Boolean openInt
L_003c: brtrue Label3
L_0041: ldarg.0
L_0042: ldc.i4.1
L_0043: stfld System.Boolean openInt
L_0048: ldarg.0
L_0049: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_004e: ldarg.0
L_004f: call Boolean get_DoorPowerOn()
L_0054: brfalse Label4
L_0059: ldarg.0
L_005a: ldfld Verse.ThingDef def
L_005f: ldfld RimWorld.BuildingProperties building
L_0064: ldfld Verse.SoundDef soundDoorOpenPowered
L_0069: ldarg.0
L_006a: call IntVec3 get_Position()
L_006f: ldarg.0
L_0070: call Verse.Map get_Map()
L_0075: ldc.i4.0
L_0076: newobj Void .ctor(IntVec3, Map, Boolean)
L_007b: call SoundInfo op_Implicit(TargetInfo)
L_0080: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0085: br Label5
L_008a: Label4
L_008a: ldarg.0
L_008b: ldfld Verse.ThingDef def
L_0090: ldfld RimWorld.BuildingProperties building
L_0095: ldfld Verse.SoundDef soundDoorOpenManual
L_009a: ldarg.0
L_009b: call IntVec3 get_Position()
L_00a0: ldarg.0
L_00a1: call Verse.Map get_Map()
L_00a6: ldc.i4.0
L_00a7: newobj Void .ctor(IntVec3, Map, Boolean)
L_00ac: call SoundInfo op_Implicit(TargetInfo)
L_00b1: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00b6: Label3
L_00b6: Label5
L_00b6: Label0
L_00b6: ret
DONE

### Patch RimWorld.Building_Door, Boolean DoorTryClose()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InvisDoorTryClose(RimWorld.Building_Door)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean holdOpenInt
L_0017: brtrue Label1
L_001c: ldarg.0
L_001d: call Boolean get_BlockedOpenMomentary()
L_0022: brfalse Label2
L_0027: Label1
L_0027: ldc.i4.0
L_0028: br Label5
L_002d: Label2
L_002d: ldarg.0
L_002e: ldc.i4.0
L_002f: stfld System.Boolean openInt
L_0034: ldarg.0
L_0035: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_003a: ldarg.0
L_003b: call Boolean get_DoorPowerOn()
L_0040: brfalse Label3
L_0045: ldarg.0
L_0046: ldfld Verse.ThingDef def
L_004b: ldfld RimWorld.BuildingProperties building
L_0050: ldfld Verse.SoundDef soundDoorClosePowered
L_0055: ldarg.0
L_0056: call IntVec3 get_Position()
L_005b: ldarg.0
L_005c: call Verse.Map get_Map()
L_0061: ldc.i4.0
L_0062: newobj Void .ctor(IntVec3, Map, Boolean)
L_0067: call SoundInfo op_Implicit(TargetInfo)
L_006c: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0071: br Label4
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.ThingDef def
L_007c: ldfld RimWorld.BuildingProperties building
L_0081: ldfld Verse.SoundDef soundDoorCloseManual
L_0086: ldarg.0
L_0087: call IntVec3 get_Position()
L_008c: ldarg.0
L_008d: call Verse.Map get_Map()
L_0092: ldc.i4.0
L_0093: newobj Void .ctor(IntVec3, Map, Boolean)
L_0098: call SoundInfo op_Implicit(TargetInfo)
L_009d: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00a2: Label4
L_00a2: ldc.i4.1
L_00a3: Label5
L_00a3: stloc 0 (System.Boolean)
L_00a4: Label0
L_00a4: ldloc 0 (System.Boolean)
L_00a5: ret
DONE

### Patch RimWorld.Building_Door, Void Notify_PawnApproaching(Verse.Pawn, Int32)


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void CheckFriendlyTouched(Verse.Pawn)
L_0007: ldarg.0
L_0008: ldarg.1
L_0009: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_000e: brfalse Label1
L_0013: ldarg.0
L_0014: call Verse.Map get_Map()
L_0019: ldfld Verse.FogGrid fogGrid
L_001e: ldarg.0
L_001f: ldarg.1
L_0020: callvirt Void Notify_PawnEnteringDoor(RimWorld.Building_Door, Verse.Pawn)
L_0025: ldarg.0
L_0026: call Boolean get_SlowsPawns()
L_002b: brtrue Label2
L_0030: ldc.i4 300
L_0035: ldarg.2
L_0036: ldc.i4.1
L_0037: add
L_0038: call Int32 Max(Int32, Int32)
L_003d: stloc.0
L_003e: ldarg.0
L_003f: ldloc.0
L_0040: call Void DoorOpen(Int32)
L_0045: Label1
L_0045: Label2
L_0045: ldarg.0
L_0046: ldarg 1
L_004c: call Void InvisDoorNotifyApproaching(RimWorld.Building_Door, Verse.Pawn)
L_0051: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualCloseBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorManualClose(RimWorld.Building_Door, Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldc.i4.s 110
L_0014: stfld System.Int32 ticksUntilClose
L_0019: Label0
L_0019: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualOpenBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldc.i4.s 110
L_0003: call Void DoorOpen(Int32)
L_0008: ldarg.0
L_0009: ldarg 1
L_000f: call Void InvisDoorManualOpen(RimWorld.Building_Door, Verse.Pawn)
L_0014: ret
DONE

### Patch RimWorld.Building_Door, Boolean get_FreePassage()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean get_FreePassage(RimWorld.Building_Door, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: ldfld System.Boolean openInt
L_0019: brtrue Label1
L_001e: ldc.i4.0
L_001f: br Label4
L_0024: Label1
L_0024: ldarg.0
L_0025: ldfld System.Boolean holdOpenInt
L_002a: brtrue Label2
L_002f: ldarg.0
L_0030: call Boolean get_WillCloseSoon()
L_0035: ldc.i4.0
L_0036: ceq
L_0038: br Label3
L_003d: Label2
L_003d: ldc.i4.1
L_003e: Label3
L_003e: Label4
L_003e: stloc 0 (System.Boolean)
L_003f: Label0
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.GhostDrawer, Void DrawGhostThing(IntVec3, Rot4, Verse.ThingDef,


Verse.Graphic, Color, AltitudeLayer)
L_0000: Local var 0: Verse.Graphic
L_0000: Local var 1: UnityEngine.Vector3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: ldarg 5
L_0024: call Boolean HeronDoorGhostHandler(IntVec3, Rot4, Verse.ThingDef,
Verse.Graphic, Color, AltitudeLayer)
L_0029: brfalse Label0
L_002e: ldarg.3
L_002f: brtrue Label1
L_0034: ldarg.2
L_0035: ldfld Verse.Graphic graphic
L_003a: starg.s 3
L_003c: Label1
L_003c: ldarg.3
L_003d: ldarg.2
L_003e: ldarg.s 4
L_0040: call Verse.Graphic GhostGraphicFor(Verse.Graphic, Verse.ThingDef, Color)
L_0045: stloc.0
L_0046: ldarg.0
L_0047: ldarg.1
L_0048: ldarg.2
L_0049: callvirt IntVec2 get_Size()
L_004e: ldarg.s 5
L_0050: call Single AltitudeFor(AltitudeLayer)
L_0055: call Vector3 TrueCenter(IntVec3, Rot4, IntVec2, Single)
L_005a: stloc.1
L_005b: ldloc.0
L_005c: ldloc.1
L_005d: ldarg.1
L_005e: ldarg.2
L_005f: ldc.r4 0
L_0064: callvirt Void DrawFromDef(Vector3, Rot4, Verse.ThingDef, Single)
L_0069: ldc.i4.0
L_006a: stloc.2
L_006b: br Label2
L_0070: Label3
L_0070: ldarg.2
L_0071: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0076: ldloc.2
L_0077: callvirt Verse.CompProperties get_Item(Int32)
L_007c: ldarg.0
L_007d: ldarg.1
L_007e: ldarg.2
L_007f: ldarg.s 4
L_0081: ldarg.s 5
L_0083: callvirt Void DrawGhost(IntVec3, Rot4, Verse.ThingDef, Color,
AltitudeLayer)
L_0088: ldloc.2
L_0089: ldc.i4.1
L_008a: add
L_008b: stloc.2
L_008c: Label2
L_008c: ldloc.2
L_008d: ldarg.2
L_008e: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0093: callvirt Int32 get_Count()
L_0098: blt Label3
L_009d: ldarg.2
L_009e: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00a3: brfalse Label4
L_00a8: ldc.i4.0
L_00a9: stloc.3
L_00aa: br Label5
L_00af: Label6
L_00af: ldarg.2
L_00b0: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00b5: ldloc.3
L_00b6: callvirt Verse.PlaceWorker get_Item(Int32)
L_00bb: ldarg.2
L_00bc: ldarg.0
L_00bd: ldarg.1
L_00be: ldarg.s 4
L_00c0: callvirt Void DrawGhost(Verse.ThingDef, IntVec3, Rot4, Color)
L_00c5: ldloc.3
L_00c6: ldc.i4.1
L_00c7: add
L_00c8: stloc.3
L_00c9: Label5
L_00c9: ldloc.3
L_00ca: ldarg.2
L_00cb: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00d0: callvirt Int32 get_Count()
L_00d5: blt Label6
L_00da: Label4
L_00da: Label0
L_00da: ret
DONE

### Patch Verse.GenSpawn, Void SpawnBuildingAsPossible(Verse.Building, Verse.Map,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.CellRect
L_0000: Local var 5: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: call Boolean HeronSpawnBuildingAsPossible(Verse.Building, Verse.Map,
Boolean)
L_0017: brfalse Label0
L_001c: ldc.i4.0
L_001d: stloc.0
L_001e: ldarg.0
L_001f: call CellRect OccupiedRect(Verse.Thing)
L_0024: stloc.1
L_0025: ldloca.s 1 (Verse.CellRect)
L_0027: ldarg.1
L_0028: call Boolean InBounds(Verse.Map)
L_002d: brtrue Label1
L_0032: ldc.i4.1
L_0033: stloc.0
L_0034: br Label2
L_0039: Label1
L_0039: ldarg.0
L_003a: call CellRect OccupiedRect(Verse.Thing)
L_003f: stloc.s 4 (Verse.CellRect)
L_0041: ldloca.s 4 (Verse.CellRect)
L_0043: call IEnumerator`1 GetEnumerator()
L_0048: stloc.3
.try
{
L_0049: br Label3
L_004e: Label15
L_004e: ldloc.3
L_004f: callvirt IntVec3 get_Current()
L_0054: stloc.2
L_0055: ldloc.2
L_0056: ldarg.1
L_0057: call System.Collections.Generic.List`1[Verse.Thing]
GetThingList(IntVec3, Verse.Map)
L_005c: stloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_005e: ldc.i4.0
L_005f: stloc.s 6 (System.Int32)
L_0061: br Label4
L_0066: Label12
L_0066: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0068: ldloc.s 6 (System.Int32)
L_006a: callvirt Verse.Thing get_Item(Int32)
L_006f: isinst Verse.Pawn
L_0074: brfalse Label5
L_0079: ldarg.0
L_007a: ldfld Verse.ThingDef def
L_007f: ldfld Verse.Traversability passability
L_0084: ldc.i4.2
L_0085: bne.un Label6
L_008a: ldc.i4.1
L_008b: stloc.0
L_008c: leave Label7
L_0091: Label5
L_0091: Label6
L_0091: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0093: ldloc.s 6 (System.Int32)
L_0095: callvirt Verse.Thing get_Item(Int32)
L_009a: ldfld Verse.ThingDef def
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.3
L_00a5: beq Label8
L_00aa: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00ac: ldloc.s 6 (System.Int32)
L_00ae: callvirt Verse.Thing get_Item(Int32)
L_00b3: ldfld Verse.ThingDef def
L_00b8: ldfld Verse.ThingCategory category
L_00bd: ldc.i4.2
L_00be: bne.un Label9
L_00c3: Label8
L_00c3: ldarg.0
L_00c4: ldfld Verse.ThingDef def
L_00c9: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00cb: ldloc.s 6 (System.Int32)
L_00cd: callvirt Verse.Thing get_Item(Int32)
L_00d2: ldfld Verse.ThingDef def
L_00d7: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00dc: brfalse Label10
L_00e1: ldc.i4.1
L_00e2: stloc.0
L_00e3: leave Label11
L_00e8: Label9
L_00e8: Label10
L_00e8: ldloc.s 6 (System.Int32)
L_00ea: ldc.i4.1
L_00eb: add
L_00ec: stloc.s 6 (System.Int32)
L_00ee: Label4
L_00ee: ldloc.s 6 (System.Int32)
L_00f0: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00f2: callvirt Int32 get_Count()
L_00f7: blt Label12
L_00fc: Label7
L_00fc: Label11
L_00fc: ldloc.0
L_00fd: brfalse Label13
L_0102: leave Label14
L_0107: Label3
L_0107: Label13
L_0107: ldloc.3
L_0108: callvirt Boolean MoveNext()
L_010d: brtrue Label15
L_0112: Label14
L_0112: leave Label16
L_0117: leave (autogenerated)
} // end try
.finally
{
L_011c: ldloc.3
L_011d: brfalse Label17
L_0122: ldloc.3
L_0123: callvirt Void Dispose()
L_0128: Label17
L_0128: endfinally
L_0129: leave (autogenerated)
} // end handler
L_012a: Label2
L_012a: Label16
L_012a: ldloc.0
L_012b: brfalse Label18
L_0130: ldarg.0
L_0131: ldarg.1
L_0132: call CellRect get_Empty()
L_0137: call Void Refund(Verse.Thing, Verse.Map, CellRect)
L_013c: br Label19
L_0141: Label18
L_0141: ldarg.0
L_0142: ldarg.0
L_0143: callvirt IntVec3 get_Position()
L_0148: ldarg.1
L_0149: ldarg.0
L_014a: callvirt Rot4 get_Rotation()
L_014f: ldc.i4.1
L_0150: ldarg.2
L_0151: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0156: pop
L_0157: Label19
L_0157: Label0
L_0157: ret
DONE

### Patch Verse.GenSpawn, Void WipeExistingThings(IntVec3, Rot4,


Verse.BuildableDef, Verse.Map, DestroyMode)
L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: call Boolean WipeExistingThings(IntVec3, Rot4, Verse.BuildableDef,
Verse.Map, DestroyMode)
L_0023: brfalse Label0
L_0028: ldarg.0
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: callvirt IntVec2 get_Size()
L_0030: call IEnumerable`1 CellsOccupiedBy(IntVec3, Rot4, IntVec2)
L_0035: callvirt IEnumerator`1 GetEnumerator()
L_003a: stloc.1
.try
{
L_003b: br Label1
L_0040: Label6
L_0040: ldloc.1
L_0041: callvirt IntVec3 get_Current()
L_0046: stloc.0
L_0047: ldarg.3
L_0048: ldfld Verse.ThingGrid thingGrid
L_004d: ldloc.0
L_004e: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_0053: call System.Collections.Generic.List`1[Verse.Thing] ToList[Thing]
(IEnumerable`1)
L_0058: callvirt Enumerator GetEnumerator()
L_005d: stloc.3
.try
{
L_005e: br Label2
L_0063: Label4
L_0063: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0065: call Verse.Thing get_Current()
L_006a: stloc.2
L_006b: ldarg.2
L_006c: ldloc.2
L_006d: ldfld Verse.ThingDef def
L_0072: call Boolean SpawningWipes(Verse.BuildableDef,
Verse.BuildableDef)
L_0077: brfalse Label3
L_007c: ldloc.2
L_007d: ldarg.s 4
L_007f: callvirt Void Destroy(DestroyMode)
L_0084: Label2
L_0084: Label3
L_0084: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0086: call Boolean MoveNext()
L_008b: brtrue Label4
L_0090: leave Label5
L_0095: leave (autogenerated)
} // end try
.finally
{
L_009a: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_009c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_00a2: callvirt Void Dispose()
L_00a7: endfinally
L_00a8: leave (autogenerated)
} // end handler
L_00a9: Label1
L_00a9: Label5
L_00a9: ldloc.1
L_00aa: callvirt Boolean MoveNext()
L_00af: brtrue Label6
L_00b4: leave Label7
L_00b9: leave (autogenerated)
} // end try
.finally
{
L_00be: ldloc.1
L_00bf: brfalse Label8
L_00c4: ldloc.1
L_00c5: callvirt Void Dispose()
L_00ca: Label8
L_00ca: endfinally
L_00cb: leave (autogenerated)
} // end handler
L_00cc: Label7
L_00cc: Label0
L_00cc: ret
DONE

### Patch Verse.GenSpawn, Boolean SpawningWipes(Verse.BuildableDef,


Verse.BuildableDef)
L_0000: Local var 0: Verse.ThingDef
L_0000: Local var 1: Verse.ThingDef
L_0000: Local var 2: Verse.BuildableDef
L_0000: Local var 3: Verse.BuildableDef
L_0000: Local var 4: Verse.ThingDef
L_0000: Local var 5: Verse.ThingDef
L_0000: Local var 6: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 6 (System.Boolean)
L_0007: ldarg.0
L_0008: isinst Verse.ThingDef
L_000d: stloc.0
L_000e: ldarg.1
L_000f: isinst Verse.ThingDef
L_0014: stloc.1
L_0015: ldloc.0
L_0016: brfalse Label1
L_001b: ldloc.1
L_001c: brtrue Label2
L_0021: Label1
L_0021: ldc.i4.0
L_0022: br Label49
L_0027: Label2
L_0027: ldloc.0
L_0028: ldfld Verse.ThingCategory category
L_002d: ldc.i4.8
L_002e: beq Label3
L_0033: ldloc.0
L_0034: ldfld Verse.ThingCategory category
L_0039: ldc.i4.s 9
L_003b: beq Label4
L_0040: ldloc.0
L_0041: ldfld Verse.ThingCategory category
L_0046: ldc.i4.6
L_0047: beq Label5
L_004c: ldloc.0
L_004d: ldfld Verse.ThingCategory category
L_0052: ldc.i4.5
L_0053: bne.un Label6
L_0058: Label3
L_0058: Label4
L_0058: Label5
L_0058: ldc.i4.0
L_0059: br Label50
L_005e: Label6
L_005e: ldloc.1
L_005f: ldfld System.Boolean destroyable
L_0064: brtrue Label7
L_0069: ldc.i4.0
L_006a: br Label51
L_006f: Label7
L_006f: ldloc.0
L_0070: ldfld Verse.ThingCategory category
L_0075: ldc.i4.4
L_0076: bne.un Label8
L_007b: ldc.i4.0
L_007c: br Label52
L_0081: Label8
L_0081: ldloc.1
L_0082: ldfld Verse.ThingCategory category
L_0087: ldc.i4.6
L_0088: bne.un Label9
L_008d: ldloc.0
L_008e: ldfld Verse.Traversability passability
L_0093: brfalse Label10
L_0098: ldc.i4.1
L_0099: br Label53
L_009e: Label9
L_009e: Label10
L_009e: ldloc.1
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.2
L_00a5: bne.un Label11
L_00aa: ldloc.0
L_00ab: ldfld Verse.Traversability passability
L_00b0: ldc.i4.2
L_00b1: bne.un Label12
L_00b6: ldloc.0
L_00b7: ldfld Verse.SurfaceType surfaceType
L_00bc: brtrue Label13
L_00c1: ldc.i4.1
L_00c2: br Label54
L_00c7: Label11
L_00c7: Label12
L_00c7: Label13
L_00c7: ldloc.0
L_00c8: callvirt Boolean get_EverTransmitsPower()
L_00cd: brfalse Label14
L_00d2: ldloc.1
L_00d3: ldsfld Verse.ThingDef PowerConduit
L_00d8: bne.un Label15
L_00dd: ldc.i4.1
L_00de: br Label55
L_00e3: Label14
L_00e3: Label15
L_00e3: ldloc.0
L_00e4: callvirt Boolean get_IsFrame()
L_00e9: brfalse Label16
L_00ee: ldloc.0
L_00ef: ldfld Verse.BuildableDef entityDefToBuild
L_00f4: ldarg.1
L_00f5: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00fa: brfalse Label17
L_00ff: ldc.i4.1
L_0100: br Label56
L_0105: Label16
L_0105: Label17
L_0105: ldloc.0
L_0106: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_010b: stloc.2
L_010c: ldloc.1
L_010d: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_0112: stloc.3
L_0113: ldloc.2
L_0114: brfalse Label18
L_0119: ldloc.3
L_011a: brtrue Label19
L_011f: Label18
L_011f: ldc.i4.0
L_0120: br Label57
L_0125: Label19
L_0125: ldloc.0
L_0126: ldfld Verse.BuildableDef entityDefToBuild
L_012b: isinst Verse.ThingDef
L_0130: stloc.s 4 (Verse.ThingDef)
L_0132: ldloc.1
L_0133: callvirt Boolean get_IsBlueprint()
L_0138: brfalse Label20
L_013d: ldloc.0
L_013e: callvirt Boolean get_IsBlueprint()
L_0143: brfalse Label21
L_0148: ldloc.s 4 (Verse.ThingDef)
L_014a: brfalse Label22
L_014f: ldloc.s 4 (Verse.ThingDef)
L_0151: ldfld RimWorld.BuildingProperties building
L_0156: brfalse Label23
L_015b: ldloc.s 4 (Verse.ThingDef)
L_015d: ldfld RimWorld.BuildingProperties building
L_0162: ldfld System.Boolean canPlaceOverWall
L_0167: brfalse Label24
L_016c: ldloc.1
L_016d: ldfld Verse.BuildableDef entityDefToBuild
L_0172: isinst Verse.ThingDef
L_0177: brfalse Label25
L_017c: ldloc.1
L_017d: ldfld Verse.BuildableDef entityDefToBuild
L_0182: castclass Verse.ThingDef
L_0187: ldsfld Verse.ThingDef Wall
L_018c: bne.un Label26
L_0191: ldc.i4.1
L_0192: br Label58
L_0197: Label22
L_0197: Label23
L_0197: Label24
L_0197: Label25
L_0197: Label26
L_0197: ldloc.1
L_0198: ldfld Verse.BuildableDef entityDefToBuild
L_019d: isinst Verse.TerrainDef
L_01a2: brfalse Label27
L_01a7: ldloc.0
L_01a8: ldfld Verse.BuildableDef entityDefToBuild
L_01ad: isinst Verse.ThingDef
L_01b2: brfalse Label28
L_01b7: ldloc.0
L_01b8: ldfld Verse.BuildableDef entityDefToBuild
L_01bd: castclass Verse.ThingDef
L_01c2: ldfld System.Boolean coversFloor
L_01c7: brfalse Label29
L_01cc: ldc.i4.1
L_01cd: br Label59
L_01d2: Label28
L_01d2: Label29
L_01d2: ldloc.0
L_01d3: ldfld Verse.BuildableDef entityDefToBuild
L_01d8: isinst Verse.TerrainDef
L_01dd: brfalse Label30
L_01e2: ldc.i4.1
L_01e3: br Label60
L_01e8: Label21
L_01e8: Label27
L_01e8: Label30
L_01e8: ldloc.1
L_01e9: ldfld Verse.BuildableDef entityDefToBuild
L_01ee: ldsfld Verse.ThingDef PowerConduit
L_01f3: bne.un Label31
L_01f8: ldloc.0
L_01f9: ldfld Verse.BuildableDef entityDefToBuild
L_01fe: isinst Verse.ThingDef
L_0203: brfalse Label32
L_0208: ldloc.0
L_0209: ldfld Verse.BuildableDef entityDefToBuild
L_020e: isinst Verse.ThingDef
L_0213: callvirt Boolean get_EverTransmitsPower()
L_0218: brfalse Label33
L_021d: ldc.i4.1
L_021e: br Label61
L_0223: Label31
L_0223: Label32
L_0223: Label33
L_0223: ldc.i4.0
L_0224: br Label62
L_0229: Label20
L_0229: ldloc.1
L_022a: callvirt Boolean get_IsFrame()
L_022f: brtrue Label34
L_0234: ldloc.1
L_0235: callvirt Boolean get_IsBlueprint()
L_023a: brfalse Label35
L_023f: Label34
L_023f: ldloc.1
L_0240: ldfld Verse.BuildableDef entityDefToBuild
L_0245: isinst Verse.TerrainDef
L_024a: brfalse Label36
L_024f: ldloc.2
L_0250: isinst Verse.ThingDef
L_0255: stloc.s 5 (Verse.ThingDef)
L_0257: ldloc.s 5 (Verse.ThingDef)
L_0259: brfalse Label37
L_025e: ldloc.s 5 (Verse.ThingDef)
L_0260: callvirt Boolean get_CoexistsWithFloors()
L_0265: brtrue Label38
L_026a: ldc.i4.1
L_026b: br Label63
L_0270: Label35
L_0270: Label36
L_0270: Label37
L_0270: Label38
L_0270: ldloc.1
L_0271: ldsfld Verse.ThingDef ActiveDropPod
L_0276: bne.un Label39
L_027b: ldc.i4.0
L_027c: br Label64
L_0281: Label39
L_0281: ldloc.0
L_0282: ldsfld Verse.ThingDef ActiveDropPod
L_0287: bne.un Label40
L_028c: ldloc.1
L_028d: ldsfld Verse.ThingDef ActiveDropPod
L_0292: bne.un Label41
L_0297: ldc.i4.0
L_0298: br Label65
L_029d: Label41
L_029d: ldloc.1
L_029e: ldfld Verse.ThingCategory category
L_02a3: ldc.i4.3
L_02a4: bne.un Label42
L_02a9: ldloc.1
L_02aa: ldfld Verse.Traversability passability
L_02af: ldc.i4.2
L_02b0: bne.un Label43
L_02b5: ldc.i4.1
L_02b6: br Label66
L_02bb: Label42
L_02bb: Label43
L_02bb: ldc.i4.0
L_02bc: br Label67
L_02c1: Label40
L_02c1: ldloc.0
L_02c2: call Boolean IsEdifice(Verse.BuildableDef)
L_02c7: brfalse Label44
L_02cc: ldloc.0
L_02cd: callvirt Boolean get_BlockPlanting()
L_02d2: brfalse Label45
L_02d7: ldloc.1
L_02d8: ldfld Verse.ThingCategory category
L_02dd: ldc.i4.4
L_02de: bne.un Label46
L_02e3: ldc.i4.1
L_02e4: br Label68
L_02e9: Label45
L_02e9: Label46
L_02e9: ldloc.2
L_02ea: isinst Verse.TerrainDef
L_02ef: brtrue Label47
L_02f4: ldloc.3
L_02f5: call Boolean IsEdifice(Verse.BuildableDef)
L_02fa: brfalse Label48
L_02ff: ldc.i4.1
L_0300: br Label69
L_0305: Label44
L_0305: Label47
L_0305: Label48
L_0305: ldc.i4.0
L_0306: Label49
L_0306: Label50
L_0306: Label51
L_0306: Label52
L_0306: Label53
L_0306: Label54
L_0306: Label55
L_0306: Label56
L_0306: Label57
L_0306: Label58
L_0306: Label59
L_0306: Label60
L_0306: Label61
L_0306: Label62
L_0306: Label63
L_0306: Label64
L_0306: Label65
L_0306: Label66
L_0306: Label67
L_0306: Label68
L_0306: Label69
L_0306: stloc 6 (System.Boolean)
L_0308: ldarg 0
L_030e: ldarg 1
L_0314: ldloca 6 (System.Boolean)
L_0316: call Void InvisDoorsDontWipe(Verse.BuildableDef, Verse.BuildableDef,
Boolean ByRef)
L_031b: ldloc 6 (System.Boolean)
L_031d: ret
DONE

### Patch Verse.AI.GenPath, Boolean ShouldNotEnterCell(Verse.Pawn, Verse.Map,


IntVec3)
L_0000: Local var 0: Verse.Building
L_0000: Local var 1: RimWorld.Building_Door
L_0000: Local var 2: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.1
L_0007: ldfld Verse.AI.PathGrid pathGrid
L_000c: ldarg.2
L_000d: callvirt Int32 PerceivedPathCostAt(IntVec3)
L_0012: ldc.i4.s 30
L_0014: ble Label1
L_0019: ldc.i4.1
L_001a: br Label9
L_001f: Label1
L_001f: ldarg.2
L_0020: ldarg.1
L_0021: call Boolean Walkable(IntVec3, Verse.Map)
L_0026: brtrue Label2
L_002b: ldc.i4.1
L_002c: br Label10
L_0031: Label2
L_0031: ldarg.0
L_0032: brfalse Label3
L_0037: ldarg.2
L_0038: ldarg.0
L_0039: call Boolean IsForbidden(IntVec3, Verse.Pawn)
L_003e: brfalse Label4
L_0043: ldc.i4.1
L_0044: br Label11
L_0049: Label4
L_0049: ldarg.2
L_004a: ldarg.1
L_004b: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0050: stloc.0
L_0051: ldloc.0
L_0052: brfalse Label5
L_0057: ldloc.0
L_0058: isinst RimWorld.Building_Door
L_005d: stloc.1
L_005e: ldloc.1
L_005f: brfalse Label6
L_0064: ldloc.1
L_0065: ldarg.0
L_0066: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_006b: brfalse Label7
L_0070: ldc.i4.1
L_0071: br Label12
L_0076: Label7
L_0076: ldloc.1
L_0077: ldarg.0
L_0078: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_007d: brtrue Label8
L_0082: ldc.i4.1
L_0083: br Label13
L_0088: Label3
L_0088: Label5
L_0088: Label6
L_0088: Label8
L_0088: ldc.i4.0
L_0089: Label9
L_0089: Label10
L_0089: Label11
L_0089: Label12
L_0089: Label13
L_0089: stloc 2 (System.Boolean)
L_008a: ldarg 0
L_0090: ldarg 1
L_0096: ldarg 2
L_009c: ldloca 2 (System.Boolean)
L_009e: call Void ShouldNotEnterCellInvisDoors(Verse.Pawn, Verse.Map, IntVec3,
Boolean ByRef)
L_00a3: ldloc 2 (System.Boolean)
L_00a4: ret
DONE

### Patch RimWorld.CompForbiddable, Void PostDraw()


L_0000: ldarg.0
L_0001: call Boolean DontDrawInvisDoorForbiddenIcons(RimWorld.CompForbiddable)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld System.Boolean forbiddenInt
L_0011: brfalse Label1
L_0016: ldarg.0
L_0017: ldfld Verse.ThingWithComps parent
L_001c: isinst RimWorld.Blueprint
L_0021: brtrue Label2
L_0026: ldarg.0
L_0027: ldfld Verse.ThingWithComps parent
L_002c: isinst RimWorld.Frame
L_0031: brfalse Label3
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld Verse.ThingWithComps parent
L_003c: ldfld Verse.ThingDef def
L_0041: ldflda Verse.IntVec2 size
L_0046: ldfld System.Int32 x
L_004b: ldc.i4.1
L_004c: bgt Label4
L_0051: ldarg.0
L_0052: ldfld Verse.ThingWithComps parent
L_0057: ldfld Verse.ThingDef def
L_005c: ldflda Verse.IntVec2 size
L_0061: ldfld System.Int32 z
L_0066: ldc.i4.1
L_0067: ble Label5
L_006c: Label4
L_006c: ldarg.0
L_006d: ldfld Verse.ThingWithComps parent
L_0072: callvirt Verse.Map get_Map()
L_0077: ldfld RimWorld.OverlayDrawer overlayDrawer
L_007c: ldarg.0
L_007d: ldfld Verse.ThingWithComps parent
L_0082: ldc.i4.s 16
L_0084: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0089: br Label6
L_008e: Label5
L_008e: ldarg.0
L_008f: ldfld Verse.ThingWithComps parent
L_0094: callvirt Verse.Map get_Map()
L_0099: ldfld RimWorld.OverlayDrawer overlayDrawer
L_009e: ldarg.0
L_009f: ldfld Verse.ThingWithComps parent
L_00a4: ldc.i4.8
L_00a5: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00aa: Label6
L_00aa: br Label7
L_00af: Label3
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingWithComps parent
L_00b5: ldfld Verse.ThingDef def
L_00ba: ldfld Verse.ThingCategory category
L_00bf: ldc.i4.3
L_00c0: bne.un Label8
L_00c5: ldarg.0
L_00c6: ldfld Verse.ThingWithComps parent
L_00cb: callvirt Verse.Map get_Map()
L_00d0: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00d5: ldarg.0
L_00d6: ldfld Verse.ThingWithComps parent
L_00db: ldc.i4.s 16
L_00dd: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00e2: br Label9
L_00e7: Label8
L_00e7: ldarg.0
L_00e8: ldfld Verse.ThingWithComps parent
L_00ed: callvirt Verse.Map get_Map()
L_00f2: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00f7: ldarg.0
L_00f8: ldfld Verse.ThingWithComps parent
L_00fd: ldc.i4.8
L_00fe: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0103: Label1
L_0103: Label7
L_0103: Label9
L_0103: Label0
L_0103: ret
DONE

### Patch Verse.AI.PawnPathUtility, Boolean


TryFindLastCellBeforeBlockingDoor(Verse.AI.PawnPath, Verse.Pawn, IntVec3 ByRef)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Door
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg 0
L_000c: ldarg 1
L_0012: ldarg 2
L_0018: ldloca 3 (System.Boolean)
L_001a: call Boolean ManhunterJobGiverFix(Verse.AI.PawnPath, Verse.Pawn, IntVec3
ByRef, Boolean ByRef)
L_001f: brfalse Label0
L_0024: ldarg.0
L_0025: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_002a: callvirt Int32 get_Count()
L_002f: ldc.i4.1
L_0030: bne.un Label1
L_0035: ldarg.2
L_0036: ldarg.0
L_0037: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_003c: ldc.i4.0
L_003d: callvirt IntVec3 get_Item(Int32)
L_0042: stobj Verse.IntVec3
L_0047: ldc.i4.0
L_0048: br Label6
L_004d: Label1
L_004d: ldarg.0
L_004e: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0053: stloc.0
L_0054: ldloc.0
L_0055: callvirt Int32 get_Count()
L_005a: ldc.i4.2
L_005b: sub
L_005c: stloc.1
L_005d: br Label2
L_0062: Label5
L_0062: ldloc.0
L_0063: ldloc.1
L_0064: callvirt IntVec3 get_Item(Int32)
L_0069: ldarg.1
L_006a: callvirt Verse.Map get_Map()
L_006f: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0074: isinst RimWorld.Building_Door
L_0079: stloc.2
L_007a: ldloc.2
L_007b: brfalse Label3
L_0080: ldloc.2
L_0081: ldarg.1
L_0082: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0087: brtrue Label4
L_008c: ldarg.2
L_008d: ldloc.0
L_008e: ldloc.1
L_008f: ldc.i4.1
L_0090: add
L_0091: callvirt IntVec3 get_Item(Int32)
L_0096: stobj Verse.IntVec3
L_009b: ldc.i4.1
L_009c: br Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldloc.1
L_00a2: ldc.i4.1
L_00a3: sub
L_00a4: stloc.1
L_00a5: Label2
L_00a5: ldloc.1
L_00a6: ldc.i4.1
L_00a7: bge Label5
L_00ac: ldarg.2
L_00ad: ldloc.0
L_00ae: ldc.i4.0
L_00af: callvirt IntVec3 get_Item(Int32)
L_00b4: stobj Verse.IntVec3
L_00b9: ldc.i4.0
L_00ba: Label6
L_00ba: Label7
L_00ba: stloc 3 (System.Boolean)
L_00bb: Label0
L_00bb: ldloc 3 (System.Boolean)
L_00bc: ret
DONE

### Patch RimWorld.ForbidUtility, Boolean IsForbiddenToPass(RimWorld.Building_Door,


Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: ldc.i4.0
L_0008: call Boolean CaresAboutForbidden(Verse.Pawn, Boolean)
L_000d: brtrue Label1
L_0012: ldc.i4.0
L_0013: br Label3
L_0018: Label1
L_0018: ldarg.0
L_0019: ldarg.1
L_001a: callvirt RimWorld.Faction get_Faction()
L_001f: call Boolean IsForbidden(Verse.Thing, RimWorld.Faction)
L_0024: brfalse Label2
L_0029: ldc.i4.1
L_002a: br Label4
L_002f: Label2
L_002f: ldc.i4.0
L_0030: Label3
L_0030: Label4
L_0030: stloc 0 (System.Boolean)
L_0031: ldarg 0
L_0037: ldarg 1
L_003d: ldloca 0 (System.Boolean)
L_003f: call Void IsForbiddenToPass_PostFix(Verse.Thing, Verse.Pawn, Boolean ByRef)
L_0044: ldloc 0 (System.Boolean)
L_0045: ret
DONE

### Patch Verse.AI.PathFinder, Int32 GetBuildingCost(Verse.Building, TraverseParms,


Verse.Pawn)
L_0000: Local var 0: RimWorld.Building_Door
L_0000: Local var 1: Verse.TraverseMode
L_0000: Local var 2: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Int32)
L_0006: ldarg.0
L_0007: isinst RimWorld.Building_Door
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldarga.s 1
L_0015: ldfld Verse.TraverseMode mode
L_001a: stloc.1
L_001b: ldloc.1
L_001c: switch Labels2,3,4,5,6,7
L_0039: br Label8
L_003e: Label4
L_003e: Label6
L_003e: ldloc.0
L_003f: callvirt Boolean get_FreePassage()
L_0044: brfalse Label9
L_0049: ldc.i4.0
L_004a: br Label30
L_004f: Label9
L_004f: ldc.i4 2147483647
L_0054: br Label31
L_0059: Label5
L_0059: Label7
L_0059: ldarg.2
L_005a: brfalse Label10
L_005f: ldloc.0
L_0060: ldarg.2
L_0061: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0066: brfalse Label11
L_006b: ldloc.0
L_006c: ldarg.2
L_006d: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0072: brtrue Label12
L_0077: ldloc.0
L_0078: callvirt Boolean get_FreePassage()
L_007d: brtrue Label13
L_0082: ldloc.0
L_0083: callvirt Int32 get_TicksToOpenNow()
L_0088: br Label32
L_008d: Label10
L_008d: Label11
L_008d: Label12
L_008d: Label13
L_008d: ldloc.0
L_008e: ldarg.2
L_008f: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0094: brfalse Label14
L_0099: ldc.i4.0
L_009a: br Label33
L_009f: Label14
L_009f: ldc.i4.s 50
L_00a1: ldloc.0
L_00a2: callvirt Int32 get_HitPoints()
L_00a7: conv.r4
L_00a8: ldc.r4 0.2
L_00ad: mul
L_00ae: conv.i4
L_00af: add
L_00b0: br Label34
L_00b5: Label3
L_00b5: ldarg.2
L_00b6: brfalse Label15
L_00bb: ldloc.0
L_00bc: ldarg.2
L_00bd: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00c2: brfalse Label16
L_00c7: ldloc.0
L_00c8: ldarg.2
L_00c9: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_00ce: brtrue Label17
L_00d3: ldloc.0
L_00d4: callvirt Boolean get_FreePassage()
L_00d9: brtrue Label18
L_00de: ldloc.0
L_00df: callvirt Int32 get_TicksToOpenNow()
L_00e4: br Label35
L_00e9: Label15
L_00e9: Label16
L_00e9: Label17
L_00e9: Label18
L_00e9: ldloc.0
L_00ea: ldarg.2
L_00eb: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_00f0: brfalse Label19
L_00f5: ldc.i4.0
L_00f6: br Label36
L_00fb: Label19
L_00fb: ldc.i4 150
L_0100: br Label37
L_0105: Label2
L_0105: ldarga.s 1
L_0107: ldfld System.Boolean canBash
L_010c: brtrue Label20
L_0111: ldloc.0
L_0112: ldarg.2
L_0113: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0118: brfalse Label21
L_011d: ldsfld System.Boolean drawPaths
L_0122: brfalse Label22
L_0127: ldarg.0
L_0128: callvirt IntVec3 get_Position()
L_012d: ldarg.0
L_012e: callvirt Verse.Map get_Map()
L_0133: ldc.r4 0.77
L_0138: ldstr "forbid"
L_013d: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_0142: Label22
L_0142: ldc.i4 2147483647
L_0147: br Label38
L_014c: Label20
L_014c: Label21
L_014c: ldloc.0
L_014d: ldarg.2
L_014e: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0153: brfalse Label23
L_0158: ldloc.0
L_0159: callvirt Boolean get_FreePassage()
L_015e: brtrue Label24
L_0163: ldloc.0
L_0164: callvirt Int32 get_TicksToOpenNow()
L_0169: br Label39
L_016e: Label23
L_016e: Label24
L_016e: ldloc.0
L_016f: ldarg.2
L_0170: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0175: brfalse Label25
L_017a: ldc.i4.0
L_017b: br Label40
L_0180: Label25
L_0180: ldarga.s 1
L_0182: ldfld System.Boolean canBash
L_0187: brfalse Label26
L_018c: ldc.i4 300
L_0191: br Label41
L_0196: Label26
L_0196: ldsfld System.Boolean drawPaths
L_019b: brfalse Label27
L_01a0: ldarg.0
L_01a1: callvirt IntVec3 get_Position()
L_01a6: ldarg.0
L_01a7: callvirt Verse.Map get_Map()
L_01ac: ldc.r4 0.34
L_01b1: ldstr "cant pass"
L_01b6: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_01bb: Label27
L_01bb: ldc.i4 2147483647
L_01c0: br Label42
L_01c5: Label8
L_01c5: br Label28
L_01ca: Label1
L_01ca: ldarg.2
L_01cb: brfalse Label29
L_01d0: ldarg.0
L_01d1: ldarg.2
L_01d2: callvirt UInt16 PathFindCostFor(Verse.Pawn)
L_01d7: br Label43
L_01dc: Label28
L_01dc: Label29
L_01dc: ldc.i4.0
L_01dd: Label30
L_01dd: Label31
L_01dd: Label32
L_01dd: Label33
L_01dd: Label34
L_01dd: Label35
L_01dd: Label36
L_01dd: Label37
L_01dd: Label38
L_01dd: Label39
L_01dd: Label40
L_01dd: Label41
L_01dd: Label42
L_01dd: Label43
L_01dd: stloc 2 (System.Int32)
L_01de: ldarg 0
L_01e4: ldarg 1
L_01ea: ldarg 2
L_01f0: ldloca 2 (System.Int32)
L_01f2: call Void GetBuildingCost_PostFix(Verse.Building, TraverseParms,
Verse.Pawn, Int32 ByRef)
L_01f7: ldloc 2 (System.Int32)
L_01f8: ret
DONE

### Patch Verse.AI.PawnPathUtility, Verse.Thing


FirstBlockingBuilding(Verse.AI.PawnPath, IntVec3 ByRef, Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: Verse.Building
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Building
L_0000: Local var 5: RimWorld.Building_Door
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: Verse.Thing
L_0000: ldnull
L_0001: stloc 7 (Verse.Thing)
L_0003: ldarg.0
L_0004: callvirt Boolean get_Found()
L_0009: brtrue Label1
L_000e: ldarg.1
L_000f: call IntVec3 get_Invalid()
L_0014: stobj Verse.IntVec3
L_0019: ldnull
L_001a: br Label22
L_001f: Label1
L_001f: ldarg.0
L_0020: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0025: stloc.0
L_0026: ldloc.0
L_0027: callvirt Int32 get_Count()
L_002c: ldc.i4.1
L_002d: bne.un Label2
L_0032: ldarg.1
L_0033: ldloc.0
L_0034: ldc.i4.0
L_0035: callvirt IntVec3 get_Item(Int32)
L_003a: stobj Verse.IntVec3
L_003f: ldnull
L_0040: br Label23
L_0045: Label2
L_0045: ldnull
L_0046: stloc.1
L_0047: call IntVec3 get_Invalid()
L_004c: stloc.2
L_004d: ldloc.0
L_004e: callvirt Int32 get_Count()
L_0053: ldc.i4.2
L_0054: sub
L_0055: stloc.3
L_0056: br Label3
L_005b: Label21
L_005b: ldloc.0
L_005c: ldloc.3
L_005d: callvirt IntVec3 get_Item(Int32)
L_0062: ldarg.2
L_0063: callvirt Verse.Map get_Map()
L_0068: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_006d: stloc.s 4 (Verse.Building)
L_006f: ldloc.s 4 (Verse.Building)
L_0071: brfalse Label4
L_0076: ldloc.s 4 (Verse.Building)
L_0078: isinst RimWorld.Building_Door
L_007d: stloc.s 5 (RimWorld.Building_Door)
L_007f: ldloc.s 5 (RimWorld.Building_Door)
L_0081: brfalse Label5
L_0086: ldloc.s 5 (RimWorld.Building_Door)
L_0088: callvirt Boolean get_FreePassage()
L_008d: brtrue Label6
L_0092: ldarg.2
L_0093: brfalse Label7
L_0098: ldloc.s 5 (RimWorld.Building_Door)
L_009a: ldarg.2
L_009b: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00a0: ldc.i4.0
L_00a1: ceq
L_00a3: br Label8
L_00a8: Label7
L_00a8: ldc.i4.1
L_00a9: Label8
L_00a9: br Label9
L_00ae: Label5
L_00ae: Label6
L_00ae: ldc.i4.0
L_00af: Label9
L_00af: stloc.s 6 (System.Boolean)
L_00b1: ldloc.s 6 (System.Boolean)
L_00b3: brtrue Label10
L_00b8: ldloc.s 4 (Verse.Building)
L_00ba: ldfld Verse.ThingDef def
L_00bf: ldfld Verse.Traversability passability
L_00c4: ldc.i4.2
L_00c5: bne.un Label11
L_00ca: Label10
L_00ca: ldloc.1
L_00cb: brfalse Label12
L_00d0: ldarg.1
L_00d1: ldloc.2
L_00d2: stobj Verse.IntVec3
L_00d7: ldloc.1
L_00d8: br Label24
L_00dd: Label12
L_00dd: ldarg.1
L_00de: ldloc.0
L_00df: ldloc.3
L_00e0: ldc.i4.1
L_00e1: add
L_00e2: callvirt IntVec3 get_Item(Int32)
L_00e7: stobj Verse.IntVec3
L_00ec: ldloc.s 4 (Verse.Building)
L_00ee: br Label25
L_00f3: Label4
L_00f3: Label11
L_00f3: ldloc.s 4 (Verse.Building)
L_00f5: brfalse Label13
L_00fa: ldloc.s 4 (Verse.Building)
L_00fc: ldfld Verse.ThingDef def
L_0101: ldfld Verse.Traversability passability
L_0106: ldc.i4.1
L_0107: bne.un Label14
L_010c: ldloc.s 4 (Verse.Building)
L_010e: ldfld Verse.ThingDef def
L_0113: callvirt FillCategory get_Fillage()
L_0118: ldc.i4.2
L_0119: bne.un Label15
L_011e: ldloc.1
L_011f: brtrue Label16
L_0124: ldloc.s 4 (Verse.Building)
L_0126: stloc.1
L_0127: ldloc.0
L_0128: ldloc.3
L_0129: ldc.i4.1
L_012a: add
L_012b: callvirt IntVec3 get_Item(Int32)
L_0130: stloc.2
L_0131: Label16
L_0131: br Label17
L_0136: Label13
L_0136: Label14
L_0136: Label15
L_0136: ldloc.s 4 (Verse.Building)
L_0138: brfalse Label18
L_013d: ldloc.s 4 (Verse.Building)
L_013f: ldfld Verse.ThingDef def
L_0144: ldfld Verse.Traversability passability
L_0149: ldc.i4.1
L_014a: bne.un Label19
L_014f: br Label20
L_0154: Label18
L_0154: Label19
L_0154: ldnull
L_0155: stloc.1
L_0156: Label17
L_0156: Label20
L_0156: ldloc.3
L_0157: ldc.i4.1
L_0158: sub
L_0159: stloc.3
L_015a: Label3
L_015a: ldloc.3
L_015b: ldc.i4.0
L_015c: bge Label21
L_0161: ldarg.1
L_0162: ldloc.0
L_0163: ldc.i4.0
L_0164: callvirt IntVec3 get_Item(Int32)
L_0169: stobj Verse.IntVec3
L_016e: ldnull
L_016f: Label22
L_016f: Label23
L_016f: Label24
L_016f: Label25
L_016f: stloc 7 (Verse.Thing)
L_0171: ldarg 0
L_0177: ldarg 1
L_017d: ldarg 2
L_0183: ldloca 7 (Verse.Thing)
L_0185: call Void FirstBlockingBuilding_PostFix(Verse.AI.PawnPath, IntVec3 ByRef,
Verse.Pawn, Verse.Thing ByRef)
L_018a: ldloc 7 (Verse.Thing)
L_018c: ret
DONE

### Patch RimWorld.WorkGiver_DoBill, Verse.AI.Job JobOnThing(Verse.Pawn,


Verse.Thing, Boolean)
L_0000: Local var 0: RimWorld.IBillGiver
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: RimWorld.CompRefuelable
L_0000: Local var 5: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 5 (Verse.AI.Job)
L_0003: ldarg.2
L_0004: isinst RimWorld.IBillGiver
L_0009: stloc.0
L_000a: ldloc.0
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldarg.2
L_0012: call Boolean ThingIsUsableBillGiver(Verse.Thing)
L_0017: brfalse Label2
L_001c: ldloc.0
L_001d: callvirt RimWorld.BillStack get_BillStack()
L_0022: callvirt Boolean get_AnyShouldDoNow()
L_0027: brfalse Label3
L_002c: ldloc.0
L_002d: callvirt Boolean UsableForBillsAfterFueling()
L_0032: brfalse Label4
L_0037: ldarg.1
L_0038: stloc.1
L_0039: ldarg.2
L_003a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_003f: stloc.2
L_0040: ldarg.3
L_0041: stloc.3
L_0042: ldloc.1
L_0043: ldloc.2
L_0044: ldc.i4.1
L_0045: ldc.i4.m1
L_0046: ldnull
L_0047: ldloc.3
L_0048: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32, Int32,
Verse.ReservationLayerDef, Boolean)
L_004d: brfalse Label5
L_0052: ldarg.2
L_0053: call Boolean IsBurning(Verse.Thing)
L_0058: brtrue Label6
L_005d: ldarg.2
L_005e: ldarg.1
L_005f: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_0064: brfalse Label7
L_0069: Label1
L_0069: Label2
L_0069: Label3
L_0069: Label4
L_0069: Label5
L_0069: Label6
L_0069: ldnull
L_006a: br Label11
L_006f: Label7
L_006f: ldarg.2
L_0070: call RimWorld.CompRefuelable TryGetComp[CompRefuelable](Verse.Thing)
L_0075: stloc.s 4 (RimWorld.CompRefuelable)
L_0077: ldloc.s 4 (RimWorld.CompRefuelable)
L_0079: brfalse Label8
L_007e: ldloc.s 4 (RimWorld.CompRefuelable)
L_0080: callvirt Boolean get_HasFuel()
L_0085: brtrue Label9
L_008a: ldarg.1
L_008b: ldarg.2
L_008c: ldarg.3
L_008d: call Boolean CanRefuel(Verse.Pawn, Verse.Thing, Boolean)
L_0092: brtrue Label10
L_0097: ldnull
L_0098: br Label12
L_009d: Label10
L_009d: ldarg.1
L_009e: ldarg.2
L_009f: ldarg.3
L_00a0: ldnull
L_00a1: ldnull
L_00a2: call Verse.AI.Job RefuelJob(Verse.Pawn, Verse.Thing, Boolean, Verse.JobDef,
Verse.JobDef)
L_00a7: br Label13
L_00ac: Label8
L_00ac: Label9
L_00ac: ldloc.0
L_00ad: callvirt RimWorld.BillStack get_BillStack()
L_00b2: callvirt Void RemoveIncompletableBills()
L_00b7: ldarg.0
L_00b8: ldarg.1
L_00b9: ldloc.0
L_00ba: call Verse.AI.Job StartOrResumeBillJob(Verse.Pawn, IBillGiver)
L_00bf: Label11
L_00bf: Label12
L_00bf: Label13
L_00bf: stloc 5 (Verse.AI.Job)
L_00c1: ldloca 5 (Verse.AI.Job)
L_00c3: ldarg 1
L_00c9: ldarg 2
L_00cf: ldarg 3
L_00d5: call Void Postfix(Verse.AI.Job ByRef, Verse.Pawn, Verse.Thing, Boolean)
L_00da: ldloc 5 (Verse.AI.Job)
L_00dc: ret
DONE

### Patch RimWorld.Building_Bed, Void set_Medical(Boolean)


L_0000: ldarg.1
L_0001: ldarg.0
L_0002: ldfld System.Boolean medicalInt
L_0007: beq Label1
L_000c: ldarg.0
L_000d: ldfld Verse.ThingDef def
L_0012: ldfld RimWorld.BuildingProperties building
L_0017: ldfld System.Boolean bed_humanlike
L_001c: pop
L_001d: ldc.i4.1
L_001e: brtrue Label2
L_0023: Label1
L_0023: br Label4
L_0028: Label2
L_0028: ldarg.0
L_0029: call Void RemoveAllOwners()
L_002e: ldarg.0
L_002f: ldarg.1
L_0030: stfld System.Boolean medicalInt
L_0035: ldarg.0
L_0036: callvirt Void Notify_ColorChanged()
L_003b: ldarg.0
L_003c: call Boolean get_Spawned()
L_0041: brfalse Label3
L_0046: ldarg.0
L_0047: call Verse.Map get_Map()
L_004c: ldfld Verse.MapDrawer mapDrawer
L_0051: ldarg.0
L_0052: call IntVec3 get_Position()
L_0057: ldc.i4.1
L_0058: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_005d: ldarg.0
L_005e: call Void NotifyRoomBedTypeChanged()
L_0063: Label3
L_0063: ldarg.0
L_0064: call Void FacilityChanged()
L_0069: Label4
L_0069: ldarg.0
L_006a: ldarga 1
L_0070: call Void ChangeMedicalStatus(RimWorld.Building_Bed, Boolean ByRef)
L_0075: ret
DONE

### Patch Verse.DesignationCategoryDef, IEnumerable`1


get_ResolvedAllowedDesignators()
L_0000: Local var 0: Verse.DesignationCategoryDef+<>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Designator,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld Verse.DesignationCategoryDef $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, Verse.DesignationCategoryDef ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0027: ret
DONE

### Patch Verse.Dialog_RenameZone, Void SetName(System.String)


L_0000: ldarg.0
L_0001: ldfld Verse.Zone zone
L_0006: ldarg.0
L_0007: ldfld System.String curName
L_000c: stfld System.String label
L_0011: ldstr "ZoneGainsName"
L_0016: ldc.i4.1
L_0017: newarr System.Object
L_001c: dup
L_001d: ldc.i4.0
L_001e: ldarg.0
L_001f: ldfld System.String curName
L_0024: stelem.ref
L_0025: call System.String Translate(System.String, System.Object[])
L_002a: ldsfld Verse.MessageTypeDef TaskCompletion
L_002f: ldc.i4.0
L_0030: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0035: call Void Postfix()
L_003a: ret
DONE

### Patch Verse.DynamicDrawManager, Void DrawDynamicThings()


L_0000: Local var 0: System.Boolean[]
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: Verse.CellIndices
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Exception
L_0000: Local var 7: System.Exception
L_0000: ldarga 0
L_0006: call Boolean Prefix(Verse.DynamicDrawManager ByRef)
L_000b: brfalse Label0
L_0010: ldsfld System.Boolean drawThingsDynamic
L_0015: brtrue Label1
L_001a: br Label18
L_001f: Label1
L_001f: ldarg.0
L_0020: ldc.i4.1
L_0021: stfld System.Boolean drawingNow
.try
{
L_0026: ldarg.0
L_0027: ldfld Verse.Map map
L_002c: ldfld Verse.FogGrid fogGrid
L_0031: ldfld System.Boolean[] fogGrid
L_0036: stloc.0
L_0037: call Verse.CameraDriver get_CameraDriver()
L_003c: callvirt CellRect get_CurrentViewRect()
L_0041: stloc.1
L_0042: ldloca.s 1 (Verse.CellRect)
L_0044: ldarg.0
L_0045: ldfld Verse.Map map
L_004a: call CellRect ClipInsideMap(Verse.Map)
L_004f: pop
L_0050: ldloca.s 1 (Verse.CellRect)
L_0052: ldc.i4.1
L_0053: call CellRect ExpandedBy(Int32)
L_0058: stloc.1
L_0059: ldarg.0
L_005a: ldfld Verse.Map map
L_005f: ldfld Verse.CellIndices cellIndices
L_0064: stloc.3
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.HashSet`1[Verse.Thing] drawThings
L_006b: callvirt Enumerator GetEnumerator()
L_0070: stloc.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
.try
{
L_0072: br Label2
L_0077: Label14
L_0077: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0079: call Verse.Thing get_Current()
L_007e: stloc.s 4 (Verse.Thing)
L_0080: ldloc.s 4 (Verse.Thing)
L_0082: callvirt IntVec3 get_Position()
L_0087: stloc.2
L_0088: ldloca.s 1 (Verse.CellRect)
L_008a: ldloc.2
L_008b: call Boolean Contains(IntVec3)
L_0090: brtrue Label3
L_0095: ldloc.s 4 (Verse.Thing)
L_0097: ldfld Verse.ThingDef def
L_009c: ldfld System.Boolean drawOffscreen
L_00a1: brtrue Label4
L_00a6: leave Label5
L_00ab: Label3
L_00ab: Label4
L_00ab: ldloc.0
L_00ac: ldloc.3
L_00ad: ldloc.2
L_00ae: callvirt Int32 CellToIndex(IntVec3)
L_00b3: ldelem.u1
L_00b4: brfalse Label6
L_00b9: ldloc.s 4 (Verse.Thing)
L_00bb: ldfld Verse.ThingDef def
L_00c0: ldfld System.Boolean seeThroughFog
L_00c5: brtrue Label7
L_00ca: leave Label8
L_00cf: Label6
L_00cf: Label7
L_00cf: ldloc.s 4 (Verse.Thing)
L_00d1: ldfld Verse.ThingDef def
L_00d6: ldfld System.Single hideAtSnowDepth
L_00db: ldc.r4 1
L_00e0: bge.un Label9
L_00e5: ldarg.0
L_00e6: ldfld Verse.Map map
L_00eb: ldfld Verse.SnowGrid snowGrid
L_00f0: ldloc.s 4 (Verse.Thing)
L_00f2: callvirt IntVec3 get_Position()
L_00f7: callvirt Single GetDepth(IntVec3)
L_00fc: ldloc.s 4 (Verse.Thing)
L_00fe: ldfld Verse.ThingDef def
L_0103: ldfld System.Single hideAtSnowDepth
L_0108: ble.un Label10
L_010d: leave Label11
L_0112: Label9
L_0112: Label10
.try
{
L_0112: ldloc.s 4 (Verse.Thing)
L_0114: callvirt Void Draw()
L_0119: leave Label12
L_011e: leave (autogenerated)
} // end try
.catch System.Exception
{
L_0123: stloc.s 6 (System.Exception)
L_0125: ldc.i4.4
L_0126: newarr System.Object
L_012b: dup
L_012c: ldc.i4.0
L_012d: ldstr "Exception drawing "
L_0132: stelem.ref
L_0133: dup
L_0134: ldc.i4.1
L_0135: ldloc.s 4 (Verse.Thing)
L_0137: stelem.ref
L_0138: dup
L_0139: ldc.i4.2
L_013a: ldstr ": "
L_013f: stelem.ref
L_0140: dup
L_0141: ldc.i4.3
L_0142: ldloc.s 6 (System.Exception)
L_0144: callvirt System.String ToString()
L_0149: stelem.ref
L_014a: call System.String Concat(System.Object[])
L_014f: ldc.i4.0
L_0150: call Void Error(System.String, Boolean)
L_0155: leave Label13
L_015a: leave (autogenerated)
} // end handler
L_015f: Label2
L_015f: Label5
L_015f: Label8
L_015f: Label11
L_015f: Label12
L_015f: Label13
L_015f: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0161: call Boolean MoveNext()
L_0166: brtrue Label14
L_016b: leave Label15
L_0170: leave (autogenerated)
} // end try
.finally
{
L_0175: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0177: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing]
L_017d: callvirt Void Dispose()
L_0182: endfinally
L_0183: leave (autogenerated)
} // end handler
L_0184: Label15
L_0184: leave Label16
L_0189: leave (autogenerated)
} // end try
.catch System.Exception
{
L_018e: stloc.s 7 (System.Exception)
L_0190: ldstr "Exception drawing dynamic things: "
L_0195: ldloc.s 7 (System.Exception)
L_0197: call System.String Concat(System.Object, System.Object)
L_019c: ldc.i4.0
L_019d: call Void Error(System.String, Boolean)
L_01a2: leave Label17
L_01a7: leave (autogenerated)
} // end handler
L_01ac: Label16
L_01ac: Label17
L_01ac: ldarg.0
L_01ad: ldc.i4.0
L_01ae: stfld System.Boolean drawingNow
L_01b3: Label18
L_01b3: Label0
L_01b3: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterActivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brtrue Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Void Add(RimWorld.CompGatherSpot)
L_001d: Label1
L_001d: ldarga 1
L_0023: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0028: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterDeactivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Boolean Remove(RimWorld.CompGatherSpot)
L_001d: pop
L_001e: Label1
L_001e: ldarga 1
L_0024: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0029: ret
DONE

### Patch Verse.ListerBuildings, Void Add(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.BuildingProperties building
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldfld Verse.ThingDef def
L_0016: ldfld RimWorld.BuildingProperties building
L_001b: ldfld System.Boolean isNaturalRock
L_0020: brfalse Label2
L_0025: br Label7
L_002a: Label1
L_002a: Label2
L_002a: ldarg.1
L_002b: callvirt RimWorld.Faction get_Faction()
L_0030: call RimWorld.Faction get_OfPlayer()
L_0035: bne.un Label3
L_003a: ldarg.0
L_003b: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0040: ldarg.1
L_0041: callvirt Void Add(Verse.Building)
L_0046: ldarg.1
L_0047: isinst Verse.AI.IAttackTarget
L_004c: brfalse Label4
L_0051: ldarg.0
L_0052: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_0057: ldarg.1
L_0058: callvirt Boolean Add(Verse.Building)
L_005d: pop
L_005e: Label3
L_005e: Label4
L_005e: ldarg.1
L_005f: ldfld Verse.ThingDef def
L_0064: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0069: stloc.0
L_006a: ldloc.0
L_006b: brfalse Label5
L_0070: ldloc.0
L_0071: ldfld System.Boolean shortCircuitInRain
L_0076: brfalse Label6
L_007b: ldarg.0
L_007c: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0081: ldarg.1
L_0082: callvirt Boolean Add(Verse.Building)
L_0087: pop
L_0088: Label5
L_0088: Label6
L_0088: Label7
L_0088: ldarga 1
L_008e: call Void Postfix(Verse.Building ByRef)
L_0093: ret
DONE

### Patch Verse.ListerBuildings, Void Remove(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Building)
L_000c: pop
L_000d: ldarg.1
L_000e: isinst Verse.AI.IAttackTarget
L_0013: brfalse Label1
L_0018: ldarg.0
L_0019: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_001e: ldarg.1
L_001f: callvirt Boolean Remove(Verse.Building)
L_0024: pop
L_0025: Label1
L_0025: ldarg.1
L_0026: ldfld Verse.ThingDef def
L_002b: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0030: stloc.0
L_0031: ldloc.0
L_0032: brfalse Label2
L_0037: ldloc.0
L_0038: ldfld System.Boolean shortCircuitInRain
L_003d: brfalse Label3
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0048: ldarg.1
L_0049: callvirt Boolean Remove(Verse.Building)
L_004e: pop
L_004f: Label2
L_004f: Label3
L_004f: ldarga 1
L_0055: call Void Postfix(Verse.Building ByRef)
L_005a: ret
DONE

### Patch Verse.Room, Verse.Room MakeNew(Verse.Map)


L_0000: Local var 0: Verse.Room
L_0000: Local var 1: Verse.Room
L_0000: ldnull
L_0001: stloc 1 (Verse.Room)
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: callvirt Int32 get_Index()
L_000f: conv.i1
L_0010: stfld System.SByte mapIndex
L_0015: ldloc.0
L_0016: ldsfld System.Int32 nextRoomID
L_001b: stfld System.Int32 ID
L_0020: ldsfld System.Int32 nextRoomID
L_0025: ldc.i4.1
L_0026: add
L_0027: stsfld System.Int32 nextRoomID
L_002c: ldloc.0
L_002d: stloc 1 (Verse.Room)
L_002e: ldloca 1 (Verse.Room)
L_0030: call Void Postfix(Verse.Room ByRef)
L_0035: ldloc 1 (Verse.Room)
L_0036: ret
DONE

### Patch Verse.Room, Void Notify_BedTypeChanged()


L_0000: ldarg.0
L_0001: ldc.i4.1
L_0002: stfld System.Boolean statsAndRoleDirty
L_0007: ldarga 0
L_000d: call Void Postfix(Verse.Room ByRef)
L_0012: ret
DONE

### Patch Verse.Room, Void Notify_RoomShapeOrContainedBedsChanged()


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Bed
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: RimWorld.Building_Bed
L_0000: Local var 6:
System.Collections.Generic.IEnumerator`1[[RimWorld.Building_Bed, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldc.i4.m1
L_0002: stfld System.Int32 cachedCellCount
L_0007: ldarg.0
L_0008: ldc.i4.m1
L_0009: stfld System.Int32 cachedOpenRoofCount
L_000e: ldarg.0
L_000f: ldnull
L_0010: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_0015: call ProgramState get_ProgramState()
L_001a: ldc.i4.2
L_001b: bne.un Label1
L_0020: ldarg.0
L_0021: call Boolean get_Fogged()
L_0026: brtrue Label2
L_002b: ldarg.0
L_002c: call Verse.Map get_Map()
L_0031: ldfld Verse.AutoBuildRoofAreaSetter autoBuildRoofAreaSetter
L_0036: ldarg.0
L_0037: callvirt Void TryGenerateAreaFor(Verse.Room)
L_003c: Label1
L_003c: Label2
L_003c: ldarg.0
L_003d: ldc.i4.0
L_003e: stfld System.Boolean isPrisonCell
L_0043: ldarg.0
L_0044: call Boolean RoomCanBePrisonCell(Verse.Room)
L_0049: brfalse Label3
L_004e: ldarg.0
L_004f: call System.Collections.Generic.List`1[Verse.Thing]
get_ContainedAndAdjacentThings()
L_0054: stloc.0
L_0055: ldc.i4.0
L_0056: stloc.1
L_0057: br Label4
L_005c: Label8
L_005c: ldloc.0
L_005d: ldloc.1
L_005e: callvirt Verse.Thing get_Item(Int32)
L_0063: isinst RimWorld.Building_Bed
L_0068: stloc.2
L_0069: ldloc.2
L_006a: brfalse Label5
L_006f: ldloc.2
L_0070: callvirt Boolean get_ForPrisoners()
L_0075: brfalse Label6
L_007a: ldarg.0
L_007b: ldc.i4.1
L_007c: stfld System.Boolean isPrisonCell
L_0081: br Label7
L_0086: Label5
L_0086: Label6
L_0086: ldloc.1
L_0087: ldc.i4.1
L_0088: add
L_0089: stloc.1
L_008a: Label4
L_008a: ldloc.1
L_008b: ldloc.0
L_008c: callvirt Int32 get_Count()
L_0091: blt Label8
L_0096: Label3
L_0096: Label7
L_0096: ldarg.0
L_0097: call Verse.Map get_Map()
L_009c: ldfld Verse.ListerThings listerThings
L_00a1: ldsfld Verse.ThingDef NutrientPasteDispenser
L_00a6: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsOfDef(Verse.ThingDef)
L_00ab: stloc.3
L_00ac: ldc.i4.0
L_00ad: stloc.s 4 (System.Int32)
L_00af: br Label9
L_00b4: Label10
L_00b4: ldloc.3
L_00b5: ldloc.s 4 (System.Int32)
L_00b7: callvirt Verse.Thing get_Item(Int32)
L_00bc: callvirt Void Notify_ColorChanged()
L_00c1: ldloc.s 4 (System.Int32)
L_00c3: ldc.i4.1
L_00c4: add
L_00c5: stloc.s 4 (System.Int32)
L_00c7: Label9
L_00c7: ldloc.s 4 (System.Int32)
L_00c9: ldloc.3
L_00ca: callvirt Int32 get_Count()
L_00cf: blt Label10
L_00d4: call ProgramState get_ProgramState()
L_00d9: ldc.i4.2
L_00da: bne.un Label11
L_00df: ldarg.0
L_00e0: ldfld System.Boolean isPrisonCell
L_00e5: brfalse Label12
L_00ea: ldarg.0
L_00eb: call IEnumerable`1 get_ContainedBeds()
L_00f0: callvirt IEnumerator`1 GetEnumerator()
L_00f5: stloc.s 6 (System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
.try
{
L_00f7: br Label13
L_00fc: Label14
L_00fc: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_00fe: callvirt RimWorld.Building_Bed get_Current()
L_0103: stloc.s 5 (RimWorld.Building_Bed)
L_0105: ldloc.s 5 (RimWorld.Building_Bed)
L_0107: ldc.i4.1
L_0108: callvirt Void set_ForPrisoners(Boolean)
L_010d: Label13
L_010d: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_010f: callvirt Boolean MoveNext()
L_0114: brtrue Label14
L_0119: leave Label15
L_011e: leave (autogenerated)
} // end try
.finally
{
L_0123: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_0125: brfalse Label16
L_012a: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_012c: callvirt Void Dispose()
L_0131: Label16
L_0131: endfinally
L_0132: leave (autogenerated)
} // end handler
L_0133: Label11
L_0133: Label12
L_0133: Label15
L_0133: ldarg.0
L_0134: call Verse.TickManager get_TickManager()
L_0139: callvirt Int32 get_TicksGame()
L_013e: stfld System.Int32 lastChangeTick
L_0143: ldarg.0
L_0144: ldc.i4.1
L_0145: stfld System.Boolean statsAndRoleDirty
L_014a: ldarg.0
L_014b: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0150: call Void
NotifyFacilitiesAboutChangedLOSBlockers(System.Collections.Generic.List`1[Verse.Reg
ion])
L_0155: ldarga 0
L_015b: call Void Postfix(Verse.Room ByRef)
L_0160: ret
DONE

### Patch Verse.Room, Void RemoveRegion(Verse.Region)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(Verse.Region)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Tried to remove region from Room but this region is not here.
region="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: stelem.ref
L_0023: dup
L_0024: ldc.i4.2
L_0025: ldstr ", room="
L_002a: stelem.ref
L_002b: dup
L_002c: ldc.i4.3
L_002d: ldarg.0
L_002e: stelem.ref
L_002f: call System.String Concat(System.Object[])
L_0034: ldc.i4.0
L_0035: call Void Error(System.String, Boolean)
L_003a: br Label4
L_003f: Label1
L_003f: ldarg.0
L_0040: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0045: ldarg.1
L_0046: callvirt Boolean Remove(Verse.Region)
L_004b: pop
L_004c: ldarg.1
L_004d: ldfld System.Boolean touchesMapEdge
L_0052: brfalse Label2
L_0057: ldarg.0
L_0058: dup
L_0059: ldfld System.Int32 numRegionsTouchingMapEdge
L_005e: ldc.i4.1
L_005f: sub
L_0060: stfld System.Int32 numRegionsTouchingMapEdge
L_0065: Label2
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_006b: callvirt Int32 get_Count()
L_0070: brtrue Label3
L_0075: ldarg.0
L_0076: ldnull
L_0077: call Void set_Group(Verse.RoomGroup)
L_007c: ldarg.0
L_007d: ldc.i4.m1
L_007e: stfld System.Int32 cachedOpenRoofCount
L_0083: ldarg.0
L_0084: ldnull
L_0085: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_008a: ldarg.0
L_008b: ldc.i4.1
L_008c: stfld System.Boolean statsAndRoleDirty
L_0091: ldarg.0
L_0092: call Verse.Map get_Map()
L_0097: ldfld Verse.RegionGrid regionGrid
L_009c: ldfld System.Collections.Generic.List`1[Verse.Room] allRooms
L_00a1: ldarg.0
L_00a2: callvirt Boolean Remove(Verse.Room)
L_00a7: pop
L_00a8: Label3
L_00a8: Label4
L_00a8: ldarga 0
L_00ae: call Void Postfix(Verse.Room ByRef)
L_00b3: ret
DONE

### Patch Verse.ZoneManager, Void DeregisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Zone)
L_000c: pop
L_000d: ldarg.1
L_000e: callvirt Void PostDeregister()
L_0013: ldarga 1
L_0019: call Void Postfix(Verse.Zone ByRef)
L_001e: ret
DONE

### Patch Verse.ZoneManager, Void RegisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Void Add(Verse.Zone)
L_000c: ldarg.1
L_000d: callvirt Void PostRegister()
L_0012: ldarga 1
L_0018: call Void Postfix(Verse.Zone ByRef)
L_001d: ret
DONE

### Patch RimWorld.Zone_Growing, Void SetPlantDefToGrow(Verse.ThingDef)


L_0000: ldarg.0
L_0001: ldarg.1
L_0002: stfld Verse.ThingDef plantDefToGrow
L_0007: ldarga 0
L_000d: call Void Postfix(RimWorld.Zone_Growing ByRef)
L_0012: ret
DONE

### Patch Verse.Zone, Void RemoveCell(IntVec3)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Cannot remove cell from zone which doesn't have it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label3
L_0044: Label1
L_0044: ldarg.0
L_0045: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_004a: ldarg.1
L_004b: callvirt Boolean Remove(IntVec3)
L_0050: pop
L_0051: ldarg.0
L_0052: ldfld Verse.ZoneManager zoneManager
L_0057: ldarg.1
L_0058: callvirt Void ClearZoneGridCell(IntVec3)
L_005d: ldarg.0
L_005e: call Verse.Map get_Map()
L_0063: ldfld Verse.MapDrawer mapDrawer
L_0068: ldarg.1
L_0069: ldc.i4 128
L_006e: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_0073: ldarg.0
L_0074: ldc.i4.0
L_0075: stfld System.Boolean cellsShuffled
L_007a: ldarg.0
L_007b: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0080: callvirt Int32 get_Count()
L_0085: brtrue Label2
L_008a: ldarg.0
L_008b: call Void Deregister()
L_0090: Label2
L_0090: Label3
L_0090: ldarga 0
L_0096: call Void Postfix(Verse.Zone ByRef)
L_009b: ret
DONE
### Patch Verse.Zone, Void AddCell(IntVec3)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Thing
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brfalse Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Adding cell to zone which already has it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label5
L_0044: Label1
L_0044: ldarg.0
L_0045: call Verse.Map get_Map()
L_004a: ldfld Verse.ThingGrid thingGrid
L_004f: ldarg.1
L_0050: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsListAt(IntVec3)
L_0055: stloc.0
L_0056: ldc.i4.0
L_0057: stloc.1
L_0058: br Label2
L_005d: Label4
L_005d: ldloc.0
L_005e: ldloc.1
L_005f: callvirt Verse.Thing get_Item(Int32)
L_0064: stloc.2
L_0065: ldloc.2
L_0066: ldfld Verse.ThingDef def
L_006b: callvirt Boolean get_CanOverlapZones()
L_0070: brtrue Label3
L_0075: ldstr "Added zone over zone-incompatible thing "
L_007a: ldloc.2
L_007b: call System.String Concat(System.Object, System.Object)
L_0080: ldc.i4.0
L_0081: call Void Error(System.String, Boolean)
L_0086: br Label6
L_008b: Label3
L_008b: ldloc.1
L_008c: ldc.i4.1
L_008d: add
L_008e: stloc.1
L_008f: Label2
L_008f: ldloc.1
L_0090: ldloc.0
L_0091: callvirt Int32 get_Count()
L_0096: blt Label4
L_009b: ldarg.0
L_009c: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_00a1: ldarg.1
L_00a2: callvirt Void Add(IntVec3)
L_00a7: ldarg.0
L_00a8: ldfld Verse.ZoneManager zoneManager
L_00ad: ldarg.0
L_00ae: ldarg.1
L_00af: callvirt Void AddZoneGridCell(Verse.Zone, IntVec3)
L_00b4: ldarg.0
L_00b5: call Verse.Map get_Map()
L_00ba: ldfld Verse.MapDrawer mapDrawer
L_00bf: ldarg.1
L_00c0: ldc.i4 128
L_00c5: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_00ca: ldarg.1
L_00cb: ldarg.0
L_00cc: call Void Notify_ZoneCellAdded(IntVec3, Verse.Zone)
L_00d1: ldarg.0
L_00d2: ldc.i4.0
L_00d3: stfld System.Boolean cellsShuffled
L_00d8: Label5
L_00d8: Label6
L_00d8: ldarga 0
L_00de: call Void Postfix(Verse.Zone ByRef)
L_00e3: ret
DONE

### Patch Verse.AI.AttackTargetFinder, IAttackTarget


BestAttackTarget(IAttackTargetSearcher, TargetScanFlags,
System.Predicate`1[Verse.Thing], Single, Single, IntVec3, Single, Boolean, Boolean)
L_0000: Local var 0: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey1
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.AI.IAttackTarget
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: Verse.AI.IAttackTarget
L_0000: Local var 8: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2
L_0000: Local var 10: Verse.AI.IAttackTarget
L_0000: Local var 11: Verse.IntVec3
L_0000: Local var 12: Verse.Map
L_0000: Local var 13: Verse.ThingRequest
L_0000: Local var 14: Verse.AI.PathEndMode
L_0000: Local var 15: Verse.Pawn
L_0000: Local var 16: Verse.Danger
L_0000: Local var 17: System.Boolean
L_0000: Local var 18: Verse.TraverseParms
L_0000: Local var 19: System.Single
L_0000: Local var 20: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 21: System.Int32
L_0000: Local var 22: Verse.AI.IAttackTarget
L_0000: Local var 23: System.Single
L_0000: Local var 24: System.Single
L_0000: Local var 25: Verse.IntVec3
L_0000: Local var 26: Verse.AI.IAttackTarget
L_0000: ldnull
L_0001: stloc 26 (Verse.AI.IAttackTarget)
L_0003: ldarg 0
L_0009: ldarga 2
L_000f: call Boolean Prefix(IAttackTargetSearcher, System.Predicate`1[Verse.Thing]
ByRef)
L_0014: brfalse Label0
L_0019: newobj Void .ctor()
L_001e: stloc.0
L_001f: ldloc.0
L_0020: ldarg.0
L_0021: stfld Verse.AI.IAttackTargetSearcher searcher
L_0026: ldloc.0
L_0027: ldarg.s 8
L_0029: stfld System.Boolean canTakeTargetsCloserThanEffectiveMinRange
L_002e: ldloc.0
L_002f: ldarg.s 6
L_0031: stfld System.Single maxTravelRadiusFromLocus
L_0036: ldloc.0
L_0037: ldarg.s 5
L_0039: stfld Verse.IntVec3 locus
L_003e: ldloc.0
L_003f: ldarg.2
L_0040: stfld System.Predicate`1[Verse.Thing] validator
L_0045: ldloc.0
L_0046: ldarg.1
L_0047: stfld Verse.AI.TargetScanFlags flags
L_004c: ldloc.0
L_004d: ldarg.s 7
L_004f: stfld System.Boolean canBash
L_0054: ldloc.0
L_0055: ldarg.s 4
L_0057: stfld System.Single maxDist
L_005c: ldloc.0
L_005d: ldloc.0
L_005e: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0063: callvirt Verse.Thing get_Thing()
L_0068: stfld Verse.Thing searcherThing
L_006d: ldloc.0
L_006e: ldloc.0
L_006f: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0074: isinst Verse.Pawn
L_0079: stfld Verse.Pawn searcherPawn
L_007e: ldloc.0
L_007f: ldloc.0
L_0080: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0085: callvirt Verse.Verb get_CurrentEffectiveVerb()
L_008a: stfld Verse.Verb verb
L_008f: ldloc.0
L_0090: ldfld Verse.Verb verb
L_0095: brtrue Label1
L_009a: ldstr "BestAttackTarget with "
L_009f: ldloc.0
L_00a0: ldfld Verse.AI.IAttackTargetSearcher searcher
L_00a5: call System.String ToStringSafe[IAttackTargetSearcher]
(IAttackTargetSearcher)
L_00aa: ldstr " who has no attack verb."
L_00af: call System.String Concat(System.String, System.String, System.String)
L_00b4: ldc.i4.0
L_00b5: call Void Error(System.String, Boolean)
L_00ba: ldnull
L_00bb: br Label26
L_00c0: Label1
L_00c0: ldloc.0
L_00c1: ldloc.0
L_00c2: ldfld Verse.Verb verb
L_00c7: call Boolean IsEMP(Verse.Verb)
L_00cc: stfld System.Boolean onlyTargetMachines
L_00d1: ldloc.0
L_00d2: ldarg.3
L_00d3: ldarg.3
L_00d4: mul
L_00d5: stfld System.Single minDistSquared
L_00da: ldloc.0
L_00db: ldfld System.Single maxTravelRadiusFromLocus
L_00e0: ldloc.0
L_00e1: ldfld Verse.Verb verb
L_00e6: ldfld Verse.VerbProperties verbProps
L_00eb: ldfld System.Single range
L_00f0: add
L_00f1: stloc.1
L_00f2: ldloc.0
L_00f3: ldloc.1
L_00f4: ldloc.1
L_00f5: mul
L_00f6: stfld System.Single maxLocusDistSquared
L_00fb: ldloc.0
L_00fc: ldnull
L_00fd: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0102: ldloc.0
L_0103: ldfld Verse.AI.TargetScanFlags flags
L_0108: ldc.i4.s 64
L_010a: and
L_010b: conv.u1
L_010c: brfalse Label2
L_0111: ldloc.0
L_0112: ldloc.0
L_0113: ldftn Boolean <>m__0(IntVec3)
L_0119: newobj Void .ctor(Object, IntPtr)
L_011e: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0123: Label2
L_0123: ldloc.0
L_0124: ldloc.0
L_0125: ldftn Boolean <>m__1(IAttackTarget)
L_012b: newobj Void .ctor(Object, IntPtr)
L_0130: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0135: ldloc.0
L_0136: ldfld Verse.AI.IAttackTargetSearcher searcher
L_013b: call Boolean HasRangedAttack(IAttackTargetSearcher)
L_0140: brfalse Label3
L_0145: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_014a: callvirt Void Clear()
L_014f: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0154: ldloc.0
L_0155: ldfld Verse.Thing searcherThing
L_015a: callvirt Verse.Map get_Map()
L_015f: ldfld Verse.AI.AttackTargetsCache attackTargetsCache
L_0164: ldloc.0
L_0165: ldfld Verse.AI.IAttackTargetSearcher searcher
L_016a: callvirt System.Collections.Generic.List`1[Verse.AI.IAttackTarget]
GetPotentialTargetsFor(IAttackTargetSearcher)
L_016f: callvirt Void AddRange(IEnumerable`1)
L_0174: ldloc.0
L_0175: ldfld Verse.AI.TargetScanFlags flags
L_017a: ldc.i4.4
L_017b: and
L_017c: conv.u1
L_017d: brfalse Label4
L_0182: newobj Void .ctor()
L_0187: stloc.2
L_0188: ldloc.2
L_0189: ldloc.0
L_018a: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_018f: ldloc.2
L_0190: ldloc.0
L_0191: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0196: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_019b: ldloc.0
L_019c: ldloc.2
L_019d: ldftn Boolean <>m__0(IAttackTarget)
L_01a3: newobj Void .ctor(Object, IntPtr)
L_01a8: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01ad: Label4
L_01ad: ldc.i4.0
L_01ae: stloc.3
L_01af: ldc.i4.0
L_01b0: stloc.s 4 (System.Int32)
L_01b2: br Label5
L_01b7: Label10
L_01b7: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_01bc: ldloc.s 4 (System.Int32)
L_01be: callvirt IAttackTarget get_Item(Int32)
L_01c3: stloc.s 5 (Verse.AI.IAttackTarget)
L_01c5: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01c7: callvirt Verse.Thing get_Thing()
L_01cc: callvirt IntVec3 get_Position()
L_01d1: stloc.s 6 (Verse.IntVec3)
L_01d3: ldloca.s 6 (Verse.IntVec3)
L_01d5: ldloc.0
L_01d6: ldfld Verse.Thing searcherThing
L_01db: callvirt IntVec3 get_Position()
L_01e0: ldloc.0
L_01e1: ldfld System.Single maxDist
L_01e6: call Boolean InHorDistOf(IntVec3, Single)
L_01eb: brfalse Label6
L_01f0: ldloc.0
L_01f1: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01f6: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01f8: callvirt Boolean Invoke(IAttackTarget)
L_01fd: brfalse Label7
L_0202: ldloc.s 5 (Verse.AI.IAttackTarget)
L_0204: ldloc.0
L_0205: ldfld Verse.AI.IAttackTargetSearcher searcher
L_020a: ldloc.0
L_020b: ldfld Verse.Verb verb
L_0210: call Boolean CanShootAtFromCurrentPosition(IAttackTarget,
IAttackTargetSearcher, Verse.Verb)
L_0215: brfalse Label8
L_021a: ldc.i4.1
L_021b: stloc.3
L_021c: br Label9
L_0221: Label6
L_0221: Label7
L_0221: Label8
L_0221: ldloc.s 4 (System.Int32)
L_0223: ldc.i4.1
L_0224: add
L_0225: stloc.s 4 (System.Int32)
L_0227: Label5
L_0227: ldloc.s 4 (System.Int32)
L_0229: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_022e: callvirt Int32 get_Count()
L_0233: blt Label10
L_0238: Label9
L_0238: ldloc.3
L_0239: brfalse Label11
L_023e: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0243: ldloc.0
L_0244: ldftn Boolean <>m__2(IAttackTarget)
L_024a: newobj Void .ctor(Object, IntPtr)
L_024f: callvirt Int32 RemoveAll(System.Predicate`1[Verse.AI.IAttackTarget])
L_0254: pop
L_0255: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_025a: ldloc.0
L_025b: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0260: ldloc.0
L_0261: ldfld Verse.Verb verb
L_0266: call IAttackTarget
GetRandomShootingTargetByScore(System.Collections.Generic.List`1[Verse.AI.IAttackTa
rget], IAttackTargetSearcher, Verse.Verb)
L_026b: stloc.s 7 (Verse.AI.IAttackTarget)
L_026d: br Label12
L_0272: Label11
L_0272: ldloc.0
L_0273: ldfld Verse.AI.TargetScanFlags flags
L_0278: ldc.i4.8
L_0279: and
L_027a: conv.u1
L_027b: brfalse Label13
L_0280: ldloc.0
L_0281: ldfld Verse.AI.TargetScanFlags flags
L_0286: ldc.i4.4
L_0287: and
L_0288: conv.u1
L_0289: brtrue Label14
L_028e: ldloc.0
L_028f: ldftn Boolean <>m__3(Verse.Thing)
L_0295: newobj Void .ctor(Object, IntPtr)
L_029a: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_029c: br Label15
L_02a1: Label13
L_02a1: Label14
L_02a1: ldloc.0
L_02a2: ldftn Boolean <>m__4(Verse.Thing)
L_02a8: newobj Void .ctor(Object, IntPtr)
L_02ad: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_02af: Label15
L_02af: ldloc.0
L_02b0: ldfld Verse.Thing searcherThing
L_02b5: callvirt IntVec3 get_Position()
L_02ba: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02bf: ldloc.0
L_02c0: ldfld System.Single maxDist
L_02c5: ldloc.s 8 (System.Predicate`1[Verse.Thing])
L_02c7: ldnull
L_02c8: call Verse.Thing ClosestThing_Global(IntVec3, IEnumerable, Single,
System.Predicate`1[Verse.Thing], System.Func`2[Verse.Thing,System.Single])
L_02cd: castclass Verse.AI.IAttackTarget
L_02d2: stloc.s 7 (Verse.AI.IAttackTarget)
L_02d4: Label12
L_02d4: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02d9: callvirt Void Clear()
L_02de: ldloc.s 7 (Verse.AI.IAttackTarget)
L_02e0: br Label27
L_02e5: Label3
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn searcherPawn
L_02eb: brfalse Label16
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn searcherPawn
L_02f6: ldfld Verse.AI.Pawn_MindState mindState
L_02fb: ldfld Verse.AI.PawnDuty duty
L_0300: brfalse Label17
L_0305: ldloc.0
L_0306: ldfld Verse.Pawn searcherPawn
L_030b: ldfld Verse.AI.Pawn_MindState mindState
L_0310: ldfld Verse.AI.PawnDuty duty
L_0315: ldfld System.Single radius
L_031a: ldc.r4 0
L_031f: ble.un Label18
L_0324: ldloc.0
L_0325: ldfld Verse.Pawn searcherPawn
L_032a: callvirt Boolean get_InMentalState()
L_032f: brtrue Label19
L_0334: newobj Void .ctor()
L_0339: stloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033b: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033d: ldloc.0
L_033e: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_0343: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0345: ldloc.0
L_0346: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_034b: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_0350: ldloc.0
L_0351: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0353: ldftn Boolean <>m__0(IAttackTarget)
L_0359: newobj Void .ctor(Object, IntPtr)
L_035e: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0363: Label16
L_0363: Label17
L_0363: Label18
L_0363: Label19
L_0363: ldloc.0
L_0364: ldfld Verse.Thing searcherThing
L_0369: callvirt IntVec3 get_Position()
L_036e: stloc.s 11 (Verse.IntVec3)
L_0370: ldloc.0
L_0371: ldfld Verse.Thing searcherThing
L_0376: callvirt Verse.Map get_Map()
L_037b: stloc.s 12 (Verse.Map)
L_037d: ldc.i4.s 15
L_037f: call ThingRequest ForGroup(ThingRequestGroup)
L_0384: stloc.s 13 (Verse.ThingRequest)
L_0386: ldc.i4.2
L_0387: stloc.s 14 (Verse.AI.PathEndMode)
L_0389: ldloc.0
L_038a: ldfld Verse.Pawn searcherPawn
L_038f: stloc.s 15 (Verse.Pawn)
L_0391: ldc.i4.3
L_0392: stloc.s 16 (Verse.Danger)
L_0394: ldloc.0
L_0395: ldfld System.Boolean canBash
L_039a: stloc.s 17 (System.Boolean)
L_039c: ldloc.s 15 (Verse.Pawn)
L_039e: ldloc.s 16 (Verse.Danger)
L_03a0: ldc.i4.0
L_03a1: ldloc.s 17 (System.Boolean)
L_03a3: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_03a8: stloc.s 18 (Verse.TraverseParms)
L_03aa: ldloc.0
L_03ab: ldfld System.Single maxDist
L_03b0: stloc.s 19 (System.Single)
L_03b2: ldloc.0
L_03b3: ldftn Boolean <>m__5(Verse.Thing)
L_03b9: newobj Void .ctor(Object, IntPtr)
L_03be: stloc.s 20 (System.Predicate`1[Verse.Thing])
L_03c0: ldloc.0
L_03c1: ldfld System.Single maxDist
L_03c6: ldc.r4 800
L_03cb: ble.un Label20
L_03d0: ldc.i4.m1
L_03d1: br Label21
L_03d6: Label20
L_03d6: ldc.i4.s 40
L_03d8: Label21
L_03d8: stloc.s 21 (System.Int32)
L_03da: ldloc.s 11 (Verse.IntVec3)
L_03dc: ldloc.s 12 (Verse.Map)
L_03de: ldloc.s 13 (Verse.ThingRequest)
L_03e0: ldloc.s 14 (Verse.AI.PathEndMode)
L_03e2: ldloc.s 18 (Verse.TraverseParms)
L_03e4: ldloc.s 19 (System.Single)
L_03e6: ldloc.s 20 (System.Predicate`1[Verse.Thing])
L_03e8: ldnull
L_03e9: ldc.i4.0
L_03ea: ldloc.s 21 (System.Int32)
L_03ec: ldc.i4.0
L_03ed: ldc.i4.6
L_03ee: ldc.i4.0
L_03ef: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_03f4: castclass Verse.AI.IAttackTarget
L_03f9: stloc.s 10 (Verse.AI.IAttackTarget)
L_03fb: ldloc.s 10 (Verse.AI.IAttackTarget)
L_03fd: brfalse Label22
L_0402: ldloc.0
L_0403: ldfld Verse.Pawn searcherPawn
L_0408: call Boolean ShouldCollideWithPawns(Verse.Pawn)
L_040d: brfalse Label23
L_0412: ldloc.0
L_0413: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0418: ldloc.0
L_0419: ldfld Verse.Pawn searcherPawn
L_041e: ldloc.0
L_041f: ldfld System.Single maxDist
L_0424: ldloc.0
L_0425: ldfld System.Boolean canBash
L_042a: call IAttackTarget
FindBestReachableMeleeTarget(System.Predicate`1[Verse.AI.IAttackTarget],
Verse.Pawn, Single, Boolean)
L_042f: stloc.s 22 (Verse.AI.IAttackTarget)
L_0431: ldloc.s 22 (Verse.AI.IAttackTarget)
L_0433: brfalse Label24
L_0438: ldloc.0
L_0439: ldfld Verse.Pawn searcherPawn
L_043e: callvirt IntVec3 get_Position()
L_0443: ldloc.s 10 (Verse.AI.IAttackTarget)
L_0445: callvirt Verse.Thing get_Thing()
L_044a: callvirt IntVec3 get_Position()
L_044f: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_0454: stloc.s 11 (Verse.IntVec3)
L_0456: ldloca.s 11 (Verse.IntVec3)
L_0458: call Single get_LengthHorizontal()
L_045d: stloc.s 23 (System.Single)
L_045f: ldloc.0
L_0460: ldfld Verse.Pawn searcherPawn
L_0465: callvirt IntVec3 get_Position()
L_046a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_046c: callvirt Verse.Thing get_Thing()
L_0471: callvirt IntVec3 get_Position()
L_0476: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_047b: stloc.s 25 (Verse.IntVec3)
L_047d: ldloca.s 25 (Verse.IntVec3)
L_047f: call Single get_LengthHorizontal()
L_0484: stloc.s 24 (System.Single)
L_0486: ldloc.s 23 (System.Single)
L_0488: ldloc.s 24 (System.Single)
L_048a: sub
L_048b: call Single Abs(Single)
L_0490: ldc.r4 50
L_0495: bge.un Label25
L_049a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_049c: stloc.s 10 (Verse.AI.IAttackTarget)
L_049e: Label22
L_049e: Label23
L_049e: Label24
L_049e: Label25
L_049e: ldloc.s 10 (Verse.AI.IAttackTarget)
L_04a0: Label26
L_04a0: Label27
L_04a0: stloc 26 (Verse.AI.IAttackTarget)
L_04a2: Label0
L_04a2: ldloc 26 (Verse.AI.IAttackTarget)
L_04a4: ret
DONE

### Patch RimWorld.Pawn_DraftController, IEnumerable`1 GetGizmos()


L_0000: Local var 0: RimWorld.Pawn_DraftController+<GetGizmos>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Gizmo,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld RimWorld.Pawn_DraftController $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, RimWorld.Pawn_DraftController ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0027: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ldarg.0
L_019a: ldarg 1
L_01a0: call Void Postfix(RimWorld.Pawn_DraftController, Boolean)
L_01a5: ret
DONE

### Patch Verse.Pawn, Void Kill(Nullable`1, Verse.Hediff)


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: Verse.Map
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.Planet.Caravan
L_0000: Local var 7: RimWorld.Building_Grave
L_0000: Local var 8: System.Boolean
L_0000: Local var 9: System.Single
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.ThingOwner
L_0000: Local var 12: System.Boolean
L_0000: Local var 13: System.Boolean
L_0000: Local var 14: System.Boolean
L_0000: Local var 15: System.Boolean
L_0000: Local var 16: Verse.DamageInfo
L_0000: Local var 17: System.Single
L_0000: Local var 18: Verse.Thing
L_0000: Local var 19: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 20: Verse.DamageInfo
L_0000: Local var 21: Verse.DamageInfo
L_0000: Local var 22: Verse.Pawn
L_0000: Local var 23: Verse.DamageInfo
L_0000: Local var 24: Verse.DamageInfo
L_0000: Local var 25: Verse.DamageInfo
L_0000: Local var 26: Verse.Pawn_CarryTracker
L_0000: Local var 27: Verse.Thing
L_0000: Local var 28: Verse.AI.Group.Lord
L_0000: Local var 29: Verse.Corpse
L_0000: Local var 30: Verse.DamageInfo
L_0000: Local var 31: Verse.DamageInfo
L_0000: Local var 32: Verse.Hediff
L_0000: Local var 33: RimWorld.CompRottable
L_0000: Local var 34: System.Int32
L_0000: ldarg.0
L_0001: call IntVec3 get_PositionHeld()
L_0006: stloc.0
L_0007: ldarg.0
L_0008: call Verse.Map get_Map()
L_000d: stloc.1
L_000e: ldarg.0
L_000f: call Verse.Map get_MapHeld()
L_0014: stloc.2
L_0015: ldarg.0
L_0016: call Boolean get_Spawned()
L_001b: stloc.3
L_001c: ldarg.0
L_001d: call Boolean get_SpawnedOrAnyParentSpawned()
L_0022: stloc.s 4 (System.Boolean)
L_0024: ldarg.0
L_0025: call Boolean IsWorldPawn(Verse.Pawn)
L_002a: stloc.s 5 (System.Boolean)
L_002c: ldarg.0
L_002d: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_0032: stloc.s 6 (RimWorld.Planet.Caravan)
L_0034: ldnull
L_0035: stloc.s 7 (RimWorld.Building_Grave)
L_0037: ldarg.0
L_0038: ldfld RimWorld.Pawn_Ownership ownership
L_003d: brfalse Label1
L_0042: ldarg.0
L_0043: ldfld RimWorld.Pawn_Ownership ownership
L_0048: callvirt RimWorld.Building_Grave get_AssignedGrave()
L_004d: stloc.s 7 (RimWorld.Building_Grave)
L_004f: Label1
L_004f: ldarg.0
L_0050: call Boolean InBed(Verse.Pawn)
L_0055: stloc.s 8 (System.Boolean)
L_0057: ldc.r4 0
L_005c: stloc.s 9 (System.Single)
L_005e: ldloc.s 8 (System.Boolean)
L_0060: brfalse Label2
L_0065: ldarg.0
L_0066: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006b: callvirt Rot4 get_Rotation()
L_0070: stloc.s 10 (Verse.Rot4)
L_0072: ldloca.s 10 (Verse.Rot4)
L_0074: call Single get_AsAngle()
L_0079: stloc.s 9 (System.Single)
L_007b: Label2
L_007b: ldnull
L_007c: stloc.s 11 (Verse.ThingOwner)
L_007e: ldarg.0
L_007f: call Boolean get_InContainerEnclosed()
L_0084: stloc.s 12 (System.Boolean)
L_0086: ldloc.s 12 (System.Boolean)
L_0088: brfalse Label3
L_008d: ldarg.0
L_008e: ldfld Verse.ThingOwner holdingOwner
L_0093: stloc.s 11 (Verse.ThingOwner)
L_0095: ldloc.s 11 (Verse.ThingOwner)
L_0097: ldarg.0
L_0098: callvirt Boolean Remove(Verse.Thing)
L_009d: pop
L_009e: Label3
L_009e: ldc.i4.0
L_009f: stloc.s 13 (System.Boolean)
L_00a1: ldc.i4.0
L_00a2: stloc.s 14 (System.Boolean)
L_00a4: call ProgramState get_ProgramState()
L_00a9: ldc.i4.2
L_00aa: bne.un Label4
L_00af: ldloc.1
L_00b0: brfalse Label5
L_00b5: ldloc.1
L_00b6: ldfld Verse.DesignationManager designationManager
L_00bb: ldarg.0
L_00bc: ldsfld Verse.DesignationDef Hunt
L_00c1: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00c6: ldnull
L_00c7: ceq
L_00c9: ldc.i4.0
L_00ca: ceq
L_00cc: stloc.s 13 (System.Boolean)
L_00ce: ldloc.1
L_00cf: ldfld Verse.DesignationManager designationManager
L_00d4: ldarg.0
L_00d5: ldsfld Verse.DesignationDef Slaughter
L_00da: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00df: ldnull
L_00e0: ceq
L_00e2: ldc.i4.0
L_00e3: ceq
L_00e5: stloc.s 14 (System.Boolean)
L_00e7: Label4
L_00e7: Label5
L_00e7: ldarg.0
L_00e8: call Boolean ShouldSendNotificationAbout(Verse.Pawn)
L_00ed: brfalse Label6
L_00f2: ldloc.s 14 (System.Boolean)
L_00f4: brfalse Label7
L_00f9: ldarga.s 1
L_00fb: call Boolean get_HasValue()
L_0100: brfalse Label8
L_0105: ldarga.s 1
L_0107: call DamageInfo get_Value()
L_010c: stloc.s 16 (Verse.DamageInfo)
L_010e: ldloca.s 16 (Verse.DamageInfo)
L_0110: call Verse.DamageDef get_Def()
L_0115: ldsfld Verse.DamageDef ExecutionCut
L_011a: ceq
L_011c: br Label9
L_0121: Label7
L_0121: Label8
L_0121: ldc.i4.0
L_0122: Label9
L_0122: ldc.i4.0
L_0123: ceq
L_0125: br Label10
L_012a: Label6
L_012a: ldc.i4.0
L_012b: Label10
L_012b: stloc.s 15 (System.Boolean)
L_012d: ldc.r4 0
L_0132: stloc.s 17 (System.Single)
L_0134: ldarg.0
L_0135: ldsfld Verse.ThingDef Fire
L_013a: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_013f: stloc.s 18 (Verse.Thing)
L_0141: ldloc.s 18 (Verse.Thing)
L_0143: brfalse Label11
L_0148: ldloc.s 18 (Verse.Thing)
L_014a: castclass RimWorld.Fire
L_014f: callvirt Single CurrentSize()
L_0154: stloc.s 17 (System.Single)
L_0156: Label11
L_0156: ldarg.0
L_0157: ldarg.1
L_0158: ldc.i4.0
L_0159: call Void TryGiveThoughts(Verse.Pawn, Nullable`1,
PawnDiedOrDownedThoughtsKind)
L_015e: call ProgramState get_ProgramState()
L_0163: ldc.i4.2
L_0164: bne.un Label12
L_0169: call RimWorld.Storyteller get_Storyteller()
L_016e: ldarg.0
L_016f: ldc.i4.1
L_0170: ldloca.s 19 (System.Nullable`1[Verse.DamageInfo])
L_0172: initobj System.Nullable`1[Verse.DamageInfo]
L_0178: ldloc.s 19 (System.Nullable`1[Verse.DamageInfo])
L_017a: callvirt Void Notify_PawnEvent(Verse.Pawn, AdaptationEvent, Nullable`1)
L_017f: Label12
L_017f: ldarg.0
L_0180: call Boolean get_IsColonist()
L_0185: brfalse Label13
L_018a: call RimWorld.StoryWatcher get_StoryWatcher()
L_018f: ldfld RimWorld.StatsRecord statsRecord
L_0194: callvirt Void Notify_ColonistKilled()
L_0199: Label13
L_0199: ldloc.3
L_019a: brfalse Label14
L_019f: ldarga.s 1
L_01a1: call Boolean get_HasValue()
L_01a6: brfalse Label15
L_01ab: ldarga.s 1
L_01ad: call DamageInfo get_Value()
L_01b2: stloc.s 20 (Verse.DamageInfo)
L_01b4: ldloca.s 20 (Verse.DamageInfo)
L_01b6: call Verse.DamageDef get_Def()
L_01bb: ldarg.0
L_01bc: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_01c1: brfalse Label16
L_01c6: ldarg.0
L_01c7: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01cc: brtrue Label17
L_01d1: ldnull
L_01d2: ldftn Verse.SoundDef <Kill>m__8(Verse.LifeStageAge)
L_01d8: newobj Void .ctor(Object, IntPtr)
L_01dd: stsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e2: Label17
L_01e2: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e7: ldc.r4 1
L_01ec: call Void PlayNearestLifestageSound(Verse.Pawn,
System.Func`2[Verse.LifeStageAge,Verse.SoundDef], Single)
L_01f1: Label14
L_01f1: Label15
L_01f1: Label16
L_01f1: ldarga.s 1
L_01f3: call Boolean get_HasValue()
L_01f8: brfalse Label18
L_01fd: ldarga.s 1
L_01ff: call DamageInfo get_Value()
L_0204: stloc.s 21 (Verse.DamageInfo)
L_0206: ldloca.s 21 (Verse.DamageInfo)
L_0208: call Verse.Thing get_Instigator()
L_020d: brfalse Label19
L_0212: ldarga.s 1
L_0214: call DamageInfo get_Value()
L_0219: stloc.s 23 (Verse.DamageInfo)
L_021b: ldloca.s 23 (Verse.DamageInfo)
L_021d: call Verse.Thing get_Instigator()
L_0222: isinst Verse.Pawn
L_0227: stloc.s 22 (Verse.Pawn)
L_0229: ldloc.s 22 (Verse.Pawn)
L_022b: brfalse Label20
L_0230: ldarg.0
L_0231: ldloc.s 22 (Verse.Pawn)
L_0233: call Void Notify_PawnKilled(Verse.Pawn, Verse.Pawn)
L_0238: ldarg.0
L_0239: call Boolean get_IsColonist()
L_023e: brfalse Label21
L_0243: ldloc.s 22 (Verse.Pawn)
L_0245: ldfld RimWorld.Pawn_RecordsTracker records
L_024a: ldsfld RimWorld.StoryEventDef KilledPlayer
L_024f: callvirt Void AccumulateStoryEvent(RimWorld.StoryEventDef)
L_0254: Label18
L_0254: Label19
L_0254: Label20
L_0254: Label21
L_0254: ldarg.0
L_0255: ldarg.1
L_0256: call Void Notify_PawnDied(Verse.Pawn, Nullable`1)
L_025b: ldloc.3
L_025c: brfalse Label22
L_0261: call Verse.BattleLog get_BattleLog()
L_0266: ldarg.0
L_0267: ldarg.0
L_0268: call Verse.RaceProperties get_RaceProps()
L_026d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0272: callvirt Verse.RulePackDef get_DeathRules()
L_0277: ldarga.s 1
L_0279: call Boolean get_HasValue()
L_027e: brfalse Label23
L_0283: ldarga.s 1
L_0285: call DamageInfo get_Value()
L_028a: stloc.s 24 (Verse.DamageInfo)
L_028c: ldloca.s 24 (Verse.DamageInfo)
L_028e: call Verse.Thing get_Instigator()
L_0293: isinst Verse.Pawn
L_0298: br Label24
L_029d: Label23
L_029d: ldnull
L_029e: Label24
L_029e: ldarg.2
L_029f: ldarga.s 1
L_02a1: call Boolean get_HasValue()
L_02a6: brfalse Label25
L_02ab: ldarga.s 1
L_02ad: call DamageInfo get_Value()
L_02b2: stloc.s 25 (Verse.DamageInfo)
L_02b4: ldloca.s 25 (Verse.DamageInfo)
L_02b6: call Verse.BodyPartRecord get_HitPart()
L_02bb: br Label26
L_02c0: Label25
L_02c0: ldnull
L_02c1: Label26
L_02c1: newobj Void .ctor(Thing, RulePackDef, Pawn, Hediff, BodyPartRecord)
L_02c6: callvirt Void Add(Verse.LogEntry)
L_02cb: Label22
L_02cb: ldarg.0
L_02cc: ldfld Verse.Pawn_HealthTracker health
L_02d1: ldfld RimWorld.BillStack surgeryBills
L_02d6: callvirt Void Clear()
L_02db: ldarg.0
L_02dc: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02e1: brfalse Label27
L_02e6: ldarg.0
L_02e7: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02ec: ldarg.1
L_02ed: callvirt Void Notify_PawnKilled(Nullable`1)
L_02f2: Label27
L_02f2: ldarg.0
L_02f3: call Verse.RaceProperties get_RaceProps()
L_02f8: callvirt Boolean get_IsFlesh()
L_02fd: brfalse Label28
L_0302: ldarg.0
L_0303: ldfld RimWorld.Pawn_RelationsTracker relations
L_0308: ldarg.1
L_0309: ldloc.1
L_030a: callvirt Void Notify_PawnKilled(Nullable`1, Verse.Map)
L_030f: Label28
L_030f: ldarg.0
L_0310: ldfld RimWorld.Pawn_MeleeVerbs meleeVerbs
L_0315: callvirt Void Notify_PawnKilled()
L_031a: ldarg.0
L_031b: call IThingHolder get_ParentHolder()
L_0320: isinst Verse.Pawn_CarryTracker
L_0325: stloc.s 26 (Verse.Pawn_CarryTracker)
L_0327: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0329: brfalse Label29
L_032e: ldarg.0
L_032f: ldfld Verse.ThingOwner holdingOwner
L_0334: ldarg.0
L_0335: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0337: ldfld Verse.Pawn pawn
L_033c: callvirt IntVec3 get_Position()
L_0341: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0343: ldfld Verse.Pawn pawn
L_0348: callvirt Verse.Map get_Map()
L_034d: ldc.i4.1
L_034e: ldloca.s 27 (Verse.Thing)
L_0350: ldnull
L_0351: ldnull
L_0352: callvirt Boolean TryDrop(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
Verse.Thing ByRef, System.Action`2[Verse.Thing,System.Int32],
System.Predicate`1[Verse.IntVec3])
L_0357: brfalse Label30
L_035c: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_035e: ldfld Verse.Pawn pawn
L_0363: callvirt Verse.Map get_Map()
L_0368: stloc.1
L_0369: ldc.i4.1
L_036a: stloc.3
L_036b: Label29
L_036b: Label30
L_036b: ldarg.0
L_036c: ldfld Verse.Pawn_HealthTracker health
L_0371: callvirt Void SetDead()
L_0376: ldarg.0
L_0377: ldfld Verse.Pawn_HealthTracker health
L_037c: ldfld Verse.Effecter deflectionEffecter
L_0381: brfalse Label31
L_0386: ldarg.0
L_0387: ldfld Verse.Pawn_HealthTracker health
L_038c: ldfld Verse.Effecter deflectionEffecter
L_0391: callvirt Void Cleanup()
L_0396: ldarg.0
L_0397: ldfld Verse.Pawn_HealthTracker health
L_039c: ldnull
L_039d: stfld Verse.Effecter deflectionEffecter
L_03a2: Label31
L_03a2: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03a4: brfalse Label32
L_03a9: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03ab: ldarg.0
L_03ac: callvirt Void Notify_MemberDied(Verse.Pawn)
L_03b1: Label32
L_03b1: ldarg.0
L_03b2: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_03b7: stloc.s 28 (Verse.AI.Group.Lord)
L_03b9: ldloc.s 28 (Verse.AI.Group.Lord)
L_03bb: brfalse Label33
L_03c0: ldloc.s 28 (Verse.AI.Group.Lord)
L_03c2: ldarg.0
L_03c3: ldc.i4.2
L_03c4: ldarg.1
L_03c5: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_03ca: Label33
L_03ca: ldloc.3
L_03cb: brfalse Label34
L_03d0: ldarg.0
L_03d1: ldc.i4.0
L_03d2: call Void DropAndForbidEverything(Boolean)
L_03d7: Label34
L_03d7: ldloc.3
L_03d8: brfalse Label35
L_03dd: ldarg.0
L_03de: ldc.i4.0
L_03df: callvirt Void DeSpawn(DestroyMode)
L_03e4: Label35
L_03e4: ldnull
L_03e5: stloc.s 29 (Verse.Corpse)
L_03e7: ldarg.0
L_03e8: call Boolean IsBeingGenerated(Verse.Pawn)
L_03ed: brtrue Label36
L_03f2: ldloc.s 12 (System.Boolean)
L_03f4: brfalse Label37
L_03f9: ldarg.0
L_03fa: ldloc.s 7 (RimWorld.Building_Grave)
L_03fc: ldloc.s 8 (System.Boolean)
L_03fe: ldloc.s 9 (System.Single)
L_0400: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0405: stloc.s 29 (Verse.Corpse)
L_0407: ldloc.s 11 (Verse.ThingOwner)
L_0409: ldloc.s 29 (Verse.Corpse)
L_040b: ldc.i4.1
L_040c: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0411: brtrue Label38
L_0416: ldloc.s 29 (Verse.Corpse)
L_0418: ldc.i4.0
L_0419: callvirt Void Destroy(DestroyMode)
L_041e: ldnull
L_041f: stloc.s 29 (Verse.Corpse)
L_0421: Label38
L_0421: br Label39
L_0426: Label37
L_0426: ldloc.s 4 (System.Boolean)
L_0428: brfalse Label40
L_042d: ldarg.0
L_042e: ldfld Verse.ThingOwner holdingOwner
L_0433: brfalse Label41
L_0438: ldarg.0
L_0439: ldfld Verse.ThingOwner holdingOwner
L_043e: ldarg.0
L_043f: callvirt Boolean Remove(Verse.Thing)
L_0444: pop
L_0445: Label41
L_0445: ldarg.0
L_0446: ldloc.s 7 (RimWorld.Building_Grave)
L_0448: ldloc.s 8 (System.Boolean)
L_044a: ldloc.s 9 (System.Single)
L_044c: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0451: stloc.s 29 (Verse.Corpse)
L_0453: ldloc.s 29 (Verse.Corpse)
L_0455: ldloc.0
L_0456: ldloc.2
L_0457: ldc.i4.0
L_0458: ldnull
L_0459: ldnull
L_045a: call Boolean TryPlaceThing(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
System.Action`2[Verse.Thing,System.Int32], System.Predicate`1[Verse.IntVec3])
L_045f: brfalse Label42
L_0464: ldloc.s 29 (Verse.Corpse)
L_0466: ldarg.0
L_0467: call Rot4 get_Rotation()
L_046c: callvirt Void set_Rotation(Rot4)
L_0471: ldarg.0
L_0472: ldarg.1
L_0473: call Boolean WasKilledByHunter(Verse.Pawn, Nullable`1)
L_0478: brfalse Label43
L_047d: ldarga.s 1
L_047f: call DamageInfo get_Value()
L_0484: stloc.s 30 (Verse.DamageInfo)
L_0486: ldloca.s 30 (Verse.DamageInfo)
L_0488: call Verse.Thing get_Instigator()
L_048d: castclass Verse.Pawn
L_0492: ldloc.s 29 (Verse.Corpse)
L_0494: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0499: ldarga.s 1
L_049b: call DamageInfo get_Value()
L_04a0: stloc.s 31 (Verse.DamageInfo)
L_04a2: ldloca.s 31 (Verse.DamageInfo)
L_04a4: call Verse.Thing get_Instigator()
L_04a9: castclass Verse.Pawn
L_04ae: callvirt Verse.AI.Job get_CurJob()
L_04b3: ldc.i4.1
L_04b4: ldc.i4.m1
L_04b5: ldnull
L_04b6: ldc.i4.1
L_04b7: call Boolean Reserve(Verse.Pawn, LocalTargetInfo, Verse.AI.Job, Int32,
Int32, Verse.ReservationLayerDef, Boolean)
L_04bc: pop
L_04bd: br Label44
L_04c2: Label43
L_04c2: ldloc.s 13 (System.Boolean)
L_04c4: brtrue Label45
L_04c9: ldloc.s 14 (System.Boolean)
L_04cb: brtrue Label46
L_04d0: ldloc.s 29 (Verse.Corpse)
L_04d2: call Void SetForbiddenIfOutsideHomeArea(Verse.Thing)
L_04d7: Label44
L_04d7: Label45
L_04d7: Label46
L_04d7: ldloc.s 17 (System.Single)
L_04d9: ldc.r4 0
L_04de: ble.un Label47
L_04e3: ldloc.s 29 (Verse.Corpse)
L_04e5: callvirt IntVec3 get_Position()
L_04ea: ldloc.s 29 (Verse.Corpse)
L_04ec: callvirt Verse.Map get_Map()
L_04f1: ldloc.s 17 (System.Single)
L_04f3: call Boolean TryStartFireIn(IntVec3, Verse.Map, Single)
L_04f8: pop
L_04f9: Label47
L_04f9: br Label48
L_04fe: Label42
L_04fe: ldloc.s 29 (Verse.Corpse)
L_0500: ldc.i4.0
L_0501: callvirt Void Destroy(DestroyMode)
L_0506: ldnull
L_0507: stloc.s 29 (Verse.Corpse)
L_0509: Label48
L_0509: br Label49
L_050e: Label40
L_050e: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0510: brfalse Label50
L_0515: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0517: callvirt Boolean get_Spawned()
L_051c: brfalse Label51
L_0521: ldarg.0
L_0522: ldloc.s 7 (RimWorld.Building_Grave)
L_0524: ldloc.s 8 (System.Boolean)
L_0526: ldloc.s 9 (System.Single)
L_0528: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_052d: stloc.s 29 (Verse.Corpse)
L_052f: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0531: ldloc.s 29 (Verse.Corpse)
L_0533: ldc.i4.1
L_0534: callvirt Void AddPawnOrItem(Verse.Thing, Boolean)
L_0539: br Label52
L_053e: Label50
L_053e: Label51
L_053e: ldarg.0
L_053f: ldfld Verse.ThingOwner holdingOwner
L_0544: brtrue Label53
L_0549: ldarg.0
L_054a: call Boolean IsWorldPawn(Verse.Pawn)
L_054f: brfalse Label54
L_0554: Label53
L_0554: ldarg.0
L_0555: call Void PostCorpseDestroy(Verse.Pawn)
L_055a: br Label55
L_055f: Label54
L_055f: ldarg.0
L_0560: ldloc.s 7 (RimWorld.Building_Grave)
L_0562: ldloc.s 8 (System.Boolean)
L_0564: ldloc.s 9 (System.Single)
L_0566: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_056b: stloc.s 29 (Verse.Corpse)
L_056d: Label36
L_056d: Label39
L_056d: Label49
L_056d: Label52
L_056d: Label55
L_056d: ldloc.s 29 (Verse.Corpse)
L_056f: brfalse Label56
L_0574: ldarg.0
L_0575: ldfld Verse.Pawn_HealthTracker health
L_057a: ldfld Verse.HediffSet hediffSet
L_057f: ldsfld Verse.HediffDef ToxicBuildup
L_0584: ldc.i4.0
L_0585: callvirt Verse.Hediff GetFirstHediffOfDef(Verse.HediffDef, Boolean)
L_058a: stloc.s 32 (Verse.Hediff)
L_058c: ldloc.s 29 (Verse.Corpse)
L_058e: callvirt RimWorld.CompRottable GetComp[CompRottable]()
L_0593: stloc.s 33 (RimWorld.CompRottable)
L_0595: ldloc.s 32 (Verse.Hediff)
L_0597: brfalse Label57
L_059c: call Single get_Value()
L_05a1: ldloc.s 32 (Verse.Hediff)
L_05a3: callvirt Single get_Severity()
L_05a8: bge.un Label58
L_05ad: ldloc.s 33 (RimWorld.CompRottable)
L_05af: brfalse Label59
L_05b4: ldloc.s 33 (RimWorld.CompRottable)
L_05b6: callvirt Void RotImmediately()
L_05bb: Label56
L_05bb: Label57
L_05bb: Label58
L_05bb: Label59
L_05bb: ldarg.0
L_05bc: call Boolean get_Destroyed()
L_05c1: brtrue Label60
L_05c6: ldarg.0
L_05c7: ldc.i4.2
L_05c8: callvirt Void Destroy(DestroyMode)
L_05cd: Label60
L_05cd: ldarg.0
L_05ce: call Void RemoveComponentsOnKilled(Verse.Pawn)
L_05d3: ldarg.0
L_05d4: ldfld Verse.Pawn_HealthTracker health
L_05d9: ldfld Verse.HediffSet hediffSet
L_05de: callvirt Void DirtyCache()
L_05e3: ldarg.0
L_05e4: call Void SetDirty(Verse.Pawn)
L_05e9: ldc.i4.0
L_05ea: stloc.s 34 (System.Int32)
L_05ec: br Label61
L_05f1: Label62
L_05f1: ldarg.0
L_05f2: ldfld Verse.Pawn_HealthTracker health
L_05f7: ldfld Verse.HediffSet hediffSet
L_05fc: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0601: ldloc.s 34 (System.Int32)
L_0603: callvirt Verse.Hediff get_Item(Int32)
L_0608: callvirt Void Notify_PawnDied()
L_060d: ldloc.s 34 (System.Int32)
L_060f: ldc.i4.1
L_0610: add
L_0611: stloc.s 34 (System.Int32)
L_0613: Label61
L_0613: ldloc.s 34 (System.Int32)
L_0615: ldarg.0
L_0616: ldfld Verse.Pawn_HealthTracker health
L_061b: ldfld Verse.HediffSet hediffSet
L_0620: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0625: callvirt Int32 get_Count()
L_062a: blt Label62
L_062f: ldarg.0
L_0630: call RimWorld.Faction get_Faction()
L_0635: brfalse Label63
L_063a: ldarg.0
L_063b: call RimWorld.Faction get_Faction()
L_0640: ldarg.0
L_0641: ldarg.1
L_0642: ldloc.s 5 (System.Boolean)
L_0644: ldloc.2
L_0645: callvirt Void Notify_MemberDied(Verse.Pawn, Nullable`1, Boolean, Verse.Map)
L_064a: Label63
L_064a: ldloc.s 29 (Verse.Corpse)
L_064c: brfalse Label64
L_0651: ldarg.0
L_0652: call Verse.RaceProperties get_RaceProps()
L_0657: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_065c: brfalse Label65
L_0661: ldloc.3
L_0662: brfalse Label66
L_0667: ldarg.0
L_0668: call Verse.RaceProperties get_RaceProps()
L_066d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0672: ldloc.s 29 (Verse.Corpse)
L_0674: callvirt Void PawnDied(Verse.Corpse)
L_0679: Label65
L_0679: Label66
L_0679: call RimWorld.Scenario get_Scenario()
L_067e: brfalse Label67
L_0683: call RimWorld.Scenario get_Scenario()
L_0688: ldloc.s 29 (Verse.Corpse)
L_068a: callvirt Void Notify_PawnDied(Verse.Corpse)
L_068f: Label64
L_068f: Label67
L_068f: ldarg.0
L_0690: call RimWorld.Faction get_Faction()
L_0695: brfalse Label68
L_069a: ldarg.0
L_069b: call RimWorld.Faction get_Faction()
L_06a0: callvirt Boolean get_IsPlayer()
L_06a5: brfalse Label69
L_06aa: ldarg.0
L_06ab: call Void Notify_ColonistUnavailable(Verse.Pawn)
L_06b0: Label68
L_06b0: Label69
L_06b0: ldloc.s 4 (System.Boolean)
L_06b2: brfalse Label70
L_06b7: ldarg.0
L_06b8: ldloc.2
L_06b9: call Void Notify_PawnLostForTutor(Verse.Pawn, Verse.Map)
L_06be: Label70
L_06be: ldarg.0
L_06bf: call RimWorld.Faction get_Faction()
L_06c4: brfalse Label71
L_06c9: ldarg.0
L_06ca: call RimWorld.Faction get_Faction()
L_06cf: callvirt Boolean get_IsPlayer()
L_06d4: brfalse Label72
L_06d9: call ProgramState get_ProgramState()
L_06de: ldc.i4.2
L_06df: bne.un Label73
L_06e4: call RimWorld.ColonistBar get_ColonistBar()
L_06e9: callvirt Void MarkColonistsDirty()
L_06ee: Label71
L_06ee: Label72
L_06ee: Label73
L_06ee: ldloc.s 15 (System.Boolean)
L_06f0: brfalse Label74
L_06f5: ldarg.0
L_06f6: ldfld Verse.Pawn_HealthTracker health
L_06fb: ldarg.1
L_06fc: ldarg.2
L_06fd: ldloc.s 6 (RimWorld.Planet.Caravan)
L_06ff: callvirt Void NotifyPlayerOfKilled(Nullable`1, Verse.Hediff,
RimWorld.Planet.Caravan)
L_0704: Label74
L_0704: ldarg.0
L_0705: call Void Postfix(Verse.Pawn)
L_070a: ldarga 0
L_0710: call Void Postfix(Verse.Pawn ByRef)
L_0715: ret
DONE
### Patch RimWorld.Targeter, Void TargeterUpdate()
L_0000: Local var 0: Verse.LocalTargetInfo
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Single
L_0000: Local var 3: Verse.ShootLine
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: ldarg.0
L_0001: ldfld Verse.Verb targetingVerb
L_0006: brfalse Label1
L_000b: ldarg.0
L_000c: ldfld Verse.Verb targetingVerb
L_0011: ldfld Verse.VerbProperties verbProps
L_0016: ldarg.0
L_0017: ldfld Verse.Verb targetingVerb
L_001c: ldfld Verse.Thing caster
L_0021: callvirt IntVec3 get_Position()
L_0026: callvirt Void DrawRadiusRing(IntVec3)
L_002b: ldarg.0
L_002c: ldc.i4.1
L_002d: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_0032: stloc.0
L_0033: ldloca.s 0 (Verse.LocalTargetInfo)
L_0035: call Boolean get_IsValid()
L_003a: brfalse Label2
L_003f: ldloc.0
L_0040: call Void DrawTargetHighlight(LocalTargetInfo)
L_0045: ldarg.0
L_0046: ldfld Verse.Verb targetingVerb
L_004b: ldloca.s 1 (System.Boolean)
L_004d: callvirt Single HighlightFieldRadiusAroundTarget(Boolean ByRef)
L_0052: stloc.2
L_0053: ldloc.2
L_0054: ldc.r4 0.2
L_0059: ble.un Label3
L_005e: ldarg.0
L_005f: ldfld Verse.Verb targetingVerb
L_0064: ldarg.0
L_0065: ldfld Verse.Verb targetingVerb
L_006a: ldfld Verse.Thing caster
L_006f: callvirt IntVec3 get_Position()
L_0074: ldloc.0
L_0075: ldloca.s 3 (Verse.ShootLine)
L_0077: callvirt Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_007c: brfalse Label4
L_0081: ldloc.1
L_0082: brfalse Label5
L_0087: ldloca.s 3 (Verse.ShootLine)
L_0089: call IntVec3 get_Dest()
L_008e: ldloc.2
L_008f: call Void RenderPredictedAreaOfEffect(IntVec3, Single)
L_0094: br Label6
L_0099: Label5
L_0099: ldloca.s 3 (Verse.ShootLine)
L_009b: call IntVec3 get_Dest()
L_00a0: ldloc.2
L_00a1: ldc.i4.1
L_00a2: call IEnumerable`1 RadialCellsAround(IntVec3, Single, Boolean)
L_00a7: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00ac: brtrue Label7
L_00b1: ldnull
L_00b2: ldftn Boolean <TargeterUpdate>m__0(IntVec3)
L_00b8: newobj Void .ctor(Object, IntPtr)
L_00bd: stsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c2: Label7
L_00c2: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c7: call IEnumerable`1 Where[IntVec3](IEnumerable`1,
System.Func`2[Verse.IntVec3,System.Boolean])
L_00cc: call System.Collections.Generic.List`1[Verse.IntVec3] ToList[IntVec3]
(IEnumerable`1)
L_00d1: call Void DrawFieldEdges(System.Collections.Generic.List`1[Verse.IntVec3])
L_00d6: Label1
L_00d6: Label2
L_00d6: Label3
L_00d6: Label4
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Action`1[Verse.LocalTargetInfo] action
L_00dc: brfalse Label8
L_00e1: ldarg.0
L_00e2: ldc.i4.0
L_00e3: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_00e8: stloc.s 4 (Verse.LocalTargetInfo)
L_00ea: ldloca.s 4 (Verse.LocalTargetInfo)
L_00ec: call Boolean get_IsValid()
L_00f1: brfalse Label9
L_00f6: ldloc.s 4 (Verse.LocalTargetInfo)
L_00f8: call Void DrawTargetHighlight(LocalTargetInfo)
L_00fd: Label8
L_00fd: Label9
L_00fd: ldarg.0
L_00fe: call Void TargeterUpdate_PostFix(RimWorld.Targeter)
L_0103: ldarga 0
L_0109: call Void Postfix(RimWorld.Targeter ByRef)
L_010e: ret
DONE

### Patch Verse.Verb, Boolean CanHitTargetFrom(IntVec3, LocalTargetInfo)


L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.ShootLine
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarga.s 2
L_0008: call Verse.Thing get_Thing()
L_000d: brfalse Label1
L_0012: ldarga.s 2
L_0014: call Verse.Thing get_Thing()
L_0019: ldarg.0
L_001a: ldfld Verse.Thing caster
L_001f: bne.un Label2
L_0024: ldarg.0
L_0025: ldfld Verse.VerbProperties verbProps
L_002a: ldfld RimWorld.TargetingParameters targetParams
L_002f: ldfld System.Boolean canTargetSelf
L_0034: br Label8
L_0039: Label1
L_0039: Label2
L_0039: ldarg.0
L_003a: call Boolean get_CasterIsPawn()
L_003f: brfalse Label3
L_0044: ldarg.0
L_0045: call Verse.Pawn get_CasterPawn()
L_004a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_004f: brfalse Label4
L_0054: ldarg.0
L_0055: call Verse.Pawn get_CasterPawn()
L_005a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_005f: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0064: stloc.0
L_0065: ldc.i4.0
L_0066: stloc.1
L_0067: br Label5
L_006c: Label7
L_006c: ldloc.0
L_006d: ldloc.1
L_006e: callvirt RimWorld.Apparel get_Item(Int32)
L_0073: ldarg.1
L_0074: ldarg.0
L_0075: ldfld Verse.Thing caster
L_007a: callvirt Verse.Map get_Map()
L_007f: ldarg.2
L_0080: ldarg.0
L_0081: callvirt Boolean AllowVerbCast(IntVec3, Verse.Map, LocalTargetInfo,
Verse.Verb)
L_0086: brtrue Label6
L_008b: ldc.i4.0
L_008c: br Label9
L_0091: Label6
L_0091: ldloc.1
L_0092: ldc.i4.1
L_0093: add
L_0094: stloc.1
L_0095: Label5
L_0095: ldloc.1
L_0096: ldloc.0
L_0097: callvirt Int32 get_Count()
L_009c: blt Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldarg.0
L_00a2: ldarg.1
L_00a3: ldarg.2
L_00a4: ldloca.s 2 (Verse.ShootLine)
L_00a6: call Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_00ab: Label8
L_00ab: Label9
L_00ab: stloc 3 (System.Boolean)
L_00ac: ldarga 0
L_00b2: ldloca 3 (System.Boolean)
L_00b4: ldarg 1
L_00ba: ldarg 2
L_00c0: call Void Postfix(Verse.Verb ByRef, Boolean ByRef, IntVec3,
LocalTargetInfo)
L_00c5: ldloc 3 (System.Boolean)
L_00c6: ret
DONE

### Patch Verse.Pawn_RotationTracker, Void RotationTrackerTick()


L_0000: ldarg.0
L_0001: call Boolean VehicleRotatorTick(Verse.Pawn_RotationTracker)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void UpdateRotation()
L_0011: Label0
L_0011: ret
DONE

### Patch Verse.DamageWorker_AddInjury, Single FinalizeAndAddInjury(Verse.Pawn,


Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult)
L_0000: Local var 0: Verse.HediffComp_GetsPermanent
L_0000: Local var 1: System.Single
L_0000: Local var 2: System.Single
L_0000: ldc.r4 0
L_0005: stloc 2 (System.Single)
L_0006: ldarg.2
L_0007: call Verse.HediffComp_GetsPermanent TryGetComp[HediffComp_GetsPermanent]
(Verse.Hediff)
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldloc.0
L_0014: callvirt Void PreFinalizeInjury()
L_0019: Label1
L_0019: ldarg.1
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldarg.2
L_0020: ldnull
L_0021: ldarg.3
L_0022: newobj Void .ctor(DamageInfo)
L_0027: ldarg.s 4
L_0029: callvirt Void AddHediff(Verse.Hediff, Verse.BodyPartRecord, Nullable`1,
Verse.DamageWorker+DamageResult)
L_002e: ldarg.2
L_002f: callvirt Single get_Severity()
L_0034: ldarg.1
L_0035: ldfld Verse.Pawn_HealthTracker health
L_003a: ldfld Verse.HediffSet hediffSet
L_003f: ldarg.2
L_0040: callvirt Verse.BodyPartRecord get_Part()
L_0045: callvirt Single GetPartHealth(Verse.BodyPartRecord)
L_004a: call Single Min(Single, Single)
L_004f: stloc.1
L_0050: ldarg.s 4
L_0052: dup
L_0053: ldfld System.Single totalDamageDealt
L_0058: ldloc.1
L_0059: add
L_005a: stfld System.Single totalDamageDealt
L_005f: ldarg.s 4
L_0061: ldc.i4.1
L_0062: stfld System.Boolean wounded
L_0067: ldarg.s 4
L_0069: ldarg.1
L_006a: ldarg.2
L_006b: callvirt Verse.BodyPartRecord get_Part()
L_0070: callvirt Void AddPart(Verse.Thing, Verse.BodyPartRecord)
L_0075: ldarg.s 4
L_0077: ldarg.2
L_0078: callvirt Void AddHediff(Verse.Hediff)
L_007d: ldloc.1
L_007e: stloc 2 (System.Single)
L_007f: ldarg.0
L_0080: ldarg 1
L_0086: ldarg 2
L_008c: ldarg 3
L_0092: ldarga 4
L_0098: ldloca 2 (System.Single)
L_009a: call Void TryInjureVehicleOccupants(Verse.DamageWorker_AddInjury,
Verse.Pawn, Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult ByRef,
Single ByRef)
L_009f: ldloc 2 (System.Single)
L_00a0: ret
DONE

### Patch Verse.HealthUtility, System.String GetGeneralConditionLabel(Verse.Pawn,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Hediff_Injury
L_0000: Local var 3: System.String
L_0000: ldnull
L_0001: stloc 3 (System.String)
L_0002: ldloca 3 (System.String)
L_0004: ldarg 0
L_000a: ldarg 1
L_0010: call Boolean ReplaceConditionLabel(System.String ByRef, Verse.Pawn,
Boolean)
L_0015: brfalse Label0
L_001a: ldarg.0
L_001b: ldfld Verse.Pawn_HealthTracker health
L_0020: callvirt Boolean get_Dead()
L_0025: brfalse Label1
L_002a: ldstr "Dead"
L_002f: call System.String Translate(System.String)
L_0034: br Label15
L_0039: Label1
L_0039: ldarg.0
L_003a: ldfld Verse.Pawn_HealthTracker health
L_003f: ldfld Verse.PawnCapacitiesHandler capacities
L_0044: callvirt Boolean get_CanBeAwake()
L_0049: brtrue Label2
L_004e: ldstr "Unconscious"
L_0053: call System.String Translate(System.String)
L_0058: br Label16
L_005d: Label2
L_005d: ldarg.0
L_005e: ldfld Verse.Pawn_HealthTracker health
L_0063: callvirt Boolean get_InPainShock()
L_0068: brfalse Label3
L_006d: ldarg.1
L_006e: brfalse Label4
L_0073: ldstr "PainShockShort"
L_0078: call Boolean CanTranslate(System.String)
L_007d: brfalse Label5
L_0082: ldstr "PainShockShort"
L_0087: call System.String Translate(System.String)
L_008c: br Label6
L_0091: Label4
L_0091: Label5
L_0091: ldstr "PainShock"
L_0096: call System.String Translate(System.String)
L_009b: Label6
L_009b: br Label17
L_00a0: Label3
L_00a0: ldarg.0
L_00a1: callvirt Boolean get_Downed()
L_00a6: brfalse Label7
L_00ab: ldstr "Incapacitated"
L_00b0: call System.String Translate(System.String)
L_00b5: br Label18
L_00ba: Label7
L_00ba: ldc.i4.0
L_00bb: stloc.0
L_00bc: ldc.i4.0
L_00bd: stloc.1
L_00be: br Label8
L_00c3: Label12
L_00c3: ldarg.0
L_00c4: ldfld Verse.Pawn_HealthTracker health
L_00c9: ldfld Verse.HediffSet hediffSet
L_00ce: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_00d3: ldloc.1
L_00d4: callvirt Verse.Hediff get_Item(Int32)
L_00d9: isinst Verse.Hediff_Injury
L_00de: stloc.2
L_00df: ldloc.2
L_00e0: brtrue Label9
L_00e5: br Label10
L_00ea: Label9
L_00ea: ldloc.2
L_00eb: call Boolean IsPermanent(Verse.Hediff)
L_00f0: brtrue Label11
L_00f5: ldc.i4.1
L_00f6: stloc.0
L_00f7: Label10
L_00f7: Label11
L_00f7: ldloc.1
L_00f8: ldc.i4.1
L_00f9: add
L_00fa: stloc.1
L_00fb: Label8
L_00fb: ldloc.1
L_00fc: ldarg.0
L_00fd: ldfld Verse.Pawn_HealthTracker health
L_0102: ldfld Verse.HediffSet hediffSet
L_0107: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_010c: callvirt Int32 get_Count()
L_0111: blt Label12
L_0116: ldloc.0
L_0117: brfalse Label13
L_011c: ldstr "Injured"
L_0121: call System.String Translate(System.String)
L_0126: br Label19
L_012b: Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_HealthTracker health
L_0131: ldfld Verse.HediffSet hediffSet
L_0136: callvirt Single get_PainTotal()
L_013b: ldc.r4 0.3
L_0140: ble.un Label14
L_0145: ldstr "InPain"
L_014a: call System.String Translate(System.String)
L_014f: br Label20
L_0154: Label14
L_0154: ldstr "Healthy"
L_0159: call System.String Translate(System.String)
L_015e: Label15
L_015e: Label16
L_015e: Label17
L_015e: Label18
L_015e: Label19
L_015e: Label20
L_015e: stloc 3 (System.String)
L_015f: Label0
L_015f: ldloc 3 (System.String)
L_0160: ret
DONE

### Patch Verse.MapPawns, Int32 get_FreeColonistsSpawnedCount()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldarg.0
L_0007: call IEnumerable`1 get_FreeColonistsSpawned()
L_000c: call Int32 Count[Pawn](IEnumerable`1)
L_0011: stloc 0 (System.Int32)
L_0012: ldarg.0
L_0013: ldloca 0 (System.Int32)
L_0015: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_001a: ldloc 0 (System.Int32)
L_001b: ret
DONE

### Patch Verse.MapPawns, Int32


get_FreeColonistsSpawnedOrInPlayerEjectablePodsCount()
L_0000: Local var 0: System.Int32
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.Building_CryptosleepCasket
L_0000: Local var 5: Verse.IThingHolder
L_0000: Local var 6: System.Int32
L_0000: Local var 7: Verse.Pawn
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldc.i4.0
L_0008: stloc.0
L_0009: ldc.i4.0
L_000a: stloc.1
L_000b: br Label1
L_0010: Label3
L_0010: ldarg.0
L_0011: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0016: ldloc.1
L_0017: callvirt Verse.Pawn get_Item(Int32)
L_001c: callvirt Boolean get_IsFreeColonist()
L_0021: brfalse Label2
L_0026: ldloc.0
L_0027: ldc.i4.1
L_0028: add
L_0029: stloc.0
L_002a: Label2
L_002a: ldloc.1
L_002b: ldc.i4.1
L_002c: add
L_002d: stloc.1
L_002e: Label1
L_002e: ldloc.1
L_002f: ldarg.0
L_0030: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0035: callvirt Int32 get_Count()
L_003a: blt Label3
L_003f: ldarg.0
L_0040: ldfld Verse.Map map
L_0045: ldfld Verse.ListerThings listerThings
L_004a: ldc.i4.s 30
L_004c: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsInGroup(ThingRequestGroup)
L_0051: stloc.2
L_0052: ldc.i4.0
L_0053: stloc.3
L_0054: br Label4
L_0059: Label15
L_0059: ldloc.2
L_005a: ldloc.3
L_005b: callvirt Verse.Thing get_Item(Int32)
L_0060: isinst RimWorld.Building_CryptosleepCasket
L_0065: stloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0067: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0069: brfalse Label5
L_006e: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0070: ldfld Verse.ThingDef def
L_0075: ldfld RimWorld.BuildingProperties building
L_007a: ldfld System.Boolean isPlayerEjectable
L_007f: brtrue Label6
L_0084: Label5
L_0084: ldloc.2
L_0085: ldloc.3
L_0086: callvirt Verse.Thing get_Item(Int32)
L_008b: isinst RimWorld.IActiveDropPod
L_0090: brtrue Label7
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: callvirt Verse.Thing get_Item(Int32)
L_009c: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00a1: brfalse Label8
L_00a6: Label6
L_00a6: Label7
L_00a6: ldloc.2
L_00a7: ldloc.3
L_00a8: callvirt Verse.Thing get_Item(Int32)
L_00ad: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00b2: dup
L_00b3: brtrue Label9
L_00b8: pop
L_00b9: ldloc.2
L_00ba: ldloc.3
L_00bb: callvirt Verse.Thing get_Item(Int32)
L_00c0: castclass Verse.IThingHolder
L_00c5: Label9
L_00c5: stloc.s 5 (Verse.IThingHolder)
L_00c7: ldarg.0
L_00c8: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00cd: callvirt Void Clear()
L_00d2: ldloc.s 5 (Verse.IThingHolder)
L_00d4: ldarg.0
L_00d5: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00da: ldc.i4.1
L_00db: ldnull
L_00dc: call Void GetAllThingsRecursively(IThingHolder,
System.Collections.Generic.List`1[Verse.Thing], Boolean,
System.Predicate`1[Verse.IThingHolder])
L_00e1: ldc.i4.0
L_00e2: stloc.s 6 (System.Int32)
L_00e4: br Label10
L_00e9: Label14
L_00e9: ldarg.0
L_00ea: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00ef: ldloc.s 6 (System.Int32)
L_00f1: callvirt Verse.Thing get_Item(Int32)
L_00f6: isinst Verse.Pawn
L_00fb: stloc.s 7 (Verse.Pawn)
L_00fd: ldloc.s 7 (Verse.Pawn)
L_00ff: brfalse Label11
L_0104: ldloc.s 7 (Verse.Pawn)
L_0106: callvirt Boolean get_Dead()
L_010b: brtrue Label12
L_0110: ldloc.s 7 (Verse.Pawn)
L_0112: callvirt Boolean get_IsFreeColonist()
L_0117: brfalse Label13
L_011c: ldloc.0
L_011d: ldc.i4.1
L_011e: add
L_011f: stloc.0
L_0120: Label11
L_0120: Label12
L_0120: Label13
L_0120: ldloc.s 6 (System.Int32)
L_0122: ldc.i4.1
L_0123: add
L_0124: stloc.s 6 (System.Int32)
L_0126: Label10
L_0126: ldloc.s 6 (System.Int32)
L_0128: ldarg.0
L_0129: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_012e: callvirt Int32 get_Count()
L_0133: blt Label14
L_0138: Label8
L_0138: ldloc.3
L_0139: ldc.i4.1
L_013a: add
L_013b: stloc.3
L_013c: Label4
L_013c: ldloc.3
L_013d: ldloc.2
L_013e: callvirt Int32 get_Count()
L_0143: blt Label15
L_0148: ldarg.0
L_0149: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_014e: callvirt Void Clear()
L_0153: ldloc.0
L_0154: stloc 8 (System.Int32)
L_0156: ldarg.0
L_0157: ldloca 8 (System.Int32)
L_0159: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_015e: ldloc 8 (System.Int32)
L_0160: ret
DONE

### Patch Verse.Pawn_HealthTracker, Boolean ShouldBeDowned()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean VehicleShouldBeDowned(Verse.Pawn_HealthTracker, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean get_InPainShock()
L_0019: brtrue Label1
L_001e: ldarg.0
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: callvirt Boolean get_CanBeAwake()
L_0029: brfalse Label2
L_002e: ldarg.0
L_002f: ldfld Verse.PawnCapacitiesHandler capacities
L_0034: ldsfld Verse.PawnCapacityDef Moving
L_0039: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_003e: ldc.i4.0
L_003f: ceq
L_0041: br Label3
L_0046: Label1
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: stloc 0 (System.Boolean)
L_0048: Label0
L_0048: ldloc 0 (System.Boolean)
L_0049: ret
DONE

### Patch Verse.PawnDownedWiggler, Void WigglerTick()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: call Boolean VehicleShouldWiggle(Verse.PawnDownedWiggler)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld Verse.Pawn pawn
L_0011: callvirt Boolean get_Downed()
L_0016: brfalse Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: callvirt Boolean get_Spawned()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: ldfld Verse.Pawn pawn
L_0031: call Boolean InBed(Verse.Pawn)
L_0036: brtrue Label3
L_003b: ldarg.0
L_003c: dup
L_003d: ldfld System.Int32 ticksToIncapIcon
L_0042: ldc.i4.1
L_0043: sub
L_0044: stfld System.Int32 ticksToIncapIcon
L_0049: ldarg.0
L_004a: ldfld System.Int32 ticksToIncapIcon
L_004f: ldc.i4.0
L_0050: bgt Label4
L_0055: ldarg.0
L_0056: ldfld Verse.Pawn pawn
L_005b: callvirt IntVec3 get_Position()
L_0060: ldarg.0
L_0061: ldfld Verse.Pawn pawn
L_0066: callvirt Verse.Map get_Map()
L_006b: ldsfld Verse.ThingDef Mote_IncapIcon
L_0070: call Verse.Mote ThrowMetaIcon(IntVec3, Verse.Map, Verse.ThingDef)
L_0075: pop
L_0076: ldarg.0
L_0077: ldc.i4 200
L_007c: stfld System.Int32 ticksToIncapIcon
L_0081: Label4
L_0081: ldarg.0
L_0082: ldfld Verse.Pawn pawn
L_0087: call Boolean Awake(Verse.Pawn)
L_008c: brfalse Label5
L_0091: call Verse.TickManager get_TickManager()
L_0096: callvirt Int32 get_TicksGame()
L_009b: ldc.i4 300
L_00a0: rem
L_00a1: ldc.i4.2
L_00a2: mul
L_00a3: stloc.0
L_00a4: ldloc.0
L_00a5: ldc.i4.s 90
L_00a7: bge Label6
L_00ac: ldarg.0
L_00ad: dup
L_00ae: ldfld System.Single downedAngle
L_00b3: ldc.r4 0.35
L_00b8: add
L_00b9: stfld System.Single downedAngle
L_00be: br Label7
L_00c3: Label6
L_00c3: ldloc.0
L_00c4: ldc.i4 390
L_00c9: bge Label8
L_00ce: ldloc.0
L_00cf: ldc.i4 300
L_00d4: blt Label9
L_00d9: ldarg.0
L_00da: dup
L_00db: ldfld System.Single downedAngle
L_00e0: ldc.r4 0.35
L_00e5: sub
L_00e6: stfld System.Single downedAngle
L_00eb: Label1
L_00eb: Label2
L_00eb: Label3
L_00eb: Label5
L_00eb: Label7
L_00eb: Label8
L_00eb: Label9
L_00eb: Label0
L_00eb: ret
DONE

### Patch Verse.VerbTracker, IEnumerable`1 GetVerbsCommands(KeyCode)


L_0000: Local var 0: Verse.VerbTracker+<GetVerbsCommands>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Command,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0002: ldarg.0
L_0003: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0005: ldarg 1
L_000b: call Boolean GetVerbsCommands_PreFix(Verse.VerbTracker, IEnumerable`1
ByRef, KeyCode)
L_0010: brfalse Label0
L_0015: newobj Void .ctor()
L_001a: stloc.0
L_001b: ldloc.0
L_001c: ldarg.0
L_001d: stfld Verse.VerbTracker $this
L_0022: ldloc.0
L_0023: dup
L_0024: ldc.i4.s -2
L_0026: stfld System.Int32 $PC
L_002b: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002c: Label0
L_002c: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002d: ret
DONE

### Patch RimWorld.PawnUtility, Boolean


IsTravelingInTransportPodWorldObject(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean IsWorldPawn(Verse.Pawn)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean AnyParentIs[ActiveDropPodInfo](Verse.Thing)
L_0017: br Label2
L_001c: Label1
L_001c: ldc.i4.0
L_001d: Label2
L_001d: stloc 0 (System.Boolean)
L_001e: ldloca 0 (System.Boolean)
L_0020: ldarg 0
L_0026: call Void PreventAssigningRandomFaction(Boolean ByRef, Verse.Pawn)
L_002b: ldloc 0 (System.Boolean)
L_002c: ret
DONE

### Patch RimWorld.SocialCardUtility, Void Recache(Verse.Pawn)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: Local var 5: System.Int32
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: RimWorld.SocialCardUtility+CachedSocialTabEntry
L_0000: Local var 9: System.Int32
L_0000: ldarg 0
L_0006: call Boolean SocialTabNullHandling(Verse.Pawn)
L_000b: brfalse Label0
L_0010: ldarg.0
L_0011: stsfld Verse.Pawn cachedForPawn
L_0016: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_001b: callvirt Void Clear()
L_0020: ldarg.0
L_0021: ldfld RimWorld.Pawn_RelationsTracker relations
L_0026: callvirt IEnumerable`1 get_RelatedPawns()
L_002b: callvirt IEnumerator`1 GetEnumerator()
L_0030: stloc.1
.try
{
L_0031: br Label1
L_0036: Label4
L_0036: ldloc.1
L_0037: callvirt Verse.Pawn get_Current()
L_003c: stloc.0
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_0044: brtrue Label2
L_0049: leave Label3
L_004e: Label2
L_004e: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0053: ldloc.0
L_0054: callvirt Boolean Add(Verse.Pawn)
L_0059: pop
L_005a: Label1
L_005a: Label3
L_005a: ldloc.1
L_005b: callvirt Boolean MoveNext()
L_0060: brtrue Label4
L_0065: leave Label5
L_006a: leave (autogenerated)
} // end try
.finally
{
L_006f: ldloc.1
L_0070: brfalse Label6
L_0075: ldloc.1
L_0076: callvirt Void Dispose()
L_007b: Label6
L_007b: endfinally
L_007c: leave (autogenerated)
} // end handler
L_007d: Label5
L_007d: ldnull
L_007e: stloc.2
L_007f: ldarg.0
L_0080: callvirt Verse.Map get_MapHeld()
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: callvirt Verse.Map get_MapHeld()
L_0090: ldfld Verse.MapPawns mapPawns
L_0095: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_009a: stloc.2
L_009b: br Label8
L_00a0: Label7
L_00a0: ldarg.0
L_00a1: call Boolean IsCaravanMember(Verse.Pawn)
L_00a6: brfalse Label9
L_00ab: ldarg.0
L_00ac: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_00b1: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_00b6: stloc.2
L_00b7: Label8
L_00b7: Label9
L_00b7: ldloc.2
L_00b8: brfalse Label10
L_00bd: ldc.i4.0
L_00be: stloc.3
L_00bf: br Label11
L_00c4: Label20
L_00c4: ldloc.2
L_00c5: ldloc.3
L_00c6: callvirt Verse.Pawn get_Item(Int32)
L_00cb: stloc.s 4 (Verse.Pawn)
L_00cd: ldloc.s 4 (Verse.Pawn)
L_00cf: callvirt Verse.RaceProperties get_RaceProps()
L_00d4: callvirt Boolean get_Humanlike()
L_00d9: brfalse Label12
L_00de: ldloc.s 4 (Verse.Pawn)
L_00e0: ldarg.0
L_00e1: beq Label13
L_00e6: ldloc.s 4 (Verse.Pawn)
L_00e8: ldarg.0
L_00e9: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_00ee: brfalse Label14
L_00f3: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_00f8: ldloc.s 4 (Verse.Pawn)
L_00fa: callvirt Boolean Contains(Verse.Pawn)
L_00ff: brfalse Label15
L_0104: Label12
L_0104: Label13
L_0104: Label14
L_0104: br Label16
L_0109: Label15
L_0109: ldarg.0
L_010a: ldfld RimWorld.Pawn_RelationsTracker relations
L_010f: ldloc.s 4 (Verse.Pawn)
L_0111: callvirt Int32 OpinionOf(Verse.Pawn)
L_0116: brtrue Label17
L_011b: ldloc.s 4 (Verse.Pawn)
L_011d: ldfld RimWorld.Pawn_RelationsTracker relations
L_0122: ldarg.0
L_0123: callvirt Int32 OpinionOf(Verse.Pawn)
L_0128: brtrue Label18
L_012d: br Label19
L_0132: Label17
L_0132: Label18
L_0132: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0137: ldloc.s 4 (Verse.Pawn)
L_0139: callvirt Boolean Add(Verse.Pawn)
L_013e: pop
L_013f: Label16
L_013f: Label19
L_013f: ldloc.3
L_0140: ldc.i4.1
L_0141: add
L_0142: stloc.3
L_0143: Label11
L_0143: ldloc.3
L_0144: ldloc.2
L_0145: callvirt Int32 get_Count()
L_014a: blt Label20
L_014f: Label10
L_014f: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0154: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0159: brtrue Label21
L_015e: ldnull
L_015f: ldftn Boolean
<Recache>m__0(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0165: newobj Void .ctor(Object, IntPtr)
L_016a: stsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_016f: Label21
L_016f: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0174: callvirt Int32
RemoveAll(System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry])
L_0179: pop
L_017a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_017f: callvirt Void Clear()
L_0184: ldc.i4.0
L_0185: stloc.s 5 (System.Int32)
L_0187: br Label22
L_018c: Label23
L_018c: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0191: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0196: ldloc.s 5 (System.Int32)
L_0198: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_019d: ldfld Verse.Pawn otherPawn
L_01a2: callvirt Boolean Add(Verse.Pawn)
L_01a7: pop
L_01a8: ldloc.s 5 (System.Int32)
L_01aa: ldc.i4.1
L_01ab: add
L_01ac: stloc.s 5 (System.Int32)
L_01ae: Label22
L_01ae: ldloc.s 5 (System.Int32)
L_01b0: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_01b5: callvirt Int32 get_Count()
L_01ba: blt Label23
L_01bf: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_01c4: callvirt Enumerator GetEnumerator()
L_01c9: stloc.s 7 (System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
.try
{
L_01cb: br Label24
L_01d0: Label27
L_01d0: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_01d2: call Verse.Pawn get_Current()
L_01d7: stloc.s 6 (Verse.Pawn)
L_01d9: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_01de: ldloc.s 6 (Verse.Pawn)
L_01e0: callvirt Boolean Contains(Verse.Pawn)
L_01e5: brfalse Label25
L_01ea: leave Label26
L_01ef: Label25
L_01ef: newobj Void .ctor()
L_01f4: stloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f6: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f8: ldloc.s 6 (Verse.Pawn)
L_01fa: stfld Verse.Pawn otherPawn
L_01ff: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0204: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0206: callvirt Void Add(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_020b: Label24
L_020b: Label26
L_020b: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_020d: call Boolean MoveNext()
L_0212: brtrue Label27
L_0217: leave Label28
L_021c: leave (autogenerated)
} // end try
.finally
{
L_0221: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_0223: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn]
L_0229: callvirt Void Dispose()
L_022e: endfinally
L_022f: leave (autogenerated)
} // end handler
L_0230: Label28
L_0230: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0235: callvirt Void Clear()
L_023a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_023f: callvirt Void Clear()
L_0244: ldc.i4.0
L_0245: stloc.s 9 (System.Int32)
L_0247: br Label29
L_024c: Label30
L_024c: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0251: ldloc.s 9 (System.Int32)
L_0253: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_0258: ldarg.0
L_0259: call Void RecacheEntry(RimWorld.SocialCardUtility+CachedSocialTabEntry,
Verse.Pawn)
L_025e: ldloc.s 9 (System.Int32)
L_0260: ldc.i4.1
L_0261: add
L_0262: stloc.s 9 (System.Int32)
L_0264: Label29
L_0264: ldloc.s 9 (System.Int32)
L_0266: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_026b: callvirt Int32 get_Count()
L_0270: blt Label30
L_0275: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_027a: ldsfld RimWorld.SocialCardUtility+CachedSocialTabEntryComparer
CachedEntriesComparer
L_027f: callvirt Void Sort(IComparer`1)
L_0284: Label0
L_0284: ret
DONE

### Patch Verse.Pawn, Boolean get_IsColonistPlayerControlled()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean get_Spawned()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean get_IsColonist()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: call Verse.MentalStateDef get_MentalStateDef()
L_0022: brtrue Label3
L_0027: ldarg.0
L_0028: call RimWorld.Faction get_HostFaction()
L_002d: ldnull
L_002e: ceq
L_0030: br Label4
L_0035: Label1
L_0035: Label2
L_0035: Label3
L_0035: ldc.i4.0
L_0036: Label4
L_0036: stloc 0 (System.Boolean)
L_0037: ldarg.0
L_0038: ldloca 0 (System.Boolean)
L_003a: call Void IncludeVehiclesInIsColonistPlayerControlled(Verse.Pawn, Boolean
ByRef)
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.Pawn, Boolean CurrentlyUsableForBills()


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InBed(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldsfld System.String NotSurgeryReadyTrans
L_0016: ldnull
L_0017: call Void Is(System.String, System.String)
L_001c: ldc.i4.0
L_001d: br Label3
L_0022: Label1
L_0022: ldarg.0
L_0023: callvirt IntVec3 get_InteractionCell()
L_0028: stloc.0
L_0029: ldloca.s 0 (Verse.IntVec3)
L_002b: call Boolean get_IsValid()
L_0030: brtrue Label2
L_0035: ldsfld System.String CannotReachTrans
L_003a: ldnull
L_003b: call Void Is(System.String, System.String)
L_0040: ldc.i4.0
L_0041: br Label4
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: Label4
L_0047: stloc 1 (System.Boolean)
L_0048: ldarg.0
L_0049: ldloca 1 (System.Boolean)
L_004b: call Void CantUseMovingVehicles(Verse.Pawn, Boolean ByRef)
L_0050: ldloc 1 (System.Boolean)
L_0051: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ret
DONE

### Patch Verse.Verb_Shoot, Boolean TryCastShot()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 1 (System.Boolean)
L_0009: call Boolean CanVehicleShoot(Verse.Verb_Shoot, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean TryCastShot()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: brfalse Label1
L_0020: ldarg.0
L_0021: call Boolean get_CasterIsPawn()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: call Verse.Pawn get_CasterPawn()
L_0031: ldfld RimWorld.Pawn_RecordsTracker records
L_0036: ldsfld RimWorld.RecordDef ShotsFired
L_003b: callvirt Void Increment(RimWorld.RecordDef)
L_0040: Label1
L_0040: Label2
L_0040: ldloc.0
L_0041: stloc 1 (System.Boolean)
L_0042: Label0
L_0042: ldloc 1 (System.Boolean)
L_0043: ret
DONE

### Patch RimWorld.GameEnder, Boolean


IsPlayerControlledWithFreeColonist(RimWorld.Planet.Caravan)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsPlayerControlled()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label6
L_0017: Label1
L_0017: ldarg.1
L_0018: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_001d: stloc.0
L_001e: ldc.i4.0
L_001f: stloc.1
L_0020: br Label2
L_0025: Label5
L_0025: ldloc.0
L_0026: ldloc.1
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stloc.2
L_002d: ldloc.2
L_002e: callvirt Boolean get_IsColonist()
L_0033: brfalse Label3
L_0038: ldloc.2
L_0039: callvirt RimWorld.Faction get_HostFaction()
L_003e: brtrue Label4
L_0043: ldc.i4.1
L_0044: br Label7
L_0049: Label3
L_0049: Label4
L_0049: ldloc.1
L_004a: ldc.i4.1
L_004b: add
L_004c: stloc.1
L_004d: Label2
L_004d: ldloc.1
L_004e: ldloc.0
L_004f: callvirt Int32 get_Count()
L_0054: blt Label5
L_0059: ldc.i4.0
L_005a: Label6
L_005a: Label7
L_005a: stloc 3 (System.Boolean)
L_005b: ldarg 1
L_0061: ldloca 3 (System.Boolean)
L_0063: call Void CanEndGame(RimWorld.Planet.Caravan, Boolean ByRef)
L_0068: ldloc 3 (System.Boolean)
L_0069: ret
DONE

### Patch RimWorld.RestUtility, RimWorld.Building_Bed FindBedFor(Verse.Pawn,


Verse.Pawn, Boolean, Boolean, Boolean)
L_0000: Local var 0: RimWorld.RestUtility+<FindBedFor>c__AnonStorey0
L_0000: Local var 1: RimWorld.Building_Bed
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: Verse.Pawn
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.ThingDef
L_0000: Local var 9: System.Int32
L_0000: Local var 10: RimWorld.RestUtility+<FindBedFor>c__AnonStorey1
L_0000: Local var 11: RimWorld.Building_Bed
L_0000: Local var 12: RimWorld.DirectPawnRelation
L_0000: Local var 13: RimWorld.Building_Bed
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.RestUtility+<FindBedFor>c__AnonStorey2
L_0000: Local var 16: System.Int32
L_0000: Local var 17: Verse.ThingDef
L_0000: Local var 18: RimWorld.Building_Bed
L_0000: Local var 19: RimWorld.Building_Bed
L_0000: ldnull
L_0001: stloc 19 (RimWorld.Building_Bed)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: stfld Verse.Pawn sleeper
L_0010: ldloc.0
L_0011: ldarg.1
L_0012: stfld Verse.Pawn traveler
L_0017: ldloc.0
L_0018: ldarg.2
L_0019: stfld System.Boolean sleeperWillBePrisoner
L_001e: ldloc.0
L_001f: ldarg.3
L_0020: stfld System.Boolean checkSocialProperness
L_0025: ldloc.0
L_0026: ldarg.s 4
L_0028: stfld System.Boolean ignoreOtherReservations
L_002d: ldloc.0
L_002e: ldfld Verse.Pawn sleeper
L_0033: call Boolean ShouldSeekMedicalRest(Verse.Pawn)
L_0038: brfalse Label1
L_003d: ldloc.0
L_003e: ldfld Verse.Pawn sleeper
L_0043: call Boolean InBed(Verse.Pawn)
L_0048: brfalse Label2
L_004d: ldloc.0
L_004e: ldfld Verse.Pawn sleeper
L_0053: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_0058: callvirt Boolean get_Medical()
L_005d: brfalse Label3
L_0062: ldloc.0
L_0063: ldfld Verse.Pawn sleeper
L_0068: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006d: stloc.1
L_006e: ldloc.0
L_006f: ldfld Verse.Pawn sleeper
L_0074: stloc.2
L_0075: ldloc.0
L_0076: ldfld Verse.Pawn traveler
L_007b: stloc.3
L_007c: ldloc.0
L_007d: ldfld System.Boolean sleeperWillBePrisoner
L_0082: stloc.s 4 (System.Boolean)
L_0084: ldloc.0
L_0085: ldfld System.Boolean checkSocialProperness
L_008a: stloc.s 5 (System.Boolean)
L_008c: ldloc.0
L_008d: ldfld System.Boolean ignoreOtherReservations
L_0092: stloc.s 6 (System.Boolean)
L_0094: ldloc.1
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: ldloc.s 4 (System.Boolean)
L_0099: ldloc.s 5 (System.Boolean)
L_009b: ldc.i4.0
L_009c: ldloc.s 6 (System.Boolean)
L_009e: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_00a3: brfalse Label4
L_00a8: ldloc.0
L_00a9: ldfld Verse.Pawn sleeper
L_00ae: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_00b3: br Label29
L_00b8: Label2
L_00b8: Label3
L_00b8: Label4
L_00b8: ldc.i4.0
L_00b9: stloc.s 7 (System.Int32)
L_00bb: br Label5
L_00c0: Label13
L_00c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_00c5: ldloc.s 7 (System.Int32)
L_00c7: callvirt Verse.ThingDef get_Item(Int32)
L_00cc: stloc.s 8 (Verse.ThingDef)
L_00ce: ldloc.0
L_00cf: ldfld Verse.Pawn sleeper
L_00d4: ldloc.s 8 (Verse.ThingDef)
L_00d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_00db: brtrue Label6
L_00e0: br Label7
L_00e5: Label6
L_00e5: ldc.i4.0
L_00e6: stloc.s 9 (System.Int32)
L_00e8: br Label8
L_00ed: Label12
L_00ed: newobj Void .ctor()
L_00f2: stloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f4: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f6: ldloc.0
L_00f7: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_00fc: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00fe: ldloc.s 9 (System.Int32)
L_0100: brtrue Label9
L_0105: ldc.i4.1
L_0106: br Label10
L_010b: Label9
L_010b: ldc.i4.3
L_010c: Label10
L_010c: stfld Verse.Danger maxDanger
L_0111: ldloc.0
L_0112: ldfld Verse.Pawn sleeper
L_0117: callvirt IntVec3 get_Position()
L_011c: ldloc.0
L_011d: ldfld Verse.Pawn sleeper
L_0122: callvirt Verse.Map get_Map()
L_0127: ldloc.s 8 (Verse.ThingDef)
L_0129: call ThingRequest ForDef(Verse.ThingDef)
L_012e: ldc.i4.1
L_012f: ldloc.0
L_0130: ldfld Verse.Pawn traveler
L_0135: ldc.i4.3
L_0136: ldc.i4.0
L_0137: ldc.i4.0
L_0138: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_013d: ldc.r4 9999
L_0142: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_0144: ldftn Boolean <>m__0(Verse.Thing)
L_014a: newobj Void .ctor(Object, IntPtr)
L_014f: ldnull
L_0150: ldc.i4.0
L_0151: ldc.i4.m1
L_0152: ldc.i4.0
L_0153: ldc.i4.6
L_0154: ldc.i4.0
L_0155: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_015a: castclass RimWorld.Building_Bed
L_015f: stloc.s 11 (RimWorld.Building_Bed)
L_0161: ldloc.s 11 (RimWorld.Building_Bed)
L_0163: brfalse Label11
L_0168: ldloc.s 11 (RimWorld.Building_Bed)
L_016a: br Label30
L_016f: Label11
L_016f: ldloc.s 9 (System.Int32)
L_0171: ldc.i4.1
L_0172: add
L_0173: stloc.s 9 (System.Int32)
L_0175: Label8
L_0175: ldloc.s 9 (System.Int32)
L_0177: ldc.i4.2
L_0178: blt Label12
L_017d: Label7
L_017d: ldloc.s 7 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 7 (System.Int32)
L_0183: Label5
L_0183: ldloc.s 7 (System.Int32)
L_0185: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_018a: callvirt Int32 get_Count()
L_018f: blt Label13
L_0194: Label1
L_0194: ldloc.0
L_0195: ldfld Verse.Pawn sleeper
L_019a: ldfld RimWorld.Pawn_Ownership ownership
L_019f: brfalse Label14
L_01a4: ldloc.0
L_01a5: ldfld Verse.Pawn sleeper
L_01aa: ldfld RimWorld.Pawn_Ownership ownership
L_01af: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01b4: brfalse Label15
L_01b9: ldloc.0
L_01ba: ldfld Verse.Pawn sleeper
L_01bf: ldfld RimWorld.Pawn_Ownership ownership
L_01c4: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01c9: stloc.1
L_01ca: ldloc.0
L_01cb: ldfld Verse.Pawn sleeper
L_01d0: stloc.3
L_01d1: ldloc.0
L_01d2: ldfld Verse.Pawn traveler
L_01d7: stloc.2
L_01d8: ldloc.0
L_01d9: ldfld System.Boolean sleeperWillBePrisoner
L_01de: stloc.s 6 (System.Boolean)
L_01e0: ldloc.0
L_01e1: ldfld System.Boolean checkSocialProperness
L_01e6: stloc.s 5 (System.Boolean)
L_01e8: ldloc.0
L_01e9: ldfld System.Boolean ignoreOtherReservations
L_01ee: stloc.s 4 (System.Boolean)
L_01f0: ldloc.1
L_01f1: ldloc.3
L_01f2: ldloc.2
L_01f3: ldloc.s 6 (System.Boolean)
L_01f5: ldloc.s 5 (System.Boolean)
L_01f7: ldc.i4.0
L_01f8: ldloc.s 4 (System.Boolean)
L_01fa: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_01ff: brfalse Label16
L_0204: ldloc.0
L_0205: ldfld Verse.Pawn sleeper
L_020a: ldfld RimWorld.Pawn_Ownership ownership
L_020f: callvirt RimWorld.Building_Bed get_OwnedBed()
L_0214: br Label31
L_0219: Label14
L_0219: Label15
L_0219: Label16
L_0219: ldloc.0
L_021a: ldfld Verse.Pawn sleeper
L_021f: ldc.i4.0
L_0220: call RimWorld.DirectPawnRelation
ExistingMostLikedLovePartnerRel(Verse.Pawn, Boolean)
L_0225: stloc.s 12 (RimWorld.DirectPawnRelation)
L_0227: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0229: brfalse Label17
L_022e: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0230: ldfld Verse.Pawn otherPawn
L_0235: ldfld RimWorld.Pawn_Ownership ownership
L_023a: callvirt RimWorld.Building_Bed get_OwnedBed()
L_023f: stloc.s 13 (RimWorld.Building_Bed)
L_0241: ldloc.s 13 (RimWorld.Building_Bed)
L_0243: brfalse Label18
L_0248: ldloc.s 13 (RimWorld.Building_Bed)
L_024a: stloc.1
L_024b: ldloc.0
L_024c: ldfld Verse.Pawn sleeper
L_0251: stloc.2
L_0252: ldloc.0
L_0253: ldfld Verse.Pawn traveler
L_0258: stloc.3
L_0259: ldloc.0
L_025a: ldfld System.Boolean sleeperWillBePrisoner
L_025f: stloc.s 4 (System.Boolean)
L_0261: ldloc.0
L_0262: ldfld System.Boolean checkSocialProperness
L_0267: stloc.s 5 (System.Boolean)
L_0269: ldloc.0
L_026a: ldfld System.Boolean ignoreOtherReservations
L_026f: stloc.s 6 (System.Boolean)
L_0271: ldloc.1
L_0272: ldloc.2
L_0273: ldloc.3
L_0274: ldloc.s 4 (System.Boolean)
L_0276: ldloc.s 5 (System.Boolean)
L_0278: ldc.i4.0
L_0279: ldloc.s 6 (System.Boolean)
L_027b: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_0280: brfalse Label19
L_0285: ldloc.s 13 (RimWorld.Building_Bed)
L_0287: br Label32
L_028c: Label17
L_028c: Label18
L_028c: Label19
L_028c: ldc.i4.0
L_028d: stloc.s 14 (System.Int32)
L_028f: br Label20
L_0294: Label28
L_0294: newobj Void .ctor()
L_0299: stloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029b: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029d: ldloc.0
L_029e: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_02a3: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_02a5: ldloc.s 14 (System.Int32)
L_02a7: brtrue Label21
L_02ac: ldc.i4.1
L_02ad: br Label22
L_02b2: Label21
L_02b2: ldc.i4.3
L_02b3: Label22
L_02b3: stfld Verse.Danger maxDanger
L_02b8: ldc.i4.0
L_02b9: stloc.s 16 (System.Int32)
L_02bb: br Label23
L_02c0: Label27
L_02c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_02c5: ldloc.s 16 (System.Int32)
L_02c7: callvirt Verse.ThingDef get_Item(Int32)
L_02cc: stloc.s 17 (Verse.ThingDef)
L_02ce: ldloc.0
L_02cf: ldfld Verse.Pawn sleeper
L_02d4: ldloc.s 17 (Verse.ThingDef)
L_02d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_02db: brtrue Label24
L_02e0: br Label25
L_02e5: Label24
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn sleeper
L_02eb: callvirt IntVec3 get_Position()
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn sleeper
L_02f6: callvirt Verse.Map get_Map()
L_02fb: ldloc.s 17 (Verse.ThingDef)
L_02fd: call ThingRequest ForDef(Verse.ThingDef)
L_0302: ldc.i4.1
L_0303: ldloc.0
L_0304: ldfld Verse.Pawn traveler
L_0309: ldc.i4.3
L_030a: ldc.i4.0
L_030b: ldc.i4.0
L_030c: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0311: ldc.r4 9999
L_0316: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_0318: ldftn Boolean <>m__0(Verse.Thing)
L_031e: newobj Void .ctor(Object, IntPtr)
L_0323: ldnull
L_0324: ldc.i4.0
L_0325: ldc.i4.m1
L_0326: ldc.i4.0
L_0327: ldc.i4.6
L_0328: ldc.i4.0
L_0329: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_032e: castclass RimWorld.Building_Bed
L_0333: stloc.s 18 (RimWorld.Building_Bed)
L_0335: ldloc.s 18 (RimWorld.Building_Bed)
L_0337: brfalse Label26
L_033c: ldloc.s 18 (RimWorld.Building_Bed)
L_033e: br Label33
L_0343: Label25
L_0343: Label26
L_0343: ldloc.s 16 (System.Int32)
L_0345: ldc.i4.1
L_0346: add
L_0347: stloc.s 16 (System.Int32)
L_0349: Label23
L_0349: ldloc.s 16 (System.Int32)
L_034b: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_0350: callvirt Int32 get_Count()
L_0355: blt Label27
L_035a: ldloc.s 14 (System.Int32)
L_035c: ldc.i4.1
L_035d: add
L_035e: stloc.s 14 (System.Int32)
L_0360: Label20
L_0360: ldloc.s 14 (System.Int32)
L_0362: ldc.i4.2
L_0363: blt Label28
L_0368: ldnull
L_0369: Label29
L_0369: Label30
L_0369: Label31
L_0369: Label32
L_0369: Label33
L_0369: stloc 19 (RimWorld.Building_Bed)
L_036b: ldloca 19 (RimWorld.Building_Bed)
L_036d: ldarg 0
L_0373: call Void DontRescueVehicles(RimWorld.Building_Bed ByRef, Verse.Pawn)
L_0378: ldloc 19 (RimWorld.Building_Bed)
L_037a: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ret
DONE

### Patch RimWorld.BaseGen.SymbolResolver_RandomMechanoidGroup, Boolean


<Resolve>m__0(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: stloc 0 (System.Boolean)
L_0012: ldloca 0 (System.Boolean)
L_0014: ldarg 0
L_001a: call Void MechanoidsFixerAncient(Boolean ByRef, Verse.PawnKindDef)
L_001f: ldloc 0 (System.Boolean)
L_0020: ret
DONE

### Patch RimWorld.CompSpawnerMechanoidsOnDamaged, Boolean


<TrySpawnMechanoids>m__1(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: brfalse Label1
L_0016: ldarg.1
L_0017: ldfld System.Boolean isFighter
L_001c: brfalse Label2
L_0021: ldarg.1
L_0022: ldfld System.Single combatPower
L_0027: ldarg.0
L_0028: ldfld System.Single pointsLeft
L_002d: cgt.un
L_002f: ldc.i4.0
L_0030: ceq
L_0032: br Label3
L_0037: Label1
L_0037: Label2
L_0037: ldc.i4.0
L_0038: Label3
L_0038: stloc 0 (System.Boolean)
L_0039: ldloca 0 (System.Boolean)
L_003b: ldarg 1
L_0041: call Void MechanoidsFixer(Boolean ByRef, Verse.PawnKindDef)
L_0046: ldloc 0 (System.Boolean)
L_0047: ret
DONE

### Patch RimWorld.ThinkNode_ConditionalColonist, Boolean Satisfied(Verse.Pawn)


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsColonist()
L_000c: stloc 0 (System.Boolean)
L_000d: ldarg 1
L_0013: ldloca 0 (System.Boolean)
L_0015: call Void Satisfied_PostFix(Verse.Pawn, Boolean ByRef)
L_001a: ldloc 0 (System.Boolean)
L_001b: ret
DONE

### Patch RimWorld.JobGiver_Haul, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: RimWorld.JobGiver_Haul+<TryGiveJob>c__AnonStorey0
L_0000: Local var 1: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldarg 1
L_0008: ldloca 3 (Verse.AI.Job)
L_000a: call Boolean TryGiveJob_PreFix(Verse.Pawn, Verse.AI.Job ByRef)
L_000f: brfalse Label0
L_0014: newobj Void .ctor()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: ldarg.1
L_001c: stfld Verse.Pawn pawn
L_0021: ldloc.0
L_0022: ldftn Boolean <>m__0(Verse.Thing)
L_0028: newobj Void .ctor(Object, IntPtr)
L_002d: stloc.1
L_002e: ldloc.0
L_002f: ldfld Verse.Pawn pawn
L_0034: callvirt IntVec3 get_Position()
L_0039: ldloc.0
L_003a: ldfld Verse.Pawn pawn
L_003f: callvirt Verse.Map get_Map()
L_0044: ldloc.0
L_0045: ldfld Verse.Pawn pawn
L_004a: callvirt Verse.Map get_Map()
L_004f: ldfld RimWorld.ListerHaulables listerHaulables
L_0054: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsPotentiallyNeedingHauling()
L_0059: ldc.i4.1
L_005a: ldloc.0
L_005b: ldfld Verse.Pawn pawn
L_0060: ldc.i4.3
L_0061: ldc.i4.0
L_0062: ldc.i4.0
L_0063: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0068: ldc.r4 9999
L_006d: ldloc.1
L_006e: ldnull
L_006f: call Verse.Thing ClosestThing_Global_Reachable(IntVec3, Verse.Map,
IEnumerable`1, PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing],
System.Func`2[Verse.Thing,System.Single])
L_0074: stloc.2
L_0075: ldloc.2
L_0076: brfalse Label1
L_007b: ldloc.0
L_007c: ldfld Verse.Pawn pawn
L_0081: ldloc.2
L_0082: call Verse.AI.Job HaulToStorageJob(Verse.Pawn, Verse.Thing)
L_0087: br Label2
L_008c: Label1
L_008c: ldnull
L_008d: Label2
L_008d: stloc 3 (Verse.AI.Job)
L_008e: Label0
L_008e: ldloc 3 (Verse.AI.Job)
L_008f: ret
DONE
### Patch Verse.AI.JobGiver_Orders, Verse.AI.Job TryGiveJob(Verse.Pawn)
L_0000: Local var 0: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 0 (Verse.AI.Job)
L_0002: ldarg.1
L_0003: callvirt Boolean get_Drafted()
L_0008: brfalse Label1
L_000d: ldsfld Verse.JobDef Wait_Combat
L_0012: ldarg.1
L_0013: callvirt IntVec3 get_Position()
L_0018: call LocalTargetInfo op_Implicit(IntVec3)
L_001d: newobj Void .ctor(JobDef, LocalTargetInfo)
L_0022: br Label2
L_0027: Label1
L_0027: ldnull
L_0028: Label2
L_0028: stloc 0 (Verse.AI.Job)
L_0029: ldloca 0 (Verse.AI.Job)
L_002b: ldarg 1
L_0031: call Void PreventWaitAttackError(Verse.AI.Job ByRef, Verse.Pawn)
L_0036: ldloc 0 (Verse.AI.Job)
L_0037: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemDuties(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldc.i4.0
L_000c: stloc.0
L_000d: br Label1
L_0012: Label6
L_0012: ldarg.0
L_0013: ldfld Verse.AI.Group.Lord lord
L_0018: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_001d: ldloc.0
L_001e: callvirt Verse.Pawn get_Item(Int32)
L_0023: stloc.1
L_0024: ldloc.1
L_0025: callvirt Boolean get_IsColonist()
L_002a: brfalse Label2
L_002f: ldloc.1
L_0030: ldfld Verse.AI.Pawn_MindState mindState
L_0035: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherItems
L_003a: newobj Void .ctor(DutyDef)
L_003f: stfld Verse.AI.PawnDuty duty
L_0044: br Label3
L_0049: Label2
L_0049: ldloc.1
L_004a: callvirt Verse.RaceProperties get_RaceProps()
L_004f: callvirt Boolean get_Animal()
L_0054: brfalse Label4
L_0059: ldloc.1
L_005a: ldfld Verse.AI.Pawn_MindState mindState
L_005f: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0064: ldarg.0
L_0065: ldfld Verse.IntVec3 meetingPoint
L_006a: call LocalTargetInfo op_Implicit(IntVec3)
L_006f: ldc.r4 -1
L_0074: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_0079: stfld Verse.AI.PawnDuty duty
L_007e: br Label5
L_0083: Label4
L_0083: ldloc.1
L_0084: ldfld Verse.AI.Pawn_MindState mindState
L_0089: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_008e: newobj Void .ctor(DutyDef)
L_0093: stfld Verse.AI.PawnDuty duty
L_0098: Label3
L_0098: Label5
L_0098: ldloc.0
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.0
L_009c: Label1
L_009c: ldloc.0
L_009d: ldarg.0
L_009e: ldfld Verse.AI.Group.Lord lord
L_00a3: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_00a8: callvirt Int32 get_Count()
L_00ad: blt Label6
L_00b2: Label0
L_00b2: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherAnimals, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadAnimalDuties(RimWorld.LordToil_PrepareCaravan_GatherAnimals)
L_0006: ldc.i4.0
L_0007: stloc.0
L_0008: br Label1
L_000d: Label5
L_000d: ldarg.0
L_000e: ldfld Verse.AI.Group.Lord lord
L_0013: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0018: ldloc.0
L_0019: callvirt Verse.Pawn get_Item(Int32)
L_001e: stloc.1
L_001f: ldloc.1
L_0020: callvirt Boolean get_IsColonist()
L_0025: brtrue Label2
L_002a: ldloc.1
L_002b: callvirt Verse.RaceProperties get_RaceProps()
L_0030: callvirt Boolean get_Animal()
L_0035: brfalse Label3
L_003a: Label2
L_003a: ldloc.1
L_003b: ldfld Verse.AI.Pawn_MindState mindState
L_0040: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherPawns
L_0045: ldarg.0
L_0046: ldfld Verse.IntVec3 meetingPoint
L_004b: call LocalTargetInfo op_Implicit(IntVec3)
L_0050: ldc.r4 -1
L_0055: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_005a: stfld Verse.AI.PawnDuty duty
L_005f: ldloc.1
L_0060: ldfld Verse.AI.Pawn_MindState mindState
L_0065: ldfld Verse.AI.PawnDuty duty
L_006a: ldc.i4.1
L_006b: stfld RimWorld.PawnsToGather pawnsToGather
L_0070: br Label4
L_0075: Label3
L_0075: ldloc.1
L_0076: ldfld Verse.AI.Pawn_MindState mindState
L_007b: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0080: newobj Void .ctor(DutyDef)
L_0085: stfld Verse.AI.PawnDuty duty
L_008a: Label4
L_008a: ldloc.0
L_008b: ldc.i4.1
L_008c: add
L_008d: stloc.0
L_008e: Label1
L_008e: ldloc.0
L_008f: ldarg.0
L_0090: ldfld Verse.AI.Group.Lord lord
L_0095: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_009a: callvirt Int32 get_Count()
L_009f: blt Label5
L_00a4: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherSlaves, Void LordToilTick()


L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadSlaveDuties(RimWorld.LordToil_PrepareCaravan_GatherSlaves)
L_0006: call Verse.TickManager get_TickManager()
L_000b: callvirt Int32 get_TicksGame()
L_0010: ldc.i4.s 100
L_0012: rem
L_0013: brtrue Label1
L_0018: ldarg.0
L_0019: ldfld Verse.AI.Group.Lord lord
L_001e: ldarg.0
L_001f: ldfld Verse.IntVec3 meetingPoint
L_0024: ldstr "AllSlavesGathered"
L_0029: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_002e: brtrue Label2
L_0033: ldnull
L_0034: ldftn Boolean <LordToilTick>m__0(Verse.Pawn)
L_003a: newobj Void .ctor(Object, IntPtr)
L_003f: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0044: Label2
L_0044: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0049: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_004e: brtrue Label3
L_0053: ldnull
L_0054: ldftn Boolean IsFollowingAnyone(Verse.Pawn)
L_005a: newobj Void .ctor(Object, IntPtr)
L_005f: stsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0064: Label3
L_0064: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0069: call Void CheckArrived(Verse.AI.Group.Lord, IntVec3, System.String,
System.Predicate`1[Verse.Pawn], System.Predicate`1[Verse.Pawn])
L_006e: Label1
L_006e: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void LordToilTick()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemToil(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void LordToilTick()
L_0011: call Verse.TickManager get_TickManager()
L_0016: callvirt Int32 get_TicksGame()
L_001b: ldc.i4.s 120
L_001d: rem
L_001e: brtrue Label1
L_0023: ldc.i4.1
L_0024: stloc.0
L_0025: ldc.i4.0
L_0026: stloc.1
L_0027: br Label2
L_002c: Label6
L_002c: ldarg.0
L_002d: ldfld Verse.AI.Group.Lord lord
L_0032: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0037: ldloc.1
L_0038: callvirt Verse.Pawn get_Item(Int32)
L_003d: stloc.2
L_003e: ldloc.2
L_003f: callvirt Boolean get_IsColonist()
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldfld Verse.AI.Pawn_MindState mindState
L_004f: ldfld Verse.AI.JobTag lastJobTag
L_0054: ldc.i4.8
L_0055: beq Label4
L_005a: ldc.i4.0
L_005b: stloc.0
L_005c: br Label5
L_0061: Label3
L_0061: Label4
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label2
L_0065: ldloc.1
L_0066: ldarg.0
L_0067: ldfld Verse.AI.Group.Lord lord
L_006c: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0071: callvirt Int32 get_Count()
L_0076: blt Label6
L_007b: Label5
L_007b: ldloc.0
L_007c: brfalse Label7
L_0081: ldarg.0
L_0082: call Verse.Map get_Map()
L_0087: ldfld Verse.MapPawns mapPawns
L_008c: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_0091: stloc.3
L_0092: ldc.i4.0
L_0093: stloc.s 4 (System.Int32)
L_0095: br Label8
L_009a: Label13
L_009a: ldloc.3
L_009b: ldloc.s 4 (System.Int32)
L_009d: callvirt Verse.Pawn get_Item(Int32)
L_00a2: callvirt Verse.AI.Job get_CurJob()
L_00a7: brfalse Label9
L_00ac: ldloc.3
L_00ad: ldloc.s 4 (System.Int32)
L_00af: callvirt Verse.Pawn get_Item(Int32)
L_00b4: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b9: ldfld Verse.AI.JobDriver curDriver
L_00be: isinst RimWorld.JobDriver_PrepareCaravan_GatherItems
L_00c3: brfalse Label10
L_00c8: ldloc.3
L_00c9: ldloc.s 4 (System.Int32)
L_00cb: callvirt Verse.Pawn get_Item(Int32)
L_00d0: callvirt Verse.AI.Job get_CurJob()
L_00d5: ldfld Verse.AI.Group.Lord lord
L_00da: ldarg.0
L_00db: ldfld Verse.AI.Group.Lord lord
L_00e0: bne.un Label11
L_00e5: ldc.i4.0
L_00e6: stloc.0
L_00e7: br Label12
L_00ec: Label9
L_00ec: Label10
L_00ec: Label11
L_00ec: ldloc.s 4 (System.Int32)
L_00ee: ldc.i4.1
L_00ef: add
L_00f0: stloc.s 4 (System.Int32)
L_00f2: Label8
L_00f2: ldloc.s 4 (System.Int32)
L_00f4: ldloc.3
L_00f5: callvirt Int32 get_Count()
L_00fa: blt Label13
L_00ff: Label7
L_00ff: Label12
L_00ff: ldloc.0
L_0100: brfalse Label14
L_0105: ldarg.0
L_0106: ldfld Verse.AI.Group.Lord lord
L_010b: ldstr "AllItemsGathered"
L_0110: callvirt Void ReceiveMemo(System.String)
L_0115: Label1
L_0115: Label14
L_0115: Label0
L_0115: ret
DONE

### Patch RimWorld.Planet.Caravan_NeedsTracker, Void


TrySatisfyPawnNeeds(Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Need, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Need
L_0000: Local var 3: RimWorld.Need_Rest
L_0000: Local var 4: RimWorld.Need_Food
L_0000: Local var 5: RimWorld.Need_Chemical
L_0000: Local var 6: RimWorld.Need_Joy
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean TrySatisfyFuelNeeds(RimWorld.Planet.Caravan_NeedsTracker,
Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: callvirt Boolean get_Dead()
L_0017: brfalse Label1
L_001c: br Label11
L_0021: Label1
L_0021: ldarg.1
L_0022: ldfld RimWorld.Pawn_NeedsTracker needs
L_0027: callvirt System.Collections.Generic.List`1[RimWorld.Need] get_AllNeeds()
L_002c: stloc.0
L_002d: ldc.i4.0
L_002e: stloc.1
L_002f: br Label2
L_0034: Label10
L_0034: ldloc.0
L_0035: ldloc.1
L_0036: callvirt RimWorld.Need get_Item(Int32)
L_003b: stloc.2
L_003c: ldloc.2
L_003d: isinst RimWorld.Need_Rest
L_0042: stloc.3
L_0043: ldloc.2
L_0044: isinst RimWorld.Need_Food
L_0049: stloc.s 4 (RimWorld.Need_Food)
L_004b: ldloc.2
L_004c: isinst RimWorld.Need_Chemical
L_0051: stloc.s 5 (RimWorld.Need_Chemical)
L_0053: ldloc.2
L_0054: isinst RimWorld.Need_Joy
L_0059: stloc.s 6 (RimWorld.Need_Joy)
L_005b: ldloc.3
L_005c: brfalse Label3
L_0061: ldarg.0
L_0062: ldarg.1
L_0063: ldloc.3
L_0064: call Void TrySatisfyRestNeed(Verse.Pawn, RimWorld.Need_Rest)
L_0069: br Label4
L_006e: Label3
L_006e: ldloc.s 4 (RimWorld.Need_Food)
L_0070: brfalse Label5
L_0075: ldarg.0
L_0076: ldarg.1
L_0077: ldloc.s 4 (RimWorld.Need_Food)
L_0079: call Void TrySatisfyFoodNeed(Verse.Pawn, RimWorld.Need_Food)
L_007e: br Label6
L_0083: Label5
L_0083: ldloc.s 5 (RimWorld.Need_Chemical)
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: ldarg.1
L_008c: ldloc.s 5 (RimWorld.Need_Chemical)
L_008e: call Void TrySatisfyChemicalNeed(Verse.Pawn, RimWorld.Need_Chemical)
L_0093: br Label8
L_0098: Label7
L_0098: ldloc.s 6 (RimWorld.Need_Joy)
L_009a: brfalse Label9
L_009f: ldarg.0
L_00a0: ldarg.1
L_00a1: ldloc.s 6 (RimWorld.Need_Joy)
L_00a3: call Void TrySatisfyJoyNeed(Verse.Pawn, RimWorld.Need_Joy)
L_00a8: Label4
L_00a8: Label6
L_00a8: Label8
L_00a8: Label9
L_00a8: ldloc.1
L_00a9: ldc.i4.1
L_00aa: add
L_00ab: stloc.1
L_00ac: Label2
L_00ac: ldloc.1
L_00ad: ldloc.0
L_00ae: callvirt Int32 get_Count()
L_00b3: blt Label10
L_00b8: Label11
L_00b8: Label0
L_00b8: ret
DONE

### Patch RimWorld.JobGiver_PrepareCaravan_GatherItems, Verse.AI.Job


TryGiveJob(Verse.Pawn)
L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: Verse.AI.Job
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldloca 3 (Verse.AI.Job)
L_0004: ldarg 1
L_000a: call Boolean TryGiveItemJob_PreFix(Verse.AI.Job ByRef, Verse.Pawn)
L_000f: brfalse Label0
L_0014: ldarg.1
L_0015: ldfld Verse.Pawn_HealthTracker health
L_001a: ldfld Verse.PawnCapacitiesHandler capacities
L_001f: ldsfld Verse.PawnCapacityDef Manipulation
L_0024: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0029: brtrue Label1
L_002e: ldnull
L_002f: br Label3
L_0034: Label1
L_0034: ldarg.1
L_0035: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_003a: stloc.0
L_003b: ldarg.1
L_003c: ldloc.0
L_003d: call Verse.Thing FindThingToHaul(Verse.Pawn, Verse.AI.Group.Lord)
L_0042: stloc.1
L_0043: ldloc.1
L_0044: brtrue Label2
L_0049: ldnull
L_004a: br Label4
L_004f: Label2
L_004f: ldsfld Verse.JobDef PrepareCaravan_GatherItems
L_0054: ldloc.1
L_0055: call LocalTargetInfo op_Implicit(Verse.Thing)
L_005a: newobj Void .ctor(JobDef, LocalTargetInfo)
L_005f: stloc.2
L_0060: ldloc.2
L_0061: ldloc.0
L_0062: stfld Verse.AI.Group.Lord lord
L_0067: ldloc.2
L_0068: Label3
L_0068: Label4
L_0068: stloc 3 (Verse.AI.Job)
L_0069: Label0
L_0069: ldloc 3 (Verse.AI.Job)
L_006a: ret
DONE

### Patch RimWorld.Planet.Caravan, Void AddPawn(Verse.Pawn, Boolean)


L_0000: Local var 0: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: ldarg 2
L_000d: call Boolean AddVehiclePawnsToCaravan(RimWorld.Planet.Caravan, Verse.Pawn,
Boolean)
L_0012: brfalse Label0
L_0017: ldarg.1
L_0018: brtrue Label1
L_001d: ldstr "Tried to add a null pawn to "
L_0022: ldarg.0
L_0023: call System.String Concat(System.Object, System.Object)
L_0028: ldc.i4.0
L_0029: call Void Warning(System.String, Boolean)
L_002e: br Label11
L_0033: Label1
L_0033: ldarg.1
L_0034: callvirt Boolean get_Dead()
L_0039: brfalse Label2
L_003e: ldc.i4.5
L_003f: newarr System.Object
L_0044: dup
L_0045: ldc.i4.0
L_0046: ldstr "Tried to add "
L_004b: stelem.ref
L_004c: dup
L_004d: ldc.i4.1
L_004e: ldarg.1
L_004f: stelem.ref
L_0050: dup
L_0051: ldc.i4.2
L_0052: ldstr " to "
L_0057: stelem.ref
L_0058: dup
L_0059: ldc.i4.3
L_005a: ldarg.0
L_005b: stelem.ref
L_005c: dup
L_005d: ldc.i4.4
L_005e: ldstr ", but this pawn is dead."
L_0063: stelem.ref
L_0064: call System.String Concat(System.Object[])
L_0069: ldc.i4.0
L_006a: call Void Warning(System.String, Boolean)
L_006f: br Label12
L_0074: Label2
L_0074: ldarg.1
L_0075: ldfld Verse.Pawn_CarryTracker carryTracker
L_007a: callvirt Verse.Thing get_CarriedThing()
L_007f: isinst Verse.Pawn
L_0084: stloc.0
L_0085: ldloc.0
L_0086: brfalse Label3
L_008b: ldarg.1
L_008c: ldfld Verse.Pawn_CarryTracker carryTracker
L_0091: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_0096: ldloc.0
L_0097: callvirt Boolean Remove(Verse.Thing)
L_009c: pop
L_009d: Label3
L_009d: ldarg.1
L_009e: callvirt Boolean get_Spawned()
L_00a3: brfalse Label4
L_00a8: ldarg.1
L_00a9: ldc.i4.0
L_00aa: callvirt Void DeSpawn(DestroyMode)
L_00af: Label4
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00b5: ldarg.1
L_00b6: ldc.i4.1
L_00b7: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_00bc: brfalse Label5
L_00c1: ldarg.0
L_00c2: ldarg.1
L_00c3: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00c8: brfalse Label6
L_00cd: ldarg.1
L_00ce: ldfld RimWorld.Pawn_GuestTracker guest
L_00d3: ldarg.0
L_00d4: call RimWorld.Faction get_Faction()
L_00d9: ldnull
L_00da: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_00df: Label6
L_00df: ldloc.0
L_00e0: brfalse Label7
L_00e5: ldarg.0
L_00e6: ldloc.0
L_00e7: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00ec: brfalse Label8
L_00f1: ldloc.0
L_00f2: ldfld RimWorld.Pawn_GuestTracker guest
L_00f7: ldarg.0
L_00f8: call RimWorld.Faction get_Faction()
L_00fd: ldarg.1
L_00fe: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_0103: Label8
L_0103: ldarg.0
L_0104: ldloc.0
L_0105: ldarg.2
L_0106: call Void AddPawn(Verse.Pawn, Boolean)
L_010b: ldarg.2
L_010c: brfalse Label9
L_0111: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_0116: ldloc.0
L_0117: ldc.i4.0
L_0118: callvirt Void PassToWorld(Verse.Pawn, PawnDiscardDecideMode)
L_011d: Label7
L_011d: Label9
L_011d: br Label10
L_0122: Label5
L_0122: ldstr "Couldn't add pawn "
L_0127: ldarg.1
L_0128: ldstr " to caravan."
L_012d: call System.String Concat(System.Object, System.Object, System.Object)
L_0132: ldc.i4.0
L_0133: call Void Error(System.String, Boolean)
L_0138: Label10
L_0138: Label11
L_0138: Label12
L_0138: Label0
L_0138: ret
DONE

### Patch RimWorld.Planet.Dialog_SplitCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldarg 1
L_000d: ldloca 0 (System.Boolean)
L_000f: call Boolean
DontSplitCaravansWithVehicles(RimWorld.Planet.Dialog_SplitCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0014: brfalse Label0
L_0019: ldarg.1
L_001a: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_001f: brtrue Label1
L_0024: ldnull
L_0025: ldftn Boolean <CheckForErrors>m__4(Verse.Pawn)
L_002b: newobj Void .ctor(Object, IntPtr)
L_0030: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_0035: Label1
L_0035: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_003a: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_003f: brtrue Label2
L_0044: ldstr "CaravanMustHaveAtLeastOneColonist"
L_0049: call System.String Translate(System.String)
L_004e: ldarg.0
L_004f: ldfld RimWorld.Planet.Caravan caravan
L_0054: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_0059: ldsfld Verse.MessageTypeDef RejectInput
L_005e: ldc.i4.0
L_005f: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0064: ldc.i4.0
L_0065: br Label4
L_006a: Label2
L_006a: ldarg.0
L_006b: ldarg.1
L_006c: call Boolean
AnyNonDownedColonistLeftInSourceCaravan(System.Collections.Generic.List`1[Verse.Paw
n])
L_0071: brtrue Label3
L_0076: ldstr "SourceCaravanMustHaveAtLeastOneColonist"
L_007b: call System.String Translate(System.String)
L_0080: ldarg.0
L_0081: ldfld RimWorld.Planet.Caravan caravan
L_0086: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_008b: ldsfld Verse.MessageTypeDef RejectInput
L_0090: ldc.i4.0
L_0091: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0096: ldc.i4.0
L_0097: br Label5
L_009c: Label3
L_009c: ldc.i4.1
L_009d: Label4
L_009d: Label5
L_009d: stloc 0 (System.Boolean)
L_009e: Label0
L_009e: ldloc 0 (System.Boolean)
L_009f: ret
DONE

### Patch RimWorld.Dialog_FormCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey1
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3
L_0000: Local var 7: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Boolean)
L_0007: ldarg.0
L_0008: ldarg 1
L_000e: ldloca 7 (System.Boolean)
L_0010: call Boolean CheckForErrors_PreFix(RimWorld.Dialog_FormCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0015: brfalse Label0
L_001a: newobj Void .ctor()
L_001f: stloc.0
L_0020: ldloc.0
L_0021: ldarg.1
L_0022: stfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0027: ldarg.0
L_0028: call Boolean get_MustChooseRoute()
L_002d: brfalse Label1
L_0032: ldarg.0
L_0033: ldfld System.Int32 destinationTile
L_0038: ldc.i4.0
L_0039: bge Label2
L_003e: ldstr "MessageMustChooseRouteFirst"
L_0043: call System.String Translate(System.String)
L_0048: ldsfld Verse.MessageTypeDef RejectInput
L_004d: ldc.i4.0
L_004e: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0053: ldc.i4.0
L_0054: br Label24
L_0059: Label1
L_0059: Label2
L_0059: ldarg.0
L_005a: ldfld System.Boolean reform
L_005f: brtrue Label3
L_0064: ldarg.0
L_0065: ldfld System.Int32 startingTile
L_006a: ldc.i4.0
L_006b: bge Label4
L_0070: ldstr "MessageNoValidExitTile"
L_0075: call System.String Translate(System.String)
L_007a: ldsfld Verse.MessageTypeDef RejectInput
L_007f: ldc.i4.0
L_0080: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0085: ldc.i4.0
L_0086: br Label25
L_008b: Label3
L_008b: Label4
L_008b: ldloc.0
L_008c: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0091: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_0096: brtrue Label5
L_009b: ldnull
L_009c: ldftn Boolean <CheckForErrors>m__B(Verse.Pawn)
L_00a2: newobj Void .ctor(Object, IntPtr)
L_00a7: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00ac: Label5
L_00ac: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00b1: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_00b6: brtrue Label6
L_00bb: ldstr "CaravanMustHaveAtLeastOneColonist"
L_00c0: call System.String Translate(System.String)
L_00c5: ldsfld Verse.MessageTypeDef RejectInput
L_00ca: ldc.i4.0
L_00cb: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_00d0: ldc.i4.0
L_00d1: br Label26
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Boolean reform
L_00dc: brtrue Label7
L_00e1: ldarg.0
L_00e2: call Single get_MassUsage()
L_00e7: ldarg.0
L_00e8: call Single get_MassCapacity()
L_00ed: ble.un Label8
L_00f2: ldarg.0
L_00f3: call Void FlashMass()
L_00f8: ldstr "TooBigCaravanMassUsage"
L_00fd: call System.String Translate(System.String)
L_0102: ldsfld Verse.MessageTypeDef RejectInput
L_0107: ldc.i4.0
L_0108: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_010d: ldc.i4.0
L_010e: br Label27
L_0113: Label7
L_0113: Label8
L_0113: ldloc.0
L_0114: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0119: ldloc.0
L_011a: ldftn Boolean <>m__0(Verse.Pawn)
L_0120: newobj Void .ctor(Object, IntPtr)
L_0125: callvirt Verse.Pawn Find(System.Predicate`1[Verse.Pawn])
L_012a: stloc.1
L_012b: ldloc.1
L_012c: brfalse Label9
L_0131: ldstr "CaravanPawnIsUnreachable"
L_0136: ldc.i4.1
L_0137: newarr System.Object
L_013c: dup
L_013d: ldc.i4.0
L_013e: ldloc.1
L_013f: callvirt System.String get_LabelShort()
L_0144: stelem.ref
L_0145: call System.String Translate(System.String, System.Object[])
L_014a: call System.String CapitalizeFirst(System.String)
L_014f: ldloc.1
L_0150: call Verse.LookTargets op_Implicit(Verse.Thing)
L_0155: ldsfld Verse.MessageTypeDef RejectInput
L_015a: ldc.i4.0
L_015b: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0160: ldc.i4.0
L_0161: br Label28
L_0166: Label9
L_0166: ldc.i4.0
L_0167: stloc.2
L_0168: br Label10
L_016d: Label23
L_016d: ldarg.0
L_016e: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0173: ldloc.2
L_0174: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0179: callvirt Verse.ThingDef get_ThingDef()
L_017e: ldfld Verse.ThingCategory category
L_0183: ldc.i4.2
L_0184: beq Label11
L_0189: br Label12
L_018e: Label11
L_018e: ldarg.0
L_018f: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0194: ldloc.2
L_0195: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_019a: callvirt Int32 get_CountToTransfer()
L_019f: stloc.3
L_01a0: ldc.i4.0
L_01a1: stloc.s 4 (System.Int32)
L_01a3: ldloc.3
L_01a4: ldc.i4.0
L_01a5: ble Label13
L_01aa: ldc.i4.0
L_01ab: stloc.s 5 (System.Int32)
L_01ad: br Label14
L_01b2: Label19
L_01b2: newobj Void .ctor()
L_01b7: stloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01b9: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01bb: ldarg.0
L_01bc: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_01c1: ldloc.2
L_01c2: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_01c7: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_01cc: ldloc.s 5 (System.Int32)
L_01ce: callvirt Verse.Thing get_Item(Int32)
L_01d3: stfld Verse.Thing t
L_01d8: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01da: ldfld Verse.Thing t
L_01df: callvirt Boolean get_Spawned()
L_01e4: brfalse Label15
L_01e9: ldloc.0
L_01ea: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_01ef: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01f1: ldftn Boolean <>m__0(Verse.Pawn)
L_01f7: newobj Void .ctor(Object, IntPtr)
L_01fc: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_0201: brfalse Label16
L_0206: Label15
L_0206: ldloc.s 4 (System.Int32)
L_0208: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_020a: ldfld Verse.Thing t
L_020f: ldfld System.Int32 stackCount
L_0214: add
L_0215: stloc.s 4 (System.Int32)
L_0217: ldloc.s 4 (System.Int32)
L_0219: ldloc.3
L_021a: blt Label17
L_021f: br Label18
L_0224: Label16
L_0224: Label17
L_0224: ldloc.s 5 (System.Int32)
L_0226: ldc.i4.1
L_0227: add
L_0228: stloc.s 5 (System.Int32)
L_022a: Label14
L_022a: ldloc.s 5 (System.Int32)
L_022c: ldarg.0
L_022d: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0232: ldloc.2
L_0233: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0238: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_023d: callvirt Int32 get_Count()
L_0242: blt Label19
L_0247: Label18
L_0247: ldloc.s 4 (System.Int32)
L_0249: ldloc.3
L_024a: bge Label20
L_024f: ldloc.3
L_0250: ldc.i4.1
L_0251: bne.un Label21
L_0256: ldstr "CaravanItemIsUnreachableSingle"
L_025b: ldc.i4.1
L_025c: newarr System.Object
L_0261: dup
L_0262: ldc.i4.0
L_0263: ldarg.0
L_0264: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0269: ldloc.2
L_026a: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_026f: callvirt Verse.ThingDef get_ThingDef()
L_0274: ldfld System.String label
L_0279: stelem.ref
L_027a: call System.String Translate(System.String, System.Object[])
L_027f: ldsfld Verse.MessageTypeDef RejectInput
L_0284: ldc.i4.0
L_0285: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_028a: br Label22
L_028f: Label21
L_028f: ldstr "CaravanItemIsUnreachableMulti"
L_0294: ldc.i4.2
L_0295: newarr System.Object
L_029a: dup
L_029b: ldc.i4.0
L_029c: ldloc.3
L_029d: box System.Int32
L_02a2: stelem.ref
L_02a3: dup
L_02a4: ldc.i4.1
L_02a5: ldarg.0
L_02a6: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02ab: ldloc.2
L_02ac: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_02b1: callvirt Verse.ThingDef get_ThingDef()
L_02b6: ldfld System.String label
L_02bb: stelem.ref
L_02bc: call System.String Translate(System.String, System.Object[])
L_02c1: ldsfld Verse.MessageTypeDef RejectInput
L_02c6: ldc.i4.0
L_02c7: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_02cc: Label22
L_02cc: ldc.i4.0
L_02cd: br Label29
L_02d2: Label12
L_02d2: Label13
L_02d2: Label20
L_02d2: ldloc.2
L_02d3: ldc.i4.1
L_02d4: add
L_02d5: stloc.2
L_02d6: Label10
L_02d6: ldloc.2
L_02d7: ldarg.0
L_02d8: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02dd: callvirt Int32 get_Count()
L_02e2: blt Label23
L_02e7: ldc.i4.1
L_02e8: Label24
L_02e8: Label25
L_02e8: Label26
L_02e8: Label27
L_02e8: Label28
L_02e8: Label29
L_02e8: stloc 7 (System.Boolean)
L_02ea: Label0
L_02ea: ldloc 7 (System.Boolean)
L_02ec: ret
DONE

### Patch RimWorld.Planet.CaravanUIUtility, Void


AddPawnsSections(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[RimWorld.TransferableOneWay, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.1
L_0001: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0006: brtrue Label1
L_000b: ldnull
L_000c: ldftn Boolean <AddPawnsSections>m__1(RimWorld.TransferableOneWay)
L_0012: newobj Void .ctor(Object, IntPtr)
L_0017: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_001c: Label1
L_001c: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0021: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0026: stloc.0
L_0027: ldarg.0
L_0028: ldstr "ColonistsSection"
L_002d: call System.String Translate(System.String)
L_0032: ldloc.0
L_0033: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0038: brtrue Label2
L_003d: ldnull
L_003e: ldftn Boolean <AddPawnsSections>m__2(RimWorld.TransferableOneWay)
L_0044: newobj Void .ctor(Object, IntPtr)
L_0049: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_004e: Label2
L_004e: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0053: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0058: callvirt Void AddSection(System.String, IEnumerable`1)
L_005d: ldarg.0
L_005e: ldstr "PrisonersSection"
L_0063: call System.String Translate(System.String)
L_0068: ldloc.0
L_0069: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_006e: brtrue Label3
L_0073: ldnull
L_0074: ldftn Boolean <AddPawnsSections>m__3(RimWorld.TransferableOneWay)
L_007a: newobj Void .ctor(Object, IntPtr)
L_007f: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0084: Label3
L_0084: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0089: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_008e: callvirt Void AddSection(System.String, IEnumerable`1)
L_0093: ldarg.0
L_0094: ldstr "CaptureSection"
L_0099: call System.String Translate(System.String)
L_009e: ldloc.0
L_009f: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00a4: brtrue Label4
L_00a9: ldnull
L_00aa: ldftn Boolean <AddPawnsSections>m__4(RimWorld.TransferableOneWay)
L_00b0: newobj Void .ctor(Object, IntPtr)
L_00b5: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00ba: Label4
L_00ba: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00bf: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00c4: callvirt Void AddSection(System.String, IEnumerable`1)
L_00c9: ldarg.0
L_00ca: ldstr "AnimalsSection"
L_00cf: call System.String Translate(System.String)
L_00d4: ldloc.0
L_00d5: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00da: brtrue Label5
L_00df: ldnull
L_00e0: ldftn Boolean <AddPawnsSections>m__5(RimWorld.TransferableOneWay)
L_00e6: newobj Void .ctor(Object, IntPtr)
L_00eb: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f0: Label5
L_00f0: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f5: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00fa: callvirt Void AddSection(System.String, IEnumerable`1)
L_00ff: ldarg 0
L_0105: ldarg 1
L_010b: call Void AddPawnsSections_PostFix(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0110: ret
DONE

### Patch RimWorld.Planet.CaravanExitMapUtility, Boolean


CanExitMapAndJoinOrCreateCaravanNow(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Boolean get_Spawned()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label5
L_0017: Label1
L_0017: ldarg.0
L_0018: callvirt Verse.Map get_Map()
L_001d: ldfld Verse.ExitMapGrid exitMapGrid
L_0022: callvirt Boolean get_MapUsesExitGrid()
L_0027: brtrue Label2
L_002c: ldc.i4.0
L_002d: br Label6
L_0032: Label2
L_0032: ldarg.0
L_0033: callvirt Boolean get_IsColonist()
L_0038: brtrue Label3
L_003d: ldarg.0
L_003e: call RimWorld.Planet.Caravan FindCaravanToJoinFor(Verse.Pawn)
L_0043: ldnull
L_0044: ceq
L_0046: ldc.i4.0
L_0047: ceq
L_0049: br Label4
L_004e: Label3
L_004e: ldc.i4.1
L_004f: Label4
L_004f: Label5
L_004f: Label6
L_004f: stloc 0 (System.Boolean)
L_0050: ldarg 0
L_0056: ldloca 0 (System.Boolean)
L_0058: call Void CanExit_PostFix(Verse.Pawn, Boolean ByRef)
L_005d: ldloc 0 (System.Boolean)
L_005e: ret
DONE

### Patch RimWorld.MassUtility, Single Capacity(Verse.Pawn,


System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Single
L_0000: ldc.r4 0
L_0005: stloc 1 (System.Single)
L_0006: ldarg.0
L_0007: call Boolean CanEverCarryAnything(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldc.r4 0
L_0016: br Label4
L_001b: Label1
L_001b: ldarg.0
L_001c: callvirt Single get_BodySize()
L_0021: ldc.r4 35
L_0026: mul
L_0027: stloc.0
L_0028: ldarg.1
L_0029: brfalse Label2
L_002e: ldarg.1
L_002f: callvirt Int32 get_Length()
L_0034: ldc.i4.0
L_0035: ble Label3
L_003a: ldarg.1
L_003b: callvirt System.Text.StringBuilder AppendLine()
L_0040: pop
L_0041: Label3
L_0041: ldarg.1
L_0042: ldstr " - "
L_0047: ldarg.0
L_0048: callvirt System.String get_LabelShortCap()
L_004d: ldstr ": "
L_0052: ldloc.0
L_0053: call System.String ToStringMassOffset(Single)
L_0058: call System.String Concat(System.String, System.String, System.String,
System.String)
L_005d: callvirt System.Text.StringBuilder Append(System.String)
L_0062: pop
L_0063: Label2
L_0063: ldloc.0
L_0064: Label4
L_0064: stloc 1 (System.Single)
L_0065: ldloca 1 (System.Single)
L_0067: ldarg 0
L_006d: call Void Capacity_PostFix(Single ByRef, Verse.Pawn)
L_0072: ldloc 1 (System.Single)
L_0073: ret
DONE

### Patch RimWorld.Planet.CaravanTicksPerMoveUtility, Int32


GetTicksPerMove(System.Collections.Generic.List`1[Verse.Pawn], Single, Single,
System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Single
L_0000: Local var 3: System.Single
L_0000: Local var 4: System.Single
L_0000: Local var 5: System.Single
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Single
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldarg.0
L_0008: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn])
L_000d: brfalse Label1
L_0012: ldarg.3
L_0013: brfalse Label2
L_0018: ldarg.3
L_0019: ldstr "CaravanMovementSpeedFull"
L_001e: call System.String Translate(System.String)
L_0023: ldstr ":"
L_0028: call System.String Concat(System.String, System.String)
L_002d: callvirt System.Text.StringBuilder Append(System.String)
L_0032: pop
L_0033: Label2
L_0033: ldc.r4 0
L_0038: stloc.0
L_0039: ldc.i4.0
L_003a: stloc.1
L_003b: br Label3
L_0040: Label11
L_0040: ldarg.0
L_0041: ldloc.1
L_0042: callvirt Verse.Pawn get_Item(Int32)
L_0047: callvirt Boolean get_Downed()
L_004c: brtrue Label4
L_0051: ldarg.0
L_0052: ldloc.1
L_0053: callvirt Verse.Pawn get_Item(Int32)
L_0058: call Boolean CarriedByCaravan(Verse.Pawn)
L_005d: brfalse Label5
L_0062: Label4
L_0062: ldc.i4 450
L_0067: br Label6
L_006c: Label5
L_006c: ldarg.0
L_006d: ldloc.1
L_006e: callvirt Verse.Pawn get_Item(Int32)
L_0073: callvirt Int32 get_TicksPerMoveCardinal()
L_0078: Label6
L_0078: conv.r4
L_0079: stloc.2
L_007a: ldloc.2
L_007b: ldc.r4 150
L_0080: call Single Min(Single, Single)
L_0085: ldc.r4 340
L_008a: mul
L_008b: stloc.2
L_008c: ldc.r4 60000
L_0091: ldloc.2
L_0092: conv.r4
L_0093: div
L_0094: stloc.3
L_0095: ldarg.3
L_0096: brfalse Label7
L_009b: ldarg.3
L_009c: callvirt System.Text.StringBuilder AppendLine()
L_00a1: pop
L_00a2: ldarg.3
L_00a3: ldc.i4.6
L_00a4: newarr System.String
L_00a9: dup
L_00aa: ldc.i4.0
L_00ab: ldstr " - "
L_00b0: stelem.ref
L_00b1: dup
L_00b2: ldc.i4.1
L_00b3: ldarg.0
L_00b4: ldloc.1
L_00b5: callvirt Verse.Pawn get_Item(Int32)
L_00ba: callvirt System.String get_LabelShortCap()
L_00bf: stelem.ref
L_00c0: dup
L_00c1: ldc.i4.2
L_00c2: ldstr ": "
L_00c7: stelem.ref
L_00c8: dup
L_00c9: ldc.i4.3
L_00ca: ldloca.s 3 (System.Single)
L_00cc: ldstr "0.#"
L_00d1: call System.String ToString(System.String)
L_00d6: stelem.ref
L_00d7: dup
L_00d8: ldc.i4.4
L_00d9: ldstr " "
L_00de: stelem.ref
L_00df: dup
L_00e0: ldc.i4.5
L_00e1: ldstr "TilesPerDay"
L_00e6: call System.String Translate(System.String)
L_00eb: stelem.ref
L_00ec: call System.String Concat(System.String[])
L_00f1: callvirt System.Text.StringBuilder Append(System.String)
L_00f6: pop
L_00f7: ldarg.0
L_00f8: ldloc.1
L_00f9: callvirt Verse.Pawn get_Item(Int32)
L_00fe: callvirt Boolean get_Downed()
L_0103: brfalse Label8
L_0108: ldarg.3
L_0109: ldstr " ("
L_010e: ldstr "DownedLower"
L_0113: call System.String Translate(System.String)
L_0118: ldstr ")"
L_011d: call System.String Concat(System.String, System.String, System.String)
L_0122: callvirt System.Text.StringBuilder Append(System.String)
L_0127: pop
L_0128: br Label9
L_012d: Label8
L_012d: ldarg.0
L_012e: ldloc.1
L_012f: callvirt Verse.Pawn get_Item(Int32)
L_0134: call Boolean CarriedByCaravan(Verse.Pawn)
L_0139: brfalse Label10
L_013e: ldarg.3
L_013f: ldstr " ("
L_0144: ldstr "Carried"
L_0149: call System.String Translate(System.String)
L_014e: ldstr ")"
L_0153: call System.String Concat(System.String, System.String, System.String)
L_0158: callvirt System.Text.StringBuilder Append(System.String)
L_015d: pop
L_015e: Label7
L_015e: Label9
L_015e: Label10
L_015e: ldloc.0
L_015f: ldloc.2
L_0160: ldarg.0
L_0161: callvirt Int32 get_Count()
L_0166: conv.r4
L_0167: div
L_0168: add
L_0169: stloc.0
L_016a: ldloc.1
L_016b: ldc.i4.1
L_016c: add
L_016d: stloc.1
L_016e: Label3
L_016e: ldloc.1
L_016f: ldarg.0
L_0170: callvirt Int32 get_Count()
L_0175: blt Label11
L_017a: ldarg.1
L_017b: ldarg.2
L_017c: call Single GetMoveSpeedFactorFromMass(Single, Single)
L_0181: stloc.s 4 (System.Single)
L_0183: ldarg.3
L_0184: brfalse Label12
L_0189: ldc.r4 60000
L_018e: ldloc.0
L_018f: conv.r4
L_0190: div
L_0191: stloc.s 5 (System.Single)
L_0193: ldarg.3
L_0194: callvirt System.Text.StringBuilder AppendLine()
L_0199: pop
L_019a: ldarg.3
L_019b: ldc.i4.6
L_019c: newarr System.String
L_01a1: dup
L_01a2: ldc.i4.0
L_01a3: ldstr " "
L_01a8: stelem.ref
L_01a9: dup
L_01aa: ldc.i4.1
L_01ab: ldstr "Average"
L_01b0: call System.String Translate(System.String)
L_01b5: stelem.ref
L_01b6: dup
L_01b7: ldc.i4.2
L_01b8: ldstr ": "
L_01bd: stelem.ref
L_01be: dup
L_01bf: ldc.i4.3
L_01c0: ldloca.s 5 (System.Single)
L_01c2: ldstr "0.#"
L_01c7: call System.String ToString(System.String)
L_01cc: stelem.ref
L_01cd: dup
L_01ce: ldc.i4.4
L_01cf: ldstr " "
L_01d4: stelem.ref
L_01d5: dup
L_01d6: ldc.i4.5
L_01d7: ldstr "TilesPerDay"
L_01dc: call System.String Translate(System.String)
L_01e1: stelem.ref
L_01e2: call System.String Concat(System.String[])
L_01e7: callvirt System.Text.StringBuilder Append(System.String)
L_01ec: pop
L_01ed: ldarg.3
L_01ee: callvirt System.Text.StringBuilder AppendLine()
L_01f3: pop
L_01f4: ldarg.3
L_01f5: ldstr " "
L_01fa: ldstr "MultiplierForCarriedMass"
L_01ff: ldc.i4.1
L_0200: newarr System.Object
L_0205: dup
L_0206: ldc.i4.0
L_0207: ldloc.s 4 (System.Single)
L_0209: call System.String ToStringPercent(Single)
L_020e: stelem.ref
L_020f: call System.String Translate(System.String, System.Object[])
L_0214: call System.String Concat(System.String, System.String)
L_0219: callvirt System.Text.StringBuilder Append(System.String)
L_021e: pop
L_021f: Label12
L_021f: ldloc.0
L_0220: ldloc.s 4 (System.Single)
L_0222: div
L_0223: call Int32 RoundToInt(Single)
L_0228: ldc.i4.1
L_0229: call Int32 Max(Int32, Int32)
L_022e: stloc.s 6 (System.Int32)
L_0230: ldarg.3
L_0231: brfalse Label13
L_0236: ldc.r4 60000
L_023b: ldloc.s 6 (System.Int32)
L_023d: conv.r4
L_023e: div
L_023f: stloc.s 7 (System.Single)
L_0241: ldarg.3
L_0242: callvirt System.Text.StringBuilder AppendLine()
L_0247: pop
L_0248: ldarg.3
L_0249: ldc.i4.6
L_024a: newarr System.String
L_024f: dup
L_0250: ldc.i4.0
L_0251: ldstr " "
L_0256: stelem.ref
L_0257: dup
L_0258: ldc.i4.1
L_0259: ldstr "FinalCaravanPawnsMovementSpeed"
L_025e: call System.String Translate(System.String)
L_0263: stelem.ref
L_0264: dup
L_0265: ldc.i4.2
L_0266: ldstr ": "
L_026b: stelem.ref
L_026c: dup
L_026d: ldc.i4.3
L_026e: ldloca.s 7 (System.Single)
L_0270: ldstr "0.#"
L_0275: call System.String ToString(System.String)
L_027a: stelem.ref
L_027b: dup
L_027c: ldc.i4.4
L_027d: ldstr " "
L_0282: stelem.ref
L_0283: dup
L_0284: ldc.i4.5
L_0285: ldstr "TilesPerDay"
L_028a: call System.String Translate(System.String)
L_028f: stelem.ref
L_0290: call System.String Concat(System.String[])
L_0295: callvirt System.Text.StringBuilder Append(System.String)
L_029a: pop
L_029b: Label13
L_029b: ldloc.s 6 (System.Int32)
L_029d: br Label15
L_02a2: Label1
L_02a2: ldarg.3
L_02a3: brfalse Label14
L_02a8: ldarg.3
L_02a9: call Void AppendUsingDefaultTicksPerMoveInfo(System.Text.StringBuilder)
L_02ae: Label14
L_02ae: ldc.i4 3300
L_02b3: Label15
L_02b3: stloc 8 (System.Int32)
L_02b5: ldarg 0
L_02bb: ldloca 8 (System.Int32)
L_02bd: call Void
GetTicksPerMove_PostFix(System.Collections.Generic.List`1[Verse.Pawn], Int32 ByRef)
L_02c2: ldloc 8 (System.Int32)
L_02c4: ret
DONE

### Patch RimWorld.Planet.CaravanEnterMapUtility, Void


Enter(RimWorld.Planet.Caravan, Verse.Map, System.Func`2[Verse.Pawn,Verse.IntVec3],
CaravanDropInventoryMode, Boolean)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: call Void Enter_PreFix(RimWorld.Planet.Caravan)
L_000b: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0010: callvirt Void Clear()
L_0015: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_001a: ldarg.0
L_001b: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_0020: callvirt Void AddRange(IEnumerable`1)
L_0025: ldc.i4.0
L_0026: stloc.0
L_0027: br Label1
L_002c: Label2
L_002c: ldarg.2
L_002d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0032: ldloc.0
L_0033: callvirt Verse.Pawn get_Item(Int32)
L_0038: callvirt IntVec3 Invoke(Verse.Pawn)
L_003d: stloc.1
L_003e: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0043: ldloc.0
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: ldloc.1
L_004a: ldarg.1
L_004b: call Rot4 get_Random()
L_0050: ldc.i4.0
L_0051: ldc.i4.0
L_0052: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0057: pop
L_0058: ldloc.0
L_0059: ldc.i4.1
L_005a: add
L_005b: stloc.0
L_005c: Label1
L_005c: ldloc.0
L_005d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0062: callvirt Int32 get_Count()
L_0067: blt Label2
L_006c: ldarg.3
L_006d: ldc.i4.1
L_006e: bne.un Label3
L_0073: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0078: call Void DropAllInventory(System.Collections.Generic.List`1[Verse.Pawn])
L_007d: br Label4
L_0082: Label3
L_0082: ldarg.3
L_0083: ldc.i4.2
L_0084: bne.un Label5
L_0089: ldc.i4.0
L_008a: stloc.2
L_008b: br Label6
L_0090: Label7
L_0090: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0095: ldloc.2
L_0096: callvirt Verse.Pawn get_Item(Int32)
L_009b: ldfld Verse.Pawn_InventoryTracker inventory
L_00a0: ldc.i4.1
L_00a1: callvirt Void set_UnloadEverything(Boolean)
L_00a6: ldloc.2
L_00a7: ldc.i4.1
L_00a8: add
L_00a9: stloc.2
L_00aa: Label6
L_00aa: ldloc.2
L_00ab: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00b0: callvirt Int32 get_Count()
L_00b5: blt Label7
L_00ba: Label4
L_00ba: Label5
L_00ba: ldarg.s 4
L_00bc: brfalse Label8
L_00c1: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00c6: call Void DraftColonists(System.Collections.Generic.List`1[Verse.Pawn])
L_00cb: Label8
L_00cb: ldarg.1
L_00cc: callvirt Boolean get_IsPlayerHome()
L_00d1: brfalse Label9
L_00d6: ldc.i4.0
L_00d7: stloc.3
L_00d8: br Label10
L_00dd: Label12
L_00dd: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00e2: ldloc.3
L_00e3: callvirt Verse.Pawn get_Item(Int32)
L_00e8: callvirt Boolean get_IsPrisoner()
L_00ed: brfalse Label11
L_00f2: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00f7: ldloc.3
L_00f8: callvirt Verse.Pawn get_Item(Int32)
L_00fd: ldfld RimWorld.Pawn_GuestTracker guest
L_0102: callvirt Void WaitInsteadOfEscapingForDefaultTicks()
L_0107: Label11
L_0107: ldloc.3
L_0108: ldc.i4.1
L_0109: add
L_010a: stloc.3
L_010b: Label10
L_010b: ldloc.3
L_010c: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0111: callvirt Int32 get_Count()
L_0116: blt Label12
L_011b: Label9
L_011b: ldarg.0
L_011c: callvirt Void RemoveAllPawns()
L_0121: ldarg.0
L_0122: callvirt Boolean get_Spawned()
L_0127: brfalse Label13
L_012c: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_0131: ldarg.0
L_0132: callvirt Void Remove(RimWorld.Planet.WorldObject)
L_0137: Label13
L_0137: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_013c: callvirt Void Clear()
L_0141: ret
DONE

### Patch RimWorld.Planet.Caravan, System.String GetInspectString()


L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Int32
L_0000: Local var 7: RimWorld.Planet.SettlementBase
L_0000: Local var 8: System.Single
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Int32
L_0000: Local var 11: System.String
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: ldnull
L_0001: stloc 13 (System.String)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: call System.String GetInspectString()
L_0010: callvirt System.Text.StringBuilder Append(System.String)
L_0015: pop
L_0016: ldloc.0
L_0017: callvirt Int32 get_Length()
L_001c: brfalse Label1
L_0021: ldloc.0
L_0022: callvirt System.Text.StringBuilder AppendLine()
L_0027: pop
L_0028: Label1
L_0028: ldc.i4.0
L_0029: stloc.1
L_002a: ldc.i4.0
L_002b: stloc.2
L_002c: ldc.i4.0
L_002d: stloc.3
L_002e: ldc.i4.0
L_002f: stloc.s 4 (System.Int32)
L_0031: ldc.i4.0
L_0032: stloc.s 5 (System.Int32)
L_0034: ldc.i4.0
L_0035: stloc.s 6 (System.Int32)
L_0037: br Label2
L_003c: Label10
L_003c: ldarg.0
L_003d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0042: ldloc.s 6 (System.Int32)
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: callvirt Boolean get_IsColonist()
L_004e: brfalse Label3
L_0053: ldloc.1
L_0054: ldc.i4.1
L_0055: add
L_0056: stloc.1
L_0057: br Label4
L_005c: Label3
L_005c: ldarg.0
L_005d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0062: ldloc.s 6 (System.Int32)
L_0064: callvirt Verse.Pawn get_Item(Int32)
L_0069: callvirt Verse.RaceProperties get_RaceProps()
L_006e: callvirt Boolean get_Animal()
L_0073: brfalse Label5
L_0078: ldloc.2
L_0079: ldc.i4.1
L_007a: add
L_007b: stloc.2
L_007c: br Label6
L_0081: Label5
L_0081: ldarg.0
L_0082: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0087: ldloc.s 6 (System.Int32)
L_0089: callvirt Verse.Pawn get_Item(Int32)
L_008e: callvirt Boolean get_IsPrisoner()
L_0093: brfalse Label7
L_0098: ldloc.3
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.3
L_009c: Label4
L_009c: Label6
L_009c: Label7
L_009c: ldarg.0
L_009d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00a2: ldloc.s 6 (System.Int32)
L_00a4: callvirt Verse.Pawn get_Item(Int32)
L_00a9: callvirt Boolean get_Downed()
L_00ae: brfalse Label8
L_00b3: ldloc.s 4 (System.Int32)
L_00b5: ldc.i4.1
L_00b6: add
L_00b7: stloc.s 4 (System.Int32)
L_00b9: Label8
L_00b9: ldarg.0
L_00ba: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00bf: ldloc.s 6 (System.Int32)
L_00c1: callvirt Verse.Pawn get_Item(Int32)
L_00c6: callvirt Boolean get_InMentalState()
L_00cb: brfalse Label9
L_00d0: ldloc.s 5 (System.Int32)
L_00d2: ldc.i4.1
L_00d3: add
L_00d4: stloc.s 5 (System.Int32)
L_00d6: Label9
L_00d6: ldloc.s 6 (System.Int32)
L_00d8: ldc.i4.1
L_00d9: add
L_00da: stloc.s 6 (System.Int32)
L_00dc: Label2
L_00dc: ldloc.s 6 (System.Int32)
L_00de: ldarg.0
L_00df: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00e4: callvirt Int32 get_Count()
L_00e9: blt Label10
L_00ee: ldloc.0
L_00ef: ldstr "CaravanColonistsCount"
L_00f4: ldc.i4.2
L_00f5: newarr System.Object
L_00fa: dup
L_00fb: ldc.i4.0
L_00fc: ldloc.1
L_00fd: box System.Int32
L_0102: stelem.ref
L_0103: dup
L_0104: ldc.i4.1
L_0105: ldloc.1
L_0106: ldc.i4.1
L_0107: bne.un Label11
L_010c: call RimWorld.Faction get_OfPlayer()
L_0111: ldfld RimWorld.FactionDef def
L_0116: ldfld System.String pawnSingular
L_011b: br Label12
L_0120: Label11
L_0120: call RimWorld.Faction get_OfPlayer()
L_0125: ldfld RimWorld.FactionDef def
L_012a: ldfld System.String pawnsPlural
L_012f: Label12
L_012f: stelem.ref
L_0130: call System.String Translate(System.String, System.Object[])
L_0135: callvirt System.Text.StringBuilder Append(System.String)
L_013a: pop
L_013b: ldloc.2
L_013c: ldc.i4.1
L_013d: bne.un Label13
L_0142: ldloc.0
L_0143: ldstr ", "
L_0148: ldstr "CaravanAnimal"
L_014d: call System.String Translate(System.String)
L_0152: call System.String Concat(System.String, System.String)
L_0157: callvirt System.Text.StringBuilder Append(System.String)
L_015c: pop
L_015d: br Label14
L_0162: Label13
L_0162: ldloc.2
L_0163: ldc.i4.1
L_0164: ble Label15
L_0169: ldloc.0
L_016a: ldstr ", "
L_016f: ldstr "CaravanAnimalsCount"
L_0174: ldc.i4.1
L_0175: newarr System.Object
L_017a: dup
L_017b: ldc.i4.0
L_017c: ldloc.2
L_017d: box System.Int32
L_0182: stelem.ref
L_0183: call System.String Translate(System.String, System.Object[])
L_0188: call System.String Concat(System.String, System.String)
L_018d: callvirt System.Text.StringBuilder Append(System.String)
L_0192: pop
L_0193: Label14
L_0193: Label15
L_0193: ldloc.3
L_0194: ldc.i4.1
L_0195: bne.un Label16
L_019a: ldloc.0
L_019b: ldstr ", "
L_01a0: ldstr "CaravanPrisoner"
L_01a5: call System.String Translate(System.String)
L_01aa: call System.String Concat(System.String, System.String)
L_01af: callvirt System.Text.StringBuilder Append(System.String)
L_01b4: pop
L_01b5: br Label17
L_01ba: Label16
L_01ba: ldloc.3
L_01bb: ldc.i4.1
L_01bc: ble Label18
L_01c1: ldloc.0
L_01c2: ldstr ", "
L_01c7: ldstr "CaravanPrisonersCount"
L_01cc: ldc.i4.1
L_01cd: newarr System.Object
L_01d2: dup
L_01d3: ldc.i4.0
L_01d4: ldloc.3
L_01d5: box System.Int32
L_01da: stelem.ref
L_01db: call System.String Translate(System.String, System.Object[])
L_01e0: call System.String Concat(System.String, System.String)
L_01e5: callvirt System.Text.StringBuilder Append(System.String)
L_01ea: pop
L_01eb: Label17
L_01eb: Label18
L_01eb: ldloc.0
L_01ec: callvirt System.Text.StringBuilder AppendLine()
L_01f1: pop
L_01f2: ldloc.s 5 (System.Int32)
L_01f4: ldc.i4.0
L_01f5: ble Label19
L_01fa: ldloc.0
L_01fb: ldstr "CaravanPawnsInMentalState"
L_0200: ldc.i4.1
L_0201: newarr System.Object
L_0206: dup
L_0207: ldc.i4.0
L_0208: ldloc.s 5 (System.Int32)
L_020a: box System.Int32
L_020f: stelem.ref
L_0210: call System.String Translate(System.String, System.Object[])
L_0215: callvirt System.Text.StringBuilder Append(System.String)
L_021a: pop
L_021b: Label19
L_021b: ldloc.s 4 (System.Int32)
L_021d: ldc.i4.0
L_021e: ble Label20
L_0223: ldloc.s 5 (System.Int32)
L_0225: ldc.i4.0
L_0226: ble Label21
L_022b: ldloc.0
L_022c: ldstr ", "
L_0231: callvirt System.Text.StringBuilder Append(System.String)
L_0236: pop
L_0237: Label21
L_0237: ldloc.0
L_0238: ldstr "CaravanPawnsDowned"
L_023d: ldc.i4.1
L_023e: newarr System.Object
L_0243: dup
L_0244: ldc.i4.0
L_0245: ldloc.s 4 (System.Int32)
L_0247: box System.Int32
L_024c: stelem.ref
L_024d: call System.String Translate(System.String, System.Object[])
L_0252: callvirt System.Text.StringBuilder Append(System.String)
L_0257: pop
L_0258: Label20
L_0258: ldloc.s 5 (System.Int32)
L_025a: ldc.i4.0
L_025b: bgt Label22
L_0260: ldloc.s 4 (System.Int32)
L_0262: ldc.i4.0
L_0263: ble Label23
L_0268: Label22
L_0268: ldloc.0
L_0269: callvirt System.Text.StringBuilder AppendLine()
L_026e: pop
L_026f: Label23
L_026f: ldarg.0
L_0270: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0275: callvirt Boolean get_Moving()
L_027a: brfalse Label24
L_027f: ldarg.0
L_0280: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0285: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_028a: brfalse Label25
L_028f: ldloc.0
L_0290: ldarg.0
L_0291: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0296: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_029b: callvirt System.String get_ReportString()
L_02a0: callvirt System.Text.StringBuilder Append(System.String)
L_02a5: pop
L_02a6: br Label26
L_02ab: Label25
L_02ab: ldloc.0
L_02ac: ldstr "CaravanTraveling"
L_02b1: call System.String Translate(System.String)
L_02b6: callvirt System.Text.StringBuilder Append(System.String)
L_02bb: pop
L_02bc: Label26
L_02bc: br Label27
L_02c1: Label24
L_02c1: ldarg.0
L_02c2: call RimWorld.Planet.SettlementBase
SettlementVisitedNow(RimWorld.Planet.Caravan)
L_02c7: stloc.s 7 (RimWorld.Planet.SettlementBase)
L_02c9: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02cb: brfalse Label28
L_02d0: ldloc.0
L_02d1: ldstr "CaravanVisiting"
L_02d6: ldc.i4.1
L_02d7: newarr System.Object
L_02dc: dup
L_02dd: ldc.i4.0
L_02de: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02e0: callvirt System.String get_Label()
L_02e5: stelem.ref
L_02e6: call System.String Translate(System.String, System.Object[])
L_02eb: callvirt System.Text.StringBuilder Append(System.String)
L_02f0: pop
L_02f1: br Label29
L_02f6: Label28
L_02f6: ldloc.0
L_02f7: ldstr "CaravanWaiting"
L_02fc: call System.String Translate(System.String)
L_0301: callvirt System.Text.StringBuilder Append(System.String)
L_0306: pop
L_0307: Label27
L_0307: Label29
L_0307: ldarg.0
L_0308: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_030d: callvirt Boolean get_Moving()
L_0312: brfalse Label30
L_0317: ldarg.0
L_0318: ldc.i4.1
L_0319: call Int32 EstimatedTicksToArrive(RimWorld.Planet.Caravan, Boolean)
L_031e: conv.r4
L_031f: ldc.r4 60000
L_0324: div
L_0325: stloc.s 8 (System.Single)
L_0327: ldloc.0
L_0328: callvirt System.Text.StringBuilder AppendLine()
L_032d: pop
L_032e: ldloc.0
L_032f: ldstr "CaravanEstimatedTimeToDestination"
L_0334: ldc.i4.1
L_0335: newarr System.Object
L_033a: dup
L_033b: ldc.i4.0
L_033c: ldloca.s 8 (System.Single)
L_033e: ldstr "0.#"
L_0343: call System.String ToString(System.String)
L_0348: stelem.ref
L_0349: call System.String Translate(System.String, System.Object[])
L_034e: callvirt System.Text.StringBuilder Append(System.String)
L_0353: pop
L_0354: Label30
L_0354: ldarg.0
L_0355: call Boolean get_AllOwnersDowned()
L_035a: brfalse Label31
L_035f: ldloc.0
L_0360: callvirt System.Text.StringBuilder AppendLine()
L_0365: pop
L_0366: ldloc.0
L_0367: ldstr "AllCaravanMembersDowned"
L_036c: call System.String Translate(System.String)
L_0371: callvirt System.Text.StringBuilder Append(System.String)
L_0376: pop
L_0377: br Label32
L_037c: Label31
L_037c: ldarg.0
L_037d: call Boolean get_AllOwnersHaveMentalBreak()
L_0382: brfalse Label33
L_0387: ldloc.0
L_0388: callvirt System.Text.StringBuilder AppendLine()
L_038d: pop
L_038e: ldloc.0
L_038f: ldstr "AllCaravanMembersMentalBreak"
L_0394: call System.String Translate(System.String)
L_0399: callvirt System.Text.StringBuilder Append(System.String)
L_039e: pop
L_039f: br Label34
L_03a4: Label33
L_03a4: ldarg.0
L_03a5: call Boolean get_ImmobilizedByMass()
L_03aa: brfalse Label35
L_03af: ldloc.0
L_03b0: callvirt System.Text.StringBuilder AppendLine()
L_03b5: pop
L_03b6: ldloc.0
L_03b7: ldstr "CaravanImmobilizedByMass"
L_03bc: call System.String Translate(System.String)
L_03c1: callvirt System.Text.StringBuilder Append(System.String)
L_03c6: pop
L_03c7: Label32
L_03c7: Label34
L_03c7: Label35
L_03c7: ldarg.0
L_03c8: ldfld RimWorld.Planet.Caravan_NeedsTracker needs
L_03cd: ldloca.s 9 (System.String)
L_03cf: callvirt Boolean AnyPawnOutOfFood(System.String ByRef)
L_03d4: brfalse Label36
L_03d9: ldloc.0
L_03da: callvirt System.Text.StringBuilder AppendLine()
L_03df: pop
L_03e0: ldloc.0
L_03e1: ldstr "CaravanOutOfFood"
L_03e6: call System.String Translate(System.String)
L_03eb: callvirt System.Text.StringBuilder Append(System.String)
L_03f0: pop
L_03f1: ldloc.s 9 (System.String)
L_03f3: call Boolean NullOrEmpty(System.String)
L_03f8: brtrue Label37
L_03fd: ldloc.0
L_03fe: ldstr " "
L_0403: callvirt System.Text.StringBuilder Append(System.String)
L_0408: pop
L_0409: ldloc.0
L_040a: ldloc.s 9 (System.String)
L_040c: callvirt System.Text.StringBuilder Append(System.String)
L_0411: pop
L_0412: ldloc.0
L_0413: ldstr "."
L_0418: callvirt System.Text.StringBuilder Append(System.String)
L_041d: pop
L_041e: Label36
L_041e: Label37
L_041e: ldarg.0
L_041f: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0424: callvirt Boolean get_MovingNow()
L_0429: brtrue Label38
L_042e: ldarg.0
L_042f: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_0434: callvirt Int32 GetUsedBedCount()
L_0439: stloc.s 10 (System.Int32)
L_043b: ldloc.0
L_043c: callvirt System.Text.StringBuilder AppendLine()
L_0441: pop
L_0442: ldloc.0
L_0443: ldstr "CaravanResting"
L_0448: call System.String Translate(System.String)
L_044d: ldloc.s 10 (System.Int32)
L_044f: call System.String AppendUsingBedsLabel(System.String, Int32)
L_0454: callvirt System.Text.StringBuilder Append(System.String)
L_0459: pop
L_045a: br Label39
L_045f: Label38
L_045f: ldarg.0
L_0460: ldfld RimWorld.Planet.Caravan_CarryTracker carryTracker
L_0465: callvirt System.String GetInspectStringLine()
L_046a: stloc.s 11 (System.String)
L_046c: ldloc.s 11 (System.String)
L_046e: call Boolean NullOrEmpty(System.String)
L_0473: brtrue Label40
L_0478: ldloc.0
L_0479: callvirt System.Text.StringBuilder AppendLine()
L_047e: pop
L_047f: ldloc.0
L_0480: ldloc.s 11 (System.String)
L_0482: callvirt System.Text.StringBuilder Append(System.String)
L_0487: pop
L_0488: Label40
L_0488: ldarg.0
L_0489: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_048e: callvirt System.String GetInBedForMedicalReasonsInspectStringLine()
L_0493: stloc.s 12 (System.String)
L_0495: ldloc.s 12 (System.String)
L_0497: call Boolean NullOrEmpty(System.String)
L_049c: brtrue Label41
L_04a1: ldloc.0
L_04a2: callvirt System.Text.StringBuilder AppendLine()
L_04a7: pop
L_04a8: ldloc.0
L_04a9: ldloc.s 12 (System.String)
L_04ab: callvirt System.Text.StringBuilder Append(System.String)
L_04b0: pop
L_04b1: Label39
L_04b1: Label41
L_04b1: ldloc.0
L_04b2: callvirt System.String ToString()
L_04b7: stloc 13 (System.String)
L_04b9: ldarg.0
L_04ba: ldloca 13 (System.String)
L_04bc: call Void GetInspectString_Jobs(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c1: ldarg.0
L_04c2: ldloca 13 (System.String)
L_04c4: call Void GetInspectString_PostFix(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c9: ldloc 13 (System.String)
L_04cb: ret
DONE

### Patch Verse.Pawn, Void Tick()


L_0000: Local var 0: System.Boolean
L_0000: ldsfld System.Boolean noAnimals
L_0005: brfalse Label1
L_000a: ldarg.0
L_000b: call Boolean get_Spawned()
L_0010: brfalse Label2
L_0015: ldarg.0
L_0016: call Verse.RaceProperties get_RaceProps()
L_001b: callvirt Boolean get_Animal()
L_0020: brfalse Label3
L_0025: ldarg.0
L_0026: ldc.i4.0
L_0027: callvirt Void Destroy(DestroyMode)
L_002c: br Label23
L_0031: Label1
L_0031: Label2
L_0031: Label3
L_0031: ldarg.0
L_0032: call Void Tick()
L_0037: call Verse.TickManager get_TickManager()
L_003c: callvirt Int32 get_TicksGame()
L_0041: ldc.i4 250
L_0046: rem
L_0047: brtrue Label4
L_004c: ldarg.0
L_004d: callvirt Void TickRare()
L_0052: Label4
L_0052: ldarg.0
L_0053: call Boolean get_Suspended()
L_0058: stloc.0
L_0059: ldloc.0
L_005a: brtrue Label5
L_005f: ldarg.0
L_0060: call Boolean get_Spawned()
L_0065: brfalse Label6
L_006a: ldarg.0
L_006b: ldfld Verse.AI.Pawn_PathFollower pather
L_0070: callvirt Void PatherTick()
L_0075: Label6
L_0075: ldarg.0
L_0076: call Boolean get_Spawned()
L_007b: brfalse Label7
L_0080: ldarg.0
L_0081: ldfld Verse.Pawn_StanceTracker stances
L_0086: callvirt Void StanceTrackerTick()
L_008b: ldarg.0
L_008c: ldfld Verse.VerbTracker verbTracker
L_0091: callvirt Void VerbsTick()
L_0096: ldarg.0
L_0097: ldfld RimWorld.Pawn_NativeVerbs natives
L_009c: callvirt Void NativeVerbsTick()
L_00a1: Label7
L_00a1: ldarg.0
L_00a2: call Boolean get_Spawned()
L_00a7: brfalse Label8
L_00ac: ldarg.0
L_00ad: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b2: callvirt Void JobTrackerTick()
L_00b7: Label8
L_00b7: ldarg.0
L_00b8: call Boolean get_Spawned()
L_00bd: brfalse Label9
L_00c2: ldarg.0
L_00c3: call Verse.Pawn_DrawTracker get_Drawer()
L_00c8: callvirt Void DrawTrackerTick()
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn_RotationTracker rotationTracker
L_00d3: callvirt Void RotationTrackerTick()
L_00d8: Label9
L_00d8: ldarg.0
L_00d9: ldfld Verse.Pawn_HealthTracker health
L_00de: callvirt Void HealthTick()
L_00e3: ldarg.0
L_00e4: call Boolean get_Dead()
L_00e9: brtrue Label10
L_00ee: ldarg.0
L_00ef: ldfld Verse.AI.Pawn_MindState mindState
L_00f4: callvirt Void MindStateTick()
L_00f9: ldarg.0
L_00fa: ldfld Verse.Pawn_CarryTracker carryTracker
L_00ff: callvirt Void CarryHandsTick()
L_0104: Label5
L_0104: Label10
L_0104: ldarg.0
L_0105: call Boolean get_Dead()
L_010a: brtrue Label11
L_010f: ldarg.0
L_0110: ldfld RimWorld.Pawn_NeedsTracker needs
L_0115: callvirt Void NeedsTrackerTick()
L_011a: Label11
L_011a: ldloc.0
L_011b: brtrue Label12
L_0120: ldarg.0
L_0121: ldfld Verse.Pawn_EquipmentTracker equipment
L_0126: brfalse Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_EquipmentTracker equipment
L_0131: callvirt Void EquipmentTrackerTick()
L_0136: Label13
L_0136: ldarg.0
L_0137: ldfld RimWorld.Pawn_ApparelTracker apparel
L_013c: brfalse Label14
L_0141: ldarg.0
L_0142: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0147: callvirt Void ApparelTrackerTick()
L_014c: Label14
L_014c: ldarg.0
L_014d: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0152: brfalse Label15
L_0157: ldarg.0
L_0158: call Boolean get_Spawned()
L_015d: brfalse Label16
L_0162: ldarg.0
L_0163: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0168: callvirt Void InteractionsTrackerTick()
L_016d: Label15
L_016d: Label16
L_016d: ldarg.0
L_016e: ldfld Verse.Pawn_CallTracker caller
L_0173: brfalse Label17
L_0178: ldarg.0
L_0179: ldfld Verse.Pawn_CallTracker caller
L_017e: callvirt Void CallTrackerTick()
L_0183: Label17
L_0183: ldarg.0
L_0184: ldfld RimWorld.Pawn_SkillTracker skills
L_0189: brfalse Label18
L_018e: ldarg.0
L_018f: ldfld RimWorld.Pawn_SkillTracker skills
L_0194: callvirt Void SkillsTick()
L_0199: Label18
L_0199: ldarg.0
L_019a: ldfld Verse.Pawn_InventoryTracker inventory
L_019f: brfalse Label19
L_01a4: ldarg.0
L_01a5: ldfld Verse.Pawn_InventoryTracker inventory
L_01aa: callvirt Void InventoryTrackerTick()
L_01af: Label19
L_01af: ldarg.0
L_01b0: ldfld RimWorld.Pawn_DraftController drafter
L_01b5: brfalse Label20
L_01ba: ldarg.0
L_01bb: ldfld RimWorld.Pawn_DraftController drafter
L_01c0: callvirt Void DraftControllerTick()
L_01c5: Label20
L_01c5: ldarg.0
L_01c6: ldfld RimWorld.Pawn_RelationsTracker relations
L_01cb: brfalse Label21
L_01d0: ldarg.0
L_01d1: ldfld RimWorld.Pawn_RelationsTracker relations
L_01d6: callvirt Void RelationsTrackerTick()
L_01db: Label21
L_01db: ldarg.0
L_01dc: call Verse.RaceProperties get_RaceProps()
L_01e1: callvirt Boolean get_Humanlike()
L_01e6: brfalse Label22
L_01eb: ldarg.0
L_01ec: ldfld RimWorld.Pawn_GuestTracker guest
L_01f1: callvirt Void GuestTrackerTick()
L_01f6: Label22
L_01f6: ldarg.0
L_01f7: ldfld Verse.Pawn_AgeTracker ageTracker
L_01fc: callvirt Void AgeTick()
L_0201: ldarg.0
L_0202: ldfld RimWorld.Pawn_RecordsTracker records
L_0207: callvirt Void RecordsTick()
L_020c: Label12
L_020c: Label23
L_020c: ldarg.0
L_020d: call Void Patch_Pawn_Tick(Verse.Pawn)
L_0212: ret
DONE

### Patch Verse.PawnGenerator, Void GenerateGearFor(Verse.Pawn,


PawnGenerationRequest)
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void GenerateStartingApparelFor(Verse.Pawn, PawnGenerationRequest)
L_0007: ldarg.0
L_0008: call Void TryGenerateWeaponFor(Verse.Pawn)
L_000d: ldarg.0
L_000e: ldarg.1
L_000f: call Void GenerateInventoryFor(Verse.Pawn, PawnGenerationRequest)
L_0014: ldarg 0
L_001a: ldarga 1
L_0020: call Void Patch_PawnGenerator_GenerateGearFor(Verse.Pawn,
PawnGenerationRequest ByRef)
L_0025: ret
DONE
### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)
L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ret
DONE

### Patch Verse.Pawn_HealthTracker, Void PreApplyDamage(DamageInfo, Boolean ByRef)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarga 1
L_0007: ldarg 2
L_000d: call Boolean PreApplyDamage_PrePatch(Verse.Pawn_HealthTracker, DamageInfo
ByRef, Boolean ByRef)
L_0012: brfalse Label0
L_0017: ldarg.0
L_0018: ldarga 1
L_001e: ldarg 2
L_0024: call Boolean
Patch_Pawn_HealthTracker_PreApplyDamage(Verse.Pawn_HealthTracker, DamageInfo ByRef,
Boolean ByRef)
L_0029: brfalse Label0
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Instigator()
L_0035: brfalse Label1
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt RimWorld.Faction get_Faction()
L_0045: brfalse Label2
L_004a: ldarg.0
L_004b: ldfld Verse.Pawn pawn
L_0050: callvirt RimWorld.Faction get_Faction()
L_0055: callvirt Boolean get_IsPlayer()
L_005a: brfalse Label3
L_005f: ldarg.0
L_0060: ldfld Verse.Pawn pawn
L_0065: callvirt Boolean get_InAggroMentalState()
L_006a: brtrue Label4
L_006f: ldarga.s 1
L_0071: call Verse.Thing get_Instigator()
L_0076: isinst Verse.Pawn
L_007b: stloc.0
L_007c: ldloc.0
L_007d: brfalse Label5
L_0082: ldloc.0
L_0083: ldfld RimWorld.Pawn_GuiltTracker guilt
L_0088: brfalse Label6
L_008d: ldloc.0
L_008e: ldfld Verse.AI.Pawn_MindState mindState
L_0093: brfalse Label7
L_0098: ldloc.0
L_0099: ldfld RimWorld.Pawn_GuiltTracker guilt
L_009e: callvirt Void Notify_Guilty()
L_00a3: Label1
L_00a3: Label2
L_00a3: Label3
L_00a3: Label4
L_00a3: Label5
L_00a3: Label6
L_00a3: Label7
L_00a3: ldarg.0
L_00a4: ldfld Verse.Pawn pawn
L_00a9: callvirt Boolean get_Spawned()
L_00ae: brfalse Label8
L_00b3: ldarg.0
L_00b4: ldfld Verse.Pawn pawn
L_00b9: callvirt IntVec3 get_Position()
L_00be: ldarg.0
L_00bf: ldfld Verse.Pawn pawn
L_00c4: callvirt Verse.Map get_Map()
L_00c9: call Boolean Fogged(IntVec3, Verse.Map)
L_00ce: brtrue Label9
L_00d3: ldarg.0
L_00d4: ldfld Verse.Pawn pawn
L_00d9: ldfld Verse.AI.Pawn_MindState mindState
L_00de: ldc.i4.1
L_00df: callvirt Void set_Active(Boolean)
L_00e4: Label9
L_00e4: ldarg.0
L_00e5: ldfld Verse.Pawn pawn
L_00ea: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00ef: stloc.1
L_00f0: ldloc.1
L_00f1: brfalse Label10
L_00f6: ldloc.1
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: ldarg.1
L_00fe: callvirt Void Notify_PawnDamaged(Verse.Pawn, DamageInfo)
L_0103: Label10
L_0103: ldarga.s 1
L_0105: call Verse.DamageDef get_Def()
L_010a: ldarg.0
L_010b: ldfld Verse.Pawn pawn
L_0110: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0115: brfalse Label11
L_011a: ldarg.0
L_011b: ldfld Verse.Pawn pawn
L_0120: ldc.r4 18
L_0125: ldsfld Verse.ClamorDef Harm
L_012a: call Void DoClamor(Verse.Thing, Single, Verse.ClamorDef)
L_012f: Label11
L_012f: ldarg.0
L_0130: ldfld Verse.Pawn pawn
L_0135: ldfld Verse.AI.Pawn_JobTracker jobs
L_013a: ldarg.1
L_013b: callvirt Void Notify_DamageTaken(DamageInfo)
L_0140: Label8
L_0140: ldarg.0
L_0141: ldfld Verse.Pawn pawn
L_0146: callvirt RimWorld.Faction get_Faction()
L_014b: brfalse Label12
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: callvirt RimWorld.Faction get_Faction()
L_015b: ldarg.0
L_015c: ldfld Verse.Pawn pawn
L_0161: ldarg.1
L_0162: callvirt Void Notify_MemberTookDamage(Verse.Pawn, DamageInfo)
L_0167: call ProgramState get_ProgramState()
L_016c: ldc.i4.2
L_016d: bne.un Label13
L_0172: ldarg.0
L_0173: ldfld Verse.Pawn pawn
L_0178: callvirt RimWorld.Faction get_Faction()
L_017d: call RimWorld.Faction get_OfPlayer()
L_0182: bne.un Label14
L_0187: ldarga.s 1
L_0189: call Verse.DamageDef get_Def()
L_018e: ldarg.0
L_018f: ldfld Verse.Pawn pawn
L_0194: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0199: brfalse Label15
L_019e: ldarg.0
L_019f: ldfld Verse.Pawn pawn
L_01a4: callvirt Boolean get_SpawnedOrAnyParentSpawned()
L_01a9: brfalse Label16
L_01ae: ldarg.0
L_01af: ldfld Verse.Pawn pawn
L_01b4: callvirt Verse.Map get_MapHeld()
L_01b9: ldfld RimWorld.DangerWatcher dangerWatcher
L_01be: callvirt Void Notify_ColonistHarmedExternally()
L_01c3: Label12
L_01c3: Label13
L_01c3: Label14
L_01c3: Label15
L_01c3: Label16
L_01c3: ldarg.0
L_01c4: ldfld Verse.Pawn pawn
L_01c9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ce: brfalse Label17
L_01d3: ldarg.0
L_01d4: ldfld Verse.Pawn pawn
L_01d9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01de: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_01e3: stloc.2
L_01e4: ldc.i4.0
L_01e5: stloc.3
L_01e6: br Label18
L_01eb: Label20
L_01eb: ldloc.2
L_01ec: ldloc.3
L_01ed: callvirt RimWorld.Apparel get_Item(Int32)
L_01f2: ldarg.1
L_01f3: callvirt Boolean CheckPreAbsorbDamage(DamageInfo)
L_01f8: brfalse Label19
L_01fd: ldarg.2
L_01fe: ldc.i4.1
L_01ff: stind.i1
L_0200: br Label32
L_0205: Label19
L_0205: ldloc.3
L_0206: ldc.i4.1
L_0207: add
L_0208: stloc.3
L_0209: Label18
L_0209: ldloc.3
L_020a: ldloc.2
L_020b: callvirt Int32 get_Count()
L_0210: blt Label20
L_0215: Label17
L_0215: ldarg.0
L_0216: ldfld Verse.Pawn pawn
L_021b: callvirt Boolean get_Spawned()
L_0220: brfalse Label21
L_0225: ldarg.0
L_0226: ldfld Verse.Pawn pawn
L_022b: ldfld Verse.Pawn_StanceTracker stances
L_0230: ldarg.1
L_0231: callvirt Void Notify_DamageTaken(DamageInfo)
L_0236: ldarg.0
L_0237: ldfld Verse.Pawn pawn
L_023c: ldfld Verse.Pawn_StanceTracker stances
L_0241: ldfld RimWorld.StunHandler stunner
L_0246: ldarg.1
L_0247: ldarg.0
L_0248: ldfld Verse.Pawn pawn
L_024d: callvirt Verse.RaceProperties get_RaceProps()
L_0252: callvirt Boolean get_IsFlesh()
L_0257: ldc.i4.0
L_0258: ceq
L_025a: callvirt Void Notify_DamageApplied(DamageInfo, Boolean)
L_025f: Label21
L_025f: ldarg.0
L_0260: ldfld Verse.Pawn pawn
L_0265: callvirt Verse.RaceProperties get_RaceProps()
L_026a: callvirt Boolean get_IsFlesh()
L_026f: brfalse Label22
L_0274: ldarga.s 1
L_0276: call Verse.DamageDef get_Def()
L_027b: ldarg.0
L_027c: ldfld Verse.Pawn pawn
L_0281: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0286: brfalse Label23
L_028b: ldarga.s 1
L_028d: call Verse.Thing get_Instigator()
L_0292: isinst Verse.Pawn
L_0297: stloc.s 4 (Verse.Pawn)
L_0299: ldloc.s 4 (Verse.Pawn)
L_029b: brfalse Label24
L_02a0: ldloc.s 4 (Verse.Pawn)
L_02a2: ldarg.0
L_02a3: ldfld Verse.Pawn pawn
L_02a8: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_02ad: brfalse Label25
L_02b2: ldarg.0
L_02b3: ldfld Verse.Pawn pawn
L_02b8: ldfld RimWorld.Pawn_RelationsTracker relations
L_02bd: ldc.i4.1
L_02be: stfld System.Boolean canGetRescuedThought
L_02c3: Label25
L_02c3: ldarg.0
L_02c4: ldfld Verse.Pawn pawn
L_02c9: callvirt Verse.RaceProperties get_RaceProps()
L_02ce: callvirt Boolean get_Humanlike()
L_02d3: brfalse Label26
L_02d8: ldloc.s 4 (Verse.Pawn)
L_02da: callvirt Verse.RaceProperties get_RaceProps()
L_02df: callvirt Boolean get_Humanlike()
L_02e4: brfalse Label27
L_02e9: ldarg.0
L_02ea: ldfld Verse.Pawn pawn
L_02ef: ldfld RimWorld.Pawn_NeedsTracker needs
L_02f4: ldfld RimWorld.Need_Mood mood
L_02f9: brfalse Label28
L_02fe: ldloc.s 4 (Verse.Pawn)
L_0300: ldarg.0
L_0301: ldfld Verse.Pawn pawn
L_0306: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_030b: brfalse Label29
L_0310: ldloc.s 4 (Verse.Pawn)
L_0312: callvirt RimWorld.Faction get_Faction()
L_0317: ldarg.0
L_0318: ldfld Verse.Pawn pawn
L_031d: callvirt RimWorld.Faction get_Faction()
L_0322: bne.un Label30
L_0327: ldloc.s 4 (Verse.Pawn)
L_0329: callvirt Boolean get_InMentalState()
L_032e: brfalse Label31
L_0333: Label29
L_0333: ldarg.0
L_0334: ldfld Verse.Pawn pawn
L_0339: ldfld RimWorld.Pawn_NeedsTracker needs
L_033e: ldfld RimWorld.Need_Mood mood
L_0343: ldfld RimWorld.ThoughtHandler thoughts
L_0348: ldfld RimWorld.MemoryThoughtHandler memories
L_034d: ldsfld RimWorld.ThoughtDef HarmedMe
L_0352: ldloc.s 4 (Verse.Pawn)
L_0354: callvirt Void TryGainMemory(RimWorld.ThoughtDef, Verse.Pawn)
L_0359: Label24
L_0359: Label26
L_0359: Label27
L_0359: Label28
L_0359: Label30
L_0359: Label31
L_0359: ldsfld RimWorld.TaleDef Wounded
L_035e: ldc.i4.3
L_035f: newarr System.Object
L_0364: dup
L_0365: ldc.i4.0
L_0366: ldarg.0
L_0367: ldfld Verse.Pawn pawn
L_036c: stelem.ref
L_036d: dup
L_036e: ldc.i4.1
L_036f: ldloc.s 4 (Verse.Pawn)
L_0371: stelem.ref
L_0372: dup
L_0373: ldc.i4.2
L_0374: ldarga.s 1
L_0376: call Verse.ThingDef get_Weapon()
L_037b: stelem.ref
L_037c: call RimWorld.Tale RecordTale(RimWorld.TaleDef, System.Object[])
L_0381: pop
L_0382: Label22
L_0382: Label23
L_0382: ldarg.2
L_0383: ldc.i4.0
L_0384: stind.i1
L_0385: Label32
L_0385: Label0
L_0385: ret
DONE

### Patch Verse.Pawn_EquipmentTracker, Void MakeRoomFor(Verse.ThingWithComps)


L_0000: Local var 0: Verse.ThingWithComps
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld Verse.EquipmentType equipmentType
L_000b: ldc.i4.1
L_000c: bne.un Label1
L_0011: ldarg.0
L_0012: call Verse.ThingWithComps get_Primary()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: ldarg.0
L_001e: call Verse.ThingWithComps get_Primary()
L_0023: ldloca.s 0 (Verse.ThingWithComps)
L_0025: ldarg.0
L_0026: ldfld Verse.Pawn pawn
L_002b: callvirt IntVec3 get_Position()
L_0030: ldc.i4.1
L_0031: call Boolean TryDropEquipment(Verse.ThingWithComps, Verse.ThingWithComps
ByRef, IntVec3, Boolean)
L_0036: brfalse Label3
L_003b: ldloc.0
L_003c: brfalse Label4
L_0041: ldloc.0
L_0042: ldc.i4.0
L_0043: ldc.i4.1
L_0044: call Void SetForbidden(Verse.Thing, Boolean, Boolean)
L_0049: Label4
L_0049: br Label5
L_004e: Label3
L_004e: ldarg.0
L_004f: ldfld Verse.Pawn pawn
L_0054: ldstr " couldn't make room for equipment "
L_0059: ldarg.1
L_005a: call System.String Concat(System.Object, System.Object, System.Object)
L_005f: ldc.i4.0
L_0060: call Void Error(System.String, Boolean)
L_0065: Label1
L_0065: Label2
L_0065: Label5
L_0065: ldarg.0
L_0066: ldarga 1
L_006c: call Void
Patch_Pawn_EquipmentTracker_MakeRoomFor(Verse.Pawn_EquipmentTracker,
Verse.ThingWithComps ByRef)
L_0071: ret
DONE

### Patch RimWorld.StatWorker, System.String GetExplanationUnfinalized(StatRequest,


ToStringNumberSense)
L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.SkillNeed
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Single
L_0000: Local var 7: RimWorld.PawnCapacityOffset
L_0000: Local var 8:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityOffset, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Single
L_0000: Local var 11: System.Single
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: Local var 14: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 15: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 16: System.Int32
L_0000: Local var 17: RimWorld.Trait
L_0000: Local var 18: System.String
L_0000: Local var 19: System.Int32
L_0000: Local var 20: RimWorld.Trait
L_0000: Local var 21: System.String
L_0000: Local var 22: System.Int32
L_0000: Local var 23: RimWorld.Apparel
L_0000: Local var 24: System.Boolean
L_0000: Local var 25: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 26: System.Int32
L_0000: Local var 27: Verse.HediffStage
L_0000: Local var 28: System.Single
L_0000: Local var 29: System.Single
L_0000: Local var 30: System.Single
L_0000: Local var 31: System.Single
L_0000: Local var 32: RimWorld.CompAffectedByFacilities
L_0000: Local var 33: System.Int32
L_0000: Local var 34: RimWorld.StatDef
L_0000: Local var 35: System.Int32
L_0000: Local var 36: RimWorld.SkillNeed
L_0000: Local var 37: System.Int32
L_0000: Local var 38: RimWorld.PawnCapacityFactor
L_0000: Local var 39:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityFactor, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 40: System.String
L_0000: Local var 41: System.Single
L_0000: Local var 42: System.String
L_0000: Local var 43: System.String
L_0000: Local var 44: System.Single
L_0000: Local var 45: System.Single
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldarg.0
L_0007: ldarga.s 1
L_0009: call Verse.BuildableDef get_Def()
L_000e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0013: stloc.1
L_0014: ldloc.1
L_0015: ldc.r4 0
L_001a: beq Label1
L_001f: ldloc.0
L_0020: ldstr "StatsReport_BaseValue"
L_0025: call System.String Translate(System.String)
L_002a: ldstr ": "
L_002f: ldarg.0
L_0030: ldfld RimWorld.StatDef stat
L_0035: ldloc.1
L_0036: ldarg.2
L_0037: callvirt System.String ValueToString(Single, ToStringNumberSense)
L_003c: call System.String Concat(System.String, System.String, System.String)
L_0041: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0046: pop
L_0047: ldloc.0
L_0048: callvirt System.Text.StringBuilder AppendLine()
L_004d: pop
L_004e: Label1
L_004e: ldarga.s 1
L_0050: call Verse.Thing get_Thing()
L_0055: isinst Verse.Pawn
L_005a: stloc.2
L_005b: ldloc.2
L_005c: brfalse Label2
L_0061: ldloc.2
L_0062: ldfld RimWorld.Pawn_SkillTracker skills
L_0067: brfalse Label3
L_006c: ldarg.0
L_006d: ldfld RimWorld.StatDef stat
L_0072: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0077: brfalse Label4
L_007c: ldloc.0
L_007d: ldstr "StatsReport_Skills"
L_0082: call System.String Translate(System.String)
L_0087: callvirt System.Text.StringBuilder AppendLine(System.String)
L_008c: pop
L_008d: ldc.i4.0
L_008e: stloc.3
L_008f: br Label5
L_0094: Label6
L_0094: ldarg.0
L_0095: ldfld RimWorld.StatDef stat
L_009a: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_009f: ldloc.3
L_00a0: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00a5: stloc.s 4 (RimWorld.SkillNeed)
L_00a7: ldloc.2
L_00a8: ldfld RimWorld.Pawn_SkillTracker skills
L_00ad: ldloc.s 4 (RimWorld.SkillNeed)
L_00af: ldfld RimWorld.SkillDef skill
L_00b4: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_00b9: callvirt Int32 get_Level()
L_00be: stloc.s 5 (System.Int32)
L_00c0: ldloc.s 4 (RimWorld.SkillNeed)
L_00c2: ldloc.2
L_00c3: callvirt Single ValueFor(Verse.Pawn)
L_00c8: stloc.s 6 (System.Single)
L_00ca: ldloc.0
L_00cb: ldc.i4.7
L_00cc: newarr System.Object
L_00d1: dup
L_00d2: ldc.i4.0
L_00d3: ldstr " "
L_00d8: stelem.ref
L_00d9: dup
L_00da: ldc.i4.1
L_00db: ldloc.s 4 (RimWorld.SkillNeed)
L_00dd: ldfld RimWorld.SkillDef skill
L_00e2: callvirt System.String get_LabelCap()
L_00e7: stelem.ref
L_00e8: dup
L_00e9: ldc.i4.2
L_00ea: ldstr " ("
L_00ef: stelem.ref
L_00f0: dup
L_00f1: ldc.i4.3
L_00f2: ldloc.s 5 (System.Int32)
L_00f4: box System.Int32
L_00f9: stelem.ref
L_00fa: dup
L_00fb: ldc.i4.4
L_00fc: ldstr "): "
L_0101: stelem.ref
L_0102: dup
L_0103: ldc.i4.5
L_0104: ldloc.s 6 (System.Single)
L_0106: call System.String ToStringSign(Single)
L_010b: stelem.ref
L_010c: dup
L_010d: ldc.i4.6
L_010e: ldarg.0
L_010f: ldloc.s 6 (System.Single)
L_0111: ldc.i4.0
L_0112: ldc.i4.1
L_0113: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0118: stelem.ref
L_0119: call System.String Concat(System.Object[])
L_011e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0123: pop
L_0124: ldloc.3
L_0125: ldc.i4.1
L_0126: add
L_0127: stloc.3
L_0128: Label5
L_0128: ldloc.3
L_0129: ldarg.0
L_012a: ldfld RimWorld.StatDef stat
L_012f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0134: callvirt Int32 get_Count()
L_0139: blt Label6
L_013e: ldloc.0
L_013f: callvirt System.Text.StringBuilder AppendLine()
L_0144: pop
L_0145: Label4
L_0145: br Label7
L_014a: Label3
L_014a: ldarg.0
L_014b: ldfld RimWorld.StatDef stat
L_0150: ldfld System.Single noSkillOffset
L_0155: ldc.r4 0
L_015a: beq Label8
L_015f: ldloc.0
L_0160: ldstr "StatsReport_Skills"
L_0165: call System.String Translate(System.String)
L_016a: callvirt System.Text.StringBuilder AppendLine(System.String)
L_016f: pop
L_0170: ldloc.0
L_0171: ldc.i4.5
L_0172: newarr System.String
L_0177: dup
L_0178: ldc.i4.0
L_0179: ldstr " "
L_017e: stelem.ref
L_017f: dup
L_0180: ldc.i4.1
L_0181: ldstr "default"
L_0186: call System.String Translate(System.String)
L_018b: call System.String CapitalizeFirst(System.String)
L_0190: stelem.ref
L_0191: dup
L_0192: ldc.i4.2
L_0193: ldstr " : "
L_0198: stelem.ref
L_0199: dup
L_019a: ldc.i4.3
L_019b: ldarg.0
L_019c: ldfld RimWorld.StatDef stat
L_01a1: ldfld System.Single noSkillOffset
L_01a6: call System.String ToStringSign(Single)
L_01ab: stelem.ref
L_01ac: dup
L_01ad: ldc.i4.4
L_01ae: ldarg.0
L_01af: ldarg.0
L_01b0: ldfld RimWorld.StatDef stat
L_01b5: ldfld System.Single noSkillOffset
L_01ba: ldc.i4.0
L_01bb: ldc.i4.1
L_01bc: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_01c1: stelem.ref
L_01c2: call System.String Concat(System.String[])
L_01c7: callvirt System.Text.StringBuilder AppendLine(System.String)
L_01cc: pop
L_01cd: ldloc.0
L_01ce: callvirt System.Text.StringBuilder AppendLine()
L_01d3: pop
L_01d4: Label7
L_01d4: Label8
L_01d4: ldarg.0
L_01d5: ldfld RimWorld.StatDef stat
L_01da: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_01df: brfalse Label9
L_01e4: ldloc.0
L_01e5: ldstr "StatsReport_Health"
L_01ea: call Boolean CanTranslate(System.String)
L_01ef: brfalse Label10
L_01f4: ldstr "StatsReport_Health"
L_01f9: call System.String Translate(System.String)
L_01fe: br Label11
L_0203: Label10
L_0203: ldstr "StatsReport_HealthFactors"
L_0208: call System.String Translate(System.String)
L_020d: Label11
L_020d: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0212: pop
L_0213: ldarg.0
L_0214: ldfld RimWorld.StatDef stat
L_0219: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_021e: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0223: brtrue Label12
L_0228: ldnull
L_0229: ldftn Int32 <GetExplanationUnfinalized>m__0(RimWorld.PawnCapacityOffset)
L_022f: newobj Void .ctor(Object, IntPtr)
L_0234: stsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0239: Label12
L_0239: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_023e: call IOrderedEnumerable`1 OrderBy[PawnCapacityOffset,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityOffset,System.Int32])
L_0243: callvirt IEnumerator`1 GetEnumerator()
L_0248: stloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
.try
{
L_024a: br Label13
L_024f: Label15
L_024f: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_0251: callvirt RimWorld.PawnCapacityOffset get_Current()
L_0256: stloc.s 7 (RimWorld.PawnCapacityOffset)
L_0258: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_025a: ldfld Verse.PawnCapacityDef capacity
L_025f: ldloc.2
L_0260: callvirt System.String GetLabelFor(Verse.Pawn)
L_0265: call System.String CapitalizeFirst(System.String)
L_026a: stloc.s 9 (System.String)
L_026c: ldloc.2
L_026d: ldfld Verse.Pawn_HealthTracker health
L_0272: ldfld Verse.PawnCapacitiesHandler capacities
L_0277: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0279: ldfld Verse.PawnCapacityDef capacity
L_027e: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0283: stloc.s 10 (System.Single)
L_0285: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0287: ldloc.2
L_0288: ldfld Verse.Pawn_HealthTracker health
L_028d: ldfld Verse.PawnCapacitiesHandler capacities
L_0292: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0294: ldfld Verse.PawnCapacityDef capacity
L_0299: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_029e: callvirt Single GetOffset(Single)
L_02a3: stloc.s 11 (System.Single)
L_02a5: ldarg.0
L_02a6: ldloc.s 11 (System.Single)
L_02a8: ldc.i4.0
L_02a9: ldc.i4.1
L_02aa: call System.String ValueToString(Single, Boolean,
ToStringNumberSense)
L_02af: stloc.s 12 (System.String)
L_02b1: ldloc.s 10 (System.Single)
L_02b3: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02b5: ldfld System.Single max
L_02ba: call Single Min(Single, Single)
L_02bf: call System.String ToStringPercent(Single)
L_02c4: ldstr ", "
L_02c9: ldstr "HealthOffsetScale"
L_02ce: ldc.i4.1
L_02cf: newarr System.Object
L_02d4: dup
L_02d5: ldc.i4.0
L_02d6: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02d8: ldflda System.Single scale
L_02dd: constrained. System.Single
L_02e3: callvirt System.String ToString()
L_02e8: ldstr "x"
L_02ed: call System.String Concat(System.String, System.String)
L_02f2: stelem.ref
L_02f3: call System.String Translate(System.String, System.Object[])
L_02f8: call System.String Concat(System.String, System.String,
System.String)
L_02fd: stloc.s 13 (System.String)
L_02ff: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0301: ldfld System.Single max
L_0306: ldc.r4 999
L_030b: bge.un Label14
L_0310: ldloc.s 13 (System.String)
L_0312: ldstr ", "
L_0317: ldstr "HealthFactorMaxImpact"
L_031c: ldc.i4.1
L_031d: newarr System.Object
L_0322: dup
L_0323: ldc.i4.0
L_0324: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0326: ldfld System.Single max
L_032b: call System.String ToStringPercent(Single)
L_0330: stelem.ref
L_0331: call System.String Translate(System.String, System.Object[])
L_0336: call System.String Concat(System.String, System.String,
System.String)
L_033b: stloc.s 13 (System.String)
L_033d: Label14
L_033d: ldloc.0
L_033e: ldc.i4.8
L_033f: newarr System.String
L_0344: dup
L_0345: ldc.i4.0
L_0346: ldstr " "
L_034b: stelem.ref
L_034c: dup
L_034d: ldc.i4.1
L_034e: ldloc.s 9 (System.String)
L_0350: stelem.ref
L_0351: dup
L_0352: ldc.i4.2
L_0353: ldstr ": "
L_0358: stelem.ref
L_0359: dup
L_035a: ldc.i4.3
L_035b: ldloc.s 11 (System.Single)
L_035d: call System.String ToStringSign(Single)
L_0362: stelem.ref
L_0363: dup
L_0364: ldc.i4.4
L_0365: ldloc.s 12 (System.String)
L_0367: stelem.ref
L_0368: dup
L_0369: ldc.i4.5
L_036a: ldstr " ("
L_036f: stelem.ref
L_0370: dup
L_0371: ldc.i4.6
L_0372: ldloc.s 13 (System.String)
L_0374: stelem.ref
L_0375: dup
L_0376: ldc.i4.7
L_0377: ldstr ")"
L_037c: stelem.ref
L_037d: call System.String Concat(System.String[])
L_0382: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0387: pop
L_0388: Label13
L_0388: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_038a: callvirt Boolean MoveNext()
L_038f: brtrue Label15
L_0394: leave Label16
L_0399: leave (autogenerated)
} // end try
.finally
{
L_039e: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a0: brfalse Label17
L_03a5: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a7: callvirt Void Dispose()
L_03ac: Label17
L_03ac: endfinally
L_03ad: leave (autogenerated)
} // end handler
L_03ae: Label16
L_03ae: ldloc.0
L_03af: callvirt System.Text.StringBuilder AppendLine()
L_03b4: pop
L_03b5: Label9
L_03b5: ldloc.2
L_03b6: callvirt Verse.RaceProperties get_RaceProps()
L_03bb: ldfld Verse.Intelligence intelligence
L_03c0: ldc.i4.1
L_03c1: blt Label18
L_03c6: ldloc.2
L_03c7: ldfld RimWorld.Pawn_StoryTracker story
L_03cc: brfalse Label19
L_03d1: ldloc.2
L_03d2: ldfld RimWorld.Pawn_StoryTracker story
L_03d7: ldfld RimWorld.TraitSet traits
L_03dc: brfalse Label20
L_03e1: ldloc.2
L_03e2: ldfld RimWorld.Pawn_StoryTracker story
L_03e7: ldfld RimWorld.TraitSet traits
L_03ec: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_03f1: ldarg.0
L_03f2: ldftn Boolean <GetExplanationUnfinalized>m__1(RimWorld.Trait)
L_03f8: newobj Void .ctor(Object, IntPtr)
L_03fd: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_0402: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_0407: stloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0409: ldloc.2
L_040a: ldfld RimWorld.Pawn_StoryTracker story
L_040f: ldfld RimWorld.TraitSet traits
L_0414: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0419: ldarg.0
L_041a: ldftn Boolean <GetExplanationUnfinalized>m__2(RimWorld.Trait)
L_0420: newobj Void .ctor(Object, IntPtr)
L_0425: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_042a: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_042f: stloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0431: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0433: callvirt Int32 get_Count()
L_0438: ldc.i4.0
L_0439: bgt Label21
L_043e: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0440: callvirt Int32 get_Count()
L_0445: ldc.i4.0
L_0446: ble Label22
L_044b: Label21
L_044b: ldloc.0
L_044c: ldstr "StatsReport_RelevantTraits"
L_0451: call System.String Translate(System.String)
L_0456: callvirt System.Text.StringBuilder AppendLine(System.String)
L_045b: pop
L_045c: ldc.i4.0
L_045d: stloc.s 16 (System.Int32)
L_045f: br Label23
L_0464: Label24
L_0464: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0466: ldloc.s 16 (System.Int32)
L_0468: callvirt RimWorld.Trait get_Item(Int32)
L_046d: stloc.s 17 (RimWorld.Trait)
L_046f: ldloc.s 17 (RimWorld.Trait)
L_0471: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_0476: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_047b: ldarg.0
L_047c: ldftn Boolean <GetExplanationUnfinalized>m__3(RimWorld.StatModifier)
L_0482: newobj Void .ctor(Object, IntPtr)
L_0487: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_048c: callvirt System.String get_ValueToStringAsOffset()
L_0491: stloc.s 18 (System.String)
L_0493: ldloc.0
L_0494: ldstr " "
L_0499: ldloc.s 17 (RimWorld.Trait)
L_049b: callvirt System.String get_LabelCap()
L_04a0: ldstr ": "
L_04a5: ldloc.s 18 (System.String)
L_04a7: call System.String Concat(System.String, System.String, System.String,
System.String)
L_04ac: callvirt System.Text.StringBuilder AppendLine(System.String)
L_04b1: pop
L_04b2: ldloc.s 16 (System.Int32)
L_04b4: ldc.i4.1
L_04b5: add
L_04b6: stloc.s 16 (System.Int32)
L_04b8: Label23
L_04b8: ldloc.s 16 (System.Int32)
L_04ba: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04bc: callvirt Int32 get_Count()
L_04c1: blt Label24
L_04c6: ldc.i4.0
L_04c7: stloc.s 19 (System.Int32)
L_04c9: br Label25
L_04ce: Label26
L_04ce: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04d0: ldloc.s 19 (System.Int32)
L_04d2: callvirt RimWorld.Trait get_Item(Int32)
L_04d7: stloc.s 20 (RimWorld.Trait)
L_04d9: ldloc.s 20 (RimWorld.Trait)
L_04db: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_04e0: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_04e5: ldarg.0
L_04e6: ldftn Boolean <GetExplanationUnfinalized>m__4(RimWorld.StatModifier)
L_04ec: newobj Void .ctor(Object, IntPtr)
L_04f1: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_04f6: callvirt System.String get_ToStringAsFactor()
L_04fb: stloc.s 21 (System.String)
L_04fd: ldloc.0
L_04fe: ldstr " "
L_0503: ldloc.s 20 (RimWorld.Trait)
L_0505: callvirt System.String get_LabelCap()
L_050a: ldstr ": "
L_050f: ldloc.s 21 (System.String)
L_0511: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0516: callvirt System.Text.StringBuilder AppendLine(System.String)
L_051b: pop
L_051c: ldloc.s 19 (System.Int32)
L_051e: ldc.i4.1
L_051f: add
L_0520: stloc.s 19 (System.Int32)
L_0522: Label25
L_0522: ldloc.s 19 (System.Int32)
L_0524: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0526: callvirt Int32 get_Count()
L_052b: blt Label26
L_0530: ldloc.0
L_0531: callvirt System.Text.StringBuilder AppendLine()
L_0536: pop
L_0537: Label19
L_0537: Label20
L_0537: Label22
L_0537: ldloc.2
L_0538: ldarg.0
L_0539: ldfld RimWorld.StatDef stat
L_053e: call IEnumerable`1 RelevantGear(Verse.Pawn, RimWorld.StatDef)
L_0543: call Boolean Any[Thing](IEnumerable`1)
L_0548: brfalse Label27
L_054d: ldloc.0
L_054e: ldstr "StatsReport_RelevantGear"
L_0553: call System.String Translate(System.String)
L_0558: callvirt System.Text.StringBuilder AppendLine(System.String)
L_055d: pop
L_055e: ldloc.2
L_055f: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0564: brfalse Label28
L_0569: ldc.i4.0
L_056a: stloc.s 22 (System.Int32)
L_056c: br Label29
L_0571: Label30
L_0571: ldloc.2
L_0572: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0577: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_057c: ldloc.s 22 (System.Int32)
L_057e: callvirt RimWorld.Apparel get_Item(Int32)
L_0583: stloc.s 23 (RimWorld.Apparel)
L_0585: ldloc.0
L_0586: ldloc.s 23 (RimWorld.Apparel)
L_0588: ldarg.0
L_0589: ldfld RimWorld.StatDef stat
L_058e: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_0593: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0598: pop
L_0599: ldloc.s 22 (System.Int32)
L_059b: ldc.i4.1
L_059c: add
L_059d: stloc.s 22 (System.Int32)
L_059f: Label29
L_059f: ldloc.s 22 (System.Int32)
L_05a1: ldloc.2
L_05a2: ldfld RimWorld.Pawn_ApparelTracker apparel
L_05a7: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_05ac: callvirt Int32 get_Count()
L_05b1: blt Label30
L_05b6: Label28
L_05b6: ldloc.2
L_05b7: ldfld Verse.Pawn_EquipmentTracker equipment
L_05bc: brfalse Label31
L_05c1: ldloc.2
L_05c2: ldfld Verse.Pawn_EquipmentTracker equipment
L_05c7: callvirt Verse.ThingWithComps get_Primary()
L_05cc: brfalse Label32
L_05d1: ldloc.0
L_05d2: ldloc.2
L_05d3: ldfld Verse.Pawn_EquipmentTracker equipment
L_05d8: callvirt Verse.ThingWithComps get_Primary()
L_05dd: ldarg.0
L_05de: ldfld RimWorld.StatDef stat
L_05e3: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_05e8: callvirt System.Text.StringBuilder AppendLine(System.String)
L_05ed: pop
L_05ee: ldloc.0
L_05ef: ldloc.2
L_05f0: ldarg.0
L_05f1: ldfld RimWorld.StatDef stat
L_05f6: call Void StatWorkerInjection_BuildShieldString(System.Text.StringBuilder,
Verse.Pawn, RimWorld.StatDef)
L_05fb: Label31
L_05fb: Label32
L_05fb: ldloc.0
L_05fc: callvirt System.Text.StringBuilder AppendLine()
L_0601: pop
L_0602: Label18
L_0602: Label27
L_0602: ldc.i4.0
L_0603: stloc.s 24 (System.Boolean)
L_0605: ldloc.2
L_0606: ldfld Verse.Pawn_HealthTracker health
L_060b: ldfld Verse.HediffSet hediffSet
L_0610: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0615: stloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0617: ldc.i4.0
L_0618: stloc.s 26 (System.Int32)
L_061a: br Label33
L_061f: Label37
L_061f: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0621: ldloc.s 26 (System.Int32)
L_0623: callvirt Verse.Hediff get_Item(Int32)
L_0628: callvirt Verse.HediffStage get_CurStage()
L_062d: stloc.s 27 (Verse.HediffStage)
L_062f: ldloc.s 27 (Verse.HediffStage)
L_0631: brfalse Label34
L_0636: ldloc.s 27 (Verse.HediffStage)
L_0638: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_063d: ldarg.0
L_063e: ldfld RimWorld.StatDef stat
L_0643: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0648: stloc.s 28 (System.Single)
L_064a: ldloc.s 28 (System.Single)
L_064c: ldc.r4 0
L_0651: beq Label35
L_0656: ldloc.s 24 (System.Boolean)
L_0658: brtrue Label36
L_065d: ldloc.0
L_065e: ldstr "StatsReport_RelevantHediffs"
L_0663: call System.String Translate(System.String)
L_0668: callvirt System.Text.StringBuilder AppendLine(System.String)
L_066d: pop
L_066e: ldc.i4.1
L_066f: stloc.s 24 (System.Boolean)
L_0671: Label36
L_0671: ldloc.0
L_0672: ldstr " "
L_0677: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0679: ldloc.s 26 (System.Int32)
L_067b: callvirt Verse.Hediff get_Item(Int32)
L_0680: callvirt System.String get_LabelBase()
L_0685: call System.String CapitalizeFirst(System.String)
L_068a: ldstr ": "
L_068f: ldarg.0
L_0690: ldloc.s 28 (System.Single)
L_0692: ldc.i4.0
L_0693: ldc.i4.3
L_0694: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0699: call System.String Concat(System.String, System.String, System.String,
System.String)
L_069e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_06a3: pop
L_06a4: ldloc.0
L_06a5: callvirt System.Text.StringBuilder AppendLine()
L_06aa: pop
L_06ab: Label34
L_06ab: Label35
L_06ab: ldloc.s 26 (System.Int32)
L_06ad: ldc.i4.1
L_06ae: add
L_06af: stloc.s 26 (System.Int32)
L_06b1: Label33
L_06b1: ldloc.s 26 (System.Int32)
L_06b3: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_06b5: callvirt Int32 get_Count()
L_06ba: blt Label37
L_06bf: ldloc.2
L_06c0: ldfld Verse.Pawn_AgeTracker ageTracker
L_06c5: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_06ca: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_06cf: ldarg.0
L_06d0: ldfld RimWorld.StatDef stat
L_06d5: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_06da: stloc.s 29 (System.Single)
L_06dc: ldloc.s 29 (System.Single)
L_06de: ldc.r4 1
L_06e3: beq Label38
L_06e8: ldloc.0
L_06e9: ldc.i4.5
L_06ea: newarr System.String
L_06ef: dup
L_06f0: ldc.i4.0
L_06f1: ldstr "StatsReport_LifeStage"
L_06f6: call System.String Translate(System.String)
L_06fb: stelem.ref
L_06fc: dup
L_06fd: ldc.i4.1
L_06fe: ldstr " ("
L_0703: stelem.ref
L_0704: dup
L_0705: ldc.i4.2
L_0706: ldloc.2
L_0707: ldfld Verse.Pawn_AgeTracker ageTracker
L_070c: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_0711: ldfld System.String label
L_0716: stelem.ref
L_0717: dup
L_0718: ldc.i4.3
L_0719: ldstr "): "
L_071e: stelem.ref
L_071f: dup
L_0720: ldc.i4.4
L_0721: ldloc.s 29 (System.Single)
L_0723: ldc.i4.8
L_0724: ldc.i4.2
L_0725: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_072a: stelem.ref
L_072b: call System.String Concat(System.String[])
L_0730: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0735: pop
L_0736: ldloc.0
L_0737: callvirt System.Text.StringBuilder AppendLine()
L_073c: pop
L_073d: Label2
L_073d: Label38
L_073d: ldarga.s 1
L_073f: call Verse.ThingDef get_StuffDef()
L_0744: brfalse Label39
L_0749: ldloc.1
L_074a: ldc.r4 0
L_074f: bgt Label40
L_0754: ldarg.0
L_0755: ldfld RimWorld.StatDef stat
L_075a: ldfld System.Boolean applyFactorsIfNegative
L_075f: brfalse Label41
L_0764: Label40
L_0764: ldarga.s 1
L_0766: call Verse.ThingDef get_StuffDef()
L_076b: ldfld Verse.StuffProperties stuffProps
L_0770: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0775: ldarg.0
L_0776: ldfld RimWorld.StatDef stat
L_077b: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0780: stloc.s 30 (System.Single)
L_0782: ldloc.s 30 (System.Single)
L_0784: ldc.r4 1
L_0789: beq Label42
L_078e: ldloc.0
L_078f: ldc.i4.5
L_0790: newarr System.String
L_0795: dup
L_0796: ldc.i4.0
L_0797: ldstr "StatsReport_Material"
L_079c: call System.String Translate(System.String)
L_07a1: stelem.ref
L_07a2: dup
L_07a3: ldc.i4.1
L_07a4: ldstr " ("
L_07a9: stelem.ref
L_07aa: dup
L_07ab: ldc.i4.2
L_07ac: ldarga.s 1
L_07ae: call Verse.ThingDef get_StuffDef()
L_07b3: callvirt System.String get_LabelCap()
L_07b8: stelem.ref
L_07b9: dup
L_07ba: ldc.i4.3
L_07bb: ldstr "): "
L_07c0: stelem.ref
L_07c1: dup
L_07c2: ldc.i4.4
L_07c3: ldloc.s 30 (System.Single)
L_07c5: ldc.i4.8
L_07c6: ldc.i4.2
L_07c7: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_07cc: stelem.ref
L_07cd: call System.String Concat(System.String[])
L_07d2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_07d7: pop
L_07d8: ldloc.0
L_07d9: callvirt System.Text.StringBuilder AppendLine()
L_07de: pop
L_07df: Label41
L_07df: Label42
L_07df: ldarga.s 1
L_07e1: call Verse.ThingDef get_StuffDef()
L_07e6: ldfld Verse.StuffProperties stuffProps
L_07eb: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_07f0: ldarg.0
L_07f1: ldfld RimWorld.StatDef stat
L_07f6: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_07fb: stloc.s 31 (System.Single)
L_07fd: ldloc.s 31 (System.Single)
L_07ff: ldc.r4 0
L_0804: beq Label43
L_0809: ldloc.0
L_080a: ldc.i4.5
L_080b: newarr System.String
L_0810: dup
L_0811: ldc.i4.0
L_0812: ldstr "StatsReport_Material"
L_0817: call System.String Translate(System.String)
L_081c: stelem.ref
L_081d: dup
L_081e: ldc.i4.1
L_081f: ldstr " ("
L_0824: stelem.ref
L_0825: dup
L_0826: ldc.i4.2
L_0827: ldarga.s 1
L_0829: call Verse.ThingDef get_StuffDef()
L_082e: callvirt System.String get_LabelCap()
L_0833: stelem.ref
L_0834: dup
L_0835: ldc.i4.3
L_0836: ldstr "): "
L_083b: stelem.ref
L_083c: dup
L_083d: ldc.i4.4
L_083e: ldloc.s 31 (System.Single)
L_0840: ldarg.0
L_0841: ldfld RimWorld.StatDef stat
L_0846: ldfld Verse.ToStringStyle toStringStyle
L_084b: ldc.i4.3
L_084c: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0851: stelem.ref
L_0852: call System.String Concat(System.String[])
L_0857: callvirt System.Text.StringBuilder AppendLine(System.String)
L_085c: pop
L_085d: ldloc.0
L_085e: callvirt System.Text.StringBuilder AppendLine()
L_0863: pop
L_0864: Label39
L_0864: Label43
L_0864: ldarga.s 1
L_0866: call Verse.Thing get_Thing()
L_086b: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0870: stloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0872: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0874: brfalse Label44
L_0879: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_087b: ldarg.0
L_087c: ldfld RimWorld.StatDef stat
L_0881: ldloc.0
L_0882: callvirt Void GetStatsExplanation(RimWorld.StatDef,
System.Text.StringBuilder)
L_0887: Label44
L_0887: ldarg.0
L_0888: ldfld RimWorld.StatDef stat
L_088d: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0892: brfalse Label45
L_0897: ldloc.0
L_0898: ldstr "StatsReport_OtherStats"
L_089d: call System.String Translate(System.String)
L_08a2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08a7: pop
L_08a8: ldc.i4.0
L_08a9: stloc.s 33 (System.Int32)
L_08ab: br Label46
L_08b0: Label47
L_08b0: ldarg.0
L_08b1: ldfld RimWorld.StatDef stat
L_08b6: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_08bb: ldloc.s 33 (System.Int32)
L_08bd: callvirt RimWorld.StatDef get_Item(Int32)
L_08c2: stloc.s 34 (RimWorld.StatDef)
L_08c4: ldloc.0
L_08c5: ldstr " "
L_08ca: ldloc.s 34 (RimWorld.StatDef)
L_08cc: callvirt System.String get_LabelCap()
L_08d1: ldstr ": x"
L_08d6: ldloc.s 34 (RimWorld.StatDef)
L_08d8: callvirt RimWorld.StatWorker get_Worker()
L_08dd: ldarg.1
L_08de: ldc.i4.1
L_08df: callvirt Single GetValue(StatRequest, Boolean)
L_08e4: call System.String ToStringPercent(Single)
L_08e9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_08ee: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08f3: pop
L_08f4: ldloc.s 33 (System.Int32)
L_08f6: ldc.i4.1
L_08f7: add
L_08f8: stloc.s 33 (System.Int32)
L_08fa: Label46
L_08fa: ldloc.s 33 (System.Int32)
L_08fc: ldarg.0
L_08fd: ldfld RimWorld.StatDef stat
L_0902: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0907: callvirt Int32 get_Count()
L_090c: blt Label47
L_0911: ldloc.0
L_0912: callvirt System.Text.StringBuilder AppendLine()
L_0917: pop
L_0918: Label45
L_0918: ldloc.2
L_0919: brfalse Label48
L_091e: ldloc.2
L_091f: ldfld RimWorld.Pawn_SkillTracker skills
L_0924: brfalse Label49
L_0929: ldarg.0
L_092a: ldfld RimWorld.StatDef stat
L_092f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0934: brfalse Label50
L_0939: ldloc.0
L_093a: ldstr "StatsReport_Skills"
L_093f: call System.String Translate(System.String)
L_0944: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0949: pop
L_094a: ldc.i4.0
L_094b: stloc.s 35 (System.Int32)
L_094d: br Label51
L_0952: Label52
L_0952: ldarg.0
L_0953: ldfld RimWorld.StatDef stat
L_0958: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_095d: ldloc.s 35 (System.Int32)
L_095f: callvirt RimWorld.SkillNeed get_Item(Int32)
L_0964: stloc.s 36 (RimWorld.SkillNeed)
L_0966: ldloc.2
L_0967: ldfld RimWorld.Pawn_SkillTracker skills
L_096c: ldloc.s 36 (RimWorld.SkillNeed)
L_096e: ldfld RimWorld.SkillDef skill
L_0973: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_0978: callvirt Int32 get_Level()
L_097d: stloc.s 37 (System.Int32)
L_097f: ldloc.0
L_0980: ldc.i4.6
L_0981: newarr System.Object
L_0986: dup
L_0987: ldc.i4.0
L_0988: ldstr " "
L_098d: stelem.ref
L_098e: dup
L_098f: ldc.i4.1
L_0990: ldloc.s 36 (RimWorld.SkillNeed)
L_0992: ldfld RimWorld.SkillDef skill
L_0997: callvirt System.String get_LabelCap()
L_099c: stelem.ref
L_099d: dup
L_099e: ldc.i4.2
L_099f: ldstr " ("
L_09a4: stelem.ref
L_09a5: dup
L_09a6: ldc.i4.3
L_09a7: ldloc.s 37 (System.Int32)
L_09a9: box System.Int32
L_09ae: stelem.ref
L_09af: dup
L_09b0: ldc.i4.4
L_09b1: ldstr "): x"
L_09b6: stelem.ref
L_09b7: dup
L_09b8: ldc.i4.5
L_09b9: ldloc.s 36 (RimWorld.SkillNeed)
L_09bb: ldloc.2
L_09bc: callvirt Single ValueFor(Verse.Pawn)
L_09c1: call System.String ToStringPercent(Single)
L_09c6: stelem.ref
L_09c7: call System.String Concat(System.Object[])
L_09cc: callvirt System.Text.StringBuilder AppendLine(System.String)
L_09d1: pop
L_09d2: ldloc.s 35 (System.Int32)
L_09d4: ldc.i4.1
L_09d5: add
L_09d6: stloc.s 35 (System.Int32)
L_09d8: Label51
L_09d8: ldloc.s 35 (System.Int32)
L_09da: ldarg.0
L_09db: ldfld RimWorld.StatDef stat
L_09e0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_09e5: callvirt Int32 get_Count()
L_09ea: blt Label52
L_09ef: ldloc.0
L_09f0: callvirt System.Text.StringBuilder AppendLine()
L_09f5: pop
L_09f6: Label50
L_09f6: br Label53
L_09fb: Label49
L_09fb: ldarg.0
L_09fc: ldfld RimWorld.StatDef stat
L_0a01: ldfld System.Single noSkillFactor
L_0a06: ldc.r4 1
L_0a0b: beq Label54
L_0a10: ldloc.0
L_0a11: ldstr "StatsReport_Skills"
L_0a16: call System.String Translate(System.String)
L_0a1b: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a20: pop
L_0a21: ldloc.0
L_0a22: ldstr " "
L_0a27: ldstr "default"
L_0a2c: call System.String Translate(System.String)
L_0a31: call System.String CapitalizeFirst(System.String)
L_0a36: ldstr " : x"
L_0a3b: ldarg.0
L_0a3c: ldfld RimWorld.StatDef stat
L_0a41: ldfld System.Single noSkillFactor
L_0a46: call System.String ToStringPercent(Single)
L_0a4b: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0a50: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a55: pop
L_0a56: ldloc.0
L_0a57: callvirt System.Text.StringBuilder AppendLine()
L_0a5c: pop
L_0a5d: Label53
L_0a5d: Label54
L_0a5d: ldarg.0
L_0a5e: ldfld RimWorld.StatDef stat
L_0a63: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0a68: brfalse Label55
L_0a6d: ldloc.0
L_0a6e: ldstr "StatsReport_Health"
L_0a73: call Boolean CanTranslate(System.String)
L_0a78: brfalse Label56
L_0a7d: ldstr "StatsReport_Health"
L_0a82: call System.String Translate(System.String)
L_0a87: br Label57
L_0a8c: Label56
L_0a8c: ldstr "StatsReport_HealthFactors"
L_0a91: call System.String Translate(System.String)
L_0a96: Label57
L_0a96: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a9b: pop
L_0a9c: ldarg.0
L_0a9d: ldfld RimWorld.StatDef stat
L_0aa2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0aa7: brfalse Label58
L_0aac: ldarg.0
L_0aad: ldfld RimWorld.StatDef stat
L_0ab2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0ab7: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0abc: brtrue Label59
L_0ac1: ldnull
L_0ac2: ldftn Int32 <GetExplanationUnfinalized>m__5(RimWorld.PawnCapacityFactor)
L_0ac8: newobj Void .ctor(Object, IntPtr)
L_0acd: stsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad2: Label59
L_0ad2: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad7: call IOrderedEnumerable`1 OrderBy[PawnCapacityFactor,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityFactor,System.Int32])
L_0adc: callvirt IEnumerator`1 GetEnumerator()
L_0ae1: stloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
.try
{
L_0ae3: br Label60
L_0ae8: Label63
L_0ae8: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0aea: callvirt RimWorld.PawnCapacityFactor get_Current()
L_0aef: stloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af1: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af3: ldfld Verse.PawnCapacityDef capacity
L_0af8: ldloc.2
L_0af9: callvirt System.String GetLabelFor(Verse.Pawn)
L_0afe: call System.String CapitalizeFirst(System.String)
L_0b03: stloc.s 40 (System.String)
L_0b05: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b07: ldloc.2
L_0b08: ldfld Verse.Pawn_HealthTracker health
L_0b0d: ldfld Verse.PawnCapacitiesHandler capacities
L_0b12: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b14: ldfld Verse.PawnCapacityDef capacity
L_0b19: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0b1e: callvirt Single GetFactor(Single)
L_0b23: stloc.s 41 (System.Single)
L_0b25: ldloc.s 41 (System.Single)
L_0b27: call System.String ToStringPercent(Single)
L_0b2c: stloc.s 42 (System.String)
L_0b2e: ldstr "HealthFactorPercentImpact"
L_0b33: ldc.i4.1
L_0b34: newarr System.Object
L_0b39: dup
L_0b3a: ldc.i4.0
L_0b3b: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b3d: ldfld System.Single weight
L_0b42: call System.String ToStringPercent(Single)
L_0b47: stelem.ref
L_0b48: call System.String Translate(System.String, System.Object[])
L_0b4d: stloc.s 43 (System.String)
L_0b4f: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b51: ldfld System.Single max
L_0b56: ldc.r4 999
L_0b5b: bge.un Label61
L_0b60: ldloc.s 43 (System.String)
L_0b62: ldstr ", "
L_0b67: ldstr "HealthFactorMaxImpact"
L_0b6c: ldc.i4.1
L_0b6d: newarr System.Object
L_0b72: dup
L_0b73: ldc.i4.0
L_0b74: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b76: ldfld System.Single max
L_0b7b: call System.String ToStringPercent(Single)
L_0b80: stelem.ref
L_0b81: call System.String Translate(System.String, System.Object[])
L_0b86: call System.String Concat(System.String, System.String,
System.String)
L_0b8b: stloc.s 43 (System.String)
L_0b8d: Label61
L_0b8d: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b8f: ldfld System.Single allowedDefect
L_0b94: ldc.r4 0
L_0b99: beq Label62
L_0b9e: ldloc.s 43 (System.String)
L_0ba0: ldstr ", "
L_0ba5: ldstr "HealthFactorAllowedDefect"
L_0baa: ldc.i4.1
L_0bab: newarr System.Object
L_0bb0: dup
L_0bb1: ldc.i4.0
L_0bb2: ldc.r4 1
L_0bb7: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0bb9: ldfld System.Single allowedDefect
L_0bbe: sub
L_0bbf: call System.String ToStringPercent(Single)
L_0bc4: stelem.ref
L_0bc5: call System.String Translate(System.String, System.Object[])
L_0bca: call System.String Concat(System.String, System.String,
System.String)
L_0bcf: stloc.s 43 (System.String)
L_0bd1: Label62
L_0bd1: ldloc.0
L_0bd2: ldc.i4.7
L_0bd3: newarr System.String
L_0bd8: dup
L_0bd9: ldc.i4.0
L_0bda: ldstr " "
L_0bdf: stelem.ref
L_0be0: dup
L_0be1: ldc.i4.1
L_0be2: ldloc.s 40 (System.String)
L_0be4: stelem.ref
L_0be5: dup
L_0be6: ldc.i4.2
L_0be7: ldstr ": x"
L_0bec: stelem.ref
L_0bed: dup
L_0bee: ldc.i4.3
L_0bef: ldloc.s 42 (System.String)
L_0bf1: stelem.ref
L_0bf2: dup
L_0bf3: ldc.i4.4
L_0bf4: ldstr " ("
L_0bf9: stelem.ref
L_0bfa: dup
L_0bfb: ldc.i4.5
L_0bfc: ldloc.s 43 (System.String)
L_0bfe: stelem.ref
L_0bff: dup
L_0c00: ldc.i4.6
L_0c01: ldstr ")"
L_0c06: stelem.ref
L_0c07: call System.String Concat(System.String[])
L_0c0c: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0c11: pop
L_0c12: Label60
L_0c12: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c14: callvirt Boolean MoveNext()
L_0c19: brtrue Label63
L_0c1e: leave Label64
L_0c23: leave (autogenerated)
} // end try
.finally
{
L_0c28: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c2a: brfalse Label65
L_0c2f: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c31: callvirt Void Dispose()
L_0c36: Label65
L_0c36: endfinally
L_0c37: leave (autogenerated)
} // end handler
L_0c38: Label58
L_0c38: Label64
L_0c38: ldloc.0
L_0c39: callvirt System.Text.StringBuilder AppendLine()
L_0c3e: pop
L_0c3f: Label55
L_0c3f: ldloc.2
L_0c40: callvirt Boolean get_Inspired()
L_0c45: brfalse Label66
L_0c4a: ldloc.2
L_0c4b: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0c50: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_0c55: ldarg.0
L_0c56: ldfld RimWorld.StatDef stat
L_0c5b: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0c60: stloc.s 44 (System.Single)
L_0c62: ldloc.s 44 (System.Single)
L_0c64: ldc.r4 0
L_0c69: beq Label67
L_0c6e: ldloc.0
L_0c6f: ldstr "StatsReport_Inspiration"
L_0c74: ldc.i4.1
L_0c75: newarr System.Object
L_0c7a: dup
L_0c7b: ldc.i4.0
L_0c7c: ldloc.2
L_0c7d: callvirt RimWorld.Inspiration get_Inspiration()
L_0c82: ldfld RimWorld.InspirationDef def
L_0c87: callvirt System.String get_LabelCap()
L_0c8c: stelem.ref
L_0c8d: call System.String Translate(System.String, System.Object[])
L_0c92: ldstr ": "
L_0c97: ldarg.0
L_0c98: ldloc.s 44 (System.Single)
L_0c9a: ldc.i4.0
L_0c9b: ldc.i4.3
L_0c9c: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0ca1: call System.String Concat(System.String, System.String, System.String)
L_0ca6: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0cab: pop
L_0cac: ldloc.0
L_0cad: callvirt System.Text.StringBuilder AppendLine()
L_0cb2: pop
L_0cb3: Label67
L_0cb3: ldloc.2
L_0cb4: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0cb9: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0cbe: ldarg.0
L_0cbf: ldfld RimWorld.StatDef stat
L_0cc4: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0cc9: stloc.s 45 (System.Single)
L_0ccb: ldloc.s 45 (System.Single)
L_0ccd: ldc.r4 1
L_0cd2: beq Label68
L_0cd7: ldloc.0
L_0cd8: ldstr "StatsReport_Inspiration"
L_0cdd: ldc.i4.1
L_0cde: newarr System.Object
L_0ce3: dup
L_0ce4: ldc.i4.0
L_0ce5: ldloc.2
L_0ce6: callvirt RimWorld.Inspiration get_Inspiration()
L_0ceb: ldfld RimWorld.InspirationDef def
L_0cf0: callvirt System.String get_LabelCap()
L_0cf5: stelem.ref
L_0cf6: call System.String Translate(System.String, System.Object[])
L_0cfb: ldstr ": "
L_0d00: ldloc.s 45 (System.Single)
L_0d02: ldc.i4.8
L_0d03: ldc.i4.2
L_0d04: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0d09: call System.String Concat(System.String, System.String, System.String)
L_0d0e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0d13: pop
L_0d14: ldloc.0
L_0d15: callvirt System.Text.StringBuilder AppendLine()
L_0d1a: pop
L_0d1b: Label48
L_0d1b: Label66
L_0d1b: Label68
L_0d1b: ldloc.0
L_0d1c: callvirt System.String ToString()
L_0d21: call System.String TrimEndNewlines(System.String)
L_0d26: ret
DONE

### Patch RimWorld.StatWorker, Single GetValueUnfinalized(StatRequest, Boolean)


L_0000: Local var 0: System.Single
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.PawnCapacityOffset
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.HediffStage
L_0000: Local var 9: System.Int32
L_0000: Local var 10: System.Int32
L_0000: Local var 11: RimWorld.CompAffectedByFacilities
L_0000: Local var 12: System.Int32
L_0000: Local var 13: System.Int32
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.PawnCapacityFactor
L_0000: Local var 16: System.Single
L_0000: Local var 17: System.Single
L_0000: ldc.r4 0
L_0005: stloc 17 (System.Single)
L_0007: call Boolean get_DevMode()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldarga.s 1
L_0014: call Verse.Thing get_Thing()
L_0019: callvirt Boolean IsDisabledFor(Verse.Thing)
L_001e: brfalse Label2
L_0023: ldstr "Attempted to calculate value for disabled stat {0}; this is meant as
a consistency check, either set the stat to neverDisabled or ensure this pawn
cannot accidentally use this stat (thing={1})"
L_0028: ldarg.0
L_0029: ldfld RimWorld.StatDef stat
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Thing()
L_0035: call System.String ToStringSafe[Thing](Verse.Thing)
L_003a: call System.String Format(System.String, System.Object, System.Object)
L_003f: ldc.i4 75193282
L_0044: ldarg.0
L_0045: ldfld RimWorld.StatDef stat
L_004a: ldfld System.UInt16 index
L_004f: add
L_0050: ldc.i4.0
L_0051: call Void ErrorOnce(System.String, Int32, Boolean)
L_0056: Label1
L_0056: Label2
L_0056: ldarg.0
L_0057: ldarga.s 1
L_0059: call Verse.BuildableDef get_Def()
L_005e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0063: stloc.0
L_0064: ldarga.s 1
L_0066: call Verse.Thing get_Thing()
L_006b: isinst Verse.Pawn
L_0070: stloc.1
L_0071: ldloc.1
L_0072: brfalse Label3
L_0077: ldloc.1
L_0078: ldfld RimWorld.Pawn_SkillTracker skills
L_007d: brfalse Label4
L_0082: ldarg.0
L_0083: ldfld RimWorld.StatDef stat
L_0088: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_008d: brfalse Label5
L_0092: ldc.i4.0
L_0093: stloc.2
L_0094: br Label6
L_0099: Label7
L_0099: ldloc.0
L_009a: ldarg.0
L_009b: ldfld RimWorld.StatDef stat
L_00a0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00a5: ldloc.2
L_00a6: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00ab: ldloc.1
L_00ac: callvirt Single ValueFor(Verse.Pawn)
L_00b1: add
L_00b2: stloc.0
L_00b3: ldloc.2
L_00b4: ldc.i4.1
L_00b5: add
L_00b6: stloc.2
L_00b7: Label6
L_00b7: ldloc.2
L_00b8: ldarg.0
L_00b9: ldfld RimWorld.StatDef stat
L_00be: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00c3: callvirt Int32 get_Count()
L_00c8: blt Label7
L_00cd: Label5
L_00cd: br Label8
L_00d2: Label4
L_00d2: ldloc.0
L_00d3: ldarg.0
L_00d4: ldfld RimWorld.StatDef stat
L_00d9: ldfld System.Single noSkillOffset
L_00de: add
L_00df: stloc.0
L_00e0: Label8
L_00e0: ldarg.0
L_00e1: ldfld RimWorld.StatDef stat
L_00e6: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_00eb: brfalse Label9
L_00f0: ldc.i4.0
L_00f1: stloc.3
L_00f2: br Label10
L_00f7: Label11
L_00f7: ldarg.0
L_00f8: ldfld RimWorld.StatDef stat
L_00fd: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_0102: ldloc.3
L_0103: callvirt RimWorld.PawnCapacityOffset get_Item(Int32)
L_0108: stloc.s 4 (RimWorld.PawnCapacityOffset)
L_010a: ldloc.0
L_010b: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_010d: ldloc.1
L_010e: ldfld Verse.Pawn_HealthTracker health
L_0113: ldfld Verse.PawnCapacitiesHandler capacities
L_0118: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_011a: ldfld Verse.PawnCapacityDef capacity
L_011f: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0124: callvirt Single GetOffset(Single)
L_0129: add
L_012a: stloc.0
L_012b: ldloc.3
L_012c: ldc.i4.1
L_012d: add
L_012e: stloc.3
L_012f: Label10
L_012f: ldloc.3
L_0130: ldarg.0
L_0131: ldfld RimWorld.StatDef stat
L_0136: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_013b: callvirt Int32 get_Count()
L_0140: blt Label11
L_0145: Label9
L_0145: ldloc.1
L_0146: ldfld RimWorld.Pawn_StoryTracker story
L_014b: brfalse Label12
L_0150: ldc.i4.0
L_0151: stloc.s 5 (System.Int32)
L_0153: br Label13
L_0158: Label14
L_0158: ldloc.0
L_0159: ldloc.1
L_015a: ldfld RimWorld.Pawn_StoryTracker story
L_015f: ldfld RimWorld.TraitSet traits
L_0164: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0169: ldloc.s 5 (System.Int32)
L_016b: callvirt RimWorld.Trait get_Item(Int32)
L_0170: ldarg.0
L_0171: ldfld RimWorld.StatDef stat
L_0176: callvirt Single OffsetOfStat(RimWorld.StatDef)
L_017b: add
L_017c: stloc.0
L_017d: ldloc.s 5 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 5 (System.Int32)
L_0183: Label13
L_0183: ldloc.s 5 (System.Int32)
L_0185: ldloc.1
L_0186: ldfld RimWorld.Pawn_StoryTracker story
L_018b: ldfld RimWorld.TraitSet traits
L_0190: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0195: callvirt Int32 get_Count()
L_019a: blt Label14
L_019f: Label12
L_019f: ldloc.1
L_01a0: ldfld Verse.Pawn_HealthTracker health
L_01a5: ldfld Verse.HediffSet hediffSet
L_01aa: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_01af: stloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01b1: ldc.i4.0
L_01b2: stloc.s 7 (System.Int32)
L_01b4: br Label15
L_01b9: Label17
L_01b9: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01bb: ldloc.s 7 (System.Int32)
L_01bd: callvirt Verse.Hediff get_Item(Int32)
L_01c2: callvirt Verse.HediffStage get_CurStage()
L_01c7: stloc.s 8 (Verse.HediffStage)
L_01c9: ldloc.s 8 (Verse.HediffStage)
L_01cb: brfalse Label16
L_01d0: ldloc.0
L_01d1: ldloc.s 8 (Verse.HediffStage)
L_01d3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_01d8: ldarg.0
L_01d9: ldfld RimWorld.StatDef stat
L_01de: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_01e3: add
L_01e4: stloc.0
L_01e5: Label16
L_01e5: ldloc.s 7 (System.Int32)
L_01e7: ldc.i4.1
L_01e8: add
L_01e9: stloc.s 7 (System.Int32)
L_01eb: Label15
L_01eb: ldloc.s 7 (System.Int32)
L_01ed: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01ef: callvirt Int32 get_Count()
L_01f4: blt Label17
L_01f9: ldloc.1
L_01fa: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ff: brfalse Label18
L_0204: ldc.i4.0
L_0205: stloc.s 9 (System.Int32)
L_0207: br Label19
L_020c: Label20
L_020c: ldloc.0
L_020d: ldloc.1
L_020e: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0213: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0218: ldloc.s 9 (System.Int32)
L_021a: callvirt RimWorld.Apparel get_Item(Int32)
L_021f: ldarg.0
L_0220: ldfld RimWorld.StatDef stat
L_0225: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_022a: add
L_022b: stloc.0
L_022c: ldloc.s 9 (System.Int32)
L_022e: ldc.i4.1
L_022f: add
L_0230: stloc.s 9 (System.Int32)
L_0232: Label19
L_0232: ldloc.s 9 (System.Int32)
L_0234: ldloc.1
L_0235: ldfld RimWorld.Pawn_ApparelTracker apparel
L_023a: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_023f: callvirt Int32 get_Count()
L_0244: blt Label20
L_0249: Label18
L_0249: ldloc.1
L_024a: ldfld Verse.Pawn_EquipmentTracker equipment
L_024f: brfalse Label21
L_0254: ldloc.1
L_0255: ldfld Verse.Pawn_EquipmentTracker equipment
L_025a: callvirt Verse.ThingWithComps get_Primary()
L_025f: brfalse Label22
L_0264: ldloc.0
L_0265: ldloc.1
L_0266: ldfld Verse.Pawn_EquipmentTracker equipment
L_026b: callvirt Verse.ThingWithComps get_Primary()
L_0270: ldarg.0
L_0271: ldfld RimWorld.StatDef stat
L_0276: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_027b: add
L_027c: stloc.0
L_027d: Label21
L_027d: Label22
L_027d: ldloc.1
L_027e: ldfld RimWorld.Pawn_StoryTracker story
L_0283: brfalse Label23
L_0288: ldc.i4.0
L_0289: stloc.s 10 (System.Int32)
L_028b: br Label24
L_0290: Label25
L_0290: ldloc.0
L_0291: ldloc.1
L_0292: ldfld RimWorld.Pawn_StoryTracker story
L_0297: ldfld RimWorld.TraitSet traits
L_029c: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02a1: ldloc.s 10 (System.Int32)
L_02a3: callvirt RimWorld.Trait get_Item(Int32)
L_02a8: ldarg.0
L_02a9: ldfld RimWorld.StatDef stat
L_02ae: callvirt Single MultiplierOfStat(RimWorld.StatDef)
L_02b3: mul
L_02b4: stloc.0
L_02b5: ldloc.s 10 (System.Int32)
L_02b7: ldc.i4.1
L_02b8: add
L_02b9: stloc.s 10 (System.Int32)
L_02bb: Label24
L_02bb: ldloc.s 10 (System.Int32)
L_02bd: ldloc.1
L_02be: ldfld RimWorld.Pawn_StoryTracker story
L_02c3: ldfld RimWorld.TraitSet traits
L_02c8: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02cd: callvirt Int32 get_Count()
L_02d2: blt Label25
L_02d7: Label23
L_02d7: ldloc.0
L_02d8: ldloc.1
L_02d9: ldfld Verse.Pawn_AgeTracker ageTracker
L_02de: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_02e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_02e8: ldarg.0
L_02e9: ldfld RimWorld.StatDef stat
L_02ee: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_02f3: mul
L_02f4: stloc.0
L_02f5: Label3
L_02f5: ldarga.s 1
L_02f7: call Verse.ThingDef get_StuffDef()
L_02fc: brfalse Label26
L_0301: ldloc.0
L_0302: ldc.r4 0
L_0307: bgt Label27
L_030c: ldarg.0
L_030d: ldfld RimWorld.StatDef stat
L_0312: ldfld System.Boolean applyFactorsIfNegative
L_0317: brfalse Label28
L_031c: Label27
L_031c: ldloc.0
L_031d: ldarga.s 1
L_031f: call Verse.ThingDef get_StuffDef()
L_0324: ldfld Verse.StuffProperties stuffProps
L_0329: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_032e: ldarg.0
L_032f: ldfld RimWorld.StatDef stat
L_0334: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0339: mul
L_033a: stloc.0
L_033b: Label28
L_033b: ldloc.0
L_033c: ldarga.s 1
L_033e: call Verse.ThingDef get_StuffDef()
L_0343: ldfld Verse.StuffProperties stuffProps
L_0348: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_034d: ldarg.0
L_034e: ldfld RimWorld.StatDef stat
L_0353: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0358: add
L_0359: stloc.0
L_035a: Label26
L_035a: ldarga.s 1
L_035c: call Boolean get_HasThing()
L_0361: brfalse Label29
L_0366: ldarga.s 1
L_0368: call Verse.Thing get_Thing()
L_036d: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0372: stloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0374: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0376: brfalse Label30
L_037b: ldloc.0
L_037c: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_037e: ldarg.0
L_037f: ldfld RimWorld.StatDef stat
L_0384: callvirt Single GetStatOffset(RimWorld.StatDef)
L_0389: add
L_038a: stloc.0
L_038b: Label30
L_038b: ldarg.0
L_038c: ldfld RimWorld.StatDef stat
L_0391: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0396: brfalse Label31
L_039b: ldc.i4.0
L_039c: stloc.s 12 (System.Int32)
L_039e: br Label32
L_03a3: Label33
L_03a3: ldloc.0
L_03a4: ldarga.s 1
L_03a6: call Verse.Thing get_Thing()
L_03ab: ldarg.0
L_03ac: ldfld RimWorld.StatDef stat
L_03b1: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03b6: ldloc.s 12 (System.Int32)
L_03b8: callvirt RimWorld.StatDef get_Item(Int32)
L_03bd: ldc.i4.1
L_03be: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_03c3: mul
L_03c4: stloc.0
L_03c5: ldloc.s 12 (System.Int32)
L_03c7: ldc.i4.1
L_03c8: add
L_03c9: stloc.s 12 (System.Int32)
L_03cb: Label32
L_03cb: ldloc.s 12 (System.Int32)
L_03cd: ldarg.0
L_03ce: ldfld RimWorld.StatDef stat
L_03d3: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03d8: callvirt Int32 get_Count()
L_03dd: blt Label33
L_03e2: Label31
L_03e2: ldloc.1
L_03e3: brfalse Label34
L_03e8: ldloc.1
L_03e9: ldfld RimWorld.Pawn_SkillTracker skills
L_03ee: brfalse Label35
L_03f3: ldarg.0
L_03f4: ldfld RimWorld.StatDef stat
L_03f9: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_03fe: brfalse Label36
L_0403: ldc.i4.0
L_0404: stloc.s 13 (System.Int32)
L_0406: br Label37
L_040b: Label38
L_040b: ldloc.0
L_040c: ldarg.0
L_040d: ldfld RimWorld.StatDef stat
L_0412: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0417: ldloc.s 13 (System.Int32)
L_0419: callvirt RimWorld.SkillNeed get_Item(Int32)
L_041e: ldloc.1
L_041f: callvirt Single ValueFor(Verse.Pawn)
L_0424: mul
L_0425: stloc.0
L_0426: ldloc.s 13 (System.Int32)
L_0428: ldc.i4.1
L_0429: add
L_042a: stloc.s 13 (System.Int32)
L_042c: Label37
L_042c: ldloc.s 13 (System.Int32)
L_042e: ldarg.0
L_042f: ldfld RimWorld.StatDef stat
L_0434: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0439: callvirt Int32 get_Count()
L_043e: blt Label38
L_0443: Label36
L_0443: br Label39
L_0448: Label35
L_0448: ldloc.0
L_0449: ldarg.0
L_044a: ldfld RimWorld.StatDef stat
L_044f: ldfld System.Single noSkillFactor
L_0454: mul
L_0455: stloc.0
L_0456: Label39
L_0456: ldarg.0
L_0457: ldfld RimWorld.StatDef stat
L_045c: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0461: brfalse Label40
L_0466: ldc.i4.0
L_0467: stloc.s 14 (System.Int32)
L_0469: br Label41
L_046e: Label42
L_046e: ldarg.0
L_046f: ldfld RimWorld.StatDef stat
L_0474: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0479: ldloc.s 14 (System.Int32)
L_047b: callvirt RimWorld.PawnCapacityFactor get_Item(Int32)
L_0480: stloc.s 15 (RimWorld.PawnCapacityFactor)
L_0482: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0484: ldloc.1
L_0485: ldfld Verse.Pawn_HealthTracker health
L_048a: ldfld Verse.PawnCapacitiesHandler capacities
L_048f: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0491: ldfld Verse.PawnCapacityDef capacity
L_0496: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_049b: callvirt Single GetFactor(Single)
L_04a0: stloc.s 16 (System.Single)
L_04a2: ldloc.0
L_04a3: ldloc.0
L_04a4: ldloc.s 16 (System.Single)
L_04a6: mul
L_04a7: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_04a9: ldfld System.Single weight
L_04ae: call Single Lerp(Single, Single, Single)
L_04b3: stloc.0
L_04b4: ldloc.s 14 (System.Int32)
L_04b6: ldc.i4.1
L_04b7: add
L_04b8: stloc.s 14 (System.Int32)
L_04ba: Label41
L_04ba: ldloc.s 14 (System.Int32)
L_04bc: ldarg.0
L_04bd: ldfld RimWorld.StatDef stat
L_04c2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_04c7: callvirt Int32 get_Count()
L_04cc: blt Label42
L_04d1: Label40
L_04d1: ldloc.1
L_04d2: callvirt Boolean get_Inspired()
L_04d7: brfalse Label43
L_04dc: ldloc.0
L_04dd: ldloc.1
L_04de: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_04e8: ldarg.0
L_04e9: ldfld RimWorld.StatDef stat
L_04ee: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_04f3: add
L_04f4: stloc.0
L_04f5: ldloc.0
L_04f6: ldloc.1
L_04f7: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04fc: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0501: ldarg.0
L_0502: ldfld RimWorld.StatDef stat
L_0507: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_050c: mul
L_050d: stloc.0
L_050e: Label29
L_050e: Label34
L_050e: Label43
L_050e: ldloc.0
L_050f: stloc 17 (System.Single)
L_0511: ldarg.0
L_0512: ldloca 17 (System.Single)
L_0514: ldarga 1
L_051a: ldarg 2
L_0520: call Void Patch_StatWorker_GetValueUnfinalized(RimWorld.StatWorker, Single
ByRef, StatRequest ByRef, Boolean)
L_0525: ldloc 17 (System.Single)
L_0527: ret
DONE

### Patch RimWorld.Dialog_ManageAreas, Void .ctor(Map)


L_0000: ldarg.0
L_0001: call Void .ctor()
L_0006: ldarg.0
L_0007: ldarg.1
L_0008: stfld Verse.Map map
L_000d: ldarg.0
L_000e: ldc.i4.1
L_000f: stfld System.Boolean forcePause
L_0014: ldarg.0
L_0015: ldc.i4.1
L_0016: stfld System.Boolean doCloseX
L_001b: ldarg.0
L_001c: ldc.i4.1
L_001d: stfld System.Boolean doCloseButton
L_0022: ldarg.0
L_0023: ldc.i4.1
L_0024: stfld System.Boolean closeOnClickedOutside
L_0029: ldarg.0
L_002a: ldc.i4.1
L_002b: stfld System.Boolean absorbInputAroundWindow
L_0030: call Void Postfix()
L_0035: ret
DONE

### Patch RimWorld.Area_Allowed, Int32 get_ListPriority()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldc.i4 500
L_000b: stloc 0 (System.Int32)
L_000c: ldarg.0
L_000d: ldloca 0 (System.Int32)
L_000f: call Void ListPriority_Postfix(RimWorld.Area_Allowed, Int32 ByRef)
L_0014: ldloc 0 (System.Int32)
L_0015: ret
DONE

### Patch RimWorld.InspectGizmoGrid, Void DrawInspectGizmoGridFor(IEnumerable`1,


Verse.Gizmo ByRef)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.ISelectable
L_0000: Local var 2: System.Int32
L_0000: Local var 3:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1
L_0000: Local var 4: System.Collections.Generic.List`1[[Verse.Designator, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 5: System.Int32
L_0000: Local var 6:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0
L_0000: Local var 7: Verse.AcceptanceReport
L_0000: Local var 8: System.Single
L_0000: Local var 9: UnityEngine.Vector2
L_0000: Local var 10: Verse.Command_Action
L_0000: Local var 11: System.Exception
L_0000: call Void ClearReverseDesignatorPairs()
L_0005: ldarg.1
L_0006: ldnull
L_0007: stind.ref
.try
{
L_0008: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_000d: callvirt Void Clear()
L_0012: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0017: ldarg.0
L_0018: callvirt Void AddRange(IEnumerable`1)
L_001d: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0022: callvirt Void Clear()
L_0027: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_002c: call IEnumerable`1 GetStopGizmos()
L_0031: call Void AddRange(IEnumerable`1)
L_0036: ldc.i4.0
L_0037: stloc.0
L_0038: br Label1
L_003d: Label3
L_003d: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0042: ldloc.0
L_0043: callvirt System.Object get_Item(Int32)
L_0048: isinst Verse.ISelectable
L_004d: stloc.1
L_004e: ldloc.1
L_004f: brfalse Label2
L_0054: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0059: ldloc.1
L_005a: callvirt IEnumerable`1 GetGizmos()
L_005f: callvirt Void AddRange(IEnumerable`1)
L_0064: Label2
L_0064: ldloc.0
L_0065: ldc.i4.1
L_0066: add
L_0067: stloc.0
L_0068: Label1
L_0068: ldloc.0
L_0069: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_006e: callvirt Int32 get_Count()
L_0073: blt Label3
L_0078: ldc.i4.0
L_0079: stloc.2
L_007a: br Label4
L_007f: Label12
L_007f: newobj Void .ctor()
L_0084: stloc.3
L_0085: ldloc.3
L_0086: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_008b: ldloc.2
L_008c: callvirt System.Object get_Item(Int32)
L_0091: isinst Verse.Thing
L_0096: stfld Verse.Thing t
L_009b: ldloc.3
L_009c: ldfld Verse.Thing t
L_00a1: brtrue Label5
L_00a6: leave Label6
L_00ab: Label5
L_00ab: call Verse.ReverseDesignatorDatabase get_ReverseDesignatorDatabase()
L_00b0: callvirt System.Collections.Generic.List`1[Verse.Designator]
get_AllDesignators()
L_00b5: stloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00b7: ldc.i4.0
L_00b8: stloc.s 5 (System.Int32)
L_00ba: br Label7
L_00bf: Label11
L_00bf: newobj Void .ctor()
L_00c4: stloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c8: ldloc.3
L_00c9: stfld
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1 <>f__ref$1
L_00ce: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00d0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00d2: ldloc.s 5 (System.Int32)
L_00d4: callvirt Verse.Designator get_Item(Int32)
L_00d9: stfld Verse.Designator des
L_00de: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00e0: ldfld Verse.Designator des
L_00e5: ldloc.3
L_00e6: ldfld Verse.Thing t
L_00eb: callvirt AcceptanceReport CanDesignateThing(Verse.Thing)
L_00f0: stloc.s 7 (Verse.AcceptanceReport)
L_00f2: ldloca.s 7 (Verse.AcceptanceReport)
L_00f4: call Boolean get_Accepted()
L_00f9: brfalse Label8
L_00fe: newobj Void .ctor()
L_0103: stloc.s 10 (Verse.Command_Action)
L_0105: ldloc.s 10 (Verse.Command_Action)
L_0107: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0109: ldfld Verse.Designator des
L_010e: ldloc.3
L_010f: ldfld Verse.Thing t
L_0114: callvirt System.String LabelCapReverseDesignating(Verse.Thing)
L_0119: stfld System.String defaultLabel
L_011e: ldloc.s 10 (Verse.Command_Action)
L_0120: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0122: ldfld Verse.Designator des
L_0127: ldloc.3
L_0128: ldfld Verse.Thing t
L_012d: ldloca.s 8 (System.Single)
L_012f: ldloca.s 9 (UnityEngine.Vector2)
L_0131: callvirt UnityEngine.Texture2D IconReverseDesignating(Verse.Thing,
Single ByRef, Vector2 ByRef)
L_0136: stfld UnityEngine.Texture2D icon
L_013b: ldloc.s 10 (Verse.Command_Action)
L_013d: ldloc.s 8 (System.Single)
L_013f: stfld System.Single iconAngle
L_0144: ldloc.s 10 (Verse.Command_Action)
L_0146: ldloc.s 9 (UnityEngine.Vector2)
L_0148: stfld UnityEngine.Vector2 iconOffset
L_014d: ldloc.s 10 (Verse.Command_Action)
L_014f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0151: ldfld Verse.Designator des
L_0156: ldloc.3
L_0157: ldfld Verse.Thing t
L_015c: callvirt System.String DescReverseDesignating(Verse.Thing)
L_0161: stfld System.String defaultDesc
L_0166: ldloc.s 10 (Verse.Command_Action)
L_0168: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_016a: ldfld Verse.Designator des
L_016f: isinst RimWorld.Designator_Uninstall
L_0174: brfalse Label9
L_0179: ldc.r4 -11
L_017e: br Label10
L_0183: Label9
L_0183: ldc.r4 -20
L_0188: Label10
L_0188: stfld System.Single order
L_018d: ldloc.s 10 (Verse.Command_Action)
L_018f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0191: ldftn Void <>m__0()
L_0197: newobj Void .ctor(Object, IntPtr)
L_019c: stfld System.Action action
L_01a1: ldloc.s 10 (Verse.Command_Action)
L_01a3: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01a5: ldfld Verse.Designator des
L_01aa: ldfld Verse.KeyBindingDef hotKey
L_01af: stfld Verse.KeyBindingDef hotKey
L_01b4: ldloc.s 10 (Verse.Command_Action)
L_01b6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01b8: ldfld Verse.Designator des
L_01bd: ldfld System.Int32 groupKey
L_01c2: stfld System.Int32 groupKey
L_01c7: ldloc.s 6
L_01cc: ldfld Verse.Designator des
L_01d1: ldloc 10
L_01d7: call Void RegisterReverseDesignatorPair(Verse.Designator,
Verse.Command_Action)
L_01dc: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_01e1: ldloc.s 10 (Verse.Command_Action)
L_01e3: callvirt Void Add(Verse.Gizmo)
L_01e8: Label8
L_01e8: ldloc.s 5 (System.Int32)
L_01ea: ldc.i4.1
L_01eb: add
L_01ec: stloc.s 5 (System.Int32)
L_01ee: Label7
L_01ee: ldloc.s 5 (System.Int32)
L_01f0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_01f2: callvirt Int32 get_Count()
L_01f7: blt Label11
L_01fc: Label6
L_01fc: ldloc.2
L_01fd: ldc.i4.1
L_01fe: add
L_01ff: stloc.2
L_0200: Label4
L_0200: ldloc.2
L_0201: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0206: callvirt Int32 get_Count()
L_020b: blt Label12
L_0210: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0215: callvirt Void Clear()
L_021a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_021f: call Verse.WindowStack get_WindowStack()
L_0224: callvirt IInspectPane WindowOfType[IInspectPane]()
L_0229: call Single PaneWidthFor(IInspectPane)
L_022e: ldc.r4 20
L_0233: add
L_0234: ldarg.1
L_0235: call Void DrawGizmoGrid(IEnumerable`1, Single, Verse.Gizmo ByRef)
L_023a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_023f: callvirt Void Clear()
L_0244: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0249: call IEnumerable`1 GetStopGizmos()
L_024e: call Void AddRange(IEnumerable`1)
L_0253: leave Label13
L_0258: leave (autogenerated)
} // end try
.catch System.Exception
{
L_025d: stloc.s 11 (System.Exception)
L_025f: ldloc.s 11 (System.Exception)
L_0261: callvirt System.String ToString()
L_0266: ldc.i4 3427734
L_026b: ldc.i4.0
L_026c: call Void ErrorOnce(System.String, Int32, Boolean)
L_0271: leave Label14
L_0276: leave (autogenerated)
} // end handler
L_027b: Label13
L_027b: Label14
L_027b: ret
DONE

### Patch RimWorld.Apparel, Void Notify_PawnKilled()


L_0000: ldarg.0
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.ApparelProperties apparel
L_000b: ldfld System.Boolean careIfWornByCorpse
L_0010: brfalse Label1
L_0015: ldarg.0
L_0016: ldc.i4.1
L_0017: stfld System.Boolean wornByCorpseInt
L_001c: Label1
L_001c: ldarg.0
L_001d: call Void Postfix(RimWorld.Apparel)
L_0022: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void PreOpen()


L_0000: ldarg.0
L_0001: call Void PreOpen()
L_0006: call Verse.GameInitData get_GameInitData()
L_000b: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0010: callvirt Int32 get_Count()
L_0015: ldc.i4.0
L_0016: ble Label1
L_001b: ldarg.0
L_001c: call Verse.GameInitData get_GameInitData()
L_0021: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0026: ldc.i4.0
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stfld Verse.Pawn curPawn
L_0031: Label1
L_0031: call Void PreOpenPostfix()
L_0036: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void DoWindowContents(Rect)


L_0000: Local var 0: UnityEngine.Rect
L_0000: Local var 1: UnityEngine.Rect
L_0000: Local var 2: UnityEngine.Rect
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void DrawPageTitle(Rect)
L_0007: ldarga.s 1
L_0009: dup
L_000a: call Single get_yMin()
L_000f: ldc.r4 45
L_0014: add
L_0015: call Void set_yMin(Single)
L_001a: ldarg.0
L_001b: ldarg.1
L_001c: ldstr "Start"
L_0021: call System.String Translate(System.String)
L_0026: ldnull
L_0027: ldnull
L_0028: ldc.i4.1
L_0029: call Void DoBottomButtons(Rect, System.String, System.String,
System.Action, Boolean)
L_002e: ldarga.s 1
L_0030: dup
L_0031: call Single get_yMax()
L_0036: ldc.r4 38
L_003b: sub
L_003c: call Void set_yMax(Single)
L_0041: ldarg.1
L_0042: stloc.0
L_0043: ldloca.s 0 (UnityEngine.Rect)
L_0045: ldc.r4 140
L_004a: call Void set_width(Single)
L_004f: ldarg.0
L_0050: ldloc.0
L_0051: call Void DrawPawnList(Rect)
L_0056: ldloc.0
L_0057: ldstr "ReorderPawn"
L_005c: call Void HighlightOpportunity(Rect, System.String)
L_0061: ldarg.1
L_0062: stloc.1
L_0063: ldloca.s 1 (UnityEngine.Rect)
L_0065: dup
L_0066: call Single get_xMin()
L_006b: ldc.r4 140
L_0070: add
L_0071: call Void set_xMin(Single)
L_0076: ldloc.1
L_0077: ldc.r4 141
L_007c: call Rect BottomPartPixels(Rect, Single)
L_0081: stloc.2
L_0082: ldloca.s 1 (UnityEngine.Rect)
L_0084: ldloca.s 2 (UnityEngine.Rect)
L_0086: call Single get_yMin()
L_008b: call Void set_yMax(Single)
L_0090: ldloc.1
L_0091: ldc.r4 4
L_0096: call Rect ContractedBy(Rect, Single)
L_009b: stloc.1
L_009c: ldloc.2
L_009d: ldc.r4 4
L_00a2: call Rect ContractedBy(Rect, Single)
L_00a7: stloc.2
L_00a8: ldarg.0
L_00a9: ldloc.1
L_00aa: call Void DrawPortraitArea(Rect)
L_00af: ldarg.0
L_00b0: ldloc.2
L_00b1: call Void DrawSkillSummaries(Rect)
L_00b6: ldarg 1
L_00bc: ldarg.0
L_00bd: call Void DoWindowContentsPostfix(Rect,
RimWorld.Page_ConfigureStartingPawns)
L_00c2: ret
DONE

### Patch Verse.Game, Void InitNewGame()


L_0000: Local var 0: System.String
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: RimWorld.Planet.Settlement
L_0000: Local var 3: System.Collections.Generic.List`1[[RimWorld.Planet.Settlement,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.ResearchProjectTagDef
L_0000: Local var 7:
System.Collections.Generic.List`1+Enumerator[[Verse.ResearchProjectTagDef,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: Verse.ResearchProjectDef
L_0000: Local var 9:
System.Collections.Generic.IEnumerator`1[[Verse.ResearchProjectDef, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: call IEnumerable`1 get_RunningMods()
L_0005: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_000a: brtrue Label1
L_000f: ldnull
L_0010: ldftn System.String <InitNewGame>m__1(Verse.ModContentPack)
L_0016: newobj Void .ctor(Object, IntPtr)
L_001b: stsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0020: Label1
L_0020: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0025: call IEnumerable`1 Select[ModContentPack,String](IEnumerable`1,
System.Func`2[Verse.ModContentPack,System.String])
L_002a: ldc.i4.0
L_002b: call System.String ToCommaList(IEnumerable`1, Boolean)
L_0030: stloc.0
L_0031: ldstr "Initializing new game with mods "
L_0036: ldloc.0
L_0037: call System.String Concat(System.String, System.String)
L_003c: ldc.i4.0
L_003d: call Void Message(System.String, Boolean)
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0048: call Boolean Any[Map](System.Collections.Generic.List`1[Verse.Map])
L_004d: brfalse Label2
L_0052: ldstr "Called InitNewGame() but there already is a map. There should be 0
maps..."
L_0057: ldc.i4.0
L_0058: call Void Error(System.String, Boolean)
L_005d: br Label22
L_0062: Label2
L_0062: ldarg.0
L_0063: ldfld Verse.GameInitData initData
L_0068: brtrue Label3
L_006d: ldstr "Called InitNewGame() but init data is null. Create it first."
L_0072: ldc.i4.0
L_0073: call Void Error(System.String, Boolean)
L_0078: br Label23
L_007d: Label3
L_007d: call Void UnloadUnusedUnityAssets()
L_0082: ldstr "InitNewGame"
L_0087: call Void Start(System.String)
.try
{
L_008c: ldc.i4.1
L_008d: call Void set_ProgramState(ProgramState)
L_0092: ldloca.s 1 (Verse.IntVec3)
L_0094: ldarg.0
L_0095: ldfld Verse.GameInitData initData
L_009a: ldfld System.Int32 mapSize
L_009f: ldc.i4.1
L_00a0: ldarg.0
L_00a1: ldfld Verse.GameInitData initData
L_00a6: ldfld System.Int32 mapSize
L_00ab: call Void .ctor(Int32, Int32, Int32)
L_00b0: ldnull
L_00b1: stloc.2
L_00b2: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_00b7: callvirt
System.Collections.Generic.List`1[RimWorld.Planet.Settlement] get_Settlements()
L_00bc: stloc.3
L_00bd: ldc.i4.0
L_00be: stloc.s 4 (System.Int32)
L_00c0: br Label4
L_00c5: Label7
L_00c5: ldloc.3
L_00c6: ldloc.s 4 (System.Int32)
L_00c8: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00cd: callvirt RimWorld.Faction get_Faction()
L_00d2: call RimWorld.Faction get_OfPlayer()
L_00d7: bne.un Label5
L_00dc: ldloc.3
L_00dd: ldloc.s 4 (System.Int32)
L_00df: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00e4: stloc.2
L_00e5: leave Label6
L_00ea: Label5
L_00ea: ldloc.s 4 (System.Int32)
L_00ec: ldc.i4.1
L_00ed: add
L_00ee: stloc.s 4 (System.Int32)
L_00f0: Label4
L_00f0: ldloc.s 4 (System.Int32)
L_00f2: ldloc.3
L_00f3: callvirt Int32 get_Count()
L_00f8: blt Label7
L_00fd: Label6
L_00fd: ldloc.2
L_00fe: brtrue Label8
L_0103: ldstr "Could not generate starting map because there is no any player
faction base."
L_0108: ldc.i4.0
L_0109: call Void Error(System.String, Boolean)
L_010e: Label8
L_010e: ldarg.0
L_010f: ldfld Verse.TickManager tickManager
L_0114: call Int32 get_ConfiguredTicksAbsAtGameStart()
L_0119: stfld System.Int32 gameStartAbsTick
L_011e: ldloc.1
L_011f: ldloc.2
L_0120: ldloc.2
L_0121: callvirt Verse.MapGeneratorDef get_MapGeneratorDef()
L_0126: ldloc.2
L_0127: callvirt IEnumerable`1 get_ExtraGenStepDefs()
L_012c: ldnull
L_012d: call Verse.Map GenerateMap(IntVec3, RimWorld.Planet.MapParent,
Verse.MapGeneratorDef, IEnumerable`1, System.Action`1[Verse.Map])
L_0132: stloc.s 5 (Verse.Map)
L_0134: ldarg.0
L_0135: ldfld RimWorld.Planet.World worldInt
L_013a: ldfld RimWorld.Planet.WorldInfo info
L_013f: ldloc.1
L_0140: stfld Verse.IntVec3 initialMapSize
L_0145: ldarg.0
L_0146: ldfld Verse.GameInitData initData
L_014b: ldfld System.Boolean permadeath
L_0150: brfalse Label9
L_0155: ldarg.0
L_0156: ldfld Verse.GameInfo info
L_015b: ldc.i4.1
L_015c: stfld System.Boolean permadeathMode
L_0161: ldarg.0
L_0162: ldfld Verse.GameInfo info
L_0167: call System.String GeneratePermadeathSaveName()
L_016c: stfld System.String permadeathModeUniqueName
L_0171: Label9
L_0171: ldsfld RimWorld.ThoughtDef NewColonyOptimism
L_0176: call Void GiveAllStartingPlayerPawnsThought(RimWorld.ThoughtDef)
L_017b: ldarg.0
L_017c: call Void FinalizeInit()
L_0181: call Verse.Game get_Game()
L_0186: ldloc.s 5 (Verse.Map)
L_0188: callvirt Void set_CurrentMap(Verse.Map)
L_018d: call Verse.CameraDriver get_CameraDriver()
L_0192: call IntVec3 get_PlayerStartSpot()
L_0197: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_019c: call Verse.CameraDriver get_CameraDriver()
L_01a1: callvirt Void ResetSize()
L_01a6: call Boolean get_PauseOnLoad()
L_01ab: brfalse Label10
L_01b0: ldarg.0
L_01b1: ldfld Verse.GameInitData initData
L_01b6: ldfld System.Boolean startedFromEntry
L_01bb: brfalse Label11
L_01c0: ldarg.0
L_01c1: ldftn Void <InitNewGame>m__2()
L_01c7: newobj Void .ctor(Object, IntPtr)
L_01cc: call Void ExecuteWhenFinished(System.Action)
L_01d1: Label10
L_01d1: Label11
L_01d1: call RimWorld.Scenario get_Scenario()
L_01d6: callvirt Void PostGameStart()
L_01db: call RimWorld.Faction get_OfPlayer()
L_01e0: ldfld RimWorld.FactionDef def
L_01e5: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01ea: brfalse Label12
L_01ef: call RimWorld.Faction get_OfPlayer()
L_01f4: ldfld RimWorld.FactionDef def
L_01f9: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01fe: callvirt Enumerator GetEnumerator()
L_0203: stloc.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
.try
{
L_0205: br Label13
L_020a: Label19
L_020a: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_020c: call Verse.ResearchProjectTagDef get_Current()
L_0211: stloc.s 6 (Verse.ResearchProjectTagDef)
L_0213: call IEnumerable`1 get_AllDefs()
L_0218: callvirt IEnumerator`1 GetEnumerator()
L_021d: stloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
.try
{
L_021f: br Label14
L_0224: Label16
L_0224: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0226: callvirt Verse.ResearchProjectDef get_Current()
L_022b: stloc.s 8 (Verse.ResearchProjectDef)
L_022d: ldloc.s 8 (Verse.ResearchProjectDef)
L_022f: ldloc.s 6 (Verse.ResearchProjectTagDef)
L_0231: callvirt Boolean HasTag(Verse.ResearchProjectTagDef)
L_0236: brfalse Label15
L_023b: ldarg.0
L_023c: ldfld RimWorld.ResearchManager researchManager
L_0241: ldloc.s 8 (Verse.ResearchProjectDef)
L_0243: ldc.i4.0
L_0244: ldnull
L_0245: callvirt Void FinishProject(Verse.ResearchProjectDef,
Boolean, Verse.Pawn)
L_024a: Label14
L_024a: Label15
L_024a: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_024c: callvirt Boolean MoveNext()
L_0251: brtrue Label16
L_0256: leave Label17
L_025b: leave (autogenerated)
} // end try
.finally
{
L_0260: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0262: brfalse Label18
L_0267: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0269: callvirt Void Dispose()
L_026e: Label18
L_026e: endfinally
L_026f: leave (autogenerated)
} // end handler
L_0270: Label13
L_0270: Label17
L_0270: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0272: call Boolean MoveNext()
L_0277: brtrue Label19
L_027c: leave Label20
L_0281: leave (autogenerated)
} // end try
.finally
{
L_0286: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0288: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef]
L_028e: callvirt Void Dispose()
L_0293: endfinally
L_0294: leave (autogenerated)
} // end handler
L_0295: Label12
L_0295: Label20
L_0295: call Void StartedNewGame()
L_029a: ldarg.0
L_029b: ldnull
L_029c: stfld Verse.GameInitData initData
L_02a1: leave Label21
L_02a6: leave (autogenerated)
} // end try
.finally
{
L_02ab: call Void End()
L_02b0: endfinally
L_02b1: leave (autogenerated)
} // end handler
L_02b2: Label21
L_02b2: Label22
L_02b2: Label23
L_02b2: call Void InitNewGamePostfix()
L_02b7: ret
DONE

### Patch RimWorld.MainTabWindow_Inspect, IEnumerable`1 get_CurTabs()


L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[Verse.InspectTabBase, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0002: ldarg.0
L_0003: call Int32 get_NumSelected()
L_0008: ldc.i4.1
L_0009: bne.un Label1
L_000e: ldarg.0
L_000f: call Verse.Thing get_SelThing()
L_0014: brfalse Label2
L_0019: ldarg.0
L_001a: call Verse.Thing get_SelThing()
L_001f: ldfld Verse.ThingDef def
L_0024: ldfld System.Collections.Generic.List`1[Verse.InspectTabBase]
inspectorTabsResolved
L_0029: brfalse Label3
L_002e: ldarg.0
L_002f: call Verse.Thing get_SelThing()
L_0034: callvirt IEnumerable`1 GetInspectTabs()
L_0039: br Label5
L_003e: Label2
L_003e: Label3
L_003e: ldarg.0
L_003f: call Verse.Zone get_SelZone()
L_0044: brfalse Label4
L_0049: ldarg.0
L_004a: call Verse.Zone get_SelZone()
L_004f: callvirt IEnumerable`1 GetInspectTabs()
L_0054: br Label6
L_0059: Label1
L_0059: Label4
L_0059: call IEnumerable`1 Empty[InspectTabBase]()
L_005e: Label5
L_005e: Label6
L_005e: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_005f: ldloca 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0061: call Void Postfix(IEnumerable`1 ByRef)
L_0066: ldloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0067: ret
DONE

### Patch Verse.ThingOwner, Void NotifyAdded(Verse.Thing)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Map, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.CompTransporter
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: Local var 4: RimWorld.Pawn_ApparelTracker
L_0000: Local var 5: Verse.Pawn_EquipmentTracker
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: call Boolean ShouldAutoExtinguishInnerThings(IThingHolder)
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldsfld Verse.ThingDef Fire
L_0016: call Boolean HasAttachment(Verse.Thing, Verse.ThingDef)
L_001b: brfalse Label2
L_0020: ldarg.1
L_0021: ldsfld Verse.ThingDef Fire
L_0026: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_002b: ldc.i4.0
L_002c: callvirt Void Destroy(DestroyMode)
L_0031: Label1
L_0031: Label2
L_0031: ldarg.0
L_0032: ldfld Verse.IThingHolder owner
L_0037: call Boolean ShouldRemoveDesignationsOnAddedThings(IThingHolder)
L_003c: brfalse Label3
L_0041: call System.Collections.Generic.List`1[Verse.Map] get_Maps()
L_0046: stloc.0
L_0047: ldc.i4.0
L_0048: stloc.1
L_0049: br Label4
L_004e: Label5
L_004e: ldloc.0
L_004f: ldloc.1
L_0050: callvirt Verse.Map get_Item(Int32)
L_0055: ldfld Verse.DesignationManager designationManager
L_005a: ldarg.1
L_005b: ldc.i4.0
L_005c: callvirt Void RemoveAllDesignationsOn(Verse.Thing, Boolean)
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label4
L_0065: ldloc.1
L_0066: ldloc.0
L_0067: callvirt Int32 get_Count()
L_006c: blt Label5
L_0071: Label3
L_0071: ldarg.0
L_0072: ldfld Verse.IThingHolder owner
L_0077: isinst RimWorld.CompTransporter
L_007c: stloc.2
L_007d: ldloc.2
L_007e: brfalse Label6
L_0083: ldloc.2
L_0084: ldarg.1
L_0085: callvirt Void Notify_ThingAdded(Verse.Thing)
L_008a: Label6
L_008a: ldarg.0
L_008b: ldfld Verse.IThingHolder owner
L_0090: isinst RimWorld.Planet.Caravan
L_0095: stloc.3
L_0096: ldloc.3
L_0097: brfalse Label7
L_009c: ldloc.3
L_009d: ldarg.1
L_009e: castclass Verse.Pawn
L_00a3: callvirt Void Notify_PawnAdded(Verse.Pawn)
L_00a8: Label7
L_00a8: ldarg.0
L_00a9: ldfld Verse.IThingHolder owner
L_00ae: isinst RimWorld.Pawn_ApparelTracker
L_00b3: stloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b5: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b7: brfalse Label8
L_00bc: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00be: ldarg.1
L_00bf: castclass RimWorld.Apparel
L_00c4: callvirt Void Notify_ApparelAdded(RimWorld.Apparel)
L_00c9: Label8
L_00c9: ldarg.0
L_00ca: ldfld Verse.IThingHolder owner
L_00cf: isinst Verse.Pawn_EquipmentTracker
L_00d4: stloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d6: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d8: brfalse Label9
L_00dd: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00df: ldarg.1
L_00e0: castclass Verse.ThingWithComps
L_00e5: callvirt Void Notify_EquipmentAdded(Verse.ThingWithComps)
L_00ea: Label9
L_00ea: ldarg.0
L_00eb: ldarg.1
L_00ec: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_00f1: ldarg.0
L_00f2: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_00f7: ret
DONE

### Patch Verse.ThingOwner, Void NotifyRemoved(Verse.Thing)


L_0000: Local var 0: Verse.Pawn_InventoryTracker
L_0000: Local var 1: RimWorld.Pawn_ApparelTracker
L_0000: Local var 2: Verse.Pawn_EquipmentTracker
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: isinst Verse.Pawn_InventoryTracker
L_000b: stloc.0
L_000c: ldloc.0
L_000d: brfalse Label1
L_0012: ldloc.0
L_0013: ldarg.1
L_0014: callvirt Void Notify_ItemRemoved(Verse.Thing)
L_0019: Label1
L_0019: ldarg.0
L_001a: ldfld Verse.IThingHolder owner
L_001f: isinst RimWorld.Pawn_ApparelTracker
L_0024: stloc.1
L_0025: ldloc.1
L_0026: brfalse Label2
L_002b: ldloc.1
L_002c: ldarg.1
L_002d: castclass RimWorld.Apparel
L_0032: callvirt Void Notify_ApparelRemoved(RimWorld.Apparel)
L_0037: Label2
L_0037: ldarg.0
L_0038: ldfld Verse.IThingHolder owner
L_003d: isinst Verse.Pawn_EquipmentTracker
L_0042: stloc.2
L_0043: ldloc.2
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldarg.1
L_004b: castclass Verse.ThingWithComps
L_0050: callvirt Void Notify_EquipmentRemoved(Verse.ThingWithComps)
L_0055: Label3
L_0055: ldarg.0
L_0056: ldfld Verse.IThingHolder owner
L_005b: isinst RimWorld.Planet.Caravan
L_0060: stloc.3
L_0061: ldloc.3
L_0062: brfalse Label4
L_0067: ldloc.3
L_0068: ldarg.1
L_0069: castclass Verse.Pawn
L_006e: callvirt Void Notify_PawnRemoved(Verse.Pawn)
L_0073: Label4
L_0073: ldarg.0
L_0074: ldarg.1
L_0075: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_007a: ldarg.0
L_007b: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_0080: ret
DONE

### Patch RimWorld.Selector, Void ClearSelection()


L_0000: call Void Clear()
L_0005: ldarg.0
L_0006: ldfld System.Collections.Generic.List`1[System.Object] selected
L_000b: callvirt Void Clear()
L_0010: call Void Postfix()
L_0015: ret
DONE

### Patch RimWorld.Selector, Void Deselect(System.Object)


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldloca 0 (System.Int32)
L_0008: call Void Prefix(Int32 ByRef)
L_000d: ldarg.0
L_000e: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0013: ldarg.1
L_0014: callvirt Boolean Contains(System.Object)
L_0019: brfalse Label1
L_001e: ldarg.0
L_001f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0024: ldarg.1
L_0025: callvirt Boolean Remove(System.Object)
L_002a: pop
L_002b: Label1
L_002b: ldloc 0 (System.Int32)
L_002c: call Void Postfix(Int32)
L_0031: ret
DONE

### Patch RimWorld.Selector, Void Select(System.Object, Boolean, Boolean)


L_0000: Local var 0: Verse.Thing
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Int32)
L_0007: ldloca 7 (System.Int32)
L_0009: call Void Prefix(Int32 ByRef)
L_000e: ldarg.1
L_000f: brtrue Label1
L_0014: ldstr "Cannot select null."
L_0019: ldc.i4.0
L_001a: call Void Error(System.String, Boolean)
L_001f: br Label26
L_0024: Label1
L_0024: ldarg.1
L_0025: isinst Verse.Thing
L_002a: stloc.0
L_002b: ldloc.0
L_002c: brtrue Label2
L_0031: ldarg.1
L_0032: isinst Verse.Zone
L_0037: brtrue Label3
L_003c: ldstr "Tried to select "
L_0041: ldarg.1
L_0042: ldstr " which is neither a Thing nor a Zone."
L_0047: call System.String Concat(System.Object, System.Object, System.Object)
L_004c: ldc.i4.0
L_004d: call Void Error(System.String, Boolean)
L_0052: br Label27
L_0057: Label2
L_0057: Label3
L_0057: ldloc.0
L_0058: brfalse Label4
L_005d: ldloc.0
L_005e: callvirt Boolean get_Destroyed()
L_0063: brfalse Label5
L_0068: ldstr "Cannot select destroyed thing."
L_006d: ldc.i4.0
L_006e: call Void Error(System.String, Boolean)
L_0073: br Label28
L_0078: Label4
L_0078: Label5
L_0078: ldarg.1
L_0079: isinst Verse.Pawn
L_007e: stloc.1
L_007f: ldloc.1
L_0080: brfalse Label6
L_0085: ldloc.1
L_0086: call Boolean IsWorldPawn(Verse.Pawn)
L_008b: brfalse Label7
L_0090: ldstr "Cannot select world pawns."
L_0095: ldc.i4.0
L_0096: call Void Error(System.String, Boolean)
L_009b: br Label29
L_00a0: Label6
L_00a0: Label7
L_00a0: ldarg.3
L_00a1: brfalse Label8
L_00a6: call Verse.DesignatorManager get_DesignatorManager()
L_00ab: callvirt Void Deselect()
L_00b0: Label8
L_00b0: ldarg.0
L_00b1: call Verse.Zone get_SelectedZone()
L_00b6: brfalse Label9
L_00bb: ldarg.1
L_00bc: isinst Verse.Zone
L_00c1: brtrue Label10
L_00c6: ldarg.0
L_00c7: call Void ClearSelection()
L_00cc: Label9
L_00cc: Label10
L_00cc: ldarg.1
L_00cd: isinst Verse.Zone
L_00d2: brfalse Label11
L_00d7: ldarg.0
L_00d8: call Verse.Zone get_SelectedZone()
L_00dd: brtrue Label12
L_00e2: ldarg.0
L_00e3: call Void ClearSelection()
L_00e8: Label11
L_00e8: Label12
L_00e8: ldloc.0
L_00e9: brfalse Label13
L_00ee: ldloc.0
L_00ef: callvirt Verse.Map get_Map()
L_00f4: br Label14
L_00f9: Label13
L_00f9: ldarg.1
L_00fa: castclass Verse.Zone
L_00ff: callvirt Verse.Map get_Map()
L_0104: Label14
L_0104: stloc.2
L_0105: ldarg.0
L_0106: ldfld System.Collections.Generic.List`1[System.Object] selected
L_010b: callvirt Int32 get_Count()
L_0110: ldc.i4.1
L_0111: sub
L_0112: stloc.3
L_0113: br Label15
L_0118: Label19
L_0118: ldarg.0
L_0119: ldfld System.Collections.Generic.List`1[System.Object] selected
L_011e: ldloc.3
L_011f: callvirt System.Object get_Item(Int32)
L_0124: isinst Verse.Thing
L_0129: stloc.s 4 (Verse.Thing)
L_012b: ldloc.s 4 (Verse.Thing)
L_012d: brfalse Label16
L_0132: ldloc.s 4 (Verse.Thing)
L_0134: callvirt Verse.Map get_Map()
L_0139: br Label17
L_013e: Label16
L_013e: ldarg.0
L_013f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0144: ldloc.3
L_0145: callvirt System.Object get_Item(Int32)
L_014a: castclass Verse.Zone
L_014f: callvirt Verse.Map get_Map()
L_0154: Label17
L_0154: stloc.s 5 (Verse.Map)
L_0156: ldloc.s 5 (Verse.Map)
L_0158: ldloc.2
L_0159: beq Label18
L_015e: ldarg.0
L_015f: ldarg.0
L_0160: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0165: ldloc.3
L_0166: callvirt System.Object get_Item(Int32)
L_016b: call Void Deselect(System.Object)
L_0170: Label18
L_0170: ldloc.3
L_0171: ldc.i4.1
L_0172: sub
L_0173: stloc.3
L_0174: Label15
L_0174: ldloc.3
L_0175: ldc.i4.0
L_0176: bge Label19
L_017b: ldarg.0
L_017c: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0181: callvirt Int32 get_Count()
L_0186: ldc.i4.s 80
L_0188: blt Label20
L_018d: br Label30
L_0192: Label20
L_0192: ldarg.0
L_0193: ldarg.1
L_0194: call Boolean IsSelected(System.Object)
L_0199: brtrue Label21
L_019e: ldloc.2
L_019f: call Verse.Map get_CurrentMap()
L_01a4: beq Label22
L_01a9: call Verse.Game get_Game()
L_01ae: ldloc.2
L_01af: callvirt Void set_CurrentMap(Verse.Map)
L_01b4: ldsfld Verse.SoundDef MapSelected
L_01b9: ldnull
L_01ba: call Void PlayOneShotOnCamera(Verse.SoundDef, Verse.Map)
L_01bf: ldloc.0
L_01c0: brfalse Label23
L_01c5: ldloc.0
L_01c6: callvirt IntVec3 get_Position()
L_01cb: br Label24
L_01d0: Label23
L_01d0: ldarg.1
L_01d1: castclass Verse.Zone
L_01d6: callvirt System.Collections.Generic.List`1[Verse.IntVec3] get_Cells()
L_01db: ldc.i4.0
L_01dc: callvirt IntVec3 get_Item(Int32)
L_01e1: Label24
L_01e1: stloc.s 6 (Verse.IntVec3)
L_01e3: call Verse.CameraDriver get_CameraDriver()
L_01e8: ldloc.s 6 (Verse.IntVec3)
L_01ea: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_01ef: Label22
L_01ef: ldarg.2
L_01f0: brfalse Label25
L_01f5: ldarg.0
L_01f6: ldarg.1
L_01f7: call Void PlaySelectionSoundFor(System.Object)
L_01fc: Label25
L_01fc: ldarg.0
L_01fd: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0202: ldarg.1
L_0203: callvirt Void Add(System.Object)
L_0208: ldarg.1
L_0209: call Void Notify_Selected(System.Object)
L_020e: Label21
L_020e: Label26
L_020e: Label27
L_020e: Label28
L_020e: Label29
L_020e: Label30
L_020e: ldloc 7 (System.Int32)
L_0210: call Void Postfix(Int32)
L_0215: ret
DONE

### Patch RimWorld.Blueprint_Build, Verse.Thing MakeSolidThing()


L_0000: Local var 0: Verse.Thing
L_0000: ldnull
L_0001: stloc 0 (Verse.Thing)
L_0002: ldarg.0
L_0003: ldfld Verse.ThingDef def
L_0008: ldfld Verse.BuildableDef entityDefToBuild
L_000d: ldfld Verse.ThingDef frameDef
L_0012: ldarg.0
L_0013: ldfld Verse.ThingDef stuffToUse
L_0018: call Verse.Thing MakeThing(Verse.ThingDef, Verse.ThingDef)
L_001d: stloc 0 (Verse.Thing)
L_001e: ldloc 0 (Verse.Thing)
L_001f: ldarg.0
L_0020: call Void Postfix(Verse.Thing, RimWorld.Blueprint_Build)
L_0025: ldloc 0 (Verse.Thing)
L_0026: ret
DONE

### Patch Verse.AreaManager, Void ExposeData()


L_0000: ldarg.0
L_0001: call Void Prefix(Verse.AreaManager)
L_0006: ldarg.0
L_0007: ldflda System.Collections.Generic.List`1[Verse.Area] areas
L_000c: ldstr "areas"
L_0011: ldc.i4.2
L_0012: ldc.i4.0
L_0013: newarr System.Object
L_0018: call Void Look[Area](System.Collections.Generic.List`1[Verse.Area] ByRef,
System.String, LookMode, System.Object[])
L_001d: ldsfld Verse.LoadSaveMode mode
L_0022: ldc.i4.2
L_0023: bne.un Label1
L_0028: ldarg.0
L_0029: call Void UpdateAllAreasLinks()
L_002e: Label1
L_002e: ret
DONE

### Patch RimWorld.PlaySettings, Void DoPlaySettingsGlobalControls(Verse.WidgetRow,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Boolean
L_0000: Local var 3: System.Boolean
L_0000: ldarg.0
L_0001: ldfld System.Boolean showColonistBar
L_0006: stloc.0
L_0007: ldarg.2
L_0008: brfalse Label1
L_000d: call ProgramState get_ProgramState()
L_0012: ldc.i4.2
L_0013: bne.un Label2
L_0018: ldarg.1
L_0019: ldarg.0
L_001a: ldflda System.Boolean showColonistBar
L_001f: ldsfld UnityEngine.Texture2D ShowColonistBar
L_0024: ldstr "ShowColonistBarToggleButton"
L_0029: call System.String Translate(System.String)
L_002e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0033: ldnull
L_0034: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0039: Label2
L_0039: ldarg.0
L_003a: ldfld System.Boolean lockNorthUp
L_003f: stloc.1
L_0040: ldarg.1
L_0041: ldarg.0
L_0042: ldflda System.Boolean lockNorthUp
L_0047: ldsfld UnityEngine.Texture2D LockNorthUp
L_004c: ldstr "LockNorthUpToggleButton"
L_0051: call System.String Translate(System.String)
L_0056: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_005b: ldnull
L_005c: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0061: ldloc.1
L_0062: ldarg.0
L_0063: ldfld System.Boolean lockNorthUp
L_0068: beq Label3
L_006d: ldarg.0
L_006e: ldfld System.Boolean lockNorthUp
L_0073: brfalse Label4
L_0078: call RimWorld.Planet.WorldCameraDriver get_WorldCameraDriver()
L_007d: ldc.i4.1
L_007e: callvirt Void RotateSoNorthIsUp(Boolean)
L_0083: Label3
L_0083: Label4
L_0083: ldarg.1
L_0084: ldarg.0
L_0085: ldflda System.Boolean usePlanetDayNightSystem
L_008a: ldsfld UnityEngine.Texture2D UsePlanetDayNightSystem
L_008f: ldstr "UsePlanetDayNightSystemToggleButton"
L_0094: call System.String Translate(System.String)
L_0099: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_009e: ldnull
L_009f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00a4: ldarg.1
L_00a5: ldarg.0
L_00a6: ldflda System.Boolean showExpandingIcons
L_00ab: ldsfld UnityEngine.Texture2D ShowExpandingIcons
L_00b0: ldstr "ShowExpandingIconsToggleButton"
L_00b5: call System.String Translate(System.String)
L_00ba: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00bf: ldnull
L_00c0: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00c5: ldarg.1
L_00c6: ldarg.0
L_00c7: ldflda System.Boolean showWorldFeatures
L_00cc: ldsfld UnityEngine.Texture2D ShowWorldFeatures
L_00d1: ldstr "ShowWorldFeaturesToggleButton"
L_00d6: call System.String Translate(System.String)
L_00db: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00e0: ldnull
L_00e1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00e6: br Label5
L_00eb: Label1
L_00eb: ldarg.1
L_00ec: ldarg.0
L_00ed: ldflda System.Boolean showLearningHelper
L_00f2: ldsfld UnityEngine.Texture2D ShowLearningHelper
L_00f7: ldstr "ShowLearningHelperWhenEmptyToggleButton"
L_00fc: call System.String Translate(System.String)
L_0101: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0106: ldnull
L_0107: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_010c: ldarg.1
L_010d: ldarg.0
L_010e: ldflda System.Boolean showZones
L_0113: ldsfld UnityEngine.Texture2D ShowZones
L_0118: ldstr "ZoneVisibilityToggleButton"
L_011d: call System.String Translate(System.String)
L_0122: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0127: ldnull
L_0128: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_012d: ldarg.1
L_012e: ldarg.0
L_012f: ldflda System.Boolean showBeauty
L_0134: ldsfld UnityEngine.Texture2D ShowBeauty
L_0139: ldstr "ShowBeautyToggleButton"
L_013e: call System.String Translate(System.String)
L_0143: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0148: ldnull
L_0149: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_014e: ldarg.0
L_014f: ldsfld Verse.KeyBindingDef ToggleBeautyDisplay
L_0154: ldarg.0
L_0155: ldflda System.Boolean showBeauty
L_015a: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_015f: ldarg.1
L_0160: ldarg.0
L_0161: ldflda System.Boolean showRoomStats
L_0166: ldsfld UnityEngine.Texture2D ShowRoomStats
L_016b: ldstr "ShowRoomStatsToggleButton"
L_0170: call System.String Translate(System.String)
L_0175: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_017a: ldstr "InspectRoomStats"
L_017f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0184: ldarg.0
L_0185: ldsfld Verse.KeyBindingDef ToggleRoomStatsDisplay
L_018a: ldarg.0
L_018b: ldflda System.Boolean showRoomStats
L_0190: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_0195: ldarg.1
L_0196: ldarg.0
L_0197: ldflda System.Boolean showColonistBar
L_019c: ldsfld UnityEngine.Texture2D ShowColonistBar
L_01a1: ldstr "ShowColonistBarToggleButton"
L_01a6: call System.String Translate(System.String)
L_01ab: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01b0: ldnull
L_01b1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01b6: ldarg.1
L_01b7: ldarg.0
L_01b8: ldflda System.Boolean showRoofOverlay
L_01bd: ldsfld UnityEngine.Texture2D ShowRoofOverlay
L_01c2: ldstr "ShowRoofOverlayToggleButton"
L_01c7: call System.String Translate(System.String)
L_01cc: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01d1: ldnull
L_01d2: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01d7: ldarg.1
L_01d8: ldarg.0
L_01d9: ldflda System.Boolean autoHomeArea
L_01de: ldsfld UnityEngine.Texture2D AutoHomeArea
L_01e3: ldstr "AutoHomeAreaToggleButton"
L_01e8: call System.String Translate(System.String)
L_01ed: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01f2: ldnull
L_01f3: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01f8: ldarg.1
L_01f9: ldarg.0
L_01fa: ldflda System.Boolean autoRebuild
L_01ff: ldsfld UnityEngine.Texture2D AutoRebuild
L_0204: ldstr "AutoRebuildButton"
L_0209: call System.String Translate(System.String)
L_020e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0213: ldnull
L_0214: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0219: call Boolean get_ResourceReadoutCategorized()
L_021e: stloc.2
L_021f: ldloc.2
L_0220: stloc.3
L_0221: ldarg.1
L_0222: ldloca.s 2 (System.Boolean)
L_0224: ldsfld UnityEngine.Texture2D CategorizedResourceReadout
L_0229: ldstr "CategorizedResourceReadoutToggleButton"
L_022e: call System.String Translate(System.String)
L_0233: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0238: ldnull
L_0239: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_023e: ldloc.2
L_023f: ldloc.3
L_0240: beq Label6
L_0245: ldloc.2
L_0246: call Void set_ResourceReadoutCategorized(Boolean)
L_024b: Label5
L_024b: Label6
L_024b: ldloc.0
L_024c: ldarg.0
L_024d: ldfld System.Boolean showColonistBar
L_0252: beq Label7
L_0257: call RimWorld.ColonistBar get_ColonistBar()
L_025c: callvirt Void MarkColonistsDirty()
L_0261: Label7
L_0261: ldarg 1
L_0267: ldarg 2
L_026d: call Void AddButton(Verse.WidgetRow, Boolean)
L_0272: ldarg 1
L_0278: ldarg 2
L_027e: call Void AddButton(Verse.WidgetRow, Boolean)
L_0283: ldarg 1
L_0289: ldarg 2
L_028f: call Void AddButton(Verse.WidgetRow, Boolean)
L_0294: ldarg 1
L_029a: ldarg 2
L_02a0: call Void Postfix(Verse.WidgetRow, Boolean)
L_02a5: ret
DONE

### Patch Verse.Game, Void UpdatePlay()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.TickManager tickManager
L_0006: callvirt Void TickManagerUpdate()
L_000b: ldarg.0
L_000c: ldfld Verse.LetterStack letterStack
L_0011: callvirt Void LetterStackUpdate()
L_0016: ldarg.0
L_0017: call RimWorld.Planet.World get_World()
L_001c: callvirt Void WorldUpdate()
L_0021: ldc.i4.0
L_0022: stloc.0
L_0023: br Label1
L_0028: Label2
L_0028: ldarg.0
L_0029: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_002e: ldloc.0
L_002f: callvirt Verse.Map get_Item(Int32)
L_0034: callvirt Void MapUpdate()
L_0039: ldloc.0
L_003a: ldc.i4.1
L_003b: add
L_003c: stloc.0
L_003d: Label1
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0044: callvirt Int32 get_Count()
L_0049: blt Label2
L_004e: ldarg.0
L_004f: call Verse.GameInfo get_Info()
L_0054: callvirt Void GameInfoUpdate()
L_0059: call Void GameComponentUpdate()
L_005e: call Void Postfix()
L_0063: ret
DONE

### Patch Verse.EdificeGrid, Void Register(Verse.Building)


L_0000: Local var 0: Verse.CellIndices
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.IntVec3
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean RegisterDoorExpanded(Verse.EdificeGrid, Verse.Building)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld Verse.Map map
L_0017: ldfld Verse.CellIndices cellIndices
L_001c: stloc.0
L_001d: ldarg.1
L_001e: call CellRect OccupiedRect(Verse.Thing)
L_0023: stloc.1
L_0024: ldloca.s 1 (Verse.CellRect)
L_0026: ldfld System.Int32 minZ
L_002b: stloc.2
L_002c: br Label1
L_0031: Label7
L_0031: ldloca.s 1 (Verse.CellRect)
L_0033: ldfld System.Int32 minX
L_0038: stloc.3
L_0039: br Label2
L_003e: Label6
L_003e: ldloca.s 4 (Verse.IntVec3)
L_0040: ldloc.3
L_0041: ldc.i4.0
L_0042: ldloc.2
L_0043: call Void .ctor(Int32, Int32, Int32)
L_0048: ldsfld System.Boolean isDebugBuild
L_004d: brfalse Label3
L_0052: ldarg.0
L_0053: ldloc.s 4 (Verse.IntVec3)
L_0055: call Verse.Building get_Item(IntVec3)
L_005a: brfalse Label4
L_005f: ldarg.0
L_0060: ldloc.s 4 (Verse.IntVec3)
L_0062: call Verse.Building get_Item(IntVec3)
L_0067: callvirt Boolean get_Destroyed()
L_006c: brtrue Label5
L_0071: ldc.i4.7
L_0072: newarr System.Object
L_0077: dup
L_0078: ldc.i4.0
L_0079: ldstr "Added edifice "
L_007e: stelem.ref
L_007f: dup
L_0080: ldc.i4.1
L_0081: ldarg.1
L_0082: callvirt System.String get_LabelCap()
L_0087: stelem.ref
L_0088: dup
L_0089: ldc.i4.2
L_008a: ldstr " over edifice "
L_008f: stelem.ref
L_0090: dup
L_0091: ldc.i4.3
L_0092: ldarg.0
L_0093: ldloc.s 4 (Verse.IntVec3)
L_0095: call Verse.Building get_Item(IntVec3)
L_009a: callvirt System.String get_LabelCap()
L_009f: stelem.ref
L_00a0: dup
L_00a1: ldc.i4.4
L_00a2: ldstr " at "
L_00a7: stelem.ref
L_00a8: dup
L_00a9: ldc.i4.5
L_00aa: ldloc.s 4 (Verse.IntVec3)
L_00ac: box Verse.IntVec3
L_00b1: stelem.ref
L_00b2: dup
L_00b3: ldc.i4.6
L_00b4: ldstr ". Destroying old edifice."
L_00b9: stelem.ref
L_00ba: call System.String Concat(System.Object[])
L_00bf: ldc.i4.0
L_00c0: call Void Error(System.String, Boolean)
L_00c5: ldarg.0
L_00c6: ldloc.s 4 (Verse.IntVec3)
L_00c8: call Verse.Building get_Item(IntVec3)
L_00cd: ldc.i4.0
L_00ce: callvirt Void Destroy(DestroyMode)
L_00d3: br Label8
L_00d8: Label3
L_00d8: Label4
L_00d8: Label5
L_00d8: ldarg.0
L_00d9: ldfld Verse.Building[] innerArray
L_00de: ldloc.0
L_00df: ldloc.s 4 (Verse.IntVec3)
L_00e1: callvirt Int32 CellToIndex(IntVec3)
L_00e6: ldarg.1
L_00e7: stelem.ref
L_00e8: ldloc.3
L_00e9: ldc.i4.1
L_00ea: add
L_00eb: stloc.3
L_00ec: Label2
L_00ec: ldloc.3
L_00ed: ldloca.s 1 (Verse.CellRect)
L_00ef: ldfld System.Int32 maxX
L_00f4: ble Label6
L_00f9: ldloc.2
L_00fa: ldc.i4.1
L_00fb: add
L_00fc: stloc.2
L_00fd: Label1
L_00fd: ldloc.2
L_00fe: ldloca.s 1 (Verse.CellRect)
L_0100: ldfld System.Int32 maxZ
L_0105: ble Label7
L_010a: Label8
L_010a: Label0
L_010a: ret
DONE

### Patch RimWorld.Building_Door, Void DoorOpen(Int32)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorOpen(RimWorld.Building_Door, Int32)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean openInt
L_0017: brfalse Label1
L_001c: ldarg.0
L_001d: ldarg.1
L_001e: stfld System.Int32 ticksUntilClose
L_0023: br Label2
L_0028: Label1
L_0028: ldarg.0
L_0029: ldarg.0
L_002a: call Int32 get_TicksToOpenNow()
L_002f: ldarg.1
L_0030: add
L_0031: stfld System.Int32 ticksUntilClose
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld System.Boolean openInt
L_003c: brtrue Label3
L_0041: ldarg.0
L_0042: ldc.i4.1
L_0043: stfld System.Boolean openInt
L_0048: ldarg.0
L_0049: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_004e: ldarg.0
L_004f: call Boolean get_DoorPowerOn()
L_0054: brfalse Label4
L_0059: ldarg.0
L_005a: ldfld Verse.ThingDef def
L_005f: ldfld RimWorld.BuildingProperties building
L_0064: ldfld Verse.SoundDef soundDoorOpenPowered
L_0069: ldarg.0
L_006a: call IntVec3 get_Position()
L_006f: ldarg.0
L_0070: call Verse.Map get_Map()
L_0075: ldc.i4.0
L_0076: newobj Void .ctor(IntVec3, Map, Boolean)
L_007b: call SoundInfo op_Implicit(TargetInfo)
L_0080: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0085: br Label5
L_008a: Label4
L_008a: ldarg.0
L_008b: ldfld Verse.ThingDef def
L_0090: ldfld RimWorld.BuildingProperties building
L_0095: ldfld Verse.SoundDef soundDoorOpenManual
L_009a: ldarg.0
L_009b: call IntVec3 get_Position()
L_00a0: ldarg.0
L_00a1: call Verse.Map get_Map()
L_00a6: ldc.i4.0
L_00a7: newobj Void .ctor(IntVec3, Map, Boolean)
L_00ac: call SoundInfo op_Implicit(TargetInfo)
L_00b1: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00b6: Label3
L_00b6: Label5
L_00b6: Label0
L_00b6: ret
DONE

### Patch RimWorld.Building_Door, Boolean DoorTryClose()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InvisDoorTryClose(RimWorld.Building_Door)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean holdOpenInt
L_0017: brtrue Label1
L_001c: ldarg.0
L_001d: call Boolean get_BlockedOpenMomentary()
L_0022: brfalse Label2
L_0027: Label1
L_0027: ldc.i4.0
L_0028: br Label5
L_002d: Label2
L_002d: ldarg.0
L_002e: ldc.i4.0
L_002f: stfld System.Boolean openInt
L_0034: ldarg.0
L_0035: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_003a: ldarg.0
L_003b: call Boolean get_DoorPowerOn()
L_0040: brfalse Label3
L_0045: ldarg.0
L_0046: ldfld Verse.ThingDef def
L_004b: ldfld RimWorld.BuildingProperties building
L_0050: ldfld Verse.SoundDef soundDoorClosePowered
L_0055: ldarg.0
L_0056: call IntVec3 get_Position()
L_005b: ldarg.0
L_005c: call Verse.Map get_Map()
L_0061: ldc.i4.0
L_0062: newobj Void .ctor(IntVec3, Map, Boolean)
L_0067: call SoundInfo op_Implicit(TargetInfo)
L_006c: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0071: br Label4
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.ThingDef def
L_007c: ldfld RimWorld.BuildingProperties building
L_0081: ldfld Verse.SoundDef soundDoorCloseManual
L_0086: ldarg.0
L_0087: call IntVec3 get_Position()
L_008c: ldarg.0
L_008d: call Verse.Map get_Map()
L_0092: ldc.i4.0
L_0093: newobj Void .ctor(IntVec3, Map, Boolean)
L_0098: call SoundInfo op_Implicit(TargetInfo)
L_009d: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00a2: Label4
L_00a2: ldc.i4.1
L_00a3: Label5
L_00a3: stloc 0 (System.Boolean)
L_00a4: Label0
L_00a4: ldloc 0 (System.Boolean)
L_00a5: ret
DONE

### Patch RimWorld.Building_Door, Void Notify_PawnApproaching(Verse.Pawn, Int32)


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void CheckFriendlyTouched(Verse.Pawn)
L_0007: ldarg.0
L_0008: ldarg.1
L_0009: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_000e: brfalse Label1
L_0013: ldarg.0
L_0014: call Verse.Map get_Map()
L_0019: ldfld Verse.FogGrid fogGrid
L_001e: ldarg.0
L_001f: ldarg.1
L_0020: callvirt Void Notify_PawnEnteringDoor(RimWorld.Building_Door, Verse.Pawn)
L_0025: ldarg.0
L_0026: call Boolean get_SlowsPawns()
L_002b: brtrue Label2
L_0030: ldc.i4 300
L_0035: ldarg.2
L_0036: ldc.i4.1
L_0037: add
L_0038: call Int32 Max(Int32, Int32)
L_003d: stloc.0
L_003e: ldarg.0
L_003f: ldloc.0
L_0040: call Void DoorOpen(Int32)
L_0045: Label1
L_0045: Label2
L_0045: ldarg.0
L_0046: ldarg 1
L_004c: call Void InvisDoorNotifyApproaching(RimWorld.Building_Door, Verse.Pawn)
L_0051: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualCloseBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorManualClose(RimWorld.Building_Door, Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldc.i4.s 110
L_0014: stfld System.Int32 ticksUntilClose
L_0019: Label0
L_0019: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualOpenBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldc.i4.s 110
L_0003: call Void DoorOpen(Int32)
L_0008: ldarg.0
L_0009: ldarg 1
L_000f: call Void InvisDoorManualOpen(RimWorld.Building_Door, Verse.Pawn)
L_0014: ret
DONE

### Patch RimWorld.Building_Door, Boolean get_FreePassage()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean get_FreePassage(RimWorld.Building_Door, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: ldfld System.Boolean openInt
L_0019: brtrue Label1
L_001e: ldc.i4.0
L_001f: br Label4
L_0024: Label1
L_0024: ldarg.0
L_0025: ldfld System.Boolean holdOpenInt
L_002a: brtrue Label2
L_002f: ldarg.0
L_0030: call Boolean get_WillCloseSoon()
L_0035: ldc.i4.0
L_0036: ceq
L_0038: br Label3
L_003d: Label2
L_003d: ldc.i4.1
L_003e: Label3
L_003e: Label4
L_003e: stloc 0 (System.Boolean)
L_003f: Label0
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.GhostDrawer, Void DrawGhostThing(IntVec3, Rot4, Verse.ThingDef,


Verse.Graphic, Color, AltitudeLayer)
L_0000: Local var 0: Verse.Graphic
L_0000: Local var 1: UnityEngine.Vector3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: ldarg 5
L_0024: call Boolean HeronDoorGhostHandler(IntVec3, Rot4, Verse.ThingDef,
Verse.Graphic, Color, AltitudeLayer)
L_0029: brfalse Label0
L_002e: ldarg.3
L_002f: brtrue Label1
L_0034: ldarg.2
L_0035: ldfld Verse.Graphic graphic
L_003a: starg.s 3
L_003c: Label1
L_003c: ldarg.3
L_003d: ldarg.2
L_003e: ldarg.s 4
L_0040: call Verse.Graphic GhostGraphicFor(Verse.Graphic, Verse.ThingDef, Color)
L_0045: stloc.0
L_0046: ldarg.0
L_0047: ldarg.1
L_0048: ldarg.2
L_0049: callvirt IntVec2 get_Size()
L_004e: ldarg.s 5
L_0050: call Single AltitudeFor(AltitudeLayer)
L_0055: call Vector3 TrueCenter(IntVec3, Rot4, IntVec2, Single)
L_005a: stloc.1
L_005b: ldloc.0
L_005c: ldloc.1
L_005d: ldarg.1
L_005e: ldarg.2
L_005f: ldc.r4 0
L_0064: callvirt Void DrawFromDef(Vector3, Rot4, Verse.ThingDef, Single)
L_0069: ldc.i4.0
L_006a: stloc.2
L_006b: br Label2
L_0070: Label3
L_0070: ldarg.2
L_0071: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0076: ldloc.2
L_0077: callvirt Verse.CompProperties get_Item(Int32)
L_007c: ldarg.0
L_007d: ldarg.1
L_007e: ldarg.2
L_007f: ldarg.s 4
L_0081: ldarg.s 5
L_0083: callvirt Void DrawGhost(IntVec3, Rot4, Verse.ThingDef, Color,
AltitudeLayer)
L_0088: ldloc.2
L_0089: ldc.i4.1
L_008a: add
L_008b: stloc.2
L_008c: Label2
L_008c: ldloc.2
L_008d: ldarg.2
L_008e: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0093: callvirt Int32 get_Count()
L_0098: blt Label3
L_009d: ldarg.2
L_009e: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00a3: brfalse Label4
L_00a8: ldc.i4.0
L_00a9: stloc.3
L_00aa: br Label5
L_00af: Label6
L_00af: ldarg.2
L_00b0: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00b5: ldloc.3
L_00b6: callvirt Verse.PlaceWorker get_Item(Int32)
L_00bb: ldarg.2
L_00bc: ldarg.0
L_00bd: ldarg.1
L_00be: ldarg.s 4
L_00c0: callvirt Void DrawGhost(Verse.ThingDef, IntVec3, Rot4, Color)
L_00c5: ldloc.3
L_00c6: ldc.i4.1
L_00c7: add
L_00c8: stloc.3
L_00c9: Label5
L_00c9: ldloc.3
L_00ca: ldarg.2
L_00cb: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00d0: callvirt Int32 get_Count()
L_00d5: blt Label6
L_00da: Label4
L_00da: Label0
L_00da: ret
DONE

### Patch Verse.GenSpawn, Void SpawnBuildingAsPossible(Verse.Building, Verse.Map,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.CellRect
L_0000: Local var 5: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: call Boolean HeronSpawnBuildingAsPossible(Verse.Building, Verse.Map,
Boolean)
L_0017: brfalse Label0
L_001c: ldc.i4.0
L_001d: stloc.0
L_001e: ldarg.0
L_001f: call CellRect OccupiedRect(Verse.Thing)
L_0024: stloc.1
L_0025: ldloca.s 1 (Verse.CellRect)
L_0027: ldarg.1
L_0028: call Boolean InBounds(Verse.Map)
L_002d: brtrue Label1
L_0032: ldc.i4.1
L_0033: stloc.0
L_0034: br Label2
L_0039: Label1
L_0039: ldarg.0
L_003a: call CellRect OccupiedRect(Verse.Thing)
L_003f: stloc.s 4 (Verse.CellRect)
L_0041: ldloca.s 4 (Verse.CellRect)
L_0043: call IEnumerator`1 GetEnumerator()
L_0048: stloc.3
.try
{
L_0049: br Label3
L_004e: Label15
L_004e: ldloc.3
L_004f: callvirt IntVec3 get_Current()
L_0054: stloc.2
L_0055: ldloc.2
L_0056: ldarg.1
L_0057: call System.Collections.Generic.List`1[Verse.Thing]
GetThingList(IntVec3, Verse.Map)
L_005c: stloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_005e: ldc.i4.0
L_005f: stloc.s 6 (System.Int32)
L_0061: br Label4
L_0066: Label12
L_0066: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0068: ldloc.s 6 (System.Int32)
L_006a: callvirt Verse.Thing get_Item(Int32)
L_006f: isinst Verse.Pawn
L_0074: brfalse Label5
L_0079: ldarg.0
L_007a: ldfld Verse.ThingDef def
L_007f: ldfld Verse.Traversability passability
L_0084: ldc.i4.2
L_0085: bne.un Label6
L_008a: ldc.i4.1
L_008b: stloc.0
L_008c: leave Label7
L_0091: Label5
L_0091: Label6
L_0091: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0093: ldloc.s 6 (System.Int32)
L_0095: callvirt Verse.Thing get_Item(Int32)
L_009a: ldfld Verse.ThingDef def
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.3
L_00a5: beq Label8
L_00aa: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00ac: ldloc.s 6 (System.Int32)
L_00ae: callvirt Verse.Thing get_Item(Int32)
L_00b3: ldfld Verse.ThingDef def
L_00b8: ldfld Verse.ThingCategory category
L_00bd: ldc.i4.2
L_00be: bne.un Label9
L_00c3: Label8
L_00c3: ldarg.0
L_00c4: ldfld Verse.ThingDef def
L_00c9: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00cb: ldloc.s 6 (System.Int32)
L_00cd: callvirt Verse.Thing get_Item(Int32)
L_00d2: ldfld Verse.ThingDef def
L_00d7: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00dc: brfalse Label10
L_00e1: ldc.i4.1
L_00e2: stloc.0
L_00e3: leave Label11
L_00e8: Label9
L_00e8: Label10
L_00e8: ldloc.s 6 (System.Int32)
L_00ea: ldc.i4.1
L_00eb: add
L_00ec: stloc.s 6 (System.Int32)
L_00ee: Label4
L_00ee: ldloc.s 6 (System.Int32)
L_00f0: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00f2: callvirt Int32 get_Count()
L_00f7: blt Label12
L_00fc: Label7
L_00fc: Label11
L_00fc: ldloc.0
L_00fd: brfalse Label13
L_0102: leave Label14
L_0107: Label3
L_0107: Label13
L_0107: ldloc.3
L_0108: callvirt Boolean MoveNext()
L_010d: brtrue Label15
L_0112: Label14
L_0112: leave Label16
L_0117: leave (autogenerated)
} // end try
.finally
{
L_011c: ldloc.3
L_011d: brfalse Label17
L_0122: ldloc.3
L_0123: callvirt Void Dispose()
L_0128: Label17
L_0128: endfinally
L_0129: leave (autogenerated)
} // end handler
L_012a: Label2
L_012a: Label16
L_012a: ldloc.0
L_012b: brfalse Label18
L_0130: ldarg.0
L_0131: ldarg.1
L_0132: call CellRect get_Empty()
L_0137: call Void Refund(Verse.Thing, Verse.Map, CellRect)
L_013c: br Label19
L_0141: Label18
L_0141: ldarg.0
L_0142: ldarg.0
L_0143: callvirt IntVec3 get_Position()
L_0148: ldarg.1
L_0149: ldarg.0
L_014a: callvirt Rot4 get_Rotation()
L_014f: ldc.i4.1
L_0150: ldarg.2
L_0151: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0156: pop
L_0157: Label19
L_0157: Label0
L_0157: ret
DONE

### Patch Verse.GenSpawn, Void WipeExistingThings(IntVec3, Rot4,


Verse.BuildableDef, Verse.Map, DestroyMode)
L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: call Boolean WipeExistingThings(IntVec3, Rot4, Verse.BuildableDef,
Verse.Map, DestroyMode)
L_0023: brfalse Label0
L_0028: ldarg.0
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: callvirt IntVec2 get_Size()
L_0030: call IEnumerable`1 CellsOccupiedBy(IntVec3, Rot4, IntVec2)
L_0035: callvirt IEnumerator`1 GetEnumerator()
L_003a: stloc.1
.try
{
L_003b: br Label1
L_0040: Label6
L_0040: ldloc.1
L_0041: callvirt IntVec3 get_Current()
L_0046: stloc.0
L_0047: ldarg.3
L_0048: ldfld Verse.ThingGrid thingGrid
L_004d: ldloc.0
L_004e: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_0053: call System.Collections.Generic.List`1[Verse.Thing] ToList[Thing]
(IEnumerable`1)
L_0058: callvirt Enumerator GetEnumerator()
L_005d: stloc.3
.try
{
L_005e: br Label2
L_0063: Label4
L_0063: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0065: call Verse.Thing get_Current()
L_006a: stloc.2
L_006b: ldarg.2
L_006c: ldloc.2
L_006d: ldfld Verse.ThingDef def
L_0072: call Boolean SpawningWipes(Verse.BuildableDef,
Verse.BuildableDef)
L_0077: brfalse Label3
L_007c: ldloc.2
L_007d: ldarg.s 4
L_007f: callvirt Void Destroy(DestroyMode)
L_0084: Label2
L_0084: Label3
L_0084: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0086: call Boolean MoveNext()
L_008b: brtrue Label4
L_0090: leave Label5
L_0095: leave (autogenerated)
} // end try
.finally
{
L_009a: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_009c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_00a2: callvirt Void Dispose()
L_00a7: endfinally
L_00a8: leave (autogenerated)
} // end handler
L_00a9: Label1
L_00a9: Label5
L_00a9: ldloc.1
L_00aa: callvirt Boolean MoveNext()
L_00af: brtrue Label6
L_00b4: leave Label7
L_00b9: leave (autogenerated)
} // end try
.finally
{
L_00be: ldloc.1
L_00bf: brfalse Label8
L_00c4: ldloc.1
L_00c5: callvirt Void Dispose()
L_00ca: Label8
L_00ca: endfinally
L_00cb: leave (autogenerated)
} // end handler
L_00cc: Label7
L_00cc: Label0
L_00cc: ret
DONE

### Patch Verse.GenSpawn, Boolean SpawningWipes(Verse.BuildableDef,


Verse.BuildableDef)
L_0000: Local var 0: Verse.ThingDef
L_0000: Local var 1: Verse.ThingDef
L_0000: Local var 2: Verse.BuildableDef
L_0000: Local var 3: Verse.BuildableDef
L_0000: Local var 4: Verse.ThingDef
L_0000: Local var 5: Verse.ThingDef
L_0000: Local var 6: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 6 (System.Boolean)
L_0007: ldarg.0
L_0008: isinst Verse.ThingDef
L_000d: stloc.0
L_000e: ldarg.1
L_000f: isinst Verse.ThingDef
L_0014: stloc.1
L_0015: ldloc.0
L_0016: brfalse Label1
L_001b: ldloc.1
L_001c: brtrue Label2
L_0021: Label1
L_0021: ldc.i4.0
L_0022: br Label49
L_0027: Label2
L_0027: ldloc.0
L_0028: ldfld Verse.ThingCategory category
L_002d: ldc.i4.8
L_002e: beq Label3
L_0033: ldloc.0
L_0034: ldfld Verse.ThingCategory category
L_0039: ldc.i4.s 9
L_003b: beq Label4
L_0040: ldloc.0
L_0041: ldfld Verse.ThingCategory category
L_0046: ldc.i4.6
L_0047: beq Label5
L_004c: ldloc.0
L_004d: ldfld Verse.ThingCategory category
L_0052: ldc.i4.5
L_0053: bne.un Label6
L_0058: Label3
L_0058: Label4
L_0058: Label5
L_0058: ldc.i4.0
L_0059: br Label50
L_005e: Label6
L_005e: ldloc.1
L_005f: ldfld System.Boolean destroyable
L_0064: brtrue Label7
L_0069: ldc.i4.0
L_006a: br Label51
L_006f: Label7
L_006f: ldloc.0
L_0070: ldfld Verse.ThingCategory category
L_0075: ldc.i4.4
L_0076: bne.un Label8
L_007b: ldc.i4.0
L_007c: br Label52
L_0081: Label8
L_0081: ldloc.1
L_0082: ldfld Verse.ThingCategory category
L_0087: ldc.i4.6
L_0088: bne.un Label9
L_008d: ldloc.0
L_008e: ldfld Verse.Traversability passability
L_0093: brfalse Label10
L_0098: ldc.i4.1
L_0099: br Label53
L_009e: Label9
L_009e: Label10
L_009e: ldloc.1
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.2
L_00a5: bne.un Label11
L_00aa: ldloc.0
L_00ab: ldfld Verse.Traversability passability
L_00b0: ldc.i4.2
L_00b1: bne.un Label12
L_00b6: ldloc.0
L_00b7: ldfld Verse.SurfaceType surfaceType
L_00bc: brtrue Label13
L_00c1: ldc.i4.1
L_00c2: br Label54
L_00c7: Label11
L_00c7: Label12
L_00c7: Label13
L_00c7: ldloc.0
L_00c8: callvirt Boolean get_EverTransmitsPower()
L_00cd: brfalse Label14
L_00d2: ldloc.1
L_00d3: ldsfld Verse.ThingDef PowerConduit
L_00d8: bne.un Label15
L_00dd: ldc.i4.1
L_00de: br Label55
L_00e3: Label14
L_00e3: Label15
L_00e3: ldloc.0
L_00e4: callvirt Boolean get_IsFrame()
L_00e9: brfalse Label16
L_00ee: ldloc.0
L_00ef: ldfld Verse.BuildableDef entityDefToBuild
L_00f4: ldarg.1
L_00f5: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00fa: brfalse Label17
L_00ff: ldc.i4.1
L_0100: br Label56
L_0105: Label16
L_0105: Label17
L_0105: ldloc.0
L_0106: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_010b: stloc.2
L_010c: ldloc.1
L_010d: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_0112: stloc.3
L_0113: ldloc.2
L_0114: brfalse Label18
L_0119: ldloc.3
L_011a: brtrue Label19
L_011f: Label18
L_011f: ldc.i4.0
L_0120: br Label57
L_0125: Label19
L_0125: ldloc.0
L_0126: ldfld Verse.BuildableDef entityDefToBuild
L_012b: isinst Verse.ThingDef
L_0130: stloc.s 4 (Verse.ThingDef)
L_0132: ldloc.1
L_0133: callvirt Boolean get_IsBlueprint()
L_0138: brfalse Label20
L_013d: ldloc.0
L_013e: callvirt Boolean get_IsBlueprint()
L_0143: brfalse Label21
L_0148: ldloc.s 4 (Verse.ThingDef)
L_014a: brfalse Label22
L_014f: ldloc.s 4 (Verse.ThingDef)
L_0151: ldfld RimWorld.BuildingProperties building
L_0156: brfalse Label23
L_015b: ldloc.s 4 (Verse.ThingDef)
L_015d: ldfld RimWorld.BuildingProperties building
L_0162: ldfld System.Boolean canPlaceOverWall
L_0167: brfalse Label24
L_016c: ldloc.1
L_016d: ldfld Verse.BuildableDef entityDefToBuild
L_0172: isinst Verse.ThingDef
L_0177: brfalse Label25
L_017c: ldloc.1
L_017d: ldfld Verse.BuildableDef entityDefToBuild
L_0182: castclass Verse.ThingDef
L_0187: ldsfld Verse.ThingDef Wall
L_018c: bne.un Label26
L_0191: ldc.i4.1
L_0192: br Label58
L_0197: Label22
L_0197: Label23
L_0197: Label24
L_0197: Label25
L_0197: Label26
L_0197: ldloc.1
L_0198: ldfld Verse.BuildableDef entityDefToBuild
L_019d: isinst Verse.TerrainDef
L_01a2: brfalse Label27
L_01a7: ldloc.0
L_01a8: ldfld Verse.BuildableDef entityDefToBuild
L_01ad: isinst Verse.ThingDef
L_01b2: brfalse Label28
L_01b7: ldloc.0
L_01b8: ldfld Verse.BuildableDef entityDefToBuild
L_01bd: castclass Verse.ThingDef
L_01c2: ldfld System.Boolean coversFloor
L_01c7: brfalse Label29
L_01cc: ldc.i4.1
L_01cd: br Label59
L_01d2: Label28
L_01d2: Label29
L_01d2: ldloc.0
L_01d3: ldfld Verse.BuildableDef entityDefToBuild
L_01d8: isinst Verse.TerrainDef
L_01dd: brfalse Label30
L_01e2: ldc.i4.1
L_01e3: br Label60
L_01e8: Label21
L_01e8: Label27
L_01e8: Label30
L_01e8: ldloc.1
L_01e9: ldfld Verse.BuildableDef entityDefToBuild
L_01ee: ldsfld Verse.ThingDef PowerConduit
L_01f3: bne.un Label31
L_01f8: ldloc.0
L_01f9: ldfld Verse.BuildableDef entityDefToBuild
L_01fe: isinst Verse.ThingDef
L_0203: brfalse Label32
L_0208: ldloc.0
L_0209: ldfld Verse.BuildableDef entityDefToBuild
L_020e: isinst Verse.ThingDef
L_0213: callvirt Boolean get_EverTransmitsPower()
L_0218: brfalse Label33
L_021d: ldc.i4.1
L_021e: br Label61
L_0223: Label31
L_0223: Label32
L_0223: Label33
L_0223: ldc.i4.0
L_0224: br Label62
L_0229: Label20
L_0229: ldloc.1
L_022a: callvirt Boolean get_IsFrame()
L_022f: brtrue Label34
L_0234: ldloc.1
L_0235: callvirt Boolean get_IsBlueprint()
L_023a: brfalse Label35
L_023f: Label34
L_023f: ldloc.1
L_0240: ldfld Verse.BuildableDef entityDefToBuild
L_0245: isinst Verse.TerrainDef
L_024a: brfalse Label36
L_024f: ldloc.2
L_0250: isinst Verse.ThingDef
L_0255: stloc.s 5 (Verse.ThingDef)
L_0257: ldloc.s 5 (Verse.ThingDef)
L_0259: brfalse Label37
L_025e: ldloc.s 5 (Verse.ThingDef)
L_0260: callvirt Boolean get_CoexistsWithFloors()
L_0265: brtrue Label38
L_026a: ldc.i4.1
L_026b: br Label63
L_0270: Label35
L_0270: Label36
L_0270: Label37
L_0270: Label38
L_0270: ldloc.1
L_0271: ldsfld Verse.ThingDef ActiveDropPod
L_0276: bne.un Label39
L_027b: ldc.i4.0
L_027c: br Label64
L_0281: Label39
L_0281: ldloc.0
L_0282: ldsfld Verse.ThingDef ActiveDropPod
L_0287: bne.un Label40
L_028c: ldloc.1
L_028d: ldsfld Verse.ThingDef ActiveDropPod
L_0292: bne.un Label41
L_0297: ldc.i4.0
L_0298: br Label65
L_029d: Label41
L_029d: ldloc.1
L_029e: ldfld Verse.ThingCategory category
L_02a3: ldc.i4.3
L_02a4: bne.un Label42
L_02a9: ldloc.1
L_02aa: ldfld Verse.Traversability passability
L_02af: ldc.i4.2
L_02b0: bne.un Label43
L_02b5: ldc.i4.1
L_02b6: br Label66
L_02bb: Label42
L_02bb: Label43
L_02bb: ldc.i4.0
L_02bc: br Label67
L_02c1: Label40
L_02c1: ldloc.0
L_02c2: call Boolean IsEdifice(Verse.BuildableDef)
L_02c7: brfalse Label44
L_02cc: ldloc.0
L_02cd: callvirt Boolean get_BlockPlanting()
L_02d2: brfalse Label45
L_02d7: ldloc.1
L_02d8: ldfld Verse.ThingCategory category
L_02dd: ldc.i4.4
L_02de: bne.un Label46
L_02e3: ldc.i4.1
L_02e4: br Label68
L_02e9: Label45
L_02e9: Label46
L_02e9: ldloc.2
L_02ea: isinst Verse.TerrainDef
L_02ef: brtrue Label47
L_02f4: ldloc.3
L_02f5: call Boolean IsEdifice(Verse.BuildableDef)
L_02fa: brfalse Label48
L_02ff: ldc.i4.1
L_0300: br Label69
L_0305: Label44
L_0305: Label47
L_0305: Label48
L_0305: ldc.i4.0
L_0306: Label49
L_0306: Label50
L_0306: Label51
L_0306: Label52
L_0306: Label53
L_0306: Label54
L_0306: Label55
L_0306: Label56
L_0306: Label57
L_0306: Label58
L_0306: Label59
L_0306: Label60
L_0306: Label61
L_0306: Label62
L_0306: Label63
L_0306: Label64
L_0306: Label65
L_0306: Label66
L_0306: Label67
L_0306: Label68
L_0306: Label69
L_0306: stloc 6 (System.Boolean)
L_0308: ldarg 0
L_030e: ldarg 1
L_0314: ldloca 6 (System.Boolean)
L_0316: call Void InvisDoorsDontWipe(Verse.BuildableDef, Verse.BuildableDef,
Boolean ByRef)
L_031b: ldloc 6 (System.Boolean)
L_031d: ret
DONE

### Patch Verse.AI.GenPath, Boolean ShouldNotEnterCell(Verse.Pawn, Verse.Map,


IntVec3)
L_0000: Local var 0: Verse.Building
L_0000: Local var 1: RimWorld.Building_Door
L_0000: Local var 2: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.1
L_0007: ldfld Verse.AI.PathGrid pathGrid
L_000c: ldarg.2
L_000d: callvirt Int32 PerceivedPathCostAt(IntVec3)
L_0012: ldc.i4.s 30
L_0014: ble Label1
L_0019: ldc.i4.1
L_001a: br Label9
L_001f: Label1
L_001f: ldarg.2
L_0020: ldarg.1
L_0021: call Boolean Walkable(IntVec3, Verse.Map)
L_0026: brtrue Label2
L_002b: ldc.i4.1
L_002c: br Label10
L_0031: Label2
L_0031: ldarg.0
L_0032: brfalse Label3
L_0037: ldarg.2
L_0038: ldarg.0
L_0039: call Boolean IsForbidden(IntVec3, Verse.Pawn)
L_003e: brfalse Label4
L_0043: ldc.i4.1
L_0044: br Label11
L_0049: Label4
L_0049: ldarg.2
L_004a: ldarg.1
L_004b: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0050: stloc.0
L_0051: ldloc.0
L_0052: brfalse Label5
L_0057: ldloc.0
L_0058: isinst RimWorld.Building_Door
L_005d: stloc.1
L_005e: ldloc.1
L_005f: brfalse Label6
L_0064: ldloc.1
L_0065: ldarg.0
L_0066: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_006b: brfalse Label7
L_0070: ldc.i4.1
L_0071: br Label12
L_0076: Label7
L_0076: ldloc.1
L_0077: ldarg.0
L_0078: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_007d: brtrue Label8
L_0082: ldc.i4.1
L_0083: br Label13
L_0088: Label3
L_0088: Label5
L_0088: Label6
L_0088: Label8
L_0088: ldc.i4.0
L_0089: Label9
L_0089: Label10
L_0089: Label11
L_0089: Label12
L_0089: Label13
L_0089: stloc 2 (System.Boolean)
L_008a: ldarg 0
L_0090: ldarg 1
L_0096: ldarg 2
L_009c: ldloca 2 (System.Boolean)
L_009e: call Void ShouldNotEnterCellInvisDoors(Verse.Pawn, Verse.Map, IntVec3,
Boolean ByRef)
L_00a3: ldloc 2 (System.Boolean)
L_00a4: ret
DONE

### Patch RimWorld.CompForbiddable, Void PostDraw()


L_0000: ldarg.0
L_0001: call Boolean DontDrawInvisDoorForbiddenIcons(RimWorld.CompForbiddable)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld System.Boolean forbiddenInt
L_0011: brfalse Label1
L_0016: ldarg.0
L_0017: ldfld Verse.ThingWithComps parent
L_001c: isinst RimWorld.Blueprint
L_0021: brtrue Label2
L_0026: ldarg.0
L_0027: ldfld Verse.ThingWithComps parent
L_002c: isinst RimWorld.Frame
L_0031: brfalse Label3
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld Verse.ThingWithComps parent
L_003c: ldfld Verse.ThingDef def
L_0041: ldflda Verse.IntVec2 size
L_0046: ldfld System.Int32 x
L_004b: ldc.i4.1
L_004c: bgt Label4
L_0051: ldarg.0
L_0052: ldfld Verse.ThingWithComps parent
L_0057: ldfld Verse.ThingDef def
L_005c: ldflda Verse.IntVec2 size
L_0061: ldfld System.Int32 z
L_0066: ldc.i4.1
L_0067: ble Label5
L_006c: Label4
L_006c: ldarg.0
L_006d: ldfld Verse.ThingWithComps parent
L_0072: callvirt Verse.Map get_Map()
L_0077: ldfld RimWorld.OverlayDrawer overlayDrawer
L_007c: ldarg.0
L_007d: ldfld Verse.ThingWithComps parent
L_0082: ldc.i4.s 16
L_0084: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0089: br Label6
L_008e: Label5
L_008e: ldarg.0
L_008f: ldfld Verse.ThingWithComps parent
L_0094: callvirt Verse.Map get_Map()
L_0099: ldfld RimWorld.OverlayDrawer overlayDrawer
L_009e: ldarg.0
L_009f: ldfld Verse.ThingWithComps parent
L_00a4: ldc.i4.8
L_00a5: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00aa: Label6
L_00aa: br Label7
L_00af: Label3
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingWithComps parent
L_00b5: ldfld Verse.ThingDef def
L_00ba: ldfld Verse.ThingCategory category
L_00bf: ldc.i4.3
L_00c0: bne.un Label8
L_00c5: ldarg.0
L_00c6: ldfld Verse.ThingWithComps parent
L_00cb: callvirt Verse.Map get_Map()
L_00d0: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00d5: ldarg.0
L_00d6: ldfld Verse.ThingWithComps parent
L_00db: ldc.i4.s 16
L_00dd: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00e2: br Label9
L_00e7: Label8
L_00e7: ldarg.0
L_00e8: ldfld Verse.ThingWithComps parent
L_00ed: callvirt Verse.Map get_Map()
L_00f2: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00f7: ldarg.0
L_00f8: ldfld Verse.ThingWithComps parent
L_00fd: ldc.i4.8
L_00fe: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0103: Label1
L_0103: Label7
L_0103: Label9
L_0103: Label0
L_0103: ret
DONE

### Patch Verse.AI.PawnPathUtility, Boolean


TryFindLastCellBeforeBlockingDoor(Verse.AI.PawnPath, Verse.Pawn, IntVec3 ByRef)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Door
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg 0
L_000c: ldarg 1
L_0012: ldarg 2
L_0018: ldloca 3 (System.Boolean)
L_001a: call Boolean ManhunterJobGiverFix(Verse.AI.PawnPath, Verse.Pawn, IntVec3
ByRef, Boolean ByRef)
L_001f: brfalse Label0
L_0024: ldarg.0
L_0025: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_002a: callvirt Int32 get_Count()
L_002f: ldc.i4.1
L_0030: bne.un Label1
L_0035: ldarg.2
L_0036: ldarg.0
L_0037: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_003c: ldc.i4.0
L_003d: callvirt IntVec3 get_Item(Int32)
L_0042: stobj Verse.IntVec3
L_0047: ldc.i4.0
L_0048: br Label6
L_004d: Label1
L_004d: ldarg.0
L_004e: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0053: stloc.0
L_0054: ldloc.0
L_0055: callvirt Int32 get_Count()
L_005a: ldc.i4.2
L_005b: sub
L_005c: stloc.1
L_005d: br Label2
L_0062: Label5
L_0062: ldloc.0
L_0063: ldloc.1
L_0064: callvirt IntVec3 get_Item(Int32)
L_0069: ldarg.1
L_006a: callvirt Verse.Map get_Map()
L_006f: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0074: isinst RimWorld.Building_Door
L_0079: stloc.2
L_007a: ldloc.2
L_007b: brfalse Label3
L_0080: ldloc.2
L_0081: ldarg.1
L_0082: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0087: brtrue Label4
L_008c: ldarg.2
L_008d: ldloc.0
L_008e: ldloc.1
L_008f: ldc.i4.1
L_0090: add
L_0091: callvirt IntVec3 get_Item(Int32)
L_0096: stobj Verse.IntVec3
L_009b: ldc.i4.1
L_009c: br Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldloc.1
L_00a2: ldc.i4.1
L_00a3: sub
L_00a4: stloc.1
L_00a5: Label2
L_00a5: ldloc.1
L_00a6: ldc.i4.1
L_00a7: bge Label5
L_00ac: ldarg.2
L_00ad: ldloc.0
L_00ae: ldc.i4.0
L_00af: callvirt IntVec3 get_Item(Int32)
L_00b4: stobj Verse.IntVec3
L_00b9: ldc.i4.0
L_00ba: Label6
L_00ba: Label7
L_00ba: stloc 3 (System.Boolean)
L_00bb: Label0
L_00bb: ldloc 3 (System.Boolean)
L_00bc: ret
DONE

### Patch RimWorld.ForbidUtility, Boolean IsForbiddenToPass(RimWorld.Building_Door,


Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: ldc.i4.0
L_0008: call Boolean CaresAboutForbidden(Verse.Pawn, Boolean)
L_000d: brtrue Label1
L_0012: ldc.i4.0
L_0013: br Label3
L_0018: Label1
L_0018: ldarg.0
L_0019: ldarg.1
L_001a: callvirt RimWorld.Faction get_Faction()
L_001f: call Boolean IsForbidden(Verse.Thing, RimWorld.Faction)
L_0024: brfalse Label2
L_0029: ldc.i4.1
L_002a: br Label4
L_002f: Label2
L_002f: ldc.i4.0
L_0030: Label3
L_0030: Label4
L_0030: stloc 0 (System.Boolean)
L_0031: ldarg 0
L_0037: ldarg 1
L_003d: ldloca 0 (System.Boolean)
L_003f: call Void IsForbiddenToPass_PostFix(Verse.Thing, Verse.Pawn, Boolean ByRef)
L_0044: ldloc 0 (System.Boolean)
L_0045: ret
DONE

### Patch Verse.AI.PathFinder, Int32 GetBuildingCost(Verse.Building, TraverseParms,


Verse.Pawn)
L_0000: Local var 0: RimWorld.Building_Door
L_0000: Local var 1: Verse.TraverseMode
L_0000: Local var 2: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Int32)
L_0006: ldarg.0
L_0007: isinst RimWorld.Building_Door
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldarga.s 1
L_0015: ldfld Verse.TraverseMode mode
L_001a: stloc.1
L_001b: ldloc.1
L_001c: switch Labels2,3,4,5,6,7
L_0039: br Label8
L_003e: Label4
L_003e: Label6
L_003e: ldloc.0
L_003f: callvirt Boolean get_FreePassage()
L_0044: brfalse Label9
L_0049: ldc.i4.0
L_004a: br Label30
L_004f: Label9
L_004f: ldc.i4 2147483647
L_0054: br Label31
L_0059: Label5
L_0059: Label7
L_0059: ldarg.2
L_005a: brfalse Label10
L_005f: ldloc.0
L_0060: ldarg.2
L_0061: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0066: brfalse Label11
L_006b: ldloc.0
L_006c: ldarg.2
L_006d: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0072: brtrue Label12
L_0077: ldloc.0
L_0078: callvirt Boolean get_FreePassage()
L_007d: brtrue Label13
L_0082: ldloc.0
L_0083: callvirt Int32 get_TicksToOpenNow()
L_0088: br Label32
L_008d: Label10
L_008d: Label11
L_008d: Label12
L_008d: Label13
L_008d: ldloc.0
L_008e: ldarg.2
L_008f: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0094: brfalse Label14
L_0099: ldc.i4.0
L_009a: br Label33
L_009f: Label14
L_009f: ldc.i4.s 50
L_00a1: ldloc.0
L_00a2: callvirt Int32 get_HitPoints()
L_00a7: conv.r4
L_00a8: ldc.r4 0.2
L_00ad: mul
L_00ae: conv.i4
L_00af: add
L_00b0: br Label34
L_00b5: Label3
L_00b5: ldarg.2
L_00b6: brfalse Label15
L_00bb: ldloc.0
L_00bc: ldarg.2
L_00bd: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00c2: brfalse Label16
L_00c7: ldloc.0
L_00c8: ldarg.2
L_00c9: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_00ce: brtrue Label17
L_00d3: ldloc.0
L_00d4: callvirt Boolean get_FreePassage()
L_00d9: brtrue Label18
L_00de: ldloc.0
L_00df: callvirt Int32 get_TicksToOpenNow()
L_00e4: br Label35
L_00e9: Label15
L_00e9: Label16
L_00e9: Label17
L_00e9: Label18
L_00e9: ldloc.0
L_00ea: ldarg.2
L_00eb: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_00f0: brfalse Label19
L_00f5: ldc.i4.0
L_00f6: br Label36
L_00fb: Label19
L_00fb: ldc.i4 150
L_0100: br Label37
L_0105: Label2
L_0105: ldarga.s 1
L_0107: ldfld System.Boolean canBash
L_010c: brtrue Label20
L_0111: ldloc.0
L_0112: ldarg.2
L_0113: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0118: brfalse Label21
L_011d: ldsfld System.Boolean drawPaths
L_0122: brfalse Label22
L_0127: ldarg.0
L_0128: callvirt IntVec3 get_Position()
L_012d: ldarg.0
L_012e: callvirt Verse.Map get_Map()
L_0133: ldc.r4 0.77
L_0138: ldstr "forbid"
L_013d: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_0142: Label22
L_0142: ldc.i4 2147483647
L_0147: br Label38
L_014c: Label20
L_014c: Label21
L_014c: ldloc.0
L_014d: ldarg.2
L_014e: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0153: brfalse Label23
L_0158: ldloc.0
L_0159: callvirt Boolean get_FreePassage()
L_015e: brtrue Label24
L_0163: ldloc.0
L_0164: callvirt Int32 get_TicksToOpenNow()
L_0169: br Label39
L_016e: Label23
L_016e: Label24
L_016e: ldloc.0
L_016f: ldarg.2
L_0170: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0175: brfalse Label25
L_017a: ldc.i4.0
L_017b: br Label40
L_0180: Label25
L_0180: ldarga.s 1
L_0182: ldfld System.Boolean canBash
L_0187: brfalse Label26
L_018c: ldc.i4 300
L_0191: br Label41
L_0196: Label26
L_0196: ldsfld System.Boolean drawPaths
L_019b: brfalse Label27
L_01a0: ldarg.0
L_01a1: callvirt IntVec3 get_Position()
L_01a6: ldarg.0
L_01a7: callvirt Verse.Map get_Map()
L_01ac: ldc.r4 0.34
L_01b1: ldstr "cant pass"
L_01b6: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_01bb: Label27
L_01bb: ldc.i4 2147483647
L_01c0: br Label42
L_01c5: Label8
L_01c5: br Label28
L_01ca: Label1
L_01ca: ldarg.2
L_01cb: brfalse Label29
L_01d0: ldarg.0
L_01d1: ldarg.2
L_01d2: callvirt UInt16 PathFindCostFor(Verse.Pawn)
L_01d7: br Label43
L_01dc: Label28
L_01dc: Label29
L_01dc: ldc.i4.0
L_01dd: Label30
L_01dd: Label31
L_01dd: Label32
L_01dd: Label33
L_01dd: Label34
L_01dd: Label35
L_01dd: Label36
L_01dd: Label37
L_01dd: Label38
L_01dd: Label39
L_01dd: Label40
L_01dd: Label41
L_01dd: Label42
L_01dd: Label43
L_01dd: stloc 2 (System.Int32)
L_01de: ldarg 0
L_01e4: ldarg 1
L_01ea: ldarg 2
L_01f0: ldloca 2 (System.Int32)
L_01f2: call Void GetBuildingCost_PostFix(Verse.Building, TraverseParms,
Verse.Pawn, Int32 ByRef)
L_01f7: ldloc 2 (System.Int32)
L_01f8: ret
DONE

### Patch Verse.AI.PawnPathUtility, Verse.Thing


FirstBlockingBuilding(Verse.AI.PawnPath, IntVec3 ByRef, Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: Verse.Building
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Building
L_0000: Local var 5: RimWorld.Building_Door
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: Verse.Thing
L_0000: ldnull
L_0001: stloc 7 (Verse.Thing)
L_0003: ldarg.0
L_0004: callvirt Boolean get_Found()
L_0009: brtrue Label1
L_000e: ldarg.1
L_000f: call IntVec3 get_Invalid()
L_0014: stobj Verse.IntVec3
L_0019: ldnull
L_001a: br Label22
L_001f: Label1
L_001f: ldarg.0
L_0020: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0025: stloc.0
L_0026: ldloc.0
L_0027: callvirt Int32 get_Count()
L_002c: ldc.i4.1
L_002d: bne.un Label2
L_0032: ldarg.1
L_0033: ldloc.0
L_0034: ldc.i4.0
L_0035: callvirt IntVec3 get_Item(Int32)
L_003a: stobj Verse.IntVec3
L_003f: ldnull
L_0040: br Label23
L_0045: Label2
L_0045: ldnull
L_0046: stloc.1
L_0047: call IntVec3 get_Invalid()
L_004c: stloc.2
L_004d: ldloc.0
L_004e: callvirt Int32 get_Count()
L_0053: ldc.i4.2
L_0054: sub
L_0055: stloc.3
L_0056: br Label3
L_005b: Label21
L_005b: ldloc.0
L_005c: ldloc.3
L_005d: callvirt IntVec3 get_Item(Int32)
L_0062: ldarg.2
L_0063: callvirt Verse.Map get_Map()
L_0068: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_006d: stloc.s 4 (Verse.Building)
L_006f: ldloc.s 4 (Verse.Building)
L_0071: brfalse Label4
L_0076: ldloc.s 4 (Verse.Building)
L_0078: isinst RimWorld.Building_Door
L_007d: stloc.s 5 (RimWorld.Building_Door)
L_007f: ldloc.s 5 (RimWorld.Building_Door)
L_0081: brfalse Label5
L_0086: ldloc.s 5 (RimWorld.Building_Door)
L_0088: callvirt Boolean get_FreePassage()
L_008d: brtrue Label6
L_0092: ldarg.2
L_0093: brfalse Label7
L_0098: ldloc.s 5 (RimWorld.Building_Door)
L_009a: ldarg.2
L_009b: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00a0: ldc.i4.0
L_00a1: ceq
L_00a3: br Label8
L_00a8: Label7
L_00a8: ldc.i4.1
L_00a9: Label8
L_00a9: br Label9
L_00ae: Label5
L_00ae: Label6
L_00ae: ldc.i4.0
L_00af: Label9
L_00af: stloc.s 6 (System.Boolean)
L_00b1: ldloc.s 6 (System.Boolean)
L_00b3: brtrue Label10
L_00b8: ldloc.s 4 (Verse.Building)
L_00ba: ldfld Verse.ThingDef def
L_00bf: ldfld Verse.Traversability passability
L_00c4: ldc.i4.2
L_00c5: bne.un Label11
L_00ca: Label10
L_00ca: ldloc.1
L_00cb: brfalse Label12
L_00d0: ldarg.1
L_00d1: ldloc.2
L_00d2: stobj Verse.IntVec3
L_00d7: ldloc.1
L_00d8: br Label24
L_00dd: Label12
L_00dd: ldarg.1
L_00de: ldloc.0
L_00df: ldloc.3
L_00e0: ldc.i4.1
L_00e1: add
L_00e2: callvirt IntVec3 get_Item(Int32)
L_00e7: stobj Verse.IntVec3
L_00ec: ldloc.s 4 (Verse.Building)
L_00ee: br Label25
L_00f3: Label4
L_00f3: Label11
L_00f3: ldloc.s 4 (Verse.Building)
L_00f5: brfalse Label13
L_00fa: ldloc.s 4 (Verse.Building)
L_00fc: ldfld Verse.ThingDef def
L_0101: ldfld Verse.Traversability passability
L_0106: ldc.i4.1
L_0107: bne.un Label14
L_010c: ldloc.s 4 (Verse.Building)
L_010e: ldfld Verse.ThingDef def
L_0113: callvirt FillCategory get_Fillage()
L_0118: ldc.i4.2
L_0119: bne.un Label15
L_011e: ldloc.1
L_011f: brtrue Label16
L_0124: ldloc.s 4 (Verse.Building)
L_0126: stloc.1
L_0127: ldloc.0
L_0128: ldloc.3
L_0129: ldc.i4.1
L_012a: add
L_012b: callvirt IntVec3 get_Item(Int32)
L_0130: stloc.2
L_0131: Label16
L_0131: br Label17
L_0136: Label13
L_0136: Label14
L_0136: Label15
L_0136: ldloc.s 4 (Verse.Building)
L_0138: brfalse Label18
L_013d: ldloc.s 4 (Verse.Building)
L_013f: ldfld Verse.ThingDef def
L_0144: ldfld Verse.Traversability passability
L_0149: ldc.i4.1
L_014a: bne.un Label19
L_014f: br Label20
L_0154: Label18
L_0154: Label19
L_0154: ldnull
L_0155: stloc.1
L_0156: Label17
L_0156: Label20
L_0156: ldloc.3
L_0157: ldc.i4.1
L_0158: sub
L_0159: stloc.3
L_015a: Label3
L_015a: ldloc.3
L_015b: ldc.i4.0
L_015c: bge Label21
L_0161: ldarg.1
L_0162: ldloc.0
L_0163: ldc.i4.0
L_0164: callvirt IntVec3 get_Item(Int32)
L_0169: stobj Verse.IntVec3
L_016e: ldnull
L_016f: Label22
L_016f: Label23
L_016f: Label24
L_016f: Label25
L_016f: stloc 7 (Verse.Thing)
L_0171: ldarg 0
L_0177: ldarg 1
L_017d: ldarg 2
L_0183: ldloca 7 (Verse.Thing)
L_0185: call Void FirstBlockingBuilding_PostFix(Verse.AI.PawnPath, IntVec3 ByRef,
Verse.Pawn, Verse.Thing ByRef)
L_018a: ldloc 7 (Verse.Thing)
L_018c: ret
DONE

### Patch RimWorld.WorkGiver_DoBill, Verse.AI.Job JobOnThing(Verse.Pawn,


Verse.Thing, Boolean)
L_0000: Local var 0: RimWorld.IBillGiver
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: RimWorld.CompRefuelable
L_0000: Local var 5: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 5 (Verse.AI.Job)
L_0003: ldarg.2
L_0004: isinst RimWorld.IBillGiver
L_0009: stloc.0
L_000a: ldloc.0
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldarg.2
L_0012: call Boolean ThingIsUsableBillGiver(Verse.Thing)
L_0017: brfalse Label2
L_001c: ldloc.0
L_001d: callvirt RimWorld.BillStack get_BillStack()
L_0022: callvirt Boolean get_AnyShouldDoNow()
L_0027: brfalse Label3
L_002c: ldloc.0
L_002d: callvirt Boolean UsableForBillsAfterFueling()
L_0032: brfalse Label4
L_0037: ldarg.1
L_0038: stloc.1
L_0039: ldarg.2
L_003a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_003f: stloc.2
L_0040: ldarg.3
L_0041: stloc.3
L_0042: ldloc.1
L_0043: ldloc.2
L_0044: ldc.i4.1
L_0045: ldc.i4.m1
L_0046: ldnull
L_0047: ldloc.3
L_0048: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32, Int32,
Verse.ReservationLayerDef, Boolean)
L_004d: brfalse Label5
L_0052: ldarg.2
L_0053: call Boolean IsBurning(Verse.Thing)
L_0058: brtrue Label6
L_005d: ldarg.2
L_005e: ldarg.1
L_005f: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_0064: brfalse Label7
L_0069: Label1
L_0069: Label2
L_0069: Label3
L_0069: Label4
L_0069: Label5
L_0069: Label6
L_0069: ldnull
L_006a: br Label11
L_006f: Label7
L_006f: ldarg.2
L_0070: call RimWorld.CompRefuelable TryGetComp[CompRefuelable](Verse.Thing)
L_0075: stloc.s 4 (RimWorld.CompRefuelable)
L_0077: ldloc.s 4 (RimWorld.CompRefuelable)
L_0079: brfalse Label8
L_007e: ldloc.s 4 (RimWorld.CompRefuelable)
L_0080: callvirt Boolean get_HasFuel()
L_0085: brtrue Label9
L_008a: ldarg.1
L_008b: ldarg.2
L_008c: ldarg.3
L_008d: call Boolean CanRefuel(Verse.Pawn, Verse.Thing, Boolean)
L_0092: brtrue Label10
L_0097: ldnull
L_0098: br Label12
L_009d: Label10
L_009d: ldarg.1
L_009e: ldarg.2
L_009f: ldarg.3
L_00a0: ldnull
L_00a1: ldnull
L_00a2: call Verse.AI.Job RefuelJob(Verse.Pawn, Verse.Thing, Boolean, Verse.JobDef,
Verse.JobDef)
L_00a7: br Label13
L_00ac: Label8
L_00ac: Label9
L_00ac: ldloc.0
L_00ad: callvirt RimWorld.BillStack get_BillStack()
L_00b2: callvirt Void RemoveIncompletableBills()
L_00b7: ldarg.0
L_00b8: ldarg.1
L_00b9: ldloc.0
L_00ba: call Verse.AI.Job StartOrResumeBillJob(Verse.Pawn, IBillGiver)
L_00bf: Label11
L_00bf: Label12
L_00bf: Label13
L_00bf: stloc 5 (Verse.AI.Job)
L_00c1: ldloca 5 (Verse.AI.Job)
L_00c3: ldarg 1
L_00c9: ldarg 2
L_00cf: ldarg 3
L_00d5: call Void Postfix(Verse.AI.Job ByRef, Verse.Pawn, Verse.Thing, Boolean)
L_00da: ldloc 5 (Verse.AI.Job)
L_00dc: ret
DONE

### Patch RimWorld.Building_Bed, Void set_Medical(Boolean)


L_0000: ldarg.1
L_0001: ldarg.0
L_0002: ldfld System.Boolean medicalInt
L_0007: beq Label1
L_000c: ldarg.0
L_000d: ldfld Verse.ThingDef def
L_0012: ldfld RimWorld.BuildingProperties building
L_0017: ldfld System.Boolean bed_humanlike
L_001c: pop
L_001d: ldc.i4.1
L_001e: brtrue Label2
L_0023: Label1
L_0023: br Label4
L_0028: Label2
L_0028: ldarg.0
L_0029: call Void RemoveAllOwners()
L_002e: ldarg.0
L_002f: ldarg.1
L_0030: stfld System.Boolean medicalInt
L_0035: ldarg.0
L_0036: callvirt Void Notify_ColorChanged()
L_003b: ldarg.0
L_003c: call Boolean get_Spawned()
L_0041: brfalse Label3
L_0046: ldarg.0
L_0047: call Verse.Map get_Map()
L_004c: ldfld Verse.MapDrawer mapDrawer
L_0051: ldarg.0
L_0052: call IntVec3 get_Position()
L_0057: ldc.i4.1
L_0058: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_005d: ldarg.0
L_005e: call Void NotifyRoomBedTypeChanged()
L_0063: Label3
L_0063: ldarg.0
L_0064: call Void FacilityChanged()
L_0069: Label4
L_0069: ldarg.0
L_006a: ldarga 1
L_0070: call Void ChangeMedicalStatus(RimWorld.Building_Bed, Boolean ByRef)
L_0075: ret
DONE

### Patch Verse.DesignationCategoryDef, IEnumerable`1


get_ResolvedAllowedDesignators()
L_0000: Local var 0: Verse.DesignationCategoryDef+<>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Designator,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld Verse.DesignationCategoryDef $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, Verse.DesignationCategoryDef ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0027: ret
DONE

### Patch Verse.Dialog_RenameZone, Void SetName(System.String)


L_0000: ldarg.0
L_0001: ldfld Verse.Zone zone
L_0006: ldarg.0
L_0007: ldfld System.String curName
L_000c: stfld System.String label
L_0011: ldstr "ZoneGainsName"
L_0016: ldc.i4.1
L_0017: newarr System.Object
L_001c: dup
L_001d: ldc.i4.0
L_001e: ldarg.0
L_001f: ldfld System.String curName
L_0024: stelem.ref
L_0025: call System.String Translate(System.String, System.Object[])
L_002a: ldsfld Verse.MessageTypeDef TaskCompletion
L_002f: ldc.i4.0
L_0030: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0035: call Void Postfix()
L_003a: ret
DONE

### Patch Verse.DynamicDrawManager, Void DrawDynamicThings()


L_0000: Local var 0: System.Boolean[]
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: Verse.CellIndices
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Exception
L_0000: Local var 7: System.Exception
L_0000: ldarga 0
L_0006: call Boolean Prefix(Verse.DynamicDrawManager ByRef)
L_000b: brfalse Label0
L_0010: ldsfld System.Boolean drawThingsDynamic
L_0015: brtrue Label1
L_001a: br Label18
L_001f: Label1
L_001f: ldarg.0
L_0020: ldc.i4.1
L_0021: stfld System.Boolean drawingNow
.try
{
L_0026: ldarg.0
L_0027: ldfld Verse.Map map
L_002c: ldfld Verse.FogGrid fogGrid
L_0031: ldfld System.Boolean[] fogGrid
L_0036: stloc.0
L_0037: call Verse.CameraDriver get_CameraDriver()
L_003c: callvirt CellRect get_CurrentViewRect()
L_0041: stloc.1
L_0042: ldloca.s 1 (Verse.CellRect)
L_0044: ldarg.0
L_0045: ldfld Verse.Map map
L_004a: call CellRect ClipInsideMap(Verse.Map)
L_004f: pop
L_0050: ldloca.s 1 (Verse.CellRect)
L_0052: ldc.i4.1
L_0053: call CellRect ExpandedBy(Int32)
L_0058: stloc.1
L_0059: ldarg.0
L_005a: ldfld Verse.Map map
L_005f: ldfld Verse.CellIndices cellIndices
L_0064: stloc.3
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.HashSet`1[Verse.Thing] drawThings
L_006b: callvirt Enumerator GetEnumerator()
L_0070: stloc.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
.try
{
L_0072: br Label2
L_0077: Label14
L_0077: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0079: call Verse.Thing get_Current()
L_007e: stloc.s 4 (Verse.Thing)
L_0080: ldloc.s 4 (Verse.Thing)
L_0082: callvirt IntVec3 get_Position()
L_0087: stloc.2
L_0088: ldloca.s 1 (Verse.CellRect)
L_008a: ldloc.2
L_008b: call Boolean Contains(IntVec3)
L_0090: brtrue Label3
L_0095: ldloc.s 4 (Verse.Thing)
L_0097: ldfld Verse.ThingDef def
L_009c: ldfld System.Boolean drawOffscreen
L_00a1: brtrue Label4
L_00a6: leave Label5
L_00ab: Label3
L_00ab: Label4
L_00ab: ldloc.0
L_00ac: ldloc.3
L_00ad: ldloc.2
L_00ae: callvirt Int32 CellToIndex(IntVec3)
L_00b3: ldelem.u1
L_00b4: brfalse Label6
L_00b9: ldloc.s 4 (Verse.Thing)
L_00bb: ldfld Verse.ThingDef def
L_00c0: ldfld System.Boolean seeThroughFog
L_00c5: brtrue Label7
L_00ca: leave Label8
L_00cf: Label6
L_00cf: Label7
L_00cf: ldloc.s 4 (Verse.Thing)
L_00d1: ldfld Verse.ThingDef def
L_00d6: ldfld System.Single hideAtSnowDepth
L_00db: ldc.r4 1
L_00e0: bge.un Label9
L_00e5: ldarg.0
L_00e6: ldfld Verse.Map map
L_00eb: ldfld Verse.SnowGrid snowGrid
L_00f0: ldloc.s 4 (Verse.Thing)
L_00f2: callvirt IntVec3 get_Position()
L_00f7: callvirt Single GetDepth(IntVec3)
L_00fc: ldloc.s 4 (Verse.Thing)
L_00fe: ldfld Verse.ThingDef def
L_0103: ldfld System.Single hideAtSnowDepth
L_0108: ble.un Label10
L_010d: leave Label11
L_0112: Label9
L_0112: Label10
.try
{
L_0112: ldloc.s 4 (Verse.Thing)
L_0114: callvirt Void Draw()
L_0119: leave Label12
L_011e: leave (autogenerated)
} // end try
.catch System.Exception
{
L_0123: stloc.s 6 (System.Exception)
L_0125: ldc.i4.4
L_0126: newarr System.Object
L_012b: dup
L_012c: ldc.i4.0
L_012d: ldstr "Exception drawing "
L_0132: stelem.ref
L_0133: dup
L_0134: ldc.i4.1
L_0135: ldloc.s 4 (Verse.Thing)
L_0137: stelem.ref
L_0138: dup
L_0139: ldc.i4.2
L_013a: ldstr ": "
L_013f: stelem.ref
L_0140: dup
L_0141: ldc.i4.3
L_0142: ldloc.s 6 (System.Exception)
L_0144: callvirt System.String ToString()
L_0149: stelem.ref
L_014a: call System.String Concat(System.Object[])
L_014f: ldc.i4.0
L_0150: call Void Error(System.String, Boolean)
L_0155: leave Label13
L_015a: leave (autogenerated)
} // end handler
L_015f: Label2
L_015f: Label5
L_015f: Label8
L_015f: Label11
L_015f: Label12
L_015f: Label13
L_015f: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0161: call Boolean MoveNext()
L_0166: brtrue Label14
L_016b: leave Label15
L_0170: leave (autogenerated)
} // end try
.finally
{
L_0175: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0177: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing]
L_017d: callvirt Void Dispose()
L_0182: endfinally
L_0183: leave (autogenerated)
} // end handler
L_0184: Label15
L_0184: leave Label16
L_0189: leave (autogenerated)
} // end try
.catch System.Exception
{
L_018e: stloc.s 7 (System.Exception)
L_0190: ldstr "Exception drawing dynamic things: "
L_0195: ldloc.s 7 (System.Exception)
L_0197: call System.String Concat(System.Object, System.Object)
L_019c: ldc.i4.0
L_019d: call Void Error(System.String, Boolean)
L_01a2: leave Label17
L_01a7: leave (autogenerated)
} // end handler
L_01ac: Label16
L_01ac: Label17
L_01ac: ldarg.0
L_01ad: ldc.i4.0
L_01ae: stfld System.Boolean drawingNow
L_01b3: Label18
L_01b3: Label0
L_01b3: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterActivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brtrue Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Void Add(RimWorld.CompGatherSpot)
L_001d: Label1
L_001d: ldarga 1
L_0023: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0028: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterDeactivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Boolean Remove(RimWorld.CompGatherSpot)
L_001d: pop
L_001e: Label1
L_001e: ldarga 1
L_0024: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0029: ret
DONE

### Patch Verse.ListerBuildings, Void Add(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.BuildingProperties building
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldfld Verse.ThingDef def
L_0016: ldfld RimWorld.BuildingProperties building
L_001b: ldfld System.Boolean isNaturalRock
L_0020: brfalse Label2
L_0025: br Label7
L_002a: Label1
L_002a: Label2
L_002a: ldarg.1
L_002b: callvirt RimWorld.Faction get_Faction()
L_0030: call RimWorld.Faction get_OfPlayer()
L_0035: bne.un Label3
L_003a: ldarg.0
L_003b: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0040: ldarg.1
L_0041: callvirt Void Add(Verse.Building)
L_0046: ldarg.1
L_0047: isinst Verse.AI.IAttackTarget
L_004c: brfalse Label4
L_0051: ldarg.0
L_0052: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_0057: ldarg.1
L_0058: callvirt Boolean Add(Verse.Building)
L_005d: pop
L_005e: Label3
L_005e: Label4
L_005e: ldarg.1
L_005f: ldfld Verse.ThingDef def
L_0064: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0069: stloc.0
L_006a: ldloc.0
L_006b: brfalse Label5
L_0070: ldloc.0
L_0071: ldfld System.Boolean shortCircuitInRain
L_0076: brfalse Label6
L_007b: ldarg.0
L_007c: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0081: ldarg.1
L_0082: callvirt Boolean Add(Verse.Building)
L_0087: pop
L_0088: Label5
L_0088: Label6
L_0088: Label7
L_0088: ldarga 1
L_008e: call Void Postfix(Verse.Building ByRef)
L_0093: ret
DONE

### Patch Verse.ListerBuildings, Void Remove(Verse.Building)


L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Building)
L_000c: pop
L_000d: ldarg.1
L_000e: isinst Verse.AI.IAttackTarget
L_0013: brfalse Label1
L_0018: ldarg.0
L_0019: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_001e: ldarg.1
L_001f: callvirt Boolean Remove(Verse.Building)
L_0024: pop
L_0025: Label1
L_0025: ldarg.1
L_0026: ldfld Verse.ThingDef def
L_002b: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0030: stloc.0
L_0031: ldloc.0
L_0032: brfalse Label2
L_0037: ldloc.0
L_0038: ldfld System.Boolean shortCircuitInRain
L_003d: brfalse Label3
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0048: ldarg.1
L_0049: callvirt Boolean Remove(Verse.Building)
L_004e: pop
L_004f: Label2
L_004f: Label3
L_004f: ldarga 1
L_0055: call Void Postfix(Verse.Building ByRef)
L_005a: ret
DONE

### Patch Verse.Room, Verse.Room MakeNew(Verse.Map)


L_0000: Local var 0: Verse.Room
L_0000: Local var 1: Verse.Room
L_0000: ldnull
L_0001: stloc 1 (Verse.Room)
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: callvirt Int32 get_Index()
L_000f: conv.i1
L_0010: stfld System.SByte mapIndex
L_0015: ldloc.0
L_0016: ldsfld System.Int32 nextRoomID
L_001b: stfld System.Int32 ID
L_0020: ldsfld System.Int32 nextRoomID
L_0025: ldc.i4.1
L_0026: add
L_0027: stsfld System.Int32 nextRoomID
L_002c: ldloc.0
L_002d: stloc 1 (Verse.Room)
L_002e: ldloca 1 (Verse.Room)
L_0030: call Void Postfix(Verse.Room ByRef)
L_0035: ldloc 1 (Verse.Room)
L_0036: ret
DONE

### Patch Verse.Room, Void Notify_BedTypeChanged()


L_0000: ldarg.0
L_0001: ldc.i4.1
L_0002: stfld System.Boolean statsAndRoleDirty
L_0007: ldarga 0
L_000d: call Void Postfix(Verse.Room ByRef)
L_0012: ret
DONE

### Patch Verse.Room, Void Notify_RoomShapeOrContainedBedsChanged()


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Bed
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: RimWorld.Building_Bed
L_0000: Local var 6:
System.Collections.Generic.IEnumerator`1[[RimWorld.Building_Bed, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldc.i4.m1
L_0002: stfld System.Int32 cachedCellCount
L_0007: ldarg.0
L_0008: ldc.i4.m1
L_0009: stfld System.Int32 cachedOpenRoofCount
L_000e: ldarg.0
L_000f: ldnull
L_0010: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_0015: call ProgramState get_ProgramState()
L_001a: ldc.i4.2
L_001b: bne.un Label1
L_0020: ldarg.0
L_0021: call Boolean get_Fogged()
L_0026: brtrue Label2
L_002b: ldarg.0
L_002c: call Verse.Map get_Map()
L_0031: ldfld Verse.AutoBuildRoofAreaSetter autoBuildRoofAreaSetter
L_0036: ldarg.0
L_0037: callvirt Void TryGenerateAreaFor(Verse.Room)
L_003c: Label1
L_003c: Label2
L_003c: ldarg.0
L_003d: ldc.i4.0
L_003e: stfld System.Boolean isPrisonCell
L_0043: ldarg.0
L_0044: call Boolean RoomCanBePrisonCell(Verse.Room)
L_0049: brfalse Label3
L_004e: ldarg.0
L_004f: call System.Collections.Generic.List`1[Verse.Thing]
get_ContainedAndAdjacentThings()
L_0054: stloc.0
L_0055: ldc.i4.0
L_0056: stloc.1
L_0057: br Label4
L_005c: Label8
L_005c: ldloc.0
L_005d: ldloc.1
L_005e: callvirt Verse.Thing get_Item(Int32)
L_0063: isinst RimWorld.Building_Bed
L_0068: stloc.2
L_0069: ldloc.2
L_006a: brfalse Label5
L_006f: ldloc.2
L_0070: callvirt Boolean get_ForPrisoners()
L_0075: brfalse Label6
L_007a: ldarg.0
L_007b: ldc.i4.1
L_007c: stfld System.Boolean isPrisonCell
L_0081: br Label7
L_0086: Label5
L_0086: Label6
L_0086: ldloc.1
L_0087: ldc.i4.1
L_0088: add
L_0089: stloc.1
L_008a: Label4
L_008a: ldloc.1
L_008b: ldloc.0
L_008c: callvirt Int32 get_Count()
L_0091: blt Label8
L_0096: Label3
L_0096: Label7
L_0096: ldarg.0
L_0097: call Verse.Map get_Map()
L_009c: ldfld Verse.ListerThings listerThings
L_00a1: ldsfld Verse.ThingDef NutrientPasteDispenser
L_00a6: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsOfDef(Verse.ThingDef)
L_00ab: stloc.3
L_00ac: ldc.i4.0
L_00ad: stloc.s 4 (System.Int32)
L_00af: br Label9
L_00b4: Label10
L_00b4: ldloc.3
L_00b5: ldloc.s 4 (System.Int32)
L_00b7: callvirt Verse.Thing get_Item(Int32)
L_00bc: callvirt Void Notify_ColorChanged()
L_00c1: ldloc.s 4 (System.Int32)
L_00c3: ldc.i4.1
L_00c4: add
L_00c5: stloc.s 4 (System.Int32)
L_00c7: Label9
L_00c7: ldloc.s 4 (System.Int32)
L_00c9: ldloc.3
L_00ca: callvirt Int32 get_Count()
L_00cf: blt Label10
L_00d4: call ProgramState get_ProgramState()
L_00d9: ldc.i4.2
L_00da: bne.un Label11
L_00df: ldarg.0
L_00e0: ldfld System.Boolean isPrisonCell
L_00e5: brfalse Label12
L_00ea: ldarg.0
L_00eb: call IEnumerable`1 get_ContainedBeds()
L_00f0: callvirt IEnumerator`1 GetEnumerator()
L_00f5: stloc.s 6 (System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
.try
{
L_00f7: br Label13
L_00fc: Label14
L_00fc: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_00fe: callvirt RimWorld.Building_Bed get_Current()
L_0103: stloc.s 5 (RimWorld.Building_Bed)
L_0105: ldloc.s 5 (RimWorld.Building_Bed)
L_0107: ldc.i4.1
L_0108: callvirt Void set_ForPrisoners(Boolean)
L_010d: Label13
L_010d: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_010f: callvirt Boolean MoveNext()
L_0114: brtrue Label14
L_0119: leave Label15
L_011e: leave (autogenerated)
} // end try
.finally
{
L_0123: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_0125: brfalse Label16
L_012a: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_012c: callvirt Void Dispose()
L_0131: Label16
L_0131: endfinally
L_0132: leave (autogenerated)
} // end handler
L_0133: Label11
L_0133: Label12
L_0133: Label15
L_0133: ldarg.0
L_0134: call Verse.TickManager get_TickManager()
L_0139: callvirt Int32 get_TicksGame()
L_013e: stfld System.Int32 lastChangeTick
L_0143: ldarg.0
L_0144: ldc.i4.1
L_0145: stfld System.Boolean statsAndRoleDirty
L_014a: ldarg.0
L_014b: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0150: call Void
NotifyFacilitiesAboutChangedLOSBlockers(System.Collections.Generic.List`1[Verse.Reg
ion])
L_0155: ldarga 0
L_015b: call Void Postfix(Verse.Room ByRef)
L_0160: ret
DONE

### Patch Verse.Room, Void RemoveRegion(Verse.Region)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(Verse.Region)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Tried to remove region from Room but this region is not here.
region="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: stelem.ref
L_0023: dup
L_0024: ldc.i4.2
L_0025: ldstr ", room="
L_002a: stelem.ref
L_002b: dup
L_002c: ldc.i4.3
L_002d: ldarg.0
L_002e: stelem.ref
L_002f: call System.String Concat(System.Object[])
L_0034: ldc.i4.0
L_0035: call Void Error(System.String, Boolean)
L_003a: br Label4
L_003f: Label1
L_003f: ldarg.0
L_0040: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0045: ldarg.1
L_0046: callvirt Boolean Remove(Verse.Region)
L_004b: pop
L_004c: ldarg.1
L_004d: ldfld System.Boolean touchesMapEdge
L_0052: brfalse Label2
L_0057: ldarg.0
L_0058: dup
L_0059: ldfld System.Int32 numRegionsTouchingMapEdge
L_005e: ldc.i4.1
L_005f: sub
L_0060: stfld System.Int32 numRegionsTouchingMapEdge
L_0065: Label2
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_006b: callvirt Int32 get_Count()
L_0070: brtrue Label3
L_0075: ldarg.0
L_0076: ldnull
L_0077: call Void set_Group(Verse.RoomGroup)
L_007c: ldarg.0
L_007d: ldc.i4.m1
L_007e: stfld System.Int32 cachedOpenRoofCount
L_0083: ldarg.0
L_0084: ldnull
L_0085: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_008a: ldarg.0
L_008b: ldc.i4.1
L_008c: stfld System.Boolean statsAndRoleDirty
L_0091: ldarg.0
L_0092: call Verse.Map get_Map()
L_0097: ldfld Verse.RegionGrid regionGrid
L_009c: ldfld System.Collections.Generic.List`1[Verse.Room] allRooms
L_00a1: ldarg.0
L_00a2: callvirt Boolean Remove(Verse.Room)
L_00a7: pop
L_00a8: Label3
L_00a8: Label4
L_00a8: ldarga 0
L_00ae: call Void Postfix(Verse.Room ByRef)
L_00b3: ret
DONE

### Patch Verse.ZoneManager, Void DeregisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Zone)
L_000c: pop
L_000d: ldarg.1
L_000e: callvirt Void PostDeregister()
L_0013: ldarga 1
L_0019: call Void Postfix(Verse.Zone ByRef)
L_001e: ret
DONE

### Patch Verse.ZoneManager, Void RegisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Void Add(Verse.Zone)
L_000c: ldarg.1
L_000d: callvirt Void PostRegister()
L_0012: ldarga 1
L_0018: call Void Postfix(Verse.Zone ByRef)
L_001d: ret
DONE

### Patch RimWorld.Zone_Growing, Void SetPlantDefToGrow(Verse.ThingDef)


L_0000: ldarg.0
L_0001: ldarg.1
L_0002: stfld Verse.ThingDef plantDefToGrow
L_0007: ldarga 0
L_000d: call Void Postfix(RimWorld.Zone_Growing ByRef)
L_0012: ret
DONE

### Patch Verse.Zone, Void RemoveCell(IntVec3)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Cannot remove cell from zone which doesn't have it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label3
L_0044: Label1
L_0044: ldarg.0
L_0045: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_004a: ldarg.1
L_004b: callvirt Boolean Remove(IntVec3)
L_0050: pop
L_0051: ldarg.0
L_0052: ldfld Verse.ZoneManager zoneManager
L_0057: ldarg.1
L_0058: callvirt Void ClearZoneGridCell(IntVec3)
L_005d: ldarg.0
L_005e: call Verse.Map get_Map()
L_0063: ldfld Verse.MapDrawer mapDrawer
L_0068: ldarg.1
L_0069: ldc.i4 128
L_006e: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_0073: ldarg.0
L_0074: ldc.i4.0
L_0075: stfld System.Boolean cellsShuffled
L_007a: ldarg.0
L_007b: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0080: callvirt Int32 get_Count()
L_0085: brtrue Label2
L_008a: ldarg.0
L_008b: call Void Deregister()
L_0090: Label2
L_0090: Label3
L_0090: ldarga 0
L_0096: call Void Postfix(Verse.Zone ByRef)
L_009b: ret
DONE

### Patch Verse.Zone, Void AddCell(IntVec3)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Thing
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brfalse Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Adding cell to zone which already has it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label5
L_0044: Label1
L_0044: ldarg.0
L_0045: call Verse.Map get_Map()
L_004a: ldfld Verse.ThingGrid thingGrid
L_004f: ldarg.1
L_0050: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsListAt(IntVec3)
L_0055: stloc.0
L_0056: ldc.i4.0
L_0057: stloc.1
L_0058: br Label2
L_005d: Label4
L_005d: ldloc.0
L_005e: ldloc.1
L_005f: callvirt Verse.Thing get_Item(Int32)
L_0064: stloc.2
L_0065: ldloc.2
L_0066: ldfld Verse.ThingDef def
L_006b: callvirt Boolean get_CanOverlapZones()
L_0070: brtrue Label3
L_0075: ldstr "Added zone over zone-incompatible thing "
L_007a: ldloc.2
L_007b: call System.String Concat(System.Object, System.Object)
L_0080: ldc.i4.0
L_0081: call Void Error(System.String, Boolean)
L_0086: br Label6
L_008b: Label3
L_008b: ldloc.1
L_008c: ldc.i4.1
L_008d: add
L_008e: stloc.1
L_008f: Label2
L_008f: ldloc.1
L_0090: ldloc.0
L_0091: callvirt Int32 get_Count()
L_0096: blt Label4
L_009b: ldarg.0
L_009c: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_00a1: ldarg.1
L_00a2: callvirt Void Add(IntVec3)
L_00a7: ldarg.0
L_00a8: ldfld Verse.ZoneManager zoneManager
L_00ad: ldarg.0
L_00ae: ldarg.1
L_00af: callvirt Void AddZoneGridCell(Verse.Zone, IntVec3)
L_00b4: ldarg.0
L_00b5: call Verse.Map get_Map()
L_00ba: ldfld Verse.MapDrawer mapDrawer
L_00bf: ldarg.1
L_00c0: ldc.i4 128
L_00c5: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_00ca: ldarg.1
L_00cb: ldarg.0
L_00cc: call Void Notify_ZoneCellAdded(IntVec3, Verse.Zone)
L_00d1: ldarg.0
L_00d2: ldc.i4.0
L_00d3: stfld System.Boolean cellsShuffled
L_00d8: Label5
L_00d8: Label6
L_00d8: ldarga 0
L_00de: call Void Postfix(Verse.Zone ByRef)
L_00e3: ret
DONE

### Patch Verse.AI.AttackTargetFinder, IAttackTarget


BestAttackTarget(IAttackTargetSearcher, TargetScanFlags,
System.Predicate`1[Verse.Thing], Single, Single, IntVec3, Single, Boolean, Boolean)
L_0000: Local var 0: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey1
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.AI.IAttackTarget
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: Verse.AI.IAttackTarget
L_0000: Local var 8: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2
L_0000: Local var 10: Verse.AI.IAttackTarget
L_0000: Local var 11: Verse.IntVec3
L_0000: Local var 12: Verse.Map
L_0000: Local var 13: Verse.ThingRequest
L_0000: Local var 14: Verse.AI.PathEndMode
L_0000: Local var 15: Verse.Pawn
L_0000: Local var 16: Verse.Danger
L_0000: Local var 17: System.Boolean
L_0000: Local var 18: Verse.TraverseParms
L_0000: Local var 19: System.Single
L_0000: Local var 20: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 21: System.Int32
L_0000: Local var 22: Verse.AI.IAttackTarget
L_0000: Local var 23: System.Single
L_0000: Local var 24: System.Single
L_0000: Local var 25: Verse.IntVec3
L_0000: Local var 26: Verse.AI.IAttackTarget
L_0000: ldnull
L_0001: stloc 26 (Verse.AI.IAttackTarget)
L_0003: ldarg 0
L_0009: ldarga 2
L_000f: call Boolean Prefix(IAttackTargetSearcher, System.Predicate`1[Verse.Thing]
ByRef)
L_0014: brfalse Label0
L_0019: newobj Void .ctor()
L_001e: stloc.0
L_001f: ldloc.0
L_0020: ldarg.0
L_0021: stfld Verse.AI.IAttackTargetSearcher searcher
L_0026: ldloc.0
L_0027: ldarg.s 8
L_0029: stfld System.Boolean canTakeTargetsCloserThanEffectiveMinRange
L_002e: ldloc.0
L_002f: ldarg.s 6
L_0031: stfld System.Single maxTravelRadiusFromLocus
L_0036: ldloc.0
L_0037: ldarg.s 5
L_0039: stfld Verse.IntVec3 locus
L_003e: ldloc.0
L_003f: ldarg.2
L_0040: stfld System.Predicate`1[Verse.Thing] validator
L_0045: ldloc.0
L_0046: ldarg.1
L_0047: stfld Verse.AI.TargetScanFlags flags
L_004c: ldloc.0
L_004d: ldarg.s 7
L_004f: stfld System.Boolean canBash
L_0054: ldloc.0
L_0055: ldarg.s 4
L_0057: stfld System.Single maxDist
L_005c: ldloc.0
L_005d: ldloc.0
L_005e: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0063: callvirt Verse.Thing get_Thing()
L_0068: stfld Verse.Thing searcherThing
L_006d: ldloc.0
L_006e: ldloc.0
L_006f: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0074: isinst Verse.Pawn
L_0079: stfld Verse.Pawn searcherPawn
L_007e: ldloc.0
L_007f: ldloc.0
L_0080: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0085: callvirt Verse.Verb get_CurrentEffectiveVerb()
L_008a: stfld Verse.Verb verb
L_008f: ldloc.0
L_0090: ldfld Verse.Verb verb
L_0095: brtrue Label1
L_009a: ldstr "BestAttackTarget with "
L_009f: ldloc.0
L_00a0: ldfld Verse.AI.IAttackTargetSearcher searcher
L_00a5: call System.String ToStringSafe[IAttackTargetSearcher]
(IAttackTargetSearcher)
L_00aa: ldstr " who has no attack verb."
L_00af: call System.String Concat(System.String, System.String, System.String)
L_00b4: ldc.i4.0
L_00b5: call Void Error(System.String, Boolean)
L_00ba: ldnull
L_00bb: br Label26
L_00c0: Label1
L_00c0: ldloc.0
L_00c1: ldloc.0
L_00c2: ldfld Verse.Verb verb
L_00c7: call Boolean IsEMP(Verse.Verb)
L_00cc: stfld System.Boolean onlyTargetMachines
L_00d1: ldloc.0
L_00d2: ldarg.3
L_00d3: ldarg.3
L_00d4: mul
L_00d5: stfld System.Single minDistSquared
L_00da: ldloc.0
L_00db: ldfld System.Single maxTravelRadiusFromLocus
L_00e0: ldloc.0
L_00e1: ldfld Verse.Verb verb
L_00e6: ldfld Verse.VerbProperties verbProps
L_00eb: ldfld System.Single range
L_00f0: add
L_00f1: stloc.1
L_00f2: ldloc.0
L_00f3: ldloc.1
L_00f4: ldloc.1
L_00f5: mul
L_00f6: stfld System.Single maxLocusDistSquared
L_00fb: ldloc.0
L_00fc: ldnull
L_00fd: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0102: ldloc.0
L_0103: ldfld Verse.AI.TargetScanFlags flags
L_0108: ldc.i4.s 64
L_010a: and
L_010b: conv.u1
L_010c: brfalse Label2
L_0111: ldloc.0
L_0112: ldloc.0
L_0113: ldftn Boolean <>m__0(IntVec3)
L_0119: newobj Void .ctor(Object, IntPtr)
L_011e: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0123: Label2
L_0123: ldloc.0
L_0124: ldloc.0
L_0125: ldftn Boolean <>m__1(IAttackTarget)
L_012b: newobj Void .ctor(Object, IntPtr)
L_0130: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0135: ldloc.0
L_0136: ldfld Verse.AI.IAttackTargetSearcher searcher
L_013b: call Boolean HasRangedAttack(IAttackTargetSearcher)
L_0140: brfalse Label3
L_0145: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_014a: callvirt Void Clear()
L_014f: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0154: ldloc.0
L_0155: ldfld Verse.Thing searcherThing
L_015a: callvirt Verse.Map get_Map()
L_015f: ldfld Verse.AI.AttackTargetsCache attackTargetsCache
L_0164: ldloc.0
L_0165: ldfld Verse.AI.IAttackTargetSearcher searcher
L_016a: callvirt System.Collections.Generic.List`1[Verse.AI.IAttackTarget]
GetPotentialTargetsFor(IAttackTargetSearcher)
L_016f: callvirt Void AddRange(IEnumerable`1)
L_0174: ldloc.0
L_0175: ldfld Verse.AI.TargetScanFlags flags
L_017a: ldc.i4.4
L_017b: and
L_017c: conv.u1
L_017d: brfalse Label4
L_0182: newobj Void .ctor()
L_0187: stloc.2
L_0188: ldloc.2
L_0189: ldloc.0
L_018a: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_018f: ldloc.2
L_0190: ldloc.0
L_0191: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0196: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_019b: ldloc.0
L_019c: ldloc.2
L_019d: ldftn Boolean <>m__0(IAttackTarget)
L_01a3: newobj Void .ctor(Object, IntPtr)
L_01a8: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01ad: Label4
L_01ad: ldc.i4.0
L_01ae: stloc.3
L_01af: ldc.i4.0
L_01b0: stloc.s 4 (System.Int32)
L_01b2: br Label5
L_01b7: Label10
L_01b7: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_01bc: ldloc.s 4 (System.Int32)
L_01be: callvirt IAttackTarget get_Item(Int32)
L_01c3: stloc.s 5 (Verse.AI.IAttackTarget)
L_01c5: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01c7: callvirt Verse.Thing get_Thing()
L_01cc: callvirt IntVec3 get_Position()
L_01d1: stloc.s 6 (Verse.IntVec3)
L_01d3: ldloca.s 6 (Verse.IntVec3)
L_01d5: ldloc.0
L_01d6: ldfld Verse.Thing searcherThing
L_01db: callvirt IntVec3 get_Position()
L_01e0: ldloc.0
L_01e1: ldfld System.Single maxDist
L_01e6: call Boolean InHorDistOf(IntVec3, Single)
L_01eb: brfalse Label6
L_01f0: ldloc.0
L_01f1: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01f6: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01f8: callvirt Boolean Invoke(IAttackTarget)
L_01fd: brfalse Label7
L_0202: ldloc.s 5 (Verse.AI.IAttackTarget)
L_0204: ldloc.0
L_0205: ldfld Verse.AI.IAttackTargetSearcher searcher
L_020a: ldloc.0
L_020b: ldfld Verse.Verb verb
L_0210: call Boolean CanShootAtFromCurrentPosition(IAttackTarget,
IAttackTargetSearcher, Verse.Verb)
L_0215: brfalse Label8
L_021a: ldc.i4.1
L_021b: stloc.3
L_021c: br Label9
L_0221: Label6
L_0221: Label7
L_0221: Label8
L_0221: ldloc.s 4 (System.Int32)
L_0223: ldc.i4.1
L_0224: add
L_0225: stloc.s 4 (System.Int32)
L_0227: Label5
L_0227: ldloc.s 4 (System.Int32)
L_0229: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_022e: callvirt Int32 get_Count()
L_0233: blt Label10
L_0238: Label9
L_0238: ldloc.3
L_0239: brfalse Label11
L_023e: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0243: ldloc.0
L_0244: ldftn Boolean <>m__2(IAttackTarget)
L_024a: newobj Void .ctor(Object, IntPtr)
L_024f: callvirt Int32 RemoveAll(System.Predicate`1[Verse.AI.IAttackTarget])
L_0254: pop
L_0255: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_025a: ldloc.0
L_025b: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0260: ldloc.0
L_0261: ldfld Verse.Verb verb
L_0266: call IAttackTarget
GetRandomShootingTargetByScore(System.Collections.Generic.List`1[Verse.AI.IAttackTa
rget], IAttackTargetSearcher, Verse.Verb)
L_026b: stloc.s 7 (Verse.AI.IAttackTarget)
L_026d: br Label12
L_0272: Label11
L_0272: ldloc.0
L_0273: ldfld Verse.AI.TargetScanFlags flags
L_0278: ldc.i4.8
L_0279: and
L_027a: conv.u1
L_027b: brfalse Label13
L_0280: ldloc.0
L_0281: ldfld Verse.AI.TargetScanFlags flags
L_0286: ldc.i4.4
L_0287: and
L_0288: conv.u1
L_0289: brtrue Label14
L_028e: ldloc.0
L_028f: ldftn Boolean <>m__3(Verse.Thing)
L_0295: newobj Void .ctor(Object, IntPtr)
L_029a: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_029c: br Label15
L_02a1: Label13
L_02a1: Label14
L_02a1: ldloc.0
L_02a2: ldftn Boolean <>m__4(Verse.Thing)
L_02a8: newobj Void .ctor(Object, IntPtr)
L_02ad: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_02af: Label15
L_02af: ldloc.0
L_02b0: ldfld Verse.Thing searcherThing
L_02b5: callvirt IntVec3 get_Position()
L_02ba: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02bf: ldloc.0
L_02c0: ldfld System.Single maxDist
L_02c5: ldloc.s 8 (System.Predicate`1[Verse.Thing])
L_02c7: ldnull
L_02c8: call Verse.Thing ClosestThing_Global(IntVec3, IEnumerable, Single,
System.Predicate`1[Verse.Thing], System.Func`2[Verse.Thing,System.Single])
L_02cd: castclass Verse.AI.IAttackTarget
L_02d2: stloc.s 7 (Verse.AI.IAttackTarget)
L_02d4: Label12
L_02d4: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02d9: callvirt Void Clear()
L_02de: ldloc.s 7 (Verse.AI.IAttackTarget)
L_02e0: br Label27
L_02e5: Label3
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn searcherPawn
L_02eb: brfalse Label16
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn searcherPawn
L_02f6: ldfld Verse.AI.Pawn_MindState mindState
L_02fb: ldfld Verse.AI.PawnDuty duty
L_0300: brfalse Label17
L_0305: ldloc.0
L_0306: ldfld Verse.Pawn searcherPawn
L_030b: ldfld Verse.AI.Pawn_MindState mindState
L_0310: ldfld Verse.AI.PawnDuty duty
L_0315: ldfld System.Single radius
L_031a: ldc.r4 0
L_031f: ble.un Label18
L_0324: ldloc.0
L_0325: ldfld Verse.Pawn searcherPawn
L_032a: callvirt Boolean get_InMentalState()
L_032f: brtrue Label19
L_0334: newobj Void .ctor()
L_0339: stloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033b: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033d: ldloc.0
L_033e: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_0343: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0345: ldloc.0
L_0346: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_034b: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_0350: ldloc.0
L_0351: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0353: ldftn Boolean <>m__0(IAttackTarget)
L_0359: newobj Void .ctor(Object, IntPtr)
L_035e: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0363: Label16
L_0363: Label17
L_0363: Label18
L_0363: Label19
L_0363: ldloc.0
L_0364: ldfld Verse.Thing searcherThing
L_0369: callvirt IntVec3 get_Position()
L_036e: stloc.s 11 (Verse.IntVec3)
L_0370: ldloc.0
L_0371: ldfld Verse.Thing searcherThing
L_0376: callvirt Verse.Map get_Map()
L_037b: stloc.s 12 (Verse.Map)
L_037d: ldc.i4.s 15
L_037f: call ThingRequest ForGroup(ThingRequestGroup)
L_0384: stloc.s 13 (Verse.ThingRequest)
L_0386: ldc.i4.2
L_0387: stloc.s 14 (Verse.AI.PathEndMode)
L_0389: ldloc.0
L_038a: ldfld Verse.Pawn searcherPawn
L_038f: stloc.s 15 (Verse.Pawn)
L_0391: ldc.i4.3
L_0392: stloc.s 16 (Verse.Danger)
L_0394: ldloc.0
L_0395: ldfld System.Boolean canBash
L_039a: stloc.s 17 (System.Boolean)
L_039c: ldloc.s 15 (Verse.Pawn)
L_039e: ldloc.s 16 (Verse.Danger)
L_03a0: ldc.i4.0
L_03a1: ldloc.s 17 (System.Boolean)
L_03a3: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_03a8: stloc.s 18 (Verse.TraverseParms)
L_03aa: ldloc.0
L_03ab: ldfld System.Single maxDist
L_03b0: stloc.s 19 (System.Single)
L_03b2: ldloc.0
L_03b3: ldftn Boolean <>m__5(Verse.Thing)
L_03b9: newobj Void .ctor(Object, IntPtr)
L_03be: stloc.s 20 (System.Predicate`1[Verse.Thing])
L_03c0: ldloc.0
L_03c1: ldfld System.Single maxDist
L_03c6: ldc.r4 800
L_03cb: ble.un Label20
L_03d0: ldc.i4.m1
L_03d1: br Label21
L_03d6: Label20
L_03d6: ldc.i4.s 40
L_03d8: Label21
L_03d8: stloc.s 21 (System.Int32)
L_03da: ldloc.s 11 (Verse.IntVec3)
L_03dc: ldloc.s 12 (Verse.Map)
L_03de: ldloc.s 13 (Verse.ThingRequest)
L_03e0: ldloc.s 14 (Verse.AI.PathEndMode)
L_03e2: ldloc.s 18 (Verse.TraverseParms)
L_03e4: ldloc.s 19 (System.Single)
L_03e6: ldloc.s 20 (System.Predicate`1[Verse.Thing])
L_03e8: ldnull
L_03e9: ldc.i4.0
L_03ea: ldloc.s 21 (System.Int32)
L_03ec: ldc.i4.0
L_03ed: ldc.i4.6
L_03ee: ldc.i4.0
L_03ef: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_03f4: castclass Verse.AI.IAttackTarget
L_03f9: stloc.s 10 (Verse.AI.IAttackTarget)
L_03fb: ldloc.s 10 (Verse.AI.IAttackTarget)
L_03fd: brfalse Label22
L_0402: ldloc.0
L_0403: ldfld Verse.Pawn searcherPawn
L_0408: call Boolean ShouldCollideWithPawns(Verse.Pawn)
L_040d: brfalse Label23
L_0412: ldloc.0
L_0413: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0418: ldloc.0
L_0419: ldfld Verse.Pawn searcherPawn
L_041e: ldloc.0
L_041f: ldfld System.Single maxDist
L_0424: ldloc.0
L_0425: ldfld System.Boolean canBash
L_042a: call IAttackTarget
FindBestReachableMeleeTarget(System.Predicate`1[Verse.AI.IAttackTarget],
Verse.Pawn, Single, Boolean)
L_042f: stloc.s 22 (Verse.AI.IAttackTarget)
L_0431: ldloc.s 22 (Verse.AI.IAttackTarget)
L_0433: brfalse Label24
L_0438: ldloc.0
L_0439: ldfld Verse.Pawn searcherPawn
L_043e: callvirt IntVec3 get_Position()
L_0443: ldloc.s 10 (Verse.AI.IAttackTarget)
L_0445: callvirt Verse.Thing get_Thing()
L_044a: callvirt IntVec3 get_Position()
L_044f: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_0454: stloc.s 11 (Verse.IntVec3)
L_0456: ldloca.s 11 (Verse.IntVec3)
L_0458: call Single get_LengthHorizontal()
L_045d: stloc.s 23 (System.Single)
L_045f: ldloc.0
L_0460: ldfld Verse.Pawn searcherPawn
L_0465: callvirt IntVec3 get_Position()
L_046a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_046c: callvirt Verse.Thing get_Thing()
L_0471: callvirt IntVec3 get_Position()
L_0476: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_047b: stloc.s 25 (Verse.IntVec3)
L_047d: ldloca.s 25 (Verse.IntVec3)
L_047f: call Single get_LengthHorizontal()
L_0484: stloc.s 24 (System.Single)
L_0486: ldloc.s 23 (System.Single)
L_0488: ldloc.s 24 (System.Single)
L_048a: sub
L_048b: call Single Abs(Single)
L_0490: ldc.r4 50
L_0495: bge.un Label25
L_049a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_049c: stloc.s 10 (Verse.AI.IAttackTarget)
L_049e: Label22
L_049e: Label23
L_049e: Label24
L_049e: Label25
L_049e: ldloc.s 10 (Verse.AI.IAttackTarget)
L_04a0: Label26
L_04a0: Label27
L_04a0: stloc 26 (Verse.AI.IAttackTarget)
L_04a2: Label0
L_04a2: ldloc 26 (Verse.AI.IAttackTarget)
L_04a4: ret
DONE

### Patch RimWorld.Pawn_DraftController, IEnumerable`1 GetGizmos()


L_0000: Local var 0: RimWorld.Pawn_DraftController+<GetGizmos>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Gizmo,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld RimWorld.Pawn_DraftController $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, RimWorld.Pawn_DraftController ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0027: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ldarg.0
L_019a: ldarg 1
L_01a0: call Void Postfix(RimWorld.Pawn_DraftController, Boolean)
L_01a5: ret
DONE
### Patch Verse.Pawn, Void Kill(Nullable`1, Verse.Hediff)
L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: Verse.Map
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.Planet.Caravan
L_0000: Local var 7: RimWorld.Building_Grave
L_0000: Local var 8: System.Boolean
L_0000: Local var 9: System.Single
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.ThingOwner
L_0000: Local var 12: System.Boolean
L_0000: Local var 13: System.Boolean
L_0000: Local var 14: System.Boolean
L_0000: Local var 15: System.Boolean
L_0000: Local var 16: Verse.DamageInfo
L_0000: Local var 17: System.Single
L_0000: Local var 18: Verse.Thing
L_0000: Local var 19: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 20: Verse.DamageInfo
L_0000: Local var 21: Verse.DamageInfo
L_0000: Local var 22: Verse.Pawn
L_0000: Local var 23: Verse.DamageInfo
L_0000: Local var 24: Verse.DamageInfo
L_0000: Local var 25: Verse.DamageInfo
L_0000: Local var 26: Verse.Pawn_CarryTracker
L_0000: Local var 27: Verse.Thing
L_0000: Local var 28: Verse.AI.Group.Lord
L_0000: Local var 29: Verse.Corpse
L_0000: Local var 30: Verse.DamageInfo
L_0000: Local var 31: Verse.DamageInfo
L_0000: Local var 32: Verse.Hediff
L_0000: Local var 33: RimWorld.CompRottable
L_0000: Local var 34: System.Int32
L_0000: ldarg.0
L_0001: call IntVec3 get_PositionHeld()
L_0006: stloc.0
L_0007: ldarg.0
L_0008: call Verse.Map get_Map()
L_000d: stloc.1
L_000e: ldarg.0
L_000f: call Verse.Map get_MapHeld()
L_0014: stloc.2
L_0015: ldarg.0
L_0016: call Boolean get_Spawned()
L_001b: stloc.3
L_001c: ldarg.0
L_001d: call Boolean get_SpawnedOrAnyParentSpawned()
L_0022: stloc.s 4 (System.Boolean)
L_0024: ldarg.0
L_0025: call Boolean IsWorldPawn(Verse.Pawn)
L_002a: stloc.s 5 (System.Boolean)
L_002c: ldarg.0
L_002d: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_0032: stloc.s 6 (RimWorld.Planet.Caravan)
L_0034: ldnull
L_0035: stloc.s 7 (RimWorld.Building_Grave)
L_0037: ldarg.0
L_0038: ldfld RimWorld.Pawn_Ownership ownership
L_003d: brfalse Label1
L_0042: ldarg.0
L_0043: ldfld RimWorld.Pawn_Ownership ownership
L_0048: callvirt RimWorld.Building_Grave get_AssignedGrave()
L_004d: stloc.s 7 (RimWorld.Building_Grave)
L_004f: Label1
L_004f: ldarg.0
L_0050: call Boolean InBed(Verse.Pawn)
L_0055: stloc.s 8 (System.Boolean)
L_0057: ldc.r4 0
L_005c: stloc.s 9 (System.Single)
L_005e: ldloc.s 8 (System.Boolean)
L_0060: brfalse Label2
L_0065: ldarg.0
L_0066: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006b: callvirt Rot4 get_Rotation()
L_0070: stloc.s 10 (Verse.Rot4)
L_0072: ldloca.s 10 (Verse.Rot4)
L_0074: call Single get_AsAngle()
L_0079: stloc.s 9 (System.Single)
L_007b: Label2
L_007b: ldnull
L_007c: stloc.s 11 (Verse.ThingOwner)
L_007e: ldarg.0
L_007f: call Boolean get_InContainerEnclosed()
L_0084: stloc.s 12 (System.Boolean)
L_0086: ldloc.s 12 (System.Boolean)
L_0088: brfalse Label3
L_008d: ldarg.0
L_008e: ldfld Verse.ThingOwner holdingOwner
L_0093: stloc.s 11 (Verse.ThingOwner)
L_0095: ldloc.s 11 (Verse.ThingOwner)
L_0097: ldarg.0
L_0098: callvirt Boolean Remove(Verse.Thing)
L_009d: pop
L_009e: Label3
L_009e: ldc.i4.0
L_009f: stloc.s 13 (System.Boolean)
L_00a1: ldc.i4.0
L_00a2: stloc.s 14 (System.Boolean)
L_00a4: call ProgramState get_ProgramState()
L_00a9: ldc.i4.2
L_00aa: bne.un Label4
L_00af: ldloc.1
L_00b0: brfalse Label5
L_00b5: ldloc.1
L_00b6: ldfld Verse.DesignationManager designationManager
L_00bb: ldarg.0
L_00bc: ldsfld Verse.DesignationDef Hunt
L_00c1: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00c6: ldnull
L_00c7: ceq
L_00c9: ldc.i4.0
L_00ca: ceq
L_00cc: stloc.s 13 (System.Boolean)
L_00ce: ldloc.1
L_00cf: ldfld Verse.DesignationManager designationManager
L_00d4: ldarg.0
L_00d5: ldsfld Verse.DesignationDef Slaughter
L_00da: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00df: ldnull
L_00e0: ceq
L_00e2: ldc.i4.0
L_00e3: ceq
L_00e5: stloc.s 14 (System.Boolean)
L_00e7: Label4
L_00e7: Label5
L_00e7: ldarg.0
L_00e8: call Boolean ShouldSendNotificationAbout(Verse.Pawn)
L_00ed: brfalse Label6
L_00f2: ldloc.s 14 (System.Boolean)
L_00f4: brfalse Label7
L_00f9: ldarga.s 1
L_00fb: call Boolean get_HasValue()
L_0100: brfalse Label8
L_0105: ldarga.s 1
L_0107: call DamageInfo get_Value()
L_010c: stloc.s 16 (Verse.DamageInfo)
L_010e: ldloca.s 16 (Verse.DamageInfo)
L_0110: call Verse.DamageDef get_Def()
L_0115: ldsfld Verse.DamageDef ExecutionCut
L_011a: ceq
L_011c: br Label9
L_0121: Label7
L_0121: Label8
L_0121: ldc.i4.0
L_0122: Label9
L_0122: ldc.i4.0
L_0123: ceq
L_0125: br Label10
L_012a: Label6
L_012a: ldc.i4.0
L_012b: Label10
L_012b: stloc.s 15 (System.Boolean)
L_012d: ldc.r4 0
L_0132: stloc.s 17 (System.Single)
L_0134: ldarg.0
L_0135: ldsfld Verse.ThingDef Fire
L_013a: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_013f: stloc.s 18 (Verse.Thing)
L_0141: ldloc.s 18 (Verse.Thing)
L_0143: brfalse Label11
L_0148: ldloc.s 18 (Verse.Thing)
L_014a: castclass RimWorld.Fire
L_014f: callvirt Single CurrentSize()
L_0154: stloc.s 17 (System.Single)
L_0156: Label11
L_0156: ldarg.0
L_0157: ldarg.1
L_0158: ldc.i4.0
L_0159: call Void TryGiveThoughts(Verse.Pawn, Nullable`1,
PawnDiedOrDownedThoughtsKind)
L_015e: call ProgramState get_ProgramState()
L_0163: ldc.i4.2
L_0164: bne.un Label12
L_0169: call RimWorld.Storyteller get_Storyteller()
L_016e: ldarg.0
L_016f: ldc.i4.1
L_0170: ldloca.s 19 (System.Nullable`1[Verse.DamageInfo])
L_0172: initobj System.Nullable`1[Verse.DamageInfo]
L_0178: ldloc.s 19 (System.Nullable`1[Verse.DamageInfo])
L_017a: callvirt Void Notify_PawnEvent(Verse.Pawn, AdaptationEvent, Nullable`1)
L_017f: Label12
L_017f: ldarg.0
L_0180: call Boolean get_IsColonist()
L_0185: brfalse Label13
L_018a: call RimWorld.StoryWatcher get_StoryWatcher()
L_018f: ldfld RimWorld.StatsRecord statsRecord
L_0194: callvirt Void Notify_ColonistKilled()
L_0199: Label13
L_0199: ldloc.3
L_019a: brfalse Label14
L_019f: ldarga.s 1
L_01a1: call Boolean get_HasValue()
L_01a6: brfalse Label15
L_01ab: ldarga.s 1
L_01ad: call DamageInfo get_Value()
L_01b2: stloc.s 20 (Verse.DamageInfo)
L_01b4: ldloca.s 20 (Verse.DamageInfo)
L_01b6: call Verse.DamageDef get_Def()
L_01bb: ldarg.0
L_01bc: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_01c1: brfalse Label16
L_01c6: ldarg.0
L_01c7: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01cc: brtrue Label17
L_01d1: ldnull
L_01d2: ldftn Verse.SoundDef <Kill>m__8(Verse.LifeStageAge)
L_01d8: newobj Void .ctor(Object, IntPtr)
L_01dd: stsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e2: Label17
L_01e2: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e7: ldc.r4 1
L_01ec: call Void PlayNearestLifestageSound(Verse.Pawn,
System.Func`2[Verse.LifeStageAge,Verse.SoundDef], Single)
L_01f1: Label14
L_01f1: Label15
L_01f1: Label16
L_01f1: ldarga.s 1
L_01f3: call Boolean get_HasValue()
L_01f8: brfalse Label18
L_01fd: ldarga.s 1
L_01ff: call DamageInfo get_Value()
L_0204: stloc.s 21 (Verse.DamageInfo)
L_0206: ldloca.s 21 (Verse.DamageInfo)
L_0208: call Verse.Thing get_Instigator()
L_020d: brfalse Label19
L_0212: ldarga.s 1
L_0214: call DamageInfo get_Value()
L_0219: stloc.s 23 (Verse.DamageInfo)
L_021b: ldloca.s 23 (Verse.DamageInfo)
L_021d: call Verse.Thing get_Instigator()
L_0222: isinst Verse.Pawn
L_0227: stloc.s 22 (Verse.Pawn)
L_0229: ldloc.s 22 (Verse.Pawn)
L_022b: brfalse Label20
L_0230: ldarg.0
L_0231: ldloc.s 22 (Verse.Pawn)
L_0233: call Void Notify_PawnKilled(Verse.Pawn, Verse.Pawn)
L_0238: ldarg.0
L_0239: call Boolean get_IsColonist()
L_023e: brfalse Label21
L_0243: ldloc.s 22 (Verse.Pawn)
L_0245: ldfld RimWorld.Pawn_RecordsTracker records
L_024a: ldsfld RimWorld.StoryEventDef KilledPlayer
L_024f: callvirt Void AccumulateStoryEvent(RimWorld.StoryEventDef)
L_0254: Label18
L_0254: Label19
L_0254: Label20
L_0254: Label21
L_0254: ldarg.0
L_0255: ldarg.1
L_0256: call Void Notify_PawnDied(Verse.Pawn, Nullable`1)
L_025b: ldloc.3
L_025c: brfalse Label22
L_0261: call Verse.BattleLog get_BattleLog()
L_0266: ldarg.0
L_0267: ldarg.0
L_0268: call Verse.RaceProperties get_RaceProps()
L_026d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0272: callvirt Verse.RulePackDef get_DeathRules()
L_0277: ldarga.s 1
L_0279: call Boolean get_HasValue()
L_027e: brfalse Label23
L_0283: ldarga.s 1
L_0285: call DamageInfo get_Value()
L_028a: stloc.s 24 (Verse.DamageInfo)
L_028c: ldloca.s 24 (Verse.DamageInfo)
L_028e: call Verse.Thing get_Instigator()
L_0293: isinst Verse.Pawn
L_0298: br Label24
L_029d: Label23
L_029d: ldnull
L_029e: Label24
L_029e: ldarg.2
L_029f: ldarga.s 1
L_02a1: call Boolean get_HasValue()
L_02a6: brfalse Label25
L_02ab: ldarga.s 1
L_02ad: call DamageInfo get_Value()
L_02b2: stloc.s 25 (Verse.DamageInfo)
L_02b4: ldloca.s 25 (Verse.DamageInfo)
L_02b6: call Verse.BodyPartRecord get_HitPart()
L_02bb: br Label26
L_02c0: Label25
L_02c0: ldnull
L_02c1: Label26
L_02c1: newobj Void .ctor(Thing, RulePackDef, Pawn, Hediff, BodyPartRecord)
L_02c6: callvirt Void Add(Verse.LogEntry)
L_02cb: Label22
L_02cb: ldarg.0
L_02cc: ldfld Verse.Pawn_HealthTracker health
L_02d1: ldfld RimWorld.BillStack surgeryBills
L_02d6: callvirt Void Clear()
L_02db: ldarg.0
L_02dc: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02e1: brfalse Label27
L_02e6: ldarg.0
L_02e7: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02ec: ldarg.1
L_02ed: callvirt Void Notify_PawnKilled(Nullable`1)
L_02f2: Label27
L_02f2: ldarg.0
L_02f3: call Verse.RaceProperties get_RaceProps()
L_02f8: callvirt Boolean get_IsFlesh()
L_02fd: brfalse Label28
L_0302: ldarg.0
L_0303: ldfld RimWorld.Pawn_RelationsTracker relations
L_0308: ldarg.1
L_0309: ldloc.1
L_030a: callvirt Void Notify_PawnKilled(Nullable`1, Verse.Map)
L_030f: Label28
L_030f: ldarg.0
L_0310: ldfld RimWorld.Pawn_MeleeVerbs meleeVerbs
L_0315: callvirt Void Notify_PawnKilled()
L_031a: ldarg.0
L_031b: call IThingHolder get_ParentHolder()
L_0320: isinst Verse.Pawn_CarryTracker
L_0325: stloc.s 26 (Verse.Pawn_CarryTracker)
L_0327: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0329: brfalse Label29
L_032e: ldarg.0
L_032f: ldfld Verse.ThingOwner holdingOwner
L_0334: ldarg.0
L_0335: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0337: ldfld Verse.Pawn pawn
L_033c: callvirt IntVec3 get_Position()
L_0341: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0343: ldfld Verse.Pawn pawn
L_0348: callvirt Verse.Map get_Map()
L_034d: ldc.i4.1
L_034e: ldloca.s 27 (Verse.Thing)
L_0350: ldnull
L_0351: ldnull
L_0352: callvirt Boolean TryDrop(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
Verse.Thing ByRef, System.Action`2[Verse.Thing,System.Int32],
System.Predicate`1[Verse.IntVec3])
L_0357: brfalse Label30
L_035c: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_035e: ldfld Verse.Pawn pawn
L_0363: callvirt Verse.Map get_Map()
L_0368: stloc.1
L_0369: ldc.i4.1
L_036a: stloc.3
L_036b: Label29
L_036b: Label30
L_036b: ldarg.0
L_036c: ldfld Verse.Pawn_HealthTracker health
L_0371: callvirt Void SetDead()
L_0376: ldarg.0
L_0377: ldfld Verse.Pawn_HealthTracker health
L_037c: ldfld Verse.Effecter deflectionEffecter
L_0381: brfalse Label31
L_0386: ldarg.0
L_0387: ldfld Verse.Pawn_HealthTracker health
L_038c: ldfld Verse.Effecter deflectionEffecter
L_0391: callvirt Void Cleanup()
L_0396: ldarg.0
L_0397: ldfld Verse.Pawn_HealthTracker health
L_039c: ldnull
L_039d: stfld Verse.Effecter deflectionEffecter
L_03a2: Label31
L_03a2: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03a4: brfalse Label32
L_03a9: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03ab: ldarg.0
L_03ac: callvirt Void Notify_MemberDied(Verse.Pawn)
L_03b1: Label32
L_03b1: ldarg.0
L_03b2: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_03b7: stloc.s 28 (Verse.AI.Group.Lord)
L_03b9: ldloc.s 28 (Verse.AI.Group.Lord)
L_03bb: brfalse Label33
L_03c0: ldloc.s 28 (Verse.AI.Group.Lord)
L_03c2: ldarg.0
L_03c3: ldc.i4.2
L_03c4: ldarg.1
L_03c5: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_03ca: Label33
L_03ca: ldloc.3
L_03cb: brfalse Label34
L_03d0: ldarg.0
L_03d1: ldc.i4.0
L_03d2: call Void DropAndForbidEverything(Boolean)
L_03d7: Label34
L_03d7: ldloc.3
L_03d8: brfalse Label35
L_03dd: ldarg.0
L_03de: ldc.i4.0
L_03df: callvirt Void DeSpawn(DestroyMode)
L_03e4: Label35
L_03e4: ldnull
L_03e5: stloc.s 29 (Verse.Corpse)
L_03e7: ldarg.0
L_03e8: call Boolean IsBeingGenerated(Verse.Pawn)
L_03ed: brtrue Label36
L_03f2: ldloc.s 12 (System.Boolean)
L_03f4: brfalse Label37
L_03f9: ldarg.0
L_03fa: ldloc.s 7 (RimWorld.Building_Grave)
L_03fc: ldloc.s 8 (System.Boolean)
L_03fe: ldloc.s 9 (System.Single)
L_0400: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0405: stloc.s 29 (Verse.Corpse)
L_0407: ldloc.s 11 (Verse.ThingOwner)
L_0409: ldloc.s 29 (Verse.Corpse)
L_040b: ldc.i4.1
L_040c: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0411: brtrue Label38
L_0416: ldloc.s 29 (Verse.Corpse)
L_0418: ldc.i4.0
L_0419: callvirt Void Destroy(DestroyMode)
L_041e: ldnull
L_041f: stloc.s 29 (Verse.Corpse)
L_0421: Label38
L_0421: br Label39
L_0426: Label37
L_0426: ldloc.s 4 (System.Boolean)
L_0428: brfalse Label40
L_042d: ldarg.0
L_042e: ldfld Verse.ThingOwner holdingOwner
L_0433: brfalse Label41
L_0438: ldarg.0
L_0439: ldfld Verse.ThingOwner holdingOwner
L_043e: ldarg.0
L_043f: callvirt Boolean Remove(Verse.Thing)
L_0444: pop
L_0445: Label41
L_0445: ldarg.0
L_0446: ldloc.s 7 (RimWorld.Building_Grave)
L_0448: ldloc.s 8 (System.Boolean)
L_044a: ldloc.s 9 (System.Single)
L_044c: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0451: stloc.s 29 (Verse.Corpse)
L_0453: ldloc.s 29 (Verse.Corpse)
L_0455: ldloc.0
L_0456: ldloc.2
L_0457: ldc.i4.0
L_0458: ldnull
L_0459: ldnull
L_045a: call Boolean TryPlaceThing(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
System.Action`2[Verse.Thing,System.Int32], System.Predicate`1[Verse.IntVec3])
L_045f: brfalse Label42
L_0464: ldloc.s 29 (Verse.Corpse)
L_0466: ldarg.0
L_0467: call Rot4 get_Rotation()
L_046c: callvirt Void set_Rotation(Rot4)
L_0471: ldarg.0
L_0472: ldarg.1
L_0473: call Boolean WasKilledByHunter(Verse.Pawn, Nullable`1)
L_0478: brfalse Label43
L_047d: ldarga.s 1
L_047f: call DamageInfo get_Value()
L_0484: stloc.s 30 (Verse.DamageInfo)
L_0486: ldloca.s 30 (Verse.DamageInfo)
L_0488: call Verse.Thing get_Instigator()
L_048d: castclass Verse.Pawn
L_0492: ldloc.s 29 (Verse.Corpse)
L_0494: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0499: ldarga.s 1
L_049b: call DamageInfo get_Value()
L_04a0: stloc.s 31 (Verse.DamageInfo)
L_04a2: ldloca.s 31 (Verse.DamageInfo)
L_04a4: call Verse.Thing get_Instigator()
L_04a9: castclass Verse.Pawn
L_04ae: callvirt Verse.AI.Job get_CurJob()
L_04b3: ldc.i4.1
L_04b4: ldc.i4.m1
L_04b5: ldnull
L_04b6: ldc.i4.1
L_04b7: call Boolean Reserve(Verse.Pawn, LocalTargetInfo, Verse.AI.Job, Int32,
Int32, Verse.ReservationLayerDef, Boolean)
L_04bc: pop
L_04bd: br Label44
L_04c2: Label43
L_04c2: ldloc.s 13 (System.Boolean)
L_04c4: brtrue Label45
L_04c9: ldloc.s 14 (System.Boolean)
L_04cb: brtrue Label46
L_04d0: ldloc.s 29 (Verse.Corpse)
L_04d2: call Void SetForbiddenIfOutsideHomeArea(Verse.Thing)
L_04d7: Label44
L_04d7: Label45
L_04d7: Label46
L_04d7: ldloc.s 17 (System.Single)
L_04d9: ldc.r4 0
L_04de: ble.un Label47
L_04e3: ldloc.s 29 (Verse.Corpse)
L_04e5: callvirt IntVec3 get_Position()
L_04ea: ldloc.s 29 (Verse.Corpse)
L_04ec: callvirt Verse.Map get_Map()
L_04f1: ldloc.s 17 (System.Single)
L_04f3: call Boolean TryStartFireIn(IntVec3, Verse.Map, Single)
L_04f8: pop
L_04f9: Label47
L_04f9: br Label48
L_04fe: Label42
L_04fe: ldloc.s 29 (Verse.Corpse)
L_0500: ldc.i4.0
L_0501: callvirt Void Destroy(DestroyMode)
L_0506: ldnull
L_0507: stloc.s 29 (Verse.Corpse)
L_0509: Label48
L_0509: br Label49
L_050e: Label40
L_050e: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0510: brfalse Label50
L_0515: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0517: callvirt Boolean get_Spawned()
L_051c: brfalse Label51
L_0521: ldarg.0
L_0522: ldloc.s 7 (RimWorld.Building_Grave)
L_0524: ldloc.s 8 (System.Boolean)
L_0526: ldloc.s 9 (System.Single)
L_0528: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_052d: stloc.s 29 (Verse.Corpse)
L_052f: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0531: ldloc.s 29 (Verse.Corpse)
L_0533: ldc.i4.1
L_0534: callvirt Void AddPawnOrItem(Verse.Thing, Boolean)
L_0539: br Label52
L_053e: Label50
L_053e: Label51
L_053e: ldarg.0
L_053f: ldfld Verse.ThingOwner holdingOwner
L_0544: brtrue Label53
L_0549: ldarg.0
L_054a: call Boolean IsWorldPawn(Verse.Pawn)
L_054f: brfalse Label54
L_0554: Label53
L_0554: ldarg.0
L_0555: call Void PostCorpseDestroy(Verse.Pawn)
L_055a: br Label55
L_055f: Label54
L_055f: ldarg.0
L_0560: ldloc.s 7 (RimWorld.Building_Grave)
L_0562: ldloc.s 8 (System.Boolean)
L_0564: ldloc.s 9 (System.Single)
L_0566: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_056b: stloc.s 29 (Verse.Corpse)
L_056d: Label36
L_056d: Label39
L_056d: Label49
L_056d: Label52
L_056d: Label55
L_056d: ldloc.s 29 (Verse.Corpse)
L_056f: brfalse Label56
L_0574: ldarg.0
L_0575: ldfld Verse.Pawn_HealthTracker health
L_057a: ldfld Verse.HediffSet hediffSet
L_057f: ldsfld Verse.HediffDef ToxicBuildup
L_0584: ldc.i4.0
L_0585: callvirt Verse.Hediff GetFirstHediffOfDef(Verse.HediffDef, Boolean)
L_058a: stloc.s 32 (Verse.Hediff)
L_058c: ldloc.s 29 (Verse.Corpse)
L_058e: callvirt RimWorld.CompRottable GetComp[CompRottable]()
L_0593: stloc.s 33 (RimWorld.CompRottable)
L_0595: ldloc.s 32 (Verse.Hediff)
L_0597: brfalse Label57
L_059c: call Single get_Value()
L_05a1: ldloc.s 32 (Verse.Hediff)
L_05a3: callvirt Single get_Severity()
L_05a8: bge.un Label58
L_05ad: ldloc.s 33 (RimWorld.CompRottable)
L_05af: brfalse Label59
L_05b4: ldloc.s 33 (RimWorld.CompRottable)
L_05b6: callvirt Void RotImmediately()
L_05bb: Label56
L_05bb: Label57
L_05bb: Label58
L_05bb: Label59
L_05bb: ldarg.0
L_05bc: call Boolean get_Destroyed()
L_05c1: brtrue Label60
L_05c6: ldarg.0
L_05c7: ldc.i4.2
L_05c8: callvirt Void Destroy(DestroyMode)
L_05cd: Label60
L_05cd: ldarg.0
L_05ce: call Void RemoveComponentsOnKilled(Verse.Pawn)
L_05d3: ldarg.0
L_05d4: ldfld Verse.Pawn_HealthTracker health
L_05d9: ldfld Verse.HediffSet hediffSet
L_05de: callvirt Void DirtyCache()
L_05e3: ldarg.0
L_05e4: call Void SetDirty(Verse.Pawn)
L_05e9: ldc.i4.0
L_05ea: stloc.s 34 (System.Int32)
L_05ec: br Label61
L_05f1: Label62
L_05f1: ldarg.0
L_05f2: ldfld Verse.Pawn_HealthTracker health
L_05f7: ldfld Verse.HediffSet hediffSet
L_05fc: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0601: ldloc.s 34 (System.Int32)
L_0603: callvirt Verse.Hediff get_Item(Int32)
L_0608: callvirt Void Notify_PawnDied()
L_060d: ldloc.s 34 (System.Int32)
L_060f: ldc.i4.1
L_0610: add
L_0611: stloc.s 34 (System.Int32)
L_0613: Label61
L_0613: ldloc.s 34 (System.Int32)
L_0615: ldarg.0
L_0616: ldfld Verse.Pawn_HealthTracker health
L_061b: ldfld Verse.HediffSet hediffSet
L_0620: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0625: callvirt Int32 get_Count()
L_062a: blt Label62
L_062f: ldarg.0
L_0630: call RimWorld.Faction get_Faction()
L_0635: brfalse Label63
L_063a: ldarg.0
L_063b: call RimWorld.Faction get_Faction()
L_0640: ldarg.0
L_0641: ldarg.1
L_0642: ldloc.s 5 (System.Boolean)
L_0644: ldloc.2
L_0645: callvirt Void Notify_MemberDied(Verse.Pawn, Nullable`1, Boolean, Verse.Map)
L_064a: Label63
L_064a: ldloc.s 29 (Verse.Corpse)
L_064c: brfalse Label64
L_0651: ldarg.0
L_0652: call Verse.RaceProperties get_RaceProps()
L_0657: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_065c: brfalse Label65
L_0661: ldloc.3
L_0662: brfalse Label66
L_0667: ldarg.0
L_0668: call Verse.RaceProperties get_RaceProps()
L_066d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0672: ldloc.s 29 (Verse.Corpse)
L_0674: callvirt Void PawnDied(Verse.Corpse)
L_0679: Label65
L_0679: Label66
L_0679: call RimWorld.Scenario get_Scenario()
L_067e: brfalse Label67
L_0683: call RimWorld.Scenario get_Scenario()
L_0688: ldloc.s 29 (Verse.Corpse)
L_068a: callvirt Void Notify_PawnDied(Verse.Corpse)
L_068f: Label64
L_068f: Label67
L_068f: ldarg.0
L_0690: call RimWorld.Faction get_Faction()
L_0695: brfalse Label68
L_069a: ldarg.0
L_069b: call RimWorld.Faction get_Faction()
L_06a0: callvirt Boolean get_IsPlayer()
L_06a5: brfalse Label69
L_06aa: ldarg.0
L_06ab: call Void Notify_ColonistUnavailable(Verse.Pawn)
L_06b0: Label68
L_06b0: Label69
L_06b0: ldloc.s 4 (System.Boolean)
L_06b2: brfalse Label70
L_06b7: ldarg.0
L_06b8: ldloc.2
L_06b9: call Void Notify_PawnLostForTutor(Verse.Pawn, Verse.Map)
L_06be: Label70
L_06be: ldarg.0
L_06bf: call RimWorld.Faction get_Faction()
L_06c4: brfalse Label71
L_06c9: ldarg.0
L_06ca: call RimWorld.Faction get_Faction()
L_06cf: callvirt Boolean get_IsPlayer()
L_06d4: brfalse Label72
L_06d9: call ProgramState get_ProgramState()
L_06de: ldc.i4.2
L_06df: bne.un Label73
L_06e4: call RimWorld.ColonistBar get_ColonistBar()
L_06e9: callvirt Void MarkColonistsDirty()
L_06ee: Label71
L_06ee: Label72
L_06ee: Label73
L_06ee: ldloc.s 15 (System.Boolean)
L_06f0: brfalse Label74
L_06f5: ldarg.0
L_06f6: ldfld Verse.Pawn_HealthTracker health
L_06fb: ldarg.1
L_06fc: ldarg.2
L_06fd: ldloc.s 6 (RimWorld.Planet.Caravan)
L_06ff: callvirt Void NotifyPlayerOfKilled(Nullable`1, Verse.Hediff,
RimWorld.Planet.Caravan)
L_0704: Label74
L_0704: ldarg.0
L_0705: call Void Postfix(Verse.Pawn)
L_070a: ldarga 0
L_0710: call Void Postfix(Verse.Pawn ByRef)
L_0715: ret
DONE

### Patch RimWorld.Targeter, Void TargeterUpdate()


L_0000: Local var 0: Verse.LocalTargetInfo
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Single
L_0000: Local var 3: Verse.ShootLine
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: ldarg.0
L_0001: ldfld Verse.Verb targetingVerb
L_0006: brfalse Label1
L_000b: ldarg.0
L_000c: ldfld Verse.Verb targetingVerb
L_0011: ldfld Verse.VerbProperties verbProps
L_0016: ldarg.0
L_0017: ldfld Verse.Verb targetingVerb
L_001c: ldfld Verse.Thing caster
L_0021: callvirt IntVec3 get_Position()
L_0026: callvirt Void DrawRadiusRing(IntVec3)
L_002b: ldarg.0
L_002c: ldc.i4.1
L_002d: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_0032: stloc.0
L_0033: ldloca.s 0 (Verse.LocalTargetInfo)
L_0035: call Boolean get_IsValid()
L_003a: brfalse Label2
L_003f: ldloc.0
L_0040: call Void DrawTargetHighlight(LocalTargetInfo)
L_0045: ldarg.0
L_0046: ldfld Verse.Verb targetingVerb
L_004b: ldloca.s 1 (System.Boolean)
L_004d: callvirt Single HighlightFieldRadiusAroundTarget(Boolean ByRef)
L_0052: stloc.2
L_0053: ldloc.2
L_0054: ldc.r4 0.2
L_0059: ble.un Label3
L_005e: ldarg.0
L_005f: ldfld Verse.Verb targetingVerb
L_0064: ldarg.0
L_0065: ldfld Verse.Verb targetingVerb
L_006a: ldfld Verse.Thing caster
L_006f: callvirt IntVec3 get_Position()
L_0074: ldloc.0
L_0075: ldloca.s 3 (Verse.ShootLine)
L_0077: callvirt Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_007c: brfalse Label4
L_0081: ldloc.1
L_0082: brfalse Label5
L_0087: ldloca.s 3 (Verse.ShootLine)
L_0089: call IntVec3 get_Dest()
L_008e: ldloc.2
L_008f: call Void RenderPredictedAreaOfEffect(IntVec3, Single)
L_0094: br Label6
L_0099: Label5
L_0099: ldloca.s 3 (Verse.ShootLine)
L_009b: call IntVec3 get_Dest()
L_00a0: ldloc.2
L_00a1: ldc.i4.1
L_00a2: call IEnumerable`1 RadialCellsAround(IntVec3, Single, Boolean)
L_00a7: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00ac: brtrue Label7
L_00b1: ldnull
L_00b2: ldftn Boolean <TargeterUpdate>m__0(IntVec3)
L_00b8: newobj Void .ctor(Object, IntPtr)
L_00bd: stsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c2: Label7
L_00c2: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c7: call IEnumerable`1 Where[IntVec3](IEnumerable`1,
System.Func`2[Verse.IntVec3,System.Boolean])
L_00cc: call System.Collections.Generic.List`1[Verse.IntVec3] ToList[IntVec3]
(IEnumerable`1)
L_00d1: call Void DrawFieldEdges(System.Collections.Generic.List`1[Verse.IntVec3])
L_00d6: Label1
L_00d6: Label2
L_00d6: Label3
L_00d6: Label4
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Action`1[Verse.LocalTargetInfo] action
L_00dc: brfalse Label8
L_00e1: ldarg.0
L_00e2: ldc.i4.0
L_00e3: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_00e8: stloc.s 4 (Verse.LocalTargetInfo)
L_00ea: ldloca.s 4 (Verse.LocalTargetInfo)
L_00ec: call Boolean get_IsValid()
L_00f1: brfalse Label9
L_00f6: ldloc.s 4 (Verse.LocalTargetInfo)
L_00f8: call Void DrawTargetHighlight(LocalTargetInfo)
L_00fd: Label8
L_00fd: Label9
L_00fd: ldarg.0
L_00fe: call Void TargeterUpdate_PostFix(RimWorld.Targeter)
L_0103: ldarga 0
L_0109: call Void Postfix(RimWorld.Targeter ByRef)
L_010e: ret
DONE

### Patch Verse.Verb, Boolean CanHitTargetFrom(IntVec3, LocalTargetInfo)


L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.ShootLine
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarga.s 2
L_0008: call Verse.Thing get_Thing()
L_000d: brfalse Label1
L_0012: ldarga.s 2
L_0014: call Verse.Thing get_Thing()
L_0019: ldarg.0
L_001a: ldfld Verse.Thing caster
L_001f: bne.un Label2
L_0024: ldarg.0
L_0025: ldfld Verse.VerbProperties verbProps
L_002a: ldfld RimWorld.TargetingParameters targetParams
L_002f: ldfld System.Boolean canTargetSelf
L_0034: br Label8
L_0039: Label1
L_0039: Label2
L_0039: ldarg.0
L_003a: call Boolean get_CasterIsPawn()
L_003f: brfalse Label3
L_0044: ldarg.0
L_0045: call Verse.Pawn get_CasterPawn()
L_004a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_004f: brfalse Label4
L_0054: ldarg.0
L_0055: call Verse.Pawn get_CasterPawn()
L_005a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_005f: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0064: stloc.0
L_0065: ldc.i4.0
L_0066: stloc.1
L_0067: br Label5
L_006c: Label7
L_006c: ldloc.0
L_006d: ldloc.1
L_006e: callvirt RimWorld.Apparel get_Item(Int32)
L_0073: ldarg.1
L_0074: ldarg.0
L_0075: ldfld Verse.Thing caster
L_007a: callvirt Verse.Map get_Map()
L_007f: ldarg.2
L_0080: ldarg.0
L_0081: callvirt Boolean AllowVerbCast(IntVec3, Verse.Map, LocalTargetInfo,
Verse.Verb)
L_0086: brtrue Label6
L_008b: ldc.i4.0
L_008c: br Label9
L_0091: Label6
L_0091: ldloc.1
L_0092: ldc.i4.1
L_0093: add
L_0094: stloc.1
L_0095: Label5
L_0095: ldloc.1
L_0096: ldloc.0
L_0097: callvirt Int32 get_Count()
L_009c: blt Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldarg.0
L_00a2: ldarg.1
L_00a3: ldarg.2
L_00a4: ldloca.s 2 (Verse.ShootLine)
L_00a6: call Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_00ab: Label8
L_00ab: Label9
L_00ab: stloc 3 (System.Boolean)
L_00ac: ldarga 0
L_00b2: ldloca 3 (System.Boolean)
L_00b4: ldarg 1
L_00ba: ldarg 2
L_00c0: call Void Postfix(Verse.Verb ByRef, Boolean ByRef, IntVec3,
LocalTargetInfo)
L_00c5: ldloc 3 (System.Boolean)
L_00c6: ret
DONE

### Patch RimWorld.Pawn_DraftController, IEnumerable`1 GetGizmos()


L_0000: Local var 0: RimWorld.Pawn_DraftController+<GetGizmos>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Gizmo,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld RimWorld.Pawn_DraftController $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, RimWorld.Pawn_DraftController ByRef)
L_0026: ldarg.0
L_0027: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0029: call Void InsertDefensivePositionGizmo(RimWorld.Pawn_DraftController,
IEnumerable`1 ByRef)
L_002e: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_002f: ret
DONE

### Patch Verse.Pawn_RotationTracker, Void RotationTrackerTick()


L_0000: ldarg.0
L_0001: call Boolean VehicleRotatorTick(Verse.Pawn_RotationTracker)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void UpdateRotation()
L_0011: Label0
L_0011: ret
DONE

### Patch Verse.DamageWorker_AddInjury, Single FinalizeAndAddInjury(Verse.Pawn,


Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult)
L_0000: Local var 0: Verse.HediffComp_GetsPermanent
L_0000: Local var 1: System.Single
L_0000: Local var 2: System.Single
L_0000: ldc.r4 0
L_0005: stloc 2 (System.Single)
L_0006: ldarg.2
L_0007: call Verse.HediffComp_GetsPermanent TryGetComp[HediffComp_GetsPermanent]
(Verse.Hediff)
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldloc.0
L_0014: callvirt Void PreFinalizeInjury()
L_0019: Label1
L_0019: ldarg.1
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldarg.2
L_0020: ldnull
L_0021: ldarg.3
L_0022: newobj Void .ctor(DamageInfo)
L_0027: ldarg.s 4
L_0029: callvirt Void AddHediff(Verse.Hediff, Verse.BodyPartRecord, Nullable`1,
Verse.DamageWorker+DamageResult)
L_002e: ldarg.2
L_002f: callvirt Single get_Severity()
L_0034: ldarg.1
L_0035: ldfld Verse.Pawn_HealthTracker health
L_003a: ldfld Verse.HediffSet hediffSet
L_003f: ldarg.2
L_0040: callvirt Verse.BodyPartRecord get_Part()
L_0045: callvirt Single GetPartHealth(Verse.BodyPartRecord)
L_004a: call Single Min(Single, Single)
L_004f: stloc.1
L_0050: ldarg.s 4
L_0052: dup
L_0053: ldfld System.Single totalDamageDealt
L_0058: ldloc.1
L_0059: add
L_005a: stfld System.Single totalDamageDealt
L_005f: ldarg.s 4
L_0061: ldc.i4.1
L_0062: stfld System.Boolean wounded
L_0067: ldarg.s 4
L_0069: ldarg.1
L_006a: ldarg.2
L_006b: callvirt Verse.BodyPartRecord get_Part()
L_0070: callvirt Void AddPart(Verse.Thing, Verse.BodyPartRecord)
L_0075: ldarg.s 4
L_0077: ldarg.2
L_0078: callvirt Void AddHediff(Verse.Hediff)
L_007d: ldloc.1
L_007e: stloc 2 (System.Single)
L_007f: ldarg.0
L_0080: ldarg 1
L_0086: ldarg 2
L_008c: ldarg 3
L_0092: ldarga 4
L_0098: ldloca 2 (System.Single)
L_009a: call Void TryInjureVehicleOccupants(Verse.DamageWorker_AddInjury,
Verse.Pawn, Verse.Hediff_Injury, DamageInfo, Verse.DamageWorker+DamageResult ByRef,
Single ByRef)
L_009f: ldloc 2 (System.Single)
L_00a0: ret
DONE

### Patch Verse.HealthUtility, System.String GetGeneralConditionLabel(Verse.Pawn,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Hediff_Injury
L_0000: Local var 3: System.String
L_0000: ldnull
L_0001: stloc 3 (System.String)
L_0002: ldloca 3 (System.String)
L_0004: ldarg 0
L_000a: ldarg 1
L_0010: call Boolean ReplaceConditionLabel(System.String ByRef, Verse.Pawn,
Boolean)
L_0015: brfalse Label0
L_001a: ldarg.0
L_001b: ldfld Verse.Pawn_HealthTracker health
L_0020: callvirt Boolean get_Dead()
L_0025: brfalse Label1
L_002a: ldstr "Dead"
L_002f: call System.String Translate(System.String)
L_0034: br Label15
L_0039: Label1
L_0039: ldarg.0
L_003a: ldfld Verse.Pawn_HealthTracker health
L_003f: ldfld Verse.PawnCapacitiesHandler capacities
L_0044: callvirt Boolean get_CanBeAwake()
L_0049: brtrue Label2
L_004e: ldstr "Unconscious"
L_0053: call System.String Translate(System.String)
L_0058: br Label16
L_005d: Label2
L_005d: ldarg.0
L_005e: ldfld Verse.Pawn_HealthTracker health
L_0063: callvirt Boolean get_InPainShock()
L_0068: brfalse Label3
L_006d: ldarg.1
L_006e: brfalse Label4
L_0073: ldstr "PainShockShort"
L_0078: call Boolean CanTranslate(System.String)
L_007d: brfalse Label5
L_0082: ldstr "PainShockShort"
L_0087: call System.String Translate(System.String)
L_008c: br Label6
L_0091: Label4
L_0091: Label5
L_0091: ldstr "PainShock"
L_0096: call System.String Translate(System.String)
L_009b: Label6
L_009b: br Label17
L_00a0: Label3
L_00a0: ldarg.0
L_00a1: callvirt Boolean get_Downed()
L_00a6: brfalse Label7
L_00ab: ldstr "Incapacitated"
L_00b0: call System.String Translate(System.String)
L_00b5: br Label18
L_00ba: Label7
L_00ba: ldc.i4.0
L_00bb: stloc.0
L_00bc: ldc.i4.0
L_00bd: stloc.1
L_00be: br Label8
L_00c3: Label12
L_00c3: ldarg.0
L_00c4: ldfld Verse.Pawn_HealthTracker health
L_00c9: ldfld Verse.HediffSet hediffSet
L_00ce: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_00d3: ldloc.1
L_00d4: callvirt Verse.Hediff get_Item(Int32)
L_00d9: isinst Verse.Hediff_Injury
L_00de: stloc.2
L_00df: ldloc.2
L_00e0: brtrue Label9
L_00e5: br Label10
L_00ea: Label9
L_00ea: ldloc.2
L_00eb: call Boolean IsPermanent(Verse.Hediff)
L_00f0: brtrue Label11
L_00f5: ldc.i4.1
L_00f6: stloc.0
L_00f7: Label10
L_00f7: Label11
L_00f7: ldloc.1
L_00f8: ldc.i4.1
L_00f9: add
L_00fa: stloc.1
L_00fb: Label8
L_00fb: ldloc.1
L_00fc: ldarg.0
L_00fd: ldfld Verse.Pawn_HealthTracker health
L_0102: ldfld Verse.HediffSet hediffSet
L_0107: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_010c: callvirt Int32 get_Count()
L_0111: blt Label12
L_0116: ldloc.0
L_0117: brfalse Label13
L_011c: ldstr "Injured"
L_0121: call System.String Translate(System.String)
L_0126: br Label19
L_012b: Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_HealthTracker health
L_0131: ldfld Verse.HediffSet hediffSet
L_0136: callvirt Single get_PainTotal()
L_013b: ldc.r4 0.3
L_0140: ble.un Label14
L_0145: ldstr "InPain"
L_014a: call System.String Translate(System.String)
L_014f: br Label20
L_0154: Label14
L_0154: ldstr "Healthy"
L_0159: call System.String Translate(System.String)
L_015e: Label15
L_015e: Label16
L_015e: Label17
L_015e: Label18
L_015e: Label19
L_015e: Label20
L_015e: stloc 3 (System.String)
L_015f: Label0
L_015f: ldloc 3 (System.String)
L_0160: ret
DONE

### Patch Verse.MapPawns, Int32 get_FreeColonistsSpawnedCount()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldarg.0
L_0007: call IEnumerable`1 get_FreeColonistsSpawned()
L_000c: call Int32 Count[Pawn](IEnumerable`1)
L_0011: stloc 0 (System.Int32)
L_0012: ldarg.0
L_0013: ldloca 0 (System.Int32)
L_0015: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_001a: ldloc 0 (System.Int32)
L_001b: ret
DONE

### Patch Verse.MapPawns, Int32


get_FreeColonistsSpawnedOrInPlayerEjectablePodsCount()
L_0000: Local var 0: System.Int32
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.Building_CryptosleepCasket
L_0000: Local var 5: Verse.IThingHolder
L_0000: Local var 6: System.Int32
L_0000: Local var 7: Verse.Pawn
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldc.i4.0
L_0008: stloc.0
L_0009: ldc.i4.0
L_000a: stloc.1
L_000b: br Label1
L_0010: Label3
L_0010: ldarg.0
L_0011: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0016: ldloc.1
L_0017: callvirt Verse.Pawn get_Item(Int32)
L_001c: callvirt Boolean get_IsFreeColonist()
L_0021: brfalse Label2
L_0026: ldloc.0
L_0027: ldc.i4.1
L_0028: add
L_0029: stloc.0
L_002a: Label2
L_002a: ldloc.1
L_002b: ldc.i4.1
L_002c: add
L_002d: stloc.1
L_002e: Label1
L_002e: ldloc.1
L_002f: ldarg.0
L_0030: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawnsSpawned
L_0035: callvirt Int32 get_Count()
L_003a: blt Label3
L_003f: ldarg.0
L_0040: ldfld Verse.Map map
L_0045: ldfld Verse.ListerThings listerThings
L_004a: ldc.i4.s 30
L_004c: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsInGroup(ThingRequestGroup)
L_0051: stloc.2
L_0052: ldc.i4.0
L_0053: stloc.3
L_0054: br Label4
L_0059: Label15
L_0059: ldloc.2
L_005a: ldloc.3
L_005b: callvirt Verse.Thing get_Item(Int32)
L_0060: isinst RimWorld.Building_CryptosleepCasket
L_0065: stloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0067: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0069: brfalse Label5
L_006e: ldloc.s 4 (RimWorld.Building_CryptosleepCasket)
L_0070: ldfld Verse.ThingDef def
L_0075: ldfld RimWorld.BuildingProperties building
L_007a: ldfld System.Boolean isPlayerEjectable
L_007f: brtrue Label6
L_0084: Label5
L_0084: ldloc.2
L_0085: ldloc.3
L_0086: callvirt Verse.Thing get_Item(Int32)
L_008b: isinst RimWorld.IActiveDropPod
L_0090: brtrue Label7
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: callvirt Verse.Thing get_Item(Int32)
L_009c: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00a1: brfalse Label8
L_00a6: Label6
L_00a6: Label7
L_00a6: ldloc.2
L_00a7: ldloc.3
L_00a8: callvirt Verse.Thing get_Item(Int32)
L_00ad: call RimWorld.CompTransporter TryGetComp[CompTransporter](Verse.Thing)
L_00b2: dup
L_00b3: brtrue Label9
L_00b8: pop
L_00b9: ldloc.2
L_00ba: ldloc.3
L_00bb: callvirt Verse.Thing get_Item(Int32)
L_00c0: castclass Verse.IThingHolder
L_00c5: Label9
L_00c5: stloc.s 5 (Verse.IThingHolder)
L_00c7: ldarg.0
L_00c8: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00cd: callvirt Void Clear()
L_00d2: ldloc.s 5 (Verse.IThingHolder)
L_00d4: ldarg.0
L_00d5: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00da: ldc.i4.1
L_00db: ldnull
L_00dc: call Void GetAllThingsRecursively(IThingHolder,
System.Collections.Generic.List`1[Verse.Thing], Boolean,
System.Predicate`1[Verse.IThingHolder])
L_00e1: ldc.i4.0
L_00e2: stloc.s 6 (System.Int32)
L_00e4: br Label10
L_00e9: Label14
L_00e9: ldarg.0
L_00ea: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_00ef: ldloc.s 6 (System.Int32)
L_00f1: callvirt Verse.Thing get_Item(Int32)
L_00f6: isinst Verse.Pawn
L_00fb: stloc.s 7 (Verse.Pawn)
L_00fd: ldloc.s 7 (Verse.Pawn)
L_00ff: brfalse Label11
L_0104: ldloc.s 7 (Verse.Pawn)
L_0106: callvirt Boolean get_Dead()
L_010b: brtrue Label12
L_0110: ldloc.s 7 (Verse.Pawn)
L_0112: callvirt Boolean get_IsFreeColonist()
L_0117: brfalse Label13
L_011c: ldloc.0
L_011d: ldc.i4.1
L_011e: add
L_011f: stloc.0
L_0120: Label11
L_0120: Label12
L_0120: Label13
L_0120: ldloc.s 6 (System.Int32)
L_0122: ldc.i4.1
L_0123: add
L_0124: stloc.s 6 (System.Int32)
L_0126: Label10
L_0126: ldloc.s 6 (System.Int32)
L_0128: ldarg.0
L_0129: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_012e: callvirt Int32 get_Count()
L_0133: blt Label14
L_0138: Label8
L_0138: ldloc.3
L_0139: ldc.i4.1
L_013a: add
L_013b: stloc.3
L_013c: Label4
L_013c: ldloc.3
L_013d: ldloc.2
L_013e: callvirt Int32 get_Count()
L_0143: blt Label15
L_0148: ldarg.0
L_0149: ldfld System.Collections.Generic.List`1[Verse.Thing] tmpThings
L_014e: callvirt Void Clear()
L_0153: ldloc.0
L_0154: stloc 8 (System.Int32)
L_0156: ldarg.0
L_0157: ldloca 8 (System.Int32)
L_0159: call Void IncludeVehicleOccupantsInMapPawns(Verse.MapPawns, Int32 ByRef)
L_015e: ldloc 8 (System.Int32)
L_0160: ret
DONE

### Patch Verse.Pawn_HealthTracker, Boolean ShouldBeDowned()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean VehicleShouldBeDowned(Verse.Pawn_HealthTracker, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean get_InPainShock()
L_0019: brtrue Label1
L_001e: ldarg.0
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: callvirt Boolean get_CanBeAwake()
L_0029: brfalse Label2
L_002e: ldarg.0
L_002f: ldfld Verse.PawnCapacitiesHandler capacities
L_0034: ldsfld Verse.PawnCapacityDef Moving
L_0039: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_003e: ldc.i4.0
L_003f: ceq
L_0041: br Label3
L_0046: Label1
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: stloc 0 (System.Boolean)
L_0048: Label0
L_0048: ldloc 0 (System.Boolean)
L_0049: ret
DONE

### Patch Verse.PawnDownedWiggler, Void WigglerTick()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: call Boolean VehicleShouldWiggle(Verse.PawnDownedWiggler)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld Verse.Pawn pawn
L_0011: callvirt Boolean get_Downed()
L_0016: brfalse Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: callvirt Boolean get_Spawned()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: ldfld Verse.Pawn pawn
L_0031: call Boolean InBed(Verse.Pawn)
L_0036: brtrue Label3
L_003b: ldarg.0
L_003c: dup
L_003d: ldfld System.Int32 ticksToIncapIcon
L_0042: ldc.i4.1
L_0043: sub
L_0044: stfld System.Int32 ticksToIncapIcon
L_0049: ldarg.0
L_004a: ldfld System.Int32 ticksToIncapIcon
L_004f: ldc.i4.0
L_0050: bgt Label4
L_0055: ldarg.0
L_0056: ldfld Verse.Pawn pawn
L_005b: callvirt IntVec3 get_Position()
L_0060: ldarg.0
L_0061: ldfld Verse.Pawn pawn
L_0066: callvirt Verse.Map get_Map()
L_006b: ldsfld Verse.ThingDef Mote_IncapIcon
L_0070: call Verse.Mote ThrowMetaIcon(IntVec3, Verse.Map, Verse.ThingDef)
L_0075: pop
L_0076: ldarg.0
L_0077: ldc.i4 200
L_007c: stfld System.Int32 ticksToIncapIcon
L_0081: Label4
L_0081: ldarg.0
L_0082: ldfld Verse.Pawn pawn
L_0087: call Boolean Awake(Verse.Pawn)
L_008c: brfalse Label5
L_0091: call Verse.TickManager get_TickManager()
L_0096: callvirt Int32 get_TicksGame()
L_009b: ldc.i4 300
L_00a0: rem
L_00a1: ldc.i4.2
L_00a2: mul
L_00a3: stloc.0
L_00a4: ldloc.0
L_00a5: ldc.i4.s 90
L_00a7: bge Label6
L_00ac: ldarg.0
L_00ad: dup
L_00ae: ldfld System.Single downedAngle
L_00b3: ldc.r4 0.35
L_00b8: add
L_00b9: stfld System.Single downedAngle
L_00be: br Label7
L_00c3: Label6
L_00c3: ldloc.0
L_00c4: ldc.i4 390
L_00c9: bge Label8
L_00ce: ldloc.0
L_00cf: ldc.i4 300
L_00d4: blt Label9
L_00d9: ldarg.0
L_00da: dup
L_00db: ldfld System.Single downedAngle
L_00e0: ldc.r4 0.35
L_00e5: sub
L_00e6: stfld System.Single downedAngle
L_00eb: Label1
L_00eb: Label2
L_00eb: Label3
L_00eb: Label5
L_00eb: Label7
L_00eb: Label8
L_00eb: Label9
L_00eb: Label0
L_00eb: ret
DONE

### Patch Verse.VerbTracker, IEnumerable`1 GetVerbsCommands(KeyCode)


L_0000: Local var 0: Verse.VerbTracker+<GetVerbsCommands>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Command,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0002: ldarg.0
L_0003: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_0005: ldarg 1
L_000b: call Boolean GetVerbsCommands_PreFix(Verse.VerbTracker, IEnumerable`1
ByRef, KeyCode)
L_0010: brfalse Label0
L_0015: newobj Void .ctor()
L_001a: stloc.0
L_001b: ldloc.0
L_001c: ldarg.0
L_001d: stfld Verse.VerbTracker $this
L_0022: ldloc.0
L_0023: dup
L_0024: ldc.i4.s -2
L_0026: stfld System.Int32 $PC
L_002b: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002c: Label0
L_002c: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Command])
L_002d: ret
DONE

### Patch RimWorld.PawnUtility, Boolean


IsTravelingInTransportPodWorldObject(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean IsWorldPawn(Verse.Pawn)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean AnyParentIs[ActiveDropPodInfo](Verse.Thing)
L_0017: br Label2
L_001c: Label1
L_001c: ldc.i4.0
L_001d: Label2
L_001d: stloc 0 (System.Boolean)
L_001e: ldloca 0 (System.Boolean)
L_0020: ldarg 0
L_0026: call Void PreventAssigningRandomFaction(Boolean ByRef, Verse.Pawn)
L_002b: ldloc 0 (System.Boolean)
L_002c: ret
DONE

### Patch RimWorld.SocialCardUtility, Void Recache(Verse.Pawn)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: Local var 5: System.Int32
L_0000: Local var 6: Verse.Pawn
L_0000: Local var 7: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: RimWorld.SocialCardUtility+CachedSocialTabEntry
L_0000: Local var 9: System.Int32
L_0000: ldarg 0
L_0006: call Boolean SocialTabNullHandling(Verse.Pawn)
L_000b: brfalse Label0
L_0010: ldarg.0
L_0011: stsfld Verse.Pawn cachedForPawn
L_0016: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_001b: callvirt Void Clear()
L_0020: ldarg.0
L_0021: ldfld RimWorld.Pawn_RelationsTracker relations
L_0026: callvirt IEnumerable`1 get_RelatedPawns()
L_002b: callvirt IEnumerator`1 GetEnumerator()
L_0030: stloc.1
.try
{
L_0031: br Label1
L_0036: Label4
L_0036: ldloc.1
L_0037: callvirt Verse.Pawn get_Current()
L_003c: stloc.0
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_0044: brtrue Label2
L_0049: leave Label3
L_004e: Label2
L_004e: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0053: ldloc.0
L_0054: callvirt Boolean Add(Verse.Pawn)
L_0059: pop
L_005a: Label1
L_005a: Label3
L_005a: ldloc.1
L_005b: callvirt Boolean MoveNext()
L_0060: brtrue Label4
L_0065: leave Label5
L_006a: leave (autogenerated)
} // end try
.finally
{
L_006f: ldloc.1
L_0070: brfalse Label6
L_0075: ldloc.1
L_0076: callvirt Void Dispose()
L_007b: Label6
L_007b: endfinally
L_007c: leave (autogenerated)
} // end handler
L_007d: Label5
L_007d: ldnull
L_007e: stloc.2
L_007f: ldarg.0
L_0080: callvirt Verse.Map get_MapHeld()
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: callvirt Verse.Map get_MapHeld()
L_0090: ldfld Verse.MapPawns mapPawns
L_0095: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_009a: stloc.2
L_009b: br Label8
L_00a0: Label7
L_00a0: ldarg.0
L_00a1: call Boolean IsCaravanMember(Verse.Pawn)
L_00a6: brfalse Label9
L_00ab: ldarg.0
L_00ac: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_00b1: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_00b6: stloc.2
L_00b7: Label8
L_00b7: Label9
L_00b7: ldloc.2
L_00b8: brfalse Label10
L_00bd: ldc.i4.0
L_00be: stloc.3
L_00bf: br Label11
L_00c4: Label20
L_00c4: ldloc.2
L_00c5: ldloc.3
L_00c6: callvirt Verse.Pawn get_Item(Int32)
L_00cb: stloc.s 4 (Verse.Pawn)
L_00cd: ldloc.s 4 (Verse.Pawn)
L_00cf: callvirt Verse.RaceProperties get_RaceProps()
L_00d4: callvirt Boolean get_Humanlike()
L_00d9: brfalse Label12
L_00de: ldloc.s 4 (Verse.Pawn)
L_00e0: ldarg.0
L_00e1: beq Label13
L_00e6: ldloc.s 4 (Verse.Pawn)
L_00e8: ldarg.0
L_00e9: call Boolean ShouldShowPawnRelations(Verse.Pawn, Verse.Pawn)
L_00ee: brfalse Label14
L_00f3: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_00f8: ldloc.s 4 (Verse.Pawn)
L_00fa: callvirt Boolean Contains(Verse.Pawn)
L_00ff: brfalse Label15
L_0104: Label12
L_0104: Label13
L_0104: Label14
L_0104: br Label16
L_0109: Label15
L_0109: ldarg.0
L_010a: ldfld RimWorld.Pawn_RelationsTracker relations
L_010f: ldloc.s 4 (Verse.Pawn)
L_0111: callvirt Int32 OpinionOf(Verse.Pawn)
L_0116: brtrue Label17
L_011b: ldloc.s 4 (Verse.Pawn)
L_011d: ldfld RimWorld.Pawn_RelationsTracker relations
L_0122: ldarg.0
L_0123: callvirt Int32 OpinionOf(Verse.Pawn)
L_0128: brtrue Label18
L_012d: br Label19
L_0132: Label17
L_0132: Label18
L_0132: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_0137: ldloc.s 4 (Verse.Pawn)
L_0139: callvirt Boolean Add(Verse.Pawn)
L_013e: pop
L_013f: Label16
L_013f: Label19
L_013f: ldloc.3
L_0140: ldc.i4.1
L_0141: add
L_0142: stloc.3
L_0143: Label11
L_0143: ldloc.3
L_0144: ldloc.2
L_0145: callvirt Int32 get_Count()
L_014a: blt Label20
L_014f: Label10
L_014f: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0154: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0159: brtrue Label21
L_015e: ldnull
L_015f: ldftn Boolean
<Recache>m__0(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0165: newobj Void .ctor(Object, IntPtr)
L_016a: stsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_016f: Label21
L_016f: ldsfld System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
<>f__am$cache0
L_0174: callvirt Int32
RemoveAll(System.Predicate`1[RimWorld.SocialCardUtility+CachedSocialTabEntry])
L_0179: pop
L_017a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_017f: callvirt Void Clear()
L_0184: ldc.i4.0
L_0185: stloc.s 5 (System.Int32)
L_0187: br Label22
L_018c: Label23
L_018c: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0191: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0196: ldloc.s 5 (System.Int32)
L_0198: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_019d: ldfld Verse.Pawn otherPawn
L_01a2: callvirt Boolean Add(Verse.Pawn)
L_01a7: pop
L_01a8: ldloc.s 5 (System.Int32)
L_01aa: ldc.i4.1
L_01ab: add
L_01ac: stloc.s 5 (System.Int32)
L_01ae: Label22
L_01ae: ldloc.s 5 (System.Int32)
L_01b0: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_01b5: callvirt Int32 get_Count()
L_01ba: blt Label23
L_01bf: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_01c4: callvirt Enumerator GetEnumerator()
L_01c9: stloc.s 7 (System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
.try
{
L_01cb: br Label24
L_01d0: Label27
L_01d0: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_01d2: call Verse.Pawn get_Current()
L_01d7: stloc.s 6 (Verse.Pawn)
L_01d9: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_01de: ldloc.s 6 (Verse.Pawn)
L_01e0: callvirt Boolean Contains(Verse.Pawn)
L_01e5: brfalse Label25
L_01ea: leave Label26
L_01ef: Label25
L_01ef: newobj Void .ctor()
L_01f4: stloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f6: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_01f8: ldloc.s 6 (Verse.Pawn)
L_01fa: stfld Verse.Pawn otherPawn
L_01ff: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0204: ldloc.s 8 (RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_0206: callvirt Void Add(RimWorld.SocialCardUtility+CachedSocialTabEntry)
L_020b: Label24
L_020b: Label26
L_020b: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_020d: call Boolean MoveNext()
L_0212: brtrue Label27
L_0217: leave Label28
L_021c: leave (autogenerated)
} // end try
.finally
{
L_0221: ldloca.s 7
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn])
L_0223: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Pawn]
L_0229: callvirt Void Dispose()
L_022e: endfinally
L_022f: leave (autogenerated)
} // end handler
L_0230: Label28
L_0230: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpCached
L_0235: callvirt Void Clear()
L_023a: ldsfld System.Collections.Generic.HashSet`1[Verse.Pawn] tmpToCache
L_023f: callvirt Void Clear()
L_0244: ldc.i4.0
L_0245: stloc.s 9 (System.Int32)
L_0247: br Label29
L_024c: Label30
L_024c: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_0251: ldloc.s 9 (System.Int32)
L_0253: callvirt RimWorld.SocialCardUtility+CachedSocialTabEntry get_Item(Int32)
L_0258: ldarg.0
L_0259: call Void RecacheEntry(RimWorld.SocialCardUtility+CachedSocialTabEntry,
Verse.Pawn)
L_025e: ldloc.s 9 (System.Int32)
L_0260: ldc.i4.1
L_0261: add
L_0262: stloc.s 9 (System.Int32)
L_0264: Label29
L_0264: ldloc.s 9 (System.Int32)
L_0266: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_026b: callvirt Int32 get_Count()
L_0270: blt Label30
L_0275: ldsfld
System.Collections.Generic.List`1[RimWorld.SocialCardUtility+CachedSocialTabEntry]
cachedEntries
L_027a: ldsfld RimWorld.SocialCardUtility+CachedSocialTabEntryComparer
CachedEntriesComparer
L_027f: callvirt Void Sort(IComparer`1)
L_0284: Label0
L_0284: ret
DONE

### Patch Verse.Pawn, Boolean get_IsColonistPlayerControlled()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean get_Spawned()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: call Boolean get_IsColonist()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: call Verse.MentalStateDef get_MentalStateDef()
L_0022: brtrue Label3
L_0027: ldarg.0
L_0028: call RimWorld.Faction get_HostFaction()
L_002d: ldnull
L_002e: ceq
L_0030: br Label4
L_0035: Label1
L_0035: Label2
L_0035: Label3
L_0035: ldc.i4.0
L_0036: Label4
L_0036: stloc 0 (System.Boolean)
L_0037: ldarg.0
L_0038: ldloca 0 (System.Boolean)
L_003a: call Void IncludeVehiclesInIsColonistPlayerControlled(Verse.Pawn, Boolean
ByRef)
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.Pawn, Boolean CurrentlyUsableForBills()


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InBed(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldsfld System.String NotSurgeryReadyTrans
L_0016: ldnull
L_0017: call Void Is(System.String, System.String)
L_001c: ldc.i4.0
L_001d: br Label3
L_0022: Label1
L_0022: ldarg.0
L_0023: callvirt IntVec3 get_InteractionCell()
L_0028: stloc.0
L_0029: ldloca.s 0 (Verse.IntVec3)
L_002b: call Boolean get_IsValid()
L_0030: brtrue Label2
L_0035: ldsfld System.String CannotReachTrans
L_003a: ldnull
L_003b: call Void Is(System.String, System.String)
L_0040: ldc.i4.0
L_0041: br Label4
L_0046: Label2
L_0046: ldc.i4.1
L_0047: Label3
L_0047: Label4
L_0047: stloc 1 (System.Boolean)
L_0048: ldarg.0
L_0049: ldloca 1 (System.Boolean)
L_004b: call Void CantUseMovingVehicles(Verse.Pawn, Boolean ByRef)
L_0050: ldloc 1 (System.Boolean)
L_0051: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ret
DONE

### Patch Verse.Verb_Shoot, Boolean TryCastShot()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 1 (System.Boolean)
L_0009: call Boolean CanVehicleShoot(Verse.Verb_Shoot, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: call Boolean TryCastShot()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: brfalse Label1
L_0020: ldarg.0
L_0021: call Boolean get_CasterIsPawn()
L_0026: brfalse Label2
L_002b: ldarg.0
L_002c: call Verse.Pawn get_CasterPawn()
L_0031: ldfld RimWorld.Pawn_RecordsTracker records
L_0036: ldsfld RimWorld.RecordDef ShotsFired
L_003b: callvirt Void Increment(RimWorld.RecordDef)
L_0040: Label1
L_0040: Label2
L_0040: ldloc.0
L_0041: stloc 1 (System.Boolean)
L_0042: Label0
L_0042: ldloc 1 (System.Boolean)
L_0043: ret
DONE

### Patch RimWorld.GameEnder, Boolean


IsPlayerControlledWithFreeColonist(RimWorld.Planet.Caravan)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsPlayerControlled()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label6
L_0017: Label1
L_0017: ldarg.1
L_0018: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_001d: stloc.0
L_001e: ldc.i4.0
L_001f: stloc.1
L_0020: br Label2
L_0025: Label5
L_0025: ldloc.0
L_0026: ldloc.1
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stloc.2
L_002d: ldloc.2
L_002e: callvirt Boolean get_IsColonist()
L_0033: brfalse Label3
L_0038: ldloc.2
L_0039: callvirt RimWorld.Faction get_HostFaction()
L_003e: brtrue Label4
L_0043: ldc.i4.1
L_0044: br Label7
L_0049: Label3
L_0049: Label4
L_0049: ldloc.1
L_004a: ldc.i4.1
L_004b: add
L_004c: stloc.1
L_004d: Label2
L_004d: ldloc.1
L_004e: ldloc.0
L_004f: callvirt Int32 get_Count()
L_0054: blt Label5
L_0059: ldc.i4.0
L_005a: Label6
L_005a: Label7
L_005a: stloc 3 (System.Boolean)
L_005b: ldarg 1
L_0061: ldloca 3 (System.Boolean)
L_0063: call Void CanEndGame(RimWorld.Planet.Caravan, Boolean ByRef)
L_0068: ldloc 3 (System.Boolean)
L_0069: ret
DONE

### Patch RimWorld.RestUtility, RimWorld.Building_Bed FindBedFor(Verse.Pawn,


Verse.Pawn, Boolean, Boolean, Boolean)
L_0000: Local var 0: RimWorld.RestUtility+<FindBedFor>c__AnonStorey0
L_0000: Local var 1: RimWorld.Building_Bed
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: Verse.Pawn
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.ThingDef
L_0000: Local var 9: System.Int32
L_0000: Local var 10: RimWorld.RestUtility+<FindBedFor>c__AnonStorey1
L_0000: Local var 11: RimWorld.Building_Bed
L_0000: Local var 12: RimWorld.DirectPawnRelation
L_0000: Local var 13: RimWorld.Building_Bed
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.RestUtility+<FindBedFor>c__AnonStorey2
L_0000: Local var 16: System.Int32
L_0000: Local var 17: Verse.ThingDef
L_0000: Local var 18: RimWorld.Building_Bed
L_0000: Local var 19: RimWorld.Building_Bed
L_0000: ldnull
L_0001: stloc 19 (RimWorld.Building_Bed)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: stfld Verse.Pawn sleeper
L_0010: ldloc.0
L_0011: ldarg.1
L_0012: stfld Verse.Pawn traveler
L_0017: ldloc.0
L_0018: ldarg.2
L_0019: stfld System.Boolean sleeperWillBePrisoner
L_001e: ldloc.0
L_001f: ldarg.3
L_0020: stfld System.Boolean checkSocialProperness
L_0025: ldloc.0
L_0026: ldarg.s 4
L_0028: stfld System.Boolean ignoreOtherReservations
L_002d: ldloc.0
L_002e: ldfld Verse.Pawn sleeper
L_0033: call Boolean ShouldSeekMedicalRest(Verse.Pawn)
L_0038: brfalse Label1
L_003d: ldloc.0
L_003e: ldfld Verse.Pawn sleeper
L_0043: call Boolean InBed(Verse.Pawn)
L_0048: brfalse Label2
L_004d: ldloc.0
L_004e: ldfld Verse.Pawn sleeper
L_0053: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_0058: callvirt Boolean get_Medical()
L_005d: brfalse Label3
L_0062: ldloc.0
L_0063: ldfld Verse.Pawn sleeper
L_0068: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006d: stloc.1
L_006e: ldloc.0
L_006f: ldfld Verse.Pawn sleeper
L_0074: stloc.2
L_0075: ldloc.0
L_0076: ldfld Verse.Pawn traveler
L_007b: stloc.3
L_007c: ldloc.0
L_007d: ldfld System.Boolean sleeperWillBePrisoner
L_0082: stloc.s 4 (System.Boolean)
L_0084: ldloc.0
L_0085: ldfld System.Boolean checkSocialProperness
L_008a: stloc.s 5 (System.Boolean)
L_008c: ldloc.0
L_008d: ldfld System.Boolean ignoreOtherReservations
L_0092: stloc.s 6 (System.Boolean)
L_0094: ldloc.1
L_0095: ldloc.2
L_0096: ldloc.3
L_0097: ldloc.s 4 (System.Boolean)
L_0099: ldloc.s 5 (System.Boolean)
L_009b: ldc.i4.0
L_009c: ldloc.s 6 (System.Boolean)
L_009e: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_00a3: brfalse Label4
L_00a8: ldloc.0
L_00a9: ldfld Verse.Pawn sleeper
L_00ae: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_00b3: br Label29
L_00b8: Label2
L_00b8: Label3
L_00b8: Label4
L_00b8: ldc.i4.0
L_00b9: stloc.s 7 (System.Int32)
L_00bb: br Label5
L_00c0: Label13
L_00c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_00c5: ldloc.s 7 (System.Int32)
L_00c7: callvirt Verse.ThingDef get_Item(Int32)
L_00cc: stloc.s 8 (Verse.ThingDef)
L_00ce: ldloc.0
L_00cf: ldfld Verse.Pawn sleeper
L_00d4: ldloc.s 8 (Verse.ThingDef)
L_00d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_00db: brtrue Label6
L_00e0: br Label7
L_00e5: Label6
L_00e5: ldc.i4.0
L_00e6: stloc.s 9 (System.Int32)
L_00e8: br Label8
L_00ed: Label12
L_00ed: newobj Void .ctor()
L_00f2: stloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f4: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00f6: ldloc.0
L_00f7: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_00fc: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_00fe: ldloc.s 9 (System.Int32)
L_0100: brtrue Label9
L_0105: ldc.i4.1
L_0106: br Label10
L_010b: Label9
L_010b: ldc.i4.3
L_010c: Label10
L_010c: stfld Verse.Danger maxDanger
L_0111: ldloc.0
L_0112: ldfld Verse.Pawn sleeper
L_0117: callvirt IntVec3 get_Position()
L_011c: ldloc.0
L_011d: ldfld Verse.Pawn sleeper
L_0122: callvirt Verse.Map get_Map()
L_0127: ldloc.s 8 (Verse.ThingDef)
L_0129: call ThingRequest ForDef(Verse.ThingDef)
L_012e: ldc.i4.1
L_012f: ldloc.0
L_0130: ldfld Verse.Pawn traveler
L_0135: ldc.i4.3
L_0136: ldc.i4.0
L_0137: ldc.i4.0
L_0138: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_013d: ldc.r4 9999
L_0142: ldloc.s 10 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey1)
L_0144: ldftn Boolean <>m__0(Verse.Thing)
L_014a: newobj Void .ctor(Object, IntPtr)
L_014f: ldnull
L_0150: ldc.i4.0
L_0151: ldc.i4.m1
L_0152: ldc.i4.0
L_0153: ldc.i4.6
L_0154: ldc.i4.0
L_0155: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_015a: castclass RimWorld.Building_Bed
L_015f: stloc.s 11 (RimWorld.Building_Bed)
L_0161: ldloc.s 11 (RimWorld.Building_Bed)
L_0163: brfalse Label11
L_0168: ldloc.s 11 (RimWorld.Building_Bed)
L_016a: br Label30
L_016f: Label11
L_016f: ldloc.s 9 (System.Int32)
L_0171: ldc.i4.1
L_0172: add
L_0173: stloc.s 9 (System.Int32)
L_0175: Label8
L_0175: ldloc.s 9 (System.Int32)
L_0177: ldc.i4.2
L_0178: blt Label12
L_017d: Label7
L_017d: ldloc.s 7 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 7 (System.Int32)
L_0183: Label5
L_0183: ldloc.s 7 (System.Int32)
L_0185: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_Medical
L_018a: callvirt Int32 get_Count()
L_018f: blt Label13
L_0194: Label1
L_0194: ldloc.0
L_0195: ldfld Verse.Pawn sleeper
L_019a: ldfld RimWorld.Pawn_Ownership ownership
L_019f: brfalse Label14
L_01a4: ldloc.0
L_01a5: ldfld Verse.Pawn sleeper
L_01aa: ldfld RimWorld.Pawn_Ownership ownership
L_01af: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01b4: brfalse Label15
L_01b9: ldloc.0
L_01ba: ldfld Verse.Pawn sleeper
L_01bf: ldfld RimWorld.Pawn_Ownership ownership
L_01c4: callvirt RimWorld.Building_Bed get_OwnedBed()
L_01c9: stloc.1
L_01ca: ldloc.0
L_01cb: ldfld Verse.Pawn sleeper
L_01d0: stloc.3
L_01d1: ldloc.0
L_01d2: ldfld Verse.Pawn traveler
L_01d7: stloc.2
L_01d8: ldloc.0
L_01d9: ldfld System.Boolean sleeperWillBePrisoner
L_01de: stloc.s 6 (System.Boolean)
L_01e0: ldloc.0
L_01e1: ldfld System.Boolean checkSocialProperness
L_01e6: stloc.s 5 (System.Boolean)
L_01e8: ldloc.0
L_01e9: ldfld System.Boolean ignoreOtherReservations
L_01ee: stloc.s 4 (System.Boolean)
L_01f0: ldloc.1
L_01f1: ldloc.3
L_01f2: ldloc.2
L_01f3: ldloc.s 6 (System.Boolean)
L_01f5: ldloc.s 5 (System.Boolean)
L_01f7: ldc.i4.0
L_01f8: ldloc.s 4 (System.Boolean)
L_01fa: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_01ff: brfalse Label16
L_0204: ldloc.0
L_0205: ldfld Verse.Pawn sleeper
L_020a: ldfld RimWorld.Pawn_Ownership ownership
L_020f: callvirt RimWorld.Building_Bed get_OwnedBed()
L_0214: br Label31
L_0219: Label14
L_0219: Label15
L_0219: Label16
L_0219: ldloc.0
L_021a: ldfld Verse.Pawn sleeper
L_021f: ldc.i4.0
L_0220: call RimWorld.DirectPawnRelation
ExistingMostLikedLovePartnerRel(Verse.Pawn, Boolean)
L_0225: stloc.s 12 (RimWorld.DirectPawnRelation)
L_0227: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0229: brfalse Label17
L_022e: ldloc.s 12 (RimWorld.DirectPawnRelation)
L_0230: ldfld Verse.Pawn otherPawn
L_0235: ldfld RimWorld.Pawn_Ownership ownership
L_023a: callvirt RimWorld.Building_Bed get_OwnedBed()
L_023f: stloc.s 13 (RimWorld.Building_Bed)
L_0241: ldloc.s 13 (RimWorld.Building_Bed)
L_0243: brfalse Label18
L_0248: ldloc.s 13 (RimWorld.Building_Bed)
L_024a: stloc.1
L_024b: ldloc.0
L_024c: ldfld Verse.Pawn sleeper
L_0251: stloc.2
L_0252: ldloc.0
L_0253: ldfld Verse.Pawn traveler
L_0258: stloc.3
L_0259: ldloc.0
L_025a: ldfld System.Boolean sleeperWillBePrisoner
L_025f: stloc.s 4 (System.Boolean)
L_0261: ldloc.0
L_0262: ldfld System.Boolean checkSocialProperness
L_0267: stloc.s 5 (System.Boolean)
L_0269: ldloc.0
L_026a: ldfld System.Boolean ignoreOtherReservations
L_026f: stloc.s 6 (System.Boolean)
L_0271: ldloc.1
L_0272: ldloc.2
L_0273: ldloc.3
L_0274: ldloc.s 4 (System.Boolean)
L_0276: ldloc.s 5 (System.Boolean)
L_0278: ldc.i4.0
L_0279: ldloc.s 6 (System.Boolean)
L_027b: call Boolean IsValidBedFor(Verse.Thing, Verse.Pawn, Verse.Pawn, Boolean,
Boolean, Boolean, Boolean)
L_0280: brfalse Label19
L_0285: ldloc.s 13 (RimWorld.Building_Bed)
L_0287: br Label32
L_028c: Label17
L_028c: Label18
L_028c: Label19
L_028c: ldc.i4.0
L_028d: stloc.s 14 (System.Int32)
L_028f: br Label20
L_0294: Label28
L_0294: newobj Void .ctor()
L_0299: stloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029b: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_029d: ldloc.0
L_029e: stfld RimWorld.RestUtility+<FindBedFor>c__AnonStorey0 <>f__ref$0
L_02a3: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_02a5: ldloc.s 14 (System.Int32)
L_02a7: brtrue Label21
L_02ac: ldc.i4.1
L_02ad: br Label22
L_02b2: Label21
L_02b2: ldc.i4.3
L_02b3: Label22
L_02b3: stfld Verse.Danger maxDanger
L_02b8: ldc.i4.0
L_02b9: stloc.s 16 (System.Int32)
L_02bb: br Label23
L_02c0: Label27
L_02c0: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_02c5: ldloc.s 16 (System.Int32)
L_02c7: callvirt Verse.ThingDef get_Item(Int32)
L_02cc: stloc.s 17 (Verse.ThingDef)
L_02ce: ldloc.0
L_02cf: ldfld Verse.Pawn sleeper
L_02d4: ldloc.s 17 (Verse.ThingDef)
L_02d6: call Boolean CanUseBedEver(Verse.Pawn, Verse.ThingDef)
L_02db: brtrue Label24
L_02e0: br Label25
L_02e5: Label24
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn sleeper
L_02eb: callvirt IntVec3 get_Position()
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn sleeper
L_02f6: callvirt Verse.Map get_Map()
L_02fb: ldloc.s 17 (Verse.ThingDef)
L_02fd: call ThingRequest ForDef(Verse.ThingDef)
L_0302: ldc.i4.1
L_0303: ldloc.0
L_0304: ldfld Verse.Pawn traveler
L_0309: ldc.i4.3
L_030a: ldc.i4.0
L_030b: ldc.i4.0
L_030c: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0311: ldc.r4 9999
L_0316: ldloc.s 15 (RimWorld.RestUtility+<FindBedFor>c__AnonStorey2)
L_0318: ldftn Boolean <>m__0(Verse.Thing)
L_031e: newobj Void .ctor(Object, IntPtr)
L_0323: ldnull
L_0324: ldc.i4.0
L_0325: ldc.i4.m1
L_0326: ldc.i4.0
L_0327: ldc.i4.6
L_0328: ldc.i4.0
L_0329: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_032e: castclass RimWorld.Building_Bed
L_0333: stloc.s 18 (RimWorld.Building_Bed)
L_0335: ldloc.s 18 (RimWorld.Building_Bed)
L_0337: brfalse Label26
L_033c: ldloc.s 18 (RimWorld.Building_Bed)
L_033e: br Label33
L_0343: Label25
L_0343: Label26
L_0343: ldloc.s 16 (System.Int32)
L_0345: ldc.i4.1
L_0346: add
L_0347: stloc.s 16 (System.Int32)
L_0349: Label23
L_0349: ldloc.s 16 (System.Int32)
L_034b: ldsfld System.Collections.Generic.List`1[Verse.ThingDef]
bedDefsBestToWorst_RestEffectiveness
L_0350: callvirt Int32 get_Count()
L_0355: blt Label27
L_035a: ldloc.s 14 (System.Int32)
L_035c: ldc.i4.1
L_035d: add
L_035e: stloc.s 14 (System.Int32)
L_0360: Label20
L_0360: ldloc.s 14 (System.Int32)
L_0362: ldc.i4.2
L_0363: blt Label28
L_0368: ldnull
L_0369: Label29
L_0369: Label30
L_0369: Label31
L_0369: Label32
L_0369: Label33
L_0369: stloc 19 (RimWorld.Building_Bed)
L_036b: ldloca 19 (RimWorld.Building_Bed)
L_036d: ldarg 0
L_0373: call Void DontRescueVehicles(RimWorld.Building_Bed ByRef, Verse.Pawn)
L_0378: ldloc 19 (RimWorld.Building_Bed)
L_037a: ret
DONE

### Patch RimWorld.FloatMenuMakerMap, Void AddHumanlikeOrders(Vector3, Verse.Pawn,


System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var 0: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3
L_0000: Local var 7: System.Action
L_0000: Local var 8: System.String
L_0000: Local var 9: System.Action
L_0000: Local var 10: Verse.MenuOptionPriority
L_0000: Local var 11: Verse.Thing
L_0000: Local var 12: Verse.Thing
L_0000: Local var 13: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 14: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5
L_0000: Local var 15: Verse.FloatMenuOption
L_0000: Local var 16: System.String
L_0000: Local var 17: Verse.MenuOptionPriority
L_0000: Local var 18:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 19: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6
L_0000: Local var 20: Verse.Pawn
L_0000: Local var 21: Verse.FloatMenuOption
L_0000: Local var 22: System.Action
L_0000: Local var 23: System.String
L_0000: Local var 24: Verse.Pawn
L_0000: Local var 25: Verse.LocalTargetInfo
L_0000: Local var 26:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 27: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7
L_0000: Local var 28: System.String
L_0000: Local var 29: Verse.LocalTargetInfo
L_0000: Local var 30:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 31: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
L_0000: Local var 32: Verse.LocalTargetInfo
L_0000: Local var 33: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9
L_0000: Local var 34: System.String
L_0000: Local var 35: System.Action
L_0000: Local var 36: Verse.LocalTargetInfo
L_0000: Local var 37:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 38: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA
L_0000: Local var 39: Verse.FloatMenuOption
L_0000: Local var 40: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB
L_0000: Local var 41: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 42: System.Int32
L_0000: Local var 43: Verse.FloatMenuOption
L_0000: Local var 44: System.String
L_0000: Local var 45: System.String
L_0000: Local var 46: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC
L_0000: Local var 47: Verse.FloatMenuOption
L_0000: Local var 48: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
L_0000: Local var 49: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
L_0000: Local var 50: RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF
L_0000: Local var 51: RimWorld.LordJob_FormAndSendCaravan
L_0000: Local var 52: System.Single
L_0000: Local var 53: System.Single
L_0000: Local var 54:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10
L_0000: Local var 55:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
L_0000: Local var 56:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12
L_0000: Local var 57: Verse.LocalTargetInfo
L_0000: Local var 58:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 59:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
L_0000: Local var 60:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14
L_0000: Local var 61: System.String
L_0000: Local var 62: System.Action
L_0000: Local var 63: Verse.LocalTargetInfo
L_0000: Local var 64:
System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 65: Verse.LocalTargetInfo
L_0000: Local var 66:
RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15
L_0000: Local var 67: System.Action
L_0000: Local var 68: System.String
L_0000: Local var 69: Verse.Thing
L_0000: Local var 70: System.Collections.Generic.IEnumerator`1[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 71: Verse.FloatMenuOption
L_0000: Local var 72:
System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldloc.0
L_0007: ldarg.1
L_0008: stfld Verse.Pawn pawn
L_000d: ldarg.0
L_000e: call IntVec3 FromVector3(Vector3)
L_0013: stloc.1
L_0014: ldloc.0
L_0015: ldfld Verse.Pawn pawn
L_001a: ldfld Verse.Pawn_HealthTracker health
L_001f: ldfld Verse.PawnCapacitiesHandler capacities
L_0024: ldsfld Verse.PawnCapacityDef Manipulation
L_0029: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_002e: brfalse Label1
L_0033: ldarg.0
L_0034: ldloc.0
L_0035: ldfld Verse.Pawn pawn
L_003a: call RimWorld.TargetingParameters ForArrest(Verse.Pawn)
L_003f: ldc.i4.1
L_0040: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0045: callvirt IEnumerator`1 GetEnumerator()
L_004a: stloc.3
.try
{
L_004b: br Label2
L_0050: Label11
L_0050: ldloc.3
L_0051: callvirt LocalTargetInfo get_Current()
L_0056: stloc.2
L_0057: ldloc.2
L_0058: stloc.s 4 (Verse.LocalTargetInfo)
L_005a: ldloca.s 4 (Verse.LocalTargetInfo)
L_005c: call Boolean get_HasThing()
L_0061: brfalse Label3
L_0066: ldloca.s 4 (Verse.LocalTargetInfo)
L_0068: call Verse.Thing get_Thing()
L_006d: isinst Verse.Pawn
L_0072: brfalse Label4
L_0077: ldloca.s 4 (Verse.LocalTargetInfo)
L_0079: call Verse.Thing get_Thing()
L_007e: castclass Verse.Pawn
L_0083: call Boolean IsWildMan(Verse.Pawn)
L_0088: br Label5
L_008d: Label3
L_008d: Label4
L_008d: ldc.i4.0
L_008e: Label5
L_008e: stloc.s 5 (System.Boolean)
L_0090: ldloc.0
L_0091: ldfld Verse.Pawn pawn
L_0096: callvirt Boolean get_Drafted()
L_009b: brtrue Label6
L_00a0: ldloc.s 5 (System.Boolean)
L_00a2: brtrue Label7
L_00a7: leave Label8
L_00ac: Label6
L_00ac: Label7
L_00ac: ldloc.0
L_00ad: ldfld Verse.Pawn pawn
L_00b2: ldloc.s 4 (Verse.LocalTargetInfo)
L_00b4: ldc.i4.1
L_00b5: ldc.i4.3
L_00b6: ldc.i4.0
L_00b7: ldc.i4.0
L_00b8: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_00bd: brtrue Label9
L_00c2: ldarg.2
L_00c3: ldstr "CannotArrest"
L_00c8: call System.String Translate(System.String)
L_00cd: ldstr " ("
L_00d2: ldstr "NoPath"
L_00d7: call System.String Translate(System.String)
L_00dc: ldstr ")"
L_00e1: call System.String Concat(System.String, System.String,
System.String, System.String)
L_00e6: ldnull
L_00e7: ldc.i4.4
L_00e8: ldnull
L_00e9: ldnull
L_00ea: ldc.r4 0
L_00ef: ldnull
L_00f0: ldnull
L_00f1: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_00f6: callvirt Void Add(Verse.FloatMenuOption)
L_00fb: br Label10
L_0100: Label9
L_0100: newobj Void .ctor()
L_0105: stloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0107: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0109: ldloc.0
L_010a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_010f: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0111: ldloca.s 4 (Verse.LocalTargetInfo)
L_0113: call Verse.Thing get_Thing()
L_0118: castclass Verse.Pawn
L_011d: stfld Verse.Pawn pTarg
L_0122: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0124: ldftn Void <>m__0()
L_012a: newobj Void .ctor(Object, IntPtr)
L_012f: stloc.s 7 (System.Action)
L_0131: ldarg.2
L_0132: ldstr "TryToArrest"
L_0137: ldc.i4.1
L_0138: newarr System.Object
L_013d: dup
L_013e: ldc.i4.0
L_013f: ldloca.s 4 (Verse.LocalTargetInfo)
L_0141: call Verse.Thing get_Thing()
L_0146: callvirt System.String get_LabelCap()
L_014b: stelem.ref
L_014c: call System.String Translate(System.String, System.Object[])
L_0151: stloc.s 8 (System.String)
L_0153: ldloc.s 7 (System.Action)
L_0155: stloc.s 9 (System.Action)
L_0157: ldc.i4.5
L_0158: stloc.s 10 (Verse.MenuOptionPriority)
L_015a: ldloca.s 4 (Verse.LocalTargetInfo)
L_015c: call Verse.Thing get_Thing()
L_0161: stloc.s 11 (Verse.Thing)
L_0163: ldloc.s 8 (System.String)
L_0165: ldloc.s 9 (System.Action)
L_0167: ldloc.s 10 (Verse.MenuOptionPriority)
L_0169: ldnull
L_016a: ldloc.s 11 (Verse.Thing)
L_016c: ldc.r4 0
L_0171: ldnull
L_0172: ldnull
L_0173: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0178: ldloc.0
L_0179: ldfld Verse.Pawn pawn
L_017e: ldloc.s 6
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3)
L_0180: ldfld Verse.Pawn pTarg
L_0185: call LocalTargetInfo op_Implicit(Verse.Thing)
L_018a: ldstr "ReservedBy"
L_018f: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0194: callvirt Void Add(Verse.FloatMenuOption)
L_0199: Label2
L_0199: Label8
L_0199: Label10
L_0199: ldloc.3
L_019a: callvirt Boolean MoveNext()
L_019f: brtrue Label11
L_01a4: leave Label12
L_01a9: leave (autogenerated)
} // end try
.finally
{
L_01ae: ldloc.3
L_01af: brfalse Label13
L_01b4: ldloc.3
L_01b5: callvirt Void Dispose()
L_01ba: Label13
L_01ba: endfinally
L_01bb: leave (autogenerated)
} // end handler
L_01bc: Label1
L_01bc: Label12
L_01bc: ldloc.1
L_01bd: ldloc.0
L_01be: ldfld Verse.Pawn pawn
L_01c3: callvirt Verse.Map get_Map()
L_01c8: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_01cd: callvirt Enumerator GetEnumerator()
L_01d2: stloc.s 13 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
.try
{
L_01d4: br Label14
L_01d9: Label28
L_01d9: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_01db: call Verse.Thing get_Current()
L_01e0: stloc.s 12 (Verse.Thing)
L_01e2: newobj Void .ctor()
L_01e7: stloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01e9: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01eb: ldloc.0
L_01ec: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_01f1: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01f3: ldloc.s 12 (Verse.Thing)
L_01f5: stfld Verse.Thing t
L_01fa: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_01fc: ldfld Verse.Thing t
L_0201: ldfld Verse.ThingDef def
L_0206: ldfld RimWorld.IngestibleProperties ingestible
L_020b: brfalse Label15
L_0210: ldloc.0
L_0211: ldfld Verse.Pawn pawn
L_0216: callvirt Verse.RaceProperties get_RaceProps()
L_021b: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_021d: ldfld Verse.Thing t
L_0222: callvirt Boolean CanEverEat(Verse.Thing)
L_0227: brfalse Label16
L_022c: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_022e: ldfld Verse.Thing t
L_0233: callvirt Boolean get_IngestibleNow()
L_0238: brfalse Label17
L_023d: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_023f: ldfld Verse.Thing t
L_0244: ldfld Verse.ThingDef def
L_0249: ldfld RimWorld.IngestibleProperties ingestible
L_024e: ldfld System.String ingestCommandString
L_0253: call Boolean NullOrEmpty(System.String)
L_0258: brfalse Label18
L_025d: ldstr "ConsumeThing"
L_0262: ldc.i4.1
L_0263: newarr System.Object
L_0268: dup
L_0269: ldc.i4.0
L_026a: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_026c: ldfld Verse.Thing t
L_0271: callvirt System.String get_LabelShort()
L_0276: stelem.ref
L_0277: call System.String Translate(System.String, System.Object[])
L_027c: stloc.s 16 (System.String)
L_027e: br Label19
L_0283: Label18
L_0283: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0285: ldfld Verse.Thing t
L_028a: ldfld Verse.ThingDef def
L_028f: ldfld RimWorld.IngestibleProperties ingestible
L_0294: ldfld System.String ingestCommandString
L_0299: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_029b: ldfld Verse.Thing t
L_02a0: callvirt System.String get_LabelShort()
L_02a5: call System.String Format(System.String, System.Object)
L_02aa: stloc.s 16 (System.String)
L_02ac: Label19
L_02ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02ae: ldfld Verse.Thing t
L_02b3: ldloc.0
L_02b4: ldfld Verse.Pawn pawn
L_02b9: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_02be: brtrue Label20
L_02c3: ldloc.s 16 (System.String)
L_02c5: ldstr " ("
L_02ca: ldstr "ReservedForPrisoners"
L_02cf: call System.String Translate(System.String)
L_02d4: ldstr ")"
L_02d9: call System.String Concat(System.String, System.String,
System.String, System.String)
L_02de: stloc.s 16 (System.String)
L_02e0: Label20
L_02e0: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_02e2: ldfld Verse.Thing t
L_02e7: ldfld Verse.ThingDef def
L_02ec: callvirt Boolean get_IsNonMedicalDrug()
L_02f1: brfalse Label21
L_02f6: ldloc.0
L_02f7: ldfld Verse.Pawn pawn
L_02fc: call Boolean IsTeetotaler(Verse.Pawn)
L_0301: brfalse Label22
L_0306: ldloc.s 16 (System.String)
L_0308: ldstr " ("
L_030d: ldsfld RimWorld.TraitDef DrugDesire
L_0312: ldc.i4.m1
L_0313: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_0318: ldfld System.String label
L_031d: ldstr ")"
L_0322: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0327: ldnull
L_0328: ldc.i4.4
L_0329: ldnull
L_032a: ldnull
L_032b: ldc.r4 0
L_0330: ldnull
L_0331: ldnull
L_0332: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0337: stloc.s 15 (Verse.FloatMenuOption)
L_0339: br Label23
L_033e: Label21
L_033e: Label22
L_033e: ldloc.0
L_033f: ldfld Verse.Pawn pawn
L_0344: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0346: ldfld Verse.Thing t
L_034b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0350: ldc.i4.1
L_0351: ldc.i4.3
L_0352: ldc.i4.0
L_0353: ldc.i4.0
L_0354: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0359: brtrue Label24
L_035e: ldloc.s 16 (System.String)
L_0360: ldstr " ("
L_0365: ldstr "NoPath"
L_036a: call System.String Translate(System.String)
L_036f: ldstr ")"
L_0374: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0379: ldnull
L_037a: ldc.i4.4
L_037b: ldnull
L_037c: ldnull
L_037d: ldc.r4 0
L_0382: ldnull
L_0383: ldnull
L_0384: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0389: stloc.s 15 (Verse.FloatMenuOption)
L_038b: br Label25
L_0390: Label24
L_0390: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_0392: ldfld Verse.Thing t
L_0397: isinst Verse.Corpse
L_039c: brfalse Label26
L_03a1: ldc.i4.2
L_03a2: br Label27
L_03a7: Label26
L_03a7: ldc.i4.4
L_03a8: Label27
L_03a8: stloc.s 17 (Verse.MenuOptionPriority)
L_03aa: ldloc.s 16 (System.String)
L_03ac: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03ae: ldftn Void <>m__0()
L_03b4: newobj Void .ctor(Object, IntPtr)
L_03b9: ldloc.s 17 (Verse.MenuOptionPriority)
L_03bb: ldnull
L_03bc: ldnull
L_03bd: ldc.r4 0
L_03c2: ldnull
L_03c3: ldnull
L_03c4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_03c9: ldloc.0
L_03ca: ldfld Verse.Pawn pawn
L_03cf: ldloc.s 14
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey5)
L_03d1: ldfld Verse.Thing t
L_03d6: call LocalTargetInfo op_Implicit(Verse.Thing)
L_03db: ldstr "ReservedBy"
L_03e0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_03e5: stloc.s 15 (Verse.FloatMenuOption)
L_03e7: Label23
L_03e7: Label25
L_03e7: ldarg.2
L_03e8: ldloc.s 15 (Verse.FloatMenuOption)
L_03ea: callvirt Void Add(Verse.FloatMenuOption)
L_03ef: Label14
L_03ef: Label15
L_03ef: Label16
L_03ef: Label17
L_03ef: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_03f1: call Boolean MoveNext()
L_03f6: brtrue Label28
L_03fb: leave Label29
L_0400: leave (autogenerated)
} // end try
.finally
{
L_0405: ldloca.s 13
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0407: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_040d: callvirt Void Dispose()
L_0412: endfinally
L_0413: leave (autogenerated)
} // end handler
L_0414: Label29
L_0414: ldarg.0
L_0415: ldloc.0
L_0416: ldfld Verse.Pawn pawn
L_041b: call RimWorld.TargetingParameters
ForQuestPawnsWhoWillJoinColony(Verse.Pawn)
L_0420: ldc.i4.1
L_0421: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0426: callvirt IEnumerator`1 GetEnumerator()
L_042b: stloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_042d: br Label30
L_0432: Label35
L_0432: newobj Void .ctor()
L_0437: stloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0439: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_043b: ldloc.0
L_043c: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0441: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0443: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0445: callvirt LocalTargetInfo get_Current()
L_044a: stfld Verse.LocalTargetInfo toHelp
L_044f: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_0451: ldflda Verse.LocalTargetInfo toHelp
L_0456: call Verse.Thing get_Thing()
L_045b: castclass Verse.Pawn
L_0460: stloc.s 20 (Verse.Pawn)
L_0462: ldloc.0
L_0463: ldfld Verse.Pawn pawn
L_0468: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_046a: ldfld Verse.LocalTargetInfo toHelp
L_046f: ldc.i4.2
L_0470: ldc.i4.3
L_0471: ldc.i4.0
L_0472: ldc.i4.0
L_0473: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0478: brtrue Label31
L_047d: ldstr "CannotGoNoPath"
L_0482: call System.String Translate(System.String)
L_0487: ldnull
L_0488: ldc.i4.4
L_0489: ldnull
L_048a: ldnull
L_048b: ldc.r4 0
L_0490: ldnull
L_0491: ldnull
L_0492: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0497: stloc.s 21 (Verse.FloatMenuOption)
L_0499: br Label32
L_049e: Label31
L_049e: ldloc.s 19
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey6)
L_04a0: ldftn Void <>m__0()
L_04a6: newobj Void .ctor(Object, IntPtr)
L_04ab: stloc.s 22 (System.Action)
L_04ad: ldloc.s 20 (Verse.Pawn)
L_04af: callvirt Boolean get_IsPrisoner()
L_04b4: brfalse Label33
L_04b9: ldstr "FreePrisoner"
L_04be: call System.String Translate(System.String)
L_04c3: br Label34
L_04c8: Label33
L_04c8: ldstr "OfferHelp"
L_04cd: call System.String Translate(System.String)
L_04d2: Label34
L_04d2: stloc.s 23 (System.String)
L_04d4: ldloc.s 23 (System.String)
L_04d6: stloc.s 8 (System.String)
L_04d8: ldloc.s 22 (System.Action)
L_04da: stloc.s 9 (System.Action)
L_04dc: ldc.i4.8
L_04dd: stloc.s 10 (Verse.MenuOptionPriority)
L_04df: ldloc.s 20 (Verse.Pawn)
L_04e1: stloc.s 24 (Verse.Pawn)
L_04e3: ldloc.s 8 (System.String)
L_04e5: ldloc.s 9 (System.Action)
L_04e7: ldloc.s 10 (Verse.MenuOptionPriority)
L_04e9: ldnull
L_04ea: ldloc.s 24 (Verse.Pawn)
L_04ec: ldc.r4 0
L_04f1: ldnull
L_04f2: ldnull
L_04f3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_04f8: ldloc.0
L_04f9: ldfld Verse.Pawn pawn
L_04fe: ldloc.s 20 (Verse.Pawn)
L_0500: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0505: ldstr "ReservedBy"
L_050a: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_050f: stloc.s 21 (Verse.FloatMenuOption)
L_0511: Label32
L_0511: ldarg.2
L_0512: ldloc.s 21 (Verse.FloatMenuOption)
L_0514: callvirt Void Add(Verse.FloatMenuOption)
L_0519: Label30
L_0519: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_051b: callvirt Boolean MoveNext()
L_0520: brtrue Label35
L_0525: leave Label36
L_052a: leave (autogenerated)
} // end try
.finally
{
L_052f: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0531: brfalse Label37
L_0536: ldloc.s 18
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0538: callvirt Void Dispose()
L_053d: Label37
L_053d: endfinally
L_053e: leave (autogenerated)
} // end handler
L_053f: Label36
L_053f: ldloc.0
L_0540: ldfld Verse.Pawn pawn
L_0545: ldfld Verse.Pawn_HealthTracker health
L_054a: ldfld Verse.PawnCapacitiesHandler capacities
L_054f: ldsfld Verse.PawnCapacityDef Manipulation
L_0554: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0559: brfalse Label38
L_055e: ldarg.0
L_055f: ldloc.0
L_0560: ldfld Verse.Pawn pawn
L_0565: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_056a: ldc.i4.1
L_056b: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_0570: callvirt IEnumerator`1 GetEnumerator()
L_0575: stloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0577: br Label39
L_057c: Label60
L_057c: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_057e: callvirt LocalTargetInfo get_Current()
L_0583: stloc.s 25 (Verse.LocalTargetInfo)
L_0585: newobj Void .ctor()
L_058a: stloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_058e: ldloc.0
L_058f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0594: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0596: ldloca.s 25 (Verse.LocalTargetInfo)
L_0598: call Verse.Thing get_Thing()
L_059d: castclass Verse.Pawn
L_05a2: stfld Verse.Pawn victim
L_05a7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05a9: ldfld Verse.Pawn victim
L_05ae: call Boolean InBed(Verse.Pawn)
L_05b3: brtrue Label40
L_05b8: ldloc.0
L_05b9: ldfld Verse.Pawn pawn
L_05be: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05c0: ldfld Verse.Pawn victim
L_05c5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_05ca: ldc.i4.1
L_05cb: ldc.i4.3
L_05cc: ldc.i4.1
L_05cd: ldc.i4.m1
L_05ce: ldnull
L_05cf: ldc.i4.1
L_05d0: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_05d5: brtrue Label41
L_05da: Label40
L_05da: leave Label42
L_05df: Label41
L_05df: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05e1: ldfld Verse.Pawn victim
L_05e6: ldfld Verse.AI.Pawn_MindState mindState
L_05eb: callvirt Boolean get_WillJoinColonyIfRescued()
L_05f0: brfalse Label43
L_05f5: leave Label44
L_05fa: Label43
L_05fa: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_05fc: ldfld Verse.Pawn victim
L_0601: callvirt Boolean get_IsPrisonerOfColony()
L_0606: brtrue Label45
L_060b: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_060d: ldfld Verse.Pawn victim
L_0612: callvirt Boolean get_InMentalState()
L_0617: brtrue Label46
L_061c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_061e: ldfld Verse.Pawn victim
L_0623: callvirt RimWorld.Faction get_Faction()
L_0628: call RimWorld.Faction get_OfPlayer()
L_062d: beq Label47
L_0632: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0634: ldfld Verse.Pawn victim
L_0639: callvirt RimWorld.Faction get_Faction()
L_063e: brfalse Label48
L_0643: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0645: ldfld Verse.Pawn victim
L_064a: callvirt RimWorld.Faction get_Faction()
L_064f: call RimWorld.Faction get_OfPlayer()
L_0654: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_0659: brtrue Label49
L_065e: Label47
L_065e: Label48
L_065e: ldarg.2
L_065f: ldstr "Rescue"
L_0664: ldc.i4.1
L_0665: newarr System.Object
L_066a: dup
L_066b: ldc.i4.0
L_066c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_066e: ldfld Verse.Pawn victim
L_0673: callvirt System.String get_LabelCap()
L_0678: stelem.ref
L_0679: call System.String Translate(System.String, System.Object[])
L_067e: stloc.s 8 (System.String)
L_0680: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0682: ldftn Void <>m__0()
L_0688: newobj Void .ctor(Object, IntPtr)
L_068d: stloc.s 9 (System.Action)
L_068f: ldc.i4.8
L_0690: stloc.s 10 (Verse.MenuOptionPriority)
L_0692: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0694: ldfld Verse.Pawn victim
L_0699: stloc.s 24 (Verse.Pawn)
L_069b: ldloc.s 8 (System.String)
L_069d: ldloc.s 9 (System.Action)
L_069f: ldloc.s 10 (Verse.MenuOptionPriority)
L_06a1: ldnull
L_06a2: ldloc.s 24 (Verse.Pawn)
L_06a4: ldc.r4 0
L_06a9: ldnull
L_06aa: ldnull
L_06ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_06b0: ldloc.0
L_06b1: ldfld Verse.Pawn pawn
L_06b6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06b8: ldfld Verse.Pawn victim
L_06bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_06c2: ldstr "ReservedBy"
L_06c7: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_06cc: callvirt Void Add(Verse.FloatMenuOption)
L_06d1: Label45
L_06d1: Label46
L_06d1: Label49
L_06d1: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06d3: ldfld Verse.Pawn victim
L_06d8: callvirt Verse.RaceProperties get_RaceProps()
L_06dd: callvirt Boolean get_Humanlike()
L_06e2: brfalse Label50
L_06e7: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06e9: ldfld Verse.Pawn victim
L_06ee: callvirt Boolean get_InMentalState()
L_06f3: brtrue Label51
L_06f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_06fa: ldfld Verse.Pawn victim
L_06ff: callvirt RimWorld.Faction get_Faction()
L_0704: call RimWorld.Faction get_OfPlayer()
L_0709: bne.un Label52
L_070e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0710: ldfld Verse.Pawn victim
L_0715: callvirt Boolean get_Downed()
L_071a: brfalse Label53
L_071f: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0721: ldfld Verse.Pawn victim
L_0726: ldfld RimWorld.Pawn_GuiltTracker guilt
L_072b: callvirt Boolean get_IsGuilty()
L_0730: brtrue Label54
L_0735: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0737: ldfld Verse.Pawn victim
L_073c: callvirt Boolean get_IsPrisonerOfColony()
L_0741: brfalse Label55
L_0746: Label51
L_0746: Label52
L_0746: Label54
L_0746: ldstr "Capture"
L_074b: ldc.i4.1
L_074c: newarr System.Object
L_0751: dup
L_0752: ldc.i4.0
L_0753: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0755: ldfld Verse.Pawn victim
L_075a: callvirt System.String get_LabelCap()
L_075f: stelem.ref
L_0760: call System.String Translate(System.String, System.Object[])
L_0765: stloc.s 28 (System.String)
L_0767: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0769: ldfld Verse.Pawn victim
L_076e: callvirt RimWorld.Faction get_Faction()
L_0773: brfalse Label56
L_0778: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_077a: ldfld Verse.Pawn victim
L_077f: callvirt RimWorld.Faction get_Faction()
L_0784: call RimWorld.Faction get_OfPlayer()
L_0789: beq Label57
L_078e: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_0790: ldfld Verse.Pawn victim
L_0795: callvirt RimWorld.Faction get_Faction()
L_079a: ldfld RimWorld.FactionDef def
L_079f: ldfld System.Boolean hidden
L_07a4: brtrue Label58
L_07a9: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07ab: ldfld Verse.Pawn victim
L_07b0: callvirt RimWorld.Faction get_Faction()
L_07b5: call RimWorld.Faction get_OfPlayer()
L_07ba: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_07bf: brtrue Label59
L_07c4: ldloc.s 28 (System.String)
L_07c6: ldstr " ("
L_07cb: ldstr "AngersFaction"
L_07d0: call System.String Translate(System.String)
L_07d5: ldstr ")"
L_07da: call System.String Concat(System.String, System.String,
System.String, System.String)
L_07df: stloc.s 28 (System.String)
L_07e1: Label56
L_07e1: Label57
L_07e1: Label58
L_07e1: Label59
L_07e1: ldarg.2
L_07e2: ldloc.s 28 (System.String)
L_07e4: stloc.s 8 (System.String)
L_07e6: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07e8: ldftn Void <>m__1()
L_07ee: newobj Void .ctor(Object, IntPtr)
L_07f3: stloc.s 9 (System.Action)
L_07f5: ldc.i4.8
L_07f6: stloc.s 10 (Verse.MenuOptionPriority)
L_07f8: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_07fa: ldfld Verse.Pawn victim
L_07ff: stloc.s 24 (Verse.Pawn)
L_0801: ldloc.s 8 (System.String)
L_0803: ldloc.s 9 (System.Action)
L_0805: ldloc.s 10 (Verse.MenuOptionPriority)
L_0807: ldnull
L_0808: ldloc.s 24 (Verse.Pawn)
L_080a: ldc.r4 0
L_080f: ldnull
L_0810: ldnull
L_0811: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0816: ldloc.0
L_0817: ldfld Verse.Pawn pawn
L_081c: ldloc.s 27
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey7)
L_081e: ldfld Verse.Pawn victim
L_0823: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0828: ldstr "ReservedBy"
L_082d: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0832: callvirt Void Add(Verse.FloatMenuOption)
L_0837: Label39
L_0837: Label42
L_0837: Label44
L_0837: Label50
L_0837: Label53
L_0837: Label55
L_0837: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0839: callvirt Boolean MoveNext()
L_083e: brtrue Label60
L_0843: leave Label61
L_0848: leave (autogenerated)
} // end try
.finally
{
L_084d: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_084f: brfalse Label62
L_0854: ldloc.s 26
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0856: callvirt Void Dispose()
L_085b: Label62
L_085b: endfinally
L_085c: leave (autogenerated)
} // end handler
L_085d: Label61
L_085d: ldarg.0
L_085e: ldloc.0
L_085f: ldfld Verse.Pawn pawn
L_0864: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_0869: ldc.i4.1
L_086a: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_086f: callvirt IEnumerator`1 GetEnumerator()
L_0874: stloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_0876: br Label63
L_087b: Label67
L_087b: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_087d: callvirt LocalTargetInfo get_Current()
L_0882: stloc.s 29 (Verse.LocalTargetInfo)
L_0884: newobj Void .ctor()
L_0889: stloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_088b: ldloc.s 29 (Verse.LocalTargetInfo)
L_088d: stloc.s 32 (Verse.LocalTargetInfo)
L_088f: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0891: ldloca.s 32 (Verse.LocalTargetInfo)
L_0893: call Verse.Thing get_Thing()
L_0898: castclass Verse.Pawn
L_089d: stfld Verse.Pawn victim
L_08a2: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08a4: ldfld Verse.Pawn victim
L_08a9: callvirt Boolean get_Downed()
L_08ae: brfalse Label64
L_08b3: ldloc.0
L_08b4: ldfld Verse.Pawn pawn
L_08b9: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08bb: ldfld Verse.Pawn victim
L_08c0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_08c5: ldc.i4.1
L_08c6: ldc.i4.3
L_08c7: ldc.i4.1
L_08c8: ldc.i4.m1
L_08c9: ldnull
L_08ca: ldc.i4.1
L_08cb: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo,
PathEndMode, Danger, Int32, Int32, Verse.ReservationLayerDef, Boolean)
L_08d0: brfalse Label65
L_08d5: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_08d7: ldfld Verse.Pawn victim
L_08dc: ldloc.0
L_08dd: ldfld Verse.Pawn pawn
L_08e2: ldc.i4.1
L_08e3: call RimWorld.Building_CryptosleepCasket
FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn, Boolean)
L_08e8: brfalse Label66
L_08ed: newobj Void .ctor()
L_08f2: stloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f4: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08f6: ldloc.0
L_08f7: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_08fc: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_08fe: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_0900: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8
<>f__ref$8
L_0905: ldstr "CarryToCryptosleepCasket"
L_090a: ldc.i4.1
L_090b: newarr System.Object
L_0910: dup
L_0911: ldc.i4.0
L_0912: ldloca.s 32 (Verse.LocalTargetInfo)
L_0914: call Verse.Thing get_Thing()
L_0919: callvirt System.String get_LabelCap()
L_091e: stelem.ref
L_091f: call System.String Translate(System.String, System.Object[])
L_0924: stloc.s 34 (System.String)
L_0926: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0928: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_092d: stfld Verse.JobDef jDef
L_0932: ldloc.s 33
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey9)
L_0934: ldftn Void <>m__0()
L_093a: newobj Void .ctor(Object, IntPtr)
L_093f: stloc.s 35 (System.Action)
L_0941: ldarg.2
L_0942: ldloc.s 34 (System.String)
L_0944: stloc.s 8 (System.String)
L_0946: ldloc.s 35 (System.Action)
L_0948: stloc.s 9 (System.Action)
L_094a: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_094c: ldfld Verse.Pawn victim
L_0951: stloc.s 24 (Verse.Pawn)
L_0953: ldloc.s 8 (System.String)
L_0955: ldloc.s 9 (System.Action)
L_0957: ldc.i4.4
L_0958: ldnull
L_0959: ldloc.s 24 (Verse.Pawn)
L_095b: ldc.r4 0
L_0960: ldnull
L_0961: ldnull
L_0962: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0967: ldloc.0
L_0968: ldfld Verse.Pawn pawn
L_096d: ldloc.s 31
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey8)
L_096f: ldfld Verse.Pawn victim
L_0974: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0979: ldstr "ReservedBy"
L_097e: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0983: callvirt Void Add(Verse.FloatMenuOption)
L_0988: Label63
L_0988: Label64
L_0988: Label65
L_0988: Label66
L_0988: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_098a: callvirt Boolean MoveNext()
L_098f: brtrue Label67
L_0994: leave Label68
L_0999: leave (autogenerated)
} // end try
.finally
{
L_099e: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a0: brfalse Label69
L_09a5: ldloc.s 30
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09a7: callvirt Void Dispose()
L_09ac: Label69
L_09ac: endfinally
L_09ad: leave (autogenerated)
} // end handler
L_09ae: Label38
L_09ae: Label68
L_09ae: ldarg.0
L_09af: ldloc.0
L_09b0: ldfld Verse.Pawn pawn
L_09b5: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_09ba: ldc.i4.1
L_09bb: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_09c0: callvirt IEnumerator`1 GetEnumerator()
L_09c5: stloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_09c7: br Label70
L_09cc: Label73
L_09cc: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_09ce: callvirt LocalTargetInfo get_Current()
L_09d3: stloc.s 36 (Verse.LocalTargetInfo)
L_09d5: newobj Void .ctor()
L_09da: stloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09dc: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09de: ldloc.0
L_09df: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_09e4: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09e6: ldloc.s 36 (Verse.LocalTargetInfo)
L_09e8: stfld Verse.LocalTargetInfo stripTarg
L_09ed: ldloc.0
L_09ee: ldfld Verse.Pawn pawn
L_09f3: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_09f5: ldfld Verse.LocalTargetInfo stripTarg
L_09fa: ldc.i4.3
L_09fb: ldc.i4.3
L_09fc: ldc.i4.0
L_09fd: ldc.i4.0
L_09fe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_0a03: brtrue Label71
L_0a08: ldstr "CannotStrip"
L_0a0d: ldc.i4.1
L_0a0e: newarr System.Object
L_0a13: dup
L_0a14: ldc.i4.0
L_0a15: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a17: ldflda Verse.LocalTargetInfo stripTarg
L_0a1c: call Verse.Thing get_Thing()
L_0a21: callvirt System.String get_LabelCap()
L_0a26: stelem.ref
L_0a27: call System.String Translate(System.String, System.Object[])
L_0a2c: ldstr " ("
L_0a31: ldstr "NoPath"
L_0a36: call System.String Translate(System.String)
L_0a3b: ldstr ")"
L_0a40: call System.String Concat(System.String, System.String,
System.String, System.String)
L_0a45: ldnull
L_0a46: ldc.i4.4
L_0a47: ldnull
L_0a48: ldnull
L_0a49: ldc.r4 0
L_0a4e: ldnull
L_0a4f: ldnull
L_0a50: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a55: stloc.s 39 (Verse.FloatMenuOption)
L_0a57: br Label72
L_0a5c: Label71
L_0a5c: ldstr "Strip"
L_0a61: ldc.i4.1
L_0a62: newarr System.Object
L_0a67: dup
L_0a68: ldc.i4.0
L_0a69: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a6b: ldflda Verse.LocalTargetInfo stripTarg
L_0a70: call Verse.Thing get_Thing()
L_0a75: callvirt System.String get_LabelCap()
L_0a7a: stelem.ref
L_0a7b: call System.String Translate(System.String, System.Object[])
L_0a80: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0a82: ldftn Void <>m__0()
L_0a88: newobj Void .ctor(Object, IntPtr)
L_0a8d: ldc.i4.4
L_0a8e: ldnull
L_0a8f: ldnull
L_0a90: ldc.r4 0
L_0a95: ldnull
L_0a96: ldnull
L_0a97: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0a9c: ldloc.0
L_0a9d: ldfld Verse.Pawn pawn
L_0aa2: ldloc.s 38
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyA)
L_0aa4: ldfld Verse.LocalTargetInfo stripTarg
L_0aa9: ldstr "ReservedBy"
L_0aae: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_0ab3: stloc.s 39 (Verse.FloatMenuOption)
L_0ab5: Label72
L_0ab5: ldarg.2
L_0ab6: ldloc.s 39 (Verse.FloatMenuOption)
L_0ab8: callvirt Void Add(Verse.FloatMenuOption)
L_0abd: Label70
L_0abd: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0abf: callvirt Boolean MoveNext()
L_0ac4: brtrue Label73
L_0ac9: leave Label74
L_0ace: leave (autogenerated)
} // end try
.finally
{
L_0ad3: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0ad5: brfalse Label75
L_0ada: ldloc.s 37
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0adc: callvirt Void Dispose()
L_0ae1: Label75
L_0ae1: endfinally
L_0ae2: leave (autogenerated)
} // end handler
L_0ae3: Label74
L_0ae3: ldloc.0
L_0ae4: ldfld Verse.Pawn pawn
L_0ae9: ldfld Verse.Pawn_EquipmentTracker equipment
L_0aee: brfalse Label76
L_0af3: newobj Void .ctor()
L_0af8: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afa: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0afc: ldloc.0
L_0afd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0b02: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b04: ldnull
L_0b05: stfld Verse.ThingWithComps equipment
L_0b0a: ldloc.1
L_0b0b: ldloc.0
L_0b0c: ldfld Verse.Pawn pawn
L_0b11: callvirt Verse.Map get_Map()
L_0b16: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3,
Verse.Map)
L_0b1b: stloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b1d: ldc.i4.0
L_0b1e: stloc.s 42 (System.Int32)
L_0b20: br Label77
L_0b25: Label80
L_0b25: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b27: ldloc.s 42 (System.Int32)
L_0b29: callvirt Verse.Thing get_Item(Int32)
L_0b2e: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0b33: brfalse Label78
L_0b38: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b3a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b3c: ldloc.s 42 (System.Int32)
L_0b3e: callvirt Verse.Thing get_Item(Int32)
L_0b43: castclass Verse.ThingWithComps
L_0b48: stfld Verse.ThingWithComps equipment
L_0b4d: br Label79
L_0b52: Label78
L_0b52: ldloc.s 42 (System.Int32)
L_0b54: ldc.i4.1
L_0b55: add
L_0b56: stloc.s 42 (System.Int32)
L_0b58: Label77
L_0b58: ldloc.s 42 (System.Int32)
L_0b5a: ldloc.s 41 (System.Collections.Generic.List`1[Verse.Thing])
L_0b5c: callvirt Int32 get_Count()
L_0b61: blt Label80
L_0b66: Label79
L_0b66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b68: ldfld Verse.ThingWithComps equipment
L_0b6d: brfalse Label81
L_0b72: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b74: ldfld Verse.ThingWithComps equipment
L_0b79: callvirt System.String get_LabelShort()
L_0b7e: stloc.s 44 (System.String)
L_0b80: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0b82: ldfld Verse.ThingWithComps equipment
L_0b87: ldfld Verse.ThingDef def
L_0b8c: callvirt Boolean get_IsWeapon()
L_0b91: brfalse Label82
L_0b96: ldloc.0
L_0b97: ldfld Verse.Pawn pawn
L_0b9c: ldfld RimWorld.Pawn_StoryTracker story
L_0ba1: ldc.i4.8
L_0ba2: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_0ba7: brfalse Label83
L_0bac: ldstr "CannotEquip"
L_0bb1: ldc.i4.1
L_0bb2: newarr System.Object
L_0bb7: dup
L_0bb8: ldc.i4.0
L_0bb9: ldloc.s 44 (System.String)
L_0bbb: stelem.ref
L_0bbc: call System.String Translate(System.String, System.Object[])
L_0bc1: ldstr " ("
L_0bc6: ldstr "IsIncapableOfViolenceLower"
L_0bcb: ldc.i4.1
L_0bcc: newarr System.Object
L_0bd1: dup
L_0bd2: ldc.i4.0
L_0bd3: ldloc.0
L_0bd4: ldfld Verse.Pawn pawn
L_0bd9: callvirt System.String get_LabelShort()
L_0bde: stelem.ref
L_0bdf: call System.String Translate(System.String, System.Object[])
L_0be4: ldstr ")"
L_0be9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0bee: ldnull
L_0bef: ldc.i4.4
L_0bf0: ldnull
L_0bf1: ldnull
L_0bf2: ldc.r4 0
L_0bf7: ldnull
L_0bf8: ldnull
L_0bf9: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0bfe: stloc.s 43 (Verse.FloatMenuOption)
L_0c00: br Label84
L_0c05: Label82
L_0c05: Label83
L_0c05: ldloc.0
L_0c06: ldfld Verse.Pawn pawn
L_0c0b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0c0d: ldfld Verse.ThingWithComps equipment
L_0c12: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0c17: ldc.i4.3
L_0c18: ldc.i4.3
L_0c19: ldc.i4.0
L_0c1a: ldc.i4.0
L_0c1b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0c20: brtrue Label85
L_0c25: ldstr "CannotEquip"
L_0c2a: ldc.i4.1
L_0c2b: newarr System.Object
L_0c30: dup
L_0c31: ldc.i4.0
L_0c32: ldloc.s 44 (System.String)
L_0c34: stelem.ref
L_0c35: call System.String Translate(System.String, System.Object[])
L_0c3a: ldstr " ("
L_0c3f: ldstr "NoPath"
L_0c44: call System.String Translate(System.String)
L_0c49: ldstr ")"
L_0c4e: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0c53: ldnull
L_0c54: ldc.i4.4
L_0c55: ldnull
L_0c56: ldnull
L_0c57: ldc.r4 0
L_0c5c: ldnull
L_0c5d: ldnull
L_0c5e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0c63: stloc.s 43 (Verse.FloatMenuOption)
L_0c65: br Label86
L_0c6a: Label85
L_0c6a: ldloc.0
L_0c6b: ldfld Verse.Pawn pawn
L_0c70: ldfld Verse.Pawn_HealthTracker health
L_0c75: ldfld Verse.PawnCapacitiesHandler capacities
L_0c7a: ldsfld Verse.PawnCapacityDef Manipulation
L_0c7f: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0c84: brtrue Label87
L_0c89: ldstr "CannotEquip"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 44 (System.String)
L_0c98: stelem.ref
L_0c99: call System.String Translate(System.String, System.Object[])
L_0c9e: ldstr " ("
L_0ca3: ldstr "Incapable"
L_0ca8: call System.String Translate(System.String)
L_0cad: ldstr ")"
L_0cb2: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0cb7: ldnull
L_0cb8: ldc.i4.4
L_0cb9: ldnull
L_0cba: ldnull
L_0cbb: ldc.r4 0
L_0cc0: ldnull
L_0cc1: ldnull
L_0cc2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0cc7: stloc.s 43 (Verse.FloatMenuOption)
L_0cc9: br Label88
L_0cce: Label87
L_0cce: ldstr "Equip"
L_0cd3: ldc.i4.1
L_0cd4: newarr System.Object
L_0cd9: dup
L_0cda: ldc.i4.0
L_0cdb: ldloc.s 44 (System.String)
L_0cdd: stelem.ref
L_0cde: call System.String Translate(System.String, System.Object[])
L_0ce3: stloc.s 45 (System.String)
L_0ce5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0ce7: ldfld Verse.ThingWithComps equipment
L_0cec: ldfld Verse.ThingDef def
L_0cf1: callvirt Boolean get_IsRangedWeapon()
L_0cf6: brfalse Label89
L_0cfb: ldloc.0
L_0cfc: ldfld Verse.Pawn pawn
L_0d01: ldfld RimWorld.Pawn_StoryTracker story
L_0d06: brfalse Label90
L_0d0b: ldloc.0
L_0d0c: ldfld Verse.Pawn pawn
L_0d11: ldfld RimWorld.Pawn_StoryTracker story
L_0d16: ldfld RimWorld.TraitSet traits
L_0d1b: ldsfld RimWorld.TraitDef Brawler
L_0d20: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0d25: brfalse Label91
L_0d2a: ldloc.s 45 (System.String)
L_0d2c: ldstr " "
L_0d31: ldstr "EquipWarningBrawler"
L_0d36: call System.String Translate(System.String)
L_0d3b: call System.String Concat(System.String, System.String, System.String)
L_0d40: stloc.s 45 (System.String)
L_0d42: Label89
L_0d42: Label90
L_0d42: Label91
L_0d42: ldloc.s 45 (System.String)
L_0d44: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d46: ldftn Void <>m__0()
L_0d4c: newobj Void .ctor(Object, IntPtr)
L_0d51: ldc.i4.5
L_0d52: ldnull
L_0d53: ldnull
L_0d54: ldc.r4 0
L_0d59: ldnull
L_0d5a: ldnull
L_0d5b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0d60: ldloc.0
L_0d61: ldfld Verse.Pawn pawn
L_0d66: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyB)
L_0d68: ldfld Verse.ThingWithComps equipment
L_0d6d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d72: ldstr "ReservedBy"
L_0d77: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0d7c: stloc.s 43 (Verse.FloatMenuOption)
L_0d7e: Label84
L_0d7e: Label86
L_0d7e: Label88
L_0d7e: ldarg.2
L_0d7f: ldloc.s 43 (Verse.FloatMenuOption)
L_0d81: callvirt Void Add(Verse.FloatMenuOption)
L_0d86: Label76
L_0d86: Label81
L_0d86: ldloc.0
L_0d87: ldfld Verse.Pawn pawn
L_0d8c: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0d91: brfalse Label92
L_0d96: newobj Void .ctor()
L_0d9b: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9d: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0d9f: ldloc.0
L_0da0: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_0da5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0da7: ldloc.0
L_0da8: ldfld Verse.Pawn pawn
L_0dad: callvirt Verse.Map get_Map()
L_0db2: ldfld Verse.ThingGrid thingGrid
L_0db7: ldloc.1
L_0db8: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0dbd: stfld RimWorld.Apparel apparel
L_0dc2: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dc4: ldfld RimWorld.Apparel apparel
L_0dc9: brfalse Label93
L_0dce: ldloc.0
L_0dcf: ldfld Verse.Pawn pawn
L_0dd4: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dd6: ldfld RimWorld.Apparel apparel
L_0ddb: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0de0: ldc.i4.3
L_0de1: ldc.i4.3
L_0de2: ldc.i4.0
L_0de3: ldc.i4.0
L_0de4: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0de9: brtrue Label94
L_0dee: ldstr "CannotWear"
L_0df3: ldc.i4.1
L_0df4: newarr System.Object
L_0df9: dup
L_0dfa: ldc.i4.0
L_0dfb: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0dfd: ldfld RimWorld.Apparel apparel
L_0e02: callvirt System.String get_Label()
L_0e07: stelem.ref
L_0e08: call System.String Translate(System.String, System.Object[])
L_0e0d: ldstr " ("
L_0e12: ldstr "NoPath"
L_0e17: call System.String Translate(System.String)
L_0e1c: ldstr ")"
L_0e21: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e26: ldnull
L_0e27: ldc.i4.4
L_0e28: ldnull
L_0e29: ldnull
L_0e2a: ldc.r4 0
L_0e2f: ldnull
L_0e30: ldnull
L_0e31: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0e36: stloc.s 47 (Verse.FloatMenuOption)
L_0e38: br Label95
L_0e3d: Label94
L_0e3d: ldloc.0
L_0e3e: ldfld Verse.Pawn pawn
L_0e43: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e45: ldfld RimWorld.Apparel apparel
L_0e4a: ldfld Verse.ThingDef def
L_0e4f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0e54: brtrue Label96
L_0e59: ldstr "CannotWear"
L_0e5e: ldc.i4.1
L_0e5f: newarr System.Object
L_0e64: dup
L_0e65: ldc.i4.0
L_0e66: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0e68: ldfld RimWorld.Apparel apparel
L_0e6d: callvirt System.String get_Label()
L_0e72: stelem.ref
L_0e73: call System.String Translate(System.String, System.Object[])
L_0e78: ldstr " ("
L_0e7d: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0e82: call System.String Translate(System.String)
L_0e87: ldstr ")"
L_0e8c: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0e91: ldnull
L_0e92: ldc.i4.4
L_0e93: ldnull
L_0e94: ldnull
L_0e95: ldc.r4 0
L_0e9a: ldnull
L_0e9b: ldnull
L_0e9c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ea1: stloc.s 47 (Verse.FloatMenuOption)
L_0ea3: br Label97
L_0ea8: Label96
L_0ea8: ldstr "ForceWear"
L_0ead: ldc.i4.1
L_0eae: newarr System.Object
L_0eb3: dup
L_0eb4: ldc.i4.0
L_0eb5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eb7: ldfld RimWorld.Apparel apparel
L_0ebc: callvirt System.String get_LabelShort()
L_0ec1: stelem.ref
L_0ec2: call System.String Translate(System.String, System.Object[])
L_0ec7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0ec9: ldftn Void <>m__0()
L_0ecf: newobj Void .ctor(Object, IntPtr)
L_0ed4: ldc.i4.5
L_0ed5: ldnull
L_0ed6: ldnull
L_0ed7: ldc.r4 0
L_0edc: ldnull
L_0edd: ldnull
L_0ede: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_0ee3: ldloc.0
L_0ee4: ldfld Verse.Pawn pawn
L_0ee9: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyC)
L_0eeb: ldfld RimWorld.Apparel apparel
L_0ef0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0ef5: ldstr "ReservedBy"
L_0efa: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_0eff: stloc.s 47 (Verse.FloatMenuOption)
L_0f01: Label95
L_0f01: Label97
L_0f01: ldarg.2
L_0f02: ldloc.s 47 (Verse.FloatMenuOption)
L_0f04: callvirt Void Add(Verse.FloatMenuOption)
L_0f09: Label92
L_0f09: Label93
L_0f09: ldloc.0
L_0f0a: ldfld Verse.Pawn pawn
L_0f0f: call Boolean IsFormingCaravan(Verse.Pawn)
L_0f14: brfalse Label98
L_0f19: newobj Void .ctor()
L_0f1e: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f20: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f22: ldloc.1
L_0f23: ldloc.0
L_0f24: ldfld Verse.Pawn pawn
L_0f29: callvirt Verse.Map get_Map()
L_0f2e: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0f33: stfld Verse.Thing item
L_0f38: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f3a: ldfld Verse.Thing item
L_0f3f: brfalse Label99
L_0f44: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0f46: ldfld Verse.Thing item
L_0f4b: ldfld Verse.ThingDef def
L_0f50: callvirt Boolean get_EverHaulable()
L_0f55: brfalse Label100
L_0f5a: newobj Void .ctor()
L_0f5f: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f61: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f63: ldloc.0
L_0f64: ldfld Verse.Pawn pawn
L_0f69: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_0f6e: dup
L_0f6f: brtrue Label101
L_0f74: pop
L_0f75: ldloc.0
L_0f76: ldfld Verse.Pawn pawn
L_0f7b: Label101
L_0f7b: stfld Verse.Pawn packTarget
L_0f80: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f82: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_0f84: ldfld Verse.Pawn packTarget
L_0f89: ldloc.0
L_0f8a: ldfld Verse.Pawn pawn
L_0f8f: bne.un Label102
L_0f94: ldsfld Verse.JobDef TakeInventory
L_0f99: br Label103
L_0f9e: Label102
L_0f9e: ldsfld Verse.JobDef GiveToPackAnimal
L_0fa3: Label103
L_0fa3: stfld Verse.JobDef jobDef
L_0fa8: ldloc.0
L_0fa9: ldfld Verse.Pawn pawn
L_0fae: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fb0: ldfld Verse.Thing item
L_0fb5: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0fba: ldc.i4.3
L_0fbb: ldc.i4.3
L_0fbc: ldc.i4.0
L_0fbd: ldc.i4.0
L_0fbe: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_0fc3: brtrue Label104
L_0fc8: ldarg.2
L_0fc9: ldstr "CannotLoadIntoCaravan"
L_0fce: ldc.i4.1
L_0fcf: newarr System.Object
L_0fd4: dup
L_0fd5: ldc.i4.0
L_0fd6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_0fd8: ldfld Verse.Thing item
L_0fdd: callvirt System.String get_Label()
L_0fe2: stelem.ref
L_0fe3: call System.String Translate(System.String, System.Object[])
L_0fe8: ldstr " ("
L_0fed: ldstr "NoPath"
L_0ff2: call System.String Translate(System.String)
L_0ff7: ldstr ")"
L_0ffc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1001: ldnull
L_1002: ldc.i4.4
L_1003: ldnull
L_1004: ldnull
L_1005: ldc.r4 0
L_100a: ldnull
L_100b: ldnull
L_100c: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1011: callvirt Void Add(Verse.FloatMenuOption)
L_1016: br Label105
L_101b: Label104
L_101b: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_101d: ldfld Verse.Pawn packTarget
L_1022: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1024: ldfld Verse.Thing item
L_1029: ldc.i4.1
L_102a: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_102f: brfalse Label106
L_1034: ldarg.2
L_1035: ldstr "CannotLoadIntoCaravan"
L_103a: ldc.i4.1
L_103b: newarr System.Object
L_1040: dup
L_1041: ldc.i4.0
L_1042: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1044: ldfld Verse.Thing item
L_1049: callvirt System.String get_Label()
L_104e: stelem.ref
L_104f: call System.String Translate(System.String, System.Object[])
L_1054: ldstr " ("
L_1059: ldstr "TooHeavy"
L_105e: call System.String Translate(System.String)
L_1063: ldstr ")"
L_1068: call System.String Concat(System.String, System.String, System.String,
System.String)
L_106d: ldnull
L_106e: ldc.i4.4
L_106f: ldnull
L_1070: ldnull
L_1071: ldc.r4 0
L_1076: ldnull
L_1077: ldnull
L_1078: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_107d: callvirt Void Add(Verse.FloatMenuOption)
L_1082: br Label107
L_1087: Label106
L_1087: newobj Void .ctor()
L_108c: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_108e: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1090: ldloc.0
L_1091: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1096: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1098: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_109a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD
<>f__ref$13
L_109f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10a1: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_10a3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE
<>f__ref$14
L_10a8: ldloc.0
L_10a9: ldfld Verse.Pawn pawn
L_10ae: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_10b3: callvirt Verse.AI.Group.LordJob get_LordJob()
L_10b8: castclass RimWorld.LordJob_FormAndSendCaravan
L_10bd: stloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10bf: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10c1: ldloc.s 51 (RimWorld.LordJob_FormAndSendCaravan)
L_10c3: call Single CapacityLeft(RimWorld.LordJob_FormAndSendCaravan)
L_10c8: stfld System.Single capacityLeft
L_10cd: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10cf: ldfld Verse.Thing item
L_10d4: ldfld System.Int32 stackCount
L_10d9: ldc.i4.1
L_10da: bne.un Label108
L_10df: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_10e1: ldfld System.Single capacityLeft
L_10e6: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_10e8: ldfld Verse.Thing item
L_10ed: ldsfld RimWorld.StatDef Mass
L_10f2: ldc.i4.1
L_10f3: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_10f8: sub
L_10f9: stloc.s 52 (System.Single)
L_10fb: ldarg.2
L_10fc: ldstr "LoadIntoCaravan"
L_1101: ldc.i4.1
L_1102: newarr System.Object
L_1107: dup
L_1108: ldc.i4.0
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_110b: ldfld Verse.Thing item
L_1110: callvirt System.String get_Label()
L_1115: stelem.ref
L_1116: call System.String Translate(System.String, System.Object[])
L_111b: ldloc.s 52 (System.Single)
L_111d: call System.String AppendOverweightInfo(System.String, Single)
L_1122: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_1124: ldftn Void <>m__0()
L_112a: newobj Void .ctor(Object, IntPtr)
L_112f: ldc.i4.5
L_1130: ldnull
L_1131: ldnull
L_1132: ldc.r4 0
L_1137: ldnull
L_1138: ldnull
L_1139: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_113e: ldloc.0
L_113f: ldfld Verse.Pawn pawn
L_1144: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1146: ldfld Verse.Thing item
L_114b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1150: ldstr "ReservedBy"
L_1155: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_115a: callvirt Void Add(Verse.FloatMenuOption)
L_115f: br Label109
L_1164: Label108
L_1164: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyE)
L_1166: ldfld Verse.Pawn packTarget
L_116b: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_116d: ldfld Verse.Thing item
L_1172: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1174: ldfld Verse.Thing item
L_1179: ldfld System.Int32 stackCount
L_117e: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_1183: brfalse Label110
L_1188: ldarg.2
L_1189: ldstr "CannotLoadIntoCaravanAll"
L_118e: ldc.i4.1
L_118f: newarr System.Object
L_1194: dup
L_1195: ldc.i4.0
L_1196: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1198: ldfld Verse.Thing item
L_119d: callvirt System.String get_Label()
L_11a2: stelem.ref
L_11a3: call System.String Translate(System.String, System.Object[])
L_11a8: ldstr " ("
L_11ad: ldstr "TooHeavy"
L_11b2: call System.String Translate(System.String)
L_11b7: ldstr ")"
L_11bc: call System.String Concat(System.String, System.String, System.String,
System.String)
L_11c1: ldnull
L_11c2: ldc.i4.4
L_11c3: ldnull
L_11c4: ldnull
L_11c5: ldc.r4 0
L_11ca: ldnull
L_11cb: ldnull
L_11cc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_11d1: callvirt Void Add(Verse.FloatMenuOption)
L_11d6: br Label111
L_11db: Label110
L_11db: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_11dd: ldfld System.Single capacityLeft
L_11e2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11e4: ldfld Verse.Thing item
L_11e9: ldfld System.Int32 stackCount
L_11ee: conv.r4
L_11ef: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_11f1: ldfld Verse.Thing item
L_11f6: ldsfld RimWorld.StatDef Mass
L_11fb: ldc.i4.1
L_11fc: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_1201: mul
L_1202: sub
L_1203: stloc.s 53 (System.Single)
L_1205: ldarg.2
L_1206: ldstr "LoadIntoCaravanAll"
L_120b: ldc.i4.1
L_120c: newarr System.Object
L_1211: dup
L_1212: ldc.i4.0
L_1213: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1215: ldfld Verse.Thing item
L_121a: callvirt System.String get_Label()
L_121f: stelem.ref
L_1220: call System.String Translate(System.String, System.Object[])
L_1225: ldloc.s 53 (System.Single)
L_1227: call System.String AppendOverweightInfo(System.String, Single)
L_122c: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_122e: ldftn Void <>m__1()
L_1234: newobj Void .ctor(Object, IntPtr)
L_1239: ldc.i4.5
L_123a: ldnull
L_123b: ldnull
L_123c: ldc.r4 0
L_1241: ldnull
L_1242: ldnull
L_1243: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1248: ldloc.0
L_1249: ldfld Verse.Pawn pawn
L_124e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1250: ldfld Verse.Thing item
L_1255: call LocalTargetInfo op_Implicit(Verse.Thing)
L_125a: ldstr "ReservedBy"
L_125f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1264: callvirt Void Add(Verse.FloatMenuOption)
L_1269: Label111
L_1269: ldarg.2
L_126a: ldstr "LoadIntoCaravanSome"
L_126f: ldc.i4.1
L_1270: newarr System.Object
L_1275: dup
L_1276: ldc.i4.0
L_1277: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_1279: ldfld Verse.Thing item
L_127e: callvirt System.String get_LabelNoCount()
L_1283: stelem.ref
L_1284: call System.String Translate(System.String, System.Object[])
L_1289: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyF)
L_128b: ldftn Void <>m__2()
L_1291: newobj Void .ctor(Object, IntPtr)
L_1296: ldc.i4.5
L_1297: ldnull
L_1298: ldnull
L_1299: ldc.r4 0
L_129e: ldnull
L_129f: ldnull
L_12a0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_12a5: ldloc.0
L_12a6: ldfld Verse.Pawn pawn
L_12ab: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStoreyD)
L_12ad: ldfld Verse.Thing item
L_12b2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_12b7: ldstr "ReservedBy"
L_12bc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_12c1: callvirt Void Add(Verse.FloatMenuOption)
L_12c6: Label98
L_12c6: Label99
L_12c6: Label100
L_12c6: Label105
L_12c6: Label107
L_12c6: Label109
L_12c6: ldloc.0
L_12c7: ldfld Verse.Pawn pawn
L_12cc: callvirt Verse.Map get_Map()
L_12d1: callvirt Boolean get_IsPlayerHome()
L_12d6: brtrue Label112
L_12db: ldloc.0
L_12dc: ldfld Verse.Pawn pawn
L_12e1: call Boolean IsFormingCaravan(Verse.Pawn)
L_12e6: brtrue Label113
L_12eb: newobj Void .ctor()
L_12f0: stloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f2: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12f4: ldloc.0
L_12f5: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_12fa: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_12fc: ldloc.1
L_12fd: ldloc.0
L_12fe: ldfld Verse.Pawn pawn
L_1303: callvirt Verse.Map get_Map()
L_1308: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_130d: stfld Verse.Thing item
L_1312: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1314: ldfld Verse.Thing item
L_1319: brfalse Label114
L_131e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1320: ldfld Verse.Thing item
L_1325: ldfld Verse.ThingDef def
L_132a: callvirt Boolean get_EverHaulable()
L_132f: brfalse Label115
L_1334: ldloc.0
L_1335: ldfld Verse.Pawn pawn
L_133a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_133c: ldfld Verse.Thing item
L_1341: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1346: ldc.i4.3
L_1347: ldc.i4.3
L_1348: ldc.i4.0
L_1349: ldc.i4.0
L_134a: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_134f: brtrue Label116
L_1354: ldarg.2
L_1355: ldstr "CannotPickUp"
L_135a: ldc.i4.1
L_135b: newarr System.Object
L_1360: dup
L_1361: ldc.i4.0
L_1362: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1364: ldfld Verse.Thing item
L_1369: callvirt System.String get_Label()
L_136e: stelem.ref
L_136f: call System.String Translate(System.String, System.Object[])
L_1374: ldstr " ("
L_1379: ldstr "NoPath"
L_137e: call System.String Translate(System.String)
L_1383: ldstr ")"
L_1388: call System.String Concat(System.String, System.String, System.String,
System.String)
L_138d: ldnull
L_138e: ldc.i4.4
L_138f: ldnull
L_1390: ldnull
L_1391: ldc.r4 0
L_1396: ldnull
L_1397: ldnull
L_1398: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_139d: callvirt Void Add(Verse.FloatMenuOption)
L_13a2: br Label117
L_13a7: Label116
L_13a7: ldloc.0
L_13a8: ldfld Verse.Pawn pawn
L_13ad: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13af: ldfld Verse.Thing item
L_13b4: ldc.i4.1
L_13b5: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_13ba: brfalse Label118
L_13bf: ldarg.2
L_13c0: ldstr "CannotPickUp"
L_13c5: ldc.i4.1
L_13c6: newarr System.Object
L_13cb: dup
L_13cc: ldc.i4.0
L_13cd: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_13cf: ldfld Verse.Thing item
L_13d4: callvirt System.String get_Label()
L_13d9: stelem.ref
L_13da: call System.String Translate(System.String, System.Object[])
L_13df: ldstr " ("
L_13e4: ldstr "TooHeavy"
L_13e9: call System.String Translate(System.String)
L_13ee: ldstr ")"
L_13f3: call System.String Concat(System.String, System.String, System.String,
System.String)
L_13f8: ldnull
L_13f9: ldc.i4.4
L_13fa: ldnull
L_13fb: ldnull
L_13fc: ldc.r4 0
L_1401: ldnull
L_1402: ldnull
L_1403: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1408: callvirt Void Add(Verse.FloatMenuOption)
L_140d: br Label119
L_1412: Label118
L_1412: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1414: ldfld Verse.Thing item
L_1419: ldfld System.Int32 stackCount
L_141e: ldc.i4.1
L_141f: bne.un Label120
L_1424: ldarg.2
L_1425: ldstr "PickUp"
L_142a: ldc.i4.1
L_142b: newarr System.Object
L_1430: dup
L_1431: ldc.i4.0
L_1432: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1434: ldfld Verse.Thing item
L_1439: callvirt System.String get_Label()
L_143e: stelem.ref
L_143f: call System.String Translate(System.String, System.Object[])
L_1444: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1446: ldftn Void <>m__0()
L_144c: newobj Void .ctor(Object, IntPtr)
L_1451: ldc.i4.5
L_1452: ldnull
L_1453: ldnull
L_1454: ldc.r4 0
L_1459: ldnull
L_145a: ldnull
L_145b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1460: ldloc.0
L_1461: ldfld Verse.Pawn pawn
L_1466: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1468: ldfld Verse.Thing item
L_146d: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1472: ldstr "ReservedBy"
L_1477: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_147c: callvirt Void Add(Verse.FloatMenuOption)
L_1481: br Label121
L_1486: Label120
L_1486: ldloc.0
L_1487: ldfld Verse.Pawn pawn
L_148c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_148e: ldfld Verse.Thing item
L_1493: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1495: ldfld Verse.Thing item
L_149a: ldfld System.Int32 stackCount
L_149f: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_14a4: brfalse Label122
L_14a9: ldarg.2
L_14aa: ldstr "CannotPickUpAll"
L_14af: ldc.i4.1
L_14b0: newarr System.Object
L_14b5: dup
L_14b6: ldc.i4.0
L_14b7: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_14b9: ldfld Verse.Thing item
L_14be: callvirt System.String get_Label()
L_14c3: stelem.ref
L_14c4: call System.String Translate(System.String, System.Object[])
L_14c9: ldstr " ("
L_14ce: ldstr "TooHeavy"
L_14d3: call System.String Translate(System.String)
L_14d8: ldstr ")"
L_14dd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_14e2: ldnull
L_14e3: ldc.i4.4
L_14e4: ldnull
L_14e5: ldnull
L_14e6: ldc.r4 0
L_14eb: ldnull
L_14ec: ldnull
L_14ed: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_14f2: callvirt Void Add(Verse.FloatMenuOption)
L_14f7: br Label123
L_14fc: Label122
L_14fc: ldarg.2
L_14fd: ldstr "PickUpAll"
L_1502: ldc.i4.1
L_1503: newarr System.Object
L_1508: dup
L_1509: ldc.i4.0
L_150a: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_150c: ldfld Verse.Thing item
L_1511: callvirt System.String get_Label()
L_1516: stelem.ref
L_1517: call System.String Translate(System.String, System.Object[])
L_151c: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_151e: ldftn Void <>m__1()
L_1524: newobj Void .ctor(Object, IntPtr)
L_1529: ldc.i4.5
L_152a: ldnull
L_152b: ldnull
L_152c: ldc.r4 0
L_1531: ldnull
L_1532: ldnull
L_1533: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1538: ldloc.0
L_1539: ldfld Verse.Pawn pawn
L_153e: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1540: ldfld Verse.Thing item
L_1545: call LocalTargetInfo op_Implicit(Verse.Thing)
L_154a: ldstr "ReservedBy"
L_154f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1554: callvirt Void Add(Verse.FloatMenuOption)
L_1559: Label123
L_1559: ldarg.2
L_155a: ldstr "PickUpSome"
L_155f: ldc.i4.1
L_1560: newarr System.Object
L_1565: dup
L_1566: ldc.i4.0
L_1567: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_1569: ldfld Verse.Thing item
L_156e: callvirt System.String get_LabelNoCount()
L_1573: stelem.ref
L_1574: call System.String Translate(System.String, System.Object[])
L_1579: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_157b: ldftn Void <>m__2()
L_1581: newobj Void .ctor(Object, IntPtr)
L_1586: ldc.i4.5
L_1587: ldnull
L_1588: ldnull
L_1589: ldc.r4 0
L_158e: ldnull
L_158f: ldnull
L_1590: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1595: ldloc.0
L_1596: ldfld Verse.Pawn pawn
L_159b: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey10)
L_159d: ldfld Verse.Thing item
L_15a2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_15a7: ldstr "ReservedBy"
L_15ac: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_15b1: callvirt Void Add(Verse.FloatMenuOption)
L_15b6: Label112
L_15b6: Label113
L_15b6: Label114
L_15b6: Label115
L_15b6: Label117
L_15b6: Label119
L_15b6: Label121
L_15b6: ldloc.0
L_15b7: ldfld Verse.Pawn pawn
L_15bc: callvirt Verse.Map get_Map()
L_15c1: callvirt Boolean get_IsPlayerHome()
L_15c6: brtrue Label124
L_15cb: ldloc.0
L_15cc: ldfld Verse.Pawn pawn
L_15d1: call Boolean IsFormingCaravan(Verse.Pawn)
L_15d6: brtrue Label125
L_15db: newobj Void .ctor()
L_15e0: stloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e2: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15e4: ldloc.1
L_15e5: ldloc.0
L_15e6: ldfld Verse.Pawn pawn
L_15eb: callvirt Verse.Map get_Map()
L_15f0: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_15f5: stfld Verse.Thing item
L_15fa: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_15fc: ldfld Verse.Thing item
L_1601: brfalse Label126
L_1606: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1608: ldfld Verse.Thing item
L_160d: ldfld Verse.ThingDef def
L_1612: callvirt Boolean get_EverHaulable()
L_1617: brfalse Label127
L_161c: newobj Void .ctor()
L_1621: stloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1623: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1625: ldloc.0
L_1626: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_162b: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_162d: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_162f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11
<>f__ref$17
L_1634: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1636: ldloc.0
L_1637: ldfld Verse.Pawn pawn
L_163c: call Verse.Pawn UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn)
L_1641: stfld Verse.Pawn bestPackAnimal
L_1646: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1648: ldfld Verse.Pawn bestPackAnimal
L_164d: brfalse Label128
L_1652: ldloc.0
L_1653: ldfld Verse.Pawn pawn
L_1658: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_165a: ldfld Verse.Thing item
L_165f: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1664: ldc.i4.3
L_1665: ldc.i4.3
L_1666: ldc.i4.0
L_1667: ldc.i4.0
L_1668: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger,
Boolean, TraverseMode)
L_166d: brtrue Label129
L_1672: ldarg.2
L_1673: ldstr "CannotGiveToPackAnimal"
L_1678: ldc.i4.1
L_1679: newarr System.Object
L_167e: dup
L_167f: ldc.i4.0
L_1680: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1682: ldfld Verse.Thing item
L_1687: callvirt System.String get_Label()
L_168c: stelem.ref
L_168d: call System.String Translate(System.String, System.Object[])
L_1692: ldstr " ("
L_1697: ldstr "NoPath"
L_169c: call System.String Translate(System.String)
L_16a1: ldstr ")"
L_16a6: call System.String Concat(System.String, System.String, System.String,
System.String)
L_16ab: ldnull
L_16ac: ldc.i4.4
L_16ad: ldnull
L_16ae: ldnull
L_16af: ldc.r4 0
L_16b4: ldnull
L_16b5: ldnull
L_16b6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_16bb: callvirt Void Add(Verse.FloatMenuOption)
L_16c0: br Label130
L_16c5: Label129
L_16c5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_16c7: ldfld Verse.Pawn bestPackAnimal
L_16cc: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ce: ldfld Verse.Thing item
L_16d3: ldc.i4.1
L_16d4: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_16d9: brfalse Label131
L_16de: ldarg.2
L_16df: ldstr "CannotGiveToPackAnimal"
L_16e4: ldc.i4.1
L_16e5: newarr System.Object
L_16ea: dup
L_16eb: ldc.i4.0
L_16ec: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_16ee: ldfld Verse.Thing item
L_16f3: callvirt System.String get_Label()
L_16f8: stelem.ref
L_16f9: call System.String Translate(System.String, System.Object[])
L_16fe: ldstr " ("
L_1703: ldstr "TooHeavy"
L_1708: call System.String Translate(System.String)
L_170d: ldstr ")"
L_1712: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1717: ldnull
L_1718: ldc.i4.4
L_1719: ldnull
L_171a: ldnull
L_171b: ldc.r4 0
L_1720: ldnull
L_1721: ldnull
L_1722: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1727: callvirt Void Add(Verse.FloatMenuOption)
L_172c: br Label132
L_1731: Label131
L_1731: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1733: ldfld Verse.Thing item
L_1738: ldfld System.Int32 stackCount
L_173d: ldc.i4.1
L_173e: bne.un Label133
L_1743: ldarg.2
L_1744: ldstr "GiveToPackAnimal"
L_1749: ldc.i4.1
L_174a: newarr System.Object
L_174f: dup
L_1750: ldc.i4.0
L_1751: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1753: ldfld Verse.Thing item
L_1758: callvirt System.String get_Label()
L_175d: stelem.ref
L_175e: call System.String Translate(System.String, System.Object[])
L_1763: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_1765: ldftn Void <>m__0()
L_176b: newobj Void .ctor(Object, IntPtr)
L_1770: ldc.i4.5
L_1771: ldnull
L_1772: ldnull
L_1773: ldc.r4 0
L_1778: ldnull
L_1779: ldnull
L_177a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_177f: ldloc.0
L_1780: ldfld Verse.Pawn pawn
L_1785: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1787: ldfld Verse.Thing item
L_178c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1791: ldstr "ReservedBy"
L_1796: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_179b: callvirt Void Add(Verse.FloatMenuOption)
L_17a0: br Label134
L_17a5: Label133
L_17a5: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_17a7: ldfld Verse.Pawn bestPackAnimal
L_17ac: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17ae: ldfld Verse.Thing item
L_17b3: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17b5: ldfld Verse.Thing item
L_17ba: ldfld System.Int32 stackCount
L_17bf: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing,
Int32)
L_17c4: brfalse Label135
L_17c9: ldarg.2
L_17ca: ldstr "CannotGiveToPackAnimalAll"
L_17cf: ldc.i4.1
L_17d0: newarr System.Object
L_17d5: dup
L_17d6: ldc.i4.0
L_17d7: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_17d9: ldfld Verse.Thing item
L_17de: callvirt System.String get_Label()
L_17e3: stelem.ref
L_17e4: call System.String Translate(System.String, System.Object[])
L_17e9: ldstr " ("
L_17ee: ldstr "TooHeavy"
L_17f3: call System.String Translate(System.String)
L_17f8: ldstr ")"
L_17fd: call System.String Concat(System.String, System.String, System.String,
System.String)
L_1802: ldnull
L_1803: ldc.i4.4
L_1804: ldnull
L_1805: ldnull
L_1806: ldc.r4 0
L_180b: ldnull
L_180c: ldnull
L_180d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1812: callvirt Void Add(Verse.FloatMenuOption)
L_1817: br Label136
L_181c: Label135
L_181c: ldarg.2
L_181d: ldstr "GiveToPackAnimalAll"
L_1822: ldc.i4.1
L_1823: newarr System.Object
L_1828: dup
L_1829: ldc.i4.0
L_182a: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_182c: ldfld Verse.Thing item
L_1831: callvirt System.String get_Label()
L_1836: stelem.ref
L_1837: call System.String Translate(System.String, System.Object[])
L_183c: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_183e: ldftn Void <>m__1()
L_1844: newobj Void .ctor(Object, IntPtr)
L_1849: ldc.i4.5
L_184a: ldnull
L_184b: ldnull
L_184c: ldc.r4 0
L_1851: ldnull
L_1852: ldnull
L_1853: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1858: ldloc.0
L_1859: ldfld Verse.Pawn pawn
L_185e: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1860: ldfld Verse.Thing item
L_1865: call LocalTargetInfo op_Implicit(Verse.Thing)
L_186a: ldstr "ReservedBy"
L_186f: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_1874: callvirt Void Add(Verse.FloatMenuOption)
L_1879: Label136
L_1879: ldarg.2
L_187a: ldstr "GiveToPackAnimalSome"
L_187f: ldc.i4.1
L_1880: newarr System.Object
L_1885: dup
L_1886: ldc.i4.0
L_1887: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_1889: ldfld Verse.Thing item
L_188e: callvirt System.String get_LabelNoCount()
L_1893: stelem.ref
L_1894: call System.String Translate(System.String, System.Object[])
L_1899: ldloc.s 56 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey12)
L_189b: ldftn Void <>m__2()
L_18a1: newobj Void .ctor(Object, IntPtr)
L_18a6: ldc.i4.5
L_18a7: ldnull
L_18a8: ldnull
L_18a9: ldc.r4 0
L_18ae: ldnull
L_18af: ldnull
L_18b0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_18b5: ldloc.0
L_18b6: ldfld Verse.Pawn pawn
L_18bb: ldloc.s 55 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey11)
L_18bd: ldfld Verse.Thing item
L_18c2: call LocalTargetInfo op_Implicit(Verse.Thing)
L_18c7: ldstr "ReservedBy"
L_18cc: call Verse.FloatMenuOption DecoratePrioritizedTask(Verse.FloatMenuOption,
Verse.Pawn, LocalTargetInfo, System.String)
L_18d1: callvirt Void Add(Verse.FloatMenuOption)
L_18d6: Label124
L_18d6: Label125
L_18d6: Label126
L_18d6: Label127
L_18d6: Label128
L_18d6: Label130
L_18d6: Label132
L_18d6: Label134
L_18d6: ldloc.0
L_18d7: ldfld Verse.Pawn pawn
L_18dc: callvirt Verse.Map get_Map()
L_18e1: callvirt Boolean get_IsPlayerHome()
L_18e6: brtrue Label137
L_18eb: ldloc.0
L_18ec: ldfld Verse.Pawn pawn
L_18f1: callvirt Verse.Map get_Map()
L_18f6: ldfld Verse.ExitMapGrid exitMapGrid
L_18fb: callvirt Boolean get_MapUsesExitGrid()
L_1900: brfalse Label138
L_1905: ldarg.0
L_1906: ldloc.0
L_1907: ldfld Verse.Pawn pawn
L_190c: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1911: ldc.i4.1
L_1912: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1917: callvirt IEnumerator`1 GetEnumerator()
L_191c: stloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_191e: br Label139
L_1923: Label151
L_1923: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1925: callvirt LocalTargetInfo get_Current()
L_192a: stloc.s 57 (Verse.LocalTargetInfo)
L_192c: newobj Void .ctor()
L_1931: stloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1933: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1935: ldloca.s 57 (Verse.LocalTargetInfo)
L_1937: call Verse.Thing get_Thing()
L_193c: castclass Verse.Pawn
L_1941: stfld Verse.Pawn p
L_1946: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1948: ldfld Verse.Pawn p
L_194d: callvirt RimWorld.Faction get_Faction()
L_1952: call RimWorld.Faction get_OfPlayer()
L_1957: beq Label140
L_195c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_195e: ldfld Verse.Pawn p
L_1963: callvirt Boolean get_IsPrisonerOfColony()
L_1968: brtrue Label141
L_196d: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_196f: ldfld Verse.Pawn p
L_1974: call RimWorld.Faction get_OfPlayer()
L_1979: call Boolean ShouldAutoCapture(Verse.Pawn, RimWorld.Faction)
L_197e: brtrue Label142
L_1983: leave Label143
L_1988: Label140
L_1988: Label141
L_1988: Label142
L_1988: ldloc.0
L_1989: ldfld Verse.Pawn pawn
L_198e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1990: ldfld Verse.Pawn p
L_1995: call LocalTargetInfo op_Implicit(Verse.Thing)
L_199a: ldc.i4.3
L_199b: ldc.i4.3
L_199c: ldc.i4.0
L_199d: ldc.i4.0
L_199e: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_19a3: brtrue Label144
L_19a8: ldarg.2
L_19a9: ldstr "CannotCarryToExit"
L_19ae: ldc.i4.1
L_19af: newarr System.Object
L_19b4: dup
L_19b5: ldc.i4.0
L_19b6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_19b8: ldfld Verse.Pawn p
L_19bd: callvirt System.String get_Label()
L_19c2: stelem.ref
L_19c3: call System.String Translate(System.String, System.Object[])
L_19c8: ldstr " ("
L_19cd: ldstr "NoPath"
L_19d2: call System.String Translate(System.String)
L_19d7: ldstr ")"
L_19dc: call System.String Concat(System.String, System.String,
System.String, System.String)
L_19e1: ldnull
L_19e2: ldc.i4.4
L_19e3: ldnull
L_19e4: ldnull
L_19e5: ldc.r4 0
L_19ea: ldnull
L_19eb: ldnull
L_19ec: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_19f1: callvirt Void Add(Verse.FloatMenuOption)
L_19f6: br Label145
L_19fb: Label144
L_19fb: newobj Void .ctor()
L_1a00: stloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a02: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a04: ldloc.0
L_1a05: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1a0a: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a0c: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a0e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13
<>f__ref$19
L_1a13: ldloc.0
L_1a14: ldfld Verse.Pawn pawn
L_1a19: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1a1b: ldflda Verse.IntVec3 exitSpot
L_1a20: ldc.i4.0
L_1a21: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef,
TraverseMode)
L_1a26: brtrue Label146
L_1a2b: ldarg.2
L_1a2c: ldstr "CannotCarryToExit"
L_1a31: ldc.i4.1
L_1a32: newarr System.Object
L_1a37: dup
L_1a38: ldc.i4.0
L_1a39: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a3b: ldfld Verse.Pawn p
L_1a40: callvirt System.String get_Label()
L_1a45: stelem.ref
L_1a46: call System.String Translate(System.String, System.Object[])
L_1a4b: ldstr " ("
L_1a50: ldstr "NoPath"
L_1a55: call System.String Translate(System.String)
L_1a5a: ldstr ")"
L_1a5f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1a64: ldnull
L_1a65: ldc.i4.4
L_1a66: ldnull
L_1a67: ldnull
L_1a68: ldc.r4 0
L_1a6d: ldnull
L_1a6e: ldnull
L_1a6f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1a74: callvirt Void Add(Verse.FloatMenuOption)
L_1a79: br Label147
L_1a7e: Label146
L_1a7e: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a80: ldfld Verse.Pawn p
L_1a85: callvirt RimWorld.Faction get_Faction()
L_1a8a: call RimWorld.Faction get_OfPlayer()
L_1a8f: beq Label148
L_1a94: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1a96: ldfld Verse.Pawn p
L_1a9b: callvirt Boolean get_IsPrisonerOfColony()
L_1aa0: brfalse Label149
L_1aa5: Label148
L_1aa5: ldstr "CarryToExit"
L_1aaa: ldc.i4.1
L_1aab: newarr System.Object
L_1ab0: dup
L_1ab1: ldc.i4.0
L_1ab2: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ab4: ldfld Verse.Pawn p
L_1ab9: callvirt System.String get_Label()
L_1abe: stelem.ref
L_1abf: call System.String Translate(System.String, System.Object[])
L_1ac4: br Label150
L_1ac9: Label149
L_1ac9: ldstr "CarryToExitAndCapture"
L_1ace: ldc.i4.1
L_1acf: newarr System.Object
L_1ad4: dup
L_1ad5: ldc.i4.0
L_1ad6: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey13)
L_1ad8: ldfld Verse.Pawn p
L_1add: callvirt System.String get_Label()
L_1ae2: stelem.ref
L_1ae3: call System.String Translate(System.String, System.Object[])
L_1ae8: Label150
L_1ae8: stloc.s 61 (System.String)
L_1aea: ldarg.2
L_1aeb: ldloc.s 61 (System.String)
L_1aed: ldloc.s 60
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey14)
L_1aef: ldftn Void <>m__0()
L_1af5: newobj Void .ctor(Object, IntPtr)
L_1afa: ldc.i4.5
L_1afb: ldnull
L_1afc: ldnull
L_1afd: ldc.r4 0
L_1b02: ldnull
L_1b03: ldnull
L_1b04: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1b09: ldloc.0
L_1b0a: ldfld Verse.Pawn pawn
L_1b0f: ldloc.s 57 (Verse.LocalTargetInfo)
L_1b11: ldstr "ReservedBy"
L_1b16: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1b1b: callvirt Void Add(Verse.FloatMenuOption)
L_1b20: Label139
L_1b20: Label143
L_1b20: Label145
L_1b20: Label147
L_1b20: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b22: callvirt Boolean MoveNext()
L_1b27: brtrue Label151
L_1b2c: leave Label152
L_1b31: leave (autogenerated)
} // end try
.finally
{
L_1b36: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b38: brfalse Label153
L_1b3d: ldloc.s 58
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1b3f: callvirt Void Dispose()
L_1b44: Label153
L_1b44: endfinally
L_1b45: leave (autogenerated)
} // end handler
L_1b46: Label137
L_1b46: Label138
L_1b46: Label152
L_1b46: ldloc.0
L_1b47: ldfld Verse.Pawn pawn
L_1b4c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b51: brfalse Label154
L_1b56: ldloc.0
L_1b57: ldfld Verse.Pawn pawn
L_1b5c: ldfld Verse.Pawn_EquipmentTracker equipment
L_1b61: callvirt Verse.ThingWithComps get_Primary()
L_1b66: brfalse Label155
L_1b6b: ldarg.0
L_1b6c: ldloc.0
L_1b6d: ldfld Verse.Pawn pawn
L_1b72: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_1b77: ldc.i4.1
L_1b78: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1b7d: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_1b82: brfalse Label156
L_1b87: ldloc.0
L_1b88: ldftn Void <>m__0()
L_1b8e: newobj Void .ctor(Object, IntPtr)
L_1b93: stloc.s 62 (System.Action)
L_1b95: ldarg.2
L_1b96: ldstr "Drop"
L_1b9b: ldc.i4.1
L_1b9c: newarr System.Object
L_1ba1: dup
L_1ba2: ldc.i4.0
L_1ba3: ldloc.0
L_1ba4: ldfld Verse.Pawn pawn
L_1ba9: ldfld Verse.Pawn_EquipmentTracker equipment
L_1bae: callvirt Verse.ThingWithComps get_Primary()
L_1bb3: callvirt System.String get_Label()
L_1bb8: stelem.ref
L_1bb9: call System.String Translate(System.String, System.Object[])
L_1bbe: stloc.s 8 (System.String)
L_1bc0: ldloc.s 62 (System.Action)
L_1bc2: stloc.s 9 (System.Action)
L_1bc4: ldloc.0
L_1bc5: ldfld Verse.Pawn pawn
L_1bca: stloc.s 24 (Verse.Pawn)
L_1bcc: ldloc.s 8 (System.String)
L_1bce: ldloc.s 9 (System.Action)
L_1bd0: ldc.i4.4
L_1bd1: ldnull
L_1bd2: ldloc.s 24 (Verse.Pawn)
L_1bd4: ldc.r4 0
L_1bd9: ldnull
L_1bda: ldnull
L_1bdb: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1be0: callvirt Void Add(Verse.FloatMenuOption)
L_1be5: Label154
L_1be5: Label155
L_1be5: Label156
L_1be5: ldarg.0
L_1be6: call RimWorld.TargetingParameters ForTrade()
L_1beb: ldc.i4.1
L_1bec: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters,
Boolean)
L_1bf1: callvirt IEnumerator`1 GetEnumerator()
L_1bf6: stloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
L_1bf8: br Label157
L_1bfd: Label163
L_1bfd: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1bff: callvirt LocalTargetInfo get_Current()
L_1c04: stloc.s 63 (Verse.LocalTargetInfo)
L_1c06: ldloc.s 63 (Verse.LocalTargetInfo)
L_1c08: stloc.s 65 (Verse.LocalTargetInfo)
L_1c0a: ldloc.0
L_1c0b: ldfld Verse.Pawn pawn
L_1c10: ldloc.s 65 (Verse.LocalTargetInfo)
L_1c12: ldc.i4.1
L_1c13: ldc.i4.3
L_1c14: ldc.i4.0
L_1c15: ldc.i4.0
L_1c16: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode,
Danger, Boolean, TraverseMode)
L_1c1b: brtrue Label158
L_1c20: ldarg.2
L_1c21: ldstr "CannotTrade"
L_1c26: call System.String Translate(System.String)
L_1c2b: ldstr " ("
L_1c30: ldstr "NoPath"
L_1c35: call System.String Translate(System.String)
L_1c3a: ldstr ")"
L_1c3f: call System.String Concat(System.String, System.String,
System.String, System.String)
L_1c44: ldnull
L_1c45: ldc.i4.4
L_1c46: ldnull
L_1c47: ldnull
L_1c48: ldc.r4 0
L_1c4d: ldnull
L_1c4e: ldnull
L_1c4f: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1c54: callvirt Void Add(Verse.FloatMenuOption)
L_1c59: br Label159
L_1c5e: Label158
L_1c5e: ldloc.0
L_1c5f: ldfld Verse.Pawn pawn
L_1c64: ldfld RimWorld.Pawn_SkillTracker skills
L_1c69: ldsfld RimWorld.SkillDef Social
L_1c6e: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_1c73: callvirt Boolean get_TotallyDisabled()
L_1c78: brfalse Label160
L_1c7d: ldarg.2
L_1c7e: ldstr "CannotPrioritizeWorkTypeDisabled"
L_1c83: ldc.i4.1
L_1c84: newarr System.Object
L_1c89: dup
L_1c8a: ldc.i4.0
L_1c8b: ldsfld RimWorld.SkillDef Social
L_1c90: callvirt System.String get_LabelCap()
L_1c95: stelem.ref
L_1c96: call System.String Translate(System.String, System.Object[])
L_1c9b: ldnull
L_1c9c: ldc.i4.4
L_1c9d: ldnull
L_1c9e: ldnull
L_1c9f: ldc.r4 0
L_1ca4: ldnull
L_1ca5: ldnull
L_1ca6: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1cab: callvirt Void Add(Verse.FloatMenuOption)
L_1cb0: br Label161
L_1cb5: Label160
L_1cb5: newobj Void .ctor()
L_1cba: stloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbc: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cbe: ldloc.0
L_1cbf: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey4
<>f__ref$4
L_1cc4: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cc6: ldloca.s 65 (Verse.LocalTargetInfo)
L_1cc8: call Verse.Thing get_Thing()
L_1ccd: castclass Verse.Pawn
L_1cd2: stfld Verse.Pawn pTarg
L_1cd7: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cd9: ldftn Void <>m__0()
L_1cdf: newobj Void .ctor(Object, IntPtr)
L_1ce4: stloc.s 67 (System.Action)
L_1ce6: ldsfld System.String Empty
L_1ceb: stloc.s 68 (System.String)
L_1ced: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1cef: ldfld Verse.Pawn pTarg
L_1cf4: callvirt RimWorld.Faction get_Faction()
L_1cf9: brfalse Label162
L_1cfe: ldstr " ("
L_1d03: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d05: ldfld Verse.Pawn pTarg
L_1d0a: callvirt RimWorld.Faction get_Faction()
L_1d0f: callvirt System.String get_Name()
L_1d14: ldstr ")"
L_1d19: call System.String Concat(System.String, System.String,
System.String)
L_1d1e: stloc.s 68 (System.String)
L_1d20: Label162
L_1d20: ldarg.2
L_1d21: ldstr "TradeWith"
L_1d26: ldc.i4.1
L_1d27: newarr System.Object
L_1d2c: dup
L_1d2d: ldc.i4.0
L_1d2e: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d30: ldfld Verse.Pawn pTarg
L_1d35: callvirt System.String get_LabelShort()
L_1d3a: ldstr ", "
L_1d3f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d41: ldfld Verse.Pawn pTarg
L_1d46: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1d4b: ldfld System.String label
L_1d50: call System.String Concat(System.String, System.String,
System.String)
L_1d55: stelem.ref
L_1d56: call System.String Translate(System.String, System.Object[])
L_1d5b: ldloc.s 68 (System.String)
L_1d5d: call System.String Concat(System.String, System.String)
L_1d62: stloc.s 8 (System.String)
L_1d64: ldloc.s 67 (System.Action)
L_1d66: stloc.s 9 (System.Action)
L_1d68: ldc.i4.7
L_1d69: stloc.s 10 (Verse.MenuOptionPriority)
L_1d6b: ldloca.s 65 (Verse.LocalTargetInfo)
L_1d6d: call Verse.Thing get_Thing()
L_1d72: stloc.s 11 (Verse.Thing)
L_1d74: ldloc.s 8 (System.String)
L_1d76: ldloc.s 9 (System.Action)
L_1d78: ldloc.s 10 (Verse.MenuOptionPriority)
L_1d7a: ldnull
L_1d7b: ldloc.s 11 (Verse.Thing)
L_1d7d: ldc.r4 0
L_1d82: ldnull
L_1d83: ldnull
L_1d84: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing,
Single, Func`2, WorldObject)
L_1d89: ldloc.0
L_1d8a: ldfld Verse.Pawn pawn
L_1d8f: ldloc.s 66
(RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey15)
L_1d91: ldfld Verse.Pawn pTarg
L_1d96: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1d9b: ldstr "ReservedBy"
L_1da0: call Verse.FloatMenuOption
DecoratePrioritizedTask(Verse.FloatMenuOption, Verse.Pawn, LocalTargetInfo,
System.String)
L_1da5: callvirt Void Add(Verse.FloatMenuOption)
L_1daa: Label157
L_1daa: Label159
L_1daa: Label161
L_1daa: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dac: callvirt Boolean MoveNext()
L_1db1: brtrue Label163
L_1db6: leave Label164
L_1dbb: leave (autogenerated)
} // end try
.finally
{
L_1dc0: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc2: brfalse Label165
L_1dc7: ldloc.s 64
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1dc9: callvirt Void Dispose()
L_1dce: Label165
L_1dce: endfinally
L_1dcf: leave (autogenerated)
} // end handler
L_1dd0: Label164
L_1dd0: ldloc.0
L_1dd1: ldfld Verse.Pawn pawn
L_1dd6: callvirt Verse.Map get_Map()
L_1ddb: ldfld Verse.ThingGrid thingGrid
L_1de0: ldloc.1
L_1de1: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_1de6: callvirt IEnumerator`1 GetEnumerator()
L_1deb: stloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
L_1ded: br Label166
L_1df2: Label171
L_1df2: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1df4: callvirt Verse.Thing get_Current()
L_1df9: stloc.s 69 (Verse.Thing)
L_1dfb: ldloc.s 69 (Verse.Thing)
L_1dfd: ldloc.0
L_1dfe: ldfld Verse.Pawn pawn
L_1e03: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_1e08: callvirt IEnumerator`1 GetEnumerator()
L_1e0d: stloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
L_1e0f: br Label167
L_1e14: Label168
L_1e14: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e16: callvirt Verse.FloatMenuOption get_Current()
L_1e1b: stloc.s 71 (Verse.FloatMenuOption)
L_1e1d: ldarg.2
L_1e1e: ldloc.s 71 (Verse.FloatMenuOption)
L_1e20: callvirt Void Add(Verse.FloatMenuOption)
L_1e25: Label167
L_1e25: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e27: callvirt Boolean MoveNext()
L_1e2c: brtrue Label168
L_1e31: leave Label169
L_1e36: leave (autogenerated)
} // end try
.finally
{
L_1e3b: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e3d: brfalse Label170
L_1e42: ldloc.s 72
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1e44: callvirt Void Dispose()
L_1e49: Label170
L_1e49: endfinally
L_1e4a: leave (autogenerated)
} // end handler
L_1e4b: Label166
L_1e4b: Label169
L_1e4b: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e4d: callvirt Boolean MoveNext()
L_1e52: brtrue Label171
L_1e57: leave Label172
L_1e5c: leave (autogenerated)
} // end try
.finally
{
L_1e61: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e63: brfalse Label173
L_1e68: ldloc.s 70 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1e6a: callvirt Void Dispose()
L_1e6f: Label173
L_1e6f: endfinally
L_1e70: leave (autogenerated)
} // end handler
L_1e71: Label172
L_1e71: ldarg 0
L_1e77: ldarg 1
L_1e7d: ldarg 2
L_1e83: call Void AddHumanlikeOrders_PostFix(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e88: ldarg 0
L_1e8e: ldarg 1
L_1e94: ldarg 2
L_1e9a: call Void DontRescueVehiclesInFloatMenus(Vector3, Verse.Pawn,
System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_1e9f: ret
DONE

### Patch RimWorld.BaseGen.SymbolResolver_RandomMechanoidGroup, Boolean


<Resolve>m__0(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: stloc 0 (System.Boolean)
L_0012: ldloca 0 (System.Boolean)
L_0014: ldarg 0
L_001a: call Void MechanoidsFixerAncient(Boolean ByRef, Verse.PawnKindDef)
L_001f: ldloc 0 (System.Boolean)
L_0020: ret
DONE

### Patch RimWorld.CompSpawnerMechanoidsOnDamaged, Boolean


<TrySpawnMechanoids>m__1(Verse.PawnKindDef)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Verse.RaceProperties get_RaceProps()
L_000c: callvirt Boolean get_IsMechanoid()
L_0011: brfalse Label1
L_0016: ldarg.1
L_0017: ldfld System.Boolean isFighter
L_001c: brfalse Label2
L_0021: ldarg.1
L_0022: ldfld System.Single combatPower
L_0027: ldarg.0
L_0028: ldfld System.Single pointsLeft
L_002d: cgt.un
L_002f: ldc.i4.0
L_0030: ceq
L_0032: br Label3
L_0037: Label1
L_0037: Label2
L_0037: ldc.i4.0
L_0038: Label3
L_0038: stloc 0 (System.Boolean)
L_0039: ldloca 0 (System.Boolean)
L_003b: ldarg 1
L_0041: call Void MechanoidsFixer(Boolean ByRef, Verse.PawnKindDef)
L_0046: ldloc 0 (System.Boolean)
L_0047: ret
DONE

### Patch RimWorld.ThinkNode_ConditionalColonist, Boolean Satisfied(Verse.Pawn)


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean get_IsColonist()
L_000c: stloc 0 (System.Boolean)
L_000d: ldarg 1
L_0013: ldloca 0 (System.Boolean)
L_0015: call Void Satisfied_PostFix(Verse.Pawn, Boolean ByRef)
L_001a: ldloc 0 (System.Boolean)
L_001b: ret
DONE

### Patch RimWorld.JobGiver_Haul, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: RimWorld.JobGiver_Haul+<TryGiveJob>c__AnonStorey0
L_0000: Local var 1: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldarg 1
L_0008: ldloca 3 (Verse.AI.Job)
L_000a: call Boolean TryGiveJob_PreFix(Verse.Pawn, Verse.AI.Job ByRef)
L_000f: brfalse Label0
L_0014: newobj Void .ctor()
L_0019: stloc.0
L_001a: ldloc.0
L_001b: ldarg.1
L_001c: stfld Verse.Pawn pawn
L_0021: ldloc.0
L_0022: ldftn Boolean <>m__0(Verse.Thing)
L_0028: newobj Void .ctor(Object, IntPtr)
L_002d: stloc.1
L_002e: ldloc.0
L_002f: ldfld Verse.Pawn pawn
L_0034: callvirt IntVec3 get_Position()
L_0039: ldloc.0
L_003a: ldfld Verse.Pawn pawn
L_003f: callvirt Verse.Map get_Map()
L_0044: ldloc.0
L_0045: ldfld Verse.Pawn pawn
L_004a: callvirt Verse.Map get_Map()
L_004f: ldfld RimWorld.ListerHaulables listerHaulables
L_0054: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsPotentiallyNeedingHauling()
L_0059: ldc.i4.1
L_005a: ldloc.0
L_005b: ldfld Verse.Pawn pawn
L_0060: ldc.i4.3
L_0061: ldc.i4.0
L_0062: ldc.i4.0
L_0063: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_0068: ldc.r4 9999
L_006d: ldloc.1
L_006e: ldnull
L_006f: call Verse.Thing ClosestThing_Global_Reachable(IntVec3, Verse.Map,
IEnumerable`1, PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing],
System.Func`2[Verse.Thing,System.Single])
L_0074: stloc.2
L_0075: ldloc.2
L_0076: brfalse Label1
L_007b: ldloc.0
L_007c: ldfld Verse.Pawn pawn
L_0081: ldloc.2
L_0082: call Verse.AI.Job HaulToStorageJob(Verse.Pawn, Verse.Thing)
L_0087: br Label2
L_008c: Label1
L_008c: ldnull
L_008d: Label2
L_008d: stloc 3 (Verse.AI.Job)
L_008e: Label0
L_008e: ldloc 3 (Verse.AI.Job)
L_008f: ret
DONE

### Patch Verse.AI.JobGiver_Orders, Verse.AI.Job TryGiveJob(Verse.Pawn)


L_0000: Local var 0: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 0 (Verse.AI.Job)
L_0002: ldarg.1
L_0003: callvirt Boolean get_Drafted()
L_0008: brfalse Label1
L_000d: ldsfld Verse.JobDef Wait_Combat
L_0012: ldarg.1
L_0013: callvirt IntVec3 get_Position()
L_0018: call LocalTargetInfo op_Implicit(IntVec3)
L_001d: newobj Void .ctor(JobDef, LocalTargetInfo)
L_0022: br Label2
L_0027: Label1
L_0027: ldnull
L_0028: Label2
L_0028: stloc 0 (Verse.AI.Job)
L_0029: ldloca 0 (Verse.AI.Job)
L_002b: ldarg 1
L_0031: call Void PreventWaitAttackError(Verse.AI.Job ByRef, Verse.Pawn)
L_0036: ldloc 0 (Verse.AI.Job)
L_0037: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemDuties(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldc.i4.0
L_000c: stloc.0
L_000d: br Label1
L_0012: Label6
L_0012: ldarg.0
L_0013: ldfld Verse.AI.Group.Lord lord
L_0018: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_001d: ldloc.0
L_001e: callvirt Verse.Pawn get_Item(Int32)
L_0023: stloc.1
L_0024: ldloc.1
L_0025: callvirt Boolean get_IsColonist()
L_002a: brfalse Label2
L_002f: ldloc.1
L_0030: ldfld Verse.AI.Pawn_MindState mindState
L_0035: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherItems
L_003a: newobj Void .ctor(DutyDef)
L_003f: stfld Verse.AI.PawnDuty duty
L_0044: br Label3
L_0049: Label2
L_0049: ldloc.1
L_004a: callvirt Verse.RaceProperties get_RaceProps()
L_004f: callvirt Boolean get_Animal()
L_0054: brfalse Label4
L_0059: ldloc.1
L_005a: ldfld Verse.AI.Pawn_MindState mindState
L_005f: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0064: ldarg.0
L_0065: ldfld Verse.IntVec3 meetingPoint
L_006a: call LocalTargetInfo op_Implicit(IntVec3)
L_006f: ldc.r4 -1
L_0074: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_0079: stfld Verse.AI.PawnDuty duty
L_007e: br Label5
L_0083: Label4
L_0083: ldloc.1
L_0084: ldfld Verse.AI.Pawn_MindState mindState
L_0089: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_008e: newobj Void .ctor(DutyDef)
L_0093: stfld Verse.AI.PawnDuty duty
L_0098: Label3
L_0098: Label5
L_0098: ldloc.0
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.0
L_009c: Label1
L_009c: ldloc.0
L_009d: ldarg.0
L_009e: ldfld Verse.AI.Group.Lord lord
L_00a3: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_00a8: callvirt Int32 get_Count()
L_00ad: blt Label6
L_00b2: Label0
L_00b2: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherAnimals, Void UpdateAllDuties()


L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.Pawn
L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadAnimalDuties(RimWorld.LordToil_PrepareCaravan_GatherAnimals)
L_0006: ldc.i4.0
L_0007: stloc.0
L_0008: br Label1
L_000d: Label5
L_000d: ldarg.0
L_000e: ldfld Verse.AI.Group.Lord lord
L_0013: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0018: ldloc.0
L_0019: callvirt Verse.Pawn get_Item(Int32)
L_001e: stloc.1
L_001f: ldloc.1
L_0020: callvirt Boolean get_IsColonist()
L_0025: brtrue Label2
L_002a: ldloc.1
L_002b: callvirt Verse.RaceProperties get_RaceProps()
L_0030: callvirt Boolean get_Animal()
L_0035: brfalse Label3
L_003a: Label2
L_003a: ldloc.1
L_003b: ldfld Verse.AI.Pawn_MindState mindState
L_0040: ldsfld Verse.AI.DutyDef PrepareCaravan_GatherPawns
L_0045: ldarg.0
L_0046: ldfld Verse.IntVec3 meetingPoint
L_004b: call LocalTargetInfo op_Implicit(IntVec3)
L_0050: ldc.r4 -1
L_0055: newobj Void .ctor(DutyDef, LocalTargetInfo, Single)
L_005a: stfld Verse.AI.PawnDuty duty
L_005f: ldloc.1
L_0060: ldfld Verse.AI.Pawn_MindState mindState
L_0065: ldfld Verse.AI.PawnDuty duty
L_006a: ldc.i4.1
L_006b: stfld RimWorld.PawnsToGather pawnsToGather
L_0070: br Label4
L_0075: Label3
L_0075: ldloc.1
L_0076: ldfld Verse.AI.Pawn_MindState mindState
L_007b: ldsfld Verse.AI.DutyDef PrepareCaravan_Wait
L_0080: newobj Void .ctor(DutyDef)
L_0085: stfld Verse.AI.PawnDuty duty
L_008a: Label4
L_008a: ldloc.0
L_008b: ldc.i4.1
L_008c: add
L_008d: stloc.0
L_008e: Label1
L_008e: ldloc.0
L_008f: ldarg.0
L_0090: ldfld Verse.AI.Group.Lord lord
L_0095: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_009a: callvirt Int32 get_Count()
L_009f: blt Label5
L_00a4: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherSlaves, Void LordToilTick()


L_0000: ldarg.0
L_0001: call Void
GiveVehiclesLoadSlaveDuties(RimWorld.LordToil_PrepareCaravan_GatherSlaves)
L_0006: call Verse.TickManager get_TickManager()
L_000b: callvirt Int32 get_TicksGame()
L_0010: ldc.i4.s 100
L_0012: rem
L_0013: brtrue Label1
L_0018: ldarg.0
L_0019: ldfld Verse.AI.Group.Lord lord
L_001e: ldarg.0
L_001f: ldfld Verse.IntVec3 meetingPoint
L_0024: ldstr "AllSlavesGathered"
L_0029: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_002e: brtrue Label2
L_0033: ldnull
L_0034: ldftn Boolean <LordToilTick>m__0(Verse.Pawn)
L_003a: newobj Void .ctor(Object, IntPtr)
L_003f: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0044: Label2
L_0044: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache0
L_0049: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_004e: brtrue Label3
L_0053: ldnull
L_0054: ldftn Boolean IsFollowingAnyone(Verse.Pawn)
L_005a: newobj Void .ctor(Object, IntPtr)
L_005f: stsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0064: Label3
L_0064: ldsfld System.Predicate`1[Verse.Pawn] <>f__mg$cache0
L_0069: call Void CheckArrived(Verse.AI.Group.Lord, IntVec3, System.String,
System.Predicate`1[Verse.Pawn], System.Predicate`1[Verse.Pawn])
L_006e: Label1
L_006e: ret
DONE

### Patch RimWorld.LordToil_PrepareCaravan_GatherItems, Void LordToilTick()


L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Pawn, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: ldarg.0
L_0001: call Boolean
GiveVehiclesLoadItemToil(RimWorld.LordToil_PrepareCaravan_GatherItems)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: call Void LordToilTick()
L_0011: call Verse.TickManager get_TickManager()
L_0016: callvirt Int32 get_TicksGame()
L_001b: ldc.i4.s 120
L_001d: rem
L_001e: brtrue Label1
L_0023: ldc.i4.1
L_0024: stloc.0
L_0025: ldc.i4.0
L_0026: stloc.1
L_0027: br Label2
L_002c: Label6
L_002c: ldarg.0
L_002d: ldfld Verse.AI.Group.Lord lord
L_0032: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0037: ldloc.1
L_0038: callvirt Verse.Pawn get_Item(Int32)
L_003d: stloc.2
L_003e: ldloc.2
L_003f: callvirt Boolean get_IsColonist()
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldfld Verse.AI.Pawn_MindState mindState
L_004f: ldfld Verse.AI.JobTag lastJobTag
L_0054: ldc.i4.8
L_0055: beq Label4
L_005a: ldc.i4.0
L_005b: stloc.0
L_005c: br Label5
L_0061: Label3
L_0061: Label4
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label2
L_0065: ldloc.1
L_0066: ldarg.0
L_0067: ldfld Verse.AI.Group.Lord lord
L_006c: ldfld System.Collections.Generic.List`1[Verse.Pawn] ownedPawns
L_0071: callvirt Int32 get_Count()
L_0076: blt Label6
L_007b: Label5
L_007b: ldloc.0
L_007c: brfalse Label7
L_0081: ldarg.0
L_0082: call Verse.Map get_Map()
L_0087: ldfld Verse.MapPawns mapPawns
L_008c: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_AllPawnsSpawned()
L_0091: stloc.3
L_0092: ldc.i4.0
L_0093: stloc.s 4 (System.Int32)
L_0095: br Label8
L_009a: Label13
L_009a: ldloc.3
L_009b: ldloc.s 4 (System.Int32)
L_009d: callvirt Verse.Pawn get_Item(Int32)
L_00a2: callvirt Verse.AI.Job get_CurJob()
L_00a7: brfalse Label9
L_00ac: ldloc.3
L_00ad: ldloc.s 4 (System.Int32)
L_00af: callvirt Verse.Pawn get_Item(Int32)
L_00b4: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b9: ldfld Verse.AI.JobDriver curDriver
L_00be: isinst RimWorld.JobDriver_PrepareCaravan_GatherItems
L_00c3: brfalse Label10
L_00c8: ldloc.3
L_00c9: ldloc.s 4 (System.Int32)
L_00cb: callvirt Verse.Pawn get_Item(Int32)
L_00d0: callvirt Verse.AI.Job get_CurJob()
L_00d5: ldfld Verse.AI.Group.Lord lord
L_00da: ldarg.0
L_00db: ldfld Verse.AI.Group.Lord lord
L_00e0: bne.un Label11
L_00e5: ldc.i4.0
L_00e6: stloc.0
L_00e7: br Label12
L_00ec: Label9
L_00ec: Label10
L_00ec: Label11
L_00ec: ldloc.s 4 (System.Int32)
L_00ee: ldc.i4.1
L_00ef: add
L_00f0: stloc.s 4 (System.Int32)
L_00f2: Label8
L_00f2: ldloc.s 4 (System.Int32)
L_00f4: ldloc.3
L_00f5: callvirt Int32 get_Count()
L_00fa: blt Label13
L_00ff: Label7
L_00ff: Label12
L_00ff: ldloc.0
L_0100: brfalse Label14
L_0105: ldarg.0
L_0106: ldfld Verse.AI.Group.Lord lord
L_010b: ldstr "AllItemsGathered"
L_0110: callvirt Void ReceiveMemo(System.String)
L_0115: Label1
L_0115: Label14
L_0115: Label0
L_0115: ret
DONE

### Patch RimWorld.Planet.Caravan_NeedsTracker, Void


TrySatisfyPawnNeeds(Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Need, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Need
L_0000: Local var 3: RimWorld.Need_Rest
L_0000: Local var 4: RimWorld.Need_Food
L_0000: Local var 5: RimWorld.Need_Chemical
L_0000: Local var 6: RimWorld.Need_Joy
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean TrySatisfyFuelNeeds(RimWorld.Planet.Caravan_NeedsTracker,
Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: callvirt Boolean get_Dead()
L_0017: brfalse Label1
L_001c: br Label11
L_0021: Label1
L_0021: ldarg.1
L_0022: ldfld RimWorld.Pawn_NeedsTracker needs
L_0027: callvirt System.Collections.Generic.List`1[RimWorld.Need] get_AllNeeds()
L_002c: stloc.0
L_002d: ldc.i4.0
L_002e: stloc.1
L_002f: br Label2
L_0034: Label10
L_0034: ldloc.0
L_0035: ldloc.1
L_0036: callvirt RimWorld.Need get_Item(Int32)
L_003b: stloc.2
L_003c: ldloc.2
L_003d: isinst RimWorld.Need_Rest
L_0042: stloc.3
L_0043: ldloc.2
L_0044: isinst RimWorld.Need_Food
L_0049: stloc.s 4 (RimWorld.Need_Food)
L_004b: ldloc.2
L_004c: isinst RimWorld.Need_Chemical
L_0051: stloc.s 5 (RimWorld.Need_Chemical)
L_0053: ldloc.2
L_0054: isinst RimWorld.Need_Joy
L_0059: stloc.s 6 (RimWorld.Need_Joy)
L_005b: ldloc.3
L_005c: brfalse Label3
L_0061: ldarg.0
L_0062: ldarg.1
L_0063: ldloc.3
L_0064: call Void TrySatisfyRestNeed(Verse.Pawn, RimWorld.Need_Rest)
L_0069: br Label4
L_006e: Label3
L_006e: ldloc.s 4 (RimWorld.Need_Food)
L_0070: brfalse Label5
L_0075: ldarg.0
L_0076: ldarg.1
L_0077: ldloc.s 4 (RimWorld.Need_Food)
L_0079: call Void TrySatisfyFoodNeed(Verse.Pawn, RimWorld.Need_Food)
L_007e: br Label6
L_0083: Label5
L_0083: ldloc.s 5 (RimWorld.Need_Chemical)
L_0085: brfalse Label7
L_008a: ldarg.0
L_008b: ldarg.1
L_008c: ldloc.s 5 (RimWorld.Need_Chemical)
L_008e: call Void TrySatisfyChemicalNeed(Verse.Pawn, RimWorld.Need_Chemical)
L_0093: br Label8
L_0098: Label7
L_0098: ldloc.s 6 (RimWorld.Need_Joy)
L_009a: brfalse Label9
L_009f: ldarg.0
L_00a0: ldarg.1
L_00a1: ldloc.s 6 (RimWorld.Need_Joy)
L_00a3: call Void TrySatisfyJoyNeed(Verse.Pawn, RimWorld.Need_Joy)
L_00a8: Label4
L_00a8: Label6
L_00a8: Label8
L_00a8: Label9
L_00a8: ldloc.1
L_00a9: ldc.i4.1
L_00aa: add
L_00ab: stloc.1
L_00ac: Label2
L_00ac: ldloc.1
L_00ad: ldloc.0
L_00ae: callvirt Int32 get_Count()
L_00b3: blt Label10
L_00b8: Label11
L_00b8: Label0
L_00b8: ret
DONE

### Patch RimWorld.JobGiver_PrepareCaravan_GatherItems, Verse.AI.Job


TryGiveJob(Verse.Pawn)
L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: Verse.AI.Job
L_0000: Local var 3: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 3 (Verse.AI.Job)
L_0002: ldloca 3 (Verse.AI.Job)
L_0004: ldarg 1
L_000a: call Boolean TryGiveItemJob_PreFix(Verse.AI.Job ByRef, Verse.Pawn)
L_000f: brfalse Label0
L_0014: ldarg.1
L_0015: ldfld Verse.Pawn_HealthTracker health
L_001a: ldfld Verse.PawnCapacitiesHandler capacities
L_001f: ldsfld Verse.PawnCapacityDef Manipulation
L_0024: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0029: brtrue Label1
L_002e: ldnull
L_002f: br Label3
L_0034: Label1
L_0034: ldarg.1
L_0035: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_003a: stloc.0
L_003b: ldarg.1
L_003c: ldloc.0
L_003d: call Verse.Thing FindThingToHaul(Verse.Pawn, Verse.AI.Group.Lord)
L_0042: stloc.1
L_0043: ldloc.1
L_0044: brtrue Label2
L_0049: ldnull
L_004a: br Label4
L_004f: Label2
L_004f: ldsfld Verse.JobDef PrepareCaravan_GatherItems
L_0054: ldloc.1
L_0055: call LocalTargetInfo op_Implicit(Verse.Thing)
L_005a: newobj Void .ctor(JobDef, LocalTargetInfo)
L_005f: stloc.2
L_0060: ldloc.2
L_0061: ldloc.0
L_0062: stfld Verse.AI.Group.Lord lord
L_0067: ldloc.2
L_0068: Label3
L_0068: Label4
L_0068: stloc 3 (Verse.AI.Job)
L_0069: Label0
L_0069: ldloc 3 (Verse.AI.Job)
L_006a: ret
DONE

### Patch RimWorld.Planet.Caravan, Void AddPawn(Verse.Pawn, Boolean)


L_0000: Local var 0: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: ldarg 2
L_000d: call Boolean AddVehiclePawnsToCaravan(RimWorld.Planet.Caravan, Verse.Pawn,
Boolean)
L_0012: brfalse Label0
L_0017: ldarg.1
L_0018: brtrue Label1
L_001d: ldstr "Tried to add a null pawn to "
L_0022: ldarg.0
L_0023: call System.String Concat(System.Object, System.Object)
L_0028: ldc.i4.0
L_0029: call Void Warning(System.String, Boolean)
L_002e: br Label11
L_0033: Label1
L_0033: ldarg.1
L_0034: callvirt Boolean get_Dead()
L_0039: brfalse Label2
L_003e: ldc.i4.5
L_003f: newarr System.Object
L_0044: dup
L_0045: ldc.i4.0
L_0046: ldstr "Tried to add "
L_004b: stelem.ref
L_004c: dup
L_004d: ldc.i4.1
L_004e: ldarg.1
L_004f: stelem.ref
L_0050: dup
L_0051: ldc.i4.2
L_0052: ldstr " to "
L_0057: stelem.ref
L_0058: dup
L_0059: ldc.i4.3
L_005a: ldarg.0
L_005b: stelem.ref
L_005c: dup
L_005d: ldc.i4.4
L_005e: ldstr ", but this pawn is dead."
L_0063: stelem.ref
L_0064: call System.String Concat(System.Object[])
L_0069: ldc.i4.0
L_006a: call Void Warning(System.String, Boolean)
L_006f: br Label12
L_0074: Label2
L_0074: ldarg.1
L_0075: ldfld Verse.Pawn_CarryTracker carryTracker
L_007a: callvirt Verse.Thing get_CarriedThing()
L_007f: isinst Verse.Pawn
L_0084: stloc.0
L_0085: ldloc.0
L_0086: brfalse Label3
L_008b: ldarg.1
L_008c: ldfld Verse.Pawn_CarryTracker carryTracker
L_0091: ldfld Verse.ThingOwner`1[Verse.Thing] innerContainer
L_0096: ldloc.0
L_0097: callvirt Boolean Remove(Verse.Thing)
L_009c: pop
L_009d: Label3
L_009d: ldarg.1
L_009e: callvirt Boolean get_Spawned()
L_00a3: brfalse Label4
L_00a8: ldarg.1
L_00a9: ldc.i4.0
L_00aa: callvirt Void DeSpawn(DestroyMode)
L_00af: Label4
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00b5: ldarg.1
L_00b6: ldc.i4.1
L_00b7: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_00bc: brfalse Label5
L_00c1: ldarg.0
L_00c2: ldarg.1
L_00c3: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00c8: brfalse Label6
L_00cd: ldarg.1
L_00ce: ldfld RimWorld.Pawn_GuestTracker guest
L_00d3: ldarg.0
L_00d4: call RimWorld.Faction get_Faction()
L_00d9: ldnull
L_00da: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_00df: Label6
L_00df: ldloc.0
L_00e0: brfalse Label7
L_00e5: ldarg.0
L_00e6: ldloc.0
L_00e7: call Boolean ShouldAutoCapture(Verse.Pawn)
L_00ec: brfalse Label8
L_00f1: ldloc.0
L_00f2: ldfld RimWorld.Pawn_GuestTracker guest
L_00f7: ldarg.0
L_00f8: call RimWorld.Faction get_Faction()
L_00fd: ldarg.1
L_00fe: callvirt Void CapturedBy(RimWorld.Faction, Verse.Pawn)
L_0103: Label8
L_0103: ldarg.0
L_0104: ldloc.0
L_0105: ldarg.2
L_0106: call Void AddPawn(Verse.Pawn, Boolean)
L_010b: ldarg.2
L_010c: brfalse Label9
L_0111: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_0116: ldloc.0
L_0117: ldc.i4.0
L_0118: callvirt Void PassToWorld(Verse.Pawn, PawnDiscardDecideMode)
L_011d: Label7
L_011d: Label9
L_011d: br Label10
L_0122: Label5
L_0122: ldstr "Couldn't add pawn "
L_0127: ldarg.1
L_0128: ldstr " to caravan."
L_012d: call System.String Concat(System.Object, System.Object, System.Object)
L_0132: ldc.i4.0
L_0133: call Void Error(System.String, Boolean)
L_0138: Label10
L_0138: Label11
L_0138: Label12
L_0138: Label0
L_0138: ret
DONE

### Patch RimWorld.Planet.Dialog_SplitCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldarg 1
L_000d: ldloca 0 (System.Boolean)
L_000f: call Boolean
DontSplitCaravansWithVehicles(RimWorld.Planet.Dialog_SplitCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0014: brfalse Label0
L_0019: ldarg.1
L_001a: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_001f: brtrue Label1
L_0024: ldnull
L_0025: ldftn Boolean <CheckForErrors>m__4(Verse.Pawn)
L_002b: newobj Void .ctor(Object, IntPtr)
L_0030: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_0035: Label1
L_0035: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache1
L_003a: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_003f: brtrue Label2
L_0044: ldstr "CaravanMustHaveAtLeastOneColonist"
L_0049: call System.String Translate(System.String)
L_004e: ldarg.0
L_004f: ldfld RimWorld.Planet.Caravan caravan
L_0054: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_0059: ldsfld Verse.MessageTypeDef RejectInput
L_005e: ldc.i4.0
L_005f: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0064: ldc.i4.0
L_0065: br Label4
L_006a: Label2
L_006a: ldarg.0
L_006b: ldarg.1
L_006c: call Boolean
AnyNonDownedColonistLeftInSourceCaravan(System.Collections.Generic.List`1[Verse.Paw
n])
L_0071: brtrue Label3
L_0076: ldstr "SourceCaravanMustHaveAtLeastOneColonist"
L_007b: call System.String Translate(System.String)
L_0080: ldarg.0
L_0081: ldfld RimWorld.Planet.Caravan caravan
L_0086: call Verse.LookTargets op_Implicit(RimWorld.Planet.WorldObject)
L_008b: ldsfld Verse.MessageTypeDef RejectInput
L_0090: ldc.i4.0
L_0091: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0096: ldc.i4.0
L_0097: br Label5
L_009c: Label3
L_009c: ldc.i4.1
L_009d: Label4
L_009d: Label5
L_009d: stloc 0 (System.Boolean)
L_009e: Label0
L_009e: ldloc 0 (System.Boolean)
L_009f: ret
DONE

### Patch RimWorld.Dialog_FormCaravan, Boolean


CheckForErrors(System.Collections.Generic.List`1[Verse.Pawn])
L_0000: Local var 0: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey1
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3
L_0000: Local var 7: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Boolean)
L_0007: ldarg.0
L_0008: ldarg 1
L_000e: ldloca 7 (System.Boolean)
L_0010: call Boolean CheckForErrors_PreFix(RimWorld.Dialog_FormCaravan,
System.Collections.Generic.List`1[Verse.Pawn], Boolean ByRef)
L_0015: brfalse Label0
L_001a: newobj Void .ctor()
L_001f: stloc.0
L_0020: ldloc.0
L_0021: ldarg.1
L_0022: stfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0027: ldarg.0
L_0028: call Boolean get_MustChooseRoute()
L_002d: brfalse Label1
L_0032: ldarg.0
L_0033: ldfld System.Int32 destinationTile
L_0038: ldc.i4.0
L_0039: bge Label2
L_003e: ldstr "MessageMustChooseRouteFirst"
L_0043: call System.String Translate(System.String)
L_0048: ldsfld Verse.MessageTypeDef RejectInput
L_004d: ldc.i4.0
L_004e: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0053: ldc.i4.0
L_0054: br Label24
L_0059: Label1
L_0059: Label2
L_0059: ldarg.0
L_005a: ldfld System.Boolean reform
L_005f: brtrue Label3
L_0064: ldarg.0
L_0065: ldfld System.Int32 startingTile
L_006a: ldc.i4.0
L_006b: bge Label4
L_0070: ldstr "MessageNoValidExitTile"
L_0075: call System.String Translate(System.String)
L_007a: ldsfld Verse.MessageTypeDef RejectInput
L_007f: ldc.i4.0
L_0080: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0085: ldc.i4.0
L_0086: br Label25
L_008b: Label3
L_008b: Label4
L_008b: ldloc.0
L_008c: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0091: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_0096: brtrue Label5
L_009b: ldnull
L_009c: ldftn Boolean <CheckForErrors>m__B(Verse.Pawn)
L_00a2: newobj Void .ctor(Object, IntPtr)
L_00a7: stsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00ac: Label5
L_00ac: ldsfld System.Predicate`1[Verse.Pawn] <>f__am$cache7
L_00b1: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_00b6: brtrue Label6
L_00bb: ldstr "CaravanMustHaveAtLeastOneColonist"
L_00c0: call System.String Translate(System.String)
L_00c5: ldsfld Verse.MessageTypeDef RejectInput
L_00ca: ldc.i4.0
L_00cb: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_00d0: ldc.i4.0
L_00d1: br Label26
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Boolean reform
L_00dc: brtrue Label7
L_00e1: ldarg.0
L_00e2: call Single get_MassUsage()
L_00e7: ldarg.0
L_00e8: call Single get_MassCapacity()
L_00ed: ble.un Label8
L_00f2: ldarg.0
L_00f3: call Void FlashMass()
L_00f8: ldstr "TooBigCaravanMassUsage"
L_00fd: call System.String Translate(System.String)
L_0102: ldsfld Verse.MessageTypeDef RejectInput
L_0107: ldc.i4.0
L_0108: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_010d: ldc.i4.0
L_010e: br Label27
L_0113: Label7
L_0113: Label8
L_0113: ldloc.0
L_0114: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_0119: ldloc.0
L_011a: ldftn Boolean <>m__0(Verse.Pawn)
L_0120: newobj Void .ctor(Object, IntPtr)
L_0125: callvirt Verse.Pawn Find(System.Predicate`1[Verse.Pawn])
L_012a: stloc.1
L_012b: ldloc.1
L_012c: brfalse Label9
L_0131: ldstr "CaravanPawnIsUnreachable"
L_0136: ldc.i4.1
L_0137: newarr System.Object
L_013c: dup
L_013d: ldc.i4.0
L_013e: ldloc.1
L_013f: callvirt System.String get_LabelShort()
L_0144: stelem.ref
L_0145: call System.String Translate(System.String, System.Object[])
L_014a: call System.String CapitalizeFirst(System.String)
L_014f: ldloc.1
L_0150: call Verse.LookTargets op_Implicit(Verse.Thing)
L_0155: ldsfld Verse.MessageTypeDef RejectInput
L_015a: ldc.i4.0
L_015b: call Void Message(System.String, Verse.LookTargets, Verse.MessageTypeDef,
Boolean)
L_0160: ldc.i4.0
L_0161: br Label28
L_0166: Label9
L_0166: ldc.i4.0
L_0167: stloc.2
L_0168: br Label10
L_016d: Label23
L_016d: ldarg.0
L_016e: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0173: ldloc.2
L_0174: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0179: callvirt Verse.ThingDef get_ThingDef()
L_017e: ldfld Verse.ThingCategory category
L_0183: ldc.i4.2
L_0184: beq Label11
L_0189: br Label12
L_018e: Label11
L_018e: ldarg.0
L_018f: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0194: ldloc.2
L_0195: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_019a: callvirt Int32 get_CountToTransfer()
L_019f: stloc.3
L_01a0: ldc.i4.0
L_01a1: stloc.s 4 (System.Int32)
L_01a3: ldloc.3
L_01a4: ldc.i4.0
L_01a5: ble Label13
L_01aa: ldc.i4.0
L_01ab: stloc.s 5 (System.Int32)
L_01ad: br Label14
L_01b2: Label19
L_01b2: newobj Void .ctor()
L_01b7: stloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01b9: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01bb: ldarg.0
L_01bc: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_01c1: ldloc.2
L_01c2: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_01c7: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_01cc: ldloc.s 5 (System.Int32)
L_01ce: callvirt Verse.Thing get_Item(Int32)
L_01d3: stfld Verse.Thing t
L_01d8: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01da: ldfld Verse.Thing t
L_01df: callvirt Boolean get_Spawned()
L_01e4: brfalse Label15
L_01e9: ldloc.0
L_01ea: ldfld System.Collections.Generic.List`1[Verse.Pawn] pawns
L_01ef: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_01f1: ldftn Boolean <>m__0(Verse.Pawn)
L_01f7: newobj Void .ctor(Object, IntPtr)
L_01fc: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn],
System.Predicate`1[Verse.Pawn])
L_0201: brfalse Label16
L_0206: Label15
L_0206: ldloc.s 4 (System.Int32)
L_0208: ldloc.s 6 (RimWorld.Dialog_FormCaravan+<CheckForErrors>c__AnonStorey3)
L_020a: ldfld Verse.Thing t
L_020f: ldfld System.Int32 stackCount
L_0214: add
L_0215: stloc.s 4 (System.Int32)
L_0217: ldloc.s 4 (System.Int32)
L_0219: ldloc.3
L_021a: blt Label17
L_021f: br Label18
L_0224: Label16
L_0224: Label17
L_0224: ldloc.s 5 (System.Int32)
L_0226: ldc.i4.1
L_0227: add
L_0228: stloc.s 5 (System.Int32)
L_022a: Label14
L_022a: ldloc.s 5 (System.Int32)
L_022c: ldarg.0
L_022d: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0232: ldloc.2
L_0233: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_0238: ldfld System.Collections.Generic.List`1[Verse.Thing] things
L_023d: callvirt Int32 get_Count()
L_0242: blt Label19
L_0247: Label18
L_0247: ldloc.s 4 (System.Int32)
L_0249: ldloc.3
L_024a: bge Label20
L_024f: ldloc.3
L_0250: ldc.i4.1
L_0251: bne.un Label21
L_0256: ldstr "CaravanItemIsUnreachableSingle"
L_025b: ldc.i4.1
L_025c: newarr System.Object
L_0261: dup
L_0262: ldc.i4.0
L_0263: ldarg.0
L_0264: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_0269: ldloc.2
L_026a: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_026f: callvirt Verse.ThingDef get_ThingDef()
L_0274: ldfld System.String label
L_0279: stelem.ref
L_027a: call System.String Translate(System.String, System.Object[])
L_027f: ldsfld Verse.MessageTypeDef RejectInput
L_0284: ldc.i4.0
L_0285: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_028a: br Label22
L_028f: Label21
L_028f: ldstr "CaravanItemIsUnreachableMulti"
L_0294: ldc.i4.2
L_0295: newarr System.Object
L_029a: dup
L_029b: ldc.i4.0
L_029c: ldloc.3
L_029d: box System.Int32
L_02a2: stelem.ref
L_02a3: dup
L_02a4: ldc.i4.1
L_02a5: ldarg.0
L_02a6: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02ab: ldloc.2
L_02ac: callvirt RimWorld.TransferableOneWay get_Item(Int32)
L_02b1: callvirt Verse.ThingDef get_ThingDef()
L_02b6: ldfld System.String label
L_02bb: stelem.ref
L_02bc: call System.String Translate(System.String, System.Object[])
L_02c1: ldsfld Verse.MessageTypeDef RejectInput
L_02c6: ldc.i4.0
L_02c7: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_02cc: Label22
L_02cc: ldc.i4.0
L_02cd: br Label29
L_02d2: Label12
L_02d2: Label13
L_02d2: Label20
L_02d2: ldloc.2
L_02d3: ldc.i4.1
L_02d4: add
L_02d5: stloc.2
L_02d6: Label10
L_02d6: ldloc.2
L_02d7: ldarg.0
L_02d8: ldfld System.Collections.Generic.List`1[RimWorld.TransferableOneWay]
transferables
L_02dd: callvirt Int32 get_Count()
L_02e2: blt Label23
L_02e7: ldc.i4.1
L_02e8: Label24
L_02e8: Label25
L_02e8: Label26
L_02e8: Label27
L_02e8: Label28
L_02e8: Label29
L_02e8: stloc 7 (System.Boolean)
L_02ea: Label0
L_02ea: ldloc 7 (System.Boolean)
L_02ec: ret
DONE

### Patch RimWorld.Planet.CaravanUIUtility, Void


AddPawnsSections(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[RimWorld.TransferableOneWay, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.1
L_0001: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0006: brtrue Label1
L_000b: ldnull
L_000c: ldftn Boolean <AddPawnsSections>m__1(RimWorld.TransferableOneWay)
L_0012: newobj Void .ctor(Object, IntPtr)
L_0017: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_001c: Label1
L_001c: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache1
L_0021: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0026: stloc.0
L_0027: ldarg.0
L_0028: ldstr "ColonistsSection"
L_002d: call System.String Translate(System.String)
L_0032: ldloc.0
L_0033: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0038: brtrue Label2
L_003d: ldnull
L_003e: ldftn Boolean <AddPawnsSections>m__2(RimWorld.TransferableOneWay)
L_0044: newobj Void .ctor(Object, IntPtr)
L_0049: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_004e: Label2
L_004e: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache2
L_0053: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_0058: callvirt Void AddSection(System.String, IEnumerable`1)
L_005d: ldarg.0
L_005e: ldstr "PrisonersSection"
L_0063: call System.String Translate(System.String)
L_0068: ldloc.0
L_0069: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_006e: brtrue Label3
L_0073: ldnull
L_0074: ldftn Boolean <AddPawnsSections>m__3(RimWorld.TransferableOneWay)
L_007a: newobj Void .ctor(Object, IntPtr)
L_007f: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0084: Label3
L_0084: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache3
L_0089: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_008e: callvirt Void AddSection(System.String, IEnumerable`1)
L_0093: ldarg.0
L_0094: ldstr "CaptureSection"
L_0099: call System.String Translate(System.String)
L_009e: ldloc.0
L_009f: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00a4: brtrue Label4
L_00a9: ldnull
L_00aa: ldftn Boolean <AddPawnsSections>m__4(RimWorld.TransferableOneWay)
L_00b0: newobj Void .ctor(Object, IntPtr)
L_00b5: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00ba: Label4
L_00ba: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache4
L_00bf: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00c4: callvirt Void AddSection(System.String, IEnumerable`1)
L_00c9: ldarg.0
L_00ca: ldstr "AnimalsSection"
L_00cf: call System.String Translate(System.String)
L_00d4: ldloc.0
L_00d5: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00da: brtrue Label5
L_00df: ldnull
L_00e0: ldftn Boolean <AddPawnsSections>m__5(RimWorld.TransferableOneWay)
L_00e6: newobj Void .ctor(Object, IntPtr)
L_00eb: stsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f0: Label5
L_00f0: ldsfld System.Func`2[RimWorld.TransferableOneWay,System.Boolean]
<>f__am$cache5
L_00f5: call IEnumerable`1 Where[TransferableOneWay](IEnumerable`1,
System.Func`2[RimWorld.TransferableOneWay,System.Boolean])
L_00fa: callvirt Void AddSection(System.String, IEnumerable`1)
L_00ff: ldarg 0
L_0105: ldarg 1
L_010b: call Void AddPawnsSections_PostFix(RimWorld.TransferableOneWayWidget,
System.Collections.Generic.List`1[RimWorld.TransferableOneWay])
L_0110: ret
DONE

### Patch RimWorld.Planet.CaravanExitMapUtility, Boolean


CanExitMapAndJoinOrCreateCaravanNow(Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: callvirt Boolean get_Spawned()
L_000c: brtrue Label1
L_0011: ldc.i4.0
L_0012: br Label5
L_0017: Label1
L_0017: ldarg.0
L_0018: callvirt Verse.Map get_Map()
L_001d: ldfld Verse.ExitMapGrid exitMapGrid
L_0022: callvirt Boolean get_MapUsesExitGrid()
L_0027: brtrue Label2
L_002c: ldc.i4.0
L_002d: br Label6
L_0032: Label2
L_0032: ldarg.0
L_0033: callvirt Boolean get_IsColonist()
L_0038: brtrue Label3
L_003d: ldarg.0
L_003e: call RimWorld.Planet.Caravan FindCaravanToJoinFor(Verse.Pawn)
L_0043: ldnull
L_0044: ceq
L_0046: ldc.i4.0
L_0047: ceq
L_0049: br Label4
L_004e: Label3
L_004e: ldc.i4.1
L_004f: Label4
L_004f: Label5
L_004f: Label6
L_004f: stloc 0 (System.Boolean)
L_0050: ldarg 0
L_0056: ldloca 0 (System.Boolean)
L_0058: call Void CanExit_PostFix(Verse.Pawn, Boolean ByRef)
L_005d: ldloc 0 (System.Boolean)
L_005e: ret
DONE

### Patch RimWorld.MassUtility, Single Capacity(Verse.Pawn,


System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Single
L_0000: ldc.r4 0
L_0005: stloc 1 (System.Single)
L_0006: ldarg.0
L_0007: call Boolean CanEverCarryAnything(Verse.Pawn)
L_000c: brtrue Label1
L_0011: ldc.r4 0
L_0016: br Label4
L_001b: Label1
L_001b: ldarg.0
L_001c: callvirt Single get_BodySize()
L_0021: ldc.r4 35
L_0026: mul
L_0027: stloc.0
L_0028: ldarg.1
L_0029: brfalse Label2
L_002e: ldarg.1
L_002f: callvirt Int32 get_Length()
L_0034: ldc.i4.0
L_0035: ble Label3
L_003a: ldarg.1
L_003b: callvirt System.Text.StringBuilder AppendLine()
L_0040: pop
L_0041: Label3
L_0041: ldarg.1
L_0042: ldstr " - "
L_0047: ldarg.0
L_0048: callvirt System.String get_LabelShortCap()
L_004d: ldstr ": "
L_0052: ldloc.0
L_0053: call System.String ToStringMassOffset(Single)
L_0058: call System.String Concat(System.String, System.String, System.String,
System.String)
L_005d: callvirt System.Text.StringBuilder Append(System.String)
L_0062: pop
L_0063: Label2
L_0063: ldloc.0
L_0064: Label4
L_0064: stloc 1 (System.Single)
L_0065: ldloca 1 (System.Single)
L_0067: ldarg 0
L_006d: call Void Capacity_PostFix(Single ByRef, Verse.Pawn)
L_0072: ldloc 1 (System.Single)
L_0073: ret
DONE

### Patch RimWorld.Planet.CaravanTicksPerMoveUtility, Int32


GetTicksPerMove(System.Collections.Generic.List`1[Verse.Pawn], Single, Single,
System.Text.StringBuilder)
L_0000: Local var 0: System.Single
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Single
L_0000: Local var 3: System.Single
L_0000: Local var 4: System.Single
L_0000: Local var 5: System.Single
L_0000: Local var 6: System.Int32
L_0000: Local var 7: System.Single
L_0000: Local var 8: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 8 (System.Int32)
L_0007: ldarg.0
L_0008: call Boolean Any[Pawn](System.Collections.Generic.List`1[Verse.Pawn])
L_000d: brfalse Label1
L_0012: ldarg.3
L_0013: brfalse Label2
L_0018: ldarg.3
L_0019: ldstr "CaravanMovementSpeedFull"
L_001e: call System.String Translate(System.String)
L_0023: ldstr ":"
L_0028: call System.String Concat(System.String, System.String)
L_002d: callvirt System.Text.StringBuilder Append(System.String)
L_0032: pop
L_0033: Label2
L_0033: ldc.r4 0
L_0038: stloc.0
L_0039: ldc.i4.0
L_003a: stloc.1
L_003b: br Label3
L_0040: Label11
L_0040: ldarg.0
L_0041: ldloc.1
L_0042: callvirt Verse.Pawn get_Item(Int32)
L_0047: callvirt Boolean get_Downed()
L_004c: brtrue Label4
L_0051: ldarg.0
L_0052: ldloc.1
L_0053: callvirt Verse.Pawn get_Item(Int32)
L_0058: call Boolean CarriedByCaravan(Verse.Pawn)
L_005d: brfalse Label5
L_0062: Label4
L_0062: ldc.i4 450
L_0067: br Label6
L_006c: Label5
L_006c: ldarg.0
L_006d: ldloc.1
L_006e: callvirt Verse.Pawn get_Item(Int32)
L_0073: callvirt Int32 get_TicksPerMoveCardinal()
L_0078: Label6
L_0078: conv.r4
L_0079: stloc.2
L_007a: ldloc.2
L_007b: ldc.r4 150
L_0080: call Single Min(Single, Single)
L_0085: ldc.r4 340
L_008a: mul
L_008b: stloc.2
L_008c: ldc.r4 60000
L_0091: ldloc.2
L_0092: conv.r4
L_0093: div
L_0094: stloc.3
L_0095: ldarg.3
L_0096: brfalse Label7
L_009b: ldarg.3
L_009c: callvirt System.Text.StringBuilder AppendLine()
L_00a1: pop
L_00a2: ldarg.3
L_00a3: ldc.i4.6
L_00a4: newarr System.String
L_00a9: dup
L_00aa: ldc.i4.0
L_00ab: ldstr " - "
L_00b0: stelem.ref
L_00b1: dup
L_00b2: ldc.i4.1
L_00b3: ldarg.0
L_00b4: ldloc.1
L_00b5: callvirt Verse.Pawn get_Item(Int32)
L_00ba: callvirt System.String get_LabelShortCap()
L_00bf: stelem.ref
L_00c0: dup
L_00c1: ldc.i4.2
L_00c2: ldstr ": "
L_00c7: stelem.ref
L_00c8: dup
L_00c9: ldc.i4.3
L_00ca: ldloca.s 3 (System.Single)
L_00cc: ldstr "0.#"
L_00d1: call System.String ToString(System.String)
L_00d6: stelem.ref
L_00d7: dup
L_00d8: ldc.i4.4
L_00d9: ldstr " "
L_00de: stelem.ref
L_00df: dup
L_00e0: ldc.i4.5
L_00e1: ldstr "TilesPerDay"
L_00e6: call System.String Translate(System.String)
L_00eb: stelem.ref
L_00ec: call System.String Concat(System.String[])
L_00f1: callvirt System.Text.StringBuilder Append(System.String)
L_00f6: pop
L_00f7: ldarg.0
L_00f8: ldloc.1
L_00f9: callvirt Verse.Pawn get_Item(Int32)
L_00fe: callvirt Boolean get_Downed()
L_0103: brfalse Label8
L_0108: ldarg.3
L_0109: ldstr " ("
L_010e: ldstr "DownedLower"
L_0113: call System.String Translate(System.String)
L_0118: ldstr ")"
L_011d: call System.String Concat(System.String, System.String, System.String)
L_0122: callvirt System.Text.StringBuilder Append(System.String)
L_0127: pop
L_0128: br Label9
L_012d: Label8
L_012d: ldarg.0
L_012e: ldloc.1
L_012f: callvirt Verse.Pawn get_Item(Int32)
L_0134: call Boolean CarriedByCaravan(Verse.Pawn)
L_0139: brfalse Label10
L_013e: ldarg.3
L_013f: ldstr " ("
L_0144: ldstr "Carried"
L_0149: call System.String Translate(System.String)
L_014e: ldstr ")"
L_0153: call System.String Concat(System.String, System.String, System.String)
L_0158: callvirt System.Text.StringBuilder Append(System.String)
L_015d: pop
L_015e: Label7
L_015e: Label9
L_015e: Label10
L_015e: ldloc.0
L_015f: ldloc.2
L_0160: ldarg.0
L_0161: callvirt Int32 get_Count()
L_0166: conv.r4
L_0167: div
L_0168: add
L_0169: stloc.0
L_016a: ldloc.1
L_016b: ldc.i4.1
L_016c: add
L_016d: stloc.1
L_016e: Label3
L_016e: ldloc.1
L_016f: ldarg.0
L_0170: callvirt Int32 get_Count()
L_0175: blt Label11
L_017a: ldarg.1
L_017b: ldarg.2
L_017c: call Single GetMoveSpeedFactorFromMass(Single, Single)
L_0181: stloc.s 4 (System.Single)
L_0183: ldarg.3
L_0184: brfalse Label12
L_0189: ldc.r4 60000
L_018e: ldloc.0
L_018f: conv.r4
L_0190: div
L_0191: stloc.s 5 (System.Single)
L_0193: ldarg.3
L_0194: callvirt System.Text.StringBuilder AppendLine()
L_0199: pop
L_019a: ldarg.3
L_019b: ldc.i4.6
L_019c: newarr System.String
L_01a1: dup
L_01a2: ldc.i4.0
L_01a3: ldstr " "
L_01a8: stelem.ref
L_01a9: dup
L_01aa: ldc.i4.1
L_01ab: ldstr "Average"
L_01b0: call System.String Translate(System.String)
L_01b5: stelem.ref
L_01b6: dup
L_01b7: ldc.i4.2
L_01b8: ldstr ": "
L_01bd: stelem.ref
L_01be: dup
L_01bf: ldc.i4.3
L_01c0: ldloca.s 5 (System.Single)
L_01c2: ldstr "0.#"
L_01c7: call System.String ToString(System.String)
L_01cc: stelem.ref
L_01cd: dup
L_01ce: ldc.i4.4
L_01cf: ldstr " "
L_01d4: stelem.ref
L_01d5: dup
L_01d6: ldc.i4.5
L_01d7: ldstr "TilesPerDay"
L_01dc: call System.String Translate(System.String)
L_01e1: stelem.ref
L_01e2: call System.String Concat(System.String[])
L_01e7: callvirt System.Text.StringBuilder Append(System.String)
L_01ec: pop
L_01ed: ldarg.3
L_01ee: callvirt System.Text.StringBuilder AppendLine()
L_01f3: pop
L_01f4: ldarg.3
L_01f5: ldstr " "
L_01fa: ldstr "MultiplierForCarriedMass"
L_01ff: ldc.i4.1
L_0200: newarr System.Object
L_0205: dup
L_0206: ldc.i4.0
L_0207: ldloc.s 4 (System.Single)
L_0209: call System.String ToStringPercent(Single)
L_020e: stelem.ref
L_020f: call System.String Translate(System.String, System.Object[])
L_0214: call System.String Concat(System.String, System.String)
L_0219: callvirt System.Text.StringBuilder Append(System.String)
L_021e: pop
L_021f: Label12
L_021f: ldloc.0
L_0220: ldloc.s 4 (System.Single)
L_0222: div
L_0223: call Int32 RoundToInt(Single)
L_0228: ldc.i4.1
L_0229: call Int32 Max(Int32, Int32)
L_022e: stloc.s 6 (System.Int32)
L_0230: ldarg.3
L_0231: brfalse Label13
L_0236: ldc.r4 60000
L_023b: ldloc.s 6 (System.Int32)
L_023d: conv.r4
L_023e: div
L_023f: stloc.s 7 (System.Single)
L_0241: ldarg.3
L_0242: callvirt System.Text.StringBuilder AppendLine()
L_0247: pop
L_0248: ldarg.3
L_0249: ldc.i4.6
L_024a: newarr System.String
L_024f: dup
L_0250: ldc.i4.0
L_0251: ldstr " "
L_0256: stelem.ref
L_0257: dup
L_0258: ldc.i4.1
L_0259: ldstr "FinalCaravanPawnsMovementSpeed"
L_025e: call System.String Translate(System.String)
L_0263: stelem.ref
L_0264: dup
L_0265: ldc.i4.2
L_0266: ldstr ": "
L_026b: stelem.ref
L_026c: dup
L_026d: ldc.i4.3
L_026e: ldloca.s 7 (System.Single)
L_0270: ldstr "0.#"
L_0275: call System.String ToString(System.String)
L_027a: stelem.ref
L_027b: dup
L_027c: ldc.i4.4
L_027d: ldstr " "
L_0282: stelem.ref
L_0283: dup
L_0284: ldc.i4.5
L_0285: ldstr "TilesPerDay"
L_028a: call System.String Translate(System.String)
L_028f: stelem.ref
L_0290: call System.String Concat(System.String[])
L_0295: callvirt System.Text.StringBuilder Append(System.String)
L_029a: pop
L_029b: Label13
L_029b: ldloc.s 6 (System.Int32)
L_029d: br Label15
L_02a2: Label1
L_02a2: ldarg.3
L_02a3: brfalse Label14
L_02a8: ldarg.3
L_02a9: call Void AppendUsingDefaultTicksPerMoveInfo(System.Text.StringBuilder)
L_02ae: Label14
L_02ae: ldc.i4 3300
L_02b3: Label15
L_02b3: stloc 8 (System.Int32)
L_02b5: ldarg 0
L_02bb: ldloca 8 (System.Int32)
L_02bd: call Void
GetTicksPerMove_PostFix(System.Collections.Generic.List`1[Verse.Pawn], Int32 ByRef)
L_02c2: ldloc 8 (System.Int32)
L_02c4: ret
DONE

### Patch RimWorld.Planet.CaravanEnterMapUtility, Void


Enter(RimWorld.Planet.Caravan, Verse.Map, System.Func`2[Verse.Pawn,Verse.IntVec3],
CaravanDropInventoryMode, Boolean)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: call Void Enter_PreFix(RimWorld.Planet.Caravan)
L_000b: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0010: callvirt Void Clear()
L_0015: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_001a: ldarg.0
L_001b: callvirt System.Collections.Generic.List`1[Verse.Pawn]
get_PawnsListForReading()
L_0020: callvirt Void AddRange(IEnumerable`1)
L_0025: ldc.i4.0
L_0026: stloc.0
L_0027: br Label1
L_002c: Label2
L_002c: ldarg.2
L_002d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0032: ldloc.0
L_0033: callvirt Verse.Pawn get_Item(Int32)
L_0038: callvirt IntVec3 Invoke(Verse.Pawn)
L_003d: stloc.1
L_003e: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0043: ldloc.0
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: ldloc.1
L_004a: ldarg.1
L_004b: call Rot4 get_Random()
L_0050: ldc.i4.0
L_0051: ldc.i4.0
L_0052: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0057: pop
L_0058: ldloc.0
L_0059: ldc.i4.1
L_005a: add
L_005b: stloc.0
L_005c: Label1
L_005c: ldloc.0
L_005d: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0062: callvirt Int32 get_Count()
L_0067: blt Label2
L_006c: ldarg.3
L_006d: ldc.i4.1
L_006e: bne.un Label3
L_0073: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0078: call Void DropAllInventory(System.Collections.Generic.List`1[Verse.Pawn])
L_007d: br Label4
L_0082: Label3
L_0082: ldarg.3
L_0083: ldc.i4.2
L_0084: bne.un Label5
L_0089: ldc.i4.0
L_008a: stloc.2
L_008b: br Label6
L_0090: Label7
L_0090: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0095: ldloc.2
L_0096: callvirt Verse.Pawn get_Item(Int32)
L_009b: ldfld Verse.Pawn_InventoryTracker inventory
L_00a0: ldc.i4.1
L_00a1: callvirt Void set_UnloadEverything(Boolean)
L_00a6: ldloc.2
L_00a7: ldc.i4.1
L_00a8: add
L_00a9: stloc.2
L_00aa: Label6
L_00aa: ldloc.2
L_00ab: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00b0: callvirt Int32 get_Count()
L_00b5: blt Label7
L_00ba: Label4
L_00ba: Label5
L_00ba: ldarg.s 4
L_00bc: brfalse Label8
L_00c1: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00c6: call Void DraftColonists(System.Collections.Generic.List`1[Verse.Pawn])
L_00cb: Label8
L_00cb: ldarg.1
L_00cc: callvirt Boolean get_IsPlayerHome()
L_00d1: brfalse Label9
L_00d6: ldc.i4.0
L_00d7: stloc.3
L_00d8: br Label10
L_00dd: Label12
L_00dd: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00e2: ldloc.3
L_00e3: callvirt Verse.Pawn get_Item(Int32)
L_00e8: callvirt Boolean get_IsPrisoner()
L_00ed: brfalse Label11
L_00f2: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_00f7: ldloc.3
L_00f8: callvirt Verse.Pawn get_Item(Int32)
L_00fd: ldfld RimWorld.Pawn_GuestTracker guest
L_0102: callvirt Void WaitInsteadOfEscapingForDefaultTicks()
L_0107: Label11
L_0107: ldloc.3
L_0108: ldc.i4.1
L_0109: add
L_010a: stloc.3
L_010b: Label10
L_010b: ldloc.3
L_010c: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_0111: callvirt Int32 get_Count()
L_0116: blt Label12
L_011b: Label9
L_011b: ldarg.0
L_011c: callvirt Void RemoveAllPawns()
L_0121: ldarg.0
L_0122: callvirt Boolean get_Spawned()
L_0127: brfalse Label13
L_012c: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_0131: ldarg.0
L_0132: callvirt Void Remove(RimWorld.Planet.WorldObject)
L_0137: Label13
L_0137: ldsfld System.Collections.Generic.List`1[Verse.Pawn] tmpPawns
L_013c: callvirt Void Clear()
L_0141: ret
DONE

### Patch RimWorld.Planet.Caravan, System.String GetInspectString()


L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Int32
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: System.Int32
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Int32
L_0000: Local var 7: RimWorld.Planet.SettlementBase
L_0000: Local var 8: System.Single
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Int32
L_0000: Local var 11: System.String
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: ldnull
L_0001: stloc 13 (System.String)
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldloc.0
L_000a: ldarg.0
L_000b: call System.String GetInspectString()
L_0010: callvirt System.Text.StringBuilder Append(System.String)
L_0015: pop
L_0016: ldloc.0
L_0017: callvirt Int32 get_Length()
L_001c: brfalse Label1
L_0021: ldloc.0
L_0022: callvirt System.Text.StringBuilder AppendLine()
L_0027: pop
L_0028: Label1
L_0028: ldc.i4.0
L_0029: stloc.1
L_002a: ldc.i4.0
L_002b: stloc.2
L_002c: ldc.i4.0
L_002d: stloc.3
L_002e: ldc.i4.0
L_002f: stloc.s 4 (System.Int32)
L_0031: ldc.i4.0
L_0032: stloc.s 5 (System.Int32)
L_0034: ldc.i4.0
L_0035: stloc.s 6 (System.Int32)
L_0037: br Label2
L_003c: Label10
L_003c: ldarg.0
L_003d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0042: ldloc.s 6 (System.Int32)
L_0044: callvirt Verse.Pawn get_Item(Int32)
L_0049: callvirt Boolean get_IsColonist()
L_004e: brfalse Label3
L_0053: ldloc.1
L_0054: ldc.i4.1
L_0055: add
L_0056: stloc.1
L_0057: br Label4
L_005c: Label3
L_005c: ldarg.0
L_005d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0062: ldloc.s 6 (System.Int32)
L_0064: callvirt Verse.Pawn get_Item(Int32)
L_0069: callvirt Verse.RaceProperties get_RaceProps()
L_006e: callvirt Boolean get_Animal()
L_0073: brfalse Label5
L_0078: ldloc.2
L_0079: ldc.i4.1
L_007a: add
L_007b: stloc.2
L_007c: br Label6
L_0081: Label5
L_0081: ldarg.0
L_0082: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_0087: ldloc.s 6 (System.Int32)
L_0089: callvirt Verse.Pawn get_Item(Int32)
L_008e: callvirt Boolean get_IsPrisoner()
L_0093: brfalse Label7
L_0098: ldloc.3
L_0099: ldc.i4.1
L_009a: add
L_009b: stloc.3
L_009c: Label4
L_009c: Label6
L_009c: Label7
L_009c: ldarg.0
L_009d: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00a2: ldloc.s 6 (System.Int32)
L_00a4: callvirt Verse.Pawn get_Item(Int32)
L_00a9: callvirt Boolean get_Downed()
L_00ae: brfalse Label8
L_00b3: ldloc.s 4 (System.Int32)
L_00b5: ldc.i4.1
L_00b6: add
L_00b7: stloc.s 4 (System.Int32)
L_00b9: Label8
L_00b9: ldarg.0
L_00ba: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00bf: ldloc.s 6 (System.Int32)
L_00c1: callvirt Verse.Pawn get_Item(Int32)
L_00c6: callvirt Boolean get_InMentalState()
L_00cb: brfalse Label9
L_00d0: ldloc.s 5 (System.Int32)
L_00d2: ldc.i4.1
L_00d3: add
L_00d4: stloc.s 5 (System.Int32)
L_00d6: Label9
L_00d6: ldloc.s 6 (System.Int32)
L_00d8: ldc.i4.1
L_00d9: add
L_00da: stloc.s 6 (System.Int32)
L_00dc: Label2
L_00dc: ldloc.s 6 (System.Int32)
L_00de: ldarg.0
L_00df: ldfld Verse.ThingOwner`1[Verse.Pawn] pawns
L_00e4: callvirt Int32 get_Count()
L_00e9: blt Label10
L_00ee: ldloc.0
L_00ef: ldstr "CaravanColonistsCount"
L_00f4: ldc.i4.2
L_00f5: newarr System.Object
L_00fa: dup
L_00fb: ldc.i4.0
L_00fc: ldloc.1
L_00fd: box System.Int32
L_0102: stelem.ref
L_0103: dup
L_0104: ldc.i4.1
L_0105: ldloc.1
L_0106: ldc.i4.1
L_0107: bne.un Label11
L_010c: call RimWorld.Faction get_OfPlayer()
L_0111: ldfld RimWorld.FactionDef def
L_0116: ldfld System.String pawnSingular
L_011b: br Label12
L_0120: Label11
L_0120: call RimWorld.Faction get_OfPlayer()
L_0125: ldfld RimWorld.FactionDef def
L_012a: ldfld System.String pawnsPlural
L_012f: Label12
L_012f: stelem.ref
L_0130: call System.String Translate(System.String, System.Object[])
L_0135: callvirt System.Text.StringBuilder Append(System.String)
L_013a: pop
L_013b: ldloc.2
L_013c: ldc.i4.1
L_013d: bne.un Label13
L_0142: ldloc.0
L_0143: ldstr ", "
L_0148: ldstr "CaravanAnimal"
L_014d: call System.String Translate(System.String)
L_0152: call System.String Concat(System.String, System.String)
L_0157: callvirt System.Text.StringBuilder Append(System.String)
L_015c: pop
L_015d: br Label14
L_0162: Label13
L_0162: ldloc.2
L_0163: ldc.i4.1
L_0164: ble Label15
L_0169: ldloc.0
L_016a: ldstr ", "
L_016f: ldstr "CaravanAnimalsCount"
L_0174: ldc.i4.1
L_0175: newarr System.Object
L_017a: dup
L_017b: ldc.i4.0
L_017c: ldloc.2
L_017d: box System.Int32
L_0182: stelem.ref
L_0183: call System.String Translate(System.String, System.Object[])
L_0188: call System.String Concat(System.String, System.String)
L_018d: callvirt System.Text.StringBuilder Append(System.String)
L_0192: pop
L_0193: Label14
L_0193: Label15
L_0193: ldloc.3
L_0194: ldc.i4.1
L_0195: bne.un Label16
L_019a: ldloc.0
L_019b: ldstr ", "
L_01a0: ldstr "CaravanPrisoner"
L_01a5: call System.String Translate(System.String)
L_01aa: call System.String Concat(System.String, System.String)
L_01af: callvirt System.Text.StringBuilder Append(System.String)
L_01b4: pop
L_01b5: br Label17
L_01ba: Label16
L_01ba: ldloc.3
L_01bb: ldc.i4.1
L_01bc: ble Label18
L_01c1: ldloc.0
L_01c2: ldstr ", "
L_01c7: ldstr "CaravanPrisonersCount"
L_01cc: ldc.i4.1
L_01cd: newarr System.Object
L_01d2: dup
L_01d3: ldc.i4.0
L_01d4: ldloc.3
L_01d5: box System.Int32
L_01da: stelem.ref
L_01db: call System.String Translate(System.String, System.Object[])
L_01e0: call System.String Concat(System.String, System.String)
L_01e5: callvirt System.Text.StringBuilder Append(System.String)
L_01ea: pop
L_01eb: Label17
L_01eb: Label18
L_01eb: ldloc.0
L_01ec: callvirt System.Text.StringBuilder AppendLine()
L_01f1: pop
L_01f2: ldloc.s 5 (System.Int32)
L_01f4: ldc.i4.0
L_01f5: ble Label19
L_01fa: ldloc.0
L_01fb: ldstr "CaravanPawnsInMentalState"
L_0200: ldc.i4.1
L_0201: newarr System.Object
L_0206: dup
L_0207: ldc.i4.0
L_0208: ldloc.s 5 (System.Int32)
L_020a: box System.Int32
L_020f: stelem.ref
L_0210: call System.String Translate(System.String, System.Object[])
L_0215: callvirt System.Text.StringBuilder Append(System.String)
L_021a: pop
L_021b: Label19
L_021b: ldloc.s 4 (System.Int32)
L_021d: ldc.i4.0
L_021e: ble Label20
L_0223: ldloc.s 5 (System.Int32)
L_0225: ldc.i4.0
L_0226: ble Label21
L_022b: ldloc.0
L_022c: ldstr ", "
L_0231: callvirt System.Text.StringBuilder Append(System.String)
L_0236: pop
L_0237: Label21
L_0237: ldloc.0
L_0238: ldstr "CaravanPawnsDowned"
L_023d: ldc.i4.1
L_023e: newarr System.Object
L_0243: dup
L_0244: ldc.i4.0
L_0245: ldloc.s 4 (System.Int32)
L_0247: box System.Int32
L_024c: stelem.ref
L_024d: call System.String Translate(System.String, System.Object[])
L_0252: callvirt System.Text.StringBuilder Append(System.String)
L_0257: pop
L_0258: Label20
L_0258: ldloc.s 5 (System.Int32)
L_025a: ldc.i4.0
L_025b: bgt Label22
L_0260: ldloc.s 4 (System.Int32)
L_0262: ldc.i4.0
L_0263: ble Label23
L_0268: Label22
L_0268: ldloc.0
L_0269: callvirt System.Text.StringBuilder AppendLine()
L_026e: pop
L_026f: Label23
L_026f: ldarg.0
L_0270: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0275: callvirt Boolean get_Moving()
L_027a: brfalse Label24
L_027f: ldarg.0
L_0280: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0285: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_028a: brfalse Label25
L_028f: ldloc.0
L_0290: ldarg.0
L_0291: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0296: callvirt RimWorld.Planet.CaravanArrivalAction get_ArrivalAction()
L_029b: callvirt System.String get_ReportString()
L_02a0: callvirt System.Text.StringBuilder Append(System.String)
L_02a5: pop
L_02a6: br Label26
L_02ab: Label25
L_02ab: ldloc.0
L_02ac: ldstr "CaravanTraveling"
L_02b1: call System.String Translate(System.String)
L_02b6: callvirt System.Text.StringBuilder Append(System.String)
L_02bb: pop
L_02bc: Label26
L_02bc: br Label27
L_02c1: Label24
L_02c1: ldarg.0
L_02c2: call RimWorld.Planet.SettlementBase
SettlementVisitedNow(RimWorld.Planet.Caravan)
L_02c7: stloc.s 7 (RimWorld.Planet.SettlementBase)
L_02c9: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02cb: brfalse Label28
L_02d0: ldloc.0
L_02d1: ldstr "CaravanVisiting"
L_02d6: ldc.i4.1
L_02d7: newarr System.Object
L_02dc: dup
L_02dd: ldc.i4.0
L_02de: ldloc.s 7 (RimWorld.Planet.SettlementBase)
L_02e0: callvirt System.String get_Label()
L_02e5: stelem.ref
L_02e6: call System.String Translate(System.String, System.Object[])
L_02eb: callvirt System.Text.StringBuilder Append(System.String)
L_02f0: pop
L_02f1: br Label29
L_02f6: Label28
L_02f6: ldloc.0
L_02f7: ldstr "CaravanWaiting"
L_02fc: call System.String Translate(System.String)
L_0301: callvirt System.Text.StringBuilder Append(System.String)
L_0306: pop
L_0307: Label27
L_0307: Label29
L_0307: ldarg.0
L_0308: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_030d: callvirt Boolean get_Moving()
L_0312: brfalse Label30
L_0317: ldarg.0
L_0318: ldc.i4.1
L_0319: call Int32 EstimatedTicksToArrive(RimWorld.Planet.Caravan, Boolean)
L_031e: conv.r4
L_031f: ldc.r4 60000
L_0324: div
L_0325: stloc.s 8 (System.Single)
L_0327: ldloc.0
L_0328: callvirt System.Text.StringBuilder AppendLine()
L_032d: pop
L_032e: ldloc.0
L_032f: ldstr "CaravanEstimatedTimeToDestination"
L_0334: ldc.i4.1
L_0335: newarr System.Object
L_033a: dup
L_033b: ldc.i4.0
L_033c: ldloca.s 8 (System.Single)
L_033e: ldstr "0.#"
L_0343: call System.String ToString(System.String)
L_0348: stelem.ref
L_0349: call System.String Translate(System.String, System.Object[])
L_034e: callvirt System.Text.StringBuilder Append(System.String)
L_0353: pop
L_0354: Label30
L_0354: ldarg.0
L_0355: call Boolean get_AllOwnersDowned()
L_035a: brfalse Label31
L_035f: ldloc.0
L_0360: callvirt System.Text.StringBuilder AppendLine()
L_0365: pop
L_0366: ldloc.0
L_0367: ldstr "AllCaravanMembersDowned"
L_036c: call System.String Translate(System.String)
L_0371: callvirt System.Text.StringBuilder Append(System.String)
L_0376: pop
L_0377: br Label32
L_037c: Label31
L_037c: ldarg.0
L_037d: call Boolean get_AllOwnersHaveMentalBreak()
L_0382: brfalse Label33
L_0387: ldloc.0
L_0388: callvirt System.Text.StringBuilder AppendLine()
L_038d: pop
L_038e: ldloc.0
L_038f: ldstr "AllCaravanMembersMentalBreak"
L_0394: call System.String Translate(System.String)
L_0399: callvirt System.Text.StringBuilder Append(System.String)
L_039e: pop
L_039f: br Label34
L_03a4: Label33
L_03a4: ldarg.0
L_03a5: call Boolean get_ImmobilizedByMass()
L_03aa: brfalse Label35
L_03af: ldloc.0
L_03b0: callvirt System.Text.StringBuilder AppendLine()
L_03b5: pop
L_03b6: ldloc.0
L_03b7: ldstr "CaravanImmobilizedByMass"
L_03bc: call System.String Translate(System.String)
L_03c1: callvirt System.Text.StringBuilder Append(System.String)
L_03c6: pop
L_03c7: Label32
L_03c7: Label34
L_03c7: Label35
L_03c7: ldarg.0
L_03c8: ldfld RimWorld.Planet.Caravan_NeedsTracker needs
L_03cd: ldloca.s 9 (System.String)
L_03cf: callvirt Boolean AnyPawnOutOfFood(System.String ByRef)
L_03d4: brfalse Label36
L_03d9: ldloc.0
L_03da: callvirt System.Text.StringBuilder AppendLine()
L_03df: pop
L_03e0: ldloc.0
L_03e1: ldstr "CaravanOutOfFood"
L_03e6: call System.String Translate(System.String)
L_03eb: callvirt System.Text.StringBuilder Append(System.String)
L_03f0: pop
L_03f1: ldloc.s 9 (System.String)
L_03f3: call Boolean NullOrEmpty(System.String)
L_03f8: brtrue Label37
L_03fd: ldloc.0
L_03fe: ldstr " "
L_0403: callvirt System.Text.StringBuilder Append(System.String)
L_0408: pop
L_0409: ldloc.0
L_040a: ldloc.s 9 (System.String)
L_040c: callvirt System.Text.StringBuilder Append(System.String)
L_0411: pop
L_0412: ldloc.0
L_0413: ldstr "."
L_0418: callvirt System.Text.StringBuilder Append(System.String)
L_041d: pop
L_041e: Label36
L_041e: Label37
L_041e: ldarg.0
L_041f: ldfld RimWorld.Planet.Caravan_PathFollower pather
L_0424: callvirt Boolean get_MovingNow()
L_0429: brtrue Label38
L_042e: ldarg.0
L_042f: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_0434: callvirt Int32 GetUsedBedCount()
L_0439: stloc.s 10 (System.Int32)
L_043b: ldloc.0
L_043c: callvirt System.Text.StringBuilder AppendLine()
L_0441: pop
L_0442: ldloc.0
L_0443: ldstr "CaravanResting"
L_0448: call System.String Translate(System.String)
L_044d: ldloc.s 10 (System.Int32)
L_044f: call System.String AppendUsingBedsLabel(System.String, Int32)
L_0454: callvirt System.Text.StringBuilder Append(System.String)
L_0459: pop
L_045a: br Label39
L_045f: Label38
L_045f: ldarg.0
L_0460: ldfld RimWorld.Planet.Caravan_CarryTracker carryTracker
L_0465: callvirt System.String GetInspectStringLine()
L_046a: stloc.s 11 (System.String)
L_046c: ldloc.s 11 (System.String)
L_046e: call Boolean NullOrEmpty(System.String)
L_0473: brtrue Label40
L_0478: ldloc.0
L_0479: callvirt System.Text.StringBuilder AppendLine()
L_047e: pop
L_047f: ldloc.0
L_0480: ldloc.s 11 (System.String)
L_0482: callvirt System.Text.StringBuilder Append(System.String)
L_0487: pop
L_0488: Label40
L_0488: ldarg.0
L_0489: ldfld RimWorld.Planet.Caravan_BedsTracker beds
L_048e: callvirt System.String GetInBedForMedicalReasonsInspectStringLine()
L_0493: stloc.s 12 (System.String)
L_0495: ldloc.s 12 (System.String)
L_0497: call Boolean NullOrEmpty(System.String)
L_049c: brtrue Label41
L_04a1: ldloc.0
L_04a2: callvirt System.Text.StringBuilder AppendLine()
L_04a7: pop
L_04a8: ldloc.0
L_04a9: ldloc.s 12 (System.String)
L_04ab: callvirt System.Text.StringBuilder Append(System.String)
L_04b0: pop
L_04b1: Label39
L_04b1: Label41
L_04b1: ldloc.0
L_04b2: callvirt System.String ToString()
L_04b7: stloc 13 (System.String)
L_04b9: ldarg.0
L_04ba: ldloca 13 (System.String)
L_04bc: call Void GetInspectString_Jobs(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c1: ldarg.0
L_04c2: ldloca 13 (System.String)
L_04c4: call Void GetInspectString_PostFix(RimWorld.Planet.Caravan, System.String
ByRef)
L_04c9: ldloc 13 (System.String)
L_04cb: ret
DONE

### Patch Verse.Pawn, Void Tick()


L_0000: Local var 0: System.Boolean
L_0000: ldsfld System.Boolean noAnimals
L_0005: brfalse Label1
L_000a: ldarg.0
L_000b: call Boolean get_Spawned()
L_0010: brfalse Label2
L_0015: ldarg.0
L_0016: call Verse.RaceProperties get_RaceProps()
L_001b: callvirt Boolean get_Animal()
L_0020: brfalse Label3
L_0025: ldarg.0
L_0026: ldc.i4.0
L_0027: callvirt Void Destroy(DestroyMode)
L_002c: br Label23
L_0031: Label1
L_0031: Label2
L_0031: Label3
L_0031: ldarg.0
L_0032: call Void Tick()
L_0037: call Verse.TickManager get_TickManager()
L_003c: callvirt Int32 get_TicksGame()
L_0041: ldc.i4 250
L_0046: rem
L_0047: brtrue Label4
L_004c: ldarg.0
L_004d: callvirt Void TickRare()
L_0052: Label4
L_0052: ldarg.0
L_0053: call Boolean get_Suspended()
L_0058: stloc.0
L_0059: ldloc.0
L_005a: brtrue Label5
L_005f: ldarg.0
L_0060: call Boolean get_Spawned()
L_0065: brfalse Label6
L_006a: ldarg.0
L_006b: ldfld Verse.AI.Pawn_PathFollower pather
L_0070: callvirt Void PatherTick()
L_0075: Label6
L_0075: ldarg.0
L_0076: call Boolean get_Spawned()
L_007b: brfalse Label7
L_0080: ldarg.0
L_0081: ldfld Verse.Pawn_StanceTracker stances
L_0086: callvirt Void StanceTrackerTick()
L_008b: ldarg.0
L_008c: ldfld Verse.VerbTracker verbTracker
L_0091: callvirt Void VerbsTick()
L_0096: ldarg.0
L_0097: ldfld RimWorld.Pawn_NativeVerbs natives
L_009c: callvirt Void NativeVerbsTick()
L_00a1: Label7
L_00a1: ldarg.0
L_00a2: call Boolean get_Spawned()
L_00a7: brfalse Label8
L_00ac: ldarg.0
L_00ad: ldfld Verse.AI.Pawn_JobTracker jobs
L_00b2: callvirt Void JobTrackerTick()
L_00b7: Label8
L_00b7: ldarg.0
L_00b8: call Boolean get_Spawned()
L_00bd: brfalse Label9
L_00c2: ldarg.0
L_00c3: call Verse.Pawn_DrawTracker get_Drawer()
L_00c8: callvirt Void DrawTrackerTick()
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn_RotationTracker rotationTracker
L_00d3: callvirt Void RotationTrackerTick()
L_00d8: Label9
L_00d8: ldarg.0
L_00d9: ldfld Verse.Pawn_HealthTracker health
L_00de: callvirt Void HealthTick()
L_00e3: ldarg.0
L_00e4: call Boolean get_Dead()
L_00e9: brtrue Label10
L_00ee: ldarg.0
L_00ef: ldfld Verse.AI.Pawn_MindState mindState
L_00f4: callvirt Void MindStateTick()
L_00f9: ldarg.0
L_00fa: ldfld Verse.Pawn_CarryTracker carryTracker
L_00ff: callvirt Void CarryHandsTick()
L_0104: Label5
L_0104: Label10
L_0104: ldarg.0
L_0105: call Boolean get_Dead()
L_010a: brtrue Label11
L_010f: ldarg.0
L_0110: ldfld RimWorld.Pawn_NeedsTracker needs
L_0115: callvirt Void NeedsTrackerTick()
L_011a: Label11
L_011a: ldloc.0
L_011b: brtrue Label12
L_0120: ldarg.0
L_0121: ldfld Verse.Pawn_EquipmentTracker equipment
L_0126: brfalse Label13
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn_EquipmentTracker equipment
L_0131: callvirt Void EquipmentTrackerTick()
L_0136: Label13
L_0136: ldarg.0
L_0137: ldfld RimWorld.Pawn_ApparelTracker apparel
L_013c: brfalse Label14
L_0141: ldarg.0
L_0142: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0147: callvirt Void ApparelTrackerTick()
L_014c: Label14
L_014c: ldarg.0
L_014d: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0152: brfalse Label15
L_0157: ldarg.0
L_0158: call Boolean get_Spawned()
L_015d: brfalse Label16
L_0162: ldarg.0
L_0163: ldfld RimWorld.Pawn_InteractionsTracker interactions
L_0168: callvirt Void InteractionsTrackerTick()
L_016d: Label15
L_016d: Label16
L_016d: ldarg.0
L_016e: ldfld Verse.Pawn_CallTracker caller
L_0173: brfalse Label17
L_0178: ldarg.0
L_0179: ldfld Verse.Pawn_CallTracker caller
L_017e: callvirt Void CallTrackerTick()
L_0183: Label17
L_0183: ldarg.0
L_0184: ldfld RimWorld.Pawn_SkillTracker skills
L_0189: brfalse Label18
L_018e: ldarg.0
L_018f: ldfld RimWorld.Pawn_SkillTracker skills
L_0194: callvirt Void SkillsTick()
L_0199: Label18
L_0199: ldarg.0
L_019a: ldfld Verse.Pawn_InventoryTracker inventory
L_019f: brfalse Label19
L_01a4: ldarg.0
L_01a5: ldfld Verse.Pawn_InventoryTracker inventory
L_01aa: callvirt Void InventoryTrackerTick()
L_01af: Label19
L_01af: ldarg.0
L_01b0: ldfld RimWorld.Pawn_DraftController drafter
L_01b5: brfalse Label20
L_01ba: ldarg.0
L_01bb: ldfld RimWorld.Pawn_DraftController drafter
L_01c0: callvirt Void DraftControllerTick()
L_01c5: Label20
L_01c5: ldarg.0
L_01c6: ldfld RimWorld.Pawn_RelationsTracker relations
L_01cb: brfalse Label21
L_01d0: ldarg.0
L_01d1: ldfld RimWorld.Pawn_RelationsTracker relations
L_01d6: callvirt Void RelationsTrackerTick()
L_01db: Label21
L_01db: ldarg.0
L_01dc: call Verse.RaceProperties get_RaceProps()
L_01e1: callvirt Boolean get_Humanlike()
L_01e6: brfalse Label22
L_01eb: ldarg.0
L_01ec: ldfld RimWorld.Pawn_GuestTracker guest
L_01f1: callvirt Void GuestTrackerTick()
L_01f6: Label22
L_01f6: ldarg.0
L_01f7: ldfld Verse.Pawn_AgeTracker ageTracker
L_01fc: callvirt Void AgeTick()
L_0201: ldarg.0
L_0202: ldfld RimWorld.Pawn_RecordsTracker records
L_0207: callvirt Void RecordsTick()
L_020c: Label12
L_020c: Label23
L_020c: ldarg.0
L_020d: call Void Patch_Pawn_Tick(Verse.Pawn)
L_0212: ret
DONE

### Patch Verse.PawnGenerator, Void GenerateGearFor(Verse.Pawn,


PawnGenerationRequest)
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void GenerateStartingApparelFor(Verse.Pawn, PawnGenerationRequest)
L_0007: ldarg.0
L_0008: call Void TryGenerateWeaponFor(Verse.Pawn)
L_000d: ldarg.0
L_000e: ldarg.1
L_000f: call Void GenerateInventoryFor(Verse.Pawn, PawnGenerationRequest)
L_0014: ldarg 0
L_001a: ldarga 1
L_0020: call Void Patch_PawnGenerator_GenerateGearFor(Verse.Pawn,
PawnGenerationRequest ByRef)
L_0025: ret
DONE

### Patch Verse.PawnRenderer, Void RenderPawnAt(Vector3, RotDrawMode, Boolean)


L_0000: Local var 0: RimWorld.PawnPosture
L_0000: Local var 1: Verse.Thing
L_0000: Local var 2: UnityEngine.Vector3
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: UnityEngine.Vector3
L_0000: Local var 7: System.Single
L_0000: Local var 8: Verse.Rot4
L_0000: Local var 9: RimWorld.Building_Bed
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.AltitudeLayer
L_0000: Local var 12: UnityEngine.Vector3
L_0000: Local var 13: Verse.IntVec3
L_0000: Local var 14: UnityEngine.Vector3
L_0000: Local var 15: System.Single
L_0000: Local var 16: UnityEngine.Vector3
L_0000: Local var 17: UnityEngine.Vector3
L_0000: Local var 18: Verse.IntVec3
L_0000: Local var 19: Verse.Rot4
L_0000: Local var 20: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.PawnGraphicSet graphics
L_0006: callvirt Boolean get_AllResolved()
L_000b: brtrue Label1
L_0010: ldarg.0
L_0011: ldfld Verse.PawnGraphicSet graphics
L_0016: callvirt Void ResolveAllGraphics()
L_001b: Label1
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: call PawnPosture GetPosture(Verse.Pawn)
L_0026: stloc.0
L_0027: ldloc.0
L_0028: brtrue Label2
L_002d: ldarg.0
L_002e: ldarg.1
L_002f: ldc.r4 0
L_0034: ldc.i4.1
L_0035: ldarg.2
L_0036: ldarg.3
L_0037: call Void RenderPawnInternal(Vector3, Single, Boolean, RotDrawMode,
Boolean)
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld Verse.Pawn_CarryTracker carryTracker
L_0047: brfalse Label3
L_004c: ldarg.0
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld Verse.Pawn_CarryTracker carryTracker
L_0057: callvirt Verse.Thing get_CarriedThing()
L_005c: stloc.1
L_005d: ldloc.1
L_005e: brfalse Label4
L_0063: ldarg.1
L_0064: stloc.2
L_0065: ldc.i4.0
L_0066: stloc.3
L_0067: ldc.i4.0
L_0068: stloc.s 4 (System.Boolean)
L_006a: ldarg.0
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.AI.Job get_CurJob()
L_0075: brfalse Label5
L_007a: ldarg.0
L_007b: ldfld Verse.Pawn pawn
L_0080: ldfld Verse.AI.Pawn_JobTracker jobs
L_0085: ldfld Verse.AI.JobDriver curDriver
L_008a: ldloca.s 2 (UnityEngine.Vector3)
L_008c: ldloca.s 3 (System.Boolean)
L_008e: ldloca.s 4 (System.Boolean)
L_0090: callvirt Boolean ModifyCarriedThingDrawPos(Vector3 ByRef, Boolean ByRef,
Boolean ByRef)
L_0095: brfalse Label6
L_009a: br Label7
L_009f: Label5
L_009f: Label6
L_009f: ldloc.1
L_00a0: isinst Verse.Pawn
L_00a5: brtrue Label8
L_00aa: ldloc.1
L_00ab: isinst Verse.Corpse
L_00b0: brfalse Label9
L_00b5: Label8
L_00b5: ldloc.2
L_00b6: ldc.r4 0.44
L_00bb: ldc.r4 0
L_00c0: ldc.r4 0
L_00c5: newobj Void .ctor(Single, Single, Single)
L_00ca: call Vector3 op_Addition(Vector3, Vector3)
L_00cf: stloc.2
L_00d0: br Label10
L_00d5: Label9
L_00d5: ldloc.2
L_00d6: ldc.r4 0.18
L_00db: ldc.r4 0
L_00e0: ldc.r4 0.05
L_00e5: newobj Void .ctor(Single, Single, Single)
L_00ea: call Vector3 op_Addition(Vector3, Vector3)
L_00ef: stloc.2
L_00f0: Label7
L_00f0: Label10
L_00f0: ldloc.3
L_00f1: brfalse Label11
L_00f6: ldloca.s 2 (UnityEngine.Vector3)
L_00f8: dup
L_00f9: ldfld System.Single y
L_00fe: ldc.r4 0.0390625
L_0103: sub
L_0104: stfld System.Single y
L_0109: br Label12
L_010e: Label11
L_010e: ldloca.s 2 (UnityEngine.Vector3)
L_0110: dup
L_0111: ldfld System.Single y
L_0116: ldc.r4 0.0390625
L_011b: add
L_011c: stfld System.Single y
L_0121: Label12
L_0121: ldloc.1
L_0122: ldloc.2
L_0123: ldloc.s 4 (System.Boolean)
L_0125: callvirt Void DrawAt(Vector3, Boolean)
L_012a: Label3
L_012a: Label4
L_012a: ldarg.0
L_012b: ldfld Verse.Pawn pawn
L_0130: ldfld Verse.ThingDef def
L_0135: ldfld Verse.RaceProperties race
L_013a: ldfld Verse.ShadowData specialShadowData
L_013f: brfalse Label13
L_0144: ldarg.0
L_0145: ldfld Verse.Graphic_Shadow shadowGraphic
L_014a: brtrue Label14
L_014f: ldarg.0
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: ldfld Verse.ThingDef def
L_015b: ldfld Verse.RaceProperties race
L_0160: ldfld Verse.ShadowData specialShadowData
L_0165: newobj Void .ctor(ShadowData)
L_016a: stfld Verse.Graphic_Shadow shadowGraphic
L_016f: Label14
L_016f: ldarg.0
L_0170: ldfld Verse.Graphic_Shadow shadowGraphic
L_0175: ldarg.1
L_0176: call Rot4 get_North()
L_017b: ldarg.0
L_017c: ldfld Verse.Pawn pawn
L_0181: ldc.r4 0
L_0186: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_018b: Label13
L_018b: ldarg.0
L_018c: ldfld Verse.PawnGraphicSet graphics
L_0191: ldfld Verse.Graphic nakedGraphic
L_0196: brfalse Label15
L_019b: ldarg.0
L_019c: ldfld Verse.PawnGraphicSet graphics
L_01a1: ldfld Verse.Graphic nakedGraphic
L_01a6: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01ab: brfalse Label16
L_01b0: ldarg.0
L_01b1: ldfld Verse.PawnGraphicSet graphics
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: callvirt Verse.Graphic_Shadow get_ShadowGraphic()
L_01c0: ldarg.1
L_01c1: call Rot4 get_North()
L_01c6: ldarg.0
L_01c7: ldfld Verse.Pawn pawn
L_01cc: ldc.r4 0
L_01d1: callvirt Void Draw(Vector3, Rot4, Verse.Thing, Single)
L_01d6: Label15
L_01d6: Label16
L_01d6: br Label17
L_01db: Label2
L_01db: ldarg.0
L_01dc: call Rot4 LayingFacing()
L_01e1: stloc.s 8 (Verse.Rot4)
L_01e3: ldarg.0
L_01e4: ldfld Verse.Pawn pawn
L_01e9: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_01ee: stloc.s 9 (RimWorld.Building_Bed)
L_01f0: ldloc.s 9 (RimWorld.Building_Bed)
L_01f2: brfalse Label18
L_01f7: ldarg.0
L_01f8: ldfld Verse.Pawn pawn
L_01fd: callvirt Verse.RaceProperties get_RaceProps()
L_0202: callvirt Boolean get_Humanlike()
L_0207: brfalse Label19
L_020c: ldloc.s 9 (RimWorld.Building_Bed)
L_020e: ldfld Verse.ThingDef def
L_0213: ldfld RimWorld.BuildingProperties building
L_0218: ldfld System.Boolean bed_showSleeperBody
L_021d: stloc.s 5 (System.Boolean)
L_021f: ldloc.s 9 (RimWorld.Building_Bed)
L_0221: callvirt Rot4 get_Rotation()
L_0226: stloc.s 10 (Verse.Rot4)
L_0228: ldloca.s 10 (Verse.Rot4)
L_022a: dup
L_022b: call Int32 get_AsInt()
L_0230: ldc.i4.2
L_0231: add
L_0232: call Void set_AsInt(Int32)
L_0237: ldloca.s 10 (Verse.Rot4)
L_0239: call Single get_AsAngle()
L_023e: stloc.s 7 (System.Single)
L_0240: ldloc.s 9 (RimWorld.Building_Bed)
L_0242: ldfld Verse.ThingDef def
L_0247: ldfld Verse.AltitudeLayer altitudeLayer
L_024c: ldc.i4.s 15
L_024e: call Int32 Max(Int32, Int32)
L_0253: conv.u1
L_0254: stloc.s 11 (Verse.AltitudeLayer)
L_0256: ldarg.0
L_0257: ldfld Verse.Pawn pawn
L_025c: callvirt IntVec3 get_Position()
L_0261: stloc.s 13 (Verse.IntVec3)
L_0263: ldloca.s 13 (Verse.IntVec3)
L_0265: ldloc.s 11 (Verse.AltitudeLayer)
L_0267: call Vector3 ToVector3ShiftedWithAltitude(AltitudeLayer)
L_026c: stloc.s 12 (UnityEngine.Vector3)
L_026e: ldloc.s 12 (UnityEngine.Vector3)
L_0270: stloc.s 14 (UnityEngine.Vector3)
L_0272: ldloca.s 14 (UnityEngine.Vector3)
L_0274: dup
L_0275: ldfld System.Single y
L_027a: ldc.r4 0.02734375
L_027f: add
L_0280: stfld System.Single y
L_0285: ldarg.0
L_0286: call Rot4 get_South()
L_028b: call Vector3 BaseHeadOffsetAt(Rot4)
L_0290: stloc.s 16 (UnityEngine.Vector3)
L_0292: ldloca.s 16 (UnityEngine.Vector3)
L_0294: ldfld System.Single z
L_0299: neg
L_029a: stloc.s 15 (System.Single)
L_029c: ldloca.s 10 (Verse.Rot4)
L_029e: call IntVec3 get_FacingCell()
L_02a3: stloc.s 18 (Verse.IntVec3)
L_02a5: ldloca.s 18 (Verse.IntVec3)
L_02a7: call Vector3 ToVector3()
L_02ac: stloc.s 17 (UnityEngine.Vector3)
L_02ae: ldloc.s 12 (UnityEngine.Vector3)
L_02b0: ldloc.s 17 (UnityEngine.Vector3)
L_02b2: ldloc.s 15 (System.Single)
L_02b4: call Vector3 op_Multiply(Vector3, Single)
L_02b9: call Vector3 op_Addition(Vector3, Vector3)
L_02be: stloc.s 6 (UnityEngine.Vector3)
L_02c0: ldloca.s 6 (UnityEngine.Vector3)
L_02c2: dup
L_02c3: ldfld System.Single y
L_02c8: ldc.r4 0.0078125
L_02cd: add
L_02ce: stfld System.Single y
L_02d3: br Label20
L_02d8: Label18
L_02d8: Label19
L_02d8: ldc.i4.1
L_02d9: stloc.s 5 (System.Boolean)
L_02db: ldarg.1
L_02dc: stloc.s 6 (UnityEngine.Vector3)
L_02de: ldarg.0
L_02df: ldfld Verse.Pawn pawn
L_02e4: callvirt Boolean get_Dead()
L_02e9: brtrue Label21
L_02ee: ldarg.0
L_02ef: ldfld Verse.Pawn pawn
L_02f4: callvirt Verse.Pawn get_CarriedBy()
L_02f9: brtrue Label22
L_02fe: ldloca.s 6 (UnityEngine.Vector3)
L_0300: ldc.i4.s 15
L_0302: call Single AltitudeFor(AltitudeLayer)
L_0307: ldc.r4 0.0078125
L_030c: add
L_030d: stfld System.Single y
L_0312: Label21
L_0312: Label22
L_0312: ldarg.0
L_0313: ldfld Verse.Pawn pawn
L_0318: callvirt Boolean get_Downed()
L_031d: brtrue Label23
L_0322: ldarg.0
L_0323: ldfld Verse.Pawn pawn
L_0328: callvirt Boolean get_Dead()
L_032d: brfalse Label24
L_0332: Label23
L_0332: ldarg.0
L_0333: ldfld Verse.PawnDownedWiggler wiggler
L_0338: ldfld System.Single downedAngle
L_033d: stloc.s 7 (System.Single)
L_033f: br Label25
L_0344: Label24
L_0344: ldarg.0
L_0345: ldfld Verse.Pawn pawn
L_034a: callvirt Verse.RaceProperties get_RaceProps()
L_034f: callvirt Boolean get_Humanlike()
L_0354: brfalse Label26
L_0359: ldloca.s 8 (Verse.Rot4)
L_035b: call Single get_AsAngle()
L_0360: stloc.s 7 (System.Single)
L_0362: br Label27
L_0367: Label26
L_0367: call Rot4 get_West()
L_036c: stloc.s 19 (Verse.Rot4)
L_036e: ldarg.0
L_036f: ldfld Verse.Pawn pawn
L_0374: ldfld System.Int32 thingIDNumber
L_0379: ldc.i4.2
L_037a: rem
L_037b: stloc.s 20 (System.Int32)
L_037d: ldloc.s 20 (System.Int32)
L_037f: brfalse Label28
L_0384: ldloc.s 20 (System.Int32)
L_0386: ldc.i4.1
L_0387: beq Label29
L_038c: br Label30
L_0391: Label28
L_0391: call Rot4 get_West()
L_0396: stloc.s 19 (Verse.Rot4)
L_0398: br Label31
L_039d: Label29
L_039d: call Rot4 get_East()
L_03a2: stloc.s 19 (Verse.Rot4)
L_03a4: br Label32
L_03a9: Label30
L_03a9: Label31
L_03a9: Label32
L_03a9: ldloca.s 19 (Verse.Rot4)
L_03ab: call Single get_AsAngle()
L_03b0: stloc.s 7 (System.Single)
L_03b2: Label20
L_03b2: Label25
L_03b2: Label27
L_03b2: ldarg.0
L_03b3: ldloc.s 6 (UnityEngine.Vector3)
L_03b5: ldloc.s 7 (System.Single)
L_03b7: ldloc.s 5 (System.Boolean)
L_03b9: ldloc.s 8 (Verse.Rot4)
L_03bb: ldloc.s 8 (Verse.Rot4)
L_03bd: ldarg.2
L_03be: ldc.i4.0
L_03bf: ldarg.3
L_03c0: call Void RenderPawnInternal(Vector3, Single, Boolean, Rot4, Rot4,
RotDrawMode, Boolean, Boolean)
L_03c5: Label17
L_03c5: ldarg.0
L_03c6: ldfld Verse.Pawn pawn
L_03cb: callvirt Boolean get_Spawned()
L_03d0: brfalse Label33
L_03d5: ldarg.0
L_03d6: ldfld Verse.Pawn pawn
L_03db: callvirt Boolean get_Dead()
L_03e0: brtrue Label34
L_03e5: ldarg.0
L_03e6: ldfld Verse.Pawn pawn
L_03eb: ldfld Verse.Pawn_StanceTracker stances
L_03f0: callvirt Void StanceTrackerDraw()
L_03f5: ldarg.0
L_03f6: ldfld Verse.Pawn pawn
L_03fb: ldfld Verse.AI.Pawn_PathFollower pather
L_0400: callvirt Void PatherDraw()
L_0405: Label33
L_0405: Label34
L_0405: ldarg.0
L_0406: call Void DrawDebug()
L_040b: ldarg.0
L_040c: ldarga 1
L_0412: ldarga 2
L_0418: ldarga 3
L_041e: call Void Patch_PawnRenderer_RenderPawnAt(Verse.PawnRenderer, Vector3
ByRef, RotDrawMode ByRef, Boolean ByRef)
L_0423: ret
DONE

### Patch Verse.Pawn_HealthTracker, Void PreApplyDamage(DamageInfo, Boolean ByRef)


L_0000: Local var 0: Verse.Pawn
L_0000: Local var 1: Verse.AI.Group.Lord
L_0000: Local var 2: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Pawn
L_0000: ldarg.0
L_0001: ldarga 1
L_0007: ldarg 2
L_000d: call Boolean PreApplyDamage_PrePatch(Verse.Pawn_HealthTracker, DamageInfo
ByRef, Boolean ByRef)
L_0012: brfalse Label0
L_0017: ldarg.0
L_0018: ldarga 1
L_001e: ldarg 2
L_0024: call Boolean
Patch_Pawn_HealthTracker_PreApplyDamage(Verse.Pawn_HealthTracker, DamageInfo ByRef,
Boolean ByRef)
L_0029: brfalse Label0
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Instigator()
L_0035: brfalse Label1
L_003a: ldarg.0
L_003b: ldfld Verse.Pawn pawn
L_0040: callvirt RimWorld.Faction get_Faction()
L_0045: brfalse Label2
L_004a: ldarg.0
L_004b: ldfld Verse.Pawn pawn
L_0050: callvirt RimWorld.Faction get_Faction()
L_0055: callvirt Boolean get_IsPlayer()
L_005a: brfalse Label3
L_005f: ldarg.0
L_0060: ldfld Verse.Pawn pawn
L_0065: callvirt Boolean get_InAggroMentalState()
L_006a: brtrue Label4
L_006f: ldarga.s 1
L_0071: call Verse.Thing get_Instigator()
L_0076: isinst Verse.Pawn
L_007b: stloc.0
L_007c: ldloc.0
L_007d: brfalse Label5
L_0082: ldloc.0
L_0083: ldfld RimWorld.Pawn_GuiltTracker guilt
L_0088: brfalse Label6
L_008d: ldloc.0
L_008e: ldfld Verse.AI.Pawn_MindState mindState
L_0093: brfalse Label7
L_0098: ldloc.0
L_0099: ldfld RimWorld.Pawn_GuiltTracker guilt
L_009e: callvirt Void Notify_Guilty()
L_00a3: Label1
L_00a3: Label2
L_00a3: Label3
L_00a3: Label4
L_00a3: Label5
L_00a3: Label6
L_00a3: Label7
L_00a3: ldarg.0
L_00a4: ldfld Verse.Pawn pawn
L_00a9: callvirt Boolean get_Spawned()
L_00ae: brfalse Label8
L_00b3: ldarg.0
L_00b4: ldfld Verse.Pawn pawn
L_00b9: callvirt IntVec3 get_Position()
L_00be: ldarg.0
L_00bf: ldfld Verse.Pawn pawn
L_00c4: callvirt Verse.Map get_Map()
L_00c9: call Boolean Fogged(IntVec3, Verse.Map)
L_00ce: brtrue Label9
L_00d3: ldarg.0
L_00d4: ldfld Verse.Pawn pawn
L_00d9: ldfld Verse.AI.Pawn_MindState mindState
L_00de: ldc.i4.1
L_00df: callvirt Void set_Active(Boolean)
L_00e4: Label9
L_00e4: ldarg.0
L_00e5: ldfld Verse.Pawn pawn
L_00ea: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00ef: stloc.1
L_00f0: ldloc.1
L_00f1: brfalse Label10
L_00f6: ldloc.1
L_00f7: ldarg.0
L_00f8: ldfld Verse.Pawn pawn
L_00fd: ldarg.1
L_00fe: callvirt Void Notify_PawnDamaged(Verse.Pawn, DamageInfo)
L_0103: Label10
L_0103: ldarga.s 1
L_0105: call Verse.DamageDef get_Def()
L_010a: ldarg.0
L_010b: ldfld Verse.Pawn pawn
L_0110: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0115: brfalse Label11
L_011a: ldarg.0
L_011b: ldfld Verse.Pawn pawn
L_0120: ldc.r4 18
L_0125: ldsfld Verse.ClamorDef Harm
L_012a: call Void DoClamor(Verse.Thing, Single, Verse.ClamorDef)
L_012f: Label11
L_012f: ldarg.0
L_0130: ldfld Verse.Pawn pawn
L_0135: ldfld Verse.AI.Pawn_JobTracker jobs
L_013a: ldarg.1
L_013b: callvirt Void Notify_DamageTaken(DamageInfo)
L_0140: Label8
L_0140: ldarg.0
L_0141: ldfld Verse.Pawn pawn
L_0146: callvirt RimWorld.Faction get_Faction()
L_014b: brfalse Label12
L_0150: ldarg.0
L_0151: ldfld Verse.Pawn pawn
L_0156: callvirt RimWorld.Faction get_Faction()
L_015b: ldarg.0
L_015c: ldfld Verse.Pawn pawn
L_0161: ldarg.1
L_0162: callvirt Void Notify_MemberTookDamage(Verse.Pawn, DamageInfo)
L_0167: call ProgramState get_ProgramState()
L_016c: ldc.i4.2
L_016d: bne.un Label13
L_0172: ldarg.0
L_0173: ldfld Verse.Pawn pawn
L_0178: callvirt RimWorld.Faction get_Faction()
L_017d: call RimWorld.Faction get_OfPlayer()
L_0182: bne.un Label14
L_0187: ldarga.s 1
L_0189: call Verse.DamageDef get_Def()
L_018e: ldarg.0
L_018f: ldfld Verse.Pawn pawn
L_0194: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0199: brfalse Label15
L_019e: ldarg.0
L_019f: ldfld Verse.Pawn pawn
L_01a4: callvirt Boolean get_SpawnedOrAnyParentSpawned()
L_01a9: brfalse Label16
L_01ae: ldarg.0
L_01af: ldfld Verse.Pawn pawn
L_01b4: callvirt Verse.Map get_MapHeld()
L_01b9: ldfld RimWorld.DangerWatcher dangerWatcher
L_01be: callvirt Void Notify_ColonistHarmedExternally()
L_01c3: Label12
L_01c3: Label13
L_01c3: Label14
L_01c3: Label15
L_01c3: Label16
L_01c3: ldarg.0
L_01c4: ldfld Verse.Pawn pawn
L_01c9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ce: brfalse Label17
L_01d3: ldarg.0
L_01d4: ldfld Verse.Pawn pawn
L_01d9: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01de: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_01e3: stloc.2
L_01e4: ldc.i4.0
L_01e5: stloc.3
L_01e6: br Label18
L_01eb: Label20
L_01eb: ldloc.2
L_01ec: ldloc.3
L_01ed: callvirt RimWorld.Apparel get_Item(Int32)
L_01f2: ldarg.1
L_01f3: callvirt Boolean CheckPreAbsorbDamage(DamageInfo)
L_01f8: brfalse Label19
L_01fd: ldarg.2
L_01fe: ldc.i4.1
L_01ff: stind.i1
L_0200: br Label32
L_0205: Label19
L_0205: ldloc.3
L_0206: ldc.i4.1
L_0207: add
L_0208: stloc.3
L_0209: Label18
L_0209: ldloc.3
L_020a: ldloc.2
L_020b: callvirt Int32 get_Count()
L_0210: blt Label20
L_0215: Label17
L_0215: ldarg.0
L_0216: ldfld Verse.Pawn pawn
L_021b: callvirt Boolean get_Spawned()
L_0220: brfalse Label21
L_0225: ldarg.0
L_0226: ldfld Verse.Pawn pawn
L_022b: ldfld Verse.Pawn_StanceTracker stances
L_0230: ldarg.1
L_0231: callvirt Void Notify_DamageTaken(DamageInfo)
L_0236: ldarg.0
L_0237: ldfld Verse.Pawn pawn
L_023c: ldfld Verse.Pawn_StanceTracker stances
L_0241: ldfld RimWorld.StunHandler stunner
L_0246: ldarg.1
L_0247: ldarg.0
L_0248: ldfld Verse.Pawn pawn
L_024d: callvirt Verse.RaceProperties get_RaceProps()
L_0252: callvirt Boolean get_IsFlesh()
L_0257: ldc.i4.0
L_0258: ceq
L_025a: callvirt Void Notify_DamageApplied(DamageInfo, Boolean)
L_025f: Label21
L_025f: ldarg.0
L_0260: ldfld Verse.Pawn pawn
L_0265: callvirt Verse.RaceProperties get_RaceProps()
L_026a: callvirt Boolean get_IsFlesh()
L_026f: brfalse Label22
L_0274: ldarga.s 1
L_0276: call Verse.DamageDef get_Def()
L_027b: ldarg.0
L_027c: ldfld Verse.Pawn pawn
L_0281: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_0286: brfalse Label23
L_028b: ldarga.s 1
L_028d: call Verse.Thing get_Instigator()
L_0292: isinst Verse.Pawn
L_0297: stloc.s 4 (Verse.Pawn)
L_0299: ldloc.s 4 (Verse.Pawn)
L_029b: brfalse Label24
L_02a0: ldloc.s 4 (Verse.Pawn)
L_02a2: ldarg.0
L_02a3: ldfld Verse.Pawn pawn
L_02a8: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_02ad: brfalse Label25
L_02b2: ldarg.0
L_02b3: ldfld Verse.Pawn pawn
L_02b8: ldfld RimWorld.Pawn_RelationsTracker relations
L_02bd: ldc.i4.1
L_02be: stfld System.Boolean canGetRescuedThought
L_02c3: Label25
L_02c3: ldarg.0
L_02c4: ldfld Verse.Pawn pawn
L_02c9: callvirt Verse.RaceProperties get_RaceProps()
L_02ce: callvirt Boolean get_Humanlike()
L_02d3: brfalse Label26
L_02d8: ldloc.s 4 (Verse.Pawn)
L_02da: callvirt Verse.RaceProperties get_RaceProps()
L_02df: callvirt Boolean get_Humanlike()
L_02e4: brfalse Label27
L_02e9: ldarg.0
L_02ea: ldfld Verse.Pawn pawn
L_02ef: ldfld RimWorld.Pawn_NeedsTracker needs
L_02f4: ldfld RimWorld.Need_Mood mood
L_02f9: brfalse Label28
L_02fe: ldloc.s 4 (Verse.Pawn)
L_0300: ldarg.0
L_0301: ldfld Verse.Pawn pawn
L_0306: call Boolean HostileTo(Verse.Thing, Verse.Thing)
L_030b: brfalse Label29
L_0310: ldloc.s 4 (Verse.Pawn)
L_0312: callvirt RimWorld.Faction get_Faction()
L_0317: ldarg.0
L_0318: ldfld Verse.Pawn pawn
L_031d: callvirt RimWorld.Faction get_Faction()
L_0322: bne.un Label30
L_0327: ldloc.s 4 (Verse.Pawn)
L_0329: callvirt Boolean get_InMentalState()
L_032e: brfalse Label31
L_0333: Label29
L_0333: ldarg.0
L_0334: ldfld Verse.Pawn pawn
L_0339: ldfld RimWorld.Pawn_NeedsTracker needs
L_033e: ldfld RimWorld.Need_Mood mood
L_0343: ldfld RimWorld.ThoughtHandler thoughts
L_0348: ldfld RimWorld.MemoryThoughtHandler memories
L_034d: ldsfld RimWorld.ThoughtDef HarmedMe
L_0352: ldloc.s 4 (Verse.Pawn)
L_0354: callvirt Void TryGainMemory(RimWorld.ThoughtDef, Verse.Pawn)
L_0359: Label24
L_0359: Label26
L_0359: Label27
L_0359: Label28
L_0359: Label30
L_0359: Label31
L_0359: ldsfld RimWorld.TaleDef Wounded
L_035e: ldc.i4.3
L_035f: newarr System.Object
L_0364: dup
L_0365: ldc.i4.0
L_0366: ldarg.0
L_0367: ldfld Verse.Pawn pawn
L_036c: stelem.ref
L_036d: dup
L_036e: ldc.i4.1
L_036f: ldloc.s 4 (Verse.Pawn)
L_0371: stelem.ref
L_0372: dup
L_0373: ldc.i4.2
L_0374: ldarga.s 1
L_0376: call Verse.ThingDef get_Weapon()
L_037b: stelem.ref
L_037c: call RimWorld.Tale RecordTale(RimWorld.TaleDef, System.Object[])
L_0381: pop
L_0382: Label22
L_0382: Label23
L_0382: ldarg.2
L_0383: ldc.i4.0
L_0384: stind.i1
L_0385: Label32
L_0385: Label0
L_0385: ret
DONE

### Patch Verse.Pawn_EquipmentTracker, Void MakeRoomFor(Verse.ThingWithComps)


L_0000: Local var 0: Verse.ThingWithComps
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld Verse.EquipmentType equipmentType
L_000b: ldc.i4.1
L_000c: bne.un Label1
L_0011: ldarg.0
L_0012: call Verse.ThingWithComps get_Primary()
L_0017: brfalse Label2
L_001c: ldarg.0
L_001d: ldarg.0
L_001e: call Verse.ThingWithComps get_Primary()
L_0023: ldloca.s 0 (Verse.ThingWithComps)
L_0025: ldarg.0
L_0026: ldfld Verse.Pawn pawn
L_002b: callvirt IntVec3 get_Position()
L_0030: ldc.i4.1
L_0031: call Boolean TryDropEquipment(Verse.ThingWithComps, Verse.ThingWithComps
ByRef, IntVec3, Boolean)
L_0036: brfalse Label3
L_003b: ldloc.0
L_003c: brfalse Label4
L_0041: ldloc.0
L_0042: ldc.i4.0
L_0043: ldc.i4.1
L_0044: call Void SetForbidden(Verse.Thing, Boolean, Boolean)
L_0049: Label4
L_0049: br Label5
L_004e: Label3
L_004e: ldarg.0
L_004f: ldfld Verse.Pawn pawn
L_0054: ldstr " couldn't make room for equipment "
L_0059: ldarg.1
L_005a: call System.String Concat(System.Object, System.Object, System.Object)
L_005f: ldc.i4.0
L_0060: call Void Error(System.String, Boolean)
L_0065: Label1
L_0065: Label2
L_0065: Label5
L_0065: ldarg.0
L_0066: ldarga 1
L_006c: call Void
Patch_Pawn_EquipmentTracker_MakeRoomFor(Verse.Pawn_EquipmentTracker,
Verse.ThingWithComps ByRef)
L_0071: ret
DONE

### Patch RimWorld.StatWorker, System.String GetExplanationUnfinalized(StatRequest,


ToStringNumberSense)
L_0000: Local var 0: System.Text.StringBuilder
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.SkillNeed
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Single
L_0000: Local var 7: RimWorld.PawnCapacityOffset
L_0000: Local var 8:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityOffset, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: System.String
L_0000: Local var 10: System.Single
L_0000: Local var 11: System.Single
L_0000: Local var 12: System.String
L_0000: Local var 13: System.String
L_0000: Local var 14: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 15: System.Collections.Generic.List`1[[RimWorld.Trait, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 16: System.Int32
L_0000: Local var 17: RimWorld.Trait
L_0000: Local var 18: System.String
L_0000: Local var 19: System.Int32
L_0000: Local var 20: RimWorld.Trait
L_0000: Local var 21: System.String
L_0000: Local var 22: System.Int32
L_0000: Local var 23: RimWorld.Apparel
L_0000: Local var 24: System.Boolean
L_0000: Local var 25: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 26: System.Int32
L_0000: Local var 27: Verse.HediffStage
L_0000: Local var 28: System.Single
L_0000: Local var 29: System.Single
L_0000: Local var 30: System.Single
L_0000: Local var 31: System.Single
L_0000: Local var 32: RimWorld.CompAffectedByFacilities
L_0000: Local var 33: System.Int32
L_0000: Local var 34: RimWorld.StatDef
L_0000: Local var 35: System.Int32
L_0000: Local var 36: RimWorld.SkillNeed
L_0000: Local var 37: System.Int32
L_0000: Local var 38: RimWorld.PawnCapacityFactor
L_0000: Local var 39:
System.Collections.Generic.IEnumerator`1[[RimWorld.PawnCapacityFactor, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 40: System.String
L_0000: Local var 41: System.Single
L_0000: Local var 42: System.String
L_0000: Local var 43: System.String
L_0000: Local var 44: System.Single
L_0000: Local var 45: System.Single
L_0000: newobj Void .ctor()
L_0005: stloc.0
L_0006: ldarg.0
L_0007: ldarga.s 1
L_0009: call Verse.BuildableDef get_Def()
L_000e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0013: stloc.1
L_0014: ldloc.1
L_0015: ldc.r4 0
L_001a: beq Label1
L_001f: ldloc.0
L_0020: ldstr "StatsReport_BaseValue"
L_0025: call System.String Translate(System.String)
L_002a: ldstr ": "
L_002f: ldarg.0
L_0030: ldfld RimWorld.StatDef stat
L_0035: ldloc.1
L_0036: ldarg.2
L_0037: callvirt System.String ValueToString(Single, ToStringNumberSense)
L_003c: call System.String Concat(System.String, System.String, System.String)
L_0041: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0046: pop
L_0047: ldloc.0
L_0048: callvirt System.Text.StringBuilder AppendLine()
L_004d: pop
L_004e: Label1
L_004e: ldarga.s 1
L_0050: call Verse.Thing get_Thing()
L_0055: isinst Verse.Pawn
L_005a: stloc.2
L_005b: ldloc.2
L_005c: brfalse Label2
L_0061: ldloc.2
L_0062: ldfld RimWorld.Pawn_SkillTracker skills
L_0067: brfalse Label3
L_006c: ldarg.0
L_006d: ldfld RimWorld.StatDef stat
L_0072: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0077: brfalse Label4
L_007c: ldloc.0
L_007d: ldstr "StatsReport_Skills"
L_0082: call System.String Translate(System.String)
L_0087: callvirt System.Text.StringBuilder AppendLine(System.String)
L_008c: pop
L_008d: ldc.i4.0
L_008e: stloc.3
L_008f: br Label5
L_0094: Label6
L_0094: ldarg.0
L_0095: ldfld RimWorld.StatDef stat
L_009a: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_009f: ldloc.3
L_00a0: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00a5: stloc.s 4 (RimWorld.SkillNeed)
L_00a7: ldloc.2
L_00a8: ldfld RimWorld.Pawn_SkillTracker skills
L_00ad: ldloc.s 4 (RimWorld.SkillNeed)
L_00af: ldfld RimWorld.SkillDef skill
L_00b4: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_00b9: callvirt Int32 get_Level()
L_00be: stloc.s 5 (System.Int32)
L_00c0: ldloc.s 4 (RimWorld.SkillNeed)
L_00c2: ldloc.2
L_00c3: callvirt Single ValueFor(Verse.Pawn)
L_00c8: stloc.s 6 (System.Single)
L_00ca: ldloc.0
L_00cb: ldc.i4.7
L_00cc: newarr System.Object
L_00d1: dup
L_00d2: ldc.i4.0
L_00d3: ldstr " "
L_00d8: stelem.ref
L_00d9: dup
L_00da: ldc.i4.1
L_00db: ldloc.s 4 (RimWorld.SkillNeed)
L_00dd: ldfld RimWorld.SkillDef skill
L_00e2: callvirt System.String get_LabelCap()
L_00e7: stelem.ref
L_00e8: dup
L_00e9: ldc.i4.2
L_00ea: ldstr " ("
L_00ef: stelem.ref
L_00f0: dup
L_00f1: ldc.i4.3
L_00f2: ldloc.s 5 (System.Int32)
L_00f4: box System.Int32
L_00f9: stelem.ref
L_00fa: dup
L_00fb: ldc.i4.4
L_00fc: ldstr "): "
L_0101: stelem.ref
L_0102: dup
L_0103: ldc.i4.5
L_0104: ldloc.s 6 (System.Single)
L_0106: call System.String ToStringSign(Single)
L_010b: stelem.ref
L_010c: dup
L_010d: ldc.i4.6
L_010e: ldarg.0
L_010f: ldloc.s 6 (System.Single)
L_0111: ldc.i4.0
L_0112: ldc.i4.1
L_0113: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0118: stelem.ref
L_0119: call System.String Concat(System.Object[])
L_011e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0123: pop
L_0124: ldloc.3
L_0125: ldc.i4.1
L_0126: add
L_0127: stloc.3
L_0128: Label5
L_0128: ldloc.3
L_0129: ldarg.0
L_012a: ldfld RimWorld.StatDef stat
L_012f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_0134: callvirt Int32 get_Count()
L_0139: blt Label6
L_013e: ldloc.0
L_013f: callvirt System.Text.StringBuilder AppendLine()
L_0144: pop
L_0145: Label4
L_0145: br Label7
L_014a: Label3
L_014a: ldarg.0
L_014b: ldfld RimWorld.StatDef stat
L_0150: ldfld System.Single noSkillOffset
L_0155: ldc.r4 0
L_015a: beq Label8
L_015f: ldloc.0
L_0160: ldstr "StatsReport_Skills"
L_0165: call System.String Translate(System.String)
L_016a: callvirt System.Text.StringBuilder AppendLine(System.String)
L_016f: pop
L_0170: ldloc.0
L_0171: ldc.i4.5
L_0172: newarr System.String
L_0177: dup
L_0178: ldc.i4.0
L_0179: ldstr " "
L_017e: stelem.ref
L_017f: dup
L_0180: ldc.i4.1
L_0181: ldstr "default"
L_0186: call System.String Translate(System.String)
L_018b: call System.String CapitalizeFirst(System.String)
L_0190: stelem.ref
L_0191: dup
L_0192: ldc.i4.2
L_0193: ldstr " : "
L_0198: stelem.ref
L_0199: dup
L_019a: ldc.i4.3
L_019b: ldarg.0
L_019c: ldfld RimWorld.StatDef stat
L_01a1: ldfld System.Single noSkillOffset
L_01a6: call System.String ToStringSign(Single)
L_01ab: stelem.ref
L_01ac: dup
L_01ad: ldc.i4.4
L_01ae: ldarg.0
L_01af: ldarg.0
L_01b0: ldfld RimWorld.StatDef stat
L_01b5: ldfld System.Single noSkillOffset
L_01ba: ldc.i4.0
L_01bb: ldc.i4.1
L_01bc: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_01c1: stelem.ref
L_01c2: call System.String Concat(System.String[])
L_01c7: callvirt System.Text.StringBuilder AppendLine(System.String)
L_01cc: pop
L_01cd: ldloc.0
L_01ce: callvirt System.Text.StringBuilder AppendLine()
L_01d3: pop
L_01d4: Label7
L_01d4: Label8
L_01d4: ldarg.0
L_01d5: ldfld RimWorld.StatDef stat
L_01da: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_01df: brfalse Label9
L_01e4: ldloc.0
L_01e5: ldstr "StatsReport_Health"
L_01ea: call Boolean CanTranslate(System.String)
L_01ef: brfalse Label10
L_01f4: ldstr "StatsReport_Health"
L_01f9: call System.String Translate(System.String)
L_01fe: br Label11
L_0203: Label10
L_0203: ldstr "StatsReport_HealthFactors"
L_0208: call System.String Translate(System.String)
L_020d: Label11
L_020d: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0212: pop
L_0213: ldarg.0
L_0214: ldfld RimWorld.StatDef stat
L_0219: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_021e: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0223: brtrue Label12
L_0228: ldnull
L_0229: ldftn Int32 <GetExplanationUnfinalized>m__0(RimWorld.PawnCapacityOffset)
L_022f: newobj Void .ctor(Object, IntPtr)
L_0234: stsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_0239: Label12
L_0239: ldsfld System.Func`2[RimWorld.PawnCapacityOffset,System.Int32]
<>f__am$cache0
L_023e: call IOrderedEnumerable`1 OrderBy[PawnCapacityOffset,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityOffset,System.Int32])
L_0243: callvirt IEnumerator`1 GetEnumerator()
L_0248: stloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
.try
{
L_024a: br Label13
L_024f: Label15
L_024f: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_0251: callvirt RimWorld.PawnCapacityOffset get_Current()
L_0256: stloc.s 7 (RimWorld.PawnCapacityOffset)
L_0258: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_025a: ldfld Verse.PawnCapacityDef capacity
L_025f: ldloc.2
L_0260: callvirt System.String GetLabelFor(Verse.Pawn)
L_0265: call System.String CapitalizeFirst(System.String)
L_026a: stloc.s 9 (System.String)
L_026c: ldloc.2
L_026d: ldfld Verse.Pawn_HealthTracker health
L_0272: ldfld Verse.PawnCapacitiesHandler capacities
L_0277: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0279: ldfld Verse.PawnCapacityDef capacity
L_027e: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0283: stloc.s 10 (System.Single)
L_0285: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0287: ldloc.2
L_0288: ldfld Verse.Pawn_HealthTracker health
L_028d: ldfld Verse.PawnCapacitiesHandler capacities
L_0292: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0294: ldfld Verse.PawnCapacityDef capacity
L_0299: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_029e: callvirt Single GetOffset(Single)
L_02a3: stloc.s 11 (System.Single)
L_02a5: ldarg.0
L_02a6: ldloc.s 11 (System.Single)
L_02a8: ldc.i4.0
L_02a9: ldc.i4.1
L_02aa: call System.String ValueToString(Single, Boolean,
ToStringNumberSense)
L_02af: stloc.s 12 (System.String)
L_02b1: ldloc.s 10 (System.Single)
L_02b3: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02b5: ldfld System.Single max
L_02ba: call Single Min(Single, Single)
L_02bf: call System.String ToStringPercent(Single)
L_02c4: ldstr ", "
L_02c9: ldstr "HealthOffsetScale"
L_02ce: ldc.i4.1
L_02cf: newarr System.Object
L_02d4: dup
L_02d5: ldc.i4.0
L_02d6: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_02d8: ldflda System.Single scale
L_02dd: constrained. System.Single
L_02e3: callvirt System.String ToString()
L_02e8: ldstr "x"
L_02ed: call System.String Concat(System.String, System.String)
L_02f2: stelem.ref
L_02f3: call System.String Translate(System.String, System.Object[])
L_02f8: call System.String Concat(System.String, System.String,
System.String)
L_02fd: stloc.s 13 (System.String)
L_02ff: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0301: ldfld System.Single max
L_0306: ldc.r4 999
L_030b: bge.un Label14
L_0310: ldloc.s 13 (System.String)
L_0312: ldstr ", "
L_0317: ldstr "HealthFactorMaxImpact"
L_031c: ldc.i4.1
L_031d: newarr System.Object
L_0322: dup
L_0323: ldc.i4.0
L_0324: ldloc.s 7 (RimWorld.PawnCapacityOffset)
L_0326: ldfld System.Single max
L_032b: call System.String ToStringPercent(Single)
L_0330: stelem.ref
L_0331: call System.String Translate(System.String, System.Object[])
L_0336: call System.String Concat(System.String, System.String,
System.String)
L_033b: stloc.s 13 (System.String)
L_033d: Label14
L_033d: ldloc.0
L_033e: ldc.i4.8
L_033f: newarr System.String
L_0344: dup
L_0345: ldc.i4.0
L_0346: ldstr " "
L_034b: stelem.ref
L_034c: dup
L_034d: ldc.i4.1
L_034e: ldloc.s 9 (System.String)
L_0350: stelem.ref
L_0351: dup
L_0352: ldc.i4.2
L_0353: ldstr ": "
L_0358: stelem.ref
L_0359: dup
L_035a: ldc.i4.3
L_035b: ldloc.s 11 (System.Single)
L_035d: call System.String ToStringSign(Single)
L_0362: stelem.ref
L_0363: dup
L_0364: ldc.i4.4
L_0365: ldloc.s 12 (System.String)
L_0367: stelem.ref
L_0368: dup
L_0369: ldc.i4.5
L_036a: ldstr " ("
L_036f: stelem.ref
L_0370: dup
L_0371: ldc.i4.6
L_0372: ldloc.s 13 (System.String)
L_0374: stelem.ref
L_0375: dup
L_0376: ldc.i4.7
L_0377: ldstr ")"
L_037c: stelem.ref
L_037d: call System.String Concat(System.String[])
L_0382: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0387: pop
L_0388: Label13
L_0388: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_038a: callvirt Boolean MoveNext()
L_038f: brtrue Label15
L_0394: leave Label16
L_0399: leave (autogenerated)
} // end try
.finally
{
L_039e: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a0: brfalse Label17
L_03a5: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityOffset])
L_03a7: callvirt Void Dispose()
L_03ac: Label17
L_03ac: endfinally
L_03ad: leave (autogenerated)
} // end handler
L_03ae: Label16
L_03ae: ldloc.0
L_03af: callvirt System.Text.StringBuilder AppendLine()
L_03b4: pop
L_03b5: Label9
L_03b5: ldloc.2
L_03b6: callvirt Verse.RaceProperties get_RaceProps()
L_03bb: ldfld Verse.Intelligence intelligence
L_03c0: ldc.i4.1
L_03c1: blt Label18
L_03c6: ldloc.2
L_03c7: ldfld RimWorld.Pawn_StoryTracker story
L_03cc: brfalse Label19
L_03d1: ldloc.2
L_03d2: ldfld RimWorld.Pawn_StoryTracker story
L_03d7: ldfld RimWorld.TraitSet traits
L_03dc: brfalse Label20
L_03e1: ldloc.2
L_03e2: ldfld RimWorld.Pawn_StoryTracker story
L_03e7: ldfld RimWorld.TraitSet traits
L_03ec: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_03f1: ldarg.0
L_03f2: ldftn Boolean <GetExplanationUnfinalized>m__1(RimWorld.Trait)
L_03f8: newobj Void .ctor(Object, IntPtr)
L_03fd: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_0402: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_0407: stloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0409: ldloc.2
L_040a: ldfld RimWorld.Pawn_StoryTracker story
L_040f: ldfld RimWorld.TraitSet traits
L_0414: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0419: ldarg.0
L_041a: ldftn Boolean <GetExplanationUnfinalized>m__2(RimWorld.Trait)
L_0420: newobj Void .ctor(Object, IntPtr)
L_0425: call IEnumerable`1 Where[Trait](IEnumerable`1,
System.Func`2[RimWorld.Trait,System.Boolean])
L_042a: call System.Collections.Generic.List`1[RimWorld.Trait] ToList[Trait]
(IEnumerable`1)
L_042f: stloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0431: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0433: callvirt Int32 get_Count()
L_0438: ldc.i4.0
L_0439: bgt Label21
L_043e: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0440: callvirt Int32 get_Count()
L_0445: ldc.i4.0
L_0446: ble Label22
L_044b: Label21
L_044b: ldloc.0
L_044c: ldstr "StatsReport_RelevantTraits"
L_0451: call System.String Translate(System.String)
L_0456: callvirt System.Text.StringBuilder AppendLine(System.String)
L_045b: pop
L_045c: ldc.i4.0
L_045d: stloc.s 16 (System.Int32)
L_045f: br Label23
L_0464: Label24
L_0464: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0466: ldloc.s 16 (System.Int32)
L_0468: callvirt RimWorld.Trait get_Item(Int32)
L_046d: stloc.s 17 (RimWorld.Trait)
L_046f: ldloc.s 17 (RimWorld.Trait)
L_0471: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_0476: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_047b: ldarg.0
L_047c: ldftn Boolean <GetExplanationUnfinalized>m__3(RimWorld.StatModifier)
L_0482: newobj Void .ctor(Object, IntPtr)
L_0487: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_048c: callvirt System.String get_ValueToStringAsOffset()
L_0491: stloc.s 18 (System.String)
L_0493: ldloc.0
L_0494: ldstr " "
L_0499: ldloc.s 17 (RimWorld.Trait)
L_049b: callvirt System.String get_LabelCap()
L_04a0: ldstr ": "
L_04a5: ldloc.s 18 (System.String)
L_04a7: call System.String Concat(System.String, System.String, System.String,
System.String)
L_04ac: callvirt System.Text.StringBuilder AppendLine(System.String)
L_04b1: pop
L_04b2: ldloc.s 16 (System.Int32)
L_04b4: ldc.i4.1
L_04b5: add
L_04b6: stloc.s 16 (System.Int32)
L_04b8: Label23
L_04b8: ldloc.s 16 (System.Int32)
L_04ba: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04bc: callvirt Int32 get_Count()
L_04c1: blt Label24
L_04c6: ldc.i4.0
L_04c7: stloc.s 19 (System.Int32)
L_04c9: br Label25
L_04ce: Label26
L_04ce: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_04d0: ldloc.s 19 (System.Int32)
L_04d2: callvirt RimWorld.Trait get_Item(Int32)
L_04d7: stloc.s 20 (RimWorld.Trait)
L_04d9: ldloc.s 20 (RimWorld.Trait)
L_04db: callvirt RimWorld.TraitDegreeData get_CurrentData()
L_04e0: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_04e5: ldarg.0
L_04e6: ldftn Boolean <GetExplanationUnfinalized>m__4(RimWorld.StatModifier)
L_04ec: newobj Void .ctor(Object, IntPtr)
L_04f1: call RimWorld.StatModifier First[StatModifier](IEnumerable`1,
System.Func`2[RimWorld.StatModifier,System.Boolean])
L_04f6: callvirt System.String get_ToStringAsFactor()
L_04fb: stloc.s 21 (System.String)
L_04fd: ldloc.0
L_04fe: ldstr " "
L_0503: ldloc.s 20 (RimWorld.Trait)
L_0505: callvirt System.String get_LabelCap()
L_050a: ldstr ": "
L_050f: ldloc.s 21 (System.String)
L_0511: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0516: callvirt System.Text.StringBuilder AppendLine(System.String)
L_051b: pop
L_051c: ldloc.s 19 (System.Int32)
L_051e: ldc.i4.1
L_051f: add
L_0520: stloc.s 19 (System.Int32)
L_0522: Label25
L_0522: ldloc.s 19 (System.Int32)
L_0524: ldloc.s 15 (System.Collections.Generic.List`1[RimWorld.Trait])
L_0526: callvirt Int32 get_Count()
L_052b: blt Label26
L_0530: ldloc.0
L_0531: callvirt System.Text.StringBuilder AppendLine()
L_0536: pop
L_0537: Label19
L_0537: Label20
L_0537: Label22
L_0537: ldloc.2
L_0538: ldarg.0
L_0539: ldfld RimWorld.StatDef stat
L_053e: call IEnumerable`1 RelevantGear(Verse.Pawn, RimWorld.StatDef)
L_0543: call Boolean Any[Thing](IEnumerable`1)
L_0548: brfalse Label27
L_054d: ldloc.0
L_054e: ldstr "StatsReport_RelevantGear"
L_0553: call System.String Translate(System.String)
L_0558: callvirt System.Text.StringBuilder AppendLine(System.String)
L_055d: pop
L_055e: ldloc.2
L_055f: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0564: brfalse Label28
L_0569: ldc.i4.0
L_056a: stloc.s 22 (System.Int32)
L_056c: br Label29
L_0571: Label30
L_0571: ldloc.2
L_0572: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0577: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_057c: ldloc.s 22 (System.Int32)
L_057e: callvirt RimWorld.Apparel get_Item(Int32)
L_0583: stloc.s 23 (RimWorld.Apparel)
L_0585: ldloc.0
L_0586: ldloc.s 23 (RimWorld.Apparel)
L_0588: ldarg.0
L_0589: ldfld RimWorld.StatDef stat
L_058e: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_0593: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0598: pop
L_0599: ldloc.s 22 (System.Int32)
L_059b: ldc.i4.1
L_059c: add
L_059d: stloc.s 22 (System.Int32)
L_059f: Label29
L_059f: ldloc.s 22 (System.Int32)
L_05a1: ldloc.2
L_05a2: ldfld RimWorld.Pawn_ApparelTracker apparel
L_05a7: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_05ac: callvirt Int32 get_Count()
L_05b1: blt Label30
L_05b6: Label28
L_05b6: ldloc.2
L_05b7: ldfld Verse.Pawn_EquipmentTracker equipment
L_05bc: brfalse Label31
L_05c1: ldloc.2
L_05c2: ldfld Verse.Pawn_EquipmentTracker equipment
L_05c7: callvirt Verse.ThingWithComps get_Primary()
L_05cc: brfalse Label32
L_05d1: ldloc.0
L_05d2: ldloc.2
L_05d3: ldfld Verse.Pawn_EquipmentTracker equipment
L_05d8: callvirt Verse.ThingWithComps get_Primary()
L_05dd: ldarg.0
L_05de: ldfld RimWorld.StatDef stat
L_05e3: call System.String InfoTextLineFromGear(Verse.Thing, RimWorld.StatDef)
L_05e8: callvirt System.Text.StringBuilder AppendLine(System.String)
L_05ed: pop
L_05ee: ldloc.0
L_05ef: ldloc.2
L_05f0: ldarg.0
L_05f1: ldfld RimWorld.StatDef stat
L_05f6: call Void StatWorkerInjection_BuildShieldString(System.Text.StringBuilder,
Verse.Pawn, RimWorld.StatDef)
L_05fb: Label31
L_05fb: Label32
L_05fb: ldloc.0
L_05fc: callvirt System.Text.StringBuilder AppendLine()
L_0601: pop
L_0602: Label18
L_0602: Label27
L_0602: ldc.i4.0
L_0603: stloc.s 24 (System.Boolean)
L_0605: ldloc.2
L_0606: ldfld Verse.Pawn_HealthTracker health
L_060b: ldfld Verse.HediffSet hediffSet
L_0610: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0615: stloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0617: ldc.i4.0
L_0618: stloc.s 26 (System.Int32)
L_061a: br Label33
L_061f: Label37
L_061f: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0621: ldloc.s 26 (System.Int32)
L_0623: callvirt Verse.Hediff get_Item(Int32)
L_0628: callvirt Verse.HediffStage get_CurStage()
L_062d: stloc.s 27 (Verse.HediffStage)
L_062f: ldloc.s 27 (Verse.HediffStage)
L_0631: brfalse Label34
L_0636: ldloc.s 27 (Verse.HediffStage)
L_0638: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_063d: ldarg.0
L_063e: ldfld RimWorld.StatDef stat
L_0643: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0648: stloc.s 28 (System.Single)
L_064a: ldloc.s 28 (System.Single)
L_064c: ldc.r4 0
L_0651: beq Label35
L_0656: ldloc.s 24 (System.Boolean)
L_0658: brtrue Label36
L_065d: ldloc.0
L_065e: ldstr "StatsReport_RelevantHediffs"
L_0663: call System.String Translate(System.String)
L_0668: callvirt System.Text.StringBuilder AppendLine(System.String)
L_066d: pop
L_066e: ldc.i4.1
L_066f: stloc.s 24 (System.Boolean)
L_0671: Label36
L_0671: ldloc.0
L_0672: ldstr " "
L_0677: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_0679: ldloc.s 26 (System.Int32)
L_067b: callvirt Verse.Hediff get_Item(Int32)
L_0680: callvirt System.String get_LabelBase()
L_0685: call System.String CapitalizeFirst(System.String)
L_068a: ldstr ": "
L_068f: ldarg.0
L_0690: ldloc.s 28 (System.Single)
L_0692: ldc.i4.0
L_0693: ldc.i4.3
L_0694: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0699: call System.String Concat(System.String, System.String, System.String,
System.String)
L_069e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_06a3: pop
L_06a4: ldloc.0
L_06a5: callvirt System.Text.StringBuilder AppendLine()
L_06aa: pop
L_06ab: Label34
L_06ab: Label35
L_06ab: ldloc.s 26 (System.Int32)
L_06ad: ldc.i4.1
L_06ae: add
L_06af: stloc.s 26 (System.Int32)
L_06b1: Label33
L_06b1: ldloc.s 26 (System.Int32)
L_06b3: ldloc.s 25 (System.Collections.Generic.List`1[Verse.Hediff])
L_06b5: callvirt Int32 get_Count()
L_06ba: blt Label37
L_06bf: ldloc.2
L_06c0: ldfld Verse.Pawn_AgeTracker ageTracker
L_06c5: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_06ca: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_06cf: ldarg.0
L_06d0: ldfld RimWorld.StatDef stat
L_06d5: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_06da: stloc.s 29 (System.Single)
L_06dc: ldloc.s 29 (System.Single)
L_06de: ldc.r4 1
L_06e3: beq Label38
L_06e8: ldloc.0
L_06e9: ldc.i4.5
L_06ea: newarr System.String
L_06ef: dup
L_06f0: ldc.i4.0
L_06f1: ldstr "StatsReport_LifeStage"
L_06f6: call System.String Translate(System.String)
L_06fb: stelem.ref
L_06fc: dup
L_06fd: ldc.i4.1
L_06fe: ldstr " ("
L_0703: stelem.ref
L_0704: dup
L_0705: ldc.i4.2
L_0706: ldloc.2
L_0707: ldfld Verse.Pawn_AgeTracker ageTracker
L_070c: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_0711: ldfld System.String label
L_0716: stelem.ref
L_0717: dup
L_0718: ldc.i4.3
L_0719: ldstr "): "
L_071e: stelem.ref
L_071f: dup
L_0720: ldc.i4.4
L_0721: ldloc.s 29 (System.Single)
L_0723: ldc.i4.8
L_0724: ldc.i4.2
L_0725: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_072a: stelem.ref
L_072b: call System.String Concat(System.String[])
L_0730: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0735: pop
L_0736: ldloc.0
L_0737: callvirt System.Text.StringBuilder AppendLine()
L_073c: pop
L_073d: Label2
L_073d: Label38
L_073d: ldarga.s 1
L_073f: call Verse.ThingDef get_StuffDef()
L_0744: brfalse Label39
L_0749: ldloc.1
L_074a: ldc.r4 0
L_074f: bgt Label40
L_0754: ldarg.0
L_0755: ldfld RimWorld.StatDef stat
L_075a: ldfld System.Boolean applyFactorsIfNegative
L_075f: brfalse Label41
L_0764: Label40
L_0764: ldarga.s 1
L_0766: call Verse.ThingDef get_StuffDef()
L_076b: ldfld Verse.StuffProperties stuffProps
L_0770: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0775: ldarg.0
L_0776: ldfld RimWorld.StatDef stat
L_077b: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0780: stloc.s 30 (System.Single)
L_0782: ldloc.s 30 (System.Single)
L_0784: ldc.r4 1
L_0789: beq Label42
L_078e: ldloc.0
L_078f: ldc.i4.5
L_0790: newarr System.String
L_0795: dup
L_0796: ldc.i4.0
L_0797: ldstr "StatsReport_Material"
L_079c: call System.String Translate(System.String)
L_07a1: stelem.ref
L_07a2: dup
L_07a3: ldc.i4.1
L_07a4: ldstr " ("
L_07a9: stelem.ref
L_07aa: dup
L_07ab: ldc.i4.2
L_07ac: ldarga.s 1
L_07ae: call Verse.ThingDef get_StuffDef()
L_07b3: callvirt System.String get_LabelCap()
L_07b8: stelem.ref
L_07b9: dup
L_07ba: ldc.i4.3
L_07bb: ldstr "): "
L_07c0: stelem.ref
L_07c1: dup
L_07c2: ldc.i4.4
L_07c3: ldloc.s 30 (System.Single)
L_07c5: ldc.i4.8
L_07c6: ldc.i4.2
L_07c7: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_07cc: stelem.ref
L_07cd: call System.String Concat(System.String[])
L_07d2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_07d7: pop
L_07d8: ldloc.0
L_07d9: callvirt System.Text.StringBuilder AppendLine()
L_07de: pop
L_07df: Label41
L_07df: Label42
L_07df: ldarga.s 1
L_07e1: call Verse.ThingDef get_StuffDef()
L_07e6: ldfld Verse.StuffProperties stuffProps
L_07eb: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_07f0: ldarg.0
L_07f1: ldfld RimWorld.StatDef stat
L_07f6: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_07fb: stloc.s 31 (System.Single)
L_07fd: ldloc.s 31 (System.Single)
L_07ff: ldc.r4 0
L_0804: beq Label43
L_0809: ldloc.0
L_080a: ldc.i4.5
L_080b: newarr System.String
L_0810: dup
L_0811: ldc.i4.0
L_0812: ldstr "StatsReport_Material"
L_0817: call System.String Translate(System.String)
L_081c: stelem.ref
L_081d: dup
L_081e: ldc.i4.1
L_081f: ldstr " ("
L_0824: stelem.ref
L_0825: dup
L_0826: ldc.i4.2
L_0827: ldarga.s 1
L_0829: call Verse.ThingDef get_StuffDef()
L_082e: callvirt System.String get_LabelCap()
L_0833: stelem.ref
L_0834: dup
L_0835: ldc.i4.3
L_0836: ldstr "): "
L_083b: stelem.ref
L_083c: dup
L_083d: ldc.i4.4
L_083e: ldloc.s 31 (System.Single)
L_0840: ldarg.0
L_0841: ldfld RimWorld.StatDef stat
L_0846: ldfld Verse.ToStringStyle toStringStyle
L_084b: ldc.i4.3
L_084c: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0851: stelem.ref
L_0852: call System.String Concat(System.String[])
L_0857: callvirt System.Text.StringBuilder AppendLine(System.String)
L_085c: pop
L_085d: ldloc.0
L_085e: callvirt System.Text.StringBuilder AppendLine()
L_0863: pop
L_0864: Label39
L_0864: Label43
L_0864: ldarga.s 1
L_0866: call Verse.Thing get_Thing()
L_086b: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0870: stloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0872: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_0874: brfalse Label44
L_0879: ldloc.s 32 (RimWorld.CompAffectedByFacilities)
L_087b: ldarg.0
L_087c: ldfld RimWorld.StatDef stat
L_0881: ldloc.0
L_0882: callvirt Void GetStatsExplanation(RimWorld.StatDef,
System.Text.StringBuilder)
L_0887: Label44
L_0887: ldarg.0
L_0888: ldfld RimWorld.StatDef stat
L_088d: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0892: brfalse Label45
L_0897: ldloc.0
L_0898: ldstr "StatsReport_OtherStats"
L_089d: call System.String Translate(System.String)
L_08a2: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08a7: pop
L_08a8: ldc.i4.0
L_08a9: stloc.s 33 (System.Int32)
L_08ab: br Label46
L_08b0: Label47
L_08b0: ldarg.0
L_08b1: ldfld RimWorld.StatDef stat
L_08b6: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_08bb: ldloc.s 33 (System.Int32)
L_08bd: callvirt RimWorld.StatDef get_Item(Int32)
L_08c2: stloc.s 34 (RimWorld.StatDef)
L_08c4: ldloc.0
L_08c5: ldstr " "
L_08ca: ldloc.s 34 (RimWorld.StatDef)
L_08cc: callvirt System.String get_LabelCap()
L_08d1: ldstr ": x"
L_08d6: ldloc.s 34 (RimWorld.StatDef)
L_08d8: callvirt RimWorld.StatWorker get_Worker()
L_08dd: ldarg.1
L_08de: ldc.i4.1
L_08df: callvirt Single GetValue(StatRequest, Boolean)
L_08e4: call System.String ToStringPercent(Single)
L_08e9: call System.String Concat(System.String, System.String, System.String,
System.String)
L_08ee: callvirt System.Text.StringBuilder AppendLine(System.String)
L_08f3: pop
L_08f4: ldloc.s 33 (System.Int32)
L_08f6: ldc.i4.1
L_08f7: add
L_08f8: stloc.s 33 (System.Int32)
L_08fa: Label46
L_08fa: ldloc.s 33 (System.Int32)
L_08fc: ldarg.0
L_08fd: ldfld RimWorld.StatDef stat
L_0902: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0907: callvirt Int32 get_Count()
L_090c: blt Label47
L_0911: ldloc.0
L_0912: callvirt System.Text.StringBuilder AppendLine()
L_0917: pop
L_0918: Label45
L_0918: ldloc.2
L_0919: brfalse Label48
L_091e: ldloc.2
L_091f: ldfld RimWorld.Pawn_SkillTracker skills
L_0924: brfalse Label49
L_0929: ldarg.0
L_092a: ldfld RimWorld.StatDef stat
L_092f: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0934: brfalse Label50
L_0939: ldloc.0
L_093a: ldstr "StatsReport_Skills"
L_093f: call System.String Translate(System.String)
L_0944: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0949: pop
L_094a: ldc.i4.0
L_094b: stloc.s 35 (System.Int32)
L_094d: br Label51
L_0952: Label52
L_0952: ldarg.0
L_0953: ldfld RimWorld.StatDef stat
L_0958: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_095d: ldloc.s 35 (System.Int32)
L_095f: callvirt RimWorld.SkillNeed get_Item(Int32)
L_0964: stloc.s 36 (RimWorld.SkillNeed)
L_0966: ldloc.2
L_0967: ldfld RimWorld.Pawn_SkillTracker skills
L_096c: ldloc.s 36 (RimWorld.SkillNeed)
L_096e: ldfld RimWorld.SkillDef skill
L_0973: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_0978: callvirt Int32 get_Level()
L_097d: stloc.s 37 (System.Int32)
L_097f: ldloc.0
L_0980: ldc.i4.6
L_0981: newarr System.Object
L_0986: dup
L_0987: ldc.i4.0
L_0988: ldstr " "
L_098d: stelem.ref
L_098e: dup
L_098f: ldc.i4.1
L_0990: ldloc.s 36 (RimWorld.SkillNeed)
L_0992: ldfld RimWorld.SkillDef skill
L_0997: callvirt System.String get_LabelCap()
L_099c: stelem.ref
L_099d: dup
L_099e: ldc.i4.2
L_099f: ldstr " ("
L_09a4: stelem.ref
L_09a5: dup
L_09a6: ldc.i4.3
L_09a7: ldloc.s 37 (System.Int32)
L_09a9: box System.Int32
L_09ae: stelem.ref
L_09af: dup
L_09b0: ldc.i4.4
L_09b1: ldstr "): x"
L_09b6: stelem.ref
L_09b7: dup
L_09b8: ldc.i4.5
L_09b9: ldloc.s 36 (RimWorld.SkillNeed)
L_09bb: ldloc.2
L_09bc: callvirt Single ValueFor(Verse.Pawn)
L_09c1: call System.String ToStringPercent(Single)
L_09c6: stelem.ref
L_09c7: call System.String Concat(System.Object[])
L_09cc: callvirt System.Text.StringBuilder AppendLine(System.String)
L_09d1: pop
L_09d2: ldloc.s 35 (System.Int32)
L_09d4: ldc.i4.1
L_09d5: add
L_09d6: stloc.s 35 (System.Int32)
L_09d8: Label51
L_09d8: ldloc.s 35 (System.Int32)
L_09da: ldarg.0
L_09db: ldfld RimWorld.StatDef stat
L_09e0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_09e5: callvirt Int32 get_Count()
L_09ea: blt Label52
L_09ef: ldloc.0
L_09f0: callvirt System.Text.StringBuilder AppendLine()
L_09f5: pop
L_09f6: Label50
L_09f6: br Label53
L_09fb: Label49
L_09fb: ldarg.0
L_09fc: ldfld RimWorld.StatDef stat
L_0a01: ldfld System.Single noSkillFactor
L_0a06: ldc.r4 1
L_0a0b: beq Label54
L_0a10: ldloc.0
L_0a11: ldstr "StatsReport_Skills"
L_0a16: call System.String Translate(System.String)
L_0a1b: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a20: pop
L_0a21: ldloc.0
L_0a22: ldstr " "
L_0a27: ldstr "default"
L_0a2c: call System.String Translate(System.String)
L_0a31: call System.String CapitalizeFirst(System.String)
L_0a36: ldstr " : x"
L_0a3b: ldarg.0
L_0a3c: ldfld RimWorld.StatDef stat
L_0a41: ldfld System.Single noSkillFactor
L_0a46: call System.String ToStringPercent(Single)
L_0a4b: call System.String Concat(System.String, System.String, System.String,
System.String)
L_0a50: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a55: pop
L_0a56: ldloc.0
L_0a57: callvirt System.Text.StringBuilder AppendLine()
L_0a5c: pop
L_0a5d: Label53
L_0a5d: Label54
L_0a5d: ldarg.0
L_0a5e: ldfld RimWorld.StatDef stat
L_0a63: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0a68: brfalse Label55
L_0a6d: ldloc.0
L_0a6e: ldstr "StatsReport_Health"
L_0a73: call Boolean CanTranslate(System.String)
L_0a78: brfalse Label56
L_0a7d: ldstr "StatsReport_Health"
L_0a82: call System.String Translate(System.String)
L_0a87: br Label57
L_0a8c: Label56
L_0a8c: ldstr "StatsReport_HealthFactors"
L_0a91: call System.String Translate(System.String)
L_0a96: Label57
L_0a96: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0a9b: pop
L_0a9c: ldarg.0
L_0a9d: ldfld RimWorld.StatDef stat
L_0aa2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0aa7: brfalse Label58
L_0aac: ldarg.0
L_0aad: ldfld RimWorld.StatDef stat
L_0ab2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0ab7: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0abc: brtrue Label59
L_0ac1: ldnull
L_0ac2: ldftn Int32 <GetExplanationUnfinalized>m__5(RimWorld.PawnCapacityFactor)
L_0ac8: newobj Void .ctor(Object, IntPtr)
L_0acd: stsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad2: Label59
L_0ad2: ldsfld System.Func`2[RimWorld.PawnCapacityFactor,System.Int32]
<>f__am$cache1
L_0ad7: call IOrderedEnumerable`1 OrderBy[PawnCapacityFactor,Int32](IEnumerable`1,
System.Func`2[RimWorld.PawnCapacityFactor,System.Int32])
L_0adc: callvirt IEnumerator`1 GetEnumerator()
L_0ae1: stloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
.try
{
L_0ae3: br Label60
L_0ae8: Label63
L_0ae8: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0aea: callvirt RimWorld.PawnCapacityFactor get_Current()
L_0aef: stloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af1: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0af3: ldfld Verse.PawnCapacityDef capacity
L_0af8: ldloc.2
L_0af9: callvirt System.String GetLabelFor(Verse.Pawn)
L_0afe: call System.String CapitalizeFirst(System.String)
L_0b03: stloc.s 40 (System.String)
L_0b05: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b07: ldloc.2
L_0b08: ldfld Verse.Pawn_HealthTracker health
L_0b0d: ldfld Verse.PawnCapacitiesHandler capacities
L_0b12: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b14: ldfld Verse.PawnCapacityDef capacity
L_0b19: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0b1e: callvirt Single GetFactor(Single)
L_0b23: stloc.s 41 (System.Single)
L_0b25: ldloc.s 41 (System.Single)
L_0b27: call System.String ToStringPercent(Single)
L_0b2c: stloc.s 42 (System.String)
L_0b2e: ldstr "HealthFactorPercentImpact"
L_0b33: ldc.i4.1
L_0b34: newarr System.Object
L_0b39: dup
L_0b3a: ldc.i4.0
L_0b3b: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b3d: ldfld System.Single weight
L_0b42: call System.String ToStringPercent(Single)
L_0b47: stelem.ref
L_0b48: call System.String Translate(System.String, System.Object[])
L_0b4d: stloc.s 43 (System.String)
L_0b4f: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b51: ldfld System.Single max
L_0b56: ldc.r4 999
L_0b5b: bge.un Label61
L_0b60: ldloc.s 43 (System.String)
L_0b62: ldstr ", "
L_0b67: ldstr "HealthFactorMaxImpact"
L_0b6c: ldc.i4.1
L_0b6d: newarr System.Object
L_0b72: dup
L_0b73: ldc.i4.0
L_0b74: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b76: ldfld System.Single max
L_0b7b: call System.String ToStringPercent(Single)
L_0b80: stelem.ref
L_0b81: call System.String Translate(System.String, System.Object[])
L_0b86: call System.String Concat(System.String, System.String,
System.String)
L_0b8b: stloc.s 43 (System.String)
L_0b8d: Label61
L_0b8d: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0b8f: ldfld System.Single allowedDefect
L_0b94: ldc.r4 0
L_0b99: beq Label62
L_0b9e: ldloc.s 43 (System.String)
L_0ba0: ldstr ", "
L_0ba5: ldstr "HealthFactorAllowedDefect"
L_0baa: ldc.i4.1
L_0bab: newarr System.Object
L_0bb0: dup
L_0bb1: ldc.i4.0
L_0bb2: ldc.r4 1
L_0bb7: ldloc.s 38 (RimWorld.PawnCapacityFactor)
L_0bb9: ldfld System.Single allowedDefect
L_0bbe: sub
L_0bbf: call System.String ToStringPercent(Single)
L_0bc4: stelem.ref
L_0bc5: call System.String Translate(System.String, System.Object[])
L_0bca: call System.String Concat(System.String, System.String,
System.String)
L_0bcf: stloc.s 43 (System.String)
L_0bd1: Label62
L_0bd1: ldloc.0
L_0bd2: ldc.i4.7
L_0bd3: newarr System.String
L_0bd8: dup
L_0bd9: ldc.i4.0
L_0bda: ldstr " "
L_0bdf: stelem.ref
L_0be0: dup
L_0be1: ldc.i4.1
L_0be2: ldloc.s 40 (System.String)
L_0be4: stelem.ref
L_0be5: dup
L_0be6: ldc.i4.2
L_0be7: ldstr ": x"
L_0bec: stelem.ref
L_0bed: dup
L_0bee: ldc.i4.3
L_0bef: ldloc.s 42 (System.String)
L_0bf1: stelem.ref
L_0bf2: dup
L_0bf3: ldc.i4.4
L_0bf4: ldstr " ("
L_0bf9: stelem.ref
L_0bfa: dup
L_0bfb: ldc.i4.5
L_0bfc: ldloc.s 43 (System.String)
L_0bfe: stelem.ref
L_0bff: dup
L_0c00: ldc.i4.6
L_0c01: ldstr ")"
L_0c06: stelem.ref
L_0c07: call System.String Concat(System.String[])
L_0c0c: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0c11: pop
L_0c12: Label60
L_0c12: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c14: callvirt Boolean MoveNext()
L_0c19: brtrue Label63
L_0c1e: leave Label64
L_0c23: leave (autogenerated)
} // end try
.finally
{
L_0c28: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c2a: brfalse Label65
L_0c2f: ldloc.s 39
(System.Collections.Generic.IEnumerator`1[RimWorld.PawnCapacityFactor])
L_0c31: callvirt Void Dispose()
L_0c36: Label65
L_0c36: endfinally
L_0c37: leave (autogenerated)
} // end handler
L_0c38: Label58
L_0c38: Label64
L_0c38: ldloc.0
L_0c39: callvirt System.Text.StringBuilder AppendLine()
L_0c3e: pop
L_0c3f: Label55
L_0c3f: ldloc.2
L_0c40: callvirt Boolean get_Inspired()
L_0c45: brfalse Label66
L_0c4a: ldloc.2
L_0c4b: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0c50: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_0c55: ldarg.0
L_0c56: ldfld RimWorld.StatDef stat
L_0c5b: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0c60: stloc.s 44 (System.Single)
L_0c62: ldloc.s 44 (System.Single)
L_0c64: ldc.r4 0
L_0c69: beq Label67
L_0c6e: ldloc.0
L_0c6f: ldstr "StatsReport_Inspiration"
L_0c74: ldc.i4.1
L_0c75: newarr System.Object
L_0c7a: dup
L_0c7b: ldc.i4.0
L_0c7c: ldloc.2
L_0c7d: callvirt RimWorld.Inspiration get_Inspiration()
L_0c82: ldfld RimWorld.InspirationDef def
L_0c87: callvirt System.String get_LabelCap()
L_0c8c: stelem.ref
L_0c8d: call System.String Translate(System.String, System.Object[])
L_0c92: ldstr ": "
L_0c97: ldarg.0
L_0c98: ldloc.s 44 (System.Single)
L_0c9a: ldc.i4.0
L_0c9b: ldc.i4.3
L_0c9c: call System.String ValueToString(Single, Boolean, ToStringNumberSense)
L_0ca1: call System.String Concat(System.String, System.String, System.String)
L_0ca6: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0cab: pop
L_0cac: ldloc.0
L_0cad: callvirt System.Text.StringBuilder AppendLine()
L_0cb2: pop
L_0cb3: Label67
L_0cb3: ldloc.2
L_0cb4: callvirt RimWorld.InspirationDef get_InspirationDef()
L_0cb9: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0cbe: ldarg.0
L_0cbf: ldfld RimWorld.StatDef stat
L_0cc4: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0cc9: stloc.s 45 (System.Single)
L_0ccb: ldloc.s 45 (System.Single)
L_0ccd: ldc.r4 1
L_0cd2: beq Label68
L_0cd7: ldloc.0
L_0cd8: ldstr "StatsReport_Inspiration"
L_0cdd: ldc.i4.1
L_0cde: newarr System.Object
L_0ce3: dup
L_0ce4: ldc.i4.0
L_0ce5: ldloc.2
L_0ce6: callvirt RimWorld.Inspiration get_Inspiration()
L_0ceb: ldfld RimWorld.InspirationDef def
L_0cf0: callvirt System.String get_LabelCap()
L_0cf5: stelem.ref
L_0cf6: call System.String Translate(System.String, System.Object[])
L_0cfb: ldstr ": "
L_0d00: ldloc.s 45 (System.Single)
L_0d02: ldc.i4.8
L_0d03: ldc.i4.2
L_0d04: call System.String ToStringByStyle(Single, ToStringStyle,
ToStringNumberSense)
L_0d09: call System.String Concat(System.String, System.String, System.String)
L_0d0e: callvirt System.Text.StringBuilder AppendLine(System.String)
L_0d13: pop
L_0d14: ldloc.0
L_0d15: callvirt System.Text.StringBuilder AppendLine()
L_0d1a: pop
L_0d1b: Label48
L_0d1b: Label66
L_0d1b: Label68
L_0d1b: ldloc.0
L_0d1c: callvirt System.String ToString()
L_0d21: call System.String TrimEndNewlines(System.String)
L_0d26: ret
DONE

### Patch RimWorld.StatWorker, Single GetValueUnfinalized(StatRequest, Boolean)


L_0000: Local var 0: System.Single
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: RimWorld.PawnCapacityOffset
L_0000: Local var 5: System.Int32
L_0000: Local var 6: System.Collections.Generic.List`1[[Verse.Hediff, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 7: System.Int32
L_0000: Local var 8: Verse.HediffStage
L_0000: Local var 9: System.Int32
L_0000: Local var 10: System.Int32
L_0000: Local var 11: RimWorld.CompAffectedByFacilities
L_0000: Local var 12: System.Int32
L_0000: Local var 13: System.Int32
L_0000: Local var 14: System.Int32
L_0000: Local var 15: RimWorld.PawnCapacityFactor
L_0000: Local var 16: System.Single
L_0000: Local var 17: System.Single
L_0000: ldc.r4 0
L_0005: stloc 17 (System.Single)
L_0007: call Boolean get_DevMode()
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldarga.s 1
L_0014: call Verse.Thing get_Thing()
L_0019: callvirt Boolean IsDisabledFor(Verse.Thing)
L_001e: brfalse Label2
L_0023: ldstr "Attempted to calculate value for disabled stat {0}; this is meant as
a consistency check, either set the stat to neverDisabled or ensure this pawn
cannot accidentally use this stat (thing={1})"
L_0028: ldarg.0
L_0029: ldfld RimWorld.StatDef stat
L_002e: ldarga.s 1
L_0030: call Verse.Thing get_Thing()
L_0035: call System.String ToStringSafe[Thing](Verse.Thing)
L_003a: call System.String Format(System.String, System.Object, System.Object)
L_003f: ldc.i4 75193282
L_0044: ldarg.0
L_0045: ldfld RimWorld.StatDef stat
L_004a: ldfld System.UInt16 index
L_004f: add
L_0050: ldc.i4.0
L_0051: call Void ErrorOnce(System.String, Int32, Boolean)
L_0056: Label1
L_0056: Label2
L_0056: ldarg.0
L_0057: ldarga.s 1
L_0059: call Verse.BuildableDef get_Def()
L_005e: call Single GetBaseValueFor(Verse.BuildableDef)
L_0063: stloc.0
L_0064: ldarga.s 1
L_0066: call Verse.Thing get_Thing()
L_006b: isinst Verse.Pawn
L_0070: stloc.1
L_0071: ldloc.1
L_0072: brfalse Label3
L_0077: ldloc.1
L_0078: ldfld RimWorld.Pawn_SkillTracker skills
L_007d: brfalse Label4
L_0082: ldarg.0
L_0083: ldfld RimWorld.StatDef stat
L_0088: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_008d: brfalse Label5
L_0092: ldc.i4.0
L_0093: stloc.2
L_0094: br Label6
L_0099: Label7
L_0099: ldloc.0
L_009a: ldarg.0
L_009b: ldfld RimWorld.StatDef stat
L_00a0: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00a5: ldloc.2
L_00a6: callvirt RimWorld.SkillNeed get_Item(Int32)
L_00ab: ldloc.1
L_00ac: callvirt Single ValueFor(Verse.Pawn)
L_00b1: add
L_00b2: stloc.0
L_00b3: ldloc.2
L_00b4: ldc.i4.1
L_00b5: add
L_00b6: stloc.2
L_00b7: Label6
L_00b7: ldloc.2
L_00b8: ldarg.0
L_00b9: ldfld RimWorld.StatDef stat
L_00be: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedOffsets
L_00c3: callvirt Int32 get_Count()
L_00c8: blt Label7
L_00cd: Label5
L_00cd: br Label8
L_00d2: Label4
L_00d2: ldloc.0
L_00d3: ldarg.0
L_00d4: ldfld RimWorld.StatDef stat
L_00d9: ldfld System.Single noSkillOffset
L_00de: add
L_00df: stloc.0
L_00e0: Label8
L_00e0: ldarg.0
L_00e1: ldfld RimWorld.StatDef stat
L_00e6: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_00eb: brfalse Label9
L_00f0: ldc.i4.0
L_00f1: stloc.3
L_00f2: br Label10
L_00f7: Label11
L_00f7: ldarg.0
L_00f8: ldfld RimWorld.StatDef stat
L_00fd: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_0102: ldloc.3
L_0103: callvirt RimWorld.PawnCapacityOffset get_Item(Int32)
L_0108: stloc.s 4 (RimWorld.PawnCapacityOffset)
L_010a: ldloc.0
L_010b: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_010d: ldloc.1
L_010e: ldfld Verse.Pawn_HealthTracker health
L_0113: ldfld Verse.PawnCapacitiesHandler capacities
L_0118: ldloc.s 4 (RimWorld.PawnCapacityOffset)
L_011a: ldfld Verse.PawnCapacityDef capacity
L_011f: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_0124: callvirt Single GetOffset(Single)
L_0129: add
L_012a: stloc.0
L_012b: ldloc.3
L_012c: ldc.i4.1
L_012d: add
L_012e: stloc.3
L_012f: Label10
L_012f: ldloc.3
L_0130: ldarg.0
L_0131: ldfld RimWorld.StatDef stat
L_0136: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityOffset]
capacityOffsets
L_013b: callvirt Int32 get_Count()
L_0140: blt Label11
L_0145: Label9
L_0145: ldloc.1
L_0146: ldfld RimWorld.Pawn_StoryTracker story
L_014b: brfalse Label12
L_0150: ldc.i4.0
L_0151: stloc.s 5 (System.Int32)
L_0153: br Label13
L_0158: Label14
L_0158: ldloc.0
L_0159: ldloc.1
L_015a: ldfld RimWorld.Pawn_StoryTracker story
L_015f: ldfld RimWorld.TraitSet traits
L_0164: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0169: ldloc.s 5 (System.Int32)
L_016b: callvirt RimWorld.Trait get_Item(Int32)
L_0170: ldarg.0
L_0171: ldfld RimWorld.StatDef stat
L_0176: callvirt Single OffsetOfStat(RimWorld.StatDef)
L_017b: add
L_017c: stloc.0
L_017d: ldloc.s 5 (System.Int32)
L_017f: ldc.i4.1
L_0180: add
L_0181: stloc.s 5 (System.Int32)
L_0183: Label13
L_0183: ldloc.s 5 (System.Int32)
L_0185: ldloc.1
L_0186: ldfld RimWorld.Pawn_StoryTracker story
L_018b: ldfld RimWorld.TraitSet traits
L_0190: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0195: callvirt Int32 get_Count()
L_019a: blt Label14
L_019f: Label12
L_019f: ldloc.1
L_01a0: ldfld Verse.Pawn_HealthTracker health
L_01a5: ldfld Verse.HediffSet hediffSet
L_01aa: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_01af: stloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01b1: ldc.i4.0
L_01b2: stloc.s 7 (System.Int32)
L_01b4: br Label15
L_01b9: Label17
L_01b9: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01bb: ldloc.s 7 (System.Int32)
L_01bd: callvirt Verse.Hediff get_Item(Int32)
L_01c2: callvirt Verse.HediffStage get_CurStage()
L_01c7: stloc.s 8 (Verse.HediffStage)
L_01c9: ldloc.s 8 (Verse.HediffStage)
L_01cb: brfalse Label16
L_01d0: ldloc.0
L_01d1: ldloc.s 8 (Verse.HediffStage)
L_01d3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_01d8: ldarg.0
L_01d9: ldfld RimWorld.StatDef stat
L_01de: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_01e3: add
L_01e4: stloc.0
L_01e5: Label16
L_01e5: ldloc.s 7 (System.Int32)
L_01e7: ldc.i4.1
L_01e8: add
L_01e9: stloc.s 7 (System.Int32)
L_01eb: Label15
L_01eb: ldloc.s 7 (System.Int32)
L_01ed: ldloc.s 6 (System.Collections.Generic.List`1[Verse.Hediff])
L_01ef: callvirt Int32 get_Count()
L_01f4: blt Label17
L_01f9: ldloc.1
L_01fa: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ff: brfalse Label18
L_0204: ldc.i4.0
L_0205: stloc.s 9 (System.Int32)
L_0207: br Label19
L_020c: Label20
L_020c: ldloc.0
L_020d: ldloc.1
L_020e: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0213: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0218: ldloc.s 9 (System.Int32)
L_021a: callvirt RimWorld.Apparel get_Item(Int32)
L_021f: ldarg.0
L_0220: ldfld RimWorld.StatDef stat
L_0225: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_022a: add
L_022b: stloc.0
L_022c: ldloc.s 9 (System.Int32)
L_022e: ldc.i4.1
L_022f: add
L_0230: stloc.s 9 (System.Int32)
L_0232: Label19
L_0232: ldloc.s 9 (System.Int32)
L_0234: ldloc.1
L_0235: ldfld RimWorld.Pawn_ApparelTracker apparel
L_023a: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_023f: callvirt Int32 get_Count()
L_0244: blt Label20
L_0249: Label18
L_0249: ldloc.1
L_024a: ldfld Verse.Pawn_EquipmentTracker equipment
L_024f: brfalse Label21
L_0254: ldloc.1
L_0255: ldfld Verse.Pawn_EquipmentTracker equipment
L_025a: callvirt Verse.ThingWithComps get_Primary()
L_025f: brfalse Label22
L_0264: ldloc.0
L_0265: ldloc.1
L_0266: ldfld Verse.Pawn_EquipmentTracker equipment
L_026b: callvirt Verse.ThingWithComps get_Primary()
L_0270: ldarg.0
L_0271: ldfld RimWorld.StatDef stat
L_0276: call Single StatOffsetFromGear(Verse.Thing, RimWorld.StatDef)
L_027b: add
L_027c: stloc.0
L_027d: Label21
L_027d: Label22
L_027d: ldloc.1
L_027e: ldfld RimWorld.Pawn_StoryTracker story
L_0283: brfalse Label23
L_0288: ldc.i4.0
L_0289: stloc.s 10 (System.Int32)
L_028b: br Label24
L_0290: Label25
L_0290: ldloc.0
L_0291: ldloc.1
L_0292: ldfld RimWorld.Pawn_StoryTracker story
L_0297: ldfld RimWorld.TraitSet traits
L_029c: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02a1: ldloc.s 10 (System.Int32)
L_02a3: callvirt RimWorld.Trait get_Item(Int32)
L_02a8: ldarg.0
L_02a9: ldfld RimWorld.StatDef stat
L_02ae: callvirt Single MultiplierOfStat(RimWorld.StatDef)
L_02b3: mul
L_02b4: stloc.0
L_02b5: ldloc.s 10 (System.Int32)
L_02b7: ldc.i4.1
L_02b8: add
L_02b9: stloc.s 10 (System.Int32)
L_02bb: Label24
L_02bb: ldloc.s 10 (System.Int32)
L_02bd: ldloc.1
L_02be: ldfld RimWorld.Pawn_StoryTracker story
L_02c3: ldfld RimWorld.TraitSet traits
L_02c8: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02cd: callvirt Int32 get_Count()
L_02d2: blt Label25
L_02d7: Label23
L_02d7: ldloc.0
L_02d8: ldloc.1
L_02d9: ldfld Verse.Pawn_AgeTracker ageTracker
L_02de: callvirt RimWorld.LifeStageDef get_CurLifeStage()
L_02e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_02e8: ldarg.0
L_02e9: ldfld RimWorld.StatDef stat
L_02ee: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_02f3: mul
L_02f4: stloc.0
L_02f5: Label3
L_02f5: ldarga.s 1
L_02f7: call Verse.ThingDef get_StuffDef()
L_02fc: brfalse Label26
L_0301: ldloc.0
L_0302: ldc.r4 0
L_0307: bgt Label27
L_030c: ldarg.0
L_030d: ldfld RimWorld.StatDef stat
L_0312: ldfld System.Boolean applyFactorsIfNegative
L_0317: brfalse Label28
L_031c: Label27
L_031c: ldloc.0
L_031d: ldarga.s 1
L_031f: call Verse.ThingDef get_StuffDef()
L_0324: ldfld Verse.StuffProperties stuffProps
L_0329: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_032e: ldarg.0
L_032f: ldfld RimWorld.StatDef stat
L_0334: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0339: mul
L_033a: stloc.0
L_033b: Label28
L_033b: ldloc.0
L_033c: ldarga.s 1
L_033e: call Verse.ThingDef get_StuffDef()
L_0343: ldfld Verse.StuffProperties stuffProps
L_0348: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_034d: ldarg.0
L_034e: ldfld RimWorld.StatDef stat
L_0353: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_0358: add
L_0359: stloc.0
L_035a: Label26
L_035a: ldarga.s 1
L_035c: call Boolean get_HasThing()
L_0361: brfalse Label29
L_0366: ldarga.s 1
L_0368: call Verse.Thing get_Thing()
L_036d: call RimWorld.CompAffectedByFacilities TryGetComp[CompAffectedByFacilities]
(Verse.Thing)
L_0372: stloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0374: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_0376: brfalse Label30
L_037b: ldloc.0
L_037c: ldloc.s 11 (RimWorld.CompAffectedByFacilities)
L_037e: ldarg.0
L_037f: ldfld RimWorld.StatDef stat
L_0384: callvirt Single GetStatOffset(RimWorld.StatDef)
L_0389: add
L_038a: stloc.0
L_038b: Label30
L_038b: ldarg.0
L_038c: ldfld RimWorld.StatDef stat
L_0391: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_0396: brfalse Label31
L_039b: ldc.i4.0
L_039c: stloc.s 12 (System.Int32)
L_039e: br Label32
L_03a3: Label33
L_03a3: ldloc.0
L_03a4: ldarga.s 1
L_03a6: call Verse.Thing get_Thing()
L_03ab: ldarg.0
L_03ac: ldfld RimWorld.StatDef stat
L_03b1: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03b6: ldloc.s 12 (System.Int32)
L_03b8: callvirt RimWorld.StatDef get_Item(Int32)
L_03bd: ldc.i4.1
L_03be: call Single GetStatValue(Verse.Thing, RimWorld.StatDef, Boolean)
L_03c3: mul
L_03c4: stloc.0
L_03c5: ldloc.s 12 (System.Int32)
L_03c7: ldc.i4.1
L_03c8: add
L_03c9: stloc.s 12 (System.Int32)
L_03cb: Label32
L_03cb: ldloc.s 12 (System.Int32)
L_03cd: ldarg.0
L_03ce: ldfld RimWorld.StatDef stat
L_03d3: ldfld System.Collections.Generic.List`1[RimWorld.StatDef] statFactors
L_03d8: callvirt Int32 get_Count()
L_03dd: blt Label33
L_03e2: Label31
L_03e2: ldloc.1
L_03e3: brfalse Label34
L_03e8: ldloc.1
L_03e9: ldfld RimWorld.Pawn_SkillTracker skills
L_03ee: brfalse Label35
L_03f3: ldarg.0
L_03f4: ldfld RimWorld.StatDef stat
L_03f9: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_03fe: brfalse Label36
L_0403: ldc.i4.0
L_0404: stloc.s 13 (System.Int32)
L_0406: br Label37
L_040b: Label38
L_040b: ldloc.0
L_040c: ldarg.0
L_040d: ldfld RimWorld.StatDef stat
L_0412: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0417: ldloc.s 13 (System.Int32)
L_0419: callvirt RimWorld.SkillNeed get_Item(Int32)
L_041e: ldloc.1
L_041f: callvirt Single ValueFor(Verse.Pawn)
L_0424: mul
L_0425: stloc.0
L_0426: ldloc.s 13 (System.Int32)
L_0428: ldc.i4.1
L_0429: add
L_042a: stloc.s 13 (System.Int32)
L_042c: Label37
L_042c: ldloc.s 13 (System.Int32)
L_042e: ldarg.0
L_042f: ldfld RimWorld.StatDef stat
L_0434: ldfld System.Collections.Generic.List`1[RimWorld.SkillNeed]
skillNeedFactors
L_0439: callvirt Int32 get_Count()
L_043e: blt Label38
L_0443: Label36
L_0443: br Label39
L_0448: Label35
L_0448: ldloc.0
L_0449: ldarg.0
L_044a: ldfld RimWorld.StatDef stat
L_044f: ldfld System.Single noSkillFactor
L_0454: mul
L_0455: stloc.0
L_0456: Label39
L_0456: ldarg.0
L_0457: ldfld RimWorld.StatDef stat
L_045c: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0461: brfalse Label40
L_0466: ldc.i4.0
L_0467: stloc.s 14 (System.Int32)
L_0469: br Label41
L_046e: Label42
L_046e: ldarg.0
L_046f: ldfld RimWorld.StatDef stat
L_0474: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_0479: ldloc.s 14 (System.Int32)
L_047b: callvirt RimWorld.PawnCapacityFactor get_Item(Int32)
L_0480: stloc.s 15 (RimWorld.PawnCapacityFactor)
L_0482: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0484: ldloc.1
L_0485: ldfld Verse.Pawn_HealthTracker health
L_048a: ldfld Verse.PawnCapacitiesHandler capacities
L_048f: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_0491: ldfld Verse.PawnCapacityDef capacity
L_0496: callvirt Single GetLevel(Verse.PawnCapacityDef)
L_049b: callvirt Single GetFactor(Single)
L_04a0: stloc.s 16 (System.Single)
L_04a2: ldloc.0
L_04a3: ldloc.0
L_04a4: ldloc.s 16 (System.Single)
L_04a6: mul
L_04a7: ldloc.s 15 (RimWorld.PawnCapacityFactor)
L_04a9: ldfld System.Single weight
L_04ae: call Single Lerp(Single, Single, Single)
L_04b3: stloc.0
L_04b4: ldloc.s 14 (System.Int32)
L_04b6: ldc.i4.1
L_04b7: add
L_04b8: stloc.s 14 (System.Int32)
L_04ba: Label41
L_04ba: ldloc.s 14 (System.Int32)
L_04bc: ldarg.0
L_04bd: ldfld RimWorld.StatDef stat
L_04c2: ldfld System.Collections.Generic.List`1[RimWorld.PawnCapacityFactor]
capacityFactors
L_04c7: callvirt Int32 get_Count()
L_04cc: blt Label42
L_04d1: Label40
L_04d1: ldloc.1
L_04d2: callvirt Boolean get_Inspired()
L_04d7: brfalse Label43
L_04dc: ldloc.0
L_04dd: ldloc.1
L_04de: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04e3: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statOffsets
L_04e8: ldarg.0
L_04e9: ldfld RimWorld.StatDef stat
L_04ee: call Single
GetStatOffsetFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_04f3: add
L_04f4: stloc.0
L_04f5: ldloc.0
L_04f6: ldloc.1
L_04f7: callvirt RimWorld.InspirationDef get_InspirationDef()
L_04fc: ldfld System.Collections.Generic.List`1[RimWorld.StatModifier] statFactors
L_0501: ldarg.0
L_0502: ldfld RimWorld.StatDef stat
L_0507: call Single
GetStatFactorFromList(System.Collections.Generic.List`1[RimWorld.StatModifier],
RimWorld.StatDef)
L_050c: mul
L_050d: stloc.0
L_050e: Label29
L_050e: Label34
L_050e: Label43
L_050e: ldloc.0
L_050f: stloc 17 (System.Single)
L_0511: ldarg.0
L_0512: ldloca 17 (System.Single)
L_0514: ldarga 1
L_051a: ldarg 2
L_0520: call Void Patch_StatWorker_GetValueUnfinalized(RimWorld.StatWorker, Single
ByRef, StatRequest ByRef, Boolean)
L_0525: ldloc 17 (System.Single)
L_0527: ret
DONE

### Patch RimWorld.Dialog_ManageAreas, Void .ctor(Map)


L_0000: ldarg.0
L_0001: call Void .ctor()
L_0006: ldarg.0
L_0007: ldarg.1
L_0008: stfld Verse.Map map
L_000d: ldarg.0
L_000e: ldc.i4.1
L_000f: stfld System.Boolean forcePause
L_0014: ldarg.0
L_0015: ldc.i4.1
L_0016: stfld System.Boolean doCloseX
L_001b: ldarg.0
L_001c: ldc.i4.1
L_001d: stfld System.Boolean doCloseButton
L_0022: ldarg.0
L_0023: ldc.i4.1
L_0024: stfld System.Boolean closeOnClickedOutside
L_0029: ldarg.0
L_002a: ldc.i4.1
L_002b: stfld System.Boolean absorbInputAroundWindow
L_0030: call Void Postfix()
L_0035: ret
DONE

### Patch RimWorld.Area_Allowed, Int32 get_ListPriority()


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldc.i4 500
L_000b: stloc 0 (System.Int32)
L_000c: ldarg.0
L_000d: ldloca 0 (System.Int32)
L_000f: call Void ListPriority_Postfix(RimWorld.Area_Allowed, Int32 ByRef)
L_0014: ldloc 0 (System.Int32)
L_0015: ret
DONE

### Patch RimWorld.InspectGizmoGrid, Void DrawInspectGizmoGridFor(IEnumerable`1,


Verse.Gizmo ByRef)
L_0000: Local var 0: System.Int32
L_0000: Local var 1: Verse.ISelectable
L_0000: Local var 2: System.Int32
L_0000: Local var 3:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1
L_0000: Local var 4: System.Collections.Generic.List`1[[Verse.Designator, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 5: System.Int32
L_0000: Local var 6:
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0
L_0000: Local var 7: Verse.AcceptanceReport
L_0000: Local var 8: System.Single
L_0000: Local var 9: UnityEngine.Vector2
L_0000: Local var 10: Verse.Command_Action
L_0000: Local var 11: System.Exception
L_0000: call Void ClearReverseDesignatorPairs()
L_0005: ldarg.1
L_0006: ldnull
L_0007: stind.ref
.try
{
L_0008: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_000d: callvirt Void Clear()
L_0012: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0017: ldarg.0
L_0018: callvirt Void AddRange(IEnumerable`1)
L_001d: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0022: callvirt Void Clear()
L_0027: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_002c: call IEnumerable`1 GetStopGizmos()
L_0031: call Void AddRange(IEnumerable`1)
L_0036: ldc.i4.0
L_0037: stloc.0
L_0038: br Label1
L_003d: Label3
L_003d: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0042: ldloc.0
L_0043: callvirt System.Object get_Item(Int32)
L_0048: isinst Verse.ISelectable
L_004d: stloc.1
L_004e: ldloc.1
L_004f: brfalse Label2
L_0054: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0059: ldloc.1
L_005a: callvirt IEnumerable`1 GetGizmos()
L_005f: callvirt Void AddRange(IEnumerable`1)
L_0064: Label2
L_0064: ldloc.0
L_0065: ldc.i4.1
L_0066: add
L_0067: stloc.0
L_0068: Label1
L_0068: ldloc.0
L_0069: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_006e: callvirt Int32 get_Count()
L_0073: blt Label3
L_0078: ldc.i4.0
L_0079: stloc.2
L_007a: br Label4
L_007f: Label12
L_007f: newobj Void .ctor()
L_0084: stloc.3
L_0085: ldloc.3
L_0086: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_008b: ldloc.2
L_008c: callvirt System.Object get_Item(Int32)
L_0091: isinst Verse.Thing
L_0096: stfld Verse.Thing t
L_009b: ldloc.3
L_009c: ldfld Verse.Thing t
L_00a1: brtrue Label5
L_00a6: leave Label6
L_00ab: Label5
L_00ab: call Verse.ReverseDesignatorDatabase get_ReverseDesignatorDatabase()
L_00b0: callvirt System.Collections.Generic.List`1[Verse.Designator]
get_AllDesignators()
L_00b5: stloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00b7: ldc.i4.0
L_00b8: stloc.s 5 (System.Int32)
L_00ba: br Label7
L_00bf: Label11
L_00bf: newobj Void .ctor()
L_00c4: stloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00c8: ldloc.3
L_00c9: stfld
RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey1 <>f__ref$1
L_00ce: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00d0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_00d2: ldloc.s 5 (System.Int32)
L_00d4: callvirt Verse.Designator get_Item(Int32)
L_00d9: stfld Verse.Designator des
L_00de: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_00e0: ldfld Verse.Designator des
L_00e5: ldloc.3
L_00e6: ldfld Verse.Thing t
L_00eb: callvirt AcceptanceReport CanDesignateThing(Verse.Thing)
L_00f0: stloc.s 7 (Verse.AcceptanceReport)
L_00f2: ldloca.s 7 (Verse.AcceptanceReport)
L_00f4: call Boolean get_Accepted()
L_00f9: brfalse Label8
L_00fe: newobj Void .ctor()
L_0103: stloc.s 10 (Verse.Command_Action)
L_0105: ldloc.s 10 (Verse.Command_Action)
L_0107: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0109: ldfld Verse.Designator des
L_010e: ldloc.3
L_010f: ldfld Verse.Thing t
L_0114: callvirt System.String LabelCapReverseDesignating(Verse.Thing)
L_0119: stfld System.String defaultLabel
L_011e: ldloc.s 10 (Verse.Command_Action)
L_0120: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0122: ldfld Verse.Designator des
L_0127: ldloc.3
L_0128: ldfld Verse.Thing t
L_012d: ldloca.s 8 (System.Single)
L_012f: ldloca.s 9 (UnityEngine.Vector2)
L_0131: callvirt UnityEngine.Texture2D IconReverseDesignating(Verse.Thing,
Single ByRef, Vector2 ByRef)
L_0136: stfld UnityEngine.Texture2D icon
L_013b: ldloc.s 10 (Verse.Command_Action)
L_013d: ldloc.s 8 (System.Single)
L_013f: stfld System.Single iconAngle
L_0144: ldloc.s 10 (Verse.Command_Action)
L_0146: ldloc.s 9 (UnityEngine.Vector2)
L_0148: stfld UnityEngine.Vector2 iconOffset
L_014d: ldloc.s 10 (Verse.Command_Action)
L_014f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0151: ldfld Verse.Designator des
L_0156: ldloc.3
L_0157: ldfld Verse.Thing t
L_015c: callvirt System.String DescReverseDesignating(Verse.Thing)
L_0161: stfld System.String defaultDesc
L_0166: ldloc.s 10 (Verse.Command_Action)
L_0168: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_016a: ldfld Verse.Designator des
L_016f: isinst RimWorld.Designator_Uninstall
L_0174: brfalse Label9
L_0179: ldc.r4 -11
L_017e: br Label10
L_0183: Label9
L_0183: ldc.r4 -20
L_0188: Label10
L_0188: stfld System.Single order
L_018d: ldloc.s 10 (Verse.Command_Action)
L_018f: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_0191: ldftn Void <>m__0()
L_0197: newobj Void .ctor(Object, IntPtr)
L_019c: stfld System.Action action
L_01a1: ldloc.s 10 (Verse.Command_Action)
L_01a3: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01a5: ldfld Verse.Designator des
L_01aa: ldfld Verse.KeyBindingDef hotKey
L_01af: stfld Verse.KeyBindingDef hotKey
L_01b4: ldloc.s 10 (Verse.Command_Action)
L_01b6: ldloc.s 6
(RimWorld.InspectGizmoGrid+<DrawInspectGizmoGridFor>c__AnonStorey0)
L_01b8: ldfld Verse.Designator des
L_01bd: ldfld System.Int32 groupKey
L_01c2: stfld System.Int32 groupKey
L_01c7: ldloc.s 6
L_01cc: ldfld Verse.Designator des
L_01d1: ldloc 10
L_01d7: call Void RegisterReverseDesignatorPair(Verse.Designator,
Verse.Command_Action)
L_01dc: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_01e1: ldloc.s 10 (Verse.Command_Action)
L_01e3: callvirt Void Add(Verse.Gizmo)
L_01e8: Label8
L_01e8: ldloc.s 5 (System.Int32)
L_01ea: ldc.i4.1
L_01eb: add
L_01ec: stloc.s 5 (System.Int32)
L_01ee: Label7
L_01ee: ldloc.s 5 (System.Int32)
L_01f0: ldloc.s 4 (System.Collections.Generic.List`1[Verse.Designator])
L_01f2: callvirt Int32 get_Count()
L_01f7: blt Label11
L_01fc: Label6
L_01fc: ldloc.2
L_01fd: ldc.i4.1
L_01fe: add
L_01ff: stloc.2
L_0200: Label4
L_0200: ldloc.2
L_0201: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0206: callvirt Int32 get_Count()
L_020b: blt Label12
L_0210: ldsfld System.Collections.Generic.List`1[System.Object] objList
L_0215: callvirt Void Clear()
L_021a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_021f: call Verse.WindowStack get_WindowStack()
L_0224: callvirt IInspectPane WindowOfType[IInspectPane]()
L_0229: call Single PaneWidthFor(IInspectPane)
L_022e: ldc.r4 20
L_0233: add
L_0234: ldarg.1
L_0235: call Void DrawGizmoGrid(IEnumerable`1, Single, Verse.Gizmo ByRef)
L_023a: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_023f: callvirt Void Clear()
L_0244: ldsfld System.Collections.Generic.List`1[Verse.Gizmo] gizmoList
L_0249: call IEnumerable`1 GetStopGizmos()
L_024e: call Void AddRange(IEnumerable`1)
L_0253: leave Label13
L_0258: leave (autogenerated)
} // end try
.catch System.Exception
{
L_025d: stloc.s 11 (System.Exception)
L_025f: ldloc.s 11 (System.Exception)
L_0261: callvirt System.String ToString()
L_0266: ldc.i4 3427734
L_026b: ldc.i4.0
L_026c: call Void ErrorOnce(System.String, Int32, Boolean)
L_0271: leave Label14
L_0276: leave (autogenerated)
} // end handler
L_027b: Label13
L_027b: Label14
L_027b: ret
DONE

### Patch RimWorld.Apparel, Void Notify_PawnKilled()


L_0000: ldarg.0
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.ApparelProperties apparel
L_000b: ldfld System.Boolean careIfWornByCorpse
L_0010: brfalse Label1
L_0015: ldarg.0
L_0016: ldc.i4.1
L_0017: stfld System.Boolean wornByCorpseInt
L_001c: Label1
L_001c: ldarg.0
L_001d: call Void Postfix(RimWorld.Apparel)
L_0022: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void PreOpen()


L_0000: ldarg.0
L_0001: call Void PreOpen()
L_0006: call Verse.GameInitData get_GameInitData()
L_000b: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0010: callvirt Int32 get_Count()
L_0015: ldc.i4.0
L_0016: ble Label1
L_001b: ldarg.0
L_001c: call Verse.GameInitData get_GameInitData()
L_0021: ldfld System.Collections.Generic.List`1[Verse.Pawn]
startingAndOptionalPawns
L_0026: ldc.i4.0
L_0027: callvirt Verse.Pawn get_Item(Int32)
L_002c: stfld Verse.Pawn curPawn
L_0031: Label1
L_0031: call Void PreOpenPostfix()
L_0036: ret
DONE

### Patch RimWorld.Page_ConfigureStartingPawns, Void DoWindowContents(Rect)


L_0000: Local var 0: UnityEngine.Rect
L_0000: Local var 1: UnityEngine.Rect
L_0000: Local var 2: UnityEngine.Rect
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void DrawPageTitle(Rect)
L_0007: ldarga.s 1
L_0009: dup
L_000a: call Single get_yMin()
L_000f: ldc.r4 45
L_0014: add
L_0015: call Void set_yMin(Single)
L_001a: ldarg.0
L_001b: ldarg.1
L_001c: ldstr "Start"
L_0021: call System.String Translate(System.String)
L_0026: ldnull
L_0027: ldnull
L_0028: ldc.i4.1
L_0029: call Void DoBottomButtons(Rect, System.String, System.String,
System.Action, Boolean)
L_002e: ldarga.s 1
L_0030: dup
L_0031: call Single get_yMax()
L_0036: ldc.r4 38
L_003b: sub
L_003c: call Void set_yMax(Single)
L_0041: ldarg.1
L_0042: stloc.0
L_0043: ldloca.s 0 (UnityEngine.Rect)
L_0045: ldc.r4 140
L_004a: call Void set_width(Single)
L_004f: ldarg.0
L_0050: ldloc.0
L_0051: call Void DrawPawnList(Rect)
L_0056: ldloc.0
L_0057: ldstr "ReorderPawn"
L_005c: call Void HighlightOpportunity(Rect, System.String)
L_0061: ldarg.1
L_0062: stloc.1
L_0063: ldloca.s 1 (UnityEngine.Rect)
L_0065: dup
L_0066: call Single get_xMin()
L_006b: ldc.r4 140
L_0070: add
L_0071: call Void set_xMin(Single)
L_0076: ldloc.1
L_0077: ldc.r4 141
L_007c: call Rect BottomPartPixels(Rect, Single)
L_0081: stloc.2
L_0082: ldloca.s 1 (UnityEngine.Rect)
L_0084: ldloca.s 2 (UnityEngine.Rect)
L_0086: call Single get_yMin()
L_008b: call Void set_yMax(Single)
L_0090: ldloc.1
L_0091: ldc.r4 4
L_0096: call Rect ContractedBy(Rect, Single)
L_009b: stloc.1
L_009c: ldloc.2
L_009d: ldc.r4 4
L_00a2: call Rect ContractedBy(Rect, Single)
L_00a7: stloc.2
L_00a8: ldarg.0
L_00a9: ldloc.1
L_00aa: call Void DrawPortraitArea(Rect)
L_00af: ldarg.0
L_00b0: ldloc.2
L_00b1: call Void DrawSkillSummaries(Rect)
L_00b6: ldarg 1
L_00bc: ldarg.0
L_00bd: call Void DoWindowContentsPostfix(Rect,
RimWorld.Page_ConfigureStartingPawns)
L_00c2: ret
DONE
### Patch Verse.Game, Void InitNewGame()
L_0000: Local var 0: System.String
L_0000: Local var 1: Verse.IntVec3
L_0000: Local var 2: RimWorld.Planet.Settlement
L_0000: Local var 3: System.Collections.Generic.List`1[[RimWorld.Planet.Settlement,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.ResearchProjectTagDef
L_0000: Local var 7:
System.Collections.Generic.List`1+Enumerator[[Verse.ResearchProjectTagDef,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 8: Verse.ResearchProjectDef
L_0000: Local var 9:
System.Collections.Generic.IEnumerator`1[[Verse.ResearchProjectDef, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: call IEnumerable`1 get_RunningMods()
L_0005: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_000a: brtrue Label1
L_000f: ldnull
L_0010: ldftn System.String <InitNewGame>m__1(Verse.ModContentPack)
L_0016: newobj Void .ctor(Object, IntPtr)
L_001b: stsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0020: Label1
L_0020: ldsfld System.Func`2[Verse.ModContentPack,System.String] <>f__am$cache1
L_0025: call IEnumerable`1 Select[ModContentPack,String](IEnumerable`1,
System.Func`2[Verse.ModContentPack,System.String])
L_002a: ldc.i4.0
L_002b: call System.String ToCommaList(IEnumerable`1, Boolean)
L_0030: stloc.0
L_0031: ldstr "Initializing new game with mods "
L_0036: ldloc.0
L_0037: call System.String Concat(System.String, System.String)
L_003c: ldc.i4.0
L_003d: call Void Message(System.String, Boolean)
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0048: call Boolean Any[Map](System.Collections.Generic.List`1[Verse.Map])
L_004d: brfalse Label2
L_0052: ldstr "Called InitNewGame() but there already is a map. There should be 0
maps..."
L_0057: ldc.i4.0
L_0058: call Void Error(System.String, Boolean)
L_005d: br Label22
L_0062: Label2
L_0062: ldarg.0
L_0063: ldfld Verse.GameInitData initData
L_0068: brtrue Label3
L_006d: ldstr "Called InitNewGame() but init data is null. Create it first."
L_0072: ldc.i4.0
L_0073: call Void Error(System.String, Boolean)
L_0078: br Label23
L_007d: Label3
L_007d: call Void UnloadUnusedUnityAssets()
L_0082: ldstr "InitNewGame"
L_0087: call Void Start(System.String)
.try
{
L_008c: ldc.i4.1
L_008d: call Void set_ProgramState(ProgramState)
L_0092: ldloca.s 1 (Verse.IntVec3)
L_0094: ldarg.0
L_0095: ldfld Verse.GameInitData initData
L_009a: ldfld System.Int32 mapSize
L_009f: ldc.i4.1
L_00a0: ldarg.0
L_00a1: ldfld Verse.GameInitData initData
L_00a6: ldfld System.Int32 mapSize
L_00ab: call Void .ctor(Int32, Int32, Int32)
L_00b0: ldnull
L_00b1: stloc.2
L_00b2: call RimWorld.Planet.WorldObjectsHolder get_WorldObjects()
L_00b7: callvirt
System.Collections.Generic.List`1[RimWorld.Planet.Settlement] get_Settlements()
L_00bc: stloc.3
L_00bd: ldc.i4.0
L_00be: stloc.s 4 (System.Int32)
L_00c0: br Label4
L_00c5: Label7
L_00c5: ldloc.3
L_00c6: ldloc.s 4 (System.Int32)
L_00c8: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00cd: callvirt RimWorld.Faction get_Faction()
L_00d2: call RimWorld.Faction get_OfPlayer()
L_00d7: bne.un Label5
L_00dc: ldloc.3
L_00dd: ldloc.s 4 (System.Int32)
L_00df: callvirt RimWorld.Planet.Settlement get_Item(Int32)
L_00e4: stloc.2
L_00e5: leave Label6
L_00ea: Label5
L_00ea: ldloc.s 4 (System.Int32)
L_00ec: ldc.i4.1
L_00ed: add
L_00ee: stloc.s 4 (System.Int32)
L_00f0: Label4
L_00f0: ldloc.s 4 (System.Int32)
L_00f2: ldloc.3
L_00f3: callvirt Int32 get_Count()
L_00f8: blt Label7
L_00fd: Label6
L_00fd: ldloc.2
L_00fe: brtrue Label8
L_0103: ldstr "Could not generate starting map because there is no any player
faction base."
L_0108: ldc.i4.0
L_0109: call Void Error(System.String, Boolean)
L_010e: Label8
L_010e: ldarg.0
L_010f: ldfld Verse.TickManager tickManager
L_0114: call Int32 get_ConfiguredTicksAbsAtGameStart()
L_0119: stfld System.Int32 gameStartAbsTick
L_011e: ldloc.1
L_011f: ldloc.2
L_0120: ldloc.2
L_0121: callvirt Verse.MapGeneratorDef get_MapGeneratorDef()
L_0126: ldloc.2
L_0127: callvirt IEnumerable`1 get_ExtraGenStepDefs()
L_012c: ldnull
L_012d: call Verse.Map GenerateMap(IntVec3, RimWorld.Planet.MapParent,
Verse.MapGeneratorDef, IEnumerable`1, System.Action`1[Verse.Map])
L_0132: stloc.s 5 (Verse.Map)
L_0134: ldarg.0
L_0135: ldfld RimWorld.Planet.World worldInt
L_013a: ldfld RimWorld.Planet.WorldInfo info
L_013f: ldloc.1
L_0140: stfld Verse.IntVec3 initialMapSize
L_0145: ldarg.0
L_0146: ldfld Verse.GameInitData initData
L_014b: ldfld System.Boolean permadeath
L_0150: brfalse Label9
L_0155: ldarg.0
L_0156: ldfld Verse.GameInfo info
L_015b: ldc.i4.1
L_015c: stfld System.Boolean permadeathMode
L_0161: ldarg.0
L_0162: ldfld Verse.GameInfo info
L_0167: call System.String GeneratePermadeathSaveName()
L_016c: stfld System.String permadeathModeUniqueName
L_0171: Label9
L_0171: ldsfld RimWorld.ThoughtDef NewColonyOptimism
L_0176: call Void GiveAllStartingPlayerPawnsThought(RimWorld.ThoughtDef)
L_017b: ldarg.0
L_017c: call Void FinalizeInit()
L_0181: call Verse.Game get_Game()
L_0186: ldloc.s 5 (Verse.Map)
L_0188: callvirt Void set_CurrentMap(Verse.Map)
L_018d: call Verse.CameraDriver get_CameraDriver()
L_0192: call IntVec3 get_PlayerStartSpot()
L_0197: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_019c: call Verse.CameraDriver get_CameraDriver()
L_01a1: callvirt Void ResetSize()
L_01a6: call Boolean get_PauseOnLoad()
L_01ab: brfalse Label10
L_01b0: ldarg.0
L_01b1: ldfld Verse.GameInitData initData
L_01b6: ldfld System.Boolean startedFromEntry
L_01bb: brfalse Label11
L_01c0: ldarg.0
L_01c1: ldftn Void <InitNewGame>m__2()
L_01c7: newobj Void .ctor(Object, IntPtr)
L_01cc: call Void ExecuteWhenFinished(System.Action)
L_01d1: Label10
L_01d1: Label11
L_01d1: call RimWorld.Scenario get_Scenario()
L_01d6: callvirt Void PostGameStart()
L_01db: call RimWorld.Faction get_OfPlayer()
L_01e0: ldfld RimWorld.FactionDef def
L_01e5: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01ea: brfalse Label12
L_01ef: call RimWorld.Faction get_OfPlayer()
L_01f4: ldfld RimWorld.FactionDef def
L_01f9: ldfld System.Collections.Generic.List`1[Verse.ResearchProjectTagDef]
startingResearchTags
L_01fe: callvirt Enumerator GetEnumerator()
L_0203: stloc.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
.try
{
L_0205: br Label13
L_020a: Label19
L_020a: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_020c: call Verse.ResearchProjectTagDef get_Current()
L_0211: stloc.s 6 (Verse.ResearchProjectTagDef)
L_0213: call IEnumerable`1 get_AllDefs()
L_0218: callvirt IEnumerator`1 GetEnumerator()
L_021d: stloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
.try
{
L_021f: br Label14
L_0224: Label16
L_0224: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0226: callvirt Verse.ResearchProjectDef get_Current()
L_022b: stloc.s 8 (Verse.ResearchProjectDef)
L_022d: ldloc.s 8 (Verse.ResearchProjectDef)
L_022f: ldloc.s 6 (Verse.ResearchProjectTagDef)
L_0231: callvirt Boolean HasTag(Verse.ResearchProjectTagDef)
L_0236: brfalse Label15
L_023b: ldarg.0
L_023c: ldfld RimWorld.ResearchManager researchManager
L_0241: ldloc.s 8 (Verse.ResearchProjectDef)
L_0243: ldc.i4.0
L_0244: ldnull
L_0245: callvirt Void FinishProject(Verse.ResearchProjectDef,
Boolean, Verse.Pawn)
L_024a: Label14
L_024a: Label15
L_024a: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_024c: callvirt Boolean MoveNext()
L_0251: brtrue Label16
L_0256: leave Label17
L_025b: leave (autogenerated)
} // end try
.finally
{
L_0260: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0262: brfalse Label18
L_0267: ldloc.s 9
(System.Collections.Generic.IEnumerator`1[Verse.ResearchProjectDef])
L_0269: callvirt Void Dispose()
L_026e: Label18
L_026e: endfinally
L_026f: leave (autogenerated)
} // end handler
L_0270: Label13
L_0270: Label17
L_0270: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0272: call Boolean MoveNext()
L_0277: brtrue Label19
L_027c: leave Label20
L_0281: leave (autogenerated)
} // end try
.finally
{
L_0286: ldloca.s 7
(System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef])
L_0288: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.ResearchProjectTagDef]
L_028e: callvirt Void Dispose()
L_0293: endfinally
L_0294: leave (autogenerated)
} // end handler
L_0295: Label12
L_0295: Label20
L_0295: call Void StartedNewGame()
L_029a: ldarg.0
L_029b: ldnull
L_029c: stfld Verse.GameInitData initData
L_02a1: leave Label21
L_02a6: leave (autogenerated)
} // end try
.finally
{
L_02ab: call Void End()
L_02b0: endfinally
L_02b1: leave (autogenerated)
} // end handler
L_02b2: Label21
L_02b2: Label22
L_02b2: Label23
L_02b2: call Void InitNewGamePostfix()
L_02b7: ret
DONE

### Patch RimWorld.MainTabWindow_Inspect, IEnumerable`1 get_CurTabs()


L_0000: Local var 0:
System.Collections.Generic.IEnumerable`1[[Verse.InspectTabBase, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0002: ldarg.0
L_0003: call Int32 get_NumSelected()
L_0008: ldc.i4.1
L_0009: bne.un Label1
L_000e: ldarg.0
L_000f: call Verse.Thing get_SelThing()
L_0014: brfalse Label2
L_0019: ldarg.0
L_001a: call Verse.Thing get_SelThing()
L_001f: ldfld Verse.ThingDef def
L_0024: ldfld System.Collections.Generic.List`1[Verse.InspectTabBase]
inspectorTabsResolved
L_0029: brfalse Label3
L_002e: ldarg.0
L_002f: call Verse.Thing get_SelThing()
L_0034: callvirt IEnumerable`1 GetInspectTabs()
L_0039: br Label5
L_003e: Label2
L_003e: Label3
L_003e: ldarg.0
L_003f: call Verse.Zone get_SelZone()
L_0044: brfalse Label4
L_0049: ldarg.0
L_004a: call Verse.Zone get_SelZone()
L_004f: callvirt IEnumerable`1 GetInspectTabs()
L_0054: br Label6
L_0059: Label1
L_0059: Label4
L_0059: call IEnumerable`1 Empty[InspectTabBase]()
L_005e: Label5
L_005e: Label6
L_005e: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_005f: ldloca 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0061: call Void Postfix(IEnumerable`1 ByRef)
L_0066: ldloc 0 (System.Collections.Generic.IEnumerable`1[Verse.InspectTabBase])
L_0067: ret
DONE

### Patch Verse.ThingOwner, Void NotifyAdded(Verse.Thing)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Map, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.CompTransporter
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: Local var 4: RimWorld.Pawn_ApparelTracker
L_0000: Local var 5: Verse.Pawn_EquipmentTracker
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: call Boolean ShouldAutoExtinguishInnerThings(IThingHolder)
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldsfld Verse.ThingDef Fire
L_0016: call Boolean HasAttachment(Verse.Thing, Verse.ThingDef)
L_001b: brfalse Label2
L_0020: ldarg.1
L_0021: ldsfld Verse.ThingDef Fire
L_0026: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_002b: ldc.i4.0
L_002c: callvirt Void Destroy(DestroyMode)
L_0031: Label1
L_0031: Label2
L_0031: ldarg.0
L_0032: ldfld Verse.IThingHolder owner
L_0037: call Boolean ShouldRemoveDesignationsOnAddedThings(IThingHolder)
L_003c: brfalse Label3
L_0041: call System.Collections.Generic.List`1[Verse.Map] get_Maps()
L_0046: stloc.0
L_0047: ldc.i4.0
L_0048: stloc.1
L_0049: br Label4
L_004e: Label5
L_004e: ldloc.0
L_004f: ldloc.1
L_0050: callvirt Verse.Map get_Item(Int32)
L_0055: ldfld Verse.DesignationManager designationManager
L_005a: ldarg.1
L_005b: ldc.i4.0
L_005c: callvirt Void RemoveAllDesignationsOn(Verse.Thing, Boolean)
L_0061: ldloc.1
L_0062: ldc.i4.1
L_0063: add
L_0064: stloc.1
L_0065: Label4
L_0065: ldloc.1
L_0066: ldloc.0
L_0067: callvirt Int32 get_Count()
L_006c: blt Label5
L_0071: Label3
L_0071: ldarg.0
L_0072: ldfld Verse.IThingHolder owner
L_0077: isinst RimWorld.CompTransporter
L_007c: stloc.2
L_007d: ldloc.2
L_007e: brfalse Label6
L_0083: ldloc.2
L_0084: ldarg.1
L_0085: callvirt Void Notify_ThingAdded(Verse.Thing)
L_008a: Label6
L_008a: ldarg.0
L_008b: ldfld Verse.IThingHolder owner
L_0090: isinst RimWorld.Planet.Caravan
L_0095: stloc.3
L_0096: ldloc.3
L_0097: brfalse Label7
L_009c: ldloc.3
L_009d: ldarg.1
L_009e: castclass Verse.Pawn
L_00a3: callvirt Void Notify_PawnAdded(Verse.Pawn)
L_00a8: Label7
L_00a8: ldarg.0
L_00a9: ldfld Verse.IThingHolder owner
L_00ae: isinst RimWorld.Pawn_ApparelTracker
L_00b3: stloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b5: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00b7: brfalse Label8
L_00bc: ldloc.s 4 (RimWorld.Pawn_ApparelTracker)
L_00be: ldarg.1
L_00bf: castclass RimWorld.Apparel
L_00c4: callvirt Void Notify_ApparelAdded(RimWorld.Apparel)
L_00c9: Label8
L_00c9: ldarg.0
L_00ca: ldfld Verse.IThingHolder owner
L_00cf: isinst Verse.Pawn_EquipmentTracker
L_00d4: stloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d6: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00d8: brfalse Label9
L_00dd: ldloc.s 5 (Verse.Pawn_EquipmentTracker)
L_00df: ldarg.1
L_00e0: castclass Verse.ThingWithComps
L_00e5: callvirt Void Notify_EquipmentAdded(Verse.ThingWithComps)
L_00ea: Label9
L_00ea: ldarg.0
L_00eb: ldarg.1
L_00ec: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_00f1: ldarg.0
L_00f2: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_00f7: ret
DONE

### Patch Verse.ThingOwner, Void NotifyRemoved(Verse.Thing)


L_0000: Local var 0: Verse.Pawn_InventoryTracker
L_0000: Local var 1: RimWorld.Pawn_ApparelTracker
L_0000: Local var 2: Verse.Pawn_EquipmentTracker
L_0000: Local var 3: RimWorld.Planet.Caravan
L_0000: ldarg.0
L_0001: ldfld Verse.IThingHolder owner
L_0006: isinst Verse.Pawn_InventoryTracker
L_000b: stloc.0
L_000c: ldloc.0
L_000d: brfalse Label1
L_0012: ldloc.0
L_0013: ldarg.1
L_0014: callvirt Void Notify_ItemRemoved(Verse.Thing)
L_0019: Label1
L_0019: ldarg.0
L_001a: ldfld Verse.IThingHolder owner
L_001f: isinst RimWorld.Pawn_ApparelTracker
L_0024: stloc.1
L_0025: ldloc.1
L_0026: brfalse Label2
L_002b: ldloc.1
L_002c: ldarg.1
L_002d: castclass RimWorld.Apparel
L_0032: callvirt Void Notify_ApparelRemoved(RimWorld.Apparel)
L_0037: Label2
L_0037: ldarg.0
L_0038: ldfld Verse.IThingHolder owner
L_003d: isinst Verse.Pawn_EquipmentTracker
L_0042: stloc.2
L_0043: ldloc.2
L_0044: brfalse Label3
L_0049: ldloc.2
L_004a: ldarg.1
L_004b: castclass Verse.ThingWithComps
L_0050: callvirt Void Notify_EquipmentRemoved(Verse.ThingWithComps)
L_0055: Label3
L_0055: ldarg.0
L_0056: ldfld Verse.IThingHolder owner
L_005b: isinst RimWorld.Planet.Caravan
L_0060: stloc.3
L_0061: ldloc.3
L_0062: brfalse Label4
L_0067: ldloc.3
L_0068: ldarg.1
L_0069: castclass Verse.Pawn
L_006e: callvirt Void Notify_PawnRemoved(Verse.Pawn)
L_0073: Label4
L_0073: ldarg.0
L_0074: ldarg.1
L_0075: call Void NotifyColonistBarIfColonistCorpse(Verse.Thing)
L_007a: ldarg.0
L_007b: call Void Postfix(Verse.ThingOwner`1[Verse.Thing])
L_0080: ret
DONE
### Patch RimWorld.Selector, Void ClearSelection()
L_0000: call Void Clear()
L_0005: ldarg.0
L_0006: ldfld System.Collections.Generic.List`1[System.Object] selected
L_000b: callvirt Void Clear()
L_0010: call Void Postfix()
L_0015: ret
DONE

### Patch RimWorld.Selector, Void Deselect(System.Object)


L_0000: Local var 0: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Int32)
L_0006: ldloca 0 (System.Int32)
L_0008: call Void Prefix(Int32 ByRef)
L_000d: ldarg.0
L_000e: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0013: ldarg.1
L_0014: callvirt Boolean Contains(System.Object)
L_0019: brfalse Label1
L_001e: ldarg.0
L_001f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0024: ldarg.1
L_0025: callvirt Boolean Remove(System.Object)
L_002a: pop
L_002b: Label1
L_002b: ldloc 0 (System.Int32)
L_002c: call Void Postfix(Int32)
L_0031: ret
DONE

### Patch RimWorld.Selector, Void Select(System.Object, Boolean, Boolean)


L_0000: Local var 0: Verse.Thing
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: Verse.Map
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 7 (System.Int32)
L_0007: ldloca 7 (System.Int32)
L_0009: call Void Prefix(Int32 ByRef)
L_000e: ldarg.1
L_000f: brtrue Label1
L_0014: ldstr "Cannot select null."
L_0019: ldc.i4.0
L_001a: call Void Error(System.String, Boolean)
L_001f: br Label26
L_0024: Label1
L_0024: ldarg.1
L_0025: isinst Verse.Thing
L_002a: stloc.0
L_002b: ldloc.0
L_002c: brtrue Label2
L_0031: ldarg.1
L_0032: isinst Verse.Zone
L_0037: brtrue Label3
L_003c: ldstr "Tried to select "
L_0041: ldarg.1
L_0042: ldstr " which is neither a Thing nor a Zone."
L_0047: call System.String Concat(System.Object, System.Object, System.Object)
L_004c: ldc.i4.0
L_004d: call Void Error(System.String, Boolean)
L_0052: br Label27
L_0057: Label2
L_0057: Label3
L_0057: ldloc.0
L_0058: brfalse Label4
L_005d: ldloc.0
L_005e: callvirt Boolean get_Destroyed()
L_0063: brfalse Label5
L_0068: ldstr "Cannot select destroyed thing."
L_006d: ldc.i4.0
L_006e: call Void Error(System.String, Boolean)
L_0073: br Label28
L_0078: Label4
L_0078: Label5
L_0078: ldarg.1
L_0079: isinst Verse.Pawn
L_007e: stloc.1
L_007f: ldloc.1
L_0080: brfalse Label6
L_0085: ldloc.1
L_0086: call Boolean IsWorldPawn(Verse.Pawn)
L_008b: brfalse Label7
L_0090: ldstr "Cannot select world pawns."
L_0095: ldc.i4.0
L_0096: call Void Error(System.String, Boolean)
L_009b: br Label29
L_00a0: Label6
L_00a0: Label7
L_00a0: ldarg.3
L_00a1: brfalse Label8
L_00a6: call Verse.DesignatorManager get_DesignatorManager()
L_00ab: callvirt Void Deselect()
L_00b0: Label8
L_00b0: ldarg.0
L_00b1: call Verse.Zone get_SelectedZone()
L_00b6: brfalse Label9
L_00bb: ldarg.1
L_00bc: isinst Verse.Zone
L_00c1: brtrue Label10
L_00c6: ldarg.0
L_00c7: call Void ClearSelection()
L_00cc: Label9
L_00cc: Label10
L_00cc: ldarg.1
L_00cd: isinst Verse.Zone
L_00d2: brfalse Label11
L_00d7: ldarg.0
L_00d8: call Verse.Zone get_SelectedZone()
L_00dd: brtrue Label12
L_00e2: ldarg.0
L_00e3: call Void ClearSelection()
L_00e8: Label11
L_00e8: Label12
L_00e8: ldloc.0
L_00e9: brfalse Label13
L_00ee: ldloc.0
L_00ef: callvirt Verse.Map get_Map()
L_00f4: br Label14
L_00f9: Label13
L_00f9: ldarg.1
L_00fa: castclass Verse.Zone
L_00ff: callvirt Verse.Map get_Map()
L_0104: Label14
L_0104: stloc.2
L_0105: ldarg.0
L_0106: ldfld System.Collections.Generic.List`1[System.Object] selected
L_010b: callvirt Int32 get_Count()
L_0110: ldc.i4.1
L_0111: sub
L_0112: stloc.3
L_0113: br Label15
L_0118: Label19
L_0118: ldarg.0
L_0119: ldfld System.Collections.Generic.List`1[System.Object] selected
L_011e: ldloc.3
L_011f: callvirt System.Object get_Item(Int32)
L_0124: isinst Verse.Thing
L_0129: stloc.s 4 (Verse.Thing)
L_012b: ldloc.s 4 (Verse.Thing)
L_012d: brfalse Label16
L_0132: ldloc.s 4 (Verse.Thing)
L_0134: callvirt Verse.Map get_Map()
L_0139: br Label17
L_013e: Label16
L_013e: ldarg.0
L_013f: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0144: ldloc.3
L_0145: callvirt System.Object get_Item(Int32)
L_014a: castclass Verse.Zone
L_014f: callvirt Verse.Map get_Map()
L_0154: Label17
L_0154: stloc.s 5 (Verse.Map)
L_0156: ldloc.s 5 (Verse.Map)
L_0158: ldloc.2
L_0159: beq Label18
L_015e: ldarg.0
L_015f: ldarg.0
L_0160: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0165: ldloc.3
L_0166: callvirt System.Object get_Item(Int32)
L_016b: call Void Deselect(System.Object)
L_0170: Label18
L_0170: ldloc.3
L_0171: ldc.i4.1
L_0172: sub
L_0173: stloc.3
L_0174: Label15
L_0174: ldloc.3
L_0175: ldc.i4.0
L_0176: bge Label19
L_017b: ldarg.0
L_017c: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0181: callvirt Int32 get_Count()
L_0186: ldc.i4.s 80
L_0188: blt Label20
L_018d: br Label30
L_0192: Label20
L_0192: ldarg.0
L_0193: ldarg.1
L_0194: call Boolean IsSelected(System.Object)
L_0199: brtrue Label21
L_019e: ldloc.2
L_019f: call Verse.Map get_CurrentMap()
L_01a4: beq Label22
L_01a9: call Verse.Game get_Game()
L_01ae: ldloc.2
L_01af: callvirt Void set_CurrentMap(Verse.Map)
L_01b4: ldsfld Verse.SoundDef MapSelected
L_01b9: ldnull
L_01ba: call Void PlayOneShotOnCamera(Verse.SoundDef, Verse.Map)
L_01bf: ldloc.0
L_01c0: brfalse Label23
L_01c5: ldloc.0
L_01c6: callvirt IntVec3 get_Position()
L_01cb: br Label24
L_01d0: Label23
L_01d0: ldarg.1
L_01d1: castclass Verse.Zone
L_01d6: callvirt System.Collections.Generic.List`1[Verse.IntVec3] get_Cells()
L_01db: ldc.i4.0
L_01dc: callvirt IntVec3 get_Item(Int32)
L_01e1: Label24
L_01e1: stloc.s 6 (Verse.IntVec3)
L_01e3: call Verse.CameraDriver get_CameraDriver()
L_01e8: ldloc.s 6 (Verse.IntVec3)
L_01ea: callvirt Void JumpToCurrentMapLoc(IntVec3)
L_01ef: Label22
L_01ef: ldarg.2
L_01f0: brfalse Label25
L_01f5: ldarg.0
L_01f6: ldarg.1
L_01f7: call Void PlaySelectionSoundFor(System.Object)
L_01fc: Label25
L_01fc: ldarg.0
L_01fd: ldfld System.Collections.Generic.List`1[System.Object] selected
L_0202: ldarg.1
L_0203: callvirt Void Add(System.Object)
L_0208: ldarg.1
L_0209: call Void Notify_Selected(System.Object)
L_020e: Label21
L_020e: Label26
L_020e: Label27
L_020e: Label28
L_020e: Label29
L_020e: Label30
L_020e: ldloc 7 (System.Int32)
L_0210: call Void Postfix(Int32)
L_0215: ret
DONE
### Patch RimWorld.Blueprint_Build, Verse.Thing MakeSolidThing()
L_0000: Local var 0: Verse.Thing
L_0000: ldnull
L_0001: stloc 0 (Verse.Thing)
L_0002: ldarg.0
L_0003: ldfld Verse.ThingDef def
L_0008: ldfld Verse.BuildableDef entityDefToBuild
L_000d: ldfld Verse.ThingDef frameDef
L_0012: ldarg.0
L_0013: ldfld Verse.ThingDef stuffToUse
L_0018: call Verse.Thing MakeThing(Verse.ThingDef, Verse.ThingDef)
L_001d: stloc 0 (Verse.Thing)
L_001e: ldloc 0 (Verse.Thing)
L_001f: ldarg.0
L_0020: call Void Postfix(Verse.Thing, RimWorld.Blueprint_Build)
L_0025: ldloc 0 (Verse.Thing)
L_0026: ret
DONE

### Patch Verse.AreaManager, Void ExposeData()


L_0000: ldarg.0
L_0001: call Void Prefix(Verse.AreaManager)
L_0006: ldarg.0
L_0007: ldflda System.Collections.Generic.List`1[Verse.Area] areas
L_000c: ldstr "areas"
L_0011: ldc.i4.2
L_0012: ldc.i4.0
L_0013: newarr System.Object
L_0018: call Void Look[Area](System.Collections.Generic.List`1[Verse.Area] ByRef,
System.String, LookMode, System.Object[])
L_001d: ldsfld Verse.LoadSaveMode mode
L_0022: ldc.i4.2
L_0023: bne.un Label1
L_0028: ldarg.0
L_0029: call Void UpdateAllAreasLinks()
L_002e: Label1
L_002e: ret
DONE

### Patch RimWorld.PlaySettings, Void DoPlaySettingsGlobalControls(Verse.WidgetRow,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Boolean
L_0000: Local var 3: System.Boolean
L_0000: ldarg.0
L_0001: ldfld System.Boolean showColonistBar
L_0006: stloc.0
L_0007: ldarg.2
L_0008: brfalse Label1
L_000d: call ProgramState get_ProgramState()
L_0012: ldc.i4.2
L_0013: bne.un Label2
L_0018: ldarg.1
L_0019: ldarg.0
L_001a: ldflda System.Boolean showColonistBar
L_001f: ldsfld UnityEngine.Texture2D ShowColonistBar
L_0024: ldstr "ShowColonistBarToggleButton"
L_0029: call System.String Translate(System.String)
L_002e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0033: ldnull
L_0034: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0039: Label2
L_0039: ldarg.0
L_003a: ldfld System.Boolean lockNorthUp
L_003f: stloc.1
L_0040: ldarg.1
L_0041: ldarg.0
L_0042: ldflda System.Boolean lockNorthUp
L_0047: ldsfld UnityEngine.Texture2D LockNorthUp
L_004c: ldstr "LockNorthUpToggleButton"
L_0051: call System.String Translate(System.String)
L_0056: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_005b: ldnull
L_005c: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0061: ldloc.1
L_0062: ldarg.0
L_0063: ldfld System.Boolean lockNorthUp
L_0068: beq Label3
L_006d: ldarg.0
L_006e: ldfld System.Boolean lockNorthUp
L_0073: brfalse Label4
L_0078: call RimWorld.Planet.WorldCameraDriver get_WorldCameraDriver()
L_007d: ldc.i4.1
L_007e: callvirt Void RotateSoNorthIsUp(Boolean)
L_0083: Label3
L_0083: Label4
L_0083: ldarg.1
L_0084: ldarg.0
L_0085: ldflda System.Boolean usePlanetDayNightSystem
L_008a: ldsfld UnityEngine.Texture2D UsePlanetDayNightSystem
L_008f: ldstr "UsePlanetDayNightSystemToggleButton"
L_0094: call System.String Translate(System.String)
L_0099: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_009e: ldnull
L_009f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00a4: ldarg.1
L_00a5: ldarg.0
L_00a6: ldflda System.Boolean showExpandingIcons
L_00ab: ldsfld UnityEngine.Texture2D ShowExpandingIcons
L_00b0: ldstr "ShowExpandingIconsToggleButton"
L_00b5: call System.String Translate(System.String)
L_00ba: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00bf: ldnull
L_00c0: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00c5: ldarg.1
L_00c6: ldarg.0
L_00c7: ldflda System.Boolean showWorldFeatures
L_00cc: ldsfld UnityEngine.Texture2D ShowWorldFeatures
L_00d1: ldstr "ShowWorldFeaturesToggleButton"
L_00d6: call System.String Translate(System.String)
L_00db: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_00e0: ldnull
L_00e1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_00e6: br Label5
L_00eb: Label1
L_00eb: ldarg.1
L_00ec: ldarg.0
L_00ed: ldflda System.Boolean showLearningHelper
L_00f2: ldsfld UnityEngine.Texture2D ShowLearningHelper
L_00f7: ldstr "ShowLearningHelperWhenEmptyToggleButton"
L_00fc: call System.String Translate(System.String)
L_0101: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0106: ldnull
L_0107: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_010c: ldarg.1
L_010d: ldarg.0
L_010e: ldflda System.Boolean showZones
L_0113: ldsfld UnityEngine.Texture2D ShowZones
L_0118: ldstr "ZoneVisibilityToggleButton"
L_011d: call System.String Translate(System.String)
L_0122: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0127: ldnull
L_0128: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_012d: ldarg.1
L_012e: ldarg.0
L_012f: ldflda System.Boolean showBeauty
L_0134: ldsfld UnityEngine.Texture2D ShowBeauty
L_0139: ldstr "ShowBeautyToggleButton"
L_013e: call System.String Translate(System.String)
L_0143: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0148: ldnull
L_0149: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_014e: ldarg.0
L_014f: ldsfld Verse.KeyBindingDef ToggleBeautyDisplay
L_0154: ldarg.0
L_0155: ldflda System.Boolean showBeauty
L_015a: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_015f: ldarg.1
L_0160: ldarg.0
L_0161: ldflda System.Boolean showRoomStats
L_0166: ldsfld UnityEngine.Texture2D ShowRoomStats
L_016b: ldstr "ShowRoomStatsToggleButton"
L_0170: call System.String Translate(System.String)
L_0175: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_017a: ldstr "InspectRoomStats"
L_017f: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0184: ldarg.0
L_0185: ldsfld Verse.KeyBindingDef ToggleRoomStatsDisplay
L_018a: ldarg.0
L_018b: ldflda System.Boolean showRoomStats
L_0190: call Void CheckKeyBindingToggle(Verse.KeyBindingDef, Boolean ByRef)
L_0195: ldarg.1
L_0196: ldarg.0
L_0197: ldflda System.Boolean showColonistBar
L_019c: ldsfld UnityEngine.Texture2D ShowColonistBar
L_01a1: ldstr "ShowColonistBarToggleButton"
L_01a6: call System.String Translate(System.String)
L_01ab: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01b0: ldnull
L_01b1: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01b6: ldarg.1
L_01b7: ldarg.0
L_01b8: ldflda System.Boolean showRoofOverlay
L_01bd: ldsfld UnityEngine.Texture2D ShowRoofOverlay
L_01c2: ldstr "ShowRoofOverlayToggleButton"
L_01c7: call System.String Translate(System.String)
L_01cc: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01d1: ldnull
L_01d2: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01d7: ldarg.1
L_01d8: ldarg.0
L_01d9: ldflda System.Boolean autoHomeArea
L_01de: ldsfld UnityEngine.Texture2D AutoHomeArea
L_01e3: ldstr "AutoHomeAreaToggleButton"
L_01e8: call System.String Translate(System.String)
L_01ed: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_01f2: ldnull
L_01f3: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_01f8: ldarg.1
L_01f9: ldarg.0
L_01fa: ldflda System.Boolean autoRebuild
L_01ff: ldsfld UnityEngine.Texture2D AutoRebuild
L_0204: ldstr "AutoRebuildButton"
L_0209: call System.String Translate(System.String)
L_020e: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0213: ldnull
L_0214: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_0219: call Boolean get_ResourceReadoutCategorized()
L_021e: stloc.2
L_021f: ldloc.2
L_0220: stloc.3
L_0221: ldarg.1
L_0222: ldloca.s 2 (System.Boolean)
L_0224: ldsfld UnityEngine.Texture2D CategorizedResourceReadout
L_0229: ldstr "CategorizedResourceReadoutToggleButton"
L_022e: call System.String Translate(System.String)
L_0233: ldsfld Verse.SoundDef Mouseover_ButtonToggle
L_0238: ldnull
L_0239: callvirt Void ToggleableIcon(Boolean ByRef, UnityEngine.Texture2D,
System.String, Verse.SoundDef, System.String)
L_023e: ldloc.2
L_023f: ldloc.3
L_0240: beq Label6
L_0245: ldloc.2
L_0246: call Void set_ResourceReadoutCategorized(Boolean)
L_024b: Label5
L_024b: Label6
L_024b: ldloc.0
L_024c: ldarg.0
L_024d: ldfld System.Boolean showColonistBar
L_0252: beq Label7
L_0257: call RimWorld.ColonistBar get_ColonistBar()
L_025c: callvirt Void MarkColonistsDirty()
L_0261: Label7
L_0261: ldarg 1
L_0267: ldarg 2
L_026d: call Void AddButton(Verse.WidgetRow, Boolean)
L_0272: ldarg 1
L_0278: ldarg 2
L_027e: call Void AddButton(Verse.WidgetRow, Boolean)
L_0283: ldarg 1
L_0289: ldarg 2
L_028f: call Void AddButton(Verse.WidgetRow, Boolean)
L_0294: ldarg 1
L_029a: ldarg 2
L_02a0: call Void Postfix(Verse.WidgetRow, Boolean)
L_02a5: ret
DONE

### Patch Verse.Game, Void UpdatePlay()


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldfld Verse.TickManager tickManager
L_0006: callvirt Void TickManagerUpdate()
L_000b: ldarg.0
L_000c: ldfld Verse.LetterStack letterStack
L_0011: callvirt Void LetterStackUpdate()
L_0016: ldarg.0
L_0017: call RimWorld.Planet.World get_World()
L_001c: callvirt Void WorldUpdate()
L_0021: ldc.i4.0
L_0022: stloc.0
L_0023: br Label1
L_0028: Label2
L_0028: ldarg.0
L_0029: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_002e: ldloc.0
L_002f: callvirt Verse.Map get_Item(Int32)
L_0034: callvirt Void MapUpdate()
L_0039: ldloc.0
L_003a: ldc.i4.1
L_003b: add
L_003c: stloc.0
L_003d: Label1
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: ldfld System.Collections.Generic.List`1[Verse.Map] maps
L_0044: callvirt Int32 get_Count()
L_0049: blt Label2
L_004e: ldarg.0
L_004f: call Verse.GameInfo get_Info()
L_0054: callvirt Void GameInfoUpdate()
L_0059: call Void GameComponentUpdate()
L_005e: call Void Postfix()
L_0063: ret
DONE

### Patch Verse.EdificeGrid, Void Register(Verse.Building)


L_0000: Local var 0: Verse.CellIndices
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.IntVec3
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean RegisterDoorExpanded(Verse.EdificeGrid, Verse.Building)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld Verse.Map map
L_0017: ldfld Verse.CellIndices cellIndices
L_001c: stloc.0
L_001d: ldarg.1
L_001e: call CellRect OccupiedRect(Verse.Thing)
L_0023: stloc.1
L_0024: ldloca.s 1 (Verse.CellRect)
L_0026: ldfld System.Int32 minZ
L_002b: stloc.2
L_002c: br Label1
L_0031: Label7
L_0031: ldloca.s 1 (Verse.CellRect)
L_0033: ldfld System.Int32 minX
L_0038: stloc.3
L_0039: br Label2
L_003e: Label6
L_003e: ldloca.s 4 (Verse.IntVec3)
L_0040: ldloc.3
L_0041: ldc.i4.0
L_0042: ldloc.2
L_0043: call Void .ctor(Int32, Int32, Int32)
L_0048: ldsfld System.Boolean isDebugBuild
L_004d: brfalse Label3
L_0052: ldarg.0
L_0053: ldloc.s 4 (Verse.IntVec3)
L_0055: call Verse.Building get_Item(IntVec3)
L_005a: brfalse Label4
L_005f: ldarg.0
L_0060: ldloc.s 4 (Verse.IntVec3)
L_0062: call Verse.Building get_Item(IntVec3)
L_0067: callvirt Boolean get_Destroyed()
L_006c: brtrue Label5
L_0071: ldc.i4.7
L_0072: newarr System.Object
L_0077: dup
L_0078: ldc.i4.0
L_0079: ldstr "Added edifice "
L_007e: stelem.ref
L_007f: dup
L_0080: ldc.i4.1
L_0081: ldarg.1
L_0082: callvirt System.String get_LabelCap()
L_0087: stelem.ref
L_0088: dup
L_0089: ldc.i4.2
L_008a: ldstr " over edifice "
L_008f: stelem.ref
L_0090: dup
L_0091: ldc.i4.3
L_0092: ldarg.0
L_0093: ldloc.s 4 (Verse.IntVec3)
L_0095: call Verse.Building get_Item(IntVec3)
L_009a: callvirt System.String get_LabelCap()
L_009f: stelem.ref
L_00a0: dup
L_00a1: ldc.i4.4
L_00a2: ldstr " at "
L_00a7: stelem.ref
L_00a8: dup
L_00a9: ldc.i4.5
L_00aa: ldloc.s 4 (Verse.IntVec3)
L_00ac: box Verse.IntVec3
L_00b1: stelem.ref
L_00b2: dup
L_00b3: ldc.i4.6
L_00b4: ldstr ". Destroying old edifice."
L_00b9: stelem.ref
L_00ba: call System.String Concat(System.Object[])
L_00bf: ldc.i4.0
L_00c0: call Void Error(System.String, Boolean)
L_00c5: ldarg.0
L_00c6: ldloc.s 4 (Verse.IntVec3)
L_00c8: call Verse.Building get_Item(IntVec3)
L_00cd: ldc.i4.0
L_00ce: callvirt Void Destroy(DestroyMode)
L_00d3: br Label8
L_00d8: Label3
L_00d8: Label4
L_00d8: Label5
L_00d8: ldarg.0
L_00d9: ldfld Verse.Building[] innerArray
L_00de: ldloc.0
L_00df: ldloc.s 4 (Verse.IntVec3)
L_00e1: callvirt Int32 CellToIndex(IntVec3)
L_00e6: ldarg.1
L_00e7: stelem.ref
L_00e8: ldloc.3
L_00e9: ldc.i4.1
L_00ea: add
L_00eb: stloc.3
L_00ec: Label2
L_00ec: ldloc.3
L_00ed: ldloca.s 1 (Verse.CellRect)
L_00ef: ldfld System.Int32 maxX
L_00f4: ble Label6
L_00f9: ldloc.2
L_00fa: ldc.i4.1
L_00fb: add
L_00fc: stloc.2
L_00fd: Label1
L_00fd: ldloc.2
L_00fe: ldloca.s 1 (Verse.CellRect)
L_0100: ldfld System.Int32 maxZ
L_0105: ble Label7
L_010a: Label8
L_010a: Label0
L_010a: ret
DONE

### Patch RimWorld.Building_Door, Void DoorOpen(Int32)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorOpen(RimWorld.Building_Door, Int32)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean openInt
L_0017: brfalse Label1
L_001c: ldarg.0
L_001d: ldarg.1
L_001e: stfld System.Int32 ticksUntilClose
L_0023: br Label2
L_0028: Label1
L_0028: ldarg.0
L_0029: ldarg.0
L_002a: call Int32 get_TicksToOpenNow()
L_002f: ldarg.1
L_0030: add
L_0031: stfld System.Int32 ticksUntilClose
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld System.Boolean openInt
L_003c: brtrue Label3
L_0041: ldarg.0
L_0042: ldc.i4.1
L_0043: stfld System.Boolean openInt
L_0048: ldarg.0
L_0049: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_004e: ldarg.0
L_004f: call Boolean get_DoorPowerOn()
L_0054: brfalse Label4
L_0059: ldarg.0
L_005a: ldfld Verse.ThingDef def
L_005f: ldfld RimWorld.BuildingProperties building
L_0064: ldfld Verse.SoundDef soundDoorOpenPowered
L_0069: ldarg.0
L_006a: call IntVec3 get_Position()
L_006f: ldarg.0
L_0070: call Verse.Map get_Map()
L_0075: ldc.i4.0
L_0076: newobj Void .ctor(IntVec3, Map, Boolean)
L_007b: call SoundInfo op_Implicit(TargetInfo)
L_0080: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0085: br Label5
L_008a: Label4
L_008a: ldarg.0
L_008b: ldfld Verse.ThingDef def
L_0090: ldfld RimWorld.BuildingProperties building
L_0095: ldfld Verse.SoundDef soundDoorOpenManual
L_009a: ldarg.0
L_009b: call IntVec3 get_Position()
L_00a0: ldarg.0
L_00a1: call Verse.Map get_Map()
L_00a6: ldc.i4.0
L_00a7: newobj Void .ctor(IntVec3, Map, Boolean)
L_00ac: call SoundInfo op_Implicit(TargetInfo)
L_00b1: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00b6: Label3
L_00b6: Label5
L_00b6: Label0
L_00b6: ret
DONE

### Patch RimWorld.Building_Door, Boolean DoorTryClose()


L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean InvisDoorTryClose(RimWorld.Building_Door)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldfld System.Boolean holdOpenInt
L_0017: brtrue Label1
L_001c: ldarg.0
L_001d: call Boolean get_BlockedOpenMomentary()
L_0022: brfalse Label2
L_0027: Label1
L_0027: ldc.i4.0
L_0028: br Label5
L_002d: Label2
L_002d: ldarg.0
L_002e: ldc.i4.0
L_002f: stfld System.Boolean openInt
L_0034: ldarg.0
L_0035: call Void CheckClearReachabilityCacheBecauseOpenedOrClosed()
L_003a: ldarg.0
L_003b: call Boolean get_DoorPowerOn()
L_0040: brfalse Label3
L_0045: ldarg.0
L_0046: ldfld Verse.ThingDef def
L_004b: ldfld RimWorld.BuildingProperties building
L_0050: ldfld Verse.SoundDef soundDoorClosePowered
L_0055: ldarg.0
L_0056: call IntVec3 get_Position()
L_005b: ldarg.0
L_005c: call Verse.Map get_Map()
L_0061: ldc.i4.0
L_0062: newobj Void .ctor(IntVec3, Map, Boolean)
L_0067: call SoundInfo op_Implicit(TargetInfo)
L_006c: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_0071: br Label4
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.ThingDef def
L_007c: ldfld RimWorld.BuildingProperties building
L_0081: ldfld Verse.SoundDef soundDoorCloseManual
L_0086: ldarg.0
L_0087: call IntVec3 get_Position()
L_008c: ldarg.0
L_008d: call Verse.Map get_Map()
L_0092: ldc.i4.0
L_0093: newobj Void .ctor(IntVec3, Map, Boolean)
L_0098: call SoundInfo op_Implicit(TargetInfo)
L_009d: call Void PlayOneShot(Verse.SoundDef, SoundInfo)
L_00a2: Label4
L_00a2: ldc.i4.1
L_00a3: Label5
L_00a3: stloc 0 (System.Boolean)
L_00a4: Label0
L_00a4: ldloc 0 (System.Boolean)
L_00a5: ret
DONE

### Patch RimWorld.Building_Door, Void Notify_PawnApproaching(Verse.Pawn, Int32)


L_0000: Local var 0: System.Int32
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: call Void CheckFriendlyTouched(Verse.Pawn)
L_0007: ldarg.0
L_0008: ldarg.1
L_0009: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_000e: brfalse Label1
L_0013: ldarg.0
L_0014: call Verse.Map get_Map()
L_0019: ldfld Verse.FogGrid fogGrid
L_001e: ldarg.0
L_001f: ldarg.1
L_0020: callvirt Void Notify_PawnEnteringDoor(RimWorld.Building_Door, Verse.Pawn)
L_0025: ldarg.0
L_0026: call Boolean get_SlowsPawns()
L_002b: brtrue Label2
L_0030: ldc.i4 300
L_0035: ldarg.2
L_0036: ldc.i4.1
L_0037: add
L_0038: call Int32 Max(Int32, Int32)
L_003d: stloc.0
L_003e: ldarg.0
L_003f: ldloc.0
L_0040: call Void DoorOpen(Int32)
L_0045: Label1
L_0045: Label2
L_0045: ldarg.0
L_0046: ldarg 1
L_004c: call Void InvisDoorNotifyApproaching(RimWorld.Building_Door, Verse.Pawn)
L_0051: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualCloseBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean InvisDoorManualClose(RimWorld.Building_Door, Verse.Pawn)
L_000c: brfalse Label0
L_0011: ldarg.0
L_0012: ldc.i4.s 110
L_0014: stfld System.Int32 ticksUntilClose
L_0019: Label0
L_0019: ret
DONE

### Patch RimWorld.Building_Door, Void StartManualOpenBy(Verse.Pawn)


L_0000: ldarg.0
L_0001: ldc.i4.s 110
L_0003: call Void DoorOpen(Int32)
L_0008: ldarg.0
L_0009: ldarg 1
L_000f: call Void InvisDoorManualOpen(RimWorld.Building_Door, Verse.Pawn)
L_0014: ret
DONE
### Patch RimWorld.Building_Door, Boolean get_FreePassage()
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.0
L_0007: ldloca 0 (System.Boolean)
L_0009: call Boolean get_FreePassage(RimWorld.Building_Door, Boolean ByRef)
L_000e: brfalse Label0
L_0013: ldarg.0
L_0014: ldfld System.Boolean openInt
L_0019: brtrue Label1
L_001e: ldc.i4.0
L_001f: br Label4
L_0024: Label1
L_0024: ldarg.0
L_0025: ldfld System.Boolean holdOpenInt
L_002a: brtrue Label2
L_002f: ldarg.0
L_0030: call Boolean get_WillCloseSoon()
L_0035: ldc.i4.0
L_0036: ceq
L_0038: br Label3
L_003d: Label2
L_003d: ldc.i4.1
L_003e: Label3
L_003e: Label4
L_003e: stloc 0 (System.Boolean)
L_003f: Label0
L_003f: ldloc 0 (System.Boolean)
L_0040: ret
DONE

### Patch Verse.GhostDrawer, Void DrawGhostThing(IntVec3, Rot4, Verse.ThingDef,


Verse.Graphic, Color, AltitudeLayer)
L_0000: Local var 0: Verse.Graphic
L_0000: Local var 1: UnityEngine.Vector3
L_0000: Local var 2: System.Int32
L_0000: Local var 3: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: ldarg 5
L_0024: call Boolean HeronDoorGhostHandler(IntVec3, Rot4, Verse.ThingDef,
Verse.Graphic, Color, AltitudeLayer)
L_0029: brfalse Label0
L_002e: ldarg.3
L_002f: brtrue Label1
L_0034: ldarg.2
L_0035: ldfld Verse.Graphic graphic
L_003a: starg.s 3
L_003c: Label1
L_003c: ldarg.3
L_003d: ldarg.2
L_003e: ldarg.s 4
L_0040: call Verse.Graphic GhostGraphicFor(Verse.Graphic, Verse.ThingDef, Color)
L_0045: stloc.0
L_0046: ldarg.0
L_0047: ldarg.1
L_0048: ldarg.2
L_0049: callvirt IntVec2 get_Size()
L_004e: ldarg.s 5
L_0050: call Single AltitudeFor(AltitudeLayer)
L_0055: call Vector3 TrueCenter(IntVec3, Rot4, IntVec2, Single)
L_005a: stloc.1
L_005b: ldloc.0
L_005c: ldloc.1
L_005d: ldarg.1
L_005e: ldarg.2
L_005f: ldc.r4 0
L_0064: callvirt Void DrawFromDef(Vector3, Rot4, Verse.ThingDef, Single)
L_0069: ldc.i4.0
L_006a: stloc.2
L_006b: br Label2
L_0070: Label3
L_0070: ldarg.2
L_0071: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0076: ldloc.2
L_0077: callvirt Verse.CompProperties get_Item(Int32)
L_007c: ldarg.0
L_007d: ldarg.1
L_007e: ldarg.2
L_007f: ldarg.s 4
L_0081: ldarg.s 5
L_0083: callvirt Void DrawGhost(IntVec3, Rot4, Verse.ThingDef, Color,
AltitudeLayer)
L_0088: ldloc.2
L_0089: ldc.i4.1
L_008a: add
L_008b: stloc.2
L_008c: Label2
L_008c: ldloc.2
L_008d: ldarg.2
L_008e: ldfld System.Collections.Generic.List`1[Verse.CompProperties] comps
L_0093: callvirt Int32 get_Count()
L_0098: blt Label3
L_009d: ldarg.2
L_009e: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00a3: brfalse Label4
L_00a8: ldc.i4.0
L_00a9: stloc.3
L_00aa: br Label5
L_00af: Label6
L_00af: ldarg.2
L_00b0: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00b5: ldloc.3
L_00b6: callvirt Verse.PlaceWorker get_Item(Int32)
L_00bb: ldarg.2
L_00bc: ldarg.0
L_00bd: ldarg.1
L_00be: ldarg.s 4
L_00c0: callvirt Void DrawGhost(Verse.ThingDef, IntVec3, Rot4, Color)
L_00c5: ldloc.3
L_00c6: ldc.i4.1
L_00c7: add
L_00c8: stloc.3
L_00c9: Label5
L_00c9: ldloc.3
L_00ca: ldarg.2
L_00cb: callvirt System.Collections.Generic.List`1[Verse.PlaceWorker]
get_PlaceWorkers()
L_00d0: callvirt Int32 get_Count()
L_00d5: blt Label6
L_00da: Label4
L_00da: Label0
L_00da: ret
DONE

### Patch Verse.GenSpawn, Void SpawnBuildingAsPossible(Verse.Building, Verse.Map,


Boolean)
L_0000: Local var 0: System.Boolean
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: Verse.CellRect
L_0000: Local var 5: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Int32
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: call Boolean HeronSpawnBuildingAsPossible(Verse.Building, Verse.Map,
Boolean)
L_0017: brfalse Label0
L_001c: ldc.i4.0
L_001d: stloc.0
L_001e: ldarg.0
L_001f: call CellRect OccupiedRect(Verse.Thing)
L_0024: stloc.1
L_0025: ldloca.s 1 (Verse.CellRect)
L_0027: ldarg.1
L_0028: call Boolean InBounds(Verse.Map)
L_002d: brtrue Label1
L_0032: ldc.i4.1
L_0033: stloc.0
L_0034: br Label2
L_0039: Label1
L_0039: ldarg.0
L_003a: call CellRect OccupiedRect(Verse.Thing)
L_003f: stloc.s 4 (Verse.CellRect)
L_0041: ldloca.s 4 (Verse.CellRect)
L_0043: call IEnumerator`1 GetEnumerator()
L_0048: stloc.3
.try
{
L_0049: br Label3
L_004e: Label15
L_004e: ldloc.3
L_004f: callvirt IntVec3 get_Current()
L_0054: stloc.2
L_0055: ldloc.2
L_0056: ldarg.1
L_0057: call System.Collections.Generic.List`1[Verse.Thing]
GetThingList(IntVec3, Verse.Map)
L_005c: stloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_005e: ldc.i4.0
L_005f: stloc.s 6 (System.Int32)
L_0061: br Label4
L_0066: Label12
L_0066: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0068: ldloc.s 6 (System.Int32)
L_006a: callvirt Verse.Thing get_Item(Int32)
L_006f: isinst Verse.Pawn
L_0074: brfalse Label5
L_0079: ldarg.0
L_007a: ldfld Verse.ThingDef def
L_007f: ldfld Verse.Traversability passability
L_0084: ldc.i4.2
L_0085: bne.un Label6
L_008a: ldc.i4.1
L_008b: stloc.0
L_008c: leave Label7
L_0091: Label5
L_0091: Label6
L_0091: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_0093: ldloc.s 6 (System.Int32)
L_0095: callvirt Verse.Thing get_Item(Int32)
L_009a: ldfld Verse.ThingDef def
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.3
L_00a5: beq Label8
L_00aa: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00ac: ldloc.s 6 (System.Int32)
L_00ae: callvirt Verse.Thing get_Item(Int32)
L_00b3: ldfld Verse.ThingDef def
L_00b8: ldfld Verse.ThingCategory category
L_00bd: ldc.i4.2
L_00be: bne.un Label9
L_00c3: Label8
L_00c3: ldarg.0
L_00c4: ldfld Verse.ThingDef def
L_00c9: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00cb: ldloc.s 6 (System.Int32)
L_00cd: callvirt Verse.Thing get_Item(Int32)
L_00d2: ldfld Verse.ThingDef def
L_00d7: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00dc: brfalse Label10
L_00e1: ldc.i4.1
L_00e2: stloc.0
L_00e3: leave Label11
L_00e8: Label9
L_00e8: Label10
L_00e8: ldloc.s 6 (System.Int32)
L_00ea: ldc.i4.1
L_00eb: add
L_00ec: stloc.s 6 (System.Int32)
L_00ee: Label4
L_00ee: ldloc.s 6 (System.Int32)
L_00f0: ldloc.s 5 (System.Collections.Generic.List`1[Verse.Thing])
L_00f2: callvirt Int32 get_Count()
L_00f7: blt Label12
L_00fc: Label7
L_00fc: Label11
L_00fc: ldloc.0
L_00fd: brfalse Label13
L_0102: leave Label14
L_0107: Label3
L_0107: Label13
L_0107: ldloc.3
L_0108: callvirt Boolean MoveNext()
L_010d: brtrue Label15
L_0112: Label14
L_0112: leave Label16
L_0117: leave (autogenerated)
} // end try
.finally
{
L_011c: ldloc.3
L_011d: brfalse Label17
L_0122: ldloc.3
L_0123: callvirt Void Dispose()
L_0128: Label17
L_0128: endfinally
L_0129: leave (autogenerated)
} // end handler
L_012a: Label2
L_012a: Label16
L_012a: ldloc.0
L_012b: brfalse Label18
L_0130: ldarg.0
L_0131: ldarg.1
L_0132: call CellRect get_Empty()
L_0137: call Void Refund(Verse.Thing, Verse.Map, CellRect)
L_013c: br Label19
L_0141: Label18
L_0141: ldarg.0
L_0142: ldarg.0
L_0143: callvirt IntVec3 get_Position()
L_0148: ldarg.1
L_0149: ldarg.0
L_014a: callvirt Rot4 get_Rotation()
L_014f: ldc.i4.1
L_0150: ldarg.2
L_0151: call Verse.Thing Spawn(Verse.Thing, IntVec3, Verse.Map, Rot4, WipeMode,
Boolean)
L_0156: pop
L_0157: Label19
L_0157: Label0
L_0157: ret
DONE

### Patch Verse.GenSpawn, Void WipeExistingThings(IntVec3, Rot4,


Verse.BuildableDef, Verse.Map, DestroyMode)
L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: System.Collections.Generic.IEnumerator`1[[Verse.IntVec3,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Thing
L_0000: Local var 3: System.Collections.Generic.List`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: ldarg 3
L_0018: ldarg 4
L_001e: call Boolean WipeExistingThings(IntVec3, Rot4, Verse.BuildableDef,
Verse.Map, DestroyMode)
L_0023: brfalse Label0
L_0028: ldarg.0
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: callvirt IntVec2 get_Size()
L_0030: call IEnumerable`1 CellsOccupiedBy(IntVec3, Rot4, IntVec2)
L_0035: callvirt IEnumerator`1 GetEnumerator()
L_003a: stloc.1
.try
{
L_003b: br Label1
L_0040: Label6
L_0040: ldloc.1
L_0041: callvirt IntVec3 get_Current()
L_0046: stloc.0
L_0047: ldarg.3
L_0048: ldfld Verse.ThingGrid thingGrid
L_004d: ldloc.0
L_004e: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_0053: call System.Collections.Generic.List`1[Verse.Thing] ToList[Thing]
(IEnumerable`1)
L_0058: callvirt Enumerator GetEnumerator()
L_005d: stloc.3
.try
{
L_005e: br Label2
L_0063: Label4
L_0063: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0065: call Verse.Thing get_Current()
L_006a: stloc.2
L_006b: ldarg.2
L_006c: ldloc.2
L_006d: ldfld Verse.ThingDef def
L_0072: call Boolean SpawningWipes(Verse.BuildableDef,
Verse.BuildableDef)
L_0077: brfalse Label3
L_007c: ldloc.2
L_007d: ldarg.s 4
L_007f: callvirt Void Destroy(DestroyMode)
L_0084: Label2
L_0084: Label3
L_0084: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0086: call Boolean MoveNext()
L_008b: brtrue Label4
L_0090: leave Label5
L_0095: leave (autogenerated)
} // end try
.finally
{
L_009a: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_009c: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_00a2: callvirt Void Dispose()
L_00a7: endfinally
L_00a8: leave (autogenerated)
} // end handler
L_00a9: Label1
L_00a9: Label5
L_00a9: ldloc.1
L_00aa: callvirt Boolean MoveNext()
L_00af: brtrue Label6
L_00b4: leave Label7
L_00b9: leave (autogenerated)
} // end try
.finally
{
L_00be: ldloc.1
L_00bf: brfalse Label8
L_00c4: ldloc.1
L_00c5: callvirt Void Dispose()
L_00ca: Label8
L_00ca: endfinally
L_00cb: leave (autogenerated)
} // end handler
L_00cc: Label7
L_00cc: Label0
L_00cc: ret
DONE

### Patch Verse.GenSpawn, Boolean SpawningWipes(Verse.BuildableDef,


Verse.BuildableDef)
L_0000: Local var 0: Verse.ThingDef
L_0000: Local var 1: Verse.ThingDef
L_0000: Local var 2: Verse.BuildableDef
L_0000: Local var 3: Verse.BuildableDef
L_0000: Local var 4: Verse.ThingDef
L_0000: Local var 5: Verse.ThingDef
L_0000: Local var 6: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 6 (System.Boolean)
L_0007: ldarg.0
L_0008: isinst Verse.ThingDef
L_000d: stloc.0
L_000e: ldarg.1
L_000f: isinst Verse.ThingDef
L_0014: stloc.1
L_0015: ldloc.0
L_0016: brfalse Label1
L_001b: ldloc.1
L_001c: brtrue Label2
L_0021: Label1
L_0021: ldc.i4.0
L_0022: br Label49
L_0027: Label2
L_0027: ldloc.0
L_0028: ldfld Verse.ThingCategory category
L_002d: ldc.i4.8
L_002e: beq Label3
L_0033: ldloc.0
L_0034: ldfld Verse.ThingCategory category
L_0039: ldc.i4.s 9
L_003b: beq Label4
L_0040: ldloc.0
L_0041: ldfld Verse.ThingCategory category
L_0046: ldc.i4.6
L_0047: beq Label5
L_004c: ldloc.0
L_004d: ldfld Verse.ThingCategory category
L_0052: ldc.i4.5
L_0053: bne.un Label6
L_0058: Label3
L_0058: Label4
L_0058: Label5
L_0058: ldc.i4.0
L_0059: br Label50
L_005e: Label6
L_005e: ldloc.1
L_005f: ldfld System.Boolean destroyable
L_0064: brtrue Label7
L_0069: ldc.i4.0
L_006a: br Label51
L_006f: Label7
L_006f: ldloc.0
L_0070: ldfld Verse.ThingCategory category
L_0075: ldc.i4.4
L_0076: bne.un Label8
L_007b: ldc.i4.0
L_007c: br Label52
L_0081: Label8
L_0081: ldloc.1
L_0082: ldfld Verse.ThingCategory category
L_0087: ldc.i4.6
L_0088: bne.un Label9
L_008d: ldloc.0
L_008e: ldfld Verse.Traversability passability
L_0093: brfalse Label10
L_0098: ldc.i4.1
L_0099: br Label53
L_009e: Label9
L_009e: Label10
L_009e: ldloc.1
L_009f: ldfld Verse.ThingCategory category
L_00a4: ldc.i4.2
L_00a5: bne.un Label11
L_00aa: ldloc.0
L_00ab: ldfld Verse.Traversability passability
L_00b0: ldc.i4.2
L_00b1: bne.un Label12
L_00b6: ldloc.0
L_00b7: ldfld Verse.SurfaceType surfaceType
L_00bc: brtrue Label13
L_00c1: ldc.i4.1
L_00c2: br Label54
L_00c7: Label11
L_00c7: Label12
L_00c7: Label13
L_00c7: ldloc.0
L_00c8: callvirt Boolean get_EverTransmitsPower()
L_00cd: brfalse Label14
L_00d2: ldloc.1
L_00d3: ldsfld Verse.ThingDef PowerConduit
L_00d8: bne.un Label15
L_00dd: ldc.i4.1
L_00de: br Label55
L_00e3: Label14
L_00e3: Label15
L_00e3: ldloc.0
L_00e4: callvirt Boolean get_IsFrame()
L_00e9: brfalse Label16
L_00ee: ldloc.0
L_00ef: ldfld Verse.BuildableDef entityDefToBuild
L_00f4: ldarg.1
L_00f5: call Boolean SpawningWipes(Verse.BuildableDef, Verse.BuildableDef)
L_00fa: brfalse Label17
L_00ff: ldc.i4.1
L_0100: br Label56
L_0105: Label16
L_0105: Label17
L_0105: ldloc.0
L_0106: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_010b: stloc.2
L_010c: ldloc.1
L_010d: call Verse.BuildableDef BuiltDefOf(Verse.ThingDef)
L_0112: stloc.3
L_0113: ldloc.2
L_0114: brfalse Label18
L_0119: ldloc.3
L_011a: brtrue Label19
L_011f: Label18
L_011f: ldc.i4.0
L_0120: br Label57
L_0125: Label19
L_0125: ldloc.0
L_0126: ldfld Verse.BuildableDef entityDefToBuild
L_012b: isinst Verse.ThingDef
L_0130: stloc.s 4 (Verse.ThingDef)
L_0132: ldloc.1
L_0133: callvirt Boolean get_IsBlueprint()
L_0138: brfalse Label20
L_013d: ldloc.0
L_013e: callvirt Boolean get_IsBlueprint()
L_0143: brfalse Label21
L_0148: ldloc.s 4 (Verse.ThingDef)
L_014a: brfalse Label22
L_014f: ldloc.s 4 (Verse.ThingDef)
L_0151: ldfld RimWorld.BuildingProperties building
L_0156: brfalse Label23
L_015b: ldloc.s 4 (Verse.ThingDef)
L_015d: ldfld RimWorld.BuildingProperties building
L_0162: ldfld System.Boolean canPlaceOverWall
L_0167: brfalse Label24
L_016c: ldloc.1
L_016d: ldfld Verse.BuildableDef entityDefToBuild
L_0172: isinst Verse.ThingDef
L_0177: brfalse Label25
L_017c: ldloc.1
L_017d: ldfld Verse.BuildableDef entityDefToBuild
L_0182: castclass Verse.ThingDef
L_0187: ldsfld Verse.ThingDef Wall
L_018c: bne.un Label26
L_0191: ldc.i4.1
L_0192: br Label58
L_0197: Label22
L_0197: Label23
L_0197: Label24
L_0197: Label25
L_0197: Label26
L_0197: ldloc.1
L_0198: ldfld Verse.BuildableDef entityDefToBuild
L_019d: isinst Verse.TerrainDef
L_01a2: brfalse Label27
L_01a7: ldloc.0
L_01a8: ldfld Verse.BuildableDef entityDefToBuild
L_01ad: isinst Verse.ThingDef
L_01b2: brfalse Label28
L_01b7: ldloc.0
L_01b8: ldfld Verse.BuildableDef entityDefToBuild
L_01bd: castclass Verse.ThingDef
L_01c2: ldfld System.Boolean coversFloor
L_01c7: brfalse Label29
L_01cc: ldc.i4.1
L_01cd: br Label59
L_01d2: Label28
L_01d2: Label29
L_01d2: ldloc.0
L_01d3: ldfld Verse.BuildableDef entityDefToBuild
L_01d8: isinst Verse.TerrainDef
L_01dd: brfalse Label30
L_01e2: ldc.i4.1
L_01e3: br Label60
L_01e8: Label21
L_01e8: Label27
L_01e8: Label30
L_01e8: ldloc.1
L_01e9: ldfld Verse.BuildableDef entityDefToBuild
L_01ee: ldsfld Verse.ThingDef PowerConduit
L_01f3: bne.un Label31
L_01f8: ldloc.0
L_01f9: ldfld Verse.BuildableDef entityDefToBuild
L_01fe: isinst Verse.ThingDef
L_0203: brfalse Label32
L_0208: ldloc.0
L_0209: ldfld Verse.BuildableDef entityDefToBuild
L_020e: isinst Verse.ThingDef
L_0213: callvirt Boolean get_EverTransmitsPower()
L_0218: brfalse Label33
L_021d: ldc.i4.1
L_021e: br Label61
L_0223: Label31
L_0223: Label32
L_0223: Label33
L_0223: ldc.i4.0
L_0224: br Label62
L_0229: Label20
L_0229: ldloc.1
L_022a: callvirt Boolean get_IsFrame()
L_022f: brtrue Label34
L_0234: ldloc.1
L_0235: callvirt Boolean get_IsBlueprint()
L_023a: brfalse Label35
L_023f: Label34
L_023f: ldloc.1
L_0240: ldfld Verse.BuildableDef entityDefToBuild
L_0245: isinst Verse.TerrainDef
L_024a: brfalse Label36
L_024f: ldloc.2
L_0250: isinst Verse.ThingDef
L_0255: stloc.s 5 (Verse.ThingDef)
L_0257: ldloc.s 5 (Verse.ThingDef)
L_0259: brfalse Label37
L_025e: ldloc.s 5 (Verse.ThingDef)
L_0260: callvirt Boolean get_CoexistsWithFloors()
L_0265: brtrue Label38
L_026a: ldc.i4.1
L_026b: br Label63
L_0270: Label35
L_0270: Label36
L_0270: Label37
L_0270: Label38
L_0270: ldloc.1
L_0271: ldsfld Verse.ThingDef ActiveDropPod
L_0276: bne.un Label39
L_027b: ldc.i4.0
L_027c: br Label64
L_0281: Label39
L_0281: ldloc.0
L_0282: ldsfld Verse.ThingDef ActiveDropPod
L_0287: bne.un Label40
L_028c: ldloc.1
L_028d: ldsfld Verse.ThingDef ActiveDropPod
L_0292: bne.un Label41
L_0297: ldc.i4.0
L_0298: br Label65
L_029d: Label41
L_029d: ldloc.1
L_029e: ldfld Verse.ThingCategory category
L_02a3: ldc.i4.3
L_02a4: bne.un Label42
L_02a9: ldloc.1
L_02aa: ldfld Verse.Traversability passability
L_02af: ldc.i4.2
L_02b0: bne.un Label43
L_02b5: ldc.i4.1
L_02b6: br Label66
L_02bb: Label42
L_02bb: Label43
L_02bb: ldc.i4.0
L_02bc: br Label67
L_02c1: Label40
L_02c1: ldloc.0
L_02c2: call Boolean IsEdifice(Verse.BuildableDef)
L_02c7: brfalse Label44
L_02cc: ldloc.0
L_02cd: callvirt Boolean get_BlockPlanting()
L_02d2: brfalse Label45
L_02d7: ldloc.1
L_02d8: ldfld Verse.ThingCategory category
L_02dd: ldc.i4.4
L_02de: bne.un Label46
L_02e3: ldc.i4.1
L_02e4: br Label68
L_02e9: Label45
L_02e9: Label46
L_02e9: ldloc.2
L_02ea: isinst Verse.TerrainDef
L_02ef: brtrue Label47
L_02f4: ldloc.3
L_02f5: call Boolean IsEdifice(Verse.BuildableDef)
L_02fa: brfalse Label48
L_02ff: ldc.i4.1
L_0300: br Label69
L_0305: Label44
L_0305: Label47
L_0305: Label48
L_0305: ldc.i4.0
L_0306: Label49
L_0306: Label50
L_0306: Label51
L_0306: Label52
L_0306: Label53
L_0306: Label54
L_0306: Label55
L_0306: Label56
L_0306: Label57
L_0306: Label58
L_0306: Label59
L_0306: Label60
L_0306: Label61
L_0306: Label62
L_0306: Label63
L_0306: Label64
L_0306: Label65
L_0306: Label66
L_0306: Label67
L_0306: Label68
L_0306: Label69
L_0306: stloc 6 (System.Boolean)
L_0308: ldarg 0
L_030e: ldarg 1
L_0314: ldloca 6 (System.Boolean)
L_0316: call Void InvisDoorsDontWipe(Verse.BuildableDef, Verse.BuildableDef,
Boolean ByRef)
L_031b: ldloc 6 (System.Boolean)
L_031d: ret
DONE

### Patch Verse.AI.GenPath, Boolean ShouldNotEnterCell(Verse.Pawn, Verse.Map,


IntVec3)
L_0000: Local var 0: Verse.Building
L_0000: Local var 1: RimWorld.Building_Door
L_0000: Local var 2: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.1
L_0007: ldfld Verse.AI.PathGrid pathGrid
L_000c: ldarg.2
L_000d: callvirt Int32 PerceivedPathCostAt(IntVec3)
L_0012: ldc.i4.s 30
L_0014: ble Label1
L_0019: ldc.i4.1
L_001a: br Label9
L_001f: Label1
L_001f: ldarg.2
L_0020: ldarg.1
L_0021: call Boolean Walkable(IntVec3, Verse.Map)
L_0026: brtrue Label2
L_002b: ldc.i4.1
L_002c: br Label10
L_0031: Label2
L_0031: ldarg.0
L_0032: brfalse Label3
L_0037: ldarg.2
L_0038: ldarg.0
L_0039: call Boolean IsForbidden(IntVec3, Verse.Pawn)
L_003e: brfalse Label4
L_0043: ldc.i4.1
L_0044: br Label11
L_0049: Label4
L_0049: ldarg.2
L_004a: ldarg.1
L_004b: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0050: stloc.0
L_0051: ldloc.0
L_0052: brfalse Label5
L_0057: ldloc.0
L_0058: isinst RimWorld.Building_Door
L_005d: stloc.1
L_005e: ldloc.1
L_005f: brfalse Label6
L_0064: ldloc.1
L_0065: ldarg.0
L_0066: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_006b: brfalse Label7
L_0070: ldc.i4.1
L_0071: br Label12
L_0076: Label7
L_0076: ldloc.1
L_0077: ldarg.0
L_0078: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_007d: brtrue Label8
L_0082: ldc.i4.1
L_0083: br Label13
L_0088: Label3
L_0088: Label5
L_0088: Label6
L_0088: Label8
L_0088: ldc.i4.0
L_0089: Label9
L_0089: Label10
L_0089: Label11
L_0089: Label12
L_0089: Label13
L_0089: stloc 2 (System.Boolean)
L_008a: ldarg 0
L_0090: ldarg 1
L_0096: ldarg 2
L_009c: ldloca 2 (System.Boolean)
L_009e: call Void ShouldNotEnterCellInvisDoors(Verse.Pawn, Verse.Map, IntVec3,
Boolean ByRef)
L_00a3: ldloc 2 (System.Boolean)
L_00a4: ret
DONE

### Patch RimWorld.CompForbiddable, Void PostDraw()


L_0000: ldarg.0
L_0001: call Boolean DontDrawInvisDoorForbiddenIcons(RimWorld.CompForbiddable)
L_0006: brfalse Label0
L_000b: ldarg.0
L_000c: ldfld System.Boolean forbiddenInt
L_0011: brfalse Label1
L_0016: ldarg.0
L_0017: ldfld Verse.ThingWithComps parent
L_001c: isinst RimWorld.Blueprint
L_0021: brtrue Label2
L_0026: ldarg.0
L_0027: ldfld Verse.ThingWithComps parent
L_002c: isinst RimWorld.Frame
L_0031: brfalse Label3
L_0036: Label2
L_0036: ldarg.0
L_0037: ldfld Verse.ThingWithComps parent
L_003c: ldfld Verse.ThingDef def
L_0041: ldflda Verse.IntVec2 size
L_0046: ldfld System.Int32 x
L_004b: ldc.i4.1
L_004c: bgt Label4
L_0051: ldarg.0
L_0052: ldfld Verse.ThingWithComps parent
L_0057: ldfld Verse.ThingDef def
L_005c: ldflda Verse.IntVec2 size
L_0061: ldfld System.Int32 z
L_0066: ldc.i4.1
L_0067: ble Label5
L_006c: Label4
L_006c: ldarg.0
L_006d: ldfld Verse.ThingWithComps parent
L_0072: callvirt Verse.Map get_Map()
L_0077: ldfld RimWorld.OverlayDrawer overlayDrawer
L_007c: ldarg.0
L_007d: ldfld Verse.ThingWithComps parent
L_0082: ldc.i4.s 16
L_0084: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0089: br Label6
L_008e: Label5
L_008e: ldarg.0
L_008f: ldfld Verse.ThingWithComps parent
L_0094: callvirt Verse.Map get_Map()
L_0099: ldfld RimWorld.OverlayDrawer overlayDrawer
L_009e: ldarg.0
L_009f: ldfld Verse.ThingWithComps parent
L_00a4: ldc.i4.8
L_00a5: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00aa: Label6
L_00aa: br Label7
L_00af: Label3
L_00af: ldarg.0
L_00b0: ldfld Verse.ThingWithComps parent
L_00b5: ldfld Verse.ThingDef def
L_00ba: ldfld Verse.ThingCategory category
L_00bf: ldc.i4.3
L_00c0: bne.un Label8
L_00c5: ldarg.0
L_00c6: ldfld Verse.ThingWithComps parent
L_00cb: callvirt Verse.Map get_Map()
L_00d0: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00d5: ldarg.0
L_00d6: ldfld Verse.ThingWithComps parent
L_00db: ldc.i4.s 16
L_00dd: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_00e2: br Label9
L_00e7: Label8
L_00e7: ldarg.0
L_00e8: ldfld Verse.ThingWithComps parent
L_00ed: callvirt Verse.Map get_Map()
L_00f2: ldfld RimWorld.OverlayDrawer overlayDrawer
L_00f7: ldarg.0
L_00f8: ldfld Verse.ThingWithComps parent
L_00fd: ldc.i4.8
L_00fe: callvirt Void DrawOverlay(Verse.Thing, OverlayTypes)
L_0103: Label1
L_0103: Label7
L_0103: Label9
L_0103: Label0
L_0103: ret
DONE

### Patch Verse.AI.PawnPathUtility, Boolean


TryFindLastCellBeforeBlockingDoor(Verse.AI.PawnPath, Verse.Pawn, IntVec3 ByRef)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Door
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg 0
L_000c: ldarg 1
L_0012: ldarg 2
L_0018: ldloca 3 (System.Boolean)
L_001a: call Boolean ManhunterJobGiverFix(Verse.AI.PawnPath, Verse.Pawn, IntVec3
ByRef, Boolean ByRef)
L_001f: brfalse Label0
L_0024: ldarg.0
L_0025: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_002a: callvirt Int32 get_Count()
L_002f: ldc.i4.1
L_0030: bne.un Label1
L_0035: ldarg.2
L_0036: ldarg.0
L_0037: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_003c: ldc.i4.0
L_003d: callvirt IntVec3 get_Item(Int32)
L_0042: stobj Verse.IntVec3
L_0047: ldc.i4.0
L_0048: br Label6
L_004d: Label1
L_004d: ldarg.0
L_004e: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0053: stloc.0
L_0054: ldloc.0
L_0055: callvirt Int32 get_Count()
L_005a: ldc.i4.2
L_005b: sub
L_005c: stloc.1
L_005d: br Label2
L_0062: Label5
L_0062: ldloc.0
L_0063: ldloc.1
L_0064: callvirt IntVec3 get_Item(Int32)
L_0069: ldarg.1
L_006a: callvirt Verse.Map get_Map()
L_006f: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_0074: isinst RimWorld.Building_Door
L_0079: stloc.2
L_007a: ldloc.2
L_007b: brfalse Label3
L_0080: ldloc.2
L_0081: ldarg.1
L_0082: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0087: brtrue Label4
L_008c: ldarg.2
L_008d: ldloc.0
L_008e: ldloc.1
L_008f: ldc.i4.1
L_0090: add
L_0091: callvirt IntVec3 get_Item(Int32)
L_0096: stobj Verse.IntVec3
L_009b: ldc.i4.1
L_009c: br Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldloc.1
L_00a2: ldc.i4.1
L_00a3: sub
L_00a4: stloc.1
L_00a5: Label2
L_00a5: ldloc.1
L_00a6: ldc.i4.1
L_00a7: bge Label5
L_00ac: ldarg.2
L_00ad: ldloc.0
L_00ae: ldc.i4.0
L_00af: callvirt IntVec3 get_Item(Int32)
L_00b4: stobj Verse.IntVec3
L_00b9: ldc.i4.0
L_00ba: Label6
L_00ba: Label7
L_00ba: stloc 3 (System.Boolean)
L_00bb: Label0
L_00bb: ldloc 3 (System.Boolean)
L_00bc: ret
DONE

### Patch RimWorld.ForbidUtility, Boolean IsForbiddenToPass(RimWorld.Building_Door,


Verse.Pawn)
L_0000: Local var 0: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: ldarg.1
L_0007: ldc.i4.0
L_0008: call Boolean CaresAboutForbidden(Verse.Pawn, Boolean)
L_000d: brtrue Label1
L_0012: ldc.i4.0
L_0013: br Label3
L_0018: Label1
L_0018: ldarg.0
L_0019: ldarg.1
L_001a: callvirt RimWorld.Faction get_Faction()
L_001f: call Boolean IsForbidden(Verse.Thing, RimWorld.Faction)
L_0024: brfalse Label2
L_0029: ldc.i4.1
L_002a: br Label4
L_002f: Label2
L_002f: ldc.i4.0
L_0030: Label3
L_0030: Label4
L_0030: stloc 0 (System.Boolean)
L_0031: ldarg 0
L_0037: ldarg 1
L_003d: ldloca 0 (System.Boolean)
L_003f: call Void IsForbiddenToPass_PostFix(Verse.Thing, Verse.Pawn, Boolean ByRef)
L_0044: ldloc 0 (System.Boolean)
L_0045: ret
DONE

### Patch Verse.AI.PathFinder, Int32 GetBuildingCost(Verse.Building, TraverseParms,


Verse.Pawn)
L_0000: Local var 0: RimWorld.Building_Door
L_0000: Local var 1: Verse.TraverseMode
L_0000: Local var 2: System.Int32
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Int32)
L_0006: ldarg.0
L_0007: isinst RimWorld.Building_Door
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label1
L_0013: ldarga.s 1
L_0015: ldfld Verse.TraverseMode mode
L_001a: stloc.1
L_001b: ldloc.1
L_001c: switch Labels2,3,4,5,6,7
L_0039: br Label8
L_003e: Label4
L_003e: Label6
L_003e: ldloc.0
L_003f: callvirt Boolean get_FreePassage()
L_0044: brfalse Label9
L_0049: ldc.i4.0
L_004a: br Label30
L_004f: Label9
L_004f: ldc.i4 2147483647
L_0054: br Label31
L_0059: Label5
L_0059: Label7
L_0059: ldarg.2
L_005a: brfalse Label10
L_005f: ldloc.0
L_0060: ldarg.2
L_0061: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0066: brfalse Label11
L_006b: ldloc.0
L_006c: ldarg.2
L_006d: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0072: brtrue Label12
L_0077: ldloc.0
L_0078: callvirt Boolean get_FreePassage()
L_007d: brtrue Label13
L_0082: ldloc.0
L_0083: callvirt Int32 get_TicksToOpenNow()
L_0088: br Label32
L_008d: Label10
L_008d: Label11
L_008d: Label12
L_008d: Label13
L_008d: ldloc.0
L_008e: ldarg.2
L_008f: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0094: brfalse Label14
L_0099: ldc.i4.0
L_009a: br Label33
L_009f: Label14
L_009f: ldc.i4.s 50
L_00a1: ldloc.0
L_00a2: callvirt Int32 get_HitPoints()
L_00a7: conv.r4
L_00a8: ldc.r4 0.2
L_00ad: mul
L_00ae: conv.i4
L_00af: add
L_00b0: br Label34
L_00b5: Label3
L_00b5: ldarg.2
L_00b6: brfalse Label15
L_00bb: ldloc.0
L_00bc: ldarg.2
L_00bd: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00c2: brfalse Label16
L_00c7: ldloc.0
L_00c8: ldarg.2
L_00c9: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_00ce: brtrue Label17
L_00d3: ldloc.0
L_00d4: callvirt Boolean get_FreePassage()
L_00d9: brtrue Label18
L_00de: ldloc.0
L_00df: callvirt Int32 get_TicksToOpenNow()
L_00e4: br Label35
L_00e9: Label15
L_00e9: Label16
L_00e9: Label17
L_00e9: Label18
L_00e9: ldloc.0
L_00ea: ldarg.2
L_00eb: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_00f0: brfalse Label19
L_00f5: ldc.i4.0
L_00f6: br Label36
L_00fb: Label19
L_00fb: ldc.i4 150
L_0100: br Label37
L_0105: Label2
L_0105: ldarga.s 1
L_0107: ldfld System.Boolean canBash
L_010c: brtrue Label20
L_0111: ldloc.0
L_0112: ldarg.2
L_0113: call Boolean IsForbiddenToPass(RimWorld.Building_Door, Verse.Pawn)
L_0118: brfalse Label21
L_011d: ldsfld System.Boolean drawPaths
L_0122: brfalse Label22
L_0127: ldarg.0
L_0128: callvirt IntVec3 get_Position()
L_012d: ldarg.0
L_012e: callvirt Verse.Map get_Map()
L_0133: ldc.r4 0.77
L_0138: ldstr "forbid"
L_013d: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_0142: Label22
L_0142: ldc.i4 2147483647
L_0147: br Label38
L_014c: Label20
L_014c: Label21
L_014c: ldloc.0
L_014d: ldarg.2
L_014e: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_0153: brfalse Label23
L_0158: ldloc.0
L_0159: callvirt Boolean get_FreePassage()
L_015e: brtrue Label24
L_0163: ldloc.0
L_0164: callvirt Int32 get_TicksToOpenNow()
L_0169: br Label39
L_016e: Label23
L_016e: Label24
L_016e: ldloc.0
L_016f: ldarg.2
L_0170: callvirt Boolean CanPhysicallyPass(Verse.Pawn)
L_0175: brfalse Label25
L_017a: ldc.i4.0
L_017b: br Label40
L_0180: Label25
L_0180: ldarga.s 1
L_0182: ldfld System.Boolean canBash
L_0187: brfalse Label26
L_018c: ldc.i4 300
L_0191: br Label41
L_0196: Label26
L_0196: ldsfld System.Boolean drawPaths
L_019b: brfalse Label27
L_01a0: ldarg.0
L_01a1: callvirt IntVec3 get_Position()
L_01a6: ldarg.0
L_01a7: callvirt Verse.Map get_Map()
L_01ac: ldc.r4 0.34
L_01b1: ldstr "cant pass"
L_01b6: call Void DebugFlash(IntVec3, Verse.Map, Single, System.String)
L_01bb: Label27
L_01bb: ldc.i4 2147483647
L_01c0: br Label42
L_01c5: Label8
L_01c5: br Label28
L_01ca: Label1
L_01ca: ldarg.2
L_01cb: brfalse Label29
L_01d0: ldarg.0
L_01d1: ldarg.2
L_01d2: callvirt UInt16 PathFindCostFor(Verse.Pawn)
L_01d7: br Label43
L_01dc: Label28
L_01dc: Label29
L_01dc: ldc.i4.0
L_01dd: Label30
L_01dd: Label31
L_01dd: Label32
L_01dd: Label33
L_01dd: Label34
L_01dd: Label35
L_01dd: Label36
L_01dd: Label37
L_01dd: Label38
L_01dd: Label39
L_01dd: Label40
L_01dd: Label41
L_01dd: Label42
L_01dd: Label43
L_01dd: stloc 2 (System.Int32)
L_01de: ldarg 0
L_01e4: ldarg 1
L_01ea: ldarg 2
L_01f0: ldloca 2 (System.Int32)
L_01f2: call Void GetBuildingCost_PostFix(Verse.Building, TraverseParms,
Verse.Pawn, Int32 ByRef)
L_01f7: ldloc 2 (System.Int32)
L_01f8: ret
DONE

### Patch Verse.AI.PawnPathUtility, Verse.Thing


FirstBlockingBuilding(Verse.AI.PawnPath, IntVec3 ByRef, Verse.Pawn)
L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.IntVec3, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: Verse.Building
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: System.Int32
L_0000: Local var 4: Verse.Building
L_0000: Local var 5: RimWorld.Building_Door
L_0000: Local var 6: System.Boolean
L_0000: Local var 7: Verse.Thing
L_0000: ldnull
L_0001: stloc 7 (Verse.Thing)
L_0003: ldarg.0
L_0004: callvirt Boolean get_Found()
L_0009: brtrue Label1
L_000e: ldarg.1
L_000f: call IntVec3 get_Invalid()
L_0014: stobj Verse.IntVec3
L_0019: ldnull
L_001a: br Label22
L_001f: Label1
L_001f: ldarg.0
L_0020: callvirt System.Collections.Generic.List`1[Verse.IntVec3]
get_NodesReversed()
L_0025: stloc.0
L_0026: ldloc.0
L_0027: callvirt Int32 get_Count()
L_002c: ldc.i4.1
L_002d: bne.un Label2
L_0032: ldarg.1
L_0033: ldloc.0
L_0034: ldc.i4.0
L_0035: callvirt IntVec3 get_Item(Int32)
L_003a: stobj Verse.IntVec3
L_003f: ldnull
L_0040: br Label23
L_0045: Label2
L_0045: ldnull
L_0046: stloc.1
L_0047: call IntVec3 get_Invalid()
L_004c: stloc.2
L_004d: ldloc.0
L_004e: callvirt Int32 get_Count()
L_0053: ldc.i4.2
L_0054: sub
L_0055: stloc.3
L_0056: br Label3
L_005b: Label21
L_005b: ldloc.0
L_005c: ldloc.3
L_005d: callvirt IntVec3 get_Item(Int32)
L_0062: ldarg.2
L_0063: callvirt Verse.Map get_Map()
L_0068: call Verse.Building GetEdifice(IntVec3, Verse.Map)
L_006d: stloc.s 4 (Verse.Building)
L_006f: ldloc.s 4 (Verse.Building)
L_0071: brfalse Label4
L_0076: ldloc.s 4 (Verse.Building)
L_0078: isinst RimWorld.Building_Door
L_007d: stloc.s 5 (RimWorld.Building_Door)
L_007f: ldloc.s 5 (RimWorld.Building_Door)
L_0081: brfalse Label5
L_0086: ldloc.s 5 (RimWorld.Building_Door)
L_0088: callvirt Boolean get_FreePassage()
L_008d: brtrue Label6
L_0092: ldarg.2
L_0093: brfalse Label7
L_0098: ldloc.s 5 (RimWorld.Building_Door)
L_009a: ldarg.2
L_009b: callvirt Boolean PawnCanOpen(Verse.Pawn)
L_00a0: ldc.i4.0
L_00a1: ceq
L_00a3: br Label8
L_00a8: Label7
L_00a8: ldc.i4.1
L_00a9: Label8
L_00a9: br Label9
L_00ae: Label5
L_00ae: Label6
L_00ae: ldc.i4.0
L_00af: Label9
L_00af: stloc.s 6 (System.Boolean)
L_00b1: ldloc.s 6 (System.Boolean)
L_00b3: brtrue Label10
L_00b8: ldloc.s 4 (Verse.Building)
L_00ba: ldfld Verse.ThingDef def
L_00bf: ldfld Verse.Traversability passability
L_00c4: ldc.i4.2
L_00c5: bne.un Label11
L_00ca: Label10
L_00ca: ldloc.1
L_00cb: brfalse Label12
L_00d0: ldarg.1
L_00d1: ldloc.2
L_00d2: stobj Verse.IntVec3
L_00d7: ldloc.1
L_00d8: br Label24
L_00dd: Label12
L_00dd: ldarg.1
L_00de: ldloc.0
L_00df: ldloc.3
L_00e0: ldc.i4.1
L_00e1: add
L_00e2: callvirt IntVec3 get_Item(Int32)
L_00e7: stobj Verse.IntVec3
L_00ec: ldloc.s 4 (Verse.Building)
L_00ee: br Label25
L_00f3: Label4
L_00f3: Label11
L_00f3: ldloc.s 4 (Verse.Building)
L_00f5: brfalse Label13
L_00fa: ldloc.s 4 (Verse.Building)
L_00fc: ldfld Verse.ThingDef def
L_0101: ldfld Verse.Traversability passability
L_0106: ldc.i4.1
L_0107: bne.un Label14
L_010c: ldloc.s 4 (Verse.Building)
L_010e: ldfld Verse.ThingDef def
L_0113: callvirt FillCategory get_Fillage()
L_0118: ldc.i4.2
L_0119: bne.un Label15
L_011e: ldloc.1
L_011f: brtrue Label16
L_0124: ldloc.s 4 (Verse.Building)
L_0126: stloc.1
L_0127: ldloc.0
L_0128: ldloc.3
L_0129: ldc.i4.1
L_012a: add
L_012b: callvirt IntVec3 get_Item(Int32)
L_0130: stloc.2
L_0131: Label16
L_0131: br Label17
L_0136: Label13
L_0136: Label14
L_0136: Label15
L_0136: ldloc.s 4 (Verse.Building)
L_0138: brfalse Label18
L_013d: ldloc.s 4 (Verse.Building)
L_013f: ldfld Verse.ThingDef def
L_0144: ldfld Verse.Traversability passability
L_0149: ldc.i4.1
L_014a: bne.un Label19
L_014f: br Label20
L_0154: Label18
L_0154: Label19
L_0154: ldnull
L_0155: stloc.1
L_0156: Label17
L_0156: Label20
L_0156: ldloc.3
L_0157: ldc.i4.1
L_0158: sub
L_0159: stloc.3
L_015a: Label3
L_015a: ldloc.3
L_015b: ldc.i4.0
L_015c: bge Label21
L_0161: ldarg.1
L_0162: ldloc.0
L_0163: ldc.i4.0
L_0164: callvirt IntVec3 get_Item(Int32)
L_0169: stobj Verse.IntVec3
L_016e: ldnull
L_016f: Label22
L_016f: Label23
L_016f: Label24
L_016f: Label25
L_016f: stloc 7 (Verse.Thing)
L_0171: ldarg 0
L_0177: ldarg 1
L_017d: ldarg 2
L_0183: ldloca 7 (Verse.Thing)
L_0185: call Void FirstBlockingBuilding_PostFix(Verse.AI.PawnPath, IntVec3 ByRef,
Verse.Pawn, Verse.Thing ByRef)
L_018a: ldloc 7 (Verse.Thing)
L_018c: ret
DONE

### Patch RimWorld.WorkGiver_DoBill, Verse.AI.Job JobOnThing(Verse.Pawn,


Verse.Thing, Boolean)
L_0000: Local var 0: RimWorld.IBillGiver
L_0000: Local var 1: Verse.Pawn
L_0000: Local var 2: Verse.LocalTargetInfo
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: RimWorld.CompRefuelable
L_0000: Local var 5: Verse.AI.Job
L_0000: ldnull
L_0001: stloc 5 (Verse.AI.Job)
L_0003: ldarg.2
L_0004: isinst RimWorld.IBillGiver
L_0009: stloc.0
L_000a: ldloc.0
L_000b: brfalse Label1
L_0010: ldarg.0
L_0011: ldarg.2
L_0012: call Boolean ThingIsUsableBillGiver(Verse.Thing)
L_0017: brfalse Label2
L_001c: ldloc.0
L_001d: callvirt RimWorld.BillStack get_BillStack()
L_0022: callvirt Boolean get_AnyShouldDoNow()
L_0027: brfalse Label3
L_002c: ldloc.0
L_002d: callvirt Boolean UsableForBillsAfterFueling()
L_0032: brfalse Label4
L_0037: ldarg.1
L_0038: stloc.1
L_0039: ldarg.2
L_003a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_003f: stloc.2
L_0040: ldarg.3
L_0041: stloc.3
L_0042: ldloc.1
L_0043: ldloc.2
L_0044: ldc.i4.1
L_0045: ldc.i4.m1
L_0046: ldnull
L_0047: ldloc.3
L_0048: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32, Int32,
Verse.ReservationLayerDef, Boolean)
L_004d: brfalse Label5
L_0052: ldarg.2
L_0053: call Boolean IsBurning(Verse.Thing)
L_0058: brtrue Label6
L_005d: ldarg.2
L_005e: ldarg.1
L_005f: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_0064: brfalse Label7
L_0069: Label1
L_0069: Label2
L_0069: Label3
L_0069: Label4
L_0069: Label5
L_0069: Label6
L_0069: ldnull
L_006a: br Label11
L_006f: Label7
L_006f: ldarg.2
L_0070: call RimWorld.CompRefuelable TryGetComp[CompRefuelable](Verse.Thing)
L_0075: stloc.s 4 (RimWorld.CompRefuelable)
L_0077: ldloc.s 4 (RimWorld.CompRefuelable)
L_0079: brfalse Label8
L_007e: ldloc.s 4 (RimWorld.CompRefuelable)
L_0080: callvirt Boolean get_HasFuel()
L_0085: brtrue Label9
L_008a: ldarg.1
L_008b: ldarg.2
L_008c: ldarg.3
L_008d: call Boolean CanRefuel(Verse.Pawn, Verse.Thing, Boolean)
L_0092: brtrue Label10
L_0097: ldnull
L_0098: br Label12
L_009d: Label10
L_009d: ldarg.1
L_009e: ldarg.2
L_009f: ldarg.3
L_00a0: ldnull
L_00a1: ldnull
L_00a2: call Verse.AI.Job RefuelJob(Verse.Pawn, Verse.Thing, Boolean, Verse.JobDef,
Verse.JobDef)
L_00a7: br Label13
L_00ac: Label8
L_00ac: Label9
L_00ac: ldloc.0
L_00ad: callvirt RimWorld.BillStack get_BillStack()
L_00b2: callvirt Void RemoveIncompletableBills()
L_00b7: ldarg.0
L_00b8: ldarg.1
L_00b9: ldloc.0
L_00ba: call Verse.AI.Job StartOrResumeBillJob(Verse.Pawn, IBillGiver)
L_00bf: Label11
L_00bf: Label12
L_00bf: Label13
L_00bf: stloc 5 (Verse.AI.Job)
L_00c1: ldloca 5 (Verse.AI.Job)
L_00c3: ldarg 1
L_00c9: ldarg 2
L_00cf: ldarg 3
L_00d5: call Void Postfix(Verse.AI.Job ByRef, Verse.Pawn, Verse.Thing, Boolean)
L_00da: ldloc 5 (Verse.AI.Job)
L_00dc: ret
DONE

### Patch RimWorld.Building_Bed, Void set_Medical(Boolean)


L_0000: ldarg.1
L_0001: ldarg.0
L_0002: ldfld System.Boolean medicalInt
L_0007: beq Label1
L_000c: ldarg.0
L_000d: ldfld Verse.ThingDef def
L_0012: ldfld RimWorld.BuildingProperties building
L_0017: ldfld System.Boolean bed_humanlike
L_001c: pop
L_001d: ldc.i4.1
L_001e: brtrue Label2
L_0023: Label1
L_0023: br Label4
L_0028: Label2
L_0028: ldarg.0
L_0029: call Void RemoveAllOwners()
L_002e: ldarg.0
L_002f: ldarg.1
L_0030: stfld System.Boolean medicalInt
L_0035: ldarg.0
L_0036: callvirt Void Notify_ColorChanged()
L_003b: ldarg.0
L_003c: call Boolean get_Spawned()
L_0041: brfalse Label3
L_0046: ldarg.0
L_0047: call Verse.Map get_Map()
L_004c: ldfld Verse.MapDrawer mapDrawer
L_0051: ldarg.0
L_0052: call IntVec3 get_Position()
L_0057: ldc.i4.1
L_0058: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_005d: ldarg.0
L_005e: call Void NotifyRoomBedTypeChanged()
L_0063: Label3
L_0063: ldarg.0
L_0064: call Void FacilityChanged()
L_0069: Label4
L_0069: ldarg.0
L_006a: ldarga 1
L_0070: call Void ChangeMedicalStatus(RimWorld.Building_Bed, Boolean ByRef)
L_0075: ret
DONE

### Patch Verse.DesignationCategoryDef, IEnumerable`1


get_ResolvedAllowedDesignators()
L_0000: Local var 0: Verse.DesignationCategoryDef+<>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Designator,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld Verse.DesignationCategoryDef $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, Verse.DesignationCategoryDef ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Designator])
L_0027: ret
DONE

### Patch Verse.Dialog_RenameZone, Void SetName(System.String)


L_0000: ldarg.0
L_0001: ldfld Verse.Zone zone
L_0006: ldarg.0
L_0007: ldfld System.String curName
L_000c: stfld System.String label
L_0011: ldstr "ZoneGainsName"
L_0016: ldc.i4.1
L_0017: newarr System.Object
L_001c: dup
L_001d: ldc.i4.0
L_001e: ldarg.0
L_001f: ldfld System.String curName
L_0024: stelem.ref
L_0025: call System.String Translate(System.String, System.Object[])
L_002a: ldsfld Verse.MessageTypeDef TaskCompletion
L_002f: ldc.i4.0
L_0030: call Void Message(System.String, Verse.MessageTypeDef, Boolean)
L_0035: call Void Postfix()
L_003a: ret
DONE

### Patch Verse.DynamicDrawManager, Void DrawDynamicThings()


L_0000: Local var 0: System.Boolean[]
L_0000: Local var 1: Verse.CellRect
L_0000: Local var 2: Verse.IntVec3
L_0000: Local var 3: Verse.CellIndices
L_0000: Local var 4: Verse.Thing
L_0000: Local var 5: System.Collections.Generic.HashSet`1+Enumerator[[Verse.Thing,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 6: System.Exception
L_0000: Local var 7: System.Exception
L_0000: ldarga 0
L_0006: call Boolean Prefix(Verse.DynamicDrawManager ByRef)
L_000b: brfalse Label0
L_0010: ldsfld System.Boolean drawThingsDynamic
L_0015: brtrue Label1
L_001a: br Label18
L_001f: Label1
L_001f: ldarg.0
L_0020: ldc.i4.1
L_0021: stfld System.Boolean drawingNow
.try
{
L_0026: ldarg.0
L_0027: ldfld Verse.Map map
L_002c: ldfld Verse.FogGrid fogGrid
L_0031: ldfld System.Boolean[] fogGrid
L_0036: stloc.0
L_0037: call Verse.CameraDriver get_CameraDriver()
L_003c: callvirt CellRect get_CurrentViewRect()
L_0041: stloc.1
L_0042: ldloca.s 1 (Verse.CellRect)
L_0044: ldarg.0
L_0045: ldfld Verse.Map map
L_004a: call CellRect ClipInsideMap(Verse.Map)
L_004f: pop
L_0050: ldloca.s 1 (Verse.CellRect)
L_0052: ldc.i4.1
L_0053: call CellRect ExpandedBy(Int32)
L_0058: stloc.1
L_0059: ldarg.0
L_005a: ldfld Verse.Map map
L_005f: ldfld Verse.CellIndices cellIndices
L_0064: stloc.3
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.HashSet`1[Verse.Thing] drawThings
L_006b: callvirt Enumerator GetEnumerator()
L_0070: stloc.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
.try
{
L_0072: br Label2
L_0077: Label14
L_0077: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0079: call Verse.Thing get_Current()
L_007e: stloc.s 4 (Verse.Thing)
L_0080: ldloc.s 4 (Verse.Thing)
L_0082: callvirt IntVec3 get_Position()
L_0087: stloc.2
L_0088: ldloca.s 1 (Verse.CellRect)
L_008a: ldloc.2
L_008b: call Boolean Contains(IntVec3)
L_0090: brtrue Label3
L_0095: ldloc.s 4 (Verse.Thing)
L_0097: ldfld Verse.ThingDef def
L_009c: ldfld System.Boolean drawOffscreen
L_00a1: brtrue Label4
L_00a6: leave Label5
L_00ab: Label3
L_00ab: Label4
L_00ab: ldloc.0
L_00ac: ldloc.3
L_00ad: ldloc.2
L_00ae: callvirt Int32 CellToIndex(IntVec3)
L_00b3: ldelem.u1
L_00b4: brfalse Label6
L_00b9: ldloc.s 4 (Verse.Thing)
L_00bb: ldfld Verse.ThingDef def
L_00c0: ldfld System.Boolean seeThroughFog
L_00c5: brtrue Label7
L_00ca: leave Label8
L_00cf: Label6
L_00cf: Label7
L_00cf: ldloc.s 4 (Verse.Thing)
L_00d1: ldfld Verse.ThingDef def
L_00d6: ldfld System.Single hideAtSnowDepth
L_00db: ldc.r4 1
L_00e0: bge.un Label9
L_00e5: ldarg.0
L_00e6: ldfld Verse.Map map
L_00eb: ldfld Verse.SnowGrid snowGrid
L_00f0: ldloc.s 4 (Verse.Thing)
L_00f2: callvirt IntVec3 get_Position()
L_00f7: callvirt Single GetDepth(IntVec3)
L_00fc: ldloc.s 4 (Verse.Thing)
L_00fe: ldfld Verse.ThingDef def
L_0103: ldfld System.Single hideAtSnowDepth
L_0108: ble.un Label10
L_010d: leave Label11
L_0112: Label9
L_0112: Label10
.try
{
L_0112: ldloc.s 4 (Verse.Thing)
L_0114: callvirt Void Draw()
L_0119: leave Label12
L_011e: leave (autogenerated)
} // end try
.catch System.Exception
{
L_0123: stloc.s 6 (System.Exception)
L_0125: ldc.i4.4
L_0126: newarr System.Object
L_012b: dup
L_012c: ldc.i4.0
L_012d: ldstr "Exception drawing "
L_0132: stelem.ref
L_0133: dup
L_0134: ldc.i4.1
L_0135: ldloc.s 4 (Verse.Thing)
L_0137: stelem.ref
L_0138: dup
L_0139: ldc.i4.2
L_013a: ldstr ": "
L_013f: stelem.ref
L_0140: dup
L_0141: ldc.i4.3
L_0142: ldloc.s 6 (System.Exception)
L_0144: callvirt System.String ToString()
L_0149: stelem.ref
L_014a: call System.String Concat(System.Object[])
L_014f: ldc.i4.0
L_0150: call Void Error(System.String, Boolean)
L_0155: leave Label13
L_015a: leave (autogenerated)
} // end handler
L_015f: Label2
L_015f: Label5
L_015f: Label8
L_015f: Label11
L_015f: Label12
L_015f: Label13
L_015f: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0161: call Boolean MoveNext()
L_0166: brtrue Label14
L_016b: leave Label15
L_0170: leave (autogenerated)
} // end try
.finally
{
L_0175: ldloca.s 5
(System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing])
L_0177: constrained.
System.Collections.Generic.HashSet`1+Enumerator[Verse.Thing]
L_017d: callvirt Void Dispose()
L_0182: endfinally
L_0183: leave (autogenerated)
} // end handler
L_0184: Label15
L_0184: leave Label16
L_0189: leave (autogenerated)
} // end try
.catch System.Exception
{
L_018e: stloc.s 7 (System.Exception)
L_0190: ldstr "Exception drawing dynamic things: "
L_0195: ldloc.s 7 (System.Exception)
L_0197: call System.String Concat(System.Object, System.Object)
L_019c: ldc.i4.0
L_019d: call Void Error(System.String, Boolean)
L_01a2: leave Label17
L_01a7: leave (autogenerated)
} // end handler
L_01ac: Label16
L_01ac: Label17
L_01ac: ldarg.0
L_01ad: ldc.i4.0
L_01ae: stfld System.Boolean drawingNow
L_01b3: Label18
L_01b3: Label0
L_01b3: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterActivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brtrue Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Void Add(RimWorld.CompGatherSpot)
L_001d: Label1
L_001d: ldarga 1
L_0023: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0028: ret
DONE

### Patch RimWorld.GatherSpotLister, Void


RegisterDeactivated(RimWorld.CompGatherSpot)
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(RimWorld.CompGatherSpot)
L_000c: brfalse Label1
L_0011: ldarg.0
L_0012: ldfld System.Collections.Generic.List`1[RimWorld.CompGatherSpot]
activeSpots
L_0017: ldarg.1
L_0018: callvirt Boolean Remove(RimWorld.CompGatherSpot)
L_001d: pop
L_001e: Label1
L_001e: ldarga 1
L_0024: call Void Postfix(RimWorld.CompGatherSpot ByRef)
L_0029: ret
DONE
### Patch Verse.ListerBuildings, Void Add(Verse.Building)
L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.1
L_0001: ldfld Verse.ThingDef def
L_0006: ldfld RimWorld.BuildingProperties building
L_000b: brfalse Label1
L_0010: ldarg.1
L_0011: ldfld Verse.ThingDef def
L_0016: ldfld RimWorld.BuildingProperties building
L_001b: ldfld System.Boolean isNaturalRock
L_0020: brfalse Label2
L_0025: br Label7
L_002a: Label1
L_002a: Label2
L_002a: ldarg.1
L_002b: callvirt RimWorld.Faction get_Faction()
L_0030: call RimWorld.Faction get_OfPlayer()
L_0035: bne.un Label3
L_003a: ldarg.0
L_003b: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0040: ldarg.1
L_0041: callvirt Void Add(Verse.Building)
L_0046: ldarg.1
L_0047: isinst Verse.AI.IAttackTarget
L_004c: brfalse Label4
L_0051: ldarg.0
L_0052: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_0057: ldarg.1
L_0058: callvirt Boolean Add(Verse.Building)
L_005d: pop
L_005e: Label3
L_005e: Label4
L_005e: ldarg.1
L_005f: ldfld Verse.ThingDef def
L_0064: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0069: stloc.0
L_006a: ldloc.0
L_006b: brfalse Label5
L_0070: ldloc.0
L_0071: ldfld System.Boolean shortCircuitInRain
L_0076: brfalse Label6
L_007b: ldarg.0
L_007c: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0081: ldarg.1
L_0082: callvirt Boolean Add(Verse.Building)
L_0087: pop
L_0088: Label5
L_0088: Label6
L_0088: Label7
L_0088: ldarga 1
L_008e: call Void Postfix(Verse.Building ByRef)
L_0093: ret
DONE
### Patch Verse.ListerBuildings, Void Remove(Verse.Building)
L_0000: Local var 0: RimWorld.CompProperties_Power
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Building]
allBuildingsColonist
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Building)
L_000c: pop
L_000d: ldarg.1
L_000e: isinst Verse.AI.IAttackTarget
L_0013: brfalse Label1
L_0018: ldarg.0
L_0019: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistCombatTargets
L_001e: ldarg.1
L_001f: callvirt Boolean Remove(Verse.Building)
L_0024: pop
L_0025: Label1
L_0025: ldarg.1
L_0026: ldfld Verse.ThingDef def
L_002b: callvirt RimWorld.CompProperties_Power
GetCompProperties[CompProperties_Power]()
L_0030: stloc.0
L_0031: ldloc.0
L_0032: brfalse Label2
L_0037: ldloc.0
L_0038: ldfld System.Boolean shortCircuitInRain
L_003d: brfalse Label3
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.HashSet`1[Verse.Building]
allBuildingsColonistElecFire
L_0048: ldarg.1
L_0049: callvirt Boolean Remove(Verse.Building)
L_004e: pop
L_004f: Label2
L_004f: Label3
L_004f: ldarga 1
L_0055: call Void Postfix(Verse.Building ByRef)
L_005a: ret
DONE

### Patch Verse.Room, Verse.Room MakeNew(Verse.Map)


L_0000: Local var 0: Verse.Room
L_0000: Local var 1: Verse.Room
L_0000: ldnull
L_0001: stloc 1 (Verse.Room)
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: callvirt Int32 get_Index()
L_000f: conv.i1
L_0010: stfld System.SByte mapIndex
L_0015: ldloc.0
L_0016: ldsfld System.Int32 nextRoomID
L_001b: stfld System.Int32 ID
L_0020: ldsfld System.Int32 nextRoomID
L_0025: ldc.i4.1
L_0026: add
L_0027: stsfld System.Int32 nextRoomID
L_002c: ldloc.0
L_002d: stloc 1 (Verse.Room)
L_002e: ldloca 1 (Verse.Room)
L_0030: call Void Postfix(Verse.Room ByRef)
L_0035: ldloc 1 (Verse.Room)
L_0036: ret
DONE

### Patch Verse.Room, Void Notify_BedTypeChanged()


L_0000: ldarg.0
L_0001: ldc.i4.1
L_0002: stfld System.Boolean statsAndRoleDirty
L_0007: ldarga 0
L_000d: call Void Postfix(Verse.Room ByRef)
L_0012: ret
DONE

### Patch Verse.Room, Void Notify_RoomShapeOrContainedBedsChanged()


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: RimWorld.Building_Bed
L_0000: Local var 3: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 4: System.Int32
L_0000: Local var 5: RimWorld.Building_Bed
L_0000: Local var 6:
System.Collections.Generic.IEnumerator`1[[RimWorld.Building_Bed, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldc.i4.m1
L_0002: stfld System.Int32 cachedCellCount
L_0007: ldarg.0
L_0008: ldc.i4.m1
L_0009: stfld System.Int32 cachedOpenRoofCount
L_000e: ldarg.0
L_000f: ldnull
L_0010: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_0015: call ProgramState get_ProgramState()
L_001a: ldc.i4.2
L_001b: bne.un Label1
L_0020: ldarg.0
L_0021: call Boolean get_Fogged()
L_0026: brtrue Label2
L_002b: ldarg.0
L_002c: call Verse.Map get_Map()
L_0031: ldfld Verse.AutoBuildRoofAreaSetter autoBuildRoofAreaSetter
L_0036: ldarg.0
L_0037: callvirt Void TryGenerateAreaFor(Verse.Room)
L_003c: Label1
L_003c: Label2
L_003c: ldarg.0
L_003d: ldc.i4.0
L_003e: stfld System.Boolean isPrisonCell
L_0043: ldarg.0
L_0044: call Boolean RoomCanBePrisonCell(Verse.Room)
L_0049: brfalse Label3
L_004e: ldarg.0
L_004f: call System.Collections.Generic.List`1[Verse.Thing]
get_ContainedAndAdjacentThings()
L_0054: stloc.0
L_0055: ldc.i4.0
L_0056: stloc.1
L_0057: br Label4
L_005c: Label8
L_005c: ldloc.0
L_005d: ldloc.1
L_005e: callvirt Verse.Thing get_Item(Int32)
L_0063: isinst RimWorld.Building_Bed
L_0068: stloc.2
L_0069: ldloc.2
L_006a: brfalse Label5
L_006f: ldloc.2
L_0070: callvirt Boolean get_ForPrisoners()
L_0075: brfalse Label6
L_007a: ldarg.0
L_007b: ldc.i4.1
L_007c: stfld System.Boolean isPrisonCell
L_0081: br Label7
L_0086: Label5
L_0086: Label6
L_0086: ldloc.1
L_0087: ldc.i4.1
L_0088: add
L_0089: stloc.1
L_008a: Label4
L_008a: ldloc.1
L_008b: ldloc.0
L_008c: callvirt Int32 get_Count()
L_0091: blt Label8
L_0096: Label3
L_0096: Label7
L_0096: ldarg.0
L_0097: call Verse.Map get_Map()
L_009c: ldfld Verse.ListerThings listerThings
L_00a1: ldsfld Verse.ThingDef NutrientPasteDispenser
L_00a6: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsOfDef(Verse.ThingDef)
L_00ab: stloc.3
L_00ac: ldc.i4.0
L_00ad: stloc.s 4 (System.Int32)
L_00af: br Label9
L_00b4: Label10
L_00b4: ldloc.3
L_00b5: ldloc.s 4 (System.Int32)
L_00b7: callvirt Verse.Thing get_Item(Int32)
L_00bc: callvirt Void Notify_ColorChanged()
L_00c1: ldloc.s 4 (System.Int32)
L_00c3: ldc.i4.1
L_00c4: add
L_00c5: stloc.s 4 (System.Int32)
L_00c7: Label9
L_00c7: ldloc.s 4 (System.Int32)
L_00c9: ldloc.3
L_00ca: callvirt Int32 get_Count()
L_00cf: blt Label10
L_00d4: call ProgramState get_ProgramState()
L_00d9: ldc.i4.2
L_00da: bne.un Label11
L_00df: ldarg.0
L_00e0: ldfld System.Boolean isPrisonCell
L_00e5: brfalse Label12
L_00ea: ldarg.0
L_00eb: call IEnumerable`1 get_ContainedBeds()
L_00f0: callvirt IEnumerator`1 GetEnumerator()
L_00f5: stloc.s 6 (System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
.try
{
L_00f7: br Label13
L_00fc: Label14
L_00fc: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_00fe: callvirt RimWorld.Building_Bed get_Current()
L_0103: stloc.s 5 (RimWorld.Building_Bed)
L_0105: ldloc.s 5 (RimWorld.Building_Bed)
L_0107: ldc.i4.1
L_0108: callvirt Void set_ForPrisoners(Boolean)
L_010d: Label13
L_010d: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_010f: callvirt Boolean MoveNext()
L_0114: brtrue Label14
L_0119: leave Label15
L_011e: leave (autogenerated)
} // end try
.finally
{
L_0123: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_0125: brfalse Label16
L_012a: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[RimWorld.Building_Bed])
L_012c: callvirt Void Dispose()
L_0131: Label16
L_0131: endfinally
L_0132: leave (autogenerated)
} // end handler
L_0133: Label11
L_0133: Label12
L_0133: Label15
L_0133: ldarg.0
L_0134: call Verse.TickManager get_TickManager()
L_0139: callvirt Int32 get_TicksGame()
L_013e: stfld System.Int32 lastChangeTick
L_0143: ldarg.0
L_0144: ldc.i4.1
L_0145: stfld System.Boolean statsAndRoleDirty
L_014a: ldarg.0
L_014b: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0150: call Void
NotifyFacilitiesAboutChangedLOSBlockers(System.Collections.Generic.List`1[Verse.Reg
ion])
L_0155: ldarga 0
L_015b: call Void Postfix(Verse.Room ByRef)
L_0160: ret
DONE

### Patch Verse.Room, Void RemoveRegion(Verse.Region)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(Verse.Region)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Tried to remove region from Room but this region is not here.
region="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: stelem.ref
L_0023: dup
L_0024: ldc.i4.2
L_0025: ldstr ", room="
L_002a: stelem.ref
L_002b: dup
L_002c: ldc.i4.3
L_002d: ldarg.0
L_002e: stelem.ref
L_002f: call System.String Concat(System.Object[])
L_0034: ldc.i4.0
L_0035: call Void Error(System.String, Boolean)
L_003a: br Label4
L_003f: Label1
L_003f: ldarg.0
L_0040: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_0045: ldarg.1
L_0046: callvirt Boolean Remove(Verse.Region)
L_004b: pop
L_004c: ldarg.1
L_004d: ldfld System.Boolean touchesMapEdge
L_0052: brfalse Label2
L_0057: ldarg.0
L_0058: dup
L_0059: ldfld System.Int32 numRegionsTouchingMapEdge
L_005e: ldc.i4.1
L_005f: sub
L_0060: stfld System.Int32 numRegionsTouchingMapEdge
L_0065: Label2
L_0065: ldarg.0
L_0066: ldfld System.Collections.Generic.List`1[Verse.Region] regions
L_006b: callvirt Int32 get_Count()
L_0070: brtrue Label3
L_0075: ldarg.0
L_0076: ldnull
L_0077: call Void set_Group(Verse.RoomGroup)
L_007c: ldarg.0
L_007d: ldc.i4.m1
L_007e: stfld System.Int32 cachedOpenRoofCount
L_0083: ldarg.0
L_0084: ldnull
L_0085: stfld System.Collections.Generic.IEnumerator`1[Verse.IntVec3]
cachedOpenRoofState
L_008a: ldarg.0
L_008b: ldc.i4.1
L_008c: stfld System.Boolean statsAndRoleDirty
L_0091: ldarg.0
L_0092: call Verse.Map get_Map()
L_0097: ldfld Verse.RegionGrid regionGrid
L_009c: ldfld System.Collections.Generic.List`1[Verse.Room] allRooms
L_00a1: ldarg.0
L_00a2: callvirt Boolean Remove(Verse.Room)
L_00a7: pop
L_00a8: Label3
L_00a8: Label4
L_00a8: ldarga 0
L_00ae: call Void Postfix(Verse.Room ByRef)
L_00b3: ret
DONE

### Patch Verse.ZoneManager, Void DeregisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Boolean Remove(Verse.Zone)
L_000c: pop
L_000d: ldarg.1
L_000e: callvirt Void PostDeregister()
L_0013: ldarga 1
L_0019: call Void Postfix(Verse.Zone ByRef)
L_001e: ret
DONE

### Patch Verse.ZoneManager, Void RegisterZone(Verse.Zone)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.Zone] allZones
L_0006: ldarg.1
L_0007: callvirt Void Add(Verse.Zone)
L_000c: ldarg.1
L_000d: callvirt Void PostRegister()
L_0012: ldarga 1
L_0018: call Void Postfix(Verse.Zone ByRef)
L_001d: ret
DONE

### Patch RimWorld.Zone_Growing, Void SetPlantDefToGrow(Verse.ThingDef)


L_0000: ldarg.0
L_0001: ldarg.1
L_0002: stfld Verse.ThingDef plantDefToGrow
L_0007: ldarga 0
L_000d: call Void Postfix(RimWorld.Zone_Growing ByRef)
L_0012: ret
DONE

### Patch Verse.Zone, Void RemoveCell(IntVec3)


L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brtrue Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Cannot remove cell from zone which doesn't have it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label3
L_0044: Label1
L_0044: ldarg.0
L_0045: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_004a: ldarg.1
L_004b: callvirt Boolean Remove(IntVec3)
L_0050: pop
L_0051: ldarg.0
L_0052: ldfld Verse.ZoneManager zoneManager
L_0057: ldarg.1
L_0058: callvirt Void ClearZoneGridCell(IntVec3)
L_005d: ldarg.0
L_005e: call Verse.Map get_Map()
L_0063: ldfld Verse.MapDrawer mapDrawer
L_0068: ldarg.1
L_0069: ldc.i4 128
L_006e: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_0073: ldarg.0
L_0074: ldc.i4.0
L_0075: stfld System.Boolean cellsShuffled
L_007a: ldarg.0
L_007b: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0080: callvirt Int32 get_Count()
L_0085: brtrue Label2
L_008a: ldarg.0
L_008b: call Void Deregister()
L_0090: Label2
L_0090: Label3
L_0090: ldarga 0
L_0096: call Void Postfix(Verse.Zone ByRef)
L_009b: ret
DONE

### Patch Verse.Zone, Void AddCell(IntVec3)


L_0000: Local var 0: System.Collections.Generic.List`1[[Verse.Thing, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.Thing
L_0000: ldarg.0
L_0001: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_0006: ldarg.1
L_0007: callvirt Boolean Contains(IntVec3)
L_000c: brfalse Label1
L_0011: ldc.i4.4
L_0012: newarr System.Object
L_0017: dup
L_0018: ldc.i4.0
L_0019: ldstr "Adding cell to zone which already has it. c="
L_001e: stelem.ref
L_001f: dup
L_0020: ldc.i4.1
L_0021: ldarg.1
L_0022: box Verse.IntVec3
L_0027: stelem.ref
L_0028: dup
L_0029: ldc.i4.2
L_002a: ldstr ", zone="
L_002f: stelem.ref
L_0030: dup
L_0031: ldc.i4.3
L_0032: ldarg.0
L_0033: stelem.ref
L_0034: call System.String Concat(System.Object[])
L_0039: ldc.i4.0
L_003a: call Void Error(System.String, Boolean)
L_003f: br Label5
L_0044: Label1
L_0044: ldarg.0
L_0045: call Verse.Map get_Map()
L_004a: ldfld Verse.ThingGrid thingGrid
L_004f: ldarg.1
L_0050: callvirt System.Collections.Generic.List`1[Verse.Thing]
ThingsListAt(IntVec3)
L_0055: stloc.0
L_0056: ldc.i4.0
L_0057: stloc.1
L_0058: br Label2
L_005d: Label4
L_005d: ldloc.0
L_005e: ldloc.1
L_005f: callvirt Verse.Thing get_Item(Int32)
L_0064: stloc.2
L_0065: ldloc.2
L_0066: ldfld Verse.ThingDef def
L_006b: callvirt Boolean get_CanOverlapZones()
L_0070: brtrue Label3
L_0075: ldstr "Added zone over zone-incompatible thing "
L_007a: ldloc.2
L_007b: call System.String Concat(System.Object, System.Object)
L_0080: ldc.i4.0
L_0081: call Void Error(System.String, Boolean)
L_0086: br Label6
L_008b: Label3
L_008b: ldloc.1
L_008c: ldc.i4.1
L_008d: add
L_008e: stloc.1
L_008f: Label2
L_008f: ldloc.1
L_0090: ldloc.0
L_0091: callvirt Int32 get_Count()
L_0096: blt Label4
L_009b: ldarg.0
L_009c: ldfld System.Collections.Generic.List`1[Verse.IntVec3] cells
L_00a1: ldarg.1
L_00a2: callvirt Void Add(IntVec3)
L_00a7: ldarg.0
L_00a8: ldfld Verse.ZoneManager zoneManager
L_00ad: ldarg.0
L_00ae: ldarg.1
L_00af: callvirt Void AddZoneGridCell(Verse.Zone, IntVec3)
L_00b4: ldarg.0
L_00b5: call Verse.Map get_Map()
L_00ba: ldfld Verse.MapDrawer mapDrawer
L_00bf: ldarg.1
L_00c0: ldc.i4 128
L_00c5: callvirt Void MapMeshDirty(IntVec3, MapMeshFlag)
L_00ca: ldarg.1
L_00cb: ldarg.0
L_00cc: call Void Notify_ZoneCellAdded(IntVec3, Verse.Zone)
L_00d1: ldarg.0
L_00d2: ldc.i4.0
L_00d3: stfld System.Boolean cellsShuffled
L_00d8: Label5
L_00d8: Label6
L_00d8: ldarga 0
L_00de: call Void Postfix(Verse.Zone ByRef)
L_00e3: ret
DONE

### Patch Verse.AI.AttackTargetFinder, IAttackTarget


BestAttackTarget(IAttackTargetSearcher, TargetScanFlags,
System.Predicate`1[Verse.Thing], Single, Single, IntVec3, Single, Boolean, Boolean)
L_0000: Local var 0: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
L_0000: Local var 1: System.Single
L_0000: Local var 2: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey1
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Int32
L_0000: Local var 5: Verse.AI.IAttackTarget
L_0000: Local var 6: Verse.IntVec3
L_0000: Local var 7: Verse.AI.IAttackTarget
L_0000: Local var 8: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 9: Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2
L_0000: Local var 10: Verse.AI.IAttackTarget
L_0000: Local var 11: Verse.IntVec3
L_0000: Local var 12: Verse.Map
L_0000: Local var 13: Verse.ThingRequest
L_0000: Local var 14: Verse.AI.PathEndMode
L_0000: Local var 15: Verse.Pawn
L_0000: Local var 16: Verse.Danger
L_0000: Local var 17: System.Boolean
L_0000: Local var 18: Verse.TraverseParms
L_0000: Local var 19: System.Single
L_0000: Local var 20: System.Predicate`1[[Verse.Thing, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 21: System.Int32
L_0000: Local var 22: Verse.AI.IAttackTarget
L_0000: Local var 23: System.Single
L_0000: Local var 24: System.Single
L_0000: Local var 25: Verse.IntVec3
L_0000: Local var 26: Verse.AI.IAttackTarget
L_0000: ldnull
L_0001: stloc 26 (Verse.AI.IAttackTarget)
L_0003: ldarg 0
L_0009: ldarga 2
L_000f: call Boolean Prefix(IAttackTargetSearcher, System.Predicate`1[Verse.Thing]
ByRef)
L_0014: brfalse Label0
L_0019: newobj Void .ctor()
L_001e: stloc.0
L_001f: ldloc.0
L_0020: ldarg.0
L_0021: stfld Verse.AI.IAttackTargetSearcher searcher
L_0026: ldloc.0
L_0027: ldarg.s 8
L_0029: stfld System.Boolean canTakeTargetsCloserThanEffectiveMinRange
L_002e: ldloc.0
L_002f: ldarg.s 6
L_0031: stfld System.Single maxTravelRadiusFromLocus
L_0036: ldloc.0
L_0037: ldarg.s 5
L_0039: stfld Verse.IntVec3 locus
L_003e: ldloc.0
L_003f: ldarg.2
L_0040: stfld System.Predicate`1[Verse.Thing] validator
L_0045: ldloc.0
L_0046: ldarg.1
L_0047: stfld Verse.AI.TargetScanFlags flags
L_004c: ldloc.0
L_004d: ldarg.s 7
L_004f: stfld System.Boolean canBash
L_0054: ldloc.0
L_0055: ldarg.s 4
L_0057: stfld System.Single maxDist
L_005c: ldloc.0
L_005d: ldloc.0
L_005e: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0063: callvirt Verse.Thing get_Thing()
L_0068: stfld Verse.Thing searcherThing
L_006d: ldloc.0
L_006e: ldloc.0
L_006f: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0074: isinst Verse.Pawn
L_0079: stfld Verse.Pawn searcherPawn
L_007e: ldloc.0
L_007f: ldloc.0
L_0080: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0085: callvirt Verse.Verb get_CurrentEffectiveVerb()
L_008a: stfld Verse.Verb verb
L_008f: ldloc.0
L_0090: ldfld Verse.Verb verb
L_0095: brtrue Label1
L_009a: ldstr "BestAttackTarget with "
L_009f: ldloc.0
L_00a0: ldfld Verse.AI.IAttackTargetSearcher searcher
L_00a5: call System.String ToStringSafe[IAttackTargetSearcher]
(IAttackTargetSearcher)
L_00aa: ldstr " who has no attack verb."
L_00af: call System.String Concat(System.String, System.String, System.String)
L_00b4: ldc.i4.0
L_00b5: call Void Error(System.String, Boolean)
L_00ba: ldnull
L_00bb: br Label26
L_00c0: Label1
L_00c0: ldloc.0
L_00c1: ldloc.0
L_00c2: ldfld Verse.Verb verb
L_00c7: call Boolean IsEMP(Verse.Verb)
L_00cc: stfld System.Boolean onlyTargetMachines
L_00d1: ldloc.0
L_00d2: ldarg.3
L_00d3: ldarg.3
L_00d4: mul
L_00d5: stfld System.Single minDistSquared
L_00da: ldloc.0
L_00db: ldfld System.Single maxTravelRadiusFromLocus
L_00e0: ldloc.0
L_00e1: ldfld Verse.Verb verb
L_00e6: ldfld Verse.VerbProperties verbProps
L_00eb: ldfld System.Single range
L_00f0: add
L_00f1: stloc.1
L_00f2: ldloc.0
L_00f3: ldloc.1
L_00f4: ldloc.1
L_00f5: mul
L_00f6: stfld System.Single maxLocusDistSquared
L_00fb: ldloc.0
L_00fc: ldnull
L_00fd: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0102: ldloc.0
L_0103: ldfld Verse.AI.TargetScanFlags flags
L_0108: ldc.i4.s 64
L_010a: and
L_010b: conv.u1
L_010c: brfalse Label2
L_0111: ldloc.0
L_0112: ldloc.0
L_0113: ldftn Boolean <>m__0(IntVec3)
L_0119: newobj Void .ctor(Object, IntPtr)
L_011e: stfld System.Func`2[Verse.IntVec3,System.Boolean] losValidator
L_0123: Label2
L_0123: ldloc.0
L_0124: ldloc.0
L_0125: ldftn Boolean <>m__1(IAttackTarget)
L_012b: newobj Void .ctor(Object, IntPtr)
L_0130: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0135: ldloc.0
L_0136: ldfld Verse.AI.IAttackTargetSearcher searcher
L_013b: call Boolean HasRangedAttack(IAttackTargetSearcher)
L_0140: brfalse Label3
L_0145: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_014a: callvirt Void Clear()
L_014f: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0154: ldloc.0
L_0155: ldfld Verse.Thing searcherThing
L_015a: callvirt Verse.Map get_Map()
L_015f: ldfld Verse.AI.AttackTargetsCache attackTargetsCache
L_0164: ldloc.0
L_0165: ldfld Verse.AI.IAttackTargetSearcher searcher
L_016a: callvirt System.Collections.Generic.List`1[Verse.AI.IAttackTarget]
GetPotentialTargetsFor(IAttackTargetSearcher)
L_016f: callvirt Void AddRange(IEnumerable`1)
L_0174: ldloc.0
L_0175: ldfld Verse.AI.TargetScanFlags flags
L_017a: ldc.i4.4
L_017b: and
L_017c: conv.u1
L_017d: brfalse Label4
L_0182: newobj Void .ctor()
L_0187: stloc.2
L_0188: ldloc.2
L_0189: ldloc.0
L_018a: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_018f: ldloc.2
L_0190: ldloc.0
L_0191: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0196: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_019b: ldloc.0
L_019c: ldloc.2
L_019d: ldftn Boolean <>m__0(IAttackTarget)
L_01a3: newobj Void .ctor(Object, IntPtr)
L_01a8: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01ad: Label4
L_01ad: ldc.i4.0
L_01ae: stloc.3
L_01af: ldc.i4.0
L_01b0: stloc.s 4 (System.Int32)
L_01b2: br Label5
L_01b7: Label10
L_01b7: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_01bc: ldloc.s 4 (System.Int32)
L_01be: callvirt IAttackTarget get_Item(Int32)
L_01c3: stloc.s 5 (Verse.AI.IAttackTarget)
L_01c5: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01c7: callvirt Verse.Thing get_Thing()
L_01cc: callvirt IntVec3 get_Position()
L_01d1: stloc.s 6 (Verse.IntVec3)
L_01d3: ldloca.s 6 (Verse.IntVec3)
L_01d5: ldloc.0
L_01d6: ldfld Verse.Thing searcherThing
L_01db: callvirt IntVec3 get_Position()
L_01e0: ldloc.0
L_01e1: ldfld System.Single maxDist
L_01e6: call Boolean InHorDistOf(IntVec3, Single)
L_01eb: brfalse Label6
L_01f0: ldloc.0
L_01f1: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_01f6: ldloc.s 5 (Verse.AI.IAttackTarget)
L_01f8: callvirt Boolean Invoke(IAttackTarget)
L_01fd: brfalse Label7
L_0202: ldloc.s 5 (Verse.AI.IAttackTarget)
L_0204: ldloc.0
L_0205: ldfld Verse.AI.IAttackTargetSearcher searcher
L_020a: ldloc.0
L_020b: ldfld Verse.Verb verb
L_0210: call Boolean CanShootAtFromCurrentPosition(IAttackTarget,
IAttackTargetSearcher, Verse.Verb)
L_0215: brfalse Label8
L_021a: ldc.i4.1
L_021b: stloc.3
L_021c: br Label9
L_0221: Label6
L_0221: Label7
L_0221: Label8
L_0221: ldloc.s 4 (System.Int32)
L_0223: ldc.i4.1
L_0224: add
L_0225: stloc.s 4 (System.Int32)
L_0227: Label5
L_0227: ldloc.s 4 (System.Int32)
L_0229: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_022e: callvirt Int32 get_Count()
L_0233: blt Label10
L_0238: Label9
L_0238: ldloc.3
L_0239: brfalse Label11
L_023e: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_0243: ldloc.0
L_0244: ldftn Boolean <>m__2(IAttackTarget)
L_024a: newobj Void .ctor(Object, IntPtr)
L_024f: callvirt Int32 RemoveAll(System.Predicate`1[Verse.AI.IAttackTarget])
L_0254: pop
L_0255: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_025a: ldloc.0
L_025b: ldfld Verse.AI.IAttackTargetSearcher searcher
L_0260: ldloc.0
L_0261: ldfld Verse.Verb verb
L_0266: call IAttackTarget
GetRandomShootingTargetByScore(System.Collections.Generic.List`1[Verse.AI.IAttackTa
rget], IAttackTargetSearcher, Verse.Verb)
L_026b: stloc.s 7 (Verse.AI.IAttackTarget)
L_026d: br Label12
L_0272: Label11
L_0272: ldloc.0
L_0273: ldfld Verse.AI.TargetScanFlags flags
L_0278: ldc.i4.8
L_0279: and
L_027a: conv.u1
L_027b: brfalse Label13
L_0280: ldloc.0
L_0281: ldfld Verse.AI.TargetScanFlags flags
L_0286: ldc.i4.4
L_0287: and
L_0288: conv.u1
L_0289: brtrue Label14
L_028e: ldloc.0
L_028f: ldftn Boolean <>m__3(Verse.Thing)
L_0295: newobj Void .ctor(Object, IntPtr)
L_029a: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_029c: br Label15
L_02a1: Label13
L_02a1: Label14
L_02a1: ldloc.0
L_02a2: ldftn Boolean <>m__4(Verse.Thing)
L_02a8: newobj Void .ctor(Object, IntPtr)
L_02ad: stloc.s 8 (System.Predicate`1[Verse.Thing])
L_02af: Label15
L_02af: ldloc.0
L_02b0: ldfld Verse.Thing searcherThing
L_02b5: callvirt IntVec3 get_Position()
L_02ba: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02bf: ldloc.0
L_02c0: ldfld System.Single maxDist
L_02c5: ldloc.s 8 (System.Predicate`1[Verse.Thing])
L_02c7: ldnull
L_02c8: call Verse.Thing ClosestThing_Global(IntVec3, IEnumerable, Single,
System.Predicate`1[Verse.Thing], System.Func`2[Verse.Thing,System.Single])
L_02cd: castclass Verse.AI.IAttackTarget
L_02d2: stloc.s 7 (Verse.AI.IAttackTarget)
L_02d4: Label12
L_02d4: ldsfld System.Collections.Generic.List`1[Verse.AI.IAttackTarget] tmpTargets
L_02d9: callvirt Void Clear()
L_02de: ldloc.s 7 (Verse.AI.IAttackTarget)
L_02e0: br Label27
L_02e5: Label3
L_02e5: ldloc.0
L_02e6: ldfld Verse.Pawn searcherPawn
L_02eb: brfalse Label16
L_02f0: ldloc.0
L_02f1: ldfld Verse.Pawn searcherPawn
L_02f6: ldfld Verse.AI.Pawn_MindState mindState
L_02fb: ldfld Verse.AI.PawnDuty duty
L_0300: brfalse Label17
L_0305: ldloc.0
L_0306: ldfld Verse.Pawn searcherPawn
L_030b: ldfld Verse.AI.Pawn_MindState mindState
L_0310: ldfld Verse.AI.PawnDuty duty
L_0315: ldfld System.Single radius
L_031a: ldc.r4 0
L_031f: ble.un Label18
L_0324: ldloc.0
L_0325: ldfld Verse.Pawn searcherPawn
L_032a: callvirt Boolean get_InMentalState()
L_032f: brtrue Label19
L_0334: newobj Void .ctor()
L_0339: stloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033b: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_033d: ldloc.0
L_033e: stfld Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey0
<>f__ref$0
L_0343: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0345: ldloc.0
L_0346: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_034b: stfld System.Predicate`1[Verse.AI.IAttackTarget] oldValidator
L_0350: ldloc.0
L_0351: ldloc.s 9 (Verse.AI.AttackTargetFinder+<BestAttackTarget>c__AnonStorey2)
L_0353: ldftn Boolean <>m__0(IAttackTarget)
L_0359: newobj Void .ctor(Object, IntPtr)
L_035e: stfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0363: Label16
L_0363: Label17
L_0363: Label18
L_0363: Label19
L_0363: ldloc.0
L_0364: ldfld Verse.Thing searcherThing
L_0369: callvirt IntVec3 get_Position()
L_036e: stloc.s 11 (Verse.IntVec3)
L_0370: ldloc.0
L_0371: ldfld Verse.Thing searcherThing
L_0376: callvirt Verse.Map get_Map()
L_037b: stloc.s 12 (Verse.Map)
L_037d: ldc.i4.s 15
L_037f: call ThingRequest ForGroup(ThingRequestGroup)
L_0384: stloc.s 13 (Verse.ThingRequest)
L_0386: ldc.i4.2
L_0387: stloc.s 14 (Verse.AI.PathEndMode)
L_0389: ldloc.0
L_038a: ldfld Verse.Pawn searcherPawn
L_038f: stloc.s 15 (Verse.Pawn)
L_0391: ldc.i4.3
L_0392: stloc.s 16 (Verse.Danger)
L_0394: ldloc.0
L_0395: ldfld System.Boolean canBash
L_039a: stloc.s 17 (System.Boolean)
L_039c: ldloc.s 15 (Verse.Pawn)
L_039e: ldloc.s 16 (Verse.Danger)
L_03a0: ldc.i4.0
L_03a1: ldloc.s 17 (System.Boolean)
L_03a3: call TraverseParms For(Verse.Pawn, Danger, TraverseMode, Boolean)
L_03a8: stloc.s 18 (Verse.TraverseParms)
L_03aa: ldloc.0
L_03ab: ldfld System.Single maxDist
L_03b0: stloc.s 19 (System.Single)
L_03b2: ldloc.0
L_03b3: ldftn Boolean <>m__5(Verse.Thing)
L_03b9: newobj Void .ctor(Object, IntPtr)
L_03be: stloc.s 20 (System.Predicate`1[Verse.Thing])
L_03c0: ldloc.0
L_03c1: ldfld System.Single maxDist
L_03c6: ldc.r4 800
L_03cb: ble.un Label20
L_03d0: ldc.i4.m1
L_03d1: br Label21
L_03d6: Label20
L_03d6: ldc.i4.s 40
L_03d8: Label21
L_03d8: stloc.s 21 (System.Int32)
L_03da: ldloc.s 11 (Verse.IntVec3)
L_03dc: ldloc.s 12 (Verse.Map)
L_03de: ldloc.s 13 (Verse.ThingRequest)
L_03e0: ldloc.s 14 (Verse.AI.PathEndMode)
L_03e2: ldloc.s 18 (Verse.TraverseParms)
L_03e4: ldloc.s 19 (System.Single)
L_03e6: ldloc.s 20 (System.Predicate`1[Verse.Thing])
L_03e8: ldnull
L_03e9: ldc.i4.0
L_03ea: ldloc.s 21 (System.Int32)
L_03ec: ldc.i4.0
L_03ed: ldc.i4.6
L_03ee: ldc.i4.0
L_03ef: call Verse.Thing ClosestThingReachable(IntVec3, Verse.Map, ThingRequest,
PathEndMode, TraverseParms, Single, System.Predicate`1[Verse.Thing], IEnumerable`1,
Int32, Int32, Boolean, RegionType, Boolean)
L_03f4: castclass Verse.AI.IAttackTarget
L_03f9: stloc.s 10 (Verse.AI.IAttackTarget)
L_03fb: ldloc.s 10 (Verse.AI.IAttackTarget)
L_03fd: brfalse Label22
L_0402: ldloc.0
L_0403: ldfld Verse.Pawn searcherPawn
L_0408: call Boolean ShouldCollideWithPawns(Verse.Pawn)
L_040d: brfalse Label23
L_0412: ldloc.0
L_0413: ldfld System.Predicate`1[Verse.AI.IAttackTarget] innerValidator
L_0418: ldloc.0
L_0419: ldfld Verse.Pawn searcherPawn
L_041e: ldloc.0
L_041f: ldfld System.Single maxDist
L_0424: ldloc.0
L_0425: ldfld System.Boolean canBash
L_042a: call IAttackTarget
FindBestReachableMeleeTarget(System.Predicate`1[Verse.AI.IAttackTarget],
Verse.Pawn, Single, Boolean)
L_042f: stloc.s 22 (Verse.AI.IAttackTarget)
L_0431: ldloc.s 22 (Verse.AI.IAttackTarget)
L_0433: brfalse Label24
L_0438: ldloc.0
L_0439: ldfld Verse.Pawn searcherPawn
L_043e: callvirt IntVec3 get_Position()
L_0443: ldloc.s 10 (Verse.AI.IAttackTarget)
L_0445: callvirt Verse.Thing get_Thing()
L_044a: callvirt IntVec3 get_Position()
L_044f: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_0454: stloc.s 11 (Verse.IntVec3)
L_0456: ldloca.s 11 (Verse.IntVec3)
L_0458: call Single get_LengthHorizontal()
L_045d: stloc.s 23 (System.Single)
L_045f: ldloc.0
L_0460: ldfld Verse.Pawn searcherPawn
L_0465: callvirt IntVec3 get_Position()
L_046a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_046c: callvirt Verse.Thing get_Thing()
L_0471: callvirt IntVec3 get_Position()
L_0476: call IntVec3 op_Subtraction(IntVec3, IntVec3)
L_047b: stloc.s 25 (Verse.IntVec3)
L_047d: ldloca.s 25 (Verse.IntVec3)
L_047f: call Single get_LengthHorizontal()
L_0484: stloc.s 24 (System.Single)
L_0486: ldloc.s 23 (System.Single)
L_0488: ldloc.s 24 (System.Single)
L_048a: sub
L_048b: call Single Abs(Single)
L_0490: ldc.r4 50
L_0495: bge.un Label25
L_049a: ldloc.s 22 (Verse.AI.IAttackTarget)
L_049c: stloc.s 10 (Verse.AI.IAttackTarget)
L_049e: Label22
L_049e: Label23
L_049e: Label24
L_049e: Label25
L_049e: ldloc.s 10 (Verse.AI.IAttackTarget)
L_04a0: Label26
L_04a0: Label27
L_04a0: stloc 26 (Verse.AI.IAttackTarget)
L_04a2: Label0
L_04a2: ldloc 26 (Verse.AI.IAttackTarget)
L_04a4: ret
DONE

### Patch RimWorld.Pawn_DraftController, IEnumerable`1 GetGizmos()


L_0000: Local var 0: RimWorld.Pawn_DraftController+<GetGizmos>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Gizmo,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld RimWorld.Pawn_DraftController $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, RimWorld.Pawn_DraftController ByRef)
L_0026: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0027: ret
DONE

### Patch RimWorld.Pawn_DraftController, Void set_Drafted(Boolean)


L_0000: Local var 0: Verse.AI.Group.Lord
L_0000: Local var 1: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 2: Verse.Pawn
L_0000: Local var 3: System.Collections.Generic.IEnumerator`1[[Verse.Pawn,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Boolean DraftedVehiclesCanMove(RimWorld.Pawn_DraftController, Boolean)
L_000c: brfalse Label0
L_0011: ldarg.1
L_0012: ldarg.0
L_0013: ldfld System.Boolean draftedInt
L_0018: bne.un Label1
L_001d: br Label15
L_0022: Label1
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldfld Verse.AI.Pawn_MindState mindState
L_002d: ldfld Verse.PriorityWork priorityWork
L_0032: callvirt Void ClearPrioritizedWorkAndJobQueue()
L_0037: ldarg.0
L_0038: ldc.i4.1
L_0039: stfld System.Boolean fireAtWillInt
L_003e: ldarg.0
L_003f: ldarg.1
L_0040: stfld System.Boolean draftedInt
L_0045: ldarg.1
L_0046: brtrue Label2
L_004b: ldarg.0
L_004c: ldfld Verse.Pawn pawn
L_0051: callvirt Boolean get_Spawned()
L_0056: brfalse Label3
L_005b: ldarg.0
L_005c: ldfld Verse.Pawn pawn
L_0061: callvirt Verse.Map get_Map()
L_0066: ldfld Verse.PawnDestinationReservationManager
pawnDestinationReservationManager
L_006b: ldarg.0
L_006c: ldfld Verse.Pawn pawn
L_0071: callvirt Void ReleaseAllClaimedBy(Verse.Pawn)
L_0076: Label2
L_0076: Label3
L_0076: ldarg.0
L_0077: ldfld Verse.Pawn pawn
L_007c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0081: callvirt Void ClearQueuedJobs()
L_0086: ldarg.0
L_0087: ldfld Verse.Pawn pawn
L_008c: ldfld Verse.AI.Pawn_JobTracker jobs
L_0091: ldfld Verse.AI.Job curJob
L_0096: brfalse Label4
L_009b: ldarg.0
L_009c: ldfld Verse.Pawn pawn
L_00a1: ldfld Verse.AI.Pawn_JobTracker jobs
L_00a6: callvirt Boolean IsCurrentJobPlayerInterruptible()
L_00ab: brfalse Label5
L_00b0: ldarg.0
L_00b1: ldfld Verse.Pawn pawn
L_00b6: ldfld Verse.AI.Pawn_JobTracker jobs
L_00bb: ldc.i4.5
L_00bc: ldc.i4.1
L_00bd: callvirt Void EndCurrentJob(JobCondition, Boolean)
L_00c2: Label4
L_00c2: Label5
L_00c2: ldarg.0
L_00c3: ldfld System.Boolean draftedInt
L_00c8: brfalse Label6
L_00cd: ldarg.0
L_00ce: ldfld Verse.Pawn pawn
L_00d3: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00d8: stloc.0
L_00d9: ldloc.0
L_00da: brfalse Label7
L_00df: ldloc.0
L_00e0: callvirt Verse.AI.Group.LordJob get_LordJob()
L_00e5: isinst RimWorld.LordJob_VoluntarilyJoinable
L_00ea: brfalse Label8
L_00ef: ldloc.0
L_00f0: ldarg.0
L_00f1: ldfld Verse.Pawn pawn
L_00f6: ldc.i4.7
L_00f7: ldloca.s 1 (System.Nullable`1[Verse.DamageInfo])
L_00f9: initobj System.Nullable`1[Verse.DamageInfo]
L_00ff: ldloc.1
L_0100: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_0105: Label7
L_0105: Label8
L_0105: ldarg.0
L_0106: ldfld RimWorld.AutoUndrafter autoUndrafter
L_010b: callvirt Void Notify_Drafted()
L_0110: br Label9
L_0115: Label6
L_0115: ldarg.0
L_0116: ldfld Verse.Pawn pawn
L_011b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0120: brfalse Label10
L_0125: ldarg.0
L_0126: ldfld Verse.Pawn pawn
L_012b: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0130: ldc.i4.0
L_0131: stfld System.Boolean animalsReleased
L_0136: Label9
L_0136: Label10
L_0136: ldarg.0
L_0137: ldfld Verse.Pawn pawn
L_013c: call IEnumerable`1 SpawnedMasteredPawns(Verse.Pawn)
L_0141: callvirt IEnumerator`1 GetEnumerator()
L_0146: stloc.3
.try
{
L_0147: br Label11
L_014c: Label12
L_014c: ldloc.3
L_014d: callvirt Verse.Pawn get_Current()
L_0152: stloc.2
L_0153: ldloc.2
L_0154: ldfld Verse.AI.Pawn_JobTracker jobs
L_0159: callvirt Void Notify_MasterDraftedOrUndrafted()
L_015e: Label11
L_015e: ldloc.3
L_015f: callvirt Boolean MoveNext()
L_0164: brtrue Label12
L_0169: leave Label13
L_016e: leave (autogenerated)
} // end try
.finally
{
L_0173: ldloc.3
L_0174: brfalse Label14
L_0179: ldloc.3
L_017a: callvirt Void Dispose()
L_017f: Label14
L_017f: endfinally
L_0180: leave (autogenerated)
} // end handler
L_0181: Label13
L_0181: Label15
L_0181: Label0
L_0181: ldarg.0
L_0182: ldarg 1
L_0188: call Void NotifyPawnUndrafted(RimWorld.Pawn_DraftController, Boolean)
L_018d: ldarg.0
L_018e: ldarg 1
L_0194: call Void set_DraftedPostFix(RimWorld.Pawn_DraftController, Boolean)
L_0199: ldarg.0
L_019a: ldarg 1
L_01a0: call Void Postfix(RimWorld.Pawn_DraftController, Boolean)
L_01a5: ret
DONE

### Patch Verse.Pawn, Void Kill(Nullable`1, Verse.Hediff)


L_0000: Local var 0: Verse.IntVec3
L_0000: Local var 1: Verse.Map
L_0000: Local var 2: Verse.Map
L_0000: Local var 3: System.Boolean
L_0000: Local var 4: System.Boolean
L_0000: Local var 5: System.Boolean
L_0000: Local var 6: RimWorld.Planet.Caravan
L_0000: Local var 7: RimWorld.Building_Grave
L_0000: Local var 8: System.Boolean
L_0000: Local var 9: System.Single
L_0000: Local var 10: Verse.Rot4
L_0000: Local var 11: Verse.ThingOwner
L_0000: Local var 12: System.Boolean
L_0000: Local var 13: System.Boolean
L_0000: Local var 14: System.Boolean
L_0000: Local var 15: System.Boolean
L_0000: Local var 16: Verse.DamageInfo
L_0000: Local var 17: System.Single
L_0000: Local var 18: Verse.Thing
L_0000: Local var 19: System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp,
Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 20: Verse.DamageInfo
L_0000: Local var 21: Verse.DamageInfo
L_0000: Local var 22: Verse.Pawn
L_0000: Local var 23: Verse.DamageInfo
L_0000: Local var 24: Verse.DamageInfo
L_0000: Local var 25: Verse.DamageInfo
L_0000: Local var 26: Verse.Pawn_CarryTracker
L_0000: Local var 27: Verse.Thing
L_0000: Local var 28: Verse.AI.Group.Lord
L_0000: Local var 29: Verse.Corpse
L_0000: Local var 30: Verse.DamageInfo
L_0000: Local var 31: Verse.DamageInfo
L_0000: Local var 32: Verse.Hediff
L_0000: Local var 33: RimWorld.CompRottable
L_0000: Local var 34: System.Int32
L_0000: ldarg.0
L_0001: call IntVec3 get_PositionHeld()
L_0006: stloc.0
L_0007: ldarg.0
L_0008: call Verse.Map get_Map()
L_000d: stloc.1
L_000e: ldarg.0
L_000f: call Verse.Map get_MapHeld()
L_0014: stloc.2
L_0015: ldarg.0
L_0016: call Boolean get_Spawned()
L_001b: stloc.3
L_001c: ldarg.0
L_001d: call Boolean get_SpawnedOrAnyParentSpawned()
L_0022: stloc.s 4 (System.Boolean)
L_0024: ldarg.0
L_0025: call Boolean IsWorldPawn(Verse.Pawn)
L_002a: stloc.s 5 (System.Boolean)
L_002c: ldarg.0
L_002d: call RimWorld.Planet.Caravan GetCaravan(Verse.Pawn)
L_0032: stloc.s 6 (RimWorld.Planet.Caravan)
L_0034: ldnull
L_0035: stloc.s 7 (RimWorld.Building_Grave)
L_0037: ldarg.0
L_0038: ldfld RimWorld.Pawn_Ownership ownership
L_003d: brfalse Label1
L_0042: ldarg.0
L_0043: ldfld RimWorld.Pawn_Ownership ownership
L_0048: callvirt RimWorld.Building_Grave get_AssignedGrave()
L_004d: stloc.s 7 (RimWorld.Building_Grave)
L_004f: Label1
L_004f: ldarg.0
L_0050: call Boolean InBed(Verse.Pawn)
L_0055: stloc.s 8 (System.Boolean)
L_0057: ldc.r4 0
L_005c: stloc.s 9 (System.Single)
L_005e: ldloc.s 8 (System.Boolean)
L_0060: brfalse Label2
L_0065: ldarg.0
L_0066: call RimWorld.Building_Bed CurrentBed(Verse.Pawn)
L_006b: callvirt Rot4 get_Rotation()
L_0070: stloc.s 10 (Verse.Rot4)
L_0072: ldloca.s 10 (Verse.Rot4)
L_0074: call Single get_AsAngle()
L_0079: stloc.s 9 (System.Single)
L_007b: Label2
L_007b: ldnull
L_007c: stloc.s 11 (Verse.ThingOwner)
L_007e: ldarg.0
L_007f: call Boolean get_InContainerEnclosed()
L_0084: stloc.s 12 (System.Boolean)
L_0086: ldloc.s 12 (System.Boolean)
L_0088: brfalse Label3
L_008d: ldarg.0
L_008e: ldfld Verse.ThingOwner holdingOwner
L_0093: stloc.s 11 (Verse.ThingOwner)
L_0095: ldloc.s 11 (Verse.ThingOwner)
L_0097: ldarg.0
L_0098: callvirt Boolean Remove(Verse.Thing)
L_009d: pop
L_009e: Label3
L_009e: ldc.i4.0
L_009f: stloc.s 13 (System.Boolean)
L_00a1: ldc.i4.0
L_00a2: stloc.s 14 (System.Boolean)
L_00a4: call ProgramState get_ProgramState()
L_00a9: ldc.i4.2
L_00aa: bne.un Label4
L_00af: ldloc.1
L_00b0: brfalse Label5
L_00b5: ldloc.1
L_00b6: ldfld Verse.DesignationManager designationManager
L_00bb: ldarg.0
L_00bc: ldsfld Verse.DesignationDef Hunt
L_00c1: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00c6: ldnull
L_00c7: ceq
L_00c9: ldc.i4.0
L_00ca: ceq
L_00cc: stloc.s 13 (System.Boolean)
L_00ce: ldloc.1
L_00cf: ldfld Verse.DesignationManager designationManager
L_00d4: ldarg.0
L_00d5: ldsfld Verse.DesignationDef Slaughter
L_00da: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00df: ldnull
L_00e0: ceq
L_00e2: ldc.i4.0
L_00e3: ceq
L_00e5: stloc.s 14 (System.Boolean)
L_00e7: Label4
L_00e7: Label5
L_00e7: ldarg.0
L_00e8: call Boolean ShouldSendNotificationAbout(Verse.Pawn)
L_00ed: brfalse Label6
L_00f2: ldloc.s 14 (System.Boolean)
L_00f4: brfalse Label7
L_00f9: ldarga.s 1
L_00fb: call Boolean get_HasValue()
L_0100: brfalse Label8
L_0105: ldarga.s 1
L_0107: call DamageInfo get_Value()
L_010c: stloc.s 16 (Verse.DamageInfo)
L_010e: ldloca.s 16 (Verse.DamageInfo)
L_0110: call Verse.DamageDef get_Def()
L_0115: ldsfld Verse.DamageDef ExecutionCut
L_011a: ceq
L_011c: br Label9
L_0121: Label7
L_0121: Label8
L_0121: ldc.i4.0
L_0122: Label9
L_0122: ldc.i4.0
L_0123: ceq
L_0125: br Label10
L_012a: Label6
L_012a: ldc.i4.0
L_012b: Label10
L_012b: stloc.s 15 (System.Boolean)
L_012d: ldc.r4 0
L_0132: stloc.s 17 (System.Single)
L_0134: ldarg.0
L_0135: ldsfld Verse.ThingDef Fire
L_013a: call Verse.Thing GetAttachment(Verse.Thing, Verse.ThingDef)
L_013f: stloc.s 18 (Verse.Thing)
L_0141: ldloc.s 18 (Verse.Thing)
L_0143: brfalse Label11
L_0148: ldloc.s 18 (Verse.Thing)
L_014a: castclass RimWorld.Fire
L_014f: callvirt Single CurrentSize()
L_0154: stloc.s 17 (System.Single)
L_0156: Label11
L_0156: ldarg.0
L_0157: ldarg.1
L_0158: ldc.i4.0
L_0159: call Void TryGiveThoughts(Verse.Pawn, Nullable`1,
PawnDiedOrDownedThoughtsKind)
L_015e: call ProgramState get_ProgramState()
L_0163: ldc.i4.2
L_0164: bne.un Label12
L_0169: call RimWorld.Storyteller get_Storyteller()
L_016e: ldarg.0
L_016f: ldc.i4.1
L_0170: ldloca.s 19 (System.Nullable`1[Verse.DamageInfo])
L_0172: initobj System.Nullable`1[Verse.DamageInfo]
L_0178: ldloc.s 19 (System.Nullable`1[Verse.DamageInfo])
L_017a: callvirt Void Notify_PawnEvent(Verse.Pawn, AdaptationEvent, Nullable`1)
L_017f: Label12
L_017f: ldarg.0
L_0180: call Boolean get_IsColonist()
L_0185: brfalse Label13
L_018a: call RimWorld.StoryWatcher get_StoryWatcher()
L_018f: ldfld RimWorld.StatsRecord statsRecord
L_0194: callvirt Void Notify_ColonistKilled()
L_0199: Label13
L_0199: ldloc.3
L_019a: brfalse Label14
L_019f: ldarga.s 1
L_01a1: call Boolean get_HasValue()
L_01a6: brfalse Label15
L_01ab: ldarga.s 1
L_01ad: call DamageInfo get_Value()
L_01b2: stloc.s 20 (Verse.DamageInfo)
L_01b4: ldloca.s 20 (Verse.DamageInfo)
L_01b6: call Verse.DamageDef get_Def()
L_01bb: ldarg.0
L_01bc: callvirt Boolean ExternalViolenceFor(Verse.Thing)
L_01c1: brfalse Label16
L_01c6: ldarg.0
L_01c7: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01cc: brtrue Label17
L_01d1: ldnull
L_01d2: ldftn Verse.SoundDef <Kill>m__8(Verse.LifeStageAge)
L_01d8: newobj Void .ctor(Object, IntPtr)
L_01dd: stsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e2: Label17
L_01e2: ldsfld System.Func`2[Verse.LifeStageAge,Verse.SoundDef] <>f__am$cache8
L_01e7: ldc.r4 1
L_01ec: call Void PlayNearestLifestageSound(Verse.Pawn,
System.Func`2[Verse.LifeStageAge,Verse.SoundDef], Single)
L_01f1: Label14
L_01f1: Label15
L_01f1: Label16
L_01f1: ldarga.s 1
L_01f3: call Boolean get_HasValue()
L_01f8: brfalse Label18
L_01fd: ldarga.s 1
L_01ff: call DamageInfo get_Value()
L_0204: stloc.s 21 (Verse.DamageInfo)
L_0206: ldloca.s 21 (Verse.DamageInfo)
L_0208: call Verse.Thing get_Instigator()
L_020d: brfalse Label19
L_0212: ldarga.s 1
L_0214: call DamageInfo get_Value()
L_0219: stloc.s 23 (Verse.DamageInfo)
L_021b: ldloca.s 23 (Verse.DamageInfo)
L_021d: call Verse.Thing get_Instigator()
L_0222: isinst Verse.Pawn
L_0227: stloc.s 22 (Verse.Pawn)
L_0229: ldloc.s 22 (Verse.Pawn)
L_022b: brfalse Label20
L_0230: ldarg.0
L_0231: ldloc.s 22 (Verse.Pawn)
L_0233: call Void Notify_PawnKilled(Verse.Pawn, Verse.Pawn)
L_0238: ldarg.0
L_0239: call Boolean get_IsColonist()
L_023e: brfalse Label21
L_0243: ldloc.s 22 (Verse.Pawn)
L_0245: ldfld RimWorld.Pawn_RecordsTracker records
L_024a: ldsfld RimWorld.StoryEventDef KilledPlayer
L_024f: callvirt Void AccumulateStoryEvent(RimWorld.StoryEventDef)
L_0254: Label18
L_0254: Label19
L_0254: Label20
L_0254: Label21
L_0254: ldarg.0
L_0255: ldarg.1
L_0256: call Void Notify_PawnDied(Verse.Pawn, Nullable`1)
L_025b: ldloc.3
L_025c: brfalse Label22
L_0261: call Verse.BattleLog get_BattleLog()
L_0266: ldarg.0
L_0267: ldarg.0
L_0268: call Verse.RaceProperties get_RaceProps()
L_026d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0272: callvirt Verse.RulePackDef get_DeathRules()
L_0277: ldarga.s 1
L_0279: call Boolean get_HasValue()
L_027e: brfalse Label23
L_0283: ldarga.s 1
L_0285: call DamageInfo get_Value()
L_028a: stloc.s 24 (Verse.DamageInfo)
L_028c: ldloca.s 24 (Verse.DamageInfo)
L_028e: call Verse.Thing get_Instigator()
L_0293: isinst Verse.Pawn
L_0298: br Label24
L_029d: Label23
L_029d: ldnull
L_029e: Label24
L_029e: ldarg.2
L_029f: ldarga.s 1
L_02a1: call Boolean get_HasValue()
L_02a6: brfalse Label25
L_02ab: ldarga.s 1
L_02ad: call DamageInfo get_Value()
L_02b2: stloc.s 25 (Verse.DamageInfo)
L_02b4: ldloca.s 25 (Verse.DamageInfo)
L_02b6: call Verse.BodyPartRecord get_HitPart()
L_02bb: br Label26
L_02c0: Label25
L_02c0: ldnull
L_02c1: Label26
L_02c1: newobj Void .ctor(Thing, RulePackDef, Pawn, Hediff, BodyPartRecord)
L_02c6: callvirt Void Add(Verse.LogEntry)
L_02cb: Label22
L_02cb: ldarg.0
L_02cc: ldfld Verse.Pawn_HealthTracker health
L_02d1: ldfld RimWorld.BillStack surgeryBills
L_02d6: callvirt Void Clear()
L_02db: ldarg.0
L_02dc: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02e1: brfalse Label27
L_02e6: ldarg.0
L_02e7: ldfld RimWorld.Pawn_ApparelTracker apparel
L_02ec: ldarg.1
L_02ed: callvirt Void Notify_PawnKilled(Nullable`1)
L_02f2: Label27
L_02f2: ldarg.0
L_02f3: call Verse.RaceProperties get_RaceProps()
L_02f8: callvirt Boolean get_IsFlesh()
L_02fd: brfalse Label28
L_0302: ldarg.0
L_0303: ldfld RimWorld.Pawn_RelationsTracker relations
L_0308: ldarg.1
L_0309: ldloc.1
L_030a: callvirt Void Notify_PawnKilled(Nullable`1, Verse.Map)
L_030f: Label28
L_030f: ldarg.0
L_0310: ldfld RimWorld.Pawn_MeleeVerbs meleeVerbs
L_0315: callvirt Void Notify_PawnKilled()
L_031a: ldarg.0
L_031b: call IThingHolder get_ParentHolder()
L_0320: isinst Verse.Pawn_CarryTracker
L_0325: stloc.s 26 (Verse.Pawn_CarryTracker)
L_0327: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0329: brfalse Label29
L_032e: ldarg.0
L_032f: ldfld Verse.ThingOwner holdingOwner
L_0334: ldarg.0
L_0335: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0337: ldfld Verse.Pawn pawn
L_033c: callvirt IntVec3 get_Position()
L_0341: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_0343: ldfld Verse.Pawn pawn
L_0348: callvirt Verse.Map get_Map()
L_034d: ldc.i4.1
L_034e: ldloca.s 27 (Verse.Thing)
L_0350: ldnull
L_0351: ldnull
L_0352: callvirt Boolean TryDrop(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
Verse.Thing ByRef, System.Action`2[Verse.Thing,System.Int32],
System.Predicate`1[Verse.IntVec3])
L_0357: brfalse Label30
L_035c: ldloc.s 26 (Verse.Pawn_CarryTracker)
L_035e: ldfld Verse.Pawn pawn
L_0363: callvirt Verse.Map get_Map()
L_0368: stloc.1
L_0369: ldc.i4.1
L_036a: stloc.3
L_036b: Label29
L_036b: Label30
L_036b: ldarg.0
L_036c: ldfld Verse.Pawn_HealthTracker health
L_0371: callvirt Void SetDead()
L_0376: ldarg.0
L_0377: ldfld Verse.Pawn_HealthTracker health
L_037c: ldfld Verse.Effecter deflectionEffecter
L_0381: brfalse Label31
L_0386: ldarg.0
L_0387: ldfld Verse.Pawn_HealthTracker health
L_038c: ldfld Verse.Effecter deflectionEffecter
L_0391: callvirt Void Cleanup()
L_0396: ldarg.0
L_0397: ldfld Verse.Pawn_HealthTracker health
L_039c: ldnull
L_039d: stfld Verse.Effecter deflectionEffecter
L_03a2: Label31
L_03a2: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03a4: brfalse Label32
L_03a9: ldloc.s 6 (RimWorld.Planet.Caravan)
L_03ab: ldarg.0
L_03ac: callvirt Void Notify_MemberDied(Verse.Pawn)
L_03b1: Label32
L_03b1: ldarg.0
L_03b2: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_03b7: stloc.s 28 (Verse.AI.Group.Lord)
L_03b9: ldloc.s 28 (Verse.AI.Group.Lord)
L_03bb: brfalse Label33
L_03c0: ldloc.s 28 (Verse.AI.Group.Lord)
L_03c2: ldarg.0
L_03c3: ldc.i4.2
L_03c4: ldarg.1
L_03c5: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition, Nullable`1)
L_03ca: Label33
L_03ca: ldloc.3
L_03cb: brfalse Label34
L_03d0: ldarg.0
L_03d1: ldc.i4.0
L_03d2: call Void DropAndForbidEverything(Boolean)
L_03d7: Label34
L_03d7: ldloc.3
L_03d8: brfalse Label35
L_03dd: ldarg.0
L_03de: ldc.i4.0
L_03df: callvirt Void DeSpawn(DestroyMode)
L_03e4: Label35
L_03e4: ldnull
L_03e5: stloc.s 29 (Verse.Corpse)
L_03e7: ldarg.0
L_03e8: call Boolean IsBeingGenerated(Verse.Pawn)
L_03ed: brtrue Label36
L_03f2: ldloc.s 12 (System.Boolean)
L_03f4: brfalse Label37
L_03f9: ldarg.0
L_03fa: ldloc.s 7 (RimWorld.Building_Grave)
L_03fc: ldloc.s 8 (System.Boolean)
L_03fe: ldloc.s 9 (System.Single)
L_0400: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0405: stloc.s 29 (Verse.Corpse)
L_0407: ldloc.s 11 (Verse.ThingOwner)
L_0409: ldloc.s 29 (Verse.Corpse)
L_040b: ldc.i4.1
L_040c: callvirt Boolean TryAdd(Verse.Thing, Boolean)
L_0411: brtrue Label38
L_0416: ldloc.s 29 (Verse.Corpse)
L_0418: ldc.i4.0
L_0419: callvirt Void Destroy(DestroyMode)
L_041e: ldnull
L_041f: stloc.s 29 (Verse.Corpse)
L_0421: Label38
L_0421: br Label39
L_0426: Label37
L_0426: ldloc.s 4 (System.Boolean)
L_0428: brfalse Label40
L_042d: ldarg.0
L_042e: ldfld Verse.ThingOwner holdingOwner
L_0433: brfalse Label41
L_0438: ldarg.0
L_0439: ldfld Verse.ThingOwner holdingOwner
L_043e: ldarg.0
L_043f: callvirt Boolean Remove(Verse.Thing)
L_0444: pop
L_0445: Label41
L_0445: ldarg.0
L_0446: ldloc.s 7 (RimWorld.Building_Grave)
L_0448: ldloc.s 8 (System.Boolean)
L_044a: ldloc.s 9 (System.Single)
L_044c: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_0451: stloc.s 29 (Verse.Corpse)
L_0453: ldloc.s 29 (Verse.Corpse)
L_0455: ldloc.0
L_0456: ldloc.2
L_0457: ldc.i4.0
L_0458: ldnull
L_0459: ldnull
L_045a: call Boolean TryPlaceThing(Verse.Thing, IntVec3, Verse.Map, ThingPlaceMode,
System.Action`2[Verse.Thing,System.Int32], System.Predicate`1[Verse.IntVec3])
L_045f: brfalse Label42
L_0464: ldloc.s 29 (Verse.Corpse)
L_0466: ldarg.0
L_0467: call Rot4 get_Rotation()
L_046c: callvirt Void set_Rotation(Rot4)
L_0471: ldarg.0
L_0472: ldarg.1
L_0473: call Boolean WasKilledByHunter(Verse.Pawn, Nullable`1)
L_0478: brfalse Label43
L_047d: ldarga.s 1
L_047f: call DamageInfo get_Value()
L_0484: stloc.s 30 (Verse.DamageInfo)
L_0486: ldloca.s 30 (Verse.DamageInfo)
L_0488: call Verse.Thing get_Instigator()
L_048d: castclass Verse.Pawn
L_0492: ldloc.s 29 (Verse.Corpse)
L_0494: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0499: ldarga.s 1
L_049b: call DamageInfo get_Value()
L_04a0: stloc.s 31 (Verse.DamageInfo)
L_04a2: ldloca.s 31 (Verse.DamageInfo)
L_04a4: call Verse.Thing get_Instigator()
L_04a9: castclass Verse.Pawn
L_04ae: callvirt Verse.AI.Job get_CurJob()
L_04b3: ldc.i4.1
L_04b4: ldc.i4.m1
L_04b5: ldnull
L_04b6: ldc.i4.1
L_04b7: call Boolean Reserve(Verse.Pawn, LocalTargetInfo, Verse.AI.Job, Int32,
Int32, Verse.ReservationLayerDef, Boolean)
L_04bc: pop
L_04bd: br Label44
L_04c2: Label43
L_04c2: ldloc.s 13 (System.Boolean)
L_04c4: brtrue Label45
L_04c9: ldloc.s 14 (System.Boolean)
L_04cb: brtrue Label46
L_04d0: ldloc.s 29 (Verse.Corpse)
L_04d2: call Void SetForbiddenIfOutsideHomeArea(Verse.Thing)
L_04d7: Label44
L_04d7: Label45
L_04d7: Label46
L_04d7: ldloc.s 17 (System.Single)
L_04d9: ldc.r4 0
L_04de: ble.un Label47
L_04e3: ldloc.s 29 (Verse.Corpse)
L_04e5: callvirt IntVec3 get_Position()
L_04ea: ldloc.s 29 (Verse.Corpse)
L_04ec: callvirt Verse.Map get_Map()
L_04f1: ldloc.s 17 (System.Single)
L_04f3: call Boolean TryStartFireIn(IntVec3, Verse.Map, Single)
L_04f8: pop
L_04f9: Label47
L_04f9: br Label48
L_04fe: Label42
L_04fe: ldloc.s 29 (Verse.Corpse)
L_0500: ldc.i4.0
L_0501: callvirt Void Destroy(DestroyMode)
L_0506: ldnull
L_0507: stloc.s 29 (Verse.Corpse)
L_0509: Label48
L_0509: br Label49
L_050e: Label40
L_050e: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0510: brfalse Label50
L_0515: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0517: callvirt Boolean get_Spawned()
L_051c: brfalse Label51
L_0521: ldarg.0
L_0522: ldloc.s 7 (RimWorld.Building_Grave)
L_0524: ldloc.s 8 (System.Boolean)
L_0526: ldloc.s 9 (System.Single)
L_0528: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_052d: stloc.s 29 (Verse.Corpse)
L_052f: ldloc.s 6 (RimWorld.Planet.Caravan)
L_0531: ldloc.s 29 (Verse.Corpse)
L_0533: ldc.i4.1
L_0534: callvirt Void AddPawnOrItem(Verse.Thing, Boolean)
L_0539: br Label52
L_053e: Label50
L_053e: Label51
L_053e: ldarg.0
L_053f: ldfld Verse.ThingOwner holdingOwner
L_0544: brtrue Label53
L_0549: ldarg.0
L_054a: call Boolean IsWorldPawn(Verse.Pawn)
L_054f: brfalse Label54
L_0554: Label53
L_0554: ldarg.0
L_0555: call Void PostCorpseDestroy(Verse.Pawn)
L_055a: br Label55
L_055f: Label54
L_055f: ldarg.0
L_0560: ldloc.s 7 (RimWorld.Building_Grave)
L_0562: ldloc.s 8 (System.Boolean)
L_0564: ldloc.s 9 (System.Single)
L_0566: call Verse.Corpse MakeCorpse(RimWorld.Building_Grave, Boolean, Single)
L_056b: stloc.s 29 (Verse.Corpse)
L_056d: Label36
L_056d: Label39
L_056d: Label49
L_056d: Label52
L_056d: Label55
L_056d: ldloc.s 29 (Verse.Corpse)
L_056f: brfalse Label56
L_0574: ldarg.0
L_0575: ldfld Verse.Pawn_HealthTracker health
L_057a: ldfld Verse.HediffSet hediffSet
L_057f: ldsfld Verse.HediffDef ToxicBuildup
L_0584: ldc.i4.0
L_0585: callvirt Verse.Hediff GetFirstHediffOfDef(Verse.HediffDef, Boolean)
L_058a: stloc.s 32 (Verse.Hediff)
L_058c: ldloc.s 29 (Verse.Corpse)
L_058e: callvirt RimWorld.CompRottable GetComp[CompRottable]()
L_0593: stloc.s 33 (RimWorld.CompRottable)
L_0595: ldloc.s 32 (Verse.Hediff)
L_0597: brfalse Label57
L_059c: call Single get_Value()
L_05a1: ldloc.s 32 (Verse.Hediff)
L_05a3: callvirt Single get_Severity()
L_05a8: bge.un Label58
L_05ad: ldloc.s 33 (RimWorld.CompRottable)
L_05af: brfalse Label59
L_05b4: ldloc.s 33 (RimWorld.CompRottable)
L_05b6: callvirt Void RotImmediately()
L_05bb: Label56
L_05bb: Label57
L_05bb: Label58
L_05bb: Label59
L_05bb: ldarg.0
L_05bc: call Boolean get_Destroyed()
L_05c1: brtrue Label60
L_05c6: ldarg.0
L_05c7: ldc.i4.2
L_05c8: callvirt Void Destroy(DestroyMode)
L_05cd: Label60
L_05cd: ldarg.0
L_05ce: call Void RemoveComponentsOnKilled(Verse.Pawn)
L_05d3: ldarg.0
L_05d4: ldfld Verse.Pawn_HealthTracker health
L_05d9: ldfld Verse.HediffSet hediffSet
L_05de: callvirt Void DirtyCache()
L_05e3: ldarg.0
L_05e4: call Void SetDirty(Verse.Pawn)
L_05e9: ldc.i4.0
L_05ea: stloc.s 34 (System.Int32)
L_05ec: br Label61
L_05f1: Label62
L_05f1: ldarg.0
L_05f2: ldfld Verse.Pawn_HealthTracker health
L_05f7: ldfld Verse.HediffSet hediffSet
L_05fc: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0601: ldloc.s 34 (System.Int32)
L_0603: callvirt Verse.Hediff get_Item(Int32)
L_0608: callvirt Void Notify_PawnDied()
L_060d: ldloc.s 34 (System.Int32)
L_060f: ldc.i4.1
L_0610: add
L_0611: stloc.s 34 (System.Int32)
L_0613: Label61
L_0613: ldloc.s 34 (System.Int32)
L_0615: ldarg.0
L_0616: ldfld Verse.Pawn_HealthTracker health
L_061b: ldfld Verse.HediffSet hediffSet
L_0620: ldfld System.Collections.Generic.List`1[Verse.Hediff] hediffs
L_0625: callvirt Int32 get_Count()
L_062a: blt Label62
L_062f: ldarg.0
L_0630: call RimWorld.Faction get_Faction()
L_0635: brfalse Label63
L_063a: ldarg.0
L_063b: call RimWorld.Faction get_Faction()
L_0640: ldarg.0
L_0641: ldarg.1
L_0642: ldloc.s 5 (System.Boolean)
L_0644: ldloc.2
L_0645: callvirt Void Notify_MemberDied(Verse.Pawn, Nullable`1, Boolean, Verse.Map)
L_064a: Label63
L_064a: ldloc.s 29 (Verse.Corpse)
L_064c: brfalse Label64
L_0651: ldarg.0
L_0652: call Verse.RaceProperties get_RaceProps()
L_0657: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_065c: brfalse Label65
L_0661: ldloc.3
L_0662: brfalse Label66
L_0667: ldarg.0
L_0668: call Verse.RaceProperties get_RaceProps()
L_066d: callvirt Verse.DeathActionWorker get_DeathActionWorker()
L_0672: ldloc.s 29 (Verse.Corpse)
L_0674: callvirt Void PawnDied(Verse.Corpse)
L_0679: Label65
L_0679: Label66
L_0679: call RimWorld.Scenario get_Scenario()
L_067e: brfalse Label67
L_0683: call RimWorld.Scenario get_Scenario()
L_0688: ldloc.s 29 (Verse.Corpse)
L_068a: callvirt Void Notify_PawnDied(Verse.Corpse)
L_068f: Label64
L_068f: Label67
L_068f: ldarg.0
L_0690: call RimWorld.Faction get_Faction()
L_0695: brfalse Label68
L_069a: ldarg.0
L_069b: call RimWorld.Faction get_Faction()
L_06a0: callvirt Boolean get_IsPlayer()
L_06a5: brfalse Label69
L_06aa: ldarg.0
L_06ab: call Void Notify_ColonistUnavailable(Verse.Pawn)
L_06b0: Label68
L_06b0: Label69
L_06b0: ldloc.s 4 (System.Boolean)
L_06b2: brfalse Label70
L_06b7: ldarg.0
L_06b8: ldloc.2
L_06b9: call Void Notify_PawnLostForTutor(Verse.Pawn, Verse.Map)
L_06be: Label70
L_06be: ldarg.0
L_06bf: call RimWorld.Faction get_Faction()
L_06c4: brfalse Label71
L_06c9: ldarg.0
L_06ca: call RimWorld.Faction get_Faction()
L_06cf: callvirt Boolean get_IsPlayer()
L_06d4: brfalse Label72
L_06d9: call ProgramState get_ProgramState()
L_06de: ldc.i4.2
L_06df: bne.un Label73
L_06e4: call RimWorld.ColonistBar get_ColonistBar()
L_06e9: callvirt Void MarkColonistsDirty()
L_06ee: Label71
L_06ee: Label72
L_06ee: Label73
L_06ee: ldloc.s 15 (System.Boolean)
L_06f0: brfalse Label74
L_06f5: ldarg.0
L_06f6: ldfld Verse.Pawn_HealthTracker health
L_06fb: ldarg.1
L_06fc: ldarg.2
L_06fd: ldloc.s 6 (RimWorld.Planet.Caravan)
L_06ff: callvirt Void NotifyPlayerOfKilled(Nullable`1, Verse.Hediff,
RimWorld.Planet.Caravan)
L_0704: Label74
L_0704: ldarg.0
L_0705: call Void Postfix(Verse.Pawn)
L_070a: ldarga 0
L_0710: call Void Postfix(Verse.Pawn ByRef)
L_0715: ret
DONE

### Patch RimWorld.Targeter, Void TargeterUpdate()


L_0000: Local var 0: Verse.LocalTargetInfo
L_0000: Local var 1: System.Boolean
L_0000: Local var 2: System.Single
L_0000: Local var 3: Verse.ShootLine
L_0000: Local var 4: Verse.LocalTargetInfo
L_0000: ldarg.0
L_0001: ldfld Verse.Verb targetingVerb
L_0006: brfalse Label1
L_000b: ldarg.0
L_000c: ldfld Verse.Verb targetingVerb
L_0011: ldfld Verse.VerbProperties verbProps
L_0016: ldarg.0
L_0017: ldfld Verse.Verb targetingVerb
L_001c: ldfld Verse.Thing caster
L_0021: callvirt IntVec3 get_Position()
L_0026: callvirt Void DrawRadiusRing(IntVec3)
L_002b: ldarg.0
L_002c: ldc.i4.1
L_002d: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_0032: stloc.0
L_0033: ldloca.s 0 (Verse.LocalTargetInfo)
L_0035: call Boolean get_IsValid()
L_003a: brfalse Label2
L_003f: ldloc.0
L_0040: call Void DrawTargetHighlight(LocalTargetInfo)
L_0045: ldarg.0
L_0046: ldfld Verse.Verb targetingVerb
L_004b: ldloca.s 1 (System.Boolean)
L_004d: callvirt Single HighlightFieldRadiusAroundTarget(Boolean ByRef)
L_0052: stloc.2
L_0053: ldloc.2
L_0054: ldc.r4 0.2
L_0059: ble.un Label3
L_005e: ldarg.0
L_005f: ldfld Verse.Verb targetingVerb
L_0064: ldarg.0
L_0065: ldfld Verse.Verb targetingVerb
L_006a: ldfld Verse.Thing caster
L_006f: callvirt IntVec3 get_Position()
L_0074: ldloc.0
L_0075: ldloca.s 3 (Verse.ShootLine)
L_0077: callvirt Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_007c: brfalse Label4
L_0081: ldloc.1
L_0082: brfalse Label5
L_0087: ldloca.s 3 (Verse.ShootLine)
L_0089: call IntVec3 get_Dest()
L_008e: ldloc.2
L_008f: call Void RenderPredictedAreaOfEffect(IntVec3, Single)
L_0094: br Label6
L_0099: Label5
L_0099: ldloca.s 3 (Verse.ShootLine)
L_009b: call IntVec3 get_Dest()
L_00a0: ldloc.2
L_00a1: ldc.i4.1
L_00a2: call IEnumerable`1 RadialCellsAround(IntVec3, Single, Boolean)
L_00a7: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00ac: brtrue Label7
L_00b1: ldnull
L_00b2: ldftn Boolean <TargeterUpdate>m__0(IntVec3)
L_00b8: newobj Void .ctor(Object, IntPtr)
L_00bd: stsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c2: Label7
L_00c2: ldsfld System.Func`2[Verse.IntVec3,System.Boolean] <>f__am$cache0
L_00c7: call IEnumerable`1 Where[IntVec3](IEnumerable`1,
System.Func`2[Verse.IntVec3,System.Boolean])
L_00cc: call System.Collections.Generic.List`1[Verse.IntVec3] ToList[IntVec3]
(IEnumerable`1)
L_00d1: call Void DrawFieldEdges(System.Collections.Generic.List`1[Verse.IntVec3])
L_00d6: Label1
L_00d6: Label2
L_00d6: Label3
L_00d6: Label4
L_00d6: Label6
L_00d6: ldarg.0
L_00d7: ldfld System.Action`1[Verse.LocalTargetInfo] action
L_00dc: brfalse Label8
L_00e1: ldarg.0
L_00e2: ldc.i4.0
L_00e3: call LocalTargetInfo CurrentTargetUnderMouse(Boolean)
L_00e8: stloc.s 4 (Verse.LocalTargetInfo)
L_00ea: ldloca.s 4 (Verse.LocalTargetInfo)
L_00ec: call Boolean get_IsValid()
L_00f1: brfalse Label9
L_00f6: ldloc.s 4 (Verse.LocalTargetInfo)
L_00f8: call Void DrawTargetHighlight(LocalTargetInfo)
L_00fd: Label8
L_00fd: Label9
L_00fd: ldarg.0
L_00fe: call Void TargeterUpdate_PostFix(RimWorld.Targeter)
L_0103: ldarga 0
L_0109: call Void Postfix(RimWorld.Targeter ByRef)
L_010e: ret
DONE

### Patch Verse.Verb, Boolean CanHitTargetFrom(IntVec3, LocalTargetInfo)


L_0000: Local var 0: System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-
CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var 1: System.Int32
L_0000: Local var 2: Verse.ShootLine
L_0000: Local var 3: System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarga.s 2
L_0008: call Verse.Thing get_Thing()
L_000d: brfalse Label1
L_0012: ldarga.s 2
L_0014: call Verse.Thing get_Thing()
L_0019: ldarg.0
L_001a: ldfld Verse.Thing caster
L_001f: bne.un Label2
L_0024: ldarg.0
L_0025: ldfld Verse.VerbProperties verbProps
L_002a: ldfld RimWorld.TargetingParameters targetParams
L_002f: ldfld System.Boolean canTargetSelf
L_0034: br Label8
L_0039: Label1
L_0039: Label2
L_0039: ldarg.0
L_003a: call Boolean get_CasterIsPawn()
L_003f: brfalse Label3
L_0044: ldarg.0
L_0045: call Verse.Pawn get_CasterPawn()
L_004a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_004f: brfalse Label4
L_0054: ldarg.0
L_0055: call Verse.Pawn get_CasterPawn()
L_005a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_005f: callvirt System.Collections.Generic.List`1[RimWorld.Apparel]
get_WornApparel()
L_0064: stloc.0
L_0065: ldc.i4.0
L_0066: stloc.1
L_0067: br Label5
L_006c: Label7
L_006c: ldloc.0
L_006d: ldloc.1
L_006e: callvirt RimWorld.Apparel get_Item(Int32)
L_0073: ldarg.1
L_0074: ldarg.0
L_0075: ldfld Verse.Thing caster
L_007a: callvirt Verse.Map get_Map()
L_007f: ldarg.2
L_0080: ldarg.0
L_0081: callvirt Boolean AllowVerbCast(IntVec3, Verse.Map, LocalTargetInfo,
Verse.Verb)
L_0086: brtrue Label6
L_008b: ldc.i4.0
L_008c: br Label9
L_0091: Label6
L_0091: ldloc.1
L_0092: ldc.i4.1
L_0093: add
L_0094: stloc.1
L_0095: Label5
L_0095: ldloc.1
L_0096: ldloc.0
L_0097: callvirt Int32 get_Count()
L_009c: blt Label7
L_00a1: Label3
L_00a1: Label4
L_00a1: ldarg.0
L_00a2: ldarg.1
L_00a3: ldarg.2
L_00a4: ldloca.s 2 (Verse.ShootLine)
L_00a6: call Boolean TryFindShootLineFromTo(IntVec3, LocalTargetInfo, ShootLine
ByRef)
L_00ab: Label8
L_00ab: Label9
L_00ab: stloc 3 (System.Boolean)
L_00ac: ldarga 0
L_00b2: ldloca 3 (System.Boolean)
L_00b4: ldarg 1
L_00ba: ldarg 2
L_00c0: call Void Postfix(Verse.Verb ByRef, Boolean ByRef, IntVec3,
LocalTargetInfo)
L_00c5: ldloc 3 (System.Boolean)
L_00c6: ret
DONE
### Patch RimWorld.Pawn_DraftController, IEnumerable`1 GetGizmos()
L_0000: Local var 0: RimWorld.Pawn_DraftController+<GetGizmos>c__Iterator0
L_0000: Local var 1: System.Collections.Generic.IEnumerable`1[[Verse.Gizmo,
Assembly-CSharp, Version=0.19.6814.14576, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0002: newobj Void .ctor()
L_0007: stloc.0
L_0008: ldloc.0
L_0009: ldarg.0
L_000a: stfld RimWorld.Pawn_DraftController $this
L_000f: ldloc.0
L_0010: dup
L_0011: ldc.i4.s -2
L_0013: stfld System.Int32 $PC
L_0018: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0019: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_001b: ldarga 0
L_0021: call Void Postfix(IEnumerable`1 ByRef, RimWorld.Pawn_DraftController ByRef)
L_0026: ldarg.0
L_0027: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_0029: call Void InsertDefensivePositionGizmo(RimWorld.Pawn_DraftController,
IEnumerable`1 ByRef)
L_002e: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
L_002f: ret
DONE

You might also like