RimWorld

RimWorld

EdB Prepare Carefully
Error from trying to save.
Log attached. Hope you can fix this. I'll send a list of mods soon, but off the top of my head I'm using the Apini race, the framework for that, robots++ and some others.

--LOG

PATCHING RimWorld.PawnRelationWorker_Child Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #3 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #4 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #5 System.Single
L_0000: ldc.r4 0
L_0005: stloc 5 (System.Single)
L_0007: ldc.r4 0
L_000c: stloc.0
L_000d: ldarg.1
L_000e: ldfld Verse.Gender gender
L_0013: ldc.i4.1
L_0014: bne.un Label #2
L_0019: ldarg.2
L_001a: ldarg.1
L_001b: ldarg.2
L_001c: call Verse.Pawn GetMother(Verse.Pawn)
L_0021: ldloca.s 1 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0023: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0029: ldloc.1
L_002a: ldarg.3
L_002b: newobj Void .ctor(PawnGenerationRequest)
L_0030: ldloca.s 2 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0032: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0038: ldloc.2
L_0039: call Single ChanceOfBecomingChildOf(Verse.Pawn, Verse.Pawn, Verse.Pawn, Nullable`1, Nullable`1, Nullable`1)
L_003e: stloc.0
L_003f: br Label #3
L_0044: Label #2
L_0044: ldarg.1
L_0045: ldfld Verse.Gender gender
L_004a: ldc.i4.2
L_004b: bne.un Label #4
L_0050: ldarg.2
L_0051: ldarg.2
L_0052: call Verse.Pawn GetFather(Verse.Pawn)
L_0057: ldarg.1
L_0058: ldloca.s 3 (System.Nullable`1[Verse.PawnGenerationRequest])
L_005a: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0060: ldloc.3
L_0061: ldloca.s 4 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0063: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0069: ldloc.s 4 (System.Nullable`1[Verse.PawnGenerationRequest])
L_006b: ldarg.3
L_006c: newobj Void .ctor(PawnGenerationRequest)
L_0071: call Single ChanceOfBecomingChildOf(Verse.Pawn, Verse.Pawn, Verse.Pawn, Nullable`1, Nullable`1, Nullable`1)
L_0076: stloc.0
L_0077: Label #3
L_0077: Label #4
L_0077: ldloc.0
L_0078: ldarg.0
L_0079: ldarg.1
L_007a: ldarg.2
L_007b: ldarg.3
L_007c: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0081: mul
L_0082: br Label #0
L_0087: Label #0
L_0087: stloc 5 (System.Single)
L_0089: ldloca 5 (System.Single)
L_008b: ldarg 1
L_0091: ldarg 2
L_0097: call Void GenerationChanceChildPostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_009c: ldloc 5 (System.Single)
L_009e: ret
DONE

PATCHING RimWorld.PawnRelationWorker_ExLover Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: ldc.r4 0
L_0005: stloc 0 (System.Single)
L_0006: ldarg.1
L_0007: ldarg.2
L_0008: ldarg.3
L_0009: ldc.i4.1
L_000a: call Single LovePartnerRelationGenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest, Boolean)
L_000f: ldarg.0
L_0010: ldarg.1
L_0011: ldarg.2
L_0012: ldarg.3
L_0013: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0018: mul
L_0019: br Label #0
L_001e: Label #0
L_001e: stloc 0 (System.Single)
L_001f: ldloca 0 (System.Single)
L_0021: ldarg 1
L_0027: ldarg 2
L_002d: call Void GenerationChanceExLoverPostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_0032: ldloc 0 (System.Single)
L_0033: ret
DONE

PATCHING RimWorld.PawnRelationWorker_ExSpouse Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: ldc.r4 0
L_0005: stloc 0 (System.Single)
L_0006: ldarg.1
L_0007: ldarg.2
L_0008: ldarg.3
L_0009: ldc.i4.1
L_000a: call Single LovePartnerRelationGenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest, Boolean)
L_000f: ldarg.0
L_0010: ldarg.1
L_0011: ldarg.2
L_0012: ldarg.3
L_0013: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0018: mul
L_0019: br Label #0
L_001e: Label #0
L_001e: stloc 0 (System.Single)
L_001f: ldloca 0 (System.Single)
L_0021: ldarg 1
L_0027: ldarg 2
L_002d: call Void GenerationChanceExSpousePostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_0032: ldloc 0 (System.Single)
L_0033: ret
DONE

PATCHING RimWorld.PawnRelationWorker_Fiance Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
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: ldc.r4 1
L_000b: stloc.0
L_000c: ldloc.0
L_000d: ldarg.0
L_000e: ldarg.1
L_000f: call Single GetOldAgeFactor(Verse.Pawn)
L_0014: mul
L_0015: stloc.0
L_0016: ldloc.0
L_0017: ldarg.0
L_0018: ldarg.2
L_0019: call Single GetOldAgeFactor(Verse.Pawn)
L_001e: mul
L_001f: stloc.0
L_0020: ldarg.1
L_0021: ldarg.2
L_0022: ldarg.3
L_0023: ldc.i4.0
L_0024: call Single LovePartnerRelationGenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest, Boolean)
L_0029: ldarg.0
L_002a: ldarg.1
L_002b: ldarg.2
L_002c: ldarg.3
L_002d: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0032: mul
L_0033: ldloc.0
L_0034: mul
L_0035: br Label #0
L_003a: Label #0
L_003a: stloc 1 (System.Single)
L_003b: ldloca 1 (System.Single)
L_003d: ldarg 1
L_0043: ldarg 2
L_0049: call Void GenerationChanceFiancePostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_004e: ldloc 1 (System.Single)
L_004f: ret
DONE

PATCHING RimWorld.PawnRelationWorker_Lover Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: ldc.r4 0
L_0005: stloc 0 (System.Single)
L_0006: ldarg.1
L_0007: ldarg.2
L_0008: ldarg.3
L_0009: ldc.i4.0
L_000a: call Single LovePartnerRelationGenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest, Boolean)
L_000f: ldarg.0
L_0010: ldarg.1
L_0011: ldarg.2
L_0012: ldarg.3
L_0013: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0018: mul
L_0019: br Label #0
L_001e: Label #0
L_001e: stloc 0 (System.Single)
L_001f: ldloca 0 (System.Single)
L_0021: ldarg 1
L_0027: ldarg 2
L_002d: call Void GenerationChanceLoverPostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_0032: ldloc 0 (System.Single)
L_0033: ret
DONE

PATCHING RimWorld.PawnRelationWorker_Parent Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #3 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #4 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #5 System.Single
L_0000: ldc.r4 0
L_0005: stloc 5 (System.Single)
L_0007: ldc.r4 0
L_000c: stloc.0
L_000d: ldarg.2
L_000e: ldfld Verse.Gender gender
L_0013: ldc.i4.1
L_0014: bne.un Label #2
L_0019: ldarg.1
L_001a: ldarg.2
L_001b: ldarg.2
L_001c: call Verse.Pawn GetSpouseOppositeGender(Verse.Pawn)
L_0021: ldarg.3
L_0022: newobj Void .ctor(PawnGenerationRequest)
L_0027: ldloca.s 1 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0029: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_002f: ldloc.1
L_0030: ldloca.s 2 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0032: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0038: ldloc.2
L_0039: call Single ChanceOfBecomingChildOf(Verse.Pawn, Verse.Pawn, Verse.Pawn, Nullable`1, Nullable`1, Nullable`1)
L_003e: stloc.0
L_003f: br Label #3
L_0044: Label #2
L_0044: ldarg.2
L_0045: ldfld Verse.Gender gender
L_004a: ldc.i4.2
L_004b: bne.un Label #4
L_0050: ldarg.1
L_0051: ldarg.2
L_0052: call Verse.Pawn GetSpouseOppositeGender(Verse.Pawn)
L_0057: ldarg.2
L_0058: ldarg.3
L_0059: newobj Void .ctor(PawnGenerationRequest)
L_005e: ldloca.s 3 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0060: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0066: ldloc.3
L_0067: ldloca.s 4 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0069: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_006f: ldloc.s 4 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0071: call Single ChanceOfBecomingChildOf(Verse.Pawn, Verse.Pawn, Verse.Pawn, Nullable`1, Nullable`1, Nullable`1)
L_0076: stloc.0
L_0077: Label #3
L_0077: Label #4
L_0077: ldloc.0
L_0078: ldarg.0
L_0079: ldarg.1
L_007a: ldarg.2
L_007b: ldarg.3
L_007c: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0081: mul
L_0082: br Label #0
L_0087: Label #0
L_0087: stloc 5 (System.Single)
L_0089: ldloca 5 (System.Single)
L_008b: ldarg 1
L_0091: ldarg 2
L_0097: call Void GenerationChanceParentPostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_009c: ldloc 5 (System.Single)
L_009e: ret
DONE

PATCHING RimWorld.PawnRelationWorker_Sibling Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Single
L_0000: Local var #2 System.Single
L_0000: Local var #3 System.Single
L_0000: Local var #4 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #5 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #6 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #7 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #8 System.Single
L_0000: ldc.r4 0
L_0005: stloc 8 (System.Single)
L_0007: ldc.r4 1
L_000c: stloc.0
L_000d: ldc.r4 1
L_0012: stloc.1
L_0013: ldarg.2
L_0014: call Verse.Pawn GetFather(Verse.Pawn)
L_0019: brtrue Label #2
L_001e: ldarg.2
L_001f: call Verse.Pawn GetMother(Verse.Pawn)
L_0024: brfalse Label #3
L_0029: Label #2
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: call Verse.Pawn GetFather(Verse.Pawn)
L_0030: ldarg.2
L_0031: call Verse.Pawn GetMother(Verse.Pawn)
L_0036: ldarg.3
L_0037: newobj Void .ctor(PawnGenerationRequest)
L_003c: ldloca.s 4 (System.Nullable`1[Verse.PawnGenerationRequest])
L_003e: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0044: ldloc.s 4 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0046: ldloca.s 5 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0048: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_004e: ldloc.s 5 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0050: call Single ChanceOfBecomingChildOf(Verse.Pawn, Verse.Pawn, Verse.Pawn, Nullable`1, Nullable`1, Nullable`1)
L_0055: stloc.0
L_0056: br Label #4
L_005b: Label #3
L_005b: ldarga.s 3
L_005d: call Nullable`1 get_FixedMelanin()
L_0062: stloc.s 6 (System.Nullable`1[System.Single])
L_0064: ldloca.s 6 (System.Nullable`1[System.Single])
L_0066: call Boolean get_HasValue()
L_006b: brfalse Label #5
L_0070: ldarga.s 3
L_0072: call Nullable`1 get_FixedMelanin()
L_0077: stloc.s 7 (System.Nullable`1[System.Single])
L_0079: ldloca.s 7 (System.Nullable`1[System.Single])
L_007b: call Single get_Value()
L_0080: ldarg.2
L_0081: ldfld RimWorld.Pawn_StoryTracker story
L_0086: ldfld System.Single melanin
L_008b: call Single GetMelaninSimilarityFactor(Single, Single)
L_0090: stloc.1
L_0091: br Label #6
L_0096: Label #5
L_0096: ldarg.2
L_0097: ldfld RimWorld.Pawn_StoryTracker story
L_009c: ldfld System.Single melanin
L_00a1: call Single GetMelaninCommonalityFactor(Single)
L_00a6: stloc.1
L_00a7: Label #4
L_00a7: Label #6
L_00a7: ldarg.1
L_00a8: ldfld Verse.Pawn_AgeTracker ageTracker
L_00ad: callvirt Single get_AgeChronologicalYearsFloat()
L_00b2: ldarg.2
L_00b3: ldfld Verse.Pawn_AgeTracker ageTracker
L_00b8: callvirt Single get_AgeChronologicalYearsFloat()
L_00bd: sub
L_00be: call Single Abs(Single)
L_00c3: stloc.2
L_00c4: ldc.r4 1
L_00c9: stloc.3
L_00ca: ldloc.2
L_00cb: ldc.r4 40
L_00d0: ble.un Label #7
L_00d5: ldc.r4 0.2
L_00da: stloc.3
L_00db: br Label #8
L_00e0: Label #7
L_00e0: ldloc.2
L_00e1: ldc.r4 10
L_00e6: ble.un Label #9
L_00eb: ldc.r4 0.65
L_00f0: stloc.3
L_00f1: Label #8
L_00f1: Label #9
L_00f1: ldloc.0
L_00f2: ldloc.1
L_00f3: mul
L_00f4: ldloc.3
L_00f5: mul
L_00f6: ldarg.0
L_00f7: ldarg.1
L_00f8: ldarg.2
L_00f9: ldarg.3
L_00fa: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_00ff: mul
L_0100: br Label #0
L_0105: Label #0
L_0105: stloc 8 (System.Single)
L_0107: ldloca 8 (System.Single)
L_0109: ldarg 1
L_010f: ldarg 2
L_0115: call Void GenerationChanceSiblingPostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_011a: ldloc 8 (System.Single)
L_011c: ret
DONE

PATCHING RimWorld.PawnRelationWorker_Spouse Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: ldc.r4 0
L_0005: stloc 0 (System.Single)
L_0006: ldarg.1
L_0007: ldarg.2
L_0008: ldarg.3
L_0009: ldc.i4.0
L_000a: call Single LovePartnerRelationGenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest, Boolean)
L_000f: ldarg.0
L_0010: ldarg.1
L_0011: ldarg.2
L_0012: ldarg.3
L_0013: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0018: mul
L_0019: br Label #0
L_001e: Label #0
L_001e: stloc 0 (System.Single)
L_001f: ldloca 0 (System.Single)
L_0021: ldarg 1
L_0027: ldarg 2
L_002d: call Void GenerationChanceSpousePostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_0032: ldloc 0 (System.Single)
L_0033: ret
DONE

PATCHING Verse.PawnGenerator Void GeneratePawnRelations(Verse.Pawn, PawnGenerationRequest ByRef)
L_0000: Local var #0 System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null],[RimWorld.PawnRelationDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #1 System.Collections.Generic.List`1[[RimWorld.PawnRelationDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 System.Collections.Generic.IEnumerable`1[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #3 Verse.Pawn
L_0000: Local var #4 System.Collections.Generic.IEnumerator`1[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #5 System.Int32
L_0000: Local var #6 System.Single
L_0000: Local var #7 System.Collections.Generic.KeyValuePair`2[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null],[RimWorld.PawnRelationDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #8 System.Collections.Generic.KeyValuePair`2[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null],[RimWorld.PawnRelationDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #9 Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: call Boolean GeneratePawnRelationsPrefix(Verse.Pawn, PawnGenerationRequest ByRef)
L_0011: brfalse Label #1
L_0016: newobj Void .ctor()
L_001b: stloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_001d: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_001f: ldarg.0
L_0020: stfld Verse.Pawn pawn
L_0025: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_0027: ldfld Verse.Pawn pawn
L_002c: callvirt Verse.RaceProperties get_RaceProps()
L_0031: callvirt Boolean get_Humanlike()
L_0036: brtrue Label #2
L_003b: br Label #0
L_0040: Label #2
L_0040: newobj Void .ctor()
L_0045: stloc.0
L_0046: call System.Collections.Generic.List`1[RimWorld.PawnRelationDef] get_AllDefsListForReading()
L_004b: stloc.1
L_004c: call IEnumerable`1 get_AllMapsAndWorld_AliveOrDead()
L_0051: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_0053: ldftn Boolean <>m__7C3(Verse.Pawn)
L_0059: newobj Void .ctor(Object, IntPtr)
L_005e: call IEnumerable`1 Where[Pawn](IEnumerable`1, System.Func`2[Verse.Pawn,System.Boolean])
L_0063: stloc.2
L_0064: ldloc.2
L_0065: callvirt IEnumerator`1 GetEnumerator()
L_006a: stloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_006c: br Label #3
L_0071: Label #10
L_0071: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_0073: callvirt Verse.Pawn get_Current()
L_0078: stloc.3
L_0079: ldloc.3
L_007a: callvirt Boolean get_Discarded()
L_007f: brfalse Label #4
L_0084: ldc.i4.5
L_0085: newarr System.Object
L_008a: dup
L_008b: ldc.i4.0
L_008c: ldstr "Warning during generating pawn relations for "
L_0091: stelem.ref
L_0092: dup
L_0093: ldc.i4.1
L_0094: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_0096: ldfld Verse.Pawn pawn
L_009b: stelem.ref
L_009c: dup
L_009d: ldc.i4.2
L_009e: ldstr ": Pawn "
L_00a3: stelem.ref
L_00a4: dup
L_00a5: ldc.i4.3
L_00a6: ldloc.3
L_00a7: stelem.ref
L_00a8: dup
L_00a9: ldc.i4.4
L_00aa: ldstr " is discarded, yet he was yielded by PawnUtility. Discarding a pawn means that he is no longer managed by anything."
L_00af: stelem.ref
L_00b0: call System.String Concat(System.Object[])
L_00b5: call Void Warning(System.String)
L_00ba: br Label #5
L_00bf: Label #4
L_00bf: ldc.i4.0
L_00c0: stloc.s 5 (System.Int32)
L_00c2: br Label #6
L_00c7: Label #9
L_00c7: ldloc.1
L_00c8: ldloc.s 5 (System.Int32)
L_00ca: callvirt RimWorld.PawnRelationDef get_Item(Int32)
L_00cf: ldfld System.Single generationChanceFactor
L_00d4: ldc.r4 0
L_00d9: bgt.un Label #7
L_00de: br Label #8
L_00e3: Label #7
L_00e3: ldloc.0
L_00e4: ldloc.3
L_00e5: ldloc.1
L_00e6: ldloc.s 5 (System.Int32)
L_00e8: callvirt RimWorld.PawnRelationDef get_Item(Int32)
L_00ed: newobj Void .ctor(Pawn, PawnRelationDef)
L_00f2: callvirt Void Add(KeyValuePair`2)
L_00f7: Label #8
L_00f7: ldloc.s 5 (System.Int32)
L_00f9: ldc.i4.1
L_00fa: add
L_00fb: stloc.s 5 (System.Int32)
L_00fd: Label #6
L_00fd: ldloc.s 5 (System.Int32)
L_00ff: ldloc.1
L_0100: callvirt Int32 get_Count()
L_0105: blt Label #9
L_010a: Label #3
L_010a: Label #5
L_010a: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_010c: callvirt Boolean MoveNext()
L_0111: brtrue Label #10
L_0116: leave Label #11
L_011b: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_011d: brtrue Label #12
L_0122: endfinally
L_0123: Label #12
L_0123: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_0125: callvirt Void Dispose()
L_012a: endfinally
L_012b: Label #11
L_012b: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_012d: ldarg.1
L_012e: ldobj Verse.PawnGenerationRequest
L_0133: stfld Verse.PawnGenerationRequest localReq
L_0138: ldloc.0
L_0139: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_013b: ldftn Single <>m__7C4(KeyValuePair`2)
L_0141: newobj Void .ctor(Object, IntPtr)
L_0146: ldc.r4 82
L_014b: call KeyValuePair`2 RandomElementByWeightWithDefault[KeyValuePair`2](IEnumerable`1, System.Func`2[System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef],System.Single], Single)
L_0150: stloc.s 7 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_0152: ldloca.s 7 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_0154: call Verse.Pawn get_Key()
L_0159: brfalse Label #13
L_015e: ldloca.s 7 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_0160: call RimWorld.PawnRelationDef get_Value()
L_0165: callvirt RimWorld.PawnRelationWorker get_Worker()
L_016a: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_016c: ldfld Verse.Pawn pawn
L_0171: ldloca.s 7 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_0173: call Verse.Pawn get_Key()
L_0178: ldarg.1
L_0179: callvirt Void CreateRelation(Verse.Pawn, Verse.Pawn, PawnGenerationRequest ByRef)
L_017e: Label #13
L_017e: ldloc.0
L_017f: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_0181: ldftn Single <>m__7C5(KeyValuePair`2)
L_0187: newobj Void .ctor(Object, IntPtr)
L_018c: ldc.r4 82
L_0191: call KeyValuePair`2 RandomElementByWeightWithDefault[KeyValuePair`2](IEnumerable`1, System.Func`2[System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef],System.Single], Single)
L_0196: stloc.s 8 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_0198: ldloca.s 8 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_019a: call Verse.Pawn get_Key()
L_019f: brfalse Label #14
L_01a4: ldloca.s 8 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_01a6: call RimWorld.PawnRelationDef get_Value()
L_01ab: callvirt RimWorld.PawnRelationWorker get_Worker()
L_01b0: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_01b2: ldfld Verse.Pawn pawn
L_01b7: ldloca.s 8 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_01b9: call Verse.Pawn get_Key()
L_01be: ldarg.1
L_01bf: callvirt Void CreateRelation(Verse.Pawn, Verse.Pawn, PawnGenerationRequest ByRef)
L_01c4: Label #14
L_01c4: br Label #0
L_01c9: Label #0
L_01c9: Label #1
L_01c9: ret
DONE

PATCHING RimWorld.PawnRelationDef System.String GetGenderSpecificLabel(Verse.Pawn)
L_0000: Local var #0 System.String
L_0000: ldnull
L_0001: stloc 0 (System.String)
L_0002: ldarg 1
L_0008: ldloca 0 (System.String)
L_000a: ldarg.0
L_000b: call Boolean GetGenderSpecificLabelPrefix(Verse.Pawn, System.String ByRef, RimWorld.PawnRelationDef)
L_0010: brfalse Label #1
L_0015: ldarg.1
L_0016: ldfld Verse.Gender gender
L_001b: ldc.i4.2
L_001c: bne.un Label #2
L_0021: ldarg.0
L_0022: ldfld System.String labelFemale
L_0027: call Boolean NullOrEmpty(System.String)
L_002c: brtrue Label #3
L_0031: ldarg.0
L_0032: ldfld System.String labelFemale
L_0037: br Label #0
L_003c: Label #2
L_003c: Label #3
L_003c: ldarg.0
L_003d: ldfld System.String label
L_0042: br Label #0
L_0047: Label #0
L_0047: stloc 0 (System.String)
L_0048: Label #1
L_0048: ldloc 0 (System.String)
L_0049: ret
DONE

PATCHING RimWorld.PawnBioAndNameGenerator Boolean TryGiveSolidBioTo(Verse.Pawn, System.String)
L_0000: Local var #0 RimWorld.PawnBio
L_0000: Local var #1 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg 0
L_000c: ldloca 1 (System.Boolean)
L_000e: call Boolean TryGiveSolidBioToPrefix(Verse.Pawn, Boolean ByRef)
L_0013: brfalse Label #1
L_0018: ldarg.0
L_0019: callvirt RimWorld.Faction get_Faction()
L_001e: ldfld RimWorld.FactionDef def
L_0023: ldfld System.String backstoryCategory
L_0028: ldarg.0
L_0029: ldfld Verse.PawnKindDef kindDef
L_002e: ldarg.0
L_002f: ldfld Verse.Gender gender
L_0034: ldarg.1
L_0035: call RimWorld.PawnBio TryGetRandomUnusedSolidBioFor(System.String, Verse.PawnKindDef, Gender, System.String)
L_003a: stloc.0
L_003b: ldloc.0
L_003c: brtrue Label #2
L_0041: ldc.i4.0
L_0042: br Label #0
L_0047: Label #2
L_0047: ldloc.0
L_0048: ldfld Verse.NameTriple name
L_004d: callvirt System.String get_First()
L_0052: ldstr "Tynan"
L_0057: call Boolean op_Equality(System.String, System.String)
L_005c: brfalse Label #3
L_0061: ldloc.0
L_0062: ldfld Verse.NameTriple name
L_0067: callvirt System.String get_Last()
L_006c: ldstr "Sylvester"
L_0071: call Boolean op_Equality(System.String, System.String)
L_0076: brfalse Label #4
L_007b: call Single get_Value()
L_0080: ldc.r4 0.5
L_0085: bge.un Label #5
L_008a: ldarg.0
L_008b: callvirt RimWorld.Faction get_Faction()
L_0090: ldfld RimWorld.FactionDef def
L_0095: ldfld System.String backstoryCategory
L_009a: ldarg.0
L_009b: ldfld Verse.PawnKindDef kindDef
L_00a0: ldarg.0
L_00a1: ldfld Verse.Gender gender
L_00a6: ldarg.1
L_00a7: call RimWorld.PawnBio TryGetRandomUnusedSolidBioFor(System.String, Verse.PawnKindDef, Gender, System.String)
L_00ac: stloc.0
L_00ad: Label #3
L_00ad: Label #4
L_00ad: Label #5
L_00ad: ldloc.0
L_00ae: brtrue Label #6
L_00b3: ldc.i4.0
L_00b4: br Label #0
L_00b9: Label #6
L_00b9: ldarg.0
L_00ba: ldloc.0
L_00bb: ldfld Verse.NameTriple name
L_00c0: callvirt Void set_Name(Verse.Name)
L_00c5: ldarg.0
L_00c6: ldfld RimWorld.Pawn_StoryTracker story
L_00cb: ldloc.0
L_00cc: ldfld RimWorld.Backstory childhood
L_00d1: stfld RimWorld.Backstory childhood
L_00d6: ldarg.0
L_00d7: ldfld Verse.Pawn_AgeTracker ageTracker
L_00dc: callvirt Single get_AgeBiologicalYearsFloat()
L_00e1: ldc.r4 20
L_00e6: blt.un Label #7
L_00eb: ldarg.0
L_00ec: ldfld RimWorld.Pawn_StoryTracker story
L_00f1: ldloc.0
L_00f2: ldfld RimWorld.Backstory adulthood
L_00f7: stfld RimWorld.Backstory adulthood
L_00fc: Label #7
L_00fc: ldc.i4.1
L_00fd: br Label #0
L_0102: Label #0
L_0102: stloc 1 (System.Boolean)
L_0103: Label #1
L_0103: ldloc 1 (System.Boolean)
L_0104: ret
DONE

PATCHING RimWorld.PawnBioAndNameGenerator Void SetBackstoryInSlot(Verse.Pawn, BackstorySlot, RimWorld.Backstory ByRef, RimWorld.FactionDef)
L_0000: Local var #0 System.Boolean
L_0000: Local var #1 RimWorld.PawnBioAndNameGenerator+<SetBackstoryInSlot>c__AnonStorey2D4
L_0000: Local var #2 System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[RimWorld.Backstory, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: call Boolean SetBackstoryInSlotPrefix(Verse.Pawn, BackstorySlot, RimWorld.Backstory ByRef)
L_0017: brfalse Label #1
L_001c: newobj Void .ctor()
L_0021: stloc.1
L_0022: ldloc.1
L_0023: ldarg.3
L_0024: stfld RimWorld.FactionDef factionType
L_0029: ldloc.1
L_002a: ldarg.1
L_002b: stfld RimWorld.BackstorySlot slot
L_0030: ldloc.1
L_0031: ldarg.0
L_0032: stfld Verse.Pawn pawn
L_0037: ldsfld System.Collections.Generic.Dictionary`2[System.String,RimWorld.Backstory] allBackstories
L_003c: ldloc.1
L_003d: ldftn Boolean <>m__267(KeyValuePair`2)
L_0043: newobj Void .ctor(Object, IntPtr)
L_0048: call IEnumerable`1 Where[KeyValuePair`2](IEnumerable`1, System.Func`2[System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory],System.Boolean])
L_004d: ldsfld System.Func`2[System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory],RimWorld.Backstory] <>f__am$cache2
L_0052: brtrue Label #2
L_0057: ldnull
L_0058: ldftn RimWorld.Backstory <SetBackstoryInSlot>m__268(KeyValuePair`2)
L_005e: newobj Void .ctor(Object, IntPtr)
L_0063: stsfld System.Func`2[System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory],RimWorld.Backstory] <>f__am$cache2
L_0068: Label #2
L_0068: ldsfld System.Func`2[System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory],RimWorld.Backstory] <>f__am$cache2
L_006d: call IEnumerable`1 Select[KeyValuePair`2,Backstory](IEnumerable`1, System.Func`2[System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory],RimWorld.Backstory])
L_0072: ldarg.2
L_0073: call Boolean TryRandomElement[Backstory](IEnumerable`1, RimWorld.Backstory ByRef)
L_0078: stloc.0
L_0079: ldloc.0
L_007a: brtrue Label #3
L_007f: ldc.i4.7
L_0080: newarr System.Object
L_0085: dup
L_0086: ldc.i4.0
L_0087: ldstr "No shuffled "
L_008c: stelem.ref
L_008d: dup
L_008e: ldc.i4.1
L_008f: ldloc.1
L_0090: ldfld RimWorld.BackstorySlot slot
L_0095: box RimWorld.BackstorySlot
L_009a: stelem.ref
L_009b: dup
L_009c: ldc.i4.2
L_009d: ldstr " found for "
L_00a2: stelem.ref
L_00a3: dup
L_00a4: ldc.i4.3
L_00a5: ldloc.1
L_00a6: ldfld Verse.Pawn pawn
L_00ab: stelem.ref
L_00ac: dup
L_00ad: ldc.i4.4
L_00ae: ldstr " of "
L_00b3: stelem.ref
L_00b4: dup
L_00b5: ldc.i4.5
L_00b6: ldloc.1
L_00b7: ldfld RimWorld.FactionDef factionType
L_00bc: stelem.ref
L_00bd: dup
L_00be: ldc.i4.6
L_00bf: ldstr ". Defaulting."
L_00c4: stelem.ref
L_00c5: call System.String Concat(System.Object[])
L_00ca: call Void Error(System.String)
L_00cf: ldarg.2
L_00d0: ldsfld System.Collections.Generic.Dictionary`2[System.String,RimWorld.Backstory] allBackstories
L_00d5: ldloc.1
L_00d6: ldftn Boolean <>m__269(KeyValuePair`2)
L_00dc: newobj Void .ctor(Object, IntPtr)
L_00e1: call IEnumerable`1 Where[KeyValuePair`2](IEnumerable`1, System.Func`2[System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory],System.Boolean])
L_00e6: call KeyValuePair`2 RandomElement[KeyValuePair`2](IEnumerable`1)
L_00eb: stloc.2
L_00ec: ldloca.s 2 (System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory])
L_00ee: call RimWorld.Backstory get_Value()
L_00f3: stind.ref
L_00f4: Label #3
L_00f4: br Label #0
L_00f9: Label #0
L_00f9: Label #1
L_00f9: ret
DONE

PATCHING RimWorld.WorkGiver_Researcher Boolean ShouldSkip(Verse.Pawn)
L_0000: Local var #0 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: call RimWorld.ResearchManager get_ResearchManager()
L_000b: ldfld Verse.ResearchProjectDef currentProj
L_0010: brtrue Label #2
L_0015: ldc.i4.1
L_0016: br Label #0
L_001b: Label #2
L_001b: ldc.i4.0
L_001c: br Label #0
L_0021: Label #0
L_0021: stloc 0 (System.Boolean)
L_0022: ldarg 1
L_0028: ldloca 0 (System.Boolean)
L_002a: call Void ShouldSkipResearchPostfix(Verse.Pawn, Boolean ByRef)
L_002f: ldloc 0 (System.Boolean)
L_0030: ret
DONE

PATCHING RimWorld.MainTabWindow_Research Void PreOpen()
L_0000: ldarg.0
L_0001: call Void PreOpen()
L_0006: ldarg.0
L_0007: call RimWorld.ResearchManager get_ResearchManager()
L_000c: ldfld Verse.ResearchProjectDef currentProj
L_0011: stfld Verse.ResearchProjectDef selectedProject
L_0016: ldarg.0
L_0017: call IEnumerable`1 get_AllDefs()
L_001c: stfld System.Collections.Generic.IEnumerable`1[Verse.ResearchProjectDef] relevantProjects
L_0021: ldarg.0
L_0022: call IEnumerable`1 get_AllDefs()
L_0027: ldsfld System.Func`2[Verse.ResearchProjectDef,System.Single] <>f__am$cacheE
L_002c: brtrue Label #2
L_0031: ldnull
L_0032: ldftn Single <PreOpen>m__58D(Verse.ResearchProjectDef)
L_0038: newobj Void .ctor(Object, IntPtr)
L_003d: stsfld System.Func`2[Verse.ResearchProjectDef,System.Single] <>f__am$cacheE
L_0042: Label #2
L_0042: ldsfld System.Func`2[Verse.ResearchProjectDef,System.Single] <>f__am$cacheE
L_0047: call Single Max[ResearchProjectDef](IEnumerable`1, System.Func`2[Verse.ResearchProjectDef,System.Single])
L_004c: ldc.r4 2
L_0051: add
L_0052: ldc.r4 190
L_0057: mul
L_0058: stfld System.Single viewWidth
L_005d: br Label #0
L_0062: Label #0
L_0062: ldarg.0
L_0063: call Void ResearchPreOpenPostfix(RimWorld.MainTabWindow_Research)
L_0068: ret
DONE

PATCHING RimWorld.GenConstruct Boolean CanConstruct(Verse.Thing, Verse.Pawn)
L_0000: Local var #0 RimWorld.Blueprint
L_0000: Local var #1 Verse.Thing
L_0000: Local var #2 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.0
L_0007: isinst RimWorld.Blueprint
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label #2
L_0013: ldloc.0
L_0014: call Verse.Thing MiniToInstallOrBuildingToReinstall(RimWorld.Blueprint)
L_0019: stloc.1
L_001a: ldloc.0
L_001b: ldarg.1
L_001c: ldloc.1
L_001d: ldc.i4.0
L_001e: callvirt Verse.Thing FirstBlockingThing(Verse.Pawn, Verse.Thing, Boolean)
L_0023: brfalse Label #3
L_0028: ldc.i4.0
L_0029: br Label #0
L_002e: Label #2
L_002e: Label #3
L_002e: ldarg.1
L_002f: ldarg.0
L_0030: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0035: ldc.i4.2
L_0036: ldarg.1
L_0037: call Danger NormalMaxDanger(Verse.Pawn)
L_003c: ldc.i4.1
L_003d: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Int32)
L_0042: brtrue Label #4
L_0047: ldc.i4.0
L_0048: br Label #0
L_004d: Label #4
L_004d: ldarg.0
L_004e: call Boolean IsBurning(Verse.Thing)
L_0053: brfalse Label #5
L_0058: ldc.i4.0
L_0059: br Label #0
L_005e: Label #5
L_005e: ldc.i4.1
L_005f: br Label #0
L_0064: Label #0
L_0064: stloc 2 (System.Boolean)
L_0065: ldarg 0
L_006b: ldarg 1
L_0071: ldloca 2 (System.Boolean)
L_0073: call Void CanConstructPostfix(Verse.Thing, Verse.Pawn, Boolean ByRef)
L_0078: ldloc 2 (System.Boolean)
L_0079: ret
DONE

PATCHING RimWorld.GameRules Boolean DesignatorAllowed(Verse.Designator)
L_0000: Local var #0 RimWorld.Designator_Place
L_0000: Local var #1 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.1
L_0007: isinst RimWorld.Designator_Place
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label #2
L_0013: ldarg.0
L_0014: ldfld System.Collections.Generic.List`1[Verse.BuildableDef] disallowedBuildings
L_0019: ldloc.0
L_001a: callvirt Verse.BuildableDef get_PlacingDef()
L_001f: callvirt Boolean Contains(Verse.BuildableDef)
L_0024: ldc.i4.0
L_0025: ceq
L_0027: br Label #0
L_002c: Label #2
L_002c: ldarg.0
L_002d: ldfld System.Collections.Generic.List`1[System.Type] disallowedDesignatorTypes
L_0032: ldarg.1
L_0033: callvirt System.Type GetType()
L_0038: callvirt Boolean Contains(System.Type)
L_003d: ldc.i4.0
L_003e: ceq
L_0040: br Label #0
L_0045: Label #0
L_0045: stloc 1 (System.Boolean)
L_0046: ldarg 1
L_004c: ldloca 1 (System.Boolean)
L_004e: call Void DesignatorAllowedPostfix(Verse.Designator, Boolean ByRef)
L_0053: ldloc 1 (System.Boolean)
L_0054: ret
DONE

PATCHING RimWorld.Bill Boolean PawnAllowedToStartAnew(Verse.Pawn)
L_0000: Local var #0 System.Int32
L_0000: Local var #1 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: ldfld Verse.RecipeDef recipe
L_000c: ldfld RimWorld.SkillDef workSkill
L_0011: brfalse Label #2
L_0016: ldarg.1
L_0017: ldfld RimWorld.Pawn_SkillTracker skills
L_001c: ldarg.0
L_001d: ldfld Verse.RecipeDef recipe
L_0022: ldfld RimWorld.SkillDef workSkill
L_0027: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_002c: callvirt Int32 get_Level()
L_0031: stloc.0
L_0032: ldloc.0
L_0033: ldarg.0
L_0034: ldflda Verse.IntRange allowedSkillRange
L_0039: ldfld System.Int32 min
L_003e: blt Label #3
L_0043: ldloc.0
L_0044: ldarg.0
L_0045: ldflda Verse.IntRange allowedSkillRange
L_004a: ldfld System.Int32 max
L_004f: ble Label #4
L_0054: Label #3
L_0054: ldc.i4.0
L_0055: br Label #0
L_005a: Label #2
L_005a: Label #4
L_005a: ldc.i4.1
L_005b: br Label #0
L_0060: Label #0
L_0060: stloc 1 (System.Boolean)
L_0061: ldarg 1
L_0067: ldarg.0
L_0068: ldloca 1 (System.Boolean)
L_006a: call Void PawnAllowedToStartAnewPostfix(Verse.Pawn, RimWorld.Bill, Boolean ByRef)
L_006f: ldloc 1 (System.Boolean)
L_0070: ret
DONE

PATCHING RimWorld.WorkGiver_GrowerHarvest Boolean HasJobOnCell(Verse.Pawn, IntVec3)
L_0000: Local var #0 RimWorld.Plant
L_0000: Local var #1 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.2
L_0007: ldarg.1
L_0008: callvirt Verse.Map get_Map()
L_000d: call RimWorld.Plant GetPlant(IntVec3, Verse.Map)
L_0012: stloc.0
L_0013: ldloc.0
L_0014: brtrue Label #2
L_0019: ldc.i4.0
L_001a: br Label #0
L_001f: Label #2
L_001f: ldloc.0
L_0020: ldarg.1
L_0021: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_0026: brfalse Label #3
L_002b: ldc.i4.0
L_002c: br Label #0
L_0031: Label #3
L_0031: ldloc.0
L_0032: ldfld Verse.ThingDef def
L_0037: ldfld RimWorld.PlantProperties plant
L_003c: callvirt Boolean get_Harvestable()
L_0041: brfalse Label #4
L_0046: ldloc.0
L_0047: callvirt PlantLifeStage get_LifeStage()
L_004c: ldc.i4.2
L_004d: beq Label #5
L_0052: Label #4
L_0052: ldc.i4.0
L_0053: br Label #0
L_0058: Label #5
L_0058: ldarg.1
L_0059: ldloc.0
L_005a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_005f: ldc.i4.1
L_0060: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_0065: brtrue Label #6
L_006a: ldc.i4.0
L_006b: br Label #0
L_0070: Label #6
L_0070: ldc.i4.1
L_0071: br Label #0
L_0076: Label #0
L_0076: stloc 1 (System.Boolean)
L_0077: ldarg 1
L_007d: ldarg 2
L_0083: ldloca 1 (System.Boolean)
L_0085: call Void HasJobOnCellHarvestPostfix(Verse.Pawn, IntVec3, Boolean ByRef)
L_008a: ldloc 1 (System.Boolean)
L_008b: ret
DONE

PATCHING RimWorld.WorkGiver_GrowerSow Boolean ExtraRequirements(IPlantToGrowSettable, Verse.Pawn)
L_0000: Local var #0 Verse.IntVec3
L_0000: Local var #1 RimWorld.Zone_Growing
L_0000: Local var #2 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean CanAcceptSowNow()
L_000c: brtrue Label #2
L_0011: ldc.i4.0
L_0012: br Label #0
L_0017: Label #2
L_0017: ldarg.1
L_0018: isinst RimWorld.Zone_Growing
L_001d: stloc.1
L_001e: ldloc.1
L_001f: brfalse Label #3
L_0024: ldloc.1
L_0025: ldfld System.Boolean allowSow
L_002a: brtrue Label #4
L_002f: ldc.i4.0
L_0030: br Label #0
L_0035: Label #4
L_0035: ldloc.1
L_0036: callvirt System.Collections.Generic.List`1[Verse.IntVec3] get_Cells()
L_003b: ldc.i4.0
L_003c: callvirt IntVec3 get_Item(Int32)
L_0041: stloc.0
L_0042: br Label #5
L_0047: Label #3
L_0047: ldarg.1
L_0048: castclass Verse.Thing
L_004d: callvirt IntVec3 get_Position()
L_0052: stloc.0
L_0053: Label #5
L_0053: ldloc.0
L_0054: ldarg.2
L_0055: callvirt Verse.Map get_Map()
L_005a: call Verse.ThingDef CalculateWantedPlantDef(IntVec3, Verse.Map)
L_005f: stsfld Verse.ThingDef wantedPlantDef
L_0064: ldsfld Verse.ThingDef wantedPlantDef
L_0069: brtrue Label #6
L_006e: ldc.i4.0
L_006f: br Label #0
L_0074: Label #6
L_0074: ldc.i4.1
L_0075: br Label #0
L_007a: Label #0
L_007a: stloc 2 (System.Boolean)
L_007b: ldarg 2
L_0081: ldarg 1
L_0087: ldarg.0
L_0088: ldloca 2 (System.Boolean)
L_008a: call Void ExtraRequirementsGrowerSowPostfix(Verse.Pawn, IPlantToGrowSettable, RimWorld.WorkGiver_GrowerSow, Boolean ByRef)
L_008f: ldloc 2 (System.Boolean)
L_0090: ret
DONE

PATCHING RimWorld.FloatMenuMakerMap Void AddHumanlikeOrders(Vector3, Verse.Pawn, System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var #0 Verse.IntVec3
L_0000: Local var #1 Verse.Thing
L_0000: Local var #2 System.Collections.Generic.List`1+Enumerator[[Verse.Thing, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #3 Verse.FloatMenuOption
L_0000: Local var #4 System.String
L_0000: Local var #5 Verse.MenuOptionPriority
L_0000: Local var #6 Verse.LocalTargetInfo
L_0000: Local var #7 System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #8 Verse.LocalTargetInfo
L_0000: Local var #9 System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #10 Verse.LocalTargetInfo
L_0000: Local var #11 System.String
L_0000: Local var #12 System.Action
L_0000: Local var #13 Verse.LocalTargetInfo
L_0000: Local var #14 System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #15 Verse.FloatMenuOption
L_0000: Local var #16 System.Collections.Generic.List`1[[Verse.Thing, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #17 System.Int32
L_0000: Local var #18 Verse.FloatMenuOption
L_0000: Local var #19 System.String
L_0000: Local var #20 System.String
L_0000: Local var #21 Verse.FloatMenuOption
L_0000: Local var #22 Verse.Pawn
L_0000: Local var #23 Verse.Pawn
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.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #27 Verse.Pawn
L_0000: Local var #28 System.Action
L_0000: Local var #29 Verse.LocalTargetInfo
L_0000: Local var #30 System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #31 Verse.LocalTargetInfo
L_0000: Local var #32 System.Action
L_0000: Local var #33 System.String
L_0000: Local var #34 Verse.Thing
L_0000: Local var #35 System.Collections.Generic.IEnumerator`1[[Verse.Thing, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #36 Verse.FloatMenuOption
L_0000: Local var #37 System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #38 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE
L_0000: Local var #39 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD
L_0000: Local var #40 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF
L_0000: Local var #41 Verse.Pawn
L_0000: Local var #42 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0
L_0000: Local var #43 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B1
L_0000: Local var #44 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2
L_0000: Local var #45 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3
L_0000: Local var #46 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4
L_0000: Local var #47 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5
L_0000: Local var #48 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6
L_0000: Local var #49 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7
L_0000: Local var #50 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8
L_0000: Local var #51 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B9
L_0000: Local var #52 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA
L_0000: Local var #53 Verse.Thing
L_0000: newobj Void .ctor()
L_0005: stloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0007: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0009: ldarg.1
L_000a: stfld Verse.Pawn pawn
L_000f: ldarg.0
L_0010: call IntVec3 FromVector3(Vector3)
L_0015: stloc.0
L_0016: ldloc.0
L_0017: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0019: ldfld Verse.Pawn pawn
L_001e: callvirt Verse.Map get_Map()
L_0023: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3, Verse.Map)
L_0028: callvirt Enumerator GetEnumerator()
L_002d: stloc.2
L_002e: br Label #2
L_0033: Label #17
L_0033: ldloca.s 2 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0035: call Verse.Thing get_Current()
L_003a: stloc.1
L_003b: newobj Void .ctor()
L_0040: stloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0042: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0044: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0046: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_004b: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_004d: ldloc.1
L_004e: stfld Verse.Thing t
L_0053: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0055: ldfld Verse.Thing t
L_005a: ldfld Verse.ThingDef def
L_005f: ldfld RimWorld.IngestibleProperties ingestible
L_0064: brfalse Label #3
L_0069: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.RaceProperties get_RaceProps()
L_0075: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0077: ldfld Verse.Thing t
L_007c: callvirt Boolean CanEverEat(Verse.Thing)
L_0081: brfalse Label #4
L_0086: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0088: ldfld Verse.Thing t
L_008d: callvirt Boolean get_IngestibleNow()
L_0092: brfalse Label #5
L_0097: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0099: ldfld Verse.Thing t
L_009e: ldfld Verse.ThingDef def
L_00a3: ldfld RimWorld.IngestibleProperties ingestible
L_00a8: ldfld System.String ingestCommandString
L_00ad: call Boolean NullOrEmpty(System.String)
L_00b2: brfalse Label #6
L_00b7: ldstr "ConsumeThing"
L_00bc: ldc.i4.1
L_00bd: newarr System.Object
L_00c2: dup
L_00c3: ldc.i4.0
L_00c4: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_00c6: ldfld Verse.Thing t
L_00cb: callvirt System.String get_LabelShort()
L_00d0: stelem.ref
L_00d1: call System.String Translate(System.String, System.Object[])
L_00d6: stloc.s 4 (System.String)
L_00d8: br Label #7
L_00dd: Label #6
L_00dd: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_00df: ldfld Verse.Thing t
L_00e4: ldfld Verse.ThingDef def
L_00e9: ldfld RimWorld.IngestibleProperties ingestible
L_00ee: ldfld System.String ingestCommandString
L_00f3: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_00f5: ldfld Verse.Thing t
L_00fa: callvirt System.String get_LabelShort()
L_00ff: call System.String Format(System.String, System.Object)
L_0104: stloc.s 4 (System.String)
L_0106: Label #7
L_0106: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0108: ldfld Verse.Thing t
L_010d: ldfld Verse.ThingDef def
L_0112: callvirt Boolean get_IsPleasureDrug()
L_0117: brfalse Label #8
L_011c: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_011e: ldfld Verse.Pawn pawn
L_0123: call Boolean IsTeetotaler(Verse.Pawn)
L_0128: brfalse Label #9
L_012d: ldloc.s 4 (System.String)
L_012f: ldstr " ("
L_0134: ldsfld RimWorld.TraitDef DrugDesire
L_0139: ldc.i4.m1
L_013a: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_013f: ldfld System.String label
L_0144: ldstr ")"
L_0149: call System.String Concat(System.String, System.String, System.String, System.String)
L_014e: ldnull
L_014f: ldc.i4.4
L_0150: ldnull
L_0151: ldnull
L_0152: ldc.r4 0
L_0157: ldnull
L_0158: ldnull
L_0159: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_015e: stloc.3
L_015f: br Label #10
L_0164: Label #8
L_0164: Label #9
L_0164: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0166: ldfld Verse.Pawn pawn
L_016b: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_016d: ldfld Verse.Thing t
L_0172: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0177: ldc.i4.1
L_0178: ldc.i4.3
L_0179: ldc.i4.0
L_017a: ldc.i4.1
L_017b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_0180: brtrue Label #11
L_0185: ldloc.s 4 (System.String)
L_0187: ldstr " ("
L_018c: ldstr "NoPath"
L_0191: call System.String Translate(System.String)
L_0196: ldstr ")"
L_019b: call System.String Concat(System.String, System.String, System.String, System.String)
L_01a0: ldnull
L_01a1: ldc.i4.4
L_01a2: ldnull
L_01a3: ldnull
L_01a4: ldc.r4 0
L_01a9: ldnull
L_01aa: ldnull
L_01ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_01b0: stloc.3
L_01b1: br Label #12
L_01b6: Label #11
L_01b6: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_01b8: ldfld Verse.Pawn pawn
L_01bd: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_01bf: ldfld Verse.Thing t
L_01c4: call LocalTargetInfo op_Implicit(Verse.Thing)
L_01c9: ldc.i4.1
L_01ca: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_01cf: brtrue Label #13
L_01d4: ldloc.s 4 (System.String)
L_01d6: ldstr " ("
L_01db: ldstr "ReservedBy"
L_01e0: ldc.i4.1
L_01e1: newarr System.Object
L_01e6: dup
L_01e7: ldc.i4.0
L_01e8: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_01ea: ldfld Verse.Pawn pawn
L_01ef: callvirt Verse.Map get_Map()
L_01f4: ldfld Verse.AI.ReservationManager reservationManager
L_01f9: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_01fb: ldfld Verse.Thing t
L_0200: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0205: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0207: ldfld Verse.Pawn pawn
L_020c: callvirt RimWorld.Faction get_Faction()
L_0211: ldc.i4.1
L_0212: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_0217: callvirt System.String get_LabelShort()
L_021c: stelem.ref
L_021d: call System.String Translate(System.String, System.Object[])
L_0222: ldstr ")"
L_0227: call System.String Concat(System.String, System.String, System.String, System.String)
L_022c: ldnull
L_022d: ldc.i4.4
L_022e: ldnull
L_022f: ldnull
L_0230: ldc.r4 0
L_0235: ldnull
L_0236: ldnull
L_0237: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_023c: stloc.3
L_023d: br Label #14
L_0242: Label #13
L_0242: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0244: ldfld Verse.Thing t
L_0249: isinst Verse.Corpse
L_024e: brfalse Label #15
L_0253: ldc.i4.2
L_0254: br Label #16
L_0259: Label #15
L_0259: ldc.i4.4
L_025a: Label #16
L_025a: stloc.s 5 (Verse.MenuOptionPriority)
L_025c: ldloc.s 4 (System.String)
L_025e: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0260: ldftn Void <>m__547()
L_0266: newobj Void .ctor(Object, IntPtr)
L_026b: ldloc.s 5 (Verse.MenuOptionPriority)
L_026d: ldnull
L_026e: ldnull
L_026f: ldc.r4 0
L_0274: ldnull
L_0275: ldnull
L_0276: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_027b: stloc.3
L_027c: Label #10
L_027c: Label #12
L_027c: Label #14
L_027c: ldarg.2
L_027d: ldloc.3
L_027e: callvirt Void Add(Verse.FloatMenuOption)
L_0283: Label #2
L_0283: Label #3
L_0283: Label #4
L_0283: Label #5
L_0283: ldloca.s 2 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0285: call Boolean MoveNext()
L_028a: brtrue Label #17
L_028f: leave Label #18
L_0294: ldloc.2
L_0295: box System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_029a: callvirt Void Dispose()
L_029f: endfinally
L_02a0: Label #18
L_02a0: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_02a2: ldfld Verse.Pawn pawn
L_02a7: ldfld Verse.Pawn_HealthTracker health
L_02ac: ldfld Verse.PawnCapacitiesHandler capacities
L_02b1: ldsfld Verse.PawnCapacityDef Manipulation
L_02b6: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_02bb: brfalse Label #19
L_02c0: ldarg.0
L_02c1: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_02c3: ldfld Verse.Pawn pawn
L_02c8: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_02cd: ldc.i4.1
L_02ce: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters, Boolean)
L_02d3: callvirt IEnumerator`1 GetEnumerator()
L_02d8: stloc.s 7 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_02da: br Label #20
L_02df: Label #36
L_02df: ldloc.s 7 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_02e1: callvirt LocalTargetInfo get_Current()
L_02e6: stloc.s 6 (Verse.LocalTargetInfo)
L_02e8: newobj Void .ctor()
L_02ed: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_02ef: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_02f1: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_02f3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_02f8: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_02fa: ldloca.s 6 (Verse.LocalTargetInfo)
L_02fc: call Verse.Thing get_Thing()
L_0301: castclass Verse.Pawn
L_0306: stfld Verse.Pawn victim
L_030b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_030d: ldfld Verse.Pawn victim
L_0312: call Boolean InBed(Verse.Pawn)
L_0317: brtrue Label #21
L_031c: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_031e: ldfld Verse.Pawn pawn
L_0323: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0325: ldfld Verse.Pawn victim
L_032a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_032f: ldc.i4.1
L_0330: ldc.i4.3
L_0331: ldc.i4.1
L_0332: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Int32)
L_0337: brtrue Label #22
L_033c: Label #21
L_033c: br Label #23
L_0341: Label #22
L_0341: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0343: ldfld Verse.Pawn victim
L_0348: callvirt RimWorld.Faction get_Faction()
L_034d: call RimWorld.Faction get_OfPlayer()
L_0352: bne.un Label #24
L_0357: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0359: ldfld Verse.Pawn victim
L_035e: callvirt Verse.MentalStateDef get_MentalStateDef()
L_0363: brfalse Label #25
L_0368: Label #24
L_0368: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_036a: ldfld Verse.Pawn victim
L_036f: callvirt RimWorld.Faction get_Faction()
L_0374: call RimWorld.Faction get_OfPlayer()
L_0379: beq Label #26
L_037e: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0380: ldfld Verse.Pawn victim
L_0385: callvirt Verse.MentalStateDef get_MentalStateDef()
L_038a: brtrue Label #27
L_038f: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0391: ldfld Verse.Pawn victim
L_0396: callvirt Boolean get_IsPrisonerOfColony()
L_039b: brtrue Label #28
L_03a0: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_03a2: ldfld Verse.Pawn victim
L_03a7: callvirt RimWorld.Faction get_Faction()
L_03ac: brfalse Label #29
L_03b1: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_03b3: ldfld Verse.Pawn victim
L_03b8: callvirt RimWorld.Faction get_Faction()
L_03bd: call RimWorld.Faction get_OfPlayer()
L_03c2: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_03c7: brtrue Label #30
L_03cc: Label #25
L_03cc: Label #29
L_03cc: ldarg.2
L_03cd: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_03cf: ldfld Verse.Pawn victim
L_03d4: stloc.s 41 (Verse.Pawn)
L_03d6: ldstr "Rescue"
L_03db: ldc.i4.1
L_03dc: newarr System.Object
L_03e1: dup
L_03e2: ldc.i4.0
L_03e3: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_03e5: ldfld Verse.Pawn victim
L_03ea: callvirt System.String get_LabelCap()
L_03ef: stelem.ref
L_03f0: call System.String Translate(System.String, System.Object[])
L_03f5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_03f7: ldftn Void <>m__548()
L_03fd: newobj Void .ctor(Object, IntPtr)
L_0402: ldc.i4.8
L_0403: ldnull
L_0404: ldloc.s 41 (Verse.Pawn)
L_0406: ldc.r4 0
L_040b: ldnull
L_040c: ldnull
L_040d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0412: callvirt Void Add(Verse.FloatMenuOption)
L_0417: Label #26
L_0417: Label #27
L_0417: Label #28
L_0417: Label #30
L_0417: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0419: ldfld Verse.Pawn victim
L_041e: callvirt Verse.RaceProperties get_RaceProps()
L_0423: callvirt Boolean get_Humanlike()
L_0428: brfalse Label #31
L_042d: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_042f: ldfld Verse.Pawn victim
L_0434: callvirt Verse.MentalStateDef get_MentalStateDef()
L_0439: brtrue Label #32
L_043e: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0440: ldfld Verse.Pawn victim
L_0445: callvirt RimWorld.Faction get_Faction()
L_044a: call RimWorld.Faction get_OfPlayer()
L_044f: bne.un Label #33
L_0454: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0456: ldfld Verse.Pawn victim
L_045b: callvirt Boolean get_Downed()
L_0460: brfalse Label #34
L_0465: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0467: ldfld Verse.Pawn victim
L_046c: ldfld RimWorld.Pawn_GuiltTracker guilt
L_0471: callvirt Boolean get_IsGuilty()
L_0476: brfalse Label #35
L_047b: Label #32
L_047b: Label #33
L_047b: ldarg.2
L_047c: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_047e: ldfld Verse.Pawn victim
L_0483: stloc.s 41 (Verse.Pawn)
L_0485: ldstr "Capture"
L_048a: ldc.i4.1
L_048b: newarr System.Object
L_0490: dup
L_0491: ldc.i4.0
L_0492: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0494: ldfld Verse.Pawn victim
L_0499: callvirt System.String get_LabelCap()
L_049e: stelem.ref
L_049f: call System.String Translate(System.String, System.Object[])
L_04a4: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_04a6: ldftn Void <>m__549()
L_04ac: newobj Void .ctor(Object, IntPtr)
L_04b1: ldc.i4.8
L_04b2: ldnull
L_04b3: ldloc.s 41 (Verse.Pawn)
L_04b5: ldc.r4 0
L_04ba: ldnull
L_04bb: ldnull
L_04bc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_04c1: callvirt Void Add(Verse.FloatMenuOption)
L_04c6: Label #20
L_04c6: Label #23
L_04c6: Label #31
L_04c6: Label #34
L_04c6: Label #35
L_04c6: ldloc.s 7 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_04c8: callvirt Boolean MoveNext()
L_04cd: brtrue Label #36
L_04d2: leave Label #37
L_04d7: ldloc.s 7 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_04d9: brtrue Label #38
L_04de: endfinally
L_04df: Label #38
L_04df: ldloc.s 7 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_04e1: callvirt Void Dispose()
L_04e6: endfinally
L_04e7: Label #37
L_04e7: ldarg.0
L_04e8: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_04ea: ldfld Verse.Pawn pawn
L_04ef: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_04f4: ldc.i4.1
L_04f5: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters, Boolean)
L_04fa: callvirt IEnumerator`1 GetEnumerator()
L_04ff: stloc.s 9 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0501: br Label #39
L_0506: Label #43
L_0506: ldloc.s 9 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0508: callvirt LocalTargetInfo get_Current()
L_050d: stloc.s 8 (Verse.LocalTargetInfo)
L_050f: newobj Void .ctor()
L_0514: stloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_0516: ldloc.s 8 (Verse.LocalTargetInfo)
L_0518: stloc.s 10 (Verse.LocalTargetInfo)
L_051a: ldloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_051c: ldloca.s 10 (Verse.LocalTargetInfo)
L_051e: call Verse.Thing get_Thing()
L_0523: castclass Verse.Pawn
L_0528: stfld Verse.Pawn victim
L_052d: ldloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_052f: ldfld Verse.Pawn victim
L_0534: callvirt Boolean get_Downed()
L_0539: brfalse Label #40
L_053e: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0540: ldfld Verse.Pawn pawn
L_0545: ldloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_0547: ldfld Verse.Pawn victim
L_054c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0551: ldc.i4.1
L_0552: ldc.i4.3
L_0553: ldc.i4.1
L_0554: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Int32)
L_0559: brfalse Label #41
L_055e: ldloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_0560: ldfld Verse.Pawn victim
L_0565: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0567: ldfld Verse.Pawn pawn
L_056c: call RimWorld.Building_CryptosleepCasket FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn)
L_0571: brfalse Label #42
L_0576: newobj Void .ctor()
L_057b: stloc.s 43 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B1)
L_057d: ldloc.s 43 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B1)
L_057f: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0581: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_0586: ldloc.s 43 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B1)
L_0588: ldloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_058a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0 <>f__ref$944
L_058f: ldstr "CarryToCryptosleepCasket"
L_0594: ldc.i4.1
L_0595: newarr System.Object
L_059a: dup
L_059b: ldc.i4.0
L_059c: ldloca.s 10 (Verse.LocalTargetInfo)
L_059e: call Verse.Thing get_Thing()
L_05a3: callvirt System.String get_LabelCap()
L_05a8: stelem.ref
L_05a9: call System.String Translate(System.String, System.Object[])
L_05ae: stloc.s 11 (System.String)
L_05b0: ldloc.s 43 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B1)
L_05b2: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_05b7: stfld Verse.JobDef jDef
L_05bc: ldloc.s 43 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B1)
L_05be: ldftn Void <>m__54A()
L_05c4: newobj Void .ctor(Object, IntPtr)
L_05c9: stloc.s 12 (System.Action)
L_05cb: ldarg.2
L_05cc: ldloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_05ce: ldfld Verse.Pawn victim
L_05d3: stloc.s 41 (Verse.Pawn)
L_05d5: ldloc.s 11 (System.String)
L_05d7: ldloc.s 12 (System.Action)
L_05d9: ldc.i4.4
L_05da: ldnull
L_05db: ldloc.s 41 (Verse.Pawn)
L_05dd: ldc.r4 0
L_05e2: ldnull
L_05e3: ldnull
L_05e4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_05e9: callvirt Void Add(Verse.FloatMenuOption)
L_05ee: Label #39
L_05ee: Label #40
L_05ee: Label #41
L_05ee: Label #42
L_05ee: ldloc.s 9 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_05f0: callvirt Boolean MoveNext()
L_05f5: brtrue Label #43
L_05fa: leave Label #44
L_05ff: ldloc.s 9 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0601: brtrue Label #45
L_0606: endfinally
L_0607: Label #45
L_0607: ldloc.s 9 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0609: callvirt Void Dispose()
L_060e: endfinally
L_060f: Label #19
L_060f: Label #44
L_060f: ldarg.0
L_0610: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0612: ldfld Verse.Pawn pawn
L_0617: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_061c: ldc.i4.1
L_061d: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters, Boolean)
L_0622: callvirt IEnumerator`1 GetEnumerator()
L_0627: stloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0629: br Label #46
L_062e: Label #51
L_062e: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0630: callvirt LocalTargetInfo get_Current()
L_0635: stloc.s 13 (Verse.LocalTargetInfo)
L_0637: newobj Void .ctor()
L_063c: stloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_063e: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_0640: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0642: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_0647: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_0649: ldloc.s 13 (Verse.LocalTargetInfo)
L_064b: stfld Verse.LocalTargetInfo stripTarg
L_0650: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0652: ldfld Verse.Pawn pawn
L_0657: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_0659: ldfld Verse.LocalTargetInfo stripTarg
L_065e: ldc.i4.3
L_065f: ldc.i4.3
L_0660: ldc.i4.0
L_0661: ldc.i4.1
L_0662: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_0667: brtrue Label #47
L_066c: ldstr "CannotStrip"
L_0671: ldc.i4.1
L_0672: newarr System.Object
L_0677: dup
L_0678: ldc.i4.0
L_0679: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_067b: ldflda Verse.LocalTargetInfo stripTarg
L_0680: call Verse.Thing get_Thing()
L_0685: callvirt System.String get_LabelCap()
L_068a: stelem.ref
L_068b: call System.String Translate(System.String, System.Object[])
L_0690: ldstr " ("
L_0695: ldstr "NoPath"
L_069a: call System.String Translate(System.String)
L_069f: ldstr ")"
L_06a4: call System.String Concat(System.String, System.String, System.String, System.String)
L_06a9: ldnull
L_06aa: ldc.i4.4
L_06ab: ldnull
L_06ac: ldnull
L_06ad: ldc.r4 0
L_06b2: ldnull
L_06b3: ldnull
L_06b4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_06b9: stloc.s 15 (Verse.FloatMenuOption)
L_06bb: br Label #48
L_06c0: Label #47
L_06c0: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_06c2: ldfld Verse.Pawn pawn
L_06c7: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_06c9: ldfld Verse.LocalTargetInfo stripTarg
L_06ce: ldc.i4.3
L_06cf: ldc.i4.3
L_06d0: ldc.i4.1
L_06d1: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Int32)
L_06d6: brtrue Label #49
L_06db: ldstr "CannotStrip"
L_06e0: ldc.i4.1
L_06e1: newarr System.Object
L_06e6: dup
L_06e7: ldc.i4.0
L_06e8: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_06ea: ldflda Verse.LocalTargetInfo stripTarg
L_06ef: call Verse.Thing get_Thing()
L_06f4: callvirt System.String get_LabelCap()
L_06f9: stelem.ref
L_06fa: call System.String Translate(System.String, System.Object[])
L_06ff: ldstr " ("
L_0704: ldstr "ReservedBy"
L_0709: ldc.i4.1
L_070a: newarr System.Object
L_070f: dup
L_0710: ldc.i4.0
L_0711: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0713: ldfld Verse.Pawn pawn
L_0718: callvirt Verse.Map get_Map()
L_071d: ldfld Verse.AI.ReservationManager reservationManager
L_0722: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_0724: ldfld Verse.LocalTargetInfo stripTarg
L_0729: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_072b: ldfld Verse.Pawn pawn
L_0730: callvirt RimWorld.Faction get_Faction()
L_0735: ldc.i4.1
L_0736: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_073b: callvirt System.String get_LabelShort()
L_0740: stelem.ref
L_0741: call System.String Translate(System.String, System.Object[])
L_0746: ldstr ")"
L_074b: call System.String Concat(System.String, System.String, System.String, System.String)
L_0750: ldnull
L_0751: ldc.i4.4
L_0752: ldnull
L_0753: ldnull
L_0754: ldc.r4 0
L_0759: ldnull
L_075a: ldnull
L_075b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0760: stloc.s 15 (Verse.FloatMenuOption)
L_0762: br Label #50
L_0767: Label #49
L_0767: ldstr "Strip"
L_076c: ldc.i4.1
L_076d: newarr System.Object
L_0772: dup
L_0773: ldc.i4.0
L_0774: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_0776: ldflda Verse.LocalTargetInfo stripTarg
L_077b: call Verse.Thing get_Thing()
L_0780: callvirt System.String get_LabelCap()
L_0785: stelem.ref
L_0786: call System.String Translate(System.String, System.Object[])
L_078b: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_078d: ldftn Void <>m__54B()
L_0793: newobj Void .ctor(Object, IntPtr)
L_0798: ldc.i4.4
L_0799: ldnull
L_079a: ldnull
L_079b: ldc.r4 0
L_07a0: ldnull
L_07a1: ldnull
L_07a2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_07a7: stloc.s 15 (Verse.FloatMenuOption)
L_07a9: Label #48
L_07a9: Label #50
L_07a9: ldarg.2
L_07aa: ldloc.s 15 (Verse.FloatMenuOption)
L_07ac: callvirt Void Add(Verse.FloatMenuOption)
L_07b1: Label #46
L_07b1: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_07b3: callvirt Boolean MoveNext()
L_07b8: brtrue Label #51
L_07bd: leave Label #52
L_07c2: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_07c4: brtrue Label #53
L_07c9: endfinally
L_07ca: Label #53
L_07ca: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_07cc: callvirt Void Dispose()
L_07d1: endfinally
L_07d2: Label #52
L_07d2: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_07d4: ldfld Verse.Pawn pawn
L_07d9: ldfld Verse.Pawn_EquipmentTracker equipment
L_07de: brfalse Label #54
L_07e3: newobj Void .ctor()
L_07e8: stloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_07ea: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_07ec: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_07ee: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_07f3: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_07f5: ldnull
L_07f6: stfld Verse.ThingWithComps equipment
L_07fb: ldloc.0
L_07fc: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_07fe: ldfld Verse.Pawn pawn
L_0803: callvirt Verse.Map get_Map()
L_0808: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3, Verse.Map)
L_080d: stloc.s 16 (System.Collections.Generic.List`1[Verse.Thing])
L_080f: ldc.i4.0
L_0810: stloc.s 17 (System.Int32)
L_0812: br Label #55
L_0817: Label #58
L_0817: ldloc.s 16 (System.Collections.Generic.List`1[Verse.Thing])
L_0819: ldloc.s 17 (System.Int32)
L_081b: callvirt Verse.Thing get_Item(Int32)
L_0820: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0825: brfalse Label #56
L_082a: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_082c: ldloc.s 16 (System.Collections.Generic.List`1[Verse.Thing])
L_082e: ldloc.s 17 (System.Int32)
L_0830: callvirt Verse.Thing get_Item(Int32)
L_0835: castclass Verse.ThingWithComps
L_083a: stfld Verse.ThingWithComps equipment
L_083f: br Label #57
L_0844: Label #56
L_0844: ldloc.s 17 (System.Int32)
L_0846: ldc.i4.1
L_0847: add
L_0848: stloc.s 17 (System.Int32)
L_084a: Label #55
L_084a: ldloc.s 17 (System.Int32)
L_084c: ldloc.s 16 (System.Collections.Generic.List`1[Verse.Thing])
L_084e: callvirt Int32 get_Count()
L_0853: blt Label #58
L_0858: Label #57
L_0858: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_085a: ldfld Verse.ThingWithComps equipment
L_085f: brfalse Label #59
L_0864: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_0866: ldfld Verse.ThingWithComps equipment
L_086b: callvirt System.String get_LabelShort()
L_0870: stloc.s 19 (System.String)
L_0872: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_0874: ldfld Verse.ThingWithComps equipment
L_0879: ldfld Verse.ThingDef def
L_087e: callvirt Boolean get_IsWeapon()
L_0883: brfalse Label #60
L_0888: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_088a: ldfld Verse.Pawn pawn
L_088f: ldfld RimWorld.Pawn_StoryTracker story
L_0894: ldc.i4.s 16
L_0896: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_089b: brfalse Label #61
L_08a0: ldstr "CannotEquip"
L_08a5: ldc.i4.1
L_08a6: newarr System.Object
L_08ab: dup
L_08ac: ldc.i4.0
L_08ad: ldloc.s 19 (System.String)
L_08af: stelem.ref
L_08b0: call System.String Translate(System.String, System.Object[])
L_08b5: ldstr " ("
L_08ba: ldstr "IsIncapableOfViolenceLower"
L_08bf: ldc.i4.1
L_08c0: newarr System.Object
L_08c5: dup
L_08c6: ldc.i4.0
L_08c7: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_08c9: ldfld Verse.Pawn pawn
L_08ce: callvirt System.String get_LabelShort()
L_08d3: stelem.ref
L_08d4: call System.String Translate(System.String, System.Object[])
L_08d9: ldstr ")"
L_08de: call System.String Concat(System.String, System.String, System.String, System.String)
L_08e3: ldnull
L_08e4: ldc.i4.4
L_08e5: ldnull
L_08e6: ldnull
L_08e7: ldc.r4 0
L_08ec: ldnull
L_08ed: ldnull
L_08ee: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_08f3: stloc.s 18 (Verse.FloatMenuOption)
L_08f5: br Label #62
L_08fa: Label #60
L_08fa: Label #61
L_08fa: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_08fc: ldfld Verse.Pawn pawn
L_0901: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_0903: ldfld Verse.ThingWithComps equipment
L_0908: call LocalTargetInfo op_Implicit(Verse.Thing)
L_090d: ldc.i4.3
L_090e: ldc.i4.3
L_090f: ldc.i4.0
L_0910: ldc.i4.1
L_0911: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_0916: brtrue Label #63
L_091b: ldstr "CannotEquip"
L_0920: ldc.i4.1
L_0921: newarr System.Object
L_0926: dup
L_0927: ldc.i4.0
L_0928: ldloc.s 19 (System.String)
L_092a: stelem.ref
L_092b: call System.String Translate(System.String, System.Object[])
L_0930: ldstr " ("
L_0935: ldstr "NoPath"
L_093a: call System.String Translate(System.String)
L_093f: ldstr ")"
L_0944: call System.String Concat(System.String, System.String, System.String, System.String)
L_0949: ldnull
L_094a: ldc.i4.4
L_094b: ldnull
L_094c: ldnull
L_094d: ldc.r4 0
L_0952: ldnull
L_0953: ldnull
L_0954: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0959: stloc.s 18 (Verse.FloatMenuOption)
L_095b: br Label #64
L_0960: Label #63
L_0960: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0962: ldfld Verse.Pawn pawn
L_0967: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_0969: ldfld Verse.ThingWithComps equipment
L_096e: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0973: ldc.i4.1
L_0974: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_0979: brtrue Label #65
L_097e: ldstr "CannotEquip"
L_0983: ldc.i4.1
L_0984: newarr System.Object
L_0989: dup
L_098a: ldc.i4.0
L_098b: ldloc.s 19 (System.String)
L_098d: stelem.ref
L_098e: call System.String Translate(System.String, System.Object[])
L_0993: ldstr " ("
L_0998: ldstr "ReservedBy"
L_099d: ldc.i4.1
L_099e: newarr System.Object
L_09a3: dup
L_09a4: ldc.i4.0
L_09a5: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_09a7: ldfld Verse.Pawn pawn
L_09ac: callvirt Verse.Map get_Map()
L_09b1: ldfld Verse.AI.ReservationManager reservationManager
L_09b6: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_09b8: ldfld Verse.ThingWithComps equipment
L_09bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_09c2: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_09c4: ldfld Verse.Pawn pawn
L_09c9: callvirt RimWorld.Faction get_Faction()
L_09ce: ldc.i4.1
L_09cf: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_09d4: callvirt System.String get_LabelShort()
L_09d9: stelem.ref
L_09da: call System.String Translate(System.String, System.Object[])
L_09df: ldstr ")"
L_09e4: call System.String Concat(System.String, System.String, System.String, System.String)
L_09e9: ldnull
L_09ea: ldc.i4.4
L_09eb: ldnull
L_09ec: ldnull
L_09ed: ldc.r4 0
L_09f2: ldnull
L_09f3: ldnull
L_09f4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_09f9: stloc.s 18 (Verse.FloatMenuOption)
L_09fb: br Label #66
L_0a00: Label #65
L_0a00: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0a02: ldfld Verse.Pawn pawn
L_0a07: ldfld Verse.Pawn_HealthTracker health
L_0a0c: ldfld Verse.PawnCapacitiesHandler capacities
L_0a11: ldsfld Verse.PawnCapacityDef Manipulation
L_0a16: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0a1b: brtrue Label #67
L_0a20: ldstr "CannotEquip"
L_0a25: ldc.i4.1
L_0a26: newarr System.Object
L_0a2b: dup
L_0a2c: ldc.i4.0
L_0a2d: ldloc.s 19 (System.String)
L_0a2f: stelem.ref
L_0a30: call System.String Translate(System.String, System.Object[])
L_0a35: ldstr " ("
L_0a3a: ldstr "Incapable"
L_0a3f: call System.String Translate(System.String)
L_0a44: ldstr ")"
L_0a49: call System.String Concat(System.String, System.String, System.String, System.String)
L_0a4e: ldnull
L_0a4f: ldc.i4.4
L_0a50: ldnull
L_0a51: ldnull
L_0a52: ldc.r4 0
L_0a57: ldnull
L_0a58: ldnull
L_0a59: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0a5e: stloc.s 18 (Verse.FloatMenuOption)
L_0a60: br Label #68
L_0a65: Label #67
L_0a65: ldstr "Equip"
L_0a6a: ldc.i4.1
L_0a6b: newarr System.Object
L_0a70: dup
L_0a71: ldc.i4.0
L_0a72: ldloc.s 19 (System.String)
L_0a74: stelem.ref
L_0a75: call System.String Translate(System.String, System.Object[])
L_0a7a: stloc.s 20 (System.String)
L_0a7c: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_0a7e: ldfld Verse.ThingWithComps equipment
L_0a83: ldfld Verse.ThingDef def
L_0a88: callvirt Boolean get_IsRangedWeapon()
L_0a8d: brfalse Label #69
L_0a92: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0a94: ldfld Verse.Pawn pawn
L_0a99: ldfld RimWorld.Pawn_StoryTracker story
L_0a9e: brfalse Label #70
L_0aa3: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0aa5: ldfld Verse.Pawn pawn
L_0aaa: ldfld RimWorld.Pawn_StoryTracker story
L_0aaf: ldfld RimWorld.TraitSet traits
L_0ab4: ldsfld RimWorld.TraitDef Brawler
L_0ab9: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0abe: brfalse Label #71
L_0ac3: ldloc.s 20 (System.String)
L_0ac5: ldstr " "
L_0aca: ldstr "EquipWarningBrawler"
L_0acf: call System.String Translate(System.String)
L_0ad4: call System.String Concat(System.String, System.String, System.String)
L_0ad9: stloc.s 20 (System.String)
L_0adb: Label #69
L_0adb: Label #70
L_0adb: Label #71
L_0adb: ldloc.s 20 (System.String)
L_0add: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_0adf: ldftn Void <>m__54C()
L_0ae5: newobj Void .ctor(Object, IntPtr)
L_0aea: ldc.i4.5
L_0aeb: ldnull
L_0aec: ldnull
L_0aed: ldc.r4 0
L_0af2: ldnull
L_0af3: ldnull
L_0af4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0af9: stloc.s 18 (Verse.FloatMenuOption)
L_0afb: Label #62
L_0afb: Label #64
L_0afb: Label #66
L_0afb: Label #68
L_0afb: ldarg.2
L_0afc: ldloc.s 18 (Verse.FloatMenuOption)
L_0afe: callvirt Void Add(Verse.FloatMenuOption)
L_0b03: Label #54
L_0b03: Label #59
L_0b03: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0b05: ldfld Verse.Pawn pawn
L_0b0a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0b0f: brfalse Label #72
L_0b14: newobj Void .ctor()
L_0b19: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0b1b: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0b1d: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0b1f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_0b24: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0b26: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0b28: ldfld Verse.Pawn pawn
L_0b2d: callvirt Verse.Map get_Map()
L_0b32: ldfld Verse.ThingGrid thingGrid
L_0b37: ldloc.0
L_0b38: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0b3d: stfld RimWorld.Apparel apparel
L_0b42: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0b44: ldfld RimWorld.Apparel apparel
L_0b49: brfalse Label #73
L_0b4e: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0b50: ldfld Verse.Pawn pawn
L_0b55: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0b57: ldfld RimWorld.Apparel apparel
L_0b5c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0b61: ldc.i4.3
L_0b62: ldc.i4.3
L_0b63: ldc.i4.0
L_0b64: ldc.i4.1
L_0b65: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_0b6a: brtrue Label #74
L_0b6f: ldstr "CannotWear"
L_0b74: ldc.i4.1
L_0b75: newarr System.Object
L_0b7a: dup
L_0b7b: ldc.i4.0
L_0b7c: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0b7e: ldfld RimWorld.Apparel apparel
L_0b83: callvirt System.String get_Label()
L_0b88: stelem.ref
L_0b89: call System.String Translate(System.String, System.Object[])
L_0b8e: ldstr " ("
L_0b93: ldstr "NoPath"
L_0b98: call System.String Translate(System.String)
L_0b9d: ldstr ")"
L_0ba2: call System.String Concat(System.String, System.String, System.String, System.String)
L_0ba7: ldnull
L_0ba8: ldc.i4.4
L_0ba9: ldnull
L_0baa: ldnull
L_0bab: ldc.r4 0
L_0bb0: ldnull
L_0bb1: ldnull
L_0bb2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0bb7: stloc.s 21 (Verse.FloatMenuOption)
L_0bb9: br Label #75
L_0bbe: Label #74
L_0bbe: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0bc0: ldfld Verse.Pawn pawn
L_0bc5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0bc7: ldfld RimWorld.Apparel apparel
L_0bcc: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0bd1: ldc.i4.1
L_0bd2: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_0bd7: brtrue Label #76
L_0bdc: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0bde: ldfld Verse.Pawn pawn
L_0be3: callvirt Verse.Map get_Map()
L_0be8: ldfld Verse.AI.ReservationManager reservationManager
L_0bed: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0bef: ldfld RimWorld.Apparel apparel
L_0bf4: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0bf9: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0bfb: ldfld Verse.Pawn pawn
L_0c00: callvirt RimWorld.Faction get_Faction()
L_0c05: ldc.i4.1
L_0c06: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_0c0b: stloc.s 22 (Verse.Pawn)
L_0c0d: ldstr "CannotWear"
L_0c12: ldc.i4.1
L_0c13: newarr System.Object
L_0c18: dup
L_0c19: ldc.i4.0
L_0c1a: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0c1c: ldfld RimWorld.Apparel apparel
L_0c21: callvirt System.String get_Label()
L_0c26: stelem.ref
L_0c27: call System.String Translate(System.String, System.Object[])
L_0c2c: ldstr " ("
L_0c31: ldstr "ReservedBy"
L_0c36: ldc.i4.1
L_0c37: newarr System.Object
L_0c3c: dup
L_0c3d: ldc.i4.0
L_0c3e: ldloc.s 22 (Verse.Pawn)
L_0c40: callvirt System.String get_LabelShort()
L_0c45: stelem.ref
L_0c46: call System.String Translate(System.String, System.Object[])
L_0c4b: ldstr ")"
L_0c50: call System.String Concat(System.String, System.String, System.String, System.String)
L_0c55: ldnull
L_0c56: ldc.i4.4
L_0c57: ldnull
L_0c58: ldnull
L_0c59: ldc.r4 0
L_0c5e: ldnull
L_0c5f: ldnull
L_0c60: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0c65: stloc.s 21 (Verse.FloatMenuOption)
L_0c67: br Label #77
L_0c6c: Label #76
L_0c6c: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0c6e: ldfld Verse.Pawn pawn
L_0c73: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0c75: ldfld RimWorld.Apparel apparel
L_0c7a: ldfld Verse.ThingDef def
L_0c7f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0c84: brtrue Label #78
L_0c89: ldstr "CannotWear"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0c98: ldfld RimWorld.Apparel apparel
L_0c9d: callvirt System.String get_Label()
L_0ca2: stelem.ref
L_0ca3: call System.String Translate(System.String, System.Object[])
L_0ca8: ldstr " ("
L_0cad: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0cb2: call System.String Translate(System.String)
L_0cb7: ldstr ")"
L_0cbc: call System.String Concat(System.String, System.String, System.String, System.String)
L_0cc1: ldnull
L_0cc2: ldc.i4.4
L_0cc3: ldnull
L_0cc4: ldnull
L_0cc5: ldc.r4 0
L_0cca: ldnull
L_0ccb: ldnull
L_0ccc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0cd1: stloc.s 21 (Verse.FloatMenuOption)
L_0cd3: br Label #79
L_0cd8: Label #78
L_0cd8: ldstr "ForceWear"
L_0cdd: ldc.i4.1
L_0cde: newarr System.Object
L_0ce3: dup
L_0ce4: ldc.i4.0
L_0ce5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0ce7: ldfld RimWorld.Apparel apparel
L_0cec: callvirt System.String get_LabelShort()
L_0cf1: stelem.ref
L_0cf2: call System.String Translate(System.String, System.Object[])
L_0cf7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0cf9: ldftn Void <>m__54D()
L_0cff: newobj Void .ctor(Object, IntPtr)
L_0d04: ldc.i4.5
L_0d05: ldnull
L_0d06: ldnull
L_0d07: ldc.r4 0
L_0d0c: ldnull
L_0d0d: ldnull
L_0d0e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0d13: stloc.s 21 (Verse.FloatMenuOption)
L_0d15: Label #75
L_0d15: Label #77
L_0d15: Label #79
L_0d15: ldarg.2
L_0d16: ldloc.s 21 (Verse.FloatMenuOption)
L_0d18: callvirt Void Add(Verse.FloatMenuOption)
L_0d1d: Label #72
L_0d1d: Label #73
L_0d1d: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0d1f: ldfld Verse.Pawn pawn
L_0d24: callvirt Verse.Map get_Map()
L_0d29: callvirt Boolean get_IsPlayerHome()
L_0d2e: brtrue Label #80
L_0d33: newobj Void .ctor()
L_0d38: stloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0d3a: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0d3c: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0d3e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_0d43: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0d45: ldloc.0
L_0d46: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0d48: ldfld Verse.Pawn pawn
L_0d4d: callvirt Verse.Map get_Map()
L_0d52: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0d57: stfld Verse.Thing item
L_0d5c: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0d5e: ldfld Verse.Thing item
L_0d63: brfalse Label #81
L_0d68: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0d6a: ldfld Verse.Thing item
L_0d6f: ldfld Verse.ThingDef def
L_0d74: callvirt Boolean get_EverHaulable()
L_0d79: brfalse Label #82
L_0d7e: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0d80: ldfld Verse.Pawn pawn
L_0d85: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0d87: ldfld Verse.Thing item
L_0d8c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d91: ldc.i4.3
L_0d92: ldc.i4.3
L_0d93: ldc.i4.0
L_0d94: ldc.i4.1
L_0d95: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_0d9a: brtrue Label #83
L_0d9f: ldarg.2
L_0da0: ldstr "CannotPickUp"
L_0da5: ldc.i4.1
L_0da6: newarr System.Object
L_0dab: dup
L_0dac: ldc.i4.0
L_0dad: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0daf: ldfld Verse.Thing item
L_0db4: callvirt System.String get_Label()
L_0db9: stelem.ref
L_0dba: call System.String Translate(System.String, System.Object[])
L_0dbf: ldstr " ("
L_0dc4: ldstr "NoPath"
L_0dc9: call System.String Translate(System.String)
L_0dce: ldstr ")"
L_0dd3: call System.String Concat(System.String, System.String, System.String, System.String)
L_0dd8: ldnull
L_0dd9: ldc.i4.4
L_0dda: ldnull
L_0ddb: ldnull
L_0ddc: ldc.r4 0
L_0de1: ldnull
L_0de2: ldnull
L_0de3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0de8: callvirt Void Add(Verse.FloatMenuOption)
L_0ded: br Label #84
L_0df2: Label #83
L_0df2: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0df4: ldfld Verse.Pawn pawn
L_0df9: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0dfb: ldfld Verse.Thing item
L_0e00: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0e05: ldc.i4.1
L_0e06: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_0e0b: brtrue Label #85
L_0e10: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0e12: ldfld Verse.Pawn pawn
L_0e17: callvirt Verse.Map get_Map()
L_0e1c: ldfld Verse.AI.ReservationManager reservationManager
L_0e21: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0e23: ldfld Verse.Thing item
L_0e28: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0e2d: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0e2f: ldfld Verse.Pawn pawn
L_0e34: callvirt RimWorld.Faction get_Faction()
L_0e39: ldc.i4.1
L_0e3a: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_0e3f: stloc.s 23 (Verse.Pawn)
L_0e41: ldarg.2
L_0e42: ldstr "CannotPickUp"
L_0e47: ldc.i4.1
L_0e48: newarr System.Object
L_0e4d: dup
L_0e4e: ldc.i4.0
L_0e4f: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0e51: ldfld Verse.Thing item
L_0e56: callvirt System.String get_Label()
L_0e5b: stelem.ref
L_0e5c: call System.String Translate(System.String, System.Object[])
L_0e61: ldstr " ("
L_0e66: ldstr "ReservedBy"
L_0e6b: ldc.i4.1
L_0e6c: newarr System.Object
L_0e71: dup
L_0e72: ldc.i4.0
L_0e73: ldloc.s 23 (Verse.Pawn)
L_0e75: callvirt System.String get_LabelShort()
L_0e7a: stelem.ref
L_0e7b: call System.String Translate(System.String, System.Object[])
L_0e80: ldstr ")"
L_0e85: call System.String Concat(System.String, System.String, System.String, System.String)
L_0e8a: ldnull
L_0e8b: ldc.i4.4
L_0e8c: ldnull
L_0e8d: ldnull
L_0e8e: ldc.r4 0
L_0e93: ldnull
L_0e94: ldnull
L_0e95: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0e9a: callvirt Void Add(Verse.FloatMenuOption)
L_0e9f: br Label #86
L_0ea4: Label #85
L_0ea4: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0ea6: ldfld Verse.Pawn pawn
L_0eab: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0ead: ldfld Verse.Thing item
L_0eb2: ldc.i4.1
L_0eb3: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing, Int32)
L_0eb8: brfalse Label #87
L_0ebd: ldarg.2
L_0ebe: ldstr "CannotPickUp"
L_0ec3: ldc.i4.1
L_0ec4: newarr System.Object
L_0ec9: dup
L_0eca: ldc.i4.0
L_0ecb: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0ecd: ldfld Verse.Thing item
L_0ed2: callvirt System.String get_Label()
L_0ed7: stelem.ref
L_0ed8: call System.String Translate(System.String, System.Object[])
L_0edd: ldstr " ("
L_0ee2: ldstr "TooHeavy"
L_0ee7: call System.String Translate(System.String)
L_0eec: ldstr ")"
L_0ef1: call System.String Concat(System.String, System.String, System.String, System.String)
L_0ef6: ldnull
L_0ef7: ldc.i4.4
L_0ef8: ldnull
L_0ef9: ldnull
L_0efa: ldc.r4 0
L_0eff: ldnull
L_0f00: ldnull
L_0f01: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0f06: callvirt Void Add(Verse.FloatMenuOption)
L_0f0b: br Label #88
L_0f10: Label #87
L_0f10: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0f12: ldfld Verse.Thing item
L_0f17: ldfld System.Int32 stackCount
L_0f1c: ldc.i4.1
L_0f1d: bne.un Label #89
L_0f22: ldarg.2
L_0f23: ldstr "PickUp"
L_0f28: ldc.i4.1
L_0f29: newarr System.Object
L_0f2e: dup
L_0f2f: ldc.i4.0
L_0f30: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0f32: ldfld Verse.Thing item
L_0f37: callvirt System.String get_Label()
L_0f3c: stelem.ref
L_0f3d: call System.String Translate(System.String, System.Object[])
L_0f42: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0f44: ldftn Void <>m__54E()
L_0f4a: newobj Void .ctor(Object, IntPtr)
L_0f4f: ldc.i4.5
L_0f50: ldnull
L_0f51: ldnull
L_0f52: ldc.r4 0
L_0f57: ldnull
L_0f58: ldnull
L_0f59: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0f5e: callvirt Void Add(Verse.FloatMenuOption)
L_0f63: br Label #90
L_0f68: Label #89
L_0f68: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0f6a: ldfld Verse.Pawn pawn
L_0f6f: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0f71: ldfld Verse.Thing item
L_0f76: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0f78: ldfld Verse.Thing item
L_0f7d: ldfld System.Int32 stackCount
L_0f82: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing, Int32)
L_0f87: brfalse Label #91
L_0f8c: ldarg.2
L_0f8d: ldstr "CannotPickUpAll"
L_0f92: ldc.i4.1
L_0f93: newarr System.Object
L_0f98: dup
L_0f99: ldc.i4.0
L_0f9a: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0f9c: ldfld Verse.Thing item
L_0fa1: callvirt System.String get_Label()
L_0fa6: stelem.ref
L_0fa7: call System.String Translate(System.String, System.Object[])
L_0fac: ldstr " ("
L_0fb1: ldstr "TooHeavy"
L_0fb6: call System.String Translate(System.String)
L_0fbb: ldstr ")"
L_0fc0: call System.String Concat(System.String, System.String, System.String, System.String)
L_0fc5: ldnull
L_0fc6: ldc.i4.4
L_0fc7: ldnull
L_0fc8: ldnull
L_0fc9: ldc.r4 0
L_0fce: ldnull
L_0fcf: ldnull
L_0fd0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0fd5: callvirt Void Add(Verse.FloatMenuOption)
L_0fda: br Label #92
L_0fdf: Label #91
L_0fdf: ldarg.2
L_0fe0: ldstr "PickUpAll"
L_0fe5: ldc.i4.1
L_0fe6: newarr System.Object
L_0feb: dup
L_0fec: ldc.i4.0
L_0fed: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0fef: ldfld Verse.Thing item
L_0ff4: callvirt System.String get_Label()
L_0ff9: stelem.ref
L_0ffa: call System.String Translate(System.String, System.Object[])
L_0fff: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_1001: ldftn Void <>m__54F()
L_1007: newobj Void .ctor(Object, IntPtr)
L_100c: ldc.i4.5
L_100d: ldnull
L_100e: ldnull
L_100f: ldc.r4 0
L_1014: ldnull
L_1015: ldnull
L_1016: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_101b: callvirt Void Add(Verse.FloatMenuOption)
L_1020: Label #92
L_1020: ldarg.2
L_1021: ldstr "PickUpSome"
L_1026: ldc.i4.1
L_1027: newarr System.Object
L_102c: dup
L_102d: ldc.i4.0
L_102e: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_1030: ldfld Verse.Thing item
L_1035: callvirt System.String get_Label()
L_103a: stelem.ref
L_103b: call System.String Translate(System.String, System.Object[])
L_1040: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_1042: ldftn Void <>m__550()
L_1048: newobj Void .ctor(Object, IntPtr)
L_104d: ldc.i4.5
L_104e: ldnull
L_104f: ldnull
L_1050: ldc.r4 0
L_1055: ldnull
L_1056: ldnull
L_1057: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_105c: callvirt Void Add(Verse.FloatMenuOption)
L_1061: Label #80
L_1061: Label #81
L_1061: Label #82
L_1061: Label #84
L_1061: Label #86
L_1061: Label #88
L_1061: Label #90
L_1061: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1063: ldfld Verse.Pawn pawn
L_1068: callvirt Verse.Map get_Map()
L_106d: callvirt Boolean get_IsPlayerHome()
L_1072: brtrue Label #93
L_1077: newobj Void .ctor()
L_107c: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_107e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1080: ldloc.0
L_1081: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1083: ldfld Verse.Pawn pawn
L_1088: callvirt Verse.Map get_Map()
L_108d: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_1092: stfld Verse.Thing item
L_1097: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1099: ldfld Verse.Thing item
L_109e: brfalse Label #94
L_10a3: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_10a5: ldfld Verse.Thing item
L_10aa: ldfld Verse.ThingDef def
L_10af: callvirt Boolean get_EverHaulable()
L_10b4: brfalse Label #95
L_10b9: newobj Void .ctor()
L_10be: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_10c0: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_10c2: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_10c4: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_10c9: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_10cb: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_10cd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6 <>f__ref$950
L_10d2: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_10d4: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_10d6: ldfld Verse.Pawn pawn
L_10db: callvirt Verse.Map get_Map()
L_10e0: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_10e2: ldfld Verse.Pawn pawn
L_10e7: callvirt RimWorld.Faction get_Faction()
L_10ec: call Verse.Pawn PackAnimalWithTheMostFreeSpace(Verse.Map, RimWorld.Faction)
L_10f1: stfld Verse.Pawn bestPackAnimal
L_10f6: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_10f8: ldfld Verse.Pawn bestPackAnimal
L_10fd: brfalse Label #96
L_1102: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1104: ldfld Verse.Pawn pawn
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_110b: ldfld Verse.Thing item
L_1110: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1115: ldc.i4.3
L_1116: ldc.i4.3
L_1117: ldc.i4.0
L_1118: ldc.i4.1
L_1119: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_111e: brtrue Label #97
L_1123: ldarg.2
L_1124: ldstr "CannotGiveToPackAnimal"
L_1129: ldc.i4.1
L_112a: newarr System.Object
L_112f: dup
L_1130: ldc.i4.0
L_1131: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1133: ldfld Verse.Thing item
L_1138: callvirt System.String get_Label()
L_113d: stelem.ref
L_113e: call System.String Translate(System.String, System.Object[])
L_1143: ldstr " ("
L_1148: ldstr "NoPath"
L_114d: call System.String Translate(System.String)
L_1152: ldstr ")"
L_1157: call System.String Concat(System.String, System.String, System.String, System.String)
L_115c: ldnull
L_115d: ldc.i4.4
L_115e: ldnull
L_115f: ldnull
L_1160: ldc.r4 0
L_1165: ldnull
L_1166: ldnull
L_1167: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_116c: callvirt Void Add(Verse.FloatMenuOption)
L_1171: br Label #98
L_1176: Label #97
L_1176: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1178: ldfld Verse.Pawn pawn
L_117d: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_117f: ldfld Verse.Thing item
L_1184: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1189: ldc.i4.1
L_118a: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_118f: brtrue Label #99
L_1194: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1196: ldfld Verse.Pawn pawn
L_119b: callvirt Verse.Map get_Map()
L_11a0: ldfld Verse.AI.ReservationManager reservationManager
L_11a5: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_11a7: ldfld Verse.Thing item
L_11ac: call LocalTargetInfo op_Implicit(Verse.Thing)
L_11b1: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_11b3: ldfld Verse.Pawn pawn
L_11b8: callvirt RimWorld.Faction get_Faction()
L_11bd: ldc.i4.1
L_11be: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_11c3: stloc.s 24 (Verse.Pawn)
L_11c5: ldarg.2
L_11c6: ldstr "CannotGiveToPackAnimal"
L_11cb: ldc.i4.1
L_11cc: newarr System.Object
L_11d1: dup
L_11d2: ldc.i4.0
L_11d3: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_11d5: ldfld Verse.Thing item
L_11da: callvirt System.String get_Label()
L_11df: stelem.ref
L_11e0: call System.String Translate(System.String, System.Object[])
L_11e5: ldstr " ("
L_11ea: ldstr "ReservedBy"
L_11ef: ldc.i4.1
L_11f0: newarr System.Object
L_11f5: dup
L_11f6: ldc.i4.0
L_11f7: ldloc.s 24 (Verse.Pawn)
L_11f9: callvirt System.String get_LabelShort()
L_11fe: stelem.ref
L_11ff: call System.String Translate(System.String, System.Object[])
L_1204: ldstr ")"
L_1209: call System.String Concat(System.String, System.String, System.String, System.String)
L_120e: ldnull
L_120f: ldc.i4.4
L_1210: ldnull
L_1211: ldnull
L_1212: ldc.r4 0
L_1217: ldnull
L_1218: ldnull
L_1219: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_121e: callvirt Void Add(Verse.FloatMenuOption)
L_1223: br Label #100
L_1228: Label #99
L_1228: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_122a: ldfld Verse.Pawn bestPackAnimal
L_122f: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1231: ldfld Verse.Thing item
L_1236: ldc.i4.1
L_1237: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing, Int32)
L_123c: brfalse Label #101
L_1241: ldarg.2
L_1242: ldstr "CannotGiveToPackAnimal"
L_1247: ldc.i4.1
L_1248: newarr System.Object
L_124d: dup
L_124e: ldc.i4.0
L_124f: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1251: ldfld Verse.Thing item
L_1256: callvirt System.String get_Label()
L_125b: stelem.ref
L_125c: call System.String Translate(System.String, System.Object[])
L_1261: ldstr " ("
L_1266: ldstr "TooHeavy"
L_126b: call System.String Translate(System.String)
L_1270: ldstr ")"
L_1275: call System.String Concat(System.String, System.String, System.String, System.String)
L_127a: ldnull
L_127b: ldc.i4.4
L_127c: ldnull
L_127d: ldnull
L_127e: ldc.r4 0
L_1283: ldnull
L_1284: ldnull
L_1285: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_128a: callvirt Void Add(Verse.FloatMenuOption)
L_128f: br Label #102
L_1294: Label #101
L_1294: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1296: ldfld Verse.Thing item
L_129b: ldfld System.Int32 stackCount
L_12a0: ldc.i4.1
L_12a1: bne.un Label #103
L_12a6: ldarg.2
L_12a7: ldstr "GiveToPackAnimal"
L_12ac: ldc.i4.1
L_12ad: newarr System.Object
L_12b2: dup
L_12b3: ldc.i4.0
L_12b4: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_12b6: ldfld Verse.Thing item
L_12bb: callvirt System.String get_Label()
L_12c0: stelem.ref
L_12c1: call System.String Translate(System.String, System.Object[])
L_12c6: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_12c8: ldftn Void <>m__551()
L_12ce: newobj Void .ctor(Object, IntPtr)
L_12d3: ldc.i4.5
L_12d4: ldnull
L_12d5: ldnull
L_12d6: ldc.r4 0
L_12db: ldnull
L_12dc: ldnull
L_12dd: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_12e2: callvirt Void Add(Verse.FloatMenuOption)
L_12e7: br Label #104
L_12ec: Label #103
L_12ec: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_12ee: ldfld Verse.Pawn bestPackAnimal
L_12f3: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_12f5: ldfld Verse.Thing item
L_12fa: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_12fc: ldfld Verse.Thing item
L_1301: ldfld System.Int32 stackCount
L_1306: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing, Int32)
L_130b: brfalse Label #105
L_1310: ldarg.2
L_1311: ldstr "CannotGiveToPackAnimalAll"
L_1316: ldc.i4.1
L_1317: newarr System.Object
L_131c: dup
L_131d: ldc.i4.0
L_131e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1320: ldfld Verse.Thing item
L_1325: callvirt System.String get_Label()
L_132a: stelem.ref
L_132b: call System.String Translate(System.String, System.Object[])
L_1330: ldstr " ("
L_1335: ldstr "TooHeavy"
L_133a: call System.String Translate(System.String)
L_133f: ldstr ")"
L_1344: call System.String Concat(System.String, System.String, System.String, System.String)
L_1349: ldnull
L_134a: ldc.i4.4
L_134b: ldnull
L_134c: ldnull
L_134d: ldc.r4 0
L_1352: ldnull
L_1353: ldnull
L_1354: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_1359: callvirt Void Add(Verse.FloatMenuOption)
L_135e: br Label #106
L_1363: Label #105
L_1363: ldarg.2
L_1364: ldstr "GiveToPackAnimalAll"
L_1369: ldc.i4.1
L_136a: newarr System.Object
L_136f: dup
L_1370: ldc.i4.0
L_1371: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1373: ldfld Verse.Thing item
L_1378: callvirt System.String get_Label()
L_137d: stelem.ref
L_137e: call System.String Translate(System.String, System.Object[])
L_1383: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_1385: ldftn Void <>m__552()
L_138b: newobj Void .ctor(Object, IntPtr)
L_1390: ldc.i4.5
L_1391: ldnull
L_1392: ldnull
L_1393: ldc.r4 0
L_1398: ldnull
L_1399: ldnull
L_139a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_139f: callvirt Void Add(Verse.FloatMenuOption)
L_13a4: Label #106
L_13a4: ldarg.2
L_13a5: ldstr "GiveToPackAnimalSome"
L_13aa: ldc.i4.1
L_13ab: newarr System.Object
L_13b0: dup
L_13b1: ldc.i4.0
L_13b2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_13b4: ldfld Verse.Thing item
L_13b9: callvirt System.String get_Label()
L_13be: stelem.ref
L_13bf: call System.String Translate(System.String, System.Object[])
L_13c4: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_13c6: ldftn Void <>m__553()
L_13cc: newobj Void .ctor(Object, IntPtr)
L_13d1: ldc.i4.5
L_13d2: ldnull
L_13d3: ldnull
L_13d4: ldc.r4 0
L_13d9: ldnull
L_13da: ldnull
L_13db: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_13e0: callvirt Void Add(Verse.FloatMenuOption)
L_13e5: Label #93
L_13e5: Label #94
L_13e5: Label #95
L_13e5: Label #96
L_13e5: Label #98
L_13e5: Label #100
L_13e5: Label #102
L_13e5: Label #104
L_13e5: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_13e7: ldfld Verse.Pawn pawn
L_13ec: callvirt Verse.Map get_Map()
L_13f1: callvirt Boolean get_IsPlayerHome()
L_13f6: brtrue Label #107
L_13fb: ldarg.0
L_13fc: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_13fe: ldfld Verse.Pawn pawn
L_1403: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1408: ldc.i4.1
L_1409: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters, Boolean)
L_140e: callvirt IEnumerator`1 GetEnumerator()
L_1413: stloc.s 26 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1415: br Label #108
L_141a: Label #118
L_141a: ldloc.s 26 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_141c: callvirt LocalTargetInfo get_Current()
L_1421: stloc.s 25 (Verse.LocalTargetInfo)
L_1423: newobj Void .ctor()
L_1428: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_142a: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_142c: ldloca.s 25 (Verse.LocalTargetInfo)
L_142e: call Verse.Thing get_Thing()
L_1433: castclass Verse.Pawn
L_1438: stfld Verse.Pawn p
L_143d: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_143f: ldfld Verse.Pawn p
L_1444: callvirt RimWorld.Faction get_Faction()
L_1449: call RimWorld.Faction get_OfPlayer()
L_144e: beq Label #109
L_1453: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_1455: ldfld Verse.Pawn p
L_145a: callvirt RimWorld.Faction get_HostFaction()
L_145f: call RimWorld.Faction get_OfPlayer()
L_1464: beq Label #110
L_1469: br Label #111
L_146e: Label #109
L_146e: Label #110
L_146e: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1470: ldfld Verse.Pawn pawn
L_1475: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_1477: ldfld Verse.Pawn p
L_147c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1481: ldc.i4.3
L_1482: ldc.i4.3
L_1483: ldc.i4.0
L_1484: ldc.i4.1
L_1485: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_148a: brtrue Label #112
L_148f: ldarg.2
L_1490: ldstr "CannotCarryToExit"
L_1495: ldc.i4.1
L_1496: newarr System.Object
L_149b: dup
L_149c: ldc.i4.0
L_149d: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_149f: ldfld Verse.Pawn p
L_14a4: callvirt System.String get_Label()
L_14a9: stelem.ref
L_14aa: call System.String Translate(System.String, System.Object[])
L_14af: ldstr " ("
L_14b4: ldstr "NoPath"
L_14b9: call System.String Translate(System.String)
L_14be: ldstr ")"
L_14c3: call System.String Concat(System.String, System.String, System.String, System.String)
L_14c8: ldnull
L_14c9: ldc.i4.4
L_14ca: ldnull
L_14cb: ldnull
L_14cc: ldc.r4 0
L_14d1: ldnull
L_14d2: ldnull
L_14d3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_14d8: callvirt Void Add(Verse.FloatMenuOption)
L_14dd: br Label #113
L_14e2: Label #112
L_14e2: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_14e4: ldfld Verse.Pawn pawn
L_14e9: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_14eb: ldfld Verse.Pawn p
L_14f0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_14f5: ldc.i4.1
L_14f6: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_14fb: brtrue Label #114
L_1500: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1502: ldfld Verse.Pawn pawn
L_1507: callvirt Verse.Map get_Map()
L_150c: ldfld Verse.AI.ReservationManager reservationManager
L_1511: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_1513: ldfld Verse.Pawn p
L_1518: call LocalTargetInfo op_Implicit(Verse.Thing)
L_151d: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_151f: ldfld Verse.Pawn pawn
L_1524: callvirt RimWorld.Faction get_Faction()
L_1529: ldc.i4.1
L_152a: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_152f: stloc.s 27 (Verse.Pawn)
L_1531: ldarg.2
L_1532: ldstr "CannotCarryToExit"
L_1537: ldc.i4.1
L_1538: newarr System.Object
L_153d: dup
L_153e: ldc.i4.0
L_153f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_1541: ldfld Verse.Pawn p
L_1546: callvirt System.String get_Label()
L_154b: stelem.ref
L_154c: call System.String Translate(System.String, System.Object[])
L_1551: ldstr " ("
L_1556: ldstr "ReservedBy"
L_155b: ldc.i4.1
L_155c: newarr System.Object
L_1561: dup
L_1562: ldc.i4.0
L_1563: ldloc.s 27 (Verse.Pawn)
L_1565: callvirt System.String get_LabelShort()
L_156a: stelem.ref
L_156b: call System.String Translate(System.String, System.Object[])
L_1570: ldstr ")"
L_1575: call System.String Concat(System.String, System.String, System.String, System.String)
L_157a: ldnull
L_157b: ldc.i4.4
L_157c: ldnull
L_157d: ldnull
L_157e: ldc.r4 0
L_1583: ldnull
L_1584: ldnull
L_1585: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_158a: callvirt Void Add(Verse.FloatMenuOption)
L_158f: br Label #115
L_1594: Label #114
L_1594: newobj Void .ctor()
L_1599: stloc.s 51 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B9)
L_159b: ldloc.s 51 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B9)
L_159d: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_159f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_15a4: ldloc.s 51 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B9)
L_15a6: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_15a8: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8 <>f__ref$952
L_15ad: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_15af: ldfld Verse.Pawn pawn
L_15b4: ldloc.s 51 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B9)
L_15b6: ldflda Verse.IntVec3 exitSpot
L_15bb: ldc.i4.1
L_15bc: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef, TraverseMode)
L_15c1: brtrue Label #116
L_15c6: ldarg.2
L_15c7: ldstr "CannotCarryToExit"
L_15cc: ldc.i4.1
L_15cd: newarr System.Object
L_15d2: dup
L_15d3: ldc.i4.0
L_15d4: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_15d6: ldfld Verse.Pawn p
L_15db: callvirt System.String get_Label()
L_15e0: stelem.ref
L_15e1: call System.String Translate(System.String, System.Object[])
L_15e6: ldstr " ("
L_15eb: ldstr "NoPath"
L_15f0: call System.String Translate(System.String)
L_15f5: ldstr ")"
L_15fa: call System.String Concat(System.String, System.String, System.String, System.String)
L_15ff: ldnull
L_1600: ldc.i4.4
L_1601: ldnull
L_1602: ldnull
L_1603: ldc.r4 0
L_1608: ldnull
L_1609: ldnull
L_160a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_160f: callvirt Void Add(Verse.FloatMenuOption)
L_1614: br Label #117
L_1619: Label #116
L_1619: ldarg.2
L_161a: ldstr "CarryToExit"
L_161f: ldc.i4.1
L_1620: newarr System.Object
L_1625: dup
L_1626: ldc.i4.0
L_1627: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_1629: ldfld Verse.Pawn p
L_162e: callvirt System.String get_Label()
L_1633: stelem.ref
L_1634: call System.String Translate(System.String, System.Object[])
L_1639: ldloc.s 51 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B9)
L_163b: ldftn Void <>m__554()
L_1641: newobj Void .ctor(Object, IntPtr)
L_1646: ldc.i4.5
L_1647: ldnull
L_1648: ldnull
L_1649: ldc.r4 0
L_164e: ldnull
L_164f: ldnull
L_1650: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_1655: callvirt Void Add(Verse.FloatMenuOption)
L_165a: Label #108
L_165a: Label #111
L_165a: Label #113
L_165a: Label #115
L_165a: Label #117
L_165a: ldloc.s 26 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_165c: callvirt Boolean MoveNext()
L_1661: brtrue Label #118
L_1666: leave Label #119
L_166b: ldloc.s 26 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_166d: brtrue Label #120
L_1672: endfinally
L_1673: Label #120
L_1673: ldloc.s 26 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1675: callvirt Void Dispose()
L_167a: endfinally
L_167b: Label #107
L_167b: Label #119
L_167b: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_167d: ldfld Verse.Pawn pawn
L_1682: ldfld Verse.Pawn_EquipmentTracker equipment
L_1687: brfalse Label #121
L_168c: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_168e: ldfld Verse.Pawn pawn
L_1693: ldfld Verse.Pawn_EquipmentTracker equipment
L_1698: callvirt Verse.ThingWithComps get_Primary()
L_169d: brfalse Label #122
L_16a2: ldarg.0
L_16a3: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_16a5: ldfld Verse.Pawn pawn
L_16aa: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_16af: ldc.i4.1
L_16b0: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters, Boolean)
L_16b5: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_16ba: brfalse Label #123
L_16bf: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_16c1: ldftn Void <>m__555()
L_16c7: newobj Void .ctor(Object, IntPtr)
L_16cc: stloc.s 28 (System.Action)
L_16ce: ldarg.2
L_16cf: ldstr "Drop"
L_16d4: ldc.i4.1
L_16d5: newarr System.Object
L_16da: dup
L_16db: ldc.i4.0
L_16dc: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_16de: ldfld Verse.Pawn pawn
L_16e3: ldfld Verse.Pawn_EquipmentTracker equipment
L_16e8: callvirt Verse.ThingWithComps get_Primary()
L_16ed: callvirt System.String get_Label()
L_16f2: stelem.ref
L_16f3: call System.String Translate(System.String, System.Object[])
L_16f8: ldloc.s 28 (System.Action)
L_16fa: ldc.i4.4
L_16fb: ldnull
L_16fc: ldnull
L_16fd: ldc.r4 0
L_1702: ldnull
L_1703: ldnull
L_1704: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_1709: callvirt Void Add(Verse.FloatMenuOption)
L_170e: Label #121
L_170e: Label #122
L_170e: Label #123
L_170e: ldarg.0
L_170f: call RimWorld.TargetingParameters ForTrade()
L_1714: ldc.i4.1
L_1715: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters, Boolean)
L_171a: callvirt IEnumerator`1 GetEnumerator()
L_171f: stloc.s 30 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1721: br Label #124
L_1726: Label #130
L_1726: ldloc.s 30 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1728: callvirt LocalTargetInfo get_Current()
L_172d: stloc.s 29 (Verse.LocalTargetInfo)
L_172f: ldloc.s 29 (Verse.LocalTargetInfo)
L_1731: stloc.s 31 (Verse.LocalTargetInfo)
L_1733: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1735: ldfld Verse.Pawn pawn
L_173a: ldloc.s 31 (Verse.LocalTargetInfo)
L_173c: ldc.i4.1
L_173d: ldc.i4.3
L_173e: ldc.i4.0
L_173f: ldc.i4.1
L_1740: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_1745: brtrue Label #125
L_174a: ldarg.2
L_174b: ldstr "CannotTrade"
L_1750: call System.String Translate(System.String)
L_1755: ldstr " ("
L_175a: ldstr "NoPath"
L_175f: call System.String Translate(System.String)
L_1764: ldstr ")"
L_1769: call System.String Concat(System.String, System.String, System.String, System.String)
L_176e: ldnull
L_176f: ldc.i4.4
L_1770: ldnull
L_1771: ldnull
L_1772: ldc.r4 0
L_1777: ldnull
L_1778: ldnull
L_1779: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_177e: callvirt Void Add(Verse.FloatMenuOption)
L_1783: br Label #126
L_1788: Label #125
L_1788: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_178a: ldfld Verse.Pawn pawn
L_178f: ldloca.s 31 (Verse.LocalTargetInfo)
L_1791: call Verse.Thing get_Thing()
L_1796: call LocalTargetInfo op_Implicit(Verse.Thing)
L_179b: ldc.i4.1
L_179c: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_17a1: brtrue Label #127
L_17a6: ldarg.2
L_17a7: ldstr "CannotTrade"
L_17ac: call System.String Translate(System.String)
L_17b1: ldstr " ("
L_17b6: ldstr "Reserved"
L_17bb: call System.String Translate(System.String)
L_17c0: ldstr ")"
L_17c5: call System.String Concat(System.String, System.String, System.String, System.String)
L_17ca: ldnull
L_17cb: ldc.i4.4
L_17cc: ldnull
L_17cd: ldnull
L_17ce: ldc.r4 0
L_17d3: ldnull
L_17d4: ldnull
L_17d5: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_17da: callvirt Void Add(Verse.FloatMenuOption)
L_17df: br Label #128
L_17e4: Label #127
L_17e4: newobj Void .ctor()
L_17e9: stloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_17eb: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_17ed: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_17ef: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_17f4: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_17f6: ldloca.s 31 (Verse.LocalTargetInfo)
L_17f8: call Verse.Thing get_Thing()
L_17fd: castclass Verse.Pawn
L_1802: stfld Verse.Pawn pTarg
L_1807: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_1809: ldftn Void <>m__556()
L_180f: newobj Void .ctor(Object, IntPtr)
L_1814: stloc.s 32 (System.Action)
L_1816: ldsfld System.String Empty
L_181b: stloc.s 33 (System.String)
L_181d: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_181f: ldfld Verse.Pawn pTarg
L_1824: callvirt RimWorld.Faction get_Faction()
L_1829: brfalse Label #129
L_182e: ldstr " ("
L_1833: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_1835: ldfld Verse.Pawn pTarg
L_183a: callvirt RimWorld.Faction get_Faction()
L_183f: callvirt System.String get_Name()
L_1844: ldstr ")"
L_1849: call System.String Concat(System.String, System.String, System.String)
L_184e: stloc.s 33 (System.String)
L_1850: Label #129
L_1850: ldarg.2
L_1851: ldloca.s 31 (Verse.LocalTargetInfo)
L_1853: call Verse.Thing get_Thing()
L_1858: stloc.s 53 (Verse.Thing)
L_185a: ldstr "TradeWith"
L_185f: ldc.i4.1
L_1860: newarr System.Object
L_1865: dup
L_1866: ldc.i4.0
L_1867: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_1869: ldfld Verse.Pawn pTarg
L_186e: callvirt System.String get_LabelShort()
L_1873: ldstr ", "
L_1878: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_187a: ldfld Verse.Pawn pTarg
L_187f: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1884: ldfld System.String label
L_1889: call System.String Concat(System.String, System.String, System.String)
L_188e: stelem.ref
L_188f: call System.String Translate(System.String, System.Object[])
L_1894: ldloc.s 33 (System.String)
L_1896: call System.String Concat(System.String, System.String)
L_189b: ldloc.s 32 (System.Action)
L_189d: ldc.i4.7
L_189e: ldnull
L_189f: ldloc.s 53 (Verse.Thing)
L_18a1: ldc.r4 0
L_18a6: ldnull
L_18a7: ldnull
L_18a8: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_18ad: callvirt Void Add(Verse.FloatMenuOption)
L_18b2: Label #124
L_18b2: Label #126
L_18b2: Label #128
L_18b2: ldloc.s 30 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_18b4: callvirt Boolean MoveNext()
L_18b9: brtrue Label #130
L_18be: leave Label #131
L_18c3: ldloc.s 30 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_18c5: brtrue Label #132
L_18ca: endfinally
L_18cb: Label #132
L_18cb: ldloc.s 30 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_18cd: callvirt Void Dispose()
L_18d2: endfinally
L_18d3: Label #131
L_18d3: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_18d5: ldfld Verse.Pawn pawn
L_18da: callvirt Verse.Map get_Map()
L_18df: ldfld Verse.ThingGrid thingGrid
L_18e4: ldloc.0
L_18e5: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_18ea: callvirt IEnumerator`1 GetEnumerator()
L_18ef: stloc.s 35 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_18f1: br Label #133
L_18f6: Label #138
L_18f6: ldloc.s 35 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_18f8: callvirt Verse.Thing get_Current()
L_18fd: stloc.s 34 (Verse.Thing)
L_18ff: ldloc.s 34 (Verse.Thing)
L_1901: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1903: ldfld Verse.Pawn pawn
L_1908: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_190d: callvirt IEnumerator`1 GetEnumerator()
L_1912: stloc.s 37 (System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1914: br Label #134
L_1919: Label #135
L_1919: ldloc.s 37 (System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_191b: callvirt Verse.FloatMenuOption get_Current()
L_1920: stloc.s 36 (Verse.FloatMenuOption)
L_1922: ldarg.2
L_1923: ldloc.s 36 (Verse.FloatMenuOption)
L_1925: callvirt Void Add(Verse.FloatMenuOption)
L_192a: Label #134
L_192a: ldloc.s 37 (System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_192c: callvirt Boolean MoveNext()
L_1931: brtrue Label #135
L_1936: leave Label #136
L_193b: ldloc.s 37 (System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_193d: brtrue Label #137
L_1942: endfinally
L_1943: Label #137
L_1943: ldloc.s 37 (System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1945: callvirt Void Dispose()
L_194a: endfinally
L_194b: Label #133
L_194b: Label #136
L_194b: ldloc.s 35 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_194d: callvirt Boolean MoveNext()
L_1952: brtrue Label #138
L_1957: leave Label #139
L_195c: ldloc.s 35 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_195e: brtrue Label #140
L_1963: endfinally
L_1964: Label #140
L_1964: ldloc.s 35 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1966: callvirt Void Dispose()
L_196b: endfinally
L_196c: Label #139
L_196c: br Label #0
L_1971: Label #0
L_1971: ldarga 2
L_1977: ldarg 1
L_197d: ldarg 0
L_1983: call Void AddHumanlikeOrdersPostfix(System.Collections.Generic.List`1[Verse.FloatMenuOption] ByRef, Verse.Pawn, Vector3)
L_1988: ret
DONE

PATCHING Verse.Pawn Void SetFaction(RimWorld.Faction, Verse.Pawn)
L_0000: Local var #0 Verse.AI.Group.Lord
L_0000: Local var #1 RimWorld.MedicalCareCategory
L_0000: ldarg.1
L_0001: ldarg.0
L_0002: call RimWorld.Faction get_Faction()
L_0007: bne.un Label #2
L_000c: ldc.i4.4
L_000d: newarr System.Object
L_0012: dup
L_0013: ldc.i4.0
L_0014: ldstr "Used SetFaction to change "
L_0019: stelem.ref
L_001a: dup
L_001b: ldc.i4.1
L_001c: ldarg.0
L_001d: stelem.ref
L_001e: dup
L_001f: ldc.i4.2
L_0020: ldstr " to same faction "
L_0025: stelem.ref
L_0026: dup
L_0027: ldc.i4.3
L_0028: ldarg.1
L_0029: stelem.ref
L_002a: call System.String Concat(System.Object[])
L_002f: call Void Warning(System.String)
L_0034: br Label #0
L_0039: Label #2
L_0039: ldarg.0
L_003a: ldfld RimWorld.Pawn_GuestTracker guest
L_003f: brfalse Label #3
L_0044: ldarg.0
L_0045: ldfld RimWorld.Pawn_GuestTracker guest
L_004a: ldnull
L_004b: ldc.i4.0
L_004c: callvirt Void SetGuestStatus(RimWorld.Faction, Boolean)
L_0051: Label #3
L_0051: ldarg.0
L_0052: call Boolean get_Spawned()
L_0057: brfalse Label #4
L_005c: ldarg.0
L_005d: call Verse.Map get_Map()
L_0062: ldfld Verse.MapPawns mapPawns
L_0067: ldarg.0
L_0068: callvirt Void DeRegisterPawn(Verse.Pawn)
L_006d: ldarg.0
L_006e: call Verse.Map get_Map()
L_0073: ldfld Verse.PawnDestinationManager pawnDestinationManager
L_0078: ldarg.0
L_0079: callvirt Void RemovePawnFromSystem(Verse.Pawn)
L_007e: ldarg.0
L_007f: call Verse.Map get_Map()
L_0084: ldfld Verse.DesignationManager designationManager
L_0089: ldarg.0
L_008a: ldc.i4.0
L_008b: callvirt Void RemoveAllDesignationsOn(Verse.Thing, Boolean)
L_0090: Label #4
L_0090: ldarg.1
L_0091: call RimWorld.Faction get_OfPlayer()
L_0096: beq Label #5
L_009b: ldarg.0
L_009c: call RimWorld.Faction get_Faction()
L_00a1: call RimWorld.Faction get_OfPlayer()
L_00a6: bne.un Label #6
L_00ab: Label #5
L_00ab: call RimWorld.ColonistBar get_ColonistBar()
L_00b0: callvirt Void MarkColonistsDirty()
L_00b5: Label #6
L_00b5: ldarg.0
L_00b6: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00bb: stloc.0
L_00bc: ldloc.0
L_00bd: brfalse Label #7
L_00c2: ldloc.0
L_00c3: ldarg.0
L_00c4: ldc.i4.4
L_00c5: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition)
L_00ca: Label #7
L_00ca: ldarg.0
L_00cb: call RimWorld.Faction get_Faction()
L_00d0: brfalse Label #8
L_00d5: ldarg.0
L_00d6: call RimWorld.Faction get_Faction()
L_00db: ldfld Verse.Pawn leader
L_00e0: ldarg.0
L_00e1: bne.un Label #9
L_00e6: ldarg.0
L_00e7: call RimWorld.Faction get_Faction()
L_00ec: callvirt Void Notify_LeaderLost()
L_00f1: Label #8
L_00f1: Label #9
L_00f1: ldarg.1
L_00f2: call RimWorld.Faction get_OfPlayer()
L_00f7: bne.un Label #10
L_00fc: ldarg.0
L_00fd: call Verse.RaceProperties get_RaceProps()
L_0102: callvirt Boolean get_Humanlike()
L_0107: brfalse Label #11
L_010c: ldarg.0
L_010d: ldarg.1
L_010e: ldfld RimWorld.FactionDef def
L_0113: ldfld Verse.PawnKindDef basicMemberKind
L_0118: stfld Verse.PawnKindDef kindDef
L_011d: Label #10
L_011d: Label #11
L_011d: ldarg.0
L_011e: ldarg.1
L_011f: ldnull
L_0120: call Void SetFaction(RimWorld.Faction, Verse.Pawn)
L_0125: ldarg.0
L_0126: ldc.i4.0
L_0127: call Void AddAndRemoveDynamicComponents(Verse.Pawn, Boolean)
L_012c: ldarg.0
L_012d: call RimWorld.Faction get_Faction()
L_0132: brfalse Label #12
L_0137: ldarg.0
L_0138: call RimWorld.Faction get_Faction()
L_013d: callvirt Boolean get_IsPlayer()
L_0142: brfalse Label #13
L_0147: ldarg.0
L_0148: ldfld RimWorld.Pawn_WorkSettings workSettings
L_014d: brfalse Label #14
L_0152: ldarg.0
L_0153: ldfld RimWorld.Pawn_WorkSettings workSettings
L_0158: callvirt Void EnableAndInitialize()
L_015d: Label #14
L_015d: call RimWorld.Storyteller get_Storyteller()
L_0162: ldfld RimWorld.StoryIntender_Population intenderPopulation
L_0167: callvirt Void Notify_PopulationGained()
L_016c: Label #12
L_016c: Label #13
L_016c: ldarg.0
L_016d: call Boolean get_Drafted()
L_0172: brfalse Label #15
L_0177: ldarg.0
L_0178: ldfld RimWorld.Pawn_DraftController drafter
L_017d: ldc.i4.0
L_017e: callvirt Void set_Drafted(Boolean)
L_0183: Label #15
L_0183: call Void ClearCache()
L_0188: ldarg.0
L_0189: ldfld Verse.Pawn_HealthTracker health
L_018e: ldfld RimWorld.BillStack surgeryBills
L_0193: callvirt Void Clear()
L_0198: ldarg.0
L_0199: call Boolean get_Spawned()
L_019e: brfalse Label #16
L_01a3: ldarg.0
L_01a4: call Verse.Map get_Map()
L_01a9: ldfld Verse.MapPawns mapPawns
L_01ae: ldarg.0
L_01af: callvirt Void RegisterPawn(Verse.Pawn)
L_01b4: Label #16
L_01b4: ldarg.0
L_01b5: call Void GenerateNecessaryName()
L_01ba: ldarg.0
L_01bb: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_01c0: brfalse Label #17
L_01c5: ldarg.0
L_01c6: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_01cb: ldarg.0
L_01cc: call Verse.RaceProperties get_RaceProps()
L_01d1: callvirt Boolean get_Humanlike()
L_01d6: brfalse Label #18
L_01db: ldc.i4.4
L_01dc: br Label #19
L_01e1: Label #18
L_01e1: ldarg.0
L_01e2: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_01e7: ldc.i4.1
L_01e8: dup
L_01e9: stloc.1
L_01ea: stfld RimWorld.MedicalCareCategory medCare
L_01ef: ldloc.1
L_01f0: Label #19
L_01f0: stfld RimWorld.MedicalCareCategory medCare
L_01f5: Label #17
L_01f5: ldarg.0
L_01f6: ldc.i4.1
L_01f7: call Void ClearMind(Boolean)
L_01fc: ldarg.0
L_01fd: call Boolean get_Dead()
L_0202: brtrue Label #20
L_0207: ldarg.0
L_0208: ldfld RimWorld.Pawn_NeedsTracker needs
L_020d: ldfld RimWorld.Need_Mood mood
L_0212: brfalse Label #21
L_0217: ldarg.0
L_0218: ldfld RimWorld.Pawn_NeedsTracker needs
L_021d: ldfld RimWorld.Need_Mood mood
L_0222: ldfld RimWorld.ThoughtHandler thoughts
L_0227: ldfld RimWorld.SituationalThoughtHandler situational
L_022c: callvirt Void Notify_SituationalThoughtsDirty()
L_0231: Label #20
L_0231: Label #21
L_0231: ldarg.0
L_0232: call Boolean get_Spawned()
L_0237: brfalse Label #22
L_023c: ldarg.0
L_023d: call Verse.Map get_Map()
L_0242: ldfld Verse.AI.AttackTargetsCache attackTargetsCache
L_0247: ldarg.0
L_0248: callvirt Void UpdateTarget(IAttackTarget)
L_024d: Label #22
L_024d: call RimWorld.GameEnder get_GameEnder()
L_0252: callvirt Void CheckGameOver()
L_0257: ldarg.0
L_0258: call Void CheckDrugAddictionTeachOpportunity(Verse.Pawn)
L_025d: ldarg.0
L_025e: ldfld RimWorld.Pawn_NeedsTracker needs
L_0263: brfalse Label #23
L_0268: ldarg.0
L_0269: ldfld RimWorld.Pawn_NeedsTracker needs
L_026e: callvirt Void AddOrRemoveNeedsAsAppropriate()
L_0273: Label #23
L_0273: ldarg.0
L_0274: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0279: brfalse Label #24
L_027e: ldarg.0
L_027f: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0284: callvirt Void Notify_FactionChanged()
L_0289: Label #24
L_0289: br Label #0
L_028e: Label #0
L_028e: ldarg.0
L_028f: ldarg 1
L_0295: call Void SetFactionPostfix(Verse.Pawn, RimWorld.Faction)
L_029a: ret
DONE

PATCHING Verse.Thing Void SetFactionDirect(RimWorld.Faction)
L_0000: ldarg.0
L_0001: ldfld Verse.ThingDef def
L_0006: callvirt Boolean get_CanHaveFaction()
L_000b: brtrue Label #2
L_0010: ldstr "Tried to SetFactionDirect on "
L_0015: ldarg.0
L_0016: ldstr " which cannot have a faction."
L_001b: call System.String Concat(System.Object, System.Object, System.Object)
L_0020: call Void Error(System.String)
L_0025: br Label #0
L_002a: Label #2
L_002a: ldarg.0
L_002b: ldarg.1
L_002c: stfld RimWorld.Faction factionInt
L_0031: br Label #0
L_0036: Label #0
L_0036: ldarg.0
L_0037: ldarg 1
L_003d: call Void SetFactionDirectPostfix(Verse.Thing, RimWorld.Faction)
L_0042: ret
DONE

PATCHING RimWorld.JobGiver_OptimizeApparel Single ApparelScoreGain(Verse.Pawn, RimWorld.Apparel)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 System.Boolean
L_0000: Local var #3 System.Int32
L_0000: Local var #4 System.Single
L_0000: ldc.r4 0
L_0005: stloc 4 (System.Single)
L_0007: ldarg.1
L_0008: ldfld Verse.ThingDef def
L_000d: ldsfld Verse.ThingDef Apparel_PersonalShield
L_0012: bne.un Label #2
L_0017: ldarg.0
L_0018: ldfld Verse.Pawn_EquipmentTracker equipment
L_001d: callvirt Verse.ThingWithComps get_Primary()
L_0022: brfalse Label #3
L_0027: ldarg.0
L_0028: ldfld Verse.Pawn_EquipmentTracker equipment
L_002d: callvirt Verse.ThingWithComps get_Primary()
L_0032: ldfld Verse.ThingDef def
L_0037: callvirt System.Collections.Generic.List`1[Verse.VerbProperties] get_Verbs()
L_003c: ldc.i4.0
L_003d: callvirt Verse.VerbProperties get_Item(Int32)
L_0042: callvirt Boolean get_MeleeRange()
L_0047: brtrue Label #4
L_004c: ldc.r4 -1000
L_0051: br Label #0
L_0056: Label #2
L_0056: Label #3
L_0056: Label #4
L_0056: ldarg.1
L_0057: call Single ApparelScoreRaw(RimWorld.Apparel)
L_005c: stloc.0
L_005d: ldarg.0
L_005e: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0063: callvirt System.Collections.Generic.List`1[RimWorld.Apparel] get_WornApparel()
L_0068: stloc.1
L_0069: ldc.i4.0
L_006a: stloc.2
L_006b: ldc.i4.0
L_006c: stloc.3
L_006d: br Label #5
L_0072: Label #8
L_0072: ldloc.1
L_0073: ldloc.3
L_0074: callvirt RimWorld.Apparel get_Item(Int32)
L_0079: ldfld Verse.ThingDef def
L_007e: ldarg.1
L_007f: ldfld Verse.ThingDef def
L_0084: call Boolean CanWearTogether(Verse.ThingDef, Verse.ThingDef)
L_0089: brtrue Label #6
L_008e: ldarg.0
L_008f: ldfld RimWorld.Pawn_OutfitTracker outfits
L_0094: ldfld RimWorld.OutfitForcedHandler forcedHandler
L_0099: ldloc.1
L_009a: ldloc.3
L_009b: callvirt RimWorld.Apparel get_Item(Int32)
L_00a0: callvirt Boolean AllowedToAutomaticallyDrop(RimWorld.Apparel)
L_00a5: brtrue Label #7
L_00aa: ldc.r4 -1000
L_00af: br Label #0
L_00b4: Label #7
L_00b4: ldloc.0
L_00b5: ldloc.1
L_00b6: ldloc.3
L_00b7: callvirt RimWorld.Apparel get_Item(Int32)
L_00bc: call Single ApparelScoreRaw(RimWorld.Apparel)
L_00c1: sub
L_00c2: stloc.0
L_00c3: ldc.i4.1
L_00c4: stloc.2
L_00c5: Label #6
L_00c5: ldloc.3
L_00c6: ldc.i4.1
L_00c7: add
L_00c8: stloc.3
L_00c9: Label #5
L_00c9: ldloc.3
L_00ca: ldloc.1
L_00cb: callvirt Int32 get_Count()
L_00d0: blt Label #8
L_00d5: ldloc.2
L_00d6: brtrue Label #9
L_00db: ldloc.0
L_00dc: ldc.r4 10
L_00e1: mul
L_00e2: stloc.0
L_00e3: Label #9
L_00e3: ldloc.0
L_00e4: br Label #0
L_00e9: Label #0
L_00e9: stloc 4 (System.Single)
L_00eb: ldarg 0
L_00f1: ldarg 1
L_00f7: ldloca 4 (System.Single)
L_00f9: call Void ApparelScoreGainPostFix(Verse.Pawn, RimWorld.Apparel, Single ByRef)
L_00fe: ldloc 4 (System.Single)
L_0100: ret
DONE

PATCHING Apini.WorkGiver_FillFermentingVat Verse.AI.Job JobOnThing(Verse.Pawn, Verse.Thing)
L_0000: Local var #0 Apini.Building_FermentingVat
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: nop
L_0003: ldarg.2
L_0004: castclass Apini.Building_FermentingVat
L_0009: stloc.0
L_000a: ldarg.0
L_000b: ldarg.1
L_000c: ldloc.0
L_000d: call Verse.Thing FindInputThing(Verse.Pawn, Apini.Building_FermentingVat)
L_0012: stloc.1
L_0013: ldarg.0
L_0014: call Verse.JobDef get_JobDefToUse()
L_0019: ldarg.2
L_001a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_001f: ldloc.1
L_0020: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0025: newobj Void .ctor(JobDef, LocalTargetInfo, LocalTargetInfo)
L_002a: dup
L_002b: ldloc.0
L_002c: callvirt Int32 get_SpaceLeftForInput()
L_0031: stfld System.Int32 count
L_0036: stloc.2
L_0037: br Label #2
L_003c: Label #2
L_003c: ldloc.2
L_003d: br Label #0
L_0042: Label #0
L_0042: stloc 3 (Verse.AI.Job)
L_0043: ldarg.0
L_0044: ldarg 1
L_004a: ldloca 3 (Verse.AI.Job)
L_004c: call Void GenericJobOnThingPostfix(RimWorld.WorkGiver, Verse.Pawn, Verse.AI.Job ByRef)
L_0051: ldloc 3 (Verse.AI.Job)
L_0052: ret
DONE

PATCHING Apini.WorkGiver_FillFermentingVat Boolean HasJobOnThing(Verse.Pawn, Verse.Thing)
L_0000: Local var #0 Apini.Building_FermentingVat
L_0000: Local var #1 System.Single
L_0000: Local var #2 RimWorld.CompProperties_TemperatureRuinable
L_0000: Local var #3 Apini.WorkGiverDynamicDef
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.Boolean
L_0000: Local var #8 System.Boolean
L_0000: Local var #9 System.Boolean
L_0000: Local var #10 System.Boolean
L_0000: Local var #11 System.Boolean
L_0000: Local var #12 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 12 (System.Boolean)
L_0007: nop
L_0008: ldarg.2
L_0009: isinst Apini.Building_FermentingVat
L_000e: stloc.0
L_000f: ldloc.0
L_0010: brfalse Label #2
L_0015: ldloc.0
L_0016: callvirt Boolean get_Fermented()
L_001b: brtrue Label #3
L_0020: ldloc.0
L_0021: callvirt Int32 get_SpaceLeftForInput()
L_0026: ldc.i4.0
L_0027: cgt
L_0029: ldc.i4.0
L_002a: ceq
L_002c: br Label #4
L_0031: Label #2
L_0031: Label #3
L_0031: ldc.i4.1
L_0032: Label #4
L_0032: stloc.s 4 (System.Boolean)
L_0034: ldloc.s 4 (System.Boolean)
L_0036: brfalse Label #5
L_003b: nop
L_003c: ldc.i4.0
L_003d: stloc.s 5 (System.Boolean)
L_003f: br Label #6
L_0044: Label #5
L_0044: ldloc.0
L_0045: callvirt IntVec3 get_Position()
L_004a: ldloc.0
L_004b: callvirt Verse.Map get_Map()
L_0050: call Single GetTemperature(IntVec3, Verse.Map)
L_0055: stloc.1
L_0056: ldloc.0
L_0057: ldfld Verse.ThingDef def
L_005c: callvirt RimWorld.CompProperties_TemperatureRuinable GetCompProperties[CompProperties_TemperatureRuinable]()
L_0061: stloc.2
L_0062: ldloc.1
L_0063: ldloc.2
L_0064: ldfld System.Single minSafeTemperature
L_0069: ldc.r4 2
L_006e: add
L_006f: blt Label #7
L_0074: ldloc.1
L_0075: ldloc.2
L_0076: ldfld System.Single maxSafeTemperature
L_007b: ldc.r4 2
L_0080: sub
L_0081: cgt
L_0083: br Label #8
L_0088: Label #7
L_0088: ldc.i4.1
L_0089: Label #8
L_0089: stloc.s 6 (System.Boolean)
L_008b: ldloc.s 6 (System.Boolean)
L_008d: brfalse Label #9
L_0092: nop
L_0093: ldarg.0
L_0094: call Void Reset()
L_0099: nop
L_009a: ldarg.0
L_009b: ldfld System.String TemperatureTrans
L_00a0: call Void Is(System.String)
L_00a5: nop
L_00a6: ldc.i4.0
L_00a7: stloc.s 5 (System.Boolean)
L_00a9: br Label #10
L_00ae: Label #9
L_00ae: ldarg.2
L_00af: ldarg.1
L_00b0: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_00b5: brtrue Label #11
L_00ba: ldarg.1
L_00bb: ldarg.2
L_00bc: call LocalTargetInfo op_Implicit(Verse.Thing)
L_00c1: ldc.i4.2
L_00c2: ldarg.1
L_00c3: call Danger NormalMaxDanger(Verse.Pawn)
L_00c8: ldc.i4.1
L_00c9: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Int32)
L_00ce: ldc.i4.0
L_00cf: ceq
L_00d1: br Label #12
L_00d6: Label #11
L_00d6: ldc.i4.1
L_00d7: Label #12
L_00d7: stloc.s 7 (System.Boolean)
L_00d9: ldloc.s 7 (System.Boolean)
L_00db: brfalse Label #13
L_00e0: nop
L_00e1: ldc.i4.0
L_00e2: stloc.s 5 (System.Boolean)
L_00e4: br Label #14
L_00e9: Label #13
L_00e9: ldarg.1
L_00ea: callvirt Verse.Map get_Map()
L_00ef: ldfld Verse.DesignationManager designationManager
L_00f4: ldarg.2
L_00f5: ldsfld Verse.DesignationDef Deconstruct
L_00fa: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00ff: ldnull
L_0100: cgt.un
L_0102: stloc.s 8 (System.Boolean)
L_0104: ldloc.s 8 (System.Boolean)
L_0106: brfalse Label #15
L_010b: nop
L_010c: ldc.i4.0
L_010d: stloc.s 5 (System.Boolean)
L_010f: br Label #16
L_0114: Label #15
L_0114: ldarg.0
L_0115: ldarg.1
L_0116: ldloc.0
L_0117: call Verse.Thing FindInputThing(Verse.Pawn, Apini.Building_FermentingVat)
L_011c: ldnull
L_011d: ceq
L_011f: stloc.s 9 (System.Boolean)
L_0121: ldloc.s 9 (System.Boolean)
L_0123: brfalse Label #17
L_0128: nop
L_0129: ldarg.0
L_012a: call Void Reset()
L_012f: nop
L_0130: ldarg.0
L_0131: ldfld System.String NoInputTrans
L_0136: call Void Is(System.String)
L_013b: nop
L_013c: ldc.i4.0
L_013d: stloc.s 5 (System.Boolean)
L_013f: br Label #18
L_0144: Label #17
L_0144: ldarg.0
L_0145: ldfld RimWorld.WorkGiverDef def
L_014a: isinst Apini.WorkGiverDynamicDef
L_014f: stloc.3
L_0150: ldloc.3
L_0151: brfalse Label #19
L_0156: ldloc.3
L_0157: ldfld Verse.ThingDef inputThingDef
L_015c: ldnull
L_015d: cgt.un
L_015f: br Label #20
L_0164: Label #19
L_0164: ldc.i4.0
L_0165: Label #20
L_0165: stloc.s 10 (System.Boolean)
L_0167: ldloc.s 10 (System.Boolean)
L_0169: brfalse Label #21
L_016e: nop
L_016f: ldloc.0
L_0170: ldfld Verse.ThingDef def
L_0175: ldloc.3
L_0176: ldfld Verse.ThingDef inputThingDef
L_017b: ceq
L_017d: ldc.i4.0
L_017e: ceq
L_0180: stloc.s 11 (System.Boolean)
L_0182: ldloc.s 11 (System.Boolean)
L_0184: brfalse Label #22
L_0189: ldc.i4.0
L_018a: stloc.s 5 (System.Boolean)
L_018c: br Label #23
L_0191: Label #22
L_0191: nop
L_0192: Label #21
L_0192: ldarg.2
L_0193: call Boolean IsBurning(Verse.Thing)
L_0198: ldc.i4.0
L_0199: ceq
L_019b: stloc.s 5 (System.Boolean)
L_019d: br Label #24
L_01a2: Label #6
L_01a2: Label #10
L_01a2: Label #14
L_01a2: Label #16
L_01a2: Label #18
L_01a2: Label #23
L_01a2: Label #24
L_01a2: ldloc.s 5 (System.Boolean)
L_01a4: br Label #0
L_01a9: Label #0
L_01a9: stloc 12 (System.Boolean)
L_01ab: ldarg.0
L_01ac: ldarg 1
L_01b2: ldloca 12 (System.Boolean)
L_01b4: call Void GenericHasJobOnThingPostfix(RimWorld.WorkGiver, Verse.Pawn, Boolean ByRef)
L_01b9: ldloc 12 (System.Boolean)
L_01bb: ret
DONE

PATCHING Apini.WorkGiver_TakeThingOutOfFermenter Verse.AI.Job JobOnThing(Verse.Pawn, Verse.Thing)
L_0000: Local var #0 Verse.AI.Job
L_0000: Local var #1 Verse.AI.Job
L_0000: ldnull
L_0001: stloc 1 (Verse.AI.Job)
L_0002: nop
L_0003: ldarg.0
L_0004: call Verse.JobDef get_JobDefToUse()
L_0009: ldarg.2
L_000a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_000f: newobj Void .ctor(JobDef, LocalTargetInfo)
L_0014: stloc.0
L_0015: br Label #2
L_001a: Label #2
L_001a: ldloc.0
L_001b: br Label #0
L_0020: Label #0
L_0020: stloc 1 (Verse.AI.Job)
L_0021: ldarg.0
L_0022: ldarg 1
L_0028: ldloca 1 (Verse.AI.Job)
L_002a: call Void GenericJobOnThingPostfix(RimWorld.WorkGiver, Verse.Pawn, Verse.AI.Job ByRef)
L_002f: ldloc 1 (Verse.AI.Job)
L_0030: ret
DONE

PATCHING Apini.WorkGiver_TakeThingOutOfFermenter Boolean HasJobOnThing(Verse.Pawn, Verse.Thing)
L_0000: Local var #0 Apini.Building_FermentingVat
L_0000: Local var #1 Apini.WorkGiverDynamicDef
L_0000: Local var #2 System.Boolean
L_0000: Local var #3 System.Boolean
L_0000: Local var #4 System.Boolean
L_0000: Local var #5 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 5 (System.Boolean)
L_0007: nop
L_0008: ldarg.2
L_0009: isinst Apini.Building_FermentingVat
L_000e: stloc.0
L_000f: ldarg.0
L_0010: ldfld RimWorld.WorkGiverDef def
L_0015: isinst Apini.WorkGiverDynamicDef
L_001a: stloc.1
L_001b: ldloc.1
L_001c: brfalse Label #2
L_0021: ldloc.1
L_0022: ldfld Verse.ThingDef outputThingDef
L_0027: ldnull
L_0028: cgt.un
L_002a: br Label #3
L_002f: Label #2
L_002f: ldc.i4.0
L_0030: Label #3
L_0030: stloc.2
L_0031: ldloc.2
L_0032: brfalse Label #4
L_0037: nop
L_0038: ldloc.0
L_0039: ldfld Verse.ThingDef def
L_003e: ldloc.1
L_003f: ldfld Verse.ThingDef outputThingDef
L_0044: ceq
L_0046: ldc.i4.0
L_0047: ceq
L_0049: stloc.3
L_004a: ldloc.3
L_004b: brfalse Label #5
L_0050: ldc.i4.0
L_0051: stloc.s 4 (System.Boolean)
L_0053: br Label #6
L_0058: Label #5
L_0058: nop
L_0059: Label #4
L_0059: ldloc.0
L_005a: brfalse Label #7
L_005f: ldloc.0
L_0060: callvirt Boolean get_Fermented()
L_0065: brfalse Label #8
L_006a: ldarg.2
L_006b: call Boolean IsBurning(Verse.Thing)
L_0070: brtrue Label #9
L_0075: ldarg.2
L_0076: ldarg.1
L_0077: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_007c: brtrue Label #10
L_0081: ldarg.1
L_0082: ldarg.2
L_0083: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0088: ldc.i4.2
L_0089: ldarg.1
L_008a: call Danger NormalMaxDanger(Verse.Pawn)
L_008f: ldc.i4.1
L_0090: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Int32)
L_0095: br Label #11
L_009a: Label #7
L_009a: Label #8
L_009a: Label #9
L_009a: Label #10
L_009a: ldc.i4.0
L_009b: Label #11
L_009b: stloc.s 4 (System.Boolean)
L_009d: br Label #12
L_00a2: Label #6
L_00a2: Label #12
L_00a2: ldloc.s 4 (System.Boolean)
L_00a4: br Label #0
L_00a9: Label #0
L_00a9: stloc 5 (System.Boolean)
L_00ab: ldarg.0
L_00ac: ldarg 1
L_00b2: ldloca 5 (System.Boolean)
L_00b4: call Void GenericHasJobOnThingPostfix(RimWorld.WorkGiver, Verse.Pawn, Boolean ByRef)
L_00b9: ldloc 5 (System.Boolean)
L_00bb: ret
DONE

PATCHING RimWorld.ThoughtHandler Boolean CanGetThought(RimWorld.ThoughtDef)
L_0000: Local var #0 System.Int32
L_0000: Local var #1 System.Int32
L_0000: Local var #2 System.Boolean
L_0000: Local var #3 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldstr "CanGetThought()"
L_000b: call Void BeginSample(System.String)
L_0010: ldarg.1
L_0011: ldfld System.Boolean validWhileDespawned
L_0016: brtrue Label #2
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: callvirt Boolean get_Spawned()
L_0026: brtrue Label #3
L_002b: ldarg.1
L_002c: callvirt Boolean get_IsMemory()
L_0031: brtrue Label #4
L_0036: ldc.i4.0
L_0037: stloc.2
L_0038: leave Label #5
L_003d: Label #2
L_003d: Label #3
L_003d: Label #4
L_003d: ldarg.1
L_003e: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] nullifyingTraits
L_0043: brfalse Label #6
L_0048: ldc.i4.0
L_0049: stloc.0
L_004a: br Label #7
L_004f: Label #10
L_004f: ldarg.0
L_0050: ldfld Verse.Pawn pawn
L_0055: ldfld RimWorld.Pawn_StoryTracker story
L_005a: ldfld RimWorld.TraitSet traits
L_005f: ldarg.1
L_0060: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] nullifyingTraits
L_0065: ldloc.0
L_0066: callvirt RimWorld.TraitDef get_Item(Int32)
L_006b: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0070: brfalse Label #8
L_0075: ldc.i4.0
L_0076: stloc.2
L_0077: leave Label #9
L_007c: Label #8
L_007c: ldloc.0
L_007d: ldc.i4.1
L_007e: add
L_007f: stloc.0
L_0080: Label #7
L_0080: ldloc.0
L_0081: ldarg.1
L_0082: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] nullifyingTraits
L_0087: callvirt Int32 get_Count()
L_008c: blt Label #10
L_0091: Label #6
L_0091: ldarg.1
L_0092: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] requiredTraits
L_0097: brfalse Label #11
L_009c: ldc.i4.0
L_009d: stloc.1
L_009e: br Label #12
L_00a3: Label #18
L_00a3: ldarg.0
L_00a4: ldfld Verse.Pawn pawn
L_00a9: ldfld RimWorld.Pawn_StoryTracker story
L_00ae: ldfld RimWorld.TraitSet traits
L_00b3: ldarg.1
L_00b4: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] requiredTraits
L_00b9: ldloc.1
L_00ba: callvirt RimWorld.TraitDef get_Item(Int32)
L_00bf: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_00c4: brtrue Label #13
L_00c9: ldc.i4.0
L_00ca: stloc.2
L_00cb: leave Label #14
L_00d0: Label #13
L_00d0: ldarg.1
L_00d1: callvirt Boolean get_RequiresSpecificTraitsDegree()
L_00d6: brfalse Label #15
L_00db: ldarg.1
L_00dc: ldfld System.Int32 requiredTraitsDegree
L_00e1: ldarg.0
L_00e2: ldfld Verse.Pawn pawn
L_00e7: ldfld RimWorld.Pawn_StoryTracker story
L_00ec: ldfld RimWorld.TraitSet traits
L_00f1: ldarg.1
L_00f2: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] requiredTraits
L_00f7: ldloc.1
L_00f8: callvirt RimWorld.TraitDef get_Item(Int32)
L_00fd: callvirt Int32 DegreeOfTrait(RimWorld.TraitDef)
L_0102: beq Label #16
L_0107: ldc.i4.0
L_0108: stloc.2
L_0109: leave Label #17
L_010e: Label #15
L_010e: Label #16
L_010e: ldloc.1
L_010f: ldc.i4.1
L_0110: add
L_0111: stloc.1
L_0112: Label #12
L_0112: ldloc.1
L_0113: ldarg.1
L_0114: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] requiredTraits
L_0119: callvirt Int32 get_Count()
L_011e: blt Label #18
L_0123: Label #11
L_0123: ldarg.1
L_0124: ldfld System.Boolean nullifiedIfNotColonist
L_0129: brfalse Label #19
L_012e: ldarg.0
L_012f: ldfld Verse.Pawn pawn
L_0134: callvirt Boolean get_IsColonist()
L_0139: brtrue Label #20
L_013e: ldc.i4.0
L_013f: stloc.2
L_0140: leave Label #21
L_0145: Label #19
L_0145: Label #20
L_0145: ldarg.1
L_0146: ldarg.0
L_0147: ldfld Verse.Pawn pawn
L_014c: call Boolean IsSituationalThoughtNullifiedByHediffs(RimWorld.ThoughtDef, Verse.Pawn)
L_0151: brfalse Label #22
L_0156: ldc.i4.0
L_0157: stloc.2
L_0158: leave Label #23
L_015d: Label #22
L_015d: ldarg.1
L_015e: ldarg.0
L_015f: ldfld Verse.Pawn pawn
L_0164: call Boolean IsThoughtNullifiedByOwnTales(RimWorld.ThoughtDef, Verse.Pawn)
L_0169: brfalse Label #24
L_016e: ldc.i4.0
L_016f: stloc.2
L_0170: leave Label #25
L_0175: Label #24
L_0175: leave Label #26
L_017a: call Void EndSample()
L_017f: endfinally
L_0180: Label #26
L_0180: ldc.i4.1
L_0181: br Label #0
L_0186: Label #5
L_0186: Label #9
L_0186: Label #14
L_0186: Label #17
L_0186: Label #21
L_0186: Label #23
L_0186: Label #25
L_0186: ldloc.2
L_0187: br Label #0
L_018c: Label #0
L_018c: stloc 3 (System.Boolean)
L_018d: ldarg.0
L_018e: ldloca 3 (System.Boolean)
L_0190: ldarg 1
L_0196: call Void CanGetThoughtPostfix(RimWorld.ThoughtHandler, Boolean ByRef, RimWorld.ThoughtDef)
L_019b: ldloc 3 (System.Boolean)
L_019c: ret
DONE

PATCHING Verse.Corpse IEnumerable`1 ButcherProducts(Verse.Pawn, Single)
L_0000: Local var #0 Verse.Corpse+<ButcherProducts>c__Iterator200
L_0000: Local var #1 System.Collections.Generic.IEnumerable`1[[Verse.Thing, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Thing])
L_0002: ldarg 1
L_0008: ldarg 2
L_000e: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Thing])
L_0010: ldarg.0
L_0011: call Boolean ButcherProductsPrefix(Verse.Pawn, Single, IEnumerable`1 ByRef, Verse.Corpse)
L_0016: brfalse Label #1
L_001b: newobj Void .ctor()
L_0020: stloc.0
L_0021: ldloc.0
L_0022: ldarg.1
L_0023: stfld Verse.Pawn butcher
L_0028: ldloc.0
L_0029: ldarg.2
L_002a: stfld System.Single efficiency
L_002f: ldloc.0
L_0030: ldarg.1
L_0031: stfld Verse.Pawn <$>butcher
L_0036: ldloc.0
L_0037: ldarg.2
L_0038: stfld System.Single <$>efficiency
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: stfld Verse.Corpse <>f__this
L_0044: ldloc.0
L_0045: dup
L_0046: ldc.i4.s -2
L_0048: stfld System.Int32 $PC
L_004d: br Label #0
L_0052: Label #0
L_0052: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Thing])
L_0053: Label #1
L_0053: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Thing])
L_0054: ret
DONE

PATCHING RimWorld.FoodUtility System.Collections.Generic.List`1[RimWorld.ThoughtDef] ThoughtsFromIngesting(Verse.Pawn, Verse.Thing)
L_0000: Local var #0 Verse.ThingDef
L_0000: Local var #1 RimWorld.CompIngredients
L_0000: Local var #2 System.Int32
L_0000: Local var #3 Verse.ThingDef
L_0000: Local var #4 System.Collections.Generic.List`1[[RimWorld.ThoughtDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 4 (System.Collections.Generic.List`1[RimWorld.ThoughtDef])
L_0003: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_0008: callvirt Void Clear()
L_000d: ldarg.0
L_000e: ldfld RimWorld.Pawn_NeedsTracker needs
L_0013: brfalse Label #2
L_0018: ldarg.0
L_0019: ldfld RimWorld.Pawn_NeedsTracker needs
L_001e: ldfld RimWorld.Need_Mood mood
L_0023: brtrue Label #3
L_0028: Label #2
L_0028: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_002d: br Label #0
L_0032: Label #3
L_0032: ldarg.1
L_0033: ldfld Verse.ThingDef def
L_0038: stloc.0
L_0039: ldloc.0
L_003a: ldsfld Verse.ThingDef NutrientPasteDispenser
L_003f: bne.un Label #4
L_0044: ldsfld Verse.ThingDef MealNutrientPaste
L_0049: stloc.0
L_004a: Label #4
L_004a: ldarg.0
L_004b: ldfld RimWorld.Pawn_StoryTracker story
L_0050: ldfld RimWorld.TraitSet traits
L_0055: ldsfld RimWorld.TraitDef Ascetic
L_005a: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_005f: brtrue Label #5
L_0064: ldloc.0
L_0065: ldfld RimWorld.IngestibleProperties ingestible
L_006a: ldfld RimWorld.ThoughtDef tasteThought
L_006f: brfalse Label #6
L_0074: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_0079: ldloc.0
L_007a: ldfld RimWorld.IngestibleProperties ingestible
L_007f: ldfld RimWorld.ThoughtDef tasteThought
L_0084: callvirt Void Add(RimWorld.ThoughtDef)
L_0089: Label #5
L_0089: Label #6
L_0089: ldarg.1
L_008a: call RimWorld.CompIngredients TryGetComp[CompIngredients](Verse.Thing)
L_008f: stloc.1
L_0090: ldloc.0
L_0091: call Boolean IsHumanlikeMeat(Verse.ThingDef)
L_0096: brfalse Label #7
L_009b: ldarg.0
L_009c: callvirt Verse.RaceProperties get_RaceProps()
L_00a1: callvirt Boolean get_Humanlike()
L_00a6: brfalse Label #8
L_00ab: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_00b0: ldarg.0
L_00b1: ldfld RimWorld.Pawn_StoryTracker story
L_00b6: ldfld RimWorld.TraitSet traits
L_00bb: ldsfld RimWorld.TraitDef Cannibal
L_00c0: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_00c5: brfalse Label #9
L_00ca: ldsfld RimWorld.ThoughtDef AteHumanlikeMeatDirectCannibal
L_00cf: br Label #10
L_00d4: Label #9
L_00d4: ldsfld RimWorld.ThoughtDef AteHumanlikeMeatDirect
L_00d9: Label #10
L_00d9: callvirt Void Add(RimWorld.ThoughtDef)
L_00de: br Label #11
L_00e3: Label #7
L_00e3: Label #8
L_00e3: ldloc.1
L_00e4: brfalse Label #12
L_00e9: ldc.i4.0
L_00ea: stloc.2
L_00eb: br Label #13
L_00f0: Label #21
L_00f0: ldloc.1
L_00f1: ldfld System.Collections.Generic.List`1[Verse.ThingDef] ingredients
L_00f6: ldloc.2
L_00f7: callvirt Verse.ThingDef get_Item(Int32)
L_00fc: stloc.3
L_00fd: ldloc.3
L_00fe: ldfld RimWorld.IngestibleProperties ingestible
L_0103: brfalse Label #14
L_0108: ldarg.0
L_0109: callvirt Verse.RaceProperties get_RaceProps()
L_010e: callvirt Boolean get_Humanlike()
L_0113: brfalse Label #15
L_0118: ldloc.3
L_0119: call Boolean IsHumanlikeMeat(Verse.ThingDef)
L_011e: brfalse Label #16
L_0123: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_0128: ldarg.0
L_0129: ldfld RimWorld.Pawn_StoryTracker story
L_012e: ldfld RimWorld.TraitSet traits
L_0133: ldsfld RimWorld.TraitDef Cannibal
L_0138: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_013d: brfalse Label #17
L_0142: ldsfld RimWorld.ThoughtDef AteHumanlikeMeatAsIngredientCannibal
L_0147: br Label #18
L_014c: Label #17
L_014c: ldsfld RimWorld.ThoughtDef AteHumanlikeMeatAsIngredient
L_0151: Label #18
L_0151: callvirt Void Add(RimWorld.ThoughtDef)
L_0156: br Label #19
L_015b: Label #15
L_015b: Label #16
L_015b: ldloc.3
L_015c: ldfld RimWorld.IngestibleProperties ingestible
L_0161: ldfld RimWorld.ThoughtDef specialThoughtAsIngredient
L_0166: brfalse Label #20
L_016b: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_0170: ldloc.3
L_0171: ldfld RimWorld.IngestibleProperties ingestible
L_0176: ldfld RimWorld.ThoughtDef specialThoughtAsIngredient
L_017b: callvirt Void Add(RimWorld.ThoughtDef)
L_0180: Label #14
L_0180: Label #19
L_0180: Label #20
L_0180: ldloc.2
L_0181: ldc.i4.1
L_0182: add
L_0183: stloc.2
L_0184: Label #13
L_0184: ldloc.2
L_0185: ldloc.1
L_0186: ldfld System.Collections.Generic.List`1[Verse.ThingDef] ingredients
L_018b: callvirt Int32 get_Count()
L_0190: blt Label #21
L_0195: br Label #22
L_019a: Label #12
L_019a: ldloc.0
L_019b: ldfld RimWorld.IngestibleProperties ingestible
L_01a0: ldfld RimWorld.ThoughtDef specialThoughtDirect
L_01a5: brfalse Label #23
L_01aa: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_01af: ldloc.0
L_01b0: ldfld RimWorld.IngestibleProperties ingestible
L_01b5: ldfld RimWorld.ThoughtDef specialThoughtDirect
L_01ba: callvirt Void Add(RimWorld.ThoughtDef)
L_01bf: Label #11
L_01bf: Label #22
L_01bf: Label #23
L_01bf: ldarg.1
L_01c0: call Boolean IsNotFresh(Verse.Thing)
L_01c5: brfalse Label #24
L_01ca: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_01cf: ldsfld RimWorld.ThoughtDef AteRottenFood
L_01d4: callvirt Void Add(RimWorld.ThoughtDef)
L_01d9: Label #24
L_01d9: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_01de: br Label #0
L_01e3: Label #0
L_01e3: stloc 4 (System.Collections.Generic.List`1[RimWorld.ThoughtDef])
L_01e5: ldarg 0
L_01eb: ldarg 1
L_01f1: ldloca 4 (System.Collections.Generic.List`1[RimWorld.ThoughtDef])
L_01f3: call Void ThoughtsFromIngestingPostfix(Verse.Pawn, Verse.Thing, System.Collections.Generic.List`1[RimWorld.ThoughtDef] ByRef)
L_01f8: ldloc 4 (System.Collections.Generic.List`1[RimWorld.ThoughtDef])
L_01fa: ret
DONE

PATCHING RimWorld.MemoryThoughtHandler Void TryGainMemoryThought(RimWorld.Thought_Memory, Verse.Pawn)
L_0000: Local var #0 System.Boolean
L_0000: ldarga 1
L_0006: ldarg.0
L_0007: call Boolean TryGainMemoryThoughtPrefix(RimWorld.Thought_Memory ByRef, RimWorld.MemoryThoughtHandler)
L_000c: brfalse Label #1
L_0011: ldarg.0
L_0012: ldfld Verse.Pawn pawn
L_0017: ldfld RimWorld.Pawn_NeedsTracker needs
L_001c: ldfld RimWorld.Need_Mood mood
L_0021: ldfld RimWorld.ThoughtHandler thoughts
L_0026: ldarg.1
L_0027: ldfld RimWorld.ThoughtDef def
L_002c: callvirt Boolean CanGetThought(RimWorld.ThoughtDef)
L_0031: brtrue Label #2
L_0036: br Label #0
L_003b: Label #2
L_003b: ldarg.1
L_003c: isinst RimWorld.Thought_MemorySocial
L_0041: brfalse Label #3
L_0046: ldarg.1
L_0047: ldfld Verse.Pawn otherPawn
L_004c: brtrue Label #4
L_0051: ldarg.2
L_0052: brtrue Label #5
L_0057: ldstr "Can't gain social thought "
L_005c: ldarg.1
L_005d: ldfld RimWorld.ThoughtDef def
L_0062: ldstr " because its otherPawn is null and otherPawn passed to this method is also null. Social thoughts must have otherPawn."
L_0067: call System.String Concat(System.Object, System.Object, System.Object)
L_006c: call Void Error(System.String)
L_0071: br Label #0
L_0076: Label #3
L_0076: Label #4
L_0076: Label #5
L_0076: ldarg.1
L_0077: ldarg.0
L_0078: ldfld Verse.Pawn pawn
L_007d: stfld Verse.Pawn pawn
L_0082: ldarg.1
L_0083: ldarg.2
L_0084: stfld Verse.Pawn otherPawn
L_0089: ldarg.1
L_008a: ldloca.s 0 (System.Boolean)
L_008c: callvirt Boolean TryMergeWithExistingThought(Boolean ByRef)
L_0091: brtrue Label #6
L_0096: ldarg.0
L_0097: ldfld System.Collections.Generic.List`1[RimWorld.Thought_Memory] memories
L_009c: ldarg.1
L_009d: callvirt Void Add(RimWorld.Thought_Memory)
L_00a2: Label #6
L_00a2: ldarg.1
L_00a3: ldfld RimWorld.ThoughtDef def
L_00a8: ldfld System.Int32 stackLimitPerPawn
L_00ad: ldc.i4.0
L_00ae: blt Label #7
L_00b3: br Label #8
L_00b8: Label #9
L_00b8: ldarg.0
L_00b9: ldarg.0
L_00ba: ldarg.1
L_00bb: call RimWorld.Thought_Memory OldestMemoryThoughtInGroup(RimWorld.Thought_Memory)
L_00c0: call Void RemoveMemoryThought(RimWorld.Thought_Memory)
L_00c5: Label #8
L_00c5: ldarg.0
L_00c6: ldarg.1
L_00c7: call Int32 NumMemoryThoughtsInGroup(RimWorld.Thought_Memory)
L_00cc: ldarg.1
L_00cd: ldfld RimWorld.ThoughtDef def
L_00d2: ldfld System.Int32 stackLimitPerPawn
L_00d7: bgt Label #9
L_00dc: Label #7
L_00dc: ldarg.1
L_00dd: ldfld RimWorld.ThoughtDef def
L_00e2: ldfld System.Int32 stackLimit
L_00e7: ldc.i4.0
L_00e8: blt Label #10
L_00ed: br Label #11
L_00f2: Label #12
L_00f2: ldarg.0
L_00f3: ldarg.0
L_00f4: ldarg.1
L_00f5: ldfld RimWorld.ThoughtDef def
L_00fa: call RimWorld.Thought_Memory OldestMemoryThoughtOfDef(RimWorld.ThoughtDef)
L_00ff: call Void RemoveMemoryThought(RimWorld.Thought_Memory)
L_0104: Label #11
L_0104: ldarg.0
L_0105: ldarg.1
L_0106: ldfld RimWorld.ThoughtDef def
L_010b: call Int32 NumMemoryThoughtsOfDef(RimWorld.ThoughtDef)
L_0110: ldarg.1
L_0111: ldfld RimWorld.ThoughtDef def
L_0116: ldfld System.Int32 stackLimit
L_011b: bgt Label #12
L_0120: Label #10
L_0120: ldarg.1
L_0121: ldfld RimWorld.ThoughtDef def
L_0126: ldfld RimWorld.ThoughtDef thoughtToMake
L_012b: brfalse Label #13
L_0130: ldarg.0
L_0131: ldarg.1
L_0132: ldfld RimWorld.ThoughtDef def
L_0137: ldfld RimWorld.ThoughtDef thoughtToMake
L_013c: ldarg.1
L_013d: ldfld Verse.Pawn otherPawn
L_0142: call Void TryGainMemoryThought(RimWorld.ThoughtDef, Verse.Pawn)
L_0147: Label #13
L_0147: ldloc.0
L_0148: brfalse Label #14
L_014d: ldarg.1
L_014e: ldfld RimWorld.ThoughtDef def
L_0153: ldfld System.Boolean showBubble
L_0158: brfalse Label #15
L_015d: ldarg.0
L_015e: ldfld Verse.Pawn pawn
L_0163: callvirt Boolean get_Spawned()
L_0168: brfalse Label #16
L_016d: ldarg.0
L_016e: ldfld Verse.Pawn pawn
L_0173: ldarg.1
L_0174: call RimWorld.MoteBubble MakeMoodThoughtBubble(Verse.Pawn, RimWorld.Thought)
L_0179: pop
L_017a: Label #14
L_017a: Label #15
L_017a: Label #16
L_017a: br Label #0
L_017f: Label #0
L_017f: Label #1
L_017f: ret
DONE

PATCHING RimWorld.SituationalThoughtHandler RimWorld.Thought_Situational TryCreateSituationalThought(RimWorld.ThoughtDef)
L_0000: Local var #0 RimWorld.Thought_Situational
L_0000: Local var #1 System.Exception
L_0000: Local var #2 RimWorld.Thought_Situational
L_0000: Local var #3 RimWorld.ThoughtState
L_0000: Local var #4 RimWorld.Thought_Situational
L_0000: ldnull
L_0001: stloc 4 (RimWorld.Thought_Situational)
L_0003: ldarga 1
L_0009: ldarg.0
L_000a: call Boolean TryCreateSituationalThoughtPrefix(RimWorld.ThoughtDef ByRef, RimWorld.SituationalThoughtHandler)
L_000f: brfalse Label #1
L_0014: ldnull
L_0015: stloc.0
L_0016: ldarg.0
L_0017: ldfld Verse.Pawn pawn
L_001c: ldfld RimWorld.Pawn_NeedsTracker needs
L_0021: ldfld RimWorld.Need_Mood mood
L_0026: ldfld RimWorld.ThoughtHandler thoughts
L_002b: ldarg.1
L_002c: callvirt Boolean CanGetThought(RimWorld.ThoughtDef)
L_0031: brtrue Label #2
L_0036: ldnull
L_0037: stloc.2
L_0038: leave Label #3
L_003d: Label #2
L_003d: ldarg.1
L_003e: callvirt RimWorld.ThoughtWorker get_Worker()
L_0043: ldarg.0
L_0044: ldfld Verse.Pawn pawn
L_0049: callvirt ThoughtState CurrentState(Verse.Pawn)
L_004e: stloc.3
L_004f: ldloca.s 3 (RimWorld.ThoughtState)
L_0051: call Boolean get_Active()
L_0056: brtrue Label #4
L_005b: ldnull
L_005c: stloc.2
L_005d: leave Label #5
L_0062: Label #4
L_0062: ldarg.1
L_0063: call RimWorld.Thought MakeThought(RimWorld.ThoughtDef)
L_0068: castclass RimWorld.Thought_Situational
L_006d: stloc.0
L_006e: ldloc.0
L_006f: ldarg.0
L_0070: ldfld Verse.Pawn pawn
L_0075: stfld Verse.Pawn pawn
L_007a: ldloc.0
L_007b: callvirt Void RecalculateState()
L_0080: leave Label #6
L_0085: stloc.1
L_0086: ldc.i4.6
L_0087: newarr System.Object
L_008c: dup
L_008d: ldc.i4.0
L_008e: ldstr "Exception while recalculating "
L_0093: stelem.ref
L_0094: dup
L_0095: ldc.i4.1
L_0096: ldarg.1
L_0097: stelem.ref
L_0098: dup
L_0099: ldc.i4.2
L_009a: ldstr " thought state for pawn "
L_009f: stelem.ref
L_00a0: dup
L_00a1: ldc.i4.3
L_00a2: ldarg.0
L_00a3: ldfld Verse.Pawn pawn
L_00a8: stelem.ref
L_00a9: dup
L_00aa: ldc.i4.4
L_00ab: ldstr ": "
L_00b0: stelem.ref
L_00b1: dup
L_00b2: ldc.i4.5
L_00b3: ldloc.1
L_00b4: stelem.ref
L_00b5: call System.String Concat(System.Object[])
L_00ba: call Void Error(System.String)
L_00bf: leave Label #7
L_00c4: Label #6
L_00c4: Label #7
L_00c4: ldloc.0
L_00c5: br Label #0
L_00ca: Label #3
L_00ca: Label #5
L_00ca: ldloc.2
L_00cb: br Label #0
L_00d0: Label #0
L_00d0: stloc 4 (RimWorld.Thought_Situational)
L_00d2: Label #1
L_00d2: ldloc 4 (RimWorld.Thought_Situational)
L_00d4: ret
DONE

PATCHING EdB.PrepareCarefully.AgeInjuryUtility Void GenerateRandomOldAgeInjuries(Verse.Pawn, Boolean)
L_0000: Local var #0 System.Int32
L_0000: Local var #1 System.Int32
L_0000: Local var #2 System.Int32
L_0000: Local var #3 Verse.DamageDef
L_0000: Local var #4 System.Int32
L_0000: Local var #5 System.Collections.Generic.IEnumerable`1[[Verse.BodyPartRecord, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #6 Verse.BodyPartRecord
L_0000: Local var #7 Verse.HediffDef
L_0000: Local var #8 Verse.Hediff_Injury
L_0000: Local var #9 System.Int32
L_0000: Local var #10 Verse.HediffGiver_Birthday
L_0000: Local var #11 System.Func`2[[Verse.BodyPartRecord, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #12 EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4
L_0000: Local var #13 System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #14 System.Collections.Generic.IEnumerator`1[[Verse.HediffGiver_Birthday, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg 0
L_0006: call Boolean GenerateRandomOldAgeInjuriesPrefix(Verse.Pawn)
L_000b: brfalse Label #1
L_0010: ldnull
L_0011: stloc.s 11 (System.Func`2[Verse.BodyPartRecord,System.Boolean])
L_0013: newobj Void .ctor()
L_0018: stloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_001a: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_001c: ldarg.0
L_001d: stfld Verse.Pawn pawn
L_0022: ldc.i4.0
L_0023: stloc.0
L_0024: ldc.i4.s 10
L_0026: stloc.1
L_0027: br Label #2
L_002c: Label #4
L_002c: call Single get_Value()
L_0031: conv.r8
L_0032: ldc.r8 0.15
L_003b: bge.un Label #3
L_0040: ldloc.0
L_0041: ldc.i4.1
L_0042: add
L_0043: stloc.0
L_0044: Label #3
L_0044: ldloc.1
L_0045: ldc.i4.s 10
L_0047: add
L_0048: stloc.1
L_0049: Label #2
L_0049: ldloc.1
L_004a: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_004c: ldfld Verse.Pawn pawn
L_0051: ldfld Verse.Pawn_AgeTracker ageTracker
L_0056: callvirt Int32 get_AgeBiologicalYears()
L_005b: blt Label #4
L_0060: ldc.i4.0
L_0061: stloc.2
L_0062: br Label #5
L_0067: Label #11
L_0067: call Verse.DamageDef RandomOldInjuryDamageType()
L_006c: stloc.3
L_006d: ldc.i4.2
L_006e: ldc.i4.6
L_006f: call Int32 RangeInclusive(Int32, Int32)
L_0074: stloc.s 4 (System.Int32)
L_0076: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_0078: ldfld Verse.Pawn pawn
L_007d: ldfld Verse.Pawn_HealthTracker health
L_0082: ldfld Verse.HediffSet hediffSet
L_0087: ldc.i4.0
L_0088: ldc.i4.0
L_0089: callvirt IEnumerable`1 GetNotMissingParts(BodyPartHeight, BodyPartDepth)
L_008e: ldloc.s 11 (System.Func`2[Verse.BodyPartRecord,System.Boolean])
L_0090: brtrue Label #6
L_0095: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_0097: ldftn Boolean <GenerateRandomOldAgeInjuries>b__0(Verse.BodyPartRecord)
L_009d: newobj Void .ctor(Object, IntPtr)
L_00a2: stloc.s 11 (System.Func`2[Verse.BodyPartRecord,System.Boolean])
L_00a4: Label #6
L_00a4: ldloc.s 11 (System.Func`2[Verse.BodyPartRecord,System.Boolean])
L_00a6: call IEnumerable`1 Where[BodyPartRecord](IEnumerable`1, System.Func`2[Verse.BodyPartRecord,System.Boolean])
L_00ab: stloc.s 5 (System.Collections.Generic.IEnumerable`1[Verse.BodyPartRecord])
L_00ad: ldloc.s 5 (System.Collections.Generic.IEnumerable`1[Verse.BodyPartRecord])
L_00af: call Boolean Any[BodyPartRecord](IEnumerable`1)
L_00b4: brfalse Label #7
L_00b9: ldloc.s 5 (System.Collections.Generic.IEnumerable`1[Verse.BodyPartRecord])
L_00bb: ldsfld System.Func`2[Verse.BodyPartRecord,System.Single] CS$<>9__CachedAnonymousMethodDelegate3
L_00c0: brtrue Label #8
L_00c5: ldnull
L_00c6: ldftn Single <GenerateRandomOldAgeInjuries>b__1(Verse.BodyPartRecord)
L_00cc: newobj Void .ctor(Object, IntPtr)
L_00d1: stsfld System.Func`2[Verse.BodyPartRecord,System.Single] CS$<>9__CachedAnonymousMethodDelegate3
L_00d6: Label #8
L_00d6: ldsfld System.Func`2[Verse.BodyPartRecord,System.Single] CS$<>9__CachedAnonymousMethodDelegate3
L_00db: call Verse.BodyPartRecord RandomElementByWeight[BodyPartRecord](IEnumerable`1, System.Func`2[Verse.BodyPartRecord,System.Single])
L_00e0: stloc.s 6 (Verse.BodyPartRecord)
L_00e2: ldloc.3
L_00e3: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_00e5: ldfld Verse.Pawn pawn
L_00ea: ldloc.s 6 (Verse.BodyPartRecord)
L_00ec: call Verse.HediffDef GetHediffDefFromDamage(Verse.DamageDef, Verse.Pawn, Verse.BodyPartRecord)
L_00f1: stloc.s 7 (Verse.HediffDef)
L_00f3: ldloc.s 6 (Verse.BodyPartRecord)
L_00f5: ldfld Verse.BodyPartDef def
L_00fa: ldfld System.Single oldInjuryBaseChance
L_00ff: ldc.r4 0
L_0104: ble.un Label #9
L_0109: ldloc.s 7 (Verse.HediffDef)
L_010b: ldtoken Verse.HediffComp_GetsOld
L_0110: call System.Type GetTypeFromHandle(RuntimeTypeHandle)
L_0115: callvirt Verse.HediffCompProperties CompPropsFor(System.Type)
L_011a: brfalse Label #10
L_011f: ldloc.s 7 (Verse.HediffDef)
L_0121: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_0123: ldfld Verse.Pawn pawn
L_0128: ldnull
L_0129: call Verse.Hediff MakeHediff(Verse.HediffDef, Verse.Pawn, Verse.BodyPartRecord)
L_012e: castclass Verse.Hediff_Injury
L_0133: stloc.s 8 (Verse.Hediff_Injury)
L_0135: ldloc.s 8 (Verse.Hediff_Injury)
L_0137: ldloc.s 4 (System.Int32)
L_0139: conv.r4
L_013a: callvirt Void set_Severity(Single)
L_013f: ldloc.s 8 (Verse.Hediff_Injury)
L_0141: call Verse.HediffComp_GetsOld TryGetComp[HediffComp_GetsOld](Verse.Hediff)
L_0146: ldc.i4.1
L_0147: callvirt Void set_IsOld(Boolean)
L_014c: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_014e: ldfld Verse.Pawn pawn
L_0153: ldfld Verse.Pawn_HealthTracker health
L_0158: ldloc.s 8 (Verse.Hediff_Injury)
L_015a: ldloc.s 6 (Verse.BodyPartRecord)
L_015c: ldloca.s 13 (System.Nullable`1[Verse.DamageInfo])
L_015e: initobj System.Nullable`1[Verse.DamageInfo]
L_0164: ldloc.s 13 (System.Nullable`1[Verse.DamageInfo])
L_0166: callvirt Void AddHediff(Verse.Hediff, Verse.BodyPartRecord, Nullable`1)
L_016b: Label #7
L_016b: Label #9
L_016b: Label #10
L_016b: ldloc.2
L_016c: ldc.i4.1
L_016d: add
L_016e: stloc.2
L_016f: Label #5
L_016f: ldloc.2
L_0170: ldloc.0
L_0171: blt Label #11
L_0176: ldc.i4.1
L_0177: stloc.s 9 (System.Int32)
L_0179: br Label #12
L_017e: Label #17
L_017e: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_0180: ldfld Verse.Pawn pawn
L_0185: ldloc.s 9 (System.Int32)
L_0187: call IEnumerable`1 RandomHediffsToGainOnBirthday(Verse.Pawn, Int32)
L_018c: callvirt IEnumerator`1 GetEnumerator()
L_0191: stloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.HediffGiver_Birthday])
L_0193: br Label #13
L_0198: Label #14
L_0198: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.HediffGiver_Birthday])
L_019a: callvirt Verse.HediffGiver_Birthday get_Current()
L_019f: stloc.s 10 (Verse.HediffGiver_Birthday)
L_01a1: ldloc.s 10 (Verse.HediffGiver_Birthday)
L_01a3: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_01a5: ldfld Verse.Pawn pawn
L_01aa: ldloc.s 9 (System.Int32)
L_01ac: conv.r4
L_01ad: ldarg.1
L_01ae: callvirt Void TryApplyAndSimulateSeverityChange(Verse.Pawn, Single, Boolean)
L_01b3: Label #13
L_01b3: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.HediffGiver_Birthday])
L_01b5: callvirt Boolean MoveNext()
L_01ba: brtrue Label #14
L_01bf: leave.s Label #15
L_01c1: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.HediffGiver_Birthday])
L_01c3: brfalse Label #16
L_01c8: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.HediffGiver_Birthday])
L_01ca: callvirt Void Dispose()
L_01cf: Label #16
L_01cf: endfinally
L_01d0: Label #15
L_01d0: ldloc.s 9 (System.Int32)
L_01d2: ldc.i4.1
L_01d3: add
L_01d4: stloc.s 9 (System.Int32)
L_01d6: Label #12
L_01d6: ldloc.s 9 (System.Int32)
L_01d8: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_01da: ldfld Verse.Pawn pawn
L_01df: ldfld Verse.Pawn_AgeTracker ageTracker
L_01e4: callvirt Int32 get_AgeBiologicalYears()
L_01e9: blt Label #17
L_01ee: br Label #0
L_01f3: Label #0
L_01f3: Label #1
L_01f3: ret
DONE

PATCHING EdB.PrepareCarefully.AgeInjuryUtility IEnumerable`1 RandomHediffsToGainOnBirthday(Verse.ThingDef, Int32)
L_0000: Local var #0 System.Collections.Generic.List`1[[Verse.HediffGiver_Birthday, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #1 System.Collections.Generic.List`1[[RimWorld.HediffGiverSetDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 RimWorld.HediffGiverSetDef
L_0000: Local var #3 Verse.HediffGiver
L_0000: Local var #4 System.Single
L_0000: Local var #5 Verse.HediffGiver_Birthday
L_0000: Local var #6 System.Collections.Generic.List`1+Enumerator[[RimWorld.HediffGiverSetDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #7 System.Collections.Generic.List`1+Enumerator[[Verse.HediffGiver, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #8 System.Collections.Generic.IEnumerable`1[[Verse.HediffGiver_Birthday, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 8 (System.Collections.Generic.IEnumerable`1[Verse.HediffGiver_Birthday])
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldarg.0
L_000a: ldfld Verse.RaceProperties race
L_000f: ldfld System.Collections.Generic.List`1[RimWorld.HediffGiverSetDef] hediffGiverSets
L_0014: stloc.1
L_0015: ldloc.1
L_0016: brfalse Label #2
L_001b: ldloc.1
L_001c: callvirt Enumerator GetEnumerator()
L_0021: stloc.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.HediffGiverSetDef])
L_0023: br Label #3
L_0028: Label #9
L_0028: ldloca.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.HediffGiverSetDef])
L_002a: call RimWorld.HediffGiverSetDef get_Current()
L_002f: stloc.2
L_0030: ldloc.2
L_0031: ldfld System.Collections.Generic.List`1[Verse.HediffGiver] hediffGivers
L_0036: callvirt Enumerator GetEnumerator()
L_003b: stloc.s 7 (System.Collections.Generic.List`1+Enumerator[Verse.HediffGiver])
L_003d: br Label #4
L_0042: Label #7
L_0042: ldloca.s 7 (System.Collections.Generic.List`1+Enumerator[Verse.HediffGiver])
L_0044: call Verse.HediffGiver get_Current()
L_0049: stloc.3
L_004a: ldarg.1
L_004b: conv.r4
L_004c: ldarg.0
L_004d: ldfld Verse.RaceProperties race
L_0052: ldfld System.Single lifeExpectancy
L_0057: div
L_0058: stloc.s 4 (System.Single)
L_005a: ldloc.3
L_005b: isinst Verse.HediffGiver_Birthday
L_0060: stloc.s 5 (Verse.HediffGiver_Birthday)
L_0062: ldloc.s 5 (Verse.HediffGiver_Birthday)
L_0064: brfalse Label #5
L_0069: call Single get_Value()
L_006e: ldloc.s 5 (Verse.HediffGiver_Birthday)
L_0070: ldfld Verse.SimpleCurve ageFractionChanceCurve
L_0075: ldloc.s 4 (System.Single)
L_0077: callvirt Single Evaluate(Single)
L_007c: bge.un Label #6
L_0081: ldloc.0
L_0082: ldloc.s 5 (Verse.HediffGiver_Birthday)
L_0084: callvirt Void Add(Verse.HediffGiver_Birthday)
L_0089: Label #4
L_0089: Label #5
L_0089: Label #6
L_0089: ldloca.s 7 (System.Collections.Generic.List`1+Enumerator[Verse.HediffGiver])
L_008b: call Boolean MoveNext()
L_0090: brtrue Label #7
L_0095: leave.s Label #8
L_0097: ldloca.s 7 (System.Collections.Generic.List`1+Enumerator[Verse.HediffGiver])
L_0099: constrained. System.Collections.Generic.List`1+Enumerator[Verse.HediffGiver]
L_009f: callvirt Void Dispose()
L_00a4: endfinally
L_00a5: Label #3
L_00a5: Label #8
L_00a5: ldloca.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.HediffGiverSetDef])
L_00a7: call Boolean MoveNext()
L_00ac: brtrue Label #9
L_00b1: leave.s Label #10
L_00b3: ldloca.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.HediffGiverSetDef])
L_00b5: constrained. System.Collections.Generic.List`1+Enumerator[RimWorld.HediffGiverSetDef]
L_00bb: callvirt Void Dispose()
L_00c0: endfinally
L_00c1: Label #2
L_00c1: Label #10
L_00c1: ldloc.0
L_00c2: br Label #0
L_00c7: Label #0
L_00c7: stloc 8 (System.Collections.Generic.IEnumerable`1[Verse.HediffGiver_Birthday])
L_00c9: ldloca 8 (System.Collections.Generic.IEnumerable`1[Verse.HediffGiver_Birthday])
L_00cb: ldarg 0
L_00d1: call Void RandomHediffsToGainOnBirthdayPostfix(IEnumerable`1 ByRef, Verse.ThingDef)
L_00d6: ldloc 8 (System.Collections.Generic.IEnumerable`1[Verse.HediffGiver_Birthday])
L_00d8: ret
DONE

PATCHING Verse.AI.JobDriver PawnPosture get_Posture()
L_0000: Local var #0 RimWorld.PawnPosture
L_0000: ldc.i4 0
L_0005: stloc 0 (RimWorld.PawnPosture)
L_0006: ldarg.0
L_0007: ldfld System.Boolean layingDown
L_000c: brfalse Label #2
L_0011: ldc.i4.2
L_0012: br Label #3
L_0017: Label #2
L_0017: ldc.i4.0
L_0018: Label #3
L_0018: br Label #0
L_001d: Label #0
L_001d: stloc 0 (RimWorld.PawnPosture)
L_001e: ldarg.0
L_001f: ldloca 0 (RimWorld.PawnPosture)
L_0021: call Void PosturePostfix(Verse.AI.JobDriver, PawnPosture ByRef)
L_0026: ldloc 0 (RimWorld.PawnPosture)
L_0027: ret
DONE

PATCHING RimWorld.JobDriver_Skygaze PawnPosture get_Posture()
L_0000: Local var #0 RimWorld.PawnPosture
L_0000: ldc.i4 0
L_0005: stloc 0 (RimWorld.PawnPosture)
L_0006: ldarg.0
L_0007: call Verse.AI.Toil get_CurToil()
L_000c: ldarg.0
L_000d: ldfld Verse.AI.Toil gaze
L_0012: bne.un Label #2
L_0017: ldc.i4.1
L_0018: br Label #3
L_001d: Label #2
L_001d: ldc.i4.0
L_001e: Label #3
L_001e: br Label #0
L_0023: Label #0
L_0023: stloc 0 (RimWorld.PawnPosture)
L_0024: ldarg.0
L_0025: ldloca 0 (RimWorld.PawnPosture)
L_0027: call Void PosturePostfix(Verse.AI.JobDriver, PawnPosture ByRef)
L_002c: ldloc 0 (RimWorld.PawnPosture)
L_002d: ret
DONE

PATCHING Verse.PawnGenerator Void GenerateRandomAge(Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Int32
L_0000: Local var #1 System.Single
L_0000: Local var #2 System.Int32
L_0000: Local var #3 System.Single
L_0000: Local var #4 System.Int32
L_0000: Local var #5 System.Int32
L_0000: Local var #6 System.Single
L_0000: Local var #7 System.Int32
L_0000: Local var #8 System.Int32
L_0000: Local var #9 System.Int64
L_0000: Local var #10 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #11 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #12 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #13 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #14 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #15 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #16 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #17 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: call Void GenerateRandomAgePrefix(Verse.Pawn, PawnGenerationRequest)
L_0011: ldarga.s 1
L_0013: call Nullable`1 get_FixedBiologicalAge()
L_0018: stloc.s 10 (System.Nullable`1[System.Single])
L_001a: ldloca.s 10 (System.Nullable`1[System.Single])
L_001c: call Boolean get_HasValue()
L_0021: brfalse Label #2
L_0026: ldarga.s 1
L_0028: call Nullable`1 get_FixedChronologicalAge()
L_002d: stloc.s 11 (System.Nullable`1[System.Single])
L_002f: ldloca.s 11 (System.Nullable`1[System.Single])
L_0031: call Boolean get_HasValue()
L_0036: brfalse Label #3
L_003b: ldarga.s 1
L_003d: call Nullable`1 get_FixedBiologicalAge()
L_0042: stloc.s 12 (System.Nullable`1[System.Single])
L_0044: ldloca.s 12 (System.Nullable`1[System.Single])
L_0046: call Boolean get_HasValue()
L_004b: brfalse Label #4
L_0050: ldarga.s 1
L_0052: call Nullable`1 get_FixedChronologicalAge()
L_0057: stloc.s 13 (System.Nullable`1[System.Single])
L_0059: ldloca.s 13 (System.Nullable`1[System.Single])
L_005b: call Boolean get_HasValue()
L_0060: brfalse Label #5
L_0065: ldloca.s 12 (System.Nullable`1[System.Single])
L_0067: call Single get_Value()
L_006c: ldloca.s 13 (System.Nullable`1[System.Single])
L_006e: call Single get_Value()
L_0073: cgt
L_0075: br Label #6
L_007a: Label #4
L_007a: Label #5
L_007a: ldc.i4.0
L_007b: Label #6
L_007b: brfalse Label #7
L_0080: ldc.i4.7
L_0081: newarr System.Object
L_0086: dup
L_0087: ldc.i4.0
L_0088: ldstr "Tried to generate age for pawn "
L_008d: stelem.ref
L_008e: dup
L_008f: ldc.i4.1
L_0090: ldarg.0
L_0091: stelem.ref
L_0092: dup
L_0093: ldc.i4.2
L_0094: ldstr ", but pawn generation request demands biological age ("
L_0099: stelem.ref
L_009a: dup
L_009b: ldc.i4.3
L_009c: ldarga.s 1
L_009e: call Nullable`1 get_FixedBiologicalAge()
L_00a3: box System.Nullable`1[System.Single]
L_00a8: stelem.ref
L_00a9: dup
L_00aa: ldc.i4.4
L_00ab: ldstr ") to be greater than chronological age ("
L_00b0: stelem.ref
L_00b1: dup
L_00b2: ldc.i4.5
L_00b3: ldarga.s 1
L_00b5: call Nullable`1 get_FixedChronologicalAge()
L_00ba: box System.Nullable`1[System.Single]
L_00bf: stelem.ref
L_00c0: dup
L_00c1: ldc.i4.6
L_00c2: ldstr ")."
L_00c7: stelem.ref
L_00c8: call System.String Concat(System.Object[])
L_00cd: call Void Warning(System.String)
L_00d2: Label #2
L_00d2: Label #3
L_00d2: Label #7
L_00d2: ldarga.s 1
L_00d4: call Boolean get_Newborn()
L_00d9: brfalse Label #8
L_00de: ldarg.0
L_00df: ldfld Verse.Pawn_AgeTracker ageTracker
L_00e4: ldc.i4.0
L_00e5: conv.i8
L_00e6: callvirt Void set_AgeBiologicalTicks(Int64)
L_00eb: br Label #9
L_00f0: Label #8
L_00f0: ldarga.s 1
L_00f2: call Nullable`1 get_FixedBiologicalAge()
L_00f7: stloc.s 14 (System.Nullable`1[System.Single])
L_00f9: ldloca.s 14 (System.Nullable`1[System.Single])
L_00fb: call Boolean get_HasValue()
L_0100: brfalse Label #10
L_0105: ldarg.0
L_0106: ldfld Verse.Pawn_AgeTracker ageTracker
L_010b: ldarga.s 1
L_010d: call Nullable`1 get_FixedBiologicalAge()
L_0112: stloc.s 15 (System.Nullable`1[System.Single])
L_0114: ldloca.s 15 (System.Nullable`1[System.Single])
L_0116: call Single get_Value()
L_011b: ldc.r4 3600000
L_0120: mul
L_0121: conv.i8
L_0122: callvirt Void set_AgeBiologicalTicks(Int64)
L_0127: br Label #11
L_012c: Label #10
L_012c: ldc.r4 0
L_0131: stloc.3
L_0132: ldc.i4.0
L_0133: stloc.s 4 (System.Int32)
L_0135: Label #18
L_0135: Label #19
L_0135: ldarg.0
L_0136: callvirt Verse.RaceProperties get_RaceProps()
L_013b: ldfld Verse.SimpleCurve ageGenerationCurve
L_0140: brfalse Label #12
L_0145: ldarg.0
L_0146: callvirt Verse.RaceProperties get_RaceProps()
L_014b: ldfld Verse.SimpleCurve ageGenerationCurve
L_0150: ldc.i4 200
L_0155: call Single ByCurve(Verse.SimpleCurve, Int32)
L_015a: call Int32 RoundToInt(Single)
L_015f: conv.r4
L_0160: stloc.3
L_0161: br Label #13
L_0166: Label #12
L_0166: ldarg.0
L_0167: callvirt Verse.RaceProperties get_RaceProps()
L_016c: callvirt Boolean get_IsMechanoid()
L_0171: brfalse Label #14
L_0176: ldc.i4.0
L_0177: ldc.i4 2500
L_017c: call Int32 Range(Int32, Int32)
L_0181: conv.r4
L_0182: stloc.3
L_0183: br Label #15
L_0188: Label #14
L_0188: ldsfld Verse.SimpleCurve DefaultAgeGenerationCurve
L_018d: ldc.i4 200
L_0192: call Single ByCurve(Verse.SimpleCurve, Int32)
L_0197: ldarg.0
L_0198: callvirt Verse.RaceProperties get_RaceProps()
L_019d: ldfld System.Single lifeExpectancy
L_01a2: mul
L_01a3: stloc.3
L_01a4: Label #13
L_01a4: Label #15
L_01a4: ldloc.s 4 (System.Int32)
L_01a6: ldc.i4.1
L_01a7: add
L_01a8: stloc.s 4 (System.Int32)
L_01aa: ldloc.s 4 (System.Int32)
L_01ac: ldc.i4 300
L_01b1: ble Label #16
L_01b6: ldstr "Tried 300 times to generate age for "
L_01bb: ldarg.0
L_01bc: call System.String Concat(System.Object, System.Object)
L_01c1: call Void Error(System.String)
L_01c6: br Label #17
L_01cb: Label #16
L_01cb: ldloc.3
L_01cc: ldarg.0
L_01cd: ldfld Verse.PawnKindDef kindDef
L_01d2: ldfld System.Int32 maxGenerationAge
L_01d7: conv.r4
L_01d8: bgt Label #18
L_01dd: ldloc.3
L_01de: ldarg.0
L_01df: ldfld Verse.PawnKindDef kindDef
L_01e4: ldfld System.Int32 minGenerationAge
L_01e9: conv.r4
L_01ea: blt Label #19
L_01ef: Label #17
L_01ef: ldarg.0
L_01f0: ldfld Verse.Pawn_AgeTracker ageTracker
L_01f5: ldloc.3
L_01f6: ldc.r4 3600000
L_01fb: mul
L_01fc: conv.i8
L_01fd: ldc.i4.0
L_01fe: ldc.i4 3600000
L_0203: call Int32 Range(Int32, Int32)
L_0208: conv.i8
L_0209: add
L_020a: callvirt Void set_AgeBiologicalTicks(Int64)
L_020f: Label #9
L_020f: Label #11
L_020f: ldarga.s 1
L_0211: call Boolean get_Newborn()
L_0216: brfalse Label #20
L_021b: ldarg.0
L_021c: ldfld Verse.Pawn_AgeTracker ageTracker
L_0221: ldc.i4.0
L_0222: conv.i8
L_0223: callvirt Void set_AgeChronologicalTicks(Int64)
L_0228: br Label #21
L_022d: Label #20
L_022d: ldarga.s 1
L_022f: call Nullable`1 get_FixedChronologicalAge()
L_0234: stloc.s 16 (System.Nullable`1[System.Single])
L_0236: ldloca.s 16 (System.Nullable`1[System.Single])
L_0238: call Boolean get_HasValue()
L_023d: brfalse Label #22
L_0242: ldarg.0
L_0243: ldfld Verse.Pawn_AgeTracker ageTracker
L_0248: ldarga.s 1
L_024a: call Nullable`1 get_FixedChronologicalAge()
L_024f: stloc.s 17 (System.Nullable`1[System.Single])
L_0251: ldloca.s 17 (System.Nullable`1[System.Single])
L_0253: call Single get_Value()
L_0258: ldc.r4 3600000
L_025d: mul
L_025e: conv.i8
L_025f: callvirt Void set_AgeChronologicalTicks(Int64)
L_0264: br Label #23
L_0269: Label #22
L_0269: call Single get_Value()
L_026e: ldarg.0
L_026f: ldfld Verse.PawnKindDef kindDef
L_0274: ldfld System.Single backstoryCryptosleepCommonality
L_0279: bge.un Label #24
L_027e: call Single get_Value()
L_0283: stloc.s 6 (System.Single)
L_0285: ldloc.s 6 (System.Single)
L_0287: ldc.r4 0.7
L_028c: bge.un Label #25
L_0291: ldc.i4.0
L_0292: ldc.i4.s 100
L_0294: call Int32 Range(Int32, Int32)
L_0299: stloc.s 5 (System.Int32)
L_029b: br Label #26
L_02a0: Label #25
L_02a0: ldloc.s 6 (System.Single)
L_02a2: ldc.r4 0.95
L_02a7: bge.un Label #27
L_02ac: ldc.i4.s 100
L_02ae: ldc.i4 1000
L_02b3: call Int32 Range(Int32, Int32)
L_02b8: stloc.s 5 (System.Int32)
L_02ba: br Label #28
L_02bf: Label #27
L_02bf: call Int32 get_TicksAbs()
L_02c4: conv.i8
L_02c5: ldc.r4 0
L_02ca: call Int32 Year(Int64, Single)
L_02cf: ldc.i4 2026
L_02d4: sub
L_02d5: ldarg.0
L_02d6: ldfld Verse.Pawn_AgeTracker ageTracker
L_02db: callvirt Int32 get_AgeBiologicalYears()
L_02e0: sub
L_02e1: stloc.s 7 (System.Int32)
L_02e3: ldc.i4 1000
L_02e8: ldloc.s 7 (System.Int32)
L_02ea: call Int32 Range(Int32, Int32)
L_02ef: stloc.s 5 (System.Int32)
L_02f1: Label #26
L_02f1: Label #28
L_02f1: br Label #29
L_02f6: Label #24
L_02f6: ldc.i4.0
L_02f7: stloc.s 5 (System.Int32)
L_02f9: Label #29
L_02f9: call Int32 get_TicksAbs()
L_02fe: stloc.s 8 (System.Int32)
L_0300: ldloc.s 8 (System.Int32)
L_0302: conv.i8
L_0303: ldarg.0
L_0304: ldfld Verse.Pawn_AgeTracker ageTracker
L_0309: callvirt Int64 get_AgeBiologicalTicks()
L_030e: sub
L_030f: stloc.s 9 (System.Int64)
L_0311: ldloc.s 9 (System.Int64)
L_0313: ldloc.s 5 (System.Int32)
L_0315: conv.i8
L_0316: ldc.i4 3600000
L_031b: conv.i8
L_031c: mul
L_031d: sub
L_031e: stloc.s 9 (System.Int64)
L_0320: ldarg.0
L_0321: ldfld Verse.Pawn_AgeTracker ageTracker
L_0326: ldloc.s 9 (System.Int64)
L_0328: callvirt Void set_BirthAbsTicks(Int64)
L_032d: Label #21
L_032d: Label #23
L_032d: ldarg.0
L_032e: ldfld Verse.Pawn_AgeTracker ageTracker
L_0333: callvirt Int64 get_AgeBiologicalTicks()
L_0338: ldarg.0
L_0339: ldfld Verse.Pawn_AgeTracker ageTracker
L_033e: callvirt Int64 get_AgeChronologicalTicks()
L_0343: ble Label #30
L_0348: ldarg.0
L_0349: ldfld Verse.Pawn_AgeTracker ageTracker
L_034e: ldarg.0
L_034f: ldfld Verse.Pawn_AgeTracker ageTracker
L_0354: callvirt Int64 get_AgeBiologicalTicks()
L_0359: callvirt Void set_AgeChronologicalTicks(Int64)
L_035e: Label #30
L_035e: br Label #0
L_0363: Label #0
L_0363: ret
DONE

PATCHING Verse.PawnGenerator Void GenerateTraits(Verse.Pawn, Boolean)
L_0000: Local var #0 System.Collections.Generic.List`1[[RimWorld.TraitEntry, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #1 System.Int32
L_0000: Local var #2 RimWorld.TraitEntry
L_0000: Local var #3 System.Collections.Generic.List`1[[RimWorld.TraitEntry, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #4 System.Int32
L_0000: Local var #5 RimWorld.TraitEntry
L_0000: Local var #6 System.Int32
L_0000: Local var #7 RimWorld.Trait
L_0000: Local var #8 System.Int32
L_0000: Local var #9 RimWorld.Trait
L_0000: Local var #10 Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0
L_0000: Local var #11 Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1
L_0000: ldarg 0
L_0006: call Void GenerateTraitsPrefix(Verse.Pawn)
L_000b: newobj Void .ctor()
L_0010: stloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0012: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0014: ldarg.0
L_0015: stfld Verse.Pawn pawn
L_001a: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_001c: ldfld Verse.Pawn pawn
L_0021: ldfld RimWorld.Pawn_StoryTracker story
L_0026: brtrue Label #2
L_002b: br Label #0
L_0030: Label #2
L_0030: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0032: ldfld Verse.Pawn pawn
L_0037: ldfld RimWorld.Pawn_StoryTracker story
L_003c: ldfld RimWorld.Backstory childhood
L_0041: ldfld System.Collections.Generic.List`1[RimWorld.TraitEntry] forcedTraits
L_0046: brfalse Label #3
L_004b: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld RimWorld.Pawn_StoryTracker story
L_0057: ldfld RimWorld.Backstory childhood
L_005c: ldfld System.Collections.Generic.List`1[RimWorld.TraitEntry] forcedTraits
L_0061: stloc.0
L_0062: ldc.i4.0
L_0063: stloc.1
L_0064: br Label #4
L_0069: Label #8
L_0069: ldloc.0
L_006a: ldloc.1
L_006b: callvirt RimWorld.TraitEntry get_Item(Int32)
L_0070: stloc.2
L_0071: ldloc.2
L_0072: ldfld RimWorld.TraitDef def
L_0077: brtrue Label #5
L_007c: ldstr "Null forced trait def on "
L_0081: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0083: ldfld Verse.Pawn pawn
L_0088: ldfld RimWorld.Pawn_StoryTracker story
L_008d: ldfld RimWorld.Backstory childhood
L_0092: call System.String Concat(System.Object, System.Object)
L_0097: call Void Error(System.String)
L_009c: br Label #6
L_00a1: Label #5
L_00a1: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_00a3: ldfld Verse.Pawn pawn
L_00a8: ldfld RimWorld.Pawn_StoryTracker story
L_00ad: ldfld RimWorld.TraitSet traits
L_00b2: ldloc.2
L_00b3: ldfld RimWorld.TraitDef def
L_00b8: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_00bd: brtrue Label #7
L_00c2: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_00c4: ldfld Verse.Pawn pawn
L_00c9: ldfld RimWorld.Pawn_StoryTracker story
L_00ce: ldfld RimWorld.TraitSet traits
L_00d3: ldloc.2
L_00d4: ldfld RimWorld.TraitDef def
L_00d9: ldloc.2
L_00da: ldfld System.Int32 degree
L_00df: ldc.i4.0
L_00e0: newobj Void .ctor(TraitDef, Int32, Boolean)
L_00e5: callvirt Void GainTrait(RimWorld.Trait)
L_00ea: Label #6
L_00ea: Label #7
L_00ea: ldloc.1
L_00eb: ldc.i4.1
L_00ec: add
L_00ed: stloc.1
L_00ee: Label #4
L_00ee: ldloc.1
L_00ef: ldloc.0
L_00f0: callvirt Int32 get_Count()
L_00f5: blt Label #8
L_00fa: Label #3
L_00fa: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_00fc: ldfld Verse.Pawn pawn
L_0101: ldfld RimWorld.Pawn_StoryTracker story
L_0106: ldfld RimWorld.Backstory adulthood
L_010b: brfalse Label #9
L_0110: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0112: ldfld Verse.Pawn pawn
L_0117: ldfld RimWorld.Pawn_StoryTracker story
L_011c: ldfld RimWorld.Backstory adulthood
L_0121: ldfld System.Collections.Generic.List`1[RimWorld.TraitEntry] forcedTraits
L_0126: brfalse Label #10
L_012b: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_012d: ldfld Verse.Pawn pawn
L_0132: ldfld RimWorld.Pawn_StoryTracker story
L_0137: ldfld RimWorld.Backstory adulthood
L_013c: ldfld System.Collections.Generic.List`1[RimWorld.TraitEntry] forcedTraits
L_0141: stloc.3
L_0142: ldc.i4.0
L_0143: stloc.s 4 (System.Int32)
L_0145: br Label #11
L_014a: Label #15
L_014a: ldloc.3
L_014b: ldloc.s 4 (System.Int32)
L_014d: callvirt RimWorld.TraitEntry get_Item(Int32)
L_0152: stloc.s 5 (RimWorld.TraitEntry)
L_0154: ldloc.s 5 (RimWorld.TraitEntry)
L_0156: ldfld RimWorld.TraitDef def
L_015b: brtrue Label #12
L_0160: ldstr "Null forced trait def on "
L_0165: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0167: ldfld Verse.Pawn pawn
L_016c: ldfld RimWorld.Pawn_StoryTracker story
L_0171: ldfld RimWorld.Backstory adulthood
L_0176: call System.String Concat(System.Object, System.Object)
L_017b: call Void Error(System.String)
L_0180: br Label #13
L_0185: Label #12
L_0185: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0187: ldfld Verse.Pawn pawn
L_018c: ldfld RimWorld.Pawn_StoryTracker story
L_0191: ldfld RimWorld.TraitSet traits
L_0196: ldloc.s 5 (RimWorld.TraitEntry)
L_0198: ldfld RimWorld.TraitDef def
L_019d: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_01a2: brtrue Label #14
L_01a7: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_01a9: ldfld Verse.Pawn pawn
L_01ae: ldfld RimWorld.Pawn_StoryTracker story
L_01b3: ldfld RimWorld.TraitSet traits
L_01b8: ldloc.s 5 (RimWorld.TraitEntry)
L_01ba: ldfld RimWorld.TraitDef def
L_01bf: ldloc.s 5 (RimWorld.TraitEntry)
L_01c1: ldfld System.Int32 degree
L_01c6: ldc.i4.0
L_01c7: newobj Void .ctor(TraitDef, Int32, Boolean)
L_01cc: callvirt Void GainTrait(RimWorld.Trait)
L_01d1: Label #13
L_01d1: Label #14
L_01d1: ldloc.s 4 (System.Int32)
L_01d3: ldc.i4.1
L_01d4: add
L_01d5: stloc.s 4 (System.Int32)
L_01d7: Label #11
L_01d7: ldloc.s 4 (System.Int32)
L_01d9: ldloc.3
L_01da: callvirt Int32 get_Count()
L_01df: blt Label #15
L_01e4: Label #9
L_01e4: Label #10
L_01e4: ldc.i4.2
L_01e5: ldc.i4.3
L_01e6: call Int32 RangeInclusive(Int32, Int32)
L_01eb: stloc.s 6 (System.Int32)
L_01ed: ldarg.1
L_01ee: brfalse Label #16
L_01f3: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_01f5: ldfld Verse.Pawn pawn
L_01fa: call Boolean HasAnyLovePartnerOfTheSameGender(Verse.Pawn)
L_01ff: brtrue Label #17
L_0204: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0206: ldfld Verse.Pawn pawn
L_020b: call Boolean HasAnyExLovePartnerOfTheSameGender(Verse.Pawn)
L_0210: brfalse Label #18
L_0215: Label #17
L_0215: ldsfld RimWorld.TraitDef Gay
L_021a: ldsfld RimWorld.TraitDef Gay
L_021f: call Int32 RandomTraitDegree(RimWorld.TraitDef)
L_0224: ldc.i4.0
L_0225: newobj Void .ctor(TraitDef, Int32, Boolean)
L_022a: stloc.s 7 (RimWorld.Trait)
L_022c: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_022e: ldfld Verse.Pawn pawn
L_0233: ldfld RimWorld.Pawn_StoryTracker story
L_0238: ldfld RimWorld.TraitSet traits
L_023d: ldloc.s 7 (RimWorld.Trait)
L_023f: callvirt Void GainTrait(RimWorld.Trait)
L_0244: Label #16
L_0244: Label #18
L_0244: br Label #19
L_0249: Label #45
L_0249: newobj Void .ctor()
L_024e: stloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0250: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0252: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0254: stfld Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0 <>f__ref$1200
L_0259: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_025b: call System.Collections.Generic.List`1[RimWorld.TraitDef] get_AllDefsListForReading()
L_0260: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0262: ldftn Single <>m__7BF(RimWorld.TraitDef)
L_0268: newobj Void .ctor(Object, IntPtr)
L_026d: call RimWorld.TraitDef RandomElementByWeight[TraitDef](IEnumerable`1, System.Func`2[RimWorld.TraitDef,System.Single])
L_0272: stfld RimWorld.TraitDef newTraitDef
L_0277: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0279: ldfld Verse.Pawn pawn
L_027e: ldfld RimWorld.Pawn_StoryTracker story
L_0283: ldfld RimWorld.TraitSet traits
L_0288: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_028a: ldfld RimWorld.TraitDef newTraitDef
L_028f: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0294: brfalse Label #20
L_0299: br Label #21
L_029e: Label #20
L_029e: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_02a0: ldfld RimWorld.TraitDef newTraitDef
L_02a5: ldsfld RimWorld.TraitDef Gay
L_02aa: bne.un Label #22
L_02af: ldarg.1
L_02b0: brtrue Label #23
L_02b5: br Label #24
L_02ba: Label #23
L_02ba: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_02bc: ldfld Verse.Pawn pawn
L_02c1: call Boolean HasAnyLovePartnerOfTheOppositeGender(Verse.Pawn)
L_02c6: brtrue Label #25
L_02cb: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_02cd: ldfld Verse.Pawn pawn
L_02d2: call Boolean HasAnyExLovePartnerOfTheOppositeGender(Verse.Pawn)
L_02d7: brfalse Label #26
L_02dc: Label #25
L_02dc: br Label #27
L_02e1: Label #22
L_02e1: Label #26
L_02e1: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_02e3: ldfld Verse.Pawn pawn
L_02e8: ldfld RimWorld.Pawn_StoryTracker story
L_02ed: ldfld RimWorld.TraitSet traits
L_02f2: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02f7: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_02f9: ldftn Boolean <>m__7C0(RimWorld.Trait)
L_02ff: newobj Void .ctor(Object, IntPtr)
L_0304: call Boolean Any[Trait](System.Collections.Generic.List`1[RimWorld.Trait], System.Predicate`1[RimWorld.Trait])
L_0309: brtrue Label #28
L_030e: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0310: ldfld RimWorld.TraitDef newTraitDef
L_0315: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] conflictingTraits
L_031a: brfalse Label #29
L_031f: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0321: ldfld RimWorld.TraitDef newTraitDef
L_0326: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] conflictingTraits
L_032b: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_032d: ldftn Boolean <>m__7C1(RimWorld.TraitDef)
L_0333: newobj Void .ctor(Object, IntPtr)
L_0338: call Boolean Any[TraitDef](System.Collections.Generic.List`1[RimWorld.TraitDef], System.Predicate`1[RimWorld.TraitDef])
L_033d: brfalse Label #30
L_0342: Label #28
L_0342: br Label #31
L_0347: Label #29
L_0347: Label #30
L_0347: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0349: ldfld RimWorld.TraitDef newTraitDef
L_034e: ldfld System.Collections.Generic.List`1[Verse.WorkTypeDef] requiredWorkTypes
L_0353: brfalse Label #32
L_0358: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_035a: ldfld Verse.Pawn pawn
L_035f: ldfld RimWorld.Pawn_StoryTracker story
L_0364: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0366: ldfld RimWorld.TraitDef newTraitDef
L_036b: ldfld System.Collections.Generic.List`1[Verse.WorkTypeDef] requiredWorkTypes
L_0370: callvirt Boolean OneOfWorkTypesIsDisabled(System.Collections.Generic.List`1[Verse.WorkTypeDef])
L_0375: brfalse Label #33
L_037a: br Label #34
L_037f: Label #32
L_037f: Label #33
L_037f: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0381: ldfld Verse.Pawn pawn
L_0386: ldfld RimWorld.Pawn_StoryTracker story
L_038b: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_038d: ldfld RimWorld.TraitDef newTraitDef
L_0392: ldfld Verse.WorkTags requiredWorkTags
L_0397: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_039c: brfalse Label #35
L_03a1: br Label #36
L_03a6: Label #35
L_03a6: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_03a8: ldfld RimWorld.TraitDef newTraitDef
L_03ad: call Int32 RandomTraitDegree(RimWorld.TraitDef)
L_03b2: stloc.s 8 (System.Int32)
L_03b4: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_03b6: ldfld Verse.Pawn pawn
L_03bb: ldfld RimWorld.Pawn_StoryTracker story
L_03c0: ldfld RimWorld.Backstory childhood
L_03c5: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_03c7: ldfld RimWorld.TraitDef newTraitDef
L_03cc: ldloc.s 8 (System.Int32)
L_03ce: callvirt Boolean DisallowsTrait(RimWorld.TraitDef, Int32)
L_03d3: brtrue Label #37
L_03d8: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_03da: ldfld Verse.Pawn pawn
L_03df: ldfld RimWorld.Pawn_StoryTracker story
L_03e4: ldfld RimWorld.Backstory adulthood
L_03e9: brfalse Label #38
L_03ee: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_03f0: ldfld Verse.Pawn pawn
L_03f5: ldfld RimWorld.Pawn_StoryTracker story
L_03fa: ldfld RimWorld.Backstory adulthood
L_03ff: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0401: ldfld RimWorld.TraitDef newTraitDef
L_0406: ldloc.s 8 (System.Int32)
L_0408: callvirt Boolean DisallowsTrait(RimWorld.TraitDef, Int32)
L_040d: brfalse Label #39
L_0412: Label #37
L_0412: br Label #40
L_0417: Label #38
L_0417: Label #39
L_0417: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0419: ldfld RimWorld.TraitDef newTraitDef
L_041e: ldloc.s 8 (System.Int32)
L_0420: ldc.i4.0
L_0421: newobj Void .ctor(TraitDef, Int32, Boolean)
L_0426: stloc.s 9 (RimWorld.Trait)
L_0428: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_042a: ldfld Verse.Pawn pawn
L_042f: ldfld Verse.AI.Pawn_MindState mindState
L_0434: brfalse Label #41
L_0439: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_043b: ldfld Verse.Pawn pawn
L_0440: ldfld Verse.AI.Pawn_MindState mindState
L_0445: ldfld Verse.MentalBreaker mentalBreaker
L_044a: brfalse Label #42
L_044f: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0451: ldfld Verse.Pawn pawn
L_0456: ldfld Verse.AI.Pawn_MindState mindState
L_045b: ldfld Verse.MentalBreaker mentalBreaker
L_0460: callvirt Single get_BreakThresholdExtreme()
L_0465: ldloc.s 9 (RimWorld.Trait)
L_0467: ldsfld RimWorld.StatDef MentalBreakThreshold
L_046c: callvirt Single OffsetOfStat(RimWorld.StatDef)
L_0471: add
L_0472: ldc.r4 40
L_0477: ble.un Label #43
L_047c: br Label #44
L_0481: Label #41
L_0481: Label #42
L_0481: Label #43
L_0481: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0483: ldfld Verse.Pawn pawn
L_0488: ldfld RimWorld.Pawn_StoryTracker story
L_048d: ldfld RimWorld.TraitSet traits
L_0492: ldloc.s 9 (RimWorld.Trait)
L_0494: callvirt Void GainTrait(RimWorld.Trait)
L_0499: Label #19
L_0499: Label #21
L_0499: Label #24
L_0499: Label #27
L_0499: Label #31
L_0499: Label #34
L_0499: Label #36
L_0499: Label #40
L_0499: Label #44
L_0499: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_049b: ldfld Verse.Pawn pawn
L_04a0: ldfld RimWorld.Pawn_StoryTracker story
L_04a5: ldfld RimWorld.TraitSet traits
L_04aa: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_04af: callvirt Int32 get_Count()
L_04b4: ldloc.s 6 (System.Int32)
L_04b6: blt Label #45
L_04bb: br Label #0
L_04c0: Label #0
L_04c0: ret
DONE

PATCHING RimWorld.JobGiver_SatisfyChemicalNeed Boolean DrugValidator(Verse.Pawn, RimWorld.Hediff_Addiction, Verse.Thing)
L_0000: Local var #0 RimWorld.CompDrug
L_0000: Local var #1 System.Int32
L_0000: Local var #2 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.3
L_0007: ldfld Verse.ThingDef def
L_000c: callvirt Boolean get_IsDrug()
L_0011: brtrue Label #2
L_0016: ldc.i4.0
L_0017: br Label #0
L_001c: Label #2
L_001c: ldarg.3
L_001d: callvirt Boolean get_Spawned()
L_0022: brfalse Label #3
L_0027: ldarg.3
L_0028: ldarg.1
L_0029: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_002e: brfalse Label #4
L_0033: ldc.i4.0
L_0034: br Label #0
L_0039: Label #4
L_0039: ldarg.1
L_003a: ldarg.3
L_003b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0040: ldc.i4.1
L_0041: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_0046: brtrue Label #5
L_004b: ldc.i4.0
L_004c: br Label #0
L_0051: Label #5
L_0051: ldarg.3
L_0052: ldarg.1
L_0053: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_0058: brtrue Label #6
L_005d: ldc.i4.0
L_005e: br Label #0
L_0063: Label #3
L_0063: Label #6
L_0063: ldarg.3
L_0064: call RimWorld.CompDrug TryGetComp[CompDrug](Verse.Thing)
L_0069: stloc.0
L_006a: ldloc.0
L_006b: brfalse Label #7
L_0070: ldloc.0
L_0071: callvirt RimWorld.CompProperties_Drug get_Props()
L_0076: ldfld RimWorld.ChemicalDef chemical
L_007b: brtrue Label #8
L_0080: Label #7
L_0080: ldc.i4.0
L_0081: br Label #0
L_0086: Label #8
L_0086: ldloc.0
L_0087: callvirt RimWorld.CompProperties_Drug get_Props()
L_008c: ldfld RimWorld.ChemicalDef chemical
L_0091: ldfld Verse.HediffDef addictionHediff
L_0096: ldarg.2
L_0097: ldfld Verse.HediffDef def
L_009c: beq Label #9
L_00a1: ldc.i4.0
L_00a2: br Label #0
L_00a7: Label #9
L_00a7: ldarg.1
L_00a8: ldfld RimWorld.Pawn_DrugPolicyTracker drugs
L_00ad: brfalse Label #10
L_00b2: ldarg.1
L_00b3: ldfld RimWorld.Pawn_DrugPolicyTracker drugs
L_00b8: callvirt RimWorld.DrugPolicy get_CurrentPolicy()
L_00bd: ldarg.3
L_00be: ldfld Verse.ThingDef def
L_00c3: callvirt RimWorld.DrugPolicyEntry get_Item(Verse.ThingDef)
L_00c8: ldfld System.Boolean allowedForAddiction
L_00cd: brtrue Label #11
L_00d2: ldarg.1
L_00d3: ldfld RimWorld.Pawn_StoryTracker story
L_00d8: brfalse Label #12
L_00dd: ldarg.1
L_00de: ldfld RimWorld.Pawn_StoryTracker story
L_00e3: ldfld RimWorld.TraitSet traits
L_00e8: ldsfld RimWorld.TraitDef DrugDesire
L_00ed: callvirt Int32 DegreeOfTrait(RimWorld.TraitDef)
L_00f2: stloc.1
L_00f3: ldloc.1
L_00f4: ldc.i4.0
L_00f5: bgt Label #13
L_00fa: ldarg.1
L_00fb: callvirt Boolean get_InMentalState()
L_0100: brtrue Label #14
L_0105: ldc.i4.0
L_0106: br Label #0
L_010b: Label #10
L_010b: Label #11
L_010b: Label #12
L_010b: Label #13
L_010b: Label #14
L_010b: ldc.i4.1
L_010c: br Label #0
L_0111: Label #0
L_0111: stloc 2 (System.Boolean)
L_0112: ldloca 2 (System.Boolean)
L_0114: ldarg 1
L_011a: ldarg 3
L_0120: call Void DrugValidatorPostfix(Boolean ByRef, Verse.Pawn, Verse.Thing)
L_0125: ldloc 2 (System.Boolean)
L_0126: ret
DONE

PATCHING RimWorld.CompDrug Void PostIngested(Verse.Pawn)
L_0000: Local var #0 RimWorld.Hediff_Addiction
L_0000: Local var #1 Verse.Hediff
L_0000: Local var #2 System.Single
L_0000: Local var #3 RimWorld.Need
L_0000: Local var #4 System.Single
L_0000: Local var #5 Verse.Hediff
L_0000: Local var #6 System.Single
L_0000: Local var #7 System.Single
L_0000: Local var #8 System.Single
L_0000: Local var #9 RimWorld.CompDrug+<PostIngested>c__AnonStorey354
L_0000: Local var #10 System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: call RimWorld.CompProperties_Drug get_Props()
L_0006: callvirt Boolean get_Addictive()
L_000b: brfalse Label #2
L_0010: ldarg.1
L_0011: callvirt Verse.RaceProperties get_RaceProps()
L_0016: callvirt Boolean get_IsFlesh()
L_001b: brfalse Label #3
L_0020: newobj Void .ctor()
L_0025: stloc.s 9 (RimWorld.CompDrug+<PostIngested>c__AnonStorey354)
L_0027: ldloc.s 9 (RimWorld.CompDrug+<PostIngested>c__AnonStorey354)
L_0029: ldarg.0
L_002a: call RimWorld.CompProperties_Drug get_Props()
L_002f: ldfld RimWorld.ChemicalDef chemical
L_0034: ldfld Verse.HediffDef addictionHediff
L_0039: stfld Verse.HediffDef addictionHediffDef
L_003e: ldarg.1
L_003f: ldarg.0
L_0040: call RimWorld.CompProperties_Drug get_Props()
L_0045: ldfld RimWorld.ChemicalDef chemical
L_004a: call RimWorld.Hediff_Addiction FindAddictionHediff(Verse.Pawn, RimWorld.ChemicalDef)
L_004f: stloc.0
L_0050: ldarg.1
L_0051: ldarg.0
L_0052: call RimWorld.CompProperties_Drug get_Props()
L_0057: ldfld RimWorld.ChemicalDef chemical
L_005c: call Verse.Hediff FindToleranceHediff(Verse.Pawn, RimWorld.ChemicalDef)
L_0061: stloc.1
L_0062: ldloc.1
L_0063: brfalse Label #4
L_0068: ldloc.1
L_0069: callvirt Single get_Severity()
L_006e: br Label #5
L_0073: Label #4
L_0073: ldc.r4 0
L_0078: Label #5
L_0078: stloc.2
L_0079: ldloc.0
L_007a: brfalse Label #6
L_007f: ldloc.0
L_0080: dup
L_0081: callvirt Single get_Severity()
L_0086: ldarg.0
L_0087: call RimWorld.CompProperties_Drug get_Props()
L_008c: ldfld System.Single existingAddictionSeverityOffset
L_0091: add
L_0092: callvirt Void set_Severity(Single)
L_0097: br Label #7
L_009c: Label #6
L_009c: call Single get_Value()
L_00a1: ldarg.0
L_00a2: call RimWorld.CompProperties_Drug get_Props()
L_00a7: ldfld System.Single addictiveness
L_00ac: bge.un Label #8
L_00b1: ldloc.2
L_00b2: ldarg.0
L_00b3: call RimWorld.CompProperties_Drug get_Props()
L_00b8: ldfld System.Single minToleranceToAddict
L_00bd: blt.un Label #9
L_00c2: ldarg.1
L_00c3: ldfld Verse.Pawn_HealthTracker health
L_00c8: ldloc.s 9 (RimWorld.CompDrug+<PostIngested>c__AnonStorey354)
L_00ca: ldfld Verse.HediffDef addictionHediffDef
L_00cf: ldnull
L_00d0: ldloca.s 10 (System.Nullable`1[Verse.DamageInfo])
L_00d2: initobj System.Nullable`1[Verse.DamageInfo]
L_00d8: ldloc.s 10 (System.Nullable`1[Verse.DamageInfo])
L_00da: callvirt Void AddHediff(Verse.HediffDef, Verse.BodyPartRecord, Nullable`1)
L_00df: ldarg.1
L_00e0: call Boolean ShouldSendNotificationAbout(Verse.Pawn)
L_00e5: brfalse Label #10
L_00ea: call Verse.LetterStack get_LetterStack()
L_00ef: ldstr "LetterLabelNewlyAddicted"
L_00f4: ldc.i4.1
L_00f5: newarr System.Object
L_00fa: dup
L_00fb: ldc.i4.0
L_00fc: ldarg.0
L_00fd: call RimWorld.CompProperties_Drug get_Props()
L_0102: ldfld RimWorld.ChemicalDef chemical
L_0107: ldfld System.String label
L_010c: stelem.ref
L_010d: call System.String Translate(System.String, System.Object[])
L_0112: call System.String CapitalizeFirst(System.String)
L_0117: ldstr "LetterNewlyAddicted"
L_011c: ldc.i4.2
L_011d: newarr System.Object
L_0122: dup
L_0123: ldc.i4.0
L_0124: ldarg.1
L_0125: callvirt System.String get_LabelShort()
L_012a: stelem.ref
L_012b: dup
L_012c: ldc.i4.1
L_012d: ldarg.0
L_012e: call RimWorld.CompProperties_Drug get_Props()
L_0133: ldfld RimWorld.ChemicalDef chemical
L_0138: ldfld System.String label
L_013d: stelem.ref
L_013e: call System.String Translate(System.String, System.Object[])
L_0143: ldarg.1
L_0144: call System.String AdjustedFor(System.String, Verse.Pawn)
L_0149: call System.String CapitalizeFirst(System.String)
L_014e: ldc.i4.1
L_014f: ldarg.1
L_0150: call GlobalTargetInfo op_Implicit(Verse.Thing)
L_0155: ldnull
L_0156: callvirt Void ReceiveLetter(System.String, System.String, LetterType, GlobalTargetInfo, System.String)
L_015b: Label #10
L_015b: ldarg.1
L_015c: call Void CheckDrugAddictionTeachOpportunity(Verse.Pawn)
L_0161: Label #7
L_0161: Label #8
L_0161: Label #9
L_0161: ldloc.s 9 (RimWorld.CompDrug+<PostIngested>c__AnonStorey354)
L_0163: ldfld Verse.HediffDef addictionHediffDef
L_0168: ldfld RimWorld.NeedDef causesNeed
L_016d: brfalse Label #11
L_0172: ldarg.1
L_0173: ldfld RimWorld.Pawn_NeedsTracker needs
L_0178: callvirt System.Collections.Generic.List`1[RimWorld.Need] get_AllNeeds()
L_017d: ldloc.s 9 (RimWorld.CompDrug+<PostIngested>c__AnonStorey354)
L_017f: ldftn Boolean <>m__404(RimWorld.Need)
L_0185: newobj Void .ctor(Object, IntPtr)
L_018a: callvirt RimWorld.Need Find(System.Predicate`1[RimWorld.Need])
L_018f: stloc.3
L_0190: ldloc.3
L_0191: brfalse Label #12
L_0196: ldarg.0
L_0197: call RimWorld.CompProperties_Drug get_Props()
L_019c: ldfld System.Single needLevelOffset
L_01a1: stloc.s 4 (System.Single)
L_01a3: ldarg.1
L_01a4: ldarg.0
L_01a5: call RimWorld.CompProperties_Drug get_Props()
L_01aa: ldfld RimWorld.ChemicalDef chemical
L_01af: ldloca.s 4 (System.Single)
L_01b1: call Void ModifyChemicalEffectForToleranceAndBodySize(Verse.Pawn, RimWorld.ChemicalDef, Single ByRef)
L_01b6: ldloc.3
L_01b7: dup
L_01b8: callvirt Single get_CurLevel()
L_01bd: ldloc.s 4 (System.Single)
L_01bf: add
L_01c0: callvirt Void set_CurLevel(Single)
L_01c5: Label #11
L_01c5: Label #12
L_01c5: ldarg.1
L_01c6: ldfld Verse.Pawn_HealthTracker health
L_01cb: ldfld Verse.HediffSet hediffSet
L_01d0: ldsfld Verse.HediffDef DrugOverdose
L_01d5: callvirt Verse.Hediff GetFirstHediffOfDef(Verse.HediffDef)
L_01da: stloc.s 5 (Verse.Hediff)
L_01dc: ldloc.s 5 (Verse.Hediff)
L_01de: brfalse Label #13
L_01e3: ldloc.s 5 (Verse.Hediff)
L_01e5: callvirt Single get_Severity()
L_01ea: br Label #14
L_01ef: Label #13
L_01ef: ldc.r4 0
L_01f4: Label #14
L_01f4: stloc.s 6 (System.Single)
L_01f6: ldloc.s 6 (System.Single)
L_01f8: ldc.r4 0.9
L_01fd: bge.un Label #15
L_0202: call Single get_Value()
L_0207: ldarg.0
L_0208: call RimWorld.CompProperties_Drug get_Props()
L_020d: ldfld System.Single largeOverdoseChance
L_0212: bge.un Label #16
L_0217: ldc.r4 0.85
L_021c: ldc.r4 0.99
L_0221: call Single Range(Single, Single)
L_0226: stloc.s 7 (System.Single)
L_0228: ldarg.1
L_0229: ldsfld Verse.HediffDef DrugOverdose
L_022e: ldloc.s 7 (System.Single)
L_0230: ldloc.s 6 (System.Single)
L_0232: sub
L_0233: call Void AdjustSeverity(Verse.Pawn, Verse.HediffDef, Single)
L_0238: ldarg.1
L_0239: callvirt RimWorld.Faction get_Faction()
L_023e: call RimWorld.Faction get_OfPlayer()
L_0243: bne.un Label #17
L_0248: ldstr "MessageAccidentalOverdose"
L_024d: ldc.i4.2
L_024e: newarr System.Object
L_0253: dup
L_0254: ldc.i4.0
L_0255: ldarg.1
L_0256: call System.String LabelIndefinite(Verse.Pawn)
L_025b: stelem.ref
L_025c: dup
L_025d: ldc.i4.1
L_025e: ldarg.0
L_025f: ldfld Verse.ThingWithComps parent
L_0264: callvirt System.String get_LabelNoCount()
L_0269: stelem.ref
L_026a: call System.String Translate(System.String, System.Object[])
L_026f: call System.String CapitalizeFirst(System.String)
L_0274: ldc.i4.4
L_0275: call Void Message(System.String, MessageSound)
L_027a: Label #17
L_027a: br Label #18
L_027f: Label #15
L_027f: Label #16
L_027f: ldarg.0
L_0280: call RimWorld.CompProperties_Drug get_Props()
L_0285: ldflda Verse.FloatRange overdoseSeverityOffset
L_028a: call Single get_RandomInRange()
L_028f: ldarg.1
L_0290: callvirt Single get_BodySize()
L_0295: div
L_0296: stloc.s 8 (System.Single)
L_0298: ldloc.s 8 (System.Single)
L_029a: ldc.r4 0
L_029f: ble.un Label #19
L_02a4: ldarg.1
L_02a5: ldsfld Verse.HediffDef DrugOverdose
L_02aa: ldloc.s 8 (System.Single)
L_02ac: call Void AdjustSeverity(Verse.Pawn, Verse.HediffDef, Single)
L_02b1: Label #2
L_02b1: Label #3
L_02b1: Label #18
L_02b1: Label #19
L_02b1: ldarg.0
L_02b2: call RimWorld.CompProperties_Drug get_Props()
L_02b7: ldfld System.Boolean isCombatEnhancingDrug
L_02bc: brfalse Label #20
L_02c1: ldarg.1
L_02c2: callvirt Boolean get_Dead()
L_02c7: brtrue Label #21
L_02cc: ldarg.1
L_02cd: ldfld Verse.AI.Pawn_MindState mindState
L_02d2: call Verse.TickManager get_TickManager()
L_02d7: callvirt Int32 get_TicksGame()
L_02dc: stfld System.Int32 lastTakeCombatEnancingDrugTick
L_02e1: Label #20
L_02e1: Label #21
L_02e1: ldarg.1
L_02e2: ldfld RimWorld.Pawn_DrugPolicyTracker drugs
L_02e7: brfalse Label #22
L_02ec: ldarg.1
L_02ed: ldfld RimWorld.Pawn_DrugPolicyTracker drugs
L_02f2: ldarg.0
L_02f3: ldfld Verse.ThingWithComps parent
L_02f8: callvirt Void Notify_DrugIngested(Verse.Thing)
L_02fd: Label #22
L_02fd: br Label #0
L_0302: Label #0
L_0302: ldarg 1
L_0308: ldarg.0
L_0309: call Void PostIngestedPostfix(Verse.Pawn, RimWorld.CompDrug)
L_030e: ret
DONE

PATCHING RimWorld.AddictionUtility Boolean CanBingeOnNow(Verse.Pawn, RimWorld.ChemicalDef, DrugCategory)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Collections.Generic.List`1[[Verse.Thing, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 System.Int32
L_0000: Local var #3 RimWorld.CompDrug
L_0000: Local var #4 Verse.IntVec3
L_0000: Local var #5 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 5 (System.Boolean)
L_0007: ldarg.1
L_0008: ldfld System.Boolean canBinge
L_000d: brtrue Label #2
L_0012: ldc.i4.0
L_0013: br Label #0
L_0018: Label #2
L_0018: ldarg.0
L_0019: callvirt Boolean get_Spawned()
L_001e: brtrue Label #3
L_0023: ldc.i4.0
L_0024: br Label #0
L_0029: Label #3
L_0029: ldarg.0
L_002a: callvirt Verse.Map get_Map()
L_002f: ldfld Verse.ListerThings listerThings
L_0034: ldc.i4.s 20
L_0036: callvirt System.Collections.Generic.List`1[Verse.Thing] ThingsInGroup(ThingRequestGroup)
L_003b: stloc.1
L_003c: ldc.i4.0
L_003d: stloc.2
L_003e: br Label #4
L_0043: Label #14
L_0043: ldloc.1
L_0044: ldloc.2
L_0045: callvirt Verse.Thing get_Item(Int32)
L_004a: callvirt IntVec3 get_Position()
L_004f: ldloc.1
L_0050: ldloc.2
L_0051: callvirt Verse.Thing get_Item(Int32)
L_0056: callvirt Verse.Map get_Map()
L_005b: call Boolean Fogged(IntVec3, Verse.Map)
L_0060: brfalse Label #5
L_0065: br Label #6
L_006a: Label #5
L_006a: ldarg.2
L_006b: ldc.i4.1
L_006c: beq Label #7
L_0071: ldloc.1
L_0072: ldloc.2
L_0073: callvirt Verse.Thing get_Item(Int32)
L_0078: ldfld Verse.ThingDef def
L_007d: ldfld RimWorld.IngestibleProperties ingestible
L_0082: ldfld RimWorld.DrugCategory drugCategory
L_0087: ldarg.2
L_0088: beq Label #8
L_008d: br Label #9
L_0092: Label #7
L_0092: Label #8
L_0092: ldloc.1
L_0093: ldloc.2
L_0094: callvirt Verse.Thing get_Item(Int32)
L_0099: call RimWorld.CompDrug TryGetComp[CompDrug](Verse.Thing)
L_009e: stloc.3
L_009f: ldloc.3
L_00a0: callvirt RimWorld.CompProperties_Drug get_Props()
L_00a5: ldfld RimWorld.ChemicalDef chemical
L_00aa: ldarg.1
L_00ab: bne.un Label #10
L_00b0: ldc.i4.1
L_00b1: br Label #0
L_00b6: Label #10
L_00b6: ldloc.1
L_00b7: ldloc.2
L_00b8: callvirt Verse.Thing get_Item(Int32)
L_00bd: callvirt IntVec3 get_Position()
L_00c2: ldloc.1
L_00c3: ldloc.2
L_00c4: callvirt Verse.Thing get_Item(Int32)
L_00c9: callvirt Verse.Map get_Map()
L_00ce: call Boolean Roofed(IntVec3, Verse.Map)
L_00d3: brtrue Label #11
L_00d8: ldloc.1
L_00d9: ldloc.2
L_00da: callvirt Verse.Thing get_Item(Int32)
L_00df: callvirt IntVec3 get_Position()
L_00e4: stloc.s 4 (Verse.IntVec3)
L_00e6: ldloca.s 4 (Verse.IntVec3)
L_00e8: ldarg.0
L_00e9: callvirt IntVec3 get_Position()
L_00ee: ldc.r4 45
L_00f3: call Boolean InHorDistOf(IntVec3, Single)
L_00f8: brtrue Label #12
L_00fd: br Label #13
L_0102: Label #6
L_0102: Label #9
L_0102: Label #11
L_0102: Label #12
L_0102: Label #13
L_0102: ldloc.2
L_0103: ldc.i4.1
L_0104: add
L_0105: stloc.2
L_0106: Label #4
L_0106: ldloc.2
L_0107: ldloc.1
L_0108: callvirt Int32 get_Count()
L_010d: blt Label #14
L_0112: ldc.i4.0
L_0113: br Label #0
L_0118: Label #0
L_0118: stloc 5 (System.Boolean)
L_011a: ldarg 0
L_0120: ldarg 1
L_0126: ldloca 5 (System.Boolean)
L_0128: call Void CanBingeNowPostfix(Verse.Pawn, RimWorld.ChemicalDef, Boolean ByRef)
L_012d: ldloc 5 (System.Boolean)
L_012f: ret
DONE

PATCHING Verse.PawnGenerator Void GenerateBodyType(Verse.Pawn)
L_0000: ldarg.0
L_0001: ldfld RimWorld.Pawn_StoryTracker story
L_0006: ldfld RimWorld.Backstory adulthood
L_000b: brfalse Label #2
L_0010: ldarg.0
L_0011: ldfld RimWorld.Pawn_StoryTracker story
L_0016: ldarg.0
L_0017: ldfld RimWorld.Pawn_StoryTracker story
L_001c: ldfld RimWorld.Backstory adulthood
L_0021: ldarg.0
L_0022: ldfld Verse.Gender gender
L_0027: callvirt BodyType BodyTypeFor(Gender)
L_002c: stfld RimWorld.BodyType bodyType
L_0031: br Label #3
L_0036: Label #2
L_0036: call Single get_Value()
L_003b: ldc.r4 0.5
L_0040: bge.un Label #4
L_0045: ldarg.0
L_0046: ldfld RimWorld.Pawn_StoryTracker story
L_004b: ldc.i4.3
L_004c: stfld RimWorld.BodyType bodyType
L_0051: br Label #5
L_0056: Label #4
L_0056: ldarg.0
L_0057: ldfld RimWorld.Pawn_StoryTracker story
L_005c: ldarg.0
L_005d: ldfld Verse.Gender gender
L_0062: ldc.i4.2
L_0063: bne.un Label #6
L_0068: ldc.i4.2
L_0069: br Label #7
L_006e: Label #6
L_006e: ldc.i4.1
L_006f: Label #7
L_006f: stfld RimWorld.BodyType bodyType
L_0074: Label #3
L_0074: Label #5
L_0074: br Label #0
L_0079: Label #0
L_0079: ldarga 0
L_007f: call Void GenerateBodyTypePostfix(Verse.Pawn ByRef)
L_0084: ret
DONE

PATCHING RimWorld.Pawn_StoryTracker Color get_SkinColor()
L_0000: Local var #0 UnityEngine.Color
L_0000: ldloca 0 (UnityEngine.Color)
L_0002: initobj UnityEngine.Color
L_0008: ldarg.0
L_0009: ldfld System.Single melanin
L_000e: call Color GetSkinColor(Single)
L_0013: br Label #0
L_0018: Label #0
L_0018: stloc 0 (UnityEngine.Color)
L_0019: ldarg.0
L_001a: ldloca 0 (UnityEngine.Color)
L_001c: call Void SkinColorPostfix(RimWorld.Pawn_StoryTracker, Color ByRef)
L_0021: ldloc 0 (UnityEngine.Color)
L_0022: ret
DONE

PATCHING RimWorld.PawnHairChooser RimWorld.HairDef RandomHairDefFor(Verse.Pawn, RimWorld.FactionDef)
L_0000: Local var #0 System.Collections.Generic.IEnumerable`1[[RimWorld.HairDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #1 RimWorld.PawnHairChooser+<RandomHairDefFor>c__AnonStorey2D7
L_0000: Local var #2 RimWorld.HairDef
L_0000: ldnull
L_0001: stloc 2 (RimWorld.HairDef)
L_0002: ldarg 0
L_0008: ldarga 1
L_000e: call Void RandomHairDefForPrefix(Verse.Pawn, RimWorld.FactionDef ByRef)
L_0013: newobj Void .ctor()
L_0018: stloc.1
L_0019: ldloc.1
L_001a: ldarg.1
L_001b: stfld RimWorld.FactionDef factionType
L_0020: ldloc.1
L_0021: ldarg.0
L_0022: stfld Verse.Pawn pawn
L_0027: call IEnumerable`1 get_AllDefs()
L_002c: ldloc.1
L_002d: ldftn Boolean <>m__26D(RimWorld.HairDef)
L_0033: newobj Void .ctor(Object, IntPtr)
L_0038: call IEnumerable`1 Where[HairDef](IEnumerable`1, System.Func`2[RimWorld.HairDef,System.Boolean])
L_003d: stloc.0
L_003e: ldloc.0
L_003f: ldloc.1
L_0040: ldftn Single <>m__26E(RimWorld.HairDef)
L_0046: newobj Void .ctor(Object, IntPtr)
L_004b: call RimWorld.HairDef RandomElementByWeight[HairDef](IEnumerable`1, System.Func`2[RimWorld.HairDef,System.Single])
L_0050: br Label #0
L_0055: Label #0
L_0055: stloc 2 (RimWorld.HairDef)
L_0056: ldloc 2 (RimWorld.HairDef)
L_0057: ret
DONE

PATCHING Verse.Pawn_AgeTracker Void BirthdayBiological()
L_0000: Local var #0 System.Text.StringBuilder
L_0000: Local var #1 Verse.HediffGiver_Birthday
L_0000: Local var #2 System.Collections.Generic.IEnumerator`1[[Verse.HediffGiver_Birthday, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #3 System.String
L_0000: ldarg.0
L_0001: call Void BirthdayBiologicalPrefix(Verse.Pawn_AgeTracker)
L_0006: newobj Void .ctor()
L_000b: stloc.0
L_000c: ldarg.0
L_000d: ldfld Verse.Pawn pawn
L_0012: ldarg.0
L_0013: call Int32 get_AgeBiologicalYears()
L_0018: call IEnumerable`1 RandomHediffsToGainOnBirthday(Verse.Pawn, Int32)
L_001d: callvirt IEnumerator`1 GetEnumerator()
L_0022: stloc.2
L_0023: br Label #2
L_0028: Label #5
L_0028: ldloc.2
L_0029: callvirt Verse.HediffGiver_Birthday get_Current()
L_002e: stloc.1
L_002f: ldloc.1
L_0030: ldarg.0
L_0031: ldfld Verse.Pawn pawn
L_0036: ldnull
L_0037: callvirt Boolean TryApply(Verse.Pawn, System.Collections.Generic.List`1[Verse.Hediff])
L_003c: brfalse Label #3
L_0041: ldloc.0
L_0042: callvirt Int32 get_Length()
L_0047: brfalse Label #4
L_004c: ldloc.0
L_004d: callvirt System.Text.StringBuilder AppendLine()
L_0052: pop
L_0053: Label #4
L_0053: ldloc.0
L_0054: ldstr " - "
L_0059: ldloc.1
L_005a: ldfld Verse.HediffDef hediff
L_005f: callvirt System.String get_LabelCap()
L_0064: call System.String Concat(System.String, System.String)
L_0069: callvirt System.Text.StringBuilder Append(System.String)
L_006e: pop
L_006f: Label #2
L_006f: Label #3
L_006f: ldloc.2
L_0070: callvirt Boolean MoveNext()
L_0075: brtrue Label #5
L_007a: leave Label #6
L_007f: ldloc.2
L_0080: brtrue Label #7
L_0085: endfinally
L_0086: Label #7
L_0086: ldloc.2
L_0087: callvirt Void Dispose()
L_008c: endfinally
L_008d: Label #6
L_008d: ldarg.0
L_008e: ldfld Verse.Pawn pawn
L_0093: callvirt Verse.RaceProperties get_RaceProps()
L_0098: callvirt Boolean get_Humanlike()
L_009d: brfalse Label #8
L_00a2: ldarg.0
L_00a3: ldfld Verse.Pawn pawn
L_00a8: call Boolean ShouldSendNotificationAbout(Verse.Pawn)
L_00ad: brfalse Label #9
L_00b2: ldloc.0
L_00b3: callvirt Int32 get_Length()
L_00b8: ldc.i4.0
L_00b9: ble Label #10
L_00be: ldstr "BirthdayBiologicalAgeInjuries"
L_00c3: ldc.i4.3
L_00c4: newarr System.Object
L_00c9: dup
L_00ca: ldc.i4.0
L_00cb: ldarg.0
L_00cc: ldfld Verse.Pawn pawn
L_00d1: stelem.ref
L_00d2: dup
L_00d3: ldc.i4.1
L_00d4: ldarg.0
L_00d5: call Int32 get_AgeBiologicalYears()
L_00da: box System.Int32
L_00df: stelem.ref
L_00e0: dup
L_00e1: ldc.i4.2
L_00e2: ldloc.0
L_00e3: stelem.ref
L_00e4: call System.String Translate(System.String, System.Object[])
L_00e9: ldarg.0
L_00ea: ldfld Verse.Pawn pawn
L_00ef: call System.String AdjustedFor(System.String, Verse.Pawn)
L_00f4: stloc.3
L_00f5: call Verse.LetterStack get_LetterStack()
L_00fa: ldstr "LetterLabelBirthday"
L_00ff: call System.String Translate(System.String)
L_0104: ldloc.3
L_0105: ldc.i4.1
L_0106: ldarg.0
L_0107: ldfld Verse.Pawn pawn
L_010c: call TargetInfo op_Implicit(Verse.Thing)
L_0111: call GlobalTargetInfo op_Implicit(TargetInfo)
L_0116: newobj Void .ctor(String, String, LetterType, GlobalTargetInfo)
L_011b: ldnull
L_011c: callvirt Void ReceiveLetter(Verse.Letter, System.String)
L_0121: Label #8
L_0121: Label #9
L_0121: Label #10
L_0121: br Label #0
L_0126: Label #0
L_0126: ret
DONE

PATCHING Verse.PawnGenerator Verse.Pawn GeneratePawn(PawnGenerationRequest)
L_0000: Local var #0 Verse.Pawn
L_0000: Local var #1 System.Collections.Generic.IEnumerable`1[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 Verse.PawnGenerator+<GeneratePawn>c__AnonStorey4AE
L_0000: Local var #3 Verse.Pawn
L_0000: ldnull
L_0001: stloc 3 (Verse.Pawn)
L_0002: ldarga 0
L_0008: call Void GeneratePawnPrefix(PawnGenerationRequest ByRef)
L_000d: newobj Void .ctor()
L_0012: stloc.2
L_0013: ldloc.2
L_0014: ldarg.0
L_0015: stfld Verse.PawnGenerationRequest request
L_001a: ldloc.2
L_001b: ldflda Verse.PawnGenerationRequest request
L_0020: call Void EnsureNonNullFaction()
L_0025: ldnull
L_0026: stloc.0
L_0027: ldloc.2
L_0028: ldflda Verse.PawnGenerationRequest request
L_002d: call Boolean get_Newborn()
L_0032: brtrue Label #2
L_0037: ldloc.2
L_0038: ldflda Verse.PawnGenerationRequest request
L_003d: call Boolean get_ForceGenerateNewPawn()
L_0042: brtrue Label #3
L_0047: call Single get_Value()
L_004c: call Single ChanceToRedressAnyWorldPawn()
L_0051: bge.un Label #4
L_0056: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_005b: ldc.i4.1
L_005c: callvirt IEnumerable`1 GetPawnsBySituation(WorldPawnSituation)
L_0061: stloc.1
L_0062: ldloc.2
L_0063: ldflda Verse.PawnGenerationRequest request
L_0068: call Verse.PawnKindDef get_KindDef()
L_006d: ldfld System.Boolean factionLeader
L_0072: brfalse Label #5
L_0077: ldloc.1
L_0078: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_007d: ldc.i4.3
L_007e: callvirt IEnumerable`1 GetPawnsBySituation(WorldPawnSituation)
L_0083: call IEnumerable`1 Concat[Pawn](IEnumerable`1, IEnumerable`1)
L_0088: stloc.1
L_0089: Label #5
L_0089: ldloc.1
L_008a: ldloc.2
L_008b: ldftn Boolean <>m__7BB(Verse.Pawn)
L_0091: newobj Void .ctor(Object, IntPtr)
L_0096: call IEnumerable`1 Where[Pawn](IEnumerable`1, System.Func`2[Verse.Pawn,System.Boolean])
L_009b: stloc.1
L_009c: ldloc.1
L_009d: ldsfld System.Func`2[Verse.Pawn,System.Single] <>f__am$cache5
L_00a2: brtrue Label #6
L_00a7: ldnull
L_00a8: ldftn Single <GeneratePawn>m__7BC(Verse.Pawn)
L_00ae: newobj Void .ctor(Object, IntPtr)
L_00b3: stsfld System.Func`2[Verse.Pawn,System.Single] <>f__am$cache5
L_00b8: Label #6
L_00b8: ldsfld System.Func`2[Verse.Pawn,System.Single] <>f__am$cache5
L_00bd: ldloca.s 0 (Verse.Pawn)
L_00bf: call Boolean TryRandomElementByWeight[Pawn](IEnumerable`1, System.Func`2[Verse.Pawn,System.Single], Verse.Pawn ByRef)
L_00c4: brfalse Label #7
L_00c9: ldloc.0
L_00ca: ldloc.2
L_00cb: ldfld Verse.PawnGenerationRequest request
L_00d0: call Void RedressPawn(Verse.Pawn, PawnGenerationRequest)
L_00d5: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_00da: ldloc.0
L_00db: callvirt Void RemovePawn(Verse.Pawn)
L_00e0: Label #2
L_00e0: Label #3
L_00e0: Label #4
L_00e0: Label #7
L_00e0: ldloc.0
L_00e1: brtrue Label #8
L_00e6: ldloc.2
L_00e7: ldflda Verse.PawnGenerationRequest request
L_00ec: call Verse.Pawn GenerateNewNakedPawn(PawnGenerationRequest ByRef)
L_00f1: stloc.0
L_00f2: ldloc.0
L_00f3: brtrue Label #9
L_00f8: ldnull
L_00f9: br Label #0
L_00fe: Label #9
L_00fe: ldloc.2
L_00ff: ldflda Verse.PawnGenerationRequest request
L_0104: call Boolean get_Newborn()
L_0109: brtrue Label #10
L_010e: ldloc.0
L_010f: ldloc.2
L_0110: ldfld Verse.PawnGenerationRequest request
L_0115: call Void GenerateGearFor(Verse.Pawn, PawnGenerationRequest)
L_011a: Label #8
L_011a: Label #10
L_011a: call RimWorld.Scenario get_Scenario()
L_011f: brfalse Label #11
L_0124: call RimWorld.Scenario get_Scenario()
L_0129: ldloc.0
L_012a: ldloc.2
L_012b: ldflda Verse.PawnGenerationRequest request
L_0130: call PawnGenerationContext get_Context()
L_0135: callvirt Void Notify_PawnGenerated(Verse.Pawn, PawnGenerationContext)
L_013a: Label #11
L_013a: ldloc.0
L_013b: br Label #0
L_0140: Label #0
L_0140: stloc 3 (Verse.Pawn)
L_0141: ldloc 3 (Verse.Pawn)
L_0142: ret
DONE

PATCHING Verse.PawnGraphicSet Void ResolveAllGraphics()
L_0000: Local var #0 Verse.PawnKindLifeStage
L_0000: ldarg.0
L_0001: call Boolean ResolveAllGraphicsPrefix(Verse.PawnGraphicSet)
L_0006: brfalse Label #1
L_000b: ldarg.0
L_000c: call Void ClearCache()
L_0011: ldarg.0
L_0012: ldfld Verse.Pawn pawn
L_0017: callvirt Verse.RaceProperties get_RaceProps()
L_001c: callvirt Boolean get_Humanlike()
L_0021: brfalse Label #2
L_0026: ldarg.0
L_0027: ldarg.0
L_0028: ldfld Verse.Pawn pawn
L_002d: ldfld RimWorld.Pawn_StoryTracker story
L_0032: ldfld RimWorld.BodyType bodyType
L_0037: ldsfld UnityEngine.Shader CutoutSkin
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld RimWorld.Pawn_StoryTracker story
L_0047: callvirt Color get_SkinColor()
L_004c: call Verse.Graphic GetNakedBodyGraphic(BodyType, UnityEngine.Shader, Color)
L_0051: stfld Verse.Graphic nakedGraphic
L_0056: ldarg.0
L_0057: ldarg.0
L_0058: ldfld Verse.Pawn pawn
L_005d: ldfld RimWorld.Pawn_StoryTracker story
L_0062: ldfld RimWorld.BodyType bodyType
L_0067: ldsfld UnityEngine.Shader CutoutSkin
L_006c: ldsfld UnityEngine.Color RottingColor
L_0071: call Verse.Graphic GetNakedBodyGraphic(BodyType, UnityEngine.Shader, Color)
L_0076: stfld Verse.Graphic rottingGraphic
L_007b: ldarg.0
L_007c: ldstr "Things/Pawn/Humanlike/HumanoidDessicated"
L_0081: ldsfld UnityEngine.Shader Cutout
L_0086: call Verse.Graphic Get[Graphic_Multi](System.String, UnityEngine.Shader)
L_008b: stfld Verse.Graphic dessicatedGraphic
L_0090: ldarg.0
L_0091: ldarg.0
L_0092: ldfld Verse.Pawn pawn
L_0097: ldfld RimWorld.Pawn_StoryTracker story
L_009c: callvirt System.String get_HeadGraphicPath()
L_00a1: ldarg.0
L_00a2: ldfld Verse.Pawn pawn
L_00a7: ldfld RimWorld.Pawn_StoryTracker story
L_00ac: callvirt Color get_SkinColor()
L_00b1: call Verse.Graphic_Multi GetHeadNamed(System.String, Color)
L_00b6: stfld Verse.Graphic headGraphic
L_00bb: ldarg.0
L_00bc: ldarg.0
L_00bd: ldfld Verse.Pawn pawn
L_00c2: ldfld RimWorld.Pawn_StoryTracker story
L_00c7: callvirt System.String get_HeadGraphicPath()
L_00cc: ldsfld UnityEngine.Color RottingColor
L_00d1: call Verse.Graphic_Multi GetHeadNamed(System.String, Color)
L_00d6: stfld Verse.Graphic desiccatedHeadGraphic
L_00db: ldarg.0
L_00dc: call Verse.Graphic_Multi GetSkull()
L_00e1: stfld Verse.Graphic skullGraphic
L_00e6: ldarg.0
L_00e7: ldarg.0
L_00e8: ldfld Verse.Pawn pawn
L_00ed: ldfld RimWorld.Pawn_StoryTracker story
L_00f2: ldfld RimWorld.HairDef hairDef
L_00f7: ldfld System.String texPath
L_00fc: ldsfld UnityEngine.Shader Cutout
L_0101: call Vector2 get_one()
L_0106: ldarg.0
L_0107: ldfld Verse.Pawn pawn
L_010c: ldfld RimWorld.Pawn_StoryTracker story
L_0111: ldfld UnityEngine.Color hairColor
L_0116: call Verse.Graphic Get[Graphic_Multi](System.String, UnityEngine.Shader, Vector2, Color)
L_011b: stfld Verse.Graphic hairGraphic
L_0120: ldarg.0
L_0121: call Void ResolveApparelGraphics()
L_0126: br Label #3
L_012b: Label #2
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn pawn
L_0131: ldfld Verse.Pawn_AgeTracker ageTracker
L_0136: callvirt Verse.PawnKindLifeStage get_CurKindLifeStage()
L_013b: stloc.0
L_013c: ldarg.0
L_013d: ldfld Verse.Pawn pawn
L_0142: ldfld Verse.Gender gender
L_0147: ldc.i4.2
L_0148: bne.un Label #4
L_014d: ldloc.0
L_014e: ldfld Verse.GraphicData femaleGraphicData
L_0153: brtrue Label #5
L_0158: Label #4
L_0158: ldarg.0
L_0159: ldloc.0
L_015a: ldfld Verse.GraphicData bodyGraphicData
L_015f: callvirt Verse.Graphic get_Graphic()
L_0164: stfld Verse.Graphic nakedGraphic
L_0169: br Label #6
L_016e: Label #5
L_016e: ldarg.0
L_016f: ldloc.0
L_0170: ldfld Verse.GraphicData femaleGraphicData
L_0175: callvirt Verse.Graphic get_Graphic()
L_017a: stfld Verse.Graphic nakedGraphic
L_017f: Label #6
L_017f: ldarg.0
L_0180: ldarg.0
L_0181: ldfld Verse.Graphic nakedGraphic
L_0186: ldsfld UnityEngine.Shader CutoutSkin
L_018b: ldsfld UnityEngine.Color RottingColor
L_0190: ldsfld UnityEngine.Color RottingColor
L_0195: callvirt Verse.Graphic GetColoredVersion(UnityEngine.Shader, Color, Color)
L_019a: stfld Verse.Graphic rottingGraphic
L_019f: ldarg.0
L_01a0: ldfld Verse.Pawn pawn
L_01a5: callvirt Verse.RaceProperties get_RaceProps()
L_01aa: ldfld System.Boolean packAnimal
L_01af: brfalse Label #7
L_01b4: ldarg.0
L_01b5: ldarg.0
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: ldfld System.String path
L_01c0: ldstr "Pack"
L_01c5: call System.String Concat(System.String, System.String)
L_01ca: ldsfld UnityEngine.Shader Cutout
L_01cf: ldarg.0
L_01d0: ldfld Verse.Graphic nakedGraphic
L_01d5: ldfld UnityEngine.Vector2 drawSize
L_01da: call Color get_white()
L_01df: call Verse.Graphic Get[Graphic_Multi](System.String, UnityEngine.Shader, Vector2, Color)
L_01e4: stfld Verse.Graphic packGraphic
L_01e9: Label #7
L_01e9: ldloc.0
L_01ea: ldfld Verse.GraphicData dessicatedBodyGraphicData
L_01ef: brfalse Label #8
L_01f4: ldarg.0
L_01f5: ldloc.0
L_01f6: ldfld Verse.GraphicData dessicatedBodyGraphicData
L_01fb: ldarg.0
L_01fc: ldfld Verse.Pawn pawn
L_0201: callvirt Verse.Graphic GraphicColoredFor(Verse.Thing)
L_0206: stfld Verse.Graphic dessicatedGraphic
L_020b: Label #3
L_020b: Label #8
L_020b: br Label #0
L_0210: Label #0
L_0210: Label #1
L_0210: ret
DONE

PATCHING Verse.PawnRenderer Void RenderPawnInternal(Vector3, Quaternion, Boolean, Rot4, Rot4, RotDrawMode, Boolean)
L_0000: Local var #0 UnityEngine.Mesh
L_0000: Local var #1 UnityEngine.Vector3
L_0000: Local var #2 System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #3 System.Int32
L_0000: Local var #4 UnityEngine.Material
L_0000: Local var #5 UnityEngine.Vector3
L_0000: Local var #6 UnityEngine.Vector3
L_0000: Local var #7 UnityEngine.Vector3
L_0000: Local var #8 UnityEngine.Vector3
L_0000: Local var #9 UnityEngine.Mesh
L_0000: Local var #10 UnityEngine.Material
L_0000: Local var #11 UnityEngine.Vector3
L_0000: Local var #12 System.Boolean
L_0000: Local var #13 UnityEngine.Mesh
L_0000: Local var #14 System.Collections.Generic.List`1[[RimWorld.ApparelGraphicRecord, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #15 System.Int32
L_0000: Local var #16 UnityEngine.Material
L_0000: Local var #17 UnityEngine.Mesh
L_0000: Local var #18 UnityEngine.Material
L_0000: Local var #19 System.Int32
L_0000: Local var #20 RimWorld.ApparelGraphicRecord
L_0000: Local var #21 UnityEngine.Material
L_0000: Local var #22 System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #23 System.Int32
L_0000: Local var #24 UnityEngine.Vector3
L_0000: Local var #25 RimWorld.ApparelGraphicRecord
L_0000: Local var #26 RimWorld.ApparelGraphicRecord
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: ldarg 2
L_000d: ldarg 3
L_0013: ldarg 4
L_0019: ldarg 5
L_001f: ldarg 6
L_0025: ldarg 7
L_002b: call Boolean RenderPawnInternalPrefix(Verse.PawnRenderer, Vector3, Quaternion, Boolean, Rot4, Rot4, RotDrawMode, Boolean)
L_0030: brfalse Label #1
L_0035: ldarg.0
L_0036: ldfld Verse.PawnGraphicSet graphics
L_003b: callvirt Boolean get_AllResolved()
L_0040: brtrue Label #2
L_0045: ldarg.0
L_0046: ldfld Verse.PawnGraphicSet graphics
L_004b: callvirt Void ResolveAllGraphics()
L_0050: Label #2
L_0050: ldnull
L_0051: stloc.0
L_0052: ldarg.3
L_0053: brfalse Label #3
L_0058: ldarg.1
L_0059: stloc.1
L_005a: ldloca.s 1 (UnityEngine.Vector3)
L_005c: dup
L_005d: ldfld System.Single y
L_0062: ldc.r4 0.005
L_0067: add
L_0068: stfld System.Single y
L_006d: ldarg.s 6
L_006f: ldc.i4.2
L_0070: bne.un Label #4
L_0075: ldarg.0
L_0076: ldfld Verse.Pawn pawn
L_007b: callvirt Verse.RaceProperties get_RaceProps()
L_0080: callvirt Boolean get_Humanlike()
L_0085: brtrue Label #5
L_008a: ldarg.0
L_008b: ldfld Verse.PawnGraphicSet graphics
L_0090: ldfld Verse.Graphic dessicatedGraphic
L_0095: brfalse Label #6
L_009a: ldarg.s 7
L_009c: brtrue Label #7
L_00a1: ldarg.0
L_00a2: ldfld Verse.PawnGraphicSet graphics
L_00a7: ldfld Verse.Graphic dessicatedGraphic
L_00ac: ldloc.1
L_00ad: ldarg.s 4
L_00af: ldarg.0
L_00b0: ldfld Verse.Pawn pawn
L_00b5: callvirt Void Draw(Vector3, Rot4, Verse.Thing)
L_00ba: br Label #8
L_00bf: Label #4
L_00bf: Label #5
L_00bf: Label #6
L_00bf: Label #7
L_00bf: ldarg.0
L_00c0: ldfld Verse.Pawn pawn
L_00c5: callvirt Verse.RaceProperties get_RaceProps()
L_00ca: callvirt Boolean get_Humanlike()
L_00cf: brfalse Label #9
L_00d4: ldsfld Verse.GraphicMeshSet humanlikeBodySet
L_00d9: ldarg.s 4
L_00db: callvirt UnityEngine.Mesh MeshAt(Rot4)
L_00e0: stloc.0
L_00e1: br Label #10
L_00e6: Label #9
L_00e6: ldarg.0
L_00e7: ldfld Verse.PawnGraphicSet graphics
L_00ec: ldfld Verse.Graphic nakedGraphic
L_00f1: ldarg.s 4
L_00f3: callvirt UnityEngine.Mesh MeshAt(Rot4)
L_00f8: stloc.0
L_00f9: Label #10
L_00f9: ldarg.0
L_00fa: ldfld Verse.PawnGraphicSet graphics
L_00ff: ldarg.s 4
L_0101: ldarg.s 6
L_0103: callvirt System.Collections.Generic.List`1[UnityEngine.Material] MatsBodyBaseAt(Rot4, RotDrawMode)
L_0108: stloc.2
L_0109: ldc.i4.0
L_010a: stloc.3
L_010b: br Label #11
L_0110: Label #12
L_0110: ldarg.0
L_0111: ldfld Verse.PawnGraphicSet graphics
L_0116: ldfld Verse.DamageFlasher flasher
L_011b: ldloc.2
L_011c: ldloc.3
L_011d: callvirt UnityEngine.Material get_Item(Int32)
L_0122: callvirt UnityEngine.Material GetDamagedMat(UnityEngine.Material)
L_0127: stloc.s 4 (UnityEngine.Material)
L_0129: ldloc.0
L_012a: ldloc.1
L_012b: ldarg.2
L_012c: ldloc.s 4 (UnityEngine.Material)
L_012e: ldarg.s 7
L_0130: call Void DrawMeshNowOrLater(UnityEngine.Mesh, Vector3, Quaternion, UnityEngine.Material, Boolean)
L_0135: ldloca.s 1 (UnityEngine.Vector3)
L_0137: dup
L_0138: ldfld System.Single y
L_013d: ldc.r4 0.005
L_0142: add
L_0143: stfld System.Single y
L_0148: ldloc.3
L_0149: ldc.i4.1
L_014a: add
L_014b: stloc.3
L_014c: Label #11
L_014c: ldloc.3
L_014d: ldloc.2
L_014e: callvirt Int32 get_Count()
L_0153: blt Label #12
L_0158: ldarg.s 6
L_015a: brtrue Label #13
L_015f: ldarg.1
L_0160: stloc.s 5 (UnityEngine.Vector3)
L_0162: ldloca.s 5 (UnityEngine.Vector3)
L_0164: dup
L_0165: ldfld System.Single y
L_016a: ldc.r4 0.02
L_016f: add
L_0170: stfld System.Single y
L_0175: ldarg.0
L_0176: ldfld RimWorld.PawnWoundDrawer woundOverlays
L_017b: ldloc.s 5 (UnityEngine.Vector3)
L_017d: ldloc.0
L_017e: ldarg.2
L_017f: ldarg.s 7
L_0181: callvirt Void RenderOverBody(Vector3, UnityEngine.Mesh, Quaternion, Boolean)
L_0186: Label #3
L_0186: Label #8
L_0186: Label #13
L_0186: ldarg.1
L_0187: stloc.s 6 (UnityEngine.Vector3)
L_0189: ldarg.1
L_018a: stloc.s 7 (UnityEngine.Vector3)
L_018c: ldarg.s 4
L_018e: call Rot4 get_North()
L_0193: call Boolean op_Inequality(Rot4, Rot4)
L_0198: brfalse Label #14
L_019d: ldloca.s 7 (UnityEngine.Vector3)
L_019f: dup
L_01a0: ldfld System.Single y
L_01a5: ldc.r4 0.03
L_01aa: add
L_01ab: stfld System.Single y
L_01b0: ldloca.s 6 (UnityEngine.Vector3)
L_01b2: dup
L_01b3: ldfld System.Single y
L_01b8: ldc.r4 0.025
L_01bd: add
L_01be: stfld System.Single y
L_01c3: br Label #15
L_01c8: Label #14
L_01c8: ldloca.s 7 (UnityEngine.Vector3)
L_01ca: dup
L_01cb: ldfld System.Single y
L_01d0: ldc.r4 0.025
L_01d5: add
L_01d6: stfld System.Single y
L_01db: ldloca.s 6 (UnityEngine.Vector3)
L_01dd: dup
L_01de: ldfld System.Single y
L_01e3: ldc.r4 0.03
L_01e8: add
L_01e9: stfld System.Single y
L_01ee: Label #15
L_01ee: ldarg.0
L_01ef: ldfld Verse.PawnGraphicSet graphics
L_01f4: ldfld Verse.Graphic headGraphic
L_01f9: brfalse Label #16
L_01fe: ldarg.2
L_01ff: ldarg.0
L_0200: ldarg.s 5
L_0202: call Vector3 BaseHeadOffsetAt(Rot4)
L_0207: call Vector3 op_Multiply(Quaternion, Vector3)
L_020c: stloc.s 8 (UnityEngine.Vector3)
L_020e: ldsfld Verse.GraphicMeshSet humanlikeHeadSet
L_0213: ldarg.s 5
L_0215: callvirt UnityEngine.Mesh MeshAt(Rot4)
L_021a: stloc.s 9 (UnityEngine.Mesh)
L_021c: ldarg.0
L_021d: ldfld Verse.PawnGraphicSet graphics
L_0222: ldarg.s 5
L_0224: ldarg.s 6
L_0226: callvirt UnityEngine.Material HeadMatAt(Rot4, RotDrawMode)
L_022b: stloc.s 10 (UnityEngine.Material)
L_022d: ldloc.s 9 (UnityEngine.Mesh)
L_022f: ldloc.s 7 (UnityEngine.Vector3)
L_0231: ldloc.s 8 (UnityEngine.Vector3)
L_0233: call Vector3 op_Addition(Vector3, Vector3)
L_0238: ldarg.2
L_0239: ldloc.s 10 (UnityEngine.Material)
L_023b: ldarg.s 7
L_023d: call Void DrawMeshNowOrLater(UnityEngine.Mesh, Vector3, Quaternion, UnityEngine.Material, Boolean)
L_0242: ldarg.1
L_0243: ldloc.s 8 (UnityEngine.Vector3)
L_0245: call Vector3 op_Addition(Vector3, Vector3)
L_024a: stloc.s 11 (UnityEngine.Vector3)
L_024c: ldloca.s 11 (UnityEngine.Vector3)
L_024e: dup
L_024f: ldfld System.Single y
L_0254: ldc.r4 0.035
L_0259: add
L_025a: stfld System.Single y
L_025f: ldc.i4.0
L_0260: stloc.s 12 (System.Boolean)
L_0262: ldarg.0
L_0263: ldfld Verse.PawnGraphicSet graphics
L_0268: callvirt Verse.GraphicMeshSet get_HairMeshSet()
L_026d: ldarg.s 5
L_026f: callvirt UnityEngine.Mesh MeshAt(Rot4)
L_0274: stloc.s 13 (UnityEngine.Mesh)
L_0276: ldarg.0
L_0277: ldfld Verse.PawnGraphicSet graphics
L_027c: ldfld System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord] apparelGraphics
L_0281: stloc.s 14 (System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord])
L_0283: ldc.i4.0
L_0284: stloc.s 15 (System.Int32)
L_0286: br Label #17
L_028b: Label #19
L_028b: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord])
L_028d: ldloc.s 15 (System.Int32)
L_028f: callvirt ApparelGraphicRecord get_Item(Int32)
L_0294: stloc.s 25 (RimWorld.ApparelGraphicRecord)
L_0296: ldloca.s 25 (RimWorld.ApparelGraphicRecord)
L_0298: ldfld RimWorld.Apparel sourceApparel
L_029d: ldfld Verse.ThingDef def
L_02a2: ldfld RimWorld.ApparelProperties apparel
L_02a7: callvirt ApparelLayer get_LastLayer()
L_02ac: ldc.i4.4
L_02ad: bne.un Label #18
L_02b2: ldc.i4.1
L_02b3: stloc.s 12 (System.Boolean)
L_02b5: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord])
L_02b7: ldloc.s 15 (System.Int32)
L_02b9: callvirt ApparelGraphicRecord get_Item(Int32)
L_02be: stloc.s 26 (RimWorld.ApparelGraphicRecord)
L_02c0: ldloca.s 26 (RimWorld.ApparelGraphicRecord)
L_02c2: ldfld Verse.Graphic graphic
L_02c7: ldarg.s 4
L_02c9: ldnull
L_02ca: callvirt UnityEngine.Material MatAt(Rot4, Verse.Thing)
L_02cf: stloc.s 16 (UnityEngine.Material)
L_02d1: ldarg.0
L_02d2: ldfld Verse.PawnGraphicSet graphics
L_02d7: ldfld Verse.DamageFlasher flasher
L_02dc: ldloc.s 16 (UnityEngine.Material)
L_02de: callvirt UnityEngine.Material GetDamagedMat(UnityEngine.Material)
L_02e3: stloc.s 16 (UnityEngine.Material)
L_02e5: ldloc.s 13 (UnityEngine.Mesh)
L_02e7: ldloc.s 11 (UnityEngine.Vector3)
L_02e9: ldarg.2
L_02ea: ldloc.s 16 (UnityEngine.Material)
L_02ec: ldarg.s 7
L_02ee: call Void DrawMeshNowOrLater(UnityEngine.Mesh, Vector3, Quaternion, UnityEngine.Material, Boolean)
L_02f3: Label #18
L_02f3: ldloc.s 15 (System.Int32)
L_02f5: ldc.i4.1
L_02f6: add
L_02f7: stloc.s 15 (System.Int32)
L_02f9: Label #17
L_02f9: ldloc.s 15 (System.Int32)
L_02fb: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord])
L_02fd: callvirt Int32 get_Count()
L_0302: blt Label #19
L_0307: ldloc.s 12 (System.Boolean)
L_0309: brtrue Label #20
L_030e: ldarg.s 6
L_0310: ldc.i4.2
L_0311: beq Label #21
L_0316: ldarg.0
L_0317: ldfld Verse.PawnGraphicSet graphics
L_031c: callvirt Verse.GraphicMeshSet get_HairMeshSet()
L_0321: ldarg.s 5
L_0323: callvirt UnityEngine.Mesh MeshAt(Rot4)
L_0328: stloc.s 17 (UnityEngine.Mesh)
L_032a: ldarg.0
L_032b: ldfld Verse.PawnGraphicSet graphics
L_0330: ldarg.s 5
L_0332: callvirt UnityEngine.Material HairMatAt(Rot4)
L_0337: stloc.s 18 (UnityEngine.Material)
L_0339: ldloc.s 17 (UnityEngine.Mesh)
L_033b: ldloc.s 11 (UnityEngine.Vector3)
L_033d: ldarg.2
L_033e: ldloc.s 18 (UnityEngine.Material)
L_0340: ldarg.s 7
L_0342: call Void DrawMeshNowOrLater(UnityEngine.Mesh, Vector3, Quaternion, UnityEngine.Material, Boolean)
L_0347: Label #16
L_0347: Label #20
L_0347: Label #21
L_0347: ldarg.3
L_0348: brfalse Label #22
L_034d: ldc.i4.0
L_034e: stloc.s 19 (System.Int32)
L_0350: br Label #23
L_0355: Label #25
L_0355: ldarg.0
L_0356: ldfld Verse.PawnGraphicSet graphics
L_035b: ldfld System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord] apparelGraphics
L_0360: ldloc.s 19 (System.Int32)
L_0362: callvirt ApparelGraphicRecord get_Item(Int32)
L_0367: stloc.s 20 (RimWorld.ApparelGraphicRecord)
L_0369: ldloca.s 20 (RimWorld.ApparelGraphicRecord)
L_036b: ldfld RimWorld.Apparel sourceApparel
L_0370: ldfld Verse.ThingDef def
L_0375: ldfld RimWorld.ApparelProperties apparel
L_037a: callvirt ApparelLayer get_LastLayer()
L_037f: ldc.i4.2
L_0380: bne.un Label #24
L_0385: ldloca.s 20 (RimWorld.ApparelGraphicRecord)
L_0387: ldfld Verse.Graphic graphic
L_038c: ldarg.s 4
L_038e: ldnull
L_038f: callvirt UnityEngine.Material MatAt(Rot4, Verse.Thing)
L_0394: stloc.s 21 (UnityEngine.Material)
L_0396: ldarg.0
L_0397: ldfld Verse.PawnGraphicSet graphics
L_039c: ldfld Verse.DamageFlasher flasher
L_03a1: ldloc.s 21 (UnityEngine.Material)
L_03a3: callvirt UnityEngine.Material GetDamagedMat(UnityEngine.Material)
L_03a8: stloc.s 21 (UnityEngine.Material)
L_03aa: ldloc.0
L_03ab: ldloc.s 6 (UnityEngine.Vector3)
L_03ad: ldarg.2
L_03ae: ldloc.s 21 (UnityEngine.Material)
L_03b0: ldarg.s 7
L_03b2: call Void DrawMeshNowOrLater(UnityEngine.Mesh, Vector3, Quaternion, UnityEngine.Material, Boolean)
L_03b7: Label #24
L_03b7: ldloc.s 19 (System.Int32)
L_03b9: ldc.i4.1
L_03ba: add
L_03bb: stloc.s 19 (System.Int32)
L_03bd: Label #23
L_03bd: ldloc.s 19 (System.Int32)
L_03bf: ldarg.0
L_03c0: ldfld Verse.PawnGraphicSet graphics
L_03c5: ldfld System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord] apparelGraphics
L_03ca: callvirt Int32 get_Count()
L_03cf: blt Label #25
L_03d4: Label #22
L_03d4: ldarg.s 7
L_03d6: brtrue Label #26
L_03db: ldarg.0
L_03dc: ldfld Verse.Pawn pawn
L_03e1: callvirt Verse.RaceProperties get_RaceProps()
L_03e6: callvirt Boolean get_Animal()
L_03eb: brfalse Label #27
L_03f0: ldarg.0
L_03f1: ldfld Verse.Pawn pawn
L_03f6: ldfld Verse.Pawn_InventoryTracker inventory
L_03fb: brfalse Label #28
L_0400: ldarg.0
L_0401: ldfld Verse.Pawn pawn
L_0406: ldfld Verse.Pawn_InventoryTracker inventory
L_040b: ldfld Verse.ThingContainer innerContainer
L_0410: callvirt Int32 get_Count()
L_0415: ldc.i4.0
L_0416: ble Label #29
L_041b: ldloc.0
L_041c: ldloc.s 6 (UnityEngine.Vector3)
L_041e: ldarg.2
L_041f: ldarg.0
L_0420: ldfld Verse.PawnGraphicSet graphics
L_0425: ldfld Verse.Graphic packGraphic
L_042a: ldarg.0
L_042b: ldfld Verse.Pawn pawn
L_0430: callvirt Rot4 get_Rotation()
L_0435: ldnull
L_0436: callvirt UnityEngine.Material MatAt(Rot4, Verse.Thing)
L_043b: ldc.i4.0
L_043c: call Void DrawMesh(UnityEngine.Mesh, Vector3, Quaternion, UnityEngine.Material, Int32)
L_0441: Label #26
L_0441: Label #27
L_0441: Label #28
L_0441: Label #29
L_0441: ldarg.s 7
L_0443: brtrue Label #30
L_0448: ldarg.0
L_0449: ldarg.1
L_044a: call Void DrawEquipment(Vector3)
L_044f: ldarg.0
L_0450: ldfld Verse.Pawn pawn
L_0455: ldfld RimWorld.Pawn_ApparelTracker apparel
L_045a: brfalse Label #31
L_045f: ldarg.0
L_0460: ldfld Verse.Pawn pawn
L_0465: ldfld RimWorld.Pawn_ApparelTracker apparel
L_046a: callvirt System.Collections.Generic.List`1[RimWorld.Apparel] get_WornApparel()
L_046f: stloc.s 22 (System.Collections.Generic.List`1[RimWorld.Apparel])
L_0471: ldc.i4.0
L_0472: stloc.s 23 (System.Int32)
L_0474: br Label #32
L_0479: Label #33
L_0479: ldloc.s 22 (System.Collections.Generic.List`1[RimWorld.Apparel])
L_047b: ldloc.s 23 (System.Int32)
L_047d: callvirt RimWorld.Apparel get_Item(Int32)
L_0482: callvirt Void DrawWornExtras()
L_0487: ldloc.s 23 (System.Int32)
L_0489: ldc.i4.1
L_048a: add
L_048b: stloc.s 23 (System.Int32)
L_048d: Label #32
L_048d: ldloc.s 23 (System.Int32)
L_048f: ldloc.s 22 (System.Collections.Generic.List`1[RimWorld.Apparel])
L_0491: callvirt Int32 get_Count()
L_0496: blt Label #33
L_049b: Label #31
L_049b: ldarg.1
L_049c: stloc.s 24 (UnityEngine.Vector3)
L_049e: ldloca.s 24 (UnityEngine.Vector3)
L_04a0: dup
L_04a1: ldfld System.Single y
L_04a6: ldc.r4 0.045
L_04ab: add
L_04ac: stfld System.Single y
L_04b1: ldarg.0
L_04b2: ldfld Verse.PawnHeadOverlays statusOverlays
L_04b7: ldloc.s 24 (UnityEngine.Vector3)
L_04b9: ldarg.2
L_04ba: ldsfld Verse.GraphicMeshSet humanlikeHeadSet
L_04bf: ldarg.s 5
L_04c1: callvirt UnityEngine.Mesh MeshAt(Rot4)
L_04c6: callvirt Void RenderStatusOverlays(Vector3, Quaternion, UnityEngine.Mesh)
L_04cb: Label #30
L_04cb: br Label #0
L_04d0: Label #0
L_04d0: Label #1
L_04d0: ret
DONE

PATCHING Verse.StartingPawnUtility Verse.Pawn NewGeneratedStartingPawn()
L_0000: Local var #0 Verse.PawnGenerationRequest
L_0000: Local var #1 Verse.Pawn
L_0000: Local var #2 System.Exception
L_0000: Local var #3 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #4 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #5 System.Nullable`1[[Verse.Gender, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #6 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #7 Verse.Pawn
L_0000: ldnull
L_0001: stloc 7 (Verse.Pawn)
L_0003: ldloca 7 (Verse.Pawn)
L_0005: call Boolean NewGeneratedStartingPawnPrefix(Verse.Pawn ByRef)
L_000a: brfalse Label #1
L_000f: ldloca.s 0 (Verse.PawnGenerationRequest)
L_0011: call RimWorld.Faction get_OfPlayer()
L_0016: ldfld RimWorld.FactionDef def
L_001b: ldfld Verse.PawnKindDef basicMemberKind
L_0020: call RimWorld.Faction get_OfPlayer()
L_0025: ldc.i4.1
L_0026: ldnull
L_0027: ldc.i4.1
L_0028: ldc.i4.0
L_0029: ldc.i4.0
L_002a: ldc.i4.0
L_002b: ldc.i4.1
L_002c: ldc.i4.0
L_002d: ldc.r4 26
L_0032: ldc.i4.0
L_0033: ldc.i4.1
L_0034: ldc.i4.1
L_0035: ldnull
L_0036: ldloca.s 3 (System.Nullable`1[System.Single])
L_0038: initobj System.Nullable`1[System.Single]
L_003e: ldloc.3
L_003f: ldloca.s 4 (System.Nullable`1[System.Single])
L_0041: initobj System.Nullable`1[System.Single]
L_0047: ldloc.s 4 (System.Nullable`1[System.Single])
L_0049: ldloca.s 5 (System.Nullable`1[Verse.Gender])
L_004b: initobj System.Nullable`1[Verse.Gender]
L_0051: ldloc.s 5 (System.Nullable`1[Verse.Gender])
L_0053: ldloca.s 6 (System.Nullable`1[System.Single])
L_0055: initobj System.Nullable`1[System.Single]
L_005b: ldloc.s 6 (System.Nullable`1[System.Single])
L_005d: ldnull
L_005e: call Void .ctor(PawnKindDef, Faction, PawnGenerationContext, Map, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Single, Boolean, Boolean, Boolean, Predicate`1, Nullable`1, Nullable`1, Nullable`1, Nullable`1, String)
L_0063: ldnull
L_0064: stloc.1
L_0065: ldloc.0
L_0066: call Verse.Pawn GeneratePawn(PawnGenerationRequest)
L_006b: stloc.1
L_006c: leave Label #2
L_0071: stloc.2
L_0072: ldstr "There was an exception thrown by the PawnGenerator during generating a starting pawn. Trying one more time...
Exception: "
L_0077: ldloc.2
L_0078: call System.String Concat(System.Object, System.Object)
L_007d: call Void Error(System.String)
L_0082: ldloc.0
L_0083: call Verse.Pawn GeneratePawn(PawnGenerationRequest)
L_0088: stloc.1
L_0089: leave Label #3
L_008e: Label #2
L_008e: Label #3
L_008e: ldloc.1
L_008f: ldfld RimWorld.Pawn_RelationsTracker relations
L_0094: ldc.i4.1
L_0095: stfld System.Boolean everSeenByPlayer
L_009a: ldloc.1
L_009b: call Void AddComponentsForSpawn(Verse.Pawn)
L_00a0: ldloc.1
L_00a1: br Label #0
L_00a6: Label #0
L_00a6: stloc 7 (Verse.Pawn)
L_00a8: Label #1
L_00a8: ldloc 7 (Verse.Pawn)
L_00aa: ret
DONE

PATCHING RimWorld.PawnBioAndNameGenerator Void GiveAppropriateBioAndNameTo(Verse.Pawn, System.String)
L_0000: call Single get_Value()
L_0005: ldc.r4 0.25
L_000a: blt Label #2
L_000f: ldarg.0
L_0010: ldfld Verse.PawnKindDef kindDef
L_0015: ldfld System.Boolean factionLeader
L_001a: brfalse Label #3
L_001f: Label #2
L_001f: ldarg.0
L_0020: ldarg.1
L_0021: call Boolean TryGiveSolidBioTo(Verse.Pawn, System.String)
L_0026: brfalse Label #4
L_002b: br Label #0
L_0030: Label #3
L_0030: Label #4
L_0030: ldarg.0
L_0031: ldarg.0
L_0032: callvirt RimWorld.Faction get_Faction()
L_0037: ldfld RimWorld.FactionDef def
L_003c: ldarg.1
L_003d: call Void GiveShuffledBioTo(Verse.Pawn, RimWorld.FactionDef, System.String)
L_0042: br Label #0
L_0047: Label #0
L_0047: ldarg 0
L_004d: call Void GiveAppropriateBioAndNameToPostfix(Verse.Pawn)
L_0052: ret
DONE

PATCHING RimWorld.PawnBioAndNameGenerator Verse.Name GeneratePawnName(Verse.Pawn, NameStyle, System.String)
L_0000: Local var #0 Verse.RulePackDef
L_0000: Local var #1 System.String
L_0000: Local var #2 System.String
L_0000: Local var #3 Verse.NameTriple
L_0000: Local var #4 Verse.NameTriple
L_0000: Local var #5 Verse.NameTriple
L_0000: Local var #6 System.Int32
L_0000: Local var #7 System.String
L_0000: Local var #8 RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5
L_0000: Local var #9 Verse.Name
L_0000: ldnull
L_0001: stloc 9 (Verse.Name)
L_0003: ldloca 9 (Verse.Name)
L_0005: ldarg 0
L_000b: ldarg 1
L_0011: ldarg 2
L_0017: call Boolean GeneratePawnNamePrefix(Verse.Name ByRef, Verse.Pawn, NameStyle, System.String)
L_001c: brfalse Label #1
L_0021: newobj Void .ctor()
L_0026: stloc.s 8 (RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5)
L_0028: ldloc.s 8 (RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5)
L_002a: ldarg.2
L_002b: stfld System.String forcedLastName
L_0030: ldarg.1
L_0031: brtrue Label #2
L_0036: ldarg.0
L_0037: callvirt Verse.RaceProperties get_RaceProps()
L_003c: ldarg.0
L_003d: ldfld Verse.Gender gender
L_0042: callvirt Verse.RulePackDef GetNameGenerator(Gender)
L_0047: stloc.0
L_0048: ldloc.0
L_0049: brfalse Label #3
L_004e: ldloc.0
L_004f: ldsfld System.Predicate`1[System.String] <>f__am$cache3
L_0054: brtrue Label #4
L_0059: ldnull
L_005a: ldftn Boolean <GeneratePawnName>m__26A(System.String)
L_0060: newobj Void .ctor(Object, IntPtr)
L_0065: stsfld System.Predicate`1[System.String] <>f__am$cache3
L_006a: Label #4
L_006a: ldsfld System.Predicate`1[System.String] <>f__am$cache3
L_006f: ldc.i4.0
L_0070: call System.String GenerateName(Verse.RulePackDef, System.Predicate`1[System.String], Boolean)
L_0075: stloc.1
L_0076: ldloc.1
L_0077: ldc.i4.0
L_0078: newobj Void .ctor(String, Boolean)
L_007d: br Label #0
L_0082: Label #3
L_0082: ldarg.0
L_0083: callvirt RimWorld.Faction get_Faction()
L_0088: brfalse Label #5
L_008d: ldarg.0
L_008e: callvirt RimWorld.Faction get_Faction()
L_0093: ldfld RimWorld.FactionDef def
L_0098: ldfld Verse.RulePackDef pawnNameMaker
L_009d: brfalse Label #6
L_00a2: ldarg.0
L_00a3: callvirt RimWorld.Faction get_Faction()
L_00a8: ldfld RimWorld.FactionDef def
L_00ad: ldfld Verse.RulePackDef pawnNameMaker
L_00b2: ldloc.s 8 (RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5)
L_00b4: ldftn Boolean <>m__26B(System.String)
L_00ba: newobj Void .ctor(Object, IntPtr)
L_00bf: ldc.i4.0
L_00c0: call System.String GenerateName(Verse.RulePackDef, System.Predicate`1[System.String], Boolean)
L_00c5: stloc.2
L_00c6: ldloc.2
L_00c7: call Verse.NameTriple FromString(System.String)
L_00cc: stloc.3
L_00cd: ldloc.3
L_00ce: callvirt Void CapitalizeNick()
L_00d3: ldloc.3
L_00d4: ldloc.s 8 (RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5)
L_00d6: ldfld System.String forcedLastName
L_00db: callvirt Void ResolveMissingPieces(System.String)
L_00e0: ldloc.3
L_00e1: br Label #0
L_00e6: Label #5
L_00e6: Label #6
L_00e6: ldarg.0
L_00e7: callvirt Verse.RaceProperties get_RaceProps()
L_00ec: ldfld RimWorld.PawnNameCategory nameCategory
L_00f1: brfalse Label #7
L_00f6: call Single get_Value()
L_00fb: ldc.r4 0.5
L_0100: bge.un Label #8
L_0105: ldarg.0
L_0106: ldfld Verse.Gender gender
L_010b: ldloc.s 8 (RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5)
L_010d: ldfld System.String forcedLastName
L_0112: call Verse.NameTriple TryGetRandomUnusedSolidName(Gender, System.String)
L_0117: stloc.s 4 (Verse.NameTriple)
L_0119: ldloc.s 4 (Verse.NameTriple)
L_011b: brfalse Label #9
L_0120: ldloc.s 4 (Verse.NameTriple)
L_0122: br Label #0
L_0127: Label #8
L_0127: Label #9
L_0127: ldarg.0
L_0128: ldloc.s 8 (RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5)
L_012a: ldfld System.String forcedLastName
L_012f: call Verse.NameTriple GeneratePawnName_Shuffled(Verse.Pawn, System.String)
L_0134: br Label #0
L_0139: Label #7
L_0139: ldstr "No name making method for "
L_013e: ldarg.0
L_013f: call System.String Concat(System.Object, System.Object)
L_0144: call Void Error(System.String)
L_0149: ldarg.0
L_014a: ldfld Verse.ThingDef def
L_014f: ldfld System.String label
L_0154: call Verse.NameTriple FromString(System.String)
L_0159: stloc.s 5 (Verse.NameTriple)
L_015b: ldloc.s 5 (Verse.NameTriple)
L_015d: ldnull
L_015e: callvirt Void ResolveMissingPieces(System.String)
L_0163: ldloc.s 5 (Verse.NameTriple)
L_0165: br Label #0
L_016a: Label #2
L_016a: ldarg.1
L_016b: ldc.i4.1
L_016c: bne.un Label #10
L_0171: ldc.i4.1
L_0172: stloc.s 6 (System.Int32)
L_0174: br Label #11
L_0179: Label #14
L_0179: ldarg.0
L_017a: callvirt System.String get_KindLabel()
L_017f: ldstr " "
L_0184: ldloca.s 6 (System.Int32)
L_0186: call System.String ToString()
L_018b: call System.String Concat(System.String, System.String, System.String)
L_0190: stloc.s 7 (System.String)
L_0192: ldloc.s 7 (System.String)
L_0194: call Boolean NameSingleIsUsedOnAnyMap(System.String)
L_0199: brfalse Label #12
L_019e: br Label #13
L_01a3: Label #12
L_01a3: ldloc.s 7 (System.String)
L_01a5: ldc.i4.1
L_01a6: newobj Void .ctor(String, Boolean)
L_01ab: br Label #0
L_01b0: Label #13
L_01b0: ldloc.s 6 (System.Int32)
L_01b2: ldc.i4.1
L_01b3: add
L_01b4: stloc.s 6 (System.Int32)
L_01b6: Label #11
L_01b6: br Label #14
L_01bb: Label #10
L_01bb: newobj Void .ctor()
L_01c0: throw
L_01c1: Label #0
L_01c1: stloc 9 (Verse.Name)
L_01c3: Label #1
L_01c3: ldloc 9 (Verse.Name)
L_01c5: ret
DONE

PATCHING RimWorld.Page_ConfigureStartingPawns Boolean CanDoNext()
L_0000: Local var #0 Verse.Pawn
L_0000: Local var #1 System.Collections.Generic.List`1+Enumerator[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 System.Boolean
L_0000: Local var #3 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean CanDoNext()
L_000c: brtrue Label #2
L_0011: ldc.i4.0
L_0012: br Label #0
L_0017: Label #2
L_0017: call Verse.GameInitData get_GameInitData()
L_001c: ldfld System.Collections.Generic.List`1[Verse.Pawn] startingPawns
L_0021: callvirt Enumerator GetEnumerator()
L_0026: stloc.1
L_0027: br Label #3
L_002c: Label #6
L_002c: ldloca.s 1 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_002e: call Verse.Pawn get_Current()
L_0033: stloc.0
L_0034: ldloc.0
L_0035: callvirt Verse.Name get_Name()
L_003a: callvirt Boolean get_IsValid()
L_003f: brtrue Label #4
L_0044: ldstr "EveryoneNeedsValidName"
L_0049: call System.String Translate(System.String)
L_004e: ldc.i4.2
L_004f: call Void Message(System.String, MessageSound)
L_0054: ldc.i4.0
L_0055: stloc.2
L_0056: leave Label #5
L_005b: Label #3
L_005b: Label #4
L_005b: ldloca.s 1 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_005d: call Boolean MoveNext()
L_0062: brtrue Label #6
L_0067: leave Label #7
L_006c: ldloc.1
L_006d: box System.Collections.Generic.List`1+Enumerator[Verse.Pawn]
L_0072: callvirt Void Dispose()
L_0077: endfinally
L_0078: Label #7
L_0078: call Void Clear()
L_007d: ldc.i4.1
L_007e: br Label #0
L_0083: Label #5
L_0083: ldloc.2
L_0084: br Label #0
L_0089: Label #0
L_0089: stloc 3 (System.Boolean)
L_008a: ldloca 3 (System.Boolean)
L_008c: call Void CanDoNextStartPawnPostfix(Boolean ByRef)
L_0091: ldloc 3 (System.Boolean)
L_0092: ret
DONE

PATCHING Verse.GameInitData Void PrepForMapGen()
L_0000: Local var #0 Verse.Pawn
L_0000: Local var #1 System.Collections.Generic.List`1+Enumerator[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 Verse.Pawn
L_0000: Local var #3 System.Collections.Generic.List`1+Enumerator[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #4 System.Collections.Generic.IEnumerator`1[[Verse.WorkTypeDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #5 Verse.Pawn
L_0000: Local var #6 System.Collections.Generic.IEnumerator`1[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #7 System.Boolean
L_0000: Local var #8 Verse.Pawn
L_0000: Local var #9 System.Collections.Generic.List`1+Enumerator[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #10 System.Collections.Generic.IEnumerable`1[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #11 Verse.Pawn
L_0000: Local var #12 Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D
L_0000: ldarg.0
L_0001: call Void PrepForMapGenPrefix(Verse.GameInitData)
L_0006: ldarg.0
L_0007: ldfld System.Collections.Generic.List`1[Verse.Pawn] startingPawns
L_000c: callvirt Enumerator GetEnumerator()
L_0011: stloc.1
L_0012: br Label #2
L_0017: Label #3
L_0017: ldloca.s 1 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_0019: call Verse.Pawn get_Current()
L_001e: stloc.0
L_001f: ldloc.0
L_0020: call RimWorld.Faction get_OfPlayer()
L_0025: callvirt Void SetFactionDirect(RimWorld.Faction)
L_002a: ldloc.0
L_002b: ldc.i4.0
L_002c: call Void AddAndRemoveDynamicComponents(Verse.Pawn, Boolean)
L_0031: Label #2
L_0031: ldloca.s 1 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_0033: call Boolean MoveNext()
L_0038: brtrue Label #3
L_003d: leave Label #4
L_0042: ldloc.1
L_0043: box System.Collections.Generic.List`1+Enumerator[Verse.Pawn]
L_0048: callvirt Void Dispose()
L_004d: endfinally
L_004e: Label #4
L_004e: ldarg.0
L_004f: ldfld System.Collections.Generic.List`1[Verse.Pawn] startingPawns
L_0054: callvirt Enumerator GetEnumerator()
L_0059: stloc.3
L_005a: br Label #5
L_005f: Label #6
L_005f: ldloca.s 3 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_0061: call Verse.Pawn get_Current()
L_0066: stloc.2
L_0067: ldloc.2
L_0068: ldfld RimWorld.Pawn_WorkSettings workSettings
L_006d: callvirt Void DisableAll()
L_0072: Label #5
L_0072: ldloca.s 3 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_0074: call Boolean MoveNext()
L_0079: brtrue Label #6
L_007e: leave Label #7
L_0083: ldloc.3
L_0084: box System.Collections.Generic.List`1+Enumerator[Verse.Pawn]
L_0089: callvirt Void Dispose()
L_008e: endfinally
L_008f: Label #7
L_008f: newobj Void .ctor()
L_0094: stloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_0096: call IEnumerable`1 get_AllDefs()
L_009b: callvirt IEnumerator`1 GetEnumerator()
L_00a0: stloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.WorkTypeDef])
L_00a2: br Label #8
L_00a7: Label #24
L_00a7: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_00a9: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.WorkTypeDef])
L_00ab: callvirt Verse.WorkTypeDef get_Current()
L_00b0: stfld Verse.WorkTypeDef w
L_00b5: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_00b7: ldfld Verse.WorkTypeDef w
L_00bc: ldfld System.Boolean alwaysStartActive
L_00c1: brfalse Label #9
L_00c6: ldarg.0
L_00c7: ldfld System.Collections.Generic.List`1[Verse.Pawn] startingPawns
L_00cc: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_00ce: ldftn Boolean <>m__72B(Verse.Pawn)
L_00d4: newobj Void .ctor(Object, IntPtr)
L_00d9: call IEnumerable`1 Where[Pawn](IEnumerable`1, System.Func`2[Verse.Pawn,System.Boolean])
L_00de: callvirt IEnumerator`1 GetEnumerator()
L_00e3: stloc.s 6 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_00e5: br Label #10
L_00ea: Label #11
L_00ea: ldloc.s 6 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_00ec: callvirt Verse.Pawn get_Current()
L_00f1: stloc.s 5 (Verse.Pawn)
L_00f3: ldloc.s 5 (Verse.Pawn)
L_00f5: ldfld RimWorld.Pawn_WorkSettings workSettings
L_00fa: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_00fc: ldfld Verse.WorkTypeDef w
L_0101: ldc.i4.3
L_0102: callvirt Void SetPriority(Verse.WorkTypeDef, Int32)
L_0107: Label #10
L_0107: ldloc.s 6 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_0109: callvirt Boolean MoveNext()
L_010e: brtrue Label #11
L_0113: leave Label #12
L_0118: ldloc.s 6 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_011a: brtrue Label #13
L_011f: endfinally
L_0120: Label #13
L_0120: ldloc.s 6 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_0122: callvirt Void Dispose()
L_0127: endfinally
L_0128: Label #12
L_0128: br Label #14
L_012d: Label #9
L_012d: ldc.i4.0
L_012e: stloc.s 7 (System.Boolean)
L_0130: ldarg.0
L_0131: ldfld System.Collections.Generic.List`1[Verse.Pawn] startingPawns
L_0136: callvirt Enumerator GetEnumerator()
L_013b: stloc.s 9 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_013d: br Label #15
L_0142: Label #18
L_0142: ldloca.s 9 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_0144: call Verse.Pawn get_Current()
L_0149: stloc.s 8 (Verse.Pawn)
L_014b: ldloc.s 8 (Verse.Pawn)
L_014d: ldfld RimWorld.Pawn_StoryTracker story
L_0152: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_0154: ldfld Verse.WorkTypeDef w
L_0159: callvirt Boolean WorkTypeIsDisabled(Verse.WorkTypeDef)
L_015e: brtrue Label #16
L_0163: ldloc.s 8 (Verse.Pawn)
L_0165: ldfld RimWorld.Pawn_SkillTracker skills
L_016a: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_016c: ldfld Verse.WorkTypeDef w
L_0171: callvirt Single AverageOfRelevantSkillsFor(Verse.WorkTypeDef)
L_0176: ldc.r4 6
L_017b: blt.un Label #17
L_0180: ldloc.s 8 (Verse.Pawn)
L_0182: ldfld RimWorld.Pawn_WorkSettings workSettings
L_0187: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_0189: ldfld Verse.WorkTypeDef w
L_018e: ldc.i4.3
L_018f: callvirt Void SetPriority(Verse.WorkTypeDef, Int32)
L_0194: ldc.i4.1
L_0195: stloc.s 7 (System.Boolean)
L_0197: Label #15
L_0197: Label #16
L_0197: Label #17
L_0197: ldloca.s 9 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_0199: call Boolean MoveNext()
L_019e: brtrue Label #18
L_01a3: leave Label #19
L_01a8: ldloc.s 9 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_01aa: box System.Collections.Generic.List`1+Enumerator[Verse.Pawn]
L_01af: callvirt Void Dispose()
L_01b4: endfinally
L_01b5: Label #19
L_01b5: ldloc.s 7 (System.Boolean)
L_01b7: brtrue Label #20
L_01bc: ldarg.0
L_01bd: ldfld System.Collections.Generic.List`1[Verse.Pawn] startingPawns
L_01c2: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_01c4: ldftn Boolean <>m__72C(Verse.Pawn)
L_01ca: newobj Void .ctor(Object, IntPtr)
L_01cf: call IEnumerable`1 Where[Pawn](IEnumerable`1, System.Func`2[Verse.Pawn,System.Boolean])
L_01d4: stloc.s 10 (System.Collections.Generic.IEnumerable`1[Verse.Pawn])
L_01d6: ldloc.s 10 (System.Collections.Generic.IEnumerable`1[Verse.Pawn])
L_01d8: call Boolean Any[Pawn](IEnumerable`1)
L_01dd: brfalse Label #21
L_01e2: ldloc.s 10 (System.Collections.Generic.IEnumerable`1[Verse.Pawn])
L_01e4: ldnull
L_01e5: call IEnumerable`1 InRandomOrder[Pawn](IEnumerable`1, IList`1)
L_01ea: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_01ec: ldftn Single <>m__72D(Verse.Pawn)
L_01f2: newobj Void .ctor(Object, IntPtr)
L_01f7: call Verse.Pawn MaxBy[Pawn,Single](IEnumerable`1, System.Func`2[Verse.Pawn,System.Single])
L_01fc: stloc.s 11 (Verse.Pawn)
L_01fe: ldloc.s 11 (Verse.Pawn)
L_0200: ldfld RimWorld.Pawn_WorkSettings workSettings
L_0205: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_0207: ldfld Verse.WorkTypeDef w
L_020c: ldc.i4.3
L_020d: callvirt Void SetPriority(Verse.WorkTypeDef, Int32)
L_0212: br Label #22
L_0217: Label #21
L_0217: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_0219: ldfld Verse.WorkTypeDef w
L_021e: ldfld System.Boolean requireCapableColonist
L_0223: brfalse Label #23
L_0228: ldstr "No colonist could do requireCapableColonist work type "
L_022d: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_022f: ldfld Verse.WorkTypeDef w
L_0234: call System.String Concat(System.Object, System.Object)
L_0239: call Void Error(System.String)
L_023e: Label #8
L_023e: Label #14
L_023e: Label #20
L_023e: Label #22
L_023e: Label #23
L_023e: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.WorkTypeDef])
L_0240: callvirt Boolean MoveNext()
L_0245: brtrue Label #24
L_024a: leave Label #25
L_024f: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.WorkTypeDef])
L_0251: brtrue Label #26
L_0256: endfinally
L_0257: Label #26
L_0257: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.WorkTypeDef])
L_0259: callvirt Void Dispose()
L_025e: endfinally
L_025f: Label #25
L_025f: br Label #0
L_0264: Label #0
L_0264: ret
DONE

PATCHING RimWorld.Pawn_RelationsTracker Single SecondaryRomanceChanceFactor(Verse.Pawn)
L_0000: Local var #0 System.Boolean
L_0000: Local var #1 System.Single
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.Single
L_0000: Local var #7 RimWorld.PawnRelationDef
L_0000: Local var #8 System.Collections.Generic.IEnumerator`1[[RimWorld.PawnRelationDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #9 System.Int32
L_0000: Local var #10 System.Single
L_0000: Local var #11 System.Single
L_0000: Local var #12 System.Single
L_0000: Local var #13 System.Single
L_0000: ldarg.0
L_0001: ldfld Verse.Pawn pawn
L_0006: callvirt Verse.RaceProperties get_RaceProps()
L_000b: callvirt Boolean get_Humanlike()
L_0010: ldarg.1
L_0011: callvirt Verse.RaceProperties get_RaceProps()
L_0016: callvirt Boolean get_Humanlike()
L_001b: bne.un Label #2
L_0020: ldarg.0
L_0021: ldfld Verse.Pawn pawn
L_0026: ldarg.1
L_0027: bne.un Label #3
L_002c: Label #2
L_002c: ldc.r4 0
L_0031: br Label #0
L_0036: Label #3
L_0036: call Void PushSeed()
L_003b: ldarg.0
L_003c: ldfld Verse.Pawn pawn
L_0041: call Int32 HashOffset(Verse.Thing)
L_0046: call Void set_Seed(Int32)
L_004b: call Single get_Value()
L_0050: ldc.r4 0.015
L_0055: clt
L_0057: stloc.0
L_0058: call Void PopSeed()
L_005d: ldc.r4 1
L_0062: stloc.1
L_0063: ldc.r4 1
L_0068: stloc.2
L_0069: ldarg.0
L_006a: ldfld Verse.Pawn pawn
L_006f: ldfld Verse.Pawn_AgeTracker ageTracker
L_0074: callvirt Single get_AgeBiologicalYearsFloat()
L_0079: stloc.3
L_007a: ldarg.1
L_007b: ldfld Verse.Pawn_AgeTracker ageTracker
L_0080: callvirt Single get_AgeBiologicalYearsFloat()
L_0085: stloc.s 4 (System.Single)
L_0087: ldarg.0
L_0088: ldfld Verse.Pawn pawn
L_008d: ldfld Verse.Gender gender
L_0092: ldc.i4.1
L_0093: bne.un Label #4
L_0098: ldloc.0
L_0099: brtrue Label #5
L_009e: ldarg.0
L_009f: ldfld Verse.Pawn pawn
L_00a4: callvirt Verse.RaceProperties get_RaceProps()
L_00a9: callvirt Boolean get_Humanlike()
L_00ae: brfalse Label #6
L_00b3: ldarg.0
L_00b4: ldfld Verse.Pawn pawn
L_00b9: ldfld RimWorld.Pawn_StoryTracker story
L_00be: ldfld RimWorld.TraitSet traits
L_00c3: ldsfld RimWorld.TraitDef Gay
L_00c8: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_00cd: brfalse Label #7
L_00d2: ldarg.1
L_00d3: ldfld Verse.Gender gender
L_00d8: ldc.i4.2
L_00d9: bne.un Label #8
L_00de: ldc.r4 0
L_00e3: br Label #0
L_00e8: Label #8
L_00e8: br Label #9
L_00ed: Label #6
L_00ed: Label #7
L_00ed: ldarg.1
L_00ee: ldfld Verse.Gender gender
L_00f3: ldc.i4.1
L_00f4: bne.un Label #10
L_00f9: ldc.r4 0
L_00fe: br Label #0
L_0103: Label #5
L_0103: Label #9
L_0103: Label #10
L_0103: ldc.r4 0
L_0108: ldc.r4 16
L_010d: ldc.r4 20
L_0112: ldloc.3
L_0113: ldloc.3
L_0114: ldc.r4 15
L_0119: add
L_011a: ldc.r4 0.07
L_011f: ldloc.s 4 (System.Single)
L_0121: call Single FlatHill(Single, Single, Single, Single, Single, Single, Single)
L_0126: stloc.2
L_0127: br Label #11
L_012c: Label #4
L_012c: ldarg.0
L_012d: ldfld Verse.Pawn pawn
L_0132: ldfld Verse.Gender gender
L_0137: ldc.i4.2
L_0138: bne.un Label #12
L_013d: ldloc.0
L_013e: brtrue Label #13
L_0143: ldarg.0
L_0144: ldfld Verse.Pawn pawn
L_0149: callvirt Verse.RaceProperties get_RaceProps()
L_014e: callvirt Boolean get_Humanlike()
L_0153: brfalse Label #14
L_0158: ldarg.0
L_0159: ldfld Verse.Pawn pawn
L_015e: ldfld RimWorld.Pawn_StoryTracker story
L_0163: ldfld RimWorld.TraitSet traits
L_0168: ldsfld RimWorld.TraitDef Gay
L_016d: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0172: brfalse Label #15
L_0177: ldarg.1
L_0178: ldfld Verse.Gender gender
L_017d: ldc.i4.1
L_017e: bne.un Label #16
L_0183: ldc.r4 0
L_0188: br Label #0
L_018d: Label #16
L_018d: br Label #17
L_0192: Label #14
L_0192: Label #15
L_0192: ldarg.1
L_0193: ldfld Verse.Gender gender
L_0198: ldc.i4.2
L_0199: bne.un Label #18
L_019e: ldc.r4 0
L_01a3: stloc.1
L_01a4: Label #13
L_01a4: Label #17
L_01a4: Label #18
L_01a4: ldloc.s 4 (System.Single)
L_01a6: ldloc.3
L_01a7: ldc.r4 10
L_01ac: sub
L_01ad: bge.un Label #19
L_01b2: ldc.r4 0
L_01b7: br Label #0
L_01bc: Label #19
L_01bc: ldloc.s 4 (System.Single)
L_01be: ldloc.3
L_01bf: ldc.r4 3
L_01c4: sub
L_01c5: bge.un Label #20
L_01ca: ldloc.3
L_01cb: ldc.r4 10
L_01d0: sub
L_01d1: ldloc.3
L_01d2: ldc.r4 3
L_01d7: sub
L_01d8: ldloc.s 4 (System.Single)
L_01da: call Single InverseLerp(Single, Single, Single)
L_01df: ldc.r4 0.2
L_01e4: mul
L_01e5: stloc.2
L_01e6: br Label #21
L_01eb: Label #20
L_01eb: ldc.r4 0.2
L_01f0: ldloc.3
L_01f1: ldc.r4 3
L_01f6: sub
L_01f7: ldloc.3
L_01f8: ldloc.3
L_01f9: ldc.r4 10
L_01fe: add
L_01ff: ldloc.3
L_0200: ldc.r4 30
L_0205: add
L_0206: ldc.r4 0.1
L_020b: ldloc.s 4 (System.Single)
L_020d: call Single FlatHill(Single, Single, Single, Single, Single, Single, Single)
L_0212: stloc.2
L_0213: Label #11
L_0213: Label #12
L_0213: Label #21
L_0213: ldc.r4 1
L_0218: stloc.s 5 (System.Single)
L_021a: ldloc.s 5 (System.Single)
L_021c: ldc.r4 0.2
L_0221: ldc.r4 1
L_0226: ldarg.1
L_0227: ldfld Verse.Pawn_HealthTracker health
L_022c: ldfld Verse.PawnCapacitiesHandler capacities
L_0231: ldsfld Verse.PawnCapacityDef Talking
L_0236: callvirt Single GetEfficiency(Verse.PawnCapacityDef)
L_023b: call Single Lerp(Single, Single, Single)
L_0240: mul
L_0241: stloc.s 5 (System.Single)
L_0243: ldloc.s 5 (System.Single)
L_0245: ldc.r4 0.2
L_024a: ldc.r4 1
L_024f: ldarg.1
L_0250: ldfld Verse.Pawn_HealthTracker health
L_0255: ldfld Verse.PawnCapacitiesHandler capacities
L_025a: ldsfld Verse.PawnCapacityDef Manipulation
L_025f: callvirt Single GetEfficiency(Verse.PawnCapacityDef)
L_0264: call Single Lerp(Single, Single, Single)
L_0269: mul
L_026a: stloc.s 5 (System.Single)
L_026c: ldloc.s 5 (System.Single)
L_026e: ldc.r4 0.2
L_0273: ldc.r4 1
L_0278: ldarg.1
L_0279: ldfld Verse.Pawn_HealthTracker health
L_027e: ldfld Verse.PawnCapacitiesHandler capacities
L_0283: ldsfld Verse.PawnCapacityDef Moving
L_0288: callvirt Single GetEfficiency(Verse.PawnCapacityDef)
L_028d: call Single Lerp(Single, Single, Single)
L_0292: mul
L_0293: stloc.s 5 (System.Single)
L_0295: ldc.r4 1
L_029a: stloc.s 6 (System.Single)
L_029c: ldarg.0
L_029d: ldfld Verse.Pawn pawn
L_02a2: ldarg.1
L_02a3: call IEnumerable`1 GetRelations(Verse.Pawn, Verse.Pawn)
L_02a8: callvirt IEnumerator`1 GetEnumerator()
L_02ad: stloc.s 8 (System.Collections.Generic.IEnumerator`1[RimWorld.PawnRelationDef])
L_02af: br Label #22
L_02b4: Label #23
L_02b4: ldloc.s 8 (System.Collections.Generic.IEnumerator`1[RimWorld.PawnRelationDef])
L_02b6: callvirt RimWorld.PawnRelationDef get_Current()
L_02bb: stloc.s 7 (RimWorld.PawnRelationDef)
L_02bd: ldloc.s 6 (System.Single)
L_02bf: ldloc.s 7 (RimWorld.PawnRelationDef)
L_02c1: ldfld System.Single attractionFactor
L_02c6: mul
L_02c7: stloc.s 6 (System.Single)
L_02c9: Label #22
L_02c9: ldloc.s 8 (System.Collections.Generic.IEnumerator`1[RimWorld.PawnRelationDef])
L_02cb: callvirt Boolean MoveNext()
L_02d0: brtrue Label #23
L_02d5: leave Label #24
L_02da: ldloc.s 8 (System.Collections.Generic.IEnumerator`1[RimWorld.PawnRelationDef])
L_02dc: brtrue Label #25
L_02e1: endfinally
L_02e2: Label #25
L_02e2: ldloc.s 8 (System.Collections.Generic.IEnumerator`1[RimWorld.PawnRelationDef])
L_02e4: callvirt Void Dispose()
L_02e9: endfinally
L_02ea: Label #24
L_02ea: ldc.i4.0
L_02eb: stloc.s 9 (System.Int32)
L_02ed: ldarg.1
L_02ee: callvirt Verse.RaceProperties get_RaceProps()
L_02f3: callvirt Boolean get_Humanlike()
L_02f8: brfalse Label #26
L_02fd: ldarg.1
L_02fe: ldfld RimWorld.Pawn_StoryTracker story
L_0303: ldfld RimWorld.TraitSet traits
L_0308: ldsfld RimWorld.TraitDef Beauty
L_030d: callvirt Int32 DegreeOfTrait(RimWorld.TraitDef)
L_0312: stloc.s 9 (System.Int32)
L_0314: Label #26
L_0314: ldc.r4 1
L_0319: stloc.s 10 (System.Single)
L_031b: ldloc.s 9 (System.Int32)
L_031d: ldc.i4.0
L_031e: bge Label #27
L_0323: ldc.r4 0.3
L_0328: stloc.s 10 (System.Single)
L_032a: br Label #28
L_032f: Label #27
L_032f: ldloc.s 9 (System.Int32)
L_0331: ldc.i4.0
L_0332: ble Label #29
L_0337: ldc.r4 2.3
L_033c: stloc.s 10 (System.Single)
L_033e: Label #28
L_033e: Label #29
L_033e: ldc.r4 15
L_0343: ldc.r4 18
L_0348: ldloc.3
L_0349: call Single InverseLerp(Single, Single, Single)
L_034e: stloc.s 11 (System.Single)
L_0350: ldc.r4 15
L_0355: ldc.r4 18
L_035a: ldloc.s 4 (System.Single)
L_035c: call Single InverseLerp(Single, Single, Single)
L_0361: stloc.s 12 (System.Single)
L_0363: ldloc.1
L_0364: ldloc.2
L_0365: mul
L_0366: ldloc.s 5 (System.Single)
L_0368: mul
L_0369: ldloc.s 6 (System.Single)
L_036b: mul
L_036c: ldloc.s 11 (System.Single)
L_036e: mul
L_036f: ldloc.s 12 (System.Single)
L_0371: mul
L_0372: ldloc.s 10 (System.Single)
L_0374: mul
L_0375: stloc.s 13 (System.Single)
L_0377: ldloc.s 13 (System.Single)
L_0379: br Label #0
L_037e: Label #0
L_037e: ret
DONE

PATCHING RimWorld.Pawn_RelationsTracker Single CompatibilityWith(Verse.Pawn)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Single
L_0000: Local var #2 System.Single
L_0000: Local var #3 System.Single
L_0000: ldc.r4 0
L_0005: stloc 3 (System.Single)
L_0006: ldarg.0
L_0007: ldfld Verse.Pawn pawn
L_000c: ldfld Verse.ThingDef def
L_0011: ldarg.1
L_0012: ldfld Verse.ThingDef def
L_0017: bne.un Label #2
L_001c: ldarg.0
L_001d: ldfld Verse.Pawn pawn
L_0022: ldarg.1
L_0023: bne.un Label #3
L_0028: Label #2
L_0028: ldc.r4 0
L_002d: br Label #0
L_0032: Label #3
L_0032: ldarg.0
L_0033: ldfld Verse.Pawn pawn
L_0038: ldfld Verse.Pawn_AgeTracker ageTracker
L_003d: callvirt Single get_AgeBiologicalYearsFloat()
L_0042: ldarg.1
L_0043: ldfld Verse.Pawn_AgeTracker ageTracker
L_0048: callvirt Single get_AgeBiologicalYearsFloat()
L_004d: sub
L_004e: call Single Abs(Single)
L_0053: stloc.0
L_0054: ldc.r4 0
L_0059: ldc.r4 20
L_005e: ldc.r4 0.45
L_0063: ldc.r4 -0.45
L_0068: ldloc.0
L_0069: call Single LerpDouble(Single, Single, Single, Single, Single)
L_006e: stloc.1
L_006f: ldloc.1
L_0070: ldc.r4 -0.45
L_0075: ldc.r4 0.45
L_007a: call Single Clamp(Single, Single, Single)
L_007f: stloc.1
L_0080: ldarg.0
L_0081: ldarg.1
L_0082: ldfld System.Int32 thingIDNumber
L_0087: call Single ConstantPerPawnsPairCompatibilityOffset(Int32)
L_008c: stloc.2
L_008d: ldloc.1
L_008e: ldloc.2
L_008f: add
L_0090: br Label #0
L_0095: Label #0
L_0095: stloc 3 (System.Single)
L_0096: ldarg.0
L_0097: ldarg 1
L_009d: ldloca 3 (System.Single)
L_009f: call Void CompatibilityWith(RimWorld.Pawn_RelationsTracker, Verse.Pawn, Single ByRef)
L_00a4: ldloc 3 (System.Single)
L_00a5: ret
DONE

PATCHING RimWorld.Faction Void TryMakeInitialRelationsWith(RimWorld.Faction)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Single
L_0000: Local var #2 System.Single
L_0000: Local var #3 RimWorld.FactionRelation
L_0000: Local var #4 RimWorld.FactionRelation
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: ldc.i4.1
L_0003: call RimWorld.FactionRelation RelationWith(RimWorld.Faction, Boolean)
L_0008: brfalse Label #2
L_000d: br Label #0
L_0012: Label #2
L_0012: ldarg.0
L_0013: ldfld RimWorld.FactionDef def
L_0018: ldflda Verse.FloatRange startingGoodwill
L_001d: call Single get_RandomInRange()
L_0022: stloc.0
L_0023: ldarg.0
L_0024: call Boolean get_IsPlayer()
L_0029: brfalse Label #3
L_002e: ldc.r4 100
L_0033: stloc.0
L_0034: Label #3
L_0034: ldarg.1
L_0035: ldfld RimWorld.FactionDef def
L_003a: ldflda Verse.FloatRange startingGoodwill
L_003f: call Single get_RandomInRange()
L_0044: stloc.1
L_0045: ldarg.1
L_0046: callvirt Boolean get_IsPlayer()
L_004b: brfalse Label #4
L_0050: ldc.r4 100
L_0055: stloc.1
L_0056: Label #4
L_0056: ldloc.0
L_0057: ldloc.1
L_0058: call Single Min(Single, Single)
L_005d: stloc.2
L_005e: newobj Void .ctor()
L_0063: stloc.3
L_0064: ldloc.3
L_0065: ldarg.1
L_0066: stfld RimWorld.Faction other
L_006b: ldloc.3
L_006c: ldloc.2
L_006d: stfld System.Single goodwill
L_0072: ldloc.3
L_0073: ldloc.2
L_0074: ldc.r4 -40
L_0079: clt
L_007b: stfld System.Boolean hostile
L_0080: ldarg.0
L_0081: ldfld System.Collections.Generic.List`1[RimWorld.FactionRelation] relations
L_0086: ldloc.3
L_0087: callvirt Void Add(RimWorld.FactionRelation)
L_008c: newobj Void .ctor()
L_0091: stloc.s 4 (RimWorld.FactionRelation)
L_0093: ldloc.s 4 (RimWorld.FactionRelation)
L_0095: ldarg.0
L_0096: stfld RimWorld.Faction other
L_009b: ldloc.s 4 (RimWorld.FactionRelation)
L_009d: ldloc.2
L_009e: stfld System.Single goodwill
L_00a3: ldloc.s 4 (RimWorld.FactionRelation)
L_00a5: ldloc.2
L_00a6: ldc.r4 -40
L_00ab: clt
L_00ad: stfld System.Boolean hostile
L_00b2: ldarg.1
L_00b3: ldfld System.Collections.Generic.List`1[RimWorld.FactionRelation] relations
L_00b8: ldloc.s 4 (RimWorld.FactionRelation)
L_00ba: callvirt Void Add(RimWorld.FactionRelation)
L_00bf: br Label #0
L_00c4: Label #0
L_00c4: ldarg.0
L_00c5: ldarg 1
L_00cb: call Void TryMakeInitialRelationsWithPostfix(RimWorld.Faction, RimWorld.Faction)
L_00d0: ret
DONE

PATCHING RimWorld.TraitSet Void GainTrait(RimWorld.Trait)
L_0000: ldarg 1
L_0006: ldarg.0
L_0007: call Boolean GainTraitPrefix(RimWorld.Trait, RimWorld.TraitSet)
L_000c: brfalse Label #1
L_0011: ldarg.0
L_0012: ldarg.1
L_0013: ldfld RimWorld.TraitDef def
L_0018: call Boolean HasTrait(RimWorld.TraitDef)
L_001d: brfalse Label #2
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldstr " already has trait "
L_002d: ldarg.1
L_002e: ldfld RimWorld.TraitDef def
L_0033: call System.String Concat(System.Object, System.Object, System.Object)
L_0038: call Void Warning(System.String)
L_003d: br Label #0
L_0042: Label #2
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0048: ldarg.1
L_0049: callvirt Void Add(RimWorld.Trait)
L_004e: ldarg.0
L_004f: ldfld Verse.Pawn pawn
L_0054: ldfld RimWorld.Pawn_WorkSettings workSettings
L_0059: brfalse Label #3
L_005e: ldarg.0
L_005f: ldfld Verse.Pawn pawn
L_0064: ldfld RimWorld.Pawn_WorkSettings workSettings
L_0069: callvirt Void Notify_GainedTrait()
L_006e: Label #3
L_006e: ldarg.0
L_006f: ldfld Verse.Pawn pawn
L_0074: ldfld RimWorld.Pawn_StoryTracker story
L_0079: callvirt Void Notify_TraitChanged()
L_007e: ldarg.0
L_007f: ldfld Verse.Pawn pawn
L_0084: ldfld RimWorld.Pawn_SkillTracker skills
L_0089: brfalse Label #4
L_008e: ldarg.0
L_008f: ldfld Verse.Pawn pawn
L_0094: ldfld RimWorld.Pawn_SkillTracker skills
L_0099: callvirt Void Notify_SkillDisablesChanged()
L_009e: Label #4
L_009e: ldarg.0
L_009f: ldfld Verse.Pawn pawn
L_00a4: callvirt Boolean get_Dead()
L_00a9: brtrue Label #5
L_00ae: ldarg.0
L_00af: ldfld Verse.Pawn pawn
L_00b4: callvirt Verse.RaceProperties get_RaceProps()
L_00b9: callvirt Boolean get_Humanlike()
L_00be: brfalse Label #6
L_00c3: ldarg.0
L_00c4: ldfld Verse.Pawn pawn
L_00c9: ldfld RimWorld.Pawn_NeedsTracker needs
L_00ce: ldfld RimWorld.Need_Mood mood
L_00d3: ldfld RimWorld.ThoughtHandler thoughts
L_00d8: ldfld RimWorld.SituationalThoughtHandler situational
L_00dd: callvirt Void Notify_SituationalThoughtsDirty()
L_00e2: Label #5
L_00e2: Label #6
L_00e2: br Label #0
L_00e7: Label #0
L_00e7: Label #1
L_00e7: ret
DONE

PATCHING RimWorld.TraderCaravanUtility TraderCaravanRole GetTraderCaravanRole(Verse.Pawn)
L_0000: ldarg.0
L_0001: ldfld Verse.PawnKindDef kindDef
L_0006: ldsfld Verse.PawnKindDef Slave
L_000b: bne.un Label #2
L_0010: ldc.i4.4
L_0011: br Label #0
L_0016: Label #2
L_0016: ldarg.0
L_0017: ldfld Verse.PawnKindDef kindDef
L_001c: ldfld System.Boolean trader
L_0021: brfalse Label #3
L_0026: ldc.i4.1
L_0027: br Label #0
L_002c: Label #3
L_002c: ldarg.0
L_002d: ldfld Verse.PawnKindDef kindDef
L_0032: callvirt Verse.RaceProperties get_RaceProps()
L_0037: ldfld System.Boolean packAnimal
L_003c: brfalse Label #4
L_0041: ldc.i4.2
L_0042: br Label #0
L_0047: Label #4
L_0047: ldarg.0
L_0048: callvirt Verse.RaceProperties get_RaceProps()
L_004d: callvirt Boolean get_Animal()
L_0052: brfalse Label #5
L_0057: ldc.i4.4
L_0058: br Label #0
L_005d: Label #5
L_005d: ldarg.0
L_005e: call Boolean GetTraderCaravanRoleInfix(Verse.Pawn)
L_0063: brfalse Label #6
L_0068: ldc.i4.4
L_0069: br Label #0
L_006e: Label #6
L_006e: nop
L_006f: ldc.i4.3
L_0070: br Label #0
L_0075: Label #0
L_0075: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Verse.Pawn CopyPawn(Verse.Pawn)
L_0000: Local var #0 Verse.Pawn
L_0000: Local var #1 RimWorld.Trait
L_0000: Local var #2 Verse.NameTriple
L_0000: Local var #3 System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #4 System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #5 RimWorld.Apparel
L_0000: Local var #6 RimWorld.SkillRecord
L_0000: Local var #7 RimWorld.SkillRecord
L_0000: Local var #8 System.Collections.Generic.List`1+Enumerator[[RimWorld.Trait, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #9 System.Collections.Generic.List`1+Enumerator[[RimWorld.Apparel, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #10 System.Collections.Generic.List`1+Enumerator[[RimWorld.SkillRecord, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #11 Verse.Pawn
L_0000: ldnull
L_0001: stloc 11 (Verse.Pawn)
L_0003: newobj Void .ctor()
L_0008: ldarg.1
L_0009: call Verse.Pawn GenerateSameKindOfColonist(Verse.Pawn)
L_000e: stloc.0
L_000f: ldloc.0
L_0010: ldloc.0
L_0011: newobj Void .ctor(Pawn)
L_0016: stfld Verse.Pawn_HealthTracker health
L_001b: ldloc.0
L_001c: ldarg.1
L_001d: ldfld Verse.Gender gender
L_0022: stfld Verse.Gender gender
L_0027: ldloc.0
L_0028: ldfld Verse.Pawn_AgeTracker ageTracker
L_002d: ldarg.1
L_002e: ldfld Verse.Pawn_AgeTracker ageTracker
L_0033: callvirt Int64 get_BirthAbsTicks()
L_0038: callvirt Void set_BirthAbsTicks(Int64)
L_003d: ldloc.0
L_003e: ldfld Verse.Pawn_AgeTracker ageTracker
L_0043: ldarg.1
L_0044: ldfld Verse.Pawn_AgeTracker ageTracker
L_0049: callvirt Int64 get_AgeBiologicalTicks()
L_004e: callvirt Void set_AgeBiologicalTicks(Int64)
L_0053: ldloc.0
L_0054: ldfld RimWorld.Pawn_StoryTracker story
L_0059: ldarg.1
L_005a: ldfld RimWorld.Pawn_StoryTracker story
L_005f: ldfld RimWorld.Backstory adulthood
L_0064: stfld RimWorld.Backstory adulthood
L_0069: ldloc.0
L_006a: ldfld RimWorld.Pawn_StoryTracker story
L_006f: ldarg.1
L_0070: ldfld RimWorld.Pawn_StoryTracker story
L_0075: ldfld RimWorld.Backstory childhood
L_007a: stfld RimWorld.Backstory childhood
L_007f: ldloc.0
L_0080: ldfld RimWorld.Pawn_StoryTracker story
L_0085: ldloc.0
L_0086: newobj Void .ctor(Pawn)
L_008b: stfld RimWorld.TraitSet traits
L_0090: ldarg.1
L_0091: ldfld RimWorld.Pawn_StoryTracker story
L_0096: ldfld RimWorld.TraitSet traits
L_009b: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_00a0: callvirt Enumerator GetEnumerator()
L_00a5: stloc.s 8 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_00a7: br Label #2
L_00ac: Label #3
L_00ac: ldloca.s 8 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_00ae: call RimWorld.Trait get_Current()
L_00b3: stloc.1
L_00b4: ldloc.0
L_00b5: ldfld RimWorld.Pawn_StoryTracker story
L_00ba: ldfld RimWorld.TraitSet traits
L_00bf: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_00c4: ldloc.1
L_00c5: callvirt Void Add(RimWorld.Trait)
L_00ca: Label #2
L_00ca: ldloca.s 8 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_00cc: call Boolean MoveNext()
L_00d1: brtrue Label #3
L_00d6: leave.s Label #4
L_00d8: ldloca.s 8 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_00da: constrained. System.Collections.Generic.List`1+Enumerator[RimWorld.Trait]
L_00e0: callvirt Void Dispose()
L_00e5: endfinally
L_00e6: Label #4
L_00e6: ldloc.0
L_00e7: ldfld RimWorld.Pawn_StoryTracker story
L_00ec: ldarg.1
L_00ed: ldfld RimWorld.Pawn_StoryTracker story
L_00f2: ldfld System.Single melanin
L_00f7: stfld System.Single melanin
L_00fc: ldarg.1
L_00fd: callvirt Verse.Name get_Name()
L_0102: isinst Verse.NameTriple
L_0107: stloc.2
L_0108: ldloc.0
L_0109: ldloc.2
L_010a: callvirt System.String get_First()
L_010f: ldloc.2
L_0110: callvirt System.String get_Nick()
L_0115: ldloc.2
L_0116: callvirt System.String get_Last()
L_011b: newobj Void .ctor(String, String, String)
L_0120: callvirt Void set_Name(Verse.Name)
L_0125: ldloc.0
L_0126: ldfld RimWorld.Pawn_StoryTracker story
L_012b: ldarg.1
L_012c: ldfld RimWorld.Pawn_StoryTracker story
L_0131: ldfld RimWorld.HairDef hairDef
L_0136: stfld RimWorld.HairDef hairDef
L_013b: ldloc.0
L_013c: ldfld RimWorld.Pawn_StoryTracker story
L_0141: ldarg.1
L_0142: ldfld RimWorld.Pawn_StoryTracker story
L_0147: ldfld UnityEngine.Color hairColor
L_014c: stfld UnityEngine.Color hairColor
L_0151: ldloc.0
L_0152: ldfld RimWorld.Pawn_StoryTracker story
L_0157: ldarg.1
L_0158: ldfld RimWorld.Pawn_StoryTracker story
L_015d: ldfld RimWorld.BodyType bodyType
L_0162: stfld RimWorld.BodyType bodyType
L_0167: ldtoken RimWorld.Pawn_StoryTracker
L_016c: call System.Type GetTypeFromHandle(RuntimeTypeHandle)
L_0171: ldstr "headGraphicPath"
L_0176: ldc.i4.s 36
L_0178: callvirt System.Reflection.FieldInfo GetField(System.String, BindingFlags)
L_017d: ldloc.0
L_017e: ldfld RimWorld.Pawn_StoryTracker story
L_0183: ldarg.1
L_0184: ldfld RimWorld.Pawn_StoryTracker story
L_0189: callvirt System.String get_HeadGraphicPath()
L_018e: callvirt Void SetValue(System.Object, System.Object)
L_0193: ldloc.0
L_0194: ldfld RimWorld.Pawn_StoryTracker story
L_0199: ldarg.1
L_019a: ldfld RimWorld.Pawn_StoryTracker story
L_019f: ldfld Verse.CrownType crownType
L_01a4: stfld Verse.CrownType crownType
L_01a9: ldtoken RimWorld.Pawn_ApparelTracker
L_01ae: call System.Type GetTypeFromHandle(RuntimeTypeHandle)
L_01b3: ldstr "wornApparel"
L_01b8: ldc.i4.s 36
L_01ba: callvirt System.Reflection.FieldInfo GetField(System.String, BindingFlags)
L_01bf: ldarg.1
L_01c0: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01c5: callvirt System.Object GetValue(System.Object)
L_01ca: castclass System.Collections.Generic.List`1[RimWorld.Apparel]
L_01cf: stloc.3
L_01d0: ldtoken RimWorld.Pawn_ApparelTracker
L_01d5: call System.Type GetTypeFromHandle(RuntimeTypeHandle)
L_01da: ldstr "wornApparel"
L_01df: ldc.i4.s 36
L_01e1: callvirt System.Reflection.FieldInfo GetField(System.String, BindingFlags)
L_01e6: ldloc.0
L_01e7: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ec: callvirt System.Object GetValue(System.Object)
L_01f1: castclass System.Collections.Generic.List`1[RimWorld.Apparel]
L_01f6: stloc.s 4 (System.Collections.Generic.List`1[RimWorld.Apparel])
L_01f8: ldloc.s 4 (System.Collections.Generic.List`1[RimWorld.Apparel])
L_01fa: callvirt Void Clear()
L_01ff: ldloc.3
L_0200: callvirt Enumerator GetEnumerator()
L_0205: stloc.s 9 (System.Collections.Generic.List`1+Enumerator[RimWorld.Apparel])
L_0207: br Label #5
L_020c: Label #6
L_020c: ldloca.s 9 (System.Collections.Generic.List`1+Enumerator[RimWorld.Apparel])
L_020e: call RimWorld.Apparel get_Current()
L_0213: stloc.s 5 (RimWorld.Apparel)
L_0215: ldloc.s 4 (System.Collections.Generic.List`1[RimWorld.Apparel])
L_0217: ldloc.s 5 (RimWorld.Apparel)
L_0219: callvirt Void Add(RimWorld.Apparel)
L_021e: Label #5
L_021e: ldloca.s 9 (System.Collections.Generic.List`1+Enumerator[RimWorld.Apparel])
L_0220: call Boolean MoveNext()
L_0225: brtrue Label #6
L_022a: leave.s Label #7
L_022c: ldloca.s 9 (System.Collections.Generic.List`1+Enumerator[RimWorld.Apparel])
L_022e: constrained. System.Collections.Generic.List`1+Enumerator[RimWorld.Apparel]
L_0234: callvirt Void Dispose()
L_0239: endfinally
L_023a: Label #7
L_023a: ldloc.0
L_023b: ldfld RimWorld.Pawn_SkillTracker skills
L_0240: ldfld System.Collections.Generic.List`1[RimWorld.SkillRecord] skills
L_0245: callvirt Void Clear()
L_024a: ldarg.1
L_024b: ldfld RimWorld.Pawn_SkillTracker skills
L_0250: ldfld System.Collections.Generic.List`1[RimWorld.SkillRecord] skills
L_0255: callvirt Enumerator GetEnumerator()
L_025a: stloc.s 10 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_025c: br Label #8
L_0261: Label #9
L_0261: ldloca.s 10 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_0263: call RimWorld.SkillRecord get_Current()
L_0268: stloc.s 6 (RimWorld.SkillRecord)
L_026a: ldloc.0
L_026b: ldloc.s 6 (RimWorld.SkillRecord)
L_026d: ldfld RimWorld.SkillDef def
L_0272: newobj Void .ctor(Pawn, SkillDef)
L_0277: stloc.s 7 (RimWorld.SkillRecord)
L_0279: ldloc.s 7 (RimWorld.SkillRecord)
L_027b: ldloc.s 6 (RimWorld.SkillRecord)
L_027d: callvirt Int32 get_Level()
L_0282: callvirt Void set_Level(Int32)
L_0287: ldloc.s 7 (RimWorld.SkillRecord)
L_0289: ldloc.s 6 (RimWorld.SkillRecord)
L_028b: ldfld RimWorld.Passion passion
L_0290: stfld RimWorld.Passion passion
L_0295: ldloc.s 7 (RimWorld.SkillRecord)
L_0297: ldloc.s 6 (RimWorld.SkillRecord)
L_0299: ldfld System.Single xpSinceLastLevel
L_029e: stfld System.Single xpSinceLastLevel
L_02a3: ldloc.0
L_02a4: ldfld RimWorld.Pawn_SkillTracker skills
L_02a9: ldfld System.Collections.Generic.List`1[RimWorld.SkillRecord] skills
L_02ae: ldloc.s 7 (RimWorld.SkillRecord)
L_02b0: callvirt Void Add(RimWorld.SkillRecord)
L_02b5: Label #8
L_02b5: ldloca.s 10 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_02b7: call Boolean MoveNext()
L_02bc: brtrue Label #9
L_02c1: leave.s Label #10
L_02c3: ldloca.s 10 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_02c5: constrained. System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord]
L_02cb: callvirt Void Dispose()
L_02d0: endfinally
L_02d1: Label #10
L_02d1: ldloc.0
L_02d2: ldarg.1
L_02d3: ldfld RimWorld.Pawn_RelationsTracker relations
L_02d8: stfld RimWorld.Pawn_RelationsTracker relations
L_02dd: ldloc.0
L_02de: call Void ClearPawnCaches(Verse.Pawn)
L_02e3: ldloc.0
L_02e4: br Label #0
L_02e9: Label #0
L_02e9: stloc 11 (Verse.Pawn)
L_02eb: ldarg 1
L_02f1: ldloca 11 (Verse.Pawn)
L_02f3: call Void PrepareCarefullyCopyPawn(Verse.Pawn, Verse.Pawn ByRef)
L_02f8: ldloc 11 (Verse.Pawn)
L_02fa: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Void set_MelaninLevel(Single)
L_0000: Local var #0 UnityEngine.Color
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Void PrepareCarefullyMelaninLevel(System.Object, Single)
L_000c: ldarg.0
L_000d: ldfld Verse.Pawn pawn
L_0012: ldfld RimWorld.Pawn_StoryTracker story
L_0017: ldarg.1
L_0018: stfld System.Single melanin
L_001d: ldarg.0
L_001e: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_0023: ldc.i4.0
L_0024: ldarg.0
L_0025: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_002a: ldc.i4.5
L_002b: ldarg.0
L_002c: ldfld Verse.Pawn pawn
L_0031: ldfld RimWorld.Pawn_StoryTracker story
L_0036: callvirt Color get_SkinColor()
L_003b: dup
L_003c: stloc.0
L_003d: callvirt Void set_Item(Int32, Color)
L_0042: ldloc.0
L_0043: callvirt Void set_Item(Int32, Color)
L_0048: ldarg.0
L_0049: call Void MarkPortraitAsDirty()
L_004e: br Label #0
L_0053: Label #0
L_0053: ret
DONE

PATCHING EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully Void DrawAppearance(EdB.PrepareCarefully.CustomPawn)
L_0000: Local var #0 System.String
L_0000: Local var #1 System.Collections.Generic.List`1[[Verse.FloatMenuOption, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
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 UnityEngine.Rect
L_0000: Local var #6 UnityEngine.Rect
L_0000: Local var #7 UnityEngine.Rect
L_0000: Local var #8 System.Single
L_0000: Local var #9 UnityEngine.Rect
L_0000: Local var #10 System.Action
L_0000: Local var #11 System.Action
L_0000: Local var #12 EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40
L_0000: Local var #13 Verse.ThingDef
L_0000: Local var #14 UnityEngine.Rect
L_0000: Local var #15 EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c
L_0000: newobj Void .ctor()
L_0005: stloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_0007: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_0009: ldarg.1
L_000a: stfld EdB.PrepareCarefully.CustomPawn customPawn
L_000f: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_0011: ldarg.0
L_0012: stfld EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully <>4__this
L_0017: ldarg.0
L_0018: ldfld System.Int32 selectedPawnLayer
L_001d: call System.String Label(Int32)
L_0022: stloc.0
L_0023: ldc.r4 28
L_0028: ldc.r4 23
L_002d: ldc.r4 192
L_0032: ldc.r4 28
L_0037: newobj Void .ctor(Single, Single, Single, Single)
L_003c: ldloc.0
L_003d: ldc.i4.1
L_003e: ldc.i4.0
L_003f: ldc.i4.1
L_0040: call Boolean ButtonText(Rect, System.String, Boolean, Boolean, Boolean)
L_0045: brfalse Label #2
L_004a: newobj Void .ctor()
L_004f: stloc.1
L_0050: ldarg.0
L_0051: ldfld System.Collections.Generic.List`1[System.Action] pawnLayerActions
L_0056: callvirt Int32 get_Count()
L_005b: stloc.2
L_005c: ldc.i4.0
L_005d: stloc.3
L_005e: br Label #3
L_0063: Label #8
L_0063: ldarg.0
L_0064: ldfld System.Collections.Generic.List`1[System.Int32] pawnLayers
L_0069: ldloc.3
L_006a: callvirt Int32 get_Item(Int32)
L_006f: stloc.s 4 (System.Int32)
L_0071: ldloc.s 4 (System.Int32)
L_0073: call Boolean IsApparelLayer(Int32)
L_0078: brfalse Label #4
L_007d: ldloc.s 4 (System.Int32)
L_007f: ldc.i4.8
L_0080: bne.un Label #5
L_0085: ldarg.0
L_0086: ldfld System.Collections.Generic.List`1[System.Collections.Generic.List`1[Verse.ThingDef]] apparelLists
L_008b: ldloc.s 4 (System.Int32)
L_008d: callvirt System.Collections.Generic.List`1[Verse.ThingDef] get_Item(Int32)
L_0092: brfalse Label #6
L_0097: ldarg.0
L_0098: ldfld System.Collections.Generic.List`1[System.Collections.Generic.List`1[Verse.ThingDef]] apparelLists
L_009d: ldloc.s 4 (System.Int32)
L_009f: callvirt System.Collections.Generic.List`1[Verse.ThingDef] get_Item(Int32)
L_00a4: callvirt Int32 get_Count()
L_00a9: brfalse Label #7
L_00ae: Label #4
L_00ae: Label #5
L_00ae: ldarg.0
L_00af: ldfld System.Collections.Generic.List`1[System.Int32] pawnLayers
L_00b4: ldloc.3
L_00b5: callvirt Int32 get_Item(Int32)
L_00ba: call System.String Label(Int32)
L_00bf: stloc.0
L_00c0: ldloc.1
L_00c1: ldloc.0
L_00c2: ldarg.0
L_00c3: ldfld System.Collections.Generic.List`1[System.Action] pawnLayerActions
L_00c8: ldloc.3
L_00c9: callvirt System.Action get_Item(Int32)
L_00ce: ldc.i4.4
L_00cf: ldnull
L_00d0: ldnull
L_00d1: ldc.r4 0
L_00d6: ldnull
L_00d7: ldnull
L_00d8: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_00dd: callvirt Void Add(Verse.FloatMenuOption)
L_00e2: Label #6
L_00e2: Label #7
L_00e2: ldloc.3
L_00e3: ldc.i4.1
L_00e4: add
L_00e5: stloc.3
L_00e6: Label #3
L_00e6: ldloc.3
L_00e7: ldloc.2
L_00e8: blt Label #8
L_00ed: call Verse.WindowStack get_WindowStack()
L_00f2: ldloc.1
L_00f3: ldnull
L_00f4: ldc.i4.0
L_00f5: newobj Void .ctor(List`1, String, Boolean)
L_00fa: callvirt Void Add(Verse.Window)
L_00ff: Label #2
L_00ff: ldloca.s 5 (UnityEngine.Rect)
L_0101: ldc.r4 28
L_0106: ldc.r4 60
L_010b: ldc.r4 192
L_0110: ldc.r4 192
L_0115: call Void .ctor(Single, Single, Single, Single)
L_011a: ldloc.s 5 (UnityEngine.Rect)
L_011c: ldsfld UnityEngine.Texture2D TexturePortraitBackground
L_0121: call Void DrawTexture(Rect, UnityEngine.Texture)
L_0126: ldarg.0
L_0127: ldloc.s 5 (UnityEngine.Rect)
L_0129: call Void DrawPawn(Rect)
L_012e: ldsfld UnityEngine.Color PortraitBorderColor
L_0133: call Void set_color(Color)
L_0138: ldloc.s 5 (UnityEngine.Rect)
L_013a: ldc.i4.1
L_013b: call Void DrawBox(Rect, Int32)
L_0140: call Color get_white()
L_0145: call Void set_color(Color)
L_014a: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_014c: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_0151: callvirt System.String get_ApparelConflict()
L_0156: brfalse Label #9
L_015b: call Color get_white()
L_0160: call Void set_color(Color)
L_0165: ldloca.s 6 (UnityEngine.Rect)
L_0167: ldloca.s 5 (UnityEngine.Rect)
L_0169: call Single get_x()
L_016e: ldc.r4 77
L_0173: add
L_0174: ldloca.s 5 (UnityEngine.Rect)
L_0176: call Single get_y()
L_017b: ldc.r4 150
L_0180: add
L_0181: ldc.r4 36
L_0186: ldc.r4 32
L_018b: call Void .ctor(Single, Single, Single, Single)
L_0190: ldloc.s 6 (UnityEngine.Rect)
L_0192: ldsfld UnityEngine.Texture2D TextureAlert
L_0197: call Void DrawTexture(Rect, UnityEngine.Texture)
L_019c: ldloc.s 6 (UnityEngine.Rect)
L_019e: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_01a0: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_01a5: callvirt System.String get_ApparelConflict()
L_01aa: call TipSignal op_Implicit(System.String)
L_01af: call Void TipRegion(Rect, TipSignal)
L_01b4: Label #9
L_01b4: ldloca.s 7 (UnityEngine.Rect)
L_01b6: ldloca.s 5 (UnityEngine.Rect)
L_01b8: call Single get_x()
L_01bd: ldloca.s 5 (UnityEngine.Rect)
L_01bf: call Single get_y()
L_01c4: ldloca.s 5 (UnityEngine.Rect)
L_01c6: call Single get_height()
L_01cb: add
L_01cc: ldc.r4 5
L_01d1: add
L_01d2: ldloca.s 5 (UnityEngine.Rect)
L_01d4: call Single get_width()
L_01d9: ldc.r4 28
L_01de: call Void .ctor(Single, Single, Single, Single)
L_01e3: ldarg.0
L_01e4: ldloc.s 7 (UnityEngine.Rect)
L_01e6: ldarg.0
L_01e7: call System.String get_PawnLayerLabel()
L_01ec: call System.String CapitalizeFirst(System.String)
L_01f1: ldarg.0
L_01f2: ldftn Void <DrawAppearance>b__36()
L_01f8: newobj Void .ctor(Object, IntPtr)
L_01fd: ldarg.0
L_01fe: ldftn Void <DrawAppearance>b__37()
L_0204: newobj Void .ctor(Object, IntPtr)
L_0209: call Void DrawFieldSelector(Rect, System.String, System.Action, System.Action)
L_020e: ldloc.s 7 (UnityEngine.Rect)
L_0210: ldc.i4.0
L_0211: call Boolean ButtonInvisible(Rect, Boolean)
L_0216: brfalse Label #10
L_021b: ldarg.0
L_021c: ldfld System.Int32 selectedPawnLayer
L_0221: ldc.i4.5
L_0222: bne.un Label #11
L_0227: ldarg.0
L_0228: call Void ShowHeadDialog()
L_022d: br Label #12
L_0232: Label #11
L_0232: ldarg.0
L_0233: ldfld System.Int32 selectedPawnLayer
L_0238: brtrue Label #13
L_023d: ldarg.0
L_023e: call Void ShowBodyTypeDialog()
L_0243: br Label #14
L_0248: Label #13
L_0248: ldarg.0
L_0249: ldfld System.Int32 selectedPawnLayer
L_024e: ldc.i4.6
L_024f: bne.un Label #15
L_0254: ldarg.0
L_0255: call Void ShowHairDialog()
L_025a: br Label #16
L_025f: Label #15
L_025f: ldarg.0
L_0260: ldarg.0
L_0261: ldfld System.Int32 selectedPawnLayer
L_0266: call Void ShowApparelDialog(Int32)
L_026b: Label #10
L_026b: Label #12
L_026b: Label #14
L_026b: Label #16
L_026b: ldloca.s 7 (UnityEngine.Rect)
L_026d: call Single get_y()
L_0272: ldc.r4 34
L_0277: add
L_0278: stloc.s 8 (System.Single)
L_027a: ldarg.0
L_027b: ldfld System.Int32 selectedPawnLayer
L_0280: call Boolean IsApparelLayer(Int32)
L_0285: brfalse Label #17
L_028a: ldnull
L_028b: stloc.s 10 (System.Action)
L_028d: ldnull
L_028e: stloc.s 11 (System.Action)
L_0290: newobj Void .ctor()
L_0295: stloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_0297: ldloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_0299: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_029b: stfld EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c CS$<>8__locals3d
L_02a0: ldloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_02a2: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_02a4: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_02a9: ldarg.0
L_02aa: ldfld System.Int32 selectedPawnLayer
L_02af: callvirt Verse.ThingDef GetSelectedApparel(Int32)
L_02b4: stfld Verse.ThingDef apparelDef
L_02b9: ldloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_02bb: ldfld Verse.ThingDef apparelDef
L_02c0: brfalse Label #18
L_02c5: ldloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_02c7: ldfld Verse.ThingDef apparelDef
L_02cc: callvirt Boolean get_MadeFromStuff()
L_02d1: brfalse Label #19
L_02d6: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_02d8: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_02dd: ldarg.0
L_02de: ldfld System.Int32 selectedPawnLayer
L_02e3: callvirt Verse.ThingDef GetSelectedStuff(Int32)
L_02e8: brtrue Label #20
L_02ed: ldstr "Selected stuff for "
L_02f2: ldarg.0
L_02f3: ldfld System.Int32 selectedPawnLayer
L_02f8: call ApparelLayer ToApparelLayer(Int32)
L_02fd: box RimWorld.ApparelLayer
L_0302: ldstr " is null"
L_0307: call System.String Concat(System.Object, System.Object, System.Object)
L_030c: call Void Error(System.String)
L_0311: Label #20
L_0311: ldloca.s 9 (UnityEngine.Rect)
L_0313: ldloca.s 5 (UnityEngine.Rect)
L_0315: call Single get_x()
L_031a: ldloc.s 8 (System.Single)
L_031c: ldloca.s 5 (UnityEngine.Rect)
L_031e: call Single get_width()
L_0323: ldc.r4 28
L_0328: call Void .ctor(Single, Single, Single, Single)
L_032d: ldarg.0
L_032e: ldloc.s 9 (UnityEngine.Rect)
L_0330: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_0332: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_0337: ldarg.0
L_0338: ldfld System.Int32 selectedPawnLayer
L_033d: callvirt Verse.ThingDef GetSelectedStuff(Int32)
L_0342: callvirt System.String get_LabelCap()
L_0347: ldloc.s 10 (System.Action)
L_0349: brtrue Label #21
L_034e: ldloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_0350: ldftn Void <DrawAppearance>b__38()
L_0356: newobj Void .ctor(Object, IntPtr)
L_035b: stloc.s 10 (System.Action)
L_035d: Label #21
L_035d: ldloc.s 10 (System.Action)
L_035f: ldloc.s 11 (System.Action)
L_0361: brtrue Label #22
L_0366: ldloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_0368: ldftn Void <DrawAppearance>b__3a()
L_036e: newobj Void .ctor(Object, IntPtr)
L_0373: stloc.s 11 (System.Action)
L_0375: Label #22
L_0375: ldloc.s 11 (System.Action)
L_0377: call Void DrawFieldSelector(Rect, System.String, System.Action, System.Action)
L_037c: ldloc.s 9 (UnityEngine.Rect)
L_037e: ldc.i4.0
L_037f: call Boolean ButtonInvisible(Rect, Boolean)
L_0384: brfalse Label #23
L_0389: ldarg.0
L_038a: ldarg.0
L_038b: ldfld System.Int32 selectedPawnLayer
L_0390: call Void ShowApparelStuffDialog(Int32)
L_0395: Label #23
L_0395: ldloc.s 8 (System.Single)
L_0397: ldloca.s 9 (UnityEngine.Rect)
L_0399: call Single get_height()
L_039e: add
L_039f: stloc.s 8 (System.Single)
L_03a1: Label #17
L_03a1: Label #18
L_03a1: Label #19
L_03a1: ldloc.s 8 (System.Single)
L_03a3: ldc.r4 8
L_03a8: add
L_03a9: stloc.s 8 (System.Single)
L_03ab: ldarg.0
L_03ac: ldfld System.Int32 selectedPawnLayer
L_03b1: call Boolean IsApparelLayer(Int32)
L_03b6: brfalse Label #24
L_03bb: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_03bd: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_03c2: ldarg.0
L_03c3: ldfld System.Int32 selectedPawnLayer
L_03c8: callvirt Verse.ThingDef GetSelectedApparel(Int32)
L_03cd: stloc.s 13 (Verse.ThingDef)
L_03cf: ldloc.s 13 (Verse.ThingDef)
L_03d1: brfalse Label #25
L_03d6: ldloc.s 13 (Verse.ThingDef)
L_03d8: ldtoken Verse.CompColorable
L_03dd: call System.Type GetTypeFromHandle(RuntimeTypeHandle)
L_03e2: callvirt Boolean HasComp(System.Type)
L_03e7: brfalse Label #26
L_03ec: ldloc.s 13 (Verse.ThingDef)
L_03ee: callvirt Boolean get_MadeFromStuff()
L_03f3: brfalse Label #27
L_03f8: ldarg.0
L_03f9: ldloc.s 8 (System.Single)
L_03fb: ldnull
L_03fc: call Void DrawColorSelector(Single, Verse.ColorGenerator)
L_0401: br Label #28
L_0406: Label #27
L_0406: ldarg.0
L_0407: ldloc.s 8 (System.Single)
L_0409: ldloc.s 13 (Verse.ThingDef)
L_040b: ldfld Verse.ColorGenerator colorGenerator
L_0410: call Void DrawColorSelector(Single, Verse.ColorGenerator)
L_0415: br Label #29
L_041a: Label #24
L_041a: ldarg.0
L_041b: ldfld System.Int32 selectedPawnLayer
L_0420: brfalse Label #30
L_0425: ldarg.0
L_0426: ldfld System.Int32 selectedPawnLayer
L_042b: ldc.i4.5
L_042c: bne.un Label #31
L_0431: Label #30
L_0431: ldarg.0
L_0432: ldloc.s 8 (System.Single)
L_0434: call Void DrawSkinSelector(Single)
L_0439: br Label #32
L_043e: Label #31
L_043e: ldarg.0
L_043f: ldfld System.Int32 selectedPawnLayer
L_0444: ldc.i4.6
L_0445: bne.un Label #33
L_044a: ldarg.0
L_044b: ldloc.s 8 (System.Single)
L_044d: ldarg.0
L_044e: ldfld System.Collections.Generic.List`1[UnityEngine.Color] hairColors
L_0453: ldc.i4.1
L_0454: call Void DrawColorSelector(Single, System.Collections.Generic.List`1[UnityEngine.Color], Boolean)
L_0459: Label #25
L_0459: Label #26
L_0459: Label #28
L_0459: Label #29
L_0459: Label #32
L_0459: Label #33
L_0459: ldloca.s 14 (UnityEngine.Rect)
L_045b: ldsflda UnityEngine.Rect SectionRectPortrait
L_0460: call Single get_x()
L_0465: ldc.r4 186
L_046a: add
L_046b: ldloca.s 5 (UnityEngine.Rect)
L_046d: call Single get_y()
L_0472: ldc.r4 10
L_0477: add
L_0478: ldc.r4 22
L_047d: ldc.r4 22
L_0482: call Void .ctor(Single, Single, Single, Single)
L_0487: ldloca.s 14 (UnityEngine.Rect)
L_0489: call UnityEngine.Event get_current()
L_048e: callvirt Vector2 get_mousePosition()
L_0493: call Boolean Contains(Vector2)
L_0498: brfalse Label #34
L_049d: ldsfld UnityEngine.Color ButtonHighlightColor
L_04a2: call Void set_color(Color)
L_04a7: br Label #35
L_04ac: Label #34
L_04ac: ldsfld UnityEngine.Color ButtonColor
L_04b1: call Void set_color(Color)
L_04b6: Label #35
L_04b6: ldloc.s 14 (UnityEngine.Rect)
L_04b8: ldsfld UnityEngine.Texture2D TextureButtonRandom
L_04bd: call Void DrawTexture(Rect, UnityEngine.Texture)
L_04c2: ldloc.s 14 (UnityEngine.Rect)
L_04c4: ldc.i4.0
L_04c5: call Boolean ButtonInvisible(Rect, Boolean)
L_04ca: brfalse Label #36
L_04cf: ldsfld Verse.SoundDef TickLow
L_04d4: call Void PlayOneShotOnCamera(Verse.SoundDef)
L_04d9: ldarg.0
L_04da: ldfld EdB.PrepareCarefully.Randomizer randomizer
L_04df: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_04e1: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_04e6: callvirt Void RandomizeAppearance(EdB.PrepareCarefully.CustomPawn)
L_04eb: Label #36
L_04eb: br Label #0
L_04f0: Label #0
L_04f0: ldarg.0
L_04f1: ldarg 1
L_04f7: call Void PrepareCarefullyDrawAppearance(System.Object, System.Object)
L_04fc: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Verse.ThingDef GetSelectedApparel(Int32)
L_0000: Local var #0 Verse.ThingDef
L_0000: ldnull
L_0001: stloc 0 (Verse.ThingDef)
L_0002: ldarg 1
L_0008: ldarg.0
L_0009: ldloca 0 (Verse.ThingDef)
L_000b: call Boolean PrepareCarefullySelectedApparel(Int32, System.Object, Verse.ThingDef ByRef)
L_0010: brfalse Label #1
L_0015: ldarg.0
L_0016: ldfld System.Collections.Generic.List`1[Verse.ThingDef] selectedApparel
L_001b: ldarg.1
L_001c: callvirt Verse.ThingDef get_Item(Int32)
L_0021: br Label #0
L_0026: Label #0
L_0026: stloc 0 (Verse.ThingDef)
L_0027: Label #1
L_0027: ldloc 0 (Verse.ThingDef)
L_0028: ret
DONE

PATCHING EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully System.String get_PawnLayerLabel()
L_0000: Local var #0 EdB.PrepareCarefully.CustomPawn
L_0000: Local var #1 System.String
L_0000: Local var #2 Verse.ThingDef
L_0000: Local var #3 System.Int32
L_0000: Local var #4 System.String
L_0000: ldnull
L_0001: stloc 4 (System.String)
L_0003: ldarg.0
L_0004: call EdB.PrepareCarefully.CustomPawn get_CurrentPawn()
L_0009: stloc.0
L_000a: ldstr "EdB.None"
L_000f: call System.String Translate(System.String)
L_0014: stloc.1
L_0015: ldarg.0
L_0016: ldfld System.Int32 selectedPawnLayer
L_001b: brtrue Label #2
L_0020: ldarg.0
L_0021: ldfld System.Collections.Generic.Dictionary`2[RimWorld.BodyType,System.String] bodyTypeLabels
L_0026: ldloc.0
L_0027: callvirt BodyType get_BodyType()
L_002c: callvirt System.String get_Item(BodyType)
L_0031: stloc.1
L_0032: br Label #3
L_0037: Label #2
L_0037: ldarg.0
L_0038: ldfld System.Int32 selectedPawnLayer
L_003d: ldc.i4.5
L_003e: bne.un Label #4
L_0043: ldarg.0
L_0044: ldloc.0
L_0045: callvirt System.String get_HeadGraphicPath()
L_004a: call System.String GetHeadLabel(System.String)
L_004f: stloc.1
L_0050: br Label #5
L_0055: Label #4
L_0055: ldarg.0
L_0056: ldfld System.Int32 selectedPawnLayer
L_005b: ldc.i4.6
L_005c: bne.un Label #6
L_0061: ldloc.0
L_0062: callvirt RimWorld.HairDef get_HairDef()
L_0067: brfalse Label #7
L_006c: ldloc.0
L_006d: callvirt RimWorld.HairDef get_HairDef()
L_0072: callvirt System.String get_LabelCap()
L_0077: stloc.1
L_0078: br Label #8
L_007d: Label #6
L_007d: ldnull
L_007e: stloc.1
L_007f: ldloc.0
L_0080: ldarg.0
L_0081: ldfld System.Int32 selectedPawnLayer
L_0086: callvirt Verse.ThingDef GetSelectedApparel(Int32)
L_008b: stloc.2
L_008c: ldloc.2
L_008d: brfalse Label #9
L_0092: ldarg.0
L_0093: ldfld System.Collections.Generic.List`1[System.Collections.Generic.List`1[Verse.ThingDef]] apparelLists
L_0098: ldarg.0
L_0099: ldfld System.Int32 selectedPawnLayer
L_009e: callvirt System.Collections.Generic.List`1[Verse.ThingDef] get_Item(Int32)
L_00a3: ldloc.2
L_00a4: callvirt Int32 IndexOf(Verse.ThingDef)
L_00a9: stloc.3
L_00aa: ldloc.3
L_00ab: ldc.i4.m1
L_00ac: ble Label #10
L_00b1: ldarg.0
L_00b2: ldfld System.Collections.Generic.List`1[System.Collections.Generic.List`1[Verse.ThingDef]] apparelLists
L_00b7: ldarg.0
L_00b8: ldfld System.Int32 selectedPawnLayer
L_00bd: callvirt System.Collections.Generic.List`1[Verse.ThingDef] get_Item(Int32)
L_00c2: ldloc.3
L_00c3: callvirt Verse.ThingDef get_Item(Int32)
L_00c8: ldfld System.String label
L_00cd: stloc.1
L_00ce: br Label #11
L_00d3: Label #9
L_00d3: ldstr "EdB.None"
L_00d8: call System.String Translate(System.String)
L_00dd: stloc.1
L_00de: Label #3
L_00de: Label #5
L_00de: Label #7
L_00de: Label #8
L_00de: Label #10
L_00de: Label #11
L_00de: ldarg.0
L_00df: ldarg.0
L_00e0: ldfld System.Int32 selectedPawnLayer
L_00e5: stfld System.Int32 pawnLayerLabelIndex
L_00ea: ldarg.0
L_00eb: ldloc.0
L_00ec: stfld EdB.PrepareCarefully.CustomPawn pawnLayerLabelModel
L_00f1: ldarg.0
L_00f2: ldloc.1
L_00f3: stfld System.String pawnLayerLabel
L_00f8: ldloc.1
L_00f9: br Label #0
L_00fe: Label #0
L_00fe: stloc 4 (System.String)
L_0100: ldarg.0
L_0101: ldloca 4 (System.String)
L_0103: call Void PrepareCarefullyPawnLayerLabel(System.Object, System.String ByRef)
L_0108: ldloc 4 (System.String)
L_010a: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Void SetSelectedStuff(Int32, Verse.ThingDef)
L_0000: Local var #0 Verse.ThingDef
L_0000: Local var #1 EdB.PrepareCarefully.EquipmentKey
L_0000: Local var #2 UnityEngine.Color
L_0000: ldarg 1
L_0006: ldarg 2
L_000c: ldarg.0
L_000d: call Boolean PrepareCarefullySetSelectedStuff(Int32, Verse.ThingDef, System.Object)
L_0012: brfalse Label #1
L_0017: ldarg.1
L_0018: ldc.i4.0
L_0019: bge Label #2
L_001e: br Label #0
L_0023: Label #2
L_0023: ldarg.0
L_0024: ldfld System.Collections.Generic.List`1[Verse.ThingDef] selectedStuff
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: callvirt Void set_Item(Int32, Verse.ThingDef)
L_0030: ldarg.2
L_0031: brfalse Label #3
L_0036: ldarg.0
L_0037: ldarg.1
L_0038: call Verse.ThingDef GetSelectedApparel(Int32)
L_003d: stloc.0
L_003e: ldloc.0
L_003f: brfalse Label #4
L_0044: ldloca.s 1 (EdB.PrepareCarefully.EquipmentKey)
L_0046: ldloc.0
L_0047: ldarg.2
L_0048: call Void .ctor(ThingDef, ThingDef)
L_004d: ldarg.0
L_004e: ldfld System.Collections.Generic.Dictionary`2[EdB.PrepareCarefully.EquipmentKey,UnityEngine.Color] colorCache
L_0053: ldloc.1
L_0054: ldloca.s 2 (UnityEngine.Color)
L_0056: callvirt Boolean TryGetValue(EquipmentKey, Color ByRef)
L_005b: brfalse Label #5
L_0060: ldarg.0
L_0061: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_0066: ldarg.1
L_0067: ldloc.2
L_0068: callvirt Void set_Item(Int32, Color)
L_006d: br Label #0
L_0072: Label #5
L_0072: ldarg.2
L_0073: ldfld Verse.StuffProperties stuffProps
L_0078: ldfld System.Boolean allowColorGenerators
L_007d: brfalse Label #6
L_0082: ldarg.0
L_0083: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_0088: ldarg.1
L_0089: ldarg.2
L_008a: ldfld Verse.StuffProperties stuffProps
L_008f: ldfld UnityEngine.Color color
L_0094: callvirt Void set_Item(Int32, Color)
L_0099: br Label #0
L_009e: Label #6
L_009e: ldarg.0
L_009f: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_00a4: ldarg.1
L_00a5: call Color get_white()
L_00aa: callvirt Void set_Item(Int32, Color)
L_00af: Label #3
L_00af: Label #4
L_00af: br Label #0
L_00b4: Label #0
L_00b4: Label #1
L_00b4: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Verse.ThingDef GetSelectedStuff(Int32)
L_0000: Local var #0 Verse.ThingDef
L_0000: ldnull
L_0001: stloc 0 (Verse.ThingDef)
L_0002: ldarg 1
L_0008: ldloca 0 (Verse.ThingDef)
L_000a: ldarg.0
L_000b: call Boolean PrepareCarefullyGetSelectedStuff(Int32, Verse.ThingDef ByRef, System.Object)
L_0010: brfalse Label #1
L_0015: ldarg.0
L_0016: ldfld System.Collections.Generic.List`1[Verse.ThingDef] selectedStuff
L_001b: ldarg.1
L_001c: callvirt Verse.ThingDef get_Item(Int32)
L_0021: br Label #0
L_0026: Label #0
L_0026: stloc 0 (Verse.ThingDef)
L_0027: Label #1
L_0027: ldloc 0 (Verse.ThingDef)
L_0028: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Void SetSelectedApparelInternal(Int32, Verse.ThingDef)
L_0000: Local var #0 Verse.ThingDef
L_0000: Local var #1 EdB.PrepareCarefully.EquipmentKey
L_0000: ldarg 1
L_0006: ldarg 2
L_000c: ldarg.0
L_000d: call Boolean PrepareCarefullySetSelectedApparelInternal(Int32, Verse.ThingDef, System.Object)
L_0012: brfalse Label #1
L_0017: ldarg.1
L_0018: ldc.i4.0
L_0019: bge Label #2
L_001e: br Label #0
L_0023: Label #2
L_0023: ldarg.0
L_0024: ldfld System.Collections.Generic.List`1[Verse.ThingDef] selectedApparel
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: callvirt Void set_Item(Int32, Verse.ThingDef)
L_0030: ldarg.2
L_0031: brfalse Label #3
L_0036: ldarg.0
L_0037: ldarg.1
L_0038: call Verse.ThingDef GetSelectedStuff(Int32)
L_003d: stloc.0
L_003e: ldloca.s 1 (EdB.PrepareCarefully.EquipmentKey)
L_0040: ldarg.2
L_0041: ldloc.0
L_0042: call Void .ctor(ThingDef, ThingDef)
L_0047: ldarg.0
L_0048: ldfld System.Collections.Generic.Dictionary`2[EdB.PrepareCarefully.EquipmentKey,UnityEngine.Color] colorCache
L_004d: ldloc.1
L_004e: callvirt Boolean ContainsKey(EquipmentKey)
L_0053: brfalse Label #4
L_0058: ldarg.0
L_0059: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_005e: ldarg.1
L_005f: ldarg.0
L_0060: ldfld System.Collections.Generic.Dictionary`2[EdB.PrepareCarefully.EquipmentKey,UnityEngine.Color] colorCache
L_0065: ldloc.1
L_0066: callvirt Color get_Item(EquipmentKey)
L_006b: callvirt Void set_Item(Int32, Color)
L_0070: br Label #5
L_0075: Label #4
L_0075: ldloc.0
L_0076: brtrue Label #6
L_007b: ldarg.2
L_007c: ldfld Verse.ColorGenerator colorGenerator
L_0081: brfalse Label #7
L_0086: ldarg.2
L_0087: ldfld Verse.ColorGenerator colorGenerator
L_008c: ldarg.0
L_008d: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_0092: ldarg.1
L_0093: callvirt Color get_Item(Int32)
L_0098: call Boolean Validate(Verse.ColorGenerator, Color)
L_009d: brtrue Label #8
L_00a2: ldarg.0
L_00a3: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_00a8: ldarg.1
L_00a9: ldarg.2
L_00aa: ldfld Verse.ColorGenerator colorGenerator
L_00af: callvirt Color NewRandomizedColor()
L_00b4: callvirt Void set_Item(Int32, Color)
L_00b9: br Label #9
L_00be: Label #7
L_00be: ldarg.0
L_00bf: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_00c4: ldarg.1
L_00c5: call Color get_white()
L_00ca: callvirt Void set_Item(Int32, Color)
L_00cf: br Label #10
L_00d4: Label #6
L_00d4: ldloc.0
L_00d5: ldfld Verse.StuffProperties stuffProps
L_00da: ldfld System.Boolean allowColorGenerators
L_00df: brfalse Label #11
L_00e4: ldarg.0
L_00e5: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_00ea: ldarg.1
L_00eb: ldloc.0
L_00ec: ldfld Verse.StuffProperties stuffProps
L_00f1: ldfld UnityEngine.Color color
L_00f6: callvirt Void set_Item(Int32, Color)
L_00fb: br Label #12
L_0100: Label #11
L_0100: ldarg.0
L_0101: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_0106: ldarg.1
L_0107: call Color get_white()
L_010c: callvirt Void set_Item(Int32, Color)
L_0111: Label #3
L_0111: Label #5
L_0111: Label #8
L_0111: Label #9
L_0111: Label #10
L_0111: Label #12
L_0111: ldarg.0
L_0112: ldfld System.Collections.Generic.List`1[Verse.ThingDef] acceptedApparel
L_0117: ldarg.1
L_0118: ldarg.2
L_0119: callvirt Void set_Item(Int32, Verse.ThingDef)
L_011e: ldarg.0
L_011f: call Void ApparelAcceptanceTest()
L_0124: br Label #0
L_0129: Label #0
L_0129: Label #1
L_0129: ret
DONE

PATCHING EdB.PrepareCarefully.PawnLayers System.String Label(Int32)
L_0000: Local var #0 System.Int32
L_0000: Local var #1 System.String
L_0000: ldnull
L_0001: stloc 1 (System.String)
L_0002: ldarg.0
L_0003: stloc.0
L_0004: ldloc.0
L_0005: switch Labels #2 #3 #4 #5 #6 #7 #8 #9 #10
L_002e: br Label #11
L_0033: Label #2
L_0033: ldstr "EdB.PawnLayer.BodyType"
L_0038: call System.String Translate(System.String)
L_003d: br Label #0
L_0042: Label #7
L_0042: ldstr "EdB.PawnLayer.HeadType"
L_0047: call System.String Translate(System.String)
L_004c: br Label #0
L_0051: Label #4
L_0051: ldstr "EdB.PawnLayer.Pants"
L_0056: call System.String Translate(System.String)
L_005b: br Label #0
L_0060: Label #3
L_0060: ldstr "EdB.PawnLayer.BottomClothingLayer"
L_0065: call System.String Translate(System.String)
L_006a: br Label #0
L_006f: Label #5
L_006f: ldstr "EdB.PawnLayer.MiddleClothingLayer"
L_0074: call System.String Translate(System.String)
L_0079: br Label #0
L_007e: Label #6
L_007e: ldstr "EdB.PawnLayer.TopClothingLayer"
L_0083: call System.String Translate(System.String)
L_0088: br Label #0
L_008d: Label #8
L_008d: ldstr "EdB.PawnLayer.Hair"
L_0092: call System.String Translate(System.String)
L_0097: br Label #0
L_009c: Label #9
L_009c: ldstr "EdB.PawnLayer.Hat"
L_00a1: call System.String Translate(System.String)
L_00a6: br Label #0
L_00ab: Label #10
L_00ab: ldstr "EdB.PawnLayer.Accessory"
L_00b0: call System.String Translate(System.String)
L_00b5: br Label #0
L_00ba: Label #11
L_00ba: ldstr ""
L_00bf: br Label #0
L_00c4: Label #0
L_00c4: stloc 1 (System.String)
L_00c5: ldarg 0
L_00cb: ldloca 1 (System.String)
L_00cd: call Void PrepareCarefullyLayerLabel(Int32, System.String ByRef)
L_00d2: ldloc 1 (System.String)
L_00d3: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Verse.Pawn ConvertToPawn(Boolean)
L_0000: Local var #0 Verse.Pawn
L_0000: Local var #1 RimWorld.TraitSet
L_0000: Local var #2 RimWorld.Trait
L_0000: Local var #3 RimWorld.SkillRecord
L_0000: Local var #4 System.Int32
L_0000: Local var #5 System.Collections.Generic.List`1+Enumerator[[RimWorld.Trait, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #6 System.Collections.Generic.List`1+Enumerator[[RimWorld.SkillRecord, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #7 Verse.Pawn
L_0000: ldnull
L_0001: stloc 7 (Verse.Pawn)
L_0003: newobj Void .ctor()
L_0008: ldarg.0
L_0009: ldfld Verse.Pawn pawn
L_000e: call Verse.Pawn GenerateSameKindOfColonist(Verse.Pawn)
L_0013: stloc.0
L_0014: ldloc.0
L_0015: ldarg.0
L_0016: ldfld Verse.Pawn pawn
L_001b: ldfld Verse.Gender gender
L_0020: stfld Verse.Gender gender
L_0025: ldloc.0
L_0026: ldfld RimWorld.Pawn_StoryTracker story
L_002b: ldarg.0
L_002c: call RimWorld.Backstory get_Adulthood()
L_0031: stfld RimWorld.Backstory adulthood
L_0036: ldloc.0
L_0037: ldfld RimWorld.Pawn_StoryTracker story
L_003c: ldarg.0
L_003d: call RimWorld.Backstory get_Childhood()
L_0042: stfld RimWorld.Backstory childhood
L_0047: ldloc.0
L_0048: newobj Void .ctor(Pawn)
L_004d: stloc.1
L_004e: ldloc.1
L_004f: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0054: callvirt Void Clear()
L_0059: ldarg.0
L_005a: ldfld System.Collections.Generic.List`1[RimWorld.Trait] traits
L_005f: callvirt Enumerator GetEnumerator()
L_0064: stloc.s 5 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_0066: br Label #2
L_006b: Label #4
L_006b: ldloca.s 5 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_006d: call RimWorld.Trait get_Current()
L_0072: stloc.2
L_0073: ldloc.2
L_0074: brfalse Label #3
L_0079: ldloc.1
L_007a: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_007f: ldloc.2
L_0080: callvirt Void Add(RimWorld.Trait)
L_0085: Label #2
L_0085: Label #3
L_0085: ldloca.s 5 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_0087: call Boolean MoveNext()
L_008c: brtrue Label #4
L_0091: leave.s Label #5
L_0093: ldloca.s 5 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_0095: constrained. System.Collections.Generic.List`1+Enumerator[RimWorld.Trait]
L_009b: callvirt Void Dispose()
L_00a0: endfinally
L_00a1: Label #5
L_00a1: ldloc.0
L_00a2: ldfld RimWorld.Pawn_StoryTracker story
L_00a7: ldloc.1
L_00a8: stfld RimWorld.TraitSet traits
L_00ad: ldloc.0
L_00ae: ldfld RimWorld.Pawn_StoryTracker story
L_00b3: ldarg.0
L_00b4: ldfld Verse.Pawn pawn
L_00b9: ldfld RimWorld.Pawn_StoryTracker story
L_00be: ldfld System.Single melanin
L_00c3: stfld System.Single melanin
L_00c8: ldloc.0
L_00c9: ldfld RimWorld.Pawn_StoryTracker story
L_00ce: ldarg.0
L_00cf: ldfld Verse.Pawn pawn
L_00d4: ldfld RimWorld.Pawn_StoryTracker story
L_00d9: ldfld RimWorld.BodyType bodyType
L_00de: stfld RimWorld.BodyType bodyType
L_00e3: ldloc.0
L_00e4: ldfld RimWorld.Pawn_StoryTracker story
L_00e9: ldarg.0
L_00ea: ldfld Verse.Pawn pawn
L_00ef: ldfld RimWorld.Pawn_StoryTracker story
L_00f4: ldfld RimWorld.HairDef hairDef
L_00f9: stfld RimWorld.HairDef hairDef
L_00fe: ldloc.0
L_00ff: ldfld RimWorld.Pawn_StoryTracker story
L_0104: ldarg.0
L_0105: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_010a: ldc.i4.6
L_010b: callvirt Color get_Item(Int32)
L_0110: stfld UnityEngine.Color hairColor
L_0115: ldtoken RimWorld.Pawn_StoryTracker
L_011a: call System.Type GetTypeFromHandle(RuntimeTypeHandle)
L_011f: ldstr "headGraphicPath"
L_0124: ldc.i4.s 36
L_0126: callvirt System.Reflection.FieldInfo GetField(System.String, BindingFlags)
L_012b: ldloc.0
L_012c: ldfld RimWorld.Pawn_StoryTracker story
L_0131: ldarg.0
L_0132: call System.String get_HeadGraphicPath()
L_0137: callvirt Void SetValue(System.Object, System.Object)
L_013c: ldloc.0
L_013d: ldarg.0
L_013e: ldfld Verse.Pawn pawn
L_0143: callvirt Verse.Name get_Name()
L_0148: callvirt Void set_Name(Verse.Name)
L_014d: ldloc.0
L_014e: ldfld Verse.Pawn_AgeTracker ageTracker
L_0153: ldarg.0
L_0154: ldfld Verse.Pawn pawn
L_0159: ldfld Verse.Pawn_AgeTracker ageTracker
L_015e: callvirt Int64 get_BirthAbsTicks()
L_0163: callvirt Void set_BirthAbsTicks(Int64)
L_0168: ldloc.0
L_0169: ldfld Verse.Pawn_AgeTracker ageTracker
L_016e: ldarg.0
L_016f: ldfld Verse.Pawn pawn
L_0174: ldfld Verse.Pawn_AgeTracker ageTracker
L_0179: callvirt Int64 get_AgeBiologicalTicks()
L_017e: callvirt Void set_AgeBiologicalTicks(Int64)
L_0183: ldarg.0
L_0184: ldloc.0
L_0185: call Void CopyApparelToPawn(Verse.Pawn)
L_018a: ldloc.0
L_018b: ldfld RimWorld.Pawn_SkillTracker skills
L_0190: ldfld System.Collections.Generic.List`1[RimWorld.SkillRecord] skills
L_0195: callvirt Enumerator GetEnumerator()
L_019a: stloc.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_019c: br Label #6
L_01a1: Label #11
L_01a1: ldloca.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_01a3: call RimWorld.SkillRecord get_Current()
L_01a8: stloc.3
L_01a9: ldarg.0
L_01aa: ldloc.3
L_01ab: ldfld RimWorld.SkillDef def
L_01b0: call Int32 GetSkillLevel(RimWorld.SkillDef)
L_01b5: stloc.s 4 (System.Int32)
L_01b7: ldloc.s 4 (System.Int32)
L_01b9: ldc.i4.0
L_01ba: bge Label #7
L_01bf: ldc.i4.0
L_01c0: stloc.s 4 (System.Int32)
L_01c2: Label #7
L_01c2: ldloc.s 4 (System.Int32)
L_01c4: ldc.i4.s 20
L_01c6: ble Label #8
L_01cb: ldc.i4.s 20
L_01cd: stloc.s 4 (System.Int32)
L_01cf: Label #8
L_01cf: ldloc.3
L_01d0: ldloc.s 4 (System.Int32)
L_01d2: callvirt Void set_Level(Int32)
L_01d7: ldarg.0
L_01d8: ldloc.3
L_01d9: ldfld RimWorld.SkillDef def
L_01de: call Boolean IsSkillDisabled(RimWorld.SkillDef)
L_01e3: brtrue Label #9
L_01e8: ldloc.3
L_01e9: ldarg.0
L_01ea: ldfld System.Collections.Generic.Dictionary`2[RimWorld.SkillDef,RimWorld.Passion] currentPassions
L_01ef: ldloc.3
L_01f0: ldfld RimWorld.SkillDef def
L_01f5: callvirt Passion get_Item(RimWorld.SkillDef)
L_01fa: stfld RimWorld.Passion passion
L_01ff: ldloc.3
L_0200: ldloc.3
L_0201: callvirt Single get_XpRequiredForLevelUp()
L_0206: ldc.r4 0.1
L_020b: mul
L_020c: ldloc.3
L_020d: callvirt Single get_XpRequiredForLevelUp()
L_0212: ldc.r4 0.5
L_0217: mul
L_0218: call Single Range(Single, Single)
L_021d: stfld System.Single xpSinceLastLevel
L_0222: br Label #10
L_0227: Label #9
L_0227: ldloc.3
L_0228: ldc.i4.0
L_0229: stfld RimWorld.Passion passion
L_022e: ldloc.3
L_022f: ldc.r4 0
L_0234: stfld System.Single xpSinceLastLevel
L_0239: Label #6
L_0239: Label #10
L_0239: ldloca.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_023b: call Boolean MoveNext()
L_0240: brtrue Label #11
L_0245: leave.s Label #12
L_0247: ldloca.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_0249: constrained. System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord]
L_024f: callvirt Void Dispose()
L_0254: endfinally
L_0255: Label #12
L_0255: ldloc.0
L_0256: call Void ClearCachedDisabledSkillRecords(Verse.Pawn)
L_025b: ldarg.1
L_025c: brfalse Label #13
L_0261: ldloc.0
L_0262: callvirt Verse.Pawn_DrawTracker get_Drawer()
L_0267: ldfld Verse.PawnRenderer renderer
L_026c: ldfld Verse.PawnGraphicSet graphics
L_0271: callvirt Void ResolveAllGraphics()
L_0276: Label #13
L_0276: ldloc.0
L_0277: ldfld RimWorld.Pawn_RelationsTracker relations
L_027c: callvirt Void ClearAllRelations()
L_0281: ldloc.0
L_0282: call Void ClearPawnCaches(Verse.Pawn)
L_0287: ldloc.0
L_0288: br Label #0
L_028d: Label #0
L_028d: stloc 7 (Verse.Pawn)
L_028f: ldloca 7 (Verse.Pawn)
L_0291: ldarg.0
L_0292: ldarg 1
L_0298: call Void PrepareCarefullyConvertToPawn(Verse.Pawn ByRef, System.Object, Boolean)
L_029d: ldloc 7 (Verse.Pawn)
L_029f: ret
DONE

PATCHING RimWorld.PawnRelationWorker_Child Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #3 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #4 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #5 System.Single
L_0000: ldc.r4 0
L_0005: stloc 5 (System.Single)
L_0007: ldc.r4 0
L_000c: stloc.0
L_000d: ldarg.1
L_000e: ldfld Verse.Gender gender
L_0013: ldc.i4.1
L_0014: bne.un Label #2
L_0019: ldarg.2
L_001a: ldarg.1
L_001b: ldarg.2
L_001c: call Verse.Pawn GetMother(Verse.Pawn)
L_0021: ldloca.s 1 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0023: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0029: ldloc.1
L_002a: ldarg.3
L_002b: newobj Void .ctor(PawnGenerationRequest)
L_0030: ldloca.s 2 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0032: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0038: ldloc.2
L_0039: call Single ChanceOfBecomingChildOf(Verse.Pawn, Verse.Pawn, Verse.Pawn, Nullable`1, Nullable`1, Nullable`1)
L_003e: stloc.0
L_003f: br Label #3
L_0044: Label #2
L_0044: ldarg.1
L_0045: ldfld Verse.Gender gender
L_004a: ldc.i4.2
L_004b: bne.un Label #4
L_0050: ldarg.2
L_0051: ldarg.2
L_0052: call Verse.Pawn GetFather(Verse.Pawn)
L_0057: ldarg.1
L_0058: ldloca.s 3 (System.Nullable`1[Verse.PawnGenerationRequest])
L_005a: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0060: ldloc.3
L_0061: ldloca.s 4 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0063: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0069: ldloc.s 4 (System.Nullable`1[Verse.PawnGenerationRequest])
L_006b: ldarg.3
L_006c: newobj Void .ctor(PawnGenerationRequest)
L_0071: call Single ChanceOfBecomingChildOf(Verse.Pawn, Verse.Pawn, Verse.Pawn, Nullable`1, Nullable`1, Nullable`1)
L_0076: stloc.0
L_0077: Label #3
L_0077: Label #4
L_0077: ldloc.0
L_0078: ldarg.0
L_0079: ldarg.1
L_007a: ldarg.2
L_007b: ldarg.3
L_007c: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0081: mul
L_0082: br Label #0
L_0087: Label #0
L_0087: stloc 5 (System.Single)
L_0089: ldloca 5 (System.Single)
L_008b: ldarg 1
L_0091: ldarg 2
L_0097: call Void GenerationChanceChildPostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_009c: ldloc 5 (System.Single)
L_009e: ret
DONE

PATCHING RimWorld.PawnRelationWorker_ExLover Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: ldc.r4 0
L_0005: stloc 0 (System.Single)
L_0006: ldarg.1
L_0007: ldarg.2
L_0008: ldarg.3
L_0009: ldc.i4.1
L_000a: call Single LovePartnerRelationGenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest, Boolean)
L_000f: ldarg.0
L_0010: ldarg.1
L_0011: ldarg.2
L_0012: ldarg.3
L_0013: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0018: mul
L_0019: br Label #0
L_001e: Label #0
L_001e: stloc 0 (System.Single)
L_001f: ldloca 0 (System.Single)
L_0021: ldarg 1
L_0027: ldarg 2
L_002d: call Void GenerationChanceExLoverPostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_0032: ldloc 0 (System.Single)
L_0033: ret
DONE

PATCHING RimWorld.PawnRelationWorker_ExSpouse Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: ldc.r4 0
L_0005: stloc 0 (System.Single)
L_0006: ldarg.1
L_0007: ldarg.2
L_0008: ldarg.3
L_0009: ldc.i4.1
L_000a: call Single LovePartnerRelationGenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest, Boolean)
L_000f: ldarg.0
L_0010: ldarg.1
L_0011: ldarg.2
L_0012: ldarg.3
L_0013: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0018: mul
L_0019: br Label #0
L_001e: Label #0
L_001e: stloc 0 (System.Single)
L_001f: ldloca 0 (System.Single)
L_0021: ldarg 1
L_0027: ldarg 2
L_002d: call Void GenerationChanceExSpousePostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_0032: ldloc 0 (System.Single)
L_0033: ret
DONE

PATCHING RimWorld.PawnRelationWorker_Fiance Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
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: ldc.r4 1
L_000b: stloc.0
L_000c: ldloc.0
L_000d: ldarg.0
L_000e: ldarg.1
L_000f: call Single GetOldAgeFactor(Verse.Pawn)
L_0014: mul
L_0015: stloc.0
L_0016: ldloc.0
L_0017: ldarg.0
L_0018: ldarg.2
L_0019: call Single GetOldAgeFactor(Verse.Pawn)
L_001e: mul
L_001f: stloc.0
L_0020: ldarg.1
L_0021: ldarg.2
L_0022: ldarg.3
L_0023: ldc.i4.0
L_0024: call Single LovePartnerRelationGenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest, Boolean)
L_0029: ldarg.0
L_002a: ldarg.1
L_002b: ldarg.2
L_002c: ldarg.3
L_002d: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0032: mul
L_0033: ldloc.0
L_0034: mul
L_0035: br Label #0
L_003a: Label #0
L_003a: stloc 1 (System.Single)
L_003b: ldloca 1 (System.Single)
L_003d: ldarg 1
L_0043: ldarg 2
L_0049: call Void GenerationChanceFiancePostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_004e: ldloc 1 (System.Single)
L_004f: ret
DONE

PATCHING RimWorld.PawnRelationWorker_Lover Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: ldc.r4 0
L_0005: stloc 0 (System.Single)
L_0006: ldarg.1
L_0007: ldarg.2
L_0008: ldarg.3
L_0009: ldc.i4.0
L_000a: call Single LovePartnerRelationGenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest, Boolean)
L_000f: ldarg.0
L_0010: ldarg.1
L_0011: ldarg.2
L_0012: ldarg.3
L_0013: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0018: mul
L_0019: br Label #0
L_001e: Label #0
L_001e: stloc 0 (System.Single)
L_001f: ldloca 0 (System.Single)
L_0021: ldarg 1
L_0027: ldarg 2
L_002d: call Void GenerationChanceLoverPostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_0032: ldloc 0 (System.Single)
L_0033: ret
DONE

PATCHING RimWorld.PawnRelationWorker_Parent Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #3 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #4 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #5 System.Single
L_0000: ldc.r4 0
L_0005: stloc 5 (System.Single)
L_0007: ldc.r4 0
L_000c: stloc.0
L_000d: ldarg.2
L_000e: ldfld Verse.Gender gender
L_0013: ldc.i4.1
L_0014: bne.un Label #2
L_0019: ldarg.1
L_001a: ldarg.2
L_001b: ldarg.2
L_001c: call Verse.Pawn GetSpouseOppositeGender(Verse.Pawn)
L_0021: ldarg.3
L_0022: newobj Void .ctor(PawnGenerationRequest)
L_0027: ldloca.s 1 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0029: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_002f: ldloc.1
L_0030: ldloca.s 2 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0032: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0038: ldloc.2
L_0039: call Single ChanceOfBecomingChildOf(Verse.Pawn, Verse.Pawn, Verse.Pawn, Nullable`1, Nullable`1, Nullable`1)
L_003e: stloc.0
L_003f: br Label #3
L_0044: Label #2
L_0044: ldarg.2
L_0045: ldfld Verse.Gender gender
L_004a: ldc.i4.2
L_004b: bne.un Label #4
L_0050: ldarg.1
L_0051: ldarg.2
L_0052: call Verse.Pawn GetSpouseOppositeGender(Verse.Pawn)
L_0057: ldarg.2
L_0058: ldarg.3
L_0059: newobj Void .ctor(PawnGenerationRequest)
L_005e: ldloca.s 3 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0060: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0066: ldloc.3
L_0067: ldloca.s 4 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0069: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_006f: ldloc.s 4 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0071: call Single ChanceOfBecomingChildOf(Verse.Pawn, Verse.Pawn, Verse.Pawn, Nullable`1, Nullable`1, Nullable`1)
L_0076: stloc.0
L_0077: Label #3
L_0077: Label #4
L_0077: ldloc.0
L_0078: ldarg.0
L_0079: ldarg.1
L_007a: ldarg.2
L_007b: ldarg.3
L_007c: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0081: mul
L_0082: br Label #0
L_0087: Label #0
L_0087: stloc 5 (System.Single)
L_0089: ldloca 5 (System.Single)
L_008b: ldarg 1
L_0091: ldarg 2
L_0097: call Void GenerationChanceParentPostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_009c: ldloc 5 (System.Single)
L_009e: ret
DONE

PATCHING RimWorld.PawnRelationWorker_Sibling Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Single
L_0000: Local var #2 System.Single
L_0000: Local var #3 System.Single
L_0000: Local var #4 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #5 System.Nullable`1[[Verse.PawnGenerationRequest, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #6 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #7 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #8 System.Single
L_0000: ldc.r4 0
L_0005: stloc 8 (System.Single)
L_0007: ldc.r4 1
L_000c: stloc.0
L_000d: ldc.r4 1
L_0012: stloc.1
L_0013: ldarg.2
L_0014: call Verse.Pawn GetFather(Verse.Pawn)
L_0019: brtrue Label #2
L_001e: ldarg.2
L_001f: call Verse.Pawn GetMother(Verse.Pawn)
L_0024: brfalse Label #3
L_0029: Label #2
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: call Verse.Pawn GetFather(Verse.Pawn)
L_0030: ldarg.2
L_0031: call Verse.Pawn GetMother(Verse.Pawn)
L_0036: ldarg.3
L_0037: newobj Void .ctor(PawnGenerationRequest)
L_003c: ldloca.s 4 (System.Nullable`1[Verse.PawnGenerationRequest])
L_003e: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_0044: ldloc.s 4 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0046: ldloca.s 5 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0048: initobj System.Nullable`1[Verse.PawnGenerationRequest]
L_004e: ldloc.s 5 (System.Nullable`1[Verse.PawnGenerationRequest])
L_0050: call Single ChanceOfBecomingChildOf(Verse.Pawn, Verse.Pawn, Verse.Pawn, Nullable`1, Nullable`1, Nullable`1)
L_0055: stloc.0
L_0056: br Label #4
L_005b: Label #3
L_005b: ldarga.s 3
L_005d: call Nullable`1 get_FixedMelanin()
L_0062: stloc.s 6 (System.Nullable`1[System.Single])
L_0064: ldloca.s 6 (System.Nullable`1[System.Single])
L_0066: call Boolean get_HasValue()
L_006b: brfalse Label #5
L_0070: ldarga.s 3
L_0072: call Nullable`1 get_FixedMelanin()
L_0077: stloc.s 7 (System.Nullable`1[System.Single])
L_0079: ldloca.s 7 (System.Nullable`1[System.Single])
L_007b: call Single get_Value()
L_0080: ldarg.2
L_0081: ldfld RimWorld.Pawn_StoryTracker story
L_0086: ldfld System.Single melanin
L_008b: call Single GetMelaninSimilarityFactor(Single, Single)
L_0090: stloc.1
L_0091: br Label #6
L_0096: Label #5
L_0096: ldarg.2
L_0097: ldfld RimWorld.Pawn_StoryTracker story
L_009c: ldfld System.Single melanin
L_00a1: call Single GetMelaninCommonalityFactor(Single)
L_00a6: stloc.1
L_00a7: Label #4
L_00a7: Label #6
L_00a7: ldarg.1
L_00a8: ldfld Verse.Pawn_AgeTracker ageTracker
L_00ad: callvirt Single get_AgeChronologicalYearsFloat()
L_00b2: ldarg.2
L_00b3: ldfld Verse.Pawn_AgeTracker ageTracker
L_00b8: callvirt Single get_AgeChronologicalYearsFloat()
L_00bd: sub
L_00be: call Single Abs(Single)
L_00c3: stloc.2
L_00c4: ldc.r4 1
L_00c9: stloc.3
L_00ca: ldloc.2
L_00cb: ldc.r4 40
L_00d0: ble.un Label #7
L_00d5: ldc.r4 0.2
L_00da: stloc.3
L_00db: br Label #8
L_00e0: Label #7
L_00e0: ldloc.2
L_00e1: ldc.r4 10
L_00e6: ble.un Label #9
L_00eb: ldc.r4 0.65
L_00f0: stloc.3
L_00f1: Label #8
L_00f1: Label #9
L_00f1: ldloc.0
L_00f2: ldloc.1
L_00f3: mul
L_00f4: ldloc.3
L_00f5: mul
L_00f6: ldarg.0
L_00f7: ldarg.1
L_00f8: ldarg.2
L_00f9: ldarg.3
L_00fa: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_00ff: mul
L_0100: br Label #0
L_0105: Label #0
L_0105: stloc 8 (System.Single)
L_0107: ldloca 8 (System.Single)
L_0109: ldarg 1
L_010f: ldarg 2
L_0115: call Void GenerationChanceSiblingPostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_011a: ldloc 8 (System.Single)
L_011c: ret
DONE

PATCHING RimWorld.PawnRelationWorker_Spouse Single GenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Single
L_0000: ldc.r4 0
L_0005: stloc 0 (System.Single)
L_0006: ldarg.1
L_0007: ldarg.2
L_0008: ldarg.3
L_0009: ldc.i4.0
L_000a: call Single LovePartnerRelationGenerationChance(Verse.Pawn, Verse.Pawn, PawnGenerationRequest, Boolean)
L_000f: ldarg.0
L_0010: ldarg.1
L_0011: ldarg.2
L_0012: ldarg.3
L_0013: call Single BaseGenerationChanceFactor(Verse.Pawn, Verse.Pawn, PawnGenerationRequest)
L_0018: mul
L_0019: br Label #0
L_001e: Label #0
L_001e: stloc 0 (System.Single)
L_001f: ldloca 0 (System.Single)
L_0021: ldarg 1
L_0027: ldarg 2
L_002d: call Void GenerationChanceSpousePostfix(Single ByRef, Verse.Pawn, Verse.Pawn)
L_0032: ldloc 0 (System.Single)
L_0033: ret
DONE

PATCHING Verse.PawnGenerator Void GeneratePawnRelations(Verse.Pawn, PawnGenerationRequest ByRef)
L_0000: Local var #0 System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null],[RimWorld.PawnRelationDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #1 System.Collections.Generic.List`1[[RimWorld.PawnRelationDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 System.Collections.Generic.IEnumerable`1[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #3 Verse.Pawn
L_0000: Local var #4 System.Collections.Generic.IEnumerator`1[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #5 System.Int32
L_0000: Local var #6 System.Single
L_0000: Local var #7 System.Collections.Generic.KeyValuePair`2[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null],[RimWorld.PawnRelationDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #8 System.Collections.Generic.KeyValuePair`2[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null],[RimWorld.PawnRelationDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #9 Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: call Boolean GeneratePawnRelationsPrefix(Verse.Pawn, PawnGenerationRequest ByRef)
L_0011: brfalse Label #1
L_0016: newobj Void .ctor()
L_001b: stloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_001d: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_001f: ldarg.0
L_0020: stfld Verse.Pawn pawn
L_0025: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_0027: ldfld Verse.Pawn pawn
L_002c: callvirt Verse.RaceProperties get_RaceProps()
L_0031: callvirt Boolean get_Humanlike()
L_0036: brtrue Label #2
L_003b: br Label #0
L_0040: Label #2
L_0040: newobj Void .ctor()
L_0045: stloc.0
L_0046: call System.Collections.Generic.List`1[RimWorld.PawnRelationDef] get_AllDefsListForReading()
L_004b: stloc.1
L_004c: call IEnumerable`1 get_AllMapsAndWorld_AliveOrDead()
L_0051: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_0053: ldftn Boolean <>m__7C3(Verse.Pawn)
L_0059: newobj Void .ctor(Object, IntPtr)
L_005e: call IEnumerable`1 Where[Pawn](IEnumerable`1, System.Func`2[Verse.Pawn,System.Boolean])
L_0063: stloc.2
L_0064: ldloc.2
L_0065: callvirt IEnumerator`1 GetEnumerator()
L_006a: stloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_006c: br Label #3
L_0071: Label #10
L_0071: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_0073: callvirt Verse.Pawn get_Current()
L_0078: stloc.3
L_0079: ldloc.3
L_007a: callvirt Boolean get_Discarded()
L_007f: brfalse Label #4
L_0084: ldc.i4.5
L_0085: newarr System.Object
L_008a: dup
L_008b: ldc.i4.0
L_008c: ldstr "Warning during generating pawn relations for "
L_0091: stelem.ref
L_0092: dup
L_0093: ldc.i4.1
L_0094: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_0096: ldfld Verse.Pawn pawn
L_009b: stelem.ref
L_009c: dup
L_009d: ldc.i4.2
L_009e: ldstr ": Pawn "
L_00a3: stelem.ref
L_00a4: dup
L_00a5: ldc.i4.3
L_00a6: ldloc.3
L_00a7: stelem.ref
L_00a8: dup
L_00a9: ldc.i4.4
L_00aa: ldstr " is discarded, yet he was yielded by PawnUtility. Discarding a pawn means that he is no longer managed by anything."
L_00af: stelem.ref
L_00b0: call System.String Concat(System.Object[])
L_00b5: call Void Warning(System.String)
L_00ba: br Label #5
L_00bf: Label #4
L_00bf: ldc.i4.0
L_00c0: stloc.s 5 (System.Int32)
L_00c2: br Label #6
L_00c7: Label #9
L_00c7: ldloc.1
L_00c8: ldloc.s 5 (System.Int32)
L_00ca: callvirt RimWorld.PawnRelationDef get_Item(Int32)
L_00cf: ldfld System.Single generationChanceFactor
L_00d4: ldc.r4 0
L_00d9: bgt.un Label #7
L_00de: br Label #8
L_00e3: Label #7
L_00e3: ldloc.0
L_00e4: ldloc.3
L_00e5: ldloc.1
L_00e6: ldloc.s 5 (System.Int32)
L_00e8: callvirt RimWorld.PawnRelationDef get_Item(Int32)
L_00ed: newobj Void .ctor(Pawn, PawnRelationDef)
L_00f2: callvirt Void Add(KeyValuePair`2)
L_00f7: Label #8
L_00f7: ldloc.s 5 (System.Int32)
L_00f9: ldc.i4.1
L_00fa: add
L_00fb: stloc.s 5 (System.Int32)
L_00fd: Label #6
L_00fd: ldloc.s 5 (System.Int32)
L_00ff: ldloc.1
L_0100: callvirt Int32 get_Count()
L_0105: blt Label #9
L_010a: Label #3
L_010a: Label #5
L_010a: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_010c: callvirt Boolean MoveNext()
L_0111: brtrue Label #10
L_0116: leave Label #11
L_011b: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_011d: brtrue Label #12
L_0122: endfinally
L_0123: Label #12
L_0123: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_0125: callvirt Void Dispose()
L_012a: endfinally
L_012b: Label #11
L_012b: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_012d: ldarg.1
L_012e: ldobj Verse.PawnGenerationRequest
L_0133: stfld Verse.PawnGenerationRequest localReq
L_0138: ldloc.0
L_0139: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_013b: ldftn Single <>m__7C4(KeyValuePair`2)
L_0141: newobj Void .ctor(Object, IntPtr)
L_0146: ldc.r4 82
L_014b: call KeyValuePair`2 RandomElementByWeightWithDefault[KeyValuePair`2](IEnumerable`1, System.Func`2[System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef],System.Single], Single)
L_0150: stloc.s 7 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_0152: ldloca.s 7 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_0154: call Verse.Pawn get_Key()
L_0159: brfalse Label #13
L_015e: ldloca.s 7 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_0160: call RimWorld.PawnRelationDef get_Value()
L_0165: callvirt RimWorld.PawnRelationWorker get_Worker()
L_016a: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_016c: ldfld Verse.Pawn pawn
L_0171: ldloca.s 7 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_0173: call Verse.Pawn get_Key()
L_0178: ldarg.1
L_0179: callvirt Void CreateRelation(Verse.Pawn, Verse.Pawn, PawnGenerationRequest ByRef)
L_017e: Label #13
L_017e: ldloc.0
L_017f: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_0181: ldftn Single <>m__7C5(KeyValuePair`2)
L_0187: newobj Void .ctor(Object, IntPtr)
L_018c: ldc.r4 82
L_0191: call KeyValuePair`2 RandomElementByWeightWithDefault[KeyValuePair`2](IEnumerable`1, System.Func`2[System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef],System.Single], Single)
L_0196: stloc.s 8 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_0198: ldloca.s 8 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_019a: call Verse.Pawn get_Key()
L_019f: brfalse Label #14
L_01a4: ldloca.s 8 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_01a6: call RimWorld.PawnRelationDef get_Value()
L_01ab: callvirt RimWorld.PawnRelationWorker get_Worker()
L_01b0: ldloc.s 9 (Verse.PawnGenerator+<GeneratePawnRelations>c__AnonStorey4B2)
L_01b2: ldfld Verse.Pawn pawn
L_01b7: ldloca.s 8 (System.Collections.Generic.KeyValuePair`2[Verse.Pawn,RimWorld.PawnRelationDef])
L_01b9: call Verse.Pawn get_Key()
L_01be: ldarg.1
L_01bf: callvirt Void CreateRelation(Verse.Pawn, Verse.Pawn, PawnGenerationRequest ByRef)
L_01c4: Label #14
L_01c4: br Label #0
L_01c9: Label #0
L_01c9: Label #1
L_01c9: ret
DONE

PATCHING RimWorld.PawnRelationDef System.String GetGenderSpecificLabel(Verse.Pawn)
L_0000: Local var #0 System.String
L_0000: ldnull
L_0001: stloc 0 (System.String)
L_0002: ldarg 1
L_0008: ldloca 0 (System.String)
L_000a: ldarg.0
L_000b: call Boolean GetGenderSpecificLabelPrefix(Verse.Pawn, System.String ByRef, RimWorld.PawnRelationDef)
L_0010: brfalse Label #1
L_0015: ldarg.1
L_0016: ldfld Verse.Gender gender
L_001b: ldc.i4.2
L_001c: bne.un Label #2
L_0021: ldarg.0
L_0022: ldfld System.String labelFemale
L_0027: call Boolean NullOrEmpty(System.String)
L_002c: brtrue Label #3
L_0031: ldarg.0
L_0032: ldfld System.String labelFemale
L_0037: br Label #0
L_003c: Label #2
L_003c: Label #3
L_003c: ldarg.0
L_003d: ldfld System.String label
L_0042: br Label #0
L_0047: Label #0
L_0047: stloc 0 (System.String)
L_0048: Label #1
L_0048: ldloc 0 (System.String)
L_0049: ret
DONE

PATCHING RimWorld.PawnBioAndNameGenerator Boolean TryGiveSolidBioTo(Verse.Pawn, System.String)
L_0000: Local var #0 RimWorld.PawnBio
L_0000: Local var #1 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg 0
L_000c: ldloca 1 (System.Boolean)
L_000e: call Boolean TryGiveSolidBioToPrefix(Verse.Pawn, Boolean ByRef)
L_0013: brfalse Label #1
L_0018: ldarg.0
L_0019: callvirt RimWorld.Faction get_Faction()
L_001e: ldfld RimWorld.FactionDef def
L_0023: ldfld System.String backstoryCategory
L_0028: ldarg.0
L_0029: ldfld Verse.PawnKindDef kindDef
L_002e: ldarg.0
L_002f: ldfld Verse.Gender gender
L_0034: ldarg.1
L_0035: call RimWorld.PawnBio TryGetRandomUnusedSolidBioFor(System.String, Verse.PawnKindDef, Gender, System.String)
L_003a: stloc.0
L_003b: ldloc.0
L_003c: brtrue Label #2
L_0041: ldc.i4.0
L_0042: br Label #0
L_0047: Label #2
L_0047: ldloc.0
L_0048: ldfld Verse.NameTriple name
L_004d: callvirt System.String get_First()
L_0052: ldstr "Tynan"
L_0057: call Boolean op_Equality(System.String, System.String)
L_005c: brfalse Label #3
L_0061: ldloc.0
L_0062: ldfld Verse.NameTriple name
L_0067: callvirt System.String get_Last()
L_006c: ldstr "Sylvester"
L_0071: call Boolean op_Equality(System.String, System.String)
L_0076: brfalse Label #4
L_007b: call Single get_Value()
L_0080: ldc.r4 0.5
L_0085: bge.un Label #5
L_008a: ldarg.0
L_008b: callvirt RimWorld.Faction get_Faction()
L_0090: ldfld RimWorld.FactionDef def
L_0095: ldfld System.String backstoryCategory
L_009a: ldarg.0
L_009b: ldfld Verse.PawnKindDef kindDef
L_00a0: ldarg.0
L_00a1: ldfld Verse.Gender gender
L_00a6: ldarg.1
L_00a7: call RimWorld.PawnBio TryGetRandomUnusedSolidBioFor(System.String, Verse.PawnKindDef, Gender, System.String)
L_00ac: stloc.0
L_00ad: Label #3
L_00ad: Label #4
L_00ad: Label #5
L_00ad: ldloc.0
L_00ae: brtrue Label #6
L_00b3: ldc.i4.0
L_00b4: br Label #0
L_00b9: Label #6
L_00b9: ldarg.0
L_00ba: ldloc.0
L_00bb: ldfld Verse.NameTriple name
L_00c0: callvirt Void set_Name(Verse.Name)
L_00c5: ldarg.0
L_00c6: ldfld RimWorld.Pawn_StoryTracker story
L_00cb: ldloc.0
L_00cc: ldfld RimWorld.Backstory childhood
L_00d1: stfld RimWorld.Backstory childhood
L_00d6: ldarg.0
L_00d7: ldfld Verse.Pawn_AgeTracker ageTracker
L_00dc: callvirt Single get_AgeBiologicalYearsFloat()
L_00e1: ldc.r4 20
L_00e6: blt.un Label #7
L_00eb: ldarg.0
L_00ec: ldfld RimWorld.Pawn_StoryTracker story
L_00f1: ldloc.0
L_00f2: ldfld RimWorld.Backstory adulthood
L_00f7: stfld RimWorld.Backstory adulthood
L_00fc: Label #7
L_00fc: ldc.i4.1
L_00fd: br Label #0
L_0102: Label #0
L_0102: stloc 1 (System.Boolean)
L_0103: Label #1
L_0103: ldloc 1 (System.Boolean)
L_0104: ret
DONE

PATCHING RimWorld.PawnBioAndNameGenerator Void SetBackstoryInSlot(Verse.Pawn, BackstorySlot, RimWorld.Backstory ByRef, RimWorld.FactionDef)
L_0000: Local var #0 System.Boolean
L_0000: Local var #1 RimWorld.PawnBioAndNameGenerator+<SetBackstoryInSlot>c__AnonStorey2D4
L_0000: Local var #2 System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[RimWorld.Backstory, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: ldarg 2
L_0012: call Boolean SetBackstoryInSlotPrefix(Verse.Pawn, BackstorySlot, RimWorld.Backstory ByRef)
L_0017: brfalse Label #1
L_001c: newobj Void .ctor()
L_0021: stloc.1
L_0022: ldloc.1
L_0023: ldarg.3
L_0024: stfld RimWorld.FactionDef factionType
L_0029: ldloc.1
L_002a: ldarg.1
L_002b: stfld RimWorld.BackstorySlot slot
L_0030: ldloc.1
L_0031: ldarg.0
L_0032: stfld Verse.Pawn pawn
L_0037: ldsfld System.Collections.Generic.Dictionary`2[System.String,RimWorld.Backstory] allBackstories
L_003c: ldloc.1
L_003d: ldftn Boolean <>m__267(KeyValuePair`2)
L_0043: newobj Void .ctor(Object, IntPtr)
L_0048: call IEnumerable`1 Where[KeyValuePair`2](IEnumerable`1, System.Func`2[System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory],System.Boolean])
L_004d: ldsfld System.Func`2[System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory],RimWorld.Backstory] <>f__am$cache2
L_0052: brtrue Label #2
L_0057: ldnull
L_0058: ldftn RimWorld.Backstory <SetBackstoryInSlot>m__268(KeyValuePair`2)
L_005e: newobj Void .ctor(Object, IntPtr)
L_0063: stsfld System.Func`2[System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory],RimWorld.Backstory] <>f__am$cache2
L_0068: Label #2
L_0068: ldsfld System.Func`2[System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory],RimWorld.Backstory] <>f__am$cache2
L_006d: call IEnumerable`1 Select[KeyValuePair`2,Backstory](IEnumerable`1, System.Func`2[System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory],RimWorld.Backstory])
L_0072: ldarg.2
L_0073: call Boolean TryRandomElement[Backstory](IEnumerable`1, RimWorld.Backstory ByRef)
L_0078: stloc.0
L_0079: ldloc.0
L_007a: brtrue Label #3
L_007f: ldc.i4.7
L_0080: newarr System.Object
L_0085: dup
L_0086: ldc.i4.0
L_0087: ldstr "No shuffled "
L_008c: stelem.ref
L_008d: dup
L_008e: ldc.i4.1
L_008f: ldloc.1
L_0090: ldfld RimWorld.BackstorySlot slot
L_0095: box RimWorld.BackstorySlot
L_009a: stelem.ref
L_009b: dup
L_009c: ldc.i4.2
L_009d: ldstr " found for "
L_00a2: stelem.ref
L_00a3: dup
L_00a4: ldc.i4.3
L_00a5: ldloc.1
L_00a6: ldfld Verse.Pawn pawn
L_00ab: stelem.ref
L_00ac: dup
L_00ad: ldc.i4.4
L_00ae: ldstr " of "
L_00b3: stelem.ref
L_00b4: dup
L_00b5: ldc.i4.5
L_00b6: ldloc.1
L_00b7: ldfld RimWorld.FactionDef factionType
L_00bc: stelem.ref
L_00bd: dup
L_00be: ldc.i4.6
L_00bf: ldstr ". Defaulting."
L_00c4: stelem.ref
L_00c5: call System.String Concat(System.Object[])
L_00ca: call Void Error(System.String)
L_00cf: ldarg.2
L_00d0: ldsfld System.Collections.Generic.Dictionary`2[System.String,RimWorld.Backstory] allBackstories
L_00d5: ldloc.1
L_00d6: ldftn Boolean <>m__269(KeyValuePair`2)
L_00dc: newobj Void .ctor(Object, IntPtr)
L_00e1: call IEnumerable`1 Where[KeyValuePair`2](IEnumerable`1, System.Func`2[System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory],System.Boolean])
L_00e6: call KeyValuePair`2 RandomElement[KeyValuePair`2](IEnumerable`1)
L_00eb: stloc.2
L_00ec: ldloca.s 2 (System.Collections.Generic.KeyValuePair`2[System.String,RimWorld.Backstory])
L_00ee: call RimWorld.Backstory get_Value()
L_00f3: stind.ref
L_00f4: Label #3
L_00f4: br Label #0
L_00f9: Label #0
L_00f9: Label #1
L_00f9: ret
DONE

PATCHING RimWorld.WorkGiver_Researcher Boolean ShouldSkip(Verse.Pawn)
L_0000: Local var #0 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 0 (System.Boolean)
L_0006: call RimWorld.ResearchManager get_ResearchManager()
L_000b: ldfld Verse.ResearchProjectDef currentProj
L_0010: brtrue Label #2
L_0015: ldc.i4.1
L_0016: br Label #0
L_001b: Label #2
L_001b: ldc.i4.0
L_001c: br Label #0
L_0021: Label #0
L_0021: stloc 0 (System.Boolean)
L_0022: ldarg 1
L_0028: ldloca 0 (System.Boolean)
L_002a: call Void ShouldSkipResearchPostfix(Verse.Pawn, Boolean ByRef)
L_002f: ldloc 0 (System.Boolean)
L_0030: ret
DONE

PATCHING RimWorld.MainTabWindow_Research Void PreOpen()
L_0000: ldarg.0
L_0001: call Void PreOpen()
L_0006: ldarg.0
L_0007: call RimWorld.ResearchManager get_ResearchManager()
L_000c: ldfld Verse.ResearchProjectDef currentProj
L_0011: stfld Verse.ResearchProjectDef selectedProject
L_0016: ldarg.0
L_0017: call IEnumerable`1 get_AllDefs()
L_001c: stfld System.Collections.Generic.IEnumerable`1[Verse.ResearchProjectDef] relevantProjects
L_0021: ldarg.0
L_0022: call IEnumerable`1 get_AllDefs()
L_0027: ldsfld System.Func`2[Verse.ResearchProjectDef,System.Single] <>f__am$cacheE
L_002c: brtrue Label #2
L_0031: ldnull
L_0032: ldftn Single <PreOpen>m__58D(Verse.ResearchProjectDef)
L_0038: newobj Void .ctor(Object, IntPtr)
L_003d: stsfld System.Func`2[Verse.ResearchProjectDef,System.Single] <>f__am$cacheE
L_0042: Label #2
L_0042: ldsfld System.Func`2[Verse.ResearchProjectDef,System.Single] <>f__am$cacheE
L_0047: call Single Max[ResearchProjectDef](IEnumerable`1, System.Func`2[Verse.ResearchProjectDef,System.Single])
L_004c: ldc.r4 2
L_0051: add
L_0052: ldc.r4 190
L_0057: mul
L_0058: stfld System.Single viewWidth
L_005d: br Label #0
L_0062: Label #0
L_0062: ldarg.0
L_0063: call Void ResearchPreOpenPostfix(RimWorld.MainTabWindow_Research)
L_0068: ret
DONE

PATCHING RimWorld.GenConstruct Boolean CanConstruct(Verse.Thing, Verse.Pawn)
L_0000: Local var #0 RimWorld.Blueprint
L_0000: Local var #1 Verse.Thing
L_0000: Local var #2 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.0
L_0007: isinst RimWorld.Blueprint
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label #2
L_0013: ldloc.0
L_0014: call Verse.Thing MiniToInstallOrBuildingToReinstall(RimWorld.Blueprint)
L_0019: stloc.1
L_001a: ldloc.0
L_001b: ldarg.1
L_001c: ldloc.1
L_001d: ldc.i4.0
L_001e: callvirt Verse.Thing FirstBlockingThing(Verse.Pawn, Verse.Thing, Boolean)
L_0023: brfalse Label #3
L_0028: ldc.i4.0
L_0029: br Label #0
L_002e: Label #2
L_002e: Label #3
L_002e: ldarg.1
L_002f: ldarg.0
L_0030: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0035: ldc.i4.2
L_0036: ldarg.1
L_0037: call Danger NormalMaxDanger(Verse.Pawn)
L_003c: ldc.i4.1
L_003d: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Int32)
L_0042: brtrue Label #4
L_0047: ldc.i4.0
L_0048: br Label #0
L_004d: Label #4
L_004d: ldarg.0
L_004e: call Boolean IsBurning(Verse.Thing)
L_0053: brfalse Label #5
L_0058: ldc.i4.0
L_0059: br Label #0
L_005e: Label #5
L_005e: ldc.i4.1
L_005f: br Label #0
L_0064: Label #0
L_0064: stloc 2 (System.Boolean)
L_0065: ldarg 0
L_006b: ldarg 1
L_0071: ldloca 2 (System.Boolean)
L_0073: call Void CanConstructPostfix(Verse.Thing, Verse.Pawn, Boolean ByRef)
L_0078: ldloc 2 (System.Boolean)
L_0079: ret
DONE

PATCHING RimWorld.GameRules Boolean DesignatorAllowed(Verse.Designator)
L_0000: Local var #0 RimWorld.Designator_Place
L_0000: Local var #1 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.1
L_0007: isinst RimWorld.Designator_Place
L_000c: stloc.0
L_000d: ldloc.0
L_000e: brfalse Label #2
L_0013: ldarg.0
L_0014: ldfld System.Collections.Generic.List`1[Verse.BuildableDef] disallowedBuildings
L_0019: ldloc.0
L_001a: callvirt Verse.BuildableDef get_PlacingDef()
L_001f: callvirt Boolean Contains(Verse.BuildableDef)
L_0024: ldc.i4.0
L_0025: ceq
L_0027: br Label #0
L_002c: Label #2
L_002c: ldarg.0
L_002d: ldfld System.Collections.Generic.List`1[System.Type] disallowedDesignatorTypes
L_0032: ldarg.1
L_0033: callvirt System.Type GetType()
L_0038: callvirt Boolean Contains(System.Type)
L_003d: ldc.i4.0
L_003e: ceq
L_0040: br Label #0
L_0045: Label #0
L_0045: stloc 1 (System.Boolean)
L_0046: ldarg 1
L_004c: ldloca 1 (System.Boolean)
L_004e: call Void DesignatorAllowedPostfix(Verse.Designator, Boolean ByRef)
L_0053: ldloc 1 (System.Boolean)
L_0054: ret
DONE

PATCHING RimWorld.Bill Boolean PawnAllowedToStartAnew(Verse.Pawn)
L_0000: Local var #0 System.Int32
L_0000: Local var #1 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.0
L_0007: ldfld Verse.RecipeDef recipe
L_000c: ldfld RimWorld.SkillDef workSkill
L_0011: brfalse Label #2
L_0016: ldarg.1
L_0017: ldfld RimWorld.Pawn_SkillTracker skills
L_001c: ldarg.0
L_001d: ldfld Verse.RecipeDef recipe
L_0022: ldfld RimWorld.SkillDef workSkill
L_0027: callvirt RimWorld.SkillRecord GetSkill(RimWorld.SkillDef)
L_002c: callvirt Int32 get_Level()
L_0031: stloc.0
L_0032: ldloc.0
L_0033: ldarg.0
L_0034: ldflda Verse.IntRange allowedSkillRange
L_0039: ldfld System.Int32 min
L_003e: blt Label #3
L_0043: ldloc.0
L_0044: ldarg.0
L_0045: ldflda Verse.IntRange allowedSkillRange
L_004a: ldfld System.Int32 max
L_004f: ble Label #4
L_0054: Label #3
L_0054: ldc.i4.0
L_0055: br Label #0
L_005a: Label #2
L_005a: Label #4
L_005a: ldc.i4.1
L_005b: br Label #0
L_0060: Label #0
L_0060: stloc 1 (System.Boolean)
L_0061: ldarg 1
L_0067: ldarg.0
L_0068: ldloca 1 (System.Boolean)
L_006a: call Void PawnAllowedToStartAnewPostfix(Verse.Pawn, RimWorld.Bill, Boolean ByRef)
L_006f: ldloc 1 (System.Boolean)
L_0070: ret
DONE

PATCHING RimWorld.WorkGiver_GrowerHarvest Boolean HasJobOnCell(Verse.Pawn, IntVec3)
L_0000: Local var #0 RimWorld.Plant
L_0000: Local var #1 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 1 (System.Boolean)
L_0006: ldarg.2
L_0007: ldarg.1
L_0008: callvirt Verse.Map get_Map()
L_000d: call RimWorld.Plant GetPlant(IntVec3, Verse.Map)
L_0012: stloc.0
L_0013: ldloc.0
L_0014: brtrue Label #2
L_0019: ldc.i4.0
L_001a: br Label #0
L_001f: Label #2
L_001f: ldloc.0
L_0020: ldarg.1
L_0021: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_0026: brfalse Label #3
L_002b: ldc.i4.0
L_002c: br Label #0
L_0031: Label #3
L_0031: ldloc.0
L_0032: ldfld Verse.ThingDef def
L_0037: ldfld RimWorld.PlantProperties plant
L_003c: callvirt Boolean get_Harvestable()
L_0041: brfalse Label #4
L_0046: ldloc.0
L_0047: callvirt PlantLifeStage get_LifeStage()
L_004c: ldc.i4.2
L_004d: beq Label #5
L_0052: Label #4
L_0052: ldc.i4.0
L_0053: br Label #0
L_0058: Label #5
L_0058: ldarg.1
L_0059: ldloc.0
L_005a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_005f: ldc.i4.1
L_0060: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_0065: brtrue Label #6
L_006a: ldc.i4.0
L_006b: br Label #0
L_0070: Label #6
L_0070: ldc.i4.1
L_0071: br Label #0
L_0076: Label #0
L_0076: stloc 1 (System.Boolean)
L_0077: ldarg 1
L_007d: ldarg 2
L_0083: ldloca 1 (System.Boolean)
L_0085: call Void HasJobOnCellHarvestPostfix(Verse.Pawn, IntVec3, Boolean ByRef)
L_008a: ldloc 1 (System.Boolean)
L_008b: ret
DONE

PATCHING RimWorld.WorkGiver_GrowerSow Boolean ExtraRequirements(IPlantToGrowSettable, Verse.Pawn)
L_0000: Local var #0 Verse.IntVec3
L_0000: Local var #1 RimWorld.Zone_Growing
L_0000: Local var #2 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.1
L_0007: callvirt Boolean CanAcceptSowNow()
L_000c: brtrue Label #2
L_0011: ldc.i4.0
L_0012: br Label #0
L_0017: Label #2
L_0017: ldarg.1
L_0018: isinst RimWorld.Zone_Growing
L_001d: stloc.1
L_001e: ldloc.1
L_001f: brfalse Label #3
L_0024: ldloc.1
L_0025: ldfld System.Boolean allowSow
L_002a: brtrue Label #4
L_002f: ldc.i4.0
L_0030: br Label #0
L_0035: Label #4
L_0035: ldloc.1
L_0036: callvirt System.Collections.Generic.List`1[Verse.IntVec3] get_Cells()
L_003b: ldc.i4.0
L_003c: callvirt IntVec3 get_Item(Int32)
L_0041: stloc.0
L_0042: br Label #5
L_0047: Label #3
L_0047: ldarg.1
L_0048: castclass Verse.Thing
L_004d: callvirt IntVec3 get_Position()
L_0052: stloc.0
L_0053: Label #5
L_0053: ldloc.0
L_0054: ldarg.2
L_0055: callvirt Verse.Map get_Map()
L_005a: call Verse.ThingDef CalculateWantedPlantDef(IntVec3, Verse.Map)
L_005f: stsfld Verse.ThingDef wantedPlantDef
L_0064: ldsfld Verse.ThingDef wantedPlantDef
L_0069: brtrue Label #6
L_006e: ldc.i4.0
L_006f: br Label #0
L_0074: Label #6
L_0074: ldc.i4.1
L_0075: br Label #0
L_007a: Label #0
L_007a: stloc 2 (System.Boolean)
L_007b: ldarg 2
L_0081: ldarg 1
L_0087: ldarg.0
L_0088: ldloca 2 (System.Boolean)
L_008a: call Void ExtraRequirementsGrowerSowPostfix(Verse.Pawn, IPlantToGrowSettable, RimWorld.WorkGiver_GrowerSow, Boolean ByRef)
L_008f: ldloc 2 (System.Boolean)
L_0090: ret
DONE

PATCHING RimWorld.FloatMenuMakerMap Void AddHumanlikeOrders(Vector3, Verse.Pawn, System.Collections.Generic.List`1[Verse.FloatMenuOption])
L_0000: Local var #0 Verse.IntVec3
L_0000: Local var #1 Verse.Thing
L_0000: Local var #2 System.Collections.Generic.List`1+Enumerator[[Verse.Thing, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #3 Verse.FloatMenuOption
L_0000: Local var #4 System.String
L_0000: Local var #5 Verse.MenuOptionPriority
L_0000: Local var #6 Verse.LocalTargetInfo
L_0000: Local var #7 System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #8 Verse.LocalTargetInfo
L_0000: Local var #9 System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #10 Verse.LocalTargetInfo
L_0000: Local var #11 System.String
L_0000: Local var #12 System.Action
L_0000: Local var #13 Verse.LocalTargetInfo
L_0000: Local var #14 System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #15 Verse.FloatMenuOption
L_0000: Local var #16 System.Collections.Generic.List`1[[Verse.Thing, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #17 System.Int32
L_0000: Local var #18 Verse.FloatMenuOption
L_0000: Local var #19 System.String
L_0000: Local var #20 System.String
L_0000: Local var #21 Verse.FloatMenuOption
L_0000: Local var #22 Verse.Pawn
L_0000: Local var #23 Verse.Pawn
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.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #27 Verse.Pawn
L_0000: Local var #28 System.Action
L_0000: Local var #29 Verse.LocalTargetInfo
L_0000: Local var #30 System.Collections.Generic.IEnumerator`1[[Verse.LocalTargetInfo, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #31 Verse.LocalTargetInfo
L_0000: Local var #32 System.Action
L_0000: Local var #33 System.String
L_0000: Local var #34 Verse.Thing
L_0000: Local var #35 System.Collections.Generic.IEnumerator`1[[Verse.Thing, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #36 Verse.FloatMenuOption
L_0000: Local var #37 System.Collections.Generic.IEnumerator`1[[Verse.FloatMenuOption, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #38 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE
L_0000: Local var #39 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD
L_0000: Local var #40 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF
L_0000: Local var #41 Verse.Pawn
L_0000: Local var #42 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0
L_0000: Local var #43 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B1
L_0000: Local var #44 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2
L_0000: Local var #45 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3
L_0000: Local var #46 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4
L_0000: Local var #47 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5
L_0000: Local var #48 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6
L_0000: Local var #49 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7
L_0000: Local var #50 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8
L_0000: Local var #51 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B9
L_0000: Local var #52 RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA
L_0000: Local var #53 Verse.Thing
L_0000: newobj Void .ctor()
L_0005: stloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0007: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0009: ldarg.1
L_000a: stfld Verse.Pawn pawn
L_000f: ldarg.0
L_0010: call IntVec3 FromVector3(Vector3)
L_0015: stloc.0
L_0016: ldloc.0
L_0017: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0019: ldfld Verse.Pawn pawn
L_001e: callvirt Verse.Map get_Map()
L_0023: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3, Verse.Map)
L_0028: callvirt Enumerator GetEnumerator()
L_002d: stloc.2
L_002e: br Label #2
L_0033: Label #17
L_0033: ldloca.s 2 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0035: call Verse.Thing get_Current()
L_003a: stloc.1
L_003b: newobj Void .ctor()
L_0040: stloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0042: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0044: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0046: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_004b: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_004d: ldloc.1
L_004e: stfld Verse.Thing t
L_0053: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0055: ldfld Verse.Thing t
L_005a: ldfld Verse.ThingDef def
L_005f: ldfld RimWorld.IngestibleProperties ingestible
L_0064: brfalse Label #3
L_0069: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_006b: ldfld Verse.Pawn pawn
L_0070: callvirt Verse.RaceProperties get_RaceProps()
L_0075: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0077: ldfld Verse.Thing t
L_007c: callvirt Boolean CanEverEat(Verse.Thing)
L_0081: brfalse Label #4
L_0086: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0088: ldfld Verse.Thing t
L_008d: callvirt Boolean get_IngestibleNow()
L_0092: brfalse Label #5
L_0097: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0099: ldfld Verse.Thing t
L_009e: ldfld Verse.ThingDef def
L_00a3: ldfld RimWorld.IngestibleProperties ingestible
L_00a8: ldfld System.String ingestCommandString
L_00ad: call Boolean NullOrEmpty(System.String)
L_00b2: brfalse Label #6
L_00b7: ldstr "ConsumeThing"
L_00bc: ldc.i4.1
L_00bd: newarr System.Object
L_00c2: dup
L_00c3: ldc.i4.0
L_00c4: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_00c6: ldfld Verse.Thing t
L_00cb: callvirt System.String get_LabelShort()
L_00d0: stelem.ref
L_00d1: call System.String Translate(System.String, System.Object[])
L_00d6: stloc.s 4 (System.String)
L_00d8: br Label #7
L_00dd: Label #6
L_00dd: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_00df: ldfld Verse.Thing t
L_00e4: ldfld Verse.ThingDef def
L_00e9: ldfld RimWorld.IngestibleProperties ingestible
L_00ee: ldfld System.String ingestCommandString
L_00f3: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_00f5: ldfld Verse.Thing t
L_00fa: callvirt System.String get_LabelShort()
L_00ff: call System.String Format(System.String, System.Object)
L_0104: stloc.s 4 (System.String)
L_0106: Label #7
L_0106: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0108: ldfld Verse.Thing t
L_010d: ldfld Verse.ThingDef def
L_0112: callvirt Boolean get_IsPleasureDrug()
L_0117: brfalse Label #8
L_011c: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_011e: ldfld Verse.Pawn pawn
L_0123: call Boolean IsTeetotaler(Verse.Pawn)
L_0128: brfalse Label #9
L_012d: ldloc.s 4 (System.String)
L_012f: ldstr " ("
L_0134: ldsfld RimWorld.TraitDef DrugDesire
L_0139: ldc.i4.m1
L_013a: callvirt RimWorld.TraitDegreeData DataAtDegree(Int32)
L_013f: ldfld System.String label
L_0144: ldstr ")"
L_0149: call System.String Concat(System.String, System.String, System.String, System.String)
L_014e: ldnull
L_014f: ldc.i4.4
L_0150: ldnull
L_0151: ldnull
L_0152: ldc.r4 0
L_0157: ldnull
L_0158: ldnull
L_0159: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_015e: stloc.3
L_015f: br Label #10
L_0164: Label #8
L_0164: Label #9
L_0164: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0166: ldfld Verse.Pawn pawn
L_016b: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_016d: ldfld Verse.Thing t
L_0172: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0177: ldc.i4.1
L_0178: ldc.i4.3
L_0179: ldc.i4.0
L_017a: ldc.i4.1
L_017b: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_0180: brtrue Label #11
L_0185: ldloc.s 4 (System.String)
L_0187: ldstr " ("
L_018c: ldstr "NoPath"
L_0191: call System.String Translate(System.String)
L_0196: ldstr ")"
L_019b: call System.String Concat(System.String, System.String, System.String, System.String)
L_01a0: ldnull
L_01a1: ldc.i4.4
L_01a2: ldnull
L_01a3: ldnull
L_01a4: ldc.r4 0
L_01a9: ldnull
L_01aa: ldnull
L_01ab: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_01b0: stloc.3
L_01b1: br Label #12
L_01b6: Label #11
L_01b6: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_01b8: ldfld Verse.Pawn pawn
L_01bd: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_01bf: ldfld Verse.Thing t
L_01c4: call LocalTargetInfo op_Implicit(Verse.Thing)
L_01c9: ldc.i4.1
L_01ca: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_01cf: brtrue Label #13
L_01d4: ldloc.s 4 (System.String)
L_01d6: ldstr " ("
L_01db: ldstr "ReservedBy"
L_01e0: ldc.i4.1
L_01e1: newarr System.Object
L_01e6: dup
L_01e7: ldc.i4.0
L_01e8: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_01ea: ldfld Verse.Pawn pawn
L_01ef: callvirt Verse.Map get_Map()
L_01f4: ldfld Verse.AI.ReservationManager reservationManager
L_01f9: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_01fb: ldfld Verse.Thing t
L_0200: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0205: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0207: ldfld Verse.Pawn pawn
L_020c: callvirt RimWorld.Faction get_Faction()
L_0211: ldc.i4.1
L_0212: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_0217: callvirt System.String get_LabelShort()
L_021c: stelem.ref
L_021d: call System.String Translate(System.String, System.Object[])
L_0222: ldstr ")"
L_0227: call System.String Concat(System.String, System.String, System.String, System.String)
L_022c: ldnull
L_022d: ldc.i4.4
L_022e: ldnull
L_022f: ldnull
L_0230: ldc.r4 0
L_0235: ldnull
L_0236: ldnull
L_0237: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_023c: stloc.3
L_023d: br Label #14
L_0242: Label #13
L_0242: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0244: ldfld Verse.Thing t
L_0249: isinst Verse.Corpse
L_024e: brfalse Label #15
L_0253: ldc.i4.2
L_0254: br Label #16
L_0259: Label #15
L_0259: ldc.i4.4
L_025a: Label #16
L_025a: stloc.s 5 (Verse.MenuOptionPriority)
L_025c: ldloc.s 4 (System.String)
L_025e: ldloc.s 39 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AD)
L_0260: ldftn Void <>m__547()
L_0266: newobj Void .ctor(Object, IntPtr)
L_026b: ldloc.s 5 (Verse.MenuOptionPriority)
L_026d: ldnull
L_026e: ldnull
L_026f: ldc.r4 0
L_0274: ldnull
L_0275: ldnull
L_0276: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_027b: stloc.3
L_027c: Label #10
L_027c: Label #12
L_027c: Label #14
L_027c: ldarg.2
L_027d: ldloc.3
L_027e: callvirt Void Add(Verse.FloatMenuOption)
L_0283: Label #2
L_0283: Label #3
L_0283: Label #4
L_0283: Label #5
L_0283: ldloca.s 2 (System.Collections.Generic.List`1+Enumerator[Verse.Thing])
L_0285: call Boolean MoveNext()
L_028a: brtrue Label #17
L_028f: leave Label #18
L_0294: ldloc.2
L_0295: box System.Collections.Generic.List`1+Enumerator[Verse.Thing]
L_029a: callvirt Void Dispose()
L_029f: endfinally
L_02a0: Label #18
L_02a0: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_02a2: ldfld Verse.Pawn pawn
L_02a7: ldfld Verse.Pawn_HealthTracker health
L_02ac: ldfld Verse.PawnCapacitiesHandler capacities
L_02b1: ldsfld Verse.PawnCapacityDef Manipulation
L_02b6: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_02bb: brfalse Label #19
L_02c0: ldarg.0
L_02c1: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_02c3: ldfld Verse.Pawn pawn
L_02c8: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_02cd: ldc.i4.1
L_02ce: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters, Boolean)
L_02d3: callvirt IEnumerator`1 GetEnumerator()
L_02d8: stloc.s 7 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_02da: br Label #20
L_02df: Label #36
L_02df: ldloc.s 7 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_02e1: callvirt LocalTargetInfo get_Current()
L_02e6: stloc.s 6 (Verse.LocalTargetInfo)
L_02e8: newobj Void .ctor()
L_02ed: stloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_02ef: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_02f1: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_02f3: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_02f8: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_02fa: ldloca.s 6 (Verse.LocalTargetInfo)
L_02fc: call Verse.Thing get_Thing()
L_0301: castclass Verse.Pawn
L_0306: stfld Verse.Pawn victim
L_030b: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_030d: ldfld Verse.Pawn victim
L_0312: call Boolean InBed(Verse.Pawn)
L_0317: brtrue Label #21
L_031c: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_031e: ldfld Verse.Pawn pawn
L_0323: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0325: ldfld Verse.Pawn victim
L_032a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_032f: ldc.i4.1
L_0330: ldc.i4.3
L_0331: ldc.i4.1
L_0332: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Int32)
L_0337: brtrue Label #22
L_033c: Label #21
L_033c: br Label #23
L_0341: Label #22
L_0341: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0343: ldfld Verse.Pawn victim
L_0348: callvirt RimWorld.Faction get_Faction()
L_034d: call RimWorld.Faction get_OfPlayer()
L_0352: bne.un Label #24
L_0357: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0359: ldfld Verse.Pawn victim
L_035e: callvirt Verse.MentalStateDef get_MentalStateDef()
L_0363: brfalse Label #25
L_0368: Label #24
L_0368: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_036a: ldfld Verse.Pawn victim
L_036f: callvirt RimWorld.Faction get_Faction()
L_0374: call RimWorld.Faction get_OfPlayer()
L_0379: beq Label #26
L_037e: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0380: ldfld Verse.Pawn victim
L_0385: callvirt Verse.MentalStateDef get_MentalStateDef()
L_038a: brtrue Label #27
L_038f: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0391: ldfld Verse.Pawn victim
L_0396: callvirt Boolean get_IsPrisonerOfColony()
L_039b: brtrue Label #28
L_03a0: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_03a2: ldfld Verse.Pawn victim
L_03a7: callvirt RimWorld.Faction get_Faction()
L_03ac: brfalse Label #29
L_03b1: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_03b3: ldfld Verse.Pawn victim
L_03b8: callvirt RimWorld.Faction get_Faction()
L_03bd: call RimWorld.Faction get_OfPlayer()
L_03c2: call Boolean HostileTo(RimWorld.Faction, RimWorld.Faction)
L_03c7: brtrue Label #30
L_03cc: Label #25
L_03cc: Label #29
L_03cc: ldarg.2
L_03cd: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_03cf: ldfld Verse.Pawn victim
L_03d4: stloc.s 41 (Verse.Pawn)
L_03d6: ldstr "Rescue"
L_03db: ldc.i4.1
L_03dc: newarr System.Object
L_03e1: dup
L_03e2: ldc.i4.0
L_03e3: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_03e5: ldfld Verse.Pawn victim
L_03ea: callvirt System.String get_LabelCap()
L_03ef: stelem.ref
L_03f0: call System.String Translate(System.String, System.Object[])
L_03f5: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_03f7: ldftn Void <>m__548()
L_03fd: newobj Void .ctor(Object, IntPtr)
L_0402: ldc.i4.8
L_0403: ldnull
L_0404: ldloc.s 41 (Verse.Pawn)
L_0406: ldc.r4 0
L_040b: ldnull
L_040c: ldnull
L_040d: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0412: callvirt Void Add(Verse.FloatMenuOption)
L_0417: Label #26
L_0417: Label #27
L_0417: Label #28
L_0417: Label #30
L_0417: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0419: ldfld Verse.Pawn victim
L_041e: callvirt Verse.RaceProperties get_RaceProps()
L_0423: callvirt Boolean get_Humanlike()
L_0428: brfalse Label #31
L_042d: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_042f: ldfld Verse.Pawn victim
L_0434: callvirt Verse.MentalStateDef get_MentalStateDef()
L_0439: brtrue Label #32
L_043e: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0440: ldfld Verse.Pawn victim
L_0445: callvirt RimWorld.Faction get_Faction()
L_044a: call RimWorld.Faction get_OfPlayer()
L_044f: bne.un Label #33
L_0454: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0456: ldfld Verse.Pawn victim
L_045b: callvirt Boolean get_Downed()
L_0460: brfalse Label #34
L_0465: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0467: ldfld Verse.Pawn victim
L_046c: ldfld RimWorld.Pawn_GuiltTracker guilt
L_0471: callvirt Boolean get_IsGuilty()
L_0476: brfalse Label #35
L_047b: Label #32
L_047b: Label #33
L_047b: ldarg.2
L_047c: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_047e: ldfld Verse.Pawn victim
L_0483: stloc.s 41 (Verse.Pawn)
L_0485: ldstr "Capture"
L_048a: ldc.i4.1
L_048b: newarr System.Object
L_0490: dup
L_0491: ldc.i4.0
L_0492: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_0494: ldfld Verse.Pawn victim
L_0499: callvirt System.String get_LabelCap()
L_049e: stelem.ref
L_049f: call System.String Translate(System.String, System.Object[])
L_04a4: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AF)
L_04a6: ldftn Void <>m__549()
L_04ac: newobj Void .ctor(Object, IntPtr)
L_04b1: ldc.i4.8
L_04b2: ldnull
L_04b3: ldloc.s 41 (Verse.Pawn)
L_04b5: ldc.r4 0
L_04ba: ldnull
L_04bb: ldnull
L_04bc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_04c1: callvirt Void Add(Verse.FloatMenuOption)
L_04c6: Label #20
L_04c6: Label #23
L_04c6: Label #31
L_04c6: Label #34
L_04c6: Label #35
L_04c6: ldloc.s 7 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_04c8: callvirt Boolean MoveNext()
L_04cd: brtrue Label #36
L_04d2: leave Label #37
L_04d7: ldloc.s 7 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_04d9: brtrue Label #38
L_04de: endfinally
L_04df: Label #38
L_04df: ldloc.s 7 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_04e1: callvirt Void Dispose()
L_04e6: endfinally
L_04e7: Label #37
L_04e7: ldarg.0
L_04e8: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_04ea: ldfld Verse.Pawn pawn
L_04ef: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_04f4: ldc.i4.1
L_04f5: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters, Boolean)
L_04fa: callvirt IEnumerator`1 GetEnumerator()
L_04ff: stloc.s 9 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0501: br Label #39
L_0506: Label #43
L_0506: ldloc.s 9 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0508: callvirt LocalTargetInfo get_Current()
L_050d: stloc.s 8 (Verse.LocalTargetInfo)
L_050f: newobj Void .ctor()
L_0514: stloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_0516: ldloc.s 8 (Verse.LocalTargetInfo)
L_0518: stloc.s 10 (Verse.LocalTargetInfo)
L_051a: ldloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_051c: ldloca.s 10 (Verse.LocalTargetInfo)
L_051e: call Verse.Thing get_Thing()
L_0523: castclass Verse.Pawn
L_0528: stfld Verse.Pawn victim
L_052d: ldloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_052f: ldfld Verse.Pawn victim
L_0534: callvirt Boolean get_Downed()
L_0539: brfalse Label #40
L_053e: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0540: ldfld Verse.Pawn pawn
L_0545: ldloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_0547: ldfld Verse.Pawn victim
L_054c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0551: ldc.i4.1
L_0552: ldc.i4.3
L_0553: ldc.i4.1
L_0554: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Int32)
L_0559: brfalse Label #41
L_055e: ldloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_0560: ldfld Verse.Pawn victim
L_0565: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0567: ldfld Verse.Pawn pawn
L_056c: call RimWorld.Building_CryptosleepCasket FindCryptosleepCasketFor(Verse.Pawn, Verse.Pawn)
L_0571: brfalse Label #42
L_0576: newobj Void .ctor()
L_057b: stloc.s 43 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B1)
L_057d: ldloc.s 43 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B1)
L_057f: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0581: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_0586: ldloc.s 43 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B1)
L_0588: ldloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_058a: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0 <>f__ref$944
L_058f: ldstr "CarryToCryptosleepCasket"
L_0594: ldc.i4.1
L_0595: newarr System.Object
L_059a: dup
L_059b: ldc.i4.0
L_059c: ldloca.s 10 (Verse.LocalTargetInfo)
L_059e: call Verse.Thing get_Thing()
L_05a3: callvirt System.String get_LabelCap()
L_05a8: stelem.ref
L_05a9: call System.String Translate(System.String, System.Object[])
L_05ae: stloc.s 11 (System.String)
L_05b0: ldloc.s 43 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B1)
L_05b2: ldsfld Verse.JobDef CarryToCryptosleepCasket
L_05b7: stfld Verse.JobDef jDef
L_05bc: ldloc.s 43 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B1)
L_05be: ldftn Void <>m__54A()
L_05c4: newobj Void .ctor(Object, IntPtr)
L_05c9: stloc.s 12 (System.Action)
L_05cb: ldarg.2
L_05cc: ldloc.s 42 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B0)
L_05ce: ldfld Verse.Pawn victim
L_05d3: stloc.s 41 (Verse.Pawn)
L_05d5: ldloc.s 11 (System.String)
L_05d7: ldloc.s 12 (System.Action)
L_05d9: ldc.i4.4
L_05da: ldnull
L_05db: ldloc.s 41 (Verse.Pawn)
L_05dd: ldc.r4 0
L_05e2: ldnull
L_05e3: ldnull
L_05e4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_05e9: callvirt Void Add(Verse.FloatMenuOption)
L_05ee: Label #39
L_05ee: Label #40
L_05ee: Label #41
L_05ee: Label #42
L_05ee: ldloc.s 9 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_05f0: callvirt Boolean MoveNext()
L_05f5: brtrue Label #43
L_05fa: leave Label #44
L_05ff: ldloc.s 9 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0601: brtrue Label #45
L_0606: endfinally
L_0607: Label #45
L_0607: ldloc.s 9 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0609: callvirt Void Dispose()
L_060e: endfinally
L_060f: Label #19
L_060f: Label #44
L_060f: ldarg.0
L_0610: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0612: ldfld Verse.Pawn pawn
L_0617: call RimWorld.TargetingParameters ForStrip(Verse.Pawn)
L_061c: ldc.i4.1
L_061d: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters, Boolean)
L_0622: callvirt IEnumerator`1 GetEnumerator()
L_0627: stloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0629: br Label #46
L_062e: Label #51
L_062e: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_0630: callvirt LocalTargetInfo get_Current()
L_0635: stloc.s 13 (Verse.LocalTargetInfo)
L_0637: newobj Void .ctor()
L_063c: stloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_063e: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_0640: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0642: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_0647: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_0649: ldloc.s 13 (Verse.LocalTargetInfo)
L_064b: stfld Verse.LocalTargetInfo stripTarg
L_0650: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0652: ldfld Verse.Pawn pawn
L_0657: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_0659: ldfld Verse.LocalTargetInfo stripTarg
L_065e: ldc.i4.3
L_065f: ldc.i4.3
L_0660: ldc.i4.0
L_0661: ldc.i4.1
L_0662: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_0667: brtrue Label #47
L_066c: ldstr "CannotStrip"
L_0671: ldc.i4.1
L_0672: newarr System.Object
L_0677: dup
L_0678: ldc.i4.0
L_0679: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_067b: ldflda Verse.LocalTargetInfo stripTarg
L_0680: call Verse.Thing get_Thing()
L_0685: callvirt System.String get_LabelCap()
L_068a: stelem.ref
L_068b: call System.String Translate(System.String, System.Object[])
L_0690: ldstr " ("
L_0695: ldstr "NoPath"
L_069a: call System.String Translate(System.String)
L_069f: ldstr ")"
L_06a4: call System.String Concat(System.String, System.String, System.String, System.String)
L_06a9: ldnull
L_06aa: ldc.i4.4
L_06ab: ldnull
L_06ac: ldnull
L_06ad: ldc.r4 0
L_06b2: ldnull
L_06b3: ldnull
L_06b4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_06b9: stloc.s 15 (Verse.FloatMenuOption)
L_06bb: br Label #48
L_06c0: Label #47
L_06c0: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_06c2: ldfld Verse.Pawn pawn
L_06c7: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_06c9: ldfld Verse.LocalTargetInfo stripTarg
L_06ce: ldc.i4.3
L_06cf: ldc.i4.3
L_06d0: ldc.i4.1
L_06d1: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Int32)
L_06d6: brtrue Label #49
L_06db: ldstr "CannotStrip"
L_06e0: ldc.i4.1
L_06e1: newarr System.Object
L_06e6: dup
L_06e7: ldc.i4.0
L_06e8: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_06ea: ldflda Verse.LocalTargetInfo stripTarg
L_06ef: call Verse.Thing get_Thing()
L_06f4: callvirt System.String get_LabelCap()
L_06f9: stelem.ref
L_06fa: call System.String Translate(System.String, System.Object[])
L_06ff: ldstr " ("
L_0704: ldstr "ReservedBy"
L_0709: ldc.i4.1
L_070a: newarr System.Object
L_070f: dup
L_0710: ldc.i4.0
L_0711: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0713: ldfld Verse.Pawn pawn
L_0718: callvirt Verse.Map get_Map()
L_071d: ldfld Verse.AI.ReservationManager reservationManager
L_0722: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_0724: ldfld Verse.LocalTargetInfo stripTarg
L_0729: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_072b: ldfld Verse.Pawn pawn
L_0730: callvirt RimWorld.Faction get_Faction()
L_0735: ldc.i4.1
L_0736: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_073b: callvirt System.String get_LabelShort()
L_0740: stelem.ref
L_0741: call System.String Translate(System.String, System.Object[])
L_0746: ldstr ")"
L_074b: call System.String Concat(System.String, System.String, System.String, System.String)
L_0750: ldnull
L_0751: ldc.i4.4
L_0752: ldnull
L_0753: ldnull
L_0754: ldc.r4 0
L_0759: ldnull
L_075a: ldnull
L_075b: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0760: stloc.s 15 (Verse.FloatMenuOption)
L_0762: br Label #50
L_0767: Label #49
L_0767: ldstr "Strip"
L_076c: ldc.i4.1
L_076d: newarr System.Object
L_0772: dup
L_0773: ldc.i4.0
L_0774: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_0776: ldflda Verse.LocalTargetInfo stripTarg
L_077b: call Verse.Thing get_Thing()
L_0780: callvirt System.String get_LabelCap()
L_0785: stelem.ref
L_0786: call System.String Translate(System.String, System.Object[])
L_078b: ldloc.s 44 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B2)
L_078d: ldftn Void <>m__54B()
L_0793: newobj Void .ctor(Object, IntPtr)
L_0798: ldc.i4.4
L_0799: ldnull
L_079a: ldnull
L_079b: ldc.r4 0
L_07a0: ldnull
L_07a1: ldnull
L_07a2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_07a7: stloc.s 15 (Verse.FloatMenuOption)
L_07a9: Label #48
L_07a9: Label #50
L_07a9: ldarg.2
L_07aa: ldloc.s 15 (Verse.FloatMenuOption)
L_07ac: callvirt Void Add(Verse.FloatMenuOption)
L_07b1: Label #46
L_07b1: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_07b3: callvirt Boolean MoveNext()
L_07b8: brtrue Label #51
L_07bd: leave Label #52
L_07c2: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_07c4: brtrue Label #53
L_07c9: endfinally
L_07ca: Label #53
L_07ca: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_07cc: callvirt Void Dispose()
L_07d1: endfinally
L_07d2: Label #52
L_07d2: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_07d4: ldfld Verse.Pawn pawn
L_07d9: ldfld Verse.Pawn_EquipmentTracker equipment
L_07de: brfalse Label #54
L_07e3: newobj Void .ctor()
L_07e8: stloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_07ea: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_07ec: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_07ee: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_07f3: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_07f5: ldnull
L_07f6: stfld Verse.ThingWithComps equipment
L_07fb: ldloc.0
L_07fc: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_07fe: ldfld Verse.Pawn pawn
L_0803: callvirt Verse.Map get_Map()
L_0808: call System.Collections.Generic.List`1[Verse.Thing] GetThingList(IntVec3, Verse.Map)
L_080d: stloc.s 16 (System.Collections.Generic.List`1[Verse.Thing])
L_080f: ldc.i4.0
L_0810: stloc.s 17 (System.Int32)
L_0812: br Label #55
L_0817: Label #58
L_0817: ldloc.s 16 (System.Collections.Generic.List`1[Verse.Thing])
L_0819: ldloc.s 17 (System.Int32)
L_081b: callvirt Verse.Thing get_Item(Int32)
L_0820: call Verse.CompEquippable TryGetComp[CompEquippable](Verse.Thing)
L_0825: brfalse Label #56
L_082a: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_082c: ldloc.s 16 (System.Collections.Generic.List`1[Verse.Thing])
L_082e: ldloc.s 17 (System.Int32)
L_0830: callvirt Verse.Thing get_Item(Int32)
L_0835: castclass Verse.ThingWithComps
L_083a: stfld Verse.ThingWithComps equipment
L_083f: br Label #57
L_0844: Label #56
L_0844: ldloc.s 17 (System.Int32)
L_0846: ldc.i4.1
L_0847: add
L_0848: stloc.s 17 (System.Int32)
L_084a: Label #55
L_084a: ldloc.s 17 (System.Int32)
L_084c: ldloc.s 16 (System.Collections.Generic.List`1[Verse.Thing])
L_084e: callvirt Int32 get_Count()
L_0853: blt Label #58
L_0858: Label #57
L_0858: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_085a: ldfld Verse.ThingWithComps equipment
L_085f: brfalse Label #59
L_0864: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_0866: ldfld Verse.ThingWithComps equipment
L_086b: callvirt System.String get_LabelShort()
L_0870: stloc.s 19 (System.String)
L_0872: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_0874: ldfld Verse.ThingWithComps equipment
L_0879: ldfld Verse.ThingDef def
L_087e: callvirt Boolean get_IsWeapon()
L_0883: brfalse Label #60
L_0888: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_088a: ldfld Verse.Pawn pawn
L_088f: ldfld RimWorld.Pawn_StoryTracker story
L_0894: ldc.i4.s 16
L_0896: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_089b: brfalse Label #61
L_08a0: ldstr "CannotEquip"
L_08a5: ldc.i4.1
L_08a6: newarr System.Object
L_08ab: dup
L_08ac: ldc.i4.0
L_08ad: ldloc.s 19 (System.String)
L_08af: stelem.ref
L_08b0: call System.String Translate(System.String, System.Object[])
L_08b5: ldstr " ("
L_08ba: ldstr "IsIncapableOfViolenceLower"
L_08bf: ldc.i4.1
L_08c0: newarr System.Object
L_08c5: dup
L_08c6: ldc.i4.0
L_08c7: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_08c9: ldfld Verse.Pawn pawn
L_08ce: callvirt System.String get_LabelShort()
L_08d3: stelem.ref
L_08d4: call System.String Translate(System.String, System.Object[])
L_08d9: ldstr ")"
L_08de: call System.String Concat(System.String, System.String, System.String, System.String)
L_08e3: ldnull
L_08e4: ldc.i4.4
L_08e5: ldnull
L_08e6: ldnull
L_08e7: ldc.r4 0
L_08ec: ldnull
L_08ed: ldnull
L_08ee: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_08f3: stloc.s 18 (Verse.FloatMenuOption)
L_08f5: br Label #62
L_08fa: Label #60
L_08fa: Label #61
L_08fa: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_08fc: ldfld Verse.Pawn pawn
L_0901: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_0903: ldfld Verse.ThingWithComps equipment
L_0908: call LocalTargetInfo op_Implicit(Verse.Thing)
L_090d: ldc.i4.3
L_090e: ldc.i4.3
L_090f: ldc.i4.0
L_0910: ldc.i4.1
L_0911: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_0916: brtrue Label #63
L_091b: ldstr "CannotEquip"
L_0920: ldc.i4.1
L_0921: newarr System.Object
L_0926: dup
L_0927: ldc.i4.0
L_0928: ldloc.s 19 (System.String)
L_092a: stelem.ref
L_092b: call System.String Translate(System.String, System.Object[])
L_0930: ldstr " ("
L_0935: ldstr "NoPath"
L_093a: call System.String Translate(System.String)
L_093f: ldstr ")"
L_0944: call System.String Concat(System.String, System.String, System.String, System.String)
L_0949: ldnull
L_094a: ldc.i4.4
L_094b: ldnull
L_094c: ldnull
L_094d: ldc.r4 0
L_0952: ldnull
L_0953: ldnull
L_0954: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0959: stloc.s 18 (Verse.FloatMenuOption)
L_095b: br Label #64
L_0960: Label #63
L_0960: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0962: ldfld Verse.Pawn pawn
L_0967: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_0969: ldfld Verse.ThingWithComps equipment
L_096e: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0973: ldc.i4.1
L_0974: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_0979: brtrue Label #65
L_097e: ldstr "CannotEquip"
L_0983: ldc.i4.1
L_0984: newarr System.Object
L_0989: dup
L_098a: ldc.i4.0
L_098b: ldloc.s 19 (System.String)
L_098d: stelem.ref
L_098e: call System.String Translate(System.String, System.Object[])
L_0993: ldstr " ("
L_0998: ldstr "ReservedBy"
L_099d: ldc.i4.1
L_099e: newarr System.Object
L_09a3: dup
L_09a4: ldc.i4.0
L_09a5: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_09a7: ldfld Verse.Pawn pawn
L_09ac: callvirt Verse.Map get_Map()
L_09b1: ldfld Verse.AI.ReservationManager reservationManager
L_09b6: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_09b8: ldfld Verse.ThingWithComps equipment
L_09bd: call LocalTargetInfo op_Implicit(Verse.Thing)
L_09c2: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_09c4: ldfld Verse.Pawn pawn
L_09c9: callvirt RimWorld.Faction get_Faction()
L_09ce: ldc.i4.1
L_09cf: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_09d4: callvirt System.String get_LabelShort()
L_09d9: stelem.ref
L_09da: call System.String Translate(System.String, System.Object[])
L_09df: ldstr ")"
L_09e4: call System.String Concat(System.String, System.String, System.String, System.String)
L_09e9: ldnull
L_09ea: ldc.i4.4
L_09eb: ldnull
L_09ec: ldnull
L_09ed: ldc.r4 0
L_09f2: ldnull
L_09f3: ldnull
L_09f4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_09f9: stloc.s 18 (Verse.FloatMenuOption)
L_09fb: br Label #66
L_0a00: Label #65
L_0a00: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0a02: ldfld Verse.Pawn pawn
L_0a07: ldfld Verse.Pawn_HealthTracker health
L_0a0c: ldfld Verse.PawnCapacitiesHandler capacities
L_0a11: ldsfld Verse.PawnCapacityDef Manipulation
L_0a16: callvirt Boolean CapableOf(Verse.PawnCapacityDef)
L_0a1b: brtrue Label #67
L_0a20: ldstr "CannotEquip"
L_0a25: ldc.i4.1
L_0a26: newarr System.Object
L_0a2b: dup
L_0a2c: ldc.i4.0
L_0a2d: ldloc.s 19 (System.String)
L_0a2f: stelem.ref
L_0a30: call System.String Translate(System.String, System.Object[])
L_0a35: ldstr " ("
L_0a3a: ldstr "Incapable"
L_0a3f: call System.String Translate(System.String)
L_0a44: ldstr ")"
L_0a49: call System.String Concat(System.String, System.String, System.String, System.String)
L_0a4e: ldnull
L_0a4f: ldc.i4.4
L_0a50: ldnull
L_0a51: ldnull
L_0a52: ldc.r4 0
L_0a57: ldnull
L_0a58: ldnull
L_0a59: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0a5e: stloc.s 18 (Verse.FloatMenuOption)
L_0a60: br Label #68
L_0a65: Label #67
L_0a65: ldstr "Equip"
L_0a6a: ldc.i4.1
L_0a6b: newarr System.Object
L_0a70: dup
L_0a71: ldc.i4.0
L_0a72: ldloc.s 19 (System.String)
L_0a74: stelem.ref
L_0a75: call System.String Translate(System.String, System.Object[])
L_0a7a: stloc.s 20 (System.String)
L_0a7c: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_0a7e: ldfld Verse.ThingWithComps equipment
L_0a83: ldfld Verse.ThingDef def
L_0a88: callvirt Boolean get_IsRangedWeapon()
L_0a8d: brfalse Label #69
L_0a92: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0a94: ldfld Verse.Pawn pawn
L_0a99: ldfld RimWorld.Pawn_StoryTracker story
L_0a9e: brfalse Label #70
L_0aa3: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0aa5: ldfld Verse.Pawn pawn
L_0aaa: ldfld RimWorld.Pawn_StoryTracker story
L_0aaf: ldfld RimWorld.TraitSet traits
L_0ab4: ldsfld RimWorld.TraitDef Brawler
L_0ab9: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0abe: brfalse Label #71
L_0ac3: ldloc.s 20 (System.String)
L_0ac5: ldstr " "
L_0aca: ldstr "EquipWarningBrawler"
L_0acf: call System.String Translate(System.String)
L_0ad4: call System.String Concat(System.String, System.String, System.String)
L_0ad9: stloc.s 20 (System.String)
L_0adb: Label #69
L_0adb: Label #70
L_0adb: Label #71
L_0adb: ldloc.s 20 (System.String)
L_0add: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B3)
L_0adf: ldftn Void <>m__54C()
L_0ae5: newobj Void .ctor(Object, IntPtr)
L_0aea: ldc.i4.5
L_0aeb: ldnull
L_0aec: ldnull
L_0aed: ldc.r4 0
L_0af2: ldnull
L_0af3: ldnull
L_0af4: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0af9: stloc.s 18 (Verse.FloatMenuOption)
L_0afb: Label #62
L_0afb: Label #64
L_0afb: Label #66
L_0afb: Label #68
L_0afb: ldarg.2
L_0afc: ldloc.s 18 (Verse.FloatMenuOption)
L_0afe: callvirt Void Add(Verse.FloatMenuOption)
L_0b03: Label #54
L_0b03: Label #59
L_0b03: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0b05: ldfld Verse.Pawn pawn
L_0b0a: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0b0f: brfalse Label #72
L_0b14: newobj Void .ctor()
L_0b19: stloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0b1b: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0b1d: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0b1f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_0b24: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0b26: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0b28: ldfld Verse.Pawn pawn
L_0b2d: callvirt Verse.Map get_Map()
L_0b32: ldfld Verse.ThingGrid thingGrid
L_0b37: ldloc.0
L_0b38: callvirt RimWorld.Apparel ThingAt[Apparel](IntVec3)
L_0b3d: stfld RimWorld.Apparel apparel
L_0b42: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0b44: ldfld RimWorld.Apparel apparel
L_0b49: brfalse Label #73
L_0b4e: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0b50: ldfld Verse.Pawn pawn
L_0b55: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0b57: ldfld RimWorld.Apparel apparel
L_0b5c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0b61: ldc.i4.3
L_0b62: ldc.i4.3
L_0b63: ldc.i4.0
L_0b64: ldc.i4.1
L_0b65: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_0b6a: brtrue Label #74
L_0b6f: ldstr "CannotWear"
L_0b74: ldc.i4.1
L_0b75: newarr System.Object
L_0b7a: dup
L_0b7b: ldc.i4.0
L_0b7c: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0b7e: ldfld RimWorld.Apparel apparel
L_0b83: callvirt System.String get_Label()
L_0b88: stelem.ref
L_0b89: call System.String Translate(System.String, System.Object[])
L_0b8e: ldstr " ("
L_0b93: ldstr "NoPath"
L_0b98: call System.String Translate(System.String)
L_0b9d: ldstr ")"
L_0ba2: call System.String Concat(System.String, System.String, System.String, System.String)
L_0ba7: ldnull
L_0ba8: ldc.i4.4
L_0ba9: ldnull
L_0baa: ldnull
L_0bab: ldc.r4 0
L_0bb0: ldnull
L_0bb1: ldnull
L_0bb2: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0bb7: stloc.s 21 (Verse.FloatMenuOption)
L_0bb9: br Label #75
L_0bbe: Label #74
L_0bbe: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0bc0: ldfld Verse.Pawn pawn
L_0bc5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0bc7: ldfld RimWorld.Apparel apparel
L_0bcc: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0bd1: ldc.i4.1
L_0bd2: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_0bd7: brtrue Label #76
L_0bdc: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0bde: ldfld Verse.Pawn pawn
L_0be3: callvirt Verse.Map get_Map()
L_0be8: ldfld Verse.AI.ReservationManager reservationManager
L_0bed: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0bef: ldfld RimWorld.Apparel apparel
L_0bf4: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0bf9: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0bfb: ldfld Verse.Pawn pawn
L_0c00: callvirt RimWorld.Faction get_Faction()
L_0c05: ldc.i4.1
L_0c06: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_0c0b: stloc.s 22 (Verse.Pawn)
L_0c0d: ldstr "CannotWear"
L_0c12: ldc.i4.1
L_0c13: newarr System.Object
L_0c18: dup
L_0c19: ldc.i4.0
L_0c1a: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0c1c: ldfld RimWorld.Apparel apparel
L_0c21: callvirt System.String get_Label()
L_0c26: stelem.ref
L_0c27: call System.String Translate(System.String, System.Object[])
L_0c2c: ldstr " ("
L_0c31: ldstr "ReservedBy"
L_0c36: ldc.i4.1
L_0c37: newarr System.Object
L_0c3c: dup
L_0c3d: ldc.i4.0
L_0c3e: ldloc.s 22 (Verse.Pawn)
L_0c40: callvirt System.String get_LabelShort()
L_0c45: stelem.ref
L_0c46: call System.String Translate(System.String, System.Object[])
L_0c4b: ldstr ")"
L_0c50: call System.String Concat(System.String, System.String, System.String, System.String)
L_0c55: ldnull
L_0c56: ldc.i4.4
L_0c57: ldnull
L_0c58: ldnull
L_0c59: ldc.r4 0
L_0c5e: ldnull
L_0c5f: ldnull
L_0c60: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0c65: stloc.s 21 (Verse.FloatMenuOption)
L_0c67: br Label #77
L_0c6c: Label #76
L_0c6c: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0c6e: ldfld Verse.Pawn pawn
L_0c73: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0c75: ldfld RimWorld.Apparel apparel
L_0c7a: ldfld Verse.ThingDef def
L_0c7f: call Boolean HasPartsToWear(Verse.Pawn, Verse.ThingDef)
L_0c84: brtrue Label #78
L_0c89: ldstr "CannotWear"
L_0c8e: ldc.i4.1
L_0c8f: newarr System.Object
L_0c94: dup
L_0c95: ldc.i4.0
L_0c96: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0c98: ldfld RimWorld.Apparel apparel
L_0c9d: callvirt System.String get_Label()
L_0ca2: stelem.ref
L_0ca3: call System.String Translate(System.String, System.Object[])
L_0ca8: ldstr " ("
L_0cad: ldstr "CannotWearBecauseOfMissingBodyParts"
L_0cb2: call System.String Translate(System.String)
L_0cb7: ldstr ")"
L_0cbc: call System.String Concat(System.String, System.String, System.String, System.String)
L_0cc1: ldnull
L_0cc2: ldc.i4.4
L_0cc3: ldnull
L_0cc4: ldnull
L_0cc5: ldc.r4 0
L_0cca: ldnull
L_0ccb: ldnull
L_0ccc: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0cd1: stloc.s 21 (Verse.FloatMenuOption)
L_0cd3: br Label #79
L_0cd8: Label #78
L_0cd8: ldstr "ForceWear"
L_0cdd: ldc.i4.1
L_0cde: newarr System.Object
L_0ce3: dup
L_0ce4: ldc.i4.0
L_0ce5: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0ce7: ldfld RimWorld.Apparel apparel
L_0cec: callvirt System.String get_LabelShort()
L_0cf1: stelem.ref
L_0cf2: call System.String Translate(System.String, System.Object[])
L_0cf7: ldloc.s 46 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B4)
L_0cf9: ldftn Void <>m__54D()
L_0cff: newobj Void .ctor(Object, IntPtr)
L_0d04: ldc.i4.5
L_0d05: ldnull
L_0d06: ldnull
L_0d07: ldc.r4 0
L_0d0c: ldnull
L_0d0d: ldnull
L_0d0e: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0d13: stloc.s 21 (Verse.FloatMenuOption)
L_0d15: Label #75
L_0d15: Label #77
L_0d15: Label #79
L_0d15: ldarg.2
L_0d16: ldloc.s 21 (Verse.FloatMenuOption)
L_0d18: callvirt Void Add(Verse.FloatMenuOption)
L_0d1d: Label #72
L_0d1d: Label #73
L_0d1d: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0d1f: ldfld Verse.Pawn pawn
L_0d24: callvirt Verse.Map get_Map()
L_0d29: callvirt Boolean get_IsPlayerHome()
L_0d2e: brtrue Label #80
L_0d33: newobj Void .ctor()
L_0d38: stloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0d3a: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0d3c: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0d3e: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_0d43: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0d45: ldloc.0
L_0d46: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0d48: ldfld Verse.Pawn pawn
L_0d4d: callvirt Verse.Map get_Map()
L_0d52: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_0d57: stfld Verse.Thing item
L_0d5c: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0d5e: ldfld Verse.Thing item
L_0d63: brfalse Label #81
L_0d68: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0d6a: ldfld Verse.Thing item
L_0d6f: ldfld Verse.ThingDef def
L_0d74: callvirt Boolean get_EverHaulable()
L_0d79: brfalse Label #82
L_0d7e: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0d80: ldfld Verse.Pawn pawn
L_0d85: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0d87: ldfld Verse.Thing item
L_0d8c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0d91: ldc.i4.3
L_0d92: ldc.i4.3
L_0d93: ldc.i4.0
L_0d94: ldc.i4.1
L_0d95: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_0d9a: brtrue Label #83
L_0d9f: ldarg.2
L_0da0: ldstr "CannotPickUp"
L_0da5: ldc.i4.1
L_0da6: newarr System.Object
L_0dab: dup
L_0dac: ldc.i4.0
L_0dad: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0daf: ldfld Verse.Thing item
L_0db4: callvirt System.String get_Label()
L_0db9: stelem.ref
L_0dba: call System.String Translate(System.String, System.Object[])
L_0dbf: ldstr " ("
L_0dc4: ldstr "NoPath"
L_0dc9: call System.String Translate(System.String)
L_0dce: ldstr ")"
L_0dd3: call System.String Concat(System.String, System.String, System.String, System.String)
L_0dd8: ldnull
L_0dd9: ldc.i4.4
L_0dda: ldnull
L_0ddb: ldnull
L_0ddc: ldc.r4 0
L_0de1: ldnull
L_0de2: ldnull
L_0de3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0de8: callvirt Void Add(Verse.FloatMenuOption)
L_0ded: br Label #84
L_0df2: Label #83
L_0df2: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0df4: ldfld Verse.Pawn pawn
L_0df9: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0dfb: ldfld Verse.Thing item
L_0e00: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0e05: ldc.i4.1
L_0e06: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_0e0b: brtrue Label #85
L_0e10: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0e12: ldfld Verse.Pawn pawn
L_0e17: callvirt Verse.Map get_Map()
L_0e1c: ldfld Verse.AI.ReservationManager reservationManager
L_0e21: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0e23: ldfld Verse.Thing item
L_0e28: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0e2d: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0e2f: ldfld Verse.Pawn pawn
L_0e34: callvirt RimWorld.Faction get_Faction()
L_0e39: ldc.i4.1
L_0e3a: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_0e3f: stloc.s 23 (Verse.Pawn)
L_0e41: ldarg.2
L_0e42: ldstr "CannotPickUp"
L_0e47: ldc.i4.1
L_0e48: newarr System.Object
L_0e4d: dup
L_0e4e: ldc.i4.0
L_0e4f: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0e51: ldfld Verse.Thing item
L_0e56: callvirt System.String get_Label()
L_0e5b: stelem.ref
L_0e5c: call System.String Translate(System.String, System.Object[])
L_0e61: ldstr " ("
L_0e66: ldstr "ReservedBy"
L_0e6b: ldc.i4.1
L_0e6c: newarr System.Object
L_0e71: dup
L_0e72: ldc.i4.0
L_0e73: ldloc.s 23 (Verse.Pawn)
L_0e75: callvirt System.String get_LabelShort()
L_0e7a: stelem.ref
L_0e7b: call System.String Translate(System.String, System.Object[])
L_0e80: ldstr ")"
L_0e85: call System.String Concat(System.String, System.String, System.String, System.String)
L_0e8a: ldnull
L_0e8b: ldc.i4.4
L_0e8c: ldnull
L_0e8d: ldnull
L_0e8e: ldc.r4 0
L_0e93: ldnull
L_0e94: ldnull
L_0e95: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0e9a: callvirt Void Add(Verse.FloatMenuOption)
L_0e9f: br Label #86
L_0ea4: Label #85
L_0ea4: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0ea6: ldfld Verse.Pawn pawn
L_0eab: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0ead: ldfld Verse.Thing item
L_0eb2: ldc.i4.1
L_0eb3: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing, Int32)
L_0eb8: brfalse Label #87
L_0ebd: ldarg.2
L_0ebe: ldstr "CannotPickUp"
L_0ec3: ldc.i4.1
L_0ec4: newarr System.Object
L_0ec9: dup
L_0eca: ldc.i4.0
L_0ecb: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0ecd: ldfld Verse.Thing item
L_0ed2: callvirt System.String get_Label()
L_0ed7: stelem.ref
L_0ed8: call System.String Translate(System.String, System.Object[])
L_0edd: ldstr " ("
L_0ee2: ldstr "TooHeavy"
L_0ee7: call System.String Translate(System.String)
L_0eec: ldstr ")"
L_0ef1: call System.String Concat(System.String, System.String, System.String, System.String)
L_0ef6: ldnull
L_0ef7: ldc.i4.4
L_0ef8: ldnull
L_0ef9: ldnull
L_0efa: ldc.r4 0
L_0eff: ldnull
L_0f00: ldnull
L_0f01: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0f06: callvirt Void Add(Verse.FloatMenuOption)
L_0f0b: br Label #88
L_0f10: Label #87
L_0f10: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0f12: ldfld Verse.Thing item
L_0f17: ldfld System.Int32 stackCount
L_0f1c: ldc.i4.1
L_0f1d: bne.un Label #89
L_0f22: ldarg.2
L_0f23: ldstr "PickUp"
L_0f28: ldc.i4.1
L_0f29: newarr System.Object
L_0f2e: dup
L_0f2f: ldc.i4.0
L_0f30: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0f32: ldfld Verse.Thing item
L_0f37: callvirt System.String get_Label()
L_0f3c: stelem.ref
L_0f3d: call System.String Translate(System.String, System.Object[])
L_0f42: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0f44: ldftn Void <>m__54E()
L_0f4a: newobj Void .ctor(Object, IntPtr)
L_0f4f: ldc.i4.5
L_0f50: ldnull
L_0f51: ldnull
L_0f52: ldc.r4 0
L_0f57: ldnull
L_0f58: ldnull
L_0f59: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0f5e: callvirt Void Add(Verse.FloatMenuOption)
L_0f63: br Label #90
L_0f68: Label #89
L_0f68: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_0f6a: ldfld Verse.Pawn pawn
L_0f6f: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0f71: ldfld Verse.Thing item
L_0f76: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0f78: ldfld Verse.Thing item
L_0f7d: ldfld System.Int32 stackCount
L_0f82: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing, Int32)
L_0f87: brfalse Label #91
L_0f8c: ldarg.2
L_0f8d: ldstr "CannotPickUpAll"
L_0f92: ldc.i4.1
L_0f93: newarr System.Object
L_0f98: dup
L_0f99: ldc.i4.0
L_0f9a: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0f9c: ldfld Verse.Thing item
L_0fa1: callvirt System.String get_Label()
L_0fa6: stelem.ref
L_0fa7: call System.String Translate(System.String, System.Object[])
L_0fac: ldstr " ("
L_0fb1: ldstr "TooHeavy"
L_0fb6: call System.String Translate(System.String)
L_0fbb: ldstr ")"
L_0fc0: call System.String Concat(System.String, System.String, System.String, System.String)
L_0fc5: ldnull
L_0fc6: ldc.i4.4
L_0fc7: ldnull
L_0fc8: ldnull
L_0fc9: ldc.r4 0
L_0fce: ldnull
L_0fcf: ldnull
L_0fd0: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_0fd5: callvirt Void Add(Verse.FloatMenuOption)
L_0fda: br Label #92
L_0fdf: Label #91
L_0fdf: ldarg.2
L_0fe0: ldstr "PickUpAll"
L_0fe5: ldc.i4.1
L_0fe6: newarr System.Object
L_0feb: dup
L_0fec: ldc.i4.0
L_0fed: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_0fef: ldfld Verse.Thing item
L_0ff4: callvirt System.String get_Label()
L_0ff9: stelem.ref
L_0ffa: call System.String Translate(System.String, System.Object[])
L_0fff: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_1001: ldftn Void <>m__54F()
L_1007: newobj Void .ctor(Object, IntPtr)
L_100c: ldc.i4.5
L_100d: ldnull
L_100e: ldnull
L_100f: ldc.r4 0
L_1014: ldnull
L_1015: ldnull
L_1016: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_101b: callvirt Void Add(Verse.FloatMenuOption)
L_1020: Label #92
L_1020: ldarg.2
L_1021: ldstr "PickUpSome"
L_1026: ldc.i4.1
L_1027: newarr System.Object
L_102c: dup
L_102d: ldc.i4.0
L_102e: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_1030: ldfld Verse.Thing item
L_1035: callvirt System.String get_Label()
L_103a: stelem.ref
L_103b: call System.String Translate(System.String, System.Object[])
L_1040: ldloc.s 47 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B5)
L_1042: ldftn Void <>m__550()
L_1048: newobj Void .ctor(Object, IntPtr)
L_104d: ldc.i4.5
L_104e: ldnull
L_104f: ldnull
L_1050: ldc.r4 0
L_1055: ldnull
L_1056: ldnull
L_1057: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_105c: callvirt Void Add(Verse.FloatMenuOption)
L_1061: Label #80
L_1061: Label #81
L_1061: Label #82
L_1061: Label #84
L_1061: Label #86
L_1061: Label #88
L_1061: Label #90
L_1061: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1063: ldfld Verse.Pawn pawn
L_1068: callvirt Verse.Map get_Map()
L_106d: callvirt Boolean get_IsPlayerHome()
L_1072: brtrue Label #93
L_1077: newobj Void .ctor()
L_107c: stloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_107e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1080: ldloc.0
L_1081: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1083: ldfld Verse.Pawn pawn
L_1088: callvirt Verse.Map get_Map()
L_108d: call Verse.Thing GetFirstItem(IntVec3, Verse.Map)
L_1092: stfld Verse.Thing item
L_1097: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1099: ldfld Verse.Thing item
L_109e: brfalse Label #94
L_10a3: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_10a5: ldfld Verse.Thing item
L_10aa: ldfld Verse.ThingDef def
L_10af: callvirt Boolean get_EverHaulable()
L_10b4: brfalse Label #95
L_10b9: newobj Void .ctor()
L_10be: stloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_10c0: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_10c2: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_10c4: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_10c9: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_10cb: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_10cd: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6 <>f__ref$950
L_10d2: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_10d4: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_10d6: ldfld Verse.Pawn pawn
L_10db: callvirt Verse.Map get_Map()
L_10e0: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_10e2: ldfld Verse.Pawn pawn
L_10e7: callvirt RimWorld.Faction get_Faction()
L_10ec: call Verse.Pawn PackAnimalWithTheMostFreeSpace(Verse.Map, RimWorld.Faction)
L_10f1: stfld Verse.Pawn bestPackAnimal
L_10f6: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_10f8: ldfld Verse.Pawn bestPackAnimal
L_10fd: brfalse Label #96
L_1102: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1104: ldfld Verse.Pawn pawn
L_1109: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_110b: ldfld Verse.Thing item
L_1110: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1115: ldc.i4.3
L_1116: ldc.i4.3
L_1117: ldc.i4.0
L_1118: ldc.i4.1
L_1119: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_111e: brtrue Label #97
L_1123: ldarg.2
L_1124: ldstr "CannotGiveToPackAnimal"
L_1129: ldc.i4.1
L_112a: newarr System.Object
L_112f: dup
L_1130: ldc.i4.0
L_1131: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1133: ldfld Verse.Thing item
L_1138: callvirt System.String get_Label()
L_113d: stelem.ref
L_113e: call System.String Translate(System.String, System.Object[])
L_1143: ldstr " ("
L_1148: ldstr "NoPath"
L_114d: call System.String Translate(System.String)
L_1152: ldstr ")"
L_1157: call System.String Concat(System.String, System.String, System.String, System.String)
L_115c: ldnull
L_115d: ldc.i4.4
L_115e: ldnull
L_115f: ldnull
L_1160: ldc.r4 0
L_1165: ldnull
L_1166: ldnull
L_1167: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_116c: callvirt Void Add(Verse.FloatMenuOption)
L_1171: br Label #98
L_1176: Label #97
L_1176: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1178: ldfld Verse.Pawn pawn
L_117d: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_117f: ldfld Verse.Thing item
L_1184: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1189: ldc.i4.1
L_118a: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_118f: brtrue Label #99
L_1194: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1196: ldfld Verse.Pawn pawn
L_119b: callvirt Verse.Map get_Map()
L_11a0: ldfld Verse.AI.ReservationManager reservationManager
L_11a5: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_11a7: ldfld Verse.Thing item
L_11ac: call LocalTargetInfo op_Implicit(Verse.Thing)
L_11b1: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_11b3: ldfld Verse.Pawn pawn
L_11b8: callvirt RimWorld.Faction get_Faction()
L_11bd: ldc.i4.1
L_11be: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_11c3: stloc.s 24 (Verse.Pawn)
L_11c5: ldarg.2
L_11c6: ldstr "CannotGiveToPackAnimal"
L_11cb: ldc.i4.1
L_11cc: newarr System.Object
L_11d1: dup
L_11d2: ldc.i4.0
L_11d3: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_11d5: ldfld Verse.Thing item
L_11da: callvirt System.String get_Label()
L_11df: stelem.ref
L_11e0: call System.String Translate(System.String, System.Object[])
L_11e5: ldstr " ("
L_11ea: ldstr "ReservedBy"
L_11ef: ldc.i4.1
L_11f0: newarr System.Object
L_11f5: dup
L_11f6: ldc.i4.0
L_11f7: ldloc.s 24 (Verse.Pawn)
L_11f9: callvirt System.String get_LabelShort()
L_11fe: stelem.ref
L_11ff: call System.String Translate(System.String, System.Object[])
L_1204: ldstr ")"
L_1209: call System.String Concat(System.String, System.String, System.String, System.String)
L_120e: ldnull
L_120f: ldc.i4.4
L_1210: ldnull
L_1211: ldnull
L_1212: ldc.r4 0
L_1217: ldnull
L_1218: ldnull
L_1219: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_121e: callvirt Void Add(Verse.FloatMenuOption)
L_1223: br Label #100
L_1228: Label #99
L_1228: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_122a: ldfld Verse.Pawn bestPackAnimal
L_122f: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1231: ldfld Verse.Thing item
L_1236: ldc.i4.1
L_1237: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing, Int32)
L_123c: brfalse Label #101
L_1241: ldarg.2
L_1242: ldstr "CannotGiveToPackAnimal"
L_1247: ldc.i4.1
L_1248: newarr System.Object
L_124d: dup
L_124e: ldc.i4.0
L_124f: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1251: ldfld Verse.Thing item
L_1256: callvirt System.String get_Label()
L_125b: stelem.ref
L_125c: call System.String Translate(System.String, System.Object[])
L_1261: ldstr " ("
L_1266: ldstr "TooHeavy"
L_126b: call System.String Translate(System.String)
L_1270: ldstr ")"
L_1275: call System.String Concat(System.String, System.String, System.String, System.String)
L_127a: ldnull
L_127b: ldc.i4.4
L_127c: ldnull
L_127d: ldnull
L_127e: ldc.r4 0
L_1283: ldnull
L_1284: ldnull
L_1285: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_128a: callvirt Void Add(Verse.FloatMenuOption)
L_128f: br Label #102
L_1294: Label #101
L_1294: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1296: ldfld Verse.Thing item
L_129b: ldfld System.Int32 stackCount
L_12a0: ldc.i4.1
L_12a1: bne.un Label #103
L_12a6: ldarg.2
L_12a7: ldstr "GiveToPackAnimal"
L_12ac: ldc.i4.1
L_12ad: newarr System.Object
L_12b2: dup
L_12b3: ldc.i4.0
L_12b4: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_12b6: ldfld Verse.Thing item
L_12bb: callvirt System.String get_Label()
L_12c0: stelem.ref
L_12c1: call System.String Translate(System.String, System.Object[])
L_12c6: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_12c8: ldftn Void <>m__551()
L_12ce: newobj Void .ctor(Object, IntPtr)
L_12d3: ldc.i4.5
L_12d4: ldnull
L_12d5: ldnull
L_12d6: ldc.r4 0
L_12db: ldnull
L_12dc: ldnull
L_12dd: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_12e2: callvirt Void Add(Verse.FloatMenuOption)
L_12e7: br Label #104
L_12ec: Label #103
L_12ec: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_12ee: ldfld Verse.Pawn bestPackAnimal
L_12f3: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_12f5: ldfld Verse.Thing item
L_12fa: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_12fc: ldfld Verse.Thing item
L_1301: ldfld System.Int32 stackCount
L_1306: call Boolean WillBeOverEncumberedAfterPickingUp(Verse.Pawn, Verse.Thing, Int32)
L_130b: brfalse Label #105
L_1310: ldarg.2
L_1311: ldstr "CannotGiveToPackAnimalAll"
L_1316: ldc.i4.1
L_1317: newarr System.Object
L_131c: dup
L_131d: ldc.i4.0
L_131e: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1320: ldfld Verse.Thing item
L_1325: callvirt System.String get_Label()
L_132a: stelem.ref
L_132b: call System.String Translate(System.String, System.Object[])
L_1330: ldstr " ("
L_1335: ldstr "TooHeavy"
L_133a: call System.String Translate(System.String)
L_133f: ldstr ")"
L_1344: call System.String Concat(System.String, System.String, System.String, System.String)
L_1349: ldnull
L_134a: ldc.i4.4
L_134b: ldnull
L_134c: ldnull
L_134d: ldc.r4 0
L_1352: ldnull
L_1353: ldnull
L_1354: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_1359: callvirt Void Add(Verse.FloatMenuOption)
L_135e: br Label #106
L_1363: Label #105
L_1363: ldarg.2
L_1364: ldstr "GiveToPackAnimalAll"
L_1369: ldc.i4.1
L_136a: newarr System.Object
L_136f: dup
L_1370: ldc.i4.0
L_1371: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_1373: ldfld Verse.Thing item
L_1378: callvirt System.String get_Label()
L_137d: stelem.ref
L_137e: call System.String Translate(System.String, System.Object[])
L_1383: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_1385: ldftn Void <>m__552()
L_138b: newobj Void .ctor(Object, IntPtr)
L_1390: ldc.i4.5
L_1391: ldnull
L_1392: ldnull
L_1393: ldc.r4 0
L_1398: ldnull
L_1399: ldnull
L_139a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_139f: callvirt Void Add(Verse.FloatMenuOption)
L_13a4: Label #106
L_13a4: ldarg.2
L_13a5: ldstr "GiveToPackAnimalSome"
L_13aa: ldc.i4.1
L_13ab: newarr System.Object
L_13b0: dup
L_13b1: ldc.i4.0
L_13b2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B6)
L_13b4: ldfld Verse.Thing item
L_13b9: callvirt System.String get_Label()
L_13be: stelem.ref
L_13bf: call System.String Translate(System.String, System.Object[])
L_13c4: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B7)
L_13c6: ldftn Void <>m__553()
L_13cc: newobj Void .ctor(Object, IntPtr)
L_13d1: ldc.i4.5
L_13d2: ldnull
L_13d3: ldnull
L_13d4: ldc.r4 0
L_13d9: ldnull
L_13da: ldnull
L_13db: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_13e0: callvirt Void Add(Verse.FloatMenuOption)
L_13e5: Label #93
L_13e5: Label #94
L_13e5: Label #95
L_13e5: Label #96
L_13e5: Label #98
L_13e5: Label #100
L_13e5: Label #102
L_13e5: Label #104
L_13e5: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_13e7: ldfld Verse.Pawn pawn
L_13ec: callvirt Verse.Map get_Map()
L_13f1: callvirt Boolean get_IsPlayerHome()
L_13f6: brtrue Label #107
L_13fb: ldarg.0
L_13fc: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_13fe: ldfld Verse.Pawn pawn
L_1403: call RimWorld.TargetingParameters ForRescue(Verse.Pawn)
L_1408: ldc.i4.1
L_1409: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters, Boolean)
L_140e: callvirt IEnumerator`1 GetEnumerator()
L_1413: stloc.s 26 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1415: br Label #108
L_141a: Label #118
L_141a: ldloc.s 26 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_141c: callvirt LocalTargetInfo get_Current()
L_1421: stloc.s 25 (Verse.LocalTargetInfo)
L_1423: newobj Void .ctor()
L_1428: stloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_142a: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_142c: ldloca.s 25 (Verse.LocalTargetInfo)
L_142e: call Verse.Thing get_Thing()
L_1433: castclass Verse.Pawn
L_1438: stfld Verse.Pawn p
L_143d: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_143f: ldfld Verse.Pawn p
L_1444: callvirt RimWorld.Faction get_Faction()
L_1449: call RimWorld.Faction get_OfPlayer()
L_144e: beq Label #109
L_1453: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_1455: ldfld Verse.Pawn p
L_145a: callvirt RimWorld.Faction get_HostFaction()
L_145f: call RimWorld.Faction get_OfPlayer()
L_1464: beq Label #110
L_1469: br Label #111
L_146e: Label #109
L_146e: Label #110
L_146e: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1470: ldfld Verse.Pawn pawn
L_1475: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_1477: ldfld Verse.Pawn p
L_147c: call LocalTargetInfo op_Implicit(Verse.Thing)
L_1481: ldc.i4.3
L_1482: ldc.i4.3
L_1483: ldc.i4.0
L_1484: ldc.i4.1
L_1485: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_148a: brtrue Label #112
L_148f: ldarg.2
L_1490: ldstr "CannotCarryToExit"
L_1495: ldc.i4.1
L_1496: newarr System.Object
L_149b: dup
L_149c: ldc.i4.0
L_149d: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_149f: ldfld Verse.Pawn p
L_14a4: callvirt System.String get_Label()
L_14a9: stelem.ref
L_14aa: call System.String Translate(System.String, System.Object[])
L_14af: ldstr " ("
L_14b4: ldstr "NoPath"
L_14b9: call System.String Translate(System.String)
L_14be: ldstr ")"
L_14c3: call System.String Concat(System.String, System.String, System.String, System.String)
L_14c8: ldnull
L_14c9: ldc.i4.4
L_14ca: ldnull
L_14cb: ldnull
L_14cc: ldc.r4 0
L_14d1: ldnull
L_14d2: ldnull
L_14d3: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_14d8: callvirt Void Add(Verse.FloatMenuOption)
L_14dd: br Label #113
L_14e2: Label #112
L_14e2: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_14e4: ldfld Verse.Pawn pawn
L_14e9: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_14eb: ldfld Verse.Pawn p
L_14f0: call LocalTargetInfo op_Implicit(Verse.Thing)
L_14f5: ldc.i4.1
L_14f6: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_14fb: brtrue Label #114
L_1500: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1502: ldfld Verse.Pawn pawn
L_1507: callvirt Verse.Map get_Map()
L_150c: ldfld Verse.AI.ReservationManager reservationManager
L_1511: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_1513: ldfld Verse.Pawn p
L_1518: call LocalTargetInfo op_Implicit(Verse.Thing)
L_151d: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_151f: ldfld Verse.Pawn pawn
L_1524: callvirt RimWorld.Faction get_Faction()
L_1529: ldc.i4.1
L_152a: callvirt Verse.Pawn FirstReserverOf(LocalTargetInfo, RimWorld.Faction, Boolean)
L_152f: stloc.s 27 (Verse.Pawn)
L_1531: ldarg.2
L_1532: ldstr "CannotCarryToExit"
L_1537: ldc.i4.1
L_1538: newarr System.Object
L_153d: dup
L_153e: ldc.i4.0
L_153f: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_1541: ldfld Verse.Pawn p
L_1546: callvirt System.String get_Label()
L_154b: stelem.ref
L_154c: call System.String Translate(System.String, System.Object[])
L_1551: ldstr " ("
L_1556: ldstr "ReservedBy"
L_155b: ldc.i4.1
L_155c: newarr System.Object
L_1561: dup
L_1562: ldc.i4.0
L_1563: ldloc.s 27 (Verse.Pawn)
L_1565: callvirt System.String get_LabelShort()
L_156a: stelem.ref
L_156b: call System.String Translate(System.String, System.Object[])
L_1570: ldstr ")"
L_1575: call System.String Concat(System.String, System.String, System.String, System.String)
L_157a: ldnull
L_157b: ldc.i4.4
L_157c: ldnull
L_157d: ldnull
L_157e: ldc.r4 0
L_1583: ldnull
L_1584: ldnull
L_1585: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_158a: callvirt Void Add(Verse.FloatMenuOption)
L_158f: br Label #115
L_1594: Label #114
L_1594: newobj Void .ctor()
L_1599: stloc.s 51 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B9)
L_159b: ldloc.s 51 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B9)
L_159d: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_159f: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_15a4: ldloc.s 51 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B9)
L_15a6: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_15a8: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8 <>f__ref$952
L_15ad: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_15af: ldfld Verse.Pawn pawn
L_15b4: ldloc.s 51 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B9)
L_15b6: ldflda Verse.IntVec3 exitSpot
L_15bb: ldc.i4.1
L_15bc: call Boolean TryFindBestExitSpot(Verse.Pawn, IntVec3 ByRef, TraverseMode)
L_15c1: brtrue Label #116
L_15c6: ldarg.2
L_15c7: ldstr "CannotCarryToExit"
L_15cc: ldc.i4.1
L_15cd: newarr System.Object
L_15d2: dup
L_15d3: ldc.i4.0
L_15d4: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_15d6: ldfld Verse.Pawn p
L_15db: callvirt System.String get_Label()
L_15e0: stelem.ref
L_15e1: call System.String Translate(System.String, System.Object[])
L_15e6: ldstr " ("
L_15eb: ldstr "NoPath"
L_15f0: call System.String Translate(System.String)
L_15f5: ldstr ")"
L_15fa: call System.String Concat(System.String, System.String, System.String, System.String)
L_15ff: ldnull
L_1600: ldc.i4.4
L_1601: ldnull
L_1602: ldnull
L_1603: ldc.r4 0
L_1608: ldnull
L_1609: ldnull
L_160a: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_160f: callvirt Void Add(Verse.FloatMenuOption)
L_1614: br Label #117
L_1619: Label #116
L_1619: ldarg.2
L_161a: ldstr "CarryToExit"
L_161f: ldc.i4.1
L_1620: newarr System.Object
L_1625: dup
L_1626: ldc.i4.0
L_1627: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B8)
L_1629: ldfld Verse.Pawn p
L_162e: callvirt System.String get_Label()
L_1633: stelem.ref
L_1634: call System.String Translate(System.String, System.Object[])
L_1639: ldloc.s 51 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3B9)
L_163b: ldftn Void <>m__554()
L_1641: newobj Void .ctor(Object, IntPtr)
L_1646: ldc.i4.5
L_1647: ldnull
L_1648: ldnull
L_1649: ldc.r4 0
L_164e: ldnull
L_164f: ldnull
L_1650: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_1655: callvirt Void Add(Verse.FloatMenuOption)
L_165a: Label #108
L_165a: Label #111
L_165a: Label #113
L_165a: Label #115
L_165a: Label #117
L_165a: ldloc.s 26 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_165c: callvirt Boolean MoveNext()
L_1661: brtrue Label #118
L_1666: leave Label #119
L_166b: ldloc.s 26 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_166d: brtrue Label #120
L_1672: endfinally
L_1673: Label #120
L_1673: ldloc.s 26 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1675: callvirt Void Dispose()
L_167a: endfinally
L_167b: Label #107
L_167b: Label #119
L_167b: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_167d: ldfld Verse.Pawn pawn
L_1682: ldfld Verse.Pawn_EquipmentTracker equipment
L_1687: brfalse Label #121
L_168c: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_168e: ldfld Verse.Pawn pawn
L_1693: ldfld Verse.Pawn_EquipmentTracker equipment
L_1698: callvirt Verse.ThingWithComps get_Primary()
L_169d: brfalse Label #122
L_16a2: ldarg.0
L_16a3: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_16a5: ldfld Verse.Pawn pawn
L_16aa: call RimWorld.TargetingParameters ForSelf(Verse.Pawn)
L_16af: ldc.i4.1
L_16b0: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters, Boolean)
L_16b5: call Boolean Any[LocalTargetInfo](IEnumerable`1)
L_16ba: brfalse Label #123
L_16bf: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_16c1: ldftn Void <>m__555()
L_16c7: newobj Void .ctor(Object, IntPtr)
L_16cc: stloc.s 28 (System.Action)
L_16ce: ldarg.2
L_16cf: ldstr "Drop"
L_16d4: ldc.i4.1
L_16d5: newarr System.Object
L_16da: dup
L_16db: ldc.i4.0
L_16dc: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_16de: ldfld Verse.Pawn pawn
L_16e3: ldfld Verse.Pawn_EquipmentTracker equipment
L_16e8: callvirt Verse.ThingWithComps get_Primary()
L_16ed: callvirt System.String get_Label()
L_16f2: stelem.ref
L_16f3: call System.String Translate(System.String, System.Object[])
L_16f8: ldloc.s 28 (System.Action)
L_16fa: ldc.i4.4
L_16fb: ldnull
L_16fc: ldnull
L_16fd: ldc.r4 0
L_1702: ldnull
L_1703: ldnull
L_1704: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_1709: callvirt Void Add(Verse.FloatMenuOption)
L_170e: Label #121
L_170e: Label #122
L_170e: Label #123
L_170e: ldarg.0
L_170f: call RimWorld.TargetingParameters ForTrade()
L_1714: ldc.i4.1
L_1715: call IEnumerable`1 TargetsAt(Vector3, RimWorld.TargetingParameters, Boolean)
L_171a: callvirt IEnumerator`1 GetEnumerator()
L_171f: stloc.s 30 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1721: br Label #124
L_1726: Label #130
L_1726: ldloc.s 30 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_1728: callvirt LocalTargetInfo get_Current()
L_172d: stloc.s 29 (Verse.LocalTargetInfo)
L_172f: ldloc.s 29 (Verse.LocalTargetInfo)
L_1731: stloc.s 31 (Verse.LocalTargetInfo)
L_1733: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1735: ldfld Verse.Pawn pawn
L_173a: ldloc.s 31 (Verse.LocalTargetInfo)
L_173c: ldc.i4.1
L_173d: ldc.i4.3
L_173e: ldc.i4.0
L_173f: ldc.i4.1
L_1740: call Boolean CanReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Boolean, TraverseMode)
L_1745: brtrue Label #125
L_174a: ldarg.2
L_174b: ldstr "CannotTrade"
L_1750: call System.String Translate(System.String)
L_1755: ldstr " ("
L_175a: ldstr "NoPath"
L_175f: call System.String Translate(System.String)
L_1764: ldstr ")"
L_1769: call System.String Concat(System.String, System.String, System.String, System.String)
L_176e: ldnull
L_176f: ldc.i4.4
L_1770: ldnull
L_1771: ldnull
L_1772: ldc.r4 0
L_1777: ldnull
L_1778: ldnull
L_1779: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_177e: callvirt Void Add(Verse.FloatMenuOption)
L_1783: br Label #126
L_1788: Label #125
L_1788: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_178a: ldfld Verse.Pawn pawn
L_178f: ldloca.s 31 (Verse.LocalTargetInfo)
L_1791: call Verse.Thing get_Thing()
L_1796: call LocalTargetInfo op_Implicit(Verse.Thing)
L_179b: ldc.i4.1
L_179c: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_17a1: brtrue Label #127
L_17a6: ldarg.2
L_17a7: ldstr "CannotTrade"
L_17ac: call System.String Translate(System.String)
L_17b1: ldstr " ("
L_17b6: ldstr "Reserved"
L_17bb: call System.String Translate(System.String)
L_17c0: ldstr ")"
L_17c5: call System.String Concat(System.String, System.String, System.String, System.String)
L_17ca: ldnull
L_17cb: ldc.i4.4
L_17cc: ldnull
L_17cd: ldnull
L_17ce: ldc.r4 0
L_17d3: ldnull
L_17d4: ldnull
L_17d5: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_17da: callvirt Void Add(Verse.FloatMenuOption)
L_17df: br Label #128
L_17e4: Label #127
L_17e4: newobj Void .ctor()
L_17e9: stloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_17eb: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_17ed: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_17ef: stfld RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE <>f__ref$942
L_17f4: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_17f6: ldloca.s 31 (Verse.LocalTargetInfo)
L_17f8: call Verse.Thing get_Thing()
L_17fd: castclass Verse.Pawn
L_1802: stfld Verse.Pawn pTarg
L_1807: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_1809: ldftn Void <>m__556()
L_180f: newobj Void .ctor(Object, IntPtr)
L_1814: stloc.s 32 (System.Action)
L_1816: ldsfld System.String Empty
L_181b: stloc.s 33 (System.String)
L_181d: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_181f: ldfld Verse.Pawn pTarg
L_1824: callvirt RimWorld.Faction get_Faction()
L_1829: brfalse Label #129
L_182e: ldstr " ("
L_1833: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_1835: ldfld Verse.Pawn pTarg
L_183a: callvirt RimWorld.Faction get_Faction()
L_183f: callvirt System.String get_Name()
L_1844: ldstr ")"
L_1849: call System.String Concat(System.String, System.String, System.String)
L_184e: stloc.s 33 (System.String)
L_1850: Label #129
L_1850: ldarg.2
L_1851: ldloca.s 31 (Verse.LocalTargetInfo)
L_1853: call Verse.Thing get_Thing()
L_1858: stloc.s 53 (Verse.Thing)
L_185a: ldstr "TradeWith"
L_185f: ldc.i4.1
L_1860: newarr System.Object
L_1865: dup
L_1866: ldc.i4.0
L_1867: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_1869: ldfld Verse.Pawn pTarg
L_186e: callvirt System.String get_LabelShort()
L_1873: ldstr ", "
L_1878: ldloc.s 52 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3BA)
L_187a: ldfld Verse.Pawn pTarg
L_187f: callvirt RimWorld.TraderKindDef get_TraderKind()
L_1884: ldfld System.String label
L_1889: call System.String Concat(System.String, System.String, System.String)
L_188e: stelem.ref
L_188f: call System.String Translate(System.String, System.Object[])
L_1894: ldloc.s 33 (System.String)
L_1896: call System.String Concat(System.String, System.String)
L_189b: ldloc.s 32 (System.Action)
L_189d: ldc.i4.7
L_189e: ldnull
L_189f: ldloc.s 53 (Verse.Thing)
L_18a1: ldc.r4 0
L_18a6: ldnull
L_18a7: ldnull
L_18a8: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_18ad: callvirt Void Add(Verse.FloatMenuOption)
L_18b2: Label #124
L_18b2: Label #126
L_18b2: Label #128
L_18b2: ldloc.s 30 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_18b4: callvirt Boolean MoveNext()
L_18b9: brtrue Label #130
L_18be: leave Label #131
L_18c3: ldloc.s 30 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_18c5: brtrue Label #132
L_18ca: endfinally
L_18cb: Label #132
L_18cb: ldloc.s 30 (System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
L_18cd: callvirt Void Dispose()
L_18d2: endfinally
L_18d3: Label #131
L_18d3: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_18d5: ldfld Verse.Pawn pawn
L_18da: callvirt Verse.Map get_Map()
L_18df: ldfld Verse.ThingGrid thingGrid
L_18e4: ldloc.0
L_18e5: callvirt IEnumerable`1 ThingsAt(IntVec3)
L_18ea: callvirt IEnumerator`1 GetEnumerator()
L_18ef: stloc.s 35 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_18f1: br Label #133
L_18f6: Label #138
L_18f6: ldloc.s 35 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_18f8: callvirt Verse.Thing get_Current()
L_18fd: stloc.s 34 (Verse.Thing)
L_18ff: ldloc.s 34 (Verse.Thing)
L_1901: ldloc.s 38 (RimWorld.FloatMenuMakerMap+<AddHumanlikeOrders>c__AnonStorey3AE)
L_1903: ldfld Verse.Pawn pawn
L_1908: callvirt IEnumerable`1 GetFloatMenuOptions(Verse.Pawn)
L_190d: callvirt IEnumerator`1 GetEnumerator()
L_1912: stloc.s 37 (System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1914: br Label #134
L_1919: Label #135
L_1919: ldloc.s 37 (System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_191b: callvirt Verse.FloatMenuOption get_Current()
L_1920: stloc.s 36 (Verse.FloatMenuOption)
L_1922: ldarg.2
L_1923: ldloc.s 36 (Verse.FloatMenuOption)
L_1925: callvirt Void Add(Verse.FloatMenuOption)
L_192a: Label #134
L_192a: ldloc.s 37 (System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_192c: callvirt Boolean MoveNext()
L_1931: brtrue Label #135
L_1936: leave Label #136
L_193b: ldloc.s 37 (System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_193d: brtrue Label #137
L_1942: endfinally
L_1943: Label #137
L_1943: ldloc.s 37 (System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
L_1945: callvirt Void Dispose()
L_194a: endfinally
L_194b: Label #133
L_194b: Label #136
L_194b: ldloc.s 35 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_194d: callvirt Boolean MoveNext()
L_1952: brtrue Label #138
L_1957: leave Label #139
L_195c: ldloc.s 35 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_195e: brtrue Label #140
L_1963: endfinally
L_1964: Label #140
L_1964: ldloc.s 35 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
L_1966: callvirt Void Dispose()
L_196b: endfinally
L_196c: Label #139
L_196c: br Label #0
L_1971: Label #0
L_1971: ldarga 2
L_1977: ldarg 1
L_197d: ldarg 0
L_1983: call Void AddHumanlikeOrdersPostfix(System.Collections.Generic.List`1[Verse.FloatMenuOption] ByRef, Verse.Pawn, Vector3)
L_1988: ret
DONE

PATCHING Verse.Pawn Void SetFaction(RimWorld.Faction, Verse.Pawn)
L_0000: Local var #0 Verse.AI.Group.Lord
L_0000: Local var #1 RimWorld.MedicalCareCategory
L_0000: ldarg.1
L_0001: ldarg.0
L_0002: call RimWorld.Faction get_Faction()
L_0007: bne.un Label #2
L_000c: ldc.i4.4
L_000d: newarr System.Object
L_0012: dup
L_0013: ldc.i4.0
L_0014: ldstr "Used SetFaction to change "
L_0019: stelem.ref
L_001a: dup
L_001b: ldc.i4.1
L_001c: ldarg.0
L_001d: stelem.ref
L_001e: dup
L_001f: ldc.i4.2
L_0020: ldstr " to same faction "
L_0025: stelem.ref
L_0026: dup
L_0027: ldc.i4.3
L_0028: ldarg.1
L_0029: stelem.ref
L_002a: call System.String Concat(System.Object[])
L_002f: call Void Warning(System.String)
L_0034: br Label #0
L_0039: Label #2
L_0039: ldarg.0
L_003a: ldfld RimWorld.Pawn_GuestTracker guest
L_003f: brfalse Label #3
L_0044: ldarg.0
L_0045: ldfld RimWorld.Pawn_GuestTracker guest
L_004a: ldnull
L_004b: ldc.i4.0
L_004c: callvirt Void SetGuestStatus(RimWorld.Faction, Boolean)
L_0051: Label #3
L_0051: ldarg.0
L_0052: call Boolean get_Spawned()
L_0057: brfalse Label #4
L_005c: ldarg.0
L_005d: call Verse.Map get_Map()
L_0062: ldfld Verse.MapPawns mapPawns
L_0067: ldarg.0
L_0068: callvirt Void DeRegisterPawn(Verse.Pawn)
L_006d: ldarg.0
L_006e: call Verse.Map get_Map()
L_0073: ldfld Verse.PawnDestinationManager pawnDestinationManager
L_0078: ldarg.0
L_0079: callvirt Void RemovePawnFromSystem(Verse.Pawn)
L_007e: ldarg.0
L_007f: call Verse.Map get_Map()
L_0084: ldfld Verse.DesignationManager designationManager
L_0089: ldarg.0
L_008a: ldc.i4.0
L_008b: callvirt Void RemoveAllDesignationsOn(Verse.Thing, Boolean)
L_0090: Label #4
L_0090: ldarg.1
L_0091: call RimWorld.Faction get_OfPlayer()
L_0096: beq Label #5
L_009b: ldarg.0
L_009c: call RimWorld.Faction get_Faction()
L_00a1: call RimWorld.Faction get_OfPlayer()
L_00a6: bne.un Label #6
L_00ab: Label #5
L_00ab: call RimWorld.ColonistBar get_ColonistBar()
L_00b0: callvirt Void MarkColonistsDirty()
L_00b5: Label #6
L_00b5: ldarg.0
L_00b6: call Verse.AI.Group.Lord GetLord(Verse.Pawn)
L_00bb: stloc.0
L_00bc: ldloc.0
L_00bd: brfalse Label #7
L_00c2: ldloc.0
L_00c3: ldarg.0
L_00c4: ldc.i4.4
L_00c5: callvirt Void Notify_PawnLost(Verse.Pawn, PawnLostCondition)
L_00ca: Label #7
L_00ca: ldarg.0
L_00cb: call RimWorld.Faction get_Faction()
L_00d0: brfalse Label #8
L_00d5: ldarg.0
L_00d6: call RimWorld.Faction get_Faction()
L_00db: ldfld Verse.Pawn leader
L_00e0: ldarg.0
L_00e1: bne.un Label #9
L_00e6: ldarg.0
L_00e7: call RimWorld.Faction get_Faction()
L_00ec: callvirt Void Notify_LeaderLost()
L_00f1: Label #8
L_00f1: Label #9
L_00f1: ldarg.1
L_00f2: call RimWorld.Faction get_OfPlayer()
L_00f7: bne.un Label #10
L_00fc: ldarg.0
L_00fd: call Verse.RaceProperties get_RaceProps()
L_0102: callvirt Boolean get_Humanlike()
L_0107: brfalse Label #11
L_010c: ldarg.0
L_010d: ldarg.1
L_010e: ldfld RimWorld.FactionDef def
L_0113: ldfld Verse.PawnKindDef basicMemberKind
L_0118: stfld Verse.PawnKindDef kindDef
L_011d: Label #10
L_011d: Label #11
L_011d: ldarg.0
L_011e: ldarg.1
L_011f: ldnull
L_0120: call Void SetFaction(RimWorld.Faction, Verse.Pawn)
L_0125: ldarg.0
L_0126: ldc.i4.0
L_0127: call Void AddAndRemoveDynamicComponents(Verse.Pawn, Boolean)
L_012c: ldarg.0
L_012d: call RimWorld.Faction get_Faction()
L_0132: brfalse Label #12
L_0137: ldarg.0
L_0138: call RimWorld.Faction get_Faction()
L_013d: callvirt Boolean get_IsPlayer()
L_0142: brfalse Label #13
L_0147: ldarg.0
L_0148: ldfld RimWorld.Pawn_WorkSettings workSettings
L_014d: brfalse Label #14
L_0152: ldarg.0
L_0153: ldfld RimWorld.Pawn_WorkSettings workSettings
L_0158: callvirt Void EnableAndInitialize()
L_015d: Label #14
L_015d: call RimWorld.Storyteller get_Storyteller()
L_0162: ldfld RimWorld.StoryIntender_Population intenderPopulation
L_0167: callvirt Void Notify_PopulationGained()
L_016c: Label #12
L_016c: Label #13
L_016c: ldarg.0
L_016d: call Boolean get_Drafted()
L_0172: brfalse Label #15
L_0177: ldarg.0
L_0178: ldfld RimWorld.Pawn_DraftController drafter
L_017d: ldc.i4.0
L_017e: callvirt Void set_Drafted(Boolean)
L_0183: Label #15
L_0183: call Void ClearCache()
L_0188: ldarg.0
L_0189: ldfld Verse.Pawn_HealthTracker health
L_018e: ldfld RimWorld.BillStack surgeryBills
L_0193: callvirt Void Clear()
L_0198: ldarg.0
L_0199: call Boolean get_Spawned()
L_019e: brfalse Label #16
L_01a3: ldarg.0
L_01a4: call Verse.Map get_Map()
L_01a9: ldfld Verse.MapPawns mapPawns
L_01ae: ldarg.0
L_01af: callvirt Void RegisterPawn(Verse.Pawn)
L_01b4: Label #16
L_01b4: ldarg.0
L_01b5: call Void GenerateNecessaryName()
L_01ba: ldarg.0
L_01bb: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_01c0: brfalse Label #17
L_01c5: ldarg.0
L_01c6: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_01cb: ldarg.0
L_01cc: call Verse.RaceProperties get_RaceProps()
L_01d1: callvirt Boolean get_Humanlike()
L_01d6: brfalse Label #18
L_01db: ldc.i4.4
L_01dc: br Label #19
L_01e1: Label #18
L_01e1: ldarg.0
L_01e2: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_01e7: ldc.i4.1
L_01e8: dup
L_01e9: stloc.1
L_01ea: stfld RimWorld.MedicalCareCategory medCare
L_01ef: ldloc.1
L_01f0: Label #19
L_01f0: stfld RimWorld.MedicalCareCategory medCare
L_01f5: Label #17
L_01f5: ldarg.0
L_01f6: ldc.i4.1
L_01f7: call Void ClearMind(Boolean)
L_01fc: ldarg.0
L_01fd: call Boolean get_Dead()
L_0202: brtrue Label #20
L_0207: ldarg.0
L_0208: ldfld RimWorld.Pawn_NeedsTracker needs
L_020d: ldfld RimWorld.Need_Mood mood
L_0212: brfalse Label #21
L_0217: ldarg.0
L_0218: ldfld RimWorld.Pawn_NeedsTracker needs
L_021d: ldfld RimWorld.Need_Mood mood
L_0222: ldfld RimWorld.ThoughtHandler thoughts
L_0227: ldfld RimWorld.SituationalThoughtHandler situational
L_022c: callvirt Void Notify_SituationalThoughtsDirty()
L_0231: Label #20
L_0231: Label #21
L_0231: ldarg.0
L_0232: call Boolean get_Spawned()
L_0237: brfalse Label #22
L_023c: ldarg.0
L_023d: call Verse.Map get_Map()
L_0242: ldfld Verse.AI.AttackTargetsCache attackTargetsCache
L_0247: ldarg.0
L_0248: callvirt Void UpdateTarget(IAttackTarget)
L_024d: Label #22
L_024d: call RimWorld.GameEnder get_GameEnder()
L_0252: callvirt Void CheckGameOver()
L_0257: ldarg.0
L_0258: call Void CheckDrugAddictionTeachOpportunity(Verse.Pawn)
L_025d: ldarg.0
L_025e: ldfld RimWorld.Pawn_NeedsTracker needs
L_0263: brfalse Label #23
L_0268: ldarg.0
L_0269: ldfld RimWorld.Pawn_NeedsTracker needs
L_026e: callvirt Void AddOrRemoveNeedsAsAppropriate()
L_0273: Label #23
L_0273: ldarg.0
L_0274: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0279: brfalse Label #24
L_027e: ldarg.0
L_027f: ldfld RimWorld.Pawn_PlayerSettings playerSettings
L_0284: callvirt Void Notify_FactionChanged()
L_0289: Label #24
L_0289: br Label #0
L_028e: Label #0
L_028e: ldarg.0
L_028f: ldarg 1
L_0295: call Void SetFactionPostfix(Verse.Pawn, RimWorld.Faction)
L_029a: ret
DONE

PATCHING Verse.Thing Void SetFactionDirect(RimWorld.Faction)
L_0000: ldarg.0
L_0001: ldfld Verse.ThingDef def
L_0006: callvirt Boolean get_CanHaveFaction()
L_000b: brtrue Label #2
L_0010: ldstr "Tried to SetFactionDirect on "
L_0015: ldarg.0
L_0016: ldstr " which cannot have a faction."
L_001b: call System.String Concat(System.Object, System.Object, System.Object)
L_0020: call Void Error(System.String)
L_0025: br Label #0
L_002a: Label #2
L_002a: ldarg.0
L_002b: ldarg.1
L_002c: stfld RimWorld.Faction factionInt
L_0031: br Label #0
L_0036: Label #0
L_0036: ldarg.0
L_0037: ldarg 1
L_003d: call Void SetFactionDirectPostfix(Verse.Thing, RimWorld.Faction)
L_0042: ret
DONE

PATCHING RimWorld.JobGiver_OptimizeApparel Single ApparelScoreGain(Verse.Pawn, RimWorld.Apparel)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 System.Boolean
L_0000: Local var #3 System.Int32
L_0000: Local var #4 System.Single
L_0000: ldc.r4 0
L_0005: stloc 4 (System.Single)
L_0007: ldarg.1
L_0008: ldfld Verse.ThingDef def
L_000d: ldsfld Verse.ThingDef Apparel_PersonalShield
L_0012: bne.un Label #2
L_0017: ldarg.0
L_0018: ldfld Verse.Pawn_EquipmentTracker equipment
L_001d: callvirt Verse.ThingWithComps get_Primary()
L_0022: brfalse Label #3
L_0027: ldarg.0
L_0028: ldfld Verse.Pawn_EquipmentTracker equipment
L_002d: callvirt Verse.ThingWithComps get_Primary()
L_0032: ldfld Verse.ThingDef def
L_0037: callvirt System.Collections.Generic.List`1[Verse.VerbProperties] get_Verbs()
L_003c: ldc.i4.0
L_003d: callvirt Verse.VerbProperties get_Item(Int32)
L_0042: callvirt Boolean get_MeleeRange()
L_0047: brtrue Label #4
L_004c: ldc.r4 -1000
L_0051: br Label #0
L_0056: Label #2
L_0056: Label #3
L_0056: Label #4
L_0056: ldarg.1
L_0057: call Single ApparelScoreRaw(RimWorld.Apparel)
L_005c: stloc.0
L_005d: ldarg.0
L_005e: ldfld RimWorld.Pawn_ApparelTracker apparel
L_0063: callvirt System.Collections.Generic.List`1[RimWorld.Apparel] get_WornApparel()
L_0068: stloc.1
L_0069: ldc.i4.0
L_006a: stloc.2
L_006b: ldc.i4.0
L_006c: stloc.3
L_006d: br Label #5
L_0072: Label #8
L_0072: ldloc.1
L_0073: ldloc.3
L_0074: callvirt RimWorld.Apparel get_Item(Int32)
L_0079: ldfld Verse.ThingDef def
L_007e: ldarg.1
L_007f: ldfld Verse.ThingDef def
L_0084: call Boolean CanWearTogether(Verse.ThingDef, Verse.ThingDef)
L_0089: brtrue Label #6
L_008e: ldarg.0
L_008f: ldfld RimWorld.Pawn_OutfitTracker outfits
L_0094: ldfld RimWorld.OutfitForcedHandler forcedHandler
L_0099: ldloc.1
L_009a: ldloc.3
L_009b: callvirt RimWorld.Apparel get_Item(Int32)
L_00a0: callvirt Boolean AllowedToAutomaticallyDrop(RimWorld.Apparel)
L_00a5: brtrue Label #7
L_00aa: ldc.r4 -1000
L_00af: br Label #0
L_00b4: Label #7
L_00b4: ldloc.0
L_00b5: ldloc.1
L_00b6: ldloc.3
L_00b7: callvirt RimWorld.Apparel get_Item(Int32)
L_00bc: call Single ApparelScoreRaw(RimWorld.Apparel)
L_00c1: sub
L_00c2: stloc.0
L_00c3: ldc.i4.1
L_00c4: stloc.2
L_00c5: Label #6
L_00c5: ldloc.3
L_00c6: ldc.i4.1
L_00c7: add
L_00c8: stloc.3
L_00c9: Label #5
L_00c9: ldloc.3
L_00ca: ldloc.1
L_00cb: callvirt Int32 get_Count()
L_00d0: blt Label #8
L_00d5: ldloc.2
L_00d6: brtrue Label #9
L_00db: ldloc.0
L_00dc: ldc.r4 10
L_00e1: mul
L_00e2: stloc.0
L_00e3: Label #9
L_00e3: ldloc.0
L_00e4: br Label #0
L_00e9: Label #0
L_00e9: stloc 4 (System.Single)
L_00eb: ldarg 0
L_00f1: ldarg 1
L_00f7: ldloca 4 (System.Single)
L_00f9: call Void ApparelScoreGainPostFix(Verse.Pawn, RimWorld.Apparel, Single ByRef)
L_00fe: ldloc 4 (System.Single)
L_0100: ret
DONE

PATCHING Apini.WorkGiver_FillFermentingVat Verse.AI.Job JobOnThing(Verse.Pawn, Verse.Thing)
L_0000: Local var #0 Apini.Building_FermentingVat
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: nop
L_0003: ldarg.2
L_0004: castclass Apini.Building_FermentingVat
L_0009: stloc.0
L_000a: ldarg.0
L_000b: ldarg.1
L_000c: ldloc.0
L_000d: call Verse.Thing FindInputThing(Verse.Pawn, Apini.Building_FermentingVat)
L_0012: stloc.1
L_0013: ldarg.0
L_0014: call Verse.JobDef get_JobDefToUse()
L_0019: ldarg.2
L_001a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_001f: ldloc.1
L_0020: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0025: newobj Void .ctor(JobDef, LocalTargetInfo, LocalTargetInfo)
L_002a: dup
L_002b: ldloc.0
L_002c: callvirt Int32 get_SpaceLeftForInput()
L_0031: stfld System.Int32 count
L_0036: stloc.2
L_0037: br Label #2
L_003c: Label #2
L_003c: ldloc.2
L_003d: br Label #0
L_0042: Label #0
L_0042: stloc 3 (Verse.AI.Job)
L_0043: ldarg.0
L_0044: ldarg 1
L_004a: ldloca 3 (Verse.AI.Job)
L_004c: call Void GenericJobOnThingPostfix(RimWorld.WorkGiver, Verse.Pawn, Verse.AI.Job ByRef)
L_0051: ldloc 3 (Verse.AI.Job)
L_0052: ret
DONE

PATCHING Apini.WorkGiver_FillFermentingVat Boolean HasJobOnThing(Verse.Pawn, Verse.Thing)
L_0000: Local var #0 Apini.Building_FermentingVat
L_0000: Local var #1 System.Single
L_0000: Local var #2 RimWorld.CompProperties_TemperatureRuinable
L_0000: Local var #3 Apini.WorkGiverDynamicDef
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.Boolean
L_0000: Local var #8 System.Boolean
L_0000: Local var #9 System.Boolean
L_0000: Local var #10 System.Boolean
L_0000: Local var #11 System.Boolean
L_0000: Local var #12 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 12 (System.Boolean)
L_0007: nop
L_0008: ldarg.2
L_0009: isinst Apini.Building_FermentingVat
L_000e: stloc.0
L_000f: ldloc.0
L_0010: brfalse Label #2
L_0015: ldloc.0
L_0016: callvirt Boolean get_Fermented()
L_001b: brtrue Label #3
L_0020: ldloc.0
L_0021: callvirt Int32 get_SpaceLeftForInput()
L_0026: ldc.i4.0
L_0027: cgt
L_0029: ldc.i4.0
L_002a: ceq
L_002c: br Label #4
L_0031: Label #2
L_0031: Label #3
L_0031: ldc.i4.1
L_0032: Label #4
L_0032: stloc.s 4 (System.Boolean)
L_0034: ldloc.s 4 (System.Boolean)
L_0036: brfalse Label #5
L_003b: nop
L_003c: ldc.i4.0
L_003d: stloc.s 5 (System.Boolean)
L_003f: br Label #6
L_0044: Label #5
L_0044: ldloc.0
L_0045: callvirt IntVec3 get_Position()
L_004a: ldloc.0
L_004b: callvirt Verse.Map get_Map()
L_0050: call Single GetTemperature(IntVec3, Verse.Map)
L_0055: stloc.1
L_0056: ldloc.0
L_0057: ldfld Verse.ThingDef def
L_005c: callvirt RimWorld.CompProperties_TemperatureRuinable GetCompProperties[CompProperties_TemperatureRuinable]()
L_0061: stloc.2
L_0062: ldloc.1
L_0063: ldloc.2
L_0064: ldfld System.Single minSafeTemperature
L_0069: ldc.r4 2
L_006e: add
L_006f: blt Label #7
L_0074: ldloc.1
L_0075: ldloc.2
L_0076: ldfld System.Single maxSafeTemperature
L_007b: ldc.r4 2
L_0080: sub
L_0081: cgt
L_0083: br Label #8
L_0088: Label #7
L_0088: ldc.i4.1
L_0089: Label #8
L_0089: stloc.s 6 (System.Boolean)
L_008b: ldloc.s 6 (System.Boolean)
L_008d: brfalse Label #9
L_0092: nop
L_0093: ldarg.0
L_0094: call Void Reset()
L_0099: nop
L_009a: ldarg.0
L_009b: ldfld System.String TemperatureTrans
L_00a0: call Void Is(System.String)
L_00a5: nop
L_00a6: ldc.i4.0
L_00a7: stloc.s 5 (System.Boolean)
L_00a9: br Label #10
L_00ae: Label #9
L_00ae: ldarg.2
L_00af: ldarg.1
L_00b0: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_00b5: brtrue Label #11
L_00ba: ldarg.1
L_00bb: ldarg.2
L_00bc: call LocalTargetInfo op_Implicit(Verse.Thing)
L_00c1: ldc.i4.2
L_00c2: ldarg.1
L_00c3: call Danger NormalMaxDanger(Verse.Pawn)
L_00c8: ldc.i4.1
L_00c9: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Int32)
L_00ce: ldc.i4.0
L_00cf: ceq
L_00d1: br Label #12
L_00d6: Label #11
L_00d6: ldc.i4.1
L_00d7: Label #12
L_00d7: stloc.s 7 (System.Boolean)
L_00d9: ldloc.s 7 (System.Boolean)
L_00db: brfalse Label #13
L_00e0: nop
L_00e1: ldc.i4.0
L_00e2: stloc.s 5 (System.Boolean)
L_00e4: br Label #14
L_00e9: Label #13
L_00e9: ldarg.1
L_00ea: callvirt Verse.Map get_Map()
L_00ef: ldfld Verse.DesignationManager designationManager
L_00f4: ldarg.2
L_00f5: ldsfld Verse.DesignationDef Deconstruct
L_00fa: callvirt Verse.Designation DesignationOn(Verse.Thing, Verse.DesignationDef)
L_00ff: ldnull
L_0100: cgt.un
L_0102: stloc.s 8 (System.Boolean)
L_0104: ldloc.s 8 (System.Boolean)
L_0106: brfalse Label #15
L_010b: nop
L_010c: ldc.i4.0
L_010d: stloc.s 5 (System.Boolean)
L_010f: br Label #16
L_0114: Label #15
L_0114: ldarg.0
L_0115: ldarg.1
L_0116: ldloc.0
L_0117: call Verse.Thing FindInputThing(Verse.Pawn, Apini.Building_FermentingVat)
L_011c: ldnull
L_011d: ceq
L_011f: stloc.s 9 (System.Boolean)
L_0121: ldloc.s 9 (System.Boolean)
L_0123: brfalse Label #17
L_0128: nop
L_0129: ldarg.0
L_012a: call Void Reset()
L_012f: nop
L_0130: ldarg.0
L_0131: ldfld System.String NoInputTrans
L_0136: call Void Is(System.String)
L_013b: nop
L_013c: ldc.i4.0
L_013d: stloc.s 5 (System.Boolean)
L_013f: br Label #18
L_0144: Label #17
L_0144: ldarg.0
L_0145: ldfld RimWorld.WorkGiverDef def
L_014a: isinst Apini.WorkGiverDynamicDef
L_014f: stloc.3
L_0150: ldloc.3
L_0151: brfalse Label #19
L_0156: ldloc.3
L_0157: ldfld Verse.ThingDef inputThingDef
L_015c: ldnull
L_015d: cgt.un
L_015f: br Label #20
L_0164: Label #19
L_0164: ldc.i4.0
L_0165: Label #20
L_0165: stloc.s 10 (System.Boolean)
L_0167: ldloc.s 10 (System.Boolean)
L_0169: brfalse Label #21
L_016e: nop
L_016f: ldloc.0
L_0170: ldfld Verse.ThingDef def
L_0175: ldloc.3
L_0176: ldfld Verse.ThingDef inputThingDef
L_017b: ceq
L_017d: ldc.i4.0
L_017e: ceq
L_0180: stloc.s 11 (System.Boolean)
L_0182: ldloc.s 11 (System.Boolean)
L_0184: brfalse Label #22
L_0189: ldc.i4.0
L_018a: stloc.s 5 (System.Boolean)
L_018c: br Label #23
L_0191: Label #22
L_0191: nop
L_0192: Label #21
L_0192: ldarg.2
L_0193: call Boolean IsBurning(Verse.Thing)
L_0198: ldc.i4.0
L_0199: ceq
L_019b: stloc.s 5 (System.Boolean)
L_019d: br Label #24
L_01a2: Label #6
L_01a2: Label #10
L_01a2: Label #14
L_01a2: Label #16
L_01a2: Label #18
L_01a2: Label #23
L_01a2: Label #24
L_01a2: ldloc.s 5 (System.Boolean)
L_01a4: br Label #0
L_01a9: Label #0
L_01a9: stloc 12 (System.Boolean)
L_01ab: ldarg.0
L_01ac: ldarg 1
L_01b2: ldloca 12 (System.Boolean)
L_01b4: call Void GenericHasJobOnThingPostfix(RimWorld.WorkGiver, Verse.Pawn, Boolean ByRef)
L_01b9: ldloc 12 (System.Boolean)
L_01bb: ret
DONE

PATCHING Apini.WorkGiver_TakeThingOutOfFermenter Verse.AI.Job JobOnThing(Verse.Pawn, Verse.Thing)
L_0000: Local var #0 Verse.AI.Job
L_0000: Local var #1 Verse.AI.Job
L_0000: ldnull
L_0001: stloc 1 (Verse.AI.Job)
L_0002: nop
L_0003: ldarg.0
L_0004: call Verse.JobDef get_JobDefToUse()
L_0009: ldarg.2
L_000a: call LocalTargetInfo op_Implicit(Verse.Thing)
L_000f: newobj Void .ctor(JobDef, LocalTargetInfo)
L_0014: stloc.0
L_0015: br Label #2
L_001a: Label #2
L_001a: ldloc.0
L_001b: br Label #0
L_0020: Label #0
L_0020: stloc 1 (Verse.AI.Job)
L_0021: ldarg.0
L_0022: ldarg 1
L_0028: ldloca 1 (Verse.AI.Job)
L_002a: call Void GenericJobOnThingPostfix(RimWorld.WorkGiver, Verse.Pawn, Verse.AI.Job ByRef)
L_002f: ldloc 1 (Verse.AI.Job)
L_0030: ret
DONE

PATCHING Apini.WorkGiver_TakeThingOutOfFermenter Boolean HasJobOnThing(Verse.Pawn, Verse.Thing)
L_0000: Local var #0 Apini.Building_FermentingVat
L_0000: Local var #1 Apini.WorkGiverDynamicDef
L_0000: Local var #2 System.Boolean
L_0000: Local var #3 System.Boolean
L_0000: Local var #4 System.Boolean
L_0000: Local var #5 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 5 (System.Boolean)
L_0007: nop
L_0008: ldarg.2
L_0009: isinst Apini.Building_FermentingVat
L_000e: stloc.0
L_000f: ldarg.0
L_0010: ldfld RimWorld.WorkGiverDef def
L_0015: isinst Apini.WorkGiverDynamicDef
L_001a: stloc.1
L_001b: ldloc.1
L_001c: brfalse Label #2
L_0021: ldloc.1
L_0022: ldfld Verse.ThingDef outputThingDef
L_0027: ldnull
L_0028: cgt.un
L_002a: br Label #3
L_002f: Label #2
L_002f: ldc.i4.0
L_0030: Label #3
L_0030: stloc.2
L_0031: ldloc.2
L_0032: brfalse Label #4
L_0037: nop
L_0038: ldloc.0
L_0039: ldfld Verse.ThingDef def
L_003e: ldloc.1
L_003f: ldfld Verse.ThingDef outputThingDef
L_0044: ceq
L_0046: ldc.i4.0
L_0047: ceq
L_0049: stloc.3
L_004a: ldloc.3
L_004b: brfalse Label #5
L_0050: ldc.i4.0
L_0051: stloc.s 4 (System.Boolean)
L_0053: br Label #6
L_0058: Label #5
L_0058: nop
L_0059: Label #4
L_0059: ldloc.0
L_005a: brfalse Label #7
L_005f: ldloc.0
L_0060: callvirt Boolean get_Fermented()
L_0065: brfalse Label #8
L_006a: ldarg.2
L_006b: call Boolean IsBurning(Verse.Thing)
L_0070: brtrue Label #9
L_0075: ldarg.2
L_0076: ldarg.1
L_0077: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_007c: brtrue Label #10
L_0081: ldarg.1
L_0082: ldarg.2
L_0083: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0088: ldc.i4.2
L_0089: ldarg.1
L_008a: call Danger NormalMaxDanger(Verse.Pawn)
L_008f: ldc.i4.1
L_0090: call Boolean CanReserveAndReach(Verse.Pawn, LocalTargetInfo, PathEndMode, Danger, Int32)
L_0095: br Label #11
L_009a: Label #7
L_009a: Label #8
L_009a: Label #9
L_009a: Label #10
L_009a: ldc.i4.0
L_009b: Label #11
L_009b: stloc.s 4 (System.Boolean)
L_009d: br Label #12
L_00a2: Label #6
L_00a2: Label #12
L_00a2: ldloc.s 4 (System.Boolean)
L_00a4: br Label #0
L_00a9: Label #0
L_00a9: stloc 5 (System.Boolean)
L_00ab: ldarg.0
L_00ac: ldarg 1
L_00b2: ldloca 5 (System.Boolean)
L_00b4: call Void GenericHasJobOnThingPostfix(RimWorld.WorkGiver, Verse.Pawn, Boolean ByRef)
L_00b9: ldloc 5 (System.Boolean)
L_00bb: ret
DONE

PATCHING RimWorld.ThoughtHandler Boolean CanGetThought(RimWorld.ThoughtDef)
L_0000: Local var #0 System.Int32
L_0000: Local var #1 System.Int32
L_0000: Local var #2 System.Boolean
L_0000: Local var #3 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldstr "CanGetThought()"
L_000b: call Void BeginSample(System.String)
L_0010: ldarg.1
L_0011: ldfld System.Boolean validWhileDespawned
L_0016: brtrue Label #2
L_001b: ldarg.0
L_001c: ldfld Verse.Pawn pawn
L_0021: callvirt Boolean get_Spawned()
L_0026: brtrue Label #3
L_002b: ldarg.1
L_002c: callvirt Boolean get_IsMemory()
L_0031: brtrue Label #4
L_0036: ldc.i4.0
L_0037: stloc.2
L_0038: leave Label #5
L_003d: Label #2
L_003d: Label #3
L_003d: Label #4
L_003d: ldarg.1
L_003e: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] nullifyingTraits
L_0043: brfalse Label #6
L_0048: ldc.i4.0
L_0049: stloc.0
L_004a: br Label #7
L_004f: Label #10
L_004f: ldarg.0
L_0050: ldfld Verse.Pawn pawn
L_0055: ldfld RimWorld.Pawn_StoryTracker story
L_005a: ldfld RimWorld.TraitSet traits
L_005f: ldarg.1
L_0060: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] nullifyingTraits
L_0065: ldloc.0
L_0066: callvirt RimWorld.TraitDef get_Item(Int32)
L_006b: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0070: brfalse Label #8
L_0075: ldc.i4.0
L_0076: stloc.2
L_0077: leave Label #9
L_007c: Label #8
L_007c: ldloc.0
L_007d: ldc.i4.1
L_007e: add
L_007f: stloc.0
L_0080: Label #7
L_0080: ldloc.0
L_0081: ldarg.1
L_0082: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] nullifyingTraits
L_0087: callvirt Int32 get_Count()
L_008c: blt Label #10
L_0091: Label #6
L_0091: ldarg.1
L_0092: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] requiredTraits
L_0097: brfalse Label #11
L_009c: ldc.i4.0
L_009d: stloc.1
L_009e: br Label #12
L_00a3: Label #18
L_00a3: ldarg.0
L_00a4: ldfld Verse.Pawn pawn
L_00a9: ldfld RimWorld.Pawn_StoryTracker story
L_00ae: ldfld RimWorld.TraitSet traits
L_00b3: ldarg.1
L_00b4: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] requiredTraits
L_00b9: ldloc.1
L_00ba: callvirt RimWorld.TraitDef get_Item(Int32)
L_00bf: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_00c4: brtrue Label #13
L_00c9: ldc.i4.0
L_00ca: stloc.2
L_00cb: leave Label #14
L_00d0: Label #13
L_00d0: ldarg.1
L_00d1: callvirt Boolean get_RequiresSpecificTraitsDegree()
L_00d6: brfalse Label #15
L_00db: ldarg.1
L_00dc: ldfld System.Int32 requiredTraitsDegree
L_00e1: ldarg.0
L_00e2: ldfld Verse.Pawn pawn
L_00e7: ldfld RimWorld.Pawn_StoryTracker story
L_00ec: ldfld RimWorld.TraitSet traits
L_00f1: ldarg.1
L_00f2: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] requiredTraits
L_00f7: ldloc.1
L_00f8: callvirt RimWorld.TraitDef get_Item(Int32)
L_00fd: callvirt Int32 DegreeOfTrait(RimWorld.TraitDef)
L_0102: beq Label #16
L_0107: ldc.i4.0
L_0108: stloc.2
L_0109: leave Label #17
L_010e: Label #15
L_010e: Label #16
L_010e: ldloc.1
L_010f: ldc.i4.1
L_0110: add
L_0111: stloc.1
L_0112: Label #12
L_0112: ldloc.1
L_0113: ldarg.1
L_0114: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] requiredTraits
L_0119: callvirt Int32 get_Count()
L_011e: blt Label #18
L_0123: Label #11
L_0123: ldarg.1
L_0124: ldfld System.Boolean nullifiedIfNotColonist
L_0129: brfalse Label #19
L_012e: ldarg.0
L_012f: ldfld Verse.Pawn pawn
L_0134: callvirt Boolean get_IsColonist()
L_0139: brtrue Label #20
L_013e: ldc.i4.0
L_013f: stloc.2
L_0140: leave Label #21
L_0145: Label #19
L_0145: Label #20
L_0145: ldarg.1
L_0146: ldarg.0
L_0147: ldfld Verse.Pawn pawn
L_014c: call Boolean IsSituationalThoughtNullifiedByHediffs(RimWorld.ThoughtDef, Verse.Pawn)
L_0151: brfalse Label #22
L_0156: ldc.i4.0
L_0157: stloc.2
L_0158: leave Label #23
L_015d: Label #22
L_015d: ldarg.1
L_015e: ldarg.0
L_015f: ldfld Verse.Pawn pawn
L_0164: call Boolean IsThoughtNullifiedByOwnTales(RimWorld.ThoughtDef, Verse.Pawn)
L_0169: brfalse Label #24
L_016e: ldc.i4.0
L_016f: stloc.2
L_0170: leave Label #25
L_0175: Label #24
L_0175: leave Label #26
L_017a: call Void EndSample()
L_017f: endfinally
L_0180: Label #26
L_0180: ldc.i4.1
L_0181: br Label #0
L_0186: Label #5
L_0186: Label #9
L_0186: Label #14
L_0186: Label #17
L_0186: Label #21
L_0186: Label #23
L_0186: Label #25
L_0186: ldloc.2
L_0187: br Label #0
L_018c: Label #0
L_018c: stloc 3 (System.Boolean)
L_018d: ldarg.0
L_018e: ldloca 3 (System.Boolean)
L_0190: ldarg 1
L_0196: call Void CanGetThoughtPostfix(RimWorld.ThoughtHandler, Boolean ByRef, RimWorld.ThoughtDef)
L_019b: ldloc 3 (System.Boolean)
L_019c: ret
DONE

PATCHING Verse.Corpse IEnumerable`1 ButcherProducts(Verse.Pawn, Single)
L_0000: Local var #0 Verse.Corpse+<ButcherProducts>c__Iterator200
L_0000: Local var #1 System.Collections.Generic.IEnumerable`1[[Verse.Thing, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Thing])
L_0002: ldarg 1
L_0008: ldarg 2
L_000e: ldloca 1 (System.Collections.Generic.IEnumerable`1[Verse.Thing])
L_0010: ldarg.0
L_0011: call Boolean ButcherProductsPrefix(Verse.Pawn, Single, IEnumerable`1 ByRef, Verse.Corpse)
L_0016: brfalse Label #1
L_001b: newobj Void .ctor()
L_0020: stloc.0
L_0021: ldloc.0
L_0022: ldarg.1
L_0023: stfld Verse.Pawn butcher
L_0028: ldloc.0
L_0029: ldarg.2
L_002a: stfld System.Single efficiency
L_002f: ldloc.0
L_0030: ldarg.1
L_0031: stfld Verse.Pawn <$>butcher
L_0036: ldloc.0
L_0037: ldarg.2
L_0038: stfld System.Single <$>efficiency
L_003d: ldloc.0
L_003e: ldarg.0
L_003f: stfld Verse.Corpse <>f__this
L_0044: ldloc.0
L_0045: dup
L_0046: ldc.i4.s -2
L_0048: stfld System.Int32 $PC
L_004d: br Label #0
L_0052: Label #0
L_0052: stloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Thing])
L_0053: Label #1
L_0053: ldloc 1 (System.Collections.Generic.IEnumerable`1[Verse.Thing])
L_0054: ret
DONE

PATCHING RimWorld.FoodUtility System.Collections.Generic.List`1[RimWorld.ThoughtDef] ThoughtsFromIngesting(Verse.Pawn, Verse.Thing)
L_0000: Local var #0 Verse.ThingDef
L_0000: Local var #1 RimWorld.CompIngredients
L_0000: Local var #2 System.Int32
L_0000: Local var #3 Verse.ThingDef
L_0000: Local var #4 System.Collections.Generic.List`1[[RimWorld.ThoughtDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 4 (System.Collections.Generic.List`1[RimWorld.ThoughtDef])
L_0003: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_0008: callvirt Void Clear()
L_000d: ldarg.0
L_000e: ldfld RimWorld.Pawn_NeedsTracker needs
L_0013: brfalse Label #2
L_0018: ldarg.0
L_0019: ldfld RimWorld.Pawn_NeedsTracker needs
L_001e: ldfld RimWorld.Need_Mood mood
L_0023: brtrue Label #3
L_0028: Label #2
L_0028: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_002d: br Label #0
L_0032: Label #3
L_0032: ldarg.1
L_0033: ldfld Verse.ThingDef def
L_0038: stloc.0
L_0039: ldloc.0
L_003a: ldsfld Verse.ThingDef NutrientPasteDispenser
L_003f: bne.un Label #4
L_0044: ldsfld Verse.ThingDef MealNutrientPaste
L_0049: stloc.0
L_004a: Label #4
L_004a: ldarg.0
L_004b: ldfld RimWorld.Pawn_StoryTracker story
L_0050: ldfld RimWorld.TraitSet traits
L_0055: ldsfld RimWorld.TraitDef Ascetic
L_005a: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_005f: brtrue Label #5
L_0064: ldloc.0
L_0065: ldfld RimWorld.IngestibleProperties ingestible
L_006a: ldfld RimWorld.ThoughtDef tasteThought
L_006f: brfalse Label #6
L_0074: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_0079: ldloc.0
L_007a: ldfld RimWorld.IngestibleProperties ingestible
L_007f: ldfld RimWorld.ThoughtDef tasteThought
L_0084: callvirt Void Add(RimWorld.ThoughtDef)
L_0089: Label #5
L_0089: Label #6
L_0089: ldarg.1
L_008a: call RimWorld.CompIngredients TryGetComp[CompIngredients](Verse.Thing)
L_008f: stloc.1
L_0090: ldloc.0
L_0091: call Boolean IsHumanlikeMeat(Verse.ThingDef)
L_0096: brfalse Label #7
L_009b: ldarg.0
L_009c: callvirt Verse.RaceProperties get_RaceProps()
L_00a1: callvirt Boolean get_Humanlike()
L_00a6: brfalse Label #8
L_00ab: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_00b0: ldarg.0
L_00b1: ldfld RimWorld.Pawn_StoryTracker story
L_00b6: ldfld RimWorld.TraitSet traits
L_00bb: ldsfld RimWorld.TraitDef Cannibal
L_00c0: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_00c5: brfalse Label #9
L_00ca: ldsfld RimWorld.ThoughtDef AteHumanlikeMeatDirectCannibal
L_00cf: br Label #10
L_00d4: Label #9
L_00d4: ldsfld RimWorld.ThoughtDef AteHumanlikeMeatDirect
L_00d9: Label #10
L_00d9: callvirt Void Add(RimWorld.ThoughtDef)
L_00de: br Label #11
L_00e3: Label #7
L_00e3: Label #8
L_00e3: ldloc.1
L_00e4: brfalse Label #12
L_00e9: ldc.i4.0
L_00ea: stloc.2
L_00eb: br Label #13
L_00f0: Label #21
L_00f0: ldloc.1
L_00f1: ldfld System.Collections.Generic.List`1[Verse.ThingDef] ingredients
L_00f6: ldloc.2
L_00f7: callvirt Verse.ThingDef get_Item(Int32)
L_00fc: stloc.3
L_00fd: ldloc.3
L_00fe: ldfld RimWorld.IngestibleProperties ingestible
L_0103: brfalse Label #14
L_0108: ldarg.0
L_0109: callvirt Verse.RaceProperties get_RaceProps()
L_010e: callvirt Boolean get_Humanlike()
L_0113: brfalse Label #15
L_0118: ldloc.3
L_0119: call Boolean IsHumanlikeMeat(Verse.ThingDef)
L_011e: brfalse Label #16
L_0123: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_0128: ldarg.0
L_0129: ldfld RimWorld.Pawn_StoryTracker story
L_012e: ldfld RimWorld.TraitSet traits
L_0133: ldsfld RimWorld.TraitDef Cannibal
L_0138: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_013d: brfalse Label #17
L_0142: ldsfld RimWorld.ThoughtDef AteHumanlikeMeatAsIngredientCannibal
L_0147: br Label #18
L_014c: Label #17
L_014c: ldsfld RimWorld.ThoughtDef AteHumanlikeMeatAsIngredient
L_0151: Label #18
L_0151: callvirt Void Add(RimWorld.ThoughtDef)
L_0156: br Label #19
L_015b: Label #15
L_015b: Label #16
L_015b: ldloc.3
L_015c: ldfld RimWorld.IngestibleProperties ingestible
L_0161: ldfld RimWorld.ThoughtDef specialThoughtAsIngredient
L_0166: brfalse Label #20
L_016b: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_0170: ldloc.3
L_0171: ldfld RimWorld.IngestibleProperties ingestible
L_0176: ldfld RimWorld.ThoughtDef specialThoughtAsIngredient
L_017b: callvirt Void Add(RimWorld.ThoughtDef)
L_0180: Label #14
L_0180: Label #19
L_0180: Label #20
L_0180: ldloc.2
L_0181: ldc.i4.1
L_0182: add
L_0183: stloc.2
L_0184: Label #13
L_0184: ldloc.2
L_0185: ldloc.1
L_0186: ldfld System.Collections.Generic.List`1[Verse.ThingDef] ingredients
L_018b: callvirt Int32 get_Count()
L_0190: blt Label #21
L_0195: br Label #22
L_019a: Label #12
L_019a: ldloc.0
L_019b: ldfld RimWorld.IngestibleProperties ingestible
L_01a0: ldfld RimWorld.ThoughtDef specialThoughtDirect
L_01a5: brfalse Label #23
L_01aa: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_01af: ldloc.0
L_01b0: ldfld RimWorld.IngestibleProperties ingestible
L_01b5: ldfld RimWorld.ThoughtDef specialThoughtDirect
L_01ba: callvirt Void Add(RimWorld.ThoughtDef)
L_01bf: Label #11
L_01bf: Label #22
L_01bf: Label #23
L_01bf: ldarg.1
L_01c0: call Boolean IsNotFresh(Verse.Thing)
L_01c5: brfalse Label #24
L_01ca: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_01cf: ldsfld RimWorld.ThoughtDef AteRottenFood
L_01d4: callvirt Void Add(RimWorld.ThoughtDef)
L_01d9: Label #24
L_01d9: ldsfld System.Collections.Generic.List`1[RimWorld.ThoughtDef] ingestThoughts
L_01de: br Label #0
L_01e3: Label #0
L_01e3: stloc 4 (System.Collections.Generic.List`1[RimWorld.ThoughtDef])
L_01e5: ldarg 0
L_01eb: ldarg 1
L_01f1: ldloca 4 (System.Collections.Generic.List`1[RimWorld.ThoughtDef])
L_01f3: call Void ThoughtsFromIngestingPostfix(Verse.Pawn, Verse.Thing, System.Collections.Generic.List`1[RimWorld.ThoughtDef] ByRef)
L_01f8: ldloc 4 (System.Collections.Generic.List`1[RimWorld.ThoughtDef])
L_01fa: ret
DONE

PATCHING RimWorld.MemoryThoughtHandler Void TryGainMemoryThought(RimWorld.Thought_Memory, Verse.Pawn)
L_0000: Local var #0 System.Boolean
L_0000: ldarga 1
L_0006: ldarg.0
L_0007: call Boolean TryGainMemoryThoughtPrefix(RimWorld.Thought_Memory ByRef, RimWorld.MemoryThoughtHandler)
L_000c: brfalse Label #1
L_0011: ldarg.0
L_0012: ldfld Verse.Pawn pawn
L_0017: ldfld RimWorld.Pawn_NeedsTracker needs
L_001c: ldfld RimWorld.Need_Mood mood
L_0021: ldfld RimWorld.ThoughtHandler thoughts
L_0026: ldarg.1
L_0027: ldfld RimWorld.ThoughtDef def
L_002c: callvirt Boolean CanGetThought(RimWorld.ThoughtDef)
L_0031: brtrue Label #2
L_0036: br Label #0
L_003b: Label #2
L_003b: ldarg.1
L_003c: isinst RimWorld.Thought_MemorySocial
L_0041: brfalse Label #3
L_0046: ldarg.1
L_0047: ldfld Verse.Pawn otherPawn
L_004c: brtrue Label #4
L_0051: ldarg.2
L_0052: brtrue Label #5
L_0057: ldstr "Can't gain social thought "
L_005c: ldarg.1
L_005d: ldfld RimWorld.ThoughtDef def
L_0062: ldstr " because its otherPawn is null and otherPawn passed to this method is also null. Social thoughts must have otherPawn."
L_0067: call System.String Concat(System.Object, System.Object, System.Object)
L_006c: call Void Error(System.String)
L_0071: br Label #0
L_0076: Label #3
L_0076: Label #4
L_0076: Label #5
L_0076: ldarg.1
L_0077: ldarg.0
L_0078: ldfld Verse.Pawn pawn
L_007d: stfld Verse.Pawn pawn
L_0082: ldarg.1
L_0083: ldarg.2
L_0084: stfld Verse.Pawn otherPawn
L_0089: ldarg.1
L_008a: ldloca.s 0 (System.Boolean)
L_008c: callvirt Boolean TryMergeWithExistingThought(Boolean ByRef)
L_0091: brtrue Label #6
L_0096: ldarg.0
L_0097: ldfld System.Collections.Generic.List`1[RimWorld.Thought_Memory] memories
L_009c: ldarg.1
L_009d: callvirt Void Add(RimWorld.Thought_Memory)
L_00a2: Label #6
L_00a2: ldarg.1
L_00a3: ldfld RimWorld.ThoughtDef def
L_00a8: ldfld System.Int32 stackLimitPerPawn
L_00ad: ldc.i4.0
L_00ae: blt Label #7
L_00b3: br Label #8
L_00b8: Label #9
L_00b8: ldarg.0
L_00b9: ldarg.0
L_00ba: ldarg.1
L_00bb: call RimWorld.Thought_Memory OldestMemoryThoughtInGroup(RimWorld.Thought_Memory)
L_00c0: call Void RemoveMemoryThought(RimWorld.Thought_Memory)
L_00c5: Label #8
L_00c5: ldarg.0
L_00c6: ldarg.1
L_00c7: call Int32 NumMemoryThoughtsInGroup(RimWorld.Thought_Memory)
L_00cc: ldarg.1
L_00cd: ldfld RimWorld.ThoughtDef def
L_00d2: ldfld System.Int32 stackLimitPerPawn
L_00d7: bgt Label #9
L_00dc: Label #7
L_00dc: ldarg.1
L_00dd: ldfld RimWorld.ThoughtDef def
L_00e2: ldfld System.Int32 stackLimit
L_00e7: ldc.i4.0
L_00e8: blt Label #10
L_00ed: br Label #11
L_00f2: Label #12
L_00f2: ldarg.0
L_00f3: ldarg.0
L_00f4: ldarg.1
L_00f5: ldfld RimWorld.ThoughtDef def
L_00fa: call RimWorld.Thought_Memory OldestMemoryThoughtOfDef(RimWorld.ThoughtDef)
L_00ff: call Void RemoveMemoryThought(RimWorld.Thought_Memory)
L_0104: Label #11
L_0104: ldarg.0
L_0105: ldarg.1
L_0106: ldfld RimWorld.ThoughtDef def
L_010b: call Int32 NumMemoryThoughtsOfDef(RimWorld.ThoughtDef)
L_0110: ldarg.1
L_0111: ldfld RimWorld.ThoughtDef def
L_0116: ldfld System.Int32 stackLimit
L_011b: bgt Label #12
L_0120: Label #10
L_0120: ldarg.1
L_0121: ldfld RimWorld.ThoughtDef def
L_0126: ldfld RimWorld.ThoughtDef thoughtToMake
L_012b: brfalse Label #13
L_0130: ldarg.0
L_0131: ldarg.1
L_0132: ldfld RimWorld.ThoughtDef def
L_0137: ldfld RimWorld.ThoughtDef thoughtToMake
L_013c: ldarg.1
L_013d: ldfld Verse.Pawn otherPawn
L_0142: call Void TryGainMemoryThought(RimWorld.ThoughtDef, Verse.Pawn)
L_0147: Label #13
L_0147: ldloc.0
L_0148: brfalse Label #14
L_014d: ldarg.1
L_014e: ldfld RimWorld.ThoughtDef def
L_0153: ldfld System.Boolean showBubble
L_0158: brfalse Label #15
L_015d: ldarg.0
L_015e: ldfld Verse.Pawn pawn
L_0163: callvirt Boolean get_Spawned()
L_0168: brfalse Label #16
L_016d: ldarg.0
L_016e: ldfld Verse.Pawn pawn
L_0173: ldarg.1
L_0174: call RimWorld.MoteBubble MakeMoodThoughtBubble(Verse.Pawn, RimWorld.Thought)
L_0179: pop
L_017a: Label #14
L_017a: Label #15
L_017a: Label #16
L_017a: br Label #0
L_017f: Label #0
L_017f: Label #1
L_017f: ret
DONE

PATCHING RimWorld.SituationalThoughtHandler RimWorld.Thought_Situational TryCreateSituationalThought(RimWorld.ThoughtDef)
L_0000: Local var #0 RimWorld.Thought_Situational
L_0000: Local var #1 System.Exception
L_0000: Local var #2 RimWorld.Thought_Situational
L_0000: Local var #3 RimWorld.ThoughtState
L_0000: Local var #4 RimWorld.Thought_Situational
L_0000: ldnull
L_0001: stloc 4 (RimWorld.Thought_Situational)
L_0003: ldarga 1
L_0009: ldarg.0
L_000a: call Boolean TryCreateSituationalThoughtPrefix(RimWorld.ThoughtDef ByRef, RimWorld.SituationalThoughtHandler)
L_000f: brfalse Label #1
L_0014: ldnull
L_0015: stloc.0
L_0016: ldarg.0
L_0017: ldfld Verse.Pawn pawn
L_001c: ldfld RimWorld.Pawn_NeedsTracker needs
L_0021: ldfld RimWorld.Need_Mood mood
L_0026: ldfld RimWorld.ThoughtHandler thoughts
L_002b: ldarg.1
L_002c: callvirt Boolean CanGetThought(RimWorld.ThoughtDef)
L_0031: brtrue Label #2
L_0036: ldnull
L_0037: stloc.2
L_0038: leave Label #3
L_003d: Label #2
L_003d: ldarg.1
L_003e: callvirt RimWorld.ThoughtWorker get_Worker()
L_0043: ldarg.0
L_0044: ldfld Verse.Pawn pawn
L_0049: callvirt ThoughtState CurrentState(Verse.Pawn)
L_004e: stloc.3
L_004f: ldloca.s 3 (RimWorld.ThoughtState)
L_0051: call Boolean get_Active()
L_0056: brtrue Label #4
L_005b: ldnull
L_005c: stloc.2
L_005d: leave Label #5
L_0062: Label #4
L_0062: ldarg.1
L_0063: call RimWorld.Thought MakeThought(RimWorld.ThoughtDef)
L_0068: castclass RimWorld.Thought_Situational
L_006d: stloc.0
L_006e: ldloc.0
L_006f: ldarg.0
L_0070: ldfld Verse.Pawn pawn
L_0075: stfld Verse.Pawn pawn
L_007a: ldloc.0
L_007b: callvirt Void RecalculateState()
L_0080: leave Label #6
L_0085: stloc.1
L_0086: ldc.i4.6
L_0087: newarr System.Object
L_008c: dup
L_008d: ldc.i4.0
L_008e: ldstr "Exception while recalculating "
L_0093: stelem.ref
L_0094: dup
L_0095: ldc.i4.1
L_0096: ldarg.1
L_0097: stelem.ref
L_0098: dup
L_0099: ldc.i4.2
L_009a: ldstr " thought state for pawn "
L_009f: stelem.ref
L_00a0: dup
L_00a1: ldc.i4.3
L_00a2: ldarg.0
L_00a3: ldfld Verse.Pawn pawn
L_00a8: stelem.ref
L_00a9: dup
L_00aa: ldc.i4.4
L_00ab: ldstr ": "
L_00b0: stelem.ref
L_00b1: dup
L_00b2: ldc.i4.5
L_00b3: ldloc.1
L_00b4: stelem.ref
L_00b5: call System.String Concat(System.Object[])
L_00ba: call Void Error(System.String)
L_00bf: leave Label #7
L_00c4: Label #6
L_00c4: Label #7
L_00c4: ldloc.0
L_00c5: br Label #0
L_00ca: Label #3
L_00ca: Label #5
L_00ca: ldloc.2
L_00cb: br Label #0
L_00d0: Label #0
L_00d0: stloc 4 (RimWorld.Thought_Situational)
L_00d2: Label #1
L_00d2: ldloc 4 (RimWorld.Thought_Situational)
L_00d4: ret
DONE

PATCHING EdB.PrepareCarefully.AgeInjuryUtility Void GenerateRandomOldAgeInjuries(Verse.Pawn, Boolean)
L_0000: Local var #0 System.Int32
L_0000: Local var #1 System.Int32
L_0000: Local var #2 System.Int32
L_0000: Local var #3 Verse.DamageDef
L_0000: Local var #4 System.Int32
L_0000: Local var #5 System.Collections.Generic.IEnumerable`1[[Verse.BodyPartRecord, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #6 Verse.BodyPartRecord
L_0000: Local var #7 Verse.HediffDef
L_0000: Local var #8 Verse.Hediff_Injury
L_0000: Local var #9 System.Int32
L_0000: Local var #10 Verse.HediffGiver_Birthday
L_0000: Local var #11 System.Func`2[[Verse.BodyPartRecord, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #12 EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4
L_0000: Local var #13 System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #14 System.Collections.Generic.IEnumerator`1[[Verse.HediffGiver_Birthday, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg 0
L_0006: call Boolean GenerateRandomOldAgeInjuriesPrefix(Verse.Pawn)
L_000b: brfalse Label #1
L_0010: ldnull
L_0011: stloc.s 11 (System.Func`2[Verse.BodyPartRecord,System.Boolean])
L_0013: newobj Void .ctor()
L_0018: stloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_001a: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_001c: ldarg.0
L_001d: stfld Verse.Pawn pawn
L_0022: ldc.i4.0
L_0023: stloc.0
L_0024: ldc.i4.s 10
L_0026: stloc.1
L_0027: br Label #2
L_002c: Label #4
L_002c: call Single get_Value()
L_0031: conv.r8
L_0032: ldc.r8 0.15
L_003b: bge.un Label #3
L_0040: ldloc.0
L_0041: ldc.i4.1
L_0042: add
L_0043: stloc.0
L_0044: Label #3
L_0044: ldloc.1
L_0045: ldc.i4.s 10
L_0047: add
L_0048: stloc.1
L_0049: Label #2
L_0049: ldloc.1
L_004a: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_004c: ldfld Verse.Pawn pawn
L_0051: ldfld Verse.Pawn_AgeTracker ageTracker
L_0056: callvirt Int32 get_AgeBiologicalYears()
L_005b: blt Label #4
L_0060: ldc.i4.0
L_0061: stloc.2
L_0062: br Label #5
L_0067: Label #11
L_0067: call Verse.DamageDef RandomOldInjuryDamageType()
L_006c: stloc.3
L_006d: ldc.i4.2
L_006e: ldc.i4.6
L_006f: call Int32 RangeInclusive(Int32, Int32)
L_0074: stloc.s 4 (System.Int32)
L_0076: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_0078: ldfld Verse.Pawn pawn
L_007d: ldfld Verse.Pawn_HealthTracker health
L_0082: ldfld Verse.HediffSet hediffSet
L_0087: ldc.i4.0
L_0088: ldc.i4.0
L_0089: callvirt IEnumerable`1 GetNotMissingParts(BodyPartHeight, BodyPartDepth)
L_008e: ldloc.s 11 (System.Func`2[Verse.BodyPartRecord,System.Boolean])
L_0090: brtrue Label #6
L_0095: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_0097: ldftn Boolean <GenerateRandomOldAgeInjuries>b__0(Verse.BodyPartRecord)
L_009d: newobj Void .ctor(Object, IntPtr)
L_00a2: stloc.s 11 (System.Func`2[Verse.BodyPartRecord,System.Boolean])
L_00a4: Label #6
L_00a4: ldloc.s 11 (System.Func`2[Verse.BodyPartRecord,System.Boolean])
L_00a6: call IEnumerable`1 Where[BodyPartRecord](IEnumerable`1, System.Func`2[Verse.BodyPartRecord,System.Boolean])
L_00ab: stloc.s 5 (System.Collections.Generic.IEnumerable`1[Verse.BodyPartRecord])
L_00ad: ldloc.s 5 (System.Collections.Generic.IEnumerable`1[Verse.BodyPartRecord])
L_00af: call Boolean Any[BodyPartRecord](IEnumerable`1)
L_00b4: brfalse Label #7
L_00b9: ldloc.s 5 (System.Collections.Generic.IEnumerable`1[Verse.BodyPartRecord])
L_00bb: ldsfld System.Func`2[Verse.BodyPartRecord,System.Single] CS$<>9__CachedAnonymousMethodDelegate3
L_00c0: brtrue Label #8
L_00c5: ldnull
L_00c6: ldftn Single <GenerateRandomOldAgeInjuries>b__1(Verse.BodyPartRecord)
L_00cc: newobj Void .ctor(Object, IntPtr)
L_00d1: stsfld System.Func`2[Verse.BodyPartRecord,System.Single] CS$<>9__CachedAnonymousMethodDelegate3
L_00d6: Label #8
L_00d6: ldsfld System.Func`2[Verse.BodyPartRecord,System.Single] CS$<>9__CachedAnonymousMethodDelegate3
L_00db: call Verse.BodyPartRecord RandomElementByWeight[BodyPartRecord](IEnumerable`1, System.Func`2[Verse.BodyPartRecord,System.Single])
L_00e0: stloc.s 6 (Verse.BodyPartRecord)
L_00e2: ldloc.3
L_00e3: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_00e5: ldfld Verse.Pawn pawn
L_00ea: ldloc.s 6 (Verse.BodyPartRecord)
L_00ec: call Verse.HediffDef GetHediffDefFromDamage(Verse.DamageDef, Verse.Pawn, Verse.BodyPartRecord)
L_00f1: stloc.s 7 (Verse.HediffDef)
L_00f3: ldloc.s 6 (Verse.BodyPartRecord)
L_00f5: ldfld Verse.BodyPartDef def
L_00fa: ldfld System.Single oldInjuryBaseChance
L_00ff: ldc.r4 0
L_0104: ble.un Label #9
L_0109: ldloc.s 7 (Verse.HediffDef)
L_010b: ldtoken Verse.HediffComp_GetsOld
L_0110: call System.Type GetTypeFromHandle(RuntimeTypeHandle)
L_0115: callvirt Verse.HediffCompProperties CompPropsFor(System.Type)
L_011a: brfalse Label #10
L_011f: ldloc.s 7 (Verse.HediffDef)
L_0121: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_0123: ldfld Verse.Pawn pawn
L_0128: ldnull
L_0129: call Verse.Hediff MakeHediff(Verse.HediffDef, Verse.Pawn, Verse.BodyPartRecord)
L_012e: castclass Verse.Hediff_Injury
L_0133: stloc.s 8 (Verse.Hediff_Injury)
L_0135: ldloc.s 8 (Verse.Hediff_Injury)
L_0137: ldloc.s 4 (System.Int32)
L_0139: conv.r4
L_013a: callvirt Void set_Severity(Single)
L_013f: ldloc.s 8 (Verse.Hediff_Injury)
L_0141: call Verse.HediffComp_GetsOld TryGetComp[HediffComp_GetsOld](Verse.Hediff)
L_0146: ldc.i4.1
L_0147: callvirt Void set_IsOld(Boolean)
L_014c: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_014e: ldfld Verse.Pawn pawn
L_0153: ldfld Verse.Pawn_HealthTracker health
L_0158: ldloc.s 8 (Verse.Hediff_Injury)
L_015a: ldloc.s 6 (Verse.BodyPartRecord)
L_015c: ldloca.s 13 (System.Nullable`1[Verse.DamageInfo])
L_015e: initobj System.Nullable`1[Verse.DamageInfo]
L_0164: ldloc.s 13 (System.Nullable`1[Verse.DamageInfo])
L_0166: callvirt Void AddHediff(Verse.Hediff, Verse.BodyPartRecord, Nullable`1)
L_016b: Label #7
L_016b: Label #9
L_016b: Label #10
L_016b: ldloc.2
L_016c: ldc.i4.1
L_016d: add
L_016e: stloc.2
L_016f: Label #5
L_016f: ldloc.2
L_0170: ldloc.0
L_0171: blt Label #11
L_0176: ldc.i4.1
L_0177: stloc.s 9 (System.Int32)
L_0179: br Label #12
L_017e: Label #17
L_017e: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_0180: ldfld Verse.Pawn pawn
L_0185: ldloc.s 9 (System.Int32)
L_0187: call IEnumerable`1 RandomHediffsToGainOnBirthday(Verse.Pawn, Int32)
L_018c: callvirt IEnumerator`1 GetEnumerator()
L_0191: stloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.HediffGiver_Birthday])
L_0193: br Label #13
L_0198: Label #14
L_0198: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.HediffGiver_Birthday])
L_019a: callvirt Verse.HediffGiver_Birthday get_Current()
L_019f: stloc.s 10 (Verse.HediffGiver_Birthday)
L_01a1: ldloc.s 10 (Verse.HediffGiver_Birthday)
L_01a3: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_01a5: ldfld Verse.Pawn pawn
L_01aa: ldloc.s 9 (System.Int32)
L_01ac: conv.r4
L_01ad: ldarg.1
L_01ae: callvirt Void TryApplyAndSimulateSeverityChange(Verse.Pawn, Single, Boolean)
L_01b3: Label #13
L_01b3: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.HediffGiver_Birthday])
L_01b5: callvirt Boolean MoveNext()
L_01ba: brtrue Label #14
L_01bf: leave.s Label #15
L_01c1: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.HediffGiver_Birthday])
L_01c3: brfalse Label #16
L_01c8: ldloc.s 14 (System.Collections.Generic.IEnumerator`1[Verse.HediffGiver_Birthday])
L_01ca: callvirt Void Dispose()
L_01cf: Label #16
L_01cf: endfinally
L_01d0: Label #15
L_01d0: ldloc.s 9 (System.Int32)
L_01d2: ldc.i4.1
L_01d3: add
L_01d4: stloc.s 9 (System.Int32)
L_01d6: Label #12
L_01d6: ldloc.s 9 (System.Int32)
L_01d8: ldloc.s 12 (EdB.PrepareCarefully.AgeInjuryUtility+<>c__DisplayClass4)
L_01da: ldfld Verse.Pawn pawn
L_01df: ldfld Verse.Pawn_AgeTracker ageTracker
L_01e4: callvirt Int32 get_AgeBiologicalYears()
L_01e9: blt Label #17
L_01ee: br Label #0
L_01f3: Label #0
L_01f3: Label #1
L_01f3: ret
DONE

PATCHING EdB.PrepareCarefully.AgeInjuryUtility IEnumerable`1 RandomHediffsToGainOnBirthday(Verse.ThingDef, Int32)
L_0000: Local var #0 System.Collections.Generic.List`1[[Verse.HediffGiver_Birthday, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #1 System.Collections.Generic.List`1[[RimWorld.HediffGiverSetDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 RimWorld.HediffGiverSetDef
L_0000: Local var #3 Verse.HediffGiver
L_0000: Local var #4 System.Single
L_0000: Local var #5 Verse.HediffGiver_Birthday
L_0000: Local var #6 System.Collections.Generic.List`1+Enumerator[[RimWorld.HediffGiverSetDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #7 System.Collections.Generic.List`1+Enumerator[[Verse.HediffGiver, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #8 System.Collections.Generic.IEnumerable`1[[Verse.HediffGiver_Birthday, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: ldnull
L_0001: stloc 8 (System.Collections.Generic.IEnumerable`1[Verse.HediffGiver_Birthday])
L_0003: newobj Void .ctor()
L_0008: stloc.0
L_0009: ldarg.0
L_000a: ldfld Verse.RaceProperties race
L_000f: ldfld System.Collections.Generic.List`1[RimWorld.HediffGiverSetDef] hediffGiverSets
L_0014: stloc.1
L_0015: ldloc.1
L_0016: brfalse Label #2
L_001b: ldloc.1
L_001c: callvirt Enumerator GetEnumerator()
L_0021: stloc.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.HediffGiverSetDef])
L_0023: br Label #3
L_0028: Label #9
L_0028: ldloca.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.HediffGiverSetDef])
L_002a: call RimWorld.HediffGiverSetDef get_Current()
L_002f: stloc.2
L_0030: ldloc.2
L_0031: ldfld System.Collections.Generic.List`1[Verse.HediffGiver] hediffGivers
L_0036: callvirt Enumerator GetEnumerator()
L_003b: stloc.s 7 (System.Collections.Generic.List`1+Enumerator[Verse.HediffGiver])
L_003d: br Label #4
L_0042: Label #7
L_0042: ldloca.s 7 (System.Collections.Generic.List`1+Enumerator[Verse.HediffGiver])
L_0044: call Verse.HediffGiver get_Current()
L_0049: stloc.3
L_004a: ldarg.1
L_004b: conv.r4
L_004c: ldarg.0
L_004d: ldfld Verse.RaceProperties race
L_0052: ldfld System.Single lifeExpectancy
L_0057: div
L_0058: stloc.s 4 (System.Single)
L_005a: ldloc.3
L_005b: isinst Verse.HediffGiver_Birthday
L_0060: stloc.s 5 (Verse.HediffGiver_Birthday)
L_0062: ldloc.s 5 (Verse.HediffGiver_Birthday)
L_0064: brfalse Label #5
L_0069: call Single get_Value()
L_006e: ldloc.s 5 (Verse.HediffGiver_Birthday)
L_0070: ldfld Verse.SimpleCurve ageFractionChanceCurve
L_0075: ldloc.s 4 (System.Single)
L_0077: callvirt Single Evaluate(Single)
L_007c: bge.un Label #6
L_0081: ldloc.0
L_0082: ldloc.s 5 (Verse.HediffGiver_Birthday)
L_0084: callvirt Void Add(Verse.HediffGiver_Birthday)
L_0089: Label #4
L_0089: Label #5
L_0089: Label #6
L_0089: ldloca.s 7 (System.Collections.Generic.List`1+Enumerator[Verse.HediffGiver])
L_008b: call Boolean MoveNext()
L_0090: brtrue Label #7
L_0095: leave.s Label #8
L_0097: ldloca.s 7 (System.Collections.Generic.List`1+Enumerator[Verse.HediffGiver])
L_0099: constrained. System.Collections.Generic.List`1+Enumerator[Verse.HediffGiver]
L_009f: callvirt Void Dispose()
L_00a4: endfinally
L_00a5: Label #3
L_00a5: Label #8
L_00a5: ldloca.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.HediffGiverSetDef])
L_00a7: call Boolean MoveNext()
L_00ac: brtrue Label #9
L_00b1: leave.s Label #10
L_00b3: ldloca.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.HediffGiverSetDef])
L_00b5: constrained. System.Collections.Generic.List`1+Enumerator[RimWorld.HediffGiverSetDef]
L_00bb: callvirt Void Dispose()
L_00c0: endfinally
L_00c1: Label #2
L_00c1: Label #10
L_00c1: ldloc.0
L_00c2: br Label #0
L_00c7: Label #0
L_00c7: stloc 8 (System.Collections.Generic.IEnumerable`1[Verse.HediffGiver_Birthday])
L_00c9: ldloca 8 (System.Collections.Generic.IEnumerable`1[Verse.HediffGiver_Birthday])
L_00cb: ldarg 0
L_00d1: call Void RandomHediffsToGainOnBirthdayPostfix(IEnumerable`1 ByRef, Verse.ThingDef)
L_00d6: ldloc 8 (System.Collections.Generic.IEnumerable`1[Verse.HediffGiver_Birthday])
L_00d8: ret
DONE

PATCHING Verse.AI.JobDriver PawnPosture get_Posture()
L_0000: Local var #0 RimWorld.PawnPosture
L_0000: ldc.i4 0
L_0005: stloc 0 (RimWorld.PawnPosture)
L_0006: ldarg.0
L_0007: ldfld System.Boolean layingDown
L_000c: brfalse Label #2
L_0011: ldc.i4.2
L_0012: br Label #3
L_0017: Label #2
L_0017: ldc.i4.0
L_0018: Label #3
L_0018: br Label #0
L_001d: Label #0
L_001d: stloc 0 (RimWorld.PawnPosture)
L_001e: ldarg.0
L_001f: ldloca 0 (RimWorld.PawnPosture)
L_0021: call Void PosturePostfix(Verse.AI.JobDriver, PawnPosture ByRef)
L_0026: ldloc 0 (RimWorld.PawnPosture)
L_0027: ret
DONE

PATCHING RimWorld.JobDriver_Skygaze PawnPosture get_Posture()
L_0000: Local var #0 RimWorld.PawnPosture
L_0000: ldc.i4 0
L_0005: stloc 0 (RimWorld.PawnPosture)
L_0006: ldarg.0
L_0007: call Verse.AI.Toil get_CurToil()
L_000c: ldarg.0
L_000d: ldfld Verse.AI.Toil gaze
L_0012: bne.un Label #2
L_0017: ldc.i4.1
L_0018: br Label #3
L_001d: Label #2
L_001d: ldc.i4.0
L_001e: Label #3
L_001e: br Label #0
L_0023: Label #0
L_0023: stloc 0 (RimWorld.PawnPosture)
L_0024: ldarg.0
L_0025: ldloca 0 (RimWorld.PawnPosture)
L_0027: call Void PosturePostfix(Verse.AI.JobDriver, PawnPosture ByRef)
L_002c: ldloc 0 (RimWorld.PawnPosture)
L_002d: ret
DONE

PATCHING Verse.PawnGenerator Void GenerateRandomAge(Verse.Pawn, PawnGenerationRequest)
L_0000: Local var #0 System.Int32
L_0000: Local var #1 System.Single
L_0000: Local var #2 System.Int32
L_0000: Local var #3 System.Single
L_0000: Local var #4 System.Int32
L_0000: Local var #5 System.Int32
L_0000: Local var #6 System.Single
L_0000: Local var #7 System.Int32
L_0000: Local var #8 System.Int32
L_0000: Local var #9 System.Int64
L_0000: Local var #10 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #11 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #12 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #13 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #14 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #15 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #16 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #17 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: ldarg 0
L_0006: ldarg 1
L_000c: call Void GenerateRandomAgePrefix(Verse.Pawn, PawnGenerationRequest)
L_0011: ldarga.s 1
L_0013: call Nullable`1 get_FixedBiologicalAge()
L_0018: stloc.s 10 (System.Nullable`1[System.Single])
L_001a: ldloca.s 10 (System.Nullable`1[System.Single])
L_001c: call Boolean get_HasValue()
L_0021: brfalse Label #2
L_0026: ldarga.s 1
L_0028: call Nullable`1 get_FixedChronologicalAge()
L_002d: stloc.s 11 (System.Nullable`1[System.Single])
L_002f: ldloca.s 11 (System.Nullable`1[System.Single])
L_0031: call Boolean get_HasValue()
L_0036: brfalse Label #3
L_003b: ldarga.s 1
L_003d: call Nullable`1 get_FixedBiologicalAge()
L_0042: stloc.s 12 (System.Nullable`1[System.Single])
L_0044: ldloca.s 12 (System.Nullable`1[System.Single])
L_0046: call Boolean get_HasValue()
L_004b: brfalse Label #4
L_0050: ldarga.s 1
L_0052: call Nullable`1 get_FixedChronologicalAge()
L_0057: stloc.s 13 (System.Nullable`1[System.Single])
L_0059: ldloca.s 13 (System.Nullable`1[System.Single])
L_005b: call Boolean get_HasValue()
L_0060: brfalse Label #5
L_0065: ldloca.s 12 (System.Nullable`1[System.Single])
L_0067: call Single get_Value()
L_006c: ldloca.s 13 (System.Nullable`1[System.Single])
L_006e: call Single get_Value()
L_0073: cgt
L_0075: br Label #6
L_007a: Label #4
L_007a: Label #5
L_007a: ldc.i4.0
L_007b: Label #6
L_007b: brfalse Label #7
L_0080: ldc.i4.7
L_0081: newarr System.Object
L_0086: dup
L_0087: ldc.i4.0
L_0088: ldstr "Tried to generate age for pawn "
L_008d: stelem.ref
L_008e: dup
L_008f: ldc.i4.1
L_0090: ldarg.0
L_0091: stelem.ref
L_0092: dup
L_0093: ldc.i4.2
L_0094: ldstr ", but pawn generation request demands biological age ("
L_0099: stelem.ref
L_009a: dup
L_009b: ldc.i4.3
L_009c: ldarga.s 1
L_009e: call Nullable`1 get_FixedBiologicalAge()
L_00a3: box System.Nullable`1[System.Single]
L_00a8: stelem.ref
L_00a9: dup
L_00aa: ldc.i4.4
L_00ab: ldstr ") to be greater than chronological age ("
L_00b0: stelem.ref
L_00b1: dup
L_00b2: ldc.i4.5
L_00b3: ldarga.s 1
L_00b5: call Nullable`1 get_FixedChronologicalAge()
L_00ba: box System.Nullable`1[System.Single]
L_00bf: stelem.ref
L_00c0: dup
L_00c1: ldc.i4.6
L_00c2: ldstr ")."
L_00c7: stelem.ref
L_00c8: call System.String Concat(System.Object[])
L_00cd: call Void Warning(System.String)
L_00d2: Label #2
L_00d2: Label #3
L_00d2: Label #7
L_00d2: ldarga.s 1
L_00d4: call Boolean get_Newborn()
L_00d9: brfalse Label #8
L_00de: ldarg.0
L_00df: ldfld Verse.Pawn_AgeTracker ageTracker
L_00e4: ldc.i4.0
L_00e5: conv.i8
L_00e6: callvirt Void set_AgeBiologicalTicks(Int64)
L_00eb: br Label #9
L_00f0: Label #8
L_00f0: ldarga.s 1
L_00f2: call Nullable`1 get_FixedBiologicalAge()
L_00f7: stloc.s 14 (System.Nullable`1[System.Single])
L_00f9: ldloca.s 14 (System.Nullable`1[System.Single])
L_00fb: call Boolean get_HasValue()
L_0100: brfalse Label #10
L_0105: ldarg.0
L_0106: ldfld Verse.Pawn_AgeTracker ageTracker
L_010b: ldarga.s 1
L_010d: call Nullable`1 get_FixedBiologicalAge()
L_0112: stloc.s 15 (System.Nullable`1[System.Single])
L_0114: ldloca.s 15 (System.Nullable`1[System.Single])
L_0116: call Single get_Value()
L_011b: ldc.r4 3600000
L_0120: mul
L_0121: conv.i8
L_0122: callvirt Void set_AgeBiologicalTicks(Int64)
L_0127: br Label #11
L_012c: Label #10
L_012c: ldc.r4 0
L_0131: stloc.3
L_0132: ldc.i4.0
L_0133: stloc.s 4 (System.Int32)
L_0135: Label #18
L_0135: Label #19
L_0135: ldarg.0
L_0136: callvirt Verse.RaceProperties get_RaceProps()
L_013b: ldfld Verse.SimpleCurve ageGenerationCurve
L_0140: brfalse Label #12
L_0145: ldarg.0
L_0146: callvirt Verse.RaceProperties get_RaceProps()
L_014b: ldfld Verse.SimpleCurve ageGenerationCurve
L_0150: ldc.i4 200
L_0155: call Single ByCurve(Verse.SimpleCurve, Int32)
L_015a: call Int32 RoundToInt(Single)
L_015f: conv.r4
L_0160: stloc.3
L_0161: br Label #13
L_0166: Label #12
L_0166: ldarg.0
L_0167: callvirt Verse.RaceProperties get_RaceProps()
L_016c: callvirt Boolean get_IsMechanoid()
L_0171: brfalse Label #14
L_0176: ldc.i4.0
L_0177: ldc.i4 2500
L_017c: call Int32 Range(Int32, Int32)
L_0181: conv.r4
L_0182: stloc.3
L_0183: br Label #15
L_0188: Label #14
L_0188: ldsfld Verse.SimpleCurve DefaultAgeGenerationCurve
L_018d: ldc.i4 200
L_0192: call Single ByCurve(Verse.SimpleCurve, Int32)
L_0197: ldarg.0
L_0198: callvirt Verse.RaceProperties get_RaceProps()
L_019d: ldfld System.Single lifeExpectancy
L_01a2: mul
L_01a3: stloc.3
L_01a4: Label #13
L_01a4: Label #15
L_01a4: ldloc.s 4 (System.Int32)
L_01a6: ldc.i4.1
L_01a7: add
L_01a8: stloc.s 4 (System.Int32)
L_01aa: ldloc.s 4 (System.Int32)
L_01ac: ldc.i4 300
L_01b1: ble Label #16
L_01b6: ldstr "Tried 300 times to generate age for "
L_01bb: ldarg.0
L_01bc: call System.String Concat(System.Object, System.Object)
L_01c1: call Void Error(System.String)
L_01c6: br Label #17
L_01cb: Label #16
L_01cb: ldloc.3
L_01cc: ldarg.0
L_01cd: ldfld Verse.PawnKindDef kindDef
L_01d2: ldfld System.Int32 maxGenerationAge
L_01d7: conv.r4
L_01d8: bgt Label #18
L_01dd: ldloc.3
L_01de: ldarg.0
L_01df: ldfld Verse.PawnKindDef kindDef
L_01e4: ldfld System.Int32 minGenerationAge
L_01e9: conv.r4
L_01ea: blt Label #19
L_01ef: Label #17
L_01ef: ldarg.0
L_01f0: ldfld Verse.Pawn_AgeTracker ageTracker
L_01f5: ldloc.3
L_01f6: ldc.r4 3600000
L_01fb: mul
L_01fc: conv.i8
L_01fd: ldc.i4.0
L_01fe: ldc.i4 3600000
L_0203: call Int32 Range(Int32, Int32)
L_0208: conv.i8
L_0209: add
L_020a: callvirt Void set_AgeBiologicalTicks(Int64)
L_020f: Label #9
L_020f: Label #11
L_020f: ldarga.s 1
L_0211: call Boolean get_Newborn()
L_0216: brfalse Label #20
L_021b: ldarg.0
L_021c: ldfld Verse.Pawn_AgeTracker ageTracker
L_0221: ldc.i4.0
L_0222: conv.i8
L_0223: callvirt Void set_AgeChronologicalTicks(Int64)
L_0228: br Label #21
L_022d: Label #20
L_022d: ldarga.s 1
L_022f: call Nullable`1 get_FixedChronologicalAge()
L_0234: stloc.s 16 (System.Nullable`1[System.Single])
L_0236: ldloca.s 16 (System.Nullable`1[System.Single])
L_0238: call Boolean get_HasValue()
L_023d: brfalse Label #22
L_0242: ldarg.0
L_0243: ldfld Verse.Pawn_AgeTracker ageTracker
L_0248: ldarga.s 1
L_024a: call Nullable`1 get_FixedChronologicalAge()
L_024f: stloc.s 17 (System.Nullable`1[System.Single])
L_0251: ldloca.s 17 (System.Nullable`1[System.Single])
L_0253: call Single get_Value()
L_0258: ldc.r4 3600000
L_025d: mul
L_025e: conv.i8
L_025f: callvirt Void set_AgeChronologicalTicks(Int64)
L_0264: br Label #23
L_0269: Label #22
L_0269: call Single get_Value()
L_026e: ldarg.0
L_026f: ldfld Verse.PawnKindDef kindDef
L_0274: ldfld System.Single backstoryCryptosleepCommonality
L_0279: bge.un Label #24
L_027e: call Single get_Value()
L_0283: stloc.s 6 (System.Single)
L_0285: ldloc.s 6 (System.Single)
L_0287: ldc.r4 0.7
L_028c: bge.un Label #25
L_0291: ldc.i4.0
L_0292: ldc.i4.s 100
L_0294: call Int32 Range(Int32, Int32)
L_0299: stloc.s 5 (System.Int32)
L_029b: br Label #26
L_02a0: Label #25
L_02a0: ldloc.s 6 (System.Single)
L_02a2: ldc.r4 0.95
L_02a7: bge.un Label #27
L_02ac: ldc.i4.s 100
L_02ae: ldc.i4 1000
L_02b3: call Int32 Range(Int32, Int32)
L_02b8: stloc.s 5 (System.Int32)
L_02ba: br Label #28
L_02bf: Label #27
L_02bf: call Int32 get_TicksAbs()
L_02c4: conv.i8
L_02c5: ldc.r4 0
L_02ca: call Int32 Year(Int64, Single)
L_02cf: ldc.i4 2026
L_02d4: sub
L_02d5: ldarg.0
L_02d6: ldfld Verse.Pawn_AgeTracker ageTracker
L_02db: callvirt Int32 get_AgeBiologicalYears()
L_02e0: sub
L_02e1: stloc.s 7 (System.Int32)
L_02e3: ldc.i4 1000
L_02e8: ldloc.s 7 (System.Int32)
L_02ea: call Int32 Range(Int32, Int32)
L_02ef: stloc.s 5 (System.Int32)
L_02f1: Label #26
L_02f1: Label #28
L_02f1: br Label #29
L_02f6: Label #24
L_02f6: ldc.i4.0
L_02f7: stloc.s 5 (System.Int32)
L_02f9: Label #29
L_02f9: call Int32 get_TicksAbs()
L_02fe: stloc.s 8 (System.Int32)
L_0300: ldloc.s 8 (System.Int32)
L_0302: conv.i8
L_0303: ldarg.0
L_0304: ldfld Verse.Pawn_AgeTracker ageTracker
L_0309: callvirt Int64 get_AgeBiologicalTicks()
L_030e: sub
L_030f: stloc.s 9 (System.Int64)
L_0311: ldloc.s 9 (System.Int64)
L_0313: ldloc.s 5 (System.Int32)
L_0315: conv.i8
L_0316: ldc.i4 3600000
L_031b: conv.i8
L_031c: mul
L_031d: sub
L_031e: stloc.s 9 (System.Int64)
L_0320: ldarg.0
L_0321: ldfld Verse.Pawn_AgeTracker ageTracker
L_0326: ldloc.s 9 (System.Int64)
L_0328: callvirt Void set_BirthAbsTicks(Int64)
L_032d: Label #21
L_032d: Label #23
L_032d: ldarg.0
L_032e: ldfld Verse.Pawn_AgeTracker ageTracker
L_0333: callvirt Int64 get_AgeBiologicalTicks()
L_0338: ldarg.0
L_0339: ldfld Verse.Pawn_AgeTracker ageTracker
L_033e: callvirt Int64 get_AgeChronologicalTicks()
L_0343: ble Label #30
L_0348: ldarg.0
L_0349: ldfld Verse.Pawn_AgeTracker ageTracker
L_034e: ldarg.0
L_034f: ldfld Verse.Pawn_AgeTracker ageTracker
L_0354: callvirt Int64 get_AgeBiologicalTicks()
L_0359: callvirt Void set_AgeChronologicalTicks(Int64)
L_035e: Label #30
L_035e: br Label #0
L_0363: Label #0
L_0363: ret
DONE

PATCHING Verse.PawnGenerator Void GenerateTraits(Verse.Pawn, Boolean)
L_0000: Local var #0 System.Collections.Generic.List`1[[RimWorld.TraitEntry, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #1 System.Int32
L_0000: Local var #2 RimWorld.TraitEntry
L_0000: Local var #3 System.Collections.Generic.List`1[[RimWorld.TraitEntry, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #4 System.Int32
L_0000: Local var #5 RimWorld.TraitEntry
L_0000: Local var #6 System.Int32
L_0000: Local var #7 RimWorld.Trait
L_0000: Local var #8 System.Int32
L_0000: Local var #9 RimWorld.Trait
L_0000: Local var #10 Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0
L_0000: Local var #11 Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1
L_0000: ldarg 0
L_0006: call Void GenerateTraitsPrefix(Verse.Pawn)
L_000b: newobj Void .ctor()
L_0010: stloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0012: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0014: ldarg.0
L_0015: stfld Verse.Pawn pawn
L_001a: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_001c: ldfld Verse.Pawn pawn
L_0021: ldfld RimWorld.Pawn_StoryTracker story
L_0026: brtrue Label #2
L_002b: br Label #0
L_0030: Label #2
L_0030: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0032: ldfld Verse.Pawn pawn
L_0037: ldfld RimWorld.Pawn_StoryTracker story
L_003c: ldfld RimWorld.Backstory childhood
L_0041: ldfld System.Collections.Generic.List`1[RimWorld.TraitEntry] forcedTraits
L_0046: brfalse Label #3
L_004b: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_004d: ldfld Verse.Pawn pawn
L_0052: ldfld RimWorld.Pawn_StoryTracker story
L_0057: ldfld RimWorld.Backstory childhood
L_005c: ldfld System.Collections.Generic.List`1[RimWorld.TraitEntry] forcedTraits
L_0061: stloc.0
L_0062: ldc.i4.0
L_0063: stloc.1
L_0064: br Label #4
L_0069: Label #8
L_0069: ldloc.0
L_006a: ldloc.1
L_006b: callvirt RimWorld.TraitEntry get_Item(Int32)
L_0070: stloc.2
L_0071: ldloc.2
L_0072: ldfld RimWorld.TraitDef def
L_0077: brtrue Label #5
L_007c: ldstr "Null forced trait def on "
L_0081: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0083: ldfld Verse.Pawn pawn
L_0088: ldfld RimWorld.Pawn_StoryTracker story
L_008d: ldfld RimWorld.Backstory childhood
L_0092: call System.String Concat(System.Object, System.Object)
L_0097: call Void Error(System.String)
L_009c: br Label #6
L_00a1: Label #5
L_00a1: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_00a3: ldfld Verse.Pawn pawn
L_00a8: ldfld RimWorld.Pawn_StoryTracker story
L_00ad: ldfld RimWorld.TraitSet traits
L_00b2: ldloc.2
L_00b3: ldfld RimWorld.TraitDef def
L_00b8: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_00bd: brtrue Label #7
L_00c2: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_00c4: ldfld Verse.Pawn pawn
L_00c9: ldfld RimWorld.Pawn_StoryTracker story
L_00ce: ldfld RimWorld.TraitSet traits
L_00d3: ldloc.2
L_00d4: ldfld RimWorld.TraitDef def
L_00d9: ldloc.2
L_00da: ldfld System.Int32 degree
L_00df: ldc.i4.0
L_00e0: newobj Void .ctor(TraitDef, Int32, Boolean)
L_00e5: callvirt Void GainTrait(RimWorld.Trait)
L_00ea: Label #6
L_00ea: Label #7
L_00ea: ldloc.1
L_00eb: ldc.i4.1
L_00ec: add
L_00ed: stloc.1
L_00ee: Label #4
L_00ee: ldloc.1
L_00ef: ldloc.0
L_00f0: callvirt Int32 get_Count()
L_00f5: blt Label #8
L_00fa: Label #3
L_00fa: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_00fc: ldfld Verse.Pawn pawn
L_0101: ldfld RimWorld.Pawn_StoryTracker story
L_0106: ldfld RimWorld.Backstory adulthood
L_010b: brfalse Label #9
L_0110: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0112: ldfld Verse.Pawn pawn
L_0117: ldfld RimWorld.Pawn_StoryTracker story
L_011c: ldfld RimWorld.Backstory adulthood
L_0121: ldfld System.Collections.Generic.List`1[RimWorld.TraitEntry] forcedTraits
L_0126: brfalse Label #10
L_012b: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_012d: ldfld Verse.Pawn pawn
L_0132: ldfld RimWorld.Pawn_StoryTracker story
L_0137: ldfld RimWorld.Backstory adulthood
L_013c: ldfld System.Collections.Generic.List`1[RimWorld.TraitEntry] forcedTraits
L_0141: stloc.3
L_0142: ldc.i4.0
L_0143: stloc.s 4 (System.Int32)
L_0145: br Label #11
L_014a: Label #15
L_014a: ldloc.3
L_014b: ldloc.s 4 (System.Int32)
L_014d: callvirt RimWorld.TraitEntry get_Item(Int32)
L_0152: stloc.s 5 (RimWorld.TraitEntry)
L_0154: ldloc.s 5 (RimWorld.TraitEntry)
L_0156: ldfld RimWorld.TraitDef def
L_015b: brtrue Label #12
L_0160: ldstr "Null forced trait def on "
L_0165: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0167: ldfld Verse.Pawn pawn
L_016c: ldfld RimWorld.Pawn_StoryTracker story
L_0171: ldfld RimWorld.Backstory adulthood
L_0176: call System.String Concat(System.Object, System.Object)
L_017b: call Void Error(System.String)
L_0180: br Label #13
L_0185: Label #12
L_0185: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0187: ldfld Verse.Pawn pawn
L_018c: ldfld RimWorld.Pawn_StoryTracker story
L_0191: ldfld RimWorld.TraitSet traits
L_0196: ldloc.s 5 (RimWorld.TraitEntry)
L_0198: ldfld RimWorld.TraitDef def
L_019d: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_01a2: brtrue Label #14
L_01a7: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_01a9: ldfld Verse.Pawn pawn
L_01ae: ldfld RimWorld.Pawn_StoryTracker story
L_01b3: ldfld RimWorld.TraitSet traits
L_01b8: ldloc.s 5 (RimWorld.TraitEntry)
L_01ba: ldfld RimWorld.TraitDef def
L_01bf: ldloc.s 5 (RimWorld.TraitEntry)
L_01c1: ldfld System.Int32 degree
L_01c6: ldc.i4.0
L_01c7: newobj Void .ctor(TraitDef, Int32, Boolean)
L_01cc: callvirt Void GainTrait(RimWorld.Trait)
L_01d1: Label #13
L_01d1: Label #14
L_01d1: ldloc.s 4 (System.Int32)
L_01d3: ldc.i4.1
L_01d4: add
L_01d5: stloc.s 4 (System.Int32)
L_01d7: Label #11
L_01d7: ldloc.s 4 (System.Int32)
L_01d9: ldloc.3
L_01da: callvirt Int32 get_Count()
L_01df: blt Label #15
L_01e4: Label #9
L_01e4: Label #10
L_01e4: ldc.i4.2
L_01e5: ldc.i4.3
L_01e6: call Int32 RangeInclusive(Int32, Int32)
L_01eb: stloc.s 6 (System.Int32)
L_01ed: ldarg.1
L_01ee: brfalse Label #16
L_01f3: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_01f5: ldfld Verse.Pawn pawn
L_01fa: call Boolean HasAnyLovePartnerOfTheSameGender(Verse.Pawn)
L_01ff: brtrue Label #17
L_0204: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0206: ldfld Verse.Pawn pawn
L_020b: call Boolean HasAnyExLovePartnerOfTheSameGender(Verse.Pawn)
L_0210: brfalse Label #18
L_0215: Label #17
L_0215: ldsfld RimWorld.TraitDef Gay
L_021a: ldsfld RimWorld.TraitDef Gay
L_021f: call Int32 RandomTraitDegree(RimWorld.TraitDef)
L_0224: ldc.i4.0
L_0225: newobj Void .ctor(TraitDef, Int32, Boolean)
L_022a: stloc.s 7 (RimWorld.Trait)
L_022c: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_022e: ldfld Verse.Pawn pawn
L_0233: ldfld RimWorld.Pawn_StoryTracker story
L_0238: ldfld RimWorld.TraitSet traits
L_023d: ldloc.s 7 (RimWorld.Trait)
L_023f: callvirt Void GainTrait(RimWorld.Trait)
L_0244: Label #16
L_0244: Label #18
L_0244: br Label #19
L_0249: Label #45
L_0249: newobj Void .ctor()
L_024e: stloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0250: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0252: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0254: stfld Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0 <>f__ref$1200
L_0259: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_025b: call System.Collections.Generic.List`1[RimWorld.TraitDef] get_AllDefsListForReading()
L_0260: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0262: ldftn Single <>m__7BF(RimWorld.TraitDef)
L_0268: newobj Void .ctor(Object, IntPtr)
L_026d: call RimWorld.TraitDef RandomElementByWeight[TraitDef](IEnumerable`1, System.Func`2[RimWorld.TraitDef,System.Single])
L_0272: stfld RimWorld.TraitDef newTraitDef
L_0277: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0279: ldfld Verse.Pawn pawn
L_027e: ldfld RimWorld.Pawn_StoryTracker story
L_0283: ldfld RimWorld.TraitSet traits
L_0288: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_028a: ldfld RimWorld.TraitDef newTraitDef
L_028f: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0294: brfalse Label #20
L_0299: br Label #21
L_029e: Label #20
L_029e: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_02a0: ldfld RimWorld.TraitDef newTraitDef
L_02a5: ldsfld RimWorld.TraitDef Gay
L_02aa: bne.un Label #22
L_02af: ldarg.1
L_02b0: brtrue Label #23
L_02b5: br Label #24
L_02ba: Label #23
L_02ba: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_02bc: ldfld Verse.Pawn pawn
L_02c1: call Boolean HasAnyLovePartnerOfTheOppositeGender(Verse.Pawn)
L_02c6: brtrue Label #25
L_02cb: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_02cd: ldfld Verse.Pawn pawn
L_02d2: call Boolean HasAnyExLovePartnerOfTheOppositeGender(Verse.Pawn)
L_02d7: brfalse Label #26
L_02dc: Label #25
L_02dc: br Label #27
L_02e1: Label #22
L_02e1: Label #26
L_02e1: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_02e3: ldfld Verse.Pawn pawn
L_02e8: ldfld RimWorld.Pawn_StoryTracker story
L_02ed: ldfld RimWorld.TraitSet traits
L_02f2: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_02f7: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_02f9: ldftn Boolean <>m__7C0(RimWorld.Trait)
L_02ff: newobj Void .ctor(Object, IntPtr)
L_0304: call Boolean Any[Trait](System.Collections.Generic.List`1[RimWorld.Trait], System.Predicate`1[RimWorld.Trait])
L_0309: brtrue Label #28
L_030e: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0310: ldfld RimWorld.TraitDef newTraitDef
L_0315: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] conflictingTraits
L_031a: brfalse Label #29
L_031f: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0321: ldfld RimWorld.TraitDef newTraitDef
L_0326: ldfld System.Collections.Generic.List`1[RimWorld.TraitDef] conflictingTraits
L_032b: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_032d: ldftn Boolean <>m__7C1(RimWorld.TraitDef)
L_0333: newobj Void .ctor(Object, IntPtr)
L_0338: call Boolean Any[TraitDef](System.Collections.Generic.List`1[RimWorld.TraitDef], System.Predicate`1[RimWorld.TraitDef])
L_033d: brfalse Label #30
L_0342: Label #28
L_0342: br Label #31
L_0347: Label #29
L_0347: Label #30
L_0347: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0349: ldfld RimWorld.TraitDef newTraitDef
L_034e: ldfld System.Collections.Generic.List`1[Verse.WorkTypeDef] requiredWorkTypes
L_0353: brfalse Label #32
L_0358: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_035a: ldfld Verse.Pawn pawn
L_035f: ldfld RimWorld.Pawn_StoryTracker story
L_0364: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0366: ldfld RimWorld.TraitDef newTraitDef
L_036b: ldfld System.Collections.Generic.List`1[Verse.WorkTypeDef] requiredWorkTypes
L_0370: callvirt Boolean OneOfWorkTypesIsDisabled(System.Collections.Generic.List`1[Verse.WorkTypeDef])
L_0375: brfalse Label #33
L_037a: br Label #34
L_037f: Label #32
L_037f: Label #33
L_037f: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0381: ldfld Verse.Pawn pawn
L_0386: ldfld RimWorld.Pawn_StoryTracker story
L_038b: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_038d: ldfld RimWorld.TraitDef newTraitDef
L_0392: ldfld Verse.WorkTags requiredWorkTags
L_0397: callvirt Boolean WorkTagIsDisabled(WorkTags)
L_039c: brfalse Label #35
L_03a1: br Label #36
L_03a6: Label #35
L_03a6: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_03a8: ldfld RimWorld.TraitDef newTraitDef
L_03ad: call Int32 RandomTraitDegree(RimWorld.TraitDef)
L_03b2: stloc.s 8 (System.Int32)
L_03b4: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_03b6: ldfld Verse.Pawn pawn
L_03bb: ldfld RimWorld.Pawn_StoryTracker story
L_03c0: ldfld RimWorld.Backstory childhood
L_03c5: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_03c7: ldfld RimWorld.TraitDef newTraitDef
L_03cc: ldloc.s 8 (System.Int32)
L_03ce: callvirt Boolean DisallowsTrait(RimWorld.TraitDef, Int32)
L_03d3: brtrue Label #37
L_03d8: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_03da: ldfld Verse.Pawn pawn
L_03df: ldfld RimWorld.Pawn_StoryTracker story
L_03e4: ldfld RimWorld.Backstory adulthood
L_03e9: brfalse Label #38
L_03ee: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_03f0: ldfld Verse.Pawn pawn
L_03f5: ldfld RimWorld.Pawn_StoryTracker story
L_03fa: ldfld RimWorld.Backstory adulthood
L_03ff: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0401: ldfld RimWorld.TraitDef newTraitDef
L_0406: ldloc.s 8 (System.Int32)
L_0408: callvirt Boolean DisallowsTrait(RimWorld.TraitDef, Int32)
L_040d: brfalse Label #39
L_0412: Label #37
L_0412: br Label #40
L_0417: Label #38
L_0417: Label #39
L_0417: ldloc.s 11 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B1)
L_0419: ldfld RimWorld.TraitDef newTraitDef
L_041e: ldloc.s 8 (System.Int32)
L_0420: ldc.i4.0
L_0421: newobj Void .ctor(TraitDef, Int32, Boolean)
L_0426: stloc.s 9 (RimWorld.Trait)
L_0428: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_042a: ldfld Verse.Pawn pawn
L_042f: ldfld Verse.AI.Pawn_MindState mindState
L_0434: brfalse Label #41
L_0439: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_043b: ldfld Verse.Pawn pawn
L_0440: ldfld Verse.AI.Pawn_MindState mindState
L_0445: ldfld Verse.MentalBreaker mentalBreaker
L_044a: brfalse Label #42
L_044f: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0451: ldfld Verse.Pawn pawn
L_0456: ldfld Verse.AI.Pawn_MindState mindState
L_045b: ldfld Verse.MentalBreaker mentalBreaker
L_0460: callvirt Single get_BreakThresholdExtreme()
L_0465: ldloc.s 9 (RimWorld.Trait)
L_0467: ldsfld RimWorld.StatDef MentalBreakThreshold
L_046c: callvirt Single OffsetOfStat(RimWorld.StatDef)
L_0471: add
L_0472: ldc.r4 40
L_0477: ble.un Label #43
L_047c: br Label #44
L_0481: Label #41
L_0481: Label #42
L_0481: Label #43
L_0481: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_0483: ldfld Verse.Pawn pawn
L_0488: ldfld RimWorld.Pawn_StoryTracker story
L_048d: ldfld RimWorld.TraitSet traits
L_0492: ldloc.s 9 (RimWorld.Trait)
L_0494: callvirt Void GainTrait(RimWorld.Trait)
L_0499: Label #19
L_0499: Label #21
L_0499: Label #24
L_0499: Label #27
L_0499: Label #31
L_0499: Label #34
L_0499: Label #36
L_0499: Label #40
L_0499: Label #44
L_0499: ldloc.s 10 (Verse.PawnGenerator+<GenerateTraits>c__AnonStorey4B0)
L_049b: ldfld Verse.Pawn pawn
L_04a0: ldfld RimWorld.Pawn_StoryTracker story
L_04a5: ldfld RimWorld.TraitSet traits
L_04aa: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_04af: callvirt Int32 get_Count()
L_04b4: ldloc.s 6 (System.Int32)
L_04b6: blt Label #45
L_04bb: br Label #0
L_04c0: Label #0
L_04c0: ret
DONE

PATCHING RimWorld.JobGiver_SatisfyChemicalNeed Boolean DrugValidator(Verse.Pawn, RimWorld.Hediff_Addiction, Verse.Thing)
L_0000: Local var #0 RimWorld.CompDrug
L_0000: Local var #1 System.Int32
L_0000: Local var #2 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 2 (System.Boolean)
L_0006: ldarg.3
L_0007: ldfld Verse.ThingDef def
L_000c: callvirt Boolean get_IsDrug()
L_0011: brtrue Label #2
L_0016: ldc.i4.0
L_0017: br Label #0
L_001c: Label #2
L_001c: ldarg.3
L_001d: callvirt Boolean get_Spawned()
L_0022: brfalse Label #3
L_0027: ldarg.3
L_0028: ldarg.1
L_0029: call Boolean IsForbidden(Verse.Thing, Verse.Pawn)
L_002e: brfalse Label #4
L_0033: ldc.i4.0
L_0034: br Label #0
L_0039: Label #4
L_0039: ldarg.1
L_003a: ldarg.3
L_003b: call LocalTargetInfo op_Implicit(Verse.Thing)
L_0040: ldc.i4.1
L_0041: call Boolean CanReserve(Verse.Pawn, LocalTargetInfo, Int32)
L_0046: brtrue Label #5
L_004b: ldc.i4.0
L_004c: br Label #0
L_0051: Label #5
L_0051: ldarg.3
L_0052: ldarg.1
L_0053: call Boolean IsSociallyProper(Verse.Thing, Verse.Pawn)
L_0058: brtrue Label #6
L_005d: ldc.i4.0
L_005e: br Label #0
L_0063: Label #3
L_0063: Label #6
L_0063: ldarg.3
L_0064: call RimWorld.CompDrug TryGetComp[CompDrug](Verse.Thing)
L_0069: stloc.0
L_006a: ldloc.0
L_006b: brfalse Label #7
L_0070: ldloc.0
L_0071: callvirt RimWorld.CompProperties_Drug get_Props()
L_0076: ldfld RimWorld.ChemicalDef chemical
L_007b: brtrue Label #8
L_0080: Label #7
L_0080: ldc.i4.0
L_0081: br Label #0
L_0086: Label #8
L_0086: ldloc.0
L_0087: callvirt RimWorld.CompProperties_Drug get_Props()
L_008c: ldfld RimWorld.ChemicalDef chemical
L_0091: ldfld Verse.HediffDef addictionHediff
L_0096: ldarg.2
L_0097: ldfld Verse.HediffDef def
L_009c: beq Label #9
L_00a1: ldc.i4.0
L_00a2: br Label #0
L_00a7: Label #9
L_00a7: ldarg.1
L_00a8: ldfld RimWorld.Pawn_DrugPolicyTracker drugs
L_00ad: brfalse Label #10
L_00b2: ldarg.1
L_00b3: ldfld RimWorld.Pawn_DrugPolicyTracker drugs
L_00b8: callvirt RimWorld.DrugPolicy get_CurrentPolicy()
L_00bd: ldarg.3
L_00be: ldfld Verse.ThingDef def
L_00c3: callvirt RimWorld.DrugPolicyEntry get_Item(Verse.ThingDef)
L_00c8: ldfld System.Boolean allowedForAddiction
L_00cd: brtrue Label #11
L_00d2: ldarg.1
L_00d3: ldfld RimWorld.Pawn_StoryTracker story
L_00d8: brfalse Label #12
L_00dd: ldarg.1
L_00de: ldfld RimWorld.Pawn_StoryTracker story
L_00e3: ldfld RimWorld.TraitSet traits
L_00e8: ldsfld RimWorld.TraitDef DrugDesire
L_00ed: callvirt Int32 DegreeOfTrait(RimWorld.TraitDef)
L_00f2: stloc.1
L_00f3: ldloc.1
L_00f4: ldc.i4.0
L_00f5: bgt Label #13
L_00fa: ldarg.1
L_00fb: callvirt Boolean get_InMentalState()
L_0100: brtrue Label #14
L_0105: ldc.i4.0
L_0106: br Label #0
L_010b: Label #10
L_010b: Label #11
L_010b: Label #12
L_010b: Label #13
L_010b: Label #14
L_010b: ldc.i4.1
L_010c: br Label #0
L_0111: Label #0
L_0111: stloc 2 (System.Boolean)
L_0112: ldloca 2 (System.Boolean)
L_0114: ldarg 1
L_011a: ldarg 3
L_0120: call Void DrugValidatorPostfix(Boolean ByRef, Verse.Pawn, Verse.Thing)
L_0125: ldloc 2 (System.Boolean)
L_0126: ret
DONE

PATCHING RimWorld.CompDrug Void PostIngested(Verse.Pawn)
L_0000: Local var #0 RimWorld.Hediff_Addiction
L_0000: Local var #1 Verse.Hediff
L_0000: Local var #2 System.Single
L_0000: Local var #3 RimWorld.Need
L_0000: Local var #4 System.Single
L_0000: Local var #5 Verse.Hediff
L_0000: Local var #6 System.Single
L_0000: Local var #7 System.Single
L_0000: Local var #8 System.Single
L_0000: Local var #9 RimWorld.CompDrug+<PostIngested>c__AnonStorey354
L_0000: Local var #10 System.Nullable`1[[Verse.DamageInfo, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: ldarg.0
L_0001: call RimWorld.CompProperties_Drug get_Props()
L_0006: callvirt Boolean get_Addictive()
L_000b: brfalse Label #2
L_0010: ldarg.1
L_0011: callvirt Verse.RaceProperties get_RaceProps()
L_0016: callvirt Boolean get_IsFlesh()
L_001b: brfalse Label #3
L_0020: newobj Void .ctor()
L_0025: stloc.s 9 (RimWorld.CompDrug+<PostIngested>c__AnonStorey354)
L_0027: ldloc.s 9 (RimWorld.CompDrug+<PostIngested>c__AnonStorey354)
L_0029: ldarg.0
L_002a: call RimWorld.CompProperties_Drug get_Props()
L_002f: ldfld RimWorld.ChemicalDef chemical
L_0034: ldfld Verse.HediffDef addictionHediff
L_0039: stfld Verse.HediffDef addictionHediffDef
L_003e: ldarg.1
L_003f: ldarg.0
L_0040: call RimWorld.CompProperties_Drug get_Props()
L_0045: ldfld RimWorld.ChemicalDef chemical
L_004a: call RimWorld.Hediff_Addiction FindAddictionHediff(Verse.Pawn, RimWorld.ChemicalDef)
L_004f: stloc.0
L_0050: ldarg.1
L_0051: ldarg.0
L_0052: call RimWorld.CompProperties_Drug get_Props()
L_0057: ldfld RimWorld.ChemicalDef chemical
L_005c: call Verse.Hediff FindToleranceHediff(Verse.Pawn, RimWorld.ChemicalDef)
L_0061: stloc.1
L_0062: ldloc.1
L_0063: brfalse Label #4
L_0068: ldloc.1
L_0069: callvirt Single get_Severity()
L_006e: br Label #5
L_0073: Label #4
L_0073: ldc.r4 0
L_0078: Label #5
L_0078: stloc.2
L_0079: ldloc.0
L_007a: brfalse Label #6
L_007f: ldloc.0
L_0080: dup
L_0081: callvirt Single get_Severity()
L_0086: ldarg.0
L_0087: call RimWorld.CompProperties_Drug get_Props()
L_008c: ldfld System.Single existingAddictionSeverityOffset
L_0091: add
L_0092: callvirt Void set_Severity(Single)
L_0097: br Label #7
L_009c: Label #6
L_009c: call Single get_Value()
L_00a1: ldarg.0
L_00a2: call RimWorld.CompProperties_Drug get_Props()
L_00a7: ldfld System.Single addictiveness
L_00ac: bge.un Label #8
L_00b1: ldloc.2
L_00b2: ldarg.0
L_00b3: call RimWorld.CompProperties_Drug get_Props()
L_00b8: ldfld System.Single minToleranceToAddict
L_00bd: blt.un Label #9
L_00c2: ldarg.1
L_00c3: ldfld Verse.Pawn_HealthTracker health
L_00c8: ldloc.s 9 (RimWorld.CompDrug+<PostIngested>c__AnonStorey354)
L_00ca: ldfld Verse.HediffDef addictionHediffDef
L_00cf: ldnull
L_00d0: ldloca.s 10 (System.Nullable`1[Verse.DamageInfo])
L_00d2: initobj System.Nullable`1[Verse.DamageInfo]
L_00d8: ldloc.s 10 (System.Nullable`1[Verse.DamageInfo])
L_00da: callvirt Void AddHediff(Verse.HediffDef, Verse.BodyPartRecord, Nullable`1)
L_00df: ldarg.1
L_00e0: call Boolean ShouldSendNotificationAbout(Verse.Pawn)
L_00e5: brfalse Label #10
L_00ea: call Verse.LetterStack get_LetterStack()
L_00ef: ldstr "LetterLabelNewlyAddicted"
L_00f4: ldc.i4.1
L_00f5: newarr System.Object
L_00fa: dup
L_00fb: ldc.i4.0
L_00fc: ldarg.0
L_00fd: call RimWorld.CompProperties_Drug get_Props()
L_0102: ldfld RimWorld.ChemicalDef chemical
L_0107: ldfld System.String label
L_010c: stelem.ref
L_010d: call System.String Translate(System.String, System.Object[])
L_0112: call System.String CapitalizeFirst(System.String)
L_0117: ldstr "LetterNewlyAddicted"
L_011c: ldc.i4.2
L_011d: newarr System.Object
L_0122: dup
L_0123: ldc.i4.0
L_0124: ldarg.1
L_0125: callvirt System.String get_LabelShort()
L_012a: stelem.ref
L_012b: dup
L_012c: ldc.i4.1
L_012d: ldarg.0
L_012e: call RimWorld.CompProperties_Drug get_Props()
L_0133: ldfld RimWorld.ChemicalDef chemical
L_0138: ldfld System.String label
L_013d: stelem.ref
L_013e: call System.String Translate(System.String, System.Object[])
L_0143: ldarg.1
L_0144: call System.String AdjustedFor(System.String, Verse.Pawn)
L_0149: call System.String CapitalizeFirst(System.String)
L_014e: ldc.i4.1
L_014f: ldarg.1
L_0150: call GlobalTargetInfo op_Implicit(Verse.Thing)
L_0155: ldnull
L_0156: callvirt Void ReceiveLetter(System.String, System.String, LetterType, GlobalTargetInfo, System.String)
L_015b: Label #10
L_015b: ldarg.1
L_015c: call Void CheckDrugAddictionTeachOpportunity(Verse.Pawn)
L_0161: Label #7
L_0161: Label #8
L_0161: Label #9
L_0161: ldloc.s 9 (RimWorld.CompDrug+<PostIngested>c__AnonStorey354)
L_0163: ldfld Verse.HediffDef addictionHediffDef
L_0168: ldfld RimWorld.NeedDef causesNeed
L_016d: brfalse Label #11
L_0172: ldarg.1
L_0173: ldfld RimWorld.Pawn_NeedsTracker needs
L_0178: callvirt System.Collections.Generic.List`1[RimWorld.Need] get_AllNeeds()
L_017d: ldloc.s 9 (RimWorld.CompDrug+<PostIngested>c__AnonStorey354)
L_017f: ldftn Boolean <>m__404(RimWorld.Need)
L_0185: newobj Void .ctor(Object, IntPtr)
L_018a: callvirt RimWorld.Need Find(System.Predicate`1[RimWorld.Need])
L_018f: stloc.3
L_0190: ldloc.3
L_0191: brfalse Label #12
L_0196: ldarg.0
L_0197: call RimWorld.CompProperties_Drug get_Props()
L_019c: ldfld System.Single needLevelOffset
L_01a1: stloc.s 4 (System.Single)
L_01a3: ldarg.1
L_01a4: ldarg.0
L_01a5: call RimWorld.CompProperties_Drug get_Props()
L_01aa: ldfld RimWorld.ChemicalDef chemical
L_01af: ldloca.s 4 (System.Single)
L_01b1: call Void ModifyChemicalEffectForToleranceAndBodySize(Verse.Pawn, RimWorld.ChemicalDef, Single ByRef)
L_01b6: ldloc.3
L_01b7: dup
L_01b8: callvirt Single get_CurLevel()
L_01bd: ldloc.s 4 (System.Single)
L_01bf: add
L_01c0: callvirt Void set_CurLevel(Single)
L_01c5: Label #11
L_01c5: Label #12
L_01c5: ldarg.1
L_01c6: ldfld Verse.Pawn_HealthTracker health
L_01cb: ldfld Verse.HediffSet hediffSet
L_01d0: ldsfld Verse.HediffDef DrugOverdose
L_01d5: callvirt Verse.Hediff GetFirstHediffOfDef(Verse.HediffDef)
L_01da: stloc.s 5 (Verse.Hediff)
L_01dc: ldloc.s 5 (Verse.Hediff)
L_01de: brfalse Label #13
L_01e3: ldloc.s 5 (Verse.Hediff)
L_01e5: callvirt Single get_Severity()
L_01ea: br Label #14
L_01ef: Label #13
L_01ef: ldc.r4 0
L_01f4: Label #14
L_01f4: stloc.s 6 (System.Single)
L_01f6: ldloc.s 6 (System.Single)
L_01f8: ldc.r4 0.9
L_01fd: bge.un Label #15
L_0202: call Single get_Value()
L_0207: ldarg.0
L_0208: call RimWorld.CompProperties_Drug get_Props()
L_020d: ldfld System.Single largeOverdoseChance
L_0212: bge.un Label #16
L_0217: ldc.r4 0.85
L_021c: ldc.r4 0.99
L_0221: call Single Range(Single, Single)
L_0226: stloc.s 7 (System.Single)
L_0228: ldarg.1
L_0229: ldsfld Verse.HediffDef DrugOverdose
L_022e: ldloc.s 7 (System.Single)
L_0230: ldloc.s 6 (System.Single)
L_0232: sub
L_0233: call Void AdjustSeverity(Verse.Pawn, Verse.HediffDef, Single)
L_0238: ldarg.1
L_0239: callvirt RimWorld.Faction get_Faction()
L_023e: call RimWorld.Faction get_OfPlayer()
L_0243: bne.un Label #17
L_0248: ldstr "MessageAccidentalOverdose"
L_024d: ldc.i4.2
L_024e: newarr System.Object
L_0253: dup
L_0254: ldc.i4.0
L_0255: ldarg.1
L_0256: call System.String LabelIndefinite(Verse.Pawn)
L_025b: stelem.ref
L_025c: dup
L_025d: ldc.i4.1
L_025e: ldarg.0
L_025f: ldfld Verse.ThingWithComps parent
L_0264: callvirt System.String get_LabelNoCount()
L_0269: stelem.ref
L_026a: call System.String Translate(System.String, System.Object[])
L_026f: call System.String CapitalizeFirst(System.String)
L_0274: ldc.i4.4
L_0275: call Void Message(System.String, MessageSound)
L_027a: Label #17
L_027a: br Label #18
L_027f: Label #15
L_027f: Label #16
L_027f: ldarg.0
L_0280: call RimWorld.CompProperties_Drug get_Props()
L_0285: ldflda Verse.FloatRange overdoseSeverityOffset
L_028a: call Single get_RandomInRange()
L_028f: ldarg.1
L_0290: callvirt Single get_BodySize()
L_0295: div
L_0296: stloc.s 8 (System.Single)
L_0298: ldloc.s 8 (System.Single)
L_029a: ldc.r4 0
L_029f: ble.un Label #19
L_02a4: ldarg.1
L_02a5: ldsfld Verse.HediffDef DrugOverdose
L_02aa: ldloc.s 8 (System.Single)
L_02ac: call Void AdjustSeverity(Verse.Pawn, Verse.HediffDef, Single)
L_02b1: Label #2
L_02b1: Label #3
L_02b1: Label #18
L_02b1: Label #19
L_02b1: ldarg.0
L_02b2: call RimWorld.CompProperties_Drug get_Props()
L_02b7: ldfld System.Boolean isCombatEnhancingDrug
L_02bc: brfalse Label #20
L_02c1: ldarg.1
L_02c2: callvirt Boolean get_Dead()
L_02c7: brtrue Label #21
L_02cc: ldarg.1
L_02cd: ldfld Verse.AI.Pawn_MindState mindState
L_02d2: call Verse.TickManager get_TickManager()
L_02d7: callvirt Int32 get_TicksGame()
L_02dc: stfld System.Int32 lastTakeCombatEnancingDrugTick
L_02e1: Label #20
L_02e1: Label #21
L_02e1: ldarg.1
L_02e2: ldfld RimWorld.Pawn_DrugPolicyTracker drugs
L_02e7: brfalse Label #22
L_02ec: ldarg.1
L_02ed: ldfld RimWorld.Pawn_DrugPolicyTracker drugs
L_02f2: ldarg.0
L_02f3: ldfld Verse.ThingWithComps parent
L_02f8: callvirt Void Notify_DrugIngested(Verse.Thing)
L_02fd: Label #22
L_02fd: br Label #0
L_0302: Label #0
L_0302: ldarg 1
L_0308: ldarg.0
L_0309: call Void PostIngestedPostfix(Verse.Pawn, RimWorld.CompDrug)
L_030e: ret
DONE

PATCHING RimWorld.AddictionUtility Boolean CanBingeOnNow(Verse.Pawn, RimWorld.ChemicalDef, DrugCategory)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Collections.Generic.List`1[[Verse.Thing, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 System.Int32
L_0000: Local var #3 RimWorld.CompDrug
L_0000: Local var #4 Verse.IntVec3
L_0000: Local var #5 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 5 (System.Boolean)
L_0007: ldarg.1
L_0008: ldfld System.Boolean canBinge
L_000d: brtrue Label #2
L_0012: ldc.i4.0
L_0013: br Label #0
L_0018: Label #2
L_0018: ldarg.0
L_0019: callvirt Boolean get_Spawned()
L_001e: brtrue Label #3
L_0023: ldc.i4.0
L_0024: br Label #0
L_0029: Label #3
L_0029: ldarg.0
L_002a: callvirt Verse.Map get_Map()
L_002f: ldfld Verse.ListerThings listerThings
L_0034: ldc.i4.s 20
L_0036: callvirt System.Collections.Generic.List`1[Verse.Thing] ThingsInGroup(ThingRequestGroup)
L_003b: stloc.1
L_003c: ldc.i4.0
L_003d: stloc.2
L_003e: br Label #4
L_0043: Label #14
L_0043: ldloc.1
L_0044: ldloc.2
L_0045: callvirt Verse.Thing get_Item(Int32)
L_004a: callvirt IntVec3 get_Position()
L_004f: ldloc.1
L_0050: ldloc.2
L_0051: callvirt Verse.Thing get_Item(Int32)
L_0056: callvirt Verse.Map get_Map()
L_005b: call Boolean Fogged(IntVec3, Verse.Map)
L_0060: brfalse Label #5
L_0065: br Label #6
L_006a: Label #5
L_006a: ldarg.2
L_006b: ldc.i4.1
L_006c: beq Label #7
L_0071: ldloc.1
L_0072: ldloc.2
L_0073: callvirt Verse.Thing get_Item(Int32)
L_0078: ldfld Verse.ThingDef def
L_007d: ldfld RimWorld.IngestibleProperties ingestible
L_0082: ldfld RimWorld.DrugCategory drugCategory
L_0087: ldarg.2
L_0088: beq Label #8
L_008d: br Label #9
L_0092: Label #7
L_0092: Label #8
L_0092: ldloc.1
L_0093: ldloc.2
L_0094: callvirt Verse.Thing get_Item(Int32)
L_0099: call RimWorld.CompDrug TryGetComp[CompDrug](Verse.Thing)
L_009e: stloc.3
L_009f: ldloc.3
L_00a0: callvirt RimWorld.CompProperties_Drug get_Props()
L_00a5: ldfld RimWorld.ChemicalDef chemical
L_00aa: ldarg.1
L_00ab: bne.un Label #10
L_00b0: ldc.i4.1
L_00b1: br Label #0
L_00b6: Label #10
L_00b6: ldloc.1
L_00b7: ldloc.2
L_00b8: callvirt Verse.Thing get_Item(Int32)
L_00bd: callvirt IntVec3 get_Position()
L_00c2: ldloc.1
L_00c3: ldloc.2
L_00c4: callvirt Verse.Thing get_Item(Int32)
L_00c9: callvirt Verse.Map get_Map()
L_00ce: call Boolean Roofed(IntVec3, Verse.Map)
L_00d3: brtrue Label #11
L_00d8: ldloc.1
L_00d9: ldloc.2
L_00da: callvirt Verse.Thing get_Item(Int32)
L_00df: callvirt IntVec3 get_Position()
L_00e4: stloc.s 4 (Verse.IntVec3)
L_00e6: ldloca.s 4 (Verse.IntVec3)
L_00e8: ldarg.0
L_00e9: callvirt IntVec3 get_Position()
L_00ee: ldc.r4 45
L_00f3: call Boolean InHorDistOf(IntVec3, Single)
L_00f8: brtrue Label #12
L_00fd: br Label #13
L_0102: Label #6
L_0102: Label #9
L_0102: Label #11
L_0102: Label #12
L_0102: Label #13
L_0102: ldloc.2
L_0103: ldc.i4.1
L_0104: add
L_0105: stloc.2
L_0106: Label #4
L_0106: ldloc.2
L_0107: ldloc.1
L_0108: callvirt Int32 get_Count()
L_010d: blt Label #14
L_0112: ldc.i4.0
L_0113: br Label #0
L_0118: Label #0
L_0118: stloc 5 (System.Boolean)
L_011a: ldarg 0
L_0120: ldarg 1
L_0126: ldloca 5 (System.Boolean)
L_0128: call Void CanBingeNowPostfix(Verse.Pawn, RimWorld.ChemicalDef, Boolean ByRef)
L_012d: ldloc 5 (System.Boolean)
L_012f: ret
DONE

PATCHING Verse.PawnGenerator Void GenerateBodyType(Verse.Pawn)
L_0000: ldarg.0
L_0001: ldfld RimWorld.Pawn_StoryTracker story
L_0006: ldfld RimWorld.Backstory adulthood
L_000b: brfalse Label #2
L_0010: ldarg.0
L_0011: ldfld RimWorld.Pawn_StoryTracker story
L_0016: ldarg.0
L_0017: ldfld RimWorld.Pawn_StoryTracker story
L_001c: ldfld RimWorld.Backstory adulthood
L_0021: ldarg.0
L_0022: ldfld Verse.Gender gender
L_0027: callvirt BodyType BodyTypeFor(Gender)
L_002c: stfld RimWorld.BodyType bodyType
L_0031: br Label #3
L_0036: Label #2
L_0036: call Single get_Value()
L_003b: ldc.r4 0.5
L_0040: bge.un Label #4
L_0045: ldarg.0
L_0046: ldfld RimWorld.Pawn_StoryTracker story
L_004b: ldc.i4.3
L_004c: stfld RimWorld.BodyType bodyType
L_0051: br Label #5
L_0056: Label #4
L_0056: ldarg.0
L_0057: ldfld RimWorld.Pawn_StoryTracker story
L_005c: ldarg.0
L_005d: ldfld Verse.Gender gender
L_0062: ldc.i4.2
L_0063: bne.un Label #6
L_0068: ldc.i4.2
L_0069: br Label #7
L_006e: Label #6
L_006e: ldc.i4.1
L_006f: Label #7
L_006f: stfld RimWorld.BodyType bodyType
L_0074: Label #3
L_0074: Label #5
L_0074: br Label #0
L_0079: Label #0
L_0079: ldarga 0
L_007f: call Void GenerateBodyTypePostfix(Verse.Pawn ByRef)
L_0084: ret
DONE

PATCHING RimWorld.Pawn_StoryTracker Color get_SkinColor()
L_0000: Local var #0 UnityEngine.Color
L_0000: ldloca 0 (UnityEngine.Color)
L_0002: initobj UnityEngine.Color
L_0008: ldarg.0
L_0009: ldfld System.Single melanin
L_000e: call Color GetSkinColor(Single)
L_0013: br Label #0
L_0018: Label #0
L_0018: stloc 0 (UnityEngine.Color)
L_0019: ldarg.0
L_001a: ldloca 0 (UnityEngine.Color)
L_001c: call Void SkinColorPostfix(RimWorld.Pawn_StoryTracker, Color ByRef)
L_0021: ldloc 0 (UnityEngine.Color)
L_0022: ret
DONE

PATCHING RimWorld.PawnHairChooser RimWorld.HairDef RandomHairDefFor(Verse.Pawn, RimWorld.FactionDef)
L_0000: Local var #0 System.Collections.Generic.IEnumerable`1[[RimWorld.HairDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #1 RimWorld.PawnHairChooser+<RandomHairDefFor>c__AnonStorey2D7
L_0000: Local var #2 RimWorld.HairDef
L_0000: ldnull
L_0001: stloc 2 (RimWorld.HairDef)
L_0002: ldarg 0
L_0008: ldarga 1
L_000e: call Void RandomHairDefForPrefix(Verse.Pawn, RimWorld.FactionDef ByRef)
L_0013: newobj Void .ctor()
L_0018: stloc.1
L_0019: ldloc.1
L_001a: ldarg.1
L_001b: stfld RimWorld.FactionDef factionType
L_0020: ldloc.1
L_0021: ldarg.0
L_0022: stfld Verse.Pawn pawn
L_0027: call IEnumerable`1 get_AllDefs()
L_002c: ldloc.1
L_002d: ldftn Boolean <>m__26D(RimWorld.HairDef)
L_0033: newobj Void .ctor(Object, IntPtr)
L_0038: call IEnumerable`1 Where[HairDef](IEnumerable`1, System.Func`2[RimWorld.HairDef,System.Boolean])
L_003d: stloc.0
L_003e: ldloc.0
L_003f: ldloc.1
L_0040: ldftn Single <>m__26E(RimWorld.HairDef)
L_0046: newobj Void .ctor(Object, IntPtr)
L_004b: call RimWorld.HairDef RandomElementByWeight[HairDef](IEnumerable`1, System.Func`2[RimWorld.HairDef,System.Single])
L_0050: br Label #0
L_0055: Label #0
L_0055: stloc 2 (RimWorld.HairDef)
L_0056: ldloc 2 (RimWorld.HairDef)
L_0057: ret
DONE

PATCHING Verse.Pawn_AgeTracker Void BirthdayBiological()
L_0000: Local var #0 System.Text.StringBuilder
L_0000: Local var #1 Verse.HediffGiver_Birthday
L_0000: Local var #2 System.Collections.Generic.IEnumerator`1[[Verse.HediffGiver_Birthday, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #3 System.String
L_0000: ldarg.0
L_0001: call Void BirthdayBiologicalPrefix(Verse.Pawn_AgeTracker)
L_0006: newobj Void .ctor()
L_000b: stloc.0
L_000c: ldarg.0
L_000d: ldfld Verse.Pawn pawn
L_0012: ldarg.0
L_0013: call Int32 get_AgeBiologicalYears()
L_0018: call IEnumerable`1 RandomHediffsToGainOnBirthday(Verse.Pawn, Int32)
L_001d: callvirt IEnumerator`1 GetEnumerator()
L_0022: stloc.2
L_0023: br Label #2
L_0028: Label #5
L_0028: ldloc.2
L_0029: callvirt Verse.HediffGiver_Birthday get_Current()
L_002e: stloc.1
L_002f: ldloc.1
L_0030: ldarg.0
L_0031: ldfld Verse.Pawn pawn
L_0036: ldnull
L_0037: callvirt Boolean TryApply(Verse.Pawn, System.Collections.Generic.List`1[Verse.Hediff])
L_003c: brfalse Label #3
L_0041: ldloc.0
L_0042: callvirt Int32 get_Length()
L_0047: brfalse Label #4
L_004c: ldloc.0
L_004d: callvirt System.Text.StringBuilder AppendLine()
L_0052: pop
L_0053: Label #4
L_0053: ldloc.0
L_0054: ldstr " - "
L_0059: ldloc.1
L_005a: ldfld Verse.HediffDef hediff
L_005f: callvirt System.String get_LabelCap()
L_0064: call System.String Concat(System.String, System.String)
L_0069: callvirt System.Text.StringBuilder Append(System.String)
L_006e: pop
L_006f: Label #2
L_006f: Label #3
L_006f: ldloc.2
L_0070: callvirt Boolean MoveNext()
L_0075: brtrue Label #5
L_007a: leave Label #6
L_007f: ldloc.2
L_0080: brtrue Label #7
L_0085: endfinally
L_0086: Label #7
L_0086: ldloc.2
L_0087: callvirt Void Dispose()
L_008c: endfinally
L_008d: Label #6
L_008d: ldarg.0
L_008e: ldfld Verse.Pawn pawn
L_0093: callvirt Verse.RaceProperties get_RaceProps()
L_0098: callvirt Boolean get_Humanlike()
L_009d: brfalse Label #8
L_00a2: ldarg.0
L_00a3: ldfld Verse.Pawn pawn
L_00a8: call Boolean ShouldSendNotificationAbout(Verse.Pawn)
L_00ad: brfalse Label #9
L_00b2: ldloc.0
L_00b3: callvirt Int32 get_Length()
L_00b8: ldc.i4.0
L_00b9: ble Label #10
L_00be: ldstr "BirthdayBiologicalAgeInjuries"
L_00c3: ldc.i4.3
L_00c4: newarr System.Object
L_00c9: dup
L_00ca: ldc.i4.0
L_00cb: ldarg.0
L_00cc: ldfld Verse.Pawn pawn
L_00d1: stelem.ref
L_00d2: dup
L_00d3: ldc.i4.1
L_00d4: ldarg.0
L_00d5: call Int32 get_AgeBiologicalYears()
L_00da: box System.Int32
L_00df: stelem.ref
L_00e0: dup
L_00e1: ldc.i4.2
L_00e2: ldloc.0
L_00e3: stelem.ref
L_00e4: call System.String Translate(System.String, System.Object[])
L_00e9: ldarg.0
L_00ea: ldfld Verse.Pawn pawn
L_00ef: call System.String AdjustedFor(System.String, Verse.Pawn)
L_00f4: stloc.3
L_00f5: call Verse.LetterStack get_LetterStack()
L_00fa: ldstr "LetterLabelBirthday"
L_00ff: call System.String Translate(System.String)
L_0104: ldloc.3
L_0105: ldc.i4.1
L_0106: ldarg.0
L_0107: ldfld Verse.Pawn pawn
L_010c: call TargetInfo op_Implicit(Verse.Thing)
L_0111: call GlobalTargetInfo op_Implicit(TargetInfo)
L_0116: newobj Void .ctor(String, String, LetterType, GlobalTargetInfo)
L_011b: ldnull
L_011c: callvirt Void ReceiveLetter(Verse.Letter, System.String)
L_0121: Label #8
L_0121: Label #9
L_0121: Label #10
L_0121: br Label #0
L_0126: Label #0
L_0126: ret
DONE

PATCHING Verse.PawnGenerator Verse.Pawn GeneratePawn(PawnGenerationRequest)
L_0000: Local var #0 Verse.Pawn
L_0000: Local var #1 System.Collections.Generic.IEnumerable`1[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 Verse.PawnGenerator+<GeneratePawn>c__AnonStorey4AE
L_0000: Local var #3 Verse.Pawn
L_0000: ldnull
L_0001: stloc 3 (Verse.Pawn)
L_0002: ldarga 0
L_0008: call Void GeneratePawnPrefix(PawnGenerationRequest ByRef)
L_000d: newobj Void .ctor()
L_0012: stloc.2
L_0013: ldloc.2
L_0014: ldarg.0
L_0015: stfld Verse.PawnGenerationRequest request
L_001a: ldloc.2
L_001b: ldflda Verse.PawnGenerationRequest request
L_0020: call Void EnsureNonNullFaction()
L_0025: ldnull
L_0026: stloc.0
L_0027: ldloc.2
L_0028: ldflda Verse.PawnGenerationRequest request
L_002d: call Boolean get_Newborn()
L_0032: brtrue Label #2
L_0037: ldloc.2
L_0038: ldflda Verse.PawnGenerationRequest request
L_003d: call Boolean get_ForceGenerateNewPawn()
L_0042: brtrue Label #3
L_0047: call Single get_Value()
L_004c: call Single ChanceToRedressAnyWorldPawn()
L_0051: bge.un Label #4
L_0056: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_005b: ldc.i4.1
L_005c: callvirt IEnumerable`1 GetPawnsBySituation(WorldPawnSituation)
L_0061: stloc.1
L_0062: ldloc.2
L_0063: ldflda Verse.PawnGenerationRequest request
L_0068: call Verse.PawnKindDef get_KindDef()
L_006d: ldfld System.Boolean factionLeader
L_0072: brfalse Label #5
L_0077: ldloc.1
L_0078: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_007d: ldc.i4.3
L_007e: callvirt IEnumerable`1 GetPawnsBySituation(WorldPawnSituation)
L_0083: call IEnumerable`1 Concat[Pawn](IEnumerable`1, IEnumerable`1)
L_0088: stloc.1
L_0089: Label #5
L_0089: ldloc.1
L_008a: ldloc.2
L_008b: ldftn Boolean <>m__7BB(Verse.Pawn)
L_0091: newobj Void .ctor(Object, IntPtr)
L_0096: call IEnumerable`1 Where[Pawn](IEnumerable`1, System.Func`2[Verse.Pawn,System.Boolean])
L_009b: stloc.1
L_009c: ldloc.1
L_009d: ldsfld System.Func`2[Verse.Pawn,System.Single] <>f__am$cache5
L_00a2: brtrue Label #6
L_00a7: ldnull
L_00a8: ldftn Single <GeneratePawn>m__7BC(Verse.Pawn)
L_00ae: newobj Void .ctor(Object, IntPtr)
L_00b3: stsfld System.Func`2[Verse.Pawn,System.Single] <>f__am$cache5
L_00b8: Label #6
L_00b8: ldsfld System.Func`2[Verse.Pawn,System.Single] <>f__am$cache5
L_00bd: ldloca.s 0 (Verse.Pawn)
L_00bf: call Boolean TryRandomElementByWeight[Pawn](IEnumerable`1, System.Func`2[Verse.Pawn,System.Single], Verse.Pawn ByRef)
L_00c4: brfalse Label #7
L_00c9: ldloc.0
L_00ca: ldloc.2
L_00cb: ldfld Verse.PawnGenerationRequest request
L_00d0: call Void RedressPawn(Verse.Pawn, PawnGenerationRequest)
L_00d5: call RimWorld.Planet.WorldPawns get_WorldPawns()
L_00da: ldloc.0
L_00db: callvirt Void RemovePawn(Verse.Pawn)
L_00e0: Label #2
L_00e0: Label #3
L_00e0: Label #4
L_00e0: Label #7
L_00e0: ldloc.0
L_00e1: brtrue Label #8
L_00e6: ldloc.2
L_00e7: ldflda Verse.PawnGenerationRequest request
L_00ec: call Verse.Pawn GenerateNewNakedPawn(PawnGenerationRequest ByRef)
L_00f1: stloc.0
L_00f2: ldloc.0
L_00f3: brtrue Label #9
L_00f8: ldnull
L_00f9: br Label #0
L_00fe: Label #9
L_00fe: ldloc.2
L_00ff: ldflda Verse.PawnGenerationRequest request
L_0104: call Boolean get_Newborn()
L_0109: brtrue Label #10
L_010e: ldloc.0
L_010f: ldloc.2
L_0110: ldfld Verse.PawnGenerationRequest request
L_0115: call Void GenerateGearFor(Verse.Pawn, PawnGenerationRequest)
L_011a: Label #8
L_011a: Label #10
L_011a: call RimWorld.Scenario get_Scenario()
L_011f: brfalse Label #11
L_0124: call RimWorld.Scenario get_Scenario()
L_0129: ldloc.0
L_012a: ldloc.2
L_012b: ldflda Verse.PawnGenerationRequest request
L_0130: call PawnGenerationContext get_Context()
L_0135: callvirt Void Notify_PawnGenerated(Verse.Pawn, PawnGenerationContext)
L_013a: Label #11
L_013a: ldloc.0
L_013b: br Label #0
L_0140: Label #0
L_0140: stloc 3 (Verse.Pawn)
L_0141: ldloc 3 (Verse.Pawn)
L_0142: ret
DONE

PATCHING Verse.PawnGraphicSet Void ResolveAllGraphics()
L_0000: Local var #0 Verse.PawnKindLifeStage
L_0000: ldarg.0
L_0001: call Boolean ResolveAllGraphicsPrefix(Verse.PawnGraphicSet)
L_0006: brfalse Label #1
L_000b: ldarg.0
L_000c: call Void ClearCache()
L_0011: ldarg.0
L_0012: ldfld Verse.Pawn pawn
L_0017: callvirt Verse.RaceProperties get_RaceProps()
L_001c: callvirt Boolean get_Humanlike()
L_0021: brfalse Label #2
L_0026: ldarg.0
L_0027: ldarg.0
L_0028: ldfld Verse.Pawn pawn
L_002d: ldfld RimWorld.Pawn_StoryTracker story
L_0032: ldfld RimWorld.BodyType bodyType
L_0037: ldsfld UnityEngine.Shader CutoutSkin
L_003c: ldarg.0
L_003d: ldfld Verse.Pawn pawn
L_0042: ldfld RimWorld.Pawn_StoryTracker story
L_0047: callvirt Color get_SkinColor()
L_004c: call Verse.Graphic GetNakedBodyGraphic(BodyType, UnityEngine.Shader, Color)
L_0051: stfld Verse.Graphic nakedGraphic
L_0056: ldarg.0
L_0057: ldarg.0
L_0058: ldfld Verse.Pawn pawn
L_005d: ldfld RimWorld.Pawn_StoryTracker story
L_0062: ldfld RimWorld.BodyType bodyType
L_0067: ldsfld UnityEngine.Shader CutoutSkin
L_006c: ldsfld UnityEngine.Color RottingColor
L_0071: call Verse.Graphic GetNakedBodyGraphic(BodyType, UnityEngine.Shader, Color)
L_0076: stfld Verse.Graphic rottingGraphic
L_007b: ldarg.0
L_007c: ldstr "Things/Pawn/Humanlike/HumanoidDessicated"
L_0081: ldsfld UnityEngine.Shader Cutout
L_0086: call Verse.Graphic Get[Graphic_Multi](System.String, UnityEngine.Shader)
L_008b: stfld Verse.Graphic dessicatedGraphic
L_0090: ldarg.0
L_0091: ldarg.0
L_0092: ldfld Verse.Pawn pawn
L_0097: ldfld RimWorld.Pawn_StoryTracker story
L_009c: callvirt System.String get_HeadGraphicPath()
L_00a1: ldarg.0
L_00a2: ldfld Verse.Pawn pawn
L_00a7: ldfld RimWorld.Pawn_StoryTracker story
L_00ac: callvirt Color get_SkinColor()
L_00b1: call Verse.Graphic_Multi GetHeadNamed(System.String, Color)
L_00b6: stfld Verse.Graphic headGraphic
L_00bb: ldarg.0
L_00bc: ldarg.0
L_00bd: ldfld Verse.Pawn pawn
L_00c2: ldfld RimWorld.Pawn_StoryTracker story
L_00c7: callvirt System.String get_HeadGraphicPath()
L_00cc: ldsfld UnityEngine.Color RottingColor
L_00d1: call Verse.Graphic_Multi GetHeadNamed(System.String, Color)
L_00d6: stfld Verse.Graphic desiccatedHeadGraphic
L_00db: ldarg.0
L_00dc: call Verse.Graphic_Multi GetSkull()
L_00e1: stfld Verse.Graphic skullGraphic
L_00e6: ldarg.0
L_00e7: ldarg.0
L_00e8: ldfld Verse.Pawn pawn
L_00ed: ldfld RimWorld.Pawn_StoryTracker story
L_00f2: ldfld RimWorld.HairDef hairDef
L_00f7: ldfld System.String texPath
L_00fc: ldsfld UnityEngine.Shader Cutout
L_0101: call Vector2 get_one()
L_0106: ldarg.0
L_0107: ldfld Verse.Pawn pawn
L_010c: ldfld RimWorld.Pawn_StoryTracker story
L_0111: ldfld UnityEngine.Color hairColor
L_0116: call Verse.Graphic Get[Graphic_Multi](System.String, UnityEngine.Shader, Vector2, Color)
L_011b: stfld Verse.Graphic hairGraphic
L_0120: ldarg.0
L_0121: call Void ResolveApparelGraphics()
L_0126: br Label #3
L_012b: Label #2
L_012b: ldarg.0
L_012c: ldfld Verse.Pawn pawn
L_0131: ldfld Verse.Pawn_AgeTracker ageTracker
L_0136: callvirt Verse.PawnKindLifeStage get_CurKindLifeStage()
L_013b: stloc.0
L_013c: ldarg.0
L_013d: ldfld Verse.Pawn pawn
L_0142: ldfld Verse.Gender gender
L_0147: ldc.i4.2
L_0148: bne.un Label #4
L_014d: ldloc.0
L_014e: ldfld Verse.GraphicData femaleGraphicData
L_0153: brtrue Label #5
L_0158: Label #4
L_0158: ldarg.0
L_0159: ldloc.0
L_015a: ldfld Verse.GraphicData bodyGraphicData
L_015f: callvirt Verse.Graphic get_Graphic()
L_0164: stfld Verse.Graphic nakedGraphic
L_0169: br Label #6
L_016e: Label #5
L_016e: ldarg.0
L_016f: ldloc.0
L_0170: ldfld Verse.GraphicData femaleGraphicData
L_0175: callvirt Verse.Graphic get_Graphic()
L_017a: stfld Verse.Graphic nakedGraphic
L_017f: Label #6
L_017f: ldarg.0
L_0180: ldarg.0
L_0181: ldfld Verse.Graphic nakedGraphic
L_0186: ldsfld UnityEngine.Shader CutoutSkin
L_018b: ldsfld UnityEngine.Color RottingColor
L_0190: ldsfld UnityEngine.Color RottingColor
L_0195: callvirt Verse.Graphic GetColoredVersion(UnityEngine.Shader, Color, Color)
L_019a: stfld Verse.Graphic rottingGraphic
L_019f: ldarg.0
L_01a0: ldfld Verse.Pawn pawn
L_01a5: callvirt Verse.RaceProperties get_RaceProps()
L_01aa: ldfld System.Boolean packAnimal
L_01af: brfalse Label #7
L_01b4: ldarg.0
L_01b5: ldarg.0
L_01b6: ldfld Verse.Graphic nakedGraphic
L_01bb: ldfld System.String path
L_01c0: ldstr "Pack"
L_01c5: call System.String Concat(System.String, System.String)
L_01ca: ldsfld UnityEngine.Shader Cutout
L_01cf: ldarg.0
L_01d0: ldfld Verse.Graphic nakedGraphic
L_01d5: ldfld UnityEngine.Vector2 drawSize
L_01da: call Color get_white()
L_01df: call Verse.Graphic Get[Graphic_Multi](System.String, UnityEngine.Shader, Vector2, Color)
L_01e4: stfld Verse.Graphic packGraphic
L_01e9: Label #7
L_01e9: ldloc.0
L_01ea: ldfld Verse.GraphicData dessicatedBodyGraphicData
L_01ef: brfalse Label #8
L_01f4: ldarg.0
L_01f5: ldloc.0
L_01f6: ldfld Verse.GraphicData dessicatedBodyGraphicData
L_01fb: ldarg.0
L_01fc: ldfld Verse.Pawn pawn
L_0201: callvirt Verse.Graphic GraphicColoredFor(Verse.Thing)
L_0206: stfld Verse.Graphic dessicatedGraphic
L_020b: Label #3
L_020b: Label #8
L_020b: br Label #0
L_0210: Label #0
L_0210: Label #1
L_0210: ret
DONE

PATCHING Verse.PawnRenderer Void RenderPawnInternal(Vector3, Quaternion, Boolean, Rot4, Rot4, RotDrawMode, Boolean)
L_0000: Local var #0 UnityEngine.Mesh
L_0000: Local var #1 UnityEngine.Vector3
L_0000: Local var #2 System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #3 System.Int32
L_0000: Local var #4 UnityEngine.Material
L_0000: Local var #5 UnityEngine.Vector3
L_0000: Local var #6 UnityEngine.Vector3
L_0000: Local var #7 UnityEngine.Vector3
L_0000: Local var #8 UnityEngine.Vector3
L_0000: Local var #9 UnityEngine.Mesh
L_0000: Local var #10 UnityEngine.Material
L_0000: Local var #11 UnityEngine.Vector3
L_0000: Local var #12 System.Boolean
L_0000: Local var #13 UnityEngine.Mesh
L_0000: Local var #14 System.Collections.Generic.List`1[[RimWorld.ApparelGraphicRecord, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #15 System.Int32
L_0000: Local var #16 UnityEngine.Material
L_0000: Local var #17 UnityEngine.Mesh
L_0000: Local var #18 UnityEngine.Material
L_0000: Local var #19 System.Int32
L_0000: Local var #20 RimWorld.ApparelGraphicRecord
L_0000: Local var #21 UnityEngine.Material
L_0000: Local var #22 System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #23 System.Int32
L_0000: Local var #24 UnityEngine.Vector3
L_0000: Local var #25 RimWorld.ApparelGraphicRecord
L_0000: Local var #26 RimWorld.ApparelGraphicRecord
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: ldarg 2
L_000d: ldarg 3
L_0013: ldarg 4
L_0019: ldarg 5
L_001f: ldarg 6
L_0025: ldarg 7
L_002b: call Boolean RenderPawnInternalPrefix(Verse.PawnRenderer, Vector3, Quaternion, Boolean, Rot4, Rot4, RotDrawMode, Boolean)
L_0030: brfalse Label #1
L_0035: ldarg.0
L_0036: ldfld Verse.PawnGraphicSet graphics
L_003b: callvirt Boolean get_AllResolved()
L_0040: brtrue Label #2
L_0045: ldarg.0
L_0046: ldfld Verse.PawnGraphicSet graphics
L_004b: callvirt Void ResolveAllGraphics()
L_0050: Label #2
L_0050: ldnull
L_0051: stloc.0
L_0052: ldarg.3
L_0053: brfalse Label #3
L_0058: ldarg.1
L_0059: stloc.1
L_005a: ldloca.s 1 (UnityEngine.Vector3)
L_005c: dup
L_005d: ldfld System.Single y
L_0062: ldc.r4 0.005
L_0067: add
L_0068: stfld System.Single y
L_006d: ldarg.s 6
L_006f: ldc.i4.2
L_0070: bne.un Label #4
L_0075: ldarg.0
L_0076: ldfld Verse.Pawn pawn
L_007b: callvirt Verse.RaceProperties get_RaceProps()
L_0080: callvirt Boolean get_Humanlike()
L_0085: brtrue Label #5
L_008a: ldarg.0
L_008b: ldfld Verse.PawnGraphicSet graphics
L_0090: ldfld Verse.Graphic dessicatedGraphic
L_0095: brfalse Label #6
L_009a: ldarg.s 7
L_009c: brtrue Label #7
L_00a1: ldarg.0
L_00a2: ldfld Verse.PawnGraphicSet graphics
L_00a7: ldfld Verse.Graphic dessicatedGraphic
L_00ac: ldloc.1
L_00ad: ldarg.s 4
L_00af: ldarg.0
L_00b0: ldfld Verse.Pawn pawn
L_00b5: callvirt Void Draw(Vector3, Rot4, Verse.Thing)
L_00ba: br Label #8
L_00bf: Label #4
L_00bf: Label #5
L_00bf: Label #6
L_00bf: Label #7
L_00bf: ldarg.0
L_00c0: ldfld Verse.Pawn pawn
L_00c5: callvirt Verse.RaceProperties get_RaceProps()
L_00ca: callvirt Boolean get_Humanlike()
L_00cf: brfalse Label #9
L_00d4: ldsfld Verse.GraphicMeshSet humanlikeBodySet
L_00d9: ldarg.s 4
L_00db: callvirt UnityEngine.Mesh MeshAt(Rot4)
L_00e0: stloc.0
L_00e1: br Label #10
L_00e6: Label #9
L_00e6: ldarg.0
L_00e7: ldfld Verse.PawnGraphicSet graphics
L_00ec: ldfld Verse.Graphic nakedGraphic
L_00f1: ldarg.s 4
L_00f3: callvirt UnityEngine.Mesh MeshAt(Rot4)
L_00f8: stloc.0
L_00f9: Label #10
L_00f9: ldarg.0
L_00fa: ldfld Verse.PawnGraphicSet graphics
L_00ff: ldarg.s 4
L_0101: ldarg.s 6
L_0103: callvirt System.Collections.Generic.List`1[UnityEngine.Material] MatsBodyBaseAt(Rot4, RotDrawMode)
L_0108: stloc.2
L_0109: ldc.i4.0
L_010a: stloc.3
L_010b: br Label #11
L_0110: Label #12
L_0110: ldarg.0
L_0111: ldfld Verse.PawnGraphicSet graphics
L_0116: ldfld Verse.DamageFlasher flasher
L_011b: ldloc.2
L_011c: ldloc.3
L_011d: callvirt UnityEngine.Material get_Item(Int32)
L_0122: callvirt UnityEngine.Material GetDamagedMat(UnityEngine.Material)
L_0127: stloc.s 4 (UnityEngine.Material)
L_0129: ldloc.0
L_012a: ldloc.1
L_012b: ldarg.2
L_012c: ldloc.s 4 (UnityEngine.Material)
L_012e: ldarg.s 7
L_0130: call Void DrawMeshNowOrLater(UnityEngine.Mesh, Vector3, Quaternion, UnityEngine.Material, Boolean)
L_0135: ldloca.s 1 (UnityEngine.Vector3)
L_0137: dup
L_0138: ldfld System.Single y
L_013d: ldc.r4 0.005
L_0142: add
L_0143: stfld System.Single y
L_0148: ldloc.3
L_0149: ldc.i4.1
L_014a: add
L_014b: stloc.3
L_014c: Label #11
L_014c: ldloc.3
L_014d: ldloc.2
L_014e: callvirt Int32 get_Count()
L_0153: blt Label #12
L_0158: ldarg.s 6
L_015a: brtrue Label #13
L_015f: ldarg.1
L_0160: stloc.s 5 (UnityEngine.Vector3)
L_0162: ldloca.s 5 (UnityEngine.Vector3)
L_0164: dup
L_0165: ldfld System.Single y
L_016a: ldc.r4 0.02
L_016f: add
L_0170: stfld System.Single y
L_0175: ldarg.0
L_0176: ldfld RimWorld.PawnWoundDrawer woundOverlays
L_017b: ldloc.s 5 (UnityEngine.Vector3)
L_017d: ldloc.0
L_017e: ldarg.2
L_017f: ldarg.s 7
L_0181: callvirt Void RenderOverBody(Vector3, UnityEngine.Mesh, Quaternion, Boolean)
L_0186: Label #3
L_0186: Label #8
L_0186: Label #13
L_0186: ldarg.1
L_0187: stloc.s 6 (UnityEngine.Vector3)
L_0189: ldarg.1
L_018a: stloc.s 7 (UnityEngine.Vector3)
L_018c: ldarg.s 4
L_018e: call Rot4 get_North()
L_0193: call Boolean op_Inequality(Rot4, Rot4)
L_0198: brfalse Label #14
L_019d: ldloca.s 7 (UnityEngine.Vector3)
L_019f: dup
L_01a0: ldfld System.Single y
L_01a5: ldc.r4 0.03
L_01aa: add
L_01ab: stfld System.Single y
L_01b0: ldloca.s 6 (UnityEngine.Vector3)
L_01b2: dup
L_01b3: ldfld System.Single y
L_01b8: ldc.r4 0.025
L_01bd: add
L_01be: stfld System.Single y
L_01c3: br Label #15
L_01c8: Label #14
L_01c8: ldloca.s 7 (UnityEngine.Vector3)
L_01ca: dup
L_01cb: ldfld System.Single y
L_01d0: ldc.r4 0.025
L_01d5: add
L_01d6: stfld System.Single y
L_01db: ldloca.s 6 (UnityEngine.Vector3)
L_01dd: dup
L_01de: ldfld System.Single y
L_01e3: ldc.r4 0.03
L_01e8: add
L_01e9: stfld System.Single y
L_01ee: Label #15
L_01ee: ldarg.0
L_01ef: ldfld Verse.PawnGraphicSet graphics
L_01f4: ldfld Verse.Graphic headGraphic
L_01f9: brfalse Label #16
L_01fe: ldarg.2
L_01ff: ldarg.0
L_0200: ldarg.s 5
L_0202: call Vector3 BaseHeadOffsetAt(Rot4)
L_0207: call Vector3 op_Multiply(Quaternion, Vector3)
L_020c: stloc.s 8 (UnityEngine.Vector3)
L_020e: ldsfld Verse.GraphicMeshSet humanlikeHeadSet
L_0213: ldarg.s 5
L_0215: callvirt UnityEngine.Mesh MeshAt(Rot4)
L_021a: stloc.s 9 (UnityEngine.Mesh)
L_021c: ldarg.0
L_021d: ldfld Verse.PawnGraphicSet graphics
L_0222: ldarg.s 5
L_0224: ldarg.s 6
L_0226: callvirt UnityEngine.Material HeadMatAt(Rot4, RotDrawMode)
L_022b: stloc.s 10 (UnityEngine.Material)
L_022d: ldloc.s 9 (UnityEngine.Mesh)
L_022f: ldloc.s 7 (UnityEngine.Vector3)
L_0231: ldloc.s 8 (UnityEngine.Vector3)
L_0233: call Vector3 op_Addition(Vector3, Vector3)
L_0238: ldarg.2
L_0239: ldloc.s 10 (UnityEngine.Material)
L_023b: ldarg.s 7
L_023d: call Void DrawMeshNowOrLater(UnityEngine.Mesh, Vector3, Quaternion, UnityEngine.Material, Boolean)
L_0242: ldarg.1
L_0243: ldloc.s 8 (UnityEngine.Vector3)
L_0245: call Vector3 op_Addition(Vector3, Vector3)
L_024a: stloc.s 11 (UnityEngine.Vector3)
L_024c: ldloca.s 11 (UnityEngine.Vector3)
L_024e: dup
L_024f: ldfld System.Single y
L_0254: ldc.r4 0.035
L_0259: add
L_025a: stfld System.Single y
L_025f: ldc.i4.0
L_0260: stloc.s 12 (System.Boolean)
L_0262: ldarg.0
L_0263: ldfld Verse.PawnGraphicSet graphics
L_0268: callvirt Verse.GraphicMeshSet get_HairMeshSet()
L_026d: ldarg.s 5
L_026f: callvirt UnityEngine.Mesh MeshAt(Rot4)
L_0274: stloc.s 13 (UnityEngine.Mesh)
L_0276: ldarg.0
L_0277: ldfld Verse.PawnGraphicSet graphics
L_027c: ldfld System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord] apparelGraphics
L_0281: stloc.s 14 (System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord])
L_0283: ldc.i4.0
L_0284: stloc.s 15 (System.Int32)
L_0286: br Label #17
L_028b: Label #19
L_028b: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord])
L_028d: ldloc.s 15 (System.Int32)
L_028f: callvirt ApparelGraphicRecord get_Item(Int32)
L_0294: stloc.s 25 (RimWorld.ApparelGraphicRecord)
L_0296: ldloca.s 25 (RimWorld.ApparelGraphicRecord)
L_0298: ldfld RimWorld.Apparel sourceApparel
L_029d: ldfld Verse.ThingDef def
L_02a2: ldfld RimWorld.ApparelProperties apparel
L_02a7: callvirt ApparelLayer get_LastLayer()
L_02ac: ldc.i4.4
L_02ad: bne.un Label #18
L_02b2: ldc.i4.1
L_02b3: stloc.s 12 (System.Boolean)
L_02b5: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord])
L_02b7: ldloc.s 15 (System.Int32)
L_02b9: callvirt ApparelGraphicRecord get_Item(Int32)
L_02be: stloc.s 26 (RimWorld.ApparelGraphicRecord)
L_02c0: ldloca.s 26 (RimWorld.ApparelGraphicRecord)
L_02c2: ldfld Verse.Graphic graphic
L_02c7: ldarg.s 4
L_02c9: ldnull
L_02ca: callvirt UnityEngine.Material MatAt(Rot4, Verse.Thing)
L_02cf: stloc.s 16 (UnityEngine.Material)
L_02d1: ldarg.0
L_02d2: ldfld Verse.PawnGraphicSet graphics
L_02d7: ldfld Verse.DamageFlasher flasher
L_02dc: ldloc.s 16 (UnityEngine.Material)
L_02de: callvirt UnityEngine.Material GetDamagedMat(UnityEngine.Material)
L_02e3: stloc.s 16 (UnityEngine.Material)
L_02e5: ldloc.s 13 (UnityEngine.Mesh)
L_02e7: ldloc.s 11 (UnityEngine.Vector3)
L_02e9: ldarg.2
L_02ea: ldloc.s 16 (UnityEngine.Material)
L_02ec: ldarg.s 7
L_02ee: call Void DrawMeshNowOrLater(UnityEngine.Mesh, Vector3, Quaternion, UnityEngine.Material, Boolean)
L_02f3: Label #18
L_02f3: ldloc.s 15 (System.Int32)
L_02f5: ldc.i4.1
L_02f6: add
L_02f7: stloc.s 15 (System.Int32)
L_02f9: Label #17
L_02f9: ldloc.s 15 (System.Int32)
L_02fb: ldloc.s 14 (System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord])
L_02fd: callvirt Int32 get_Count()
L_0302: blt Label #19
L_0307: ldloc.s 12 (System.Boolean)
L_0309: brtrue Label #20
L_030e: ldarg.s 6
L_0310: ldc.i4.2
L_0311: beq Label #21
L_0316: ldarg.0
L_0317: ldfld Verse.PawnGraphicSet graphics
L_031c: callvirt Verse.GraphicMeshSet get_HairMeshSet()
L_0321: ldarg.s 5
L_0323: callvirt UnityEngine.Mesh MeshAt(Rot4)
L_0328: stloc.s 17 (UnityEngine.Mesh)
L_032a: ldarg.0
L_032b: ldfld Verse.PawnGraphicSet graphics
L_0330: ldarg.s 5
L_0332: callvirt UnityEngine.Material HairMatAt(Rot4)
L_0337: stloc.s 18 (UnityEngine.Material)
L_0339: ldloc.s 17 (UnityEngine.Mesh)
L_033b: ldloc.s 11 (UnityEngine.Vector3)
L_033d: ldarg.2
L_033e: ldloc.s 18 (UnityEngine.Material)
L_0340: ldarg.s 7
L_0342: call Void DrawMeshNowOrLater(UnityEngine.Mesh, Vector3, Quaternion, UnityEngine.Material, Boolean)
L_0347: Label #16
L_0347: Label #20
L_0347: Label #21
L_0347: ldarg.3
L_0348: brfalse Label #22
L_034d: ldc.i4.0
L_034e: stloc.s 19 (System.Int32)
L_0350: br Label #23
L_0355: Label #25
L_0355: ldarg.0
L_0356: ldfld Verse.PawnGraphicSet graphics
L_035b: ldfld System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord] apparelGraphics
L_0360: ldloc.s 19 (System.Int32)
L_0362: callvirt ApparelGraphicRecord get_Item(Int32)
L_0367: stloc.s 20 (RimWorld.ApparelGraphicRecord)
L_0369: ldloca.s 20 (RimWorld.ApparelGraphicRecord)
L_036b: ldfld RimWorld.Apparel sourceApparel
L_0370: ldfld Verse.ThingDef def
L_0375: ldfld RimWorld.ApparelProperties apparel
L_037a: callvirt ApparelLayer get_LastLayer()
L_037f: ldc.i4.2
L_0380: bne.un Label #24
L_0385: ldloca.s 20 (RimWorld.ApparelGraphicRecord)
L_0387: ldfld Verse.Graphic graphic
L_038c: ldarg.s 4
L_038e: ldnull
L_038f: callvirt UnityEngine.Material MatAt(Rot4, Verse.Thing)
L_0394: stloc.s 21 (UnityEngine.Material)
L_0396: ldarg.0
L_0397: ldfld Verse.PawnGraphicSet graphics
L_039c: ldfld Verse.DamageFlasher flasher
L_03a1: ldloc.s 21 (UnityEngine.Material)
L_03a3: callvirt UnityEngine.Material GetDamagedMat(UnityEngine.Material)
L_03a8: stloc.s 21 (UnityEngine.Material)
L_03aa: ldloc.0
L_03ab: ldloc.s 6 (UnityEngine.Vector3)
L_03ad: ldarg.2
L_03ae: ldloc.s 21 (UnityEngine.Material)
L_03b0: ldarg.s 7
L_03b2: call Void DrawMeshNowOrLater(UnityEngine.Mesh, Vector3, Quaternion, UnityEngine.Material, Boolean)
L_03b7: Label #24
L_03b7: ldloc.s 19 (System.Int32)
L_03b9: ldc.i4.1
L_03ba: add
L_03bb: stloc.s 19 (System.Int32)
L_03bd: Label #23
L_03bd: ldloc.s 19 (System.Int32)
L_03bf: ldarg.0
L_03c0: ldfld Verse.PawnGraphicSet graphics
L_03c5: ldfld System.Collections.Generic.List`1[RimWorld.ApparelGraphicRecord] apparelGraphics
L_03ca: callvirt Int32 get_Count()
L_03cf: blt Label #25
L_03d4: Label #22
L_03d4: ldarg.s 7
L_03d6: brtrue Label #26
L_03db: ldarg.0
L_03dc: ldfld Verse.Pawn pawn
L_03e1: callvirt Verse.RaceProperties get_RaceProps()
L_03e6: callvirt Boolean get_Animal()
L_03eb: brfalse Label #27
L_03f0: ldarg.0
L_03f1: ldfld Verse.Pawn pawn
L_03f6: ldfld Verse.Pawn_InventoryTracker inventory
L_03fb: brfalse Label #28
L_0400: ldarg.0
L_0401: ldfld Verse.Pawn pawn
L_0406: ldfld Verse.Pawn_InventoryTracker inventory
L_040b: ldfld Verse.ThingContainer innerContainer
L_0410: callvirt Int32 get_Count()
L_0415: ldc.i4.0
L_0416: ble Label #29
L_041b: ldloc.0
L_041c: ldloc.s 6 (UnityEngine.Vector3)
L_041e: ldarg.2
L_041f: ldarg.0
L_0420: ldfld Verse.PawnGraphicSet graphics
L_0425: ldfld Verse.Graphic packGraphic
L_042a: ldarg.0
L_042b: ldfld Verse.Pawn pawn
L_0430: callvirt Rot4 get_Rotation()
L_0435: ldnull
L_0436: callvirt UnityEngine.Material MatAt(Rot4, Verse.Thing)
L_043b: ldc.i4.0
L_043c: call Void DrawMesh(UnityEngine.Mesh, Vector3, Quaternion, UnityEngine.Material, Int32)
L_0441: Label #26
L_0441: Label #27
L_0441: Label #28
L_0441: Label #29
L_0441: ldarg.s 7
L_0443: brtrue Label #30
L_0448: ldarg.0
L_0449: ldarg.1
L_044a: call Void DrawEquipment(Vector3)
L_044f: ldarg.0
L_0450: ldfld Verse.Pawn pawn
L_0455: ldfld RimWorld.Pawn_ApparelTracker apparel
L_045a: brfalse Label #31
L_045f: ldarg.0
L_0460: ldfld Verse.Pawn pawn
L_0465: ldfld RimWorld.Pawn_ApparelTracker apparel
L_046a: callvirt System.Collections.Generic.List`1[RimWorld.Apparel] get_WornApparel()
L_046f: stloc.s 22 (System.Collections.Generic.List`1[RimWorld.Apparel])
L_0471: ldc.i4.0
L_0472: stloc.s 23 (System.Int32)
L_0474: br Label #32
L_0479: Label #33
L_0479: ldloc.s 22 (System.Collections.Generic.List`1[RimWorld.Apparel])
L_047b: ldloc.s 23 (System.Int32)
L_047d: callvirt RimWorld.Apparel get_Item(Int32)
L_0482: callvirt Void DrawWornExtras()
L_0487: ldloc.s 23 (System.Int32)
L_0489: ldc.i4.1
L_048a: add
L_048b: stloc.s 23 (System.Int32)
L_048d: Label #32
L_048d: ldloc.s 23 (System.Int32)
L_048f: ldloc.s 22 (System.Collections.Generic.List`1[RimWorld.Apparel])
L_0491: callvirt Int32 get_Count()
L_0496: blt Label #33
L_049b: Label #31
L_049b: ldarg.1
L_049c: stloc.s 24 (UnityEngine.Vector3)
L_049e: ldloca.s 24 (UnityEngine.Vector3)
L_04a0: dup
L_04a1: ldfld System.Single y
L_04a6: ldc.r4 0.045
L_04ab: add
L_04ac: stfld System.Single y
L_04b1: ldarg.0
L_04b2: ldfld Verse.PawnHeadOverlays statusOverlays
L_04b7: ldloc.s 24 (UnityEngine.Vector3)
L_04b9: ldarg.2
L_04ba: ldsfld Verse.GraphicMeshSet humanlikeHeadSet
L_04bf: ldarg.s 5
L_04c1: callvirt UnityEngine.Mesh MeshAt(Rot4)
L_04c6: callvirt Void RenderStatusOverlays(Vector3, Quaternion, UnityEngine.Mesh)
L_04cb: Label #30
L_04cb: br Label #0
L_04d0: Label #0
L_04d0: Label #1
L_04d0: ret
DONE

PATCHING Verse.StartingPawnUtility Verse.Pawn NewGeneratedStartingPawn()
L_0000: Local var #0 Verse.PawnGenerationRequest
L_0000: Local var #1 Verse.Pawn
L_0000: Local var #2 System.Exception
L_0000: Local var #3 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #4 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #5 System.Nullable`1[[Verse.Gender, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #6 System.Nullable`1[[System.Single, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
L_0000: Local var #7 Verse.Pawn
L_0000: ldnull
L_0001: stloc 7 (Verse.Pawn)
L_0003: ldloca 7 (Verse.Pawn)
L_0005: call Boolean NewGeneratedStartingPawnPrefix(Verse.Pawn ByRef)
L_000a: brfalse Label #1
L_000f: ldloca.s 0 (Verse.PawnGenerationRequest)
L_0011: call RimWorld.Faction get_OfPlayer()
L_0016: ldfld RimWorld.FactionDef def
L_001b: ldfld Verse.PawnKindDef basicMemberKind
L_0020: call RimWorld.Faction get_OfPlayer()
L_0025: ldc.i4.1
L_0026: ldnull
L_0027: ldc.i4.1
L_0028: ldc.i4.0
L_0029: ldc.i4.0
L_002a: ldc.i4.0
L_002b: ldc.i4.1
L_002c: ldc.i4.0
L_002d: ldc.r4 26
L_0032: ldc.i4.0
L_0033: ldc.i4.1
L_0034: ldc.i4.1
L_0035: ldnull
L_0036: ldloca.s 3 (System.Nullable`1[System.Single])
L_0038: initobj System.Nullable`1[System.Single]
L_003e: ldloc.3
L_003f: ldloca.s 4 (System.Nullable`1[System.Single])
L_0041: initobj System.Nullable`1[System.Single]
L_0047: ldloc.s 4 (System.Nullable`1[System.Single])
L_0049: ldloca.s 5 (System.Nullable`1[Verse.Gender])
L_004b: initobj System.Nullable`1[Verse.Gender]
L_0051: ldloc.s 5 (System.Nullable`1[Verse.Gender])
L_0053: ldloca.s 6 (System.Nullable`1[System.Single])
L_0055: initobj System.Nullable`1[System.Single]
L_005b: ldloc.s 6 (System.Nullable`1[System.Single])
L_005d: ldnull
L_005e: call Void .ctor(PawnKindDef, Faction, PawnGenerationContext, Map, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Single, Boolean, Boolean, Boolean, Predicate`1, Nullable`1, Nullable`1, Nullable`1, Nullable`1, String)
L_0063: ldnull
L_0064: stloc.1
L_0065: ldloc.0
L_0066: call Verse.Pawn GeneratePawn(PawnGenerationRequest)
L_006b: stloc.1
L_006c: leave Label #2
L_0071: stloc.2
L_0072: ldstr "There was an exception thrown by the PawnGenerator during generating a starting pawn. Trying one more time...
Exception: "
L_0077: ldloc.2
L_0078: call System.String Concat(System.Object, System.Object)
L_007d: call Void Error(System.String)
L_0082: ldloc.0
L_0083: call Verse.Pawn GeneratePawn(PawnGenerationRequest)
L_0088: stloc.1
L_0089: leave Label #3
L_008e: Label #2
L_008e: Label #3
L_008e: ldloc.1
L_008f: ldfld RimWorld.Pawn_RelationsTracker relations
L_0094: ldc.i4.1
L_0095: stfld System.Boolean everSeenByPlayer
L_009a: ldloc.1
L_009b: call Void AddComponentsForSpawn(Verse.Pawn)
L_00a0: ldloc.1
L_00a1: br Label #0
L_00a6: Label #0
L_00a6: stloc 7 (Verse.Pawn)
L_00a8: Label #1
L_00a8: ldloc 7 (Verse.Pawn)
L_00aa: ret
DONE

PATCHING RimWorld.PawnBioAndNameGenerator Void GiveAppropriateBioAndNameTo(Verse.Pawn, System.String)
L_0000: call Single get_Value()
L_0005: ldc.r4 0.25
L_000a: blt Label #2
L_000f: ldarg.0
L_0010: ldfld Verse.PawnKindDef kindDef
L_0015: ldfld System.Boolean factionLeader
L_001a: brfalse Label #3
L_001f: Label #2
L_001f: ldarg.0
L_0020: ldarg.1
L_0021: call Boolean TryGiveSolidBioTo(Verse.Pawn, System.String)
L_0026: brfalse Label #4
L_002b: br Label #0
L_0030: Label #3
L_0030: Label #4
L_0030: ldarg.0
L_0031: ldarg.0
L_0032: callvirt RimWorld.Faction get_Faction()
L_0037: ldfld RimWorld.FactionDef def
L_003c: ldarg.1
L_003d: call Void GiveShuffledBioTo(Verse.Pawn, RimWorld.FactionDef, System.String)
L_0042: br Label #0
L_0047: Label #0
L_0047: ldarg 0
L_004d: call Void GiveAppropriateBioAndNameToPostfix(Verse.Pawn)
L_0052: ret
DONE

PATCHING RimWorld.PawnBioAndNameGenerator Verse.Name GeneratePawnName(Verse.Pawn, NameStyle, System.String)
L_0000: Local var #0 Verse.RulePackDef
L_0000: Local var #1 System.String
L_0000: Local var #2 System.String
L_0000: Local var #3 Verse.NameTriple
L_0000: Local var #4 Verse.NameTriple
L_0000: Local var #5 Verse.NameTriple
L_0000: Local var #6 System.Int32
L_0000: Local var #7 System.String
L_0000: Local var #8 RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5
L_0000: Local var #9 Verse.Name
L_0000: ldnull
L_0001: stloc 9 (Verse.Name)
L_0003: ldloca 9 (Verse.Name)
L_0005: ldarg 0
L_000b: ldarg 1
L_0011: ldarg 2
L_0017: call Boolean GeneratePawnNamePrefix(Verse.Name ByRef, Verse.Pawn, NameStyle, System.String)
L_001c: brfalse Label #1
L_0021: newobj Void .ctor()
L_0026: stloc.s 8 (RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5)
L_0028: ldloc.s 8 (RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5)
L_002a: ldarg.2
L_002b: stfld System.String forcedLastName
L_0030: ldarg.1
L_0031: brtrue Label #2
L_0036: ldarg.0
L_0037: callvirt Verse.RaceProperties get_RaceProps()
L_003c: ldarg.0
L_003d: ldfld Verse.Gender gender
L_0042: callvirt Verse.RulePackDef GetNameGenerator(Gender)
L_0047: stloc.0
L_0048: ldloc.0
L_0049: brfalse Label #3
L_004e: ldloc.0
L_004f: ldsfld System.Predicate`1[System.String] <>f__am$cache3
L_0054: brtrue Label #4
L_0059: ldnull
L_005a: ldftn Boolean <GeneratePawnName>m__26A(System.String)
L_0060: newobj Void .ctor(Object, IntPtr)
L_0065: stsfld System.Predicate`1[System.String] <>f__am$cache3
L_006a: Label #4
L_006a: ldsfld System.Predicate`1[System.String] <>f__am$cache3
L_006f: ldc.i4.0
L_0070: call System.String GenerateName(Verse.RulePackDef, System.Predicate`1[System.String], Boolean)
L_0075: stloc.1
L_0076: ldloc.1
L_0077: ldc.i4.0
L_0078: newobj Void .ctor(String, Boolean)
L_007d: br Label #0
L_0082: Label #3
L_0082: ldarg.0
L_0083: callvirt RimWorld.Faction get_Faction()
L_0088: brfalse Label #5
L_008d: ldarg.0
L_008e: callvirt RimWorld.Faction get_Faction()
L_0093: ldfld RimWorld.FactionDef def
L_0098: ldfld Verse.RulePackDef pawnNameMaker
L_009d: brfalse Label #6
L_00a2: ldarg.0
L_00a3: callvirt RimWorld.Faction get_Faction()
L_00a8: ldfld RimWorld.FactionDef def
L_00ad: ldfld Verse.RulePackDef pawnNameMaker
L_00b2: ldloc.s 8 (RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5)
L_00b4: ldftn Boolean <>m__26B(System.String)
L_00ba: newobj Void .ctor(Object, IntPtr)
L_00bf: ldc.i4.0
L_00c0: call System.String GenerateName(Verse.RulePackDef, System.Predicate`1[System.String], Boolean)
L_00c5: stloc.2
L_00c6: ldloc.2
L_00c7: call Verse.NameTriple FromString(System.String)
L_00cc: stloc.3
L_00cd: ldloc.3
L_00ce: callvirt Void CapitalizeNick()
L_00d3: ldloc.3
L_00d4: ldloc.s 8 (RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5)
L_00d6: ldfld System.String forcedLastName
L_00db: callvirt Void ResolveMissingPieces(System.String)
L_00e0: ldloc.3
L_00e1: br Label #0
L_00e6: Label #5
L_00e6: Label #6
L_00e6: ldarg.0
L_00e7: callvirt Verse.RaceProperties get_RaceProps()
L_00ec: ldfld RimWorld.PawnNameCategory nameCategory
L_00f1: brfalse Label #7
L_00f6: call Single get_Value()
L_00fb: ldc.r4 0.5
L_0100: bge.un Label #8
L_0105: ldarg.0
L_0106: ldfld Verse.Gender gender
L_010b: ldloc.s 8 (RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5)
L_010d: ldfld System.String forcedLastName
L_0112: call Verse.NameTriple TryGetRandomUnusedSolidName(Gender, System.String)
L_0117: stloc.s 4 (Verse.NameTriple)
L_0119: ldloc.s 4 (Verse.NameTriple)
L_011b: brfalse Label #9
L_0120: ldloc.s 4 (Verse.NameTriple)
L_0122: br Label #0
L_0127: Label #8
L_0127: Label #9
L_0127: ldarg.0
L_0128: ldloc.s 8 (RimWorld.PawnBioAndNameGenerator+<GeneratePawnName>c__AnonStorey2D5)
L_012a: ldfld System.String forcedLastName
L_012f: call Verse.NameTriple GeneratePawnName_Shuffled(Verse.Pawn, System.String)
L_0134: br Label #0
L_0139: Label #7
L_0139: ldstr "No name making method for "
L_013e: ldarg.0
L_013f: call System.String Concat(System.Object, System.Object)
L_0144: call Void Error(System.String)
L_0149: ldarg.0
L_014a: ldfld Verse.ThingDef def
L_014f: ldfld System.String label
L_0154: call Verse.NameTriple FromString(System.String)
L_0159: stloc.s 5 (Verse.NameTriple)
L_015b: ldloc.s 5 (Verse.NameTriple)
L_015d: ldnull
L_015e: callvirt Void ResolveMissingPieces(System.String)
L_0163: ldloc.s 5 (Verse.NameTriple)
L_0165: br Label #0
L_016a: Label #2
L_016a: ldarg.1
L_016b: ldc.i4.1
L_016c: bne.un Label #10
L_0171: ldc.i4.1
L_0172: stloc.s 6 (System.Int32)
L_0174: br Label #11
L_0179: Label #14
L_0179: ldarg.0
L_017a: callvirt System.String get_KindLabel()
L_017f: ldstr " "
L_0184: ldloca.s 6 (System.Int32)
L_0186: call System.String ToString()
L_018b: call System.String Concat(System.String, System.String, System.String)
L_0190: stloc.s 7 (System.String)
L_0192: ldloc.s 7 (System.String)
L_0194: call Boolean NameSingleIsUsedOnAnyMap(System.String)
L_0199: brfalse Label #12
L_019e: br Label #13
L_01a3: Label #12
L_01a3: ldloc.s 7 (System.String)
L_01a5: ldc.i4.1
L_01a6: newobj Void .ctor(String, Boolean)
L_01ab: br Label #0
L_01b0: Label #13
L_01b0: ldloc.s 6 (System.Int32)
L_01b2: ldc.i4.1
L_01b3: add
L_01b4: stloc.s 6 (System.Int32)
L_01b6: Label #11
L_01b6: br Label #14
L_01bb: Label #10
L_01bb: newobj Void .ctor()
L_01c0: throw
L_01c1: Label #0
L_01c1: stloc 9 (Verse.Name)
L_01c3: Label #1
L_01c3: ldloc 9 (Verse.Name)
L_01c5: ret
DONE

PATCHING RimWorld.Page_ConfigureStartingPawns Boolean CanDoNext()
L_0000: Local var #0 Verse.Pawn
L_0000: Local var #1 System.Collections.Generic.List`1+Enumerator[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 System.Boolean
L_0000: Local var #3 System.Boolean
L_0000: ldc.i4 0
L_0005: stloc 3 (System.Boolean)
L_0006: ldarg.0
L_0007: call Boolean CanDoNext()
L_000c: brtrue Label #2
L_0011: ldc.i4.0
L_0012: br Label #0
L_0017: Label #2
L_0017: call Verse.GameInitData get_GameInitData()
L_001c: ldfld System.Collections.Generic.List`1[Verse.Pawn] startingPawns
L_0021: callvirt Enumerator GetEnumerator()
L_0026: stloc.1
L_0027: br Label #3
L_002c: Label #6
L_002c: ldloca.s 1 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_002e: call Verse.Pawn get_Current()
L_0033: stloc.0
L_0034: ldloc.0
L_0035: callvirt Verse.Name get_Name()
L_003a: callvirt Boolean get_IsValid()
L_003f: brtrue Label #4
L_0044: ldstr "EveryoneNeedsValidName"
L_0049: call System.String Translate(System.String)
L_004e: ldc.i4.2
L_004f: call Void Message(System.String, MessageSound)
L_0054: ldc.i4.0
L_0055: stloc.2
L_0056: leave Label #5
L_005b: Label #3
L_005b: Label #4
L_005b: ldloca.s 1 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_005d: call Boolean MoveNext()
L_0062: brtrue Label #6
L_0067: leave Label #7
L_006c: ldloc.1
L_006d: box System.Collections.Generic.List`1+Enumerator[Verse.Pawn]
L_0072: callvirt Void Dispose()
L_0077: endfinally
L_0078: Label #7
L_0078: call Void Clear()
L_007d: ldc.i4.1
L_007e: br Label #0
L_0083: Label #5
L_0083: ldloc.2
L_0084: br Label #0
L_0089: Label #0
L_0089: stloc 3 (System.Boolean)
L_008a: ldloca 3 (System.Boolean)
L_008c: call Void CanDoNextStartPawnPostfix(Boolean ByRef)
L_0091: ldloc 3 (System.Boolean)
L_0092: ret
DONE

PATCHING Verse.GameInitData Void PrepForMapGen()
L_0000: Local var #0 Verse.Pawn
L_0000: Local var #1 System.Collections.Generic.List`1+Enumerator[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #2 Verse.Pawn
L_0000: Local var #3 System.Collections.Generic.List`1+Enumerator[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #4 System.Collections.Generic.IEnumerator`1[[Verse.WorkTypeDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #5 Verse.Pawn
L_0000: Local var #6 System.Collections.Generic.IEnumerator`1[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #7 System.Boolean
L_0000: Local var #8 Verse.Pawn
L_0000: Local var #9 System.Collections.Generic.List`1+Enumerator[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #10 System.Collections.Generic.IEnumerable`1[[Verse.Pawn, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #11 Verse.Pawn
L_0000: Local var #12 Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D
L_0000: ldarg.0
L_0001: call Void PrepForMapGenPrefix(Verse.GameInitData)
L_0006: ldarg.0
L_0007: ldfld System.Collections.Generic.List`1[Verse.Pawn] startingPawns
L_000c: callvirt Enumerator GetEnumerator()
L_0011: stloc.1
L_0012: br Label #2
L_0017: Label #3
L_0017: ldloca.s 1 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_0019: call Verse.Pawn get_Current()
L_001e: stloc.0
L_001f: ldloc.0
L_0020: call RimWorld.Faction get_OfPlayer()
L_0025: callvirt Void SetFactionDirect(RimWorld.Faction)
L_002a: ldloc.0
L_002b: ldc.i4.0
L_002c: call Void AddAndRemoveDynamicComponents(Verse.Pawn, Boolean)
L_0031: Label #2
L_0031: ldloca.s 1 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_0033: call Boolean MoveNext()
L_0038: brtrue Label #3
L_003d: leave Label #4
L_0042: ldloc.1
L_0043: box System.Collections.Generic.List`1+Enumerator[Verse.Pawn]
L_0048: callvirt Void Dispose()
L_004d: endfinally
L_004e: Label #4
L_004e: ldarg.0
L_004f: ldfld System.Collections.Generic.List`1[Verse.Pawn] startingPawns
L_0054: callvirt Enumerator GetEnumerator()
L_0059: stloc.3
L_005a: br Label #5
L_005f: Label #6
L_005f: ldloca.s 3 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_0061: call Verse.Pawn get_Current()
L_0066: stloc.2
L_0067: ldloc.2
L_0068: ldfld RimWorld.Pawn_WorkSettings workSettings
L_006d: callvirt Void DisableAll()
L_0072: Label #5
L_0072: ldloca.s 3 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_0074: call Boolean MoveNext()
L_0079: brtrue Label #6
L_007e: leave Label #7
L_0083: ldloc.3
L_0084: box System.Collections.Generic.List`1+Enumerator[Verse.Pawn]
L_0089: callvirt Void Dispose()
L_008e: endfinally
L_008f: Label #7
L_008f: newobj Void .ctor()
L_0094: stloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_0096: call IEnumerable`1 get_AllDefs()
L_009b: callvirt IEnumerator`1 GetEnumerator()
L_00a0: stloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.WorkTypeDef])
L_00a2: br Label #8
L_00a7: Label #24
L_00a7: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_00a9: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.WorkTypeDef])
L_00ab: callvirt Verse.WorkTypeDef get_Current()
L_00b0: stfld Verse.WorkTypeDef w
L_00b5: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_00b7: ldfld Verse.WorkTypeDef w
L_00bc: ldfld System.Boolean alwaysStartActive
L_00c1: brfalse Label #9
L_00c6: ldarg.0
L_00c7: ldfld System.Collections.Generic.List`1[Verse.Pawn] startingPawns
L_00cc: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_00ce: ldftn Boolean <>m__72B(Verse.Pawn)
L_00d4: newobj Void .ctor(Object, IntPtr)
L_00d9: call IEnumerable`1 Where[Pawn](IEnumerable`1, System.Func`2[Verse.Pawn,System.Boolean])
L_00de: callvirt IEnumerator`1 GetEnumerator()
L_00e3: stloc.s 6 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_00e5: br Label #10
L_00ea: Label #11
L_00ea: ldloc.s 6 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_00ec: callvirt Verse.Pawn get_Current()
L_00f1: stloc.s 5 (Verse.Pawn)
L_00f3: ldloc.s 5 (Verse.Pawn)
L_00f5: ldfld RimWorld.Pawn_WorkSettings workSettings
L_00fa: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_00fc: ldfld Verse.WorkTypeDef w
L_0101: ldc.i4.3
L_0102: callvirt Void SetPriority(Verse.WorkTypeDef, Int32)
L_0107: Label #10
L_0107: ldloc.s 6 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_0109: callvirt Boolean MoveNext()
L_010e: brtrue Label #11
L_0113: leave Label #12
L_0118: ldloc.s 6 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_011a: brtrue Label #13
L_011f: endfinally
L_0120: Label #13
L_0120: ldloc.s 6 (System.Collections.Generic.IEnumerator`1[Verse.Pawn])
L_0122: callvirt Void Dispose()
L_0127: endfinally
L_0128: Label #12
L_0128: br Label #14
L_012d: Label #9
L_012d: ldc.i4.0
L_012e: stloc.s 7 (System.Boolean)
L_0130: ldarg.0
L_0131: ldfld System.Collections.Generic.List`1[Verse.Pawn] startingPawns
L_0136: callvirt Enumerator GetEnumerator()
L_013b: stloc.s 9 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_013d: br Label #15
L_0142: Label #18
L_0142: ldloca.s 9 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_0144: call Verse.Pawn get_Current()
L_0149: stloc.s 8 (Verse.Pawn)
L_014b: ldloc.s 8 (Verse.Pawn)
L_014d: ldfld RimWorld.Pawn_StoryTracker story
L_0152: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_0154: ldfld Verse.WorkTypeDef w
L_0159: callvirt Boolean WorkTypeIsDisabled(Verse.WorkTypeDef)
L_015e: brtrue Label #16
L_0163: ldloc.s 8 (Verse.Pawn)
L_0165: ldfld RimWorld.Pawn_SkillTracker skills
L_016a: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_016c: ldfld Verse.WorkTypeDef w
L_0171: callvirt Single AverageOfRelevantSkillsFor(Verse.WorkTypeDef)
L_0176: ldc.r4 6
L_017b: blt.un Label #17
L_0180: ldloc.s 8 (Verse.Pawn)
L_0182: ldfld RimWorld.Pawn_WorkSettings workSettings
L_0187: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_0189: ldfld Verse.WorkTypeDef w
L_018e: ldc.i4.3
L_018f: callvirt Void SetPriority(Verse.WorkTypeDef, Int32)
L_0194: ldc.i4.1
L_0195: stloc.s 7 (System.Boolean)
L_0197: Label #15
L_0197: Label #16
L_0197: Label #17
L_0197: ldloca.s 9 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_0199: call Boolean MoveNext()
L_019e: brtrue Label #18
L_01a3: leave Label #19
L_01a8: ldloc.s 9 (System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
L_01aa: box System.Collections.Generic.List`1+Enumerator[Verse.Pawn]
L_01af: callvirt Void Dispose()
L_01b4: endfinally
L_01b5: Label #19
L_01b5: ldloc.s 7 (System.Boolean)
L_01b7: brtrue Label #20
L_01bc: ldarg.0
L_01bd: ldfld System.Collections.Generic.List`1[Verse.Pawn] startingPawns
L_01c2: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_01c4: ldftn Boolean <>m__72C(Verse.Pawn)
L_01ca: newobj Void .ctor(Object, IntPtr)
L_01cf: call IEnumerable`1 Where[Pawn](IEnumerable`1, System.Func`2[Verse.Pawn,System.Boolean])
L_01d4: stloc.s 10 (System.Collections.Generic.IEnumerable`1[Verse.Pawn])
L_01d6: ldloc.s 10 (System.Collections.Generic.IEnumerable`1[Verse.Pawn])
L_01d8: call Boolean Any[Pawn](IEnumerable`1)
L_01dd: brfalse Label #21
L_01e2: ldloc.s 10 (System.Collections.Generic.IEnumerable`1[Verse.Pawn])
L_01e4: ldnull
L_01e5: call IEnumerable`1 InRandomOrder[Pawn](IEnumerable`1, IList`1)
L_01ea: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_01ec: ldftn Single <>m__72D(Verse.Pawn)
L_01f2: newobj Void .ctor(Object, IntPtr)
L_01f7: call Verse.Pawn MaxBy[Pawn,Single](IEnumerable`1, System.Func`2[Verse.Pawn,System.Single])
L_01fc: stloc.s 11 (Verse.Pawn)
L_01fe: ldloc.s 11 (Verse.Pawn)
L_0200: ldfld RimWorld.Pawn_WorkSettings workSettings
L_0205: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_0207: ldfld Verse.WorkTypeDef w
L_020c: ldc.i4.3
L_020d: callvirt Void SetPriority(Verse.WorkTypeDef, Int32)
L_0212: br Label #22
L_0217: Label #21
L_0217: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_0219: ldfld Verse.WorkTypeDef w
L_021e: ldfld System.Boolean requireCapableColonist
L_0223: brfalse Label #23
L_0228: ldstr "No colonist could do requireCapableColonist work type "
L_022d: ldloc.s 12 (Verse.GameInitData+<PrepForMapGen>c__AnonStorey47D)
L_022f: ldfld Verse.WorkTypeDef w
L_0234: call System.String Concat(System.Object, System.Object)
L_0239: call Void Error(System.String)
L_023e: Label #8
L_023e: Label #14
L_023e: Label #20
L_023e: Label #22
L_023e: Label #23
L_023e: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.WorkTypeDef])
L_0240: callvirt Boolean MoveNext()
L_0245: brtrue Label #24
L_024a: leave Label #25
L_024f: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.WorkTypeDef])
L_0251: brtrue Label #26
L_0256: endfinally
L_0257: Label #26
L_0257: ldloc.s 4 (System.Collections.Generic.IEnumerator`1[Verse.WorkTypeDef])
L_0259: callvirt Void Dispose()
L_025e: endfinally
L_025f: Label #25
L_025f: br Label #0
L_0264: Label #0
L_0264: ret
DONE

PATCHING RimWorld.Pawn_RelationsTracker Single SecondaryRomanceChanceFactor(Verse.Pawn)
L_0000: Local var #0 System.Boolean
L_0000: Local var #1 System.Single
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.Single
L_0000: Local var #7 RimWorld.PawnRelationDef
L_0000: Local var #8 System.Collections.Generic.IEnumerator`1[[RimWorld.PawnRelationDef, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #9 System.Int32
L_0000: Local var #10 System.Single
L_0000: Local var #11 System.Single
L_0000: Local var #12 System.Single
L_0000: Local var #13 System.Single
L_0000: ldarg.0
L_0001: ldfld Verse.Pawn pawn
L_0006: callvirt Verse.RaceProperties get_RaceProps()
L_000b: callvirt Boolean get_Humanlike()
L_0010: ldarg.1
L_0011: callvirt Verse.RaceProperties get_RaceProps()
L_0016: callvirt Boolean get_Humanlike()
L_001b: bne.un Label #2
L_0020: ldarg.0
L_0021: ldfld Verse.Pawn pawn
L_0026: ldarg.1
L_0027: bne.un Label #3
L_002c: Label #2
L_002c: ldc.r4 0
L_0031: br Label #0
L_0036: Label #3
L_0036: call Void PushSeed()
L_003b: ldarg.0
L_003c: ldfld Verse.Pawn pawn
L_0041: call Int32 HashOffset(Verse.Thing)
L_0046: call Void set_Seed(Int32)
L_004b: call Single get_Value()
L_0050: ldc.r4 0.015
L_0055: clt
L_0057: stloc.0
L_0058: call Void PopSeed()
L_005d: ldc.r4 1
L_0062: stloc.1
L_0063: ldc.r4 1
L_0068: stloc.2
L_0069: ldarg.0
L_006a: ldfld Verse.Pawn pawn
L_006f: ldfld Verse.Pawn_AgeTracker ageTracker
L_0074: callvirt Single get_AgeBiologicalYearsFloat()
L_0079: stloc.3
L_007a: ldarg.1
L_007b: ldfld Verse.Pawn_AgeTracker ageTracker
L_0080: callvirt Single get_AgeBiologicalYearsFloat()
L_0085: stloc.s 4 (System.Single)
L_0087: ldarg.0
L_0088: ldfld Verse.Pawn pawn
L_008d: ldfld Verse.Gender gender
L_0092: ldc.i4.1
L_0093: bne.un Label #4
L_0098: ldloc.0
L_0099: brtrue Label #5
L_009e: ldarg.0
L_009f: ldfld Verse.Pawn pawn
L_00a4: callvirt Verse.RaceProperties get_RaceProps()
L_00a9: callvirt Boolean get_Humanlike()
L_00ae: brfalse Label #6
L_00b3: ldarg.0
L_00b4: ldfld Verse.Pawn pawn
L_00b9: ldfld RimWorld.Pawn_StoryTracker story
L_00be: ldfld RimWorld.TraitSet traits
L_00c3: ldsfld RimWorld.TraitDef Gay
L_00c8: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_00cd: brfalse Label #7
L_00d2: ldarg.1
L_00d3: ldfld Verse.Gender gender
L_00d8: ldc.i4.2
L_00d9: bne.un Label #8
L_00de: ldc.r4 0
L_00e3: br Label #0
L_00e8: Label #8
L_00e8: br Label #9
L_00ed: Label #6
L_00ed: Label #7
L_00ed: ldarg.1
L_00ee: ldfld Verse.Gender gender
L_00f3: ldc.i4.1
L_00f4: bne.un Label #10
L_00f9: ldc.r4 0
L_00fe: br Label #0
L_0103: Label #5
L_0103: Label #9
L_0103: Label #10
L_0103: ldc.r4 0
L_0108: ldc.r4 16
L_010d: ldc.r4 20
L_0112: ldloc.3
L_0113: ldloc.3
L_0114: ldc.r4 15
L_0119: add
L_011a: ldc.r4 0.07
L_011f: ldloc.s 4 (System.Single)
L_0121: call Single FlatHill(Single, Single, Single, Single, Single, Single, Single)
L_0126: stloc.2
L_0127: br Label #11
L_012c: Label #4
L_012c: ldarg.0
L_012d: ldfld Verse.Pawn pawn
L_0132: ldfld Verse.Gender gender
L_0137: ldc.i4.2
L_0138: bne.un Label #12
L_013d: ldloc.0
L_013e: brtrue Label #13
L_0143: ldarg.0
L_0144: ldfld Verse.Pawn pawn
L_0149: callvirt Verse.RaceProperties get_RaceProps()
L_014e: callvirt Boolean get_Humanlike()
L_0153: brfalse Label #14
L_0158: ldarg.0
L_0159: ldfld Verse.Pawn pawn
L_015e: ldfld RimWorld.Pawn_StoryTracker story
L_0163: ldfld RimWorld.TraitSet traits
L_0168: ldsfld RimWorld.TraitDef Gay
L_016d: callvirt Boolean HasTrait(RimWorld.TraitDef)
L_0172: brfalse Label #15
L_0177: ldarg.1
L_0178: ldfld Verse.Gender gender
L_017d: ldc.i4.1
L_017e: bne.un Label #16
L_0183: ldc.r4 0
L_0188: br Label #0
L_018d: Label #16
L_018d: br Label #17
L_0192: Label #14
L_0192: Label #15
L_0192: ldarg.1
L_0193: ldfld Verse.Gender gender
L_0198: ldc.i4.2
L_0199: bne.un Label #18
L_019e: ldc.r4 0
L_01a3: stloc.1
L_01a4: Label #13
L_01a4: Label #17
L_01a4: Label #18
L_01a4: ldloc.s 4 (System.Single)
L_01a6: ldloc.3
L_01a7: ldc.r4 10
L_01ac: sub
L_01ad: bge.un Label #19
L_01b2: ldc.r4 0
L_01b7: br Label #0
L_01bc: Label #19
L_01bc: ldloc.s 4 (System.Single)
L_01be: ldloc.3
L_01bf: ldc.r4 3
L_01c4: sub
L_01c5: bge.un Label #20
L_01ca: ldloc.3
L_01cb: ldc.r4 10
L_01d0: sub
L_01d1: ldloc.3
L_01d2: ldc.r4 3
L_01d7: sub
L_01d8: ldloc.s 4 (System.Single)
L_01da: call Single InverseLerp(Single, Single, Single)
L_01df: ldc.r4 0.2
L_01e4: mul
L_01e5: stloc.2
L_01e6: br Label #21
L_01eb: Label #20
L_01eb: ldc.r4 0.2
L_01f0: ldloc.3
L_01f1: ldc.r4 3
L_01f6: sub
L_01f7: ldloc.3
L_01f8: ldloc.3
L_01f9: ldc.r4 10
L_01fe: add
L_01ff: ldloc.3
L_0200: ldc.r4 30
L_0205: add
L_0206: ldc.r4 0.1
L_020b: ldloc.s 4 (System.Single)
L_020d: call Single FlatHill(Single, Single, Single, Single, Single, Single, Single)
L_0212: stloc.2
L_0213: Label #11
L_0213: Label #12
L_0213: Label #21
L_0213: ldc.r4 1
L_0218: stloc.s 5 (System.Single)
L_021a: ldloc.s 5 (System.Single)
L_021c: ldc.r4 0.2
L_0221: ldc.r4 1
L_0226: ldarg.1
L_0227: ldfld Verse.Pawn_HealthTracker health
L_022c: ldfld Verse.PawnCapacitiesHandler capacities
L_0231: ldsfld Verse.PawnCapacityDef Talking
L_0236: callvirt Single GetEfficiency(Verse.PawnCapacityDef)
L_023b: call Single Lerp(Single, Single, Single)
L_0240: mul
L_0241: stloc.s 5 (System.Single)
L_0243: ldloc.s 5 (System.Single)
L_0245: ldc.r4 0.2
L_024a: ldc.r4 1
L_024f: ldarg.1
L_0250: ldfld Verse.Pawn_HealthTracker health
L_0255: ldfld Verse.PawnCapacitiesHandler capacities
L_025a: ldsfld Verse.PawnCapacityDef Manipulation
L_025f: callvirt Single GetEfficiency(Verse.PawnCapacityDef)
L_0264: call Single Lerp(Single, Single, Single)
L_0269: mul
L_026a: stloc.s 5 (System.Single)
L_026c: ldloc.s 5 (System.Single)
L_026e: ldc.r4 0.2
L_0273: ldc.r4 1
L_0278: ldarg.1
L_0279: ldfld Verse.Pawn_HealthTracker health
L_027e: ldfld Verse.PawnCapacitiesHandler capacities
L_0283: ldsfld Verse.PawnCapacityDef Moving
L_0288: callvirt Single GetEfficiency(Verse.PawnCapacityDef)
L_028d: call Single Lerp(Single, Single, Single)
L_0292: mul
L_0293: stloc.s 5 (System.Single)
L_0295: ldc.r4 1
L_029a: stloc.s 6 (System.Single)
L_029c: ldarg.0
L_029d: ldfld Verse.Pawn pawn
L_02a2: ldarg.1
L_02a3: call IEnumerable`1 GetRelations(Verse.Pawn, Verse.Pawn)
L_02a8: callvirt IEnumerator`1 GetEnumerator()
L_02ad: stloc.s 8 (System.Collections.Generic.IEnumerator`1[RimWorld.PawnRelationDef])
L_02af: br Label #22
L_02b4: Label #23
L_02b4: ldloc.s 8 (System.Collections.Generic.IEnumerator`1[RimWorld.PawnRelationDef])
L_02b6: callvirt RimWorld.PawnRelationDef get_Current()
L_02bb: stloc.s 7 (RimWorld.PawnRelationDef)
L_02bd: ldloc.s 6 (System.Single)
L_02bf: ldloc.s 7 (RimWorld.PawnRelationDef)
L_02c1: ldfld System.Single attractionFactor
L_02c6: mul
L_02c7: stloc.s 6 (System.Single)
L_02c9: Label #22
L_02c9: ldloc.s 8 (System.Collections.Generic.IEnumerator`1[RimWorld.PawnRelationDef])
L_02cb: callvirt Boolean MoveNext()
L_02d0: brtrue Label #23
L_02d5: leave Label #24
L_02da: ldloc.s 8 (System.Collections.Generic.IEnumerator`1[RimWorld.PawnRelationDef])
L_02dc: brtrue Label #25
L_02e1: endfinally
L_02e2: Label #25
L_02e2: ldloc.s 8 (System.Collections.Generic.IEnumerator`1[RimWorld.PawnRelationDef])
L_02e4: callvirt Void Dispose()
L_02e9: endfinally
L_02ea: Label #24
L_02ea: ldc.i4.0
L_02eb: stloc.s 9 (System.Int32)
L_02ed: ldarg.1
L_02ee: callvirt Verse.RaceProperties get_RaceProps()
L_02f3: callvirt Boolean get_Humanlike()
L_02f8: brfalse Label #26
L_02fd: ldarg.1
L_02fe: ldfld RimWorld.Pawn_StoryTracker story
L_0303: ldfld RimWorld.TraitSet traits
L_0308: ldsfld RimWorld.TraitDef Beauty
L_030d: callvirt Int32 DegreeOfTrait(RimWorld.TraitDef)
L_0312: stloc.s 9 (System.Int32)
L_0314: Label #26
L_0314: ldc.r4 1
L_0319: stloc.s 10 (System.Single)
L_031b: ldloc.s 9 (System.Int32)
L_031d: ldc.i4.0
L_031e: bge Label #27
L_0323: ldc.r4 0.3
L_0328: stloc.s 10 (System.Single)
L_032a: br Label #28
L_032f: Label #27
L_032f: ldloc.s 9 (System.Int32)
L_0331: ldc.i4.0
L_0332: ble Label #29
L_0337: ldc.r4 2.3
L_033c: stloc.s 10 (System.Single)
L_033e: Label #28
L_033e: Label #29
L_033e: ldc.r4 15
L_0343: ldc.r4 18
L_0348: ldloc.3
L_0349: call Single InverseLerp(Single, Single, Single)
L_034e: stloc.s 11 (System.Single)
L_0350: ldc.r4 15
L_0355: ldc.r4 18
L_035a: ldloc.s 4 (System.Single)
L_035c: call Single InverseLerp(Single, Single, Single)
L_0361: stloc.s 12 (System.Single)
L_0363: ldloc.1
L_0364: ldloc.2
L_0365: mul
L_0366: ldloc.s 5 (System.Single)
L_0368: mul
L_0369: ldloc.s 6 (System.Single)
L_036b: mul
L_036c: ldloc.s 11 (System.Single)
L_036e: mul
L_036f: ldloc.s 12 (System.Single)
L_0371: mul
L_0372: ldloc.s 10 (System.Single)
L_0374: mul
L_0375: stloc.s 13 (System.Single)
L_0377: ldloc.s 13 (System.Single)
L_0379: br Label #0
L_037e: Label #0
L_037e: ret
DONE

PATCHING RimWorld.Pawn_RelationsTracker Single CompatibilityWith(Verse.Pawn)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Single
L_0000: Local var #2 System.Single
L_0000: Local var #3 System.Single
L_0000: ldc.r4 0
L_0005: stloc 3 (System.Single)
L_0006: ldarg.0
L_0007: ldfld Verse.Pawn pawn
L_000c: ldfld Verse.ThingDef def
L_0011: ldarg.1
L_0012: ldfld Verse.ThingDef def
L_0017: bne.un Label #2
L_001c: ldarg.0
L_001d: ldfld Verse.Pawn pawn
L_0022: ldarg.1
L_0023: bne.un Label #3
L_0028: Label #2
L_0028: ldc.r4 0
L_002d: br Label #0
L_0032: Label #3
L_0032: ldarg.0
L_0033: ldfld Verse.Pawn pawn
L_0038: ldfld Verse.Pawn_AgeTracker ageTracker
L_003d: callvirt Single get_AgeBiologicalYearsFloat()
L_0042: ldarg.1
L_0043: ldfld Verse.Pawn_AgeTracker ageTracker
L_0048: callvirt Single get_AgeBiologicalYearsFloat()
L_004d: sub
L_004e: call Single Abs(Single)
L_0053: stloc.0
L_0054: ldc.r4 0
L_0059: ldc.r4 20
L_005e: ldc.r4 0.45
L_0063: ldc.r4 -0.45
L_0068: ldloc.0
L_0069: call Single LerpDouble(Single, Single, Single, Single, Single)
L_006e: stloc.1
L_006f: ldloc.1
L_0070: ldc.r4 -0.45
L_0075: ldc.r4 0.45
L_007a: call Single Clamp(Single, Single, Single)
L_007f: stloc.1
L_0080: ldarg.0
L_0081: ldarg.1
L_0082: ldfld System.Int32 thingIDNumber
L_0087: call Single ConstantPerPawnsPairCompatibilityOffset(Int32)
L_008c: stloc.2
L_008d: ldloc.1
L_008e: ldloc.2
L_008f: add
L_0090: br Label #0
L_0095: Label #0
L_0095: stloc 3 (System.Single)
L_0096: ldarg.0
L_0097: ldarg 1
L_009d: ldloca 3 (System.Single)
L_009f: call Void CompatibilityWith(RimWorld.Pawn_RelationsTracker, Verse.Pawn, Single ByRef)
L_00a4: ldloc 3 (System.Single)
L_00a5: ret
DONE

PATCHING RimWorld.Faction Void TryMakeInitialRelationsWith(RimWorld.Faction)
L_0000: Local var #0 System.Single
L_0000: Local var #1 System.Single
L_0000: Local var #2 System.Single
L_0000: Local var #3 RimWorld.FactionRelation
L_0000: Local var #4 RimWorld.FactionRelation
L_0000: ldarg.0
L_0001: ldarg.1
L_0002: ldc.i4.1
L_0003: call RimWorld.FactionRelation RelationWith(RimWorld.Faction, Boolean)
L_0008: brfalse Label #2
L_000d: br Label #0
L_0012: Label #2
L_0012: ldarg.0
L_0013: ldfld RimWorld.FactionDef def
L_0018: ldflda Verse.FloatRange startingGoodwill
L_001d: call Single get_RandomInRange()
L_0022: stloc.0
L_0023: ldarg.0
L_0024: call Boolean get_IsPlayer()
L_0029: brfalse Label #3
L_002e: ldc.r4 100
L_0033: stloc.0
L_0034: Label #3
L_0034: ldarg.1
L_0035: ldfld RimWorld.FactionDef def
L_003a: ldflda Verse.FloatRange startingGoodwill
L_003f: call Single get_RandomInRange()
L_0044: stloc.1
L_0045: ldarg.1
L_0046: callvirt Boolean get_IsPlayer()
L_004b: brfalse Label #4
L_0050: ldc.r4 100
L_0055: stloc.1
L_0056: Label #4
L_0056: ldloc.0
L_0057: ldloc.1
L_0058: call Single Min(Single, Single)
L_005d: stloc.2
L_005e: newobj Void .ctor()
L_0063: stloc.3
L_0064: ldloc.3
L_0065: ldarg.1
L_0066: stfld RimWorld.Faction other
L_006b: ldloc.3
L_006c: ldloc.2
L_006d: stfld System.Single goodwill
L_0072: ldloc.3
L_0073: ldloc.2
L_0074: ldc.r4 -40
L_0079: clt
L_007b: stfld System.Boolean hostile
L_0080: ldarg.0
L_0081: ldfld System.Collections.Generic.List`1[RimWorld.FactionRelation] relations
L_0086: ldloc.3
L_0087: callvirt Void Add(RimWorld.FactionRelation)
L_008c: newobj Void .ctor()
L_0091: stloc.s 4 (RimWorld.FactionRelation)
L_0093: ldloc.s 4 (RimWorld.FactionRelation)
L_0095: ldarg.0
L_0096: stfld RimWorld.Faction other
L_009b: ldloc.s 4 (RimWorld.FactionRelation)
L_009d: ldloc.2
L_009e: stfld System.Single goodwill
L_00a3: ldloc.s 4 (RimWorld.FactionRelation)
L_00a5: ldloc.2
L_00a6: ldc.r4 -40
L_00ab: clt
L_00ad: stfld System.Boolean hostile
L_00b2: ldarg.1
L_00b3: ldfld System.Collections.Generic.List`1[RimWorld.FactionRelation] relations
L_00b8: ldloc.s 4 (RimWorld.FactionRelation)
L_00ba: callvirt Void Add(RimWorld.FactionRelation)
L_00bf: br Label #0
L_00c4: Label #0
L_00c4: ldarg.0
L_00c5: ldarg 1
L_00cb: call Void TryMakeInitialRelationsWithPostfix(RimWorld.Faction, RimWorld.Faction)
L_00d0: ret
DONE

PATCHING RimWorld.TraitSet Void GainTrait(RimWorld.Trait)
L_0000: ldarg 1
L_0006: ldarg.0
L_0007: call Boolean GainTraitPrefix(RimWorld.Trait, RimWorld.TraitSet)
L_000c: brfalse Label #1
L_0011: ldarg.0
L_0012: ldarg.1
L_0013: ldfld RimWorld.TraitDef def
L_0018: call Boolean HasTrait(RimWorld.TraitDef)
L_001d: brfalse Label #2
L_0022: ldarg.0
L_0023: ldfld Verse.Pawn pawn
L_0028: ldstr " already has trait "
L_002d: ldarg.1
L_002e: ldfld RimWorld.TraitDef def
L_0033: call System.String Concat(System.Object, System.Object, System.Object)
L_0038: call Void Warning(System.String)
L_003d: br Label #0
L_0042: Label #2
L_0042: ldarg.0
L_0043: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0048: ldarg.1
L_0049: callvirt Void Add(RimWorld.Trait)
L_004e: ldarg.0
L_004f: ldfld Verse.Pawn pawn
L_0054: ldfld RimWorld.Pawn_WorkSettings workSettings
L_0059: brfalse Label #3
L_005e: ldarg.0
L_005f: ldfld Verse.Pawn pawn
L_0064: ldfld RimWorld.Pawn_WorkSettings workSettings
L_0069: callvirt Void Notify_GainedTrait()
L_006e: Label #3
L_006e: ldarg.0
L_006f: ldfld Verse.Pawn pawn
L_0074: ldfld RimWorld.Pawn_StoryTracker story
L_0079: callvirt Void Notify_TraitChanged()
L_007e: ldarg.0
L_007f: ldfld Verse.Pawn pawn
L_0084: ldfld RimWorld.Pawn_SkillTracker skills
L_0089: brfalse Label #4
L_008e: ldarg.0
L_008f: ldfld Verse.Pawn pawn
L_0094: ldfld RimWorld.Pawn_SkillTracker skills
L_0099: callvirt Void Notify_SkillDisablesChanged()
L_009e: Label #4
L_009e: ldarg.0
L_009f: ldfld Verse.Pawn pawn
L_00a4: callvirt Boolean get_Dead()
L_00a9: brtrue Label #5
L_00ae: ldarg.0
L_00af: ldfld Verse.Pawn pawn
L_00b4: callvirt Verse.RaceProperties get_RaceProps()
L_00b9: callvirt Boolean get_Humanlike()
L_00be: brfalse Label #6
L_00c3: ldarg.0
L_00c4: ldfld Verse.Pawn pawn
L_00c9: ldfld RimWorld.Pawn_NeedsTracker needs
L_00ce: ldfld RimWorld.Need_Mood mood
L_00d3: ldfld RimWorld.ThoughtHandler thoughts
L_00d8: ldfld RimWorld.SituationalThoughtHandler situational
L_00dd: callvirt Void Notify_SituationalThoughtsDirty()
L_00e2: Label #5
L_00e2: Label #6
L_00e2: br Label #0
L_00e7: Label #0
L_00e7: Label #1
L_00e7: ret
DONE

PATCHING RimWorld.TraderCaravanUtility TraderCaravanRole GetTraderCaravanRole(Verse.Pawn)
L_0000: ldarg.0
L_0001: ldfld Verse.PawnKindDef kindDef
L_0006: ldsfld Verse.PawnKindDef Slave
L_000b: bne.un Label #2
L_0010: ldc.i4.4
L_0011: br Label #0
L_0016: Label #2
L_0016: ldarg.0
L_0017: ldfld Verse.PawnKindDef kindDef
L_001c: ldfld System.Boolean trader
L_0021: brfalse Label #3
L_0026: ldc.i4.1
L_0027: br Label #0
L_002c: Label #3
L_002c: ldarg.0
L_002d: ldfld Verse.PawnKindDef kindDef
L_0032: callvirt Verse.RaceProperties get_RaceProps()
L_0037: ldfld System.Boolean packAnimal
L_003c: brfalse Label #4
L_0041: ldc.i4.2
L_0042: br Label #0
L_0047: Label #4
L_0047: ldarg.0
L_0048: callvirt Verse.RaceProperties get_RaceProps()
L_004d: callvirt Boolean get_Animal()
L_0052: brfalse Label #5
L_0057: ldc.i4.4
L_0058: br Label #0
L_005d: Label #5
L_005d: ldarg.0
L_005e: call Boolean GetTraderCaravanRoleInfix(Verse.Pawn)
L_0063: brfalse Label #6
L_0068: ldc.i4.4
L_0069: br Label #0
L_006e: Label #6
L_006e: nop
L_006f: ldc.i4.3
L_0070: br Label #0
L_0075: Label #0
L_0075: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Verse.Pawn CopyPawn(Verse.Pawn)
L_0000: Local var #0 Verse.Pawn
L_0000: Local var #1 RimWorld.Trait
L_0000: Local var #2 Verse.NameTriple
L_0000: Local var #3 System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #4 System.Collections.Generic.List`1[[RimWorld.Apparel, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #5 RimWorld.Apparel
L_0000: Local var #6 RimWorld.SkillRecord
L_0000: Local var #7 RimWorld.SkillRecord
L_0000: Local var #8 System.Collections.Generic.List`1+Enumerator[[RimWorld.Trait, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #9 System.Collections.Generic.List`1+Enumerator[[RimWorld.Apparel, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #10 System.Collections.Generic.List`1+Enumerator[[RimWorld.SkillRecord, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #11 Verse.Pawn
L_0000: ldnull
L_0001: stloc 11 (Verse.Pawn)
L_0003: newobj Void .ctor()
L_0008: ldarg.1
L_0009: call Verse.Pawn GenerateSameKindOfColonist(Verse.Pawn)
L_000e: stloc.0
L_000f: ldloc.0
L_0010: ldloc.0
L_0011: newobj Void .ctor(Pawn)
L_0016: stfld Verse.Pawn_HealthTracker health
L_001b: ldloc.0
L_001c: ldarg.1
L_001d: ldfld Verse.Gender gender
L_0022: stfld Verse.Gender gender
L_0027: ldloc.0
L_0028: ldfld Verse.Pawn_AgeTracker ageTracker
L_002d: ldarg.1
L_002e: ldfld Verse.Pawn_AgeTracker ageTracker
L_0033: callvirt Int64 get_BirthAbsTicks()
L_0038: callvirt Void set_BirthAbsTicks(Int64)
L_003d: ldloc.0
L_003e: ldfld Verse.Pawn_AgeTracker ageTracker
L_0043: ldarg.1
L_0044: ldfld Verse.Pawn_AgeTracker ageTracker
L_0049: callvirt Int64 get_AgeBiologicalTicks()
L_004e: callvirt Void set_AgeBiologicalTicks(Int64)
L_0053: ldloc.0
L_0054: ldfld RimWorld.Pawn_StoryTracker story
L_0059: ldarg.1
L_005a: ldfld RimWorld.Pawn_StoryTracker story
L_005f: ldfld RimWorld.Backstory adulthood
L_0064: stfld RimWorld.Backstory adulthood
L_0069: ldloc.0
L_006a: ldfld RimWorld.Pawn_StoryTracker story
L_006f: ldarg.1
L_0070: ldfld RimWorld.Pawn_StoryTracker story
L_0075: ldfld RimWorld.Backstory childhood
L_007a: stfld RimWorld.Backstory childhood
L_007f: ldloc.0
L_0080: ldfld RimWorld.Pawn_StoryTracker story
L_0085: ldloc.0
L_0086: newobj Void .ctor(Pawn)
L_008b: stfld RimWorld.TraitSet traits
L_0090: ldarg.1
L_0091: ldfld RimWorld.Pawn_StoryTracker story
L_0096: ldfld RimWorld.TraitSet traits
L_009b: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_00a0: callvirt Enumerator GetEnumerator()
L_00a5: stloc.s 8 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_00a7: br Label #2
L_00ac: Label #3
L_00ac: ldloca.s 8 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_00ae: call RimWorld.Trait get_Current()
L_00b3: stloc.1
L_00b4: ldloc.0
L_00b5: ldfld RimWorld.Pawn_StoryTracker story
L_00ba: ldfld RimWorld.TraitSet traits
L_00bf: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_00c4: ldloc.1
L_00c5: callvirt Void Add(RimWorld.Trait)
L_00ca: Label #2
L_00ca: ldloca.s 8 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_00cc: call Boolean MoveNext()
L_00d1: brtrue Label #3
L_00d6: leave.s Label #4
L_00d8: ldloca.s 8 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_00da: constrained. System.Collections.Generic.List`1+Enumerator[RimWorld.Trait]
L_00e0: callvirt Void Dispose()
L_00e5: endfinally
L_00e6: Label #4
L_00e6: ldloc.0
L_00e7: ldfld RimWorld.Pawn_StoryTracker story
L_00ec: ldarg.1
L_00ed: ldfld RimWorld.Pawn_StoryTracker story
L_00f2: ldfld System.Single melanin
L_00f7: stfld System.Single melanin
L_00fc: ldarg.1
L_00fd: callvirt Verse.Name get_Name()
L_0102: isinst Verse.NameTriple
L_0107: stloc.2
L_0108: ldloc.0
L_0109: ldloc.2
L_010a: callvirt System.String get_First()
L_010f: ldloc.2
L_0110: callvirt System.String get_Nick()
L_0115: ldloc.2
L_0116: callvirt System.String get_Last()
L_011b: newobj Void .ctor(String, String, String)
L_0120: callvirt Void set_Name(Verse.Name)
L_0125: ldloc.0
L_0126: ldfld RimWorld.Pawn_StoryTracker story
L_012b: ldarg.1
L_012c: ldfld RimWorld.Pawn_StoryTracker story
L_0131: ldfld RimWorld.HairDef hairDef
L_0136: stfld RimWorld.HairDef hairDef
L_013b: ldloc.0
L_013c: ldfld RimWorld.Pawn_StoryTracker story
L_0141: ldarg.1
L_0142: ldfld RimWorld.Pawn_StoryTracker story
L_0147: ldfld UnityEngine.Color hairColor
L_014c: stfld UnityEngine.Color hairColor
L_0151: ldloc.0
L_0152: ldfld RimWorld.Pawn_StoryTracker story
L_0157: ldarg.1
L_0158: ldfld RimWorld.Pawn_StoryTracker story
L_015d: ldfld RimWorld.BodyType bodyType
L_0162: stfld RimWorld.BodyType bodyType
L_0167: ldtoken RimWorld.Pawn_StoryTracker
L_016c: call System.Type GetTypeFromHandle(RuntimeTypeHandle)
L_0171: ldstr "headGraphicPath"
L_0176: ldc.i4.s 36
L_0178: callvirt System.Reflection.FieldInfo GetField(System.String, BindingFlags)
L_017d: ldloc.0
L_017e: ldfld RimWorld.Pawn_StoryTracker story
L_0183: ldarg.1
L_0184: ldfld RimWorld.Pawn_StoryTracker story
L_0189: callvirt System.String get_HeadGraphicPath()
L_018e: callvirt Void SetValue(System.Object, System.Object)
L_0193: ldloc.0
L_0194: ldfld RimWorld.Pawn_StoryTracker story
L_0199: ldarg.1
L_019a: ldfld RimWorld.Pawn_StoryTracker story
L_019f: ldfld Verse.CrownType crownType
L_01a4: stfld Verse.CrownType crownType
L_01a9: ldtoken RimWorld.Pawn_ApparelTracker
L_01ae: call System.Type GetTypeFromHandle(RuntimeTypeHandle)
L_01b3: ldstr "wornApparel"
L_01b8: ldc.i4.s 36
L_01ba: callvirt System.Reflection.FieldInfo GetField(System.String, BindingFlags)
L_01bf: ldarg.1
L_01c0: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01c5: callvirt System.Object GetValue(System.Object)
L_01ca: castclass System.Collections.Generic.List`1[RimWorld.Apparel]
L_01cf: stloc.3
L_01d0: ldtoken RimWorld.Pawn_ApparelTracker
L_01d5: call System.Type GetTypeFromHandle(RuntimeTypeHandle)
L_01da: ldstr "wornApparel"
L_01df: ldc.i4.s 36
L_01e1: callvirt System.Reflection.FieldInfo GetField(System.String, BindingFlags)
L_01e6: ldloc.0
L_01e7: ldfld RimWorld.Pawn_ApparelTracker apparel
L_01ec: callvirt System.Object GetValue(System.Object)
L_01f1: castclass System.Collections.Generic.List`1[RimWorld.Apparel]
L_01f6: stloc.s 4 (System.Collections.Generic.List`1[RimWorld.Apparel])
L_01f8: ldloc.s 4 (System.Collections.Generic.List`1[RimWorld.Apparel])
L_01fa: callvirt Void Clear()
L_01ff: ldloc.3
L_0200: callvirt Enumerator GetEnumerator()
L_0205: stloc.s 9 (System.Collections.Generic.List`1+Enumerator[RimWorld.Apparel])
L_0207: br Label #5
L_020c: Label #6
L_020c: ldloca.s 9 (System.Collections.Generic.List`1+Enumerator[RimWorld.Apparel])
L_020e: call RimWorld.Apparel get_Current()
L_0213: stloc.s 5 (RimWorld.Apparel)
L_0215: ldloc.s 4 (System.Collections.Generic.List`1[RimWorld.Apparel])
L_0217: ldloc.s 5 (RimWorld.Apparel)
L_0219: callvirt Void Add(RimWorld.Apparel)
L_021e: Label #5
L_021e: ldloca.s 9 (System.Collections.Generic.List`1+Enumerator[RimWorld.Apparel])
L_0220: call Boolean MoveNext()
L_0225: brtrue Label #6
L_022a: leave.s Label #7
L_022c: ldloca.s 9 (System.Collections.Generic.List`1+Enumerator[RimWorld.Apparel])
L_022e: constrained. System.Collections.Generic.List`1+Enumerator[RimWorld.Apparel]
L_0234: callvirt Void Dispose()
L_0239: endfinally
L_023a: Label #7
L_023a: ldloc.0
L_023b: ldfld RimWorld.Pawn_SkillTracker skills
L_0240: ldfld System.Collections.Generic.List`1[RimWorld.SkillRecord] skills
L_0245: callvirt Void Clear()
L_024a: ldarg.1
L_024b: ldfld RimWorld.Pawn_SkillTracker skills
L_0250: ldfld System.Collections.Generic.List`1[RimWorld.SkillRecord] skills
L_0255: callvirt Enumerator GetEnumerator()
L_025a: stloc.s 10 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_025c: br Label #8
L_0261: Label #9
L_0261: ldloca.s 10 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_0263: call RimWorld.SkillRecord get_Current()
L_0268: stloc.s 6 (RimWorld.SkillRecord)
L_026a: ldloc.0
L_026b: ldloc.s 6 (RimWorld.SkillRecord)
L_026d: ldfld RimWorld.SkillDef def
L_0272: newobj Void .ctor(Pawn, SkillDef)
L_0277: stloc.s 7 (RimWorld.SkillRecord)
L_0279: ldloc.s 7 (RimWorld.SkillRecord)
L_027b: ldloc.s 6 (RimWorld.SkillRecord)
L_027d: callvirt Int32 get_Level()
L_0282: callvirt Void set_Level(Int32)
L_0287: ldloc.s 7 (RimWorld.SkillRecord)
L_0289: ldloc.s 6 (RimWorld.SkillRecord)
L_028b: ldfld RimWorld.Passion passion
L_0290: stfld RimWorld.Passion passion
L_0295: ldloc.s 7 (RimWorld.SkillRecord)
L_0297: ldloc.s 6 (RimWorld.SkillRecord)
L_0299: ldfld System.Single xpSinceLastLevel
L_029e: stfld System.Single xpSinceLastLevel
L_02a3: ldloc.0
L_02a4: ldfld RimWorld.Pawn_SkillTracker skills
L_02a9: ldfld System.Collections.Generic.List`1[RimWorld.SkillRecord] skills
L_02ae: ldloc.s 7 (RimWorld.SkillRecord)
L_02b0: callvirt Void Add(RimWorld.SkillRecord)
L_02b5: Label #8
L_02b5: ldloca.s 10 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_02b7: call Boolean MoveNext()
L_02bc: brtrue Label #9
L_02c1: leave.s Label #10
L_02c3: ldloca.s 10 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_02c5: constrained. System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord]
L_02cb: callvirt Void Dispose()
L_02d0: endfinally
L_02d1: Label #10
L_02d1: ldloc.0
L_02d2: ldarg.1
L_02d3: ldfld RimWorld.Pawn_RelationsTracker relations
L_02d8: stfld RimWorld.Pawn_RelationsTracker relations
L_02dd: ldloc.0
L_02de: call Void ClearPawnCaches(Verse.Pawn)
L_02e3: ldloc.0
L_02e4: br Label #0
L_02e9: Label #0
L_02e9: stloc 11 (Verse.Pawn)
L_02eb: ldarg 1
L_02f1: ldloca 11 (Verse.Pawn)
L_02f3: call Void PrepareCarefullyCopyPawn(Verse.Pawn, Verse.Pawn ByRef)
L_02f8: ldloc 11 (Verse.Pawn)
L_02fa: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Void set_MelaninLevel(Single)
L_0000: Local var #0 UnityEngine.Color
L_0000: ldarg.0
L_0001: ldarg 1
L_0007: call Void PrepareCarefullyMelaninLevel(System.Object, Single)
L_000c: ldarg.0
L_000d: ldfld Verse.Pawn pawn
L_0012: ldfld RimWorld.Pawn_StoryTracker story
L_0017: ldarg.1
L_0018: stfld System.Single melanin
L_001d: ldarg.0
L_001e: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_0023: ldc.i4.0
L_0024: ldarg.0
L_0025: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_002a: ldc.i4.5
L_002b: ldarg.0
L_002c: ldfld Verse.Pawn pawn
L_0031: ldfld RimWorld.Pawn_StoryTracker story
L_0036: callvirt Color get_SkinColor()
L_003b: dup
L_003c: stloc.0
L_003d: callvirt Void set_Item(Int32, Color)
L_0042: ldloc.0
L_0043: callvirt Void set_Item(Int32, Color)
L_0048: ldarg.0
L_0049: call Void MarkPortraitAsDirty()
L_004e: br Label #0
L_0053: Label #0
L_0053: ret
DONE

PATCHING EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully Void DrawAppearance(EdB.PrepareCarefully.CustomPawn)
L_0000: Local var #0 System.String
L_0000: Local var #1 System.Collections.Generic.List`1[[Verse.FloatMenuOption, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
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 UnityEngine.Rect
L_0000: Local var #6 UnityEngine.Rect
L_0000: Local var #7 UnityEngine.Rect
L_0000: Local var #8 System.Single
L_0000: Local var #9 UnityEngine.Rect
L_0000: Local var #10 System.Action
L_0000: Local var #11 System.Action
L_0000: Local var #12 EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40
L_0000: Local var #13 Verse.ThingDef
L_0000: Local var #14 UnityEngine.Rect
L_0000: Local var #15 EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c
L_0000: newobj Void .ctor()
L_0005: stloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_0007: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_0009: ldarg.1
L_000a: stfld EdB.PrepareCarefully.CustomPawn customPawn
L_000f: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_0011: ldarg.0
L_0012: stfld EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully <>4__this
L_0017: ldarg.0
L_0018: ldfld System.Int32 selectedPawnLayer
L_001d: call System.String Label(Int32)
L_0022: stloc.0
L_0023: ldc.r4 28
L_0028: ldc.r4 23
L_002d: ldc.r4 192
L_0032: ldc.r4 28
L_0037: newobj Void .ctor(Single, Single, Single, Single)
L_003c: ldloc.0
L_003d: ldc.i4.1
L_003e: ldc.i4.0
L_003f: ldc.i4.1
L_0040: call Boolean ButtonText(Rect, System.String, Boolean, Boolean, Boolean)
L_0045: brfalse Label #2
L_004a: newobj Void .ctor()
L_004f: stloc.1
L_0050: ldarg.0
L_0051: ldfld System.Collections.Generic.List`1[System.Action] pawnLayerActions
L_0056: callvirt Int32 get_Count()
L_005b: stloc.2
L_005c: ldc.i4.0
L_005d: stloc.3
L_005e: br Label #3
L_0063: Label #8
L_0063: ldarg.0
L_0064: ldfld System.Collections.Generic.List`1[System.Int32] pawnLayers
L_0069: ldloc.3
L_006a: callvirt Int32 get_Item(Int32)
L_006f: stloc.s 4 (System.Int32)
L_0071: ldloc.s 4 (System.Int32)
L_0073: call Boolean IsApparelLayer(Int32)
L_0078: brfalse Label #4
L_007d: ldloc.s 4 (System.Int32)
L_007f: ldc.i4.8
L_0080: bne.un Label #5
L_0085: ldarg.0
L_0086: ldfld System.Collections.Generic.List`1[System.Collections.Generic.List`1[Verse.ThingDef]] apparelLists
L_008b: ldloc.s 4 (System.Int32)
L_008d: callvirt System.Collections.Generic.List`1[Verse.ThingDef] get_Item(Int32)
L_0092: brfalse Label #6
L_0097: ldarg.0
L_0098: ldfld System.Collections.Generic.List`1[System.Collections.Generic.List`1[Verse.ThingDef]] apparelLists
L_009d: ldloc.s 4 (System.Int32)
L_009f: callvirt System.Collections.Generic.List`1[Verse.ThingDef] get_Item(Int32)
L_00a4: callvirt Int32 get_Count()
L_00a9: brfalse Label #7
L_00ae: Label #4
L_00ae: Label #5
L_00ae: ldarg.0
L_00af: ldfld System.Collections.Generic.List`1[System.Int32] pawnLayers
L_00b4: ldloc.3
L_00b5: callvirt Int32 get_Item(Int32)
L_00ba: call System.String Label(Int32)
L_00bf: stloc.0
L_00c0: ldloc.1
L_00c1: ldloc.0
L_00c2: ldarg.0
L_00c3: ldfld System.Collections.Generic.List`1[System.Action] pawnLayerActions
L_00c8: ldloc.3
L_00c9: callvirt System.Action get_Item(Int32)
L_00ce: ldc.i4.4
L_00cf: ldnull
L_00d0: ldnull
L_00d1: ldc.r4 0
L_00d6: ldnull
L_00d7: ldnull
L_00d8: newobj Void .ctor(String, Action, MenuOptionPriority, Action, Thing, Single, Func`2, WorldObject)
L_00dd: callvirt Void Add(Verse.FloatMenuOption)
L_00e2: Label #6
L_00e2: Label #7
L_00e2: ldloc.3
L_00e3: ldc.i4.1
L_00e4: add
L_00e5: stloc.3
L_00e6: Label #3
L_00e6: ldloc.3
L_00e7: ldloc.2
L_00e8: blt Label #8
L_00ed: call Verse.WindowStack get_WindowStack()
L_00f2: ldloc.1
L_00f3: ldnull
L_00f4: ldc.i4.0
L_00f5: newobj Void .ctor(List`1, String, Boolean)
L_00fa: callvirt Void Add(Verse.Window)
L_00ff: Label #2
L_00ff: ldloca.s 5 (UnityEngine.Rect)
L_0101: ldc.r4 28
L_0106: ldc.r4 60
L_010b: ldc.r4 192
L_0110: ldc.r4 192
L_0115: call Void .ctor(Single, Single, Single, Single)
L_011a: ldloc.s 5 (UnityEngine.Rect)
L_011c: ldsfld UnityEngine.Texture2D TexturePortraitBackground
L_0121: call Void DrawTexture(Rect, UnityEngine.Texture)
L_0126: ldarg.0
L_0127: ldloc.s 5 (UnityEngine.Rect)
L_0129: call Void DrawPawn(Rect)
L_012e: ldsfld UnityEngine.Color PortraitBorderColor
L_0133: call Void set_color(Color)
L_0138: ldloc.s 5 (UnityEngine.Rect)
L_013a: ldc.i4.1
L_013b: call Void DrawBox(Rect, Int32)
L_0140: call Color get_white()
L_0145: call Void set_color(Color)
L_014a: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_014c: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_0151: callvirt System.String get_ApparelConflict()
L_0156: brfalse Label #9
L_015b: call Color get_white()
L_0160: call Void set_color(Color)
L_0165: ldloca.s 6 (UnityEngine.Rect)
L_0167: ldloca.s 5 (UnityEngine.Rect)
L_0169: call Single get_x()
L_016e: ldc.r4 77
L_0173: add
L_0174: ldloca.s 5 (UnityEngine.Rect)
L_0176: call Single get_y()
L_017b: ldc.r4 150
L_0180: add
L_0181: ldc.r4 36
L_0186: ldc.r4 32
L_018b: call Void .ctor(Single, Single, Single, Single)
L_0190: ldloc.s 6 (UnityEngine.Rect)
L_0192: ldsfld UnityEngine.Texture2D TextureAlert
L_0197: call Void DrawTexture(Rect, UnityEngine.Texture)
L_019c: ldloc.s 6 (UnityEngine.Rect)
L_019e: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_01a0: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_01a5: callvirt System.String get_ApparelConflict()
L_01aa: call TipSignal op_Implicit(System.String)
L_01af: call Void TipRegion(Rect, TipSignal)
L_01b4: Label #9
L_01b4: ldloca.s 7 (UnityEngine.Rect)
L_01b6: ldloca.s 5 (UnityEngine.Rect)
L_01b8: call Single get_x()
L_01bd: ldloca.s 5 (UnityEngine.Rect)
L_01bf: call Single get_y()
L_01c4: ldloca.s 5 (UnityEngine.Rect)
L_01c6: call Single get_height()
L_01cb: add
L_01cc: ldc.r4 5
L_01d1: add
L_01d2: ldloca.s 5 (UnityEngine.Rect)
L_01d4: call Single get_width()
L_01d9: ldc.r4 28
L_01de: call Void .ctor(Single, Single, Single, Single)
L_01e3: ldarg.0
L_01e4: ldloc.s 7 (UnityEngine.Rect)
L_01e6: ldarg.0
L_01e7: call System.String get_PawnLayerLabel()
L_01ec: call System.String CapitalizeFirst(System.String)
L_01f1: ldarg.0
L_01f2: ldftn Void <DrawAppearance>b__36()
L_01f8: newobj Void .ctor(Object, IntPtr)
L_01fd: ldarg.0
L_01fe: ldftn Void <DrawAppearance>b__37()
L_0204: newobj Void .ctor(Object, IntPtr)
L_0209: call Void DrawFieldSelector(Rect, System.String, System.Action, System.Action)
L_020e: ldloc.s 7 (UnityEngine.Rect)
L_0210: ldc.i4.0
L_0211: call Boolean ButtonInvisible(Rect, Boolean)
L_0216: brfalse Label #10
L_021b: ldarg.0
L_021c: ldfld System.Int32 selectedPawnLayer
L_0221: ldc.i4.5
L_0222: bne.un Label #11
L_0227: ldarg.0
L_0228: call Void ShowHeadDialog()
L_022d: br Label #12
L_0232: Label #11
L_0232: ldarg.0
L_0233: ldfld System.Int32 selectedPawnLayer
L_0238: brtrue Label #13
L_023d: ldarg.0
L_023e: call Void ShowBodyTypeDialog()
L_0243: br Label #14
L_0248: Label #13
L_0248: ldarg.0
L_0249: ldfld System.Int32 selectedPawnLayer
L_024e: ldc.i4.6
L_024f: bne.un Label #15
L_0254: ldarg.0
L_0255: call Void ShowHairDialog()
L_025a: br Label #16
L_025f: Label #15
L_025f: ldarg.0
L_0260: ldarg.0
L_0261: ldfld System.Int32 selectedPawnLayer
L_0266: call Void ShowApparelDialog(Int32)
L_026b: Label #10
L_026b: Label #12
L_026b: Label #14
L_026b: Label #16
L_026b: ldloca.s 7 (UnityEngine.Rect)
L_026d: call Single get_y()
L_0272: ldc.r4 34
L_0277: add
L_0278: stloc.s 8 (System.Single)
L_027a: ldarg.0
L_027b: ldfld System.Int32 selectedPawnLayer
L_0280: call Boolean IsApparelLayer(Int32)
L_0285: brfalse Label #17
L_028a: ldnull
L_028b: stloc.s 10 (System.Action)
L_028d: ldnull
L_028e: stloc.s 11 (System.Action)
L_0290: newobj Void .ctor()
L_0295: stloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_0297: ldloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_0299: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_029b: stfld EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c CS$<>8__locals3d
L_02a0: ldloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_02a2: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_02a4: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_02a9: ldarg.0
L_02aa: ldfld System.Int32 selectedPawnLayer
L_02af: callvirt Verse.ThingDef GetSelectedApparel(Int32)
L_02b4: stfld Verse.ThingDef apparelDef
L_02b9: ldloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_02bb: ldfld Verse.ThingDef apparelDef
L_02c0: brfalse Label #18
L_02c5: ldloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_02c7: ldfld Verse.ThingDef apparelDef
L_02cc: callvirt Boolean get_MadeFromStuff()
L_02d1: brfalse Label #19
L_02d6: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_02d8: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_02dd: ldarg.0
L_02de: ldfld System.Int32 selectedPawnLayer
L_02e3: callvirt Verse.ThingDef GetSelectedStuff(Int32)
L_02e8: brtrue Label #20
L_02ed: ldstr "Selected stuff for "
L_02f2: ldarg.0
L_02f3: ldfld System.Int32 selectedPawnLayer
L_02f8: call ApparelLayer ToApparelLayer(Int32)
L_02fd: box RimWorld.ApparelLayer
L_0302: ldstr " is null"
L_0307: call System.String Concat(System.Object, System.Object, System.Object)
L_030c: call Void Error(System.String)
L_0311: Label #20
L_0311: ldloca.s 9 (UnityEngine.Rect)
L_0313: ldloca.s 5 (UnityEngine.Rect)
L_0315: call Single get_x()
L_031a: ldloc.s 8 (System.Single)
L_031c: ldloca.s 5 (UnityEngine.Rect)
L_031e: call Single get_width()
L_0323: ldc.r4 28
L_0328: call Void .ctor(Single, Single, Single, Single)
L_032d: ldarg.0
L_032e: ldloc.s 9 (UnityEngine.Rect)
L_0330: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_0332: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_0337: ldarg.0
L_0338: ldfld System.Int32 selectedPawnLayer
L_033d: callvirt Verse.ThingDef GetSelectedStuff(Int32)
L_0342: callvirt System.String get_LabelCap()
L_0347: ldloc.s 10 (System.Action)
L_0349: brtrue Label #21
L_034e: ldloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_0350: ldftn Void <DrawAppearance>b__38()
L_0356: newobj Void .ctor(Object, IntPtr)
L_035b: stloc.s 10 (System.Action)
L_035d: Label #21
L_035d: ldloc.s 10 (System.Action)
L_035f: ldloc.s 11 (System.Action)
L_0361: brtrue Label #22
L_0366: ldloc.s 12 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass40)
L_0368: ldftn Void <DrawAppearance>b__3a()
L_036e: newobj Void .ctor(Object, IntPtr)
L_0373: stloc.s 11 (System.Action)
L_0375: Label #22
L_0375: ldloc.s 11 (System.Action)
L_0377: call Void DrawFieldSelector(Rect, System.String, System.Action, System.Action)
L_037c: ldloc.s 9 (UnityEngine.Rect)
L_037e: ldc.i4.0
L_037f: call Boolean ButtonInvisible(Rect, Boolean)
L_0384: brfalse Label #23
L_0389: ldarg.0
L_038a: ldarg.0
L_038b: ldfld System.Int32 selectedPawnLayer
L_0390: call Void ShowApparelStuffDialog(Int32)
L_0395: Label #23
L_0395: ldloc.s 8 (System.Single)
L_0397: ldloca.s 9 (UnityEngine.Rect)
L_0399: call Single get_height()
L_039e: add
L_039f: stloc.s 8 (System.Single)
L_03a1: Label #17
L_03a1: Label #18
L_03a1: Label #19
L_03a1: ldloc.s 8 (System.Single)
L_03a3: ldc.r4 8
L_03a8: add
L_03a9: stloc.s 8 (System.Single)
L_03ab: ldarg.0
L_03ac: ldfld System.Int32 selectedPawnLayer
L_03b1: call Boolean IsApparelLayer(Int32)
L_03b6: brfalse Label #24
L_03bb: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_03bd: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_03c2: ldarg.0
L_03c3: ldfld System.Int32 selectedPawnLayer
L_03c8: callvirt Verse.ThingDef GetSelectedApparel(Int32)
L_03cd: stloc.s 13 (Verse.ThingDef)
L_03cf: ldloc.s 13 (Verse.ThingDef)
L_03d1: brfalse Label #25
L_03d6: ldloc.s 13 (Verse.ThingDef)
L_03d8: ldtoken Verse.CompColorable
L_03dd: call System.Type GetTypeFromHandle(RuntimeTypeHandle)
L_03e2: callvirt Boolean HasComp(System.Type)
L_03e7: brfalse Label #26
L_03ec: ldloc.s 13 (Verse.ThingDef)
L_03ee: callvirt Boolean get_MadeFromStuff()
L_03f3: brfalse Label #27
L_03f8: ldarg.0
L_03f9: ldloc.s 8 (System.Single)
L_03fb: ldnull
L_03fc: call Void DrawColorSelector(Single, Verse.ColorGenerator)
L_0401: br Label #28
L_0406: Label #27
L_0406: ldarg.0
L_0407: ldloc.s 8 (System.Single)
L_0409: ldloc.s 13 (Verse.ThingDef)
L_040b: ldfld Verse.ColorGenerator colorGenerator
L_0410: call Void DrawColorSelector(Single, Verse.ColorGenerator)
L_0415: br Label #29
L_041a: Label #24
L_041a: ldarg.0
L_041b: ldfld System.Int32 selectedPawnLayer
L_0420: brfalse Label #30
L_0425: ldarg.0
L_0426: ldfld System.Int32 selectedPawnLayer
L_042b: ldc.i4.5
L_042c: bne.un Label #31
L_0431: Label #30
L_0431: ldarg.0
L_0432: ldloc.s 8 (System.Single)
L_0434: call Void DrawSkinSelector(Single)
L_0439: br Label #32
L_043e: Label #31
L_043e: ldarg.0
L_043f: ldfld System.Int32 selectedPawnLayer
L_0444: ldc.i4.6
L_0445: bne.un Label #33
L_044a: ldarg.0
L_044b: ldloc.s 8 (System.Single)
L_044d: ldarg.0
L_044e: ldfld System.Collections.Generic.List`1[UnityEngine.Color] hairColors
L_0453: ldc.i4.1
L_0454: call Void DrawColorSelector(Single, System.Collections.Generic.List`1[UnityEngine.Color], Boolean)
L_0459: Label #25
L_0459: Label #26
L_0459: Label #28
L_0459: Label #29
L_0459: Label #32
L_0459: Label #33
L_0459: ldloca.s 14 (UnityEngine.Rect)
L_045b: ldsflda UnityEngine.Rect SectionRectPortrait
L_0460: call Single get_x()
L_0465: ldc.r4 186
L_046a: add
L_046b: ldloca.s 5 (UnityEngine.Rect)
L_046d: call Single get_y()
L_0472: ldc.r4 10
L_0477: add
L_0478: ldc.r4 22
L_047d: ldc.r4 22
L_0482: call Void .ctor(Single, Single, Single, Single)
L_0487: ldloca.s 14 (UnityEngine.Rect)
L_0489: call UnityEngine.Event get_current()
L_048e: callvirt Vector2 get_mousePosition()
L_0493: call Boolean Contains(Vector2)
L_0498: brfalse Label #34
L_049d: ldsfld UnityEngine.Color ButtonHighlightColor
L_04a2: call Void set_color(Color)
L_04a7: br Label #35
L_04ac: Label #34
L_04ac: ldsfld UnityEngine.Color ButtonColor
L_04b1: call Void set_color(Color)
L_04b6: Label #35
L_04b6: ldloc.s 14 (UnityEngine.Rect)
L_04b8: ldsfld UnityEngine.Texture2D TextureButtonRandom
L_04bd: call Void DrawTexture(Rect, UnityEngine.Texture)
L_04c2: ldloc.s 14 (UnityEngine.Rect)
L_04c4: ldc.i4.0
L_04c5: call Boolean ButtonInvisible(Rect, Boolean)
L_04ca: brfalse Label #36
L_04cf: ldsfld Verse.SoundDef TickLow
L_04d4: call Void PlayOneShotOnCamera(Verse.SoundDef)
L_04d9: ldarg.0
L_04da: ldfld EdB.PrepareCarefully.Randomizer randomizer
L_04df: ldloc.s 15 (EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully+<>c__DisplayClass3c)
L_04e1: ldfld EdB.PrepareCarefully.CustomPawn customPawn
L_04e6: callvirt Void RandomizeAppearance(EdB.PrepareCarefully.CustomPawn)
L_04eb: Label #36
L_04eb: br Label #0
L_04f0: Label #0
L_04f0: ldarg.0
L_04f1: ldarg 1
L_04f7: call Void PrepareCarefullyDrawAppearance(System.Object, System.Object)
L_04fc: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Verse.ThingDef GetSelectedApparel(Int32)
L_0000: Local var #0 Verse.ThingDef
L_0000: ldnull
L_0001: stloc 0 (Verse.ThingDef)
L_0002: ldarg 1
L_0008: ldarg.0
L_0009: ldloca 0 (Verse.ThingDef)
L_000b: call Boolean PrepareCarefullySelectedApparel(Int32, System.Object, Verse.ThingDef ByRef)
L_0010: brfalse Label #1
L_0015: ldarg.0
L_0016: ldfld System.Collections.Generic.List`1[Verse.ThingDef] selectedApparel
L_001b: ldarg.1
L_001c: callvirt Verse.ThingDef get_Item(Int32)
L_0021: br Label #0
L_0026: Label #0
L_0026: stloc 0 (Verse.ThingDef)
L_0027: Label #1
L_0027: ldloc 0 (Verse.ThingDef)
L_0028: ret
DONE

PATCHING EdB.PrepareCarefully.Page_ConfigureStartingPawnsCarefully System.String get_PawnLayerLabel()
L_0000: Local var #0 EdB.PrepareCarefully.CustomPawn
L_0000: Local var #1 System.String
L_0000: Local var #2 Verse.ThingDef
L_0000: Local var #3 System.Int32
L_0000: Local var #4 System.String
L_0000: ldnull
L_0001: stloc 4 (System.String)
L_0003: ldarg.0
L_0004: call EdB.PrepareCarefully.CustomPawn get_CurrentPawn()
L_0009: stloc.0
L_000a: ldstr "EdB.None"
L_000f: call System.String Translate(System.String)
L_0014: stloc.1
L_0015: ldarg.0
L_0016: ldfld System.Int32 selectedPawnLayer
L_001b: brtrue Label #2
L_0020: ldarg.0
L_0021: ldfld System.Collections.Generic.Dictionary`2[RimWorld.BodyType,System.String] bodyTypeLabels
L_0026: ldloc.0
L_0027: callvirt BodyType get_BodyType()
L_002c: callvirt System.String get_Item(BodyType)
L_0031: stloc.1
L_0032: br Label #3
L_0037: Label #2
L_0037: ldarg.0
L_0038: ldfld System.Int32 selectedPawnLayer
L_003d: ldc.i4.5
L_003e: bne.un Label #4
L_0043: ldarg.0
L_0044: ldloc.0
L_0045: callvirt System.String get_HeadGraphicPath()
L_004a: call System.String GetHeadLabel(System.String)
L_004f: stloc.1
L_0050: br Label #5
L_0055: Label #4
L_0055: ldarg.0
L_0056: ldfld System.Int32 selectedPawnLayer
L_005b: ldc.i4.6
L_005c: bne.un Label #6
L_0061: ldloc.0
L_0062: callvirt RimWorld.HairDef get_HairDef()
L_0067: brfalse Label #7
L_006c: ldloc.0
L_006d: callvirt RimWorld.HairDef get_HairDef()
L_0072: callvirt System.String get_LabelCap()
L_0077: stloc.1
L_0078: br Label #8
L_007d: Label #6
L_007d: ldnull
L_007e: stloc.1
L_007f: ldloc.0
L_0080: ldarg.0
L_0081: ldfld System.Int32 selectedPawnLayer
L_0086: callvirt Verse.ThingDef GetSelectedApparel(Int32)
L_008b: stloc.2
L_008c: ldloc.2
L_008d: brfalse Label #9
L_0092: ldarg.0
L_0093: ldfld System.Collections.Generic.List`1[System.Collections.Generic.List`1[Verse.ThingDef]] apparelLists
L_0098: ldarg.0
L_0099: ldfld System.Int32 selectedPawnLayer
L_009e: callvirt System.Collections.Generic.List`1[Verse.ThingDef] get_Item(Int32)
L_00a3: ldloc.2
L_00a4: callvirt Int32 IndexOf(Verse.ThingDef)
L_00a9: stloc.3
L_00aa: ldloc.3
L_00ab: ldc.i4.m1
L_00ac: ble Label #10
L_00b1: ldarg.0
L_00b2: ldfld System.Collections.Generic.List`1[System.Collections.Generic.List`1[Verse.ThingDef]] apparelLists
L_00b7: ldarg.0
L_00b8: ldfld System.Int32 selectedPawnLayer
L_00bd: callvirt System.Collections.Generic.List`1[Verse.ThingDef] get_Item(Int32)
L_00c2: ldloc.3
L_00c3: callvirt Verse.ThingDef get_Item(Int32)
L_00c8: ldfld System.String label
L_00cd: stloc.1
L_00ce: br Label #11
L_00d3: Label #9
L_00d3: ldstr "EdB.None"
L_00d8: call System.String Translate(System.String)
L_00dd: stloc.1
L_00de: Label #3
L_00de: Label #5
L_00de: Label #7
L_00de: Label #8
L_00de: Label #10
L_00de: Label #11
L_00de: ldarg.0
L_00df: ldarg.0
L_00e0: ldfld System.Int32 selectedPawnLayer
L_00e5: stfld System.Int32 pawnLayerLabelIndex
L_00ea: ldarg.0
L_00eb: ldloc.0
L_00ec: stfld EdB.PrepareCarefully.CustomPawn pawnLayerLabelModel
L_00f1: ldarg.0
L_00f2: ldloc.1
L_00f3: stfld System.String pawnLayerLabel
L_00f8: ldloc.1
L_00f9: br Label #0
L_00fe: Label #0
L_00fe: stloc 4 (System.String)
L_0100: ldarg.0
L_0101: ldloca 4 (System.String)
L_0103: call Void PrepareCarefullyPawnLayerLabel(System.Object, System.String ByRef)
L_0108: ldloc 4 (System.String)
L_010a: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Void SetSelectedStuff(Int32, Verse.ThingDef)
L_0000: Local var #0 Verse.ThingDef
L_0000: Local var #1 EdB.PrepareCarefully.EquipmentKey
L_0000: Local var #2 UnityEngine.Color
L_0000: ldarg 1
L_0006: ldarg 2
L_000c: ldarg.0
L_000d: call Boolean PrepareCarefullySetSelectedStuff(Int32, Verse.ThingDef, System.Object)
L_0012: brfalse Label #1
L_0017: ldarg.1
L_0018: ldc.i4.0
L_0019: bge Label #2
L_001e: br Label #0
L_0023: Label #2
L_0023: ldarg.0
L_0024: ldfld System.Collections.Generic.List`1[Verse.ThingDef] selectedStuff
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: callvirt Void set_Item(Int32, Verse.ThingDef)
L_0030: ldarg.2
L_0031: brfalse Label #3
L_0036: ldarg.0
L_0037: ldarg.1
L_0038: call Verse.ThingDef GetSelectedApparel(Int32)
L_003d: stloc.0
L_003e: ldloc.0
L_003f: brfalse Label #4
L_0044: ldloca.s 1 (EdB.PrepareCarefully.EquipmentKey)
L_0046: ldloc.0
L_0047: ldarg.2
L_0048: call Void .ctor(ThingDef, ThingDef)
L_004d: ldarg.0
L_004e: ldfld System.Collections.Generic.Dictionary`2[EdB.PrepareCarefully.EquipmentKey,UnityEngine.Color] colorCache
L_0053: ldloc.1
L_0054: ldloca.s 2 (UnityEngine.Color)
L_0056: callvirt Boolean TryGetValue(EquipmentKey, Color ByRef)
L_005b: brfalse Label #5
L_0060: ldarg.0
L_0061: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_0066: ldarg.1
L_0067: ldloc.2
L_0068: callvirt Void set_Item(Int32, Color)
L_006d: br Label #0
L_0072: Label #5
L_0072: ldarg.2
L_0073: ldfld Verse.StuffProperties stuffProps
L_0078: ldfld System.Boolean allowColorGenerators
L_007d: brfalse Label #6
L_0082: ldarg.0
L_0083: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_0088: ldarg.1
L_0089: ldarg.2
L_008a: ldfld Verse.StuffProperties stuffProps
L_008f: ldfld UnityEngine.Color color
L_0094: callvirt Void set_Item(Int32, Color)
L_0099: br Label #0
L_009e: Label #6
L_009e: ldarg.0
L_009f: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_00a4: ldarg.1
L_00a5: call Color get_white()
L_00aa: callvirt Void set_Item(Int32, Color)
L_00af: Label #3
L_00af: Label #4
L_00af: br Label #0
L_00b4: Label #0
L_00b4: Label #1
L_00b4: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Verse.ThingDef GetSelectedStuff(Int32)
L_0000: Local var #0 Verse.ThingDef
L_0000: ldnull
L_0001: stloc 0 (Verse.ThingDef)
L_0002: ldarg 1
L_0008: ldloca 0 (Verse.ThingDef)
L_000a: ldarg.0
L_000b: call Boolean PrepareCarefullyGetSelectedStuff(Int32, Verse.ThingDef ByRef, System.Object)
L_0010: brfalse Label #1
L_0015: ldarg.0
L_0016: ldfld System.Collections.Generic.List`1[Verse.ThingDef] selectedStuff
L_001b: ldarg.1
L_001c: callvirt Verse.ThingDef get_Item(Int32)
L_0021: br Label #0
L_0026: Label #0
L_0026: stloc 0 (Verse.ThingDef)
L_0027: Label #1
L_0027: ldloc 0 (Verse.ThingDef)
L_0028: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Void SetSelectedApparelInternal(Int32, Verse.ThingDef)
L_0000: Local var #0 Verse.ThingDef
L_0000: Local var #1 EdB.PrepareCarefully.EquipmentKey
L_0000: ldarg 1
L_0006: ldarg 2
L_000c: ldarg.0
L_000d: call Boolean PrepareCarefullySetSelectedApparelInternal(Int32, Verse.ThingDef, System.Object)
L_0012: brfalse Label #1
L_0017: ldarg.1
L_0018: ldc.i4.0
L_0019: bge Label #2
L_001e: br Label #0
L_0023: Label #2
L_0023: ldarg.0
L_0024: ldfld System.Collections.Generic.List`1[Verse.ThingDef] selectedApparel
L_0029: ldarg.1
L_002a: ldarg.2
L_002b: callvirt Void set_Item(Int32, Verse.ThingDef)
L_0030: ldarg.2
L_0031: brfalse Label #3
L_0036: ldarg.0
L_0037: ldarg.1
L_0038: call Verse.ThingDef GetSelectedStuff(Int32)
L_003d: stloc.0
L_003e: ldloca.s 1 (EdB.PrepareCarefully.EquipmentKey)
L_0040: ldarg.2
L_0041: ldloc.0
L_0042: call Void .ctor(ThingDef, ThingDef)
L_0047: ldarg.0
L_0048: ldfld System.Collections.Generic.Dictionary`2[EdB.PrepareCarefully.EquipmentKey,UnityEngine.Color] colorCache
L_004d: ldloc.1
L_004e: callvirt Boolean ContainsKey(EquipmentKey)
L_0053: brfalse Label #4
L_0058: ldarg.0
L_0059: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_005e: ldarg.1
L_005f: ldarg.0
L_0060: ldfld System.Collections.Generic.Dictionary`2[EdB.PrepareCarefully.EquipmentKey,UnityEngine.Color] colorCache
L_0065: ldloc.1
L_0066: callvirt Color get_Item(EquipmentKey)
L_006b: callvirt Void set_Item(Int32, Color)
L_0070: br Label #5
L_0075: Label #4
L_0075: ldloc.0
L_0076: brtrue Label #6
L_007b: ldarg.2
L_007c: ldfld Verse.ColorGenerator colorGenerator
L_0081: brfalse Label #7
L_0086: ldarg.2
L_0087: ldfld Verse.ColorGenerator colorGenerator
L_008c: ldarg.0
L_008d: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_0092: ldarg.1
L_0093: callvirt Color get_Item(Int32)
L_0098: call Boolean Validate(Verse.ColorGenerator, Color)
L_009d: brtrue Label #8
L_00a2: ldarg.0
L_00a3: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_00a8: ldarg.1
L_00a9: ldarg.2
L_00aa: ldfld Verse.ColorGenerator colorGenerator
L_00af: callvirt Color NewRandomizedColor()
L_00b4: callvirt Void set_Item(Int32, Color)
L_00b9: br Label #9
L_00be: Label #7
L_00be: ldarg.0
L_00bf: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_00c4: ldarg.1
L_00c5: call Color get_white()
L_00ca: callvirt Void set_Item(Int32, Color)
L_00cf: br Label #10
L_00d4: Label #6
L_00d4: ldloc.0
L_00d5: ldfld Verse.StuffProperties stuffProps
L_00da: ldfld System.Boolean allowColorGenerators
L_00df: brfalse Label #11
L_00e4: ldarg.0
L_00e5: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_00ea: ldarg.1
L_00eb: ldloc.0
L_00ec: ldfld Verse.StuffProperties stuffProps
L_00f1: ldfld UnityEngine.Color color
L_00f6: callvirt Void set_Item(Int32, Color)
L_00fb: br Label #12
L_0100: Label #11
L_0100: ldarg.0
L_0101: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_0106: ldarg.1
L_0107: call Color get_white()
L_010c: callvirt Void set_Item(Int32, Color)
L_0111: Label #3
L_0111: Label #5
L_0111: Label #8
L_0111: Label #9
L_0111: Label #10
L_0111: Label #12
L_0111: ldarg.0
L_0112: ldfld System.Collections.Generic.List`1[Verse.ThingDef] acceptedApparel
L_0117: ldarg.1
L_0118: ldarg.2
L_0119: callvirt Void set_Item(Int32, Verse.ThingDef)
L_011e: ldarg.0
L_011f: call Void ApparelAcceptanceTest()
L_0124: br Label #0
L_0129: Label #0
L_0129: Label #1
L_0129: ret
DONE

PATCHING EdB.PrepareCarefully.PawnLayers System.String Label(Int32)
L_0000: Local var #0 System.Int32
L_0000: Local var #1 System.String
L_0000: ldnull
L_0001: stloc 1 (System.String)
L_0002: ldarg.0
L_0003: stloc.0
L_0004: ldloc.0
L_0005: switch Labels #2 #3 #4 #5 #6 #7 #8 #9 #10
L_002e: br Label #11
L_0033: Label #2
L_0033: ldstr "EdB.PawnLayer.BodyType"
L_0038: call System.String Translate(System.String)
L_003d: br Label #0
L_0042: Label #7
L_0042: ldstr "EdB.PawnLayer.HeadType"
L_0047: call System.String Translate(System.String)
L_004c: br Label #0
L_0051: Label #4
L_0051: ldstr "EdB.PawnLayer.Pants"
L_0056: call System.String Translate(System.String)
L_005b: br Label #0
L_0060: Label #3
L_0060: ldstr "EdB.PawnLayer.BottomClothingLayer"
L_0065: call System.String Translate(System.String)
L_006a: br Label #0
L_006f: Label #5
L_006f: ldstr "EdB.PawnLayer.MiddleClothingLayer"
L_0074: call System.String Translate(System.String)
L_0079: br Label #0
L_007e: Label #6
L_007e: ldstr "EdB.PawnLayer.TopClothingLayer"
L_0083: call System.String Translate(System.String)
L_0088: br Label #0
L_008d: Label #8
L_008d: ldstr "EdB.PawnLayer.Hair"
L_0092: call System.String Translate(System.String)
L_0097: br Label #0
L_009c: Label #9
L_009c: ldstr "EdB.PawnLayer.Hat"
L_00a1: call System.String Translate(System.String)
L_00a6: br Label #0
L_00ab: Label #10
L_00ab: ldstr "EdB.PawnLayer.Accessory"
L_00b0: call System.String Translate(System.String)
L_00b5: br Label #0
L_00ba: Label #11
L_00ba: ldstr ""
L_00bf: br Label #0
L_00c4: Label #0
L_00c4: stloc 1 (System.String)
L_00c5: ldarg 0
L_00cb: ldloca 1 (System.String)
L_00cd: call Void PrepareCarefullyLayerLabel(Int32, System.String ByRef)
L_00d2: ldloc 1 (System.String)
L_00d3: ret
DONE

PATCHING EdB.PrepareCarefully.CustomPawn Verse.Pawn ConvertToPawn(Boolean)
L_0000: Local var #0 Verse.Pawn
L_0000: Local var #1 RimWorld.TraitSet
L_0000: Local var #2 RimWorld.Trait
L_0000: Local var #3 RimWorld.SkillRecord
L_0000: Local var #4 System.Int32
L_0000: Local var #5 System.Collections.Generic.List`1+Enumerator[[RimWorld.Trait, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #6 System.Collections.Generic.List`1+Enumerator[[RimWorld.SkillRecord, Assembly-CSharp, Version=0.16.6198.16102, Culture=neutral, PublicKeyToken=null]]
L_0000: Local var #7 Verse.Pawn
L_0000: ldnull
L_0001: stloc 7 (Verse.Pawn)
L_0003: newobj Void .ctor()
L_0008: ldarg.0
L_0009: ldfld Verse.Pawn pawn
L_000e: call Verse.Pawn GenerateSameKindOfColonist(Verse.Pawn)
L_0013: stloc.0
L_0014: ldloc.0
L_0015: ldarg.0
L_0016: ldfld Verse.Pawn pawn
L_001b: ldfld Verse.Gender gender
L_0020: stfld Verse.Gender gender
L_0025: ldloc.0
L_0026: ldfld RimWorld.Pawn_StoryTracker story
L_002b: ldarg.0
L_002c: call RimWorld.Backstory get_Adulthood()
L_0031: stfld RimWorld.Backstory adulthood
L_0036: ldloc.0
L_0037: ldfld RimWorld.Pawn_StoryTracker story
L_003c: ldarg.0
L_003d: call RimWorld.Backstory get_Childhood()
L_0042: stfld RimWorld.Backstory childhood
L_0047: ldloc.0
L_0048: newobj Void .ctor(Pawn)
L_004d: stloc.1
L_004e: ldloc.1
L_004f: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_0054: callvirt Void Clear()
L_0059: ldarg.0
L_005a: ldfld System.Collections.Generic.List`1[RimWorld.Trait] traits
L_005f: callvirt Enumerator GetEnumerator()
L_0064: stloc.s 5 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_0066: br Label #2
L_006b: Label #4
L_006b: ldloca.s 5 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_006d: call RimWorld.Trait get_Current()
L_0072: stloc.2
L_0073: ldloc.2
L_0074: brfalse Label #3
L_0079: ldloc.1
L_007a: ldfld System.Collections.Generic.List`1[RimWorld.Trait] allTraits
L_007f: ldloc.2
L_0080: callvirt Void Add(RimWorld.Trait)
L_0085: Label #2
L_0085: Label #3
L_0085: ldloca.s 5 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_0087: call Boolean MoveNext()
L_008c: brtrue Label #4
L_0091: leave.s Label #5
L_0093: ldloca.s 5 (System.Collections.Generic.List`1+Enumerator[RimWorld.Trait])
L_0095: constrained. System.Collections.Generic.List`1+Enumerator[RimWorld.Trait]
L_009b: callvirt Void Dispose()
L_00a0: endfinally
L_00a1: Label #5
L_00a1: ldloc.0
L_00a2: ldfld RimWorld.Pawn_StoryTracker story
L_00a7: ldloc.1
L_00a8: stfld RimWorld.TraitSet traits
L_00ad: ldloc.0
L_00ae: ldfld RimWorld.Pawn_StoryTracker story
L_00b3: ldarg.0
L_00b4: ldfld Verse.Pawn pawn
L_00b9: ldfld RimWorld.Pawn_StoryTracker story
L_00be: ldfld System.Single melanin
L_00c3: stfld System.Single melanin
L_00c8: ldloc.0
L_00c9: ldfld RimWorld.Pawn_StoryTracker story
L_00ce: ldarg.0
L_00cf: ldfld Verse.Pawn pawn
L_00d4: ldfld RimWorld.Pawn_StoryTracker story
L_00d9: ldfld RimWorld.BodyType bodyType
L_00de: stfld RimWorld.BodyType bodyType
L_00e3: ldloc.0
L_00e4: ldfld RimWorld.Pawn_StoryTracker story
L_00e9: ldarg.0
L_00ea: ldfld Verse.Pawn pawn
L_00ef: ldfld RimWorld.Pawn_StoryTracker story
L_00f4: ldfld RimWorld.HairDef hairDef
L_00f9: stfld RimWorld.HairDef hairDef
L_00fe: ldloc.0
L_00ff: ldfld RimWorld.Pawn_StoryTracker story
L_0104: ldarg.0
L_0105: ldfld System.Collections.Generic.List`1[UnityEngine.Color] colors
L_010a: ldc.i4.6
L_010b: callvirt Color get_Item(Int32)
L_0110: stfld UnityEngine.Color hairColor
L_0115: ldtoken RimWorld.Pawn_StoryTracker
L_011a: call System.Type GetTypeFromHandle(RuntimeTypeHandle)
L_011f: ldstr "headGraphicPath"
L_0124: ldc.i4.s 36
L_0126: callvirt System.Reflection.FieldInfo GetField(System.String, BindingFlags)
L_012b: ldloc.0
L_012c: ldfld RimWorld.Pawn_StoryTracker story
L_0131: ldarg.0
L_0132: call System.String get_HeadGraphicPath()
L_0137: callvirt Void SetValue(System.Object, System.Object)
L_013c: ldloc.0
L_013d: ldarg.0
L_013e: ldfld Verse.Pawn pawn
L_0143: callvirt Verse.Name get_Name()
L_0148: callvirt Void set_Name(Verse.Name)
L_014d: ldloc.0
L_014e: ldfld Verse.Pawn_AgeTracker ageTracker
L_0153: ldarg.0
L_0154: ldfld Verse.Pawn pawn
L_0159: ldfld Verse.Pawn_AgeTracker ageTracker
L_015e: callvirt Int64 get_BirthAbsTicks()
L_0163: callvirt Void set_BirthAbsTicks(Int64)
L_0168: ldloc.0
L_0169: ldfld Verse.Pawn_AgeTracker ageTracker
L_016e: ldarg.0
L_016f: ldfld Verse.Pawn pawn
L_0174: ldfld Verse.Pawn_AgeTracker ageTracker
L_0179: callvirt Int64 get_AgeBiologicalTicks()
L_017e: callvirt Void set_AgeBiologicalTicks(Int64)
L_0183: ldarg.0
L_0184: ldloc.0
L_0185: call Void CopyApparelToPawn(Verse.Pawn)
L_018a: ldloc.0
L_018b: ldfld RimWorld.Pawn_SkillTracker skills
L_0190: ldfld System.Collections.Generic.List`1[RimWorld.SkillRecord] skills
L_0195: callvirt Enumerator GetEnumerator()
L_019a: stloc.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_019c: br Label #6
L_01a1: Label #11
L_01a1: ldloca.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_01a3: call RimWorld.SkillRecord get_Current()
L_01a8: stloc.3
L_01a9: ldarg.0
L_01aa: ldloc.3
L_01ab: ldfld RimWorld.SkillDef def
L_01b0: call Int32 GetSkillLevel(RimWorld.SkillDef)
L_01b5: stloc.s 4 (System.Int32)
L_01b7: ldloc.s 4 (System.Int32)
L_01b9: ldc.i4.0
L_01ba: bge Label #7
L_01bf: ldc.i4.0
L_01c0: stloc.s 4 (System.Int32)
L_01c2: Label #7
L_01c2: ldloc.s 4 (System.Int32)
L_01c4: ldc.i4.s 20
L_01c6: ble Label #8
L_01cb: ldc.i4.s 20
L_01cd: stloc.s 4 (System.Int32)
L_01cf: Label #8
L_01cf: ldloc.3
L_01d0: ldloc.s 4 (System.Int32)
L_01d2: callvirt Void set_Level(Int32)
L_01d7: ldarg.0
L_01d8: ldloc.3
L_01d9: ldfld RimWorld.SkillDef def
L_01de: call Boolean IsSkillDisabled(RimWorld.SkillDef)
L_01e3: brtrue Label #9
L_01e8: ldloc.3
L_01e9: ldarg.0
L_01ea: ldfld System.Collections.Generic.Dictionary`2[RimWorld.SkillDef,RimWorld.Passion] currentPassions
L_01ef: ldloc.3
L_01f0: ldfld RimWorld.SkillDef def
L_01f5: callvirt Passion get_Item(RimWorld.SkillDef)
L_01fa: stfld RimWorld.Passion passion
L_01ff: ldloc.3
L_0200: ldloc.3
L_0201: callvirt Single get_XpRequiredForLevelUp()
L_0206: ldc.r4 0.1
L_020b: mul
L_020c: ldloc.3
L_020d: callvirt Single get_XpRequiredForLevelUp()
L_0212: ldc.r4 0.5
L_0217: mul
L_0218: call Single Range(Single, Single)
L_021d: stfld System.Single xpSinceLastLevel
L_0222: br Label #10
L_0227: Label #9
L_0227: ldloc.3
L_0228: ldc.i4.0
L_0229: stfld RimWorld.Passion passion
L_022e: ldloc.3
L_022f: ldc.r4 0
L_0234: stfld System.Single xpSinceLastLevel
L_0239: Label #6
L_0239: Label #10
L_0239: ldloca.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_023b: call Boolean MoveNext()
L_0240: brtrue Label #11
L_0245: leave.s Label #12
L_0247: ldloca.s 6 (System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord])
L_0249: constrained. System.Collections.Generic.List`1+Enumerator[RimWorld.SkillRecord]
L_024f: callvirt Void Dispose()
L_0254: endfinally
L_0255: Label #12
L_0255: ldloc.0
L_0256: call Void ClearCachedDisabledSkillRecords(Verse.Pawn)
L_025b: ldarg.1
L_025c: brfalse Label #13
L_0261: ldloc.0
L_0262: callvirt Verse.Pawn_DrawTracker get_Drawer()
L_0267: ldfld Verse.PawnRenderer renderer
L_026c: ldfld Verse.PawnGraphicSet graphics
L_0271: callvirt Void ResolveAllGraphics()
L_0276: Label #13
L_0276: ldloc.0
L_0277: ldfld RimWorld.Pawn_RelationsTracker relations
L_027c: callvirt Void ClearAllRelations()
L_0281: ldloc.0
L_0282: call Void ClearPawnCaches(Verse.Pawn)
L_0287: ldloc.0
L_0288: br Label #0
L_028d: Label #0
L_028d: stloc 7 (Verse.Pawn)
L_028f: ldloca 7 (Verse.Pawn)
L_0291: ldarg.0
L_0292: ldarg 1
L_0298: call Void PrepareCarefullyConvertToPawn(Verse.Pawn ByRef, System.Object, Boolean)
L_029d: ldloc 7 (Verse.Pawn)
L_029f: ret
DONE

Any ideas?

--VTG
Last edited by HeavyMetalClown; 23 May, 2017 @ 8:50am
< >
Showing 1-2 of 2 comments
TurtleShroom 10 Apr, 2022 @ 3:55pm 
Error while generating pawn. Rethrowing. Exception: System.NullReferenceException: Object reference not set to an instance of an object at RimWorld.PawnAddictionHediffsGenerator.DoIngestionOutcomeDoers (Verse.Pawn pawn, RimWorld.ChemicalDef chemical) [0x00056] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.PawnAddictionHediffsGenerator.ApplyAddiction (Verse.Pawn pawn, RimWorld.ChemicalDef chemicalDef) [0x000c3] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.PawnAddictionHediffsGenerator.GenerateAddictionsAndTolerancesFor (Verse.Pawn pawn) [0x00129] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateInitialHediffs_Patch1(Verse.Pawn,Verse.PawnGenerationRequest) at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.TryGenerateNewPawnInternal_Patch0(Verse.PawnGenerationRequest&,string&,bool,bool) at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateNewPawnInternal_Patch1(Verse.PawnGenerationRequest&) at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest request) [0x00183] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch2(Verse.PawnGenerationRequest) UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch2 (Verse.PawnGenerationRequest) RimWorld.Faction:TryGenerateNewLeader () RimWorld.FactionGenerator:NewGeneratedFaction (RimWorld.FactionGeneratorParms) (wrapper dynamic-method) RimWorld.FactionGenerator:RimWorld.FactionGenerator.GenerateFactionsIntoWorld_Patch0 (System.Collections.Generic.Dictionary`2<RimWorld.FactionDef, int>) RimWorld.Planet.WorldGenStep_Factions:GenerateFresh (string) RimWorld.Planet.WorldGenerator:GenerateWorld (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,System.Collections.Generic.Dictionary`2<RimWorld.FactionDef, int>) RimWorld.Page_CreateWorldParams:<CanDoNext>b__17_0 () Verse.LongEventHandler:RunEventFromAnotherThread (System.Action) Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 () System.Threading.ThreadHelper:ThreadStart_Context (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) System.Threading.ThreadHelper:ThreadStart () Error in WorldGenStep: System.NullReferenceException: Object reference not set to an instance of an object at RimWorld.PawnAddictionHediffsGenerator.DoIngestionOutcomeDoers (Verse.Pawn pawn, RimWorld.ChemicalDef chemical) [0x00056] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.PawnAddictionHediffsGenerator.ApplyAddiction (Verse.Pawn pawn, RimWorld.ChemicalDef chemicalDef) [0x000c3] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.PawnAddictionHediffsGenerator.GenerateAddictionsAndTolerancesFor (Verse.Pawn pawn) [0x00129] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateInitialHediffs_Patch1(Verse.Pawn,Verse.PawnGenerationRequest) at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.TryGenerateNewPawnInternal_Patch0(Verse.PawnGenerationRequest&,string&,bool,bool) at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateNewPawnInternal_Patch1(Verse.PawnGenerationRequest&) at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest request) [0x00183] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch2(Verse.PawnGenerationRequest) at RimWorld.Faction.TryGenerateNewLeader () [0x0023c] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.FactionGenerator.NewGeneratedFaction (RimWorld.FactionGeneratorParms parms) [0x001fb] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) RimWorld.FactionGenerator.RimWorld.FactionGenerator.GenerateFactionsIntoWorld_Patch0(System.Collections.Generic.Dictionary`2<RimWorld.FactionDef, int>) at RimWorld.Planet.WorldGenStep_Factions.GenerateFresh (System.String seed) [0x00005] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Planet.WorldGenerator.GenerateWorld (System.Single planetCoverage, System.String seedString, RimWorld.Planet.OverallRainfall overallRainfall, RimWorld.Planet.OverallTemperature overallTemperature, RimWorld.Planet.OverallPopulation population, System.Collections.Generic.Dictionary`2[TKey,TValue] factionCounts) [0x000fd] in <99518a644a3e4a7ea3fde566568df84a>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) RimWorld.Planet.WorldGenerator:GenerateWorld (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,System.Collections.Generic.Dictionary`2<RimWorld.FactionDef, int>) RimWorld.Page_CreateWorldParams:<CanDoNext>b__17_0 () Verse.LongEventHandler:RunEventFromAnotherThread (System.Action) Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 () System.Threading.ThreadHelper:ThreadStart_Context (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) System.Threading.ThreadHelper:ThreadStart ()

I am experiencing an issue extremely similar to this one. I am running one, and only one Mod, and I can't figure out why it's busted.

This is my Hugs Library Log: https://gist.github.com/e9ec8d55c467c5834f91ad65cd9f3995 .
HeavyMetalClown 11 Apr, 2022 @ 3:21am 
Let's hope someone comes by who can help! Until then, if I remember anything relevant I'll keep you posted.
< >
Showing 1-2 of 2 comments
Per page: 1530 50