Sei sulla pagina 1di 2192

### Patch: System.Boolean Verse.ModMetaData::SamePackageId(System.

String
otherPackageId, System.Boolean ignorePostfix)
### Replacement: static System.Boolean
Verse.ModMetaData::SamePackageId_Patch1(Verse.ModMetaData this, System.String
otherPackageId, System.Boolean ignorePostfix)
IL_0000: Local var 0: System.Boolean
IL_0000: Local var 1: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 0 (System.Boolean)
IL_0009: ldc.i4 0
IL_000E: stloc 1 (System.Boolean)
IL_0012: ldc.i4.1
IL_0013: stloc 1 (System.Boolean)
IL_0017: ldloc 1 (System.Boolean)
IL_001B: brfalse.s => Label1
IL_001D: ldarg.0
IL_001E: ldloca 0 (System.Boolean)
IL_0022: ldarg.0
IL_0023: ldfld System.String Verse.ModMetaData::packageIdLowerCase
IL_0028: ldarg 2
IL_002C: ldarg 1
IL_0030: call static System.Boolean
ModManager.Patch_ModMetaData_SamePackageId::Prefix(Verse.ModMetaData __instance,
System.Boolean& __result, System.String ___packageIdLowerCase, System.Boolean
ignorePostfix, System.String otherPackageId)
IL_0035: stloc 1 (System.Boolean)
IL_0039: nop
IL_003A: ldloc 1 (System.Boolean)
IL_003E: brfalse => Label0
IL_0043: // start original
IL_0043: ldarg.0
IL_0044: call System.String Verse.ModMetaData::get_PackageId()
IL_0049: brtrue => Label2
IL_004E: ldc.i4.0
IL_004F: br => Label4
IL_0054: Label2
IL_0054: ldarg.2
IL_0055: brfalse => Label3
IL_005A: ldarg.0
IL_005B: ldfld System.String Verse.ModMetaData::packageIdLowerCase
IL_0060: ldarg.1
IL_0061: ldc.i4.1
IL_0062: callvirt System.Boolean System.String::Equals(System.String value,
System.StringComparison comparisonType)
IL_0067: br => Label5
IL_006C: Label3
IL_006C: ldarg.0
IL_006D: call System.String Verse.ModMetaData::get_PackageId()
IL_0072: ldarg.1
IL_0073: ldc.i4.1
IL_0074: callvirt System.Boolean System.String::Equals(System.String value,
System.StringComparison comparisonType)
IL_0079: // end original
IL_0079: Label4
IL_0079: Label5
IL_0079: stloc 0 (System.Boolean)
IL_007D: Label0
IL_007D: ldloc 0 (System.Boolean)
IL_0081: ret
DONE

### Patch: UnityEngine.Rect Verse.WindowResizer::DoResizeControl(UnityEngine.Rect


winRect)
### Replacement: static UnityEngine.Rect
Verse.WindowResizer::DoResizeControl_Patch1(Verse.WindowResizer this,
UnityEngine.Rect winRect)
IL_0000: Local var 0: UnityEngine.Vector2
IL_0000: Local var 1: UnityEngine.Rect
IL_0000: Local var 2: UnityEngine.Rect
IL_0000: ldloca 2 (UnityEngine.Rect)
IL_0004: initobj UnityEngine.Rect
IL_000A: // start original
IL_000A: call static UnityEngine.Event UnityEngine.Event::get_current()
IL_000F: callvirt UnityEngine.Vector2 UnityEngine.Event::get_mousePosition()
IL_0014: stloc.0
IL_0015: ldloca.s 1 (UnityEngine.Rect)
IL_0017: ldarga.s 1
IL_0019: call System.Single UnityEngine.Rect::get_width()
IL_001E: ldc.r4 24
IL_0023: sub
IL_0024: ldarga.s 1
IL_0026: call System.Single UnityEngine.Rect::get_height()
IL_002B: ldc.r4 24
IL_0030: sub
IL_0031: ldc.r4 24
IL_0036: ldc.r4 24
IL_003B: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_0040: call static UnityEngine.Event UnityEngine.Event::get_current()
IL_0045: callvirt UnityEngine.EventType UnityEngine.Event::get_type()
IL_004A: brtrue => Label0
IL_004F: ldloc.1
IL_0050: call static System.Boolean Verse.Mouse::IsOver(UnityEngine.Rect
rect)
IL_0055: brfalse => Label1
IL_005A: ldarg.0
IL_005B: ldc.i4.1
IL_005C: stfld System.Boolean Verse.WindowResizer::isResizing
IL_0061: ldarg.0
IL_0062: ldloc.0
IL_0063: ldfld System.Single UnityEngine.Vector2::x
IL_0068: ldloc.0
IL_0069: ldfld System.Single UnityEngine.Vector2::y
IL_006E: ldarga.s 1
IL_0070: call System.Single UnityEngine.Rect::get_width()
IL_0075: ldarga.s 1
IL_0077: call System.Single UnityEngine.Rect::get_height()
IL_007C: newobj System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_0081: stfld UnityEngine.Rect Verse.WindowResizer::resizeStart
IL_0086: Label0
IL_0086: Label1
IL_0086: ldarg.0
IL_0087: ldfld System.Boolean Verse.WindowResizer::isResizing
IL_008C: brfalse => Label2
IL_0091: ldarga.s 1
IL_0093: ldarg.0
IL_0094: ldflda UnityEngine.Rect Verse.WindowResizer::resizeStart
IL_0099: call System.Single UnityEngine.Rect::get_width()
IL_009E: ldloc.0
IL_009F: ldfld System.Single UnityEngine.Vector2::x
IL_00A4: ldarg.0
IL_00A5: ldflda UnityEngine.Rect Verse.WindowResizer::resizeStart
IL_00AA: call System.Single UnityEngine.Rect::get_x()
IL_00AF: sub
IL_00B0: add
IL_00B1: call System.Void UnityEngine.Rect::set_width(System.Single value)
IL_00B6: ldarga.s 1
IL_00B8: ldarg.0
IL_00B9: ldflda UnityEngine.Rect Verse.WindowResizer::resizeStart
IL_00BE: call System.Single UnityEngine.Rect::get_height()
IL_00C3: ldloc.0
IL_00C4: ldfld System.Single UnityEngine.Vector2::y
IL_00C9: ldarg.0
IL_00CA: ldflda UnityEngine.Rect Verse.WindowResizer::resizeStart
IL_00CF: call System.Single UnityEngine.Rect::get_y()
IL_00D4: sub
IL_00D5: add
IL_00D6: call System.Void UnityEngine.Rect::set_height(System.Single value)
IL_00DB: ldarga.s 1
IL_00DD: call System.Single UnityEngine.Rect::get_width()
IL_00E2: ldarg.0
IL_00E3: ldflda UnityEngine.Vector2 Verse.WindowResizer::minWindowSize
IL_00E8: ldfld System.Single UnityEngine.Vector2::x
IL_00ED: bge.un => Label3
IL_00F2: ldarga.s 1
IL_00F4: ldarg.0
IL_00F5: ldflda UnityEngine.Vector2 Verse.WindowResizer::minWindowSize
IL_00FA: ldfld System.Single UnityEngine.Vector2::x
IL_00FF: call System.Void UnityEngine.Rect::set_width(System.Single value)
IL_0104: Label3
IL_0104: ldarga.s 1
IL_0106: call System.Single UnityEngine.Rect::get_height()
IL_010B: ldarg.0
IL_010C: ldflda UnityEngine.Vector2 Verse.WindowResizer::minWindowSize
IL_0111: ldfld System.Single UnityEngine.Vector2::y
IL_0116: bge.un => Label4
IL_011B: ldarga.s 1
IL_011D: ldarg.0
IL_011E: ldflda UnityEngine.Vector2 Verse.WindowResizer::minWindowSize
IL_0123: ldfld System.Single UnityEngine.Vector2::y
IL_0128: call System.Void UnityEngine.Rect::set_height(System.Single value)
IL_012D: Label4
IL_012D: ldarga.s 1
IL_012F: ldsfld System.Int32 Verse.UI::screenWidth
IL_0134: conv.r4
IL_0135: ldarga.s 1
IL_0137: call System.Single UnityEngine.Rect::get_xMax()
IL_013C: call static System.Single UnityEngine.Mathf::Min(System.Single a,
System.Single b)
IL_0141: call System.Void UnityEngine.Rect::set_xMax(System.Single value)
IL_0146: ldarga.s 1
IL_0148: ldsfld System.Int32 Verse.UI::screenHeight
IL_014D: conv.r4
IL_014E: ldarga.s 1
IL_0150: call System.Single UnityEngine.Rect::get_yMax()
IL_0155: call static System.Single UnityEngine.Mathf::Min(System.Single a,
System.Single b)
IL_015A: call System.Void UnityEngine.Rect::set_yMax(System.Single value)
IL_015F: call static UnityEngine.Event UnityEngine.Event::get_current()
IL_0164: callvirt UnityEngine.EventType UnityEngine.Event::get_type()
IL_0169: ldc.i4.1
IL_016A: bne.un => Label5
IL_016F: ldarg.0
IL_0170: ldc.i4.0
IL_0171: stfld System.Boolean Verse.WindowResizer::isResizing
IL_0176: Label2
IL_0176: Label5
IL_0176: ldloc.1
IL_0177: ldsfld UnityEngine.Texture2D Verse.TexUI::WinExpandWidget
IL_017C: ldc.i4.1
IL_017D: call static System.Boolean
Verse.Widgets::ButtonImage(UnityEngine.Rect butRect, UnityEngine.Texture2D tex,
System.Boolean doMouseoverSound)
IL_0182: pop
IL_0183: ldarga.s 1
IL_0185: call System.Single UnityEngine.Rect::get_x()
IL_018A: ldarga.s 1
IL_018C: call System.Single UnityEngine.Rect::get_y()
IL_0191: ldarga.s 1
IL_0193: call System.Single UnityEngine.Rect::get_width()
IL_0198: conv.i4
IL_0199: conv.r4
IL_019A: ldarga.s 1
IL_019C: call System.Single UnityEngine.Rect::get_height()
IL_01A1: conv.i4
IL_01A2: conv.r4
IL_01A3: newobj System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_01A8: // end original
IL_01A8: stloc 2 (UnityEngine.Rect)
IL_01AC: ldarg.0
IL_01AD: ldflda System.Boolean Verse.WindowResizer::isResizing
IL_01B2: call static System.Void
ModManager.Patch_WindowResizer_DoResizeControl::Postfix(System.Boolean&
___isResizing)
IL_01B7: ldloc 2 (UnityEngine.Rect)
IL_01BB: ret
DONE

### Patch: static System.Void


RimWorld.MainMenuDrawer::DoMainMenuControls(UnityEngine.Rect rect, System.Boolean
anyMapFiles)
### Replacement: static System.Void
RimWorld.MainMenuDrawer::DoMainMenuControls_Patch0(UnityEngine.Rect rect,
System.Boolean anyMapFiles)
IL_0000: Local var 0: UnityEngine.Rect
IL_0000: Local var 1: UnityEngine.Rect
IL_0000: Local var 2: System.Collections.Generic.List`1<Verse.ListableOption>
IL_0000: Local var 3: Verse.ListableOption
IL_0000: Local var 4: System.String
IL_0000: Local var 5: System.Action
IL_0000: Local var 6: System.Action
IL_0000: Local var 7: System.Collections.Generic.List`1<Verse.ListableOption>
IL_0000: Local var 8: Verse.ListableOption
IL_0000: Local var 9: System.Single
IL_0000: Local var 10: System.Collections.Generic.List`1<Verse.FloatMenuOption>
IL_0000: Local var 11:
System.Collections.Generic.IEnumerator`1<Verse.LoadedLanguage>
IL_0000: Local var 12: Verse.LoadedLanguage
IL_0000: Local var 13: RimWorld.MainMenuDrawer/<>c__DisplayClass17_0
IL_0000: // start original
IL_0000: ldarg.0
IL_0001: call static System.Void UnityEngine.GUI::BeginGroup(UnityEngine.Rect
position)
IL_0006: ldloca.s 0 (UnityEngine.Rect)
IL_0008: ldc.r4 0
IL_000D: ldc.r4 0
IL_0012: ldc.r4 170
IL_0017: ldarga.s 0
IL_0019: call System.Single UnityEngine.Rect::get_height()
IL_001E: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_0023: ldloca.s 1 (UnityEngine.Rect)
IL_0025: ldloca.s 0 (UnityEngine.Rect)
IL_0027: call System.Single UnityEngine.Rect::get_xMax()
IL_002C: ldc.r4 17
IL_0031: add
IL_0032: ldc.r4 0
IL_0037: ldc.r4 145
IL_003C: ldarga.s 0
IL_003E: call System.Single UnityEngine.Rect::get_height()
IL_0043: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_0048: ldc.i4.1
IL_0049: call static System.Void Verse.Text::set_Font(Verse.GameFont value)
IL_004E: newobj System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::.ctor()
IL_0053: stloc.2
IL_0054: call static Verse.ProgramState Verse.Current::get_ProgramState()
IL_0059: brtrue => Label0
IL_005E: ldstr "Tutorial"
IL_0063: call static System.Boolean
Verse.Translator::CanTranslate(System.String key)
IL_0068: brtrue => Label1
IL_006D: ldstr "LearnToPlay"
IL_0072: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0077: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_007C: stloc.s 4 (System.String)
IL_007E: br => Label2
IL_0083: Label1
IL_0083: ldstr "Tutorial"
IL_0088: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_008D: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0092: stloc.s 4 (System.String)
IL_0094: Label2
IL_0094: ldloc.2
IL_0095: ldloc.s 4 (System.String)
IL_0097: ldsfld System.Action RimWorld.<>c::<>9__17_10
IL_009C: dup
IL_009D: brtrue => Label3
IL_00A2: pop
IL_00A3: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_00A8: ldftn System.Void RimWorld.<>c::<DoMainMenuControls>b__17_10()
IL_00AE: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_00B3: dup
IL_00B4: stsfld System.Action RimWorld.<>c::<>9__17_10
IL_00B9: Label3
IL_00B9: ldnull
IL_00BA: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_00BF: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_00C4: ldloc.2
IL_00C5: ldstr "NewColony"
IL_00CA: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_00CF: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_00D4: ldsfld System.Action RimWorld.<>c::<>9__17_11
IL_00D9: dup
IL_00DA: brtrue => Label4
IL_00DF: pop
IL_00E0: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_00E5: ldftn System.Void RimWorld.<>c::<DoMainMenuControls>b__17_11()
IL_00EB: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_00F0: dup
IL_00F1: stsfld System.Action RimWorld.<>c::<>9__17_11
IL_00F6: Label4
IL_00F6: ldnull
IL_00F7: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_00FC: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_0101: Label0
IL_0101: call static Verse.ProgramState Verse.Current::get_ProgramState()
IL_0106: ldc.i4.2
IL_0107: bne.un => Label5
IL_010C: call static System.Boolean
Verse.GameDataSaveLoader::get_SavingIsTemporarilyDisabled()
IL_0111: brtrue => Label6
IL_0116: call static Verse.Game Verse.Current::get_Game()
IL_011B: callvirt Verse.GameInfo Verse.Game::get_Info()
IL_0120: ldfld System.Boolean Verse.GameInfo::permadeathMode
IL_0125: brtrue => Label7
IL_012A: ldloc.2
IL_012B: ldstr "Save"
IL_0130: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0135: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_013A: ldsfld System.Action RimWorld.<>c::<>9__17_0
IL_013F: dup
IL_0140: brtrue => Label8
IL_0145: pop
IL_0146: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_014B: ldftn System.Void RimWorld.<>c::<DoMainMenuControls>b__17_0()
IL_0151: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_0156: dup
IL_0157: stsfld System.Action RimWorld.<>c::<>9__17_0
IL_015C: Label8
IL_015C: ldnull
IL_015D: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_0162: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_0167: Label5
IL_0167: Label6
IL_0167: Label7
IL_0167: ldarg.1
IL_0168: brfalse => Label9
IL_016D: call static Verse.ProgramState Verse.Current::get_ProgramState()
IL_0172: ldc.i4.2
IL_0173: bne.un => Label10
IL_0178: call static Verse.Game Verse.Current::get_Game()
IL_017D: callvirt Verse.GameInfo Verse.Game::get_Info()
IL_0182: ldfld System.Boolean Verse.GameInfo::permadeathMode
IL_0187: brtrue => Label11
IL_018C: Label10
IL_018C: ldstr "LoadGame"
IL_0191: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0196: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_019B: ldsfld System.Action RimWorld.<>c::<>9__17_1
IL_01A0: dup
IL_01A1: brtrue => Label12
IL_01A6: pop
IL_01A7: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_01AC: ldftn System.Void RimWorld.<>c::<DoMainMenuControls>b__17_1()
IL_01B2: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_01B7: dup
IL_01B8: stsfld System.Action RimWorld.<>c::<>9__17_1
IL_01BD: Label12
IL_01BD: ldnull
IL_01BE: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_01C3: stloc.3
IL_01C4: ldloc.2
IL_01C5: ldloc.3
IL_01C6: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_01CB: Label9
IL_01CB: Label11
IL_01CB: call static Verse.ProgramState Verse.Current::get_ProgramState()
IL_01D0: ldc.i4.2
IL_01D1: bne.un => Label13
IL_01D6: ldloc.2
IL_01D7: ldstr "ReviewScenario"
IL_01DC: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_01E1: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_01E6: ldsfld System.Action RimWorld.<>c::<>9__17_2
IL_01EB: dup
IL_01EC: brtrue => Label14
IL_01F1: pop
IL_01F2: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_01F7: ldftn System.Void RimWorld.<>c::<DoMainMenuControls>b__17_2()
IL_01FD: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_0202: dup
IL_0203: stsfld System.Action RimWorld.<>c::<>9__17_2
IL_0208: Label14
IL_0208: ldnull
IL_0209: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_020E: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_0213: Label13
IL_0213: ldstr "Options"
IL_0218: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_021D: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0222: ldsfld System.Action RimWorld.<>c::<>9__17_3
IL_0227: dup
IL_0228: brtrue => Label15
IL_022D: pop
IL_022E: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_0233: ldftn System.Void RimWorld.<>c::<DoMainMenuControls>b__17_3()
IL_0239: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_023E: dup
IL_023F: stsfld System.Action RimWorld.<>c::<>9__17_3
IL_0244: Label15
IL_0244: ldstr "MenuButton-Options"
IL_0249: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_024E: stloc.3
IL_024F: ldloc.2
IL_0250: ldloc.3
IL_0251: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_0256: call static Verse.ProgramState Verse.Current::get_ProgramState()
IL_025B: brtrue => Label16
IL_0260: ldstr "Mods"
IL_0265: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_026A: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_026F: ldsfld System.Action RimWorld.<>c::<>9__17_4
IL_0274: dup
IL_0275: brtrue => Label17
IL_027A: pop
IL_027B: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_0280: ldftn static System.Void
ModManager.Patch_Replace_Page_ModsConfig::OpenModsConfig()
IL_0286: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_028B: dup
IL_028C: stsfld System.Action RimWorld.<>c::<>9__17_4
IL_0291: Label17
IL_0291: ldnull
IL_0292: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_0297: stloc.3
IL_0298: ldloc.2
IL_0299: ldloc.3
IL_029A: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_029F: call static System.Boolean Verse.Prefs::get_DevMode()
IL_02A4: brfalse => Label18
IL_02A9: ldsfld Verse.LoadedLanguage Verse.LanguageDatabase::activeLanguage
IL_02AE: ldsfld Verse.LoadedLanguage Verse.LanguageDatabase::defaultLanguage
IL_02B3: bne.un => Label19
IL_02B8: ldsfld Verse.LoadedLanguage Verse.LanguageDatabase::activeLanguage
IL_02BD: ldfld System.Boolean Verse.LoadedLanguage::anyError
IL_02C2: brfalse => Label20
IL_02C7: ldstr "SaveTranslationReport"
IL_02CC: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_02D1: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_02D6: ldsfld System.Action RimWorld.<>c::<>9__17_5
IL_02DB: dup
IL_02DC: brtrue => Label21
IL_02E1: pop
IL_02E2: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_02E7: ldftn System.Void RimWorld.<>c::<DoMainMenuControls>b__17_5()
IL_02ED: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_02F2: dup
IL_02F3: stsfld System.Action RimWorld.<>c::<>9__17_5
IL_02F8: Label21
IL_02F8: ldnull
IL_02F9: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_02FE: stloc.3
IL_02FF: ldloc.2
IL_0300: ldloc.3
IL_0301: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_0306: Label18
IL_0306: Label19
IL_0306: Label20
IL_0306: ldstr "Credits"
IL_030B: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0310: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0315: ldsfld System.Action RimWorld.<>c::<>9__17_6
IL_031A: dup
IL_031B: brtrue => Label22
IL_0320: pop
IL_0321: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_0326: ldftn System.Void RimWorld.<>c::<DoMainMenuControls>b__17_6()
IL_032C: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_0331: dup
IL_0332: stsfld System.Action RimWorld.<>c::<>9__17_6
IL_0337: Label22
IL_0337: ldnull
IL_0338: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_033D: stloc.3
IL_033E: ldloc.2
IL_033F: ldloc.3
IL_0340: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_0345: Label16
IL_0345: call static Verse.ProgramState Verse.Current::get_ProgramState()
IL_034A: ldc.i4.2
IL_034B: bne.un => Label23
IL_0350: call static Verse.Game Verse.Current::get_Game()
IL_0355: callvirt Verse.GameInfo Verse.Game::get_Info()
IL_035A: ldfld System.Boolean Verse.GameInfo::permadeathMode
IL_035F: brfalse => Label24
IL_0364: call static System.Boolean
Verse.GameDataSaveLoader::get_SavingIsTemporarilyDisabled()
IL_0369: brtrue => Label25
IL_036E: ldstr "SaveAndQuitToMainMenu"
IL_0373: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0378: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_037D: ldsfld System.Action RimWorld.<>c::<>9__17_7
IL_0382: dup
IL_0383: brtrue => Label26
IL_0388: pop
IL_0389: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_038E: ldftn System.Void RimWorld.<>c::<DoMainMenuControls>b__17_7()
IL_0394: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_0399: dup
IL_039A: stsfld System.Action RimWorld.<>c::<>9__17_7
IL_039F: Label26
IL_039F: ldnull
IL_03A0: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_03A5: stloc.3
IL_03A6: ldloc.2
IL_03A7: ldloc.3
IL_03A8: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_03AD: ldstr "SaveAndQuitToOS"
IL_03B2: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_03B7: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_03BC: ldsfld System.Action RimWorld.<>c::<>9__17_8
IL_03C1: dup
IL_03C2: brtrue => Label27
IL_03C7: pop
IL_03C8: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_03CD: ldftn System.Void RimWorld.<>c::<DoMainMenuControls>b__17_8()
IL_03D3: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_03D8: dup
IL_03D9: stsfld System.Action RimWorld.<>c::<>9__17_8
IL_03DE: Label27
IL_03DE: ldnull
IL_03DF: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_03E4: stloc.3
IL_03E5: ldloc.2
IL_03E6: ldloc.3
IL_03E7: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_03EC: br => Label28
IL_03F1: Label24
IL_03F1: Label25
IL_03F1: ldsfld System.Action RimWorld.<>c::<>9__17_15
IL_03F6: dup
IL_03F7: brtrue => Label29
IL_03FC: pop
IL_03FD: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_0402: ldftn System.Void RimWorld.<>c::<DoMainMenuControls>b__17_15()
IL_0408: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_040D: dup
IL_040E: stsfld System.Action RimWorld.<>c::<>9__17_15
IL_0413: Label29
IL_0413: stloc.s 5 (System.Action)
IL_0415: ldstr "QuitToMainMenu"
IL_041A: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_041F: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0424: ldloc.s 5 (System.Action)
IL_0426: ldnull
IL_0427: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_042C: stloc.3
IL_042D: ldloc.2
IL_042E: ldloc.3
IL_042F: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_0434: ldsfld System.Action RimWorld.<>c::<>9__17_16
IL_0439: dup
IL_043A: brtrue => Label30
IL_043F: pop
IL_0440: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_0445: ldftn System.Void RimWorld.<>c::<DoMainMenuControls>b__17_16()
IL_044B: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_0450: dup
IL_0451: stsfld System.Action RimWorld.<>c::<>9__17_16
IL_0456: Label30
IL_0456: stloc.s 6 (System.Action)
IL_0458: ldstr "QuitToOS"
IL_045D: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0462: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0467: ldloc.s 6 (System.Action)
IL_0469: ldnull
IL_046A: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_046F: stloc.3
IL_0470: ldloc.2
IL_0471: ldloc.3
IL_0472: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_0477: br => Label31
IL_047C: Label23
IL_047C: ldstr "QuitToOS"
IL_0481: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0486: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_048B: ldsfld System.Action RimWorld.<>c::<>9__17_9
IL_0490: dup
IL_0491: brtrue => Label32
IL_0496: pop
IL_0497: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_049C: ldftn System.Void RimWorld.<>c::<DoMainMenuControls>b__17_9()
IL_04A2: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_04A7: dup
IL_04A8: stsfld System.Action RimWorld.<>c::<>9__17_9
IL_04AD: Label32
IL_04AD: ldnull
IL_04AE: newobj System.Void Verse.ListableOption::.ctor(System.String label,
System.Action action, System.String uiHighlightTag)
IL_04B3: stloc.3
IL_04B4: ldloc.2
IL_04B5: ldloc.3
IL_04B6: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_04BB: Label28
IL_04BB: Label31
IL_04BB: ldloc.0
IL_04BC: ldloc.2
IL_04BD: call static System.Single
Verse.OptionListingUtility::DrawOptionListing(UnityEngine.Rect rect,
System.Collections.Generic.List`1<Verse.ListableOption> optList)
IL_04C2: pop
IL_04C3: ldc.i4.1
IL_04C4: call static System.Void Verse.Text::set_Font(Verse.GameFont value)
IL_04C9: newobj System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::.ctor()
IL_04CE: stloc.s 7 (System.Collections.Generic.List`1[Verse.ListableOption])
IL_04D0: ldstr "FictionPrimer"
IL_04D5: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_04DA: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_04DF: ldstr "https://rimworldgame.com/backstory"
IL_04E4: ldsfld UnityEngine.Texture2D Verse.TexButton::IconBlog
IL_04E9: newobj System.Void Verse.ListableOption_WebLink::.ctor(System.String
label, System.String url, UnityEngine.Texture2D image)
IL_04EE: stloc.s 8 (Verse.ListableOption)
IL_04F0: ldloc.s 7 (System.Collections.Generic.List`1[Verse.ListableOption])
IL_04F2: ldloc.s 8 (Verse.ListableOption)
IL_04F4: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_04F9: ldstr "LudeonBlog"
IL_04FE: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0503: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0508: ldstr "https://ludeon.com/blog"
IL_050D: ldsfld UnityEngine.Texture2D Verse.TexButton::IconBlog
IL_0512: newobj System.Void Verse.ListableOption_WebLink::.ctor(System.String
label, System.String url, UnityEngine.Texture2D image)
IL_0517: stloc.s 8 (Verse.ListableOption)
IL_0519: ldloc.s 7 (System.Collections.Generic.List`1[Verse.ListableOption])
IL_051B: ldloc.s 8 (Verse.ListableOption)
IL_051D: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_0522: ldstr "Forums"
IL_0527: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_052C: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0531: ldstr "https://ludeon.com/forums"
IL_0536: ldsfld UnityEngine.Texture2D Verse.TexButton::IconForums
IL_053B: newobj System.Void Verse.ListableOption_WebLink::.ctor(System.String
label, System.String url, UnityEngine.Texture2D image)
IL_0540: stloc.s 8 (Verse.ListableOption)
IL_0542: ldloc.s 7 (System.Collections.Generic.List`1[Verse.ListableOption])
IL_0544: ldloc.s 8 (Verse.ListableOption)
IL_0546: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_054B: ldstr "OfficialWiki"
IL_0550: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0555: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_055A: ldstr "https://rimworldwiki.com"
IL_055F: ldsfld UnityEngine.Texture2D Verse.TexButton::IconBlog
IL_0564: newobj System.Void Verse.ListableOption_WebLink::.ctor(System.String
label, System.String url, UnityEngine.Texture2D image)
IL_0569: stloc.s 8 (Verse.ListableOption)
IL_056B: ldloc.s 7 (System.Collections.Generic.List`1[Verse.ListableOption])
IL_056D: ldloc.s 8 (Verse.ListableOption)
IL_056F: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_0574: ldstr "TynansTwitter"
IL_0579: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_057E: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0583: ldstr "https://twitter.com/TynanSylvester"
IL_0588: ldsfld UnityEngine.Texture2D Verse.TexButton::IconTwitter
IL_058D: newobj System.Void Verse.ListableOption_WebLink::.ctor(System.String
label, System.String url, UnityEngine.Texture2D image)
IL_0592: stloc.s 8 (Verse.ListableOption)
IL_0594: ldloc.s 7 (System.Collections.Generic.List`1[Verse.ListableOption])
IL_0596: ldloc.s 8 (Verse.ListableOption)
IL_0598: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_059D: ldstr "TynansDesignBook"
IL_05A2: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_05A7: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_05AC: ldstr "https://tynansylvester.com/book"
IL_05B1: ldsfld UnityEngine.Texture2D Verse.TexButton::IconBook
IL_05B6: newobj System.Void Verse.ListableOption_WebLink::.ctor(System.String
label, System.String url, UnityEngine.Texture2D image)
IL_05BB: stloc.s 8 (Verse.ListableOption)
IL_05BD: ldloc.s 7 (System.Collections.Generic.List`1[Verse.ListableOption])
IL_05BF: ldloc.s 8 (Verse.ListableOption)
IL_05C1: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_05C6: ldstr "HelpTranslate"
IL_05CB: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_05D0: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_05D5: ldsfld System.String
RimWorld.MainMenuDrawer::TranslationsContributeURL
IL_05DA: ldsfld UnityEngine.Texture2D Verse.TexButton::IconForums
IL_05DF: newobj System.Void Verse.ListableOption_WebLink::.ctor(System.String
label, System.String url, UnityEngine.Texture2D image)
IL_05E4: stloc.s 8 (Verse.ListableOption)
IL_05E6: ldloc.s 7 (System.Collections.Generic.List`1[Verse.ListableOption])
IL_05E8: ldloc.s 8 (Verse.ListableOption)
IL_05EA: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_05EF: ldstr "BuySoundtrack"
IL_05F4: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_05F9: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_05FE: ldstr "http://www.lasgameaudio.co.uk/#!store/t04fw"
IL_0603: ldsfld UnityEngine.Texture2D Verse.TexButton::IconSoundtrack
IL_0608: newobj System.Void Verse.ListableOption_WebLink::.ctor(System.String
label, System.String url, UnityEngine.Texture2D image)
IL_060D: stloc.s 8 (Verse.ListableOption)
IL_060F: ldloc.s 7 (System.Collections.Generic.List`1[Verse.ListableOption])
IL_0611: ldloc.s 8 (Verse.ListableOption)
IL_0613: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ListableOption>::Add(Verse.ListableOption
item)
IL_0618: ldloc.1
IL_0619: ldloc.s 7 (System.Collections.Generic.List`1[Verse.ListableOption])
IL_061B: call static System.Single
Verse.OptionListingUtility::DrawOptionListing(UnityEngine.Rect rect,
System.Collections.Generic.List`1<Verse.ListableOption> optList)
IL_0620: stloc.s 9 (System.Single)
IL_0622: ldloc.1
IL_0623: call static System.Void UnityEngine.GUI::BeginGroup(UnityEngine.Rect
position)
IL_0628: call static Verse.ProgramState Verse.Current::get_ProgramState()
IL_062D: brtrue => Label33
IL_0632: ldc.r4 0
IL_0637: ldloc.s 9 (System.Single)
IL_0639: ldc.r4 10
IL_063E: add
IL_063F: ldloca.s 1 (UnityEngine.Rect)
IL_0641: call System.Single UnityEngine.Rect::get_width()
IL_0646: ldc.r4 50
IL_064B: newobj System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_0650: ldsfld Verse.LoadedLanguage Verse.LanguageDatabase::activeLanguage
IL_0655: callvirt System.String Verse.LoadedLanguage::get_FriendlyNameNative()
IL_065A: ldc.i4.1
IL_065B: ldc.i4.1
IL_065C: ldc.i4.1
IL_065D: call static System.Boolean
Verse.Widgets::ButtonText(UnityEngine.Rect rect, System.String label,
System.Boolean drawBackground, System.Boolean doMouseoverSound, System.Boolean
active)
IL_0662: brfalse => Label34
IL_0667: newobj System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::.ctor()
IL_066C: stloc.s 10 (System.Collections.Generic.List`1[Verse.FloatMenuOption])
IL_066E: call static
System.Collections.Generic.IEnumerable`1<Verse.LoadedLanguage>
Verse.LanguageDatabase::get_AllLoadedLanguages()
IL_0673: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.LoadedLanguage>
System.Collections.Generic.IEnumerable`1<Verse.LoadedLanguage>::GetEnumerator()
IL_0678: stloc.s 11
(System.Collections.Generic.IEnumerator`1[Verse.LoadedLanguage])
.try
{
IL_067A: br => Label35
IL_067F: Label36
IL_067F: ldloc.s 11
(System.Collections.Generic.IEnumerator`1[Verse.LoadedLanguage])
IL_0681: callvirt abstract virtual Verse.LoadedLanguage
System.Collections.Generic.IEnumerator`1<Verse.LoadedLanguage>::get_Current()
IL_0686: stloc.s 12 (Verse.LoadedLanguage)
IL_0688: newobj System.Void RimWorld.<>c__DisplayClass17_0::.ctor()
IL_068D: stloc.s 13 (RimWorld.MainMenuDrawer+<>c__DisplayClass17_0)
IL_068F: ldloc.s 13 (RimWorld.MainMenuDrawer+<>c__DisplayClass17_0)
IL_0691: ldloc.s 12 (Verse.LoadedLanguage)
IL_0693: stfld Verse.LoadedLanguage
RimWorld.<>c__DisplayClass17_0::localLang
IL_0698: ldloc.s 10
(System.Collections.Generic.List`1[Verse.FloatMenuOption])
IL_069A: ldloc.s 13 (RimWorld.MainMenuDrawer+<>c__DisplayClass17_0)
IL_069C: ldfld Verse.LoadedLanguage
RimWorld.<>c__DisplayClass17_0::localLang
IL_06A1: callvirt System.String Verse.LoadedLanguage::get_DisplayName()
IL_06A6: ldloc.s 13 (RimWorld.MainMenuDrawer+<>c__DisplayClass17_0)
IL_06A8: ldftn System.Void
RimWorld.<>c__DisplayClass17_0::<DoMainMenuControls>b__19()
IL_06AE: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_06B3: ldc.i4.4
IL_06B4: ldnull
IL_06B5: ldnull
IL_06B6: ldc.r4 0
IL_06BB: ldnull
IL_06BC: ldnull
IL_06BD: ldc.i4.1
IL_06BE: ldc.i4.0
IL_06BF: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_06C4: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_06C9: Label35
IL_06C9: ldloc.s 11
(System.Collections.Generic.IEnumerator`1[Verse.LoadedLanguage])
IL_06CB: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_06D0: brtrue => Label36
IL_06D5: leave => Label37
IL_06DA: leave => (autogenerated)
} // end try
.finally
{
IL_06DF: ldloc.s 11
(System.Collections.Generic.IEnumerator`1[Verse.LoadedLanguage])
IL_06E1: brfalse => Label38
IL_06E6: ldloc.s 11
(System.Collections.Generic.IEnumerator`1[Verse.LoadedLanguage])
IL_06E8: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_06ED: Label38
IL_06ED: endfinally
IL_06EE: leave => (autogenerated)
} // end handler
IL_06EF: Label37
IL_06EF: call static Verse.WindowStack Verse.Find::get_WindowStack()
IL_06F4: ldloc.s 10 (System.Collections.Generic.List`1[Verse.FloatMenuOption])
IL_06F6: newobj System.Void
Verse.FloatMenu::.ctor(System.Collections.Generic.List`1<Verse.FloatMenuOption>
options)
IL_06FB: callvirt System.Void Verse.WindowStack::Add(Verse.Window window)
IL_0700: Label33
IL_0700: Label34
IL_0700: call static System.Void UnityEngine.GUI::EndGroup()
IL_0705: call static System.Void UnityEngine.GUI::EndGroup()
IL_070A: // end original
IL_070A: ret
DONE

### Patch: static System.Void


Verse.Steam.WorkshopItems::Notify_Subscribed(Steamworks.PublishedFileId_t pfid)
### Replacement: static System.Void
Verse.Steam.WorkshopItems::Notify_Subscribed_Patch1(Steamworks.PublishedFileId_t
pfid)
IL_0000: Local var 0: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 0 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 0 (System.Boolean)
IL_000E: ldloc 0 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg 0
IL_0018: call static System.Boolean
ModManager.WorkshopItems_Notify_Subscribed::Prefix(Steamworks.PublishedFileId_t
pfid)
IL_001D: stloc 0 (System.Boolean)
IL_0021: nop
IL_0022: ldloc 0 (System.Boolean)
IL_0026: brfalse => Label0
IL_002B: // start original
IL_002B: call static System.Void
Verse.Steam.WorkshopItems::RebuildItemsList()
IL_0030: // end original
IL_0030: Label0
IL_0030: ret
DONE

### Patch: static System.Void


Verse.Steam.WorkshopItems::Notify_Unsubscribed(Steamworks.PublishedFileId_t pfid)
### Replacement: static System.Void
Verse.Steam.WorkshopItems::Notify_Unsubscribed_Patch1(Steamworks.PublishedFileId_t
pfid)
IL_0000: Local var 0: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 0 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 0 (System.Boolean)
IL_000E: ldloc 0 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg 0
IL_0018: call static System.Boolean
ModManager.WorkshopItems_Notify_Unsubscribed::Prefix(Steamworks.PublishedFileId_t
pfid)
IL_001D: stloc 0 (System.Boolean)
IL_0021: nop
IL_0022: ldloc 0 (System.Boolean)
IL_0026: brfalse => Label0
IL_002B: // start original
IL_002B: call static System.Void
Verse.Steam.WorkshopItems::RebuildItemsList()
IL_0030: // end original
IL_0030: Label0
IL_0030: ret
DONE
### Patch: static System.Void
Verse.Steam.WorkshopItems::Notify_Installed(Steamworks.PublishedFileId_t pfid)
### Replacement: static System.Void
Verse.Steam.WorkshopItems::Notify_Installed_Patch1(Steamworks.PublishedFileId_t
pfid)
IL_0000: Local var 0: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 0 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 0 (System.Boolean)
IL_000E: ldloc 0 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg 0
IL_0018: call static System.Boolean
ModManager.WorkshopItems_Notify_Installed::Prefix(Steamworks.PublishedFileId_t
pfid)
IL_001D: stloc 0 (System.Boolean)
IL_0021: nop
IL_0022: ldloc 0 (System.Boolean)
IL_0026: brfalse => Label0
IL_002B: // start original
IL_002B: call static System.Void
Verse.Steam.WorkshopItems::RebuildItemsList()
IL_0030: // end original
IL_0030: Label0
IL_0030: ret
DONE

### Harmony id=legodude17.QualityColors, version=2.0.0.8, location=Z:\SteamLibrary\


steamapps\common\data-000001638B3F0080
### Started from System.Void
ModBase.BaseMod`1<QualityColors.ColorSettings>::.ctor(System.String id,
System.String defGenerator, Verse.ModContentPack content, System.Boolean
earlySettings), location Z:\SteamLibrary\steamapps\common\data-000001638BE47610
### At 2021-10-01 08.56.13
### Patch: static System.Void
RimWorld.TransferableUIUtility::DrawTransferableInfo(RimWorld.Transferable trad,
UnityEngine.Rect idRect, UnityEngine.Color labelColor)
### Replacement: static System.Void
RimWorld.TransferableUIUtility::DrawTransferableInfo_Patch1(RimWorld.Transferable
trad, UnityEngine.Rect idRect, UnityEngine.Color labelColor)
IL_0000: Local var 0: UnityEngine.Rect
IL_0000: Local var 1: System.Nullable`1<Verse.Rot4>
IL_0000: Local var 2: RimWorld.TransferableUIUtility/<>c__DisplayClass23_0
IL_0000: Local var 3: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 3 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 3 (System.Boolean)
IL_000E: ldloc 3 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg 0
IL_0018: ldarg 1
IL_001C: ldarga 2
IL_0020: call static System.Void
QualityColors.QualityColorsMod::AddColors(RimWorld.Transferable trad,
UnityEngine.Rect idRect, UnityEngine.Color& labelColor)
IL_0025: nop
IL_0026: ldloc 3 (System.Boolean)
IL_002A: brfalse => Label0
IL_002F: // start original
IL_002F: ldarg.0
IL_0030: callvirt abstract virtual System.Boolean
RimWorld.Transferable::get_HasAnyThing()
IL_0035: brtrue => Label2
IL_003A: ldarg.0
IL_003B: callvirt virtual System.Boolean RimWorld.Transferable::get_IsThing()
IL_0040: brfalse => Label3
IL_0045: br => Label9
IL_004A: Label2
IL_004A: Label3
IL_004A: ldarg.1
IL_004B: call static System.Boolean Verse.Mouse::IsOver(UnityEngine.Rect
rect)
IL_0050: brfalse => Label4
IL_0055: ldarg.1
IL_0056: call static System.Void
Verse.Widgets::DrawHighlight(UnityEngine.Rect rect)
IL_005B: Label4
IL_005B: ldloca.s 0 (UnityEngine.Rect)
IL_005D: ldc.r4 0
IL_0062: ldc.r4 0
IL_0067: ldc.r4 27
IL_006C: ldc.r4 27
IL_0071: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_0076: ldarg.0
IL_0077: callvirt virtual System.Boolean RimWorld.Transferable::get_IsThing()
IL_007C: brfalse => Label5
IL_0081: ldloc.0
IL_0082: ldarg.0
IL_0083: callvirt abstract virtual Verse.Thing
RimWorld.Transferable::get_AnyThing()
IL_0088: ldc.r4 1
IL_008D: ldloca.s 1 (System.Nullable`1[Verse.Rot4])
IL_008F: initobj System.Nullable`1[Verse.Rot4]
IL_0095: ldloc.1
IL_0096: call static System.Void Verse.Widgets::ThingIcon(UnityEngine.Rect
rect, Verse.Thing thing, System.Single alpha, System.Nullable`1<Verse.Rot4> rot)
IL_009B: br => Label6
IL_00A0: Label5
IL_00A0: ldarg.0
IL_00A1: ldloc.0
IL_00A2: callvirt virtual System.Void
RimWorld.Transferable::DrawIcon(UnityEngine.Rect iconRect)
IL_00A7: Label6
IL_00A7: ldarg.0
IL_00A8: callvirt virtual System.Boolean RimWorld.Transferable::get_IsThing()
IL_00AD: brfalse => Label7
IL_00B2: ldc.r4 40
IL_00B7: ldc.r4 0
IL_00BC: ldarg.0
IL_00BD: callvirt abstract virtual Verse.Thing
RimWorld.Transferable::get_AnyThing()
IL_00C2: call static System.Boolean
Verse.Widgets::InfoCardButton(System.Single x, System.Single y, Verse.Thing thing)
IL_00C7: pop
IL_00C8: Label7
IL_00C8: ldc.i4.3
IL_00C9: call static System.Void
Verse.Text::set_Anchor(UnityEngine.TextAnchor value)
IL_00CE: ldc.r4 80
IL_00D3: ldc.r4 0
IL_00D8: ldarga.s 1
IL_00DA: call System.Single UnityEngine.Rect::get_width()
IL_00DF: ldc.r4 80
IL_00E4: sub
IL_00E5: ldarga.s 1
IL_00E7: call System.Single UnityEngine.Rect::get_height()
IL_00EC: newobj System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_00F1: ldc.i4.0
IL_00F2: call static System.Void Verse.Text::set_WordWrap(System.Boolean
value)
IL_00F7: ldarg.2
IL_00F8: call static System.Void UnityEngine.GUI::set_color(UnityEngine.Color
value)
IL_00FD: ldarg.0
IL_00FE: callvirt System.String RimWorld.Transferable::get_LabelCap()
IL_0103: call static System.Void Verse.Widgets::Label(UnityEngine.Rect rect,
System.String label)
IL_0108: call static UnityEngine.Color UnityEngine.Color::get_white()
IL_010D: call static System.Void UnityEngine.GUI::set_color(UnityEngine.Color
value)
IL_0112: ldc.i4.1
IL_0113: call static System.Void Verse.Text::set_WordWrap(System.Boolean
value)
IL_0118: ldarg.1
IL_0119: call static System.Boolean Verse.Mouse::IsOver(UnityEngine.Rect
rect)
IL_011E: brfalse => Label8
IL_0123: newobj System.Void RimWorld.<>c__DisplayClass23_0::.ctor()
IL_0128: stloc.2
IL_0129: ldloc.2
IL_012A: ldarg.0
IL_012B: stfld RimWorld.Transferable RimWorld.<>c__DisplayClass23_0::localTrad
IL_0130: ldarg.1
IL_0131: ldloc.2
IL_0132: ldftn System.String
RimWorld.<>c__DisplayClass23_0::<DrawTransferableInfo>b__0()
IL_0138: newobj System.Void System.Func`1<System.String>::.ctor(System.Object
object, System.IntPtr method)
IL_013D: ldloc.2
IL_013E: ldfld RimWorld.Transferable RimWorld.<>c__DisplayClass23_0::localTrad
IL_0143: callvirt virtual System.Int32 System.Object::GetHashCode()
IL_0148: newobj System.Void Verse.TipSignal::.ctor(System.Func`1<System.String>
textGetter, System.Int32 uniqueId)
IL_014D: call static System.Void
Verse.TooltipHandler::TipRegion(UnityEngine.Rect rect, Verse.TipSignal tip)
IL_0152: // end original
IL_0152: Label8
IL_0152: Label9
IL_0152: Label0
IL_0152: ret
DONE
### Patch: virtual System.String RimWorld.CompQuality::CompInspectStringExtra()
### Replacement: static System.String
RimWorld.CompQuality::CompInspectStringExtra_Patch1(RimWorld.CompQuality this)
IL_0000: Local var 0: System.String
IL_0000: ldnull
IL_0001: stloc 0 (System.String)
IL_0005: // start original
IL_0005: ldstr "QualityIs"
IL_000A: ldarg.0
IL_000B: call RimWorld.QualityCategory RimWorld.CompQuality::get_Quality()
IL_0010: call static System.String
RimWorld.QualityUtility::GetLabel(RimWorld.QualityCategory cat)
IL_0015: call static System.String
Verse.GenText::CapitalizeFirst(System.String str)
IL_001A: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_001F: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_0024: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0029: // end original
IL_0029: stloc 0 (System.String)
IL_002D: ldarg.0
IL_002E: ldloca 0 (System.String)
IL_0032: call static System.Void
QualityColors.QualityColorsMod::AddColor3(RimWorld.CompQuality __instance,
System.String& __result)
IL_0037: ldloc 0 (System.String)
IL_003B: ret
DONE

### Patch: static System.String


RimWorld.QualityUtility::GetLabel(RimWorld.QualityCategory cat)
### Replacement: static System.String
RimWorld.QualityUtility::GetLabel_Patch1(RimWorld.QualityCategory cat)
IL_0000: Local var 0: System.String
IL_0000: ldnull
IL_0001: stloc 0 (System.String)
IL_0005: // start original
IL_0005: ldarg.0
IL_0006: switch => Labels0,1,2,3,4,5,6
IL_0027: br => Label7
IL_002C: Label0
IL_002C: ldstr "QualityCategory_Awful"
IL_0031: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0036: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_003B: br => Label8
IL_0040: Label1
IL_0040: ldstr "QualityCategory_Poor"
IL_0045: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_004A: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_004F: br => Label9
IL_0054: Label2
IL_0054: ldstr "QualityCategory_Normal"
IL_0059: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_005E: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0063: br => Label10
IL_0068: Label3
IL_0068: ldstr "QualityCategory_Good"
IL_006D: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0072: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0077: br => Label11
IL_007C: Label4
IL_007C: ldstr "QualityCategory_Excellent"
IL_0081: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0086: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_008B: br => Label12
IL_0090: Label5
IL_0090: ldstr "QualityCategory_Masterwork"
IL_0095: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_009A: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_009F: br => Label13
IL_00A4: Label6
IL_00A4: ldstr "QualityCategory_Legendary"
IL_00A9: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_00AE: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_00B3: br => Label14
IL_00B8: Label7
IL_00B8: newobj System.Void System.ArgumentException::.ctor()
IL_00BD: throw
IL_00BE: // end original
IL_00BE: Label8
IL_00BE: Label9
IL_00BE: Label10
IL_00BE: Label11
IL_00BE: Label12
IL_00BE: Label13
IL_00BE: Label14
IL_00BE: stloc 0 (System.String)
IL_00C2: ldarg 0
IL_00C6: ldloca 0 (System.String)
IL_00CA: call static System.Void
QualityColors.QualityColorsMod::AddColor2(RimWorld.QualityCategory cat,
System.String& __result)
IL_00CF: ldloc 0 (System.String)
IL_00D3: ret
DONE

### Patch: static System.String


RimWorld.QualityUtility::GetLabelShort(RimWorld.QualityCategory cat)
### Replacement: static System.String
RimWorld.QualityUtility::GetLabelShort_Patch1(RimWorld.QualityCategory cat)
IL_0000: Local var 0: System.String
IL_0000: ldnull
IL_0001: stloc 0 (System.String)
IL_0005: // start original
IL_0005: ldarg.0
IL_0006: switch => Labels0,1,2,3,4,5,6
IL_0027: br => Label7
IL_002C: Label0
IL_002C: ldstr "QualityCategoryShort_Awful"
IL_0031: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0036: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_003B: br => Label8
IL_0040: Label1
IL_0040: ldstr "QualityCategoryShort_Poor"
IL_0045: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_004A: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_004F: br => Label9
IL_0054: Label2
IL_0054: ldstr "QualityCategoryShort_Normal"
IL_0059: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_005E: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0063: br => Label10
IL_0068: Label3
IL_0068: ldstr "QualityCategoryShort_Good"
IL_006D: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0072: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0077: br => Label11
IL_007C: Label4
IL_007C: ldstr "QualityCategoryShort_Excellent"
IL_0081: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0086: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_008B: br => Label12
IL_0090: Label5
IL_0090: ldstr "QualityCategoryShort_Masterwork"
IL_0095: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_009A: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_009F: br => Label13
IL_00A4: Label6
IL_00A4: ldstr "QualityCategoryShort_Legendary"
IL_00A9: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_00AE: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_00B3: br => Label14
IL_00B8: Label7
IL_00B8: newobj System.Void System.ArgumentException::.ctor()
IL_00BD: throw
IL_00BE: // end original
IL_00BE: Label8
IL_00BE: Label9
IL_00BE: Label10
IL_00BE: Label11
IL_00BE: Label12
IL_00BE: Label13
IL_00BE: Label14
IL_00BE: stloc 0 (System.String)
IL_00C2: ldarg 0
IL_00C6: ldloca 0 (System.String)
IL_00CA: call static System.Void
QualityColors.QualityColorsMod::AddColor2(RimWorld.QualityCategory cat,
System.String& __result)
IL_00CF: ldloc 0 (System.String)
IL_00D3: ret
DONE

### Patch: static System.String Verse.GenText::Truncate(System.String str,


System.Single width, System.Collections.Generic.Dictionary`2<System.String,
System.String> cache)
### Replacement: static System.String Verse.GenText::Truncate_Patch2(System.String
str, System.Single width, System.Collections.Generic.Dictionary`2<System.String,
System.String> cache)
IL_0000: Local var 0: System.String
IL_0000: Local var 1: System.String
IL_0000: Local var 2: System.Boolean
IL_0000: Local var 3:
System.Collections.Generic.Dictionary`2<System.String,System.String>
IL_0000: ldnull
IL_0001: stloc 1 (System.String)
IL_0005: ldc.i4 0
IL_000A: stloc 2 (System.Boolean)
IL_000E: ldc.i4.1
IL_000F: stloc 2 (System.Boolean)
IL_0013: ldnull
IL_0014: stloc 3
(System.Collections.Generic.Dictionary`2[System.String,System.String])
IL_0018: ldloc 2 (System.Boolean)
IL_001C: brfalse.s => Label1
IL_001E: ldarga 0
IL_0022: ldloca 3
(System.Collections.Generic.Dictionary`2[System.String,System.String])
IL_0026: ldarg 2
IL_002A: call static System.Void
QualityColors.QualityColorsMod::StripColor(System.String& str,
System.Collections.Generic.Dictionary`2& __state,
System.Collections.Generic.Dictionary`2<System.String, System.String> cache)
IL_002F: nop
IL_0030: ldloc 2 (System.Boolean)
IL_0034: brfalse => Label0
IL_0039: // start original
IL_0039: ldarg.2
IL_003A: brfalse => Label2
IL_003F: ldarg.2
IL_0040: ldarg.0
IL_0041: ldloca.s 0 (System.String)
IL_0043: callvirt virtual System.Boolean
System.Collections.Generic.Dictionary`2<System.String,
System.String>::TryGetValue(System.String key, System.String& value)
IL_0048: brfalse => Label3
IL_004D: ldloc.0
IL_004E: br => Label9
IL_0053: Label2
IL_0053: Label3
IL_0053: ldarg.0
IL_0054: call static UnityEngine.Vector2 Verse.Text::CalcSize(System.String
text)
IL_0059: ldfld System.Single UnityEngine.Vector2::x
IL_005E: ldarg.1
IL_005F: bgt.un => Label4
IL_0064: ldarg.2
IL_0065: brfalse => Label5
IL_006A: ldarg.2
IL_006B: ldarg.0
IL_006C: ldarg.0
IL_006D: callvirt virtual System.Void
System.Collections.Generic.Dictionary`2<System.String,
System.String>::Add(System.String key, System.String value)
IL_0072: Label5
IL_0072: ldarg.0
IL_0073: br => Label10
IL_0078: Label4
IL_0078: ldarg.0
IL_0079: stloc.0
IL_007A: Label7
IL_007A: ldloc.0
IL_007B: ldc.i4.0
IL_007C: ldloc.0
IL_007D: callvirt System.Int32 System.String::get_Length()
IL_0082: ldc.i4.1
IL_0083: sub
IL_0084: callvirt System.String System.String::Substring(System.Int32 startIndex,
System.Int32 length)
IL_0089: stloc.0
IL_008A: ldloc.0
IL_008B: callvirt System.Int32 System.String::get_Length()
IL_0090: ldc.i4.0
IL_0091: ble => Label6
IL_0096: ldloc.0
IL_0097: ldstr "..."
IL_009C: call static System.String System.String::Concat(System.String str0,
System.String str1)
IL_00A1: call static UnityEngine.Vector2 Verse.Text::CalcSize(System.String
text)
IL_00A6: ldfld System.Single UnityEngine.Vector2::x
IL_00AB: ldarg.1
IL_00AC: bgt => Label7
IL_00B1: Label6
IL_00B1: ldloc.0
IL_00B2: ldstr "..."
IL_00B7: call static System.String System.String::Concat(System.String str0,
System.String str1)
IL_00BC: stloc.0
IL_00BD: ldarg.2
IL_00BE: brfalse => Label8
IL_00C3: ldarg.2
IL_00C4: ldarg.0
IL_00C5: ldloc.0
IL_00C6: callvirt virtual System.Void
System.Collections.Generic.Dictionary`2<System.String,
System.String>::Add(System.String key, System.String value)
IL_00CB: Label8
IL_00CB: ldloc.0
IL_00CC: // end original
IL_00CC: Label9
IL_00CC: Label10
IL_00CC: stloc 1 (System.String)
IL_00D0: Label0
IL_00D0: ldloca 1 (System.String)
IL_00D4: ldarg 0
IL_00D8: ldloc 3
(System.Collections.Generic.Dictionary`2[System.String,System.String])
IL_00DC: ldarg 2
IL_00E0: call static System.Void
QualityColors.QualityColorsMod::ReaddColor(System.String& __result, System.String
str, System.Collections.Generic.Dictionary`2<System.String, System.String> __state,
System.Collections.Generic.Dictionary`2<System.String, System.String> cache)
IL_00E5: ldloc 1 (System.String)
IL_00E9: ret
DONE

### Patch: static Verse.TaggedString Verse.GenText::Truncate(Verse.TaggedString


str, System.Single width, System.Collections.Generic.Dictionary`2<System.String,
Verse.TaggedString> cache)
### Replacement: static Verse.TaggedString
Verse.GenText::Truncate_Patch2(Verse.TaggedString str, System.Single width,
System.Collections.Generic.Dictionary`2<System.String, Verse.TaggedString> cache)
IL_0000: Local var 0: Verse.TaggedString
IL_0000: Local var 1: Verse.TaggedString
IL_0000: Local var 2: System.Boolean
IL_0000: Local var 3:
System.Collections.Generic.Dictionary`2<System.String,System.String>
IL_0000: ldloca 1 (Verse.TaggedString)
IL_0004: initobj Verse.TaggedString
IL_000A: ldc.i4 0
IL_000F: stloc 2 (System.Boolean)
IL_0013: ldc.i4.1
IL_0014: stloc 2 (System.Boolean)
IL_0018: ldnull
IL_0019: stloc 3
(System.Collections.Generic.Dictionary`2[System.String,System.String])
IL_001D: ldloc 2 (System.Boolean)
IL_0021: brfalse.s => Label1
IL_0023: ldarga 0
IL_0027: ldloca 3
(System.Collections.Generic.Dictionary`2[System.String,System.String])
IL_002B: ldarg 2
IL_002F: call static System.Void
QualityColors.QualityColorsMod::StripColorTagged(Verse.TaggedString& str,
System.Collections.Generic.Dictionary`2& __state,
System.Collections.Generic.Dictionary`2<System.String, Verse.TaggedString> cache)
IL_0034: nop
IL_0035: ldloc 2 (System.Boolean)
IL_0039: brfalse => Label0
IL_003E: // start original
IL_003E: ldarg.2
IL_003F: brfalse => Label2
IL_0044: ldarg.2
IL_0045: ldarga.s 0
IL_0047: call System.String Verse.TaggedString::get_RawText()
IL_004C: ldloca.s 0 (Verse.TaggedString)
IL_004E: callvirt virtual System.Boolean
System.Collections.Generic.Dictionary`2<System.String,
Verse.TaggedString>::TryGetValue(System.String key, Verse.TaggedString& value)
IL_0053: brfalse => Label3
IL_0058: ldloc.0
IL_0059: br => Label9
IL_005E: Label2
IL_005E: Label3
IL_005E: ldarga.s 0
IL_0060: call System.String Verse.TaggedString::get_RawText()
IL_0065: call static System.String Verse.ColoredText::StripTags(System.String
s)
IL_006A: call static UnityEngine.Vector2 Verse.Text::CalcSize(System.String
text)
IL_006F: ldfld System.Single UnityEngine.Vector2::x
IL_0074: ldarg.1
IL_0075: bge.un => Label4
IL_007A: ldarg.2
IL_007B: brfalse => Label5
IL_0080: ldarg.2
IL_0081: ldarga.s 0
IL_0083: call System.String Verse.TaggedString::get_RawText()
IL_0088: ldarg.0
IL_0089: callvirt virtual System.Void
System.Collections.Generic.Dictionary`2<System.String,
Verse.TaggedString>::Add(System.String key, Verse.TaggedString value)
IL_008E: Label5
IL_008E: ldarg.0
IL_008F: br => Label10
IL_0094: Label4
IL_0094: ldarg.0
IL_0095: stloc.0
IL_0096: Label7
IL_0096: ldloca.s 0 (Verse.TaggedString)
IL_0098: call System.String Verse.TaggedString::get_RawText()
IL_009D: ldc.i4.0
IL_009E: ldloca.s 0 (Verse.TaggedString)
IL_00A0: call System.String Verse.TaggedString::get_RawText()
IL_00A5: callvirt System.Int32 System.String::get_Length()
IL_00AA: ldc.i4.1
IL_00AB: sub
IL_00AC: callvirt System.String System.String::Substring(System.Int32 startIndex,
System.Int32 length)
IL_00B1: call static Verse.TaggedString
Verse.TaggedString::op_Implicit(System.String str)
IL_00B6: stloc.0
IL_00B7: ldloca.s 0 (Verse.TaggedString)
IL_00B9: call System.String Verse.TaggedString::get_RawText()
IL_00BE: call static System.String Verse.ColoredText::StripTags(System.String
s)
IL_00C3: callvirt System.Int32 System.String::get_Length()
IL_00C8: ldc.i4.0
IL_00C9: ble => Label6
IL_00CE: ldloca.s 0 (Verse.TaggedString)
IL_00D0: call System.String Verse.TaggedString::get_RawText()
IL_00D5: call static System.String Verse.ColoredText::StripTags(System.String
s)
IL_00DA: call static System.String Verse.GenText::AddEllipses(System.String
s)
IL_00DF: call static UnityEngine.Vector2 Verse.Text::CalcSize(System.String
text)
IL_00E4: ldfld System.Single UnityEngine.Vector2::x
IL_00E9: ldarg.1
IL_00EA: bgt => Label7
IL_00EF: Label6
IL_00EF: ldloc.0
IL_00F0: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_00F5: call static System.String Verse.GenText::AddEllipses(System.String
s)
IL_00FA: call static Verse.TaggedString
Verse.TaggedString::op_Implicit(System.String str)
IL_00FF: stloc.0
IL_0100: ldarg.2
IL_0101: brfalse => Label8
IL_0106: ldarg.2
IL_0107: ldarga.s 0
IL_0109: call System.String Verse.TaggedString::get_RawText()
IL_010E: ldarg.0
IL_010F: callvirt virtual System.Void
System.Collections.Generic.Dictionary`2<System.String,
Verse.TaggedString>::Add(System.String key, Verse.TaggedString value)
IL_0114: Label8
IL_0114: ldloc.0
IL_0115: // end original
IL_0115: Label9
IL_0115: Label10
IL_0115: stloc 1 (Verse.TaggedString)
IL_0119: Label0
IL_0119: ldloca 1 (Verse.TaggedString)
IL_011D: ldarg 0
IL_0121: ldloc 3
(System.Collections.Generic.Dictionary`2[System.String,System.String])
IL_0125: ldarg 2
IL_0129: call static System.Void
QualityColors.QualityColorsMod::ReaddColorTagged(Verse.TaggedString& __result,
Verse.TaggedString str, System.Collections.Generic.Dictionary`2<System.String,
System.String> __state, System.Collections.Generic.Dictionary`2<System.String,
Verse.TaggedString> cache)
IL_012E: ldloc 1 (Verse.TaggedString)
IL_0132: ret
DONE

### Harmony id=OskarPotocki.VanillaTexturesExpanded, version=2.0.0.8, location=Z:\


SteamLibrary\steamapps\common\data-000001638B3F0080
### Started from System.Void
VanillaTexturesExpanded.VanillaTexturesExpanded::.ctor(Verse.ModContentPack
content), location Z:\SteamLibrary\steamapps\common\data-000001638BE69260
### At 2021-10-01 08.56.13
### Harmony id=vanillaexpanded.achievements, version=2.0.0.8, location=Z:\
SteamLibrary\steamapps\common\data-000001638B3F0080
### Started from static System.Void
AchievementsExpanded.AchievementHarmony::.cctor(), location Z:\SteamLibrary\
steamapps\common\data-000001638BF637C0
### At 2021-10-01 08.56.13
### Patch: virtual System.Void Verse.Pawn::Kill(System.Nullable`1<Verse.DamageInfo>
dinfo, Verse.Hediff exactCulprit)
### Replacement: static System.Void Verse.Pawn::Kill_Patch1(Verse.Pawn this,
System.Nullable`1<Verse.DamageInfo> dinfo, Verse.Hediff exactCulprit)
IL_0000: Local var 0: Verse.IntVec3
IL_0000: Local var 1: Verse.Map
IL_0000: Local var 2: Verse.Map
IL_0000: Local var 3: System.Boolean
IL_0000: Local var 4: System.Boolean
IL_0000: Local var 5: System.Boolean
IL_0000: Local var 6: System.Nullable`1<System.Boolean>
IL_0000: Local var 7: RimWorld.Planet.Caravan
IL_0000: Local var 8: RimWorld.Building_Grave
IL_0000: Local var 9: System.Boolean
IL_0000: Local var 10: System.Single
IL_0000: Local var 11: Verse.ThingOwner
IL_0000: Local var 12: System.Boolean
IL_0000: Local var 13: System.Boolean
IL_0000: Local var 14: System.Boolean
IL_0000: Local var 15: System.Boolean
IL_0000: Local var 16: System.Boolean
IL_0000: Local var 17: System.Single
IL_0000: Local var 18: Verse.Thing
IL_0000: Local var 19: Verse.Pawn_CarryTracker
IL_0000: Local var 20: Verse.AI.Group.Lord
IL_0000: Local var 21: Verse.Corpse
IL_0000: Local var 22: RimWorld.Faction
IL_0000: Local var 23: System.Nullable`1<System.Boolean>
IL_0000: Local var 24: Verse.Rot4
IL_0000: Local var 25:
System.Collections.Generic.List`1/Enumerator<Verse.AI.Group.Lord>
IL_0000: Local var 26: RimWorld.LordJob_Ritual
IL_0000: Local var 27: Verse.DamageInfo
IL_0000: Local var 28: System.Nullable`1<Verse.DamageInfo>
IL_0000: Local var 29: Verse.Pawn
IL_0000: Local var 30: System.Int32
IL_0000: Local var 31: Verse.Thing
IL_0000: Local var 32: Verse.Hediff
IL_0000: Local var 33: Verse.Hediff
IL_0000: Local var 34: RimWorld.CompRottable
IL_0000: Local var 35: System.Int32
IL_0000: Local var 36: System.Boolean
IL_0000: Local var 37: System.Exception
IL_0000: Local var 38: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 38 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 38 (System.Boolean)
IL_000E: ldloc 38 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg 1
IL_0018: ldarg.0
IL_0019: ldarg 2
IL_001D: call static System.Void
AchievementsExpanded.AchievementHarmony::KillPawn(System.Nullable`1<Verse.DamageInf
o> dinfo, Verse.Pawn __instance, Verse.Hediff exactCulprit)
IL_0022: nop
IL_0023: ldloc 38 (System.Boolean)
IL_0027: brfalse => Label0
IL_002C: // start original
IL_002C: ldarg.0
IL_002D: call Verse.IntVec3 Verse.Thing::get_PositionHeld()
IL_0032: stloc.0
IL_0033: ldarg.0
IL_0034: call virtual Verse.Map Verse.Thing::get_Map()
IL_0039: stloc.1
IL_003A: ldarg.0
IL_003B: call Verse.Map Verse.Thing::get_MapHeld()
IL_0040: stloc.2
IL_0041: ldarg.0
IL_0042: call System.Boolean Verse.Thing::get_Spawned()
IL_0047: stloc.3
IL_0048: ldarg.0
IL_0049: call System.Boolean Verse.Thing::get_SpawnedOrAnyParentSpawned()
IL_004E: stloc.s 4 (System.Boolean)
IL_0050: ldarg.0
IL_0051: call static System.Boolean
RimWorld.Planet.WorldPawnsUtility::IsWorldPawn(Verse.Pawn p)
IL_0056: stloc.s 5 (System.Boolean)
IL_0058: ldarg.0
IL_0059: ldfld RimWorld.Pawn_GuiltTracker Verse.Pawn::guilt
IL_005E: dup
IL_005F: brtrue => Label2
IL_0064: pop
IL_0065: ldloca.s 23 (System.Nullable`1[System.Boolean])
IL_0067: initobj System.Nullable`1[System.Boolean]
IL_006D: ldloc.s 23 (System.Nullable`1[System.Boolean])
IL_006F: br => Label3
IL_0074: Label2
IL_0074: call System.Boolean RimWorld.Pawn_GuiltTracker::get_IsGuilty()
IL_0079: newobj System.Void
System.Nullable`1<System.Boolean>::.ctor(System.Boolean value)
IL_007E: Label3
IL_007E: stloc.s 6 (System.Nullable`1[System.Boolean])
IL_0080: ldarg.0
IL_0081: call static RimWorld.Planet.Caravan
RimWorld.Planet.CaravanUtility::GetCaravan(Verse.Pawn pawn)
IL_0086: stloc.s 7 (RimWorld.Planet.Caravan)
IL_0088: ldnull
IL_0089: stloc.s 8 (RimWorld.Building_Grave)
IL_008B: ldarg.0
IL_008C: ldfld RimWorld.Pawn_Ownership Verse.Pawn::ownership
IL_0091: brfalse => Label4
IL_0096: ldarg.0
IL_0097: ldfld RimWorld.Pawn_Ownership Verse.Pawn::ownership
IL_009C: callvirt RimWorld.Building_Grave
RimWorld.Pawn_Ownership::get_AssignedGrave()
IL_00A1: stloc.s 8 (RimWorld.Building_Grave)
IL_00A3: Label4
IL_00A3: ldarg.0
IL_00A4: call static System.Boolean RimWorld.RestUtility::InBed(Verse.Pawn p)
IL_00A9: stloc.s 9 (System.Boolean)
IL_00AB: ldc.r4 0
IL_00B0: stloc.s 10 (System.Single)
IL_00B2: ldloc.s 9 (System.Boolean)
IL_00B4: brfalse => Label5
IL_00B9: ldarg.0
IL_00BA: call static RimWorld.Building_Bed
RimWorld.RestUtility::CurrentBed(Verse.Pawn p)
IL_00BF: callvirt Verse.Rot4 Verse.Thing::get_Rotation()
IL_00C4: stloc.s 24 (Verse.Rot4)
IL_00C6: ldloca.s 24 (Verse.Rot4)
IL_00C8: call System.Single Verse.Rot4::get_AsAngle()
IL_00CD: stloc.s 10 (System.Single)
IL_00CF: Label5
IL_00CF: ldnull
IL_00D0: stloc.s 11 (Verse.ThingOwner)
IL_00D2: ldarg.0
IL_00D3: call System.Boolean Verse.Pawn::get_InContainerEnclosed()
IL_00D8: stloc.s 12 (System.Boolean)
IL_00DA: ldloc.s 12 (System.Boolean)
IL_00DC: brfalse => Label6
IL_00E1: ldarg.0
IL_00E2: ldfld Verse.ThingOwner Verse.Thing::holdingOwner
IL_00E7: stloc.s 11 (Verse.ThingOwner)
IL_00E9: ldloc.s 11 (Verse.ThingOwner)
IL_00EB: ldarg.0
IL_00EC: callvirt abstract virtual System.Boolean
Verse.ThingOwner::Remove(Verse.Thing item)
IL_00F1: pop
IL_00F2: Label6
IL_00F2: ldc.i4.0
IL_00F3: stloc.s 13 (System.Boolean)
IL_00F5: ldc.i4.0
IL_00F6: stloc.s 14 (System.Boolean)
IL_00F8: ldc.i4.0
IL_00F9: stloc.s 15 (System.Boolean)
IL_00FB: call static Verse.ProgramState Verse.Current::get_ProgramState()
IL_0100: ldc.i4.2
IL_0101: bne.un => Label7
IL_0106: ldloc.1
IL_0107: brfalse => Label8
IL_010C: ldloc.1
IL_010D: ldfld Verse.DesignationManager Verse.Map::designationManager
IL_0112: ldarg.0
IL_0113: ldsfld Verse.DesignationDef RimWorld.DesignationDefOf::Hunt
IL_0118: callvirt Verse.Designation
Verse.DesignationManager::DesignationOn(Verse.Thing t, Verse.DesignationDef def)
IL_011D: ldnull
IL_011E: cgt.un
IL_0120: stloc.s 13 (System.Boolean)
IL_0122: ldarg.0
IL_0123: call static System.Boolean
RimWorld.PawnUtility::ShouldBeSlaughtered(Verse.Pawn pawn)
IL_0128: stloc.s 14 (System.Boolean)
IL_012A: ldloc.1
IL_012B: ldfld Verse.AI.Group.LordManager Verse.Map::lordManager
IL_0130: ldfld System.Collections.Generic.List`1<Verse.AI.Group.Lord>
Verse.AI.Group.LordManager::lords
IL_0135: callvirt System.Collections.Generic.Enumerator<Verse.AI.Group.Lord>
System.Collections.Generic.List`1<Verse.AI.Group.Lord>::GetEnumerator()
IL_013A: stloc.s 25
(System.Collections.Generic.List`1+Enumerator[Verse.AI.Group.Lord])
.try
{
IL_013C: br => Label9
IL_0141: Label13
IL_0141: ldloca.s 25
(System.Collections.Generic.List`1+Enumerator[Verse.AI.Group.Lord])
IL_0143: call virtual Verse.AI.Group.Lord
System.Collections.Generic.Enumerator<Verse.AI.Group.Lord>::get_Current()
IL_0148: callvirt Verse.AI.Group.LordJob Verse.AI.Group.Lord::get_LordJob()
IL_014D: isinst RimWorld.LordJob_Ritual
IL_0152: dup
IL_0153: stloc.s 26 (RimWorld.LordJob_Ritual)
IL_0155: brfalse => Label10
IL_015A: ldloc.s 26 (RimWorld.LordJob_Ritual)
IL_015C: ldfld System.Collections.Generic.List`1<Verse.Pawn>
RimWorld.LordJob_Ritual::pawnsDeathIgnored
IL_0161: ldarg.0
IL_0162: callvirt virtual System.Boolean
System.Collections.Generic.List`1<Verse.Pawn>::Contains(Verse.Pawn item)
IL_0167: brfalse => Label11
IL_016C: ldc.i4.1
IL_016D: stloc.s 15 (System.Boolean)
IL_016F: leave => Label12
IL_0174: Label9
IL_0174: Label10
IL_0174: Label11
IL_0174: ldloca.s 25
(System.Collections.Generic.List`1+Enumerator[Verse.AI.Group.Lord])
IL_0176: call virtual System.Boolean
System.Collections.Generic.Enumerator<Verse.AI.Group.Lord>::MoveNext()
IL_017B: brtrue => Label13
IL_0180: leave => Label14
IL_0185: leave => (autogenerated)
} // end try
.finally
{
IL_018A: ldloca.s 25
(System.Collections.Generic.List`1+Enumerator[Verse.AI.Group.Lord])
IL_018C: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.AI.Group.Lord]
IL_0192: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_0197: endfinally
IL_0198: leave => (autogenerated)
} // end handler
IL_0199: Label7
IL_0199: Label8
IL_0199: Label12
IL_0199: Label14
IL_0199: ldarg.0
IL_019A: call static System.Boolean
RimWorld.PawnUtility::ShouldSendNotificationAbout(Verse.Pawn p)
IL_019F: brfalse => Label15
IL_01A4: ldloc.s 14 (System.Boolean)
IL_01A6: ldloc.s 15 (System.Boolean)
IL_01A8: or
IL_01A9: brfalse => Label16
IL_01AE: ldarga.s 1
IL_01B0: call System.Boolean
System.Nullable`1<Verse.DamageInfo>::get_HasValue()
IL_01B5: brfalse => Label17
IL_01BA: ldarga.s 1
IL_01BC: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_01C1: stloc.s 27 (Verse.DamageInfo)
IL_01C3: ldloca.s 27 (Verse.DamageInfo)
IL_01C5: call Verse.DamageDef Verse.DamageInfo::get_Def()
IL_01CA: ldsfld Verse.DamageDef RimWorld.DamageDefOf::ExecutionCut
IL_01CF: beq => Label18
IL_01D4: Label16
IL_01D4: Label17
IL_01D4: ldarg.0
IL_01D5: ldfld System.Boolean Verse.Pawn::forceNoDeathNotification
IL_01DA: ldc.i4.0
IL_01DB: ceq
IL_01DD: br => Label19
IL_01E2: Label15
IL_01E2: Label18
IL_01E2: ldc.i4.0
IL_01E3: Label19
IL_01E3: stloc.s 16 (System.Boolean)
IL_01E5: ldc.r4 0
IL_01EA: stloc.s 17 (System.Single)
IL_01EC: ldarg.0
IL_01ED: ldsfld Verse.ThingDef RimWorld.ThingDefOf::Fire
IL_01F2: call static Verse.Thing
Verse.AttachmentUtility::GetAttachment(Verse.Thing t, Verse.ThingDef def)
IL_01F7: stloc.s 18 (Verse.Thing)
IL_01F9: ldloc.s 18 (Verse.Thing)
IL_01FB: brfalse => Label20
IL_0200: ldloc.s 18 (Verse.Thing)
IL_0202: castclass RimWorld.Fire
IL_0207: callvirt virtual System.Single RimWorld.Fire::CurrentSize()
IL_020C: stloc.s 17 (System.Single)
IL_020E: Label20
IL_020E: call static Verse.ProgramState Verse.Current::get_ProgramState()
IL_0213: ldc.i4.2
IL_0214: bne.un => Label21
IL_0219: call static RimWorld.Storyteller Verse.Find::get_Storyteller()
IL_021E: ldarg.0
IL_021F: ldc.i4.1
IL_0220: ldloca.s 28 (System.Nullable`1[Verse.DamageInfo])
IL_0222: initobj System.Nullable`1[Verse.DamageInfo]
IL_0228: ldloc.s 28 (System.Nullable`1[Verse.DamageInfo])
IL_022A: callvirt System.Void RimWorld.Storyteller::Notify_PawnEvent(Verse.Pawn
pawn, RimWorld.AdaptationEvent ev, System.Nullable`1<Verse.DamageInfo> dinfo)
IL_022F: Label21
IL_022F: ldarg.0
IL_0230: call System.Boolean Verse.Pawn::get_IsColonist()
IL_0235: brfalse => Label22
IL_023A: call static RimWorld.StoryWatcher Verse.Find::get_StoryWatcher()
IL_023F: ldfld RimWorld.StatsRecord RimWorld.StoryWatcher::statsRecord
IL_0244: callvirt System.Void RimWorld.StatsRecord::Notify_ColonistKilled()
IL_0249: Label22
IL_0249: ldloc.3
IL_024A: brfalse => Label23
IL_024F: ldarga.s 1
IL_0251: call System.Boolean
System.Nullable`1<Verse.DamageInfo>::get_HasValue()
IL_0256: brfalse => Label24
IL_025B: ldarga.s 1
IL_025D: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_0262: stloc.s 27 (Verse.DamageInfo)
IL_0264: ldloca.s 27 (Verse.DamageInfo)
IL_0266: call Verse.DamageDef Verse.DamageInfo::get_Def()
IL_026B: ldarg.0
IL_026C: callvirt System.Boolean Verse.DamageDef::ExternalViolenceFor(Verse.Thing
thing)
IL_0271: brfalse => Label25
IL_0276: ldarg.0
IL_0277: ldsfld System.Func`2<Verse.LifeStageAge, Verse.SoundDef>
Verse.<>c::<>9__212_0
IL_027C: dup
IL_027D: brtrue => Label26
IL_0282: pop
IL_0283: ldsfld Verse.<>c Verse.<>c::<>9
IL_0288: ldftn Verse.SoundDef Verse.<>c::<Kill>b__212_0(Verse.LifeStageAge ls)
IL_028E: newobj System.Void System.Func`2<Verse.LifeStageAge,
Verse.SoundDef>::.ctor(System.Object object, System.IntPtr method)
IL_0293: dup
IL_0294: stsfld System.Func`2<Verse.LifeStageAge, Verse.SoundDef>
Verse.<>c::<>9__212_0
IL_0299: Label26
IL_0299: ldc.r4 1
IL_029E: call static System.Void
Verse.LifeStageUtility::PlayNearestLifestageSound(Verse.Pawn pawn,
System.Func`2<Verse.LifeStageAge, Verse.SoundDef> getter, System.Single
volumeFactor)
IL_02A3: Label23
IL_02A3: Label24
IL_02A3: Label25
IL_02A3: ldarga.s 1
IL_02A5: call System.Boolean
System.Nullable`1<Verse.DamageInfo>::get_HasValue()
IL_02AA: brfalse => Label27
IL_02AF: ldarga.s 1
IL_02B1: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_02B6: stloc.s 27 (Verse.DamageInfo)
IL_02B8: ldloca.s 27 (Verse.DamageInfo)
IL_02BA: call Verse.Thing Verse.DamageInfo::get_Instigator()
IL_02BF: brfalse => Label28
IL_02C4: ldarga.s 1
IL_02C6: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_02CB: stloc.s 27 (Verse.DamageInfo)
IL_02CD: ldloca.s 27 (Verse.DamageInfo)
IL_02CF: call Verse.Thing Verse.DamageInfo::get_Instigator()
IL_02D4: isinst Verse.Pawn
IL_02D9: stloc.s 29 (Verse.Pawn)
IL_02DB: ldloc.s 29 (Verse.Pawn)
IL_02DD: brfalse => Label29
IL_02E2: ldarg.0
IL_02E3: ldloc.s 29 (Verse.Pawn)
IL_02E5: call static System.Void
RimWorld.RecordsUtility::Notify_PawnKilled(Verse.Pawn killed, Verse.Pawn killer)
IL_02EA: ldloc.s 29 (Verse.Pawn)
IL_02EC: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
IL_02F1: brfalse => Label30
IL_02F6: ldloc.s 29 (Verse.Pawn)
IL_02F8: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
IL_02FD: callvirt System.Void Verse.Pawn_EquipmentTracker::Notify_KilledPawn()
IL_0302: Label30
IL_0302: ldloc.s 29 (Verse.Pawn)
IL_0304: ldarg.0
IL_0305: call static System.Boolean
HistoryEventUtility::IsKillingInnocentAnimal(Verse.Pawn executioner, Verse.Pawn
victim)
IL_030A: brfalse => Label31
IL_030F: call static RimWorld.HistoryEventsManager
Verse.Find::get_HistoryEventsManager()
IL_0314: ldsfld RimWorld.HistoryEventDef
RimWorld.HistoryEventDefOf::KilledInnocentAnimal
IL_0319: ldloc.s 29 (Verse.Pawn)
IL_031B: ldsfld System.String RimWorld.HistoryEventArgsNames::Doer
IL_0320: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_0325: ldarg.0
IL_0326: ldsfld System.String RimWorld.HistoryEventArgsNames::Victim
IL_032B: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_0330: newobj System.Void
RimWorld.HistoryEvent::.ctor(RimWorld.HistoryEventDef def, Verse.NamedArgument
arg1, Verse.NamedArgument arg2)
IL_0335: ldc.i4.1
IL_0336: callvirt System.Void
RimWorld.HistoryEventsManager::RecordEvent(RimWorld.HistoryEvent historyEvent,
System.Boolean canApplySelfTookThoughts)
IL_033B: Label27
IL_033B: Label28
IL_033B: Label29
IL_033B: Label31
IL_033B: ldarg.0
IL_033C: ldarg.1
IL_033D: call static System.Void
RimWorld.TaleUtility::Notify_PawnDied(Verse.Pawn victim,
System.Nullable`1<Verse.DamageInfo> dinfo)
IL_0342: ldloc.3
IL_0343: brfalse => Label32
IL_0348: call static Verse.BattleLog Verse.Find::get_BattleLog()
IL_034D: ldarg.0
IL_034E: ldarg.0
IL_034F: call Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_0354: callvirt Verse.DeathActionWorker
Verse.RaceProperties::get_DeathActionWorker()
IL_0359: callvirt virtual Verse.RulePackDef
Verse.DeathActionWorker::get_DeathRules()
IL_035E: ldarga.s 1
IL_0360: call System.Boolean
System.Nullable`1<Verse.DamageInfo>::get_HasValue()
IL_0365: brtrue => Label33
IL_036A: ldnull
IL_036B: br => Label34
IL_0370: Label33
IL_0370: ldarga.s 1
IL_0372: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_0377: stloc.s 27 (Verse.DamageInfo)
IL_0379: ldloca.s 27 (Verse.DamageInfo)
IL_037B: call Verse.Thing Verse.DamageInfo::get_Instigator()
IL_0380: isinst Verse.Pawn
IL_0385: Label34
IL_0385: ldarg.2
IL_0386: ldarga.s 1
IL_0388: call System.Boolean
System.Nullable`1<Verse.DamageInfo>::get_HasValue()
IL_038D: brtrue => Label35
IL_0392: ldnull
IL_0393: br => Label36
IL_0398: Label35
IL_0398: ldarga.s 1
IL_039A: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_039F: stloc.s 27 (Verse.DamageInfo)
IL_03A1: ldloca.s 27 (Verse.DamageInfo)
IL_03A3: call Verse.BodyPartRecord Verse.DamageInfo::get_HitPart()
IL_03A8: Label36
IL_03A8: newobj System.Void
Verse.BattleLogEntry_StateTransition::.ctor(Verse.Thing subject, Verse.RulePackDef
transitionDef, Verse.Pawn initiator, Verse.Hediff culpritHediff,
Verse.BodyPartRecord culpritTargetDef)
IL_03AD: callvirt System.Void Verse.BattleLog::Add(Verse.LogEntry entry)
IL_03B2: Label32
IL_03B2: ldarg.0
IL_03B3: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_03B8: ldfld RimWorld.BillStack Verse.Pawn_HealthTracker::surgeryBills
IL_03BD: callvirt System.Void RimWorld.BillStack::Clear()
IL_03C2: ldarg.0
IL_03C3: ldfld RimWorld.Pawn_ApparelTracker Verse.Pawn::apparel
IL_03C8: brfalse => Label37
IL_03CD: ldarg.0
IL_03CE: ldfld RimWorld.Pawn_ApparelTracker Verse.Pawn::apparel
IL_03D3: ldarg.1
IL_03D4: callvirt System.Void
RimWorld.Pawn_ApparelTracker::Notify_PawnKilled(System.Nullable`1<Verse.DamageInfo>
dinfo)
IL_03D9: Label37
IL_03D9: ldarg.0
IL_03DA: call Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_03DF: callvirt System.Boolean Verse.RaceProperties::get_IsFlesh()
IL_03E4: brfalse => Label38
IL_03E9: ldarg.0
IL_03EA: ldfld RimWorld.Pawn_RelationsTracker Verse.Pawn::relations
IL_03EF: ldarg.1
IL_03F0: ldloc.1
IL_03F1: callvirt System.Void
RimWorld.Pawn_RelationsTracker::Notify_PawnKilled(System.Nullable`1<Verse.DamageInf
o> dinfo, Verse.Map mapBeforeDeath)
IL_03F6: Label38
IL_03F6: ldarg.0
IL_03F7: ldfld RimWorld.Pawn_ConnectionsTracker Verse.Pawn::connections
IL_03FC: brfalse => Label39
IL_0401: ldarg.0
IL_0402: ldfld RimWorld.Pawn_ConnectionsTracker Verse.Pawn::connections
IL_0407: callvirt System.Void
RimWorld.Pawn_ConnectionsTracker::Notify_PawnKilled()
IL_040C: Label39
IL_040C: ldarg.0
IL_040D: ldfld RimWorld.Pawn_MeleeVerbs Verse.Pawn::meleeVerbs
IL_0412: callvirt System.Void RimWorld.Pawn_MeleeVerbs::Notify_PawnKilled()
IL_0417: ldc.i4.0
IL_0418: stloc.s 30 (System.Int32)
IL_041A: br => Label40
IL_041F: Label41
IL_041F: ldarg.0
IL_0420: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_0425: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
IL_042A: ldfld System.Collections.Generic.List`1<Verse.Hediff>
Verse.HediffSet::hediffs
IL_042F: ldloc.s 30 (System.Int32)
IL_0431: callvirt virtual Verse.Hediff
System.Collections.Generic.List`1<Verse.Hediff>::get_Item(System.Int32 index)
IL_0436: callvirt virtual System.Void Verse.Hediff::Notify_PawnKilled()
IL_043B: ldloc.s 30 (System.Int32)
IL_043D: ldc.i4.1
IL_043E: add
IL_043F: stloc.s 30 (System.Int32)
IL_0441: Label40
IL_0441: ldloc.s 30 (System.Int32)
IL_0443: ldarg.0
IL_0444: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_0449: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
IL_044E: ldfld System.Collections.Generic.List`1<Verse.Hediff>
Verse.HediffSet::hediffs
IL_0453: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.Hediff>::get_Count()
IL_0458: blt => Label41
IL_045D: ldarg.0
IL_045E: call virtual Verse.IThingHolder Verse.Thing::get_ParentHolder()
IL_0463: isinst Verse.Pawn_CarryTracker
IL_0468: stloc.s 19 (Verse.Pawn_CarryTracker)
IL_046A: ldloc.s 19 (Verse.Pawn_CarryTracker)
IL_046C: brfalse => Label42
IL_0471: ldarg.0
IL_0472: ldfld Verse.ThingOwner Verse.Thing::holdingOwner
IL_0477: ldarg.0
IL_0478: ldloc.s 19 (Verse.Pawn_CarryTracker)
IL_047A: ldfld Verse.Pawn Verse.Pawn_CarryTracker::pawn
IL_047F: callvirt virtual Verse.IntVec3 Verse.Thing::get_Position()
IL_0484: ldloc.s 19 (Verse.Pawn_CarryTracker)
IL_0486: ldfld Verse.Pawn Verse.Pawn_CarryTracker::pawn
IL_048B: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_0490: ldc.i4.1
IL_0491: ldloca.s 31 (Verse.Thing)
IL_0493: ldnull
IL_0494: ldnull
IL_0495: ldc.i4.1
IL_0496: callvirt System.Boolean Verse.ThingOwner::TryDrop(Verse.Thing thing,
Verse.IntVec3 dropLoc, Verse.Map map, Verse.ThingPlaceMode mode, Verse.Thing&
lastResultingThing, System.Action`2<Verse.Thing, System.Int32> placedAction,
System.Predicate`1<Verse.IntVec3> nearPlaceValidator, System.Boolean playDropSound)
IL_049B: brfalse => Label43
IL_04A0: ldloc.s 19 (Verse.Pawn_CarryTracker)
IL_04A2: ldfld Verse.Pawn Verse.Pawn_CarryTracker::pawn
IL_04A7: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_04AC: stloc.1
IL_04AD: ldc.i4.1
IL_04AE: stloc.3
IL_04AF: Label42
IL_04AF: Label43
IL_04AF: ldarg.0
IL_04B0: call static System.Void
RimWorld.PawnDiedOrDownedThoughtsUtility::RemoveLostThoughts(Verse.Pawn pawn)
IL_04B5: ldarg.0
IL_04B6: call static System.Void
RimWorld.PawnDiedOrDownedThoughtsUtility::RemoveResuedRelativeThought(Verse.Pawn
pawn)
IL_04BB: ldarg.0
IL_04BC: ldarg.1
IL_04BD: ldc.i4.0
IL_04BE: call static System.Void
RimWorld.PawnDiedOrDownedThoughtsUtility::TryGiveThoughts(Verse.Pawn victim,
System.Nullable`1<Verse.DamageInfo> dinfo, RimWorld.PawnDiedOrDownedThoughtsKind
thoughtsKind)
IL_04C3: ldarg.0
IL_04C4: call Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_04C9: callvirt System.Boolean Verse.RaceProperties::get_Animal()
IL_04CE: brfalse => Label44
IL_04D3: ldarg.0
IL_04D4: ldloc.1
IL_04D5: call static System.Void
RimWorld.PawnDiedOrDownedThoughtsUtility::GiveVeneratedAnimalDiedThoughts(Verse.Paw
n victim, Verse.Map map)
IL_04DA: Label44
IL_04DA: ldarg.0
IL_04DB: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_04E0: callvirt System.Void Verse.Pawn_HealthTracker::SetDead()
IL_04E5: ldarg.0
IL_04E6: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_04EB: ldfld Verse.Effecter Verse.Pawn_HealthTracker::deflectionEffecter
IL_04F0: brfalse => Label45
IL_04F5: ldarg.0
IL_04F6: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_04FB: ldfld Verse.Effecter Verse.Pawn_HealthTracker::deflectionEffecter
IL_0500: callvirt System.Void Verse.Effecter::Cleanup()
IL_0505: ldarg.0
IL_0506: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_050B: ldnull
IL_050C: stfld Verse.Effecter Verse.Pawn_HealthTracker::deflectionEffecter
IL_0511: Label45
IL_0511: ldarg.0
IL_0512: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_0517: ldfld Verse.Effecter Verse.Pawn_HealthTracker::woundedEffecter
IL_051C: brfalse => Label46
IL_0521: ldarg.0
IL_0522: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_0527: ldfld Verse.Effecter Verse.Pawn_HealthTracker::woundedEffecter
IL_052C: callvirt System.Void Verse.Effecter::Cleanup()
IL_0531: ldarg.0
IL_0532: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_0537: ldnull
IL_0538: stfld Verse.Effecter Verse.Pawn_HealthTracker::woundedEffecter
IL_053D: Label46
IL_053D: ldloc.s 7 (RimWorld.Planet.Caravan)
IL_053F: brfalse => Label47
IL_0544: ldloc.s 7 (RimWorld.Planet.Caravan)
IL_0546: ldarg.0
IL_0547: callvirt virtual System.Void
RimWorld.Planet.Caravan::Notify_MemberDied(Verse.Pawn member)
IL_054C: Label47
IL_054C: ldarg.0
IL_054D: call static Verse.AI.Group.Lord
Verse.AI.Group.LordUtility::GetLord(Verse.Pawn p)
IL_0552: stloc.s 20 (Verse.AI.Group.Lord)
IL_0554: ldloc.s 20 (Verse.AI.Group.Lord)
IL_0556: brfalse => Label48
IL_055B: ldloc.s 20 (Verse.AI.Group.Lord)
IL_055D: ldarg.0
IL_055E: ldc.i4.2
IL_055F: ldarg.1
IL_0560: callvirt System.Void Verse.AI.Group.Lord::Notify_PawnLost(Verse.Pawn
pawn, Verse.AI.Group.PawnLostCondition cond, System.Nullable`1<Verse.DamageInfo>
dinfo)
IL_0565: Label48
IL_0565: ldloc.3
IL_0566: brfalse => Label49
IL_056B: ldarg.0
IL_056C: ldc.i4.0
IL_056D: call System.Void Verse.Pawn::DropAndForbidEverything(System.Boolean
keepInventoryAndEquipmentIfInBed)
IL_0572: Label49
IL_0572: ldloc.3
IL_0573: brfalse => Label50
IL_0578: ldarg.0
IL_0579: ldc.i4.0
IL_057A: callvirt abstract virtual System.Void
Verse.Entity::DeSpawn(Verse.DestroyMode mode)
IL_057F: Label50
IL_057F: ldarg.0
IL_0580: ldfld RimWorld.Pawn_RoyaltyTracker Verse.Pawn::royalty
IL_0585: brfalse => Label51
IL_058A: ldarg.0
IL_058B: ldfld RimWorld.Pawn_RoyaltyTracker Verse.Pawn::royalty
IL_0590: callvirt System.Void RimWorld.Pawn_RoyaltyTracker::Notify_PawnKilled()
IL_0595: Label51
IL_0595: ldnull
IL_0596: stloc.s 21 (Verse.Corpse)
IL_0598: ldarg.0
IL_0599: call static System.Boolean
Verse.PawnGenerator::IsBeingGenerated(Verse.Pawn pawn)
IL_059E: brtrue => Label52
IL_05A3: ldloc.s 12 (System.Boolean)
IL_05A5: brfalse => Label53
IL_05AA: ldarg.0
IL_05AB: ldloc.s 8 (RimWorld.Building_Grave)
IL_05AD: ldloc.s 9 (System.Boolean)
IL_05AF: ldloc.s 10 (System.Single)
IL_05B1: call Verse.Corpse Verse.Pawn::MakeCorpse(RimWorld.Building_Grave
assignedGrave, System.Boolean inBed, System.Single bedRotation)
IL_05B6: stloc.s 21 (Verse.Corpse)
IL_05B8: ldloc.s 11 (Verse.ThingOwner)
IL_05BA: ldloc.s 21 (Verse.Corpse)
IL_05BC: ldc.i4.1
IL_05BD: callvirt abstract virtual System.Boolean
Verse.ThingOwner::TryAdd(Verse.Thing item, System.Boolean
canMergeWithExistingStacks)
IL_05C2: brtrue => Label54
IL_05C7: ldloc.s 21 (Verse.Corpse)
IL_05C9: ldc.i4.0
IL_05CA: callvirt virtual System.Void Verse.Thing::Destroy(Verse.DestroyMode
mode)
IL_05CF: ldnull
IL_05D0: stloc.s 21 (Verse.Corpse)
IL_05D2: br => Label55
IL_05D7: Label53
IL_05D7: ldloc.s 4 (System.Boolean)
IL_05D9: brfalse => Label56
IL_05DE: ldarg.0
IL_05DF: ldfld Verse.ThingOwner Verse.Thing::holdingOwner
IL_05E4: brfalse => Label57
IL_05E9: ldarg.0
IL_05EA: ldfld Verse.ThingOwner Verse.Thing::holdingOwner
IL_05EF: ldarg.0
IL_05F0: callvirt abstract virtual System.Boolean
Verse.ThingOwner::Remove(Verse.Thing item)
IL_05F5: pop
IL_05F6: Label57
IL_05F6: ldarg.0
IL_05F7: ldloc.s 8 (RimWorld.Building_Grave)
IL_05F9: ldloc.s 9 (System.Boolean)
IL_05FB: ldloc.s 10 (System.Single)
IL_05FD: call Verse.Corpse Verse.Pawn::MakeCorpse(RimWorld.Building_Grave
assignedGrave, System.Boolean inBed, System.Single bedRotation)
IL_0602: stloc.s 21 (Verse.Corpse)
IL_0604: ldloc.s 21 (Verse.Corpse)
IL_0606: ldloc.0
IL_0607: ldloc.2
IL_0608: ldc.i4.0
IL_0609: ldnull
IL_060A: ldnull
IL_060B: ldloca.s 24 (Verse.Rot4)
IL_060D: initobj Verse.Rot4
IL_0613: ldloc.s 24 (Verse.Rot4)
IL_0615: call static System.Boolean Verse.GenPlace::TryPlaceThing(Verse.Thing
thing, Verse.IntVec3 center, Verse.Map map, Verse.ThingPlaceMode mode,
System.Action`2<Verse.Thing, System.Int32> placedAction,
System.Predicate`1<Verse.IntVec3> nearPlaceValidator, Verse.Rot4 rot)
IL_061A: brfalse => Label58
IL_061F: ldloc.s 21 (Verse.Corpse)
IL_0621: ldarg.0
IL_0622: call Verse.Rot4 Verse.Thing::get_Rotation()
IL_0627: callvirt System.Void Verse.Thing::set_Rotation(Verse.Rot4 value)
IL_062C: ldarg.0
IL_062D: ldarg.1
IL_062E: call static System.Boolean
RimWorld.HuntJobUtility::WasKilledByHunter(Verse.Pawn pawn,
System.Nullable`1<Verse.DamageInfo> dinfo)
IL_0633: brfalse => Label59
IL_0638: ldarga.s 1
IL_063A: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_063F: stloc.s 27 (Verse.DamageInfo)
IL_0641: ldloca.s 27 (Verse.DamageInfo)
IL_0643: call Verse.Thing Verse.DamageInfo::get_Instigator()
IL_0648: castclass Verse.Pawn
IL_064D: ldloc.s 21 (Verse.Corpse)
IL_064F: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_0654: ldarga.s 1
IL_0656: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_065B: stloc.s 27 (Verse.DamageInfo)
IL_065D: ldloca.s 27 (Verse.DamageInfo)
IL_065F: call Verse.Thing Verse.DamageInfo::get_Instigator()
IL_0664: castclass Verse.Pawn
IL_0669: callvirt Verse.AI.Job Verse.Pawn::get_CurJob()
IL_066E: ldc.i4.1
IL_066F: ldc.i4.m1
IL_0670: ldnull
IL_0671: ldc.i4.1
IL_0672: call static System.Boolean
Verse.AI.ReservationUtility::Reserve(Verse.Pawn p, Verse.LocalTargetInfo target,
Verse.AI.Job job, System.Int32 maxPawns, System.Int32 stackCount,
Verse.ReservationLayerDef layer, System.Boolean errorOnFailed)
IL_0677: pop
IL_0678: br => Label60
IL_067D: Label59
IL_067D: ldloc.s 13 (System.Boolean)
IL_067F: brtrue => Label61
IL_0684: ldloc.s 14 (System.Boolean)
IL_0686: brtrue => Label62
IL_068B: ldloc.s 21 (Verse.Corpse)
IL_068D: call static System.Void
RimWorld.ForbidUtility::SetForbiddenIfOutsideHomeArea(Verse.Thing t)
IL_0692: Label60
IL_0692: Label61
IL_0692: Label62
IL_0692: ldloc.s 17 (System.Single)
IL_0694: ldc.r4 0
IL_0699: ble.un => Label63
IL_069E: ldloc.s 21 (Verse.Corpse)
IL_06A0: callvirt virtual Verse.IntVec3 Verse.Thing::get_Position()
IL_06A5: ldloc.s 21 (Verse.Corpse)
IL_06A7: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_06AC: ldloc.s 17 (System.Single)
IL_06AE: call static System.Boolean
RimWorld.FireUtility::TryStartFireIn(Verse.IntVec3 c, Verse.Map map, System.Single
fireSize)
IL_06B3: pop
IL_06B4: br => Label64
IL_06B9: Label58
IL_06B9: ldloc.s 21 (Verse.Corpse)
IL_06BB: ldc.i4.0
IL_06BC: callvirt virtual System.Void Verse.Thing::Destroy(Verse.DestroyMode
mode)
IL_06C1: ldnull
IL_06C2: stloc.s 21 (Verse.Corpse)
IL_06C4: br => Label65
IL_06C9: Label56
IL_06C9: ldloc.s 7 (RimWorld.Planet.Caravan)
IL_06CB: brfalse => Label66
IL_06D0: ldloc.s 7 (RimWorld.Planet.Caravan)
IL_06D2: callvirt System.Boolean RimWorld.Planet.WorldObject::get_Spawned()
IL_06D7: brfalse => Label67
IL_06DC: ldarg.0
IL_06DD: ldloc.s 8 (RimWorld.Building_Grave)
IL_06DF: ldloc.s 9 (System.Boolean)
IL_06E1: ldloc.s 10 (System.Single)
IL_06E3: call Verse.Corpse Verse.Pawn::MakeCorpse(RimWorld.Building_Grave
assignedGrave, System.Boolean inBed, System.Single bedRotation)
IL_06E8: stloc.s 21 (Verse.Corpse)
IL_06EA: ldloc.s 7 (RimWorld.Planet.Caravan)
IL_06EC: ldloc.s 21 (Verse.Corpse)
IL_06EE: ldc.i4.1
IL_06EF: callvirt System.Void RimWorld.Planet.Caravan::AddPawnOrItem(Verse.Thing
thing, System.Boolean addCarriedPawnToWorldPawnsIfAny)
IL_06F4: br => Label68
IL_06F9: Label66
IL_06F9: Label67
IL_06F9: ldarg.0
IL_06FA: ldfld Verse.ThingOwner Verse.Thing::holdingOwner
IL_06FF: brtrue => Label69
IL_0704: ldarg.0
IL_0705: call static System.Boolean
RimWorld.Planet.WorldPawnsUtility::IsWorldPawn(Verse.Pawn p)
IL_070A: brfalse => Label70
IL_070F: Label69
IL_070F: ldarg.0
IL_0710: call static System.Void Verse.Corpse::PostCorpseDestroy(Verse.Pawn
pawn)
IL_0715: br => Label71
IL_071A: Label70
IL_071A: ldarg.0
IL_071B: ldloc.s 8 (RimWorld.Building_Grave)
IL_071D: ldloc.s 9 (System.Boolean)
IL_071F: ldloc.s 10 (System.Single)
IL_0721: call Verse.Corpse Verse.Pawn::MakeCorpse(RimWorld.Building_Grave
assignedGrave, System.Boolean inBed, System.Single bedRotation)
IL_0726: stloc.s 21 (Verse.Corpse)
IL_0728: Label52
IL_0728: Label54
IL_0728: Label55
IL_0728: Label63
IL_0728: Label64
IL_0728: Label65
IL_0728: Label68
IL_0728: Label71
IL_0728: ldloc.s 21 (Verse.Corpse)
IL_072A: brfalse => Label72
IL_072F: ldarg.0
IL_0730: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_0735: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
IL_073A: ldsfld Verse.HediffDef RimWorld.HediffDefOf::ToxicBuildup
IL_073F: ldc.i4.0
IL_0740: callvirt Verse.Hediff
Verse.HediffSet::GetFirstHediffOfDef(Verse.HediffDef def, System.Boolean
mustBeVisible)
IL_0745: stloc.s 32 (Verse.Hediff)
IL_0747: ldarg.0
IL_0748: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_074D: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
IL_0752: ldsfld Verse.HediffDef RimWorld.HediffDefOf::Scaria
IL_0757: ldc.i4.0
IL_0758: callvirt Verse.Hediff
Verse.HediffSet::GetFirstHediffOfDef(Verse.HediffDef def, System.Boolean
mustBeVisible)
IL_075D: stloc.s 33 (Verse.Hediff)
IL_075F: ldloc.s 21 (Verse.Corpse)
IL_0761: callvirt RimWorld.CompRottable Verse.ThingWithComps::GetComp()
IL_0766: stloc.s 34 (RimWorld.CompRottable)
IL_0768: ldloc.s 32 (Verse.Hediff)
IL_076A: brfalse => Label73
IL_076F: call static System.Single Verse.Rand::get_Value()
IL_0774: ldloc.s 32 (Verse.Hediff)
IL_0776: callvirt virtual System.Single Verse.Hediff::get_Severity()
IL_077B: bge.un => Label74
IL_0780: ldloc.s 34 (RimWorld.CompRottable)
IL_0782: brtrue => Label75
IL_0787: Label73
IL_0787: Label74
IL_0787: ldloc.s 33 (Verse.Hediff)
IL_0789: brfalse => Label76
IL_078E: call static RimWorld.Storyteller Verse.Find::get_Storyteller()
IL_0793: ldfld RimWorld.Difficulty RimWorld.Storyteller::difficulty
IL_0798: ldfld System.Single RimWorld.Difficulty::scariaRotChance
IL_079D: call static System.Boolean Verse.Rand::Chance(System.Single chance)
IL_07A2: brfalse => Label77
IL_07A7: Label75
IL_07A7: ldloc.s 34 (RimWorld.CompRottable)
IL_07A9: callvirt System.Void RimWorld.CompRottable::RotImmediately()
IL_07AE: Label72
IL_07AE: Label76
IL_07AE: Label77
IL_07AE: ldarg.0
IL_07AF: call System.Boolean Verse.Thing::get_Destroyed()
IL_07B4: brtrue => Label78
IL_07B9: ldarg.0
IL_07BA: ldc.i4.2
IL_07BB: callvirt virtual System.Void Verse.Thing::Destroy(Verse.DestroyMode
mode)
IL_07C0: Label78
IL_07C0: ldarg.0
IL_07C1: call static System.Void
RimWorld.PawnComponentsUtility::RemoveComponentsOnKilled(Verse.Pawn pawn)
IL_07C6: ldarg.0
IL_07C7: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_07CC: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
IL_07D1: callvirt System.Void Verse.HediffSet::DirtyCache()
IL_07D6: ldarg.0
IL_07D7: call static System.Void RimWorld.PortraitsCache::SetDirty(Verse.Pawn
pawn)
IL_07DC: ldarg.0
IL_07DD: call static System.Boolean
Verse.GlobalTextureAtlasManager::TryMarkPawnFrameSetDirty(Verse.Pawn pawn)
IL_07E2: pop
IL_07E3: ldarg.0
IL_07E4: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_07E9: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
IL_07EE: ldfld System.Collections.Generic.List`1<Verse.Hediff>
Verse.HediffSet::hediffs
IL_07F3: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.Hediff>::get_Count()
IL_07F8: ldc.i4.1
IL_07F9: sub
IL_07FA: stloc.s 35 (System.Int32)
IL_07FC: br => Label79
IL_0801: Label80
IL_0801: ldarg.0
IL_0802: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_0807: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
IL_080C: ldfld System.Collections.Generic.List`1<Verse.Hediff>
Verse.HediffSet::hediffs
IL_0811: ldloc.s 35 (System.Int32)
IL_0813: callvirt virtual Verse.Hediff
System.Collections.Generic.List`1<Verse.Hediff>::get_Item(System.Int32 index)
IL_0818: callvirt virtual System.Void Verse.Hediff::Notify_PawnDied()
IL_081D: ldloc.s 35 (System.Int32)
IL_081F: ldc.i4.1
IL_0820: sub
IL_0821: stloc.s 35 (System.Int32)
IL_0823: Label79
IL_0823: ldloc.s 35 (System.Int32)
IL_0825: ldc.i4.0
IL_0826: bge => Label80
IL_082B: ldarg.0
IL_082C: call RimWorld.Faction Verse.Pawn::get_HomeFaction()
IL_0831: stloc.s 22 (RimWorld.Faction)
IL_0833: ldloc.s 22 (RimWorld.Faction)
IL_0835: brfalse => Label81
IL_083A: ldloc.s 22 (RimWorld.Faction)
IL_083C: ldarg.0
IL_083D: ldarg.1
IL_083E: ldloc.s 5 (System.Boolean)
IL_0840: ldloc.s 6 (System.Nullable`1[System.Boolean])
IL_0842: stloc.s 23 (System.Nullable`1[System.Boolean])
IL_0844: ldc.i4.1
IL_0845: stloc.s 36 (System.Boolean)
IL_0847: ldloca.s 23 (System.Nullable`1[System.Boolean])
IL_0849: call System.Boolean
System.Nullable`1<System.Boolean>::GetValueOrDefault()
IL_084E: ldloc.s 36 (System.Boolean)
IL_0850: ceq
IL_0852: ldloca.s 23 (System.Nullable`1[System.Boolean])
IL_0854: call System.Boolean
System.Nullable`1<System.Boolean>::get_HasValue()
IL_0859: and
IL_085A: ldloc.2
IL_085B: callvirt System.Void RimWorld.Faction::Notify_MemberDied(Verse.Pawn
member, System.Nullable`1<Verse.DamageInfo> dinfo, System.Boolean wasWorldPawn,
System.Boolean wasGuilty, Verse.Map map)
IL_0860: Label81
IL_0860: ldloc.s 21 (Verse.Corpse)
IL_0862: brfalse => Label82
IL_0867: ldarg.0
IL_0868: call Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_086D: callvirt Verse.DeathActionWorker
Verse.RaceProperties::get_DeathActionWorker()
IL_0872: ldnull
IL_0873: cgt.un
IL_0875: ldloc.3
IL_0876: and
IL_0877: brfalse => Label83
IL_087C: ldarg.0
IL_087D: call Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_0882: callvirt Verse.DeathActionWorker
Verse.RaceProperties::get_DeathActionWorker()
IL_0887: ldloc.s 21 (Verse.Corpse)
IL_0889: callvirt abstract virtual System.Void
Verse.DeathActionWorker::PawnDied(Verse.Corpse corpse)
IL_088E: Label83
IL_088E: call static RimWorld.Scenario Verse.Find::get_Scenario()
IL_0893: brfalse => Label84
IL_0898: call static RimWorld.Scenario Verse.Find::get_Scenario()
IL_089D: ldloc.s 21 (Verse.Corpse)
IL_089F: callvirt System.Void RimWorld.Scenario::Notify_PawnDied(Verse.Corpse
corpse)
IL_08A4: Label82
IL_08A4: Label84
IL_08A4: ldarg.0
IL_08A5: call virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_08AA: brfalse => Label85
IL_08AF: ldarg.0
IL_08B0: call virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_08B5: callvirt System.Boolean RimWorld.Faction::get_IsPlayer()
IL_08BA: brfalse => Label86
IL_08BF: ldarg.0
IL_08C0: call static System.Void
RimWorld.BillUtility::Notify_ColonistUnavailable(Verse.Pawn pawn)
IL_08C5: Label85
IL_08C5: Label86
IL_08C5: ldloc.s 4 (System.Boolean)
IL_08C7: brfalse => Label87
IL_08CC: ldarg.0
IL_08CD: ldloc.2
IL_08CE: call static System.Void
RimWorld.GenHostility::Notify_PawnLostForTutor(Verse.Pawn pawn, Verse.Map map)
IL_08D3: Label87
IL_08D3: ldarg.0
IL_08D4: call virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_08D9: brfalse => Label88
IL_08DE: ldarg.0
IL_08DF: call virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_08E4: callvirt System.Boolean RimWorld.Faction::get_IsPlayer()
IL_08E9: brfalse => Label89
IL_08EE: call static Verse.ProgramState Verse.Current::get_ProgramState()
IL_08F3: ldc.i4.2
IL_08F4: bne.un => Label90
IL_08F9: call static RimWorld.ColonistBar Verse.Find::get_ColonistBar()
IL_08FE: callvirt System.Void RimWorld.ColonistBar::MarkColonistsDirty()
IL_0903: Label88
IL_0903: Label89
IL_0903: Label90
IL_0903: ldarg.0
IL_0904: ldfld RimWorld.Pawn_PsychicEntropyTracker Verse.Pawn::psychicEntropy
IL_0909: dup
IL_090A: brtrue => Label91
IL_090F: pop
IL_0910: br => Label92
IL_0915: Label91
IL_0915: call System.Void
RimWorld.Pawn_PsychicEntropyTracker::Notify_PawnDied()
IL_091A: Label92
IL_091A: nop
.try
{
IL_091B: ldarg.0
IL_091C: call RimWorld.Ideo Verse.Pawn::get_Ideo()
IL_0921: dup
IL_0922: brtrue => Label93
IL_0927: pop
IL_0928: br => Label94
IL_092D: Label93
IL_092D: ldarg.0
IL_092E: call System.Void RimWorld.Ideo::Notify_MemberDied(Verse.Pawn
member)
IL_0933: Label94
IL_0933: ldarg.0
IL_0934: call RimWorld.Ideo Verse.Pawn::get_Ideo()
IL_0939: dup
IL_093A: brtrue => Label95
IL_093F: pop
IL_0940: br => Label96
IL_0945: Label95
IL_0945: ldarg.0
IL_0946: ldloc.1
IL_0947: call System.Void RimWorld.Ideo::Notify_MemberLost(Verse.Pawn
member, Verse.Map map)
IL_094C: Label96
IL_094C: leave => Label97
IL_0951: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_0956: stloc.s 37 (System.Exception)
IL_0958: ldstr "Error while notifying ideo of pawn death: "
IL_095D: ldloc.s 37 (System.Exception)
IL_095F: call static System.String System.String::Concat(System.Object
arg0, System.Object arg1)
IL_0964: call static System.Void Verse.Log::Error(System.String text)
IL_0969: leave => Label98
IL_096E: leave => (autogenerated)
} // end handler
IL_0973: Label97
IL_0973: Label98
IL_0973: ldloc.s 16 (System.Boolean)
IL_0975: brfalse => Label99
IL_097A: ldarg.0
IL_097B: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_0980: ldarg.1
IL_0981: ldarg.2
IL_0982: ldloc.s 7 (RimWorld.Planet.Caravan)
IL_0984: callvirt System.Void
Verse.Pawn_HealthTracker::NotifyPlayerOfKilled(System.Nullable`1<Verse.DamageInfo>
dinfo, Verse.Hediff hediff, RimWorld.Planet.Caravan caravan)
IL_0989: Label99
IL_0989: call static RimWorld.QuestManager Verse.Find::get_QuestManager()
IL_098E: ldarg.0
IL_098F: ldarg.1
IL_0990: callvirt System.Void RimWorld.QuestManager::Notify_PawnKilled(Verse.Pawn
pawn, System.Nullable`1<Verse.DamageInfo> dinfo)
IL_0995: call static RimWorld.FactionManager Verse.Find::get_FactionManager()
IL_099A: ldarg.0
IL_099B: callvirt System.Void
RimWorld.FactionManager::Notify_PawnKilled(Verse.Pawn pawn)
IL_09A0: call static RimWorld.IdeoManager Verse.Find::get_IdeoManager()
IL_09A5: ldarg.0
IL_09A6: callvirt System.Void RimWorld.IdeoManager::Notify_PawnKilled(Verse.Pawn
pawn)
IL_09AB: // end original
IL_09AB: Label0
IL_09AB: ret
DONE

### Patch: System.Void Verse.ImmunityRecord::ImmunityTick(Verse.Pawn pawn,


System.Boolean sick, Verse.Hediff diseaseInstance)
### Replacement: static System.Void
Verse.ImmunityRecord::ImmunityTick_Patch1(Verse.ImmunityRecord this, Verse.Pawn
pawn, System.Boolean sick, Verse.Hediff diseaseInstance)
IL_0000: // start original
IL_0000: ldarg.0
IL_0001: ldarg.0
IL_0002: ldfld System.Single Verse.ImmunityRecord::immunity
IL_0007: ldarg.0
IL_0008: ldarg.1
IL_0009: ldarg.2
IL_000A: ldarg.3
IL_000B: call System.Single
Verse.ImmunityRecord::ImmunityChangePerTick(Verse.Pawn pawn, System.Boolean sick,
Verse.Hediff diseaseInstance)
IL_0010: add
IL_0011: stfld System.Single Verse.ImmunityRecord::immunity
IL_0016: ldarg.0
IL_0017: ldarg.0
IL_0018: ldfld System.Single Verse.ImmunityRecord::immunity
IL_001D: call static System.Single UnityEngine.Mathf::Clamp01(System.Single
value)
IL_0022: stfld System.Single Verse.ImmunityRecord::immunity
IL_0027: // end original
IL_0027: ldarg 1
IL_002B: ldarg 2
IL_002F: ldarg 3
IL_0033: ldarg.0
IL_0034: call static System.Void
AchievementsExpanded.AchievementHarmony::ImmunityTicking(Verse.Pawn pawn,
System.Boolean sick, Verse.Hediff diseaseInstance, Verse.ImmunityRecord __instance)
IL_0039: ret
DONE

### Patch: System.Void


RimWorld.StoryWatcher_PopAdaptation::Notify_PawnEvent(Verse.Pawn p,
RimWorld.PopAdaptationEvent ev)
### Replacement: static System.Void
RimWorld.StoryWatcher_PopAdaptation::Notify_PawnEvent_Patch1(RimWorld.StoryWatcher_
PopAdaptation this, Verse.Pawn p, RimWorld.PopAdaptationEvent ev)
IL_0000: // start original
IL_0000: ldarg.1
IL_0001: callvirt Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_0006: callvirt System.Boolean Verse.RaceProperties::get_Humanlike()
IL_000B: brtrue => Label0
IL_0010: br => Label3
IL_0015: Label0
IL_0015: ldsfld System.Boolean Verse.DebugViewSettings::writeStoryteller
IL_001A: brfalse => Label1
IL_001F: ldc.i4.4
IL_0020: newarr System.Object
IL_0025: dup
IL_0026: ldc.i4.0
IL_0027: ldstr "PopAdaptation event: "
IL_002C: stelem.ref
IL_002D: dup
IL_002E: ldc.i4.1
IL_002F: ldarg.2
IL_0030: box RimWorld.PopAdaptationEvent
IL_0035: stelem.ref
IL_0036: dup
IL_0037: ldc.i4.2
IL_0038: ldstr " - "
IL_003D: stelem.ref
IL_003E: dup
IL_003F: ldc.i4.3
IL_0040: ldarg.1
IL_0041: stelem.ref
IL_0042: call static System.String System.String::Concat(System.Object[]
args)
IL_0047: call static System.Void Verse.Log::Message(System.String text)
IL_004C: Label1
IL_004C: ldarg.2
IL_004D: brtrue => Label2
IL_0052: ldarg.0
IL_0053: ldc.r4 0
IL_0058: stfld System.Single RimWorld.StoryWatcher_PopAdaptation::adaptDays
IL_005D: // end original
IL_005D: Label2
IL_005D: Label3
IL_005D: ldarg 1
IL_0061: ldarg 2
IL_0065: call static System.Void
AchievementsExpanded.AchievementHarmony::PawnJoinedFaction(Verse.Pawn p,
RimWorld.PopAdaptationEvent ev)
IL_006A: ret
DONE

### Patch: System.Void RimWorld.Pawn_RecordsTracker::Increment(RimWorld.RecordDef


def)
### Replacement: static System.Void
RimWorld.Pawn_RecordsTracker::Increment_Patch1(RimWorld.Pawn_RecordsTracker this,
RimWorld.RecordDef def)
IL_0000: // start original
IL_0000: ldarg.1
IL_0001: ldfld RimWorld.RecordType RimWorld.RecordDef::type
IL_0006: ldc.i4.1
IL_0007: beq => Label0
IL_000C: ldc.i4.5
IL_000D: newarr System.Object
IL_0012: dup
IL_0013: ldc.i4.0
IL_0014: ldstr "Tried to increment record \""
IL_0019: stelem.ref
IL_001A: dup
IL_001B: ldc.i4.1
IL_001C: ldarg.1
IL_001D: ldfld System.String Verse.Def::defName
IL_0022: stelem.ref
IL_0023: dup
IL_0024: ldc.i4.2
IL_0025: ldstr "\" whose record type is \""
IL_002A: stelem.ref
IL_002B: dup
IL_002C: ldc.i4.3
IL_002D: ldarg.1
IL_002E: ldfld RimWorld.RecordType RimWorld.RecordDef::type
IL_0033: box RimWorld.RecordType
IL_0038: stelem.ref
IL_0039: dup
IL_003A: ldc.i4.4
IL_003B: ldstr "\"."
IL_0040: stelem.ref
IL_0041: call static System.String System.String::Concat(System.Object[]
args)
IL_0046: call static System.Void Verse.Log::Error(System.String text)
IL_004B: br => Label1
IL_0050: Label0
IL_0050: ldarg.0
IL_0051: ldfld Verse.DefMap`2<RimWorld.RecordDef, System.Single>
RimWorld.Pawn_RecordsTracker::records
IL_0056: ldarg.1
IL_0057: ldarg.0
IL_0058: ldfld Verse.DefMap`2<RimWorld.RecordDef, System.Single>
RimWorld.Pawn_RecordsTracker::records
IL_005D: ldarg.1
IL_005E: callvirt System.Single Verse.DefMap`2<RimWorld.RecordDef,
System.Single>::get_Item(RimWorld.RecordDef def)
IL_0063: ldc.r4 1
IL_0068: add
IL_0069: call static System.Single UnityEngine.Mathf::Round(System.Single f)
IL_006E: callvirt System.Void Verse.DefMap`2<RimWorld.RecordDef,
System.Single>::set_Item(RimWorld.RecordDef def, System.Single value)
IL_0073: // end original
IL_0073: Label1
IL_0073: ldarg 1
IL_0077: ldarg.0
IL_0078: call static System.Void
AchievementsExpanded.AchievementHarmony::RecordEvent(RimWorld.RecordDef def,
RimWorld.Pawn_RecordsTracker __instance)
IL_007D: ret
DONE

### Patch: System.Void RimWorld.Pawn_RecordsTracker::RecordsTickUpdate(System.Int32


interval)
### Replacement: static System.Void
RimWorld.Pawn_RecordsTracker::RecordsTickUpdate_Patch0(RimWorld.Pawn_RecordsTracker
this, System.Int32 interval)
IL_0000: Local var 0: System.Collections.Generic.List`1<RimWorld.RecordDef>
IL_0000: Local var 1: System.Int32
IL_0000: Local var 2: Verse.DefMap`2<RimWorld.RecordDef,System.Single>
IL_0000: Local var 3: RimWorld.RecordDef
IL_0000: // start original
IL_0000: call static System.Collections.Generic.List`1<RimWorld.RecordDef>
Verse.DefDatabase`1<RimWorld.RecordDef>::get_AllDefsListForReading()
IL_0005: stloc.0
IL_0006: ldc.i4.0
IL_0007: stloc.1
IL_0008: br => Label0
IL_000D: Label3
IL_000D: ldloc.0
IL_000E: ldloc.1
IL_000F: callvirt virtual RimWorld.RecordDef
System.Collections.Generic.List`1<RimWorld.RecordDef>::get_Item(System.Int32 index)
IL_0014: ldfld RimWorld.RecordType RimWorld.RecordDef::type
IL_0019: brtrue => Label1
IL_001E: ldloc.0
IL_001F: ldloc.1
IL_0020: callvirt virtual RimWorld.RecordDef
System.Collections.Generic.List`1<RimWorld.RecordDef>::get_Item(System.Int32 index)
IL_0025: callvirt RimWorld.RecordWorker RimWorld.RecordDef::get_Worker()
IL_002A: ldarg.0
IL_002B: ldfld Verse.Pawn RimWorld.Pawn_RecordsTracker::pawn
IL_0030: callvirt virtual System.Boolean
RimWorld.RecordWorker::ShouldMeasureTimeNow(Verse.Pawn pawn)
IL_0035: brfalse => Label2
IL_003A: ldarg.0
IL_003B: ldfld Verse.DefMap`2<RimWorld.RecordDef, System.Single>
RimWorld.Pawn_RecordsTracker::records
IL_0040: stloc.2
IL_0041: ldloc.0
IL_0042: ldloc.1
IL_0043: callvirt virtual RimWorld.RecordDef
System.Collections.Generic.List`1<RimWorld.RecordDef>::get_Item(System.Int32 index)
IL_0048: stloc.3
IL_0049: ldloc.3
IL_004A: ldarg.0
IL_004B: ldfld Verse.Pawn RimWorld.Pawn_RecordsTracker::pawn
IL_0050: ldarg.1
IL_0051: call static System.Void
AchievementsExpanded.UtilityMethods::RecordTimeEvent(RimWorld.RecordDef def,
Verse.Pawn pawn, System.Int32 interval)
IL_0056: ldloc.2
IL_0057: ldloc.3
IL_0058: ldloc.2
IL_0059: ldloc.3
IL_005A: callvirt System.Single Verse.DefMap`2<RimWorld.RecordDef,
System.Single>::get_Item(RimWorld.RecordDef def)
IL_005F: ldarg.1
IL_0060: conv.r4
IL_0061: add
IL_0062: callvirt System.Void Verse.DefMap`2<RimWorld.RecordDef,
System.Single>::set_Item(RimWorld.RecordDef def, System.Single value)
IL_0067: Label1
IL_0067: Label2
IL_0067: ldloc.1
IL_0068: ldc.i4.1
IL_0069: add
IL_006A: stloc.1
IL_006B: Label0
IL_006B: ldloc.1
IL_006C: ldloc.0
IL_006D: callvirt virtual System.Int32
System.Collections.Generic.List`1<RimWorld.RecordDef>::get_Count()
IL_0072: blt => Label3
IL_0077: // end original
IL_0077: ret
DONE

### Patch: static System.Boolean


RimWorld.Planet.SettlementDefeatUtility::IsDefeated(Verse.Map map, RimWorld.Faction
faction)
### Replacement: static System.Boolean
RimWorld.Planet.SettlementDefeatUtility::IsDefeated_Patch1(Verse.Map map,
RimWorld.Faction faction)
IL_0000: Local var 0: System.Collections.Generic.List`1<Verse.Pawn>
IL_0000: Local var 1: System.Int32
IL_0000: Local var 2: Verse.Pawn
IL_0000: Local var 3: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 3 (System.Boolean)
IL_0009: // start original
IL_0009: ldarg.0
IL_000A: ldfld Verse.MapPawns Verse.Map::mapPawns
IL_000F: ldarg.1
IL_0010: callvirt System.Collections.Generic.List`1<Verse.Pawn>
Verse.MapPawns::SpawnedPawnsInFaction(RimWorld.Faction faction)
IL_0015: stloc.0
IL_0016: ldc.i4.0
IL_0017: stloc.1
IL_0018: br => Label0
IL_001D: Label3
IL_001D: ldloc.0
IL_001E: ldloc.1
IL_001F: callvirt virtual Verse.Pawn
System.Collections.Generic.List`1<Verse.Pawn>::get_Item(System.Int32 index)
IL_0024: stloc.2
IL_0025: ldloc.2
IL_0026: callvirt Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_002B: callvirt System.Boolean Verse.RaceProperties::get_Humanlike()
IL_0030: brfalse => Label1
IL_0035: ldloc.2
IL_0036: call static System.Boolean
RimWorld.GenHostility::IsActiveThreatToPlayer(Verse.AI.IAttackTarget target)
IL_003B: brfalse => Label2
IL_0040: ldc.i4.0
IL_0041: br => Label4
IL_0046: Label1
IL_0046: Label2
IL_0046: ldloc.1
IL_0047: ldc.i4.1
IL_0048: add
IL_0049: stloc.1
IL_004A: Label0
IL_004A: ldloc.1
IL_004B: ldloc.0
IL_004C: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.Pawn>::get_Count()
IL_0051: blt => Label3
IL_0056: ldc.i4.1
IL_0057: // end original
IL_0057: Label4
IL_0057: stloc 3 (System.Boolean)
IL_005B: ldarg 0
IL_005F: ldarg 1
IL_0063: ldloca 3 (System.Boolean)
IL_0067: call static System.Void
AchievementsExpanded.AchievementHarmony::SettlementDefeatedEvent(Verse.Map map,
RimWorld.Faction faction, System.Boolean& __result)
IL_006C: ldloc 3 (System.Boolean)
IL_0070: ret
DONE

### Patch: System.Boolean RimWorld.TradeDeal::TryExecute(System.Boolean&


actuallyTraded)
### Replacement: static System.Boolean
RimWorld.TradeDeal::TryExecute_Patch1(RimWorld.TradeDeal this, System.Boolean&
actuallyTraded)
IL_0000: Local var 0: System.Single
IL_0000: Local var 1: Verse.Pawn
IL_0000: Local var 2: System.Int32
IL_0000: Local var 3: RimWorld.HistoryEvent
IL_0000: Local var 4: RimWorld.HistoryEvent
IL_0000: Local var 5:
System.Collections.Generic.List`1/Enumerator<RimWorld.Tradeable>
IL_0000: Local var 6: RimWorld.Tradeable
IL_0000: Local var 7: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 7 (System.Boolean)
IL_0009: // start original
IL_0009: ldsfld System.Boolean RimWorld.TradeSession::giftMode
IL_000E: brfalse => Label0
IL_0013: ldarg.0
IL_0014: call System.Void RimWorld.TradeDeal::UpdateCurrencyCount()
IL_0019: ldarg.0
IL_001A: call System.Void RimWorld.TradeDeal::LimitCurrencyCountToFunds()
IL_001F: ldarg.0
IL_0020: ldfld System.Collections.Generic.List`1<RimWorld.Tradeable>
RimWorld.TradeDeal::tradeables
IL_0025: ldsfld RimWorld.ITrader RimWorld.TradeSession::trader
IL_002A: callvirt abstract virtual RimWorld.Faction
RimWorld.ITrader::get_Faction()
IL_002F: call static System.Int32
RimWorld.Planet.FactionGiftUtility::GetGoodwillChange(System.Collections.Generic.Li
st`1<RimWorld.Tradeable> tradeables, RimWorld.Faction theirFaction)
IL_0034: stloc.2
IL_0035: ldarg.0
IL_0036: ldfld System.Collections.Generic.List`1<RimWorld.Tradeable>
RimWorld.TradeDeal::tradeables
IL_003B: ldsfld RimWorld.ITrader RimWorld.TradeSession::trader
IL_0040: callvirt abstract virtual RimWorld.Faction
RimWorld.ITrader::get_Faction()
IL_0045: ldsfld Verse.Pawn RimWorld.TradeSession::playerNegotiator
IL_004A: call static RimWorld.Planet.GlobalTargetInfo
RimWorld.Planet.GlobalTargetInfo::op_Implicit(Verse.Thing t)
IL_004F: call static System.Void
RimWorld.Planet.FactionGiftUtility::GiveGift(System.Collections.Generic.List`1<RimW
orld.Tradeable> tradeables, RimWorld.Faction giveTo,
RimWorld.Planet.GlobalTargetInfo lookTarget)
IL_0054: ldarg.1
IL_0055: ldloc.2
IL_0056: conv.r4
IL_0057: ldc.r4 0
IL_005C: cgt
IL_005E: stind.i1
IL_005F: ldc.i4.1
IL_0060: br => Label18
IL_0065: Label0
IL_0065: ldarg.0
IL_0066: call RimWorld.Tradeable RimWorld.TradeDeal::get_CurrencyTradeable()
IL_006B: brfalse => Label1
IL_0070: ldarg.0
IL_0071: call RimWorld.Tradeable RimWorld.TradeDeal::get_CurrencyTradeable()
IL_0076: ldc.i4.0
IL_0077: callvirt System.Int32
RimWorld.Tradeable::CountPostDealFor(RimWorld.Transactor trans)
IL_007C: ldc.i4.0
IL_007D: bge => Label2
IL_0082: Label1
IL_0082: call static Verse.WindowStack Verse.Find::get_WindowStack()
IL_0087: callvirt RimWorld.Dialog_Trade Verse.WindowStack::WindowOfType()
IL_008C: callvirt System.Void RimWorld.Dialog_Trade::FlashSilver()
IL_0091: ldstr "MessageColonyCannotAfford"
IL_0096: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_009B: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_00A0: ldsfld Verse.MessageTypeDef RimWorld.MessageTypeDefOf::RejectInput
IL_00A5: ldc.i4.0
IL_00A6: call static System.Void Verse.Messages::Message(System.String text,
Verse.MessageTypeDef def, System.Boolean historical)
IL_00AB: ldarg.1
IL_00AC: ldc.i4.0
IL_00AD: stind.i1
IL_00AE: ldc.i4.0
IL_00AF: br => Label19
IL_00B4: Label2
IL_00B4: call static System.Boolean Verse.ModsConfig::get_IdeologyActive()
IL_00B9: brfalse => Label3
IL_00BE: ldarg.0
IL_00BF: ldfld System.Collections.Generic.List`1<RimWorld.Tradeable>
RimWorld.TradeDeal::tradeables
IL_00C4: ldsfld System.Predicate`1<RimWorld.Tradeable> RimWorld.<>c::<>9__14_0
IL_00C9: dup
IL_00CA: brtrue => Label4
IL_00CF: pop
IL_00D0: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_00D5: ldftn System.Boolean
RimWorld.<>c::<TryExecute>b__14_0(RimWorld.Tradeable x)
IL_00DB: newobj System.Void
System.Predicate`1<RimWorld.Tradeable>::.ctor(System.Object object, System.IntPtr
method)
IL_00E0: dup
IL_00E1: stsfld System.Predicate`1<RimWorld.Tradeable> RimWorld.<>c::<>9__14_0
IL_00E6: Label4
IL_00E6: call static System.Boolean
Verse.GenCollection::Any(System.Collections.Generic.List`1<RimWorld.Tradeable>
list, System.Predicate`1<RimWorld.Tradeable> predicate)
IL_00EB: brfalse => Label5
IL_00F0: ldloca.s 3 (RimWorld.HistoryEvent)
IL_00F2: ldsfld RimWorld.HistoryEventDef
RimWorld.HistoryEventDefOf::TradedOrgan
IL_00F7: ldsfld Verse.Pawn RimWorld.TradeSession::playerNegotiator
IL_00FC: ldsfld System.String RimWorld.HistoryEventArgsNames::Doer
IL_0101: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_0106: call System.Void
RimWorld.HistoryEvent::.ctor(RimWorld.HistoryEventDef def, Verse.NamedArgument
arg1)
IL_010B: ldloc.3
IL_010C: ldstr "MessagePawnUnwillingToDoDueToIdeo"
IL_0111: call static System.Boolean
RimWorld.IdeoUtility::Notify_PawnAboutToDo(RimWorld.HistoryEvent ev, System.String
messageKey)
IL_0116: brtrue => Label6
IL_011B: ldarg.1
IL_011C: ldc.i4.0
IL_011D: stind.i1
IL_011E: ldc.i4.0
IL_011F: br => Label20
IL_0124: Label6
IL_0124: call static RimWorld.HistoryEventsManager
Verse.Find::get_HistoryEventsManager()
IL_0129: ldloc.3
IL_012A: ldc.i4.1
IL_012B: callvirt System.Void
RimWorld.HistoryEventsManager::RecordEvent(RimWorld.HistoryEvent historyEvent,
System.Boolean canApplySelfTookThoughts)
IL_0130: Label5
IL_0130: ldarg.0
IL_0131: ldfld System.Collections.Generic.List`1<RimWorld.Tradeable>
RimWorld.TradeDeal::tradeables
IL_0136: ldsfld System.Predicate`1<RimWorld.Tradeable> RimWorld.<>c::<>9__14_1
IL_013B: dup
IL_013C: brtrue => Label7
IL_0141: pop
IL_0142: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_0147: ldftn System.Boolean
RimWorld.<>c::<TryExecute>b__14_1(RimWorld.Tradeable x)
IL_014D: newobj System.Void
System.Predicate`1<RimWorld.Tradeable>::.ctor(System.Object object, System.IntPtr
method)
IL_0152: dup
IL_0153: stsfld System.Predicate`1<RimWorld.Tradeable> RimWorld.<>c::<>9__14_1
IL_0158: Label7
IL_0158: call static System.Boolean
Verse.GenCollection::Any(System.Collections.Generic.List`1<RimWorld.Tradeable>
list, System.Predicate`1<RimWorld.Tradeable> predicate)
IL_015D: brfalse => Label8
IL_0162: ldloca.s 4 (RimWorld.HistoryEvent)
IL_0164: ldsfld RimWorld.HistoryEventDef RimWorld.HistoryEventDefOf::SoldOrgan
IL_0169: ldsfld Verse.Pawn RimWorld.TradeSession::playerNegotiator
IL_016E: ldsfld System.String RimWorld.HistoryEventArgsNames::Doer
IL_0173: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_0178: call System.Void
RimWorld.HistoryEvent::.ctor(RimWorld.HistoryEventDef def, Verse.NamedArgument
arg1)
IL_017D: ldloc.s 4 (RimWorld.HistoryEvent)
IL_017F: ldstr "MessagePawnUnwillingToDoDueToIdeo"
IL_0184: call static System.Boolean
RimWorld.IdeoUtility::Notify_PawnAboutToDo(RimWorld.HistoryEvent ev, System.String
messageKey)
IL_0189: brtrue => Label9
IL_018E: ldarg.1
IL_018F: ldc.i4.0
IL_0190: stind.i1
IL_0191: ldc.i4.0
IL_0192: br => Label21
IL_0197: Label9
IL_0197: call static RimWorld.HistoryEventsManager
Verse.Find::get_HistoryEventsManager()
IL_019C: ldloc.s 4 (RimWorld.HistoryEvent)
IL_019E: ldc.i4.1
IL_019F: callvirt System.Void
RimWorld.HistoryEventsManager::RecordEvent(RimWorld.HistoryEvent historyEvent,
System.Boolean canApplySelfTookThoughts)
IL_01A4: Label3
IL_01A4: Label8
IL_01A4: ldarg.0
IL_01A5: call System.Void RimWorld.TradeDeal::UpdateCurrencyCount()
IL_01AA: ldarg.0
IL_01AB: call System.Void RimWorld.TradeDeal::LimitCurrencyCountToFunds()
IL_01B0: ldarg.1
IL_01B1: ldc.i4.0
IL_01B2: stind.i1
IL_01B3: ldc.r4 0
IL_01B8: stloc.0
IL_01B9: ldarg.0
IL_01BA: ldfld System.Collections.Generic.List`1<RimWorld.Tradeable>
RimWorld.TradeDeal::tradeables
IL_01BF: callvirt System.Collections.Generic.Enumerator<RimWorld.Tradeable>
System.Collections.Generic.List`1<RimWorld.Tradeable>::GetEnumerator()
IL_01C4: stloc.s 5
(System.Collections.Generic.List`1+Enumerator[RimWorld.Tradeable])
.try
{
IL_01C6: br => Label10
IL_01CB: Label13
IL_01CB: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[RimWorld.Tradeable])
IL_01CD: call virtual RimWorld.Tradeable
System.Collections.Generic.Enumerator<RimWorld.Tradeable>::get_Current()
IL_01D2: stloc.s 6 (RimWorld.Tradeable)
IL_01D4: ldloc.s 6 (RimWorld.Tradeable)
IL_01D6: callvirt RimWorld.TradeAction RimWorld.Tradeable::get_ActionToDo()
IL_01DB: brfalse => Label11
IL_01E0: ldarg.1
IL_01E1: ldc.i4.1
IL_01E2: stind.i1
IL_01E3: Label11
IL_01E3: ldloc.s 6 (RimWorld.Tradeable)
IL_01E5: callvirt RimWorld.TradeAction RimWorld.Tradeable::get_ActionToDo()
IL_01EA: ldc.i4.2
IL_01EB: bne.un => Label12
IL_01F0: ldloc.0
IL_01F1: ldloc.s 6 (RimWorld.Tradeable)
IL_01F3: callvirt System.Single
RimWorld.Tradeable::get_CurTotalCurrencyCostForDestination()
IL_01F8: add
IL_01F9: stloc.0
IL_01FA: Label12
IL_01FA: ldloc.s 6 (RimWorld.Tradeable)
IL_01FC: callvirt virtual System.Void RimWorld.Tradeable::ResolveTrade()
IL_0201: Label10
IL_0201: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[RimWorld.Tradeable])
IL_0203: call virtual System.Boolean
System.Collections.Generic.Enumerator<RimWorld.Tradeable>::MoveNext()
IL_0208: brtrue => Label13
IL_020D: leave => Label14
IL_0212: leave => (autogenerated)
} // end try
.finally
{
IL_0217: ldloca.s 5
(System.Collections.Generic.List`1+Enumerator[RimWorld.Tradeable])
IL_0219: constrained.
System.Collections.Generic.List`1+Enumerator[RimWorld.Tradeable]
IL_021F: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_0224: endfinally
IL_0225: leave => (autogenerated)
} // end handler
IL_0226: Label14
IL_0226: ldarg.0
IL_0227: call System.Void RimWorld.TradeDeal::Reset()
IL_022C: ldsfld RimWorld.ITrader RimWorld.TradeSession::trader
IL_0231: callvirt abstract virtual RimWorld.Faction
RimWorld.ITrader::get_Faction()
IL_0236: brfalse => Label15
IL_023B: ldsfld RimWorld.ITrader RimWorld.TradeSession::trader
IL_0240: callvirt abstract virtual RimWorld.Faction
RimWorld.ITrader::get_Faction()
IL_0245: ldloc.0
IL_0246: ldsfld Verse.Pawn RimWorld.TradeSession::playerNegotiator
IL_024B: callvirt System.Void RimWorld.Faction::Notify_PlayerTraded(System.Single
marketValueSentByPlayer, Verse.Pawn playerNegotiator)
IL_0250: Label15
IL_0250: ldsfld RimWorld.ITrader RimWorld.TradeSession::trader
IL_0255: isinst Verse.Pawn
IL_025A: stloc.1
IL_025B: ldloc.1
IL_025C: brfalse => Label16
IL_0261: ldsfld RimWorld.TaleDef RimWorld.TaleDefOf::TradedWith
IL_0266: ldc.i4.2
IL_0267: newarr System.Object
IL_026C: dup
IL_026D: ldc.i4.0
IL_026E: ldsfld Verse.Pawn RimWorld.TradeSession::playerNegotiator
IL_0273: stelem.ref
IL_0274: dup
IL_0275: ldc.i4.1
IL_0276: ldloc.1
IL_0277: stelem.ref
IL_0278: call static RimWorld.Tale
RimWorld.TaleRecorder::RecordTale(RimWorld.TaleDef def, System.Object[] args)
IL_027D: pop
IL_027E: Label16
IL_027E: ldarg.1
IL_027F: ldind.u1
IL_0280: brfalse => Label17
IL_0285: ldsfld Verse.Pawn RimWorld.TradeSession::playerNegotiator
IL_028A: ldfld Verse.AI.Pawn_MindState Verse.Pawn::mindState
IL_028F: ldfld RimWorld.InspirationHandler
Verse.AI.Pawn_MindState::inspirationHandler
IL_0294: ldsfld RimWorld.InspirationDef
RimWorld.InspirationDefOf::Inspired_Trade
IL_0299: callvirt System.Void
RimWorld.InspirationHandler::EndInspiration(RimWorld.InspirationDef inspirationDef)
IL_029E: Label17
IL_029E: ldc.i4.1
IL_029F: // end original
IL_029F: Label18
IL_029F: Label19
IL_029F: Label20
IL_029F: Label21
IL_029F: stloc 7 (System.Boolean)
IL_02A3: ldloc 7 (System.Boolean)
IL_02A7: ldarg.0
IL_02A8: ldfld System.Collections.Generic.List`1<RimWorld.Tradeable>
RimWorld.TradeDeal::tradeables
IL_02AD: call static System.Void
AchievementsExpanded.AchievementHarmony::TradeDealComplete(System.Boolean __result,
System.Collections.Generic.List`1<RimWorld.Tradeable> ___tradeables)
IL_02B2: ldloc 7 (System.Boolean)
IL_02B6: ret
DONE

### Patch: static Verse.Thing Verse.GenSpawn::Spawn(Verse.Thing newThing,


Verse.IntVec3 loc, Verse.Map map, Verse.Rot4 rot, Verse.WipeMode wipeMode,
System.Boolean respawningAfterLoad)
### Replacement: static Verse.Thing Verse.GenSpawn::Spawn_Patch1(Verse.Thing
newThing, Verse.IntVec3 loc, Verse.Map map, Verse.Rot4 rot, Verse.WipeMode
wipeMode, System.Boolean respawningAfterLoad)
IL_0000: Local var 0: Verse.GenSpawn/<>c__DisplayClass2_0
IL_0000: Local var 1: Verse.CellRect/Enumerator
IL_0000: Local var 2: Verse.IntVec3
IL_0000: Local var 3: System.Collections.Generic.List`1/Enumerator<Verse.Thing>
IL_0000: Local var 4: Verse.Thing
IL_0000: Local var 5: System.Predicate`1<Verse.IntVec3>
IL_0000: Local var 6: Verse.Rot4
IL_0000: Local var 7: Verse.Thing
IL_0000: Local var 8: Verse.Pawn
IL_0000: Local var 9: Verse.Thing
IL_0000: ldnull
IL_0001: stloc 9 (Verse.Thing)
IL_0005: // start original
IL_0005: newobj System.Void Verse.<>c__DisplayClass2_0::.ctor()
IL_000A: stloc.0
IL_000B: ldarg.2
IL_000C: brtrue => Label0
IL_0011: ldstr "Tried to spawn "
IL_0016: ldarg.0
IL_0017: call static System.String Verse.Gen::ToStringSafe(Verse.Thing obj)
IL_001C: ldstr " in a null map."
IL_0021: call static System.String System.String::Concat(System.String str0,
System.String str1, System.String str2)
IL_0026: call static System.Void Verse.Log::Error(System.String text)
IL_002B: ldnull
IL_002C: br => Label33
IL_0031: Label0
IL_0031: ldarg.1
IL_0032: ldarg.2
IL_0033: call static System.Boolean Verse.GenGrid::InBounds(Verse.IntVec3 c,
Verse.Map map)
IL_0038: brtrue => Label1
IL_003D: ldc.i4.5
IL_003E: newarr System.Object
IL_0043: dup
IL_0044: ldc.i4.0
IL_0045: ldstr "Tried to spawn "
IL_004A: stelem.ref
IL_004B: dup
IL_004C: ldc.i4.1
IL_004D: ldarg.0
IL_004E: call static System.String Verse.Gen::ToStringSafe(Verse.Thing obj)
IL_0053: stelem.ref
IL_0054: dup
IL_0055: ldc.i4.2
IL_0056: ldstr " out of bounds at "
IL_005B: stelem.ref
IL_005C: dup
IL_005D: ldc.i4.3
IL_005E: ldarg.1
IL_005F: box Verse.IntVec3
IL_0064: stelem.ref
IL_0065: dup
IL_0066: ldc.i4.4
IL_0067: ldstr "."
IL_006C: stelem.ref
IL_006D: call static System.String System.String::Concat(System.Object[]
args)
IL_0072: call static System.Void Verse.Log::Error(System.String text)
IL_0077: ldnull
IL_0078: br => Label34
IL_007D: Label1
IL_007D: ldarg.0
IL_007E: ldfld Verse.ThingDef Verse.Thing::def
IL_0083: ldfld System.Boolean Verse.ThingDef::randomizeRotationOnSpawn
IL_0088: brfalse => Label2
IL_008D: call static Verse.Rot4 Verse.Rot4::get_Random()
IL_0092: starg.s 3
IL_0094: Label2
IL_0094: ldloc.0
IL_0095: ldarg.1
IL_0096: ldarg.3
IL_0097: ldarg.0
IL_0098: ldfld Verse.ThingDef Verse.Thing::def
IL_009D: callvirt virtual Verse.IntVec2 Verse.BuildableDef::get_Size()
IL_00A2: call static Verse.CellRect Verse.GenAdj::OccupiedRect(Verse.IntVec3
center, Verse.Rot4 rot, Verse.IntVec2 size)
IL_00A7: stfld Verse.CellRect Verse.<>c__DisplayClass2_0::occupiedRect
IL_00AC: ldloc.0
IL_00AD: ldflda Verse.CellRect Verse.<>c__DisplayClass2_0::occupiedRect
IL_00B2: ldarg.2
IL_00B3: call System.Boolean Verse.CellRect::InBounds(Verse.Map map)
IL_00B8: brtrue => Label3
IL_00BD: ldc.i4.7
IL_00BE: newarr System.Object
IL_00C3: dup
IL_00C4: ldc.i4.0
IL_00C5: ldstr "Tried to spawn "
IL_00CA: stelem.ref
IL_00CB: dup
IL_00CC: ldc.i4.1
IL_00CD: ldarg.0
IL_00CE: call static System.String Verse.Gen::ToStringSafe(Verse.Thing obj)
IL_00D3: stelem.ref
IL_00D4: dup
IL_00D5: ldc.i4.2
IL_00D6: ldstr " out of bounds at "
IL_00DB: stelem.ref
IL_00DC: dup
IL_00DD: ldc.i4.3
IL_00DE: ldarg.1
IL_00DF: box Verse.IntVec3
IL_00E4: stelem.ref
IL_00E5: dup
IL_00E6: ldc.i4.4
IL_00E7: ldstr " (out of bounds because size is "
IL_00EC: stelem.ref
IL_00ED: dup
IL_00EE: ldc.i4.5
IL_00EF: ldarg.0
IL_00F0: ldfld Verse.ThingDef Verse.Thing::def
IL_00F5: callvirt virtual Verse.IntVec2 Verse.BuildableDef::get_Size()
IL_00FA: box Verse.IntVec2
IL_00FF: stelem.ref
IL_0100: dup
IL_0101: ldc.i4.6
IL_0102: ldstr ")."
IL_0107: stelem.ref
IL_0108: call static System.String System.String::Concat(System.Object[]
args)
IL_010D: call static System.Void Verse.Log::Error(System.String text)
IL_0112: ldnull
IL_0113: br => Label35
IL_0118: Label3
IL_0118: ldarg.0
IL_0119: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_011E: brfalse => Label4
IL_0123: ldstr "Tried to spawn "
IL_0128: ldarg.0
IL_0129: ldstr " but it\'s already spawned."
IL_012E: call static System.String System.String::Concat(System.Object arg0,
System.Object arg1, System.Object arg2)
IL_0133: call static System.Void Verse.Log::Error(System.String text)
IL_0138: ldarg.0
IL_0139: br => Label36
IL_013E: Label4
IL_013E: ldarg.s 4
IL_0140: brtrue => Label5
IL_0145: ldarg.1
IL_0146: ldarg.3
IL_0147: ldarg.0
IL_0148: ldfld Verse.ThingDef Verse.Thing::def
IL_014D: ldarg.2
IL_014E: ldc.i4.0
IL_014F: call static System.Void
Verse.GenSpawn::WipeExistingThings(Verse.IntVec3 thingPos, Verse.Rot4 thingRot,
Verse.BuildableDef thingDef, Verse.Map map, Verse.DestroyMode mode)
IL_0154: br => Label6
IL_0159: Label5
IL_0159: ldarg.s 4
IL_015B: ldc.i4.1
IL_015C: bne.un => Label7
IL_0161: ldarg.1
IL_0162: ldarg.3
IL_0163: ldarg.0
IL_0164: ldfld Verse.ThingDef Verse.Thing::def
IL_0169: ldarg.2
IL_016A: call static System.Void
Verse.GenSpawn::WipeAndRefundExistingThings(Verse.IntVec3 thingPos, Verse.Rot4
thingRot, Verse.BuildableDef thingDef, Verse.Map map)
IL_016F: br => Label8
IL_0174: Label7
IL_0174: ldarg.s 4
IL_0176: ldc.i4.2
IL_0177: bne.un => Label9
IL_017C: ldarg.1
IL_017D: ldarg.3
IL_017E: ldarg.0
IL_017F: ldfld Verse.ThingDef Verse.Thing::def
IL_0184: ldarg.2
IL_0185: call static System.Void
Verse.GenSpawn::CheckMoveItemsAside(Verse.IntVec3 thingPos, Verse.Rot4 thingRot,
Verse.ThingDef thingDef, Verse.Map map)
IL_018A: ldarg.1
IL_018B: ldarg.3
IL_018C: ldarg.0
IL_018D: ldfld Verse.ThingDef Verse.Thing::def
IL_0192: ldarg.2
IL_0193: ldc.i4.0
IL_0194: call static System.Void
Verse.GenSpawn::WipeExistingThings(Verse.IntVec3 thingPos, Verse.Rot4 thingRot,
Verse.BuildableDef thingDef, Verse.Map map, Verse.DestroyMode mode)
IL_0199: Label6
IL_0199: Label8
IL_0199: Label9
IL_0199: ldarg.0
IL_019A: ldfld Verse.ThingDef Verse.Thing::def
IL_019F: ldfld Verse.ThingCategory Verse.ThingDef::category
IL_01A4: ldc.i4.2
IL_01A5: bne.un => Label10
IL_01AA: ldloc.0
IL_01AB: ldflda Verse.CellRect Verse.<>c__DisplayClass2_0::occupiedRect
IL_01B0: call Verse.Enumerator Verse.CellRect::GetEnumerator()
IL_01B5: stloc.1
.try
{
IL_01B6: br => Label11
IL_01BB: Label19
IL_01BB: ldloca.s 1 (Verse.CellRect+Enumerator)
IL_01BD: call virtual Verse.IntVec3 Verse.Enumerator::get_Current()
IL_01C2: stloc.2
IL_01C3: ldloc.2
IL_01C4: ldarg.2
IL_01C5: call static System.Collections.Generic.List`1<Verse.Thing>
Verse.GridsUtility::GetThingList(Verse.IntVec3 c, Verse.Map map)
IL_01CA: call static System.Collections.Generic.List`1<Verse.Thing>
System.Linq.Enumerable::ToList(System.Collections.Generic.IEnumerable`1<Verse.Thing
> source)
IL_01CF: callvirt System.Collections.Generic.Enumerator<Verse.Thing>
System.Collections.Generic.List`1<Verse.Thing>::GetEnumerator()
IL_01D4: stloc.3
.try
{
IL_01D5: br => Label12
IL_01DA: Label17
IL_01DA: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_01DC: call virtual Verse.Thing
System.Collections.Generic.Enumerator<Verse.Thing>::get_Current()
IL_01E1: stloc.s 4 (Verse.Thing)
IL_01E3: ldloc.s 4 (Verse.Thing)
IL_01E5: ldarg.0
IL_01E6: beq => Label13
IL_01EB: ldloc.s 4 (Verse.Thing)
IL_01ED: ldfld Verse.ThingDef Verse.Thing::def
IL_01F2: ldfld Verse.ThingCategory Verse.ThingDef::category
IL_01F7: ldc.i4.2
IL_01F8: bne.un => Label14
IL_01FD: ldloc.s 4 (Verse.Thing)
IL_01FF: ldc.i4.0
IL_0200: callvirt abstract virtual System.Void
Verse.Entity::DeSpawn(Verse.DestroyMode mode)
IL_0205: ldloc.s 4 (Verse.Thing)
IL_0207: ldloc.2
IL_0208: ldarg.2
IL_0209: ldc.i4.1
IL_020A: ldnull
IL_020B: ldloc.0
IL_020C: ldfld System.Predicate`1<Verse.IntVec3>
Verse.<>c__DisplayClass2_0::<>9__0
IL_0211: dup
IL_0212: brtrue => Label15
IL_0217: pop
IL_0218: ldloc.0
IL_0219: ldloc.0
IL_021A: ldftn System.Boolean
Verse.<>c__DisplayClass2_0::<Spawn>b__0(Verse.IntVec3 x)
IL_0220: newobj System.Void
System.Predicate`1<Verse.IntVec3>::.ctor(System.Object object, System.IntPtr
method)
IL_0225: dup
IL_0226: stloc.s 5 (System.Predicate`1[Verse.IntVec3])
IL_0228: stfld System.Predicate`1<Verse.IntVec3>
Verse.<>c__DisplayClass2_0::<>9__0
IL_022D: ldloc.s 5 (System.Predicate`1[Verse.IntVec3])
IL_022F: Label15
IL_022F: ldloca.s 6 (Verse.Rot4)
IL_0231: initobj Verse.Rot4
IL_0237: ldloc.s 6 (Verse.Rot4)
IL_0239: call static System.Boolean
Verse.GenPlace::TryPlaceThing(Verse.Thing thing, Verse.IntVec3 center, Verse.Map
map, Verse.ThingPlaceMode mode, System.Action`2<Verse.Thing, System.Int32>
placedAction, System.Predicate`1<Verse.IntVec3> nearPlaceValidator, Verse.Rot4 rot)
IL_023E: brtrue => Label16
IL_0243: ldloc.s 4 (Verse.Thing)
IL_0245: ldc.i4.0
IL_0246: callvirt virtual System.Void
Verse.Thing::Destroy(Verse.DestroyMode mode)
IL_024B: Label12
IL_024B: Label13
IL_024B: Label14
IL_024B: Label16
IL_024B: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_024D: call virtual System.Boolean
System.Collections.Generic.Enumerator<Verse.Thing>::MoveNext()
IL_0252: brtrue => Label17
IL_0257: leave => Label18
IL_025C: leave => (autogenerated)
} // end try
.finally
{
IL_0261: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_0263: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
IL_0269: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_026E: endfinally
IL_026F: leave => (autogenerated)
} // end handler
IL_0270: Label11
IL_0270: Label18
IL_0270: ldloca.s 1 (Verse.CellRect+Enumerator)
IL_0272: call virtual System.Boolean Verse.Enumerator::MoveNext()
IL_0277: brtrue => Label19
IL_027C: leave => Label20
IL_0281: leave => (autogenerated)
} // end try
.finally
{
IL_0286: ldloca.s 1 (Verse.CellRect+Enumerator)
IL_0288: constrained. Verse.CellRect+Enumerator
IL_028E: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_0293: endfinally
IL_0294: leave => (autogenerated)
} // end handler
IL_0295: Label10
IL_0295: Label20
IL_0295: ldarg.0
IL_0296: ldarg.3
IL_0297: callvirt System.Void Verse.Thing::set_Rotation(Verse.Rot4 value)
IL_029C: ldarg.0
IL_029D: ldarg.1
IL_029E: callvirt System.Void Verse.Thing::set_Position(Verse.IntVec3 value)
IL_02A3: ldarg.0
IL_02A4: ldfld Verse.ThingOwner Verse.Thing::holdingOwner
IL_02A9: brfalse => Label21
IL_02AE: ldarg.0
IL_02AF: ldfld Verse.ThingOwner Verse.Thing::holdingOwner
IL_02B4: ldarg.0
IL_02B5: callvirt abstract virtual System.Boolean
Verse.ThingOwner::Remove(Verse.Thing item)
IL_02BA: pop
IL_02BB: Label21
IL_02BB: ldarg.0
IL_02BC: ldarg.2
IL_02BD: ldarg.s 5
IL_02BF: callvirt abstract virtual System.Void Verse.Entity::SpawnSetup(Verse.Map
map, System.Boolean respawningAfterLoad)
IL_02C4: ldarg.0
IL_02C5: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_02CA: brfalse => Label22
IL_02CF: ldarg.0
IL_02D0: ldfld System.Int32 Verse.Thing::stackCount
IL_02D5: brtrue => Label23
IL_02DA: ldstr "Spawned thing with 0 stackCount: "
IL_02DF: ldarg.0
IL_02E0: call static System.String System.String::Concat(System.Object arg0,
System.Object arg1)
IL_02E5: call static System.Void Verse.Log::Error(System.String text)
IL_02EA: ldarg.0
IL_02EB: ldc.i4.0
IL_02EC: callvirt virtual System.Void Verse.Thing::Destroy(Verse.DestroyMode
mode)
IL_02F1: ldnull
IL_02F2: br => Label45
IL_02F7: Label22
IL_02F7: Label23
IL_02F7: ldarg.0
IL_02F8: ldfld Verse.ThingDef Verse.Thing::def
IL_02FD: ldfld Verse.Traversability Verse.BuildableDef::passability
IL_0302: ldc.i4.2
IL_0303: bne.un => Label24
IL_0308: ldloc.0
IL_0309: ldflda Verse.CellRect Verse.<>c__DisplayClass2_0::occupiedRect
IL_030E: call Verse.Enumerator Verse.CellRect::GetEnumerator()
IL_0313: stloc.1
.try
{
IL_0314: br => Label25
IL_0319: Label31
IL_0319: ldloca.s 1 (Verse.CellRect+Enumerator)
IL_031B: call virtual Verse.IntVec3 Verse.Enumerator::get_Current()
IL_0320: ldarg.2
IL_0321: call static System.Collections.Generic.List`1<Verse.Thing>
Verse.GridsUtility::GetThingList(Verse.IntVec3 c, Verse.Map map)
IL_0326: call static System.Collections.Generic.List`1<Verse.Thing>
System.Linq.Enumerable::ToList(System.Collections.Generic.IEnumerable`1<Verse.Thing
> source)
IL_032B: callvirt System.Collections.Generic.Enumerator<Verse.Thing>
System.Collections.Generic.List`1<Verse.Thing>::GetEnumerator()
IL_0330: stloc.3
.try
{
IL_0331: br => Label26
IL_0336: Label29
IL_0336: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_0338: call virtual Verse.Thing
System.Collections.Generic.Enumerator<Verse.Thing>::get_Current()
IL_033D: stloc.s 7 (Verse.Thing)
IL_033F: ldloc.s 7 (Verse.Thing)
IL_0341: ldarg.0
IL_0342: beq => Label27
IL_0347: ldloc.s 7 (Verse.Thing)
IL_0349: isinst Verse.Pawn
IL_034E: stloc.s 8 (Verse.Pawn)
IL_0350: ldloc.s 8 (Verse.Pawn)
IL_0352: brfalse => Label28
IL_0357: ldloc.s 8 (Verse.Pawn)
IL_0359: ldfld Verse.AI.Pawn_PathFollower Verse.Pawn::pather
IL_035E: ldc.i4.0
IL_035F: callvirt System.Boolean
Verse.AI.Pawn_PathFollower::TryRecoverFromUnwalkablePosition(System.Boolean error)
IL_0364: pop
IL_0365: Label26
IL_0365: Label27
IL_0365: Label28
IL_0365: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_0367: call virtual System.Boolean
System.Collections.Generic.Enumerator<Verse.Thing>::MoveNext()
IL_036C: brtrue => Label29
IL_0371: leave => Label30
IL_0376: leave => (autogenerated)
} // end try
.finally
{
IL_037B: ldloca.s 3
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_037D: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
IL_0383: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_0388: endfinally
IL_0389: leave => (autogenerated)
} // end handler
IL_038A: Label25
IL_038A: Label30
IL_038A: ldloca.s 1 (Verse.CellRect+Enumerator)
IL_038C: call virtual System.Boolean Verse.Enumerator::MoveNext()
IL_0391: brtrue => Label31
IL_0396: leave => Label32
IL_039B: leave => (autogenerated)
} // end try
.finally
{
IL_03A0: ldloca.s 1 (Verse.CellRect+Enumerator)
IL_03A2: constrained. Verse.CellRect+Enumerator
IL_03A8: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_03AD: endfinally
IL_03AE: leave => (autogenerated)
} // end handler
IL_03AF: Label24
IL_03AF: Label32
IL_03AF: ldarg.0
IL_03B0: // end original
IL_03B0: Label33
IL_03B0: Label34
IL_03B0: Label35
IL_03B0: Label36
IL_03B0: Label45
IL_03B0: stloc 9 (Verse.Thing)
IL_03B4: ldarg 0
IL_03B8: ldarg 1
IL_03BC: ldarg 2
IL_03C0: ldarg 3
IL_03C4: ldarg 4
IL_03C8: ldarg 5
IL_03CC: call static System.Void
AchievementsExpanded.AchievementHarmony::ThingBuildingSpawned(Verse.Thing newThing,
Verse.IntVec3 loc, Verse.Map map, Verse.Rot4 rot, Verse.WipeMode wipeMode,
System.Boolean respawningAfterLoad)
IL_03D1: ldloc 9 (Verse.Thing)
IL_03D5: ret
DONE

### Patch: virtual System.Boolean Verse.Hediff::CauseDeathNow()


### Replacement: static System.Boolean
Verse.Hediff::CauseDeathNow_Patch1(Verse.Hediff this)
IL_0000: Local var 0: System.Boolean
IL_0000: Local var 1: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 1 (System.Boolean)
IL_0009: // start original
IL_0009: ldarg.0
IL_000A: ldfld Verse.HediffDef Verse.Hediff::def
IL_000F: ldfld System.Single Verse.HediffDef::lethalSeverity
IL_0014: ldc.r4 0
IL_0019: blt.un => Label0
IL_001E: ldarg.0
IL_001F: callvirt virtual System.Single Verse.Hediff::get_Severity()
IL_0024: ldarg.0
IL_0025: ldfld Verse.HediffDef Verse.Hediff::def
IL_002A: ldfld System.Single Verse.HediffDef::lethalSeverity
IL_002F: clt.un
IL_0031: ldc.i4.0
IL_0032: ceq
IL_0034: stloc.0
IL_0035: ldloc.0
IL_0036: brfalse => Label1
IL_003B: ldsfld System.Boolean Verse.DebugViewSettings::logCauseOfDeath
IL_0040: brfalse => Label2
IL_0045: ldc.i4.4
IL_0046: newarr System.Object
IL_004B: dup
IL_004C: ldc.i4.0
IL_004D: ldstr "CauseOfDeath: lethal severity exceeded "
IL_0052: stelem.ref
IL_0053: dup
IL_0054: ldc.i4.1
IL_0055: ldarg.0
IL_0056: callvirt virtual System.Single Verse.Hediff::get_Severity()
IL_005B: box System.Single
IL_0060: stelem.ref
IL_0061: dup
IL_0062: ldc.i4.2
IL_0063: ldstr " >= "
IL_0068: stelem.ref
IL_0069: dup
IL_006A: ldc.i4.3
IL_006B: ldarg.0
IL_006C: ldfld Verse.HediffDef Verse.Hediff::def
IL_0071: ldfld System.Single Verse.HediffDef::lethalSeverity
IL_0076: box System.Single
IL_007B: stelem.ref
IL_007C: call static System.String System.String::Concat(System.Object[]
args)
IL_0081: call static System.Void Verse.Log::Message(System.String text)
IL_0086: Label1
IL_0086: Label2
IL_0086: ldloc.0
IL_0087: br => Label3
IL_008C: Label0
IL_008C: ldc.i4.0
IL_008D: // end original
IL_008D: Label3
IL_008D: stloc 1 (System.Boolean)
IL_0091: ldarg.0
IL_0092: ldloca 1 (System.Boolean)
IL_0096: call static System.Void
AchievementsExpanded.AchievementHarmony::HediffDeathEvent(Verse.Hediff __instance,
System.Boolean& __result)
IL_009B: ldloc 1 (System.Boolean)
IL_009F: ret
DONE

### Patch: System.Void Verse.Pawn_HealthTracker::AddHediff(Verse.Hediff hediff,


Verse.BodyPartRecord part, System.Nullable`1<Verse.DamageInfo> dinfo,
Verse.DamageResult result)
### Replacement: static System.Void
Verse.Pawn_HealthTracker::AddHediff_Patch1(Verse.Pawn_HealthTracker this,
Verse.Hediff hediff, Verse.BodyPartRecord part, System.Nullable`1<Verse.DamageInfo>
dinfo, Verse.DamageResult result)
IL_0000: Local var 0: System.Int32
IL_0000: Local var 1: RimWorld.HediffGiverSetDef
IL_0000: Local var 2: System.Int32
IL_0000: // start original
IL_0000: ldarg.2
IL_0001: brfalse => Label0
IL_0006: ldarg.1
IL_0007: ldarg.2
IL_0008: callvirt System.Void Verse.Hediff::set_Part(Verse.BodyPartRecord value)
IL_000D: Label0
IL_000D: ldarg.0
IL_000E: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
IL_0013: ldarg.1
IL_0014: ldarg.3
IL_0015: ldarg.s 4
IL_0017: callvirt System.Void Verse.HediffSet::AddDirect(Verse.Hediff hediff,
System.Nullable`1<Verse.DamageInfo> dinfo, Verse.DamageResult damageResult)
IL_001C: ldarg.0
IL_001D: ldarg.3
IL_001E: ldarg.1
IL_001F: call System.Void
Verse.Pawn_HealthTracker::CheckForStateChange(System.Nullable`1<Verse.DamageInfo>
dinfo, Verse.Hediff hediff)
IL_0024: ldarg.0
IL_0025: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_002A: callvirt Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_002F: ldfld System.Collections.Generic.List`1<RimWorld.HediffGiverSetDef>
Verse.RaceProperties::hediffGiverSets
IL_0034: brfalse => Label1
IL_0039: ldc.i4.0
IL_003A: stloc.0
IL_003B: br => Label2
IL_0040: Label5
IL_0040: ldarg.0
IL_0041: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0046: callvirt Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_004B: ldfld System.Collections.Generic.List`1<RimWorld.HediffGiverSetDef>
Verse.RaceProperties::hediffGiverSets
IL_0050: ldloc.0
IL_0051: callvirt virtual RimWorld.HediffGiverSetDef
System.Collections.Generic.List`1<RimWorld.HediffGiverSetDef>::get_Item(System.Int3
2 index)
IL_0056: stloc.1
IL_0057: ldc.i4.0
IL_0058: stloc.2
IL_0059: br => Label3
IL_005E: Label4
IL_005E: ldloc.1
IL_005F: ldfld System.Collections.Generic.List`1<Verse.HediffGiver>
RimWorld.HediffGiverSetDef::hediffGivers
IL_0064: ldloc.2
IL_0065: callvirt virtual Verse.HediffGiver
System.Collections.Generic.List`1<Verse.HediffGiver>::get_Item(System.Int32 index)
IL_006A: ldarg.0
IL_006B: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0070: ldarg.1
IL_0071: callvirt virtual System.Boolean
Verse.HediffGiver::OnHediffAdded(Verse.Pawn pawn, Verse.Hediff hediff)
IL_0076: pop
IL_0077: ldloc.2
IL_0078: ldc.i4.1
IL_0079: add
IL_007A: stloc.2
IL_007B: Label3
IL_007B: ldloc.2
IL_007C: ldloc.1
IL_007D: ldfld System.Collections.Generic.List`1<Verse.HediffGiver>
RimWorld.HediffGiverSetDef::hediffGivers
IL_0082: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.HediffGiver>::get_Count()
IL_0087: blt => Label4
IL_008C: ldloc.0
IL_008D: ldc.i4.1
IL_008E: add
IL_008F: stloc.0
IL_0090: Label2
IL_0090: ldloc.0
IL_0091: ldarg.0
IL_0092: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0097: callvirt Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_009C: ldfld System.Collections.Generic.List`1<RimWorld.HediffGiverSetDef>
Verse.RaceProperties::hediffGiverSets
IL_00A1: callvirt virtual System.Int32
System.Collections.Generic.List`1<RimWorld.HediffGiverSetDef>::get_Count()
IL_00A6: blt => Label5
IL_00AB: // end original
IL_00AB: Label1
IL_00AB: ldarg 1
IL_00AF: ldarg 2
IL_00B3: ldarg 3
IL_00B7: ldarg 4
IL_00BB: call static System.Void
AchievementsExpanded.AchievementHarmony::HediffAdded(Verse.Hediff hediff,
Verse.BodyPartRecord part, System.Nullable`1<Verse.DamageInfo> dinfo,
Verse.DamageResult result)
IL_00C0: ret
DONE

### Patch: virtual System.Single


RimWorld.HistoryAutoRecorderWorker_ColonistMood::PullRecord()
### Replacement: static System.Single
RimWorld.HistoryAutoRecorderWorker_ColonistMood::PullRecord_Patch1(RimWorld.History
AutoRecorderWorker_ColonistMood this)
IL_0000: Local var 0: System.Collections.Generic.List`1<Verse.Pawn>
IL_0000: Local var 1: System.Single
IL_0000: ldc.r4 0
IL_0005: stloc 1 (System.Single)
IL_0009: // start original
IL_0009: call static System.Collections.Generic.List`1<Verse.Pawn>
RimWorld.PawnsFinder::get_AllMaps_FreeColonists()
IL_000E: stloc.0
IL_000F: ldloc.0
IL_0010: call static System.Boolean
Verse.GenCollection::Any(System.Collections.Generic.List`1<Verse.Pawn> list)
IL_0015: brtrue => Label0
IL_001A: ldc.r4 0
IL_001F: br => Label3
IL_0024: Label0
IL_0024: ldloc.0
IL_0025: ldsfld System.Func`2<Verse.Pawn, System.Boolean>
RimWorld.<>c::<>9__0_0
IL_002A: dup
IL_002B: brtrue => Label1
IL_0030: pop
IL_0031: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_0036: ldftn System.Boolean RimWorld.<>c::<PullRecord>b__0_0(Verse.Pawn x)
IL_003C: newobj System.Void System.Func`2<Verse.Pawn,
System.Boolean>::.ctor(System.Object object, System.IntPtr method)
IL_0041: dup
IL_0042: stsfld System.Func`2<Verse.Pawn, System.Boolean>
RimWorld.<>c::<>9__0_0
IL_0047: Label1
IL_0047: call static System.Collections.Generic.IEnumerable`1<Verse.Pawn>
System.Linq.Enumerable::Where(System.Collections.Generic.IEnumerable`1<Verse.Pawn>
source, System.Func`2<Verse.Pawn, System.Boolean> predicate)
IL_004C: ldsfld System.Func`2<Verse.Pawn, System.Single> RimWorld.<>c::<>9__0_1
IL_0051: dup
IL_0052: brtrue => Label2
IL_0057: pop
IL_0058: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_005D: ldftn System.Single RimWorld.<>c::<PullRecord>b__0_1(Verse.Pawn x)
IL_0063: newobj System.Void System.Func`2<Verse.Pawn,
System.Single>::.ctor(System.Object object, System.IntPtr method)
IL_0068: dup
IL_0069: stsfld System.Func`2<Verse.Pawn, System.Single> RimWorld.<>c::<>9__0_1
IL_006E: Label2
IL_006E: call static System.Single
System.Linq.Enumerable::Average(System.Collections.Generic.IEnumerable`1<Verse.Pawn
> source, System.Func`2<Verse.Pawn, System.Single> selector)
IL_0073: // end original
IL_0073: Label3
IL_0073: stloc 1 (System.Single)
IL_0077: ldloc 1 (System.Single)
IL_007B: call static System.Void
AchievementsExpanded.AchievementHarmony::AverageMoodColony(System.Single __result)
IL_0080: ldloc 1 (System.Single)
IL_0084: ret
DONE

### Patch: System.Void


RimWorld.ResearchManager::FinishProject(Verse.ResearchProjectDef proj,
System.Boolean doCompletionDialog, Verse.Pawn researcher)
### Replacement: static System.Void
RimWorld.ResearchManager::FinishProject_Patch1(RimWorld.ResearchManager this,
Verse.ResearchProjectDef proj, System.Boolean doCompletionDialog, Verse.Pawn
researcher)
IL_0000: Local var 0: System.Int32
IL_0000: Local var 1: System.Int32
IL_0000: Local var 2: Verse.DiaNode
IL_0000: Local var 3: Verse.DiaOption
IL_0000: // start original
IL_0000: ldarg.1
IL_0001: ldfld System.Collections.Generic.List`1<Verse.ResearchProjectDef>
Verse.ResearchProjectDef::prerequisites
IL_0006: brfalse => Label0
IL_000B: ldc.i4.0
IL_000C: stloc.1
IL_000D: br => Label1
IL_0012: Label3
IL_0012: ldarg.1
IL_0013: ldfld System.Collections.Generic.List`1<Verse.ResearchProjectDef>
Verse.ResearchProjectDef::prerequisites
IL_0018: ldloc.1
IL_0019: callvirt virtual Verse.ResearchProjectDef
System.Collections.Generic.List`1<Verse.ResearchProjectDef>::get_Item(System.Int32
index)
IL_001E: callvirt System.Boolean Verse.ResearchProjectDef::get_IsFinished()
IL_0023: brtrue => Label2
IL_0028: ldarg.0
IL_0029: ldarg.1
IL_002A: ldfld System.Collections.Generic.List`1<Verse.ResearchProjectDef>
Verse.ResearchProjectDef::prerequisites
IL_002F: ldloc.1
IL_0030: callvirt virtual Verse.ResearchProjectDef
System.Collections.Generic.List`1<Verse.ResearchProjectDef>::get_Item(System.Int32
index)
IL_0035: ldc.i4.0
IL_0036: ldnull
IL_0037: call System.Void
RimWorld.ResearchManager::FinishProject(Verse.ResearchProjectDef proj,
System.Boolean doCompletionDialog, Verse.Pawn researcher)
IL_003C: Label2
IL_003C: ldloc.1
IL_003D: ldc.i4.1
IL_003E: add
IL_003F: stloc.1
IL_0040: Label1
IL_0040: ldloc.1
IL_0041: ldarg.1
IL_0042: ldfld System.Collections.Generic.List`1<Verse.ResearchProjectDef>
Verse.ResearchProjectDef::prerequisites
IL_0047: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.ResearchProjectDef>::get_Count()
IL_004C: blt => Label3
IL_0051: Label0
IL_0051: ldarg.0
IL_0052: ldarg.1
IL_0053: call System.Int32
RimWorld.ResearchManager::GetTechprints(Verse.ResearchProjectDef proj)
IL_0058: stloc.0
IL_0059: ldloc.0
IL_005A: ldarg.1
IL_005B: callvirt System.Int32 Verse.ResearchProjectDef::get_TechprintCount()
IL_0060: bge => Label4
IL_0065: ldarg.0
IL_0066: ldarg.1
IL_0067: ldarg.1
IL_0068: callvirt System.Int32 Verse.ResearchProjectDef::get_TechprintCount()
IL_006D: ldloc.0
IL_006E: sub
IL_006F: call System.Void
RimWorld.ResearchManager::AddTechprints(Verse.ResearchProjectDef proj, System.Int32
amount)
IL_0074: Label4
IL_0074: ldarg.0
IL_0075: ldfld
System.Collections.Generic.Dictionary`2<Verse.ResearchProjectDef, System.Single>
RimWorld.ResearchManager::progress
IL_007A: ldarg.1
IL_007B: ldarg.1
IL_007C: ldfld System.Single Verse.ResearchProjectDef::baseCost
IL_0081: callvirt virtual System.Void
System.Collections.Generic.Dictionary`2<Verse.ResearchProjectDef,
System.Single>::set_Item(Verse.ResearchProjectDef key, System.Single value)
IL_0086: ldarg.3
IL_0087: brfalse => Label5
IL_008C: ldsfld RimWorld.TaleDef RimWorld.TaleDefOf::FinishedResearchProject
IL_0091: ldc.i4.2
IL_0092: newarr System.Object
IL_0097: dup
IL_0098: ldc.i4.0
IL_0099: ldarg.3
IL_009A: stelem.ref
IL_009B: dup
IL_009C: ldc.i4.1
IL_009D: ldarg.0
IL_009E: ldfld Verse.ResearchProjectDef RimWorld.ResearchManager::currentProj
IL_00A3: stelem.ref
IL_00A4: call static RimWorld.Tale
RimWorld.TaleRecorder::RecordTale(RimWorld.TaleDef def, System.Object[] args)
IL_00A9: pop
IL_00AA: Label5
IL_00AA: ldarg.0
IL_00AB: call System.Void RimWorld.ResearchManager::ReapplyAllMods()
IL_00B0: ldarg.2
IL_00B1: brfalse => Label6
IL_00B6: ldstr "ResearchFinished"
IL_00BB: ldarg.0
IL_00BC: ldfld Verse.ResearchProjectDef RimWorld.ResearchManager::currentProj
IL_00C1: callvirt virtual Verse.TaggedString Verse.Def::get_LabelCap()
IL_00C6: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.TaggedString value)
IL_00CB: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_00D0: ldstr "\n\n"
IL_00D5: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_00DA: ldarg.0
IL_00DB: ldfld Verse.ResearchProjectDef RimWorld.ResearchManager::currentProj
IL_00E0: ldfld System.String Verse.Def::description
IL_00E5: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_00EA: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_00EF: call static Verse.TaggedString
Verse.TaggedString::op_Implicit(System.String str)
IL_00F4: newobj System.Void Verse.DiaNode::.ctor(Verse.TaggedString text)
IL_00F9: stloc.2
IL_00FA: ldloc.2
IL_00FB: ldfld System.Collections.Generic.List`1<Verse.DiaOption>
Verse.DiaNode::options
IL_0100: call static Verse.DiaOption Verse.DiaOption::get_DefaultOK()
IL_0105: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.DiaOption>::Add(Verse.DiaOption item)
IL_010A: ldstr "ResearchScreen"
IL_010F: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0114: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0119: newobj System.Void Verse.DiaOption::.ctor(System.String text)
IL_011E: stloc.3
IL_011F: ldloc.3
IL_0120: ldc.i4.1
IL_0121: stfld System.Boolean Verse.DiaOption::resolveTree
IL_0126: ldloc.3
IL_0127: ldsfld System.Action RimWorld.<>c::<>9__14_0
IL_012C: dup
IL_012D: brtrue => Label7
IL_0132: pop
IL_0133: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_0138: ldftn System.Void RimWorld.<>c::<FinishProject>b__14_0()
IL_013E: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_0143: dup
IL_0144: stsfld System.Action RimWorld.<>c::<>9__14_0
IL_0149: Label7
IL_0149: stfld System.Action Verse.DiaOption::action
IL_014E: ldloc.2
IL_014F: ldfld System.Collections.Generic.List`1<Verse.DiaOption>
Verse.DiaNode::options
IL_0154: ldloc.3
IL_0155: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.DiaOption>::Add(Verse.DiaOption item)
IL_015A: call static Verse.WindowStack Verse.Find::get_WindowStack()
IL_015F: ldloc.2
IL_0160: ldc.i4.1
IL_0161: ldc.i4.0
IL_0162: ldnull
IL_0163: newobj System.Void Verse.Dialog_NodeTree::.ctor(Verse.DiaNode
nodeRoot, System.Boolean delayInteractivity, System.Boolean radioMode,
System.String title)
IL_0168: callvirt System.Void Verse.WindowStack::Add(Verse.Window window)
IL_016D: Label6
IL_016D: ldarg.1
IL_016E: ldfld System.String Verse.ResearchProjectDef::discoveredLetterTitle
IL_0173: call static System.Boolean Verse.GenText::NullOrEmpty(System.String
str)
IL_0178: brtrue => Label8
IL_017D: call static RimWorld.Storyteller Verse.Find::get_Storyteller()
IL_0182: ldfld RimWorld.Difficulty RimWorld.Storyteller::difficulty
IL_0187: ldarg.1
IL_0188: ldfld RimWorld.DifficultyConditionConfig
Verse.ResearchProjectDef::discoveredLetterDisabledWhen
IL_018D: callvirt System.Boolean
RimWorld.Difficulty::AllowedBy(RimWorld.DifficultyConditionConfig cfg)
IL_0192: brfalse => Label9
IL_0197: call static Verse.LetterStack Verse.Find::get_LetterStack()
IL_019C: ldarg.1
IL_019D: ldfld System.String Verse.ResearchProjectDef::discoveredLetterTitle
IL_01A2: call static Verse.TaggedString
Verse.TaggedString::op_Implicit(System.String str)
IL_01A7: ldarg.1
IL_01A8: ldfld System.String Verse.ResearchProjectDef::discoveredLetterText
IL_01AD: call static Verse.TaggedString
Verse.TaggedString::op_Implicit(System.String str)
IL_01B2: ldsfld Verse.LetterDef RimWorld.LetterDefOf::NeutralEvent
IL_01B7: ldnull
IL_01B8: callvirt System.Void Verse.LetterStack::ReceiveLetter(Verse.TaggedString
label, Verse.TaggedString text, Verse.LetterDef textLetterDef, System.String
debugInfo)
IL_01BD: Label8
IL_01BD: Label9
IL_01BD: ldarg.0
IL_01BE: ldfld Verse.ResearchProjectDef RimWorld.ResearchManager::currentProj
IL_01C3: ldarg.1
IL_01C4: bne.un => Label10
IL_01C9: ldarg.0
IL_01CA: ldnull
IL_01CB: stfld Verse.ResearchProjectDef RimWorld.ResearchManager::currentProj
IL_01D0: // end original
IL_01D0: Label10
IL_01D0: ldarg 1
IL_01D4: ldarg 2
IL_01D8: ldarg 3
IL_01DC: call static System.Void
AchievementsExpanded.AchievementHarmony::ResearchProjectFinished(Verse.ResearchProj
ectDef proj, System.Boolean doCompletionDialog, Verse.Pawn researcher)
IL_01E1: ret
DONE

### Patch: System.Void RimWorld.QuestManager::Notify_ThingsProduced(Verse.Pawn


worker, System.Collections.Generic.List`1<Verse.Thing> things)
### Replacement: static System.Void
RimWorld.QuestManager::Notify_ThingsProduced_Patch1(RimWorld.QuestManager this,
Verse.Pawn worker, System.Collections.Generic.List`1<Verse.Thing> things)
IL_0000: Local var 0: System.Int32
IL_0000: // start original
IL_0000: ldc.i4.0
IL_0001: stloc.0
IL_0002: br => Label0
IL_0007: Label2
IL_0007: ldarg.0
IL_0008: ldfld System.Collections.Generic.List`1<RimWorld.Quest>
RimWorld.QuestManager::quests
IL_000D: ldloc.0
IL_000E: callvirt virtual RimWorld.Quest
System.Collections.Generic.List`1<RimWorld.Quest>::get_Item(System.Int32 index)
IL_0013: callvirt RimWorld.QuestState RimWorld.Quest::get_State()
IL_0018: ldc.i4.1
IL_0019: bne.un => Label1
IL_001E: ldarg.0
IL_001F: ldfld System.Collections.Generic.List`1<RimWorld.Quest>
RimWorld.QuestManager::quests
IL_0024: ldloc.0
IL_0025: callvirt virtual RimWorld.Quest
System.Collections.Generic.List`1<RimWorld.Quest>::get_Item(System.Int32 index)
IL_002A: ldarg.1
IL_002B: ldarg.2
IL_002C: callvirt System.Void RimWorld.Quest::Notify_ThingsProduced(Verse.Pawn
worker, System.Collections.Generic.List`1<Verse.Thing> things)
IL_0031: Label1
IL_0031: ldloc.0
IL_0032: ldc.i4.1
IL_0033: add
IL_0034: stloc.0
IL_0035: Label0
IL_0035: ldloc.0
IL_0036: ldarg.0
IL_0037: ldfld System.Collections.Generic.List`1<RimWorld.Quest>
RimWorld.QuestManager::quests
IL_003C: callvirt virtual System.Int32
System.Collections.Generic.List`1<RimWorld.Quest>::get_Count()
IL_0041: blt => Label2
IL_0046: // end original
IL_0046: ldarg 1
IL_004A: ldarg 2
IL_004E: call static System.Void
AchievementsExpanded.AchievementHarmony::ThingSpawned(Verse.Pawn worker,
System.Collections.Generic.List`1<Verse.Thing> things)
IL_0053: ret
DONE

### Patch: System.Void RimWorld.Quest::End(RimWorld.QuestEndOutcome outcome,


System.Boolean sendLetter)
### Replacement: static System.Void RimWorld.Quest::End_Patch1(RimWorld.Quest this,
RimWorld.QuestEndOutcome outcome, System.Boolean sendLetter)
IL_0000: Local var 0: System.String
IL_0000: Local var 1: System.String
IL_0000: Local var 2: Verse.LetterDef
IL_0000: Local var 3: RimWorld.QuestState
IL_0000: // start original
IL_0000: ldarg.0
IL_0001: call System.Boolean RimWorld.Quest::get_Historical()
IL_0006: brfalse => Label0
IL_000B: ldstr "Tried to resolve a historical quest. id="
IL_0010: ldarg.0
IL_0011: ldfld System.Int32 RimWorld.Quest::id
IL_0016: box System.Int32
IL_001B: call static System.String System.String::Concat(System.Object arg0,
System.Object arg1)
IL_0020: call static System.Void Verse.Log::Error(System.String text)
IL_0025: br => Label12
IL_002A: Label0
IL_002A: ldarg.0
IL_002B: ldc.i4.1
IL_002C: stfld System.Boolean RimWorld.Quest::ended
IL_0031: ldarg.0
IL_0032: ldarg.1
IL_0033: stfld RimWorld.QuestEndOutcome RimWorld.Quest::endOutcome
IL_0038: ldarg.0
IL_0039: call System.Void RimWorld.Quest::CleanupQuestParts()
IL_003E: ldarg.0
IL_003F: call System.Boolean RimWorld.Quest::get_EverAccepted()
IL_0044: brtrue => Label1
IL_0049: ldarg.0
IL_004A: call RimWorld.QuestState RimWorld.Quest::get_State()
IL_004F: ldc.i4.3
IL_0050: bne.un => Label2
IL_0055: br => Label13
IL_005A: Label1
IL_005A: Label2
IL_005A: ldarg.2
IL_005B: brfalse => Label3
IL_0060: ldarg.0
IL_0061: ldfld System.Boolean RimWorld.Quest::hidden
IL_0066: brtrue => Label4
IL_006B: ldnull
IL_006C: stloc.0
IL_006D: ldnull
IL_006E: stloc.1
IL_006F: ldnull
IL_0070: stloc.2
IL_0071: ldarg.0
IL_0072: call RimWorld.QuestState RimWorld.Quest::get_State()
IL_0077: stloc.3
IL_0078: ldloc.3
IL_0079: ldc.i4.2
IL_007A: sub
IL_007B: switch => Labels5,6,7,8
IL_0090: br => Label9
IL_0095: Label8
IL_0095: ldstr "LetterQuestFailedLabel"
IL_009A: stloc.1
IL_009B: ldstr "LetterQuestCompletedFail"
IL_00A0: stloc.0
IL_00A1: ldsfld Verse.LetterDef RimWorld.LetterDefOf::NegativeEvent
IL_00A6: stloc.2
IL_00A7: ldsfld Verse.SoundDef RimWorld.SoundDefOf::Quest_Failed
IL_00AC: ldnull
IL_00AD: call static System.Void
Verse.Sound.SoundStarter::PlayOneShotOnCamera(Verse.SoundDef soundDef, Verse.Map
onlyThisMap)
IL_00B2: br => Label10
IL_00B7: Label7
IL_00B7: ldstr "LetterQuestCompletedLabel"
IL_00BC: stloc.1
IL_00BD: ldstr "LetterQuestCompletedSuccess"
IL_00C2: stloc.0
IL_00C3: ldsfld Verse.LetterDef RimWorld.LetterDefOf::PositiveEvent
IL_00C8: stloc.2
IL_00C9: ldsfld Verse.SoundDef RimWorld.SoundDefOf::Quest_Succeded
IL_00CE: ldnull
IL_00CF: call static System.Void
Verse.Sound.SoundStarter::PlayOneShotOnCamera(Verse.SoundDef soundDef, Verse.Map
onlyThisMap)
IL_00D4: br => Label11
IL_00D9: Label5
IL_00D9: ldstr "LetterQuestConcludedLabel"
IL_00DE: stloc.1
IL_00DF: ldstr "LetterQuestCompletedConcluded"
IL_00E4: stloc.0
IL_00E5: ldsfld Verse.LetterDef RimWorld.LetterDefOf::NeutralEvent
IL_00EA: stloc.2
IL_00EB: ldsfld Verse.SoundDef RimWorld.SoundDefOf::Quest_Concluded
IL_00F0: ldnull
IL_00F1: call static System.Void
Verse.Sound.SoundStarter::PlayOneShotOnCamera(Verse.SoundDef soundDef, Verse.Map
onlyThisMap)
IL_00F6: Label6
IL_00F6: Label9
IL_00F6: Label10
IL_00F6: Label11
IL_00F6: call static Verse.LetterStack Verse.Find::get_LetterStack()
IL_00FB: ldloc.1
IL_00FC: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0101: ldloc.0
IL_0102: ldarg.0
IL_0103: ldfld System.String RimWorld.Quest::name
IL_0108: call static System.String
Verse.GenText::CapitalizeFirst(System.String str)
IL_010D: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_0112: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_0117: ldloc.2
IL_0118: ldnull
IL_0119: ldnull
IL_011A: ldarg.0
IL_011B: ldnull
IL_011C: ldnull
IL_011D: callvirt System.Void Verse.LetterStack::ReceiveLetter(Verse.TaggedString
label, Verse.TaggedString text, Verse.LetterDef textLetterDef, Verse.LookTargets
lookTargets, RimWorld.Faction relatedFaction, RimWorld.Quest quest,
System.Collections.Generic.List`1<Verse.ThingDef> hyperlinkThingDefs, System.String
debugInfo)
IL_0122: // end original
IL_0122: Label3
IL_0122: Label4
IL_0122: Label12
IL_0122: Label13
IL_0122: ldarg 1
IL_0126: ldarg.0
IL_0127: ldarg 2
IL_012B: call static System.Void
AchievementsExpanded.AchievementHarmony::QuestEnded(RimWorld.QuestEndOutcome
outcome, RimWorld.Quest __instance, System.Boolean sendLetter)
IL_0130: ret
DONE

### Patch: System.Void RimWorld.SkillRecord::Learn(System.Single xp, System.Boolean


direct)
### Replacement: static System.Void
RimWorld.SkillRecord::Learn_Patch0(RimWorld.SkillRecord this, System.Single xp,
System.Boolean direct)
IL_0000: Local var 0: System.Boolean
IL_0000: // start original
IL_0000: ldarg.0
IL_0001: call System.Boolean RimWorld.SkillRecord::get_TotallyDisabled()
IL_0006: brfalse => Label0
IL_000B: br => Label21
IL_0010: Label0
IL_0010: ldarg.1
IL_0011: ldc.r4 0
IL_0016: bge.un => Label1
IL_001B: ldarg.0
IL_001C: ldfld System.Int32 RimWorld.SkillRecord::levelInt
IL_0021: brtrue => Label2
IL_0026: br => Label22
IL_002B: Label1
IL_002B: Label2
IL_002B: ldc.i4.0
IL_002C: stloc.0
IL_002D: ldarg.1
IL_002E: ldc.r4 0
IL_0033: ble.un => Label3
IL_0038: ldarg.1
IL_0039: ldarg.0
IL_003A: ldarg.2
IL_003B: call System.Single
RimWorld.SkillRecord::LearnRateFactor(System.Boolean direct)
IL_0040: mul
IL_0041: starg.s 1
IL_0043: Label3
IL_0043: ldarg.0
IL_0044: ldarg.0
IL_0045: ldfld System.Single RimWorld.SkillRecord::xpSinceLastLevel
IL_004A: ldarg.1
IL_004B: add
IL_004C: stfld System.Single RimWorld.SkillRecord::xpSinceLastLevel
IL_0051: ldarg.2
IL_0052: brtrue => Label4
IL_0057: ldarg.0
IL_0058: ldarg.0
IL_0059: ldfld System.Single RimWorld.SkillRecord::xpSinceMidnight
IL_005E: ldarg.1
IL_005F: add
IL_0060: stfld System.Single RimWorld.SkillRecord::xpSinceMidnight
IL_0065: Label4
IL_0065: ldarg.0
IL_0066: ldfld System.Int32 RimWorld.SkillRecord::levelInt
IL_006B: ldc.i4.s 20
IL_006D: bne.un => Label5
IL_0072: ldarg.0
IL_0073: ldfld System.Single RimWorld.SkillRecord::xpSinceLastLevel
IL_0078: ldarg.0
IL_0079: call System.Single RimWorld.SkillRecord::get_XpRequiredForLevelUp()
IL_007E: ldc.r4 1
IL_0083: sub
IL_0084: ble.un => Label6
IL_0089: ldarg.0
IL_008A: ldarg.0
IL_008B: call System.Single RimWorld.SkillRecord::get_XpRequiredForLevelUp()
IL_0090: ldc.r4 1
IL_0095: sub
IL_0096: stfld System.Single RimWorld.SkillRecord::xpSinceLastLevel
IL_009B: br => Label7
IL_00A0: Label13
IL_00A0: ldarg.0
IL_00A1: ldarg.0
IL_00A2: ldfld System.Single RimWorld.SkillRecord::xpSinceLastLevel
IL_00A7: ldarg.0
IL_00A8: call System.Single RimWorld.SkillRecord::get_XpRequiredForLevelUp()
IL_00AD: sub
IL_00AE: stfld System.Single RimWorld.SkillRecord::xpSinceLastLevel
IL_00B3: ldarg.0
IL_00B4: ldarg.0
IL_00B5: ldfld System.Int32 RimWorld.SkillRecord::levelInt
IL_00BA: ldc.i4.1
IL_00BB: add
IL_00BC: stfld System.Int32 RimWorld.SkillRecord::levelInt
IL_00C1: ldc.i4.1
IL_00C2: stloc.0
IL_00C3: ldarg.0
IL_00C4: ldfld System.Int32 RimWorld.SkillRecord::levelInt
IL_00C9: ldc.i4.s 14
IL_00CB: bne.un => Label8
IL_00D0: ldarg.0
IL_00D1: ldfld RimWorld.Passion RimWorld.SkillRecord::passion
IL_00D6: brtrue => Label9
IL_00DB: ldsfld RimWorld.TaleDef
RimWorld.TaleDefOf::GainedMasterSkillWithoutPassion
IL_00E0: ldc.i4.2
IL_00E1: newarr System.Object
IL_00E6: dup
IL_00E7: ldc.i4.0
IL_00E8: ldarg.0
IL_00E9: ldfld Verse.Pawn RimWorld.SkillRecord::pawn
IL_00EE: stelem.ref
IL_00EF: dup
IL_00F0: ldc.i4.1
IL_00F1: ldarg.0
IL_00F2: ldfld RimWorld.SkillDef RimWorld.SkillRecord::def
IL_00F7: stelem.ref
IL_00F8: call static RimWorld.Tale
RimWorld.TaleRecorder::RecordTale(RimWorld.TaleDef def, System.Object[] args)
IL_00FD: pop
IL_00FE: br => Label10
IL_0103: Label9
IL_0103: ldsfld RimWorld.TaleDef
RimWorld.TaleDefOf::GainedMasterSkillWithPassion
IL_0108: ldc.i4.2
IL_0109: newarr System.Object
IL_010E: dup
IL_010F: ldc.i4.0
IL_0110: ldarg.0
IL_0111: ldfld Verse.Pawn RimWorld.SkillRecord::pawn
IL_0116: stelem.ref
IL_0117: dup
IL_0118: ldc.i4.1
IL_0119: ldarg.0
IL_011A: ldfld RimWorld.SkillDef RimWorld.SkillRecord::def
IL_011F: stelem.ref
IL_0120: call static RimWorld.Tale
RimWorld.TaleRecorder::RecordTale(RimWorld.TaleDef def, System.Object[] args)
IL_0125: pop
IL_0126: Label8
IL_0126: Label10
IL_0126: ldarg.0
IL_0127: ldfld System.Int32 RimWorld.SkillRecord::levelInt
IL_012C: ldc.i4.s 20
IL_012E: blt => Label11
IL_0133: ldarg.0
IL_0134: ldc.i4.s 20
IL_0136: stfld System.Int32 RimWorld.SkillRecord::levelInt
IL_013B: ldarg.0
IL_013C: ldarg.0
IL_013D: ldfld System.Single RimWorld.SkillRecord::xpSinceLastLevel
IL_0142: ldc.r4 0
IL_0147: ldarg.0
IL_0148: call System.Single RimWorld.SkillRecord::get_XpRequiredForLevelUp()
IL_014D: ldc.r4 1
IL_0152: sub
IL_0153: call static System.Single UnityEngine.Mathf::Clamp(System.Single
value, System.Single min, System.Single max)
IL_0158: stfld System.Single RimWorld.SkillRecord::xpSinceLastLevel
IL_015D: br => Label12
IL_0162: Label5
IL_0162: Label6
IL_0162: Label7
IL_0162: Label11
IL_0162: ldarg.0
IL_0163: ldfld System.Single RimWorld.SkillRecord::xpSinceLastLevel
IL_0168: ldarg.0
IL_0169: call System.Single RimWorld.SkillRecord::get_XpRequiredForLevelUp()
IL_016E: bge => Label13
IL_0173: br => Label14
IL_0178: Label17
IL_0178: ldarg.0
IL_0179: ldarg.0
IL_017A: ldfld System.Int32 RimWorld.SkillRecord::levelInt
IL_017F: ldc.i4.1
IL_0180: sub
IL_0181: stfld System.Int32 RimWorld.SkillRecord::levelInt
IL_0186: ldarg.0
IL_0187: ldarg.0
IL_0188: ldfld System.Single RimWorld.SkillRecord::xpSinceLastLevel
IL_018D: ldarg.0
IL_018E: call System.Single RimWorld.SkillRecord::get_XpRequiredForLevelUp()
IL_0193: add
IL_0194: stfld System.Single RimWorld.SkillRecord::xpSinceLastLevel
IL_0199: ldarg.0
IL_019A: ldfld System.Int32 RimWorld.SkillRecord::levelInt
IL_019F: ldc.i4.0
IL_01A0: bgt => Label15
IL_01A5: ldarg.0
IL_01A6: ldc.i4.0
IL_01A7: stfld System.Int32 RimWorld.SkillRecord::levelInt
IL_01AC: ldarg.0
IL_01AD: ldc.r4 0
IL_01B2: stfld System.Single RimWorld.SkillRecord::xpSinceLastLevel
IL_01B7: br => Label16
IL_01BC: Label12
IL_01BC: Label14
IL_01BC: Label15
IL_01BC: ldarg.0
IL_01BD: ldfld System.Single RimWorld.SkillRecord::xpSinceLastLevel
IL_01C2: ldc.r4 -1000
IL_01C7: ble => Label17
IL_01CC: Label16
IL_01CC: ldloc.0
IL_01CD: brfalse => Label18
IL_01D2: ldarg.0
IL_01D3: ldfld Verse.Pawn RimWorld.SkillRecord::pawn
IL_01D8: callvirt System.Boolean Verse.Pawn::get_IsColonist()
IL_01DD: brfalse => Label19
IL_01E2: ldarg.0
IL_01E3: ldfld Verse.Pawn RimWorld.SkillRecord::pawn
IL_01E8: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_01ED: brfalse => Label20
IL_01F2: ldarg.0
IL_01F3: ldfld Verse.Pawn RimWorld.SkillRecord::pawn
IL_01F8: callvirt virtual UnityEngine.Vector3 Verse.Thing::get_DrawPos()
IL_01FD: ldarg.0
IL_01FE: ldfld Verse.Pawn RimWorld.SkillRecord::pawn
IL_0203: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_0208: ldarg.0
IL_0209: ldfld RimWorld.SkillDef RimWorld.SkillRecord::def
IL_020E: callvirt virtual Verse.TaggedString Verse.Def::get_LabelCap()
IL_0213: ldstr "\n"
IL_0218: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_021D: ldstr "TextMote_SkillUp"
IL_0222: ldarg.0
IL_0223: ldfld System.Int32 RimWorld.SkillRecord::levelInt
IL_0228: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.Int32 value)
IL_022D: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_0232: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_0237: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_023C: ldc.r4 -1
IL_0241: ldarg.0
IL_0242: ldfld RimWorld.SkillDef RimWorld.SkillRecord::def
IL_0247: ldarg.0
IL_0248: ldfld System.Int32 RimWorld.SkillRecord::levelInt
IL_024D: call static System.Void
AchievementsExpanded.UtilityMethods::LevelUpTrigger(RimWorld.SkillDef skill,
System.Int32 level)
IL_0252: call static System.Void
RimWorld.MoteMaker::ThrowText(UnityEngine.Vector3 loc, Verse.Map map, System.String
text, System.Single timeBeforeStartFadeout)
IL_0257: // end original
IL_0257: Label18
IL_0257: Label19
IL_0257: Label20
IL_0257: Label21
IL_0257: Label22
IL_0257: ret
DONE

### Patch: static System.Boolean


RimWorld.RelationsUtility::TryDevelopBondRelation(Verse.Pawn humanlike, Verse.Pawn
animal, System.Single baseChance)
### Replacement: static System.Boolean
RimWorld.RelationsUtility::TryDevelopBondRelation_Patch1(Verse.Pawn humanlike,
Verse.Pawn animal, System.Single baseChance)
IL_0000: Local var 0: System.Int32
IL_0000: Local var 1:
System.Collections.Generic.List`1<RimWorld.DirectPawnRelation>
IL_0000: Local var 2: System.Int32
IL_0000: Local var 3:
System.Collections.Generic.List`1<RimWorld.DirectPawnRelation>
IL_0000: Local var 4: System.Int32
IL_0000: Local var 5: System.Int32
IL_0000: Local var 6: System.Boolean
IL_0000: Local var 7: System.String
IL_0000: Local var 8: System.String
IL_0000: Local var 9: Verse.TaggedString
IL_0000: Local var 10: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 10 (System.Boolean)
IL_0009: // start original
IL_0009: ldarg.1
IL_000A: callvirt Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_000F: callvirt System.Boolean Verse.RaceProperties::get_Animal()
IL_0014: brtrue => Label0
IL_0019: ldc.i4.0
IL_001A: br => Label30
IL_001F: Label0
IL_001F: ldarg.1
IL_0020: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_0025: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_002A: bne.un => Label1
IL_002F: ldarg.0
IL_0030: call static System.Boolean
RimWorld.QuestUtility::IsQuestLodger(Verse.Pawn p)
IL_0035: brfalse => Label2
IL_003A: ldc.i4.0
IL_003B: br => Label31
IL_0040: Label1
IL_0040: Label2
IL_0040: ldarg.1
IL_0041: callvirt Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_0046: ldfld Verse.TrainabilityDef Verse.RaceProperties::trainability
IL_004B: ldfld System.Int32 Verse.TrainabilityDef::intelligenceOrder
IL_0050: ldsfld Verse.TrainabilityDef RimWorld.TrainabilityDefOf::Intermediate
IL_0055: ldfld System.Int32 Verse.TrainabilityDef::intelligenceOrder
IL_005A: bge => Label3
IL_005F: ldc.i4.0
IL_0060: br => Label32
IL_0065: Label3
IL_0065: ldarg.0
IL_0066: ldfld RimWorld.Pawn_RelationsTracker Verse.Pawn::relations
IL_006B: ldsfld RimWorld.PawnRelationDef RimWorld.PawnRelationDefOf::Bond
IL_0070: ldarg.1
IL_0071: callvirt System.Boolean
RimWorld.Pawn_RelationsTracker::DirectRelationExists(RimWorld.PawnRelationDef def,
Verse.Pawn otherPawn)
IL_0076: brfalse => Label4
IL_007B: ldc.i4.0
IL_007C: br => Label33
IL_0081: Label4
IL_0081: ldarg.1
IL_0082: ldfld RimWorld.Pawn_RelationsTracker Verse.Pawn::relations
IL_0087: ldsfld RimWorld.PawnRelationDef RimWorld.PawnRelationDefOf::Bond
IL_008C: ldsfld System.Predicate`1<Verse.Pawn> RimWorld.<>c::<>9__2_0
IL_0091: dup
IL_0092: brtrue => Label5
IL_0097: pop
IL_0098: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_009D: ldftn System.Boolean
RimWorld.<>c::<TryDevelopBondRelation>b__2_0(Verse.Pawn x)
IL_00A3: newobj System.Void System.Predicate`1<Verse.Pawn>::.ctor(System.Object
object, System.IntPtr method)
IL_00A8: dup
IL_00A9: stsfld System.Predicate`1<Verse.Pawn> RimWorld.<>c::<>9__2_0
IL_00AE: Label5
IL_00AE: callvirt Verse.Pawn
RimWorld.Pawn_RelationsTracker::GetFirstDirectRelationPawn(RimWorld.PawnRelationDef
def, System.Predicate`1<Verse.Pawn> predicate)
IL_00B3: brfalse => Label6
IL_00B8: ldc.i4.0
IL_00B9: br => Label34
IL_00BE: Label6
IL_00BE: ldarg.0
IL_00BF: ldfld RimWorld.Pawn_StoryTracker Verse.Pawn::story
IL_00C4: ldfld RimWorld.TraitSet RimWorld.Pawn_StoryTracker::traits
IL_00C9: ldsfld RimWorld.TraitDef RimWorld.TraitDefOf::Psychopath
IL_00CE: callvirt System.Boolean RimWorld.TraitSet::HasTrait(RimWorld.TraitDef
tDef)
IL_00D3: brfalse => Label7
IL_00D8: ldc.i4.0
IL_00D9: br => Label35
IL_00DE: Label7
IL_00DE: ldsfld RimWorld.HistoryEventDef RimWorld.HistoryEventDefOf::Bonded
IL_00E3: ldarg.0
IL_00E4: ldsfld System.String RimWorld.HistoryEventArgsNames::Doer
IL_00E9: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_00EE: ldarg.1
IL_00EF: ldsfld System.String RimWorld.HistoryEventArgsNames::Victim
IL_00F4: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_00F9: newobj System.Void
RimWorld.HistoryEvent::.ctor(RimWorld.HistoryEventDef def, Verse.NamedArgument
arg1, Verse.NamedArgument arg2)
IL_00FE: call static System.Boolean
RimWorld.IdeoUtility::DoerWillingToDo(RimWorld.HistoryEvent ev)
IL_0103: brtrue => Label8
IL_0108: ldc.i4.0
IL_0109: br => Label36
IL_010E: Label8
IL_010E: ldc.i4.0
IL_010F: stloc.0
IL_0110: ldarg.1
IL_0111: ldfld RimWorld.Pawn_RelationsTracker Verse.Pawn::relations
IL_0116: callvirt System.Collections.Generic.List`1<RimWorld.DirectPawnRelation>
RimWorld.Pawn_RelationsTracker::get_DirectRelations()
IL_011B: stloc.1
IL_011C: ldc.i4.0
IL_011D: stloc.s 4 (System.Int32)
IL_011F: br => Label9
IL_0124: Label12
IL_0124: ldloc.1
IL_0125: ldloc.s 4 (System.Int32)
IL_0127: callvirt virtual RimWorld.DirectPawnRelation
System.Collections.Generic.List`1<RimWorld.DirectPawnRelation>::get_Item(System.Int
32 index)
IL_012C: ldfld RimWorld.PawnRelationDef RimWorld.DirectPawnRelation::def
IL_0131: ldsfld RimWorld.PawnRelationDef RimWorld.PawnRelationDefOf::Bond
IL_0136: bne.un => Label10
IL_013B: ldloc.1
IL_013C: ldloc.s 4 (System.Int32)
IL_013E: callvirt virtual RimWorld.DirectPawnRelation
System.Collections.Generic.List`1<RimWorld.DirectPawnRelation>::get_Item(System.Int
32 index)
IL_0143: ldfld Verse.Pawn RimWorld.DirectPawnRelation::otherPawn
IL_0148: callvirt System.Boolean Verse.Pawn::get_Dead()
IL_014D: brtrue => Label11
IL_0152: ldloc.0
IL_0153: ldc.i4.1
IL_0154: add
IL_0155: stloc.0
IL_0156: Label10
IL_0156: Label11
IL_0156: ldloc.s 4 (System.Int32)
IL_0158: ldc.i4.1
IL_0159: add
IL_015A: stloc.s 4 (System.Int32)
IL_015C: Label9
IL_015C: ldloc.s 4 (System.Int32)
IL_015E: ldloc.1
IL_015F: callvirt virtual System.Int32
System.Collections.Generic.List`1<RimWorld.DirectPawnRelation>::get_Count()
IL_0164: blt => Label12
IL_0169: ldc.i4.0
IL_016A: stloc.2
IL_016B: ldarg.0
IL_016C: ldfld RimWorld.Pawn_RelationsTracker Verse.Pawn::relations
IL_0171: callvirt System.Collections.Generic.List`1<RimWorld.DirectPawnRelation>
RimWorld.Pawn_RelationsTracker::get_DirectRelations()
IL_0176: stloc.3
IL_0177: ldc.i4.0
IL_0178: stloc.s 5 (System.Int32)
IL_017A: br => Label13
IL_017F: Label16
IL_017F: ldloc.3
IL_0180: ldloc.s 5 (System.Int32)
IL_0182: callvirt virtual RimWorld.DirectPawnRelation
System.Collections.Generic.List`1<RimWorld.DirectPawnRelation>::get_Item(System.Int
32 index)
IL_0187: ldfld RimWorld.PawnRelationDef RimWorld.DirectPawnRelation::def
IL_018C: ldsfld RimWorld.PawnRelationDef RimWorld.PawnRelationDefOf::Bond
IL_0191: bne.un => Label14
IL_0196: ldloc.3
IL_0197: ldloc.s 5 (System.Int32)
IL_0199: callvirt virtual RimWorld.DirectPawnRelation
System.Collections.Generic.List`1<RimWorld.DirectPawnRelation>::get_Item(System.Int
32 index)
IL_019E: ldfld Verse.Pawn RimWorld.DirectPawnRelation::otherPawn
IL_01A3: callvirt System.Boolean Verse.Pawn::get_Dead()
IL_01A8: brtrue => Label15
IL_01AD: ldloc.2
IL_01AE: ldc.i4.1
IL_01AF: add
IL_01B0: stloc.2
IL_01B1: Label14
IL_01B1: Label15
IL_01B1: ldloc.s 5 (System.Int32)
IL_01B3: ldc.i4.1
IL_01B4: add
IL_01B5: stloc.s 5 (System.Int32)
IL_01B7: Label13
IL_01B7: ldloc.s 5 (System.Int32)
IL_01B9: ldloc.3
IL_01BA: callvirt virtual System.Int32
System.Collections.Generic.List`1<RimWorld.DirectPawnRelation>::get_Count()
IL_01BF: blt => Label16
IL_01C4: ldloc.0
IL_01C5: ldc.i4.0
IL_01C6: ble => Label17
IL_01CB: ldarg.2
IL_01CC: ldc.r4 0.2
IL_01D1: ldloc.0
IL_01D2: conv.r4
IL_01D3: call static System.Single UnityEngine.Mathf::Pow(System.Single f,
System.Single p)
IL_01D8: mul
IL_01D9: starg.s 2
IL_01DB: Label17
IL_01DB: ldloc.2
IL_01DC: ldc.i4.0
IL_01DD: ble => Label18
IL_01E2: ldarg.2
IL_01E3: ldc.r4 0.55
IL_01E8: ldloc.2
IL_01E9: conv.r4
IL_01EA: call static System.Single UnityEngine.Mathf::Pow(System.Single f,
System.Single p)
IL_01EF: mul
IL_01F0: starg.s 2
IL_01F2: Label18
IL_01F2: ldarg.2
IL_01F3: ldarg.0
IL_01F4: ldsfld RimWorld.StatDef RimWorld.StatDefOf::BondAnimalChanceFactor
IL_01F9: ldc.i4.1
IL_01FA: call static System.Single
RimWorld.StatExtension::GetStatValue(Verse.Thing thing, RimWorld.StatDef stat,
System.Boolean applyPostProcess)
IL_01FF: mul
IL_0200: starg.s 2
IL_0202: call static System.Single Verse.Rand::get_Value()
IL_0207: ldarg.2
IL_0208: bge.un => Label19
IL_020D: ldarg.0
IL_020E: ldfld RimWorld.Pawn_RelationsTracker Verse.Pawn::relations
IL_0213: ldsfld RimWorld.PawnRelationDef RimWorld.PawnRelationDefOf::Bond
IL_0218: ldarg.1
IL_0219: callvirt System.Void
RimWorld.Pawn_RelationsTracker::AddDirectRelation(RimWorld.PawnRelationDef def,
Verse.Pawn otherPawn)
IL_021E: ldarg.0
IL_021F: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_0224: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_0229: beq => Label20
IL_022E: ldarg.1
IL_022F: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_0234: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_0239: bne.un => Label21
IL_023E: Label20
IL_023E: ldsfld RimWorld.TaleDef RimWorld.TaleDefOf::BondedWithAnimal
IL_0243: ldc.i4.2
IL_0244: newarr System.Object
IL_0249: dup
IL_024A: ldc.i4.0
IL_024B: ldarg.0
IL_024C: stelem.ref
IL_024D: dup
IL_024E: ldc.i4.1
IL_024F: ldarg.1
IL_0250: stelem.ref
IL_0251: call static RimWorld.Tale
RimWorld.TaleRecorder::RecordTale(RimWorld.TaleDef def, System.Object[] args)
IL_0256: pop
IL_0257: Label21
IL_0257: ldc.i4.0
IL_0258: stloc.s 6 (System.Boolean)
IL_025A: ldnull
IL_025B: stloc.s 7 (System.String)
IL_025D: ldarg.1
IL_025E: callvirt Verse.Name Verse.Pawn::get_Name()
IL_0263: brfalse => Label22
IL_0268: ldarg.1
IL_0269: callvirt Verse.Name Verse.Pawn::get_Name()
IL_026E: callvirt abstract virtual System.Boolean Verse.Name::get_Numerical()
IL_0273: brfalse => Label23
IL_0278: Label22
IL_0278: ldc.i4.1
IL_0279: stloc.s 6 (System.Boolean)
IL_027B: ldarg.1
IL_027C: callvirt Verse.Name Verse.Pawn::get_Name()
IL_0281: brfalse => Label24
IL_0286: ldarg.1
IL_0287: callvirt Verse.Name Verse.Pawn::get_Name()
IL_028C: callvirt abstract virtual System.String Verse.Name::get_ToStringFull()
IL_0291: br => Label25
IL_0296: Label24
IL_0296: ldarg.1
IL_0297: call static System.String Verse.GenText::LabelIndefinite(Verse.Pawn
pawn)
IL_029C: Label25
IL_029C: stloc.s 7 (System.String)
IL_029E: ldarg.1
IL_029F: ldarg.1
IL_02A0: ldc.i4.0
IL_02A1: ldnull
IL_02A2: call static Verse.Name
RimWorld.PawnBioAndNameGenerator::GeneratePawnName(Verse.Pawn pawn,
RimWorld.NameStyle style, System.String forcedLastName)
IL_02A7: callvirt System.Void Verse.Pawn::set_Name(Verse.Name value)
IL_02AC: Label23
IL_02AC: ldarg.0
IL_02AD: call static System.Boolean
RimWorld.PawnUtility::ShouldSendNotificationAbout(Verse.Pawn p)
IL_02B2: brtrue => Label26
IL_02B7: ldarg.1
IL_02B8: call static System.Boolean
RimWorld.PawnUtility::ShouldSendNotificationAbout(Verse.Pawn p)
IL_02BD: brfalse => Label27
IL_02C2: Label26
IL_02C2: ldloc.s 6 (System.Boolean)
IL_02C4: brfalse => Label28
IL_02C9: ldstr "MessageNewBondRelationNewName"
IL_02CE: ldarg.0
IL_02CF: callvirt virtual System.String Verse.Entity::get_LabelShort()
IL_02D4: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_02D9: ldloc.s 7 (System.String)
IL_02DB: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_02E0: ldarg.1
IL_02E1: callvirt Verse.Name Verse.Pawn::get_Name()
IL_02E6: callvirt abstract virtual System.String Verse.Name::get_ToStringFull()
IL_02EB: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_02F0: ldarg.0
IL_02F1: ldstr "HUMAN"
IL_02F6: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_02FB: ldarg.1
IL_02FC: ldstr "ANIMAL"
IL_0301: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_0306: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2, Verse.NamedArgument arg3,
Verse.NamedArgument arg4, Verse.NamedArgument arg5)
IL_030B: stloc.s 9 (Verse.TaggedString)
IL_030D: ldloca.s 9 (Verse.TaggedString)
IL_030F: ldarg.1
IL_0310: ldstr "PAWN"
IL_0315: ldc.i4.1
IL_0316: call Verse.TaggedString Verse.TaggedString::AdjustedFor(Verse.Pawn
p, System.String pawnSymbol, System.Boolean addRelationInfoSymbol)
IL_031B: stloc.s 9 (Verse.TaggedString)
IL_031D: ldloca.s 9 (Verse.TaggedString)
IL_031F: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_0324: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0329: stloc.s 8 (System.String)
IL_032B: br => Label29
IL_0330: Label28
IL_0330: ldstr "MessageNewBondRelation"
IL_0335: ldarg.0
IL_0336: callvirt virtual System.String Verse.Entity::get_LabelShort()
IL_033B: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_0340: ldarg.1
IL_0341: callvirt virtual System.String Verse.Entity::get_LabelShort()
IL_0346: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_034B: ldarg.0
IL_034C: ldstr "HUMAN"
IL_0351: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_0356: ldarg.1
IL_0357: ldstr "ANIMAL"
IL_035C: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_0361: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2, Verse.NamedArgument arg3,
Verse.NamedArgument arg4)
IL_0366: stloc.s 9 (Verse.TaggedString)
IL_0368: ldloca.s 9 (Verse.TaggedString)
IL_036A: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_036F: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0374: stloc.s 8 (System.String)
IL_0376: Label29
IL_0376: ldloc.s 8 (System.String)
IL_0378: ldarg.0
IL_0379: call static Verse.LookTargets
Verse.LookTargets::op_Implicit(Verse.Thing t)
IL_037E: ldsfld Verse.MessageTypeDef RimWorld.MessageTypeDefOf::PositiveEvent
IL_0383: ldc.i4.1
IL_0384: call static System.Void Verse.Messages::Message(System.String text,
Verse.LookTargets lookTargets, Verse.MessageTypeDef def, System.Boolean historical)
IL_0389: Label27
IL_0389: ldc.i4.1
IL_038A: br => Label37
IL_038F: Label19
IL_038F: ldc.i4.0
IL_0390: // end original
IL_0390: Label30
IL_0390: Label31
IL_0390: Label32
IL_0390: Label33
IL_0390: Label34
IL_0390: Label35
IL_0390: Label36
IL_0390: Label37
IL_0390: stloc 10 (System.Boolean)
IL_0394: ldarg 0
IL_0398: ldarg 1
IL_039C: ldarg 2
IL_03A0: ldloca 10 (System.Boolean)
IL_03A4: call static System.Void
AchievementsExpanded.AchievementHarmony::AnimalBondedEvent(Verse.Pawn humanlike,
Verse.Pawn animal, System.Single baseChance, System.Boolean& __result)
IL_03A9: ldloc 10 (System.Boolean)
IL_03AD: ret
DONE

### Patch: static System.Void Verse.Prefs::set_DevMode(System.Boolean value)


### Replacement: static System.Void Verse.Prefs::set_DevMode_Patch1(System.Boolean
value)
IL_0000: // start original
IL_0000: ldsfld Verse.PrefsData Verse.Prefs::data
IL_0005: ldfld System.Boolean Verse.PrefsData::devMode
IL_000A: ldarg.0
IL_000B: bne.un => Label0
IL_0010: br => Label2
IL_0015: Label0
IL_0015: ldsfld Verse.PrefsData Verse.Prefs::data
IL_001A: ldarg.0
IL_001B: stfld System.Boolean Verse.PrefsData::devMode
IL_0020: ldsfld Verse.PrefsData Verse.Prefs::data
IL_0025: ldfld System.Boolean Verse.PrefsData::devMode
IL_002A: brtrue => Label1
IL_002F: ldsfld Verse.PrefsData Verse.Prefs::data
IL_0034: ldc.i4.0
IL_0035: stfld System.Boolean Verse.PrefsData::logVerbose
IL_003A: ldsfld Verse.PrefsData Verse.Prefs::data
IL_003F: ldc.i4.1
IL_0040: stfld System.Boolean Verse.PrefsData::resetModsConfigOnCrash
IL_0045: ldc.i4.0
IL_0046: stsfld System.Boolean Verse.DebugSettings::godMode
IL_004B: Label1
IL_004B: call static System.Void Verse.Prefs::Apply()
IL_0050: // end original
IL_0050: Label2
IL_0050: ldarg 0
IL_0054: call static System.Void
AchievementsExpanded.AchievementHarmony::DevModeToggled(System.Boolean value)
IL_0059: ret
DONE

### Patch: System.Boolean


RimWorld.IncidentWorker::TryExecute(RimWorld.IncidentParms parms)
### Replacement: static System.Boolean
RimWorld.IncidentWorker::TryExecute_Patch1(RimWorld.IncidentWorker this,
RimWorld.IncidentParms parms)
IL_0000: Local var 0: Verse.Map
IL_0000: Local var 1: System.Boolean
IL_0000: Local var 2: Verse.Pawn
IL_0000: Local var 3: RimWorld.Tale
IL_0000: Local var 4: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 4 (System.Boolean)
IL_0009: // start original
IL_0009: ldarg.1
IL_000A: ldfld RimWorld.IIncidentTarget RimWorld.IncidentParms::target
IL_000F: isinst Verse.Map
IL_0014: dup
IL_0015: stloc.0
IL_0016: brfalse => Label0
IL_001B: ldarg.0
IL_001C: ldfld RimWorld.IncidentDef RimWorld.IncidentWorker::def
IL_0021: ldfld System.Boolean RimWorld.IncidentDef::requireColonistsPresent
IL_0026: brfalse => Label1
IL_002B: ldloc.0
IL_002C: ldfld Verse.MapPawns Verse.Map::mapPawns
IL_0031: callvirt System.Int32 Verse.MapPawns::get_FreeColonistsSpawnedCount()
IL_0036: brtrue => Label2
IL_003B: ldc.i4.1
IL_003C: br => Label13
IL_0041: Label0
IL_0041: Label1
IL_0041: Label2
IL_0041: ldarg.0
IL_0042: ldarg.1
IL_0043: callvirt virtual System.Boolean
RimWorld.IncidentWorker::TryExecuteWorker(RimWorld.IncidentParms parms)
IL_0048: stloc.1
IL_0049: ldloc.1
IL_004A: brfalse => Label3
IL_004F: ldarg.0
IL_0050: ldfld RimWorld.IncidentDef RimWorld.IncidentWorker::def
IL_0055: ldfld RimWorld.TaleDef RimWorld.IncidentDef::tale
IL_005A: brfalse => Label4
IL_005F: ldnull
IL_0060: stloc.2
IL_0061: ldarg.1
IL_0062: ldfld RimWorld.IIncidentTarget RimWorld.IncidentParms::target
IL_0067: isinst RimWorld.Planet.Caravan
IL_006C: brfalse => Label5
IL_0071: ldarg.1
IL_0072: ldfld RimWorld.IIncidentTarget RimWorld.IncidentParms::target
IL_0077: castclass RimWorld.Planet.Caravan
IL_007C: call static Verse.Pawn
RimWorld.Planet.CaravanUtility::RandomOwner(RimWorld.Planet.Caravan caravan)
IL_0081: stloc.2
IL_0082: br => Label6
IL_0087: Label5
IL_0087: ldarg.1
IL_0088: ldfld RimWorld.IIncidentTarget RimWorld.IncidentParms::target
IL_008D: isinst Verse.Map
IL_0092: brfalse => Label7
IL_0097: ldarg.1
IL_0098: ldfld RimWorld.IIncidentTarget RimWorld.IncidentParms::target
IL_009D: castclass Verse.Map
IL_00A2: ldfld Verse.MapPawns Verse.Map::mapPawns
IL_00A7: callvirt System.Collections.Generic.List`1<Verse.Pawn>
Verse.MapPawns::get_FreeColonistsSpawned()
IL_00AC: ldnull
IL_00AD: call static Verse.Pawn
Verse.GenCollection::RandomElementWithFallback(System.Collections.Generic.IEnumerab
le`1<Verse.Pawn> source, Verse.Pawn fallback)
IL_00B2: stloc.2
IL_00B3: br => Label8
IL_00B8: Label7
IL_00B8: ldarg.1
IL_00B9: ldfld RimWorld.IIncidentTarget RimWorld.IncidentParms::target
IL_00BE: isinst RimWorld.Planet.World
IL_00C3: brfalse => Label9
IL_00C8: call static System.Collections.Generic.List`1<Verse.Pawn>
RimWorld.PawnsFinder::get_AllMapsCaravansAndTravelingTransportPods_Alive_FreeColoni
sts_NoCryptosleep()
IL_00CD: ldnull
IL_00CE: call static Verse.Pawn
Verse.GenCollection::RandomElementWithFallback(System.Collections.Generic.IEnumerab
le`1<Verse.Pawn> source, Verse.Pawn fallback)
IL_00D3: stloc.2
IL_00D4: Label6
IL_00D4: Label8
IL_00D4: Label9
IL_00D4: ldloc.2
IL_00D5: brfalse => Label10
IL_00DA: ldarg.0
IL_00DB: ldfld RimWorld.IncidentDef RimWorld.IncidentWorker::def
IL_00E0: ldfld RimWorld.TaleDef RimWorld.IncidentDef::tale
IL_00E5: ldc.i4.1
IL_00E6: newarr System.Object
IL_00EB: dup
IL_00EC: ldc.i4.0
IL_00ED: ldloc.2
IL_00EE: stelem.ref
IL_00EF: call static RimWorld.Tale
RimWorld.TaleRecorder::RecordTale(RimWorld.TaleDef def, System.Object[] args)
IL_00F4: pop
IL_00F5: Label4
IL_00F5: Label10
IL_00F5: ldarg.0
IL_00F6: ldfld RimWorld.IncidentDef RimWorld.IncidentWorker::def
IL_00FB: ldfld RimWorld.IncidentCategoryDef RimWorld.IncidentDef::category
IL_0100: ldfld RimWorld.TaleDef RimWorld.IncidentCategoryDef::tale
IL_0105: brfalse => Label11
IL_010A: ldarg.0
IL_010B: ldfld RimWorld.IncidentDef RimWorld.IncidentWorker::def
IL_0110: ldfld RimWorld.IncidentCategoryDef RimWorld.IncidentDef::category
IL_0115: ldfld RimWorld.TaleDef RimWorld.IncidentCategoryDef::tale
IL_011A: call static System.Object[] System.Array::Empty()
IL_011F: call static RimWorld.Tale
RimWorld.TaleRecorder::RecordTale(RimWorld.TaleDef def, System.Object[] args)
IL_0124: stloc.3
IL_0125: ldloc.3
IL_0126: brfalse => Label12
IL_012B: ldloc.3
IL_012C: ldarg.0
IL_012D: ldfld RimWorld.IncidentDef RimWorld.IncidentWorker::def
IL_0132: ldfld System.String Verse.Def::label
IL_0137: stfld System.String RimWorld.Tale::customLabel
IL_013C: Label3
IL_013C: Label11
IL_013C: Label12
IL_013C: ldloc.1
IL_013D: // end original
IL_013D: Label13
IL_013D: stloc 4 (System.Boolean)
IL_0141: ldarg 1
IL_0145: ldarg.0
IL_0146: ldloca 4 (System.Boolean)
IL_014A: call static System.Void
AchievementsExpanded.AchievementHarmony::IncidentTriggered(RimWorld.IncidentParms
parms, RimWorld.IncidentWorker __instance, System.Boolean& __result)
IL_014F: ldloc 4 (System.Boolean)
IL_0153: ret
DONE

### Patch: System.Boolean


Verse.AI.MentalBreaker::TryDoRandomMoodCausedMentalBreak()
### Replacement: static System.Boolean
Verse.AI.MentalBreaker::TryDoRandomMoodCausedMentalBreak_Patch0(Verse.AI.MentalBrea
ker this)
IL_0000: Local var 0: Verse.MentalBreakDef
IL_0000: Local var 1: RimWorld.Thought
IL_0000: Local var 2: Verse.TaggedString
IL_0000: // start original
IL_0000: ldarg.0
IL_0001: call System.Boolean
Verse.AI.MentalBreaker::get_CanDoRandomMentalBreaks()
IL_0006: brfalse => Label0
IL_000B: ldarg.0
IL_000C: ldfld Verse.Pawn Verse.AI.MentalBreaker::pawn
IL_0011: callvirt System.Boolean Verse.Pawn::get_Downed()
IL_0016: brtrue => Label1
IL_001B: ldarg.0
IL_001C: ldfld Verse.Pawn Verse.AI.MentalBreaker::pawn
IL_0021: call static System.Boolean RimWorld.RestUtility::Awake(Verse.Pawn p)
IL_0026: brfalse => Label2
IL_002B: ldarg.0
IL_002C: ldfld Verse.Pawn Verse.AI.MentalBreaker::pawn
IL_0031: callvirt System.Boolean Verse.Pawn::get_InMentalState()
IL_0036: brfalse => Label3
IL_003B: Label0
IL_003B: Label1
IL_003B: Label2
IL_003B: ldc.i4.0
IL_003C: br => Label9
IL_0041: Label3
IL_0041: ldarg.0
IL_0042: ldfld Verse.Pawn Verse.AI.MentalBreaker::pawn
IL_0047: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_004C: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_0051: beq => Label4
IL_0056: ldarg.0
IL_0057: call Verse.MentalBreakIntensity
Verse.AI.MentalBreaker::get_CurrentDesiredMoodBreakIntensity()
IL_005C: ldc.i4.3
IL_005D: beq => Label5
IL_0062: ldc.i4.0
IL_0063: br => Label10
IL_0068: Label4
IL_0068: Label5
IL_0068: ldarg.0
IL_0069: ldfld Verse.Pawn Verse.AI.MentalBreaker::pawn
IL_006E: call static System.Boolean
RimWorld.QuestUtility::AnyQuestDisablesRandomMoodCausedMentalBreaksFor(Verse.Pawn
p)
IL_0073: brfalse => Label6
IL_0078: ldc.i4.0
IL_0079: br => Label11
IL_007E: Label6
IL_007E: ldarg.0
IL_007F: call System.Collections.Generic.IEnumerable`1<Verse.MentalBreakDef>
Verse.AI.MentalBreaker::get_CurrentPossibleMoodBreaks()
IL_0084: ldarg.0
IL_0085: ldftn System.Single
Verse.AI.MentalBreaker::<TryDoRandomMoodCausedMentalBreak>b__41_0(Verse.MentalBreak
Def d)
IL_008B: newobj System.Void System.Func`2<Verse.MentalBreakDef,
System.Single>::.ctor(System.Object object, System.IntPtr method)
IL_0090: ldloca.s 0 (Verse.MentalBreakDef)
IL_0092: call static System.Boolean
Verse.GenCollection::TryRandomElementByWeight(System.Collections.Generic.IEnumerabl
e`1<Verse.MentalBreakDef> source, System.Func`2<Verse.MentalBreakDef,
System.Single> weightSelector, Verse.MentalBreakDef& result)
IL_0097: brtrue => Label7
IL_009C: ldc.i4.0
IL_009D: br => Label12
IL_00A2: Label7
IL_00A2: ldarg.0
IL_00A3: call RimWorld.Thought Verse.AI.MentalBreaker::RandomFinalStraw()
IL_00A8: stloc.1
IL_00A9: ldstr "MentalStateReason_Mood"
IL_00AE: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_00B3: stloc.2
IL_00B4: ldloc.1
IL_00B5: brfalse => Label8
IL_00BA: ldloc.2
IL_00BB: ldstr "\n\n"
IL_00C0: ldstr "FinalStraw"
IL_00C5: ldloc.1
IL_00C6: callvirt virtual System.String RimWorld.Thought::get_LabelCap()
IL_00CB: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_00D0: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_00D5: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_00DA: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_00DF: stloc.2
IL_00E0: Label8
IL_00E0: ldloc.0
IL_00E1: callvirt Verse.AI.MentalBreakWorker Verse.MentalBreakDef::get_Worker()
IL_00E6: ldarg.0
IL_00E7: ldfld Verse.Pawn Verse.AI.MentalBreaker::pawn
IL_00EC: ldloc.2
IL_00ED: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_00F2: ldc.i4.1
IL_00F3: callvirt virtual System.Boolean
Verse.AI.MentalBreakWorker::TryStart(Verse.Pawn pawn, System.String reason,
System.Boolean causedByMood)
IL_00F8: dup
IL_00F9: ldloc.0
IL_00FA: call static System.Void
AchievementsExpanded.UtilityMethods::MentalBreakTrigger(System.Boolean started,
Verse.MentalBreakDef def)
IL_00FF: // end original
IL_00FF: Label9
IL_00FF: Label10
IL_00FF: Label11
IL_00FF: Label12
IL_00FF: ret
DONE

### Patch: virtual System.Void


Verse.Thing::Kill(System.Nullable`1<Verse.DamageInfo> dinfo, Verse.Hediff
exactCulprit)
### Replacement: static System.Void Verse.Thing::Kill_Patch1(Verse.Thing this,
System.Nullable`1<Verse.DamageInfo> dinfo, Verse.Hediff exactCulprit)
IL_0000: Local var 0: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 0 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 0 (System.Boolean)
IL_000E: ldloc 0 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg 1
IL_0018: ldarg.0
IL_0019: ldarg 2
IL_001D: call static System.Boolean
AchievementsExpanded.AchievementHarmony::KillThing(System.Nullable`1<Verse.DamageIn
fo> dinfo, Verse.Thing __instance, Verse.Hediff exactCulprit)
IL_0022: stloc 0 (System.Boolean)
IL_0026: nop
IL_0027: ldloc 0 (System.Boolean)
IL_002B: brfalse => Label0
IL_0030: // start original
IL_0030: ldarg.0
IL_0031: ldc.i4.2
IL_0032: callvirt virtual System.Void Verse.Thing::Destroy(Verse.DestroyMode
mode)
IL_0037: // end original
IL_0037: Label0
IL_0037: ret
DONE

### Patch: System.Void RimWorld.Pawn_RecordsTracker::AddTo(RimWorld.RecordDef def,


System.Single value)
### Replacement: static System.Void
RimWorld.Pawn_RecordsTracker::AddTo_Patch1(RimWorld.Pawn_RecordsTracker this,
RimWorld.RecordDef def, System.Single value)
IL_0000: Local var 0: Verse.DefMap`2<RimWorld.RecordDef,System.Single>
IL_0000: Local var 1: RimWorld.RecordDef
IL_0000: // start original
IL_0000: ldarg.1
IL_0001: ldfld RimWorld.RecordType RimWorld.RecordDef::type
IL_0006: ldc.i4.1
IL_0007: bne.un => Label0
IL_000C: ldarg.0
IL_000D: ldfld Verse.DefMap`2<RimWorld.RecordDef, System.Single>
RimWorld.Pawn_RecordsTracker::records
IL_0012: ldarg.1
IL_0013: ldarg.0
IL_0014: ldfld Verse.DefMap`2<RimWorld.RecordDef, System.Single>
RimWorld.Pawn_RecordsTracker::records
IL_0019: ldarg.1
IL_001A: callvirt System.Single Verse.DefMap`2<RimWorld.RecordDef,
System.Single>::get_Item(RimWorld.RecordDef def)
IL_001F: ldarg.2
IL_0020: call static System.Single UnityEngine.Mathf::Round(System.Single f)
IL_0025: add
IL_0026: call static System.Single UnityEngine.Mathf::Round(System.Single f)
IL_002B: callvirt System.Void Verse.DefMap`2<RimWorld.RecordDef,
System.Single>::set_Item(RimWorld.RecordDef def, System.Single value)
IL_0030: br => Label2
IL_0035: Label0
IL_0035: ldarg.1
IL_0036: ldfld RimWorld.RecordType RimWorld.RecordDef::type
IL_003B: ldc.i4.2
IL_003C: bne.un => Label1
IL_0041: ldarg.0
IL_0042: ldfld Verse.DefMap`2<RimWorld.RecordDef, System.Single>
RimWorld.Pawn_RecordsTracker::records
IL_0047: stloc.0
IL_0048: ldarg.1
IL_0049: stloc.1
IL_004A: ldloc.0
IL_004B: ldloc.1
IL_004C: ldloc.0
IL_004D: ldloc.1
IL_004E: callvirt System.Single Verse.DefMap`2<RimWorld.RecordDef,
System.Single>::get_Item(RimWorld.RecordDef def)
IL_0053: ldarg.2
IL_0054: add
IL_0055: callvirt System.Void Verse.DefMap`2<RimWorld.RecordDef,
System.Single>::set_Item(RimWorld.RecordDef def, System.Single value)
IL_005A: br => Label3
IL_005F: Label1
IL_005F: ldc.i4.5
IL_0060: newarr System.Object
IL_0065: dup
IL_0066: ldc.i4.0
IL_0067: ldstr "Tried to add value to record \""
IL_006C: stelem.ref
IL_006D: dup
IL_006E: ldc.i4.1
IL_006F: ldarg.1
IL_0070: ldfld System.String Verse.Def::defName
IL_0075: stelem.ref
IL_0076: dup
IL_0077: ldc.i4.2
IL_0078: ldstr "\" whose record type is \""
IL_007D: stelem.ref
IL_007E: dup
IL_007F: ldc.i4.3
IL_0080: ldarg.1
IL_0081: ldfld RimWorld.RecordType RimWorld.RecordDef::type
IL_0086: box RimWorld.RecordType
IL_008B: stelem.ref
IL_008C: dup
IL_008D: ldc.i4.4
IL_008E: ldstr "\"."
IL_0093: stelem.ref
IL_0094: call static System.String System.String::Concat(System.Object[]
args)
IL_0099: call static System.Void Verse.Log::Error(System.String text)
IL_009E: // end original
IL_009E: Label2
IL_009E: Label3
IL_009E: ldarg 1
IL_00A2: ldarg.0
IL_00A3: call static System.Void
AchievementsExpanded.AchievementHarmony::RecordAddToEvent(RimWorld.RecordDef def,
RimWorld.Pawn_RecordsTracker __instance)
IL_00A8: ret
DONE

### Patch: System.Void Verse.TickManager::DoSingleTick()


### Replacement: static System.Void
Verse.TickManager::DoSingleTick_Patch1(Verse.TickManager this)
IL_0000: Local var 0: System.Collections.Generic.List`1<Verse.Map>
IL_0000: Local var 1: System.Int32
IL_0000: Local var 2: System.Int32
IL_0000: // start original
IL_0000: call static System.Collections.Generic.List`1<Verse.Map>
Verse.Find::get_Maps()
IL_0005: stloc.0
IL_0006: ldc.i4.0
IL_0007: stloc.1
IL_0008: br => Label0
IL_000D: Label1
IL_000D: ldloc.0
IL_000E: ldloc.1
IL_000F: callvirt virtual Verse.Map
System.Collections.Generic.List`1<Verse.Map>::get_Item(System.Int32 index)
IL_0014: callvirt System.Void Verse.Map::MapPreTick()
IL_0019: ldloc.1
IL_001A: ldc.i4.1
IL_001B: add
IL_001C: stloc.1
IL_001D: Label0
IL_001D: ldloc.1
IL_001E: ldloc.0
IL_001F: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.Map>::get_Count()
IL_0024: blt => Label1
IL_0029: ldsfld System.Boolean Verse.DebugSettings::fastEcology
IL_002E: brtrue => Label2
IL_0033: ldarg.0
IL_0034: ldarg.0
IL_0035: ldfld System.Int32 Verse.TickManager::ticksGameInt
IL_003A: ldc.i4.1
IL_003B: add
IL_003C: stfld System.Int32 Verse.TickManager::ticksGameInt
IL_0041: br => Label3
IL_0046: Label2
IL_0046: ldarg.0
IL_0047: ldarg.0
IL_0048: ldfld System.Int32 Verse.TickManager::ticksGameInt
IL_004D: ldc.i4 2000
IL_0052: add
IL_0053: stfld System.Int32 Verse.TickManager::ticksGameInt
IL_0058: Label3
IL_0058: ldsfld System.Int32 Verse.ShaderPropertyIDs::GameSeconds
IL_005D: ldarg.0
IL_005E: call System.Int32 Verse.TickManager::get_TicksGame()
IL_0063: call static System.Single
Verse.GenTicks::TicksToSeconds(System.Int32 numTicks)
IL_0068: call static System.Void
UnityEngine.Shader::SetGlobalFloat(System.Int32 nameID, System.Single value)
IL_006D: ldarg.0
IL_006E: ldfld Verse.TickList Verse.TickManager::tickListNormal
IL_0073: callvirt System.Void Verse.TickList::Tick()
IL_0078: ldarg.0
IL_0079: ldfld Verse.TickList Verse.TickManager::tickListRare
IL_007E: callvirt System.Void Verse.TickList::Tick()
IL_0083: ldarg.0
IL_0084: ldfld Verse.TickList Verse.TickManager::tickListLong
IL_0089: callvirt System.Void Verse.TickList::Tick()
.try
{
IL_008E: call static RimWorld.DateNotifier
Verse.Find::get_DateNotifier()
IL_0093: callvirt System.Void RimWorld.DateNotifier::DateNotifierTick()
IL_0098: leave => Label4
IL_009D: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_00A2: callvirt virtual System.String System.Object::ToString()
IL_00A7: call static System.Void Verse.Log::Error(System.String text)
IL_00AC: leave => Label5
IL_00B1: leave => (autogenerated)
} // end handler
IL_00B6: Label4
IL_00B6: Label5
IL_00B6: nop
.try
{
IL_00B7: call static RimWorld.Scenario Verse.Find::get_Scenario()
IL_00BC: callvirt System.Void RimWorld.Scenario::TickScenario()
IL_00C1: leave => Label6
IL_00C6: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_00CB: callvirt virtual System.String System.Object::ToString()
IL_00D0: call static System.Void Verse.Log::Error(System.String text)
IL_00D5: leave => Label7
IL_00DA: leave => (autogenerated)
} // end handler
IL_00DF: Label6
IL_00DF: Label7
IL_00DF: nop
.try
{
IL_00E0: call static RimWorld.Planet.World Verse.Find::get_World()
IL_00E5: callvirt System.Void RimWorld.Planet.World::WorldTick()
IL_00EA: leave => Label8
IL_00EF: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_00F4: callvirt virtual System.String System.Object::ToString()
IL_00F9: call static System.Void Verse.Log::Error(System.String text)
IL_00FE: leave => Label9
IL_0103: leave => (autogenerated)
} // end handler
IL_0108: Label8
IL_0108: Label9
IL_0108: nop
.try
{
IL_0109: call static RimWorld.StoryWatcher
Verse.Find::get_StoryWatcher()
IL_010E: callvirt System.Void RimWorld.StoryWatcher::StoryWatcherTick()
IL_0113: leave => Label10
IL_0118: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_011D: callvirt virtual System.String System.Object::ToString()
IL_0122: call static System.Void Verse.Log::Error(System.String text)
IL_0127: leave => Label11
IL_012C: leave => (autogenerated)
} // end handler
IL_0131: Label10
IL_0131: Label11
IL_0131: nop
.try
{
IL_0132: call static RimWorld.GameEnder Verse.Find::get_GameEnder()
IL_0137: callvirt System.Void RimWorld.GameEnder::GameEndTick()
IL_013C: leave => Label12
IL_0141: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_0146: callvirt virtual System.String System.Object::ToString()
IL_014B: call static System.Void Verse.Log::Error(System.String text)
IL_0150: leave => Label13
IL_0155: leave => (autogenerated)
} // end handler
IL_015A: Label12
IL_015A: Label13
IL_015A: nop
.try
{
IL_015B: call static RimWorld.Storyteller Verse.Find::get_Storyteller()
IL_0160: callvirt System.Void RimWorld.Storyteller::StorytellerTick()
IL_0165: leave => Label14
IL_016A: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_016F: callvirt virtual System.String System.Object::ToString()
IL_0174: call static System.Void Verse.Log::Error(System.String text)
IL_0179: leave => Label15
IL_017E: leave => (autogenerated)
} // end handler
IL_0183: Label14
IL_0183: Label15
IL_0183: nop
.try
{
IL_0184: call static RimWorld.TaleManager Verse.Find::get_TaleManager()
IL_0189: callvirt System.Void RimWorld.TaleManager::TaleManagerTick()
IL_018E: leave => Label16
IL_0193: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_0198: callvirt virtual System.String System.Object::ToString()
IL_019D: call static System.Void Verse.Log::Error(System.String text)
IL_01A2: leave => Label17
IL_01A7: leave => (autogenerated)
} // end handler
IL_01AC: Label16
IL_01AC: Label17
IL_01AC: nop
.try
{
IL_01AD: call static RimWorld.QuestManager
Verse.Find::get_QuestManager()
IL_01B2: callvirt System.Void RimWorld.QuestManager::QuestManagerTick()
IL_01B7: leave => Label18
IL_01BC: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_01C1: callvirt virtual System.String System.Object::ToString()
IL_01C6: call static System.Void Verse.Log::Error(System.String text)
IL_01CB: leave => Label19
IL_01D0: leave => (autogenerated)
} // end handler
IL_01D5: Label18
IL_01D5: Label19
IL_01D5: nop
.try
{
IL_01D6: call static RimWorld.Planet.World Verse.Find::get_World()
IL_01DB: callvirt System.Void RimWorld.Planet.World::WorldPostTick()
IL_01E0: leave => Label20
IL_01E5: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_01EA: callvirt virtual System.String System.Object::ToString()
IL_01EF: call static System.Void Verse.Log::Error(System.String text)
IL_01F4: leave => Label21
IL_01F9: leave => (autogenerated)
} // end handler
IL_01FE: Label20
IL_01FE: Label21
IL_01FE: ldc.i4.0
IL_01FF: stloc.2
IL_0200: br => Label22
IL_0205: Label23
IL_0205: ldloc.0
IL_0206: ldloc.2
IL_0207: callvirt virtual Verse.Map
System.Collections.Generic.List`1<Verse.Map>::get_Item(System.Int32 index)
IL_020C: callvirt System.Void Verse.Map::MapPostTick()
IL_0211: ldloc.2
IL_0212: ldc.i4.1
IL_0213: add
IL_0214: stloc.2
IL_0215: Label22
IL_0215: ldloc.2
IL_0216: ldloc.0
IL_0217: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.Map>::get_Count()
IL_021C: blt => Label23
IL_0221: nop
.try
{
IL_0222: call static RimWorld.History Verse.Find::get_History()
IL_0227: callvirt System.Void RimWorld.History::HistoryTick()
IL_022C: leave => Label24
IL_0231: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_0236: callvirt virtual System.String System.Object::ToString()
IL_023B: call static System.Void Verse.Log::Error(System.String text)
IL_0240: leave => Label25
IL_0245: leave => (autogenerated)
} // end handler
IL_024A: Label24
IL_024A: Label25
IL_024A: call static System.Void
Verse.GameComponentUtility::GameComponentTick()
.try
{
IL_024F: call static Verse.LetterStack Verse.Find::get_LetterStack()
IL_0254: callvirt System.Void Verse.LetterStack::LetterStackTick()
IL_0259: leave => Label26
IL_025E: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_0263: callvirt virtual System.String System.Object::ToString()
IL_0268: call static System.Void Verse.Log::Error(System.String text)
IL_026D: leave => Label27
IL_0272: leave => (autogenerated)
} // end handler
IL_0277: Label26
IL_0277: Label27
IL_0277: nop
.try
{
IL_0278: call static RimWorld.Autosaver Verse.Find::get_Autosaver()
IL_027D: callvirt System.Void RimWorld.Autosaver::AutosaverTick()
IL_0282: leave => Label28
IL_0287: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_028C: callvirt virtual System.String System.Object::ToString()
IL_0291: call static System.Void Verse.Log::Error(System.String text)
IL_0296: leave => Label29
IL_029B: leave => (autogenerated)
} // end handler
IL_02A0: Label28
IL_02A0: Label29
IL_02A0: ldsfld System.Boolean Verse.DebugViewSettings::logHourlyScreenshot
IL_02A5: brfalse => Label30
IL_02AA: call static Verse.TickManager Verse.Find::get_TickManager()
IL_02AF: callvirt System.Int32 Verse.TickManager::get_TicksGame()
IL_02B4: ldarg.0
IL_02B5: ldfld System.Int32 Verse.TickManager::lastAutoScreenshot
IL_02BA: ldc.i4 2500
IL_02BF: add
IL_02C0: blt => Label31
IL_02C5: call static System.Void
Verse.ScreenshotTaker::QueueSilentScreenshot()
IL_02CA: ldarg.0
IL_02CB: call static Verse.TickManager Verse.Find::get_TickManager()
IL_02D0: callvirt System.Int32 Verse.TickManager::get_TicksGame()
IL_02D5: ldc.i4 2500
IL_02DA: div
IL_02DB: ldc.i4 2500
IL_02E0: mul
IL_02E1: stfld System.Int32 Verse.TickManager::lastAutoScreenshot
IL_02E6: Label30
IL_02E6: Label31
IL_02E6: nop
.try
{
IL_02E7: call static System.Void
RimWorld.FilthMonitor::FilthMonitorTick()
IL_02EC: leave => Label32
IL_02F1: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_02F6: callvirt virtual System.String System.Object::ToString()
IL_02FB: call static System.Void Verse.Log::Error(System.String text)
IL_0300: leave => Label33
IL_0305: leave => (autogenerated)
} // end handler
IL_030A: Label32
IL_030A: Label33
IL_030A: nop
.try
{
IL_030B: call static RimWorld.TransportShipManager
Verse.Find::get_TransportShipManager()
IL_0310: callvirt System.Void
RimWorld.TransportShipManager::ShipObjectsTick()
IL_0315: leave => Label34
IL_031A: leave => (autogenerated)
} // end try
.catch System.Exception
{
IL_031F: callvirt virtual System.String System.Object::ToString()
IL_0324: call static System.Void Verse.Log::Error(System.String text)
IL_0329: leave => Label35
IL_032E: leave => (autogenerated)
} // end handler
IL_0333: Label34
IL_0333: Label35
IL_0333: ldc.i4.0
IL_0334: call static System.Void
UnityEngine.Debug::set_developerConsoleVisible(System.Boolean value)
IL_0339: // end original
IL_0339: call static System.Void
AchievementsExpanded.AchievementHarmony::SingleLongTickTracker()
IL_033E: ret
DONE

### Patch: System.Void


Verse.Dialog_DebugActionsMenu::GenerateCacheForMethod(System.Reflection.MethodInfo
method, Verse.DebugActionAttribute attribute)
### Replacement: static System.Void
Verse.Dialog_DebugActionsMenu::GenerateCacheForMethod_Patch1(Verse.Dialog_DebugActi
onsMenu this, System.Reflection.MethodInfo method, Verse.DebugActionAttribute
attribute)
IL_0000: Local var 0: System.String
IL_0000: Local var 1: System.String
IL_0000: Local var 2: Verse.Dialog_DebugActionsMenu/DebugActionOption
IL_0000: Local var 3: Verse.Dialog_DebugActionsMenu/DebugActionOption
IL_0000: Local var 4: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 4 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 4 (System.Boolean)
IL_000E: ldloc 4 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg 1
IL_0018: ldarg 2
IL_001C: call static System.Boolean
AchievementsExpanded.DebugActionsSetup::GenerateCacheForVAEDebugActions(System.Refl
ection.MethodInfo method, Verse.DebugActionAttribute attribute)
IL_0021: stloc 4 (System.Boolean)
IL_0025: nop
IL_0026: ldloc 4 (System.Boolean)
IL_002A: brfalse => Label0
IL_002F: // start original
IL_002F: ldarg.2
IL_0030: callvirt System.Boolean
Verse.DebugActionAttribute::get_IsAllowedInCurrentGameState()
IL_0035: brtrue => Label2
IL_003A: br => Label10
IL_003F: Label2
IL_003F: ldarg.2
IL_0040: ldfld System.String Verse.DebugActionAttribute::name
IL_0045: call static System.Boolean
System.String::IsNullOrEmpty(System.String value)
IL_004A: brtrue => Label3
IL_004F: ldarg.2
IL_0050: ldfld System.String Verse.DebugActionAttribute::name
IL_0055: br => Label4
IL_005A: Label3
IL_005A: ldarg.1
IL_005B: callvirt abstract virtual System.String
System.Reflection.MemberInfo::get_Name()
IL_0060: call static System.String
Verse.GenText::SplitCamelCase(System.String Str)
IL_0065: Label4
IL_0065: stloc.0
IL_0066: ldarg.2
IL_0067: ldfld Verse.DebugActionType Verse.DebugActionAttribute::actionType
IL_006C: ldc.i4.1
IL_006D: beq => Label5
IL_0072: ldarg.2
IL_0073: ldfld Verse.DebugActionType Verse.DebugActionAttribute::actionType
IL_0078: ldc.i4.2
IL_0079: beq => Label6
IL_007E: ldarg.2
IL_007F: ldfld Verse.DebugActionType Verse.DebugActionAttribute::actionType
IL_0084: ldc.i4.3
IL_0085: bne.un => Label7
IL_008A: Label5
IL_008A: Label6
IL_008A: ldstr "T: "
IL_008F: ldloc.0
IL_0090: call static System.String System.String::Concat(System.String str0,
System.String str1)
IL_0095: stloc.0
IL_0096: Label7
IL_0096: ldarg.2
IL_0097: ldfld System.String Verse.DebugActionAttribute::category
IL_009C: stloc.1
IL_009D: ldloca.s 3 (Verse.Dialog_DebugActionsMenu+DebugActionOption)
IL_009F: initobj Verse.Dialog_DebugActionsMenu+DebugActionOption
IL_00A5: ldloca.s 3 (Verse.Dialog_DebugActionsMenu+DebugActionOption)
IL_00A7: ldloc.0
IL_00A8: stfld System.String Verse.DebugActionOption::label
IL_00AD: ldloca.s 3 (Verse.Dialog_DebugActionsMenu+DebugActionOption)
IL_00AF: ldloc.1
IL_00B0: stfld System.String Verse.DebugActionOption::category
IL_00B5: ldloca.s 3 (Verse.Dialog_DebugActionsMenu+DebugActionOption)
IL_00B7: ldarg.2
IL_00B8: ldfld Verse.DebugActionType Verse.DebugActionAttribute::actionType
IL_00BD: stfld Verse.DebugActionType Verse.DebugActionOption::actionType
IL_00C2: ldloc.3
IL_00C3: stloc.2
IL_00C4: ldarg.2
IL_00C5: ldfld Verse.DebugActionType Verse.DebugActionAttribute::actionType
IL_00CA: ldc.i4.2
IL_00CB: bne.un => Label8
IL_00D0: ldloca.s 2 (Verse.Dialog_DebugActionsMenu+DebugActionOption)
IL_00D2: ldtoken System.Action`1[Verse.Pawn]
IL_00D7: call static System.Type
System.Type::GetTypeFromHandle(System.RuntimeTypeHandle handle)
IL_00DC: ldarg.1
IL_00DD: call static System.Delegate
System.Delegate::CreateDelegate(System.Type type, System.Reflection.MethodInfo
method)
IL_00E2: isinst System.Action`1[Verse.Pawn]
IL_00E7: stfld System.Action`1<Verse.Pawn> Verse.DebugActionOption::pawnAction
IL_00EC: br => Label9
IL_00F1: Label8
IL_00F1: ldloca.s 2 (Verse.Dialog_DebugActionsMenu+DebugActionOption)
IL_00F3: ldtoken System.Action
IL_00F8: call static System.Type
System.Type::GetTypeFromHandle(System.RuntimeTypeHandle handle)
IL_00FD: ldarg.1
IL_00FE: call static System.Delegate
System.Delegate::CreateDelegate(System.Type type, System.Reflection.MethodInfo
method)
IL_0103: isinst System.Action
IL_0108: stfld System.Action Verse.DebugActionOption::action
IL_010D: Label9
IL_010D: ldarg.0
IL_010E: ldfld System.Collections.Generic.List`1<Verse.DebugActionOption>
Verse.Dialog_DebugActionsMenu::debugActions
IL_0113: ldloc.2
IL_0114: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.DebugActionOption>::Add(Verse.DebugActionOp
tion item)
IL_0119: // end original
IL_0119: Label10
IL_0119: Label0
IL_0119: ret
DONE

### Patch: System.Void Verse.Dialog_DebugActionsMenu::.ctor()


### Replacement: static System.Void
Verse.Dialog_DebugActionsMenu::.ctor_Patch1(Verse.Dialog_DebugActionsMenu this)
IL_0000: Local var 0: System.Collections.Generic.IEnumerator`1<System.Type>
IL_0000: Local var 1: System.Reflection.MethodInfo[]
IL_0000: Local var 2: System.Int32
IL_0000: Local var 3: System.Reflection.MethodInfo
IL_0000: Local var 4: Verse.DebugActionAttribute
IL_0000: Local var 5: Verse.DebugActionYielderAttribute
IL_0000: Local var 6:
System.Collections.Generic.IEnumerator`1<Verse.Dialog_DebugActionsMenu/
DebugActionOption>
IL_0000: Local var 7: Verse.Dialog_DebugActionsMenu/DebugActionOption
IL_0000: call static System.Void
AchievementsExpanded.DebugActionsSetup::ClearCachedActions()
IL_0005: // start original
IL_0005: ldarg.0
IL_0006: newobj System.Void
System.Collections.Generic.List`1<Verse.DebugActionOption>::.ctor()
IL_000B: stfld System.Collections.Generic.List`1<Verse.DebugActionOption>
Verse.Dialog_DebugActionsMenu::debugActions
IL_0010: ldarg.0
IL_0011: call System.Void Verse.Dialog_DebugOptionLister::.ctor()
IL_0016: ldarg.0
IL_0017: ldc.i4.1
IL_0018: stfld System.Boolean Verse.Window::forcePause
IL_001D: call static System.Collections.Generic.IEnumerable`1<System.Type>
Verse.GenTypes::get_AllTypes()
IL_0022: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<System.Type>
System.Collections.Generic.IEnumerable`1<System.Type>::GetEnumerator()
IL_0027: stloc.0
.try
{
IL_0028: br => Label0
IL_002D: Label9
IL_002D: ldloc.0
IL_002E: callvirt abstract virtual System.Type
System.Collections.Generic.IEnumerator`1<System.Type>::get_Current()
IL_0033: ldc.i4.s 56
IL_0035: callvirt abstract virtual System.Reflection.MethodInfo[]
System.Type::GetMethods(System.Reflection.BindingFlags bindingAttr)
IL_003A: stloc.1
IL_003B: ldc.i4.0
IL_003C: stloc.2
IL_003D: br => Label1
IL_0042: Label8
IL_0042: ldloc.1
IL_0043: ldloc.2
IL_0044: ldelem.ref
IL_0045: stloc.3
IL_0046: ldloc.3
IL_0047: ldloca.s 4 (Verse.DebugActionAttribute)
IL_0049: call static System.Boolean
Verse.GenAttribute::TryGetAttribute(System.Reflection.MemberInfo memberInfo,
Verse.DebugActionAttribute& customAttribute)
IL_004E: brfalse => Label2
IL_0053: ldarg.0
IL_0054: ldloc.3
IL_0055: ldloc.s 4 (Verse.DebugActionAttribute)
IL_0057: call System.Void
Verse.Dialog_DebugActionsMenu::GenerateCacheForMethod(System.Reflection.MethodInfo
method, Verse.DebugActionAttribute attribute)
IL_005C: Label2
IL_005C: ldloc.3
IL_005D: ldloca.s 5 (Verse.DebugActionYielderAttribute)
IL_005F: call static System.Boolean
Verse.GenAttribute::TryGetAttribute(System.Reflection.MemberInfo memberInfo,
Verse.DebugActionYielderAttribute& customAttribute)
IL_0064: brfalse => Label3
IL_0069: ldloc.3
IL_006A: ldnull
IL_006B: ldnull
IL_006C: callvirt virtual System.Object
System.Reflection.MethodBase::Invoke(System.Object obj, System.Object[] parameters)
IL_0071: castclass
System.Collections.Generic.IEnumerable`1[Verse.Dialog_DebugActionsMenu+DebugActionO
ption]
IL_0076: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.DebugActionOption>
System.Collections.Generic.IEnumerable`1<Verse.DebugActionOption>::GetEnumerator()
IL_007B: stloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.Dialog_DebugActionsMenu+DebugAction
Option])
.try
{
IL_007D: br => Label4
IL_0082: Label5
IL_0082: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.Dialog_DebugActionsMenu+DebugAction
Option])
IL_0084: callvirt abstract virtual Verse.DebugActionOption
System.Collections.Generic.IEnumerator`1<Verse.DebugActionOption>::get_Current()
IL_0089: stloc.s 7 (Verse.Dialog_DebugActionsMenu+DebugActionOption)
IL_008B: ldarg.0
IL_008C: ldfld
System.Collections.Generic.List`1<Verse.DebugActionOption>
Verse.Dialog_DebugActionsMenu::debugActions
IL_0091: ldloc.s 7 (Verse.Dialog_DebugActionsMenu+DebugActionOption)
IL_0093: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.DebugActionOption>::Add(Verse.DebugActionOp
tion item)
IL_0098: Label4
IL_0098: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.Dialog_DebugActionsMenu+DebugAction
Option])
IL_009A: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_009F: brtrue => Label5
IL_00A4: leave => Label6
IL_00A9: leave => (autogenerated)
} // end try
.finally
{
IL_00AE: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.Dialog_DebugActionsMenu+DebugAction
Option])
IL_00B0: brfalse => Label7
IL_00B5: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.Dialog_DebugActionsMenu+DebugAction
Option])
IL_00B7: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_00BC: Label7
IL_00BC: endfinally
IL_00BD: leave => (autogenerated)
} // end handler
IL_00BE: Label3
IL_00BE: Label6
IL_00BE: ldloc.2
IL_00BF: ldc.i4.1
IL_00C0: add
IL_00C1: stloc.2
IL_00C2: Label1
IL_00C2: ldloc.2
IL_00C3: ldloc.1
IL_00C4: ldlen
IL_00C5: conv.i4
IL_00C6: blt => Label8
IL_00CB: Label0
IL_00CB: ldloc.0
IL_00CC: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_00D1: brtrue => Label9
IL_00D6: leave => Label10
IL_00DB: leave => (autogenerated)
} // end try
.finally
{
IL_00E0: ldloc.0
IL_00E1: brfalse => Label11
IL_00E6: ldloc.0
IL_00E7: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_00EC: Label11
IL_00EC: endfinally
IL_00ED: leave => (autogenerated)
} // end handler
IL_00EE: Label10
IL_00EE: ldarg.0
IL_00EF: ldarg.0
IL_00F0: ldfld System.Collections.Generic.List`1<Verse.DebugActionOption>
Verse.Dialog_DebugActionsMenu::debugActions
IL_00F5: ldsfld System.Func`2<Verse.DebugActionOption, System.Int32>
Verse.<>c::<>9__6_0
IL_00FA: dup
IL_00FB: brtrue => Label12
IL_0100: pop
IL_0101: ldsfld Verse.<>c Verse.<>c::<>9
IL_0106: ldftn System.Int32 Verse.<>c::<.ctor>b__6_0(Verse.DebugActionOption
r)
IL_010C: newobj System.Void System.Func`2<Verse.DebugActionOption,
System.Int32>::.ctor(System.Object object, System.IntPtr method)
IL_0111: dup
IL_0112: stsfld System.Func`2<Verse.DebugActionOption, System.Int32>
Verse.<>c::<>9__6_0
IL_0117: Label12
IL_0117: call static
System.Linq.IOrderedEnumerable`1<Verse.DebugActionOption>
System.Linq.Enumerable::OrderBy(System.Collections.Generic.IEnumerable`1<Verse.Debu
gActionOption> source, System.Func`2<Verse.DebugActionOption, System.Int32>
keySelector)
IL_011C: ldsfld System.Func`2<Verse.DebugActionOption, System.String>
Verse.<>c::<>9__6_1
IL_0121: dup
IL_0122: brtrue => Label13
IL_0127: pop
IL_0128: ldsfld Verse.<>c Verse.<>c::<>9
IL_012D: ldftn System.String Verse.<>c::<.ctor>b__6_1(Verse.DebugActionOption
r)
IL_0133: newobj System.Void System.Func`2<Verse.DebugActionOption,
System.String>::.ctor(System.Object object, System.IntPtr method)
IL_0138: dup
IL_0139: stsfld System.Func`2<Verse.DebugActionOption, System.String>
Verse.<>c::<>9__6_1
IL_013E: Label13
IL_013E: call static
System.Linq.IOrderedEnumerable`1<Verse.DebugActionOption>
System.Linq.Enumerable::ThenBy(System.Linq.IOrderedEnumerable`1<Verse.DebugActionOp
tion> source, System.Func`2<Verse.DebugActionOption, System.String> keySelector)
IL_0143: call static
System.Collections.Generic.List`1<Verse.DebugActionOption>
System.Linq.Enumerable::ToList(System.Collections.Generic.IEnumerable`1<Verse.Debug
ActionOption> source)
IL_0148: stfld System.Collections.Generic.List`1<Verse.DebugActionOption>
Verse.Dialog_DebugActionsMenu::debugActions
IL_014D: // end original
IL_014D: ret
DONE

### Harmony id=vanillaexpanded.achievements_preloaded, version=2.0.0.8,


location=Z:\SteamLibrary\steamapps\common\data-000001638B3F0080
### Started from System.Void
AchievementsExpanded.AssemblyHandler::.ctor(Verse.ModContentPack content), location
Z:\SteamLibrary\steamapps\common\data-000001638BF637C0
### At 2021-10-01 08.56.13
### Patch: static System.Collections.Generic.IEnumerable`1<System.Type>
Verse.GenDefDatabase::AllDefTypesWithDatabases()
### Replacement: static System.Collections.Generic.IEnumerable`1<System.Type>
Verse.GenDefDatabase::AllDefTypesWithDatabases_Patch1()
IL_0000: Local var 0: System.Collections.Generic.IEnumerable`1<System.Type>
IL_0000: ldnull
IL_0001: stloc 0 (System.Collections.Generic.IEnumerable`1[System.Type])
IL_0005: // start original
IL_0005: ldc.i4.s -2
IL_0007: newobj System.Void
Verse.<AllDefTypesWithDatabases>d__3::.ctor(System.Int32 <>1__state)
IL_000C: // end original
IL_000C: stloc 0 (System.Collections.Generic.IEnumerable`1[System.Type])
IL_0010: ldloc 0 (System.Collections.Generic.IEnumerable`1[System.Type])
IL_0014: call static System.Collections.Generic.IEnumerable`1<System.Type>
AchievementsExpanded.AssemblyHandler::DuplicateDefTypesPassthrough(System.Collectio
ns.Generic.IEnumerable`1<System.Type> __result)
IL_0019: ret
DONE

### Harmony id=fluffy.worktab, version=2.0.0.8, location=Z:\SteamLibrary\steamapps\


common\data-000001638B3F0080
### Started from System.Void WorkTab.Controller::.ctor(Verse.ModContentPack
content), location Z:\SteamLibrary\steamapps\common\data-000001638C1AD880
### At 2021-10-01 08.56.13
### Patch: static System.Void
RimWorld.DefGenerator::GenerateImpliedDefs_PreResolve()
### Replacement: static System.Void
RimWorld.DefGenerator::GenerateImpliedDefs_PreResolve_Patch1()
IL_0000: Local var 0: System.Collections.Generic.IEnumerator`1<Verse.ThingDef>
IL_0000: Local var 1: System.Collections.Generic.IEnumerator`1<Verse.TerrainDef>
IL_0000: Local var 2: System.Collections.Generic.IEnumerator`1<Verse.RecipeDef>
IL_0000: Local var 3:
System.Collections.Generic.IEnumerator`1<RimWorld.PawnColumnDef>
IL_0000: // start original
IL_0000: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
RimWorld.ThingDefGenerator_Buildings::ImpliedBlueprintAndFrameDefs()
IL_0005: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
RimWorld.ThingDefGenerator_Meat::ImpliedMeatDefs()
IL_000A: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
System.Linq.Enumerable::Concat(System.Collections.Generic.IEnumerable`1<Verse.Thing
Def> first, System.Collections.Generic.IEnumerable`1<Verse.ThingDef> second)
IL_000F: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
RimWorld.ThingDefGenerator_Techprints::ImpliedTechprintDefs()
IL_0014: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
System.Linq.Enumerable::Concat(System.Collections.Generic.IEnumerable`1<Verse.Thing
Def> first, System.Collections.Generic.IEnumerable`1<Verse.ThingDef> second)
IL_0019: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
RimWorld.ThingDefGenerator_Corpses::ImpliedCorpseDefs()
IL_001E: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
System.Linq.Enumerable::Concat(System.Collections.Generic.IEnumerable`1<Verse.Thing
Def> first, System.Collections.Generic.IEnumerable`1<Verse.ThingDef> second)
IL_0023: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.ThingDef>
System.Collections.Generic.IEnumerable`1<Verse.ThingDef>::GetEnumerator()
IL_0028: stloc.0
.try
{
IL_0029: br => Label0
IL_002E: Label1
IL_002E: ldloc.0
IL_002F: callvirt abstract virtual Verse.ThingDef
System.Collections.Generic.IEnumerator`1<Verse.ThingDef>::get_Current()
IL_0034: call static System.Void
RimWorld.DefGenerator::AddImpliedDef(Verse.ThingDef def)
IL_0039: Label0
IL_0039: ldloc.0
IL_003A: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_003F: brtrue => Label1
IL_0044: leave => Label2
IL_0049: leave => (autogenerated)
} // end try
.finally
{
IL_004E: ldloc.0
IL_004F: brfalse => Label3
IL_0054: ldloc.0
IL_0055: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_005A: Label3
IL_005A: endfinally
IL_005B: leave => (autogenerated)
} // end handler
IL_005C: Label2
IL_005C: ldc.i4.0
IL_005D: call static System.Void
Verse.DirectXmlCrossRefLoader::ResolveAllWantedCrossReferences(Verse.FailMode
failReportMode)
IL_0062: call static
System.Collections.Generic.IEnumerable`1<Verse.TerrainDef>
RimWorld.TerrainDefGenerator_Stone::ImpliedTerrainDefs()
IL_0067: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.TerrainDef>
System.Collections.Generic.IEnumerable`1<Verse.TerrainDef>::GetEnumerator()
IL_006C: stloc.1
.try
{
IL_006D: br => Label4
IL_0072: Label5
IL_0072: ldloc.1
IL_0073: callvirt abstract virtual Verse.TerrainDef
System.Collections.Generic.IEnumerator`1<Verse.TerrainDef>::get_Current()
IL_0078: call static System.Void
RimWorld.DefGenerator::AddImpliedDef(Verse.TerrainDef def)
IL_007D: Label4
IL_007D: ldloc.1
IL_007E: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_0083: brtrue => Label5
IL_0088: leave => Label6
IL_008D: leave => (autogenerated)
} // end try
.finally
{
IL_0092: ldloc.1
IL_0093: brfalse => Label7
IL_0098: ldloc.1
IL_0099: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_009E: Label7
IL_009E: endfinally
IL_009F: leave => (autogenerated)
} // end handler
IL_00A0: Label6
IL_00A0: call static
System.Collections.Generic.IEnumerable`1<Verse.RecipeDef>
RimWorld.RecipeDefGenerator::ImpliedRecipeDefs()
IL_00A5: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.RecipeDef>
System.Collections.Generic.IEnumerable`1<Verse.RecipeDef>::GetEnumerator()
IL_00AA: stloc.2
.try
{
IL_00AB: br => Label8
IL_00B0: Label9
IL_00B0: ldloc.2
IL_00B1: callvirt abstract virtual Verse.RecipeDef
System.Collections.Generic.IEnumerator`1<Verse.RecipeDef>::get_Current()
IL_00B6: call static System.Void
RimWorld.DefGenerator::AddImpliedDef(Verse.RecipeDef def)
IL_00BB: Label8
IL_00BB: ldloc.2
IL_00BC: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_00C1: brtrue => Label9
IL_00C6: leave => Label10
IL_00CB: leave => (autogenerated)
} // end try
.finally
{
IL_00D0: ldloc.2
IL_00D1: brfalse => Label11
IL_00D6: ldloc.2
IL_00D7: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_00DC: Label11
IL_00DC: endfinally
IL_00DD: leave => (autogenerated)
} // end handler
IL_00DE: Label10
IL_00DE: call static
System.Collections.Generic.IEnumerable`1<RimWorld.PawnColumnDef>
RimWorld.PawnColumnDefgenerator::ImpliedPawnColumnDefs()
IL_00E3: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<RimWorld.PawnColumnDef>
System.Collections.Generic.IEnumerable`1<RimWorld.PawnColumnDef>::GetEnumerator()
IL_00E8: stloc.3
.try
{
IL_00E9: br => Label12
IL_00EE: Label13
IL_00EE: ldloc.3
IL_00EF: callvirt abstract virtual RimWorld.PawnColumnDef
System.Collections.Generic.IEnumerator`1<RimWorld.PawnColumnDef>::get_Current()
IL_00F4: call static System.Void
RimWorld.DefGenerator::AddImpliedDef(RimWorld.PawnColumnDef def)
IL_00F9: Label12
IL_00F9: ldloc.3
IL_00FA: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_00FF: brtrue => Label13
IL_0104: leave => Label14
IL_0109: leave => (autogenerated)
} // end try
.finally
{
IL_010E: ldloc.3
IL_010F: brfalse => Label15
IL_0114: ldloc.3
IL_0115: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_011A: Label15
IL_011A: endfinally
IL_011B: leave => (autogenerated)
} // end handler
IL_011C: Label14
IL_011C: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
RimWorld.ThingDefGenerator_Neurotrainer::ImpliedThingDefs()
IL_0121: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.ThingDef>
System.Collections.Generic.IEnumerable`1<Verse.ThingDef>::GetEnumerator()
IL_0126: stloc.0
.try
{
IL_0127: br => Label16
IL_012C: Label17
IL_012C: ldloc.0
IL_012D: callvirt abstract virtual Verse.ThingDef
System.Collections.Generic.IEnumerator`1<Verse.ThingDef>::get_Current()
IL_0132: call static System.Void
RimWorld.DefGenerator::AddImpliedDef(Verse.ThingDef def)
IL_0137: Label16
IL_0137: ldloc.0
IL_0138: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_013D: brtrue => Label17
IL_0142: leave => Label18
IL_0147: leave => (autogenerated)
} // end try
.finally
{
IL_014C: ldloc.0
IL_014D: brfalse => Label19
IL_0152: ldloc.0
IL_0153: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_0158: Label19
IL_0158: endfinally
IL_0159: leave => (autogenerated)
} // end handler
IL_015A: // end original
IL_015A: Label18
IL_015A: call static System.Void
WorkTab.DefGenerator_GenerateImpliedDefs_PreResolve::Postfix()
IL_015F: ret
DONE

### Patch: System.Void RimWorld.PawnTable::PawnTableOnGUI(UnityEngine.Vector2


position)
### Replacement: static System.Void
RimWorld.PawnTable::PawnTableOnGUI_Patch1(RimWorld.PawnTable this,
UnityEngine.Vector2 position)
IL_0000: Local var 0: System.Single
IL_0000: Local var 1: System.Int32
IL_0000: Local var 2: UnityEngine.Rect
IL_0000: Local var 3: UnityEngine.Rect
IL_0000: Local var 4: System.Int32
IL_0000: Local var 5: System.Int32
IL_0000: Local var 6: UnityEngine.Rect
IL_0000: Local var 7: System.Int32
IL_0000: Local var 8: System.Int32
IL_0000: Local var 9: UnityEngine.Rect
IL_0000: Local var 10: System.Int32
IL_0000: Local var 11: System.Int32
IL_0000: Local var 12: UnityEngine.Rect
IL_0000: Local var 13: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 13 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 13 (System.Boolean)
IL_000E: ldloc 13 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg.0
IL_0015: ldarg 1
IL_0019: ldarg.0
IL_001A: ldfld RimWorld.PawnTableDef RimWorld.PawnTable::def
IL_001F: ldarg.0
IL_0020: ldflda UnityEngine.Vector2 RimWorld.PawnTable::scrollPosition
IL_0025: call static System.Boolean
WorkTab.PawnTable_PawnTableOnGUI::Prefix(RimWorld.PawnTable __instance,
UnityEngine.Vector2 position, RimWorld.PawnTableDef ___def, UnityEngine.Vector2&
___scrollPosition)
IL_002A: stloc 13 (System.Boolean)
IL_002E: nop
IL_002F: ldloc 13 (System.Boolean)
IL_0033: brfalse => Label0
IL_0038: // start original
IL_0038: call static UnityEngine.Event UnityEngine.Event::get_current()
IL_003D: callvirt UnityEngine.EventType UnityEngine.Event::get_type()
IL_0042: ldc.i4.8
IL_0043: bne.un => Label2
IL_0048: br => Label19
IL_004D: Label2
IL_004D: ldarg.0
IL_004E: call System.Void RimWorld.PawnTable::RecacheIfDirty()
IL_0053: ldarg.0
IL_0054: ldflda UnityEngine.Vector2 RimWorld.PawnTable::cachedSize
IL_0059: ldfld System.Single UnityEngine.Vector2::x
IL_005E: ldc.r4 16
IL_0063: sub
IL_0064: stloc.0
IL_0065: ldc.i4.0
IL_0066: stloc.1
IL_0067: ldc.i4.0
IL_0068: stloc.s 4 (System.Int32)
IL_006A: br => Label3
IL_006F: Label6
IL_006F: ldloc.s 4 (System.Int32)
IL_0071: ldarg.0
IL_0072: ldfld RimWorld.PawnTableDef RimWorld.PawnTable::def
IL_0077: ldfld System.Collections.Generic.List`1<RimWorld.PawnColumnDef>
RimWorld.PawnTableDef::columns
IL_007C: callvirt virtual System.Int32
System.Collections.Generic.List`1<RimWorld.PawnColumnDef>::get_Count()
IL_0081: ldc.i4.1
IL_0082: sub
IL_0083: bne.un => Label4
IL_0088: ldloc.0
IL_0089: ldloc.1
IL_008A: conv.r4
IL_008B: sub
IL_008C: conv.i4
IL_008D: stloc.s 5 (System.Int32)
IL_008F: br => Label5
IL_0094: Label4
IL_0094: ldarg.0
IL_0095: ldfld System.Collections.Generic.List`1<System.Single>
RimWorld.PawnTable::cachedColumnWidths
IL_009A: ldloc.s 4 (System.Int32)
IL_009C: callvirt virtual System.Single
System.Collections.Generic.List`1<System.Single>::get_Item(System.Int32 index)
IL_00A1: conv.i4
IL_00A2: stloc.s 5 (System.Int32)
IL_00A4: Label5
IL_00A4: ldloca.s 6 (UnityEngine.Rect)
IL_00A6: ldarg.1
IL_00A7: ldfld System.Single UnityEngine.Vector2::x
IL_00AC: conv.i4
IL_00AD: ldloc.1
IL_00AE: add
IL_00AF: conv.r4
IL_00B0: ldarg.1
IL_00B1: ldfld System.Single UnityEngine.Vector2::y
IL_00B6: conv.i4
IL_00B7: conv.r4
IL_00B8: ldloc.s 5 (System.Int32)
IL_00BA: conv.r4
IL_00BB: ldarg.0
IL_00BC: ldfld System.Single RimWorld.PawnTable::cachedHeaderHeight
IL_00C1: conv.i4
IL_00C2: conv.r4
IL_00C3: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_00C8: ldarg.0
IL_00C9: ldfld RimWorld.PawnTableDef RimWorld.PawnTable::def
IL_00CE: ldfld System.Collections.Generic.List`1<RimWorld.PawnColumnDef>
RimWorld.PawnTableDef::columns
IL_00D3: ldloc.s 4 (System.Int32)
IL_00D5: callvirt virtual RimWorld.PawnColumnDef
System.Collections.Generic.List`1<RimWorld.PawnColumnDef>::get_Item(System.Int32
index)
IL_00DA: callvirt RimWorld.PawnColumnWorker RimWorld.PawnColumnDef::get_Worker()
IL_00DF: ldloc.s 6 (UnityEngine.Rect)
IL_00E1: ldarg.0
IL_00E2: callvirt virtual System.Void
RimWorld.PawnColumnWorker::DoHeader(UnityEngine.Rect rect, RimWorld.PawnTable
table)
IL_00E7: ldloc.1
IL_00E8: ldloc.s 5 (System.Int32)
IL_00EA: add
IL_00EB: stloc.1
IL_00EC: ldloc.s 4 (System.Int32)
IL_00EE: ldc.i4.1
IL_00EF: add
IL_00F0: stloc.s 4 (System.Int32)
IL_00F2: Label3
IL_00F2: ldloc.s 4 (System.Int32)
IL_00F4: ldarg.0
IL_00F5: ldfld RimWorld.PawnTableDef RimWorld.PawnTable::def
IL_00FA: ldfld System.Collections.Generic.List`1<RimWorld.PawnColumnDef>
RimWorld.PawnTableDef::columns
IL_00FF: callvirt virtual System.Int32
System.Collections.Generic.List`1<RimWorld.PawnColumnDef>::get_Count()
IL_0104: blt => Label6
IL_0109: ldloca.s 2 (UnityEngine.Rect)
IL_010B: ldarg.1
IL_010C: ldfld System.Single UnityEngine.Vector2::x
IL_0111: conv.i4
IL_0112: conv.r4
IL_0113: ldarg.1
IL_0114: ldfld System.Single UnityEngine.Vector2::y
IL_0119: conv.i4
IL_011A: ldarg.0
IL_011B: ldfld System.Single RimWorld.PawnTable::cachedHeaderHeight
IL_0120: conv.i4
IL_0121: add
IL_0122: conv.r4
IL_0123: ldarg.0
IL_0124: ldflda UnityEngine.Vector2 RimWorld.PawnTable::cachedSize
IL_0129: ldfld System.Single UnityEngine.Vector2::x
IL_012E: conv.i4
IL_012F: conv.r4
IL_0130: ldarg.0
IL_0131: ldflda UnityEngine.Vector2 RimWorld.PawnTable::cachedSize
IL_0136: ldfld System.Single UnityEngine.Vector2::y
IL_013B: conv.i4
IL_013C: ldarg.0
IL_013D: ldfld System.Single RimWorld.PawnTable::cachedHeaderHeight
IL_0142: conv.i4
IL_0143: sub
IL_0144: conv.r4
IL_0145: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_014A: ldloca.s 3 (UnityEngine.Rect)
IL_014C: ldc.r4 0
IL_0151: ldc.r4 0
IL_0156: ldloca.s 2 (UnityEngine.Rect)
IL_0158: call System.Single UnityEngine.Rect::get_width()
IL_015D: ldc.r4 16
IL_0162: sub
IL_0163: ldarg.0
IL_0164: ldfld System.Single RimWorld.PawnTable::cachedHeightNoScrollbar
IL_0169: conv.i4
IL_016A: ldarg.0
IL_016B: ldfld System.Single RimWorld.PawnTable::cachedHeaderHeight
IL_0170: conv.i4
IL_0171: sub
IL_0172: conv.r4
IL_0173: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_0178: ldloc.2
IL_0179: ldarg.0
IL_017A: ldflda UnityEngine.Vector2 RimWorld.PawnTable::scrollPosition
IL_017F: ldloc.3
IL_0180: ldc.i4.1
IL_0181: call static System.Void
Verse.Widgets::BeginScrollView(UnityEngine.Rect outRect, UnityEngine.Vector2&
scrollPosition, UnityEngine.Rect viewRect, System.Boolean showScrollbars)
IL_0186: ldc.i4.0
IL_0187: stloc.s 7 (System.Int32)
IL_0189: ldc.i4.0
IL_018A: stloc.s 8 (System.Int32)
IL_018C: br => Label7
IL_0191: Label18
IL_0191: ldc.i4.0
IL_0192: stloc.1
IL_0193: ldloc.s 7 (System.Int32)
IL_0195: conv.r4
IL_0196: ldarg.0
IL_0197: ldflda UnityEngine.Vector2 RimWorld.PawnTable::scrollPosition
IL_019C: ldfld System.Single UnityEngine.Vector2::y
IL_01A1: sub
IL_01A2: ldarg.0
IL_01A3: ldfld System.Collections.Generic.List`1<System.Single>
RimWorld.PawnTable::cachedRowHeights
IL_01A8: ldloc.s 8 (System.Int32)
IL_01AA: callvirt virtual System.Single
System.Collections.Generic.List`1<System.Single>::get_Item(System.Int32 index)
IL_01AF: conv.i4
IL_01B0: conv.r4
IL_01B1: add
IL_01B2: ldc.r4 0
IL_01B7: blt => Label8
IL_01BC: ldloc.s 7 (System.Int32)
IL_01BE: conv.r4
IL_01BF: ldarg.0
IL_01C0: ldflda UnityEngine.Vector2 RimWorld.PawnTable::scrollPosition
IL_01C5: ldfld System.Single UnityEngine.Vector2::y
IL_01CA: sub
IL_01CB: ldloca.s 2 (UnityEngine.Rect)
IL_01CD: call System.Single UnityEngine.Rect::get_height()
IL_01D2: cgt
IL_01D4: br => Label9
IL_01D9: Label8
IL_01D9: ldc.i4.1
IL_01DA: Label9
IL_01DA: brtrue => Label10
IL_01DF: ldc.r4 1
IL_01E4: ldc.r4 1
IL_01E9: ldc.r4 1
IL_01EE: ldc.r4 0.2
IL_01F3: newobj System.Void UnityEngine.Color::.ctor(System.Single r,
System.Single g, System.Single b, System.Single a)
IL_01F8: call static System.Void UnityEngine.GUI::set_color(UnityEngine.Color
value)
IL_01FD: ldc.r4 0
IL_0202: ldloc.s 7 (System.Int32)
IL_0204: conv.r4
IL_0205: ldloca.s 3 (UnityEngine.Rect)
IL_0207: call System.Single UnityEngine.Rect::get_width()
IL_020C: call static System.Void
Verse.Widgets::DrawLineHorizontal(System.Single x, System.Single y, System.Single
length)
IL_0211: call static UnityEngine.Color UnityEngine.Color::get_white()
IL_0216: call static System.Void UnityEngine.GUI::set_color(UnityEngine.Color
value)
IL_021B: ldarg.0
IL_021C: ldarg.0
IL_021D: ldfld System.Collections.Generic.List`1<Verse.Pawn>
RimWorld.PawnTable::cachedPawns
IL_0222: ldloc.s 8 (System.Int32)
IL_0224: callvirt virtual Verse.Pawn
System.Collections.Generic.List`1<Verse.Pawn>::get_Item(System.Int32 index)
IL_0229: callvirt virtual System.Boolean
RimWorld.PawnTable::CanAssignPawn(Verse.Pawn p)
IL_022E: brtrue => Label11
IL_0233: call static UnityEngine.Color UnityEngine.Color::get_gray()
IL_0238: call static System.Void UnityEngine.GUI::set_color(UnityEngine.Color
value)
IL_023D: Label11
IL_023D: ldloca.s 9 (UnityEngine.Rect)
IL_023F: ldc.r4 0
IL_0244: ldloc.s 7 (System.Int32)
IL_0246: conv.r4
IL_0247: ldloca.s 3 (UnityEngine.Rect)
IL_0249: call System.Single UnityEngine.Rect::get_width()
IL_024E: ldarg.0
IL_024F: ldfld System.Collections.Generic.List`1<System.Single>
RimWorld.PawnTable::cachedRowHeights
IL_0254: ldloc.s 8 (System.Int32)
IL_0256: callvirt virtual System.Single
System.Collections.Generic.List`1<System.Single>::get_Item(System.Int32 index)
IL_025B: conv.i4
IL_025C: conv.r4
IL_025D: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_0262: ldloc.s 9 (UnityEngine.Rect)
IL_0264: call static System.Boolean Verse.Mouse::IsOver(UnityEngine.Rect
rect)
IL_0269: brfalse => Label12
IL_026E: ldloc.s 9 (UnityEngine.Rect)
IL_0270: ldsfld UnityEngine.Texture2D Verse.TexUI::HighlightTex
IL_0275: call static System.Void
UnityEngine.GUI::DrawTexture(UnityEngine.Rect position, UnityEngine.Texture image)
IL_027A: ldarg.0
IL_027B: ldfld System.Collections.Generic.List`1<Verse.LookTargets>
RimWorld.PawnTable::cachedLookTargets
IL_0280: ldloc.s 8 (System.Int32)
IL_0282: callvirt virtual Verse.LookTargets
System.Collections.Generic.List`1<Verse.LookTargets>::get_Item(System.Int32 index)
IL_0287: ldc.i4.1
IL_0288: ldarg.0
IL_0289: ldfld System.Collections.Generic.List`1<Verse.Pawn>
RimWorld.PawnTable::cachedPawns
IL_028E: ldloc.s 8 (System.Int32)
IL_0290: callvirt virtual Verse.Pawn
System.Collections.Generic.List`1<Verse.Pawn>::get_Item(System.Int32 index)
IL_0295: callvirt System.Boolean Verse.Pawn::get_IsColonist()
IL_029A: ldc.i4.0
IL_029B: callvirt System.Void Verse.LookTargets::Highlight(System.Boolean arrow,
System.Boolean colonistBar, System.Boolean circleOverlay)
IL_02A0: Label12
IL_02A0: ldc.i4.0
IL_02A1: stloc.s 10 (System.Int32)
IL_02A3: br => Label13
IL_02A8: Label16
IL_02A8: ldloc.s 10 (System.Int32)
IL_02AA: ldarg.0
IL_02AB: ldfld RimWorld.PawnTableDef RimWorld.PawnTable::def
IL_02B0: ldfld System.Collections.Generic.List`1<RimWorld.PawnColumnDef>
RimWorld.PawnTableDef::columns
IL_02B5: callvirt virtual System.Int32
System.Collections.Generic.List`1<RimWorld.PawnColumnDef>::get_Count()
IL_02BA: ldc.i4.1
IL_02BB: sub
IL_02BC: bne.un => Label14
IL_02C1: ldloc.0
IL_02C2: ldloc.1
IL_02C3: conv.r4
IL_02C4: sub
IL_02C5: conv.i4
IL_02C6: stloc.s 11 (System.Int32)
IL_02C8: br => Label15
IL_02CD: Label14
IL_02CD: ldarg.0
IL_02CE: ldfld System.Collections.Generic.List`1<System.Single>
RimWorld.PawnTable::cachedColumnWidths
IL_02D3: ldloc.s 10 (System.Int32)
IL_02D5: callvirt virtual System.Single
System.Collections.Generic.List`1<System.Single>::get_Item(System.Int32 index)
IL_02DA: conv.i4
IL_02DB: stloc.s 11 (System.Int32)
IL_02DD: Label15
IL_02DD: ldloca.s 12 (UnityEngine.Rect)
IL_02DF: ldloc.1
IL_02E0: conv.r4
IL_02E1: ldloc.s 7 (System.Int32)
IL_02E3: conv.r4
IL_02E4: ldloc.s 11 (System.Int32)
IL_02E6: conv.r4
IL_02E7: ldarg.0
IL_02E8: ldfld System.Collections.Generic.List`1<System.Single>
RimWorld.PawnTable::cachedRowHeights
IL_02ED: ldloc.s 8 (System.Int32)
IL_02EF: callvirt virtual System.Single
System.Collections.Generic.List`1<System.Single>::get_Item(System.Int32 index)
IL_02F4: conv.i4
IL_02F5: conv.r4
IL_02F6: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_02FB: ldarg.0
IL_02FC: ldfld RimWorld.PawnTableDef RimWorld.PawnTable::def
IL_0301: ldfld System.Collections.Generic.List`1<RimWorld.PawnColumnDef>
RimWorld.PawnTableDef::columns
IL_0306: ldloc.s 10 (System.Int32)
IL_0308: callvirt virtual RimWorld.PawnColumnDef
System.Collections.Generic.List`1<RimWorld.PawnColumnDef>::get_Item(System.Int32
index)
IL_030D: callvirt RimWorld.PawnColumnWorker RimWorld.PawnColumnDef::get_Worker()
IL_0312: ldloc.s 12 (UnityEngine.Rect)
IL_0314: ldarg.0
IL_0315: ldfld System.Collections.Generic.List`1<Verse.Pawn>
RimWorld.PawnTable::cachedPawns
IL_031A: ldloc.s 8 (System.Int32)
IL_031C: callvirt virtual Verse.Pawn
System.Collections.Generic.List`1<Verse.Pawn>::get_Item(System.Int32 index)
IL_0321: ldarg.0
IL_0322: callvirt abstract virtual System.Void
RimWorld.PawnColumnWorker::DoCell(UnityEngine.Rect rect, Verse.Pawn pawn,
RimWorld.PawnTable table)
IL_0327: ldloc.1
IL_0328: ldloc.s 11 (System.Int32)
IL_032A: add
IL_032B: stloc.1
IL_032C: ldloc.s 10 (System.Int32)
IL_032E: ldc.i4.1
IL_032F: add
IL_0330: stloc.s 10 (System.Int32)
IL_0332: Label13
IL_0332: ldloc.s 10 (System.Int32)
IL_0334: ldarg.0
IL_0335: ldfld RimWorld.PawnTableDef RimWorld.PawnTable::def
IL_033A: ldfld System.Collections.Generic.List`1<RimWorld.PawnColumnDef>
RimWorld.PawnTableDef::columns
IL_033F: callvirt virtual System.Int32
System.Collections.Generic.List`1<RimWorld.PawnColumnDef>::get_Count()
IL_0344: blt => Label16
IL_0349: ldarg.0
IL_034A: ldfld System.Collections.Generic.List`1<Verse.Pawn>
RimWorld.PawnTable::cachedPawns
IL_034F: ldloc.s 8 (System.Int32)
IL_0351: callvirt virtual Verse.Pawn
System.Collections.Generic.List`1<Verse.Pawn>::get_Item(System.Int32 index)
IL_0356: callvirt System.Boolean Verse.Pawn::get_Downed()
IL_035B: brfalse => Label17
IL_0360: ldc.r4 1
IL_0365: ldc.r4 0
IL_036A: ldc.r4 0
IL_036F: ldc.r4 0.5
IL_0374: newobj System.Void UnityEngine.Color::.ctor(System.Single r,
System.Single g, System.Single b, System.Single a)
IL_0379: call static System.Void UnityEngine.GUI::set_color(UnityEngine.Color
value)
IL_037E: ldc.r4 0
IL_0383: ldloca.s 9 (UnityEngine.Rect)
IL_0385: call UnityEngine.Vector2 UnityEngine.Rect::get_center()
IL_038A: ldfld System.Single UnityEngine.Vector2::y
IL_038F: ldloca.s 3 (UnityEngine.Rect)
IL_0391: call System.Single UnityEngine.Rect::get_width()
IL_0396: call static System.Void
Verse.Widgets::DrawLineHorizontal(System.Single x, System.Single y, System.Single
length)
IL_039B: Label17
IL_039B: call static UnityEngine.Color UnityEngine.Color::get_white()
IL_03A0: call static System.Void UnityEngine.GUI::set_color(UnityEngine.Color
value)
IL_03A5: Label10
IL_03A5: ldloc.s 7 (System.Int32)
IL_03A7: ldarg.0
IL_03A8: ldfld System.Collections.Generic.List`1<System.Single>
RimWorld.PawnTable::cachedRowHeights
IL_03AD: ldloc.s 8 (System.Int32)
IL_03AF: callvirt virtual System.Single
System.Collections.Generic.List`1<System.Single>::get_Item(System.Int32 index)
IL_03B4: conv.i4
IL_03B5: add
IL_03B6: stloc.s 7 (System.Int32)
IL_03B8: ldloc.s 8 (System.Int32)
IL_03BA: ldc.i4.1
IL_03BB: add
IL_03BC: stloc.s 8 (System.Int32)
IL_03BE: Label7
IL_03BE: ldloc.s 8 (System.Int32)
IL_03C0: ldarg.0
IL_03C1: ldfld System.Collections.Generic.List`1<Verse.Pawn>
RimWorld.PawnTable::cachedPawns
IL_03C6: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.Pawn>::get_Count()
IL_03CB: blt => Label18
IL_03D0: call static System.Void Verse.Widgets::EndScrollView()
IL_03D5: // end original
IL_03D5: Label19
IL_03D5: Label0
IL_03D5: ret
DONE

### Patch: System.Void RimWorld.PawnTable::RecacheIfDirty()


### Replacement: static System.Void
RimWorld.PawnTable::RecacheIfDirty_Patch2(RimWorld.PawnTable this)
IL_0000: Local var 0: System.Boolean
IL_0000: Local var 1: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 0 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 0 (System.Boolean)
IL_000E: ldc.i4 0
IL_0013: stloc 1 (System.Boolean)
IL_0017: ldloc 0 (System.Boolean)
IL_001B: brfalse.s => Label1
IL_001D: ldarg.0
IL_001E: ldloca 1 (System.Boolean)
IL_0022: ldarg.0
IL_0023: ldfld RimWorld.PawnTableDef RimWorld.PawnTable::def
IL_0028: call static System.Void
WorkTab.PawnTable_RecacheIfDirty::Prefix(RimWorld.PawnTable __instance,
System.Boolean& __state, RimWorld.PawnTableDef ___def)
IL_002D: nop
IL_002E: ldloc 0 (System.Boolean)
IL_0032: brfalse => Label0
IL_0037: // start original
IL_0037: ldarg.0
IL_0038: ldfld System.Boolean RimWorld.PawnTable::dirty
IL_003D: brtrue => Label2
IL_0042: br => Label3
IL_0047: Label2
IL_0047: ldarg.0
IL_0048: ldc.i4.0
IL_0049: stfld System.Boolean RimWorld.PawnTable::dirty
IL_004E: ldarg.0
IL_004F: call System.Void RimWorld.PawnTable::RecachePawns()
IL_0054: ldarg.0
IL_0055: call System.Void RimWorld.PawnTable::RecacheRowHeights()
IL_005A: ldarg.0
IL_005B: ldarg.0
IL_005C: call System.Single RimWorld.PawnTable::CalculateHeaderHeight()
IL_0061: stfld System.Single RimWorld.PawnTable::cachedHeaderHeight
IL_0066: ldarg.0
IL_0067: ldarg.0
IL_0068: call System.Single
RimWorld.PawnTable::CalculateTotalRequiredHeight()
IL_006D: stfld System.Single RimWorld.PawnTable::cachedHeightNoScrollbar
IL_0072: ldarg.0
IL_0073: call System.Void RimWorld.PawnTable::RecacheSize()
IL_0078: ldarg.0
IL_0079: call System.Void RimWorld.PawnTable::RecacheColumnWidths()
IL_007E: ldarg.0
IL_007F: call System.Void RimWorld.PawnTable::RecacheLookTargets()
IL_0084: // end original
IL_0084: Label3
IL_0084: Label0
IL_0084: ldarg.0
IL_0085: ldloc 1 (System.Boolean)
IL_0089: call static System.Void
WorkTab.PawnTable_RecacheIfDirty::Postfix(RimWorld.PawnTable __instance,
System.Boolean __state)
IL_008E: ret
DONE

### Patch: System.Void RimWorld.Pawn_WorkSettings::CacheWorkGiversInOrder()


### Replacement: static System.Void
RimWorld.Pawn_WorkSettings::CacheWorkGiversInOrder_Patch1(RimWorld.Pawn_WorkSetting
s this)
IL_0000: Local var 0: System.Collections.Generic.List`1<Verse.WorkTypeDef>
IL_0000: Local var 1: System.Int32
IL_0000: Local var 2: System.Int32
IL_0000: Local var 3: Verse.WorkTypeDef
IL_0000: Local var 4: System.Int32
IL_0000: Local var 5: System.Int32
IL_0000: Local var 6: Verse.WorkTypeDef
IL_0000: Local var 7: System.Int32
IL_0000: Local var 8: RimWorld.WorkGiver
IL_0000: Local var 9: System.Int32
IL_0000: Local var 10: Verse.WorkTypeDef
IL_0000: Local var 11: System.Int32
IL_0000: Local var 12: RimWorld.WorkGiver
IL_0000: Local var 13: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 13 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 13 (System.Boolean)
IL_000E: ldloc 13 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg.0
IL_0015: call static System.Boolean
WorkTab.Pawn_WorkSettings_CacheWorkGiversInOrder::Prefix(RimWorld.Pawn_WorkSettings
__instance)
IL_001A: stloc 13 (System.Boolean)
IL_001E: nop
IL_001F: ldloc 13 (System.Boolean)
IL_0023: brfalse => Label0
IL_0028: // start original
IL_0028: ldsfld System.Collections.Generic.List`1<Verse.WorkTypeDef>
RimWorld.Pawn_WorkSettings::wtsByPrio
IL_002D: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.WorkTypeDef>::Clear()
IL_0032: call static System.Collections.Generic.List`1<Verse.WorkTypeDef>
Verse.DefDatabase`1<Verse.WorkTypeDef>::get_AllDefsListForReading()
IL_0037: stloc.0
IL_0038: ldc.i4 999
IL_003D: stloc.1
IL_003E: ldc.i4.0
IL_003F: stloc.2
IL_0040: br => Label2
IL_0045: Label7
IL_0045: ldloc.0
IL_0046: ldloc.2
IL_0047: callvirt virtual Verse.WorkTypeDef
System.Collections.Generic.List`1<Verse.WorkTypeDef>::get_Item(System.Int32 index)
IL_004C: stloc.3
IL_004D: ldarg.0
IL_004E: ldloc.3
IL_004F: call System.Int32
RimWorld.Pawn_WorkSettings::GetPriority(Verse.WorkTypeDef w)
IL_0054: stloc.s 4 (System.Int32)
IL_0056: ldloc.s 4 (System.Int32)
IL_0058: ldc.i4.0
IL_0059: ble => Label3
IL_005E: ldloc.s 4 (System.Int32)
IL_0060: ldloc.1
IL_0061: bge => Label4
IL_0066: ldloc.3
IL_0067: ldfld System.Collections.Generic.List`1<RimWorld.WorkGiverDef>
Verse.WorkTypeDef::workGiversByPriority
IL_006C: ldsfld System.Predicate`1<RimWorld.WorkGiverDef>
RimWorld.<>c::<>9__28_1
IL_0071: dup
IL_0072: brtrue => Label5
IL_0077: pop
IL_0078: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_007D: ldftn System.Boolean
RimWorld.<>c::<CacheWorkGiversInOrder>b__28_1(RimWorld.WorkGiverDef wg)
IL_0083: newobj System.Void
System.Predicate`1<RimWorld.WorkGiverDef>::.ctor(System.Object object,
System.IntPtr method)
IL_0088: dup
IL_0089: stsfld System.Predicate`1<RimWorld.WorkGiverDef>
RimWorld.<>c::<>9__28_1
IL_008E: Label5
IL_008E: call static System.Boolean
Verse.GenCollection::Any(System.Collections.Generic.List`1<RimWorld.WorkGiverDef>
list, System.Predicate`1<RimWorld.WorkGiverDef> predicate)
IL_0093: brfalse => Label6
IL_0098: ldloc.s 4 (System.Int32)
IL_009A: stloc.1
IL_009B: Label4
IL_009B: Label6
IL_009B: ldsfld System.Collections.Generic.List`1<Verse.WorkTypeDef>
RimWorld.Pawn_WorkSettings::wtsByPrio
IL_00A0: ldloc.3
IL_00A1: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.WorkTypeDef>::Add(Verse.WorkTypeDef item)
IL_00A6: Label3
IL_00A6: ldloc.2
IL_00A7: ldc.i4.1
IL_00A8: add
IL_00A9: stloc.2
IL_00AA: Label2
IL_00AA: ldloc.2
IL_00AB: ldloc.0
IL_00AC: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.WorkTypeDef>::get_Count()
IL_00B1: blt => Label7
IL_00B6: ldsfld System.Collections.Generic.List`1<Verse.WorkTypeDef>
RimWorld.Pawn_WorkSettings::wtsByPrio
IL_00BB: ldarg.0
IL_00BC: ldftn System.Int32
RimWorld.Pawn_WorkSettings::<CacheWorkGiversInOrder>b__28_0(Verse.WorkTypeDef a,
Verse.WorkTypeDef b)
IL_00C2: newobj System.Void
System.Comparison`1<Verse.WorkTypeDef>::.ctor(System.Object object, System.IntPtr
method)
IL_00C7: call static System.Void
Verse.GenList::InsertionSort(System.Collections.Generic.IList`1<Verse.WorkTypeDef>
list, System.Comparison`1<Verse.WorkTypeDef> comparison)
IL_00CC: ldarg.0
IL_00CD: ldfld System.Collections.Generic.List`1<RimWorld.WorkGiver>
RimWorld.Pawn_WorkSettings::workGiversInOrderEmerg
IL_00D2: callvirt virtual System.Void
System.Collections.Generic.List`1<RimWorld.WorkGiver>::Clear()
IL_00D7: ldc.i4.0
IL_00D8: stloc.s 5 (System.Int32)
IL_00DA: br => Label8
IL_00DF: Label13
IL_00DF: ldsfld System.Collections.Generic.List`1<Verse.WorkTypeDef>
RimWorld.Pawn_WorkSettings::wtsByPrio
IL_00E4: ldloc.s 5 (System.Int32)
IL_00E6: callvirt virtual Verse.WorkTypeDef
System.Collections.Generic.List`1<Verse.WorkTypeDef>::get_Item(System.Int32 index)
IL_00EB: stloc.s 6 (Verse.WorkTypeDef)
IL_00ED: ldc.i4.0
IL_00EE: stloc.s 7 (System.Int32)
IL_00F0: br => Label9
IL_00F5: Label12
IL_00F5: ldloc.s 6 (Verse.WorkTypeDef)
IL_00F7: ldfld System.Collections.Generic.List`1<RimWorld.WorkGiverDef>
Verse.WorkTypeDef::workGiversByPriority
IL_00FC: ldloc.s 7 (System.Int32)
IL_00FE: callvirt virtual RimWorld.WorkGiverDef
System.Collections.Generic.List`1<RimWorld.WorkGiverDef>::get_Item(System.Int32
index)
IL_0103: callvirt RimWorld.WorkGiver RimWorld.WorkGiverDef::get_Worker()
IL_0108: stloc.s 8 (RimWorld.WorkGiver)
IL_010A: ldloc.s 8 (RimWorld.WorkGiver)
IL_010C: ldfld RimWorld.WorkGiverDef RimWorld.WorkGiver::def
IL_0111: ldfld System.Boolean RimWorld.WorkGiverDef::emergency
IL_0116: brfalse => Label10
IL_011B: ldarg.0
IL_011C: ldloc.s 8 (RimWorld.WorkGiver)
IL_011E: ldfld RimWorld.WorkGiverDef RimWorld.WorkGiver::def
IL_0123: ldfld Verse.WorkTypeDef RimWorld.WorkGiverDef::workType
IL_0128: call System.Int32
RimWorld.Pawn_WorkSettings::GetPriority(Verse.WorkTypeDef w)
IL_012D: ldloc.1
IL_012E: bgt => Label11
IL_0133: ldarg.0
IL_0134: ldfld System.Collections.Generic.List`1<RimWorld.WorkGiver>
RimWorld.Pawn_WorkSettings::workGiversInOrderEmerg
IL_0139: ldloc.s 8 (RimWorld.WorkGiver)
IL_013B: callvirt virtual System.Void
System.Collections.Generic.List`1<RimWorld.WorkGiver>::Add(RimWorld.WorkGiver item)
IL_0140: Label10
IL_0140: Label11
IL_0140: ldloc.s 7 (System.Int32)
IL_0142: ldc.i4.1
IL_0143: add
IL_0144: stloc.s 7 (System.Int32)
IL_0146: Label9
IL_0146: ldloc.s 7 (System.Int32)
IL_0148: ldloc.s 6 (Verse.WorkTypeDef)
IL_014A: ldfld System.Collections.Generic.List`1<RimWorld.WorkGiverDef>
Verse.WorkTypeDef::workGiversByPriority
IL_014F: callvirt virtual System.Int32
System.Collections.Generic.List`1<RimWorld.WorkGiverDef>::get_Count()
IL_0154: blt => Label12
IL_0159: ldloc.s 5 (System.Int32)
IL_015B: ldc.i4.1
IL_015C: add
IL_015D: stloc.s 5 (System.Int32)
IL_015F: Label8
IL_015F: ldloc.s 5 (System.Int32)
IL_0161: ldsfld System.Collections.Generic.List`1<Verse.WorkTypeDef>
RimWorld.Pawn_WorkSettings::wtsByPrio
IL_0166: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.WorkTypeDef>::get_Count()
IL_016B: blt => Label13
IL_0170: ldarg.0
IL_0171: ldfld System.Collections.Generic.List`1<RimWorld.WorkGiver>
RimWorld.Pawn_WorkSettings::workGiversInOrderNormal
IL_0176: callvirt virtual System.Void
System.Collections.Generic.List`1<RimWorld.WorkGiver>::Clear()
IL_017B: ldc.i4.0
IL_017C: stloc.s 9 (System.Int32)
IL_017E: br => Label14
IL_0183: Label19
IL_0183: ldsfld System.Collections.Generic.List`1<Verse.WorkTypeDef>
RimWorld.Pawn_WorkSettings::wtsByPrio
IL_0188: ldloc.s 9 (System.Int32)
IL_018A: callvirt virtual Verse.WorkTypeDef
System.Collections.Generic.List`1<Verse.WorkTypeDef>::get_Item(System.Int32 index)
IL_018F: stloc.s 10 (Verse.WorkTypeDef)
IL_0191: ldc.i4.0
IL_0192: stloc.s 11 (System.Int32)
IL_0194: br => Label15
IL_0199: Label18
IL_0199: ldloc.s 10 (Verse.WorkTypeDef)
IL_019B: ldfld System.Collections.Generic.List`1<RimWorld.WorkGiverDef>
Verse.WorkTypeDef::workGiversByPriority
IL_01A0: ldloc.s 11 (System.Int32)
IL_01A2: callvirt virtual RimWorld.WorkGiverDef
System.Collections.Generic.List`1<RimWorld.WorkGiverDef>::get_Item(System.Int32
index)
IL_01A7: callvirt RimWorld.WorkGiver RimWorld.WorkGiverDef::get_Worker()
IL_01AC: stloc.s 12 (RimWorld.WorkGiver)
IL_01AE: ldloc.s 12 (RimWorld.WorkGiver)
IL_01B0: ldfld RimWorld.WorkGiverDef RimWorld.WorkGiver::def
IL_01B5: ldfld System.Boolean RimWorld.WorkGiverDef::emergency
IL_01BA: brfalse => Label16
IL_01BF: ldarg.0
IL_01C0: ldloc.s 12 (RimWorld.WorkGiver)
IL_01C2: ldfld RimWorld.WorkGiverDef RimWorld.WorkGiver::def
IL_01C7: ldfld Verse.WorkTypeDef RimWorld.WorkGiverDef::workType
IL_01CC: call System.Int32
RimWorld.Pawn_WorkSettings::GetPriority(Verse.WorkTypeDef w)
IL_01D1: ldloc.1
IL_01D2: ble => Label17
IL_01D7: Label16
IL_01D7: ldarg.0
IL_01D8: ldfld System.Collections.Generic.List`1<RimWorld.WorkGiver>
RimWorld.Pawn_WorkSettings::workGiversInOrderNormal
IL_01DD: ldloc.s 12 (RimWorld.WorkGiver)
IL_01DF: callvirt virtual System.Void
System.Collections.Generic.List`1<RimWorld.WorkGiver>::Add(RimWorld.WorkGiver item)
IL_01E4: Label17
IL_01E4: ldloc.s 11 (System.Int32)
IL_01E6: ldc.i4.1
IL_01E7: add
IL_01E8: stloc.s 11 (System.Int32)
IL_01EA: Label15
IL_01EA: ldloc.s 11 (System.Int32)
IL_01EC: ldloc.s 10 (Verse.WorkTypeDef)
IL_01EE: ldfld System.Collections.Generic.List`1<RimWorld.WorkGiverDef>
Verse.WorkTypeDef::workGiversByPriority
IL_01F3: callvirt virtual System.Int32
System.Collections.Generic.List`1<RimWorld.WorkGiverDef>::get_Count()
IL_01F8: blt => Label18
IL_01FD: ldloc.s 9 (System.Int32)
IL_01FF: ldc.i4.1
IL_0200: add
IL_0201: stloc.s 9 (System.Int32)
IL_0203: Label14
IL_0203: ldloc.s 9 (System.Int32)
IL_0205: ldsfld System.Collections.Generic.List`1<Verse.WorkTypeDef>
RimWorld.Pawn_WorkSettings::wtsByPrio
IL_020A: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.WorkTypeDef>::get_Count()
IL_020F: blt => Label19
IL_0214: ldarg.0
IL_0215: ldc.i4.0
IL_0216: stfld System.Boolean RimWorld.Pawn_WorkSettings::workGiversDirty
IL_021B: // end original
IL_021B: Label0
IL_021B: ret
DONE

### Patch: System.Void RimWorld.Pawn_WorkSettings::DisableAll()


### Replacement: static System.Void
RimWorld.Pawn_WorkSettings::DisableAll_Patch1(RimWorld.Pawn_WorkSettings this)
IL_0000: ldarg.0
IL_0001: call static System.Void
WorkTab.Pawn_WorkSettings_DisableAll::Prefix(RimWorld.Pawn_WorkSettings __instance)
IL_0006: // start original
IL_0006: ldarg.0
IL_0007: call System.Void
RimWorld.Pawn_WorkSettings::ConfirmInitializedDebug()
IL_000C: ldarg.0
IL_000D: ldfld Verse.DefMap`2<Verse.WorkTypeDef, System.Int32>
RimWorld.Pawn_WorkSettings::priorities
IL_0012: ldc.i4.0
IL_0013: callvirt System.Void Verse.DefMap`2<Verse.WorkTypeDef,
System.Int32>::SetAll(System.Int32 val)
IL_0018: ldarg.0
IL_0019: ldc.i4.1
IL_001A: stfld System.Boolean RimWorld.Pawn_WorkSettings::workGiversDirty
IL_001F: // end original
IL_001F: ret
DONE

### Patch: System.Void RimWorld.Pawn_WorkSettings::EnableAndInitialize()


### Replacement: static System.Void
RimWorld.Pawn_WorkSettings::EnableAndInitialize_Patch0(RimWorld.Pawn_WorkSettings
this)
IL_0000: Local var 0: System.Int32
IL_0000: Local var 1: System.Collections.Generic.List`1<Verse.WorkTypeDef>
IL_0000: Local var 2: System.Collections.Generic.IEnumerator`1<Verse.WorkTypeDef>
IL_0000: Local var 3: Verse.WorkTypeDef
IL_0000: Local var 4: Verse.WorkTypeDef
IL_0000: Local var 5: System.Int32
IL_0000: // start original
IL_0000: ldarg.0
IL_0001: ldfld Verse.DefMap`2<Verse.WorkTypeDef, System.Int32>
RimWorld.Pawn_WorkSettings::priorities
IL_0006: brtrue => Label0
IL_000B: ldarg.0
IL_000C: newobj System.Void Verse.DefMap`2<Verse.WorkTypeDef,
System.Int32>::.ctor()
IL_0011: stfld Verse.DefMap`2<Verse.WorkTypeDef, System.Int32>
RimWorld.Pawn_WorkSettings::priorities
IL_0016: Label0
IL_0016: ldarg.0
IL_0017: ldfld Verse.DefMap`2<Verse.WorkTypeDef, System.Int32>
RimWorld.Pawn_WorkSettings::priorities
IL_001C: ldc.i4.0
IL_001D: callvirt System.Void Verse.DefMap`2<Verse.WorkTypeDef,
System.Int32>::SetAll(System.Int32 val)
IL_0022: ldc.i4.0
IL_0023: stloc.0
IL_0024: call static
System.Collections.Generic.IEnumerable`1<Verse.WorkTypeDef>
Verse.DefDatabase`1<Verse.WorkTypeDef>::get_AllDefs()
IL_0029: ldarg.0
IL_002A: ldftn System.Boolean
RimWorld.Pawn_WorkSettings::<EnableAndInitialize>b__18_0(Verse.WorkTypeDef w)
IL_0030: newobj System.Void System.Func`2<Verse.WorkTypeDef,
System.Boolean>::.ctor(System.Object object, System.IntPtr method)
IL_0035: call static
System.Collections.Generic.IEnumerable`1<Verse.WorkTypeDef>
System.Linq.Enumerable::Where(System.Collections.Generic.IEnumerable`1<Verse.WorkTy
peDef> source, System.Func`2<Verse.WorkTypeDef, System.Boolean> predicate)
IL_003A: ldarg.0
IL_003B: ldftn System.Single
RimWorld.Pawn_WorkSettings::<EnableAndInitialize>b__18_1(Verse.WorkTypeDef w)
IL_0041: newobj System.Void System.Func`2<Verse.WorkTypeDef,
System.Single>::.ctor(System.Object object, System.IntPtr method)
IL_0046: call static System.Linq.IOrderedEnumerable`1<Verse.WorkTypeDef>
System.Linq.Enumerable::OrderByDescending(System.Collections.Generic.IEnumerable`1<
Verse.WorkTypeDef> source, System.Func`2<Verse.WorkTypeDef, System.Single>
keySelector)
IL_004B: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.WorkTypeDef>
System.Collections.Generic.IEnumerable`1<Verse.WorkTypeDef>::GetEnumerator()
IL_0050: stloc.2
.try
{
IL_0051: br => Label1
IL_0056: Label4
IL_0056: ldloc.2
IL_0057: callvirt abstract virtual Verse.WorkTypeDef
System.Collections.Generic.IEnumerator`1<Verse.WorkTypeDef>::get_Current()
IL_005C: stloc.3
IL_005D: ldarg.0
IL_005E: ldloc.3
IL_005F: call static System.Int32
WorkTab.Pawn_WorkSettings_EnableAndInitialize::GetDefaultPriority()
IL_0064: call System.Void
RimWorld.Pawn_WorkSettings::SetPriority(Verse.WorkTypeDef w, System.Int32 priority)
IL_0069: ldloc.0
IL_006A: ldc.i4.1
IL_006B: add
IL_006C: stloc.0
IL_006D: ldloc.0
IL_006E: ldc.i4.6
IL_006F: blt => Label2
IL_0074: leave => Label3
IL_0079: Label1
IL_0079: Label2
IL_0079: ldloc.2
IL_007A: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_007F: brtrue => Label4
IL_0084: leave => Label5
IL_0089: leave => (autogenerated)
} // end try
.finally
{
IL_008E: ldloc.2
IL_008F: brfalse => Label6
IL_0094: ldloc.2
IL_0095: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_009A: Label6
IL_009A: endfinally
IL_009B: leave => (autogenerated)
} // end handler
IL_009C: Label3
IL_009C: Label5
IL_009C: call static
System.Collections.Generic.IEnumerable`1<Verse.WorkTypeDef>
Verse.DefDatabase`1<Verse.WorkTypeDef>::get_AllDefs()
IL_00A1: ldsfld System.Func`2<Verse.WorkTypeDef, System.Boolean>
RimWorld.<>c::<>9__18_2
IL_00A6: dup
IL_00A7: brtrue => Label7
IL_00AC: pop
IL_00AD: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_00B2: ldftn System.Boolean
RimWorld.<>c::<EnableAndInitialize>b__18_2(Verse.WorkTypeDef w)
IL_00B8: newobj System.Void System.Func`2<Verse.WorkTypeDef,
System.Boolean>::.ctor(System.Object object, System.IntPtr method)
IL_00BD: dup
IL_00BE: stsfld System.Func`2<Verse.WorkTypeDef, System.Boolean>
RimWorld.<>c::<>9__18_2
IL_00C3: Label7
IL_00C3: call static
System.Collections.Generic.IEnumerable`1<Verse.WorkTypeDef>
System.Linq.Enumerable::Where(System.Collections.Generic.IEnumerable`1<Verse.WorkTy
peDef> source, System.Func`2<Verse.WorkTypeDef, System.Boolean> predicate)
IL_00C8: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.WorkTypeDef>
System.Collections.Generic.IEnumerable`1<Verse.WorkTypeDef>::GetEnumerator()
IL_00CD: stloc.2
.try
{
IL_00CE: br => Label8
IL_00D3: Label10
IL_00D3: ldloc.2
IL_00D4: callvirt abstract virtual Verse.WorkTypeDef
System.Collections.Generic.IEnumerator`1<Verse.WorkTypeDef>::get_Current()
IL_00D9: stloc.s 4 (Verse.WorkTypeDef)
IL_00DB: ldarg.0
IL_00DC: ldfld Verse.Pawn RimWorld.Pawn_WorkSettings::pawn
IL_00E1: ldloc.s 4 (Verse.WorkTypeDef)
IL_00E3: callvirt System.Boolean
Verse.Pawn::WorkTypeIsDisabled(Verse.WorkTypeDef w)
IL_00E8: brtrue => Label9
IL_00ED: ldarg.0
IL_00EE: ldloc.s 4 (Verse.WorkTypeDef)
IL_00F0: call static System.Int32
WorkTab.Pawn_WorkSettings_EnableAndInitialize::GetDefaultPriority()
IL_00F5: call System.Void
RimWorld.Pawn_WorkSettings::SetPriority(Verse.WorkTypeDef w, System.Int32 priority)
IL_00FA: Label8
IL_00FA: Label9
IL_00FA: ldloc.2
IL_00FB: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_0100: brtrue => Label10
IL_0105: leave => Label11
IL_010A: leave => (autogenerated)
} // end try
.finally
{
IL_010F: ldloc.2
IL_0110: brfalse => Label12
IL_0115: ldloc.2
IL_0116: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_011B: Label12
IL_011B: endfinally
IL_011C: leave => (autogenerated)
} // end handler
IL_011D: Label11
IL_011D: ldarg.0
IL_011E: ldfld Verse.Pawn RimWorld.Pawn_WorkSettings::pawn
IL_0123: ldc.i4.0
IL_0124: callvirt System.Collections.Generic.List`1<Verse.WorkTypeDef>
Verse.Pawn::GetDisabledWorkTypes(System.Boolean permanentOnly)
IL_0129: stloc.1
IL_012A: ldc.i4.0
IL_012B: stloc.s 5 (System.Int32)
IL_012D: br => Label13
IL_0132: Label14
IL_0132: ldarg.0
IL_0133: ldloc.1
IL_0134: ldloc.s 5 (System.Int32)
IL_0136: callvirt virtual Verse.WorkTypeDef
System.Collections.Generic.List`1<Verse.WorkTypeDef>::get_Item(System.Int32 index)
IL_013B: call System.Void
RimWorld.Pawn_WorkSettings::Disable(Verse.WorkTypeDef w)
IL_0140: ldloc.s 5 (System.Int32)
IL_0142: ldc.i4.1
IL_0143: add
IL_0144: stloc.s 5 (System.Int32)
IL_0146: Label13
IL_0146: ldloc.s 5 (System.Int32)
IL_0148: ldloc.1
IL_0149: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.WorkTypeDef>::get_Count()
IL_014E: blt => Label14
IL_0153: // end original
IL_0153: ret
DONE

### Patch: System.Int32 RimWorld.Pawn_WorkSettings::GetPriority(Verse.WorkTypeDef


w)
### Replacement: static System.Int32
RimWorld.Pawn_WorkSettings::GetPriority_Patch1(RimWorld.Pawn_WorkSettings this,
Verse.WorkTypeDef w)
IL_0000: Local var 0: System.Int32
IL_0000: Local var 1: System.Int32
IL_0000: Local var 2: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 1 (System.Int32)
IL_0009: ldc.i4 0
IL_000E: stloc 2 (System.Boolean)
IL_0012: ldc.i4.1
IL_0013: stloc 2 (System.Boolean)
IL_0017: ldloc 2 (System.Boolean)
IL_001B: brfalse.s => Label1
IL_001D: ldarg 1
IL_0021: ldarg.0
IL_0022: ldloca 1 (System.Int32)
IL_0026: call static System.Boolean
WorkTab.Pawn_WorkSettings_GetPriority::Prefix(Verse.WorkTypeDef w,
RimWorld.Pawn_WorkSettings __instance, System.Int32& __result)
IL_002B: stloc 2 (System.Boolean)
IL_002F: nop
IL_0030: ldloc 2 (System.Boolean)
IL_0034: brfalse => Label0
IL_0039: // start original
IL_0039: ldarg.0
IL_003A: call System.Void
RimWorld.Pawn_WorkSettings::ConfirmInitializedDebug()
IL_003F: ldarg.0
IL_0040: ldfld Verse.DefMap`2<Verse.WorkTypeDef, System.Int32>
RimWorld.Pawn_WorkSettings::priorities
IL_0045: ldarg.1
IL_0046: callvirt System.Int32 Verse.DefMap`2<Verse.WorkTypeDef,
System.Int32>::get_Item(Verse.WorkTypeDef def)
IL_004B: stloc.0
IL_004C: ldloc.0
IL_004D: ldc.i4.0
IL_004E: ble => Label2
IL_0053: call static RimWorld.PlaySettings Verse.Find::get_PlaySettings()
IL_0058: ldfld System.Boolean RimWorld.PlaySettings::useWorkPriorities
IL_005D: brtrue => Label3
IL_0062: ldc.i4.3
IL_0063: br => Label4
IL_0068: Label2
IL_0068: Label3
IL_0068: ldloc.0
IL_0069: // end original
IL_0069: Label4
IL_0069: stloc 1 (System.Int32)
IL_006D: Label0
IL_006D: ldloc 1 (System.Int32)
IL_0071: ret
DONE

### Patch: System.Void RimWorld.Pawn_WorkSettings::SetPriority(Verse.WorkTypeDef w,


System.Int32 priority)
### Replacement: static System.Void
RimWorld.Pawn_WorkSettings::SetPriority_Patch1(RimWorld.Pawn_WorkSettings this,
Verse.WorkTypeDef w, System.Int32 priority)
IL_0000: Local var 0: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 0 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 0 (System.Boolean)
IL_000E: ldloc 0 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg.0
IL_0015: ldarg 1
IL_0019: ldarga 2
IL_001D: call static System.Void
WorkTab.Pawn_WorkSettings_SetPriority::Prefix(RimWorld.Pawn_WorkSettings
__instance, Verse.WorkTypeDef w, System.Int32& priority)
IL_0022: nop
IL_0023: ldloc 0 (System.Boolean)
IL_0027: brfalse => Label0
IL_002C: // start original
IL_002C: ldarg.0
IL_002D: call System.Void
RimWorld.Pawn_WorkSettings::ConfirmInitializedDebug()
IL_0032: ldarg.2
IL_0033: brfalse => Label2
IL_0038: ldarg.0
IL_0039: ldfld Verse.Pawn RimWorld.Pawn_WorkSettings::pawn
IL_003E: ldarg.1
IL_003F: callvirt System.Boolean Verse.Pawn::WorkTypeIsDisabled(Verse.WorkTypeDef
w)
IL_0044: brfalse => Label3
IL_0049: ldc.i4.4
IL_004A: newarr System.Object
IL_004F: dup
IL_0050: ldc.i4.0
IL_0051: ldstr "Tried to change priority on disabled worktype "
IL_0056: stelem.ref
IL_0057: dup
IL_0058: ldc.i4.1
IL_0059: ldarg.1
IL_005A: stelem.ref
IL_005B: dup
IL_005C: ldc.i4.2
IL_005D: ldstr " for pawn "
IL_0062: stelem.ref
IL_0063: dup
IL_0064: ldc.i4.3
IL_0065: ldarg.0
IL_0066: ldfld Verse.Pawn RimWorld.Pawn_WorkSettings::pawn
IL_006B: stelem.ref
IL_006C: call static System.String System.String::Concat(System.Object[]
args)
IL_0071: call static System.Void Verse.Log::Error(System.String text)
IL_0076: br => Label8
IL_007B: Label2
IL_007B: Label3
IL_007B: ldarg.2
IL_007C: ldc.i4.0
IL_007D: blt => Label4
IL_0082: ldarg.2
IL_0083: ldc.i4.4
IL_0084: ble => Label5
IL_0089: Label4
IL_0089: ldstr "Trying to set work to invalid priority "
IL_008E: ldarg.2
IL_008F: box System.Int32
IL_0094: call static System.String System.String::Concat(System.Object arg0,
System.Object arg1)
IL_0099: call static System.Void Verse.Log::Message(System.String text)
IL_009E: Label5
IL_009E: ldarg.0
IL_009F: ldfld Verse.DefMap`2<Verse.WorkTypeDef, System.Int32>
RimWorld.Pawn_WorkSettings::priorities
IL_00A4: ldarg.1
IL_00A5: ldarg.2
IL_00A6: callvirt System.Void Verse.DefMap`2<Verse.WorkTypeDef,
System.Int32>::set_Item(Verse.WorkTypeDef def, System.Int32 value)
IL_00AB: ldarg.0
IL_00AC: ldc.i4.1
IL_00AD: stfld System.Boolean RimWorld.Pawn_WorkSettings::workGiversDirty
IL_00B2: ldarg.2
IL_00B3: brtrue => Label6
IL_00B8: ldarg.0
IL_00B9: ldfld Verse.Pawn RimWorld.Pawn_WorkSettings::pawn
IL_00BE: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
IL_00C3: brfalse => Label7
IL_00C8: ldarg.0
IL_00C9: ldfld Verse.Pawn RimWorld.Pawn_WorkSettings::pawn
IL_00CE: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
IL_00D3: ldarg.1
IL_00D4: callvirt System.Void
Verse.AI.Pawn_JobTracker::Notify_WorkTypeDisabled(Verse.WorkTypeDef wType)
IL_00D9: // end original
IL_00D9: Label6
IL_00D9: Label7
IL_00D9: Label8
IL_00D9: Label0
IL_00D9: ret
DONE

### Harmony id=Dubwise.DubsMintMenusMod, version=2.0.0.8, location=Z:\SteamLibrary\


steamapps\common\data-000001638B3F0080
### Started from System.Void
DubsMintMenus.DubsMintMenusMod::.ctor(Verse.ModContentPack content), location Z:\
SteamLibrary\steamapps\common\data-000001638C2E0B00
### At 2021-10-01 08.56.13
### Harmony id=PeteTimesSix.CompactHediffs, version=2.0.0.8, location=Z:\
SteamLibrary\steamapps\common\data-000001638B3F0080
### Started from System.Void
PeteTimesSix.SimpleSidearms.SimpleSidearms::.ctor(Verse.ModContentPack content),
location Z:\SteamLibrary\steamapps\common\data-000001638C30A720
### At 2021-10-01 08.56.13
### Patch: System.Void Verse.AI.Toil::.ctor()
### Replacement: static System.Void Verse.AI.Toil::.ctor_Patch1(Verse.AI.Toil this)
IL_0000: // start original
IL_0000: ldarg.0
IL_0001: newobj System.Void
System.Collections.Generic.List`1<System.Func`1<Verse.AI.JobCondition>>::.ctor()
IL_0006: stfld
System.Collections.Generic.List`1<System.Func`1<Verse.AI.JobCondition>>
Verse.AI.Toil::endConditions
IL_000B: ldarg.0
IL_000C: ldc.i4.2
IL_000D: stfld RimWorld.RandomSocialMode Verse.AI.Toil::socialMode
IL_0012: ldarg.0
IL_0013: ldc.i4.1
IL_0014: stfld Verse.AI.ToilCompleteMode Verse.AI.Toil::defaultCompleteMode
IL_0019: ldarg.0
IL_001A: call System.Void System.Object::.ctor()
IL_001F: // end original
IL_001F: ldarg.0
IL_0020: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.Toil_ctor_Postfix::_ctor(Verse.AI.Toil
__instance)
IL_0025: ret
DONE

### Patch: System.Boolean Verse.PawnRenderer::CarryWeaponOpenly()


### Replacement: static System.Boolean
Verse.PawnRenderer::CarryWeaponOpenly_Patch1(Verse.PawnRenderer this)
IL_0000: Local var 0: Verse.AI.Group.Lord
IL_0000: Local var 1: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 1 (System.Boolean)
IL_0009: // start original
IL_0009: ldarg.0
IL_000A: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_000F: ldfld Verse.Pawn_CarryTracker Verse.Pawn::carryTracker
IL_0014: brfalse => Label0
IL_0019: ldarg.0
IL_001A: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_001F: ldfld Verse.Pawn_CarryTracker Verse.Pawn::carryTracker
IL_0024: callvirt Verse.Thing Verse.Pawn_CarryTracker::get_CarriedThing()
IL_0029: brfalse => Label1
IL_002E: ldc.i4.0
IL_002F: br => Label10
IL_0034: Label0
IL_0034: Label1
IL_0034: ldarg.0
IL_0035: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_003A: callvirt System.Boolean Verse.Pawn::get_Drafted()
IL_003F: brfalse => Label2
IL_0044: ldc.i4.1
IL_0045: br => Label11
IL_004A: Label2
IL_004A: ldarg.0
IL_004B: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_0050: callvirt Verse.AI.Job Verse.Pawn::get_CurJob()
IL_0055: brfalse => Label3
IL_005A: ldarg.0
IL_005B: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_0060: callvirt Verse.AI.Job Verse.Pawn::get_CurJob()
IL_0065: ldfld Verse.JobDef Verse.AI.Job::def
IL_006A: ldfld System.Boolean Verse.JobDef::alwaysShowWeapon
IL_006F: brfalse => Label4
IL_0074: ldc.i4.1
IL_0075: br => Label12
IL_007A: Label3
IL_007A: Label4
IL_007A: ldarg.0
IL_007B: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_0080: ldfld Verse.AI.Pawn_MindState Verse.Pawn::mindState
IL_0085: ldfld Verse.AI.PawnDuty Verse.AI.Pawn_MindState::duty
IL_008A: brfalse => Label5
IL_008F: ldarg.0
IL_0090: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_0095: ldfld Verse.AI.Pawn_MindState Verse.Pawn::mindState
IL_009A: ldfld Verse.AI.PawnDuty Verse.AI.Pawn_MindState::duty
IL_009F: ldfld Verse.AI.DutyDef Verse.AI.PawnDuty::def
IL_00A4: ldfld System.Boolean Verse.AI.DutyDef::alwaysShowWeapon
IL_00A9: brfalse => Label6
IL_00AE: ldc.i4.1
IL_00AF: br => Label13
IL_00B4: Label5
IL_00B4: Label6
IL_00B4: ldarg.0
IL_00B5: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_00BA: call static Verse.AI.Group.Lord
Verse.AI.Group.LordUtility::GetLord(Verse.Pawn p)
IL_00BF: stloc.0
IL_00C0: ldloc.0
IL_00C1: brfalse => Label7
IL_00C6: ldloc.0
IL_00C7: callvirt Verse.AI.Group.LordJob Verse.AI.Group.Lord::get_LordJob()
IL_00CC: brfalse => Label8
IL_00D1: ldloc.0
IL_00D2: callvirt Verse.AI.Group.LordJob Verse.AI.Group.Lord::get_LordJob()
IL_00D7: callvirt virtual System.Boolean
Verse.AI.Group.LordJob::get_AlwaysShowWeapon()
IL_00DC: brfalse => Label9
IL_00E1: ldc.i4.1
IL_00E2: br => Label14
IL_00E7: Label7
IL_00E7: Label8
IL_00E7: Label9
IL_00E7: ldc.i4.0
IL_00E8: // end original
IL_00E8: Label10
IL_00E8: Label11
IL_00E8: Label12
IL_00E8: Label13
IL_00E8: Label14
IL_00E8: stloc 1 (System.Boolean)
IL_00EC: ldarga 0
IL_00F0: ldarg.0
IL_00F1: ldflda Verse.Pawn Verse.PawnRenderer::pawn
IL_00F6: ldloca 1 (System.Boolean)
IL_00FA: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.PawnRenderer_CarryWeaponOpenly_Postfix::Carr
yWeaponOpenly(Verse.PawnRenderer& __instance, Verse.Pawn& ___pawn, System.Boolean&
__result)
IL_00FF: ldloc 1 (System.Boolean)
IL_0103: ret
DONE

### Patch: System.Void RimWorld.AutoUndrafter::AutoUndraftTick()


### Replacement: static System.Void
RimWorld.AutoUndrafter::AutoUndraftTick_Patch1(RimWorld.AutoUndrafter this)
IL_0000: // start original
IL_0000: call static Verse.TickManager Verse.Find::get_TickManager()
IL_0005: callvirt System.Int32 Verse.TickManager::get_TicksGame()
IL_000A: ldc.i4.s 100
IL_000C: rem
IL_000D: brtrue => Label0
IL_0012: ldarg.0
IL_0013: ldfld Verse.Pawn RimWorld.AutoUndrafter::pawn
IL_0018: callvirt System.Boolean Verse.Pawn::get_Drafted()
IL_001D: brfalse => Label1
IL_0022: ldarg.0
IL_0023: ldfld Verse.Pawn RimWorld.AutoUndrafter::pawn
IL_0028: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
IL_002D: ldfld Verse.AI.Job Verse.AI.Pawn_JobTracker::curJob
IL_0032: brfalse => Label2
IL_0037: ldarg.0
IL_0038: ldfld Verse.Pawn RimWorld.AutoUndrafter::pawn
IL_003D: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
IL_0042: ldfld Verse.AI.Job Verse.AI.Pawn_JobTracker::curJob
IL_0047: ldfld Verse.JobDef Verse.AI.Job::def
IL_004C: ldsfld Verse.JobDef RimWorld.JobDefOf::Wait_Combat
IL_0051: bne.un => Label3
IL_0056: Label2
IL_0056: ldarg.0
IL_0057: call System.Boolean
RimWorld.AutoUndrafter::AnyHostilePreventingAutoUndraft()
IL_005C: brfalse => Label4
IL_0061: Label3
IL_0061: ldarg.0
IL_0062: call static Verse.TickManager Verse.Find::get_TickManager()
IL_0067: callvirt System.Int32 Verse.TickManager::get_TicksGame()
IL_006C: stfld System.Int32 RimWorld.AutoUndrafter::lastNonWaitingTick
IL_0071: Label4
IL_0071: ldarg.0
IL_0072: call System.Boolean RimWorld.AutoUndrafter::ShouldAutoUndraft()
IL_0077: brfalse => Label5
IL_007C: ldarg.0
IL_007D: ldfld Verse.Pawn RimWorld.AutoUndrafter::pawn
IL_0082: ldfld RimWorld.Pawn_DraftController Verse.Pawn::drafter
IL_0087: ldc.i4.0
IL_0088: callvirt System.Void
RimWorld.Pawn_DraftController::set_Drafted(System.Boolean value)
IL_008D: // end original
IL_008D: Label0
IL_008D: Label1
IL_008D: Label5
IL_008D: ldarg.0
IL_008E: ldarg.0
IL_008F: ldfld Verse.Pawn RimWorld.AutoUndrafter::pawn
IL_0094: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.AutoUndrafter_AutoUndraftTick_Postfix::AutoU
ndraftTick(RimWorld.AutoUndrafter __instance, Verse.Pawn ___pawn)
IL_0099: ret
DONE

### Patch: System.Void RimWorld.Pawn_DraftController::set_Drafted(System.Boolean


value)
### Replacement: static System.Void
RimWorld.Pawn_DraftController::set_Drafted_Patch1(RimWorld.Pawn_DraftController
this, System.Boolean value)
IL_0000: Local var 0: RimWorld.JobDriver_Ingest
IL_0000: Local var 1: Verse.AI.Group.Lord
IL_0000: Local var 2: System.Nullable`1<Verse.DamageInfo>
IL_0000: Local var 3: System.Collections.Generic.IEnumerator`1<Verse.Pawn>
IL_0000: // start original
IL_0000: ldarg.1
IL_0001: ldarg.0
IL_0002: ldfld System.Boolean RimWorld.Pawn_DraftController::draftedInt
IL_0007: bne.un => Label0
IL_000C: br => Label16
IL_0011: Label0
IL_0011: ldarg.0
IL_0012: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_0017: ldfld Verse.AI.Pawn_MindState Verse.Pawn::mindState
IL_001C: ldfld Verse.PriorityWork Verse.AI.Pawn_MindState::priorityWork
IL_0021: callvirt System.Void
Verse.PriorityWork::ClearPrioritizedWorkAndJobQueue()
IL_0026: ldarg.0
IL_0027: ldc.i4.1
IL_0028: stfld System.Boolean RimWorld.Pawn_DraftController::fireAtWillInt
IL_002D: ldarg.0
IL_002E: ldarg.1
IL_002F: stfld System.Boolean RimWorld.Pawn_DraftController::draftedInt
IL_0034: ldarg.1
IL_0035: brtrue => Label1
IL_003A: ldarg.0
IL_003B: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_0040: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_0045: brfalse => Label2
IL_004A: ldarg.0
IL_004B: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_0050: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_0055: ldfld Verse.PawnDestinationReservationManager
Verse.Map::pawnDestinationReservationManager
IL_005A: ldarg.0
IL_005B: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_0060: callvirt System.Void
Verse.PawnDestinationReservationManager::ReleaseAllClaimedBy(Verse.Pawn p)
IL_0065: Label1
IL_0065: Label2
IL_0065: ldarg.0
IL_0066: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_006B: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
IL_0070: ldc.i4.1
IL_0071: callvirt System.Void
Verse.AI.Pawn_JobTracker::ClearQueuedJobs(System.Boolean canReturnToPool)
IL_0076: ldarg.0
IL_0077: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_007C: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
IL_0081: ldfld Verse.AI.Job Verse.AI.Pawn_JobTracker::curJob
IL_0086: brfalse => Label3
IL_008B: ldarg.0
IL_008C: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_0091: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
IL_0096: callvirt System.Boolean
Verse.AI.Pawn_JobTracker::IsCurrentJobPlayerInterruptible()
IL_009B: brfalse => Label4
IL_00A0: ldarg.0
IL_00A1: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_00A6: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
IL_00AB: ldfld Verse.AI.JobDriver Verse.AI.Pawn_JobTracker::curDriver
IL_00B0: isinst RimWorld.JobDriver_Ingest
IL_00B5: dup
IL_00B6: stloc.0
IL_00B7: brfalse => Label5
IL_00BC: ldloc.0
IL_00BD: callvirt System.Boolean
RimWorld.JobDriver_Ingest::get_EatingFromInventory()
IL_00C2: brfalse => Label6
IL_00C7: ldarg.0
IL_00C8: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_00CD: ldfld Verse.Pawn_InventoryTracker Verse.Pawn::inventory
IL_00D2: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_00D7: ldarg.0
IL_00D8: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_00DD: ldfld Verse.Pawn_CarryTracker Verse.Pawn::carryTracker
IL_00E2: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_CarryTracker::innerContainer
IL_00E7: ldc.i4.1
IL_00E8: ldc.i4.0
IL_00E9: callvirt System.Void
Verse.ThingOwner`1<Verse.Thing>::TryAddRangeOrTransfer(System.Collections.Generic.I
Enumerable`1<Verse.Thing> things, System.Boolean canMergeWithExistingStacks,
System.Boolean destroyLeftover)
IL_00EE: Label5
IL_00EE: Label6
IL_00EE: ldarg.0
IL_00EF: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_00F4: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
IL_00F9: ldc.i4.5
IL_00FA: ldc.i4.1
IL_00FB: ldc.i4.1
IL_00FC: callvirt System.Void
Verse.AI.Pawn_JobTracker::EndCurrentJob(Verse.AI.JobCondition condition,
System.Boolean startNewJob, System.Boolean canReturnToPool)
IL_0101: Label3
IL_0101: Label4
IL_0101: ldarg.0
IL_0102: ldfld System.Boolean RimWorld.Pawn_DraftController::draftedInt
IL_0107: brfalse => Label7
IL_010C: ldarg.0
IL_010D: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_0112: call static Verse.AI.Group.Lord
Verse.AI.Group.LordUtility::GetLord(Verse.Pawn p)
IL_0117: stloc.1
IL_0118: ldloc.1
IL_0119: brfalse => Label8
IL_011E: ldloc.1
IL_011F: callvirt Verse.AI.Group.LordJob Verse.AI.Group.Lord::get_LordJob()
IL_0124: isinst RimWorld.LordJob_VoluntarilyJoinable
IL_0129: brfalse => Label9
IL_012E: ldloc.1
IL_012F: ldarg.0
IL_0130: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_0135: ldc.i4.7
IL_0136: ldloca.s 2 (System.Nullable`1[Verse.DamageInfo])
IL_0138: initobj System.Nullable`1[Verse.DamageInfo]
IL_013E: ldloc.2
IL_013F: callvirt System.Void Verse.AI.Group.Lord::Notify_PawnLost(Verse.Pawn
pawn, Verse.AI.Group.PawnLostCondition cond, System.Nullable`1<Verse.DamageInfo>
dinfo)
IL_0144: Label8
IL_0144: Label9
IL_0144: ldarg.0
IL_0145: ldfld RimWorld.AutoUndrafter
RimWorld.Pawn_DraftController::autoUndrafter
IL_014A: callvirt System.Void RimWorld.AutoUndrafter::Notify_Drafted()
IL_014F: br => Label10
IL_0154: Label7
IL_0154: ldarg.0
IL_0155: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_015A: ldfld RimWorld.Pawn_PlayerSettings Verse.Pawn::playerSettings
IL_015F: brfalse => Label11
IL_0164: ldarg.0
IL_0165: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_016A: ldfld RimWorld.Pawn_PlayerSettings Verse.Pawn::playerSettings
IL_016F: ldc.i4.0
IL_0170: stfld System.Boolean RimWorld.Pawn_PlayerSettings::animalsReleased
IL_0175: Label10
IL_0175: Label11
IL_0175: ldarg.0
IL_0176: ldfld Verse.Pawn RimWorld.Pawn_DraftController::pawn
IL_017B: call static System.Collections.Generic.IEnumerable`1<Verse.Pawn>
RimWorld.PawnUtility::SpawnedMasteredPawns(Verse.Pawn master)
IL_0180: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.Pawn>
System.Collections.Generic.IEnumerable`1<Verse.Pawn>::GetEnumerator()
IL_0185: stloc.3
.try
{
IL_0186: br => Label12
IL_018B: Label13
IL_018B: ldloc.3
IL_018C: callvirt abstract virtual Verse.Pawn
System.Collections.Generic.IEnumerator`1<Verse.Pawn>::get_Current()
IL_0191: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
IL_0196: callvirt System.Void
Verse.AI.Pawn_JobTracker::Notify_MasterDraftedOrUndrafted()
IL_019B: Label12
IL_019B: ldloc.3
IL_019C: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_01A1: brtrue => Label13
IL_01A6: leave => Label14
IL_01AB: leave => (autogenerated)
} // end try
.finally
{
IL_01B0: ldloc.3
IL_01B1: brfalse => Label15
IL_01B6: ldloc.3
IL_01B7: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_01BC: Label15
IL_01BC: endfinally
IL_01BD: leave => (autogenerated)
} // end handler
IL_01BE: // end original
IL_01BE: Label14
IL_01BE: Label16
IL_01BE: ldarg.0
IL_01BF: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.Pawn_DraftController_Drafted_Setter_Postfix:
:DraftedSetter(RimWorld.Pawn_DraftController __instance)
IL_01C4: ret
DONE

### Patch: virtual System.Void Verse.Stance_Warmup::StanceTick()


### Replacement: static System.Void
Verse.Stance_Warmup::StanceTick_Patch1(Verse.Stance_Warmup this)
IL_0000: // start original
IL_0000: ldarg.0
IL_0001: ldfld Verse.Sound.Sustainer Verse.Stance_Warmup::sustainer
IL_0006: brfalse => Label0
IL_000B: ldarg.0
IL_000C: ldfld Verse.Sound.Sustainer Verse.Stance_Warmup::sustainer
IL_0011: callvirt System.Boolean Verse.Sound.Sustainer::get_Ended()
IL_0016: brtrue => Label1
IL_001B: ldarg.0
IL_001C: ldfld Verse.Sound.Sustainer Verse.Stance_Warmup::sustainer
IL_0021: callvirt System.Void Verse.Sound.Sustainer::Maintain()
IL_0026: Label0
IL_0026: Label1
IL_0026: ldarg.0
IL_0027: ldfld Verse.Effecter Verse.Stance_Warmup::effecter
IL_002C: dup
IL_002D: brtrue => Label2
IL_0032: pop
IL_0033: br => Label3
IL_0038: Label2
IL_0038: ldarg.0
IL_0039: ldfld Verse.Verb Verse.Stance_Busy::verb
IL_003E: callvirt virtual Verse.Thing Verse.Verb::get_Caster()
IL_0043: call static Verse.TargetInfo
Verse.TargetInfo::op_Implicit(Verse.Thing t)
IL_0048: ldarg.0
IL_0049: ldflda Verse.LocalTargetInfo Verse.Stance_Busy::focusTarg
IL_004E: ldarg.0
IL_004F: ldfld Verse.Verb Verse.Stance_Busy::verb
IL_0054: callvirt virtual Verse.Thing Verse.Verb::get_Caster()
IL_0059: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_005E: call Verse.TargetInfo Verse.LocalTargetInfo::ToTargetInfo(Verse.Map
map)
IL_0063: call System.Void Verse.Effecter::EffectTick(Verse.TargetInfo A,
Verse.TargetInfo B)
IL_0068: Label3
IL_0068: ldarg.0
IL_0069: ldfld System.Boolean Verse.Stance_Warmup::targetStartedDowned
IL_006E: brtrue => Label4
IL_0073: ldarg.0
IL_0074: ldflda Verse.LocalTargetInfo Verse.Stance_Busy::focusTarg
IL_0079: call System.Boolean Verse.LocalTargetInfo::get_HasThing()
IL_007E: brfalse => Label5
IL_0083: ldarg.0
IL_0084: ldflda Verse.LocalTargetInfo Verse.Stance_Busy::focusTarg
IL_0089: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_008E: isinst Verse.Pawn
IL_0093: brfalse => Label6
IL_0098: ldarg.0
IL_0099: ldflda Verse.LocalTargetInfo Verse.Stance_Busy::focusTarg
IL_009E: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_00A3: castclass Verse.Pawn
IL_00A8: callvirt System.Boolean Verse.Pawn::get_Downed()
IL_00AD: brfalse => Label7
IL_00B2: ldarg.0
IL_00B3: ldfld Verse.Pawn_StanceTracker Verse.Stance::stanceTracker
IL_00B8: newobj System.Void Verse.Stance_Mobile::.ctor()
IL_00BD: callvirt System.Void Verse.Pawn_StanceTracker::SetStance(Verse.Stance
newStance)
IL_00C2: br => Label13
IL_00C7: Label4
IL_00C7: Label5
IL_00C7: Label6
IL_00C7: Label7
IL_00C7: ldarg.0
IL_00C8: ldflda Verse.LocalTargetInfo Verse.Stance_Busy::focusTarg
IL_00CD: call System.Boolean Verse.LocalTargetInfo::get_HasThing()
IL_00D2: brfalse => Label8
IL_00D7: ldarg.0
IL_00D8: ldflda Verse.LocalTargetInfo Verse.Stance_Busy::focusTarg
IL_00DD: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_00E2: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_00E7: brfalse => Label9
IL_00EC: ldarg.0
IL_00ED: ldfld Verse.Verb Verse.Stance_Busy::verb
IL_00F2: brfalse => Label10
IL_00F7: ldarg.0
IL_00F8: ldfld Verse.Verb Verse.Stance_Busy::verb
IL_00FD: ldarg.0
IL_00FE: call Verse.Pawn Verse.Stance::get_Pawn()
IL_0103: callvirt virtual Verse.IntVec3 Verse.Thing::get_Position()
IL_0108: ldarg.0
IL_0109: ldfld Verse.LocalTargetInfo Verse.Stance_Busy::focusTarg
IL_010E: callvirt virtual System.Boolean
Verse.Verb::CanHitTargetFrom(Verse.IntVec3 root, Verse.LocalTargetInfo targ)
IL_0113: brtrue => Label11
IL_0118: Label9
IL_0118: Label10
IL_0118: ldarg.0
IL_0119: ldfld Verse.Pawn_StanceTracker Verse.Stance::stanceTracker
IL_011E: newobj System.Void Verse.Stance_Mobile::.ctor()
IL_0123: callvirt System.Void Verse.Pawn_StanceTracker::SetStance(Verse.Stance
newStance)
IL_0128: br => Label14
IL_012D: Label8
IL_012D: Label11
IL_012D: ldarg.0
IL_012E: ldfld Verse.LocalTargetInfo Verse.Stance_Busy::focusTarg
IL_0133: ldarg.0
IL_0134: call Verse.Pawn Verse.Stance::get_Pawn()
IL_0139: ldfld Verse.AI.Pawn_MindState Verse.Pawn::mindState
IL_013E: ldfld Verse.Thing Verse.AI.Pawn_MindState::enemyTarget
IL_0143: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_0148: call static System.Boolean
Verse.LocalTargetInfo::op_Equality(Verse.LocalTargetInfo a, Verse.LocalTargetInfo
b)
IL_014D: brfalse => Label12
IL_0152: ldarg.0
IL_0153: call Verse.Pawn Verse.Stance::get_Pawn()
IL_0158: ldfld Verse.AI.Pawn_MindState Verse.Pawn::mindState
IL_015D: callvirt System.Void Verse.AI.Pawn_MindState::Notify_EngagedTarget()
IL_0162: Label12
IL_0162: ldarg.0
IL_0163: call virtual System.Void Verse.Stance_Busy::StanceTick()
IL_0168: // end original
IL_0168: Label13
IL_0168: Label14
IL_0168: ldarg.0
IL_0169: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.Stance_Warmup_StanceTick_Postfix::StanceTick
(Verse.Stance_Warmup __instance)
IL_016E: ret
DONE

### Patch: System.Void


Verse.Pawn_HealthTracker::MakeDowned(System.Nullable`1<Verse.DamageInfo> dinfo,
Verse.Hediff hediff)
### Replacement: static System.Void
Verse.Pawn_HealthTracker::MakeDowned_Patch2(Verse.Pawn_HealthTracker this,
System.Nullable`1<Verse.DamageInfo> dinfo, Verse.Hediff hediff)
IL_0000: Local var 0: Verse.AI.Group.Lord
IL_0000: Local var 1: Verse.DamageInfo
IL_0000: Local var 2: Verse.Pawn
IL_0000: Local var 3: System.Boolean
IL_0000: Local var 4: System.Exception
IL_0000: ldc.i4 0
IL_0005: stloc 3 (System.Boolean)
IL_0009: ldnull
IL_000A: stloc 4 (System.Exception)
.try
{
IL_000E: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.Pawn_HealthTracker_MakeDowned::MakeDowned_Pr
efix()
IL_0013: // start original
IL_0013: ldarg.0
IL_0014: call System.Boolean Verse.Pawn_HealthTracker::get_Downed()
IL_0019: brfalse => Label2
IL_001E: ldarg.0
IL_001F: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0024: ldstr " tried to do MakeDowned while already downed."
IL_0029: call static System.String System.String::Concat(System.Object
arg0, System.Object arg1)
IL_002E: call static System.Void Verse.Log::Error(System.String text)
IL_0033: br => Label33
IL_0038: Label2
IL_0038: ldarg.0
IL_0039: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_003E: ldfld RimWorld.Pawn_GuiltTracker Verse.Pawn::guilt
IL_0043: brfalse => Label3
IL_0048: ldarg.0
IL_0049: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_004E: call static Verse.AI.Group.Lord
Verse.AI.Group.LordUtility::GetLord(Verse.Pawn p)
IL_0053: brfalse => Label4
IL_0058: ldarg.0
IL_0059: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_005E: call static Verse.AI.Group.Lord
Verse.AI.Group.LordUtility::GetLord(Verse.Pawn p)
IL_0063: callvirt Verse.AI.Group.LordJob Verse.AI.Group.Lord::get_LordJob()
IL_0068: brfalse => Label5
IL_006D: ldarg.0
IL_006E: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0073: call static Verse.AI.Group.Lord
Verse.AI.Group.LordUtility::GetLord(Verse.Pawn p)
IL_0078: callvirt Verse.AI.Group.LordJob Verse.AI.Group.Lord::get_LordJob()
IL_007D: callvirt virtual System.Boolean
Verse.AI.Group.LordJob::get_GuiltyOnDowned()
IL_0082: brfalse => Label6
IL_0087: ldarg.0
IL_0088: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_008D: ldfld RimWorld.Pawn_GuiltTracker Verse.Pawn::guilt
IL_0092: ldc.i4 60000
IL_0097: callvirt System.Void
RimWorld.Pawn_GuiltTracker::Notify_Guilty(System.Int32 durationTicks)
IL_009C: Label3
IL_009C: Label4
IL_009C: Label5
IL_009C: Label6
IL_009C: ldarg.0
IL_009D: ldc.i4.1
IL_009E: stfld Verse.PawnHealthState
Verse.Pawn_HealthTracker::healthState
IL_00A3: ldarg.0
IL_00A4: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_00A9: ldarg.1
IL_00AA: ldc.i4.3
IL_00AB: call static System.Void
RimWorld.PawnDiedOrDownedThoughtsUtility::TryGiveThoughts(Verse.Pawn victim,
System.Nullable`1<Verse.DamageInfo> dinfo, RimWorld.PawnDiedOrDownedThoughtsKind
thoughtsKind)
IL_00B0: ldarg.0
IL_00B1: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_00B6: callvirt System.Boolean Verse.Pawn::get_InMentalState()
IL_00BB: brfalse => Label7
IL_00C0: ldarg.0
IL_00C1: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_00C6: callvirt Verse.MentalStateDef Verse.Pawn::get_MentalStateDef()
IL_00CB: ldfld System.Boolean Verse.MentalStateDef::recoverFromDowned
IL_00D0: brfalse => Label8
IL_00D5: ldarg.0
IL_00D6: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_00DB: ldfld Verse.AI.Pawn_MindState Verse.Pawn::mindState
IL_00E0: ldfld Verse.AI.MentalStateHandler
Verse.AI.Pawn_MindState::mentalStateHandler
IL_00E5: callvirt Verse.AI.MentalState
Verse.AI.MentalStateHandler::get_CurState()
IL_00EA: callvirt System.Void Verse.AI.MentalState::RecoverFromState()
IL_00EF: Label7
IL_00EF: Label8
IL_00EF: ldarg.0
IL_00F0: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_00F5: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_00FA: brfalse => Label9
IL_00FF: ldarg.0
IL_0100: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0105: ldc.i4.1
IL_0106: callvirt System.Void
Verse.Pawn::DropAndForbidEverything(System.Boolean
keepInventoryAndEquipmentIfInBed)
IL_010B: ldarg.0
IL_010C: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0111: ldfld Verse.Pawn_StanceTracker Verse.Pawn::stances
IL_0116: callvirt System.Void
Verse.Pawn_StanceTracker::CancelBusyStanceSoft()
IL_011B: Label9
IL_011B: ldarg.0
IL_011C: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0121: ldc.i4.1
IL_0122: ldc.i4.0
IL_0123: ldc.i4.0
IL_0124: callvirt System.Void Verse.Pawn::ClearMind(System.Boolean
ifLayingKeepLaying, System.Boolean clearInspiration, System.Boolean
clearMentalState)
IL_0129: call static Verse.ProgramState
Verse.Current::get_ProgramState()
IL_012E: ldc.i4.2
IL_012F: bne.un => Label10
IL_0134: ldarg.0
IL_0135: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_013A: call static Verse.AI.Group.Lord
Verse.AI.Group.LordUtility::GetLord(Verse.Pawn p)
IL_013F: stloc.0
IL_0140: ldloc.0
IL_0141: brfalse => Label11
IL_0146: ldloc.0
IL_0147: callvirt Verse.AI.Group.LordJob Verse.AI.Group.Lord::get_LordJob()
IL_014C: brfalse => Label12
IL_0151: ldloc.0
IL_0152: callvirt Verse.AI.Group.LordJob Verse.AI.Group.Lord::get_LordJob()
IL_0157: callvirt virtual System.Boolean
Verse.AI.Group.LordJob::get_RemoveDownedPawns()
IL_015C: brfalse => Label13
IL_0161: Label12
IL_0161: ldloc.0
IL_0162: ldarg.0
IL_0163: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0168: ldc.i4.2
IL_0169: ldarg.1
IL_016A: callvirt System.Void
Verse.AI.Group.Lord::Notify_PawnLost(Verse.Pawn pawn,
Verse.AI.Group.PawnLostCondition cond, System.Nullable`1<Verse.DamageInfo> dinfo)
IL_016F: Label10
IL_016F: Label11
IL_016F: Label13
IL_016F: ldarg.0
IL_0170: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0175: callvirt System.Boolean Verse.Pawn::get_Drafted()
IL_017A: brfalse => Label14
IL_017F: ldarg.0
IL_0180: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0185: ldfld RimWorld.Pawn_DraftController Verse.Pawn::drafter
IL_018A: ldc.i4.0
IL_018B: callvirt System.Void
RimWorld.Pawn_DraftController::set_Drafted(System.Boolean value)
IL_0190: Label14
IL_0190: ldarg.0
IL_0191: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0196: call static System.Void
RimWorld.PortraitsCache::SetDirty(Verse.Pawn pawn)
IL_019B: ldarg.0
IL_019C: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_01A1: call static System.Boolean
Verse.GlobalTextureAtlasManager::TryMarkPawnFrameSetDirty(Verse.Pawn pawn)
IL_01A6: pop
IL_01A7: ldarg.0
IL_01A8: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_01AD: callvirt System.Boolean
Verse.Thing::get_SpawnedOrAnyParentSpawned()
IL_01B2: brfalse => Label15
IL_01B7: ldarg.0
IL_01B8: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_01BD: ldarg.0
IL_01BE: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_01C3: callvirt Verse.Map Verse.Thing::get_MapHeld()
IL_01C8: call static System.Void
RimWorld.GenHostility::Notify_PawnLostForTutor(Verse.Pawn pawn, Verse.Map map)
IL_01CD: Label15
IL_01CD: ldarg.0
IL_01CE: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_01D3: callvirt Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_01D8: callvirt System.Boolean Verse.RaceProperties::get_Humanlike()
IL_01DD: brfalse => Label16
IL_01E2: call static Verse.ProgramState
Verse.Current::get_ProgramState()
IL_01E7: ldc.i4.2
IL_01E8: bne.un => Label17
IL_01ED: ldarg.0
IL_01EE: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_01F3: callvirt System.Boolean
Verse.Thing::get_SpawnedOrAnyParentSpawned()
IL_01F8: brfalse => Label18
IL_01FD: ldarg.0
IL_01FE: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0203: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_0208: call static System.Boolean
RimWorld.GenHostility::HostileTo(Verse.Thing t, RimWorld.Faction fac)
IL_020D: brfalse => Label19
IL_0212: ldsfld RimWorld.ConceptDef RimWorld.ConceptDefOf::Capturing
IL_0217: ldarg.0
IL_0218: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_021D: ldc.i4.1
IL_021E: call static System.Void
RimWorld.LessonAutoActivator::TeachOpportunity(RimWorld.ConceptDef conc,
Verse.Thing subject, RimWorld.OpportunityType opp)
IL_0223: Label19
IL_0223: ldarg.0
IL_0224: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0229: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_022E: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_0233: bne.un => Label20
IL_0238: ldsfld RimWorld.ConceptDef RimWorld.ConceptDefOf::Rescuing
IL_023D: ldarg.0
IL_023E: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0243: ldc.i4.2
IL_0244: call static System.Void
RimWorld.LessonAutoActivator::TeachOpportunity(RimWorld.ConceptDef conc,
Verse.Thing subject, RimWorld.OpportunityType opp)
IL_0249: Label16
IL_0249: Label17
IL_0249: Label18
IL_0249: Label20
IL_0249: ldarga.s 1
IL_024B: call System.Boolean
System.Nullable`1<Verse.DamageInfo>::get_HasValue()
IL_0250: brfalse => Label21
IL_0255: ldarga.s 1
IL_0257: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_025C: stloc.1
IL_025D: ldloca.s 1 (Verse.DamageInfo)
IL_025F: call Verse.Thing Verse.DamageInfo::get_Instigator()
IL_0264: brfalse => Label22
IL_0269: ldarga.s 1
IL_026B: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_0270: stloc.1
IL_0271: ldloca.s 1 (Verse.DamageInfo)
IL_0273: call Verse.Thing Verse.DamageInfo::get_Instigator()
IL_0278: isinst Verse.Pawn
IL_027D: stloc.2
IL_027E: ldloc.2
IL_027F: brfalse => Label23
IL_0284: ldarg.0
IL_0285: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_028A: ldloc.2
IL_028B: call static System.Void
RimWorld.RecordsUtility::Notify_PawnDowned(Verse.Pawn downed, Verse.Pawn
instigator)
IL_0290: Label21
IL_0290: Label22
IL_0290: Label23
IL_0290: ldarg.0
IL_0291: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0296: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_029B: brfalse => Label24
IL_02A0: ldsfld RimWorld.TaleDef RimWorld.TaleDefOf::Downed
IL_02A5: ldc.i4.3
IL_02A6: newarr System.Object
IL_02AB: dup
IL_02AC: ldc.i4.0
IL_02AD: ldarg.0
IL_02AE: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_02B3: stelem.ref
IL_02B4: dup
IL_02B5: ldc.i4.1
IL_02B6: ldarga.s 1
IL_02B8: call System.Boolean
System.Nullable`1<Verse.DamageInfo>::get_HasValue()
IL_02BD: brtrue => Label25
IL_02C2: ldnull
IL_02C3: br => Label26
IL_02C8: Label25
IL_02C8: ldarga.s 1
IL_02CA: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_02CF: stloc.1
IL_02D0: ldloca.s 1 (Verse.DamageInfo)
IL_02D2: call Verse.Thing Verse.DamageInfo::get_Instigator()
IL_02D7: isinst Verse.Pawn
IL_02DC: Label26
IL_02DC: stelem.ref
IL_02DD: dup
IL_02DE: ldc.i4.2
IL_02DF: ldarga.s 1
IL_02E1: call System.Boolean
System.Nullable`1<Verse.DamageInfo>::get_HasValue()
IL_02E6: brtrue => Label27
IL_02EB: ldnull
IL_02EC: br => Label28
IL_02F1: Label27
IL_02F1: ldarga.s 1
IL_02F3: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_02F8: stloc.1
IL_02F9: ldloca.s 1 (Verse.DamageInfo)
IL_02FB: call Verse.ThingDef Verse.DamageInfo::get_Weapon()
IL_0300: Label28
IL_0300: stelem.ref
IL_0301: call static RimWorld.Tale
RimWorld.TaleRecorder::RecordTale(RimWorld.TaleDef def, System.Object[] args)
IL_0306: pop
IL_0307: call static Verse.BattleLog Verse.Find::get_BattleLog()
IL_030C: ldarg.0
IL_030D: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0312: ldsfld Verse.RulePackDef
RimWorld.RulePackDefOf::Transition_Downed
IL_0317: ldarga.s 1
IL_0319: call System.Boolean
System.Nullable`1<Verse.DamageInfo>::get_HasValue()
IL_031E: brtrue => Label29
IL_0323: ldnull
IL_0324: br => Label30
IL_0329: Label29
IL_0329: ldarga.s 1
IL_032B: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_0330: stloc.1
IL_0331: ldloca.s 1 (Verse.DamageInfo)
IL_0333: call Verse.Thing Verse.DamageInfo::get_Instigator()
IL_0338: isinst Verse.Pawn
IL_033D: Label30
IL_033D: ldarg.2
IL_033E: ldarga.s 1
IL_0340: call System.Boolean
System.Nullable`1<Verse.DamageInfo>::get_HasValue()
IL_0345: brtrue => Label31
IL_034A: ldnull
IL_034B: br => Label32
IL_0350: Label31
IL_0350: ldarga.s 1
IL_0352: call Verse.DamageInfo
System.Nullable`1<Verse.DamageInfo>::get_Value()
IL_0357: stloc.1
IL_0358: ldloca.s 1 (Verse.DamageInfo)
IL_035A: call Verse.BodyPartRecord Verse.DamageInfo::get_HitPart()
IL_035F: Label32
IL_035F: newobj System.Void
Verse.BattleLogEntry_StateTransition::.ctor(Verse.Thing subject, Verse.RulePackDef
transitionDef, Verse.Pawn initiator, Verse.Hediff culpritHediff,
Verse.BodyPartRecord culpritTargetDef)
IL_0364: callvirt System.Void Verse.BattleLog::Add(Verse.LogEntry entry)
IL_0369: Label24
IL_0369: call static RimWorld.Storyteller Verse.Find::get_Storyteller()
IL_036E: ldarg.0
IL_036F: ldfld Verse.Pawn Verse.Pawn_HealthTracker::pawn
IL_0374: ldc.i4.0
IL_0375: ldarg.1
IL_0376: callvirt System.Void
RimWorld.Storyteller::Notify_PawnEvent(Verse.Pawn pawn, RimWorld.AdaptationEvent
ev, System.Nullable`1<Verse.DamageInfo> dinfo)
IL_037B: // end original
IL_037B: Label33
IL_037B: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.Pawn_HealthTracker_MakeDowned::MakeDowned_Fi
nalizer()
IL_0380: ldc.i4.1
IL_0381: stloc 3 (System.Boolean)
IL_0385: ldloc 4 (System.Exception)
IL_0389: brfalse => Label34
IL_038E: ldloc 4 (System.Exception)
IL_0392: throw
IL_0393: Label34
IL_0393: leave => (autogenerated)
} // end try
.catch System.Object
{
IL_0398: stloc 4 (System.Exception)
IL_039C: ldloc 3 (System.Boolean)
IL_03A0: brtrue => Label37
.try
{
IL_03A5: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.Pawn_HealthTracker_MakeDowned::MakeDowned_Fi
nalizer()
IL_03AA: leave => (autogenerated)
} // end try
.catch System.Object
{
IL_03AF: pop
IL_03B0: leave => (autogenerated)
} // end handler
IL_03B5: Label37
IL_03B5: ldloc 4 (System.Exception)
IL_03B9: brfalse => Label42
IL_03BE: rethrow
IL_03C0: Label42
IL_03C0: leave => (autogenerated)
} // end handler
IL_03C5: ret
DONE

### Patch: System.Boolean


Verse.Pawn_EquipmentTracker::TryDropEquipment(Verse.ThingWithComps eq,
Verse.ThingWithComps& resultingEq, Verse.IntVec3 pos, System.Boolean forbid)
### Replacement: static System.Boolean
Verse.Pawn_EquipmentTracker::TryDropEquipment_Patch1(Verse.Pawn_EquipmentTracker
this, Verse.ThingWithComps eq, Verse.ThingWithComps& resultingEq, Verse.IntVec3
pos, System.Boolean forbid)
IL_0000: Local var 0: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 0 (System.Boolean)
IL_0009: // start original
IL_0009: ldarga.s 3
IL_000B: call System.Boolean Verse.IntVec3::get_IsValid()
IL_0010: brtrue => Label0
IL_0015: ldc.i4.4
IL_0016: newarr System.Object
IL_001B: dup
IL_001C: ldc.i4.0
IL_001D: ldarg.0
IL_001E: ldfld Verse.Pawn Verse.Pawn_EquipmentTracker::pawn
IL_0023: stelem.ref
IL_0024: dup
IL_0025: ldc.i4.1
IL_0026: ldstr " tried to drop "
IL_002B: stelem.ref
IL_002C: dup
IL_002D: ldc.i4.2
IL_002E: ldarg.1
IL_002F: stelem.ref
IL_0030: dup
IL_0031: ldc.i4.3
IL_0032: ldstr " at invalid cell."
IL_0037: stelem.ref
IL_0038: call static System.String System.String::Concat(System.Object[]
args)
IL_003D: call static System.Void Verse.Log::Error(System.String text)
IL_0042: ldarg.2
IL_0043: ldnull
IL_0044: stind.ref
IL_0045: ldc.i4.0
IL_0046: br => Label3
IL_004B: Label0
IL_004B: ldarg.0
IL_004C: ldfld Verse.ThingOwner`1<Verse.ThingWithComps>
Verse.Pawn_EquipmentTracker::equipment
IL_0051: ldarg.1
IL_0052: ldarg.3
IL_0053: ldarg.0
IL_0054: ldfld Verse.Pawn Verse.Pawn_EquipmentTracker::pawn
IL_0059: callvirt Verse.Map Verse.Thing::get_MapHeld()
IL_005E: ldc.i4.1
IL_005F: ldarg.2
IL_0060: ldnull
IL_0061: ldnull
IL_0062: callvirt System.Boolean
Verse.ThingOwner`1<Verse.ThingWithComps>::TryDrop(Verse.Thing thing, Verse.IntVec3
dropLoc, Verse.Map map, Verse.ThingPlaceMode mode, Verse.ThingWithComps&
lastResultingThing, System.Action`2<Verse.ThingWithComps, System.Int32>
placedAction, System.Predicate`1<Verse.IntVec3> nearPlaceValidator)
IL_0067: brfalse => Label1
IL_006C: ldarg.2
IL_006D: ldind.ref
IL_006E: brfalse => Label2
IL_0073: ldarg.2
IL_0074: ldind.ref
IL_0075: ldarg.s 4
IL_0077: ldc.i4.0
IL_0078: call static System.Void
RimWorld.ForbidUtility::SetForbidden(Verse.Thing t, System.Boolean value,
System.Boolean warnOnFail)
IL_007D: Label2
IL_007D: ldc.i4.1
IL_007E: br => Label4
IL_0083: Label1
IL_0083: ldc.i4.0
IL_0084: // end original
IL_0084: Label3
IL_0084: Label4
IL_0084: stloc 0 (System.Boolean)
IL_0088: ldarg.0
IL_0089: ldloc 0 (System.Boolean)
IL_008D: ldarg 2
IL_0091: ldind.ref
IL_0092: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.Pawn_EquipmentTracker_TryDropEquipment::TryD
ropEquipment_Postfix(Verse.Pawn_EquipmentTracker __instance, System.Boolean
__result, Verse.ThingWithComps resultingEq)
IL_0097: ldloc 0 (System.Boolean)
IL_009B: ret
DONE

### Patch: System.Void


Verse.Pawn_EquipmentTracker::AddEquipment(Verse.ThingWithComps newEq)
### Replacement: static System.Void
Verse.Pawn_EquipmentTracker::AddEquipment_Patch1(Verse.Pawn_EquipmentTracker this,
Verse.ThingWithComps newEq)
IL_0000: // start original
IL_0000: ldarg.1
IL_0001: ldfld Verse.ThingDef Verse.Thing::def
IL_0006: ldfld Verse.EquipmentType Verse.ThingDef::equipmentType
IL_000B: ldc.i4.1
IL_000C: bne.un => Label0
IL_0011: ldarg.0
IL_0012: call Verse.ThingWithComps Verse.Pawn_EquipmentTracker::get_Primary()
IL_0017: brfalse => Label1
IL_001C: ldc.i4.6
IL_001D: newarr System.Object
IL_0022: dup
IL_0023: ldc.i4.0
IL_0024: ldstr "Pawn "
IL_0029: stelem.ref
IL_002A: dup
IL_002B: ldc.i4.1
IL_002C: ldarg.0
IL_002D: ldfld Verse.Pawn Verse.Pawn_EquipmentTracker::pawn
IL_0032: callvirt abstract virtual System.String Verse.Entity::get_LabelCap()
IL_0037: stelem.ref
IL_0038: dup
IL_0039: ldc.i4.2
IL_003A: ldstr " got primaryInt equipment "
IL_003F: stelem.ref
IL_0040: dup
IL_0041: ldc.i4.3
IL_0042: ldarg.1
IL_0043: stelem.ref
IL_0044: dup
IL_0045: ldc.i4.4
IL_0046: ldstr " while already having primaryInt equipment "
IL_004B: stelem.ref
IL_004C: dup
IL_004D: ldc.i4.5
IL_004E: ldarg.0
IL_004F: call Verse.ThingWithComps Verse.Pawn_EquipmentTracker::get_Primary()
IL_0054: stelem.ref
IL_0055: call static System.String System.String::Concat(System.Object[]
args)
IL_005A: call static System.Void Verse.Log::Error(System.String text)
IL_005F: br => Label2
IL_0064: Label0
IL_0064: Label1
IL_0064: ldarg.0
IL_0065: ldfld Verse.ThingOwner`1<Verse.ThingWithComps>
Verse.Pawn_EquipmentTracker::equipment
IL_006A: ldarg.1
IL_006B: ldc.i4.1
IL_006C: callvirt abstract virtual System.Boolean
Verse.ThingOwner::TryAdd(Verse.Thing item, System.Boolean
canMergeWithExistingStacks)
IL_0071: pop
IL_0072: // end original
IL_0072: Label2
IL_0072: ldarg.0
IL_0073: ldarg 1
IL_0077: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.Pawn_EquipmentTracker_AddEquipment::AddEquip
ment_Postfix(Verse.Pawn_EquipmentTracker __instance, Verse.ThingWithComps newEq)
IL_007C: ret
DONE

### Patch: virtual System.Boolean


Verse.AI.JobDriver_AttackMelee::TryMakePreToilReservations(System.Boolean
errorOnFailed)
### Replacement: static System.Boolean
Verse.AI.JobDriver_AttackMelee::TryMakePreToilReservations_Patch1(Verse.AI.JobDrive
r_AttackMelee this, System.Boolean errorOnFailed)
IL_0000: Local var 0: Verse.AI.IAttackTarget
IL_0000: Local var 1: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 1 (System.Boolean)
IL_0009: // start original
IL_0009: ldarg.0
IL_000A: ldfld Verse.AI.Job Verse.AI.JobDriver::job
IL_000F: ldflda Verse.LocalTargetInfo Verse.AI.Job::targetA
IL_0014: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_0019: isinst Verse.AI.IAttackTarget
IL_001E: stloc.0
IL_001F: ldloc.0
IL_0020: brfalse => Label0
IL_0025: ldarg.0
IL_0026: ldfld Verse.Pawn Verse.AI.JobDriver::pawn
IL_002B: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_0030: ldfld Verse.AI.AttackTargetReservationManager
Verse.Map::attackTargetReservationManager
IL_0035: ldarg.0
IL_0036: ldfld Verse.Pawn Verse.AI.JobDriver::pawn
IL_003B: ldarg.0
IL_003C: ldfld Verse.AI.Job Verse.AI.JobDriver::job
IL_0041: ldloc.0
IL_0042: callvirt System.Void
Verse.AI.AttackTargetReservationManager::Reserve(Verse.Pawn claimant, Verse.AI.Job
job, Verse.AI.IAttackTarget target)
IL_0047: Label0
IL_0047: ldc.i4.1
IL_0048: // end original
IL_0048: stloc 1 (System.Boolean)
IL_004C: ldarg.0
IL_004D: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.JobDriver_AttackMelee_TryMakePreToilReservat
ions::Postfix(Verse.AI.JobDriver_AttackMelee __instance)
IL_0052: ldloc 1 (System.Boolean)
IL_0056: ret
DONE

### Patch: System.Void RimWorld.JobGiver_DropUnusedInventory::Drop(Verse.Pawn pawn,


Verse.Thing thing)
### Replacement: static System.Void
RimWorld.JobGiver_DropUnusedInventory::Drop_Patch1(RimWorld.JobGiver_DropUnusedInve
ntory this, Verse.Pawn pawn, Verse.Thing thing)
IL_0000: Local var 0: Verse.Thing
IL_0000: Local var 1: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 1 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 1 (System.Boolean)
IL_000E: ldloc 1 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg 1
IL_0018: ldarg 2
IL_001C: call static System.Boolean
PeteTimesSix.SimpleSidearms.Intercepts.JobGiver_DropUnusedInventory_Drop::Prefix(Ve
rse.Pawn pawn, Verse.Thing thing)
IL_0021: stloc 1 (System.Boolean)
IL_0025: nop
IL_0026: ldloc 1 (System.Boolean)
IL_002A: brfalse => Label0
IL_002F: // start original
IL_002F: ldarg.1
IL_0030: ldfld Verse.Pawn_InventoryTracker Verse.Pawn::inventory
IL_0035: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_003A: ldarg.2
IL_003B: ldarg.1
IL_003C: callvirt virtual Verse.IntVec3 Verse.Thing::get_Position()
IL_0041: ldarg.1
IL_0042: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_0047: ldc.i4.1
IL_0048: ldloca.s 0 (Verse.Thing)
IL_004A: ldnull
IL_004B: ldnull
IL_004C: callvirt System.Boolean
Verse.ThingOwner`1<Verse.Thing>::TryDrop(Verse.Thing thing, Verse.IntVec3 dropLoc,
Verse.Map map, Verse.ThingPlaceMode mode, Verse.Thing& lastResultingThing,
System.Action`2<Verse.Thing, System.Int32> placedAction,
System.Predicate`1<Verse.IntVec3> nearPlaceValidator)
IL_0051: pop
IL_0052: // end original
IL_0052: Label0
IL_0052: ret
DONE

### Patch: Verse.ThingCount Verse.Pawn_InventoryTracker::get_FirstUnloadableThing()


### Replacement: static Verse.ThingCount
Verse.Pawn_InventoryTracker::get_FirstUnloadableThing_Patch1(Verse.Pawn_InventoryTr
acker this)
IL_0000: Local var 0: Verse.ThingCount
IL_0000: Local var 1: RimWorld.DrugPolicy
IL_0000: Local var 2: System.Int32
IL_0000: Local var 3: System.Int32
IL_0000: Local var 4: System.Int32
IL_0000: Local var 5: System.Int32
IL_0000: Local var 6: Verse.ThingDefCount
IL_0000: Local var 7: Verse.ThingCount
IL_0000: ldloca 7 (Verse.ThingCount)
IL_0004: initobj Verse.ThingCount
IL_000A: // start original
IL_000A: ldarg.0
IL_000B: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_0010: callvirt abstract virtual System.Int32 Verse.ThingOwner::get_Count()
IL_0015: brtrue => Label0
IL_001A: ldloca.s 0 (Verse.ThingCount)
IL_001C: initobj Verse.ThingCount
IL_0022: ldloc.0
IL_0023: br => Label15
IL_0028: Label0
IL_0028: ldarg.0
IL_0029: ldfld Verse.Pawn Verse.Pawn_InventoryTracker::pawn
IL_002E: ldfld RimWorld.Pawn_DrugPolicyTracker Verse.Pawn::drugs
IL_0033: brfalse => Label1
IL_0038: ldarg.0
IL_0039: ldfld Verse.Pawn Verse.Pawn_InventoryTracker::pawn
IL_003E: ldfld RimWorld.Pawn_DrugPolicyTracker Verse.Pawn::drugs
IL_0043: callvirt RimWorld.DrugPolicy
RimWorld.Pawn_DrugPolicyTracker::get_CurrentPolicy()
IL_0048: brfalse => Label2
IL_004D: ldarg.0
IL_004E: ldfld Verse.Pawn Verse.Pawn_InventoryTracker::pawn
IL_0053: ldfld RimWorld.Pawn_DrugPolicyTracker Verse.Pawn::drugs
IL_0058: callvirt RimWorld.DrugPolicy
RimWorld.Pawn_DrugPolicyTracker::get_CurrentPolicy()
IL_005D: stloc.1
IL_005E: ldsfld System.Collections.Generic.List`1<Verse.ThingDefCount>
Verse.Pawn_InventoryTracker::tmpDrugsToKeep
IL_0063: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ThingDefCount>::Clear()
IL_0068: ldc.i4.0
IL_0069: stloc.2
IL_006A: br => Label3
IL_006F: Label5
IL_006F: ldloc.1
IL_0070: ldloc.2
IL_0071: callvirt RimWorld.DrugPolicyEntry
RimWorld.DrugPolicy::get_Item(System.Int32 index)
IL_0076: ldfld System.Int32 RimWorld.DrugPolicyEntry::takeToInventory
IL_007B: ldc.i4.0
IL_007C: ble => Label4
IL_0081: ldsfld System.Collections.Generic.List`1<Verse.ThingDefCount>
Verse.Pawn_InventoryTracker::tmpDrugsToKeep
IL_0086: ldloc.1
IL_0087: ldloc.2
IL_0088: callvirt RimWorld.DrugPolicyEntry
RimWorld.DrugPolicy::get_Item(System.Int32 index)
IL_008D: ldfld Verse.ThingDef RimWorld.DrugPolicyEntry::drug
IL_0092: ldloc.1
IL_0093: ldloc.2
IL_0094: callvirt RimWorld.DrugPolicyEntry
RimWorld.DrugPolicy::get_Item(System.Int32 index)
IL_0099: ldfld System.Int32 RimWorld.DrugPolicyEntry::takeToInventory
IL_009E: newobj System.Void Verse.ThingDefCount::.ctor(Verse.ThingDef thingDef,
System.Int32 count)
IL_00A3: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ThingDefCount>::Add(Verse.ThingDefCount
item)
IL_00A8: Label4
IL_00A8: ldloc.2
IL_00A9: ldc.i4.1
IL_00AA: add
IL_00AB: stloc.2
IL_00AC: Label3
IL_00AC: ldloc.2
IL_00AD: ldloc.1
IL_00AE: callvirt System.Int32 RimWorld.DrugPolicy::get_Count()
IL_00B3: blt => Label5
IL_00B8: ldc.i4.0
IL_00B9: stloc.3
IL_00BA: br => Label6
IL_00BF: Label14
IL_00BF: ldarg.0
IL_00C0: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_00C5: ldloc.3
IL_00C6: callvirt Verse.Thing
Verse.ThingOwner`1<Verse.Thing>::get_Item(System.Int32 index)
IL_00CB: ldfld Verse.ThingDef Verse.Thing::def
IL_00D0: callvirt System.Boolean Verse.ThingDef::get_IsDrug()
IL_00D5: brtrue => Label7
IL_00DA: ldarg.0
IL_00DB: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_00E0: ldloc.3
IL_00E1: callvirt Verse.Thing
Verse.ThingOwner`1<Verse.Thing>::get_Item(System.Int32 index)
IL_00E6: ldarg.0
IL_00E7: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_00EC: ldloc.3
IL_00ED: callvirt Verse.Thing
Verse.ThingOwner`1<Verse.Thing>::get_Item(System.Int32 index)
IL_00F2: ldfld System.Int32 Verse.Thing::stackCount
IL_00F7: newobj System.Void Verse.ThingCount::.ctor(Verse.Thing thing,
System.Int32 count)
IL_00FC: br => Label16
IL_0101: Label7
IL_0101: ldc.i4.m1
IL_0102: stloc.s 4 (System.Int32)
IL_0104: ldc.i4.0
IL_0105: stloc.s 5 (System.Int32)
IL_0107: br => Label8
IL_010C: Label11
IL_010C: ldarg.0
IL_010D: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_0112: ldloc.3
IL_0113: callvirt Verse.Thing
Verse.ThingOwner`1<Verse.Thing>::get_Item(System.Int32 index)
IL_0118: ldfld Verse.ThingDef Verse.Thing::def
IL_011D: ldsfld System.Collections.Generic.List`1<Verse.ThingDefCount>
Verse.Pawn_InventoryTracker::tmpDrugsToKeep
IL_0122: ldloc.s 5 (System.Int32)
IL_0124: callvirt virtual Verse.ThingDefCount
System.Collections.Generic.List`1<Verse.ThingDefCount>::get_Item(System.Int32
index)
IL_0129: stloc.s 6 (Verse.ThingDefCount)
IL_012B: ldloca.s 6 (Verse.ThingDefCount)
IL_012D: call Verse.ThingDef Verse.ThingDefCount::get_ThingDef()
IL_0132: bne.un => Label9
IL_0137: ldloc.s 5 (System.Int32)
IL_0139: stloc.s 4 (System.Int32)
IL_013B: br => Label10
IL_0140: Label9
IL_0140: ldloc.s 5 (System.Int32)
IL_0142: ldc.i4.1
IL_0143: add
IL_0144: stloc.s 5 (System.Int32)
IL_0146: Label8
IL_0146: ldloc.s 5 (System.Int32)
IL_0148: ldsfld System.Collections.Generic.List`1<Verse.ThingDefCount>
Verse.Pawn_InventoryTracker::tmpDrugsToKeep
IL_014D: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.ThingDefCount>::get_Count()
IL_0152: blt => Label11
IL_0157: Label10
IL_0157: ldloc.s 4 (System.Int32)
IL_0159: ldc.i4.0
IL_015A: bge => Label12
IL_015F: ldarg.0
IL_0160: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_0165: ldloc.3
IL_0166: callvirt Verse.Thing
Verse.ThingOwner`1<Verse.Thing>::get_Item(System.Int32 index)
IL_016B: ldarg.0
IL_016C: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_0171: ldloc.3
IL_0172: callvirt Verse.Thing
Verse.ThingOwner`1<Verse.Thing>::get_Item(System.Int32 index)
IL_0177: ldfld System.Int32 Verse.Thing::stackCount
IL_017C: newobj System.Void Verse.ThingCount::.ctor(Verse.Thing thing,
System.Int32 count)
IL_0181: br => Label17
IL_0186: Label12
IL_0186: ldarg.0
IL_0187: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_018C: ldloc.3
IL_018D: callvirt Verse.Thing
Verse.ThingOwner`1<Verse.Thing>::get_Item(System.Int32 index)
IL_0192: ldfld System.Int32 Verse.Thing::stackCount
IL_0197: ldsfld System.Collections.Generic.List`1<Verse.ThingDefCount>
Verse.Pawn_InventoryTracker::tmpDrugsToKeep
IL_019C: ldloc.s 4 (System.Int32)
IL_019E: callvirt virtual Verse.ThingDefCount
System.Collections.Generic.List`1<Verse.ThingDefCount>::get_Item(System.Int32
index)
IL_01A3: stloc.s 6 (Verse.ThingDefCount)
IL_01A5: ldloca.s 6 (Verse.ThingDefCount)
IL_01A7: call System.Int32 Verse.ThingDefCount::get_Count()
IL_01AC: ble => Label13
IL_01B1: ldarg.0
IL_01B2: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_01B7: ldloc.3
IL_01B8: callvirt Verse.Thing
Verse.ThingOwner`1<Verse.Thing>::get_Item(System.Int32 index)
IL_01BD: ldarg.0
IL_01BE: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_01C3: ldloc.3
IL_01C4: callvirt Verse.Thing
Verse.ThingOwner`1<Verse.Thing>::get_Item(System.Int32 index)
IL_01C9: ldfld System.Int32 Verse.Thing::stackCount
IL_01CE: ldsfld System.Collections.Generic.List`1<Verse.ThingDefCount>
Verse.Pawn_InventoryTracker::tmpDrugsToKeep
IL_01D3: ldloc.s 4 (System.Int32)
IL_01D5: callvirt virtual Verse.ThingDefCount
System.Collections.Generic.List`1<Verse.ThingDefCount>::get_Item(System.Int32
index)
IL_01DA: stloc.s 6 (Verse.ThingDefCount)
IL_01DC: ldloca.s 6 (Verse.ThingDefCount)
IL_01DE: call System.Int32 Verse.ThingDefCount::get_Count()
IL_01E3: sub
IL_01E4: newobj System.Void Verse.ThingCount::.ctor(Verse.Thing thing,
System.Int32 count)
IL_01E9: br => Label18
IL_01EE: Label13
IL_01EE: ldsfld System.Collections.Generic.List`1<Verse.ThingDefCount>
Verse.Pawn_InventoryTracker::tmpDrugsToKeep
IL_01F3: ldloc.s 4 (System.Int32)
IL_01F5: ldsfld System.Collections.Generic.List`1<Verse.ThingDefCount>
Verse.Pawn_InventoryTracker::tmpDrugsToKeep
IL_01FA: ldloc.s 4 (System.Int32)
IL_01FC: callvirt virtual Verse.ThingDefCount
System.Collections.Generic.List`1<Verse.ThingDefCount>::get_Item(System.Int32
index)
IL_0201: stloc.s 6 (Verse.ThingDefCount)
IL_0203: ldloca.s 6 (Verse.ThingDefCount)
IL_0205: call Verse.ThingDef Verse.ThingDefCount::get_ThingDef()
IL_020A: ldsfld System.Collections.Generic.List`1<Verse.ThingDefCount>
Verse.Pawn_InventoryTracker::tmpDrugsToKeep
IL_020F: ldloc.s 4 (System.Int32)
IL_0211: callvirt virtual Verse.ThingDefCount
System.Collections.Generic.List`1<Verse.ThingDefCount>::get_Item(System.Int32
index)
IL_0216: stloc.s 6 (Verse.ThingDefCount)
IL_0218: ldloca.s 6 (Verse.ThingDefCount)
IL_021A: call System.Int32 Verse.ThingDefCount::get_Count()
IL_021F: ldarg.0
IL_0220: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_0225: ldloc.3
IL_0226: callvirt Verse.Thing
Verse.ThingOwner`1<Verse.Thing>::get_Item(System.Int32 index)
IL_022B: ldfld System.Int32 Verse.Thing::stackCount
IL_0230: sub
IL_0231: newobj System.Void Verse.ThingDefCount::.ctor(Verse.ThingDef thingDef,
System.Int32 count)
IL_0236: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.ThingDefCount>::set_Item(System.Int32
index, Verse.ThingDefCount value)
IL_023B: ldloc.3
IL_023C: ldc.i4.1
IL_023D: add
IL_023E: stloc.3
IL_023F: Label6
IL_023F: ldloc.3
IL_0240: ldarg.0
IL_0241: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_0246: callvirt abstract virtual System.Int32 Verse.ThingOwner::get_Count()
IL_024B: blt => Label14
IL_0250: ldloca.s 0 (Verse.ThingCount)
IL_0252: initobj Verse.ThingCount
IL_0258: ldloc.0
IL_0259: br => Label19
IL_025E: Label1
IL_025E: Label2
IL_025E: ldarg.0
IL_025F: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_0264: ldc.i4.0
IL_0265: callvirt Verse.Thing
Verse.ThingOwner`1<Verse.Thing>::get_Item(System.Int32 index)
IL_026A: ldarg.0
IL_026B: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_0270: ldc.i4.0
IL_0271: callvirt Verse.Thing
Verse.ThingOwner`1<Verse.Thing>::get_Item(System.Int32 index)
IL_0276: ldfld System.Int32 Verse.Thing::stackCount
IL_027B: newobj System.Void Verse.ThingCount::.ctor(Verse.Thing thing,
System.Int32 count)
IL_0280: // end original
IL_0280: Label15
IL_0280: Label16
IL_0280: Label17
IL_0280: Label18
IL_0280: Label19
IL_0280: stloc 7 (Verse.ThingCount)
IL_0284: ldarg.0
IL_0285: ldloca 7 (Verse.ThingCount)
IL_0289: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.Pawn_InventoryTracker_FirstUnloadableThing::
Postfix(Verse.Pawn_InventoryTracker __instance, Verse.ThingCount& __result)
IL_028E: ldloc 7 (Verse.ThingCount)
IL_0292: ret
DONE

### Patch: System.Collections.Generic.List`1<Verse.Pawn>


RimWorld.Alert_HunterLacksRangedWeapon::get_HuntersWithoutRangedWeapon()
### Replacement: static System.Collections.Generic.List`1<Verse.Pawn>
RimWorld.Alert_HunterLacksRangedWeapon::get_HuntersWithoutRangedWeapon_Patch1(RimWo
rld.Alert_HunterLacksRangedWeapon this)
IL_0000: Local var 0: System.Collections.Generic.List`1/Enumerator<Verse.Pawn>
IL_0000: Local var 1: Verse.Pawn
IL_0000: Local var 2: System.Collections.Generic.List`1<Verse.Pawn>
IL_0000: ldnull
IL_0001: stloc 2 (System.Collections.Generic.List`1[Verse.Pawn])
IL_0005: // start original
IL_0005: ldarg.0
IL_0006: ldfld System.Collections.Generic.List`1<Verse.Pawn>
RimWorld.Alert_HunterLacksRangedWeapon::huntersWithoutRangedWeaponResult
IL_000B: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.Pawn>::Clear()
IL_0010: call static System.Collections.Generic.List`1<Verse.Pawn>
RimWorld.PawnsFinder::get_AllMaps_FreeColonists()
IL_0015: callvirt System.Collections.Generic.Enumerator<Verse.Pawn>
System.Collections.Generic.List`1<Verse.Pawn>::GetEnumerator()
IL_001A: stloc.0
.try
{
IL_001B: br => Label0
IL_0020: Label8
IL_0020: ldloca.s 0
(System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
IL_0022: call virtual Verse.Pawn
System.Collections.Generic.Enumerator<Verse.Pawn>::get_Current()
IL_0027: stloc.1
IL_0028: ldloc.1
IL_0029: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_002E: brtrue => Label1
IL_0033: ldloc.1
IL_0034: call static System.Boolean
RimWorld.BrieflyDespawnedUtil::BrieflyDespawned(Verse.Pawn pawn)
IL_0039: brfalse => Label2
IL_003E: Label1
IL_003E: ldloc.1
IL_003F: ldfld RimWorld.Pawn_WorkSettings Verse.Pawn::workSettings
IL_0044: ldsfld Verse.WorkTypeDef RimWorld.WorkTypeDefOf::Hunting
IL_0049: callvirt System.Boolean
RimWorld.Pawn_WorkSettings::WorkIsActive(Verse.WorkTypeDef w)
IL_004E: brfalse => Label3
IL_0053: ldloc.1
IL_0054: call static System.Boolean
RimWorld.WorkGiver_HunterHunt::HasHuntingWeapon(Verse.Pawn p)
IL_0059: brtrue => Label4
IL_005E: ldloc.1
IL_005F: callvirt System.Boolean Verse.Pawn::get_Downed()
IL_0064: brtrue => Label5
IL_0069: ldloc.1
IL_006A: call static System.Boolean
RimWorld.HealthAIUtility::ShouldSeekMedicalRest(Verse.Pawn pawn)
IL_006F: brfalse => Label6
IL_0074: ldloc.1
IL_0075: call static System.Boolean
RimWorld.RestUtility::InBed(Verse.Pawn p)
IL_007A: brtrue => Label7
IL_007F: Label6
IL_007F: ldarg.0
IL_0080: ldfld System.Collections.Generic.List`1<Verse.Pawn>
RimWorld.Alert_HunterLacksRangedWeapon::huntersWithoutRangedWeaponResult
IL_0085: ldloc.1
IL_0086: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.Pawn>::Add(Verse.Pawn item)
IL_008B: Label0
IL_008B: Label2
IL_008B: Label3
IL_008B: Label4
IL_008B: Label5
IL_008B: Label7
IL_008B: ldloca.s 0
(System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
IL_008D: call virtual System.Boolean
System.Collections.Generic.Enumerator<Verse.Pawn>::MoveNext()
IL_0092: brtrue => Label8
IL_0097: leave => Label9
IL_009C: leave => (autogenerated)
} // end try
.finally
{
IL_00A1: ldloca.s 0
(System.Collections.Generic.List`1+Enumerator[Verse.Pawn])
IL_00A3: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Pawn]
IL_00A9: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_00AE: endfinally
IL_00AF: leave => (autogenerated)
} // end handler
IL_00B0: Label9
IL_00B0: ldarg.0
IL_00B1: ldfld System.Collections.Generic.List`1<Verse.Pawn>
RimWorld.Alert_HunterLacksRangedWeapon::huntersWithoutRangedWeaponResult
IL_00B6: // end original
IL_00B6: stloc 2 (System.Collections.Generic.List`1[Verse.Pawn])
IL_00BA: ldarg.0
IL_00BB: ldloca 2 (System.Collections.Generic.List`1[Verse.Pawn])
IL_00BF: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.Alert_HunterLacksRangedWeapon_HuntersWithout
RangedWeapon_Postfix::HuntersWithoutRangedWeapon(RimWorld.Alert_HunterLacksRangedWe
apon __instance, System.Collections.Generic.List`1& __result)
IL_00C4: ldloc 2 (System.Collections.Generic.List`1[Verse.Pawn])
IL_00C8: ret
DONE

### Patch: static System.Void Verse.PawnGenerator::GenerateGearFor(Verse.Pawn pawn,


Verse.PawnGenerationRequest request)
### Replacement: static System.Void
Verse.PawnGenerator::GenerateGearFor_Patch1(Verse.Pawn pawn,
Verse.PawnGenerationRequest request)
IL_0000: // start original
IL_0000: ldarg.0
IL_0001: ldarg.1
IL_0002: call static System.Void
RimWorld.PawnApparelGenerator::GenerateStartingApparelFor(Verse.Pawn pawn,
Verse.PawnGenerationRequest request)
IL_0007: ldarg.0
IL_0008: ldarg.1
IL_0009: call static System.Void
RimWorld.PawnWeaponGenerator::TryGenerateWeaponFor(Verse.Pawn pawn,
Verse.PawnGenerationRequest request)
IL_000E: ldarg.0
IL_000F: ldarg.1
IL_0010: call static System.Void
RimWorld.PawnInventoryGenerator::GenerateInventoryFor(Verse.Pawn p,
Verse.PawnGenerationRequest request)
IL_0015: // end original
IL_0015: ldarg 0
IL_0019: ldarg 1
IL_001D: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.PawnGenerator_GenerateGearFor_Postfix::Gener
ateGearFor(Verse.Pawn pawn, Verse.PawnGenerationRequest request)
IL_0022: ret
DONE

### Patch: System.Void RimWorld.ITab_Pawn_Gear::InterfaceDrop(Verse.Thing t)


### Replacement: static System.Void
RimWorld.ITab_Pawn_Gear::InterfaceDrop_Patch1(RimWorld.ITab_Pawn_Gear this,
Verse.Thing t)
IL_0000: Local var 0: Verse.ThingWithComps
IL_0000: Local var 1: RimWorld.Apparel
IL_0000: Local var 2: Verse.Thing
IL_0000: Local var 3: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 3 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 3 (System.Boolean)
IL_000E: ldloc 3 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg.0
IL_0015: ldarg 1
IL_0019: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.ITab_Pawn_Gear_InterfaceDrop_Prefix::Interfa
ceDrop(RimWorld.ITab_Pawn_Gear __instance, Verse.Thing t)
IL_001E: nop
IL_001F: ldloc 3 (System.Boolean)
IL_0023: brfalse => Label0
IL_0028: // start original
IL_0028: ldarg.1
IL_0029: isinst Verse.ThingWithComps
IL_002E: stloc.0
IL_002F: ldarg.1
IL_0030: isinst RimWorld.Apparel
IL_0035: stloc.1
IL_0036: ldloc.1
IL_0037: brfalse => Label2
IL_003C: ldarg.0
IL_003D: call Verse.Pawn RimWorld.ITab_Pawn_Gear::get_SelPawnForGear()
IL_0042: ldfld RimWorld.Pawn_ApparelTracker Verse.Pawn::apparel
IL_0047: brfalse => Label3
IL_004C: ldarg.0
IL_004D: call Verse.Pawn RimWorld.ITab_Pawn_Gear::get_SelPawnForGear()
IL_0052: ldfld RimWorld.Pawn_ApparelTracker Verse.Pawn::apparel
IL_0057: callvirt System.Collections.Generic.List`1<RimWorld.Apparel>
RimWorld.Pawn_ApparelTracker::get_WornApparel()
IL_005C: ldloc.1
IL_005D: callvirt virtual System.Boolean
System.Collections.Generic.List`1<RimWorld.Apparel>::Contains(RimWorld.Apparel
item)
IL_0062: brfalse => Label4
IL_0067: ldarg.0
IL_0068: call Verse.Pawn RimWorld.ITab_Pawn_Gear::get_SelPawnForGear()
IL_006D: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
IL_0072: ldsfld Verse.JobDef RimWorld.JobDefOf::RemoveApparel
IL_0077: ldloc.1
IL_0078: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_007D: call static Verse.AI.Job Verse.JobMaker::MakeJob(Verse.JobDef def,
Verse.LocalTargetInfo targetA)
IL_0082: ldc.i4.0
IL_0083: newobj System.Void
System.Nullable`1<Verse.AI.JobTag>::.ctor(Verse.AI.JobTag value)
IL_0088: ldc.i4.0
IL_0089: callvirt System.Boolean
Verse.AI.Pawn_JobTracker::TryTakeOrderedJob(Verse.AI.Job job,
System.Nullable`1<Verse.AI.JobTag> tag, System.Boolean requestQueueing)
IL_008E: pop
IL_008F: br => Label9
IL_0094: Label2
IL_0094: Label3
IL_0094: Label4
IL_0094: ldloc.0
IL_0095: brfalse => Label5
IL_009A: ldarg.0
IL_009B: call Verse.Pawn RimWorld.ITab_Pawn_Gear::get_SelPawnForGear()
IL_00A0: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
IL_00A5: brfalse => Label6
IL_00AA: ldarg.0
IL_00AB: call Verse.Pawn RimWorld.ITab_Pawn_Gear::get_SelPawnForGear()
IL_00B0: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
IL_00B5: callvirt System.Collections.Generic.List`1<Verse.ThingWithComps>
Verse.Pawn_EquipmentTracker::get_AllEquipmentListForReading()
IL_00BA: ldloc.0
IL_00BB: callvirt virtual System.Boolean
System.Collections.Generic.List`1<Verse.ThingWithComps>::Contains(Verse.ThingWithCo
mps item)
IL_00C0: brfalse => Label7
IL_00C5: ldarg.0
IL_00C6: call Verse.Pawn RimWorld.ITab_Pawn_Gear::get_SelPawnForGear()
IL_00CB: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
IL_00D0: ldsfld Verse.JobDef RimWorld.JobDefOf::DropEquipment
IL_00D5: ldloc.0
IL_00D6: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_00DB: call static Verse.AI.Job Verse.JobMaker::MakeJob(Verse.JobDef def,
Verse.LocalTargetInfo targetA)
IL_00E0: ldc.i4.0
IL_00E1: newobj System.Void
System.Nullable`1<Verse.AI.JobTag>::.ctor(Verse.AI.JobTag value)
IL_00E6: ldc.i4.0
IL_00E7: callvirt System.Boolean
Verse.AI.Pawn_JobTracker::TryTakeOrderedJob(Verse.AI.Job job,
System.Nullable`1<Verse.AI.JobTag> tag, System.Boolean requestQueueing)
IL_00EC: pop
IL_00ED: br => Label10
IL_00F2: Label5
IL_00F2: Label6
IL_00F2: Label7
IL_00F2: ldarg.1
IL_00F3: ldfld Verse.ThingDef Verse.Thing::def
IL_00F8: ldfld System.Boolean Verse.ThingDef::destroyOnDrop
IL_00FD: brtrue => Label8
IL_0102: ldarg.0
IL_0103: call Verse.Pawn RimWorld.ITab_Pawn_Gear::get_SelPawnForGear()
IL_0108: ldfld Verse.Pawn_InventoryTracker Verse.Pawn::inventory
IL_010D: ldfld Verse.ThingOwner`1<Verse.Thing>
Verse.Pawn_InventoryTracker::innerContainer
IL_0112: ldarg.1
IL_0113: ldarg.0
IL_0114: call Verse.Pawn RimWorld.ITab_Pawn_Gear::get_SelPawnForGear()
IL_0119: callvirt virtual Verse.IntVec3 Verse.Thing::get_Position()
IL_011E: ldarg.0
IL_011F: call Verse.Pawn RimWorld.ITab_Pawn_Gear::get_SelPawnForGear()
IL_0124: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_0129: ldc.i4.1
IL_012A: ldloca.s 2 (Verse.Thing)
IL_012C: ldnull
IL_012D: ldnull
IL_012E: callvirt System.Boolean
Verse.ThingOwner`1<Verse.Thing>::TryDrop(Verse.Thing thing, Verse.IntVec3 dropLoc,
Verse.Map map, Verse.ThingPlaceMode mode, Verse.Thing& lastResultingThing,
System.Action`2<Verse.Thing, System.Int32> placedAction,
System.Predicate`1<Verse.IntVec3> nearPlaceValidator)
IL_0133: pop
IL_0134: // end original
IL_0134: Label8
IL_0134: Label9
IL_0134: Label10
IL_0134: Label0
IL_0134: ret
DONE

### Patch: virtual System.Collections.Generic.IEnumerable`1<Verse.Gizmo>


Verse.Pawn::GetGizmos()
### Replacement: static System.Collections.Generic.IEnumerable`1<Verse.Gizmo>
Verse.Pawn::GetGizmos_Patch1(Verse.Pawn this)
IL_0000: Local var 0: System.Collections.Generic.IEnumerable`1<Verse.Gizmo>
IL_0000: ldnull
IL_0001: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
IL_0005: // start original
IL_0005: ldc.i4.s -2
IL_0007: newobj System.Void Verse.<GetGizmos>d__234::.ctor(System.Int32
<>1__state)
IL_000C: dup
IL_000D: ldarg.0
IL_000E: stfld Verse.Pawn Verse.<GetGizmos>d__234::<>4__this
IL_0013: // end original
IL_0013: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
IL_0017: ldloc 0 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
IL_001B: ldarg.0
IL_001C: call static System.Collections.Generic.IEnumerable`1<Verse.Gizmo>
PeteTimesSix.SimpleSidearms.Intercepts.Pawn_GetGizmos_Postfix::Postfix(System.Colle
ctions.Generic.IEnumerable`1<Verse.Gizmo> __result, Verse.Pawn __instance)
IL_0021: ret
DONE

### Patch: static System.Void


RimWorld.FloatMenuMakerMap::AddHumanlikeOrders(UnityEngine.Vector3 clickPos,
Verse.Pawn pawn, System.Collections.Generic.List`1<Verse.FloatMenuOption> opts)
### Replacement: static System.Void
RimWorld.FloatMenuMakerMap::AddHumanlikeOrders_Patch1(UnityEngine.Vector3 clickPos,
Verse.Pawn pawn, System.Collections.Generic.List`1<Verse.FloatMenuOption> opts)
IL_0000: Local var 0: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_0
IL_0000: Local var 1: Verse.IntVec3
IL_0000: Local var 2: System.Collections.Generic.List`1/Enumerator<Verse.Thing>
IL_0000: Local var 3: Verse.Pawn
IL_0000: Local var 4: Verse.AI.Group.Lord
IL_0000: Local var 5:
System.Collections.Generic.IEnumerable`1<Verse.FloatMenuOption>
IL_0000: Local var 6:
System.Collections.Generic.IEnumerator`1<Verse.FloatMenuOption>
IL_0000: Local var 7: Verse.FloatMenuOption
IL_0000: Local var 8:
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>
IL_0000: Local var 9: Verse.LocalTargetInfo
IL_0000: Local var 10: System.Boolean
IL_0000: Local var 11: Verse.TaggedString
IL_0000: Local var 12: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_1
IL_0000: Local var 13: System.Action
IL_0000: Local var 14: Verse.Thing
IL_0000: Local var 15: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_2
IL_0000: Local var 16: Verse.FloatMenuOption
IL_0000: Local var 17: System.String
IL_0000: Local var 18: Verse.MenuOptionPriority
IL_0000: Local var 19: Verse.LocalTargetInfo
IL_0000: Local var 20: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_3
IL_0000: Local var 21: Verse.FloatMenuOption
IL_0000: Local var 22: System.Collections.Generic.List`1<Verse.Thing>
IL_0000: Local var 23: Verse.Thing
IL_0000: Local var 24: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_4
IL_0000: Local var 25: RimWorld.IHaulDestination
IL_0000: Local var 26: RimWorld.StoragePriority
IL_0000: Local var 27: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_5
IL_0000: Local var 28: Verse.Thing
IL_0000: Local var 29: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_6
IL_0000: Local var 30: Verse.LocalTargetInfo
IL_0000: Local var 31: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_7
IL_0000: Local var 32: Verse.TaggedString
IL_0000: Local var 33: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_8
IL_0000: Local var 34: Verse.LocalTargetInfo
IL_0000: Local var 35: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_9
IL_0000: Local var 36: System.String
IL_0000: Local var 37: System.Action
IL_0000: Local var 38: Verse.LocalTargetInfo
IL_0000: Local var 39: Verse.Pawn
IL_0000: Local var 40: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_10
IL_0000: Local var 41: Verse.LocalTargetInfo
IL_0000: Local var 42: System.Predicate`1<Verse.Thing>
IL_0000: Local var 43: System.String
IL_0000: Local var 44: System.Action
IL_0000: Local var 45: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_11
IL_0000: Local var 46: RimWorld.CompHackable
IL_0000: Local var 47: Verse.TaggedString
IL_0000: Local var 48: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_12
IL_0000: Local var 49: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_13
IL_0000: Local var 50: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_14
IL_0000: Local var 51: System.String
IL_0000: Local var 52: Verse.IntVec3
IL_0000: Local var 53: RimWorld.IHaulDestination
IL_0000: Local var 54: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_15
IL_0000: Local var 55: System.Collections.Generic.IEnumerable`1<Verse.Thing>
IL_0000: Local var 56: System.Func`2<Verse.Thing,System.Boolean>
IL_0000: Local var 57: System.Collections.Generic.IEnumerator`1<Verse.Thing>
IL_0000: Local var 58: Verse.Thing
IL_0000: Local var 59: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_16
IL_0000: Local var 60: Verse.Thing
IL_0000: Local var 61: System.Collections.Generic.IEnumerable`1<Verse.Thing>
IL_0000: Local var 62: Verse.Thing
IL_0000: Local var 63: System.Predicate`1<Verse.Thing>
IL_0000: Local var 64: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_17
IL_0000: Local var 65: Verse.LocalTargetInfo
IL_0000: Local var 66: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_18
IL_0000: Local var 67: Verse.FloatMenuOption
IL_0000: Local var 68: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_19
IL_0000: Local var 69: System.Collections.Generic.List`1<Verse.Thing>
IL_0000: Local var 70: System.Int32
IL_0000: Local var 71: System.String
IL_0000: Local var 72: Verse.FloatMenuOption
IL_0000: Local var 73: System.String
IL_0000: Local var 74: System.String
IL_0000: Local var 75: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_20
IL_0000: Local var 76:
System.Collections.Generic.IEnumerator`1<Verse.Pair`2<RimWorld.CompReloadable,Verse
.Thing>>
IL_0000: Local var 77: Verse.Pair`2<RimWorld.CompReloadable,Verse.Thing>
IL_0000: Local var 78: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_21
IL_0000: Local var 79: Verse.Thing
IL_0000: Local var 80: System.String
IL_0000: Local var 81: System.Collections.Generic.List`1<Verse.Thing>
IL_0000: Local var 82: System.Action
IL_0000: Local var 83: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_22
IL_0000: Local var 84: System.String
IL_0000: Local var 85: System.String
IL_0000: Local var 86: Verse.FloatMenuOption
IL_0000: Local var 87: System.String
IL_0000: Local var 88: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_23
IL_0000: Local var 89: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_24
IL_0000: Local var 90: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_25
IL_0000: Local var 91: RimWorld.LordJob_FormAndSendCaravan
IL_0000: Local var 92: System.Single
IL_0000: Local var 93: System.Single
IL_0000: Local var 94: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_26
IL_0000: Local var 95: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_27
IL_0000: Local var 96: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_28
IL_0000: Local var 97: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_29
IL_0000: Local var 98: Verse.LocalTargetInfo
IL_0000: Local var 99: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_30
IL_0000: Local var 100: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_31
IL_0000: Local var 101: Verse.TaggedString
IL_0000: Local var 102: System.Action
IL_0000: Local var 103: Verse.LocalTargetInfo
IL_0000: Local var 104: Verse.AcceptanceReport
IL_0000: Local var 105: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_32
IL_0000: Local var 106: System.Action
IL_0000: Local var 107: System.String
IL_0000: Local var 108: RimWorld.FloatMenuMakerMap/<>c__DisplayClass9_33
IL_0000: Local var 109: Verse.FloatMenuOption
IL_0000: // start original
IL_0000: newobj System.Void RimWorld.<>c__DisplayClass9_0::.ctor()
IL_0005: stloc.0
IL_0006: ldloc.0
IL_0007: ldarg.1
IL_0008: stfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_000D: ldarg.0
IL_000E: call static Verse.IntVec3
Verse.IntVec3::FromVector3(UnityEngine.Vector3 v)
IL_0013: stloc.1
IL_0014: ldloc.1
IL_0015: ldloc.0
IL_0016: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_001B: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_0020: call static System.Collections.Generic.List`1<Verse.Thing>
Verse.GridsUtility::GetThingList(Verse.IntVec3 c, Verse.Map map)
IL_0025: callvirt System.Collections.Generic.Enumerator<Verse.Thing>
System.Collections.Generic.List`1<Verse.Thing>::GetEnumerator()
IL_002A: stloc.2
.try
{
IL_002B: br => Label0
IL_0030: Label9
IL_0030: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_0032: call virtual Verse.Thing
System.Collections.Generic.Enumerator<Verse.Thing>::get_Current()
IL_0037: isinst Verse.Pawn
IL_003C: dup
IL_003D: stloc.3
IL_003E: brfalse => Label1
IL_0043: ldloc.3
IL_0044: call static Verse.AI.Group.Lord
Verse.AI.Group.LordUtility::GetLord(Verse.Pawn p)
IL_0049: stloc.s 4 (Verse.AI.Group.Lord)
IL_004B: ldloc.s 4 (Verse.AI.Group.Lord)
IL_004D: brfalse => Label2
IL_0052: ldloc.s 4 (Verse.AI.Group.Lord)
IL_0054: callvirt Verse.AI.Group.LordToil
Verse.AI.Group.Lord::get_CurLordToil()
IL_0059: brfalse => Label3
IL_005E: ldloc.s 4 (Verse.AI.Group.Lord)
IL_0060: callvirt Verse.AI.Group.LordToil
Verse.AI.Group.Lord::get_CurLordToil()
IL_0065: ldloc.3
IL_0066: ldloc.0
IL_0067: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_006C: callvirt virtual
System.Collections.Generic.IEnumerable`1<Verse.FloatMenuOption>
Verse.AI.Group.LordToil::ExtraFloatMenuOptions(Verse.Pawn target, Verse.Pawn
forPawn)
IL_0071: stloc.s 5
(System.Collections.Generic.IEnumerable`1[Verse.FloatMenuOption])
IL_0073: ldloc.s 5
(System.Collections.Generic.IEnumerable`1[Verse.FloatMenuOption])
IL_0075: brfalse => Label4
IL_007A: ldloc.s 5
(System.Collections.Generic.IEnumerable`1[Verse.FloatMenuOption])
IL_007C: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.FloatMenuOption>
System.Collections.Generic.IEnumerable`1<Verse.FloatMenuOption>::GetEnumerator()
IL_0081: stloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
IL_0083: br => Label5
IL_0088: Label6
IL_0088: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
IL_008A: callvirt abstract virtual Verse.FloatMenuOption
System.Collections.Generic.IEnumerator`1<Verse.FloatMenuOption>::get_Current()
IL_008F: stloc.s 7 (Verse.FloatMenuOption)
IL_0091: ldarg.2
IL_0092: ldloc.s 7 (Verse.FloatMenuOption)
IL_0094: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_0099: Label5
IL_0099: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
IL_009B: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_00A0: brtrue => Label6
IL_00A5: leave => Label7
IL_00AA: leave => (autogenerated)
} // end try
.finally
{
IL_00AF: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
IL_00B1: brfalse => Label8
IL_00B6: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
IL_00B8: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_00BD: Label8
IL_00BD: endfinally
IL_00BE: leave => (autogenerated)
} // end handler
IL_00BF: Label0
IL_00BF: Label1
IL_00BF: Label2
IL_00BF: Label3
IL_00BF: Label4
IL_00BF: Label7
IL_00BF: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_00C1: call virtual System.Boolean
System.Collections.Generic.Enumerator<Verse.Thing>::MoveNext()
IL_00C6: brtrue => Label9
IL_00CB: leave => Label10
IL_00D0: leave => (autogenerated)
} // end try
.finally
{
IL_00D5: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_00D7: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
IL_00DD: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_00E2: endfinally
IL_00E3: leave => (autogenerated)
} // end handler
IL_00E4: Label10
IL_00E4: ldloc.0
IL_00E5: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_00EA: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_00EF: ldfld Verse.PawnCapacitiesHandler
Verse.Pawn_HealthTracker::capacities
IL_00F4: ldsfld Verse.PawnCapacityDef RimWorld.PawnCapacityDefOf::Manipulation
IL_00F9: callvirt System.Boolean
Verse.PawnCapacitiesHandler::CapableOf(Verse.PawnCapacityDef capacity)
IL_00FE: brfalse => Label11
IL_0103: ldarg.0
IL_0104: ldloc.0
IL_0105: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_010A: call static RimWorld.TargetingParameters
RimWorld.TargetingParameters::ForArrest(Verse.Pawn arrester)
IL_010F: ldc.i4.1
IL_0110: ldnull
IL_0111: call static
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>
Verse.GenUI::TargetsAt(UnityEngine.Vector3 clickPos, RimWorld.TargetingParameters
clickParams, System.Boolean thingsOnly, RimWorld.ITargetingSource source)
IL_0116: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>::GetEnumerator()
IL_011B: stloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
IL_011D: br => Label12
IL_0122: Label24
IL_0122: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_0124: callvirt abstract virtual Verse.LocalTargetInfo
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>::get_Current()
IL_0129: stloc.s 9 (Verse.LocalTargetInfo)
IL_012B: ldloca.s 9 (Verse.LocalTargetInfo)
IL_012D: call System.Boolean Verse.LocalTargetInfo::get_HasThing()
IL_0132: brfalse => Label13
IL_0137: ldloca.s 9 (Verse.LocalTargetInfo)
IL_0139: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_013E: isinst Verse.Pawn
IL_0143: brfalse => Label14
IL_0148: ldloca.s 9 (Verse.LocalTargetInfo)
IL_014A: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_014F: castclass Verse.Pawn
IL_0154: call static System.Boolean
Verse.WildManUtility::IsWildMan(Verse.Pawn p)
IL_0159: br => Label15
IL_015E: Label13
IL_015E: Label14
IL_015E: ldc.i4.0
IL_015F: Label15
IL_015F: stloc.s 10 (System.Boolean)
IL_0161: ldloc.0
IL_0162: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0167: callvirt System.Boolean Verse.Pawn::get_Drafted()
IL_016C: brtrue => Label16
IL_0171: ldloc.s 10 (System.Boolean)
IL_0173: brfalse => Label17
IL_0178: Label16
IL_0178: ldloca.s 9 (Verse.LocalTargetInfo)
IL_017A: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_017F: isinst Verse.Pawn
IL_0184: brfalse => Label18
IL_0189: ldloc.0
IL_018A: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_018F: ldloca.s 9 (Verse.LocalTargetInfo)
IL_0191: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_0196: castclass Verse.Pawn
IL_019B: ldc.i4.0
IL_019C: ldnull
IL_019D: call static System.Boolean
RimWorld.QuestUtility::InSameExtraFaction(Verse.Pawn p, Verse.Pawn target,
RimWorld.ExtraFactionType type, RimWorld.Quest forQuest)
IL_01A2: brtrue => Label19
IL_01A7: ldloc.0
IL_01A8: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_01AD: ldloca.s 9 (Verse.LocalTargetInfo)
IL_01AF: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_01B4: castclass Verse.Pawn
IL_01B9: ldc.i4.2
IL_01BA: ldnull
IL_01BB: call static System.Boolean
RimWorld.QuestUtility::InSameExtraFaction(Verse.Pawn p, Verse.Pawn target,
RimWorld.ExtraFactionType type, RimWorld.Quest forQuest)
IL_01C0: brfalse => Label20
IL_01C5: Label19
IL_01C5: ldarg.2
IL_01C6: ldstr "CannotArrest"
IL_01CB: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_01D0: ldstr ": "
IL_01D5: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_01DA: ldstr "SameFaction"
IL_01DF: ldloca.s 9 (Verse.LocalTargetInfo)
IL_01E1: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_01E6: castclass Verse.Pawn
IL_01EB: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_01F0: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_01F5: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_01FA: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_01FF: ldnull
IL_0200: ldc.i4.4
IL_0201: ldnull
IL_0202: ldnull
IL_0203: ldc.r4 0
IL_0208: ldnull
IL_0209: ldnull
IL_020A: ldc.i4.1
IL_020B: ldc.i4.0
IL_020C: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_0211: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_0216: br => Label21
IL_021B: Label18
IL_021B: Label20
IL_021B: ldloc.0
IL_021C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0221: ldloc.s 9 (Verse.LocalTargetInfo)
IL_0223: ldc.i4.1
IL_0224: ldc.i4.3
IL_0225: ldc.i4.0
IL_0226: ldc.i4.0
IL_0227: ldc.i4.0
IL_0228: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_022D: brtrue => Label22
IL_0232: ldarg.2
IL_0233: ldstr "CannotArrest"
IL_0238: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_023D: ldstr ": "
IL_0242: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_0247: ldstr "NoPath"
IL_024C: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0251: stloc.s 11 (Verse.TaggedString)
IL_0253: ldloca.s 11 (Verse.TaggedString)
IL_0255: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_025A: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_025F: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0264: ldnull
IL_0265: ldc.i4.4
IL_0266: ldnull
IL_0267: ldnull
IL_0268: ldc.r4 0
IL_026D: ldnull
IL_026E: ldnull
IL_026F: ldc.i4.1
IL_0270: ldc.i4.0
IL_0271: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_0276: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_027B: br => Label23
IL_0280: Label22
IL_0280: newobj System.Void RimWorld.<>c__DisplayClass9_1::.ctor()
IL_0285: stloc.s 12 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_1)
IL_0287: ldloc.s 12 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_1)
IL_0289: ldloc.0
IL_028A: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_1::CS$<>8__locals1
IL_028F: ldloc.s 12 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_1)
IL_0291: ldloca.s 9 (Verse.LocalTargetInfo)
IL_0293: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_0298: castclass Verse.Pawn
IL_029D: stfld Verse.Pawn RimWorld.<>c__DisplayClass9_1::pTarg
IL_02A2: ldloc.s 12 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_1)
IL_02A4: ldftn System.Void
RimWorld.<>c__DisplayClass9_1::<AddHumanlikeOrders>b__0()
IL_02AA: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_02AF: stloc.s 13 (System.Action)
IL_02B1: ldarg.2
IL_02B2: ldstr "TryToArrest"
IL_02B7: ldloca.s 9 (Verse.LocalTargetInfo)
IL_02B9: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_02BE: callvirt abstract virtual System.String
Verse.Entity::get_LabelCap()
IL_02C3: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_02C8: ldloca.s 9 (Verse.LocalTargetInfo)
IL_02CA: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_02CF: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_02D4: ldloc.s 12 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_1)
IL_02D6: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_1::pTarg
IL_02DB: ldloc.s 12 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_1)
IL_02DD: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_1::CS$<>8__locals1
IL_02E2: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_02E7: callvirt System.Single
Verse.Pawn::GetAcceptArrestChance(Verse.Pawn arrester)
IL_02EC: call static System.String
Verse.GenText::ToStringPercent(System.Single f)
IL_02F1: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_02F6: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2, Verse.NamedArgument arg3)
IL_02FB: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0300: ldloc.s 13 (System.Action)
IL_0302: ldc.i4.5
IL_0303: ldnull
IL_0304: ldloca.s 9 (Verse.LocalTargetInfo)
IL_0306: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_030B: ldc.r4 0
IL_0310: ldnull
IL_0311: ldnull
IL_0312: ldc.i4.1
IL_0313: ldc.i4.0
IL_0314: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_0319: ldloc.s 12 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_1)
IL_031B: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_1::CS$<>8__locals1
IL_0320: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0325: ldloc.s 12 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_1)
IL_0327: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_1::pTarg
IL_032C: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_0331: ldstr "ReservedBy"
IL_0336: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_033B: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_0340: Label12
IL_0340: Label17
IL_0340: Label21
IL_0340: Label23
IL_0340: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_0342: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_0347: brtrue => Label24
IL_034C: leave => Label25
IL_0351: leave => (autogenerated)
} // end try
.finally
{
IL_0356: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_0358: brfalse => Label26
IL_035D: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_035F: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_0364: Label26
IL_0364: endfinally
IL_0365: leave => (autogenerated)
} // end handler
IL_0366: Label11
IL_0366: Label25
IL_0366: ldloc.1
IL_0367: ldloc.0
IL_0368: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_036D: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_0372: call static System.Collections.Generic.List`1<Verse.Thing>
Verse.GridsUtility::GetThingList(Verse.IntVec3 c, Verse.Map map)
IL_0377: callvirt System.Collections.Generic.Enumerator<Verse.Thing>
System.Collections.Generic.List`1<Verse.Thing>::GetEnumerator()
IL_037C: stloc.2
.try
{
IL_037D: br => Label27
IL_0382: Label54
IL_0382: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_0384: call virtual Verse.Thing
System.Collections.Generic.Enumerator<Verse.Thing>::get_Current()
IL_0389: stloc.s 14 (Verse.Thing)
IL_038B: newobj System.Void RimWorld.<>c__DisplayClass9_2::.ctor()
IL_0390: stloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0392: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0394: ldloc.0
IL_0395: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_039A: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_039C: ldloc.s 14 (Verse.Thing)
IL_039E: stfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_03A3: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_03A5: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_03AA: ldfld Verse.ThingDef Verse.Thing::def
IL_03AF: ldfld RimWorld.IngestibleProperties Verse.ThingDef::ingestible
IL_03B4: brfalse => Label28
IL_03B9: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_03BB: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_03C0: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_03C5: callvirt Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_03CA: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_03CC: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_03D1: callvirt System.Boolean
Verse.RaceProperties::CanEverEat(Verse.Thing t)
IL_03D6: brfalse => Label29
IL_03DB: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_03DD: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_03E2: callvirt virtual System.Boolean Verse.Thing::get_IngestibleNow()
IL_03E7: brfalse => Label30
IL_03EC: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_03EE: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_03F3: ldfld Verse.ThingDef Verse.Thing::def
IL_03F8: ldfld RimWorld.IngestibleProperties Verse.ThingDef::ingestible
IL_03FD: ldfld System.String
RimWorld.IngestibleProperties::ingestCommandString
IL_0402: call static System.Boolean
Verse.GenText::NullOrEmpty(System.String str)
IL_0407: brfalse => Label31
IL_040C: ldstr "ConsumeThing"
IL_0411: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0413: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_0418: callvirt virtual System.String Verse.Entity::get_LabelShort()
IL_041D: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_0422: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0424: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_0429: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_042E: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_0433: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0438: stloc.s 17 (System.String)
IL_043A: br => Label32
IL_043F: Label31
IL_043F: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0441: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_0446: ldfld Verse.ThingDef Verse.Thing::def
IL_044B: ldfld RimWorld.IngestibleProperties Verse.ThingDef::ingestible
IL_0450: ldfld System.String
RimWorld.IngestibleProperties::ingestCommandString
IL_0455: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0457: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_045C: callvirt virtual System.String Verse.Entity::get_LabelShort()
IL_0461: call static System.String System.String::Format(System.String
format, System.Object arg0)
IL_0466: stloc.s 17 (System.String)
IL_0468: Label32
IL_0468: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_046A: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_046F: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0471: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_0476: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_047B: call static System.Boolean
RimWorld.SocialProperness::IsSociallyProper(Verse.Thing t, Verse.Pawn p)
IL_0480: brtrue => Label33
IL_0485: ldloc.s 17 (System.String)
IL_0487: ldstr ": "
IL_048C: call static System.String System.String::Concat(System.String
str0, System.String str1)
IL_0491: ldstr "ReservedForPrisoners"
IL_0496: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_049B: stloc.s 11 (Verse.TaggedString)
IL_049D: ldloca.s 11 (Verse.TaggedString)
IL_049F: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_04A4: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_04A9: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_04AE: stloc.s 17 (System.String)
IL_04B0: Label33
IL_04B0: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_04B2: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_04B7: ldfld Verse.ThingDef Verse.Thing::def
IL_04BC: callvirt System.Boolean Verse.ThingDef::get_IsDrug()
IL_04C1: brfalse => Label34
IL_04C6: call static System.Boolean
Verse.ModsConfig::get_IdeologyActive()
IL_04CB: brfalse => Label35
IL_04D0: ldsfld RimWorld.HistoryEventDef
RimWorld.HistoryEventDefOf::IngestedDrug
IL_04D5: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_04D7: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_04DC: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_04E1: ldsfld System.String RimWorld.HistoryEventArgsNames::Doer
IL_04E6: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_04EB: newobj System.Void
RimWorld.HistoryEvent::.ctor(RimWorld.HistoryEventDef def, Verse.NamedArgument
arg1)
IL_04F0: ldloca.s 16 (Verse.FloatMenuOption)
IL_04F2: ldloc.s 17 (System.String)
IL_04F4: call static System.Boolean
RimWorld.IdeoUtility::Notify_PawnAboutToDo(RimWorld.HistoryEvent ev,
Verse.FloatMenuOption& opt, System.String baseText)
IL_04F9: brfalse => Label36
IL_04FE: Label34
IL_04FE: Label35
IL_04FE: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0500: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_0505: ldfld Verse.ThingDef Verse.Thing::def
IL_050A: callvirt System.Boolean Verse.ThingDef::get_IsNonMedicalDrug()
IL_050F: brfalse => Label37
IL_0514: call static System.Boolean
Verse.ModsConfig::get_IdeologyActive()
IL_0519: brfalse => Label38
IL_051E: ldsfld RimWorld.HistoryEventDef
RimWorld.HistoryEventDefOf::IngestedRecreationalDrug
IL_0523: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0525: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_052A: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_052F: ldsfld System.String RimWorld.HistoryEventArgsNames::Doer
IL_0534: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_0539: newobj System.Void
RimWorld.HistoryEvent::.ctor(RimWorld.HistoryEventDef def, Verse.NamedArgument
arg1)
IL_053E: ldloca.s 16 (Verse.FloatMenuOption)
IL_0540: ldloc.s 17 (System.String)
IL_0542: call static System.Boolean
RimWorld.IdeoUtility::Notify_PawnAboutToDo(RimWorld.HistoryEvent ev,
Verse.FloatMenuOption& opt, System.String baseText)
IL_0547: brfalse => Label39
IL_054C: Label37
IL_054C: Label38
IL_054C: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_054E: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_0553: ldfld Verse.ThingDef Verse.Thing::def
IL_0558: callvirt System.Boolean Verse.ThingDef::get_IsDrug()
IL_055D: brfalse => Label40
IL_0562: call static System.Boolean
Verse.ModsConfig::get_IdeologyActive()
IL_0567: brfalse => Label41
IL_056C: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_056E: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_0573: ldfld Verse.ThingDef Verse.Thing::def
IL_0578: ldfld RimWorld.IngestibleProperties Verse.ThingDef::ingestible
IL_057D: ldfld RimWorld.DrugCategory
RimWorld.IngestibleProperties::drugCategory
IL_0582: ldc.i4.3
IL_0583: bne.un => Label42
IL_0588: ldsfld RimWorld.HistoryEventDef
RimWorld.HistoryEventDefOf::IngestedHardDrug
IL_058D: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_058F: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_0594: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0599: ldsfld System.String RimWorld.HistoryEventArgsNames::Doer
IL_059E: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_05A3: newobj System.Void
RimWorld.HistoryEvent::.ctor(RimWorld.HistoryEventDef def, Verse.NamedArgument
arg1)
IL_05A8: ldloca.s 16 (Verse.FloatMenuOption)
IL_05AA: ldloc.s 17 (System.String)
IL_05AC: call static System.Boolean
RimWorld.IdeoUtility::Notify_PawnAboutToDo(RimWorld.HistoryEvent ev,
Verse.FloatMenuOption& opt, System.String baseText)
IL_05B1: brfalse => Label43
IL_05B6: Label40
IL_05B6: Label41
IL_05B6: Label42
IL_05B6: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_05B8: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_05BD: ldfld Verse.ThingDef Verse.Thing::def
IL_05C2: callvirt System.Boolean Verse.ThingDef::get_IsNonMedicalDrug()
IL_05C7: brfalse => Label44
IL_05CC: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_05CE: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_05D3: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_05D8: call static System.Boolean
RimWorld.PawnUtility::IsTeetotaler(Verse.Pawn pawn)
IL_05DD: brfalse => Label45
IL_05E2: ldloc.s 17 (System.String)
IL_05E4: ldstr ": "
IL_05E9: ldsfld RimWorld.TraitDef RimWorld.TraitDefOf::DrugDesire
IL_05EE: ldc.i4.m1
IL_05EF: callvirt RimWorld.TraitDegreeData
RimWorld.TraitDef::DataAtDegree(System.Int32 degree)
IL_05F4: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_05F6: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_05FB: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0600: callvirt System.String
RimWorld.TraitDegreeData::GetLabelCapFor(Verse.Pawn pawn)
IL_0605: call static System.String System.String::Concat(System.String
str0, System.String str1, System.String str2)
IL_060A: ldnull
IL_060B: ldc.i4.4
IL_060C: ldnull
IL_060D: ldnull
IL_060E: ldc.r4 0
IL_0613: ldnull
IL_0614: ldnull
IL_0615: ldc.i4.1
IL_0616: ldc.i4.0
IL_0617: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_061C: stloc.s 16 (Verse.FloatMenuOption)
IL_061E: br => Label46
IL_0623: Label44
IL_0623: Label45
IL_0623: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0625: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_062A: ldfld Verse.ThingDef Verse.Thing::def
IL_062F: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0631: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_0636: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_063B: ldc.i4.1
IL_063C: call static System.Boolean
RimWorld.FoodUtility::InappropriateForTitle(Verse.ThingDef food, Verse.Pawn p,
System.Boolean allowIfStarving)
IL_0641: brfalse => Label47
IL_0646: ldloc.s 17 (System.String)
IL_0648: ldstr ": "
IL_064D: call static System.String System.String::Concat(System.String
str0, System.String str1)
IL_0652: ldstr "FoodBelowTitleRequirements"
IL_0657: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0659: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_065E: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0663: ldfld RimWorld.Pawn_RoyaltyTracker Verse.Pawn::royalty
IL_0668: callvirt RimWorld.RoyalTitle
RimWorld.Pawn_RoyaltyTracker::get_MostSeniorTitle()
IL_066D: ldfld RimWorld.RoyalTitleDef RimWorld.RoyalTitle::def
IL_0672: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0674: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_0679: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_067E: callvirt System.String
RimWorld.RoyalTitleDef::GetLabelFor(Verse.Pawn p)
IL_0683: call static System.String
Verse.GenText::CapitalizeFirst(System.String str)
IL_0688: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_068D: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_0692: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_0697: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_069C: ldnull
IL_069D: ldc.i4.4
IL_069E: ldnull
IL_069F: ldnull
IL_06A0: ldc.r4 0
IL_06A5: ldnull
IL_06A6: ldnull
IL_06A7: ldc.i4.1
IL_06A8: ldc.i4.0
IL_06A9: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_06AE: stloc.s 16 (Verse.FloatMenuOption)
IL_06B0: br => Label48
IL_06B5: Label47
IL_06B5: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_06B7: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_06BC: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_06C1: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_06C3: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_06C8: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_06CD: ldc.i4.1
IL_06CE: ldc.i4.3
IL_06CF: ldc.i4.0
IL_06D0: ldc.i4.0
IL_06D1: ldc.i4.0
IL_06D2: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_06D7: brtrue => Label49
IL_06DC: ldloc.s 17 (System.String)
IL_06DE: ldstr ": "
IL_06E3: call static System.String System.String::Concat(System.String
str0, System.String str1)
IL_06E8: ldstr "NoPath"
IL_06ED: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_06F2: stloc.s 11 (Verse.TaggedString)
IL_06F4: ldloca.s 11 (Verse.TaggedString)
IL_06F6: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_06FB: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_0700: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0705: ldnull
IL_0706: ldc.i4.4
IL_0707: ldnull
IL_0708: ldnull
IL_0709: ldc.r4 0
IL_070E: ldnull
IL_070F: ldnull
IL_0710: ldc.i4.1
IL_0711: ldc.i4.0
IL_0712: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_0717: stloc.s 16 (Verse.FloatMenuOption)
IL_0719: br => Label50
IL_071E: Label49
IL_071E: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0720: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_0725: isinst Verse.Corpse
IL_072A: brtrue => Label51
IL_072F: ldc.i4.4
IL_0730: br => Label52
IL_0735: Label51
IL_0735: ldc.i4.2
IL_0736: Label52
IL_0736: stloc.s 18 (Verse.MenuOptionPriority)
IL_0738: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_073A: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_073F: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0741: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_0746: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_074B: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_074D: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_0752: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0757: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0759: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_075E: ldfld Verse.ThingDef Verse.Thing::def
IL_0763: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0765: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_076A: ldsfld RimWorld.StatDef RimWorld.StatDefOf::Nutrition
IL_076F: ldc.i4.1
IL_0770: call static System.Single
RimWorld.StatExtension::GetStatValue(Verse.Thing thing, RimWorld.StatDef stat,
System.Boolean applyPostProcess)
IL_0775: call static System.Int32
RimWorld.FoodUtility::WillIngestStackCountOf(Verse.Pawn ingester, Verse.ThingDef
def, System.Single singleFoodNutrition)
IL_077A: call static System.Int32
RimWorld.FoodUtility::GetMaxAmountToPickup(Verse.Thing food, Verse.Pawn pawn,
System.Int32 wantedCount)
IL_077F: ldloc.s 17 (System.String)
IL_0781: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_0783: ldftn System.Void
RimWorld.<>c__DisplayClass9_2::<AddHumanlikeOrders>b__1()
IL_0789: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_078E: ldloc.s 18 (Verse.MenuOptionPriority)
IL_0790: ldnull
IL_0791: ldnull
IL_0792: ldc.r4 0
IL_0797: ldnull
IL_0798: ldnull
IL_0799: ldc.i4.1
IL_079A: ldc.i4.0
IL_079B: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_07A0: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_07A2: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_2::CS$<>8__locals2
IL_07A7: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_07AC: ldloc.s 15 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_2)
IL_07AE: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_2::t
IL_07B3: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_07B8: ldstr "ReservedBy"
IL_07BD: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_07C2: stloc.s 16 (Verse.FloatMenuOption)
IL_07C4: brtrue => Label53
IL_07C9: ldloc.s 16 (Verse.FloatMenuOption)
IL_07CB: ldnull
IL_07CC: stfld System.Action Verse.FloatMenuOption::action
IL_07D1: Label36
IL_07D1: Label39
IL_07D1: Label43
IL_07D1: Label46
IL_07D1: Label48
IL_07D1: Label50
IL_07D1: Label53
IL_07D1: ldarg.2
IL_07D2: ldloc.s 16 (Verse.FloatMenuOption)
IL_07D4: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_07D9: Label27
IL_07D9: Label28
IL_07D9: Label29
IL_07D9: Label30
IL_07D9: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_07DB: call virtual System.Boolean
System.Collections.Generic.Enumerator<Verse.Thing>::MoveNext()
IL_07E0: brtrue => Label54
IL_07E5: leave => Label55
IL_07EA: leave => (autogenerated)
} // end try
.finally
{
IL_07EF: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_07F1: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
IL_07F7: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_07FC: endfinally
IL_07FD: leave => (autogenerated)
} // end handler
IL_07FE: Label55
IL_07FE: ldarg.0
IL_07FF: ldloc.0
IL_0800: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0805: call static RimWorld.TargetingParameters
RimWorld.TargetingParameters::ForQuestPawnsWhoWillJoinColony(Verse.Pawn p)
IL_080A: ldc.i4.1
IL_080B: ldnull
IL_080C: call static
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>
Verse.GenUI::TargetsAt(UnityEngine.Vector3 clickPos, RimWorld.TargetingParameters
clickParams, System.Boolean thingsOnly, RimWorld.ITargetingSource source)
IL_0811: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>::GetEnumerator()
IL_0816: stloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
IL_0818: br => Label56
IL_081D: Label61
IL_081D: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_081F: callvirt abstract virtual Verse.LocalTargetInfo
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>::get_Current()
IL_0824: stloc.s 19 (Verse.LocalTargetInfo)
IL_0826: newobj System.Void RimWorld.<>c__DisplayClass9_3::.ctor()
IL_082B: stloc.s 20 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_3)
IL_082D: ldloc.s 20 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_3)
IL_082F: ldloc.0
IL_0830: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_3::CS$<>8__locals3
IL_0835: ldloc.s 20 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_3)
IL_0837: ldloca.s 19 (Verse.LocalTargetInfo)
IL_0839: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_083E: castclass Verse.Pawn
IL_0843: stfld Verse.Pawn RimWorld.<>c__DisplayClass9_3::toHelpPawn
IL_0848: ldloc.s 20 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_3)
IL_084A: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_3::CS$<>8__locals3
IL_084F: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0854: ldloc.s 19 (Verse.LocalTargetInfo)
IL_0856: ldc.i4.2
IL_0857: ldc.i4.3
IL_0858: ldc.i4.0
IL_0859: ldc.i4.0
IL_085A: ldc.i4.0
IL_085B: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_0860: brtrue => Label57
IL_0865: ldstr "CannotGoNoPath"
IL_086A: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_086F: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0874: ldnull
IL_0875: ldc.i4.4
IL_0876: ldnull
IL_0877: ldnull
IL_0878: ldc.r4 0
IL_087D: ldnull
IL_087E: ldnull
IL_087F: ldc.i4.1
IL_0880: ldc.i4.0
IL_0881: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_0886: stloc.s 21 (Verse.FloatMenuOption)
IL_0888: br => Label58
IL_088D: Label57
IL_088D: ldloc.s 20 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_3)
IL_088F: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_3::toHelpPawn
IL_0894: callvirt System.Boolean Verse.Pawn::get_IsPrisoner()
IL_0899: brtrue => Label59
IL_089E: ldstr "OfferHelp"
IL_08A3: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_08A8: br => Label60
IL_08AD: Label59
IL_08AD: ldstr "FreePrisoner"
IL_08B2: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_08B7: Label60
IL_08B7: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_08BC: ldloc.s 20 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_3)
IL_08BE: ldftn System.Void
RimWorld.<>c__DisplayClass9_3::<AddHumanlikeOrders>b__2()
IL_08C4: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_08C9: ldc.i4.8
IL_08CA: ldnull
IL_08CB: ldloc.s 20 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_3)
IL_08CD: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_3::toHelpPawn
IL_08D2: ldc.r4 0
IL_08D7: ldnull
IL_08D8: ldnull
IL_08D9: ldc.i4.1
IL_08DA: ldc.i4.0
IL_08DB: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_08E0: ldloc.s 20 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_3)
IL_08E2: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_3::CS$<>8__locals3
IL_08E7: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_08EC: ldloc.s 20 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_3)
IL_08EE: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_3::toHelpPawn
IL_08F3: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_08F8: ldstr "ReservedBy"
IL_08FD: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_0902: stloc.s 21 (Verse.FloatMenuOption)
IL_0904: Label58
IL_0904: ldarg.2
IL_0905: ldloc.s 21 (Verse.FloatMenuOption)
IL_0907: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_090C: Label56
IL_090C: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_090E: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_0913: brtrue => Label61
IL_0918: leave => Label62
IL_091D: leave => (autogenerated)
} // end try
.finally
{
IL_0922: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_0924: brfalse => Label63
IL_0929: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_092B: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_0930: Label63
IL_0930: endfinally
IL_0931: leave => (autogenerated)
} // end handler
IL_0932: Label62
IL_0932: ldloc.0
IL_0933: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0938: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_093D: ldfld Verse.PawnCapacitiesHandler
Verse.Pawn_HealthTracker::capacities
IL_0942: ldsfld Verse.PawnCapacityDef RimWorld.PawnCapacityDefOf::Manipulation
IL_0947: callvirt System.Boolean
Verse.PawnCapacitiesHandler::CapableOf(Verse.PawnCapacityDef capacity)
IL_094C: brfalse => Label64
IL_0951: ldloc.1
IL_0952: ldloc.0
IL_0953: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0958: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_095D: call static System.Collections.Generic.List`1<Verse.Thing>
Verse.GridsUtility::GetThingList(Verse.IntVec3 c, Verse.Map map)
IL_0962: stloc.s 22 (System.Collections.Generic.List`1[Verse.Thing])
IL_0964: ldloc.s 22 (System.Collections.Generic.List`1[Verse.Thing])
IL_0966: callvirt System.Collections.Generic.Enumerator<Verse.Thing>
System.Collections.Generic.List`1<Verse.Thing>::GetEnumerator()
IL_096B: stloc.2
.try
{
IL_096C: br => Label65
IL_0971: Label71
IL_0971: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_0973: call virtual Verse.Thing
System.Collections.Generic.Enumerator<Verse.Thing>::get_Current()
IL_0978: stloc.s 23 (Verse.Thing)
IL_097A: newobj System.Void RimWorld.<>c__DisplayClass9_4::.ctor()
IL_097F: stloc.s 24 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_4)
IL_0981: ldloc.s 24 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_4)
IL_0983: ldloc.0
IL_0984: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_4::CS$<>8__locals4
IL_0989: ldloc.s 24 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_4)
IL_098B: ldloc.s 23 (Verse.Thing)
IL_098D: isinst Verse.Corpse
IL_0992: stfld Verse.Corpse RimWorld.<>c__DisplayClass9_4::corpse
IL_0997: ldloc.s 24 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_4)
IL_0999: ldfld Verse.Corpse RimWorld.<>c__DisplayClass9_4::corpse
IL_099E: brfalse => Label66
IL_09A3: ldloc.s 24 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_4)
IL_09A5: ldfld Verse.Corpse RimWorld.<>c__DisplayClass9_4::corpse
IL_09AA: call static System.Boolean
RimWorld.StoreUtility::IsInValidStorage(Verse.Thing t)
IL_09AF: brfalse => Label67
IL_09B4: ldloc.s 24 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_4)
IL_09B6: ldfld Verse.Corpse RimWorld.<>c__DisplayClass9_4::corpse
IL_09BB: call static RimWorld.IHaulDestination
RimWorld.StoreUtility::CurrentHaulDestinationOf(Verse.Thing t)
IL_09C0: callvirt abstract virtual RimWorld.StorageSettings
RimWorld.IStoreSettingsParent::GetStoreSettings()
IL_09C5: callvirt RimWorld.StoragePriority
RimWorld.StorageSettings::get_Priority()
IL_09CA: stloc.s 26 (RimWorld.StoragePriority)
IL_09CC: ldloc.s 24 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_4)
IL_09CE: ldfld Verse.Corpse RimWorld.<>c__DisplayClass9_4::corpse
IL_09D3: ldloc.s 24 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_4)
IL_09D5: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_4::CS$<>8__locals4
IL_09DA: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_09DF: ldloc.s 24 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_4)
IL_09E1: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_4::CS$<>8__locals4
IL_09E6: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_09EB: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_09F0: ldloc.s 26 (RimWorld.StoragePriority)
IL_09F2: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_09F7: ldloca.s 25 (RimWorld.IHaulDestination)
IL_09F9: ldc.i4.1
IL_09FA: call static System.Boolean
RimWorld.StoreUtility::TryFindBestBetterNonSlotGroupStorageFor(Verse.Thing t,
Verse.Pawn carrier, Verse.Map map, RimWorld.StoragePriority currentPriority,
RimWorld.Faction faction, RimWorld.IHaulDestination& haulDestination,
System.Boolean acceptSamePriority)
IL_09FF: brfalse => Label68
IL_0A04: ldloc.s 25 (RimWorld.IHaulDestination)
IL_0A06: callvirt abstract virtual RimWorld.StorageSettings
RimWorld.IStoreSettingsParent::GetStoreSettings()
IL_0A0B: callvirt RimWorld.StoragePriority
RimWorld.StorageSettings::get_Priority()
IL_0A10: ldloc.s 26 (RimWorld.StoragePriority)
IL_0A12: bne.un => Label69
IL_0A17: ldloc.s 25 (RimWorld.IHaulDestination)
IL_0A19: isinst RimWorld.Building_Grave
IL_0A1E: brfalse => Label70
IL_0A23: newobj System.Void RimWorld.<>c__DisplayClass9_5::.ctor()
IL_0A28: stloc.s 27 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_5)
IL_0A2A: ldloc.s 27 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_5)
IL_0A2C: ldloc.s 24 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_4)
IL_0A2E: stfld RimWorld.<>c__DisplayClass9_4
RimWorld.<>c__DisplayClass9_5::CS$<>8__locals5
IL_0A33: ldloc.s 27 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_5)
IL_0A35: ldloc.s 25 (RimWorld.IHaulDestination)
IL_0A37: isinst RimWorld.Building_Grave
IL_0A3C: stfld RimWorld.Building_Grave
RimWorld.<>c__DisplayClass9_5::grave
IL_0A41: ldarg.2
IL_0A42: ldstr "PrioritizeGeneric"
IL_0A47: ldstr "Burying"
IL_0A4C: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0A51: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.TaggedString value)
IL_0A56: ldloc.s 27 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_5)
IL_0A58: ldfld RimWorld.<>c__DisplayClass9_4
RimWorld.<>c__DisplayClass9_5::CS$<>8__locals5
IL_0A5D: ldfld Verse.Corpse RimWorld.<>c__DisplayClass9_4::corpse
IL_0A62: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_0A67: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_0A6C: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_0A71: stloc.s 11 (Verse.TaggedString)
IL_0A73: ldloca.s 11 (Verse.TaggedString)
IL_0A75: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_0A7A: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0A7F: ldloc.s 27 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_5)
IL_0A81: ldftn System.Void
RimWorld.<>c__DisplayClass9_5::<AddHumanlikeOrders>b__3()
IL_0A87: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_0A8C: ldc.i4.4
IL_0A8D: ldnull
IL_0A8E: ldnull
IL_0A8F: ldc.r4 0
IL_0A94: ldnull
IL_0A95: ldnull
IL_0A96: ldc.i4.1
IL_0A97: ldc.i4.0
IL_0A98: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_0A9D: ldloc.s 27 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_5)
IL_0A9F: ldfld RimWorld.<>c__DisplayClass9_4
RimWorld.<>c__DisplayClass9_5::CS$<>8__locals5
IL_0AA4: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_4::CS$<>8__locals4
IL_0AA9: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0AAE: ldloc.s 27 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_5)
IL_0AB0: ldfld RimWorld.<>c__DisplayClass9_4
RimWorld.<>c__DisplayClass9_5::CS$<>8__locals5
IL_0AB5: ldfld Verse.Corpse RimWorld.<>c__DisplayClass9_4::corpse
IL_0ABA: newobj System.Void Verse.LocalTargetInfo::.ctor(Verse.Thing
thing)
IL_0ABF: ldstr "ReservedBy"
IL_0AC4: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_0AC9: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_0ACE: Label65
IL_0ACE: Label66
IL_0ACE: Label67
IL_0ACE: Label68
IL_0ACE: Label69
IL_0ACE: Label70
IL_0ACE: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_0AD0: call virtual System.Boolean
System.Collections.Generic.Enumerator<Verse.Thing>::MoveNext()
IL_0AD5: brtrue => Label71
IL_0ADA: leave => Label72
IL_0ADF: leave => (autogenerated)
} // end try
.finally
{
IL_0AE4: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_0AE6: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
IL_0AEC: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_0AF1: endfinally
IL_0AF2: leave => (autogenerated)
} // end handler
IL_0AF3: Label72
IL_0AF3: ldloc.s 22 (System.Collections.Generic.List`1[Verse.Thing])
IL_0AF5: callvirt System.Collections.Generic.Enumerator<Verse.Thing>
System.Collections.Generic.List`1<Verse.Thing>::GetEnumerator()
IL_0AFA: stloc.2
.try
{
IL_0AFB: br => Label73
IL_0B00: Label76
IL_0B00: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_0B02: call virtual Verse.Thing
System.Collections.Generic.Enumerator<Verse.Thing>::get_Current()
IL_0B07: stloc.s 28 (Verse.Thing)
IL_0B09: newobj System.Void RimWorld.<>c__DisplayClass9_6::.ctor()
IL_0B0E: stloc.s 29 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_6)
IL_0B10: ldloc.s 29 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_6)
IL_0B12: ldloc.0
IL_0B13: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_6::CS$<>8__locals6
IL_0B18: ldloc.s 29 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_6)
IL_0B1A: ldloc.s 28 (Verse.Thing)
IL_0B1C: isinst Verse.Corpse
IL_0B21: stfld Verse.Corpse RimWorld.<>c__DisplayClass9_6::corpse
IL_0B26: ldloc.s 29 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_6)
IL_0B28: ldfld Verse.Corpse RimWorld.<>c__DisplayClass9_6::corpse
IL_0B2D: brfalse => Label74
IL_0B32: ldloc.s 29 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_6)
IL_0B34: ldloc.s 29 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_6)
IL_0B36: ldfld Verse.Corpse RimWorld.<>c__DisplayClass9_6::corpse
IL_0B3B: ldloc.s 29 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_6)
IL_0B3D: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_6::CS$<>8__locals6
IL_0B42: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0B47: ldc.i4.0
IL_0B48: call static RimWorld.Building_GibbetCage
RimWorld.Building_GibbetCage::FindGibbetCageFor(Verse.Corpse c, Verse.Pawn
traveler, System.Boolean ignoreOtherReservations)
IL_0B4D: stfld RimWorld.Building_GibbetCage
RimWorld.<>c__DisplayClass9_6::cage
IL_0B52: ldloc.s 29 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_6)
IL_0B54: ldfld RimWorld.Building_GibbetCage
RimWorld.<>c__DisplayClass9_6::cage
IL_0B59: brfalse => Label75
IL_0B5E: ldarg.2
IL_0B5F: ldstr "PlaceIn"
IL_0B64: ldloc.s 29 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_6)
IL_0B66: ldfld Verse.Corpse RimWorld.<>c__DisplayClass9_6::corpse
IL_0B6B: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_0B70: ldloc.s 29 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_6)
IL_0B72: ldfld RimWorld.Building_GibbetCage
RimWorld.<>c__DisplayClass9_6::cage
IL_0B77: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_0B7C: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_0B81: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0B86: ldloc.s 29 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_6)
IL_0B88: ldftn System.Void
RimWorld.<>c__DisplayClass9_6::<AddHumanlikeOrders>b__4()
IL_0B8E: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_0B93: ldc.i4.4
IL_0B94: ldnull
IL_0B95: ldnull
IL_0B96: ldc.r4 0
IL_0B9B: ldnull
IL_0B9C: ldnull
IL_0B9D: ldc.i4.1
IL_0B9E: ldc.i4.0
IL_0B9F: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_0BA4: ldloc.s 29 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_6)
IL_0BA6: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_6::CS$<>8__locals6
IL_0BAB: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0BB0: ldloc.s 29 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_6)
IL_0BB2: ldfld Verse.Corpse RimWorld.<>c__DisplayClass9_6::corpse
IL_0BB7: newobj System.Void Verse.LocalTargetInfo::.ctor(Verse.Thing
thing)
IL_0BBC: ldstr "ReservedBy"
IL_0BC1: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_0BC6: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_0BCB: Label73
IL_0BCB: Label74
IL_0BCB: Label75
IL_0BCB: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_0BCD: call virtual System.Boolean
System.Collections.Generic.Enumerator<Verse.Thing>::MoveNext()
IL_0BD2: brtrue => Label76
IL_0BD7: leave => Label77
IL_0BDC: leave => (autogenerated)
} // end try
.finally
{
IL_0BE1: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_0BE3: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
IL_0BE9: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_0BEE: endfinally
IL_0BEF: leave => (autogenerated)
} // end handler
IL_0BF0: Label77
IL_0BF0: ldarg.0
IL_0BF1: ldloc.0
IL_0BF2: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0BF7: call static RimWorld.TargetingParameters
RimWorld.TargetingParameters::ForRescue(Verse.Pawn p)
IL_0BFC: ldc.i4.1
IL_0BFD: ldnull
IL_0BFE: call static
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>
Verse.GenUI::TargetsAt(UnityEngine.Vector3 clickPos, RimWorld.TargetingParameters
clickParams, System.Boolean thingsOnly, RimWorld.ITargetingSource source)
IL_0C03: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>::GetEnumerator()
IL_0C08: stloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
IL_0C0A: br => Label78
IL_0C0F: Label102
IL_0C0F: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_0C11: callvirt abstract virtual Verse.LocalTargetInfo
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>::get_Current()
IL_0C16: stloc.s 30 (Verse.LocalTargetInfo)
IL_0C18: newobj System.Void RimWorld.<>c__DisplayClass9_7::.ctor()
IL_0C1D: stloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0C1F: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0C21: ldloc.0
IL_0C22: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_7::CS$<>8__locals7
IL_0C27: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0C29: ldloca.s 30 (Verse.LocalTargetInfo)
IL_0C2B: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_0C30: castclass Verse.Pawn
IL_0C35: stfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0C3A: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0C3C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0C41: call static System.Boolean
RimWorld.RestUtility::InBed(Verse.Pawn p)
IL_0C46: brtrue => Label79
IL_0C4B: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0C4D: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_7::CS$<>8__locals7
IL_0C52: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0C57: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0C59: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0C5E: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_0C63: ldc.i4.1
IL_0C64: ldc.i4.3
IL_0C65: ldc.i4.1
IL_0C66: ldc.i4.m1
IL_0C67: ldnull
IL_0C68: ldc.i4.1
IL_0C69: call static System.Boolean
Verse.AI.ReservationUtility::CanReserveAndReach(Verse.Pawn p, Verse.LocalTargetInfo
target, Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Int32 maxPawns,
System.Int32 stackCount, Verse.ReservationLayerDef layer, System.Boolean
ignoreOtherReservations)
IL_0C6E: brfalse => Label80
IL_0C73: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0C75: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0C7A: ldfld Verse.AI.Pawn_MindState Verse.Pawn::mindState
IL_0C7F: callvirt System.Boolean
Verse.AI.Pawn_MindState::get_WillJoinColonyIfRescued()
IL_0C84: brtrue => Label81
IL_0C89: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0C8B: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0C90: callvirt System.Boolean Verse.Pawn::get_IsPrisonerOfColony()
IL_0C95: brtrue => Label82
IL_0C9A: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0C9C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0CA1: callvirt System.Boolean Verse.Pawn::get_IsSlaveOfColony()
IL_0CA6: brtrue => Label83
IL_0CAB: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0CAD: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0CB2: callvirt System.Boolean Verse.Pawn::get_InMentalState()
IL_0CB7: brfalse => Label84
IL_0CBC: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0CBE: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0CC3: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_0CC8: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
IL_0CCD: ldsfld Verse.HediffDef RimWorld.HediffDefOf::Scaria
IL_0CD2: ldc.i4.0
IL_0CD3: callvirt System.Boolean Verse.HediffSet::HasHediff(Verse.HediffDef
def, System.Boolean mustBeVisible)
IL_0CD8: brfalse => Label85
IL_0CDD: Label84
IL_0CDD: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0CDF: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0CE4: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_0CE9: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_0CEE: beq => Label86
IL_0CF3: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0CF5: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0CFA: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_0CFF: brfalse => Label87
IL_0D04: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0D06: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0D0B: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_0D10: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_0D15: call static System.Boolean
RimWorld.FactionUtility::HostileTo(RimWorld.Faction fac, RimWorld.Faction other)
IL_0D1A: brtrue => Label88
IL_0D1F: Label86
IL_0D1F: Label87
IL_0D1F: ldarg.2
IL_0D20: ldstr "Rescue"
IL_0D25: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0D27: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0D2C: callvirt abstract virtual System.String
Verse.Entity::get_LabelCap()
IL_0D31: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_0D36: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0D38: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0D3D: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_0D42: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_0D47: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0D4C: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0D4E: ldftn System.Void
RimWorld.<>c__DisplayClass9_7::<AddHumanlikeOrders>b__5()
IL_0D54: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_0D59: ldc.i4.8
IL_0D5A: ldnull
IL_0D5B: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0D5D: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0D62: ldc.r4 0
IL_0D67: ldnull
IL_0D68: ldnull
IL_0D69: ldc.i4.1
IL_0D6A: ldc.i4.0
IL_0D6B: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_0D70: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0D72: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_7::CS$<>8__locals7
IL_0D77: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0D7C: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0D7E: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0D83: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_0D88: ldstr "ReservedBy"
IL_0D8D: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_0D92: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_0D97: Label82
IL_0D97: Label83
IL_0D97: Label85
IL_0D97: Label88
IL_0D97: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0D99: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0D9E: callvirt System.Boolean Verse.Pawn::get_IsSlaveOfColony()
IL_0DA3: brfalse => Label89
IL_0DA8: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0DAA: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0DAF: callvirt System.Boolean Verse.Pawn::get_InMentalState()
IL_0DB4: brtrue => Label90
IL_0DB9: ldarg.2
IL_0DBA: ldstr "ReturnToSlaveBed"
IL_0DBF: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0DC4: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0DC9: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0DCB: ldftn System.Void
RimWorld.<>c__DisplayClass9_7::<AddHumanlikeOrders>b__6()
IL_0DD1: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_0DD6: ldc.i4.8
IL_0DD7: ldnull
IL_0DD8: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0DDA: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0DDF: ldc.r4 0
IL_0DE4: ldnull
IL_0DE5: ldnull
IL_0DE6: ldc.i4.1
IL_0DE7: ldc.i4.0
IL_0DE8: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_0DED: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0DEF: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_7::CS$<>8__locals7
IL_0DF4: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0DF9: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0DFB: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0E00: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_0E05: ldstr "ReservedBy"
IL_0E0A: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_0E0F: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_0E14: Label89
IL_0E14: Label90
IL_0E14: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0E16: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0E1B: callvirt Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_0E20: callvirt System.Boolean Verse.RaceProperties::get_Humanlike()
IL_0E25: brfalse => Label91
IL_0E2A: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0E2C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0E31: callvirt System.Boolean Verse.Pawn::get_InMentalState()
IL_0E36: brtrue => Label92
IL_0E3B: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0E3D: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0E42: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_0E47: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_0E4C: bne.un => Label93
IL_0E51: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0E53: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0E58: callvirt System.Boolean Verse.Pawn::get_Downed()
IL_0E5D: brfalse => Label94
IL_0E62: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0E64: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0E69: ldfld RimWorld.Pawn_GuiltTracker Verse.Pawn::guilt
IL_0E6E: callvirt System.Boolean RimWorld.Pawn_GuiltTracker::get_IsGuilty()
IL_0E73: brtrue => Label95
IL_0E78: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0E7A: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0E7F: callvirt System.Boolean Verse.Pawn::get_IsPrisonerOfColony()
IL_0E84: brfalse => Label96
IL_0E89: Label92
IL_0E89: Label93
IL_0E89: Label95
IL_0E89: ldstr "Capture"
IL_0E8E: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0E90: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0E95: callvirt abstract virtual System.String
Verse.Entity::get_LabelCap()
IL_0E9A: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_0E9F: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0EA1: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0EA6: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_0EAB: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_0EB0: stloc.s 32 (Verse.TaggedString)
IL_0EB2: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0EB4: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0EB9: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_0EBE: brfalse => Label97
IL_0EC3: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0EC5: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0ECA: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_0ECF: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_0ED4: beq => Label98
IL_0ED9: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0EDB: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0EE0: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_0EE5: callvirt System.Boolean RimWorld.Faction::get_Hidden()
IL_0EEA: brtrue => Label99
IL_0EEF: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0EF1: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0EF6: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_0EFB: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_0F00: call static System.Boolean
RimWorld.FactionUtility::HostileTo(RimWorld.Faction fac, RimWorld.Faction other)
IL_0F05: brtrue => Label100
IL_0F0A: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0F0C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0F11: callvirt System.Boolean Verse.Pawn::get_IsPrisonerOfColony()
IL_0F16: brtrue => Label101
IL_0F1B: ldloc.s 32 (Verse.TaggedString)
IL_0F1D: ldstr ": "
IL_0F22: ldstr "AngersFaction"
IL_0F27: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_0F2C: stloc.s 11 (Verse.TaggedString)
IL_0F2E: ldloca.s 11 (Verse.TaggedString)
IL_0F30: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_0F35: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_0F3A: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_0F3F: stloc.s 32 (Verse.TaggedString)
IL_0F41: Label97
IL_0F41: Label98
IL_0F41: Label99
IL_0F41: Label100
IL_0F41: Label101
IL_0F41: ldarg.2
IL_0F42: ldloc.s 32 (Verse.TaggedString)
IL_0F44: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_0F49: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0F4B: ldftn System.Void
RimWorld.<>c__DisplayClass9_7::<AddHumanlikeOrders>b__7()
IL_0F51: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_0F56: ldc.i4.8
IL_0F57: ldnull
IL_0F58: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0F5A: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0F5F: ldc.r4 0
IL_0F64: ldnull
IL_0F65: ldnull
IL_0F66: ldc.i4.1
IL_0F67: ldc.i4.0
IL_0F68: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_0F6D: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0F6F: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_7::CS$<>8__locals7
IL_0F74: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0F79: ldloc.s 31 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_7)
IL_0F7B: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_7::victim
IL_0F80: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_0F85: ldstr "ReservedBy"
IL_0F8A: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_0F8F: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_0F94: Label78
IL_0F94: Label79
IL_0F94: Label80
IL_0F94: Label81
IL_0F94: Label91
IL_0F94: Label94
IL_0F94: Label96
IL_0F94: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_0F96: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_0F9B: brtrue => Label102
IL_0FA0: leave => Label103
IL_0FA5: leave => (autogenerated)
} // end try
.finally
{
IL_0FAA: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_0FAC: brfalse => Label104
IL_0FB1: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_0FB3: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_0FB8: Label104
IL_0FB8: endfinally
IL_0FB9: leave => (autogenerated)
} // end handler
IL_0FBA: Label103
IL_0FBA: ldarg.0
IL_0FBB: ldloc.0
IL_0FBC: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_0FC1: call static RimWorld.TargetingParameters
RimWorld.TargetingParameters::ForRescue(Verse.Pawn p)
IL_0FC6: ldc.i4.1
IL_0FC7: ldnull
IL_0FC8: call static
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>
Verse.GenUI::TargetsAt(UnityEngine.Vector3 clickPos, RimWorld.TargetingParameters
clickParams, System.Boolean thingsOnly, RimWorld.ITargetingSource source)
IL_0FCD: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>::GetEnumerator()
IL_0FD2: stloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
IL_0FD4: br => Label105
IL_0FD9: Label113
IL_0FD9: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_0FDB: callvirt abstract virtual Verse.LocalTargetInfo
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>::get_Current()
IL_0FE0: newobj System.Void RimWorld.<>c__DisplayClass9_8::.ctor()
IL_0FE5: stloc.s 33 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_8)
IL_0FE7: ldloc.s 33 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_8)
IL_0FE9: ldloc.0
IL_0FEA: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_8::CS$<>8__locals8
IL_0FEF: stloc.s 34 (Verse.LocalTargetInfo)
IL_0FF1: ldloc.s 33 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_8)
IL_0FF3: ldloca.s 34 (Verse.LocalTargetInfo)
IL_0FF5: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_0FFA: castclass Verse.Pawn
IL_0FFF: stfld Verse.Pawn RimWorld.<>c__DisplayClass9_8::victim
IL_1004: ldloc.s 33 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_8)
IL_1006: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_8::victim
IL_100B: callvirt System.Boolean Verse.Pawn::get_Downed()
IL_1010: brfalse => Label106
IL_1015: ldloc.s 33 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_8)
IL_1017: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_8::CS$<>8__locals8
IL_101C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1021: ldloc.s 33 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_8)
IL_1023: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_8::victim
IL_1028: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_102D: ldc.i4.1
IL_102E: ldc.i4.3
IL_102F: ldc.i4.1
IL_1030: ldc.i4.m1
IL_1031: ldnull
IL_1032: ldc.i4.1
IL_1033: call static System.Boolean
Verse.AI.ReservationUtility::CanReserveAndReach(Verse.Pawn p, Verse.LocalTargetInfo
target, Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Int32 maxPawns,
System.Int32 stackCount, Verse.ReservationLayerDef layer, System.Boolean
ignoreOtherReservations)
IL_1038: brfalse => Label107
IL_103D: ldloc.s 33 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_8)
IL_103F: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_8::victim
IL_1044: ldloc.s 33 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_8)
IL_1046: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_8::CS$<>8__locals8
IL_104B: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1050: ldc.i4.1
IL_1051: call static RimWorld.Building_CryptosleepCasket
RimWorld.Building_CryptosleepCasket::FindCryptosleepCasketFor(Verse.Pawn p,
Verse.Pawn traveler, System.Boolean ignoreOtherReservations)
IL_1056: brfalse => Label108
IL_105B: newobj System.Void RimWorld.<>c__DisplayClass9_9::.ctor()
IL_1060: stloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_1062: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_1064: ldloc.s 33 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_8)
IL_1066: stfld RimWorld.<>c__DisplayClass9_8
RimWorld.<>c__DisplayClass9_9::CS$<>8__locals9
IL_106B: ldstr "CarryToCryptosleepCasket"
IL_1070: ldloca.s 34 (Verse.LocalTargetInfo)
IL_1072: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_1077: callvirt abstract virtual System.String
Verse.Entity::get_LabelCap()
IL_107C: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_1081: ldloca.s 34 (Verse.LocalTargetInfo)
IL_1083: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_1088: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_108D: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_1092: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_1097: stloc.s 36 (System.String)
IL_1099: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_109B: ldsfld Verse.JobDef RimWorld.JobDefOf::CarryToCryptosleepCasket
IL_10A0: stfld Verse.JobDef RimWorld.<>c__DisplayClass9_9::jDef
IL_10A5: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_10A7: ldftn System.Void
RimWorld.<>c__DisplayClass9_9::<AddHumanlikeOrders>b__8()
IL_10AD: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_10B2: stloc.s 37 (System.Action)
IL_10B4: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_10B6: ldfld RimWorld.<>c__DisplayClass9_8
RimWorld.<>c__DisplayClass9_9::CS$<>8__locals9
IL_10BB: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_8::victim
IL_10C0: call static System.Boolean
RimWorld.QuestUtility::IsQuestLodger(Verse.Pawn p)
IL_10C5: brfalse => Label109
IL_10CA: ldloc.s 36 (System.String)
IL_10CC: ldstr " ("
IL_10D1: ldstr "CryptosleepCasketGuestsNotAllowed"
IL_10D6: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_10DB: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_10E0: ldstr ")"
IL_10E5: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_10EA: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_10EF: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_10F4: stloc.s 36 (System.String)
IL_10F6: ldarg.2
IL_10F7: ldloc.s 36 (System.String)
IL_10F9: ldnull
IL_10FA: ldc.i4.4
IL_10FB: ldnull
IL_10FC: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_10FE: ldfld RimWorld.<>c__DisplayClass9_8
RimWorld.<>c__DisplayClass9_9::CS$<>8__locals9
IL_1103: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_8::victim
IL_1108: ldc.r4 0
IL_110D: ldnull
IL_110E: ldnull
IL_110F: ldc.i4.1
IL_1110: ldc.i4.0
IL_1111: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_1116: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_1118: ldfld RimWorld.<>c__DisplayClass9_8
RimWorld.<>c__DisplayClass9_9::CS$<>8__locals9
IL_111D: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_8::CS$<>8__locals8
IL_1122: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1127: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_1129: ldfld RimWorld.<>c__DisplayClass9_8
RimWorld.<>c__DisplayClass9_9::CS$<>8__locals9
IL_112E: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_8::victim
IL_1133: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_1138: ldstr "ReservedBy"
IL_113D: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_1142: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_1147: br => Label110
IL_114C: Label109
IL_114C: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_114E: ldfld RimWorld.<>c__DisplayClass9_8
RimWorld.<>c__DisplayClass9_9::CS$<>8__locals9
IL_1153: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_8::victim
IL_1158: ldnull
IL_1159: call static RimWorld.Faction
RimWorld.QuestUtility::GetExtraHostFaction(Verse.Pawn p, RimWorld.Quest forQuest)
IL_115E: brfalse => Label111
IL_1163: ldloc.s 36 (System.String)
IL_1165: ldstr " ("
IL_116A: ldstr "CryptosleepCasketGuestPrisonersNotAllowed"
IL_116F: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_1174: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_1179: ldstr ")"
IL_117E: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_1183: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_1188: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_118D: stloc.s 36 (System.String)
IL_118F: ldarg.2
IL_1190: ldloc.s 36 (System.String)
IL_1192: ldnull
IL_1193: ldc.i4.4
IL_1194: ldnull
IL_1195: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_1197: ldfld RimWorld.<>c__DisplayClass9_8
RimWorld.<>c__DisplayClass9_9::CS$<>8__locals9
IL_119C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_8::victim
IL_11A1: ldc.r4 0
IL_11A6: ldnull
IL_11A7: ldnull
IL_11A8: ldc.i4.1
IL_11A9: ldc.i4.0
IL_11AA: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_11AF: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_11B1: ldfld RimWorld.<>c__DisplayClass9_8
RimWorld.<>c__DisplayClass9_9::CS$<>8__locals9
IL_11B6: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_8::CS$<>8__locals8
IL_11BB: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_11C0: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_11C2: ldfld RimWorld.<>c__DisplayClass9_8
RimWorld.<>c__DisplayClass9_9::CS$<>8__locals9
IL_11C7: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_8::victim
IL_11CC: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_11D1: ldstr "ReservedBy"
IL_11D6: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_11DB: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_11E0: br => Label112
IL_11E5: Label111
IL_11E5: ldarg.2
IL_11E6: ldloc.s 36 (System.String)
IL_11E8: ldloc.s 37 (System.Action)
IL_11EA: ldc.i4.4
IL_11EB: ldnull
IL_11EC: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_11EE: ldfld RimWorld.<>c__DisplayClass9_8
RimWorld.<>c__DisplayClass9_9::CS$<>8__locals9
IL_11F3: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_8::victim
IL_11F8: ldc.r4 0
IL_11FD: ldnull
IL_11FE: ldnull
IL_11FF: ldc.i4.1
IL_1200: ldc.i4.0
IL_1201: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_1206: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_1208: ldfld RimWorld.<>c__DisplayClass9_8
RimWorld.<>c__DisplayClass9_9::CS$<>8__locals9
IL_120D: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_8::CS$<>8__locals8
IL_1212: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1217: ldloc.s 35 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_9)
IL_1219: ldfld RimWorld.<>c__DisplayClass9_8
RimWorld.<>c__DisplayClass9_9::CS$<>8__locals9
IL_121E: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_8::victim
IL_1223: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_1228: ldstr "ReservedBy"
IL_122D: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_1232: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_1237: Label105
IL_1237: Label106
IL_1237: Label107
IL_1237: Label108
IL_1237: Label110
IL_1237: Label112
IL_1237: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_1239: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_123E: brtrue => Label113
IL_1243: leave => Label114
IL_1248: leave => (autogenerated)
} // end try
.finally
{
IL_124D: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_124F: brfalse => Label115
IL_1254: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_1256: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_125B: Label115
IL_125B: endfinally
IL_125C: leave => (autogenerated)
} // end handler
IL_125D: Label114
IL_125D: call static System.Boolean Verse.ModsConfig::get_IdeologyActive()
IL_1262: brfalse => Label116
IL_1267: ldarg.0
IL_1268: ldloc.0
IL_1269: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_126E: call static RimWorld.TargetingParameters
RimWorld.TargetingParameters::ForCarryToBiosculpterPod(Verse.Pawn p)
IL_1273: ldc.i4.1
IL_1274: ldnull
IL_1275: call static
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>
Verse.GenUI::TargetsAt(UnityEngine.Vector3 clickPos, RimWorld.TargetingParameters
clickParams, System.Boolean thingsOnly, RimWorld.ITargetingSource source)
IL_127A: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>::GetEnumerator()
IL_127F: stloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
IL_1281: br => Label117
IL_1286: Label121
IL_1286: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_1288: callvirt abstract virtual Verse.LocalTargetInfo
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>::get_Current()
IL_128D: stloc.s 38 (Verse.LocalTargetInfo)
IL_128F: ldloca.s 38 (Verse.LocalTargetInfo)
IL_1291: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_1296: castclass Verse.Pawn
IL_129B: stloc.s 39 (Verse.Pawn)
IL_129D: ldloc.s 39 (Verse.Pawn)
IL_129F: callvirt System.Boolean Verse.Pawn::get_IsColonist()
IL_12A4: brfalse => Label118
IL_12A9: ldloc.s 39 (Verse.Pawn)
IL_12AB: callvirt System.Boolean Verse.Pawn::get_Downed()
IL_12B0: brtrue => Label119
IL_12B5: Label118
IL_12B5: ldloc.s 39 (Verse.Pawn)
IL_12B7: callvirt System.Boolean Verse.Pawn::get_IsPrisonerOfColony()
IL_12BC: brfalse => Label120
IL_12C1: Label119
IL_12C1: ldarg.2
IL_12C2: ldloc.0
IL_12C3: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_12C8: ldloc.s 39 (Verse.Pawn)
IL_12CA: call static System.Void
RimWorld.CompBiosculpterPod::AddCarryToPodJobs(System.Collections.Generic.List`1<Ve
rse.FloatMenuOption> opts, Verse.Pawn pawn, Verse.Pawn traveller)
IL_12CF: Label117
IL_12CF: Label120
IL_12CF: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_12D1: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_12D6: brtrue => Label121
IL_12DB: leave => Label122
IL_12E0: leave => (autogenerated)
} // end try
.finally
{
IL_12E5: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_12E7: brfalse => Label123
IL_12EC: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_12EE: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_12F3: Label123
IL_12F3: endfinally
IL_12F4: leave => (autogenerated)
} // end handler
IL_12F5: Label116
IL_12F5: Label122
IL_12F5: call static System.Boolean Verse.ModsConfig::get_RoyaltyActive()
IL_12FA: brfalse => Label124
IL_12FF: ldarg.0
IL_1300: ldloc.0
IL_1301: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1306: call static RimWorld.TargetingParameters
RimWorld.TargetingParameters::ForShuttle(Verse.Pawn hauler)
IL_130B: ldc.i4.1
IL_130C: ldnull
IL_130D: call static
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>
Verse.GenUI::TargetsAt(UnityEngine.Vector3 clickPos, RimWorld.TargetingParameters
clickParams, System.Boolean thingsOnly, RimWorld.ITargetingSource source)
IL_1312: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>::GetEnumerator()
IL_1317: stloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
IL_1319: br => Label125
IL_131E: Label129
IL_131E: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_1320: callvirt abstract virtual Verse.LocalTargetInfo
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>::get_Current()
IL_1325: newobj System.Void RimWorld.<>c__DisplayClass9_10::.ctor()
IL_132A: stloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_132C: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_132E: ldloc.0
IL_132F: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_10::CS$<>8__locals10
IL_1334: stloc.s 41 (Verse.LocalTargetInfo)
IL_1336: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_1338: ldloca.s 41 (Verse.LocalTargetInfo)
IL_133A: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_133F: castclass Verse.Pawn
IL_1344: stfld Verse.Pawn RimWorld.<>c__DisplayClass9_10::victim
IL_1349: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_134B: ldftn System.Boolean
RimWorld.<>c__DisplayClass9_10::<AddHumanlikeOrders>b__9(Verse.Thing thing)
IL_1351: newobj System.Void
System.Predicate`1<Verse.Thing>::.ctor(System.Object object, System.IntPtr method)
IL_1356: stloc.s 42 (System.Predicate`1[Verse.Thing])
IL_1358: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_135A: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_135C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_10::victim
IL_1361: callvirt virtual Verse.IntVec3 Verse.Thing::get_Position()
IL_1366: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_1368: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_10::victim
IL_136D: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_1372: ldsfld Verse.ThingDef RimWorld.ThingDefOf::Shuttle
IL_1377: call static Verse.ThingRequest
Verse.ThingRequest::ForDef(Verse.ThingDef singleDef)
IL_137C: ldc.i4.3
IL_137D: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_137F: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_10::CS$<>8__locals10
IL_1384: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1389: ldc.i4.3
IL_138A: ldc.i4.0
IL_138B: ldc.i4.0
IL_138C: ldc.i4.0
IL_138D: ldc.i4.0
IL_138E: call static Verse.TraverseParms
Verse.TraverseParms::For(Verse.Pawn pawn, Verse.Danger maxDanger,
Verse.TraverseMode mode, System.Boolean canBashDoors, System.Boolean
alwaysUseAvoidGrid, System.Boolean canBashFences)
IL_1393: ldc.r4 9999
IL_1398: ldloc.s 42 (System.Predicate`1[Verse.Thing])
IL_139A: ldnull
IL_139B: ldc.i4.0
IL_139C: ldc.i4.m1
IL_139D: ldc.i4.0
IL_139E: ldc.i4.s 14
IL_13A0: ldc.i4.0
IL_13A1: call static Verse.Thing
Verse.GenClosest::ClosestThingReachable(Verse.IntVec3 root, Verse.Map map,
Verse.ThingRequest thingReq, Verse.AI.PathEndMode peMode, Verse.TraverseParms
traverseParams, System.Single maxDistance, System.Predicate`1<Verse.Thing>
validator, System.Collections.Generic.IEnumerable`1<Verse.Thing>
customGlobalSearchSet, System.Int32 searchRegionsMin, System.Int32
searchRegionsMax, System.Boolean forceAllowGlobalSearch, Verse.RegionType
traversableRegionTypes, System.Boolean ignoreEntirelyForbiddenRegions)
IL_13A6: stfld Verse.Thing RimWorld.<>c__DisplayClass9_10::shuttleThing
IL_13AB: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_13AD: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_10::shuttleThing
IL_13B2: brfalse => Label126
IL_13B7: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_13B9: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_10::CS$<>8__locals10
IL_13BE: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_13C3: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_13C5: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_10::victim
IL_13CA: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_13CF: ldc.i4.1
IL_13D0: ldc.i4.3
IL_13D1: ldc.i4.1
IL_13D2: ldc.i4.m1
IL_13D3: ldnull
IL_13D4: ldc.i4.1
IL_13D5: call static System.Boolean
Verse.AI.ReservationUtility::CanReserveAndReach(Verse.Pawn p, Verse.LocalTargetInfo
target, Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Int32 maxPawns,
System.Int32 stackCount, Verse.ReservationLayerDef layer, System.Boolean
ignoreOtherReservations)
IL_13DA: brfalse => Label127
IL_13DF: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_13E1: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_10::CS$<>8__locals10
IL_13E6: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_13EB: ldsfld Verse.WorkTypeDef RimWorld.WorkTypeDefOf::Hauling
IL_13F0: callvirt System.Boolean
Verse.Pawn::WorkTypeIsDisabled(Verse.WorkTypeDef w)
IL_13F5: brtrue => Label128
IL_13FA: ldstr "CarryToShuttle"
IL_13FF: ldloca.s 41 (Verse.LocalTargetInfo)
IL_1401: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_1406: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_140B: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_1410: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_1415: stloc.s 43 (System.String)
IL_1417: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_1419: ldftn System.Void
RimWorld.<>c__DisplayClass9_10::<AddHumanlikeOrders>b__10()
IL_141F: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_1424: stloc.s 44 (System.Action)
IL_1426: ldarg.2
IL_1427: ldloc.s 43 (System.String)
IL_1429: ldloc.s 44 (System.Action)
IL_142B: ldc.i4.4
IL_142C: ldnull
IL_142D: ldnull
IL_142E: ldc.r4 0
IL_1433: ldnull
IL_1434: ldnull
IL_1435: ldc.i4.1
IL_1436: ldc.i4.0
IL_1437: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_143C: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_143E: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_10::CS$<>8__locals10
IL_1443: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1448: ldloc.s 40 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_10)
IL_144A: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_10::victim
IL_144F: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_1454: ldstr "ReservedBy"
IL_1459: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_145E: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_1463: Label125
IL_1463: Label126
IL_1463: Label127
IL_1463: Label128
IL_1463: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_1465: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_146A: brtrue => Label129
IL_146F: leave => Label130
IL_1474: leave => (autogenerated)
} // end try
.finally
{
IL_1479: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_147B: brfalse => Label131
IL_1480: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_1482: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_1487: Label131
IL_1487: endfinally
IL_1488: leave => (autogenerated)
} // end handler
IL_1489: Label124
IL_1489: Label130
IL_1489: call static System.Boolean Verse.ModsConfig::get_IdeologyActive()
IL_148E: brfalse => Label132
IL_1493: ldloc.s 22 (System.Collections.Generic.List`1[Verse.Thing])
IL_1495: callvirt System.Collections.Generic.Enumerator<Verse.Thing>
System.Collections.Generic.List`1<Verse.Thing>::GetEnumerator()
IL_149A: stloc.2
.try
{
IL_149B: br => Label133
IL_14A0: Label145
IL_14A0: newobj System.Void RimWorld.<>c__DisplayClass9_11::.ctor()
IL_14A5: stloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_14A7: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_14A9: ldloc.0
IL_14AA: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_11::CS$<>8__locals11
IL_14AF: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_14B1: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_14B3: call virtual Verse.Thing
System.Collections.Generic.Enumerator<Verse.Thing>::get_Current()
IL_14B8: stfld Verse.Thing RimWorld.<>c__DisplayClass9_11::thing
IL_14BD: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_14BF: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_11::thing
IL_14C4: call static RimWorld.CompHackable
Verse.ThingCompUtility::TryGetComp(Verse.Thing thing)
IL_14C9: stloc.s 46 (RimWorld.CompHackable)
IL_14CB: ldloc.s 46 (RimWorld.CompHackable)
IL_14CD: brfalse => Label134
IL_14D2: ldloc.s 46 (RimWorld.CompHackable)
IL_14D4: callvirt System.Boolean RimWorld.CompHackable::get_IsHacked()
IL_14D9: brfalse => Label135
IL_14DE: ldarg.2
IL_14DF: ldstr "CannotHack"
IL_14E4: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_14E6: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_11::thing
IL_14EB: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_14F0: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_14F5: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_14FA: ldstr ": "
IL_14FF: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_1504: ldstr "AlreadyHacked"
IL_1509: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_150E: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_1513: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_1518: ldnull
IL_1519: ldc.i4.4
IL_151A: ldnull
IL_151B: ldnull
IL_151C: ldc.r4 0
IL_1521: ldnull
IL_1522: ldnull
IL_1523: ldc.i4.1
IL_1524: ldc.i4.0
IL_1525: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_152A: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_152F: br => Label136
IL_1534: Label135
IL_1534: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_1536: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_11::CS$<>8__locals11
IL_153B: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1540: call static System.Boolean
RimWorld.HackUtility::IsCapableOfHacking(Verse.Pawn pawn)
IL_1545: brtrue => Label137
IL_154A: ldarg.2
IL_154B: ldstr "CannotHack"
IL_1550: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_1552: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_11::thing
IL_1557: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_155C: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_1561: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_1566: ldstr ": "
IL_156B: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_1570: ldstr "IncapableOfHacking"
IL_1575: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_157A: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_157F: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_1584: ldnull
IL_1585: ldc.i4.4
IL_1586: ldnull
IL_1587: ldnull
IL_1588: ldc.r4 0
IL_158D: ldnull
IL_158E: ldnull
IL_158F: ldc.i4.1
IL_1590: ldc.i4.0
IL_1591: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_1596: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_159B: br => Label138
IL_15A0: Label137
IL_15A0: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_15A2: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_11::CS$<>8__locals11
IL_15A7: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_15AC: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_15AE: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_11::thing
IL_15B3: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_15B8: ldc.i4.3
IL_15B9: ldc.i4.3
IL_15BA: ldc.i4.0
IL_15BB: ldc.i4.0
IL_15BC: ldc.i4.0
IL_15BD: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_15C2: brtrue => Label139
IL_15C7: ldarg.2
IL_15C8: ldstr "CannotHack"
IL_15CD: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_15CF: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_11::thing
IL_15D4: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_15D9: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_15DE: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_15E3: ldstr ": "
IL_15E8: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_15ED: ldstr "NoPath"
IL_15F2: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_15F7: stloc.s 11 (Verse.TaggedString)
IL_15F9: ldloca.s 11 (Verse.TaggedString)
IL_15FB: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_1600: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_1605: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_160A: ldnull
IL_160B: ldc.i4.4
IL_160C: ldnull
IL_160D: ldnull
IL_160E: ldc.r4 0
IL_1613: ldnull
IL_1614: ldnull
IL_1615: ldc.i4.1
IL_1616: ldc.i4.0
IL_1617: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_161C: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_1621: br => Label140
IL_1626: Label139
IL_1626: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_1628: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_11::thing
IL_162D: ldfld Verse.ThingDef Verse.Thing::def
IL_1632: ldsfld Verse.ThingDef RimWorld.ThingDefOf::AncientEnemyTerminal
IL_1637: bne.un => Label141
IL_163C: ldarg.2
IL_163D: ldstr "Hack"
IL_1642: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_1644: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_11::thing
IL_1649: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_164E: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_1653: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_1658: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_165D: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_165F: ldftn System.Void
RimWorld.<>c__DisplayClass9_11::<AddHumanlikeOrders>b__11()
IL_1665: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_166A: ldc.i4.4
IL_166B: ldnull
IL_166C: ldnull
IL_166D: ldc.r4 0
IL_1672: ldnull
IL_1673: ldnull
IL_1674: ldc.i4.1
IL_1675: ldc.i4.0
IL_1676: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_167B: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_167D: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_11::CS$<>8__locals11
IL_1682: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1687: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_1689: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_11::thing
IL_168E: newobj System.Void Verse.LocalTargetInfo::.ctor(Verse.Thing
thing)
IL_1693: ldstr "ReservedBy"
IL_1698: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_169D: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_16A2: br => Label142
IL_16A7: Label141
IL_16A7: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_16A9: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_11::thing
IL_16AE: ldfld Verse.ThingDef Verse.Thing::def
IL_16B3: ldsfld Verse.ThingDef RimWorld.ThingDefOf::AncientCommsConsole
IL_16B8: beq => Label143
IL_16BD: ldstr "Hack"
IL_16C2: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_16C4: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_11::thing
IL_16C9: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_16CE: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_16D3: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_16D8: br => Label144
IL_16DD: Label143
IL_16DD: ldstr "Hack"
IL_16E2: ldstr "ToDropSupplies"
IL_16E7: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_16EC: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.TaggedString value)
IL_16F1: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_16F6: Label144
IL_16F6: stloc.s 47 (Verse.TaggedString)
IL_16F8: ldarg.2
IL_16F9: ldloc.s 47 (Verse.TaggedString)
IL_16FB: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_1700: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_1702: ldftn System.Void
RimWorld.<>c__DisplayClass9_11::<AddHumanlikeOrders>b__13()
IL_1708: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_170D: ldc.i4.4
IL_170E: ldnull
IL_170F: ldnull
IL_1710: ldc.r4 0
IL_1715: ldnull
IL_1716: ldnull
IL_1717: ldc.i4.1
IL_1718: ldc.i4.0
IL_1719: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_171E: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_1720: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_11::CS$<>8__locals11
IL_1725: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_172A: ldloc.s 45 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_11)
IL_172C: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_11::thing
IL_1731: newobj System.Void Verse.LocalTargetInfo::.ctor(Verse.Thing
thing)
IL_1736: ldstr "ReservedBy"
IL_173B: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_1740: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_1745: Label133
IL_1745: Label134
IL_1745: Label136
IL_1745: Label138
IL_1745: Label140
IL_1745: Label142
IL_1745: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_1747: call virtual System.Boolean
System.Collections.Generic.Enumerator<Verse.Thing>::MoveNext()
IL_174C: brtrue => Label145
IL_1751: leave => Label146
IL_1756: leave => (autogenerated)
} // end try
.finally
{
IL_175B: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_175D: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
IL_1763: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_1768: endfinally
IL_1769: leave => (autogenerated)
} // end handler
IL_176A: Label146
IL_176A: ldarg.0
IL_176B: ldsfld Verse.ThingDef RimWorld.ThingDefOf::ArchonexusCore
IL_1770: call static RimWorld.TargetingParameters
RimWorld.TargetingParameters::ForBuilding(Verse.ThingDef def)
IL_1775: ldc.i4.0
IL_1776: ldnull
IL_1777: call static
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>
Verse.GenUI::TargetsAt(UnityEngine.Vector3 clickPos, RimWorld.TargetingParameters
clickParams, System.Boolean thingsOnly, RimWorld.ITargetingSource source)
IL_177C: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>::GetEnumerator()
IL_1781: stloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
IL_1783: br => Label147
IL_1788: Label152
IL_1788: newobj System.Void RimWorld.<>c__DisplayClass9_12::.ctor()
IL_178D: stloc.s 48 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_12)
IL_178F: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_12)
IL_1791: ldloc.0
IL_1792: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_12::CS$<>8__locals12
IL_1797: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_12)
IL_1799: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_179B: callvirt abstract virtual Verse.LocalTargetInfo
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>::get_Current()
IL_17A0: stfld Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_12::thing
IL_17A5: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_12)
IL_17A7: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_12::CS$<>8__locals12
IL_17AC: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_17B1: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_12)
IL_17B3: ldfld Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_12::thing
IL_17B8: ldc.i4.4
IL_17B9: ldc.i4.3
IL_17BA: ldc.i4.0
IL_17BB: ldc.i4.0
IL_17BC: ldc.i4.0
IL_17BD: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_17C2: brtrue => Label148
IL_17C7: ldarg.2
IL_17C8: ldstr "CannotInvoke"
IL_17CD: ldstr "Power"
IL_17D2: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_17D7: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.TaggedString value)
IL_17DC: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_17E1: ldstr ": "
IL_17E6: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_17EB: ldstr "NoPath"
IL_17F0: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_17F5: stloc.s 11 (Verse.TaggedString)
IL_17F7: ldloca.s 11 (Verse.TaggedString)
IL_17F9: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_17FE: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_1803: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_1808: ldnull
IL_1809: ldc.i4.4
IL_180A: ldnull
IL_180B: ldnull
IL_180C: ldc.r4 0
IL_1811: ldnull
IL_1812: ldnull
IL_1813: ldc.i4.1
IL_1814: ldc.i4.0
IL_1815: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_181A: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_181F: br => Label149
IL_1824: Label148
IL_1824: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_12)
IL_1826: ldfld Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_12::thing
IL_182B: call static Verse.Thing
Verse.LocalTargetInfo::op_Explicit(Verse.LocalTargetInfo targ)
IL_1830: castclass RimWorld.Building_ArchonexusCore
IL_1835: callvirt System.Boolean
RimWorld.Building_ArchonexusCore::get_CanActivateNow()
IL_183A: brtrue => Label150
IL_183F: ldarg.2
IL_1840: ldstr "CannotInvoke"
IL_1845: ldstr "Power"
IL_184A: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_184F: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.TaggedString value)
IL_1854: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_1859: ldstr ": "
IL_185E: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_1863: ldstr "AlreadyInvoked"
IL_1868: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_186D: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_1872: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_1877: ldnull
IL_1878: ldc.i4.4
IL_1879: ldnull
IL_187A: ldnull
IL_187B: ldc.r4 0
IL_1880: ldnull
IL_1881: ldnull
IL_1882: ldc.i4.1
IL_1883: ldc.i4.0
IL_1884: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_1889: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_188E: br => Label151
IL_1893: Label150
IL_1893: ldarg.2
IL_1894: ldstr "Invoke"
IL_1899: ldstr "Power"
IL_189E: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_18A3: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.TaggedString value)
IL_18A8: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_18AD: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_18B2: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_12)
IL_18B4: ldftn System.Void
RimWorld.<>c__DisplayClass9_12::<AddHumanlikeOrders>b__14()
IL_18BA: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_18BF: ldc.i4.4
IL_18C0: ldnull
IL_18C1: ldnull
IL_18C2: ldc.r4 0
IL_18C7: ldnull
IL_18C8: ldnull
IL_18C9: ldc.i4.1
IL_18CA: ldc.i4.0
IL_18CB: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_18D0: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_12)
IL_18D2: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_12::CS$<>8__locals12
IL_18D7: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_18DC: ldloc.s 48 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_12)
IL_18DE: ldfld Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_12::thing
IL_18E3: ldstr "ReservedBy"
IL_18E8: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_18ED: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_18F2: Label147
IL_18F2: Label149
IL_18F2: Label151
IL_18F2: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_18F4: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_18F9: brtrue => Label152
IL_18FE: leave => Label153
IL_1903: leave => (autogenerated)
} // end try
.finally
{
IL_1908: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_190A: brfalse => Label154
IL_190F: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_1911: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_1916: Label154
IL_1916: endfinally
IL_1917: leave => (autogenerated)
} // end handler
IL_1918: Label132
IL_1918: Label153
IL_1918: call static System.Boolean Verse.ModsConfig::get_IdeologyActive()
IL_191D: brfalse => Label155
IL_1922: ldloc.s 22 (System.Collections.Generic.List`1[Verse.Thing])
IL_1924: callvirt System.Collections.Generic.Enumerator<Verse.Thing>
System.Collections.Generic.List`1<Verse.Thing>::GetEnumerator()
IL_1929: stloc.2
.try
{
IL_192A: br => Label156
IL_192F: Label172
IL_192F: newobj System.Void RimWorld.<>c__DisplayClass9_13::.ctor()
IL_1934: stloc.s 49 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_13)
IL_1936: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_13)
IL_1938: ldloc.0
IL_1939: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_13::CS$<>8__locals13
IL_193E: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_13)
IL_1940: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_1942: call virtual Verse.Thing
System.Collections.Generic.Enumerator<Verse.Thing>::get_Current()
IL_1947: stfld Verse.Thing RimWorld.<>c__DisplayClass9_13::thing
IL_194C: newobj System.Void RimWorld.<>c__DisplayClass9_14::.ctor()
IL_1951: stloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1953: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1955: ldloc.s 49 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_13)
IL_1957: stfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_195C: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_195E: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1960: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1965: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_13::thing
IL_196A: call static RimWorld.CompRelicContainer
Verse.ThingCompUtility::TryGetComp(Verse.Thing thing)
IL_196F: stfld RimWorld.CompRelicContainer
RimWorld.<>c__DisplayClass9_14::container
IL_1974: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1976: ldfld RimWorld.CompRelicContainer
RimWorld.<>c__DisplayClass9_14::container
IL_197B: brfalse => Label157
IL_1980: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1982: ldfld RimWorld.CompRelicContainer
RimWorld.<>c__DisplayClass9_14::container
IL_1987: callvirt System.Boolean RimWorld.CompThingContainer::get_Full()
IL_198C: brfalse => Label158
IL_1991: ldstr "ExtractRelic"
IL_1996: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1998: ldfld RimWorld.CompRelicContainer
RimWorld.<>c__DisplayClass9_14::container
IL_199D: callvirt Verse.Thing
RimWorld.CompThingContainer::get_ContainedThing()
IL_19A2: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_19A7: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_19AC: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_19B1: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_19B6: stloc.s 51 (System.String)
IL_19B8: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_19BA: ldfld RimWorld.CompRelicContainer
RimWorld.<>c__DisplayClass9_14::container
IL_19BF: callvirt Verse.Thing
RimWorld.CompThingContainer::get_ContainedThing()
IL_19C4: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_19C6: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_19CB: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_13::CS$<>8__locals13
IL_19D0: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_19D5: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_19D7: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_19DC: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_13::CS$<>8__locals13
IL_19E1: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_19E6: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_19EB: ldc.i4.0
IL_19EC: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_19EE: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_19F3: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_13::CS$<>8__locals13
IL_19F8: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_19FD: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_1A02: ldloca.s 52 (Verse.IntVec3)
IL_1A04: ldloca.s 53 (RimWorld.IHaulDestination)
IL_1A06: ldc.i4.1
IL_1A07: call static System.Boolean
RimWorld.StoreUtility::TryFindBestBetterStorageFor(Verse.Thing t, Verse.Pawn
carrier, Verse.Map map, RimWorld.StoragePriority currentPriority, RimWorld.Faction
faction, Verse.IntVec3& foundCell, RimWorld.IHaulDestination& haulDestination,
System.Boolean needAccurateResult)
IL_1A0C: brtrue => Label159
IL_1A11: ldarg.2
IL_1A12: ldloc.s 51 (System.String)
IL_1A14: ldstr " ("
IL_1A19: ldsfld System.String
Verse.AI.HaulAIUtility::NoEmptyPlaceLowerTrans
IL_1A1E: ldstr ")"
IL_1A23: call static System.String System.String::Concat(System.String
str0, System.String str1, System.String str2, System.String str3)
IL_1A28: ldnull
IL_1A29: ldc.i4.4
IL_1A2A: ldnull
IL_1A2B: ldnull
IL_1A2C: ldc.r4 0
IL_1A31: ldnull
IL_1A32: ldnull
IL_1A33: ldc.i4.1
IL_1A34: ldc.i4.0
IL_1A35: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_1A3A: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_1A3F: br => Label160
IL_1A44: Label159
IL_1A44: newobj System.Void RimWorld.<>c__DisplayClass9_15::.ctor()
IL_1A49: stloc.s 54 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_15)
IL_1A4B: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_15)
IL_1A4D: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1A4F: stfld RimWorld.<>c__DisplayClass9_14
RimWorld.<>c__DisplayClass9_15::CS$<>8__locals15
IL_1A54: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_15)
IL_1A56: ldsfld Verse.JobDef RimWorld.JobDefOf::ExtractRelic
IL_1A5B: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_15)
IL_1A5D: ldfld RimWorld.<>c__DisplayClass9_14
RimWorld.<>c__DisplayClass9_15::CS$<>8__locals15
IL_1A62: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1A67: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_13::thing
IL_1A6C: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_1A71: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_15)
IL_1A73: ldfld RimWorld.<>c__DisplayClass9_14
RimWorld.<>c__DisplayClass9_15::CS$<>8__locals15
IL_1A78: ldfld RimWorld.CompRelicContainer
RimWorld.<>c__DisplayClass9_14::container
IL_1A7D: callvirt Verse.Thing
RimWorld.CompThingContainer::get_ContainedThing()
IL_1A82: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_1A87: ldloc.s 52 (Verse.IntVec3)
IL_1A89: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.IntVec3 c)
IL_1A8E: call static Verse.AI.Job Verse.JobMaker::MakeJob(Verse.JobDef
def, Verse.LocalTargetInfo targetA, Verse.LocalTargetInfo targetB,
Verse.LocalTargetInfo targetC)
IL_1A93: stfld Verse.AI.Job RimWorld.<>c__DisplayClass9_15::job
IL_1A98: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_15)
IL_1A9A: ldfld Verse.AI.Job RimWorld.<>c__DisplayClass9_15::job
IL_1A9F: ldc.i4.1
IL_1AA0: stfld System.Int32 Verse.AI.Job::count
IL_1AA5: ldarg.2
IL_1AA6: ldloc.s 51 (System.String)
IL_1AA8: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_15)
IL_1AAA: ldftn System.Void
RimWorld.<>c__DisplayClass9_15::<AddHumanlikeOrders>b__16()
IL_1AB0: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_1AB5: ldc.i4.4
IL_1AB6: ldnull
IL_1AB7: ldnull
IL_1AB8: ldc.r4 0
IL_1ABD: ldnull
IL_1ABE: ldnull
IL_1ABF: ldc.i4.1
IL_1AC0: ldc.i4.0
IL_1AC1: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_1AC6: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_15)
IL_1AC8: ldfld RimWorld.<>c__DisplayClass9_14
RimWorld.<>c__DisplayClass9_15::CS$<>8__locals15
IL_1ACD: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1AD2: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_13::CS$<>8__locals13
IL_1AD7: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1ADC: ldloc.s 54 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_15)
IL_1ADE: ldfld RimWorld.<>c__DisplayClass9_14
RimWorld.<>c__DisplayClass9_15::CS$<>8__locals15
IL_1AE3: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1AE8: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_13::thing
IL_1AED: newobj System.Void Verse.LocalTargetInfo::.ctor(Verse.Thing
thing)
IL_1AF2: ldstr "ReservedBy"
IL_1AF7: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_1AFC: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_1B01: br => Label161
IL_1B06: Label158
IL_1B06: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1B08: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1B0D: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_13::CS$<>8__locals13
IL_1B12: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1B17: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_1B1C: ldfld Verse.ListerThings Verse.Map::listerThings
IL_1B21: callvirt System.Collections.Generic.List`1<Verse.Thing>
Verse.ListerThings::get_AllThings()
IL_1B26: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1B28: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1B2D: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_13::CS$<>8__locals13
IL_1B32: ldfld System.Func`2<Verse.Thing, System.Boolean>
RimWorld.<>c__DisplayClass9_0::<>9__17
IL_1B37: dup
IL_1B38: brtrue => Label162
IL_1B3D: pop
IL_1B3E: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1B40: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1B45: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_13::CS$<>8__locals13
IL_1B4A: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1B4C: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1B51: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_13::CS$<>8__locals13
IL_1B56: ldftn System.Boolean
RimWorld.<>c__DisplayClass9_0::<AddHumanlikeOrders>b__17(Verse.Thing x)
IL_1B5C: newobj System.Void System.Func`2<Verse.Thing,
System.Boolean>::.ctor(System.Object object, System.IntPtr method)
IL_1B61: dup
IL_1B62: stloc.s 56 (System.Func`2[Verse.Thing,System.Boolean])
IL_1B64: stfld System.Func`2<Verse.Thing, System.Boolean>
RimWorld.<>c__DisplayClass9_0::<>9__17
IL_1B69: ldloc.s 56 (System.Func`2[Verse.Thing,System.Boolean])
IL_1B6B: Label162
IL_1B6B: call static
System.Collections.Generic.IEnumerable`1<Verse.Thing>
System.Linq.Enumerable::Where(System.Collections.Generic.IEnumerable`1<Verse.Thing>
source, System.Func`2<Verse.Thing, System.Boolean> predicate)
IL_1B70: stloc.s 55
(System.Collections.Generic.IEnumerable`1[Verse.Thing])
IL_1B72: ldloc.s 55
(System.Collections.Generic.IEnumerable`1[Verse.Thing])
IL_1B74: call static System.Boolean
System.Linq.Enumerable::Any(System.Collections.Generic.IEnumerable`1<Verse.Thing>
source)
IL_1B79: brtrue => Label163
IL_1B7E: ldarg.2
IL_1B7F: ldstr "NoRelicToInstall"
IL_1B84: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_1B89: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_1B8E: ldnull
IL_1B8F: ldc.i4.4
IL_1B90: ldnull
IL_1B91: ldnull
IL_1B92: ldc.r4 0
IL_1B97: ldnull
IL_1B98: ldnull
IL_1B99: ldc.i4.1
IL_1B9A: ldc.i4.0
IL_1B9B: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_1BA0: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_1BA5: br => Label164
IL_1BAA: Label163
IL_1BAA: ldloc.s 55
(System.Collections.Generic.IEnumerable`1[Verse.Thing])
IL_1BAC: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.Thing>
System.Collections.Generic.IEnumerable`1<Verse.Thing>::GetEnumerator()
IL_1BB1: stloc.s 57
(System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
IL_1BB3: br => Label165
IL_1BB8: Label166
IL_1BB8: ldloc.s 57
(System.Collections.Generic.IEnumerator`1[Verse.Thing])
IL_1BBA: callvirt abstract virtual Verse.Thing
System.Collections.Generic.IEnumerator`1<Verse.Thing>::get_Current()
IL_1BBF: stloc.s 58 (Verse.Thing)
IL_1BC1: newobj System.Void RimWorld.<>c__DisplayClass9_16::.ctor()
IL_1BC6: stloc.s 59
(RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_16)
IL_1BC8: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_16)
IL_1BCA: ldloc.s 50
(RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1BCC: stfld RimWorld.<>c__DisplayClass9_14
RimWorld.<>c__DisplayClass9_16::CS$<>8__locals16
IL_1BD1: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_16)
IL_1BD3: ldsfld Verse.JobDef RimWorld.JobDefOf::InstallRelic
IL_1BD8: ldloc.s 58 (Verse.Thing)
IL_1BDA: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_1BDF: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_16)
IL_1BE1: ldfld RimWorld.<>c__DisplayClass9_14
RimWorld.<>c__DisplayClass9_16::CS$<>8__locals16
IL_1BE6: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1BEB: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_13::thing
IL_1BF0: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_1BF5: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_16)
IL_1BF7: ldfld RimWorld.<>c__DisplayClass9_14
RimWorld.<>c__DisplayClass9_16::CS$<>8__locals16
IL_1BFC: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1C01: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_13::thing
IL_1C06: callvirt virtual Verse.IntVec3
Verse.Thing::get_InteractionCell()
IL_1C0B: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.IntVec3 c)
IL_1C10: call static Verse.AI.Job
Verse.JobMaker::MakeJob(Verse.JobDef def, Verse.LocalTargetInfo targetA,
Verse.LocalTargetInfo targetB, Verse.LocalTargetInfo targetC)
IL_1C15: stfld Verse.AI.Job RimWorld.<>c__DisplayClass9_16::job
IL_1C1A: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_16)
IL_1C1C: ldfld Verse.AI.Job RimWorld.<>c__DisplayClass9_16::job
IL_1C21: ldc.i4.1
IL_1C22: stfld System.Int32 Verse.AI.Job::count
IL_1C27: ldarg.2
IL_1C28: ldstr "InstallRelic"
IL_1C2D: ldloc.s 58 (Verse.Thing)
IL_1C2F: callvirt abstract virtual System.String
Verse.Entity::get_Label()
IL_1C34: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_1C39: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_1C3E: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_1C43: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_16)
IL_1C45: ldftn System.Void
RimWorld.<>c__DisplayClass9_16::<AddHumanlikeOrders>b__18()
IL_1C4B: newobj System.Void System.Action::.ctor(System.Object
object, System.IntPtr method)
IL_1C50: ldc.i4.4
IL_1C51: ldnull
IL_1C52: ldnull
IL_1C53: ldc.r4 0
IL_1C58: ldnull
IL_1C59: ldnull
IL_1C5A: ldc.i4.1
IL_1C5B: ldc.i4.0
IL_1C5C: newobj System.Void
Verse.FloatMenuOption::.ctor(System.String label, System.Action action,
Verse.MenuOptionPriority priority, System.Action`1<UnityEngine.Rect>
mouseoverGuiAction, Verse.Thing revalidateClickTarget, System.Single
extraPartWidth, System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_1C61: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_16)
IL_1C63: ldfld RimWorld.<>c__DisplayClass9_14
RimWorld.<>c__DisplayClass9_16::CS$<>8__locals16
IL_1C68: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1C6D: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_13::CS$<>8__locals13
IL_1C72: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1C77: ldloc.s 59
(RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_16)
IL_1C79: ldfld RimWorld.<>c__DisplayClass9_14
RimWorld.<>c__DisplayClass9_16::CS$<>8__locals16
IL_1C7E: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1C83: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_13::thing
IL_1C88: newobj System.Void
Verse.LocalTargetInfo::.ctor(Verse.Thing thing)
IL_1C8D: ldstr "ReservedBy"
IL_1C92: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_1C97: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_1C9C: Label165
IL_1C9C: ldloc.s 57
(System.Collections.Generic.IEnumerator`1[Verse.Thing])
IL_1C9E: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_1CA3: brtrue => Label166
IL_1CA8: leave => Label167
IL_1CAD: leave => (autogenerated)
} // end try
.finally
{
IL_1CB2: ldloc.s 57
(System.Collections.Generic.IEnumerator`1[Verse.Thing])
IL_1CB4: brfalse => Label168
IL_1CB9: ldloc.s 57
(System.Collections.Generic.IEnumerator`1[Verse.Thing])
IL_1CBB: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_1CC0: Label168
IL_1CC0: endfinally
IL_1CC1: leave => (autogenerated)
} // end handler
IL_1CC2: Label160
IL_1CC2: Label161
IL_1CC2: Label164
IL_1CC2: Label167
IL_1CC2: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1CC4: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1CC9: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_13::CS$<>8__locals13
IL_1CCE: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1CD3: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_1CD8: callvirt System.Boolean Verse.Map::get_IsPlayerHome()
IL_1CDD: brtrue => Label169
IL_1CE2: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1CE4: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1CE9: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_13::CS$<>8__locals13
IL_1CEE: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1CF3: call static System.Boolean
RimWorld.Planet.CaravanFormingUtility::IsFormingCaravan(Verse.Pawn p)
IL_1CF8: brtrue => Label170
IL_1CFD: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1CFF: ldfld RimWorld.CompRelicContainer
RimWorld.<>c__DisplayClass9_14::container
IL_1D04: callvirt System.Boolean RimWorld.CompThingContainer::get_Full()
IL_1D09: brfalse => Label171
IL_1D0E: ldarg.2
IL_1D0F: ldstr "ExtractRelicToInventory"
IL_1D14: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1D16: ldfld RimWorld.CompRelicContainer
RimWorld.<>c__DisplayClass9_14::container
IL_1D1B: callvirt Verse.Thing
RimWorld.CompThingContainer::get_ContainedThing()
IL_1D20: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_1D25: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_1D2A: ldc.i4 300
IL_1D2F: ldc.i4.1
IL_1D30: ldc.i4.0
IL_1D31: ldc.i4.1
IL_1D32: ldc.i4.1
IL_1D33: call static System.String
RimWorld.GenDate::ToStringTicksToPeriod(System.Int32 numTicks, System.Boolean
allowSeconds, System.Boolean shortForm, System.Boolean canUseDecimals,
System.Boolean allowYears)
IL_1D38: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_1D3D: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_1D42: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_1D47: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1D49: ldftn System.Void
RimWorld.<>c__DisplayClass9_14::<AddHumanlikeOrders>b__15()
IL_1D4F: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_1D54: ldc.i4.4
IL_1D55: ldnull
IL_1D56: ldnull
IL_1D57: ldc.r4 0
IL_1D5C: ldnull
IL_1D5D: ldnull
IL_1D5E: ldc.i4.1
IL_1D5F: ldc.i4.0
IL_1D60: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_1D65: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1D67: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1D6C: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_13::CS$<>8__locals13
IL_1D71: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1D76: ldloc.s 50 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_14)
IL_1D78: ldfld RimWorld.<>c__DisplayClass9_13
RimWorld.<>c__DisplayClass9_14::CS$<>8__locals14
IL_1D7D: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_13::thing
IL_1D82: newobj System.Void Verse.LocalTargetInfo::.ctor(Verse.Thing
thing)
IL_1D87: ldstr "ReservedBy"
IL_1D8C: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_1D91: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_1D96: Label156
IL_1D96: Label157
IL_1D96: Label169
IL_1D96: Label170
IL_1D96: Label171
IL_1D96: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_1D98: call virtual System.Boolean
System.Collections.Generic.Enumerator<Verse.Thing>::MoveNext()
IL_1D9D: brtrue => Label172
IL_1DA2: leave => Label173
IL_1DA7: leave => (autogenerated)
} // end try
.finally
{
IL_1DAC: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_1DAE: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
IL_1DB4: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_1DB9: endfinally
IL_1DBA: leave => (autogenerated)
} // end handler
IL_1DBB: Label173
IL_1DBB: ldloc.s 22 (System.Collections.Generic.List`1[Verse.Thing])
IL_1DBD: callvirt System.Collections.Generic.Enumerator<Verse.Thing>
System.Collections.Generic.List`1<Verse.Thing>::GetEnumerator()
IL_1DC2: stloc.2
.try
{
IL_1DC3: br => Label174
IL_1DC8: Label180
IL_1DC8: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_1DCA: call virtual Verse.Thing
System.Collections.Generic.Enumerator<Verse.Thing>::get_Current()
IL_1DCF: stloc.s 60 (Verse.Thing)
IL_1DD1: ldloc.s 60 (Verse.Thing)
IL_1DD3: call static System.Boolean
RimWorld.CompRelicContainer::IsRelic(Verse.Thing thing)
IL_1DD8: brfalse => Label175
IL_1DDD: ldloc.s 60 (Verse.Thing)
IL_1DDF: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_1DE4: ldfld Verse.ListerThings Verse.Map::listerThings
IL_1DE9: ldsfld Verse.ThingDef RimWorld.ThingDefOf::Reliquary
IL_1DEE: callvirt System.Collections.Generic.List`1<Verse.Thing>
Verse.ListerThings::ThingsOfDef(Verse.ThingDef def)
IL_1DF3: ldsfld System.Func`2<Verse.Thing, System.Boolean>
RimWorld.<>c::<>9__9_19
IL_1DF8: dup
IL_1DF9: brtrue => Label176
IL_1DFE: pop
IL_1DFF: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_1E04: ldftn System.Boolean
RimWorld.<>c::<AddHumanlikeOrders>b__9_19(Verse.Thing x)
IL_1E0A: newobj System.Void System.Func`2<Verse.Thing,
System.Boolean>::.ctor(System.Object object, System.IntPtr method)
IL_1E0F: dup
IL_1E10: stsfld System.Func`2<Verse.Thing, System.Boolean>
RimWorld.<>c::<>9__9_19
IL_1E15: Label176
IL_1E15: call static
System.Collections.Generic.IEnumerable`1<Verse.Thing>
System.Linq.Enumerable::Where(System.Collections.Generic.IEnumerable`1<Verse.Thing>
source, System.Func`2<Verse.Thing, System.Boolean> predicate)
IL_1E1A: stloc.s 61
(System.Collections.Generic.IEnumerable`1[Verse.Thing])
IL_1E1C: ldloc.s 60 (Verse.Thing)
IL_1E1E: callvirt virtual Verse.IntVec3 Verse.Thing::get_Position()
IL_1E23: ldloc.s 60 (Verse.Thing)
IL_1E25: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_1E2A: ldloc.s 61
(System.Collections.Generic.IEnumerable`1[Verse.Thing])
IL_1E2C: ldc.i4.2
IL_1E2D: ldloc.0
IL_1E2E: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1E33: ldc.i4.3
IL_1E34: ldc.i4.0
IL_1E35: ldc.i4.0
IL_1E36: ldc.i4.0
IL_1E37: ldc.i4.0
IL_1E38: call static Verse.TraverseParms
Verse.TraverseParms::For(Verse.Pawn pawn, Verse.Danger maxDanger,
Verse.TraverseMode mode, System.Boolean canBashDoors, System.Boolean
alwaysUseAvoidGrid, System.Boolean canBashFences)
IL_1E3D: ldc.r4 9999
IL_1E42: ldloc.0
IL_1E43: ldfld System.Predicate`1<Verse.Thing>
RimWorld.<>c__DisplayClass9_0::<>9__20
IL_1E48: dup
IL_1E49: brtrue => Label177
IL_1E4E: pop
IL_1E4F: ldloc.0
IL_1E50: ldloc.0
IL_1E51: ldftn System.Boolean
RimWorld.<>c__DisplayClass9_0::<AddHumanlikeOrders>b__20(Verse.Thing t)
IL_1E57: newobj System.Void
System.Predicate`1<Verse.Thing>::.ctor(System.Object object, System.IntPtr method)
IL_1E5C: dup
IL_1E5D: stloc.s 63 (System.Predicate`1[Verse.Thing])
IL_1E5F: stfld System.Predicate`1<Verse.Thing>
RimWorld.<>c__DisplayClass9_0::<>9__20
IL_1E64: ldloc.s 63 (System.Predicate`1[Verse.Thing])
IL_1E66: Label177
IL_1E66: ldnull
IL_1E67: call static Verse.Thing
Verse.GenClosest::ClosestThing_Global_Reachable(Verse.IntVec3 center, Verse.Map
map, System.Collections.Generic.IEnumerable`1<Verse.Thing> searchSet,
Verse.AI.PathEndMode peMode, Verse.TraverseParms traverseParams, System.Single
maxDistance, System.Predicate`1<Verse.Thing> validator, System.Func`2<Verse.Thing,
System.Single> priorityGetter)
IL_1E6C: stloc.s 62 (Verse.Thing)
IL_1E6E: ldloc.s 62 (Verse.Thing)
IL_1E70: brtrue => Label178
IL_1E75: ldarg.2
IL_1E76: ldstr "InstallInReliquary"
IL_1E7B: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_1E80: ldstr " ("
IL_1E85: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_1E8A: ldstr "NoEmptyReliquary"
IL_1E8F: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_1E94: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_1E99: ldstr ")"
IL_1E9E: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_1EA3: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_1EA8: ldnull
IL_1EA9: ldc.i4.4
IL_1EAA: ldnull
IL_1EAB: ldnull
IL_1EAC: ldc.r4 0
IL_1EB1: ldnull
IL_1EB2: ldnull
IL_1EB3: ldc.i4.1
IL_1EB4: ldc.i4.0
IL_1EB5: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_1EBA: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_1EBF: br => Label179
IL_1EC4: Label178
IL_1EC4: newobj System.Void RimWorld.<>c__DisplayClass9_17::.ctor()
IL_1EC9: stloc.s 64 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_17)
IL_1ECB: ldloc.s 64 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_17)
IL_1ECD: ldloc.0
IL_1ECE: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_17::CS$<>8__locals17
IL_1ED3: ldloc.s 64 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_17)
IL_1ED5: ldsfld Verse.JobDef RimWorld.JobDefOf::InstallRelic
IL_1EDA: ldloc.s 60 (Verse.Thing)
IL_1EDC: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_1EE1: ldloc.s 62 (Verse.Thing)
IL_1EE3: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_1EE8: ldloc.s 62 (Verse.Thing)
IL_1EEA: callvirt virtual Verse.IntVec3 Verse.Thing::get_InteractionCell()
IL_1EEF: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.IntVec3 c)
IL_1EF4: call static Verse.AI.Job Verse.JobMaker::MakeJob(Verse.JobDef
def, Verse.LocalTargetInfo targetA, Verse.LocalTargetInfo targetB,
Verse.LocalTargetInfo targetC)
IL_1EF9: stfld Verse.AI.Job RimWorld.<>c__DisplayClass9_17::job
IL_1EFE: ldloc.s 64 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_17)
IL_1F00: ldfld Verse.AI.Job RimWorld.<>c__DisplayClass9_17::job
IL_1F05: ldc.i4.1
IL_1F06: stfld System.Int32 Verse.AI.Job::count
IL_1F0B: ldarg.2
IL_1F0C: ldstr "InstallInReliquary"
IL_1F11: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_1F16: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_1F1B: ldloc.s 64 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_17)
IL_1F1D: ldftn System.Void
RimWorld.<>c__DisplayClass9_17::<AddHumanlikeOrders>b__21()
IL_1F23: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_1F28: ldc.i4.4
IL_1F29: ldnull
IL_1F2A: ldnull
IL_1F2B: ldc.r4 0
IL_1F30: ldnull
IL_1F31: ldnull
IL_1F32: ldc.i4.1
IL_1F33: ldc.i4.0
IL_1F34: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_1F39: ldloc.s 64 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_17)
IL_1F3B: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_17::CS$<>8__locals17
IL_1F40: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1F45: ldloc.s 60 (Verse.Thing)
IL_1F47: newobj System.Void Verse.LocalTargetInfo::.ctor(Verse.Thing
thing)
IL_1F4C: ldstr "ReservedBy"
IL_1F51: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_1F56: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_1F5B: Label174
IL_1F5B: Label175
IL_1F5B: Label179
IL_1F5B: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_1F5D: call virtual System.Boolean
System.Collections.Generic.Enumerator<Verse.Thing>::MoveNext()
IL_1F62: brtrue => Label180
IL_1F67: leave => Label181
IL_1F6C: leave => (autogenerated)
} // end try
.finally
{
IL_1F71: ldloca.s 2
(System.Collections.Generic.List`1+Enumerator[Verse.Thing])
IL_1F73: constrained.
System.Collections.Generic.List`1+Enumerator[Verse.Thing]
IL_1F79: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_1F7E: endfinally
IL_1F7F: leave => (autogenerated)
} // end handler
IL_1F80: Label64
IL_1F80: Label155
IL_1F80: Label181
IL_1F80: ldarg.0
IL_1F81: ldloc.0
IL_1F82: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1F87: call static RimWorld.TargetingParameters
RimWorld.TargetingParameters::ForStrip(Verse.Pawn p)
IL_1F8C: ldc.i4.1
IL_1F8D: ldnull
IL_1F8E: call static
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>
Verse.GenUI::TargetsAt(UnityEngine.Vector3 clickPos, RimWorld.TargetingParameters
clickParams, System.Boolean thingsOnly, RimWorld.ITargetingSource source)
IL_1F93: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>::GetEnumerator()
IL_1F98: stloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
IL_1F9A: br => Label182
IL_1F9F: Label188
IL_1F9F: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_1FA1: callvirt abstract virtual Verse.LocalTargetInfo
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>::get_Current()
IL_1FA6: stloc.s 65 (Verse.LocalTargetInfo)
IL_1FA8: newobj System.Void RimWorld.<>c__DisplayClass9_18::.ctor()
IL_1FAD: stloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_1FAF: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_1FB1: ldloc.0
IL_1FB2: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_18::CS$<>8__locals18
IL_1FB7: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_1FB9: ldloc.s 65 (Verse.LocalTargetInfo)
IL_1FBB: stfld Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_18::stripTarg
IL_1FC0: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_1FC2: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_18::CS$<>8__locals18
IL_1FC7: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_1FCC: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_1FCE: ldfld Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_18::stripTarg
IL_1FD3: ldc.i4.3
IL_1FD4: ldc.i4.3
IL_1FD5: ldc.i4.0
IL_1FD6: ldc.i4.0
IL_1FD7: ldc.i4.0
IL_1FD8: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_1FDD: brtrue => Label183
IL_1FE2: ldstr "CannotStrip"
IL_1FE7: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_1FE9: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_18::stripTarg
IL_1FEE: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_1FF3: callvirt abstract virtual System.String
Verse.Entity::get_LabelCap()
IL_1FF8: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_1FFD: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_1FFF: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_18::stripTarg
IL_2004: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_2009: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_200E: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_2013: ldstr ": "
IL_2018: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_201D: ldstr "NoPath"
IL_2022: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_2027: stloc.s 11 (Verse.TaggedString)
IL_2029: ldloca.s 11 (Verse.TaggedString)
IL_202B: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_2030: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_2035: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_203A: ldnull
IL_203B: ldc.i4.4
IL_203C: ldnull
IL_203D: ldnull
IL_203E: ldc.r4 0
IL_2043: ldnull
IL_2044: ldnull
IL_2045: ldc.i4.1
IL_2046: ldc.i4.0
IL_2047: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_204C: stloc.s 67 (Verse.FloatMenuOption)
IL_204E: br => Label184
IL_2053: Label183
IL_2053: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_2055: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_18::stripTarg
IL_205A: call Verse.Pawn Verse.LocalTargetInfo::get_Pawn()
IL_205F: brfalse => Label185
IL_2064: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_2066: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_18::stripTarg
IL_206B: call Verse.Pawn Verse.LocalTargetInfo::get_Pawn()
IL_2070: ldnull
IL_2071: call static System.Boolean
RimWorld.QuestUtility::HasExtraHomeFaction(Verse.Pawn p, RimWorld.Quest forQuest)
IL_2076: brfalse => Label186
IL_207B: ldstr "CannotStrip"
IL_2080: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_2082: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_18::stripTarg
IL_2087: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_208C: callvirt abstract virtual System.String
Verse.Entity::get_LabelCap()
IL_2091: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2096: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_2098: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_18::stripTarg
IL_209D: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_20A2: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_20A7: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_20AC: ldstr ": "
IL_20B1: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_20B6: ldstr "QuestRelated"
IL_20BB: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_20C0: stloc.s 11 (Verse.TaggedString)
IL_20C2: ldloca.s 11 (Verse.TaggedString)
IL_20C4: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_20C9: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_20CE: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_20D3: ldnull
IL_20D4: ldc.i4.4
IL_20D5: ldnull
IL_20D6: ldnull
IL_20D7: ldc.r4 0
IL_20DC: ldnull
IL_20DD: ldnull
IL_20DE: ldc.i4.1
IL_20DF: ldc.i4.0
IL_20E0: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_20E5: stloc.s 67 (Verse.FloatMenuOption)
IL_20E7: br => Label187
IL_20EC: Label185
IL_20EC: Label186
IL_20EC: ldstr "Strip"
IL_20F1: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_20F3: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_18::stripTarg
IL_20F8: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_20FD: callvirt abstract virtual System.String
Verse.Entity::get_LabelCap()
IL_2102: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2107: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_2109: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_18::stripTarg
IL_210E: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_2113: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_2118: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_211D: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2122: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_2124: ldftn System.Void
RimWorld.<>c__DisplayClass9_18::<AddHumanlikeOrders>b__22()
IL_212A: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_212F: ldc.i4.4
IL_2130: ldnull
IL_2131: ldnull
IL_2132: ldc.r4 0
IL_2137: ldnull
IL_2138: ldnull
IL_2139: ldc.i4.1
IL_213A: ldc.i4.0
IL_213B: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_2140: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_2142: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_18::CS$<>8__locals18
IL_2147: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_214C: ldloc.s 66 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_18)
IL_214E: ldfld Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_18::stripTarg
IL_2153: ldstr "ReservedBy"
IL_2158: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_215D: stloc.s 67 (Verse.FloatMenuOption)
IL_215F: Label184
IL_215F: Label187
IL_215F: ldarg.2
IL_2160: ldloc.s 67 (Verse.FloatMenuOption)
IL_2162: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_2167: Label182
IL_2167: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_2169: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_216E: brtrue => Label188
IL_2173: leave => Label189
IL_2178: leave => (autogenerated)
} // end try
.finally
{
IL_217D: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_217F: brfalse => Label190
IL_2184: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_2186: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_218B: Label190
IL_218B: endfinally
IL_218C: leave => (autogenerated)
} // end handler
IL_218D: Label189
IL_218D: ldloc.0
IL_218E: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2193: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
IL_2198: brfalse => Label191
IL_219D: newobj System.Void RimWorld.<>c__DisplayClass9_19::.ctor()
IL_21A2: stloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_21A4: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_21A6: ldloc.0
IL_21A7: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_21AC: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_21AE: ldnull
IL_21AF: stfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_21B4: ldloc.1
IL_21B5: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_21B7: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_21BC: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_21C1: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_21C6: call static System.Collections.Generic.List`1<Verse.Thing>
Verse.GridsUtility::GetThingList(Verse.IntVec3 c, Verse.Map map)
IL_21CB: stloc.s 69 (System.Collections.Generic.List`1[Verse.Thing])
IL_21CD: ldc.i4.0
IL_21CE: stloc.s 70 (System.Int32)
IL_21D0: br => Label192
IL_21D5: Label195
IL_21D5: ldloc.s 69 (System.Collections.Generic.List`1[Verse.Thing])
IL_21D7: ldloc.s 70 (System.Int32)
IL_21D9: callvirt virtual Verse.Thing
System.Collections.Generic.List`1<Verse.Thing>::get_Item(System.Int32 index)
IL_21DE: call static Verse.CompEquippable
Verse.ThingCompUtility::TryGetComp(Verse.Thing thing)
IL_21E3: brfalse => Label193
IL_21E8: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_21EA: ldloc.s 69 (System.Collections.Generic.List`1[Verse.Thing])
IL_21EC: ldloc.s 70 (System.Int32)
IL_21EE: callvirt virtual Verse.Thing
System.Collections.Generic.List`1<Verse.Thing>::get_Item(System.Int32 index)
IL_21F3: castclass Verse.ThingWithComps
IL_21F8: stfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_21FD: br => Label194
IL_2202: Label193
IL_2202: ldloc.s 70 (System.Int32)
IL_2204: ldc.i4.1
IL_2205: add
IL_2206: stloc.s 70 (System.Int32)
IL_2208: Label192
IL_2208: ldloc.s 70 (System.Int32)
IL_220A: ldloc.s 69 (System.Collections.Generic.List`1[Verse.Thing])
IL_220C: callvirt virtual System.Int32
System.Collections.Generic.List`1<Verse.Thing>::get_Count()
IL_2211: blt => Label195
IL_2216: Label194
IL_2216: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_2218: ldfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_221D: brfalse => Label196
IL_2222: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_2224: ldfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_2229: callvirt virtual System.String Verse.Entity::get_LabelShort()
IL_222E: stloc.s 73 (System.String)
IL_2230: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_2232: ldfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_2237: ldfld Verse.ThingDef Verse.Thing::def
IL_223C: callvirt System.Boolean Verse.ThingDef::get_IsWeapon()
IL_2241: brfalse => Label197
IL_2246: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_2248: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_224D: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2252: ldc.i4.8
IL_2253: callvirt System.Boolean Verse.Pawn::WorkTagIsDisabled(Verse.WorkTags w)
IL_2258: brfalse => Label198
IL_225D: ldstr "CannotEquip"
IL_2262: ldloc.s 73 (System.String)
IL_2264: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2269: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_226E: ldstr ": "
IL_2273: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_2278: ldstr "IsIncapableOfViolenceLower"
IL_227D: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_227F: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_2284: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2289: callvirt virtual System.String Verse.Entity::get_LabelShort()
IL_228E: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2293: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_2295: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_229A: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_229F: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_22A4: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_22A9: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_22AE: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_22B3: ldnull
IL_22B4: ldc.i4.4
IL_22B5: ldnull
IL_22B6: ldnull
IL_22B7: ldc.r4 0
IL_22BC: ldnull
IL_22BD: ldnull
IL_22BE: ldc.i4.1
IL_22BF: ldc.i4.0
IL_22C0: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_22C5: stloc.s 72 (Verse.FloatMenuOption)
IL_22C7: br => Label199
IL_22CC: Label197
IL_22CC: Label198
IL_22CC: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_22CE: ldfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_22D3: ldfld Verse.ThingDef Verse.Thing::def
IL_22D8: callvirt System.Boolean Verse.ThingDef::get_IsRangedWeapon()
IL_22DD: brfalse => Label200
IL_22E2: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_22E4: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_22E9: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_22EE: ldc.i4 524288
IL_22F3: callvirt System.Boolean Verse.Pawn::WorkTagIsDisabled(Verse.WorkTags w)
IL_22F8: brfalse => Label201
IL_22FD: ldstr "CannotEquip"
IL_2302: ldloc.s 73 (System.String)
IL_2304: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2309: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_230E: ldstr ": "
IL_2313: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_2318: ldstr "IsIncapableOfShootingLower"
IL_231D: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_231F: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_2324: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2329: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_232E: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_2333: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_2338: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_233D: ldnull
IL_233E: ldc.i4.4
IL_233F: ldnull
IL_2340: ldnull
IL_2341: ldc.r4 0
IL_2346: ldnull
IL_2347: ldnull
IL_2348: ldc.i4.1
IL_2349: ldc.i4.0
IL_234A: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_234F: stloc.s 72 (Verse.FloatMenuOption)
IL_2351: br => Label202
IL_2356: Label200
IL_2356: Label201
IL_2356: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_2358: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_235D: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2362: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_2364: ldfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_2369: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_236E: ldc.i4.3
IL_236F: ldc.i4.3
IL_2370: ldc.i4.0
IL_2371: ldc.i4.0
IL_2372: ldc.i4.0
IL_2373: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_2378: brtrue => Label203
IL_237D: ldstr "CannotEquip"
IL_2382: ldloc.s 73 (System.String)
IL_2384: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2389: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_238E: ldstr ": "
IL_2393: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_2398: ldstr "NoPath"
IL_239D: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_23A2: stloc.s 11 (Verse.TaggedString)
IL_23A4: ldloca.s 11 (Verse.TaggedString)
IL_23A6: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_23AB: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_23B0: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_23B5: ldnull
IL_23B6: ldc.i4.4
IL_23B7: ldnull
IL_23B8: ldnull
IL_23B9: ldc.r4 0
IL_23BE: ldnull
IL_23BF: ldnull
IL_23C0: ldc.i4.1
IL_23C1: ldc.i4.0
IL_23C2: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_23C7: stloc.s 72 (Verse.FloatMenuOption)
IL_23C9: br => Label204
IL_23CE: Label203
IL_23CE: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_23D0: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_23D5: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_23DA: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_23DF: ldfld Verse.PawnCapacitiesHandler
Verse.Pawn_HealthTracker::capacities
IL_23E4: ldsfld Verse.PawnCapacityDef RimWorld.PawnCapacityDefOf::Manipulation
IL_23E9: callvirt System.Boolean
Verse.PawnCapacitiesHandler::CapableOf(Verse.PawnCapacityDef capacity)
IL_23EE: brtrue => Label205
IL_23F3: ldstr "CannotEquip"
IL_23F8: ldloc.s 73 (System.String)
IL_23FA: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_23FF: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_2404: ldstr ": "
IL_2409: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_240E: ldstr "Incapable"
IL_2413: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_2418: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_241D: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2422: ldnull
IL_2423: ldc.i4.4
IL_2424: ldnull
IL_2425: ldnull
IL_2426: ldc.r4 0
IL_242B: ldnull
IL_242C: ldnull
IL_242D: ldc.i4.1
IL_242E: ldc.i4.0
IL_242F: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_2434: stloc.s 72 (Verse.FloatMenuOption)
IL_2436: br => Label206
IL_243B: Label205
IL_243B: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_243D: ldfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_2442: call static System.Boolean
RimWorld.FireUtility::IsBurning(Verse.Thing t)
IL_2447: brfalse => Label207
IL_244C: ldstr "CannotEquip"
IL_2451: ldloc.s 73 (System.String)
IL_2453: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2458: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_245D: ldstr ": "
IL_2462: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_2467: ldstr "BurningLower"
IL_246C: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_2471: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_2476: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_247B: ldnull
IL_247C: ldc.i4.4
IL_247D: ldnull
IL_247E: ldnull
IL_247F: ldc.r4 0
IL_2484: ldnull
IL_2485: ldnull
IL_2486: ldc.i4.1
IL_2487: ldc.i4.0
IL_2488: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_248D: stloc.s 72 (Verse.FloatMenuOption)
IL_248F: br => Label208
IL_2494: Label207
IL_2494: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_2496: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_249B: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_24A0: call static System.Boolean
RimWorld.QuestUtility::IsQuestLodger(Verse.Pawn p)
IL_24A5: brfalse => Label209
IL_24AA: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_24AC: ldfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_24B1: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_24B3: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_24B8: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_24BD: call static System.Boolean
RimWorld.EquipmentUtility::QuestLodgerCanEquip(Verse.Thing thing, Verse.Pawn pawn)
IL_24C2: brtrue => Label210
IL_24C7: ldstr "CannotEquip"
IL_24CC: ldloc.s 73 (System.String)
IL_24CE: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_24D3: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_24D8: ldstr ": "
IL_24DD: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_24E2: ldstr "QuestRelated"
IL_24E7: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_24EC: stloc.s 11 (Verse.TaggedString)
IL_24EE: ldloca.s 11 (Verse.TaggedString)
IL_24F0: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_24F5: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_24FA: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_24FF: ldnull
IL_2500: ldc.i4.4
IL_2501: ldnull
IL_2502: ldnull
IL_2503: ldc.r4 0
IL_2508: ldnull
IL_2509: ldnull
IL_250A: ldc.i4.1
IL_250B: ldc.i4.0
IL_250C: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_2511: stloc.s 72 (Verse.FloatMenuOption)
IL_2513: br => Label211
IL_2518: Label209
IL_2518: Label210
IL_2518: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_251A: ldfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_251F: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_2521: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_2526: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_252B: ldloca.s 71 (System.String)
IL_252D: ldc.i4.0
IL_252E: call static System.Boolean
RimWorld.EquipmentUtility::CanEquip(Verse.Thing thing, Verse.Pawn pawn,
System.String& cantReason, System.Boolean checkBonded)
IL_2533: brtrue => Label212
IL_2538: ldstr "CannotEquip"
IL_253D: ldloc.s 73 (System.String)
IL_253F: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2544: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_2549: ldstr ": "
IL_254E: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_2553: ldloc.s 71 (System.String)
IL_2555: call static System.String
Verse.GenText::CapitalizeFirst(System.String str)
IL_255A: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_255F: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2564: ldnull
IL_2565: ldc.i4.4
IL_2566: ldnull
IL_2567: ldnull
IL_2568: ldc.r4 0
IL_256D: ldnull
IL_256E: ldnull
IL_256F: ldc.i4.1
IL_2570: ldc.i4.0
IL_2571: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_2576: stloc.s 72 (Verse.FloatMenuOption)
IL_2578: br => Label213
IL_257D: Label212
IL_257D: ldstr "Equip"
IL_2582: ldloc.s 73 (System.String)
IL_2584: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2589: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_258E: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2593: stloc.s 74 (System.String)
IL_2595: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_2597: ldfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_259C: ldfld Verse.ThingDef Verse.Thing::def
IL_25A1: callvirt System.Boolean Verse.ThingDef::get_IsRangedWeapon()
IL_25A6: brfalse => Label214
IL_25AB: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_25AD: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_25B2: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_25B7: ldfld RimWorld.Pawn_StoryTracker Verse.Pawn::story
IL_25BC: brfalse => Label215
IL_25C1: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_25C3: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_25C8: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_25CD: ldfld RimWorld.Pawn_StoryTracker Verse.Pawn::story
IL_25D2: ldfld RimWorld.TraitSet RimWorld.Pawn_StoryTracker::traits
IL_25D7: ldsfld RimWorld.TraitDef RimWorld.TraitDefOf::Brawler
IL_25DC: callvirt System.Boolean RimWorld.TraitSet::HasTrait(RimWorld.TraitDef
tDef)
IL_25E1: brfalse => Label216
IL_25E6: ldloc.s 74 (System.String)
IL_25E8: ldstr " "
IL_25ED: ldstr "EquipWarningBrawler"
IL_25F2: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_25F7: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_25FC: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_2601: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2606: stloc.s 74 (System.String)
IL_2608: Label214
IL_2608: Label215
IL_2608: Label216
IL_2608: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_260A: ldfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_260F: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_2611: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_2616: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_261B: call static System.Boolean
RimWorld.EquipmentUtility::AlreadyBondedToWeapon(Verse.Thing thing, Verse.Pawn
pawn)
IL_2620: brfalse => Label217
IL_2625: newobj System.Void RimWorld.<>c__DisplayClass9_20::.ctor()
IL_262A: stloc.s 75 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_20)
IL_262C: ldloc.s 74 (System.String)
IL_262E: ldstr " "
IL_2633: ldstr "BladelinkAlreadyBonded"
IL_2638: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_263D: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_2642: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_2647: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_264C: stloc.s 74 (System.String)
IL_264E: ldloc.s 75 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_20)
IL_2650: ldstr "BladelinkAlreadyBondedDialog"
IL_2655: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_2657: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_265C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2661: ldstr "PAWN"
IL_2666: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_266B: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_266D: ldfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_2672: ldstr "WEAPON"
IL_2677: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_267C: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_267E: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_2683: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2688: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
IL_268D: ldfld Verse.Thing Verse.Pawn_EquipmentTracker::bondedWeapon
IL_2692: ldstr "BONDEDWEAPON"
IL_2697: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_269C: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2, Verse.NamedArgument arg3)
IL_26A1: stfld Verse.TaggedString RimWorld.<>c__DisplayClass9_20::dialogText
IL_26A6: ldloc.s 74 (System.String)
IL_26A8: ldloc.s 75 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_20)
IL_26AA: ldftn System.Void
RimWorld.<>c__DisplayClass9_20::<AddHumanlikeOrders>b__24()
IL_26B0: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_26B5: ldc.i4.5
IL_26B6: ldnull
IL_26B7: ldnull
IL_26B8: ldc.r4 0
IL_26BD: ldnull
IL_26BE: ldnull
IL_26BF: ldc.i4.1
IL_26C0: ldc.i4.0
IL_26C1: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_26C6: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_26C8: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_26CD: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_26D2: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_26D4: ldfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_26D9: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_26DE: ldstr "ReservedBy"
IL_26E3: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_26E8: stloc.s 72 (Verse.FloatMenuOption)
IL_26EA: br => Label218
IL_26EF: Label217
IL_26EF: ldloc.s 74 (System.String)
IL_26F1: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_26F3: ldftn System.Void
RimWorld.<>c__DisplayClass9_19::<AddHumanlikeOrders>b__23()
IL_26F9: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_26FE: ldc.i4.5
IL_26FF: ldnull
IL_2700: ldnull
IL_2701: ldc.r4 0
IL_2706: ldnull
IL_2707: ldnull
IL_2708: ldc.i4.1
IL_2709: ldc.i4.0
IL_270A: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_270F: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_2711: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_19::CS$<>8__locals19
IL_2716: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_271B: ldloc.s 68 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_19)
IL_271D: ldfld Verse.ThingWithComps RimWorld.<>c__DisplayClass9_19::equipment
IL_2722: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_2727: ldstr "ReservedBy"
IL_272C: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_2731: stloc.s 72 (Verse.FloatMenuOption)
IL_2733: Label199
IL_2733: Label202
IL_2733: Label204
IL_2733: Label206
IL_2733: Label208
IL_2733: Label211
IL_2733: Label213
IL_2733: Label218
IL_2733: ldarg.2
IL_2734: ldloc.s 72 (Verse.FloatMenuOption)
IL_2736: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_273B: Label191
IL_273B: Label196
IL_273B: ldloc.0
IL_273C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2741: ldloc.1
IL_2742: ldloc.0
IL_2743: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2748: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_274D: call static System.Collections.Generic.List`1<Verse.Thing>
Verse.GridsUtility::GetThingList(Verse.IntVec3 c, Verse.Map map)
IL_2752: call static
System.Collections.Generic.IEnumerable`1<Verse.Pair`2<RimWorld.CompReloadable,
Verse.Thing>> RimWorld.ReloadableUtility::FindPotentiallyReloadableGear(Verse.Pawn
pawn, System.Collections.Generic.List`1<Verse.Thing> potentialAmmo)
IL_2757: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.Pair`2<RimWorld.CompReloadable,
Verse.Thing>>
System.Collections.Generic.IEnumerable`1<Verse.Pair`2<RimWorld.CompReloadable,
Verse.Thing>>::GetEnumerator()
IL_275C: stloc.s 76
(System.Collections.Generic.IEnumerator`1[Verse.Pair`2[RimWorld.CompReloadable,Vers
e.Thing]])
.try
{
IL_275E: br => Label219
IL_2763: Label226
IL_2763: ldloc.s 76
(System.Collections.Generic.IEnumerator`1[Verse.Pair`2[RimWorld.CompReloadable,Vers
e.Thing]])
IL_2765: callvirt abstract virtual Verse.Pair`2<RimWorld.CompReloadable,
Verse.Thing>
System.Collections.Generic.IEnumerator`1<Verse.Pair`2<RimWorld.CompReloadable,
Verse.Thing>>::get_Current()
IL_276A: stloc.s 77 (Verse.Pair`2[RimWorld.CompReloadable,Verse.Thing])
IL_276C: newobj System.Void RimWorld.<>c__DisplayClass9_21::.ctor()
IL_2771: stloc.s 78 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_21)
IL_2773: ldloc.s 78 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_21)
IL_2775: ldloc.0
IL_2776: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_21::CS$<>8__locals20
IL_277B: ldloc.s 78 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_21)
IL_277D: ldloca.s 77 (Verse.Pair`2[RimWorld.CompReloadable,Verse.Thing])
IL_277F: call RimWorld.CompReloadable
Verse.Pair`2<RimWorld.CompReloadable, Verse.Thing>::get_First()
IL_2784: stfld RimWorld.CompReloadable
RimWorld.<>c__DisplayClass9_21::comp
IL_2789: ldloca.s 77 (Verse.Pair`2[RimWorld.CompReloadable,Verse.Thing])
IL_278B: call Verse.Thing Verse.Pair`2<RimWorld.CompReloadable,
Verse.Thing>::get_Second()
IL_2790: stloc.s 79 (Verse.Thing)
IL_2792: ldstr "Reload"
IL_2797: ldloc.s 78 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_21)
IL_2799: ldfld RimWorld.CompReloadable
RimWorld.<>c__DisplayClass9_21::comp
IL_279E: ldfld Verse.ThingWithComps Verse.ThingComp::parent
IL_27A3: ldstr "GEAR"
IL_27A8: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_27AD: ldloc.s 78 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_21)
IL_27AF: ldfld RimWorld.CompReloadable
RimWorld.<>c__DisplayClass9_21::comp
IL_27B4: callvirt Verse.ThingDef RimWorld.CompReloadable::get_AmmoDef()
IL_27B9: ldstr "AMMO"
IL_27BE: call static Verse.NamedArgument
Verse.NamedArgumentUtility::Named(System.Object arg, System.String label)
IL_27C3: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_27C8: ldstr " ("
IL_27CD: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_27D2: ldloc.s 78 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_21)
IL_27D4: ldfld RimWorld.CompReloadable
RimWorld.<>c__DisplayClass9_21::comp
IL_27D9: callvirt System.String
RimWorld.CompReloadable::get_LabelRemaining()
IL_27DE: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_27E3: ldstr ")"
IL_27E8: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_27ED: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_27F2: stloc.s 80 (System.String)
IL_27F4: ldloc.s 78 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_21)
IL_27F6: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_21::CS$<>8__locals20
IL_27FB: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2800: ldloc.s 79 (Verse.Thing)
IL_2802: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_2807: ldc.i4.3
IL_2808: ldc.i4.3
IL_2809: ldc.i4.0
IL_280A: ldc.i4.0
IL_280B: ldc.i4.0
IL_280C: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_2811: brtrue => Label220
IL_2816: ldarg.2
IL_2817: ldloc.s 80 (System.String)
IL_2819: ldstr ": "
IL_281E: call static System.String System.String::Concat(System.String
str0, System.String str1)
IL_2823: ldstr "NoPath"
IL_2828: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_282D: stloc.s 11 (Verse.TaggedString)
IL_282F: ldloca.s 11 (Verse.TaggedString)
IL_2831: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_2836: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_283B: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2840: ldnull
IL_2841: ldc.i4.4
IL_2842: ldnull
IL_2843: ldnull
IL_2844: ldc.r4 0
IL_2849: ldnull
IL_284A: ldnull
IL_284B: ldc.i4.1
IL_284C: ldc.i4.0
IL_284D: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_2852: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_2857: br => Label221
IL_285C: Label220
IL_285C: ldloc.s 78 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_21)
IL_285E: ldfld RimWorld.CompReloadable
RimWorld.<>c__DisplayClass9_21::comp
IL_2863: ldc.i4.1
IL_2864: callvirt System.Boolean
RimWorld.CompReloadable::NeedsReload(System.Boolean allowForcedReload)
IL_2869: brtrue => Label222
IL_286E: ldarg.2
IL_286F: ldloc.s 80 (System.String)
IL_2871: ldstr ": "
IL_2876: call static System.String System.String::Concat(System.String
str0, System.String str1)
IL_287B: ldstr "ReloadFull"
IL_2880: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_2885: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_288A: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_288F: ldnull
IL_2890: ldc.i4.4
IL_2891: ldnull
IL_2892: ldnull
IL_2893: ldc.r4 0
IL_2898: ldnull
IL_2899: ldnull
IL_289A: ldc.i4.1
IL_289B: ldc.i4.0
IL_289C: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_28A1: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_28A6: br => Label223
IL_28AB: Label222
IL_28AB: ldloc.s 78 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_21)
IL_28AD: ldloc.s 78 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_21)
IL_28AF: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_21::CS$<>8__locals20
IL_28B4: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_28B9: ldloc.s 79 (Verse.Thing)
IL_28BB: callvirt virtual Verse.IntVec3 Verse.Thing::get_Position()
IL_28C0: ldloc.s 78 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_21)
IL_28C2: ldfld RimWorld.CompReloadable
RimWorld.<>c__DisplayClass9_21::comp
IL_28C7: ldc.i4.1
IL_28C8: call static System.Collections.Generic.List`1<Verse.Thing>
RimWorld.ReloadableUtility::FindEnoughAmmo(Verse.Pawn pawn, Verse.IntVec3 rootCell,
RimWorld.CompReloadable comp, System.Boolean forceReload)
IL_28CD: dup
IL_28CE: stloc.s 81 (System.Collections.Generic.List`1[Verse.Thing])
IL_28D0: stfld System.Collections.Generic.List`1<Verse.Thing>
RimWorld.<>c__DisplayClass9_21::chosenAmmo
IL_28D5: ldloc.s 81 (System.Collections.Generic.List`1[Verse.Thing])
IL_28D7: brtrue => Label224
IL_28DC: ldarg.2
IL_28DD: ldloc.s 80 (System.String)
IL_28DF: ldstr ": "
IL_28E4: call static System.String System.String::Concat(System.String
str0, System.String str1)
IL_28E9: ldstr "ReloadNotEnough"
IL_28EE: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_28F3: call static Verse.TaggedString
Verse.TaggedString::op_Addition(System.String t1, Verse.TaggedString t2)
IL_28F8: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_28FD: ldnull
IL_28FE: ldc.i4.4
IL_28FF: ldnull
IL_2900: ldnull
IL_2901: ldc.r4 0
IL_2906: ldnull
IL_2907: ldnull
IL_2908: ldc.i4.1
IL_2909: ldc.i4.0
IL_290A: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_290F: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_2914: br => Label225
IL_2919: Label224
IL_2919: ldloc.s 78 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_21)
IL_291B: ldftn System.Void
RimWorld.<>c__DisplayClass9_21::<AddHumanlikeOrders>b__27()
IL_2921: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_2926: stloc.s 82 (System.Action)
IL_2928: ldarg.2
IL_2929: ldloc.s 80 (System.String)
IL_292B: ldloc.s 82 (System.Action)
IL_292D: ldc.i4.4
IL_292E: ldnull
IL_292F: ldnull
IL_2930: ldc.r4 0
IL_2935: ldnull
IL_2936: ldnull
IL_2937: ldc.i4.1
IL_2938: ldc.i4.0
IL_2939: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_293E: ldloc.s 78 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_21)
IL_2940: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_21::CS$<>8__locals20
IL_2945: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_294A: ldloc.s 79 (Verse.Thing)
IL_294C: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_2951: ldstr "ReservedBy"
IL_2956: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_295B: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_2960: Label219
IL_2960: Label221
IL_2960: Label223
IL_2960: Label225
IL_2960: ldloc.s 76
(System.Collections.Generic.IEnumerator`1[Verse.Pair`2[RimWorld.CompReloadable,Vers
e.Thing]])
IL_2962: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_2967: brtrue => Label226
IL_296C: leave => Label227
IL_2971: leave => (autogenerated)
} // end try
.finally
{
IL_2976: ldloc.s 76
(System.Collections.Generic.IEnumerator`1[Verse.Pair`2[RimWorld.CompReloadable,Vers
e.Thing]])
IL_2978: brfalse => Label228
IL_297D: ldloc.s 76
(System.Collections.Generic.IEnumerator`1[Verse.Pair`2[RimWorld.CompReloadable,Vers
e.Thing]])
IL_297F: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_2984: Label228
IL_2984: endfinally
IL_2985: leave => (autogenerated)
} // end handler
IL_2986: Label227
IL_2986: ldloc.0
IL_2987: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_298C: ldfld RimWorld.Pawn_ApparelTracker Verse.Pawn::apparel
IL_2991: brfalse => Label229
IL_2996: newobj System.Void RimWorld.<>c__DisplayClass9_22::.ctor()
IL_299B: stloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_299D: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_299F: ldloc.0
IL_29A0: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_22::CS$<>8__locals21
IL_29A5: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_29A7: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_29A9: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_22::CS$<>8__locals21
IL_29AE: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_29B3: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_29B8: ldfld Verse.ThingGrid Verse.Map::thingGrid
IL_29BD: ldloc.1
IL_29BE: callvirt RimWorld.Apparel Verse.ThingGrid::ThingAt(Verse.IntVec3 c)
IL_29C3: stfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_29C8: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_29CA: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_29CF: brfalse => Label230
IL_29D4: ldstr "CannotWear"
IL_29D9: stloc.s 84 (System.String)
IL_29DB: ldstr "ForceWear"
IL_29E0: stloc.s 85 (System.String)
IL_29E2: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_29E4: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_29E9: ldfld Verse.ThingDef Verse.Thing::def
IL_29EE: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
IL_29F3: callvirt Verse.ApparelLayerDef
RimWorld.ApparelProperties::get_LastLayer()
IL_29F8: callvirt System.Boolean Verse.ApparelLayerDef::get_IsUtilityLayer()
IL_29FD: brfalse => Label231
IL_2A02: ldstr "CannotEquipApparel"
IL_2A07: stloc.s 84 (System.String)
IL_2A09: ldstr "ForceEquipApparel"
IL_2A0E: stloc.s 85 (System.String)
IL_2A10: Label231
IL_2A10: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2A12: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_22::CS$<>8__locals21
IL_2A17: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2A1C: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2A1E: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2A23: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_2A28: ldc.i4.3
IL_2A29: ldc.i4.3
IL_2A2A: ldc.i4.0
IL_2A2B: ldc.i4.0
IL_2A2C: ldc.i4.0
IL_2A2D: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_2A32: brtrue => Label232
IL_2A37: ldloc.s 84 (System.String)
IL_2A39: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2A3B: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2A40: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_2A45: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2A4A: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2A4C: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2A51: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_2A56: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_2A5B: ldstr ": "
IL_2A60: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_2A65: ldstr "NoPath"
IL_2A6A: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_2A6F: stloc.s 11 (Verse.TaggedString)
IL_2A71: ldloca.s 11 (Verse.TaggedString)
IL_2A73: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_2A78: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_2A7D: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2A82: ldnull
IL_2A83: ldc.i4.4
IL_2A84: ldnull
IL_2A85: ldnull
IL_2A86: ldc.r4 0
IL_2A8B: ldnull
IL_2A8C: ldnull
IL_2A8D: ldc.i4.1
IL_2A8E: ldc.i4.0
IL_2A8F: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_2A94: stloc.s 86 (Verse.FloatMenuOption)
IL_2A96: br => Label233
IL_2A9B: Label232
IL_2A9B: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2A9D: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2AA2: call static System.Boolean
RimWorld.FireUtility::IsBurning(Verse.Thing t)
IL_2AA7: brfalse => Label234
IL_2AAC: ldloc.s 84 (System.String)
IL_2AAE: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2AB0: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2AB5: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_2ABA: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2ABF: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2AC1: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2AC6: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_2ACB: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_2AD0: ldstr ": "
IL_2AD5: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_2ADA: ldstr "Burning"
IL_2ADF: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_2AE4: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_2AE9: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2AEE: ldnull
IL_2AEF: ldc.i4.4
IL_2AF0: ldnull
IL_2AF1: ldnull
IL_2AF2: ldc.r4 0
IL_2AF7: ldnull
IL_2AF8: ldnull
IL_2AF9: ldc.i4.1
IL_2AFA: ldc.i4.0
IL_2AFB: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_2B00: stloc.s 86 (Verse.FloatMenuOption)
IL_2B02: br => Label235
IL_2B07: Label234
IL_2B07: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2B09: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_22::CS$<>8__locals21
IL_2B0E: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2B13: ldfld RimWorld.Pawn_ApparelTracker Verse.Pawn::apparel
IL_2B18: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2B1A: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2B1F: callvirt System.Boolean
RimWorld.Pawn_ApparelTracker::WouldReplaceLockedApparel(RimWorld.Apparel
newApparel)
IL_2B24: brfalse => Label236
IL_2B29: ldloc.s 84 (System.String)
IL_2B2B: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2B2D: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2B32: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_2B37: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2B3C: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2B3E: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2B43: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_2B48: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_2B4D: ldstr ": "
IL_2B52: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_2B57: ldstr "WouldReplaceLockedApparel"
IL_2B5C: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_2B61: stloc.s 11 (Verse.TaggedString)
IL_2B63: ldloca.s 11 (Verse.TaggedString)
IL_2B65: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_2B6A: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_2B6F: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2B74: ldnull
IL_2B75: ldc.i4.4
IL_2B76: ldnull
IL_2B77: ldnull
IL_2B78: ldc.r4 0
IL_2B7D: ldnull
IL_2B7E: ldnull
IL_2B7F: ldc.i4.1
IL_2B80: ldc.i4.0
IL_2B81: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_2B86: stloc.s 86 (Verse.FloatMenuOption)
IL_2B88: br => Label237
IL_2B8D: Label236
IL_2B8D: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2B8F: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_22::CS$<>8__locals21
IL_2B94: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2B99: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2B9B: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2BA0: ldfld Verse.ThingDef Verse.Thing::def
IL_2BA5: call static System.Boolean
RimWorld.ApparelUtility::HasPartsToWear(Verse.Pawn p, Verse.ThingDef apparel)
IL_2BAA: brtrue => Label238
IL_2BAF: ldloc.s 84 (System.String)
IL_2BB1: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2BB3: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2BB8: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_2BBD: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2BC2: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2BC4: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2BC9: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_2BCE: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_2BD3: ldstr ": "
IL_2BD8: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_2BDD: ldstr "CannotWearBecauseOfMissingBodyParts"
IL_2BE2: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_2BE7: stloc.s 11 (Verse.TaggedString)
IL_2BE9: ldloca.s 11 (Verse.TaggedString)
IL_2BEB: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_2BF0: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_2BF5: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2BFA: ldnull
IL_2BFB: ldc.i4.4
IL_2BFC: ldnull
IL_2BFD: ldnull
IL_2BFE: ldc.r4 0
IL_2C03: ldnull
IL_2C04: ldnull
IL_2C05: ldc.i4.1
IL_2C06: ldc.i4.0
IL_2C07: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_2C0C: stloc.s 86 (Verse.FloatMenuOption)
IL_2C0E: br => Label239
IL_2C13: Label238
IL_2C13: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2C15: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2C1A: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2C1C: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_22::CS$<>8__locals21
IL_2C21: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2C26: ldloca.s 87 (System.String)
IL_2C28: ldc.i4.1
IL_2C29: call static System.Boolean
RimWorld.EquipmentUtility::CanEquip(Verse.Thing thing, Verse.Pawn pawn,
System.String& cantReason, System.Boolean checkBonded)
IL_2C2E: brtrue => Label240
IL_2C33: ldloc.s 84 (System.String)
IL_2C35: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2C37: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2C3C: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_2C41: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2C46: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2C48: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2C4D: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_2C52: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_2C57: ldstr ": "
IL_2C5C: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_2C61: ldloc.s 87 (System.String)
IL_2C63: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_2C68: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2C6D: ldnull
IL_2C6E: ldc.i4.4
IL_2C6F: ldnull
IL_2C70: ldnull
IL_2C71: ldc.r4 0
IL_2C76: ldnull
IL_2C77: ldnull
IL_2C78: ldc.i4.1
IL_2C79: ldc.i4.0
IL_2C7A: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_2C7F: stloc.s 86 (Verse.FloatMenuOption)
IL_2C81: br => Label241
IL_2C86: Label240
IL_2C86: ldloc.s 85 (System.String)
IL_2C88: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2C8A: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2C8F: callvirt virtual System.String Verse.Entity::get_LabelShort()
IL_2C94: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2C99: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2C9B: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2CA0: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_2CA5: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_2CAA: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2CAF: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2CB1: ldftn System.Void
RimWorld.<>c__DisplayClass9_22::<AddHumanlikeOrders>b__28()
IL_2CB7: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_2CBC: ldc.i4.5
IL_2CBD: ldnull
IL_2CBE: ldnull
IL_2CBF: ldc.r4 0
IL_2CC4: ldnull
IL_2CC5: ldnull
IL_2CC6: ldc.i4.1
IL_2CC7: ldc.i4.0
IL_2CC8: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_2CCD: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2CCF: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_22::CS$<>8__locals21
IL_2CD4: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2CD9: ldloc.s 83 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_22)
IL_2CDB: ldfld RimWorld.Apparel RimWorld.<>c__DisplayClass9_22::apparel
IL_2CE0: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_2CE5: ldstr "ReservedBy"
IL_2CEA: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_2CEF: stloc.s 86 (Verse.FloatMenuOption)
IL_2CF1: Label233
IL_2CF1: Label235
IL_2CF1: Label237
IL_2CF1: Label239
IL_2CF1: Label241
IL_2CF1: ldarg.2
IL_2CF2: ldloc.s 86 (Verse.FloatMenuOption)
IL_2CF4: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_2CF9: Label229
IL_2CF9: Label230
IL_2CF9: ldloc.0
IL_2CFA: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2CFF: call static System.Boolean
RimWorld.Planet.CaravanFormingUtility::IsFormingCaravan(Verse.Pawn p)
IL_2D04: brfalse => Label242
IL_2D09: newobj System.Void RimWorld.<>c__DisplayClass9_23::.ctor()
IL_2D0E: stloc.s 88 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_23)
IL_2D10: ldloc.s 88 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_23)
IL_2D12: ldloc.0
IL_2D13: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_23::CS$<>8__locals22
IL_2D18: ldloc.s 88 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_23)
IL_2D1A: ldloc.1
IL_2D1B: ldloc.s 88 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_23)
IL_2D1D: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_23::CS$<>8__locals22
IL_2D22: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2D27: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_2D2C: call static Verse.Thing
Verse.GridsUtility::GetFirstItem(Verse.IntVec3 c, Verse.Map map)
IL_2D31: stfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2D36: ldloc.s 88 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_23)
IL_2D38: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2D3D: brfalse => Label243
IL_2D42: ldloc.s 88 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_23)
IL_2D44: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2D49: ldfld Verse.ThingDef Verse.Thing::def
IL_2D4E: callvirt System.Boolean Verse.ThingDef::get_EverHaulable()
IL_2D53: brfalse => Label244
IL_2D58: ldloc.s 88 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_23)
IL_2D5A: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2D5F: ldfld Verse.ThingDef Verse.Thing::def
IL_2D64: ldfld System.Boolean Verse.ThingDef::canLoadIntoCaravan
IL_2D69: brfalse => Label245
IL_2D6E: newobj System.Void RimWorld.<>c__DisplayClass9_24::.ctor()
IL_2D73: stloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2D75: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2D77: ldloc.s 88 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_23)
IL_2D79: stfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2D7E: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2D80: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2D82: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2D87: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_23::CS$<>8__locals22
IL_2D8C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2D91: call static Verse.Pawn
RimWorld.GiveToPackAnimalUtility::UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn
pawn)
IL_2D96: dup
IL_2D97: brtrue => Label246
IL_2D9C: pop
IL_2D9D: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2D9F: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2DA4: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_23::CS$<>8__locals22
IL_2DA9: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2DAE: Label246
IL_2DAE: stfld Verse.Pawn RimWorld.<>c__DisplayClass9_24::packTarget
IL_2DB3: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2DB5: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2DB7: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_24::packTarget
IL_2DBC: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2DBE: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2DC3: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_23::CS$<>8__locals22
IL_2DC8: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2DCD: beq => Label247
IL_2DD2: ldsfld Verse.JobDef RimWorld.JobDefOf::GiveToPackAnimal
IL_2DD7: br => Label248
IL_2DDC: Label247
IL_2DDC: ldsfld Verse.JobDef RimWorld.JobDefOf::TakeInventory
IL_2DE1: Label248
IL_2DE1: stfld Verse.JobDef RimWorld.<>c__DisplayClass9_24::jobDef
IL_2DE6: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2DE8: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2DED: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_23::CS$<>8__locals22
IL_2DF2: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2DF7: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2DF9: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2DFE: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2E03: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_2E08: ldc.i4.3
IL_2E09: ldc.i4.3
IL_2E0A: ldc.i4.0
IL_2E0B: ldc.i4.0
IL_2E0C: ldc.i4.0
IL_2E0D: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_2E12: brtrue => Label249
IL_2E17: ldarg.2
IL_2E18: ldstr "CannotLoadIntoCaravan"
IL_2E1D: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2E1F: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2E24: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2E29: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_2E2E: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2E33: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2E35: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2E3A: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2E3F: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_2E44: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_2E49: ldstr ": "
IL_2E4E: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_2E53: ldstr "NoPath"
IL_2E58: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_2E5D: stloc.s 11 (Verse.TaggedString)
IL_2E5F: ldloca.s 11 (Verse.TaggedString)
IL_2E61: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_2E66: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_2E6B: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2E70: ldnull
IL_2E71: ldc.i4.4
IL_2E72: ldnull
IL_2E73: ldnull
IL_2E74: ldc.r4 0
IL_2E79: ldnull
IL_2E7A: ldnull
IL_2E7B: ldc.i4.1
IL_2E7C: ldc.i4.0
IL_2E7D: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_2E82: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_2E87: br => Label250
IL_2E8C: Label249
IL_2E8C: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2E8E: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_24::packTarget
IL_2E93: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2E95: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2E9A: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2E9F: ldc.i4.1
IL_2EA0: call static System.Boolean
RimWorld.MassUtility::WillBeOverEncumberedAfterPickingUp(Verse.Pawn pawn,
Verse.Thing thing, System.Int32 count)
IL_2EA5: brfalse => Label251
IL_2EAA: ldarg.2
IL_2EAB: ldstr "CannotLoadIntoCaravan"
IL_2EB0: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2EB2: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2EB7: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2EBC: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_2EC1: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2EC6: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2EC8: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2ECD: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2ED2: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_2ED7: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_2EDC: ldstr ": "
IL_2EE1: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_2EE6: ldstr "TooHeavy"
IL_2EEB: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_2EF0: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_2EF5: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2EFA: ldnull
IL_2EFB: ldc.i4.4
IL_2EFC: ldnull
IL_2EFD: ldnull
IL_2EFE: ldc.r4 0
IL_2F03: ldnull
IL_2F04: ldnull
IL_2F05: ldc.i4.1
IL_2F06: ldc.i4.0
IL_2F07: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_2F0C: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_2F11: br => Label252
IL_2F16: Label251
IL_2F16: newobj System.Void RimWorld.<>c__DisplayClass9_25::.ctor()
IL_2F1B: stloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_2F1D: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_2F1F: ldloc.s 89 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_24)
IL_2F21: stfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_2F26: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_2F28: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_2F2D: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2F32: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_23::CS$<>8__locals22
IL_2F37: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_2F3C: call static Verse.AI.Group.Lord
Verse.AI.Group.LordUtility::GetLord(Verse.Pawn p)
IL_2F41: callvirt Verse.AI.Group.LordJob Verse.AI.Group.Lord::get_LordJob()
IL_2F46: castclass RimWorld.LordJob_FormAndSendCaravan
IL_2F4B: stloc.s 91 (RimWorld.LordJob_FormAndSendCaravan)
IL_2F4D: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_2F4F: ldloc.s 91 (RimWorld.LordJob_FormAndSendCaravan)
IL_2F51: call static System.Single
RimWorld.Planet.CaravanFormingUtility::CapacityLeft(RimWorld.LordJob_FormAndSendCar
avan lordJob)
IL_2F56: stfld System.Single RimWorld.<>c__DisplayClass9_25::capacityLeft
IL_2F5B: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_2F5D: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_2F62: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2F67: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2F6C: ldfld System.Int32 Verse.Thing::stackCount
IL_2F71: ldc.i4.1
IL_2F72: bne.un => Label253
IL_2F77: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_2F79: ldfld System.Single RimWorld.<>c__DisplayClass9_25::capacityLeft
IL_2F7E: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_2F80: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_2F85: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2F8A: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2F8F: ldsfld RimWorld.StatDef RimWorld.StatDefOf::Mass
IL_2F94: ldc.i4.1
IL_2F95: call static System.Single
RimWorld.StatExtension::GetStatValue(Verse.Thing thing, RimWorld.StatDef stat,
System.Boolean applyPostProcess)
IL_2F9A: sub
IL_2F9B: stloc.s 92 (System.Single)
IL_2F9D: ldarg.2
IL_2F9E: ldstr "LoadIntoCaravan"
IL_2FA3: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_2FA5: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_2FAA: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2FAF: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2FB4: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_2FB9: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_2FBE: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_2FC0: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_2FC5: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_2FCA: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_2FCF: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_2FD4: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_2FD9: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_2FDE: ldloc.s 92 (System.Single)
IL_2FE0: call static System.String
RimWorld.Planet.CaravanFormingUtility::AppendOverweightInfo(System.String text,
System.Single capacityLeft)
IL_2FE5: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_2FE7: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_2FEC: ldftn System.Void
RimWorld.<>c__DisplayClass9_24::<AddHumanlikeOrders>b__30()
IL_2FF2: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_2FF7: ldc.i4.5
IL_2FF8: ldnull
IL_2FF9: ldnull
IL_2FFA: ldc.r4 0
IL_2FFF: ldnull
IL_3000: ldnull
IL_3001: ldc.i4.1
IL_3002: ldc.i4.0
IL_3003: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3008: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_300A: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_300F: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_3014: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_23::CS$<>8__locals22
IL_3019: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_301E: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_3020: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_3025: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_302A: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_302F: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_3034: ldstr "ReservedBy"
IL_3039: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_303E: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3043: br => Label254
IL_3048: Label253
IL_3048: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_304A: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_304F: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_24::packTarget
IL_3054: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_3056: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_305B: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_3060: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_3065: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_3067: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_306C: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_3071: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_3076: ldfld System.Int32 Verse.Thing::stackCount
IL_307B: call static System.Boolean
RimWorld.MassUtility::WillBeOverEncumberedAfterPickingUp(Verse.Pawn pawn,
Verse.Thing thing, System.Int32 count)
IL_3080: brfalse => Label255
IL_3085: ldarg.2
IL_3086: ldstr "CannotLoadIntoCaravanAll"
IL_308B: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_308D: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_3092: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_3097: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_309C: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_30A1: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_30A6: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_30A8: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_30AD: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_30B2: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_30B7: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_30BC: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_30C1: ldstr ": "
IL_30C6: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_30CB: ldstr "TooHeavy"
IL_30D0: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_30D5: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_30DA: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_30DF: ldnull
IL_30E0: ldc.i4.4
IL_30E1: ldnull
IL_30E2: ldnull
IL_30E3: ldc.r4 0
IL_30E8: ldnull
IL_30E9: ldnull
IL_30EA: ldc.i4.1
IL_30EB: ldc.i4.0
IL_30EC: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_30F1: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_30F6: br => Label256
IL_30FB: Label255
IL_30FB: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_30FD: ldfld System.Single RimWorld.<>c__DisplayClass9_25::capacityLeft
IL_3102: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_3104: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_3109: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_310E: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_3113: ldfld System.Int32 Verse.Thing::stackCount
IL_3118: conv.r4
IL_3119: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_311B: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_3120: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_3125: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_312A: ldsfld RimWorld.StatDef RimWorld.StatDefOf::Mass
IL_312F: ldc.i4.1
IL_3130: call static System.Single
RimWorld.StatExtension::GetStatValue(Verse.Thing thing, RimWorld.StatDef stat,
System.Boolean applyPostProcess)
IL_3135: mul
IL_3136: sub
IL_3137: stloc.s 93 (System.Single)
IL_3139: ldarg.2
IL_313A: ldstr "LoadIntoCaravanAll"
IL_313F: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_3141: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_3146: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_314B: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_3150: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_3155: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_315A: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_315C: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_3161: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_3166: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_316B: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3170: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3175: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_317A: ldloc.s 93 (System.Single)
IL_317C: call static System.String
RimWorld.Planet.CaravanFormingUtility::AppendOverweightInfo(System.String text,
System.Single capacityLeft)
IL_3181: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_3183: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_3188: ldftn System.Void
RimWorld.<>c__DisplayClass9_24::<AddHumanlikeOrders>b__31()
IL_318E: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_3193: ldc.i4.5
IL_3194: ldnull
IL_3195: ldnull
IL_3196: ldc.r4 0
IL_319B: ldnull
IL_319C: ldnull
IL_319D: ldc.i4.1
IL_319E: ldc.i4.0
IL_319F: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_31A4: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_31A6: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_31AB: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_31B0: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_23::CS$<>8__locals22
IL_31B5: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_31BA: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_31BC: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_31C1: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_31C6: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_31CB: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_31D0: ldstr "ReservedBy"
IL_31D5: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_31DA: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_31DF: Label256
IL_31DF: ldarg.2
IL_31E0: ldstr "LoadIntoCaravanSome"
IL_31E5: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_31E7: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_31EC: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_31F1: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_31F6: callvirt virtual System.String Verse.Thing::get_LabelNoCount()
IL_31FB: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3200: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_3202: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_3207: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_320C: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_3211: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3216: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_321B: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_3220: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_3222: ldftn System.Void
RimWorld.<>c__DisplayClass9_25::<AddHumanlikeOrders>b__29()
IL_3228: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_322D: ldc.i4.5
IL_322E: ldnull
IL_322F: ldnull
IL_3230: ldc.r4 0
IL_3235: ldnull
IL_3236: ldnull
IL_3237: ldc.i4.1
IL_3238: ldc.i4.0
IL_3239: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_323E: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_3240: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_3245: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_324A: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_23::CS$<>8__locals22
IL_324F: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3254: ldloc.s 90 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_25)
IL_3256: ldfld RimWorld.<>c__DisplayClass9_24
RimWorld.<>c__DisplayClass9_25::CS$<>8__locals24
IL_325B: ldfld RimWorld.<>c__DisplayClass9_23
RimWorld.<>c__DisplayClass9_24::CS$<>8__locals23
IL_3260: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_23::item
IL_3265: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_326A: ldstr "ReservedBy"
IL_326F: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_3274: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3279: Label242
IL_3279: Label243
IL_3279: Label244
IL_3279: Label245
IL_3279: Label250
IL_3279: Label252
IL_3279: Label254
IL_3279: ldloc.0
IL_327A: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_327F: call static System.Boolean
RimWorld.Planet.CaravanFormingUtility::IsFormingCaravan(Verse.Pawn p)
IL_3284: brtrue => Label257
IL_3289: newobj System.Void RimWorld.<>c__DisplayClass9_26::.ctor()
IL_328E: stloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_3290: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_3292: ldloc.0
IL_3293: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_26::CS$<>8__locals25
IL_3298: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_329A: ldloc.1
IL_329B: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_329D: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_26::CS$<>8__locals25
IL_32A2: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_32A7: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_32AC: call static Verse.Thing
Verse.GridsUtility::GetFirstItem(Verse.IntVec3 c, Verse.Map map)
IL_32B1: stfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_32B6: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_32B8: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_32BD: brfalse => Label258
IL_32C2: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_32C4: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_32C9: ldfld Verse.ThingDef Verse.Thing::def
IL_32CE: callvirt System.Boolean Verse.ThingDef::get_EverHaulable()
IL_32D3: brfalse => Label259
IL_32D8: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_32DA: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_26::CS$<>8__locals25
IL_32DF: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_32E4: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_32E6: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_32EB: ldfld Verse.ThingDef Verse.Thing::def
IL_32F0: call static System.Boolean
RimWorld.PawnUtility::CanPickUp(Verse.Pawn pawn, Verse.ThingDef thingDef)
IL_32F5: brfalse => Label260
IL_32FA: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_32FC: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_26::CS$<>8__locals25
IL_3301: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3306: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_3308: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_330D: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_3312: ldc.i4.3
IL_3313: ldc.i4.3
IL_3314: ldc.i4.0
IL_3315: ldc.i4.0
IL_3316: ldc.i4.0
IL_3317: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_331C: brtrue => Label261
IL_3321: ldarg.2
IL_3322: ldstr "CannotPickUp"
IL_3327: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_3329: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_332E: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_3333: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3338: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_333A: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_333F: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3344: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3349: ldstr ": "
IL_334E: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_3353: ldstr "NoPath"
IL_3358: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_335D: stloc.s 11 (Verse.TaggedString)
IL_335F: ldloca.s 11 (Verse.TaggedString)
IL_3361: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_3366: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_336B: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_3370: ldnull
IL_3371: ldc.i4.4
IL_3372: ldnull
IL_3373: ldnull
IL_3374: ldc.r4 0
IL_3379: ldnull
IL_337A: ldnull
IL_337B: ldc.i4.1
IL_337C: ldc.i4.0
IL_337D: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3382: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3387: br => Label262
IL_338C: Label261
IL_338C: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_338E: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_26::CS$<>8__locals25
IL_3393: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3398: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_339A: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_339F: ldc.i4.1
IL_33A0: call static System.Boolean
RimWorld.MassUtility::WillBeOverEncumberedAfterPickingUp(Verse.Pawn pawn,
Verse.Thing thing, System.Int32 count)
IL_33A5: brfalse => Label263
IL_33AA: ldarg.2
IL_33AB: ldstr "CannotPickUp"
IL_33B0: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_33B2: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_33B7: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_33BC: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_33C1: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_33C3: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_33C8: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_33CD: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_33D2: ldstr ": "
IL_33D7: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_33DC: ldstr "TooHeavy"
IL_33E1: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_33E6: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_33EB: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_33F0: ldnull
IL_33F1: ldc.i4.4
IL_33F2: ldnull
IL_33F3: ldnull
IL_33F4: ldc.r4 0
IL_33F9: ldnull
IL_33FA: ldnull
IL_33FB: ldc.i4.1
IL_33FC: ldc.i4.0
IL_33FD: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3402: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3407: br => Label264
IL_340C: Label263
IL_340C: newobj System.Void RimWorld.<>c__DisplayClass9_27::.ctor()
IL_3411: stloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3413: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3415: ldloc.s 94 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_26)
IL_3417: stfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_341C: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_341E: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3420: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3425: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_26::CS$<>8__locals25
IL_342A: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_342F: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3431: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3436: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_343B: ldfld Verse.ThingDef Verse.Thing::def
IL_3440: call static System.Int32
RimWorld.PawnUtility::GetMaxAllowedToPickUp(Verse.Pawn pawn, Verse.ThingDef
thingDef)
IL_3445: stfld System.Int32 RimWorld.<>c__DisplayClass9_27::maxAllowedToPickUp
IL_344A: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_344C: ldfld System.Int32 RimWorld.<>c__DisplayClass9_27::maxAllowedToPickUp
IL_3451: brtrue => Label265
IL_3456: ldarg.2
IL_3457: ldstr "CannotPickUp"
IL_345C: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_345E: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3463: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_3468: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_346D: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3472: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3474: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3479: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_347E: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3483: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3488: ldstr ": "
IL_348D: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_3492: ldstr "MaxPickUpAllowed"
IL_3497: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3499: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_349E: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_34A3: ldfld Verse.ThingDef Verse.Thing::def
IL_34A8: ldfld Verse.OrderedTakeGroupDef Verse.ThingDef::orderedTakeGroup
IL_34AD: ldfld System.Int32 Verse.OrderedTakeGroupDef::max
IL_34B2: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.Int32 value)
IL_34B7: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_34B9: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_34BE: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_34C3: ldfld Verse.ThingDef Verse.Thing::def
IL_34C8: ldfld Verse.OrderedTakeGroupDef Verse.ThingDef::orderedTakeGroup
IL_34CD: ldfld System.String Verse.Def::label
IL_34D2: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_34D7: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_34DC: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_34E1: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_34E6: ldnull
IL_34E7: ldc.i4.4
IL_34E8: ldnull
IL_34E9: ldnull
IL_34EA: ldc.r4 0
IL_34EF: ldnull
IL_34F0: ldnull
IL_34F1: ldc.i4.1
IL_34F2: ldc.i4.0
IL_34F3: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_34F8: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_34FD: br => Label266
IL_3502: Label265
IL_3502: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3504: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3509: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_350E: ldfld System.Int32 Verse.Thing::stackCount
IL_3513: ldc.i4.1
IL_3514: beq => Label267
IL_3519: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_351B: ldfld System.Int32 RimWorld.<>c__DisplayClass9_27::maxAllowedToPickUp
IL_3520: ldc.i4.1
IL_3521: bne.un => Label268
IL_3526: Label267
IL_3526: ldarg.2
IL_3527: ldstr "PickUp"
IL_352C: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_352E: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3533: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_3538: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_353D: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3542: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3544: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3549: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_354E: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3553: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3558: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_355D: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_355F: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3564: ldftn System.Void
RimWorld.<>c__DisplayClass9_26::<AddHumanlikeOrders>b__34()
IL_356A: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_356F: ldc.i4.5
IL_3570: ldnull
IL_3571: ldnull
IL_3572: ldc.r4 0
IL_3577: ldnull
IL_3578: ldnull
IL_3579: ldc.i4.1
IL_357A: ldc.i4.0
IL_357B: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3580: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3582: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3587: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_26::CS$<>8__locals25
IL_358C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3591: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3593: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3598: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_359D: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_35A2: ldstr "ReservedBy"
IL_35A7: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_35AC: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_35B1: br => Label269
IL_35B6: Label268
IL_35B6: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_35B8: ldfld System.Int32 RimWorld.<>c__DisplayClass9_27::maxAllowedToPickUp
IL_35BD: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_35BF: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_35C4: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_35C9: ldfld System.Int32 Verse.Thing::stackCount
IL_35CE: bge => Label270
IL_35D3: ldarg.2
IL_35D4: ldstr "CannotPickUpAll"
IL_35D9: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_35DB: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_35E0: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_35E5: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_35EA: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_35EF: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_35F1: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_35F6: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_35FB: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3600: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3605: ldstr ": "
IL_360A: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_360F: ldstr "MaxPickUpAllowed"
IL_3614: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3616: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_361B: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_3620: ldfld Verse.ThingDef Verse.Thing::def
IL_3625: ldfld Verse.OrderedTakeGroupDef Verse.ThingDef::orderedTakeGroup
IL_362A: ldfld System.Int32 Verse.OrderedTakeGroupDef::max
IL_362F: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.Int32 value)
IL_3634: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3636: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_363B: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_3640: ldfld Verse.ThingDef Verse.Thing::def
IL_3645: ldfld Verse.OrderedTakeGroupDef Verse.ThingDef::orderedTakeGroup
IL_364A: ldfld System.String Verse.Def::label
IL_364F: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3654: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3659: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_365E: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_3663: ldnull
IL_3664: ldc.i4.4
IL_3665: ldnull
IL_3666: ldnull
IL_3667: ldc.r4 0
IL_366C: ldnull
IL_366D: ldnull
IL_366E: ldc.i4.1
IL_366F: ldc.i4.0
IL_3670: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3675: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_367A: br => Label271
IL_367F: Label270
IL_367F: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3681: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3686: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_26::CS$<>8__locals25
IL_368B: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3690: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3692: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3697: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_369C: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_369E: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_36A3: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_36A8: ldfld System.Int32 Verse.Thing::stackCount
IL_36AD: call static System.Boolean
RimWorld.MassUtility::WillBeOverEncumberedAfterPickingUp(Verse.Pawn pawn,
Verse.Thing thing, System.Int32 count)
IL_36B2: brfalse => Label272
IL_36B7: ldarg.2
IL_36B8: ldstr "CannotPickUpAll"
IL_36BD: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_36BF: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_36C4: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_36C9: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_36CE: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_36D3: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_36D5: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_36DA: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_36DF: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_36E4: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_36E9: ldstr ": "
IL_36EE: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_36F3: ldstr "TooHeavy"
IL_36F8: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_36FD: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_3702: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_3707: ldnull
IL_3708: ldc.i4.4
IL_3709: ldnull
IL_370A: ldnull
IL_370B: ldc.r4 0
IL_3710: ldnull
IL_3711: ldnull
IL_3712: ldc.i4.1
IL_3713: ldc.i4.0
IL_3714: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3719: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_371E: br => Label273
IL_3723: Label272
IL_3723: ldarg.2
IL_3724: ldstr "PickUpAll"
IL_3729: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_372B: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3730: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_3735: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_373A: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_373F: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3741: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3746: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_374B: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3750: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3755: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_375A: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_375C: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3761: ldftn System.Void
RimWorld.<>c__DisplayClass9_26::<AddHumanlikeOrders>b__35()
IL_3767: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_376C: ldc.i4.5
IL_376D: ldnull
IL_376E: ldnull
IL_376F: ldc.r4 0
IL_3774: ldnull
IL_3775: ldnull
IL_3776: ldc.i4.1
IL_3777: ldc.i4.0
IL_3778: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_377D: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_377F: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3784: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_26::CS$<>8__locals25
IL_3789: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_378E: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3790: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_3795: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_379A: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_379F: ldstr "ReservedBy"
IL_37A4: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_37A9: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_37AE: Label271
IL_37AE: Label273
IL_37AE: ldarg.2
IL_37AF: ldstr "PickUpSome"
IL_37B4: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_37B6: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_37BB: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_37C0: callvirt virtual System.String Verse.Thing::get_LabelNoCount()
IL_37C5: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_37CA: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_37CC: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_37D1: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_37D6: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_37DB: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_37E0: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_37E5: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_37E7: ldftn System.Void
RimWorld.<>c__DisplayClass9_27::<AddHumanlikeOrders>b__36()
IL_37ED: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_37F2: ldc.i4.5
IL_37F3: ldnull
IL_37F4: ldnull
IL_37F5: ldc.r4 0
IL_37FA: ldnull
IL_37FB: ldnull
IL_37FC: ldc.i4.1
IL_37FD: ldc.i4.0
IL_37FE: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3803: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3805: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_380A: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_26::CS$<>8__locals25
IL_380F: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3814: ldloc.s 95 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_27)
IL_3816: ldfld RimWorld.<>c__DisplayClass9_26
RimWorld.<>c__DisplayClass9_27::CS$<>8__locals26
IL_381B: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_26::item
IL_3820: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_3825: ldstr "ReservedBy"
IL_382A: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_382F: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3834: Label257
IL_3834: Label258
IL_3834: Label259
IL_3834: Label260
IL_3834: Label262
IL_3834: Label264
IL_3834: Label266
IL_3834: Label269
IL_3834: ldloc.0
IL_3835: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_383A: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_383F: callvirt System.Boolean Verse.Map::get_IsPlayerHome()
IL_3844: brtrue => Label274
IL_3849: ldloc.0
IL_384A: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_384F: call static System.Boolean
RimWorld.Planet.CaravanFormingUtility::IsFormingCaravan(Verse.Pawn p)
IL_3854: brtrue => Label275
IL_3859: newobj System.Void RimWorld.<>c__DisplayClass9_28::.ctor()
IL_385E: stloc.s 96 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_28)
IL_3860: ldloc.s 96 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_28)
IL_3862: ldloc.0
IL_3863: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_28::CS$<>8__locals27
IL_3868: ldloc.s 96 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_28)
IL_386A: ldloc.1
IL_386B: ldloc.s 96 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_28)
IL_386D: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_28::CS$<>8__locals27
IL_3872: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3877: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_387C: call static Verse.Thing
Verse.GridsUtility::GetFirstItem(Verse.IntVec3 c, Verse.Map map)
IL_3881: stfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3886: ldloc.s 96 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_28)
IL_3888: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_388D: brfalse => Label276
IL_3892: ldloc.s 96 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_28)
IL_3894: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3899: ldfld Verse.ThingDef Verse.Thing::def
IL_389E: callvirt System.Boolean Verse.ThingDef::get_EverHaulable()
IL_38A3: brfalse => Label277
IL_38A8: newobj System.Void RimWorld.<>c__DisplayClass9_29::.ctor()
IL_38AD: stloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_38AF: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_38B1: ldloc.s 96 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_28)
IL_38B3: stfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_38B8: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_38BA: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_38BC: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_38C1: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_28::CS$<>8__locals27
IL_38C6: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_38CB: call static Verse.Pawn
RimWorld.GiveToPackAnimalUtility::UsablePackAnimalWithTheMostFreeSpace(Verse.Pawn
pawn)
IL_38D0: stfld Verse.Pawn RimWorld.<>c__DisplayClass9_29::bestPackAnimal
IL_38D5: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_38D7: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_29::bestPackAnimal
IL_38DC: brfalse => Label278
IL_38E1: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_38E3: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_38E8: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_28::CS$<>8__locals27
IL_38ED: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_38F2: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_38F4: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_38F9: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_38FE: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_3903: ldc.i4.3
IL_3904: ldc.i4.3
IL_3905: ldc.i4.0
IL_3906: ldc.i4.0
IL_3907: ldc.i4.0
IL_3908: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_390D: brtrue => Label279
IL_3912: ldarg.2
IL_3913: ldstr "CannotGiveToPackAnimal"
IL_3918: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_391A: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_391F: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3924: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_3929: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_392E: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3930: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3935: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_393A: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_393F: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3944: ldstr ": "
IL_3949: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_394E: ldstr "NoPath"
IL_3953: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_3958: stloc.s 11 (Verse.TaggedString)
IL_395A: ldloca.s 11 (Verse.TaggedString)
IL_395C: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_3961: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_3966: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_396B: ldnull
IL_396C: ldc.i4.4
IL_396D: ldnull
IL_396E: ldnull
IL_396F: ldc.r4 0
IL_3974: ldnull
IL_3975: ldnull
IL_3976: ldc.i4.1
IL_3977: ldc.i4.0
IL_3978: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_397D: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3982: br => Label280
IL_3987: Label279
IL_3987: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3989: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_29::bestPackAnimal
IL_398E: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3990: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3995: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_399A: ldc.i4.1
IL_399B: call static System.Boolean
RimWorld.MassUtility::WillBeOverEncumberedAfterPickingUp(Verse.Pawn pawn,
Verse.Thing thing, System.Int32 count)
IL_39A0: brfalse => Label281
IL_39A5: ldarg.2
IL_39A6: ldstr "CannotGiveToPackAnimal"
IL_39AB: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_39AD: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_39B2: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_39B7: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_39BC: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_39C1: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_39C3: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_39C8: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_39CD: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_39D2: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_39D7: ldstr ": "
IL_39DC: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_39E1: ldstr "TooHeavy"
IL_39E6: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_39EB: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_39F0: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_39F5: ldnull
IL_39F6: ldc.i4.4
IL_39F7: ldnull
IL_39F8: ldnull
IL_39F9: ldc.r4 0
IL_39FE: ldnull
IL_39FF: ldnull
IL_3A00: ldc.i4.1
IL_3A01: ldc.i4.0
IL_3A02: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3A07: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3A0C: br => Label282
IL_3A11: Label281
IL_3A11: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3A13: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3A18: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3A1D: ldfld System.Int32 Verse.Thing::stackCount
IL_3A22: ldc.i4.1
IL_3A23: bne.un => Label283
IL_3A28: ldarg.2
IL_3A29: ldstr "GiveToPackAnimal"
IL_3A2E: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3A30: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3A35: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3A3A: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_3A3F: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3A44: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3A46: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3A4B: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3A50: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3A55: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3A5A: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_3A5F: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3A61: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3A66: ldftn System.Void
RimWorld.<>c__DisplayClass9_28::<AddHumanlikeOrders>b__38()
IL_3A6C: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_3A71: ldc.i4.5
IL_3A72: ldnull
IL_3A73: ldnull
IL_3A74: ldc.r4 0
IL_3A79: ldnull
IL_3A7A: ldnull
IL_3A7B: ldc.i4.1
IL_3A7C: ldc.i4.0
IL_3A7D: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3A82: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3A84: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3A89: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_28::CS$<>8__locals27
IL_3A8E: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3A93: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3A95: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3A9A: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3A9F: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_3AA4: ldstr "ReservedBy"
IL_3AA9: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_3AAE: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3AB3: br => Label284
IL_3AB8: Label283
IL_3AB8: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3ABA: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_29::bestPackAnimal
IL_3ABF: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3AC1: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3AC6: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3ACB: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3ACD: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3AD2: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3AD7: ldfld System.Int32 Verse.Thing::stackCount
IL_3ADC: call static System.Boolean
RimWorld.MassUtility::WillBeOverEncumberedAfterPickingUp(Verse.Pawn pawn,
Verse.Thing thing, System.Int32 count)
IL_3AE1: brfalse => Label285
IL_3AE6: ldarg.2
IL_3AE7: ldstr "CannotGiveToPackAnimalAll"
IL_3AEC: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3AEE: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3AF3: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3AF8: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_3AFD: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3B02: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3B04: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3B09: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3B0E: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3B13: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3B18: ldstr ": "
IL_3B1D: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_3B22: ldstr "TooHeavy"
IL_3B27: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_3B2C: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_3B31: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_3B36: ldnull
IL_3B37: ldc.i4.4
IL_3B38: ldnull
IL_3B39: ldnull
IL_3B3A: ldc.r4 0
IL_3B3F: ldnull
IL_3B40: ldnull
IL_3B41: ldc.i4.1
IL_3B42: ldc.i4.0
IL_3B43: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3B48: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3B4D: br => Label286
IL_3B52: Label285
IL_3B52: ldarg.2
IL_3B53: ldstr "GiveToPackAnimalAll"
IL_3B58: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3B5A: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3B5F: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3B64: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_3B69: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3B6E: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3B70: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3B75: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3B7A: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3B7F: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3B84: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_3B89: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3B8B: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3B90: ldftn System.Void
RimWorld.<>c__DisplayClass9_28::<AddHumanlikeOrders>b__39()
IL_3B96: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_3B9B: ldc.i4.5
IL_3B9C: ldnull
IL_3B9D: ldnull
IL_3B9E: ldc.r4 0
IL_3BA3: ldnull
IL_3BA4: ldnull
IL_3BA5: ldc.i4.1
IL_3BA6: ldc.i4.0
IL_3BA7: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3BAC: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3BAE: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3BB3: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_28::CS$<>8__locals27
IL_3BB8: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3BBD: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3BBF: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3BC4: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3BC9: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_3BCE: ldstr "ReservedBy"
IL_3BD3: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_3BD8: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3BDD: Label286
IL_3BDD: ldarg.2
IL_3BDE: ldstr "GiveToPackAnimalSome"
IL_3BE3: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3BE5: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3BEA: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3BEF: callvirt virtual System.String Verse.Thing::get_LabelNoCount()
IL_3BF4: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3BF9: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3BFB: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3C00: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3C05: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3C0A: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3C0F: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_3C14: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3C16: ldftn System.Void
RimWorld.<>c__DisplayClass9_29::<AddHumanlikeOrders>b__40()
IL_3C1C: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_3C21: ldc.i4.5
IL_3C22: ldnull
IL_3C23: ldnull
IL_3C24: ldc.r4 0
IL_3C29: ldnull
IL_3C2A: ldnull
IL_3C2B: ldc.i4.1
IL_3C2C: ldc.i4.0
IL_3C2D: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3C32: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3C34: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3C39: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_28::CS$<>8__locals27
IL_3C3E: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3C43: ldloc.s 97 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_29)
IL_3C45: ldfld RimWorld.<>c__DisplayClass9_28
RimWorld.<>c__DisplayClass9_29::CS$<>8__locals28
IL_3C4A: ldfld Verse.Thing RimWorld.<>c__DisplayClass9_28::item
IL_3C4F: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_3C54: ldstr "ReservedBy"
IL_3C59: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_3C5E: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3C63: Label274
IL_3C63: Label275
IL_3C63: Label276
IL_3C63: Label277
IL_3C63: Label278
IL_3C63: Label280
IL_3C63: Label282
IL_3C63: Label284
IL_3C63: ldloc.0
IL_3C64: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3C69: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_3C6E: callvirt System.Boolean Verse.Map::get_IsPlayerHome()
IL_3C73: brtrue => Label287
IL_3C78: ldloc.0
IL_3C79: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3C7E: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_3C83: ldfld Verse.ExitMapGrid Verse.Map::exitMapGrid
IL_3C88: callvirt System.Boolean Verse.ExitMapGrid::get_MapUsesExitGrid()
IL_3C8D: brfalse => Label288
IL_3C92: ldarg.0
IL_3C93: ldloc.0
IL_3C94: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3C99: call static RimWorld.TargetingParameters
RimWorld.TargetingParameters::ForRescue(Verse.Pawn p)
IL_3C9E: ldc.i4.1
IL_3C9F: ldnull
IL_3CA0: call static
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>
Verse.GenUI::TargetsAt(UnityEngine.Vector3 clickPos, RimWorld.TargetingParameters
clickParams, System.Boolean thingsOnly, RimWorld.ITargetingSource source)
IL_3CA5: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>::GetEnumerator()
IL_3CAA: stloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
IL_3CAC: br => Label289
IL_3CB1: Label300
IL_3CB1: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_3CB3: callvirt abstract virtual Verse.LocalTargetInfo
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>::get_Current()
IL_3CB8: stloc.s 98 (Verse.LocalTargetInfo)
IL_3CBA: newobj System.Void RimWorld.<>c__DisplayClass9_30::.ctor()
IL_3CBF: stloc.s 99 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_30)
IL_3CC1: ldloc.s 99 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_30)
IL_3CC3: ldloc.0
IL_3CC4: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_30::CS$<>8__locals29
IL_3CC9: ldloc.s 99 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_30)
IL_3CCB: ldloca.s 98 (Verse.LocalTargetInfo)
IL_3CCD: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_3CD2: castclass Verse.Pawn
IL_3CD7: stfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3CDC: ldloc.s 99 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_30)
IL_3CDE: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3CE3: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_3CE8: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_3CED: beq => Label290
IL_3CF2: ldloc.s 99 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_30)
IL_3CF4: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3CF9: callvirt System.Boolean Verse.Pawn::get_IsPrisonerOfColony()
IL_3CFE: brtrue => Label291
IL_3D03: ldloc.s 99 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_30)
IL_3D05: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3D0A: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_3D0F: call static System.Boolean
RimWorld.Planet.CaravanUtility::ShouldAutoCapture(Verse.Pawn p, RimWorld.Faction
caravanFaction)
IL_3D14: brfalse => Label292
IL_3D19: Label290
IL_3D19: Label291
IL_3D19: ldloc.s 99 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_30)
IL_3D1B: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_30::CS$<>8__locals29
IL_3D20: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3D25: ldloc.s 99 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_30)
IL_3D27: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3D2C: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_3D31: ldc.i4.3
IL_3D32: ldc.i4.3
IL_3D33: ldc.i4.0
IL_3D34: ldc.i4.0
IL_3D35: ldc.i4.0
IL_3D36: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_3D3B: brtrue => Label293
IL_3D40: ldarg.2
IL_3D41: ldstr "CannotCarryToExit"
IL_3D46: ldloc.s 99 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_30)
IL_3D48: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3D4D: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_3D52: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3D57: ldloc.s 99 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_30)
IL_3D59: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3D5E: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3D63: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3D68: ldstr ": "
IL_3D6D: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_3D72: ldstr "NoPath"
IL_3D77: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_3D7C: stloc.s 11 (Verse.TaggedString)
IL_3D7E: ldloca.s 11 (Verse.TaggedString)
IL_3D80: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_3D85: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_3D8A: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_3D8F: ldnull
IL_3D90: ldc.i4.4
IL_3D91: ldnull
IL_3D92: ldnull
IL_3D93: ldc.r4 0
IL_3D98: ldnull
IL_3D99: ldnull
IL_3D9A: ldc.i4.1
IL_3D9B: ldc.i4.0
IL_3D9C: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3DA1: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3DA6: br => Label294
IL_3DAB: Label293
IL_3DAB: newobj System.Void RimWorld.<>c__DisplayClass9_31::.ctor()
IL_3DB0: stloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3DB2: ldloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3DB4: ldloc.s 99 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_30)
IL_3DB6: stfld RimWorld.<>c__DisplayClass9_30
RimWorld.<>c__DisplayClass9_31::CS$<>8__locals30
IL_3DBB: ldloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3DBD: ldfld RimWorld.<>c__DisplayClass9_30
RimWorld.<>c__DisplayClass9_31::CS$<>8__locals30
IL_3DC2: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_30::CS$<>8__locals29
IL_3DC7: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3DCC: ldloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3DCE: ldflda Verse.IntVec3 RimWorld.<>c__DisplayClass9_31::exitSpot
IL_3DD3: ldc.i4.0
IL_3DD4: call static System.Boolean
RimWorld.RCellFinder::TryFindBestExitSpot(Verse.Pawn pawn, Verse.IntVec3& spot,
Verse.TraverseMode mode)
IL_3DD9: brtrue => Label295
IL_3DDE: ldarg.2
IL_3DDF: ldstr "CannotCarryToExit"
IL_3DE4: ldloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3DE6: ldfld RimWorld.<>c__DisplayClass9_30
RimWorld.<>c__DisplayClass9_31::CS$<>8__locals30
IL_3DEB: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3DF0: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_3DF5: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3DFA: ldloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3DFC: ldfld RimWorld.<>c__DisplayClass9_30
RimWorld.<>c__DisplayClass9_31::CS$<>8__locals30
IL_3E01: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3E06: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3E0B: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3E10: ldstr ": "
IL_3E15: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_3E1A: ldstr "NoPath"
IL_3E1F: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_3E24: stloc.s 11 (Verse.TaggedString)
IL_3E26: ldloca.s 11 (Verse.TaggedString)
IL_3E28: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_3E2D: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_3E32: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_3E37: ldnull
IL_3E38: ldc.i4.4
IL_3E39: ldnull
IL_3E3A: ldnull
IL_3E3B: ldc.r4 0
IL_3E40: ldnull
IL_3E41: ldnull
IL_3E42: ldc.i4.1
IL_3E43: ldc.i4.0
IL_3E44: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3E49: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3E4E: br => Label296
IL_3E53: Label295
IL_3E53: ldloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3E55: ldfld RimWorld.<>c__DisplayClass9_30
RimWorld.<>c__DisplayClass9_31::CS$<>8__locals30
IL_3E5A: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3E5F: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_3E64: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
IL_3E69: beq => Label297
IL_3E6E: ldloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3E70: ldfld RimWorld.<>c__DisplayClass9_30
RimWorld.<>c__DisplayClass9_31::CS$<>8__locals30
IL_3E75: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3E7A: callvirt System.Boolean Verse.Pawn::get_IsPrisonerOfColony()
IL_3E7F: brtrue => Label298
IL_3E84: ldstr "CarryToExitAndCapture"
IL_3E89: ldloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3E8B: ldfld RimWorld.<>c__DisplayClass9_30
RimWorld.<>c__DisplayClass9_31::CS$<>8__locals30
IL_3E90: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3E95: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_3E9A: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3E9F: ldloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3EA1: ldfld RimWorld.<>c__DisplayClass9_30
RimWorld.<>c__DisplayClass9_31::CS$<>8__locals30
IL_3EA6: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3EAB: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3EB0: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3EB5: br => Label299
IL_3EBA: Label297
IL_3EBA: Label298
IL_3EBA: ldstr "CarryToExit"
IL_3EBF: ldloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3EC1: ldfld RimWorld.<>c__DisplayClass9_30
RimWorld.<>c__DisplayClass9_31::CS$<>8__locals30
IL_3EC6: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3ECB: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_3ED0: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3ED5: ldloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3ED7: ldfld RimWorld.<>c__DisplayClass9_30
RimWorld.<>c__DisplayClass9_31::CS$<>8__locals30
IL_3EDC: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_30::p
IL_3EE1: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_3EE6: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_3EEB: Label299
IL_3EEB: stloc.s 101 (Verse.TaggedString)
IL_3EED: ldarg.2
IL_3EEE: ldloc.s 101 (Verse.TaggedString)
IL_3EF0: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_3EF5: ldloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3EF7: ldftn System.Void
RimWorld.<>c__DisplayClass9_31::<AddHumanlikeOrders>b__42()
IL_3EFD: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_3F02: ldc.i4.5
IL_3F03: ldnull
IL_3F04: ldnull
IL_3F05: ldc.r4 0
IL_3F0A: ldnull
IL_3F0B: ldnull
IL_3F0C: ldc.i4.1
IL_3F0D: ldc.i4.0
IL_3F0E: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_3F13: ldloc.s 100 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_31)
IL_3F15: ldfld RimWorld.<>c__DisplayClass9_30
RimWorld.<>c__DisplayClass9_31::CS$<>8__locals30
IL_3F1A: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_30::CS$<>8__locals29
IL_3F1F: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3F24: ldloc.s 98 (Verse.LocalTargetInfo)
IL_3F26: ldstr "ReservedBy"
IL_3F2B: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_3F30: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_3F35: Label289
IL_3F35: Label292
IL_3F35: Label294
IL_3F35: Label296
IL_3F35: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_3F37: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_3F3C: brtrue => Label300
IL_3F41: leave => Label301
IL_3F46: leave => (autogenerated)
} // end try
.finally
{
IL_3F4B: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_3F4D: brfalse => Label302
IL_3F52: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_3F54: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_3F59: Label302
IL_3F59: endfinally
IL_3F5A: leave => (autogenerated)
} // end handler
IL_3F5B: Label287
IL_3F5B: Label288
IL_3F5B: Label301
IL_3F5B: ldloc.0
IL_3F5C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3F61: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
IL_3F66: brfalse => Label303
IL_3F6B: ldloc.0
IL_3F6C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3F71: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
IL_3F76: callvirt Verse.ThingWithComps Verse.Pawn_EquipmentTracker::get_Primary()
IL_3F7B: brfalse => Label304
IL_3F80: ldarg.0
IL_3F81: ldloc.0
IL_3F82: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3F87: call static RimWorld.TargetingParameters
RimWorld.TargetingParameters::ForSelf(Verse.Pawn p)
IL_3F8C: ldc.i4.1
IL_3F8D: ldnull
IL_3F8E: call static
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>
Verse.GenUI::TargetsAt(UnityEngine.Vector3 clickPos, RimWorld.TargetingParameters
clickParams, System.Boolean thingsOnly, RimWorld.ITargetingSource source)
IL_3F93: call static System.Boolean
System.Linq.Enumerable::Any(System.Collections.Generic.IEnumerable`1<Verse.LocalTar
getInfo> source)
IL_3F98: brfalse => Label305
IL_3F9D: ldloc.0
IL_3F9E: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3FA3: call static System.Boolean
RimWorld.QuestUtility::IsQuestLodger(Verse.Pawn p)
IL_3FA8: brfalse => Label306
IL_3FAD: ldloc.0
IL_3FAE: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3FB3: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
IL_3FB8: callvirt Verse.ThingWithComps Verse.Pawn_EquipmentTracker::get_Primary()
IL_3FBD: ldloc.0
IL_3FBE: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3FC3: call static System.Boolean
RimWorld.EquipmentUtility::QuestLodgerCanUnequip(Verse.Thing thing, Verse.Pawn
pawn)
IL_3FC8: brtrue => Label307
IL_3FCD: ldarg.2
IL_3FCE: ldstr "CannotDrop"
IL_3FD3: ldloc.0
IL_3FD4: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3FD9: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
IL_3FDE: callvirt Verse.ThingWithComps Verse.Pawn_EquipmentTracker::get_Primary()
IL_3FE3: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_3FE8: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_3FED: ldloc.0
IL_3FEE: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_3FF3: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
IL_3FF8: callvirt Verse.ThingWithComps Verse.Pawn_EquipmentTracker::get_Primary()
IL_3FFD: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_4002: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_4007: ldstr ": "
IL_400C: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_4011: ldstr "QuestRelated"
IL_4016: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_401B: stloc.s 11 (Verse.TaggedString)
IL_401D: ldloca.s 11 (Verse.TaggedString)
IL_401F: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_4024: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_4029: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_402E: ldnull
IL_402F: ldc.i4.4
IL_4030: ldnull
IL_4031: ldnull
IL_4032: ldc.r4 0
IL_4037: ldnull
IL_4038: ldnull
IL_4039: ldc.i4.1
IL_403A: ldc.i4.0
IL_403B: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_4040: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_4045: br => Label308
IL_404A: Label306
IL_404A: Label307
IL_404A: ldloc.0
IL_404B: ldftn System.Void
RimWorld.<>c__DisplayClass9_0::<AddHumanlikeOrders>b__43()
IL_4051: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_4056: stloc.s 102 (System.Action)
IL_4058: ldarg.2
IL_4059: ldstr "Drop"
IL_405E: ldloc.0
IL_405F: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_4064: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
IL_4069: callvirt Verse.ThingWithComps Verse.Pawn_EquipmentTracker::get_Primary()
IL_406E: callvirt abstract virtual System.String Verse.Entity::get_Label()
IL_4073: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_4078: ldloc.0
IL_4079: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_407E: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
IL_4083: callvirt Verse.ThingWithComps Verse.Pawn_EquipmentTracker::get_Primary()
IL_4088: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_408D: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1, Verse.NamedArgument arg2)
IL_4092: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_4097: ldloc.s 102 (System.Action)
IL_4099: ldc.i4.4
IL_409A: ldnull
IL_409B: ldloc.0
IL_409C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_40A1: ldc.r4 0
IL_40A6: ldnull
IL_40A7: ldnull
IL_40A8: ldc.i4.1
IL_40A9: ldc.i4.0
IL_40AA: newobj System.Void Verse.FloatMenuOption::.ctor(System.String label,
System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_40AF: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_40B4: Label303
IL_40B4: Label304
IL_40B4: Label305
IL_40B4: Label308
IL_40B4: ldarg.0
IL_40B5: call static RimWorld.TargetingParameters
RimWorld.TargetingParameters::ForTrade()
IL_40BA: ldc.i4.1
IL_40BB: ldnull
IL_40BC: call static
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>
Verse.GenUI::TargetsAt(UnityEngine.Vector3 clickPos, RimWorld.TargetingParameters
clickParams, System.Boolean thingsOnly, RimWorld.ITargetingSource source)
IL_40C1: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>::GetEnumerator()
IL_40C6: stloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
IL_40C8: br => Label309
IL_40CD: Label317
IL_40CD: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_40CF: callvirt abstract virtual Verse.LocalTargetInfo
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>::get_Current()
IL_40D4: stloc.s 103 (Verse.LocalTargetInfo)
IL_40D6: ldloc.0
IL_40D7: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_40DC: ldloc.s 103 (Verse.LocalTargetInfo)
IL_40DE: ldc.i4.1
IL_40DF: ldc.i4.3
IL_40E0: ldc.i4.0
IL_40E1: ldc.i4.0
IL_40E2: ldc.i4.0
IL_40E3: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_40E8: brtrue => Label310
IL_40ED: ldarg.2
IL_40EE: ldstr "CannotTrade"
IL_40F3: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_40F8: ldstr ": "
IL_40FD: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_4102: ldstr "NoPath"
IL_4107: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_410C: stloc.s 11 (Verse.TaggedString)
IL_410E: ldloca.s 11 (Verse.TaggedString)
IL_4110: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_4115: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_411A: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_411F: ldnull
IL_4120: ldc.i4.4
IL_4121: ldnull
IL_4122: ldnull
IL_4123: ldc.r4 0
IL_4128: ldnull
IL_4129: ldnull
IL_412A: ldc.i4.1
IL_412B: ldc.i4.0
IL_412C: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_4131: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_4136: br => Label311
IL_413B: Label310
IL_413B: ldloc.0
IL_413C: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_4141: ldfld RimWorld.Pawn_SkillTracker Verse.Pawn::skills
IL_4146: ldsfld RimWorld.SkillDef RimWorld.SkillDefOf::Social
IL_414B: callvirt RimWorld.SkillRecord
RimWorld.Pawn_SkillTracker::GetSkill(RimWorld.SkillDef skillDef)
IL_4150: callvirt System.Boolean
RimWorld.SkillRecord::get_TotallyDisabled()
IL_4155: brfalse => Label312
IL_415A: ldarg.2
IL_415B: ldstr "CannotPrioritizeWorkTypeDisabled"
IL_4160: ldsfld RimWorld.SkillDef RimWorld.SkillDefOf::Social
IL_4165: callvirt virtual Verse.TaggedString Verse.Def::get_LabelCap()
IL_416A: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.TaggedString value)
IL_416F: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_4174: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_4179: ldnull
IL_417A: ldc.i4.4
IL_417B: ldnull
IL_417C: ldnull
IL_417D: ldc.r4 0
IL_4182: ldnull
IL_4183: ldnull
IL_4184: ldc.i4.1
IL_4185: ldc.i4.0
IL_4186: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_418B: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_4190: br => Label313
IL_4195: Label312
IL_4195: ldloc.0
IL_4196: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_419B: ldloca.s 103 (Verse.LocalTargetInfo)
IL_419D: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_41A2: castclass Verse.Pawn
IL_41A7: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_41AC: ldloca.s 103 (Verse.LocalTargetInfo)
IL_41AE: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_41B3: castclass Verse.Pawn
IL_41B8: callvirt virtual RimWorld.TraderKindDef
Verse.Pawn::get_TraderKind()
IL_41BD: call static Verse.AcceptanceReport
RimWorld.FactionUtility::CanTradeWith(Verse.Pawn p, RimWorld.Faction faction,
RimWorld.TraderKindDef traderKind)
IL_41C2: stloc.s 104 (Verse.AcceptanceReport)
IL_41C4: ldloca.s 104 (Verse.AcceptanceReport)
IL_41C6: call System.Boolean Verse.AcceptanceReport::get_Accepted()
IL_41CB: brtrue => Label314
IL_41D0: ldarg.2
IL_41D1: ldstr "CannotTrade"
IL_41D6: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_41DB: ldstr ": "
IL_41E0: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_41E5: ldstr "MissingTitleAbility"
IL_41EA: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_41EF: stloc.s 11 (Verse.TaggedString)
IL_41F1: ldloca.s 11 (Verse.TaggedString)
IL_41F3: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_41F8: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_41FD: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_4202: ldnull
IL_4203: ldc.i4.4
IL_4204: ldnull
IL_4205: ldnull
IL_4206: ldc.r4 0
IL_420B: ldnull
IL_420C: ldnull
IL_420D: ldc.i4.1
IL_420E: ldc.i4.0
IL_420F: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_4214: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_4219: br => Label315
IL_421E: Label314
IL_421E: newobj System.Void RimWorld.<>c__DisplayClass9_32::.ctor()
IL_4223: stloc.s 105 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_32)
IL_4225: ldloc.s 105 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_32)
IL_4227: ldloc.0
IL_4228: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_32::CS$<>8__locals31
IL_422D: ldloc.s 105 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_32)
IL_422F: ldloca.s 103 (Verse.LocalTargetInfo)
IL_4231: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_4236: castclass Verse.Pawn
IL_423B: stfld Verse.Pawn RimWorld.<>c__DisplayClass9_32::pTarg
IL_4240: ldloc.s 105 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_32)
IL_4242: ldftn System.Void
RimWorld.<>c__DisplayClass9_32::<AddHumanlikeOrders>b__44()
IL_4248: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_424D: stloc.s 106 (System.Action)
IL_424F: ldstr ""
IL_4254: stloc.s 107 (System.String)
IL_4256: ldloc.s 105 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_32)
IL_4258: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_32::pTarg
IL_425D: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_4262: brfalse => Label316
IL_4267: ldstr " ("
IL_426C: ldloc.s 105 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_32)
IL_426E: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_32::pTarg
IL_4273: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
IL_4278: callvirt System.String RimWorld.Faction::get_Name()
IL_427D: ldstr ")"
IL_4282: call static System.String System.String::Concat(System.String
str0, System.String str1, System.String str2)
IL_4287: stloc.s 107 (System.String)
IL_4289: Label316
IL_4289: ldarg.2
IL_428A: ldstr "TradeWith"
IL_428F: ldloc.s 105 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_32)
IL_4291: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_32::pTarg
IL_4296: callvirt virtual System.String Verse.Entity::get_LabelShort()
IL_429B: ldstr ", "
IL_42A0: ldloc.s 105 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_32)
IL_42A2: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_32::pTarg
IL_42A7: callvirt virtual RimWorld.TraderKindDef
Verse.Pawn::get_TraderKind()
IL_42AC: ldfld System.String Verse.Def::label
IL_42B1: call static System.String System.String::Concat(System.String
str0, System.String str1, System.String str2)
IL_42B6: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(System.String value)
IL_42BB: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_42C0: ldloc.s 107 (System.String)
IL_42C2: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_42C7: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_42CC: ldloc.s 106 (System.Action)
IL_42CE: ldc.i4.7
IL_42CF: ldnull
IL_42D0: ldloca.s 103 (Verse.LocalTargetInfo)
IL_42D2: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_42D7: ldc.r4 0
IL_42DC: ldnull
IL_42DD: ldnull
IL_42DE: ldc.i4.1
IL_42DF: ldc.i4.0
IL_42E0: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_42E5: ldloc.s 105 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_32)
IL_42E7: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_32::CS$<>8__locals31
IL_42EC: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_42F1: ldloc.s 105 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_32)
IL_42F3: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_32::pTarg
IL_42F8: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_42FD: ldstr "ReservedBy"
IL_4302: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_4307: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_430C: Label309
IL_430C: Label311
IL_430C: Label313
IL_430C: Label315
IL_430C: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_430E: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_4313: brtrue => Label317
IL_4318: leave => Label318
IL_431D: leave => (autogenerated)
} // end try
.finally
{
IL_4322: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_4324: brfalse => Label319
IL_4329: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_432B: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_4330: Label319
IL_4330: endfinally
IL_4331: leave => (autogenerated)
} // end handler
IL_4332: Label318
IL_4332: ldarg.0
IL_4333: ldloc.0
IL_4334: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_4339: call static RimWorld.TargetingParameters
RimWorld.TargetingParameters::ForOpen(Verse.Pawn p)
IL_433E: ldc.i4.1
IL_433F: ldnull
IL_4340: call static
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>
Verse.GenUI::TargetsAt(UnityEngine.Vector3 clickPos, RimWorld.TargetingParameters
clickParams, System.Boolean thingsOnly, RimWorld.ITargetingSource source)
IL_4345: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>
System.Collections.Generic.IEnumerable`1<Verse.LocalTargetInfo>::GetEnumerator()
IL_434A: stloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
.try
{
IL_434C: br => Label320
IL_4351: Label326
IL_4351: newobj System.Void RimWorld.<>c__DisplayClass9_33::.ctor()
IL_4356: stloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_4358: ldloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_435A: ldloc.0
IL_435B: stfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_33::CS$<>8__locals32
IL_4360: ldloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_4362: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_4364: callvirt abstract virtual Verse.LocalTargetInfo
System.Collections.Generic.IEnumerator`1<Verse.LocalTargetInfo>::get_Current()
IL_4369: stfld Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_33::casket
IL_436E: ldloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_4370: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_33::CS$<>8__locals32
IL_4375: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_437A: ldloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_437C: ldfld Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_33::casket
IL_4381: ldc.i4.1
IL_4382: ldc.i4.3
IL_4383: ldc.i4.0
IL_4384: ldc.i4.0
IL_4385: ldc.i4.0
IL_4386: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_438B: brtrue => Label321
IL_4390: ldarg.2
IL_4391: ldstr "CannotOpen"
IL_4396: ldloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_4398: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_33::casket
IL_439D: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_43A2: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_43A7: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_43AC: ldstr ": "
IL_43B1: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_43B6: ldstr "NoPath"
IL_43BB: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_43C0: stloc.s 11 (Verse.TaggedString)
IL_43C2: ldloca.s 11 (Verse.TaggedString)
IL_43C4: call Verse.TaggedString Verse.TaggedString::CapitalizeFirst()
IL_43C9: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_43CE: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_43D3: ldnull
IL_43D4: ldc.i4.4
IL_43D5: ldnull
IL_43D6: ldnull
IL_43D7: ldc.r4 0
IL_43DC: ldnull
IL_43DD: ldnull
IL_43DE: ldc.i4.1
IL_43DF: ldc.i4.0
IL_43E0: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_43E5: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_43EA: br => Label322
IL_43EF: Label321
IL_43EF: ldloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_43F1: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_33::CS$<>8__locals32
IL_43F6: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_43FB: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
IL_4400: ldfld Verse.PawnCapacitiesHandler
Verse.Pawn_HealthTracker::capacities
IL_4405: ldsfld Verse.PawnCapacityDef
RimWorld.PawnCapacityDefOf::Manipulation
IL_440A: callvirt System.Boolean
Verse.PawnCapacitiesHandler::CapableOf(Verse.PawnCapacityDef capacity)
IL_440F: brtrue => Label323
IL_4414: ldarg.2
IL_4415: ldstr "CannotOpen"
IL_441A: ldloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_441C: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_33::casket
IL_4421: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_4426: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_442B: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_4430: ldstr ": "
IL_4435: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, System.String t2)
IL_443A: ldstr "Incapable"
IL_443F: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_4444: call static Verse.TaggedString
Verse.TaggedString::op_Addition(Verse.TaggedString t1, Verse.TaggedString t2)
IL_4449: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_444E: ldnull
IL_444F: ldc.i4.4
IL_4450: ldnull
IL_4451: ldnull
IL_4452: ldc.r4 0
IL_4457: ldnull
IL_4458: ldnull
IL_4459: ldc.i4.1
IL_445A: ldc.i4.0
IL_445B: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_4460: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_4465: br => Label324
IL_446A: Label323
IL_446A: ldloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_446C: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_33::casket
IL_4471: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_4476: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_447B: ldfld Verse.DesignationManager Verse.Map::designationManager
IL_4480: ldloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_4482: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_33::casket
IL_4487: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_448C: ldsfld Verse.DesignationDef RimWorld.DesignationDefOf::Open
IL_4491: callvirt Verse.Designation
Verse.DesignationManager::DesignationOn(Verse.Thing t, Verse.DesignationDef def)
IL_4496: brtrue => Label325
IL_449B: ldarg.2
IL_449C: ldstr "Open"
IL_44A1: ldloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_44A3: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_33::casket
IL_44A8: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_44AD: call static Verse.NamedArgument
Verse.NamedArgument::op_Implicit(Verse.Thing value)
IL_44B2: call static Verse.TaggedString
Verse.TranslatorFormattedStringExtensions::Translate(System.String key,
Verse.NamedArgument arg1)
IL_44B7: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_44BC: ldloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_44BE: ldftn System.Void
RimWorld.<>c__DisplayClass9_33::<AddHumanlikeOrders>b__45()
IL_44C4: newobj System.Void System.Action::.ctor(System.Object object,
System.IntPtr method)
IL_44C9: ldc.i4.5
IL_44CA: ldnull
IL_44CB: ldnull
IL_44CC: ldc.r4 0
IL_44D1: ldnull
IL_44D2: ldnull
IL_44D3: ldc.i4.1
IL_44D4: ldc.i4.0
IL_44D5: newobj System.Void Verse.FloatMenuOption::.ctor(System.String
label, System.Action action, Verse.MenuOptionPriority priority,
System.Action`1<UnityEngine.Rect> mouseoverGuiAction, Verse.Thing
revalidateClickTarget, System.Single extraPartWidth,
System.Func`2<UnityEngine.Rect, System.Boolean> extraPartOnGUI,
RimWorld.Planet.WorldObject revalidateWorldClickTarget, System.Boolean
playSelectionSound, System.Int32 orderInPriority)
IL_44DA: ldloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_44DC: ldfld RimWorld.<>c__DisplayClass9_0
RimWorld.<>c__DisplayClass9_33::CS$<>8__locals32
IL_44E1: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_44E6: ldloc.s 108 (RimWorld.FloatMenuMakerMap+<>c__DisplayClass9_33)
IL_44E8: ldflda Verse.LocalTargetInfo
RimWorld.<>c__DisplayClass9_33::casket
IL_44ED: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_44F2: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_44F7: ldstr "ReservedBy"
IL_44FC: call static Verse.FloatMenuOption
RimWorld.FloatMenuUtility::DecoratePrioritizedTask(Verse.FloatMenuOption option,
Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String reservedText)
IL_4501: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_4506: Label320
IL_4506: Label322
IL_4506: Label324
IL_4506: Label325
IL_4506: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_4508: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_450D: brtrue => Label326
IL_4512: leave => Label327
IL_4517: leave => (autogenerated)
} // end try
.finally
{
IL_451C: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_451E: brfalse => Label328
IL_4523: ldloc.s 8
(System.Collections.Generic.IEnumerator`1[Verse.LocalTargetInfo])
IL_4525: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_452A: Label328
IL_452A: endfinally
IL_452B: leave => (autogenerated)
} // end handler
IL_452C: Label327
IL_452C: ldloc.0
IL_452D: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_4532: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_4537: ldfld Verse.ThingGrid Verse.Map::thingGrid
IL_453C: ldloc.1
IL_453D: callvirt System.Collections.Generic.IEnumerable`1<Verse.Thing>
Verse.ThingGrid::ThingsAt(Verse.IntVec3 c)
IL_4542: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.Thing>
System.Collections.Generic.IEnumerable`1<Verse.Thing>::GetEnumerator()
IL_4547: stloc.s 57 (System.Collections.Generic.IEnumerator`1[Verse.Thing])
.try
{
IL_4549: br => Label329
IL_454E: Label334
IL_454E: ldloc.s 57
(System.Collections.Generic.IEnumerator`1[Verse.Thing])
IL_4550: callvirt abstract virtual Verse.Thing
System.Collections.Generic.IEnumerator`1<Verse.Thing>::get_Current()
IL_4555: ldloc.0
IL_4556: ldfld Verse.Pawn RimWorld.<>c__DisplayClass9_0::pawn
IL_455B: callvirt virtual
System.Collections.Generic.IEnumerable`1<Verse.FloatMenuOption>
Verse.Thing::GetFloatMenuOptions(Verse.Pawn selPawn)
IL_4560: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.FloatMenuOption>
System.Collections.Generic.IEnumerable`1<Verse.FloatMenuOption>::GetEnumerator()
IL_4565: stloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
.try
{
IL_4567: br => Label330
IL_456C: Label331
IL_456C: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
IL_456E: callvirt abstract virtual Verse.FloatMenuOption
System.Collections.Generic.IEnumerator`1<Verse.FloatMenuOption>::get_Current()
IL_4573: stloc.s 109 (Verse.FloatMenuOption)
IL_4575: ldarg.2
IL_4576: ldloc.s 109 (Verse.FloatMenuOption)
IL_4578: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.FloatMenuOption>::Add(Verse.FloatMenuOption
item)
IL_457D: Label330
IL_457D: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
IL_457F: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_4584: brtrue => Label331
IL_4589: leave => Label332
IL_458E: leave => (autogenerated)
} // end try
.finally
{
IL_4593: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
IL_4595: brfalse => Label333
IL_459A: ldloc.s 6
(System.Collections.Generic.IEnumerator`1[Verse.FloatMenuOption])
IL_459C: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_45A1: Label333
IL_45A1: endfinally
IL_45A2: leave => (autogenerated)
} // end handler
IL_45A3: Label329
IL_45A3: Label332
IL_45A3: ldloc.s 57
(System.Collections.Generic.IEnumerator`1[Verse.Thing])
IL_45A5: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_45AA: brtrue => Label334
IL_45AF: leave => Label335
IL_45B4: leave => (autogenerated)
} // end try
.finally
{
IL_45B9: ldloc.s 57
(System.Collections.Generic.IEnumerator`1[Verse.Thing])
IL_45BB: brfalse => Label336
IL_45C0: ldloc.s 57
(System.Collections.Generic.IEnumerator`1[Verse.Thing])
IL_45C2: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_45C7: Label336
IL_45C7: endfinally
IL_45C8: leave => (autogenerated)
} // end handler
IL_45C9: // end original
IL_45C9: Label335
IL_45C9: ldarg 0
IL_45CD: ldarg 1
IL_45D1: ldarg 2
IL_45D5: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.FloatMenuMakerMap_AddHumanLikeOrders_Postfix
::AddHumanlikeOrders(UnityEngine.Vector3 clickPos, Verse.Pawn pawn,
System.Collections.Generic.List`1<Verse.FloatMenuOption> opts)
IL_45DA: ret
DONE

### Patch: System.Void RimWorld.Verb_ShootOneUse::SelfConsume()


### Replacement: static System.Void
RimWorld.Verb_ShootOneUse::SelfConsume_Patch1(RimWorld.Verb_ShootOneUse this)
IL_0000: // start original
IL_0000: ldarg.0
IL_0001: call Verse.ThingWithComps Verse.Verb::get_EquipmentSource()
IL_0006: brfalse => Label0
IL_000B: ldarg.0
IL_000C: call Verse.ThingWithComps Verse.Verb::get_EquipmentSource()
IL_0011: callvirt System.Boolean Verse.Thing::get_Destroyed()
IL_0016: brtrue => Label1
IL_001B: ldarg.0
IL_001C: call Verse.ThingWithComps Verse.Verb::get_EquipmentSource()
IL_0021: ldc.i4.0
IL_0022: callvirt virtual System.Void Verse.Thing::Destroy(Verse.DestroyMode
mode)
IL_0027: // end original
IL_0027: Label0
IL_0027: Label1
IL_0027: ldarg.0
IL_0028: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.Verb_ShootOneUse_SelfConsume_Postfix::SelfCo
nsume(RimWorld.Verb_ShootOneUse __instance)
IL_002D: ret
DONE

### Patch: virtual System.Boolean RimWorld.Verb_MeleeAttack::TryCastShot()


### Replacement: static System.Boolean
RimWorld.Verb_MeleeAttack::TryCastShot_Patch1(RimWorld.Verb_MeleeAttack this)
IL_0000: Local var 0: System.Boolean
IL_0000: Local var 1: Verse.Pawn
IL_0000: Local var 2: Verse.Thing
IL_0000: Local var 3: Verse.Pawn
IL_0000: Local var 4: Verse.Map
IL_0000: Local var 5: UnityEngine.Vector3
IL_0000: Local var 6: Verse.SoundDef
IL_0000: Local var 7: Verse.BattleLogEntry_MeleeCombat
IL_0000: Local var 8: Verse.DamageWorker/DamageResult
IL_0000: Local var 9: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 9 (System.Boolean)
IL_0009: // start original
IL_0009: ldarg.0
IL_000A: callvirt virtual Verse.Pawn Verse.Verb::get_CasterPawn()
IL_000F: stloc.1
IL_0010: ldloc.1
IL_0011: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_0016: brtrue => Label0
IL_001B: ldc.i4.0
IL_001C: br => Label34
IL_0021: Label0
IL_0021: ldloc.1
IL_0022: ldfld Verse.Pawn_StanceTracker Verse.Pawn::stances
IL_0027: callvirt System.Boolean Verse.Pawn_StanceTracker::get_FullBodyBusy()
IL_002C: brfalse => Label1
IL_0031: ldc.i4.0
IL_0032: br => Label35
IL_0037: Label1
IL_0037: ldarg.0
IL_0038: ldflda Verse.LocalTargetInfo Verse.Verb::currentTarget
IL_003D: call Verse.Thing Verse.LocalTargetInfo::get_Thing()
IL_0042: stloc.2
IL_0043: ldarg.0
IL_0044: ldloc.2
IL_0045: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_004A: callvirt virtual System.Boolean
Verse.Verb::CanHitTarget(Verse.LocalTargetInfo targ)
IL_004F: brtrue => Label2
IL_0054: ldc.i4.4
IL_0055: newarr System.Object
IL_005A: dup
IL_005B: ldc.i4.0
IL_005C: ldloc.1
IL_005D: stelem.ref
IL_005E: dup
IL_005F: ldc.i4.1
IL_0060: ldstr " meleed "
IL_0065: stelem.ref
IL_0066: dup
IL_0067: ldc.i4.2
IL_0068: ldloc.2
IL_0069: stelem.ref
IL_006A: dup
IL_006B: ldc.i4.3
IL_006C: ldstr " from out of melee position."
IL_0071: stelem.ref
IL_0072: call static System.String System.String::Concat(System.Object[]
args)
IL_0077: call static System.Void Verse.Log::Warning(System.String text)
IL_007C: Label2
IL_007C: ldloc.1
IL_007D: ldfld Verse.Pawn_RotationTracker Verse.Pawn::rotationTracker
IL_0082: ldloc.2
IL_0083: callvirt virtual UnityEngine.Vector3 Verse.Thing::get_DrawPos()
IL_0088: callvirt System.Void
Verse.Pawn_RotationTracker::Face(UnityEngine.Vector3 p)
IL_008D: ldarg.0
IL_008E: ldarg.0
IL_008F: ldfld Verse.LocalTargetInfo Verse.Verb::currentTarget
IL_0094: call System.Boolean
RimWorld.Verb_MeleeAttack::IsTargetImmobile(Verse.LocalTargetInfo target)
IL_0099: brtrue => Label3
IL_009E: ldloc.1
IL_009F: ldfld RimWorld.Pawn_SkillTracker Verse.Pawn::skills
IL_00A4: brfalse => Label4
IL_00A9: ldloc.1
IL_00AA: ldfld RimWorld.Pawn_SkillTracker Verse.Pawn::skills
IL_00AF: ldsfld RimWorld.SkillDef RimWorld.SkillDefOf::Melee
IL_00B4: ldc.r4 200
IL_00B9: ldarg.0
IL_00BA: ldfld Verse.VerbProperties Verse.Verb::verbProps
IL_00BF: ldarg.0
IL_00C0: ldloc.1
IL_00C1: callvirt System.Single
Verse.VerbProperties::AdjustedFullCycleTime(Verse.Verb ownerVerb, Verse.Pawn
attacker)
IL_00C6: mul
IL_00C7: ldc.i4.0
IL_00C8: callvirt System.Void RimWorld.Pawn_SkillTracker::Learn(RimWorld.SkillDef
sDef, System.Single xp, System.Boolean direct)
IL_00CD: Label3
IL_00CD: Label4
IL_00CD: ldloc.2
IL_00CE: isinst Verse.Pawn
IL_00D3: stloc.3
IL_00D4: ldloc.3
IL_00D5: brfalse => Label5
IL_00DA: ldloc.3
IL_00DB: callvirt System.Boolean Verse.Pawn::get_Dead()
IL_00E0: brtrue => Label6
IL_00E5: ldloc.1
IL_00E6: callvirt Verse.MentalStateDef Verse.Pawn::get_MentalStateDef()
IL_00EB: ldsfld Verse.MentalStateDef RimWorld.MentalStateDefOf::SocialFighting
IL_00F0: bne.un => Label7
IL_00F5: ldloc.3
IL_00F6: callvirt Verse.MentalStateDef Verse.Pawn::get_MentalStateDef()
IL_00FB: ldsfld Verse.MentalStateDef RimWorld.MentalStateDefOf::SocialFighting
IL_0100: beq => Label8
IL_0105: Label7
IL_0105: ldloc.1
IL_0106: ldfld RimWorld.Pawn_StoryTracker Verse.Pawn::story
IL_010B: brfalse => Label9
IL_0110: ldloc.1
IL_0111: ldfld RimWorld.Pawn_StoryTracker Verse.Pawn::story
IL_0116: ldfld RimWorld.TraitSet RimWorld.Pawn_StoryTracker::traits
IL_011B: ldloc.3
IL_011C: callvirt System.Boolean
RimWorld.TraitSet::DisableHostilityFrom(Verse.Pawn p)
IL_0121: brtrue => Label10
IL_0126: Label9
IL_0126: ldloc.3
IL_0127: ldfld Verse.AI.Pawn_MindState Verse.Pawn::mindState
IL_012C: ldloc.1
IL_012D: stfld Verse.Pawn Verse.AI.Pawn_MindState::meleeThreat
IL_0132: ldloc.3
IL_0133: ldfld Verse.AI.Pawn_MindState Verse.Pawn::mindState
IL_0138: call static Verse.TickManager Verse.Find::get_TickManager()
IL_013D: callvirt System.Int32 Verse.TickManager::get_TicksGame()
IL_0142: stfld System.Int32 Verse.AI.Pawn_MindState::lastMeleeThreatHarmTick
IL_0147: Label5
IL_0147: Label6
IL_0147: Label8
IL_0147: Label10
IL_0147: ldloc.2
IL_0148: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_014D: stloc.s 4 (Verse.Map)
IL_014F: ldloc.2
IL_0150: callvirt virtual UnityEngine.Vector3 Verse.Thing::get_DrawPos()
IL_0155: stloc.s 5 (UnityEngine.Vector3)
IL_0157: ldarg.0
IL_0158: ldloc.2
IL_0159: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_015E: call System.Single
RimWorld.Verb_MeleeAttack::GetNonMissChance(Verse.LocalTargetInfo target)
IL_0163: call static System.Boolean Verse.Rand::Chance(System.Single chance)
IL_0168: brfalse => Label11
IL_016D: ldarg.0
IL_016E: ldloc.2
IL_016F: call static Verse.LocalTargetInfo
Verse.LocalTargetInfo::op_Implicit(Verse.Thing t)
IL_0174: call System.Single
RimWorld.Verb_MeleeAttack::GetDodgeChance(Verse.LocalTargetInfo target)
IL_0179: call static System.Boolean Verse.Rand::Chance(System.Single chance)
IL_017E: brtrue => Label12
IL_0183: ldloc.2
IL_0184: ldfld Verse.ThingDef Verse.Thing::def
IL_0189: ldfld Verse.ThingCategory Verse.ThingDef::category
IL_018E: ldc.i4.3
IL_018F: bne.un => Label13
IL_0194: ldarg.0
IL_0195: call Verse.SoundDef RimWorld.Verb_MeleeAttack::SoundHitBuilding()
IL_019A: stloc.s 6 (Verse.SoundDef)
IL_019C: br => Label14
IL_01A1: Label13
IL_01A1: ldarg.0
IL_01A2: call Verse.SoundDef RimWorld.Verb_MeleeAttack::SoundHitPawn()
IL_01A7: stloc.s 6 (Verse.SoundDef)
IL_01A9: Label14
IL_01A9: ldarg.0
IL_01AA: ldfld Verse.VerbProperties Verse.Verb::verbProps
IL_01AF: ldfld Verse.ThingDef Verse.VerbProperties::impactMote
IL_01B4: brfalse => Label15
IL_01B9: ldloc.s 5 (UnityEngine.Vector3)
IL_01BB: ldloc.s 4 (Verse.Map)
IL_01BD: ldarg.0
IL_01BE: ldfld Verse.VerbProperties Verse.Verb::verbProps
IL_01C3: ldfld Verse.ThingDef Verse.VerbProperties::impactMote
IL_01C8: ldc.r4 1
IL_01CD: call static Verse.Mote
RimWorld.MoteMaker::MakeStaticMote(UnityEngine.Vector3 loc, Verse.Map map,
Verse.ThingDef moteDef, System.Single scale)
IL_01D2: pop
IL_01D3: Label15
IL_01D3: ldarg.0
IL_01D4: ldfld Verse.VerbProperties Verse.Verb::verbProps
IL_01D9: ldfld Verse.FleckDef Verse.VerbProperties::impactFleck
IL_01DE: brfalse => Label16
IL_01E3: ldloc.s 5 (UnityEngine.Vector3)
IL_01E5: ldloc.s 4 (Verse.Map)
IL_01E7: ldarg.0
IL_01E8: ldfld Verse.VerbProperties Verse.Verb::verbProps
IL_01ED: ldfld Verse.FleckDef Verse.VerbProperties::impactFleck
IL_01F2: ldc.r4 1
IL_01F7: call static System.Void
RimWorld.FleckMaker::Static(UnityEngine.Vector3 loc, Verse.Map map, Verse.FleckDef
fleckDef, System.Single scale)
IL_01FC: Label16
IL_01FC: ldarg.0
IL_01FD: ldsfld System.Func`2<Verse.ManeuverDef, Verse.RulePackDef>
RimWorld.<>c::<>9__1_2
IL_0202: dup
IL_0203: brtrue => Label17
IL_0208: pop
IL_0209: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_020E: ldftn Verse.RulePackDef
RimWorld.<>c::<TryCastShot>b__1_2(Verse.ManeuverDef maneuver)
IL_0214: newobj System.Void System.Func`2<Verse.ManeuverDef,
Verse.RulePackDef>::.ctor(System.Object object, System.IntPtr method)
IL_0219: dup
IL_021A: stsfld System.Func`2<Verse.ManeuverDef, Verse.RulePackDef>
RimWorld.<>c::<>9__1_2
IL_021F: Label17
IL_021F: ldc.i4.1
IL_0220: call Verse.BattleLogEntry_MeleeCombat
RimWorld.Verb_MeleeAttack::CreateCombatLog(System.Func`2<Verse.ManeuverDef,
Verse.RulePackDef> rulePackGetter, System.Boolean alwaysShow)
IL_0225: stloc.s 7 (Verse.BattleLogEntry_MeleeCombat)
IL_0227: ldc.i4.1
IL_0228: stloc.0
IL_0229: ldarg.0
IL_022A: ldarg.0
IL_022B: ldfld Verse.LocalTargetInfo Verse.Verb::currentTarget
IL_0230: callvirt abstract virtual Verse.DamageResult
RimWorld.Verb_MeleeAttack::ApplyMeleeDamageToTarget(Verse.LocalTargetInfo target)
IL_0235: stloc.s 8 (Verse.DamageWorker+DamageResult)
IL_0237: ldloc.3
IL_0238: brfalse => Label18
IL_023D: ldloc.s 8 (Verse.DamageWorker+DamageResult)
IL_023F: ldfld System.Single Verse.DamageResult::totalDamageDealt
IL_0244: ldc.r4 0
IL_0249: ble.un => Label19
IL_024E: ldarg.0
IL_024F: ldloc.3
IL_0250: ldloc.s 8 (Verse.DamageWorker+DamageResult)
IL_0252: ldfld System.Single Verse.DamageResult::totalDamageDealt
IL_0257: call System.Void
RimWorld.Verb_MeleeAttack::ApplyMeleeSlaveSuppression(Verse.Pawn targetPawn,
System.Single damageDealt)
IL_025C: Label18
IL_025C: Label19
IL_025C: ldloc.s 8 (Verse.DamageWorker+DamageResult)
IL_025E: ldfld System.Boolean Verse.DamageResult::stunned
IL_0263: brfalse => Label20
IL_0268: ldloc.s 8 (Verse.DamageWorker+DamageResult)
IL_026A: ldfld System.Collections.Generic.List`1<Verse.BodyPartRecord>
Verse.DamageResult::parts
IL_026F: call static System.Boolean
Verse.GenList::NullOrEmpty(System.Collections.Generic.IList`1<Verse.BodyPartRecord>
list)
IL_0274: brfalse => Label21
IL_0279: call static Verse.BattleLog Verse.Find::get_BattleLog()
IL_027E: ldloc.s 7 (Verse.BattleLogEntry_MeleeCombat)
IL_0280: callvirt System.Void Verse.BattleLog::RemoveEntry(Verse.LogEntry log)
IL_0285: br => Label22
IL_028A: Label20
IL_028A: Label21
IL_028A: ldloc.s 8 (Verse.DamageWorker+DamageResult)
IL_028C: ldloc.s 7 (Verse.BattleLogEntry_MeleeCombat)
IL_028E: callvirt System.Void
Verse.DamageResult::AssociateWithLog(Verse.LogEntry_DamageResult log)
IL_0293: ldloc.s 8 (Verse.DamageWorker+DamageResult)
IL_0295: ldfld System.Boolean Verse.DamageResult::deflected
IL_029A: brfalse => Label23
IL_029F: ldloc.s 7 (Verse.BattleLogEntry_MeleeCombat)
IL_02A1: ldarg.0
IL_02A2: ldfld Verse.ManeuverDef Verse.Verb::maneuver
IL_02A7: ldfld Verse.RulePackDef Verse.ManeuverDef::combatLogRulesDeflect
IL_02AC: callvirt System.Void
Verse.BattleLogEntry_MeleeCombat::set_RuleDef(Verse.RulePackDef value)
IL_02B1: ldloc.s 7 (Verse.BattleLogEntry_MeleeCombat)
IL_02B3: ldc.i4.0
IL_02B4: stfld System.Boolean
Verse.BattleLogEntry_MeleeCombat::alwaysShowInCompact
IL_02B9: br => Label24
IL_02BE: Label12
IL_02BE: ldc.i4.0
IL_02BF: stloc.0
IL_02C0: ldarg.0
IL_02C1: ldloc.2
IL_02C2: call Verse.SoundDef
RimWorld.Verb_MeleeAttack::SoundDodge(Verse.Thing target)
IL_02C7: stloc.s 6 (Verse.SoundDef)
IL_02C9: ldloc.s 5 (UnityEngine.Vector3)
IL_02CB: ldloc.s 4 (Verse.Map)
IL_02CD: ldstr "TextMote_Dodge"
IL_02D2: call static Verse.TaggedString
Verse.Translator::Translate(System.String key)
IL_02D7: call static System.String
Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
IL_02DC: ldc.r4 1.9
IL_02E1: call static System.Void
RimWorld.MoteMaker::ThrowText(UnityEngine.Vector3 loc, Verse.Map map, System.String
text, System.Single timeBeforeStartFadeout)
IL_02E6: ldarg.0
IL_02E7: ldsfld System.Func`2<Verse.ManeuverDef, Verse.RulePackDef>
RimWorld.<>c::<>9__1_0
IL_02EC: dup
IL_02ED: brtrue => Label25
IL_02F2: pop
IL_02F3: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_02F8: ldftn Verse.RulePackDef
RimWorld.<>c::<TryCastShot>b__1_0(Verse.ManeuverDef maneuver)
IL_02FE: newobj System.Void System.Func`2<Verse.ManeuverDef,
Verse.RulePackDef>::.ctor(System.Object object, System.IntPtr method)
IL_0303: dup
IL_0304: stsfld System.Func`2<Verse.ManeuverDef, Verse.RulePackDef>
RimWorld.<>c::<>9__1_0
IL_0309: Label25
IL_0309: ldc.i4.0
IL_030A: call Verse.BattleLogEntry_MeleeCombat
RimWorld.Verb_MeleeAttack::CreateCombatLog(System.Func`2<Verse.ManeuverDef,
Verse.RulePackDef> rulePackGetter, System.Boolean alwaysShow)
IL_030F: pop
IL_0310: br => Label26
IL_0315: Label11
IL_0315: ldc.i4.0
IL_0316: stloc.0
IL_0317: ldarg.0
IL_0318: call Verse.SoundDef RimWorld.Verb_MeleeAttack::SoundMiss()
IL_031D: stloc.s 6 (Verse.SoundDef)
IL_031F: ldarg.0
IL_0320: ldsfld System.Func`2<Verse.ManeuverDef, Verse.RulePackDef>
RimWorld.<>c::<>9__1_1
IL_0325: dup
IL_0326: brtrue => Label27
IL_032B: pop
IL_032C: ldsfld RimWorld.<>c RimWorld.<>c::<>9
IL_0331: ldftn Verse.RulePackDef
RimWorld.<>c::<TryCastShot>b__1_1(Verse.ManeuverDef maneuver)
IL_0337: newobj System.Void System.Func`2<Verse.ManeuverDef,
Verse.RulePackDef>::.ctor(System.Object object, System.IntPtr method)
IL_033C: dup
IL_033D: stsfld System.Func`2<Verse.ManeuverDef, Verse.RulePackDef>
RimWorld.<>c::<>9__1_1
IL_0342: Label27
IL_0342: ldc.i4.0
IL_0343: call Verse.BattleLogEntry_MeleeCombat
RimWorld.Verb_MeleeAttack::CreateCombatLog(System.Func`2<Verse.ManeuverDef,
Verse.RulePackDef> rulePackGetter, System.Boolean alwaysShow)
IL_0348: pop
IL_0349: Label22
IL_0349: Label23
IL_0349: Label24
IL_0349: Label26
IL_0349: ldloc.s 6 (Verse.SoundDef)
IL_034B: ldloc.2
IL_034C: callvirt virtual Verse.IntVec3 Verse.Thing::get_Position()
IL_0351: ldloc.s 4 (Verse.Map)
IL_0353: ldc.i4.0
IL_0354: newobj System.Void Verse.TargetInfo::.ctor(Verse.IntVec3 cell,
Verse.Map map, System.Boolean allowNullMap)
IL_0359: call static Verse.Sound.SoundInfo
Verse.Sound.SoundInfo::op_Implicit(Verse.TargetInfo source)
IL_035E: call static System.Void
Verse.Sound.SoundStarter::PlayOneShot(Verse.SoundDef soundDef,
Verse.Sound.SoundInfo info)
IL_0363: ldloc.1
IL_0364: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_0369: brfalse => Label28
IL_036E: ldloc.1
IL_036F: callvirt Verse.Pawn_DrawTracker Verse.Pawn::get_Drawer()
IL_0374: ldloc.2
IL_0375: callvirt System.Void
Verse.Pawn_DrawTracker::Notify_MeleeAttackOn(Verse.Thing Target)
IL_037A: Label28
IL_037A: ldloc.3
IL_037B: brfalse => Label29
IL_0380: ldloc.3
IL_0381: callvirt System.Boolean Verse.Pawn::get_Dead()
IL_0386: brtrue => Label30
IL_038B: ldloc.3
IL_038C: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_0391: brfalse => Label31
IL_0396: ldloc.3
IL_0397: ldfld Verse.Pawn_StanceTracker Verse.Pawn::stances
IL_039C: ldc.i4.s 95
IL_039E: callvirt System.Void Verse.Pawn_StanceTracker::StaggerFor(System.Int32
ticks)
IL_03A3: Label29
IL_03A3: Label30
IL_03A3: Label31
IL_03A3: ldloc.1
IL_03A4: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_03A9: brfalse => Label32
IL_03AE: ldloc.1
IL_03AF: ldfld Verse.Pawn_RotationTracker Verse.Pawn::rotationTracker
IL_03B4: ldloc.2
IL_03B5: callvirt virtual Verse.IntVec3 Verse.Thing::get_Position()
IL_03BA: callvirt System.Void Verse.Pawn_RotationTracker::FaceCell(Verse.IntVec3
c)
IL_03BF: Label32
IL_03BF: ldloc.1
IL_03C0: ldfld Verse.Pawn_CallTracker Verse.Pawn::caller
IL_03C5: brfalse => Label33
IL_03CA: ldloc.1
IL_03CB: ldfld Verse.Pawn_CallTracker Verse.Pawn::caller
IL_03D0: callvirt System.Void Verse.Pawn_CallTracker::Notify_DidMeleeAttack()
IL_03D5: Label33
IL_03D5: ldloc.0
IL_03D6: // end original
IL_03D6: Label34
IL_03D6: Label35
IL_03D6: stloc 9 (System.Boolean)
IL_03DA: ldarg.0
IL_03DB: call static System.Void
PeteTimesSix.SimpleSidearms.Intercepts.Verb_MeleeAttack_TryCastShot_PostFix::TryCas
tShot(RimWorld.Verb_MeleeAttack __instance)
IL_03E0: ldloc 9 (System.Boolean)
IL_03E4: ret
DONE

### Harmony id=fluffy.medicaltab, version=2.0.0.8, location=Z:\SteamLibrary\


steamapps\common\data-000001638B3F0080
### Started from System.Void Fluffy.Controller::.ctor(Verse.ModContentPack
content), location Z:\SteamLibrary\steamapps\common\data-000001638C334D50
### At 2021-10-01 08.56.14
### Patch: static System.Void
RimWorld.DefGenerator::GenerateImpliedDefs_PreResolve()
### Replacement: static System.Void
RimWorld.DefGenerator::GenerateImpliedDefs_PreResolve_Patch2()
IL_0000: Local var 0: System.Collections.Generic.IEnumerator`1<Verse.ThingDef>
IL_0000: Local var 1: System.Collections.Generic.IEnumerator`1<Verse.TerrainDef>
IL_0000: Local var 2: System.Collections.Generic.IEnumerator`1<Verse.RecipeDef>
IL_0000: Local var 3:
System.Collections.Generic.IEnumerator`1<RimWorld.PawnColumnDef>
IL_0000: // start original
IL_0000: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
RimWorld.ThingDefGenerator_Buildings::ImpliedBlueprintAndFrameDefs()
IL_0005: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
RimWorld.ThingDefGenerator_Meat::ImpliedMeatDefs()
IL_000A: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
System.Linq.Enumerable::Concat(System.Collections.Generic.IEnumerable`1<Verse.Thing
Def> first, System.Collections.Generic.IEnumerable`1<Verse.ThingDef> second)
IL_000F: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
RimWorld.ThingDefGenerator_Techprints::ImpliedTechprintDefs()
IL_0014: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
System.Linq.Enumerable::Concat(System.Collections.Generic.IEnumerable`1<Verse.Thing
Def> first, System.Collections.Generic.IEnumerable`1<Verse.ThingDef> second)
IL_0019: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
RimWorld.ThingDefGenerator_Corpses::ImpliedCorpseDefs()
IL_001E: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
System.Linq.Enumerable::Concat(System.Collections.Generic.IEnumerable`1<Verse.Thing
Def> first, System.Collections.Generic.IEnumerable`1<Verse.ThingDef> second)
IL_0023: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.ThingDef>
System.Collections.Generic.IEnumerable`1<Verse.ThingDef>::GetEnumerator()
IL_0028: stloc.0
.try
{
IL_0029: br => Label0
IL_002E: Label1
IL_002E: ldloc.0
IL_002F: callvirt abstract virtual Verse.ThingDef
System.Collections.Generic.IEnumerator`1<Verse.ThingDef>::get_Current()
IL_0034: call static System.Void
RimWorld.DefGenerator::AddImpliedDef(Verse.ThingDef def)
IL_0039: Label0
IL_0039: ldloc.0
IL_003A: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_003F: brtrue => Label1
IL_0044: leave => Label2
IL_0049: leave => (autogenerated)
} // end try
.finally
{
IL_004E: ldloc.0
IL_004F: brfalse => Label3
IL_0054: ldloc.0
IL_0055: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_005A: Label3
IL_005A: endfinally
IL_005B: leave => (autogenerated)
} // end handler
IL_005C: Label2
IL_005C: ldc.i4.0
IL_005D: call static System.Void
Verse.DirectXmlCrossRefLoader::ResolveAllWantedCrossReferences(Verse.FailMode
failReportMode)
IL_0062: call static
System.Collections.Generic.IEnumerable`1<Verse.TerrainDef>
RimWorld.TerrainDefGenerator_Stone::ImpliedTerrainDefs()
IL_0067: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.TerrainDef>
System.Collections.Generic.IEnumerable`1<Verse.TerrainDef>::GetEnumerator()
IL_006C: stloc.1
.try
{
IL_006D: br => Label4
IL_0072: Label5
IL_0072: ldloc.1
IL_0073: callvirt abstract virtual Verse.TerrainDef
System.Collections.Generic.IEnumerator`1<Verse.TerrainDef>::get_Current()
IL_0078: call static System.Void
RimWorld.DefGenerator::AddImpliedDef(Verse.TerrainDef def)
IL_007D: Label4
IL_007D: ldloc.1
IL_007E: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_0083: brtrue => Label5
IL_0088: leave => Label6
IL_008D: leave => (autogenerated)
} // end try
.finally
{
IL_0092: ldloc.1
IL_0093: brfalse => Label7
IL_0098: ldloc.1
IL_0099: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_009E: Label7
IL_009E: endfinally
IL_009F: leave => (autogenerated)
} // end handler
IL_00A0: Label6
IL_00A0: call static
System.Collections.Generic.IEnumerable`1<Verse.RecipeDef>
RimWorld.RecipeDefGenerator::ImpliedRecipeDefs()
IL_00A5: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.RecipeDef>
System.Collections.Generic.IEnumerable`1<Verse.RecipeDef>::GetEnumerator()
IL_00AA: stloc.2
.try
{
IL_00AB: br => Label8
IL_00B0: Label9
IL_00B0: ldloc.2
IL_00B1: callvirt abstract virtual Verse.RecipeDef
System.Collections.Generic.IEnumerator`1<Verse.RecipeDef>::get_Current()
IL_00B6: call static System.Void
RimWorld.DefGenerator::AddImpliedDef(Verse.RecipeDef def)
IL_00BB: Label8
IL_00BB: ldloc.2
IL_00BC: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_00C1: brtrue => Label9
IL_00C6: leave => Label10
IL_00CB: leave => (autogenerated)
} // end try
.finally
{
IL_00D0: ldloc.2
IL_00D1: brfalse => Label11
IL_00D6: ldloc.2
IL_00D7: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_00DC: Label11
IL_00DC: endfinally
IL_00DD: leave => (autogenerated)
} // end handler
IL_00DE: Label10
IL_00DE: call static
System.Collections.Generic.IEnumerable`1<RimWorld.PawnColumnDef>
RimWorld.PawnColumnDefgenerator::ImpliedPawnColumnDefs()
IL_00E3: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<RimWorld.PawnColumnDef>
System.Collections.Generic.IEnumerable`1<RimWorld.PawnColumnDef>::GetEnumerator()
IL_00E8: stloc.3
.try
{
IL_00E9: br => Label12
IL_00EE: Label13
IL_00EE: ldloc.3
IL_00EF: callvirt abstract virtual RimWorld.PawnColumnDef
System.Collections.Generic.IEnumerator`1<RimWorld.PawnColumnDef>::get_Current()
IL_00F4: call static System.Void
RimWorld.DefGenerator::AddImpliedDef(RimWorld.PawnColumnDef def)
IL_00F9: Label12
IL_00F9: ldloc.3
IL_00FA: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_00FF: brtrue => Label13
IL_0104: leave => Label14
IL_0109: leave => (autogenerated)
} // end try
.finally
{
IL_010E: ldloc.3
IL_010F: brfalse => Label15
IL_0114: ldloc.3
IL_0115: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_011A: Label15
IL_011A: endfinally
IL_011B: leave => (autogenerated)
} // end handler
IL_011C: Label14
IL_011C: call static System.Collections.Generic.IEnumerable`1<Verse.ThingDef>
RimWorld.ThingDefGenerator_Neurotrainer::ImpliedThingDefs()
IL_0121: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.ThingDef>
System.Collections.Generic.IEnumerable`1<Verse.ThingDef>::GetEnumerator()
IL_0126: stloc.0
.try
{
IL_0127: br => Label16
IL_012C: Label17
IL_012C: ldloc.0
IL_012D: callvirt abstract virtual Verse.ThingDef
System.Collections.Generic.IEnumerator`1<Verse.ThingDef>::get_Current()
IL_0132: call static System.Void
RimWorld.DefGenerator::AddImpliedDef(Verse.ThingDef def)
IL_0137: Label16
IL_0137: ldloc.0
IL_0138: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_013D: brtrue => Label17
IL_0142: leave => Label18
IL_0147: leave => (autogenerated)
} // end try
.finally
{
IL_014C: ldloc.0
IL_014D: brfalse => Label19
IL_0152: ldloc.0
IL_0153: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_0158: Label19
IL_0158: endfinally
IL_0159: leave => (autogenerated)
} // end handler
IL_015A: // end original
IL_015A: Label18
IL_015A: call static System.Void
WorkTab.DefGenerator_GenerateImpliedDefs_PreResolve::Postfix()
IL_015F: call static System.Void
Fluffy.DefGenerator_GenerateImpliedDefs_PreResolve::Postfix()
IL_0164: ret
DONE

### Harmony id=net.pardeike.rimworld.mod.camera+, version=2.0.0.8, location=Z:\


SteamLibrary\steamapps\common\data-000001638B3F0080
### Started from System.Void CameraPlus.CameraPlusMain::.ctor(Verse.ModContentPack
content), location Z:\SteamLibrary\steamapps\common\data-000001638C376FD0
### At 2021-10-01 08.56.14
### Patch: System.Void Verse.CameraDriver::Update()
### Replacement: static System.Void
Verse.CameraDriver::Update_Patch0(Verse.CameraDriver this)
IL_0000: Local var 0: UnityEngine.Vector2
IL_0000: Local var 1: System.Int32
IL_0000: Local var 2: System.Single
IL_0000: Local var 3: UnityEngine.Vector2
IL_0000: Local var 4: System.Single
IL_0000: Local var 5: Verse.CameraDriver/DragTimeStamp
IL_0000: Local var 6: System.Int32
IL_0000: Local var 7: System.Single
IL_0000: Local var 8: System.Single
IL_0000: // start original
IL_0000: call static System.Boolean
Verse.LongEventHandler::get_ShouldWaitForEvent()
IL_0005: brfalse => Label0
IL_000A: call static Verse.SubcameraDriver
Verse.Current::get_SubcameraDriver()
IL_000F: ldnull
IL_0010: call static System.Boolean
UnityEngine.Object::op_Inequality(UnityEngine.Object x, UnityEngine.Object y)
IL_0015: brfalse => Label1
IL_001A: call static Verse.SubcameraDriver
Verse.Current::get_SubcameraDriver()
IL_001F: ldarg.0
IL_0020: call UnityEngine.Camera Verse.CameraDriver::get_MyCamera()
IL_0025: callvirt System.Void
Verse.SubcameraDriver::UpdatePositions(UnityEngine.Camera camera)
IL_002A: Label1
IL_002A: br => Label14
IL_002F: Label0
IL_002F: call static Verse.Map Verse.Find::get_CurrentMap()
IL_0034: brtrue => Label2
IL_0039: br => Label15
IL_003E: Label2
IL_003E: ldarg.0
IL_003F: call UnityEngine.Vector2
Verse.CameraDriver::CalculateCurInputDollyVect()
IL_0044: stloc.0
IL_0045: ldloc.0
IL_0046: call static UnityEngine.Vector2 UnityEngine.Vector2::get_zero()
IL_004B: call static System.Boolean
UnityEngine.Vector2::op_Inequality(UnityEngine.Vector2 lhs, UnityEngine.Vector2
rhs)
IL_0050: brfalse => Label3
IL_0055: ldarg.0
IL_0056: ldfld System.Single Verse.CameraDriver::rootSize
IL_005B: ldarg.0
IL_005C: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_0061: ldfld System.Single Verse.CameraMapConfig::minSize
IL_0066: sub
IL_0067: ldc.r4 60
IL_006C: ldarg.0
IL_006D: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_0072: ldfld System.Single Verse.CameraMapConfig::minSize
IL_0077: sub
IL_0078: div
IL_0079: ldc.r4 0.7
IL_007E: mul
IL_007F: ldc.r4 0.3
IL_0084: add
IL_0085: stloc.2
IL_0086: ldarg.0
IL_0087: ldloc.0
IL_0088: ldfld System.Single UnityEngine.Vector2::x
IL_008D: ldc.r4 0
IL_0092: ldloc.0
IL_0093: ldfld System.Single UnityEngine.Vector2::y
IL_0098: newobj System.Void UnityEngine.Vector3::.ctor(System.Single x,
System.Single y, System.Single z)
IL_009D: ldloc.2
IL_009E: call static UnityEngine.Vector3
UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3 a, System.Single d)
IL_00A3: stfld UnityEngine.Vector3 Verse.CameraDriver::velocity
IL_00A8: ldsfld RimWorld.ConceptDef RimWorld.ConceptDefOf::CameraDolly
IL_00AD: ldc.i4.2
IL_00AE: call static System.Void
RimWorld.PlayerKnowledgeDatabase::KnowledgeDemonstrated(RimWorld.ConceptDef conc,
RimWorld.KnowledgeAmount know)
IL_00B3: Label3
IL_00B3: ldc.i4.2
IL_00B4: call static System.Boolean
UnityEngine.Input::GetMouseButton(System.Int32 button)
IL_00B9: brtrue => Label4
IL_00BE: ldarg.0
IL_00BF: ldfld System.Collections.Generic.List`1<Verse.DragTimeStamp>
Verse.CameraDriver::dragTimeStamps
IL_00C4: call static System.Boolean
Verse.GenCollection::Any(System.Collections.Generic.List`1<Verse.DragTimeStamp>
list)
IL_00C9: brfalse => Label5
IL_00CE: ldarg.0
IL_00CF: ldfld System.Collections.Generic.List`1<Verse.DragTimeStamp>
Verse.CameraDriver::dragTimeStamps
IL_00D4: ldc.r4 0.75
IL_00D9: call static UnityEngine.Vector2
Verse.CameraDriver::GetExtraVelocityFromReleasingDragButton(System.Collections.Gene
ric.List`1<Verse.DragTimeStamp> dragTimeStamps, System.Single
velocityFromMouseDragInitialFactor)
IL_00DE: stloc.3
IL_00DF: ldarg.0
IL_00E0: ldarg.0
IL_00E1: ldfld UnityEngine.Vector3 Verse.CameraDriver::velocity
IL_00E6: ldloc.3
IL_00E7: ldfld System.Single UnityEngine.Vector2::x
IL_00EC: ldc.r4 0
IL_00F1: ldloc.3
IL_00F2: ldfld System.Single UnityEngine.Vector2::y
IL_00F7: newobj System.Void UnityEngine.Vector3::.ctor(System.Single x,
System.Single y, System.Single z)
IL_00FC: call static UnityEngine.Vector3
UnityEngine.Vector3::op_Addition(UnityEngine.Vector3 a, UnityEngine.Vector3 b)
IL_0101: stfld UnityEngine.Vector3 Verse.CameraDriver::velocity
IL_0106: ldarg.0
IL_0107: ldfld System.Collections.Generic.List`1<Verse.DragTimeStamp>
Verse.CameraDriver::dragTimeStamps
IL_010C: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.DragTimeStamp>::Clear()
IL_0111: Label4
IL_0111: Label5
IL_0111: ldarg.0
IL_0112: call System.Boolean
Verse.CameraDriver::get_AnythingPreventsCameraMotion()
IL_0117: brtrue => Label6
IL_011C: call static System.Single UnityEngine.Time::get_deltaTime()
IL_0121: call static System.Single
Verse.CameraDriver::get_HitchReduceFactor()
IL_0126: mul
IL_0127: stloc.s 4 (System.Single)
IL_0129: ldarg.0
IL_012A: ldarg.0
IL_012B: ldfld UnityEngine.Vector3 Verse.CameraDriver::rootPos
IL_0130: ldarg.0
IL_0131: ldfld UnityEngine.Vector3 Verse.CameraDriver::velocity
IL_0136: ldloc.s 4 (System.Single)
IL_0138: call static UnityEngine.Vector3
UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3 a, System.Single d)
IL_013D: ldarg.0
IL_013E: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_0143: ldfld System.Single Verse.CameraMapConfig::moveSpeedScale
IL_0148: call static UnityEngine.Vector3
UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3 a, System.Single d)
IL_014D: call static UnityEngine.Vector3
UnityEngine.Vector3::op_Addition(UnityEngine.Vector3 a, UnityEngine.Vector3 b)
IL_0152: stfld UnityEngine.Vector3 Verse.CameraDriver::rootPos
IL_0157: ldarg.0
IL_0158: ldarg.0
IL_0159: ldfld UnityEngine.Vector3 Verse.CameraDriver::rootPos
IL_015E: ldarg.0
IL_015F: ldflda UnityEngine.Vector2 Verse.CameraDriver::desiredDollyRaw
IL_0164: ldfld System.Single UnityEngine.Vector2::x
IL_0169: ldc.r4 0
IL_016E: ldarg.0
IL_016F: ldflda UnityEngine.Vector2 Verse.CameraDriver::desiredDollyRaw
IL_0174: ldfld System.Single UnityEngine.Vector2::y
IL_0179: newobj System.Void UnityEngine.Vector3::.ctor(System.Single x,
System.Single y, System.Single z)
IL_017E: call static UnityEngine.Vector3
UnityEngine.Vector3::op_Addition(UnityEngine.Vector3 a, UnityEngine.Vector3 b)
IL_0183: stfld UnityEngine.Vector3 Verse.CameraDriver::rootPos
IL_0188: ldarg.0
IL_0189: ldfld System.Collections.Generic.List`1<Verse.DragTimeStamp>
Verse.CameraDriver::dragTimeStamps
IL_018E: ldloca.s 5 (Verse.CameraDriver+DragTimeStamp)
IL_0190: initobj Verse.CameraDriver+DragTimeStamp
IL_0196: ldloca.s 5 (Verse.CameraDriver+DragTimeStamp)
IL_0198: ldarg.0
IL_0199: ldfld UnityEngine.Vector2 Verse.CameraDriver::desiredDollyRaw
IL_019E: stfld UnityEngine.Vector2 Verse.DragTimeStamp::posDelta
IL_01A3: ldloca.s 5 (Verse.CameraDriver+DragTimeStamp)
IL_01A5: call static System.Single UnityEngine.Time::get_time()
IL_01AA: stfld System.Single Verse.DragTimeStamp::time
IL_01AF: ldloc.s 5 (Verse.CameraDriver+DragTimeStamp)
IL_01B1: callvirt virtual System.Void
System.Collections.Generic.List`1<Verse.DragTimeStamp>::Add(Verse.DragTimeStamp
item)
IL_01B6: ldarg.0
IL_01B7: ldflda UnityEngine.Vector3 Verse.CameraDriver::rootPos
IL_01BC: ldarg.0
IL_01BD: ldflda UnityEngine.Vector3 Verse.CameraDriver::rootPos
IL_01C2: ldfld System.Single UnityEngine.Vector3::x
IL_01C7: ldc.r4 2
IL_01CC: call static Verse.Map Verse.Find::get_CurrentMap()
IL_01D1: callvirt Verse.IntVec3 Verse.Map::get_Size()
IL_01D6: ldfld System.Int32 Verse.IntVec3::x
IL_01DB: conv.r4
IL_01DC: ldc.r4 -2
IL_01E1: add
IL_01E2: call static System.Single UnityEngine.Mathf::Clamp(System.Single
value, System.Single min, System.Single max)
IL_01E7: stfld System.Single UnityEngine.Vector3::x
IL_01EC: ldarg.0
IL_01ED: ldflda UnityEngine.Vector3 Verse.CameraDriver::rootPos
IL_01F2: ldarg.0
IL_01F3: ldflda UnityEngine.Vector3 Verse.CameraDriver::rootPos
IL_01F8: ldfld System.Single UnityEngine.Vector3::z
IL_01FD: ldc.r4 2
IL_0202: call static Verse.Map Verse.Find::get_CurrentMap()
IL_0207: callvirt Verse.IntVec3 Verse.Map::get_Size()
IL_020C: ldfld System.Int32 Verse.IntVec3::z
IL_0211: conv.r4
IL_0212: ldc.r4 -2
IL_0217: add
IL_0218: call static System.Single UnityEngine.Mathf::Clamp(System.Single
value, System.Single min, System.Single max)
IL_021D: stfld System.Single UnityEngine.Vector3::z
IL_0222: Label6
IL_0222: ldarg.0
IL_0223: call static UnityEngine.Vector2 UnityEngine.Vector2::get_zero()
IL_0228: stfld UnityEngine.Vector2 Verse.CameraDriver::desiredDollyRaw
IL_022D: ldarg.0
IL_022E: ldflda System.Single Verse.CameraDriver::fixedTimeStepBuffer
IL_0233: ldc.r4 60
IL_0238: call static System.Int32
Verse.Gen::FixedTimeStepUpdate(System.Single& timeBuffer, System.Single fps)
IL_023D: stloc.1
IL_023E: ldc.i4.0
IL_023F: stloc.s 6 (System.Int32)
IL_0241: br => Label7
IL_0246: Label12
IL_0246: ldarg.0
IL_0247: ldfld UnityEngine.Vector3 Verse.CameraDriver::velocity
IL_024C: call static UnityEngine.Vector3 UnityEngine.Vector3::get_zero()
IL_0251: call static System.Boolean
UnityEngine.Vector3::op_Inequality(UnityEngine.Vector3 lhs, UnityEngine.Vector3
rhs)
IL_0256: brfalse => Label8
IL_025B: ldarg.0
IL_025C: ldarg.0
IL_025D: ldfld UnityEngine.Vector3 Verse.CameraDriver::velocity
IL_0262: ldarg.0
IL_0263: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_0268: ldfld System.Single Verse.CameraMapConfig::camSpeedDecayFactor
IL_026D: call static UnityEngine.Vector3
UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3 a, System.Single d)
IL_0272: stfld UnityEngine.Vector3 Verse.CameraDriver::velocity
IL_0277: ldarg.0
IL_0278: ldflda UnityEngine.Vector3 Verse.CameraDriver::velocity
IL_027D: call System.Single UnityEngine.Vector3::get_magnitude()
IL_0282: ldc.r4 0.1
IL_0287: bge.un => Label9
IL_028C: ldarg.0
IL_028D: call static UnityEngine.Vector3 UnityEngine.Vector3::get_zero()
IL_0292: stfld UnityEngine.Vector3 Verse.CameraDriver::velocity
IL_0297: Label8
IL_0297: Label9
IL_0297: ldarg.0
IL_0298: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_029D: ldfld System.Boolean Verse.CameraMapConfig::smoothZoom
IL_02A2: brfalse => Label10
IL_02A7: ldarg.0
IL_02A8: ldfld System.Single Verse.CameraDriver::rootSize
IL_02AD: ldarg.0
IL_02AE: ldfld System.Single Verse.CameraDriver::desiredSize
IL_02B3: ldc.r4 0.05
IL_02B8: call static System.Single UnityEngine.Mathf::Lerp(System.Single a,
System.Single b, System.Single t)
IL_02BD: stloc.s 7 (System.Single)
IL_02BF: ldarg.0
IL_02C0: ldarg.0
IL_02C1: ldfld System.Single Verse.CameraDriver::desiredSize
IL_02C6: ldloc.s 7 (System.Single)
IL_02C8: ldarg.0
IL_02C9: ldfld System.Single Verse.CameraDriver::rootSize
IL_02CE: sub
IL_02CF: ldarg.0
IL_02D0: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_02D5: ldfld System.Single Verse.CameraMapConfig::zoomPreserveFactor
IL_02DA: mul
IL_02DB: add
IL_02DC: stfld System.Single Verse.CameraDriver::desiredSize
IL_02E1: ldarg.0
IL_02E2: ldloc.s 7 (System.Single)
IL_02E4: call static System.Void
CameraPlus.CameraDriver_Update_Patch::SetRootSize(Verse.CameraDriver driver,
System.Single rootSize)
IL_02E9: br => Label11
IL_02EE: Label10
IL_02EE: ldarg.0
IL_02EF: ldfld System.Single Verse.CameraDriver::desiredSize
IL_02F4: ldarg.0
IL_02F5: ldfld System.Single Verse.CameraDriver::rootSize
IL_02FA: sub
IL_02FB: ldc.r4 0.4
IL_0300: mul
IL_0301: stloc.s 8 (System.Single)
IL_0303: ldarg.0
IL_0304: ldarg.0
IL_0305: ldfld System.Single Verse.CameraDriver::desiredSize
IL_030A: ldarg.0
IL_030B: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_0310: ldfld System.Single Verse.CameraMapConfig::zoomPreserveFactor
IL_0315: ldloc.s 8 (System.Single)
IL_0317: mul
IL_0318: add
IL_0319: stfld System.Single Verse.CameraDriver::desiredSize
IL_031E: ldarg.0
IL_031F: ldarg.0
IL_0320: ldfld System.Single Verse.CameraDriver::rootSize
IL_0325: ldloc.s 8 (System.Single)
IL_0327: add
IL_0328: call static System.Void
CameraPlus.CameraDriver_Update_Patch::SetRootSize(Verse.CameraDriver driver,
System.Single rootSize)
IL_032D: Label11
IL_032D: ldarg.0
IL_032E: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_0333: ldarg.0
IL_0334: ldflda UnityEngine.Vector3 Verse.CameraDriver::rootPos
IL_0339: ldarg.0
IL_033A: ldflda UnityEngine.Vector3 Verse.CameraDriver::velocity
IL_033F: callvirt virtual System.Void
Verse.CameraMapConfig::ConfigFixedUpdate_60(UnityEngine.Vector3& rootPos,
UnityEngine.Vector3& velocity)
IL_0344: ldloc.s 6 (System.Int32)
IL_0346: ldc.i4.1
IL_0347: add
IL_0348: stloc.s 6 (System.Int32)
IL_034A: Label7
IL_034A: ldloc.s 6 (System.Int32)
IL_034C: ldloc.1
IL_034D: blt => Label12
IL_0352: ldarg.0
IL_0353: ldfld Verse.CameraShaker Verse.CameraDriver::shaker
IL_0358: callvirt System.Void Verse.CameraShaker::Update()
IL_035D: ldarg.0
IL_035E: call System.Void Verse.CameraDriver::ApplyPositionToGameObject()
IL_0363: call static Verse.SubcameraDriver
Verse.Current::get_SubcameraDriver()
IL_0368: ldarg.0
IL_0369: call UnityEngine.Camera Verse.CameraDriver::get_MyCamera()
IL_036E: callvirt System.Void
Verse.SubcameraDriver::UpdatePositions(UnityEngine.Camera camera)
IL_0373: call static Verse.Map Verse.Find::get_CurrentMap()
IL_0378: brfalse => Label13
IL_037D: call static Verse.Map Verse.Find::get_CurrentMap()
IL_0382: ldfld Verse.RememberedCameraPos Verse.Map::rememberedCameraPos
IL_0387: dup
IL_0388: ldarg.0
IL_0389: ldfld UnityEngine.Vector3 Verse.CameraDriver::rootPos
IL_038E: stfld UnityEngine.Vector3 Verse.RememberedCameraPos::rootPos
IL_0393: ldarg.0
IL_0394: ldfld System.Single Verse.CameraDriver::rootSize
IL_0399: stfld System.Single Verse.RememberedCameraPos::rootSize
IL_039E: // end original
IL_039E: Label13
IL_039E: Label14
IL_039E: Label15
IL_039E: ret
DONE
### Patch: static System.Void
RimWorld.TimeControls::DoTimeControlsGUI(UnityEngine.Rect timerRect)
### Replacement: static System.Void
RimWorld.TimeControls::DoTimeControlsGUI_Patch1(UnityEngine.Rect timerRect)
IL_0000: Local var 0: Verse.TickManager
IL_0000: Local var 1: UnityEngine.Rect
IL_0000: Local var 2: System.Int32
IL_0000: Local var 3: Verse.TimeSpeed
IL_0000: call static System.Void
CameraPlus.TimeControls_DoTimeControlsGUI_Patch::Prefix()
IL_0005: // start original
IL_0005: call static Verse.TickManager Verse.Find::get_TickManager()
IL_000A: stloc.0
IL_000B: ldarg.0
IL_000C: call static System.Void UnityEngine.GUI::BeginGroup(UnityEngine.Rect
position)
IL_0011: ldloca.s 1 (UnityEngine.Rect)
IL_0013: ldc.r4 0
IL_0018: ldc.r4 0
IL_001D: ldsflda UnityEngine.Vector2 RimWorld.TimeControls::TimeButSize
IL_0022: ldfld System.Single UnityEngine.Vector2::x
IL_0027: ldsflda UnityEngine.Vector2 RimWorld.TimeControls::TimeButSize
IL_002C: ldfld System.Single UnityEngine.Vector2::y
IL_0031: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_0036: ldc.i4.0
IL_0037: stloc.2
IL_0038: br => Label0
IL_003D: Label6
IL_003D: ldsfld Verse.TimeSpeed[] RimWorld.TimeControls::CachedTimeSpeedValues
IL_0042: ldloc.2
IL_0043: ldelem.u1
IL_0044: stloc.3
IL_0045: ldloc.3
IL_0046: ldc.i4.4
IL_0047: beq => Label1
IL_004C: ldloc.1
IL_004D: ldsfld UnityEngine.Texture2D[] Verse.TexButton::SpeedButtonTextures
IL_0052: ldloc.3
IL_0053: ldelem.ref
IL_0054: ldc.i4.1
IL_0055: call static System.Boolean
Verse.Widgets::ButtonImage(UnityEngine.Rect butRect, UnityEngine.Texture2D tex,
System.Boolean doMouseoverSound)
IL_005A: brfalse => Label2
IL_005F: ldloc.3
IL_0060: brtrue => Label3
IL_0065: ldloc.0
IL_0066: callvirt System.Void Verse.TickManager::TogglePaused()
IL_006B: ldsfld RimWorld.ConceptDef RimWorld.ConceptDefOf::Pause
IL_0070: ldc.i4.5
IL_0071: call static System.Void
RimWorld.PlayerKnowledgeDatabase::KnowledgeDemonstrated(RimWorld.ConceptDef conc,
RimWorld.KnowledgeAmount know)
IL_0076: br => Label4
IL_007B: Label3
IL_007B: ldloc.0
IL_007C: ldloc.3
IL_007D: callvirt System.Void Verse.TickManager::set_CurTimeSpeed(Verse.TimeSpeed
value)
IL_0082: ldsfld RimWorld.ConceptDef RimWorld.ConceptDefOf::TimeControls
IL_0087: ldc.i4.5
IL_0088: call static System.Void
RimWorld.PlayerKnowledgeDatabase::KnowledgeDemonstrated(RimWorld.ConceptDef conc,
RimWorld.KnowledgeAmount know)
IL_008D: Label4
IL_008D: ldloc.0
IL_008E: callvirt Verse.TimeSpeed Verse.TickManager::get_CurTimeSpeed()
IL_0093: call static System.Void
RimWorld.TimeControls::PlaySoundOf(Verse.TimeSpeed speed)
IL_0098: Label2
IL_0098: ldloc.0
IL_0099: callvirt Verse.TimeSpeed Verse.TickManager::get_CurTimeSpeed()
IL_009E: ldloc.3
IL_009F: bne.un => Label5
IL_00A4: ldloc.1
IL_00A5: ldsfld UnityEngine.Texture2D Verse.TexUI::HighlightTex
IL_00AA: call static System.Void
UnityEngine.GUI::DrawTexture(UnityEngine.Rect position, UnityEngine.Texture image)
IL_00AF: Label5
IL_00AF: ldloca.s 1 (UnityEngine.Rect)
IL_00B1: dup
IL_00B2: call System.Single UnityEngine.Rect::get_x()
IL_00B7: ldloca.s 1 (UnityEngine.Rect)
IL_00B9: call System.Single UnityEngine.Rect::get_width()
IL_00BE: add
IL_00BF: call System.Void UnityEngine.Rect::set_x(System.Single value)
IL_00C4: Label1
IL_00C4: ldloc.2
IL_00C5: ldc.i4.1
IL_00C6: add
IL_00C7: stloc.2
IL_00C8: Label0
IL_00C8: ldloc.2
IL_00C9: ldsfld Verse.TimeSpeed[] RimWorld.TimeControls::CachedTimeSpeedValues
IL_00CE: ldlen
IL_00CF: conv.i4
IL_00D0: blt => Label6
IL_00D5: call static Verse.TickManager Verse.Find::get_TickManager()
IL_00DA: ldfld Verse.TimeSlower Verse.TickManager::slower
IL_00DF: callvirt System.Boolean Verse.TimeSlower::get_ForcedNormalSpeed()
IL_00E4: brfalse => Label7
IL_00E9: ldloca.s 1 (UnityEngine.Rect)
IL_00EB: call System.Single UnityEngine.Rect::get_width()
IL_00F0: ldc.r4 2
IL_00F5: mul
IL_00F6: ldloca.s 1 (UnityEngine.Rect)
IL_00F8: call System.Single UnityEngine.Rect::get_height()
IL_00FD: ldc.r4 2
IL_0102: div
IL_0103: ldloca.s 1 (UnityEngine.Rect)
IL_0105: call System.Single UnityEngine.Rect::get_width()
IL_010A: ldc.r4 2
IL_010F: mul
IL_0110: call static System.Void
Verse.Widgets::DrawLineHorizontal(System.Single x, System.Single y, System.Single
length)
IL_0115: Label7
IL_0115: call static System.Void UnityEngine.GUI::EndGroup()
IL_011A: ldarg.0
IL_011B: call static System.Void
Verse.GenUI::AbsorbClicksInRect(UnityEngine.Rect r)
IL_0120: ldarg.0
IL_0121: ldstr "TimeControls"
IL_0126: call static System.Void
Verse.UIHighlighter::HighlightOpportunity(UnityEngine.Rect rect, System.String tag)
IL_012B: call static UnityEngine.Event UnityEngine.Event::get_current()
IL_0130: callvirt UnityEngine.EventType UnityEngine.Event::get_type()
IL_0135: ldc.i4.4
IL_0136: bne.un => Label8
IL_013B: ldsfld Verse.KeyBindingDef RimWorld.KeyBindingDefOf::TogglePause
IL_0140: callvirt System.Boolean Verse.KeyBindingDef::get_KeyDownEvent()
IL_0145: brfalse => Label9
IL_014A: call static Verse.TickManager Verse.Find::get_TickManager()
IL_014F: callvirt System.Void Verse.TickManager::TogglePaused()
IL_0154: call static Verse.TickManager Verse.Find::get_TickManager()
IL_0159: callvirt Verse.TimeSpeed Verse.TickManager::get_CurTimeSpeed()
IL_015E: call static System.Void
RimWorld.TimeControls::PlaySoundOf(Verse.TimeSpeed speed)
IL_0163: ldsfld RimWorld.ConceptDef RimWorld.ConceptDefOf::Pause
IL_0168: ldc.i4.5
IL_0169: call static System.Void
RimWorld.PlayerKnowledgeDatabase::KnowledgeDemonstrated(RimWorld.ConceptDef conc,
RimWorld.KnowledgeAmount know)
IL_016E: call static UnityEngine.Event UnityEngine.Event::get_current()
IL_0173: callvirt System.Void UnityEngine.Event::Use()
IL_0178: Label9
IL_0178: call static Verse.WindowStack Verse.Find::get_WindowStack()
IL_017D: callvirt System.Boolean Verse.WindowStack::get_WindowsForcePause()
IL_0182: brtrue => Label10
IL_0187: ldsfld Verse.KeyBindingDef RimWorld.KeyBindingDefOf::TimeSpeed_Normal
IL_018C: callvirt System.Boolean Verse.KeyBindingDef::get_KeyDownEvent()
IL_0191: brfalse => Label11
IL_0196: call static Verse.TickManager Verse.Find::get_TickManager()
IL_019B: ldc.i4.1
IL_019C: callvirt System.Void Verse.TickManager::set_CurTimeSpeed(Verse.TimeSpeed
value)
IL_01A1: call static Verse.TickManager Verse.Find::get_TickManager()
IL_01A6: callvirt Verse.TimeSpeed Verse.TickManager::get_CurTimeSpeed()
IL_01AB: call static System.Void
RimWorld.TimeControls::PlaySoundOf(Verse.TimeSpeed speed)
IL_01B0: ldsfld RimWorld.ConceptDef RimWorld.ConceptDefOf::TimeControls
IL_01B5: ldc.i4.5
IL_01B6: call static System.Void
RimWorld.PlayerKnowledgeDatabase::KnowledgeDemonstrated(RimWorld.ConceptDef conc,
RimWorld.KnowledgeAmount know)
IL_01BB: call static UnityEngine.Event UnityEngine.Event::get_current()
IL_01C0: callvirt System.Void UnityEngine.Event::Use()
IL_01C5: Label11
IL_01C5: ldsfld Verse.KeyBindingDef RimWorld.KeyBindingDefOf::TimeSpeed_Fast
IL_01CA: callvirt System.Boolean Verse.KeyBindingDef::get_KeyDownEvent()
IL_01CF: brfalse => Label12
IL_01D4: call static Verse.TickManager Verse.Find::get_TickManager()
IL_01D9: ldc.i4.2
IL_01DA: callvirt System.Void Verse.TickManager::set_CurTimeSpeed(Verse.TimeSpeed
value)
IL_01DF: call static Verse.TickManager Verse.Find::get_TickManager()
IL_01E4: callvirt Verse.TimeSpeed Verse.TickManager::get_CurTimeSpeed()
IL_01E9: call static System.Void
RimWorld.TimeControls::PlaySoundOf(Verse.TimeSpeed speed)
IL_01EE: ldsfld RimWorld.ConceptDef RimWorld.ConceptDefOf::TimeControls
IL_01F3: ldc.i4.5
IL_01F4: call static System.Void
RimWorld.PlayerKnowledgeDatabase::KnowledgeDemonstrated(RimWorld.ConceptDef conc,
RimWorld.KnowledgeAmount know)
IL_01F9: call static UnityEngine.Event UnityEngine.Event::get_current()
IL_01FE: callvirt System.Void UnityEngine.Event::Use()
IL_0203: Label12
IL_0203: ldsfld Verse.KeyBindingDef
RimWorld.KeyBindingDefOf::TimeSpeed_Superfast
IL_0208: callvirt System.Boolean Verse.KeyBindingDef::get_KeyDownEvent()
IL_020D: brfalse => Label13
IL_0212: call static Verse.TickManager Verse.Find::get_TickManager()
IL_0217: ldc.i4.3
IL_0218: callvirt System.Void Verse.TickManager::set_CurTimeSpeed(Verse.TimeSpeed
value)
IL_021D: call static Verse.TickManager Verse.Find::get_TickManager()
IL_0222: callvirt Verse.TimeSpeed Verse.TickManager::get_CurTimeSpeed()
IL_0227: call static System.Void
RimWorld.TimeControls::PlaySoundOf(Verse.TimeSpeed speed)
IL_022C: ldsfld RimWorld.ConceptDef RimWorld.ConceptDefOf::TimeControls
IL_0231: ldc.i4.5
IL_0232: call static System.Void
RimWorld.PlayerKnowledgeDatabase::KnowledgeDemonstrated(RimWorld.ConceptDef conc,
RimWorld.KnowledgeAmount know)
IL_0237: call static UnityEngine.Event UnityEngine.Event::get_current()
IL_023C: callvirt System.Void UnityEngine.Event::Use()
IL_0241: Label10
IL_0241: Label13
IL_0241: call static System.Boolean Verse.Prefs::get_DevMode()
IL_0246: brfalse => Label14
IL_024B: ldsfld Verse.KeyBindingDef
RimWorld.KeyBindingDefOf::TimeSpeed_Ultrafast
IL_0250: callvirt System.Boolean Verse.KeyBindingDef::get_KeyDownEvent()
IL_0255: brfalse => Label15
IL_025A: call static Verse.TickManager Verse.Find::get_TickManager()
IL_025F: ldc.i4.4
IL_0260: callvirt System.Void Verse.TickManager::set_CurTimeSpeed(Verse.TimeSpeed
value)
IL_0265: call static Verse.TickManager Verse.Find::get_TickManager()
IL_026A: callvirt Verse.TimeSpeed Verse.TickManager::get_CurTimeSpeed()
IL_026F: call static System.Void
RimWorld.TimeControls::PlaySoundOf(Verse.TimeSpeed speed)
IL_0274: call static UnityEngine.Event UnityEngine.Event::get_current()
IL_0279: callvirt System.Void UnityEngine.Event::Use()
IL_027E: Label15
IL_027E: ldsfld Verse.KeyBindingDef RimWorld.KeyBindingDefOf::Dev_TickOnce
IL_0283: callvirt System.Boolean Verse.KeyBindingDef::get_KeyDownEvent()
IL_0288: brfalse => Label16
IL_028D: ldloc.0
IL_028E: callvirt Verse.TimeSpeed Verse.TickManager::get_CurTimeSpeed()
IL_0293: brtrue => Label17
IL_0298: ldloc.0
IL_0299: callvirt System.Void Verse.TickManager::DoSingleTick()
IL_029E: ldsfld Verse.SoundDef RimWorld.SoundDefOf::Clock_Stop
IL_02A3: ldnull
IL_02A4: call static System.Void
Verse.Sound.SoundStarter::PlayOneShotOnCamera(Verse.SoundDef soundDef, Verse.Map
onlyThisMap)
IL_02A9: // end original
IL_02A9: Label8
IL_02A9: Label14
IL_02A9: Label16
IL_02A9: Label17
IL_02A9: ret
DONE

### Patch: UnityEngine.Vector2 Verse.CameraDriver::CalculateCurInputDollyVect()


### Replacement: static UnityEngine.Vector2
Verse.CameraDriver::CalculateCurInputDollyVect_Patch1(Verse.CameraDriver this)
IL_0000: Local var 0: UnityEngine.Vector2
IL_0000: Local var 1: System.Boolean
IL_0000: Local var 2: UnityEngine.Vector2
IL_0000: Local var 3: UnityEngine.Vector2
IL_0000: Local var 4: UnityEngine.Rect
IL_0000: Local var 5: UnityEngine.Rect
IL_0000: Local var 6: UnityEngine.Rect
IL_0000: Local var 7: UnityEngine.Rect
IL_0000: Local var 8: RimWorld.MainTabWindow_Inspect
IL_0000: Local var 9: UnityEngine.Vector2
IL_0000: Local var 10: UnityEngine.Vector2
IL_0000: ldloca 10 (UnityEngine.Vector2)
IL_0004: initobj UnityEngine.Vector2
IL_000A: // start original
IL_000A: ldarg.0
IL_000B: ldfld UnityEngine.Vector2 Verse.CameraDriver::desiredDolly
IL_0010: stloc.0
IL_0011: ldc.i4.0
IL_0012: stloc.1
IL_0013: ldsfld System.Boolean Verse.UnityData::isEditor
IL_0018: brtrue => Label0
IL_001D: call static System.Boolean UnityEngine.Screen::get_fullScreen()
IL_0022: brfalse => Label1
IL_0027: Label0
IL_0027: call static System.Boolean Verse.Prefs::get_EdgeScreenScroll()
IL_002C: brfalse => Label2
IL_0031: ldarg.0
IL_0032: ldfld System.Boolean Verse.CameraDriver::mouseCoveredByUI
IL_0037: brtrue => Label3
IL_003C: call static UnityEngine.Vector2 Verse.UI::get_MousePositionOnUI()
IL_0041: stloc.2
IL_0042: ldloc.2
IL_0043: stloc.3
IL_0044: ldloca.s 3 (UnityEngine.Vector2)
IL_0046: ldsfld System.Int32 Verse.UI::screenHeight
IL_004B: conv.r4
IL_004C: ldloc.3
IL_004D: ldfld System.Single UnityEngine.Vector2::y
IL_0052: sub
IL_0053: stfld System.Single UnityEngine.Vector2::y
IL_0058: ldloca.s 4 (UnityEngine.Rect)
IL_005A: ldc.r4 0
IL_005F: ldc.r4 0
IL_0064: ldc.r4 200
IL_0069: ldc.r4 200
IL_006E: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_0073: ldloca.s 5 (UnityEngine.Rect)
IL_0075: ldsfld System.Int32 Verse.UI::screenWidth
IL_007A: ldc.i4 250
IL_007F: sub
IL_0080: conv.r4
IL_0081: ldc.r4 0
IL_0086: ldc.r4 255
IL_008B: ldc.r4 255
IL_0090: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_0095: ldloca.s 6 (UnityEngine.Rect)
IL_0097: ldc.r4 0
IL_009C: ldsfld System.Int32 Verse.UI::screenHeight
IL_00A1: ldc.i4 250
IL_00A6: sub
IL_00A7: conv.r4
IL_00A8: ldc.r4 225
IL_00AD: ldc.r4 255
IL_00B2: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_00B7: ldloca.s 7 (UnityEngine.Rect)
IL_00B9: ldsfld System.Int32 Verse.UI::screenWidth
IL_00BE: ldc.i4 250
IL_00C3: sub
IL_00C4: conv.r4
IL_00C5: ldsfld System.Int32 Verse.UI::screenHeight
IL_00CA: ldc.i4 250
IL_00CF: sub
IL_00D0: conv.r4
IL_00D1: ldc.r4 255
IL_00D6: ldc.r4 255
IL_00DB: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_00E0: ldsfld RimWorld.MainButtonDef RimWorld.MainButtonDefOf::Inspect
IL_00E5: callvirt RimWorld.MainTabWindow RimWorld.MainButtonDef::get_TabWindow()
IL_00EA: castclass RimWorld.MainTabWindow_Inspect
IL_00EF: stloc.s 8 (RimWorld.MainTabWindow_Inspect)
IL_00F1: call static RimWorld.MainTabsRoot Verse.Find::get_MainTabsRoot()
IL_00F6: callvirt RimWorld.MainButtonDef RimWorld.MainTabsRoot::get_OpenTab()
IL_00FB: ldsfld RimWorld.MainButtonDef RimWorld.MainButtonDefOf::Inspect
IL_0100: bne.un => Label4
IL_0105: ldloc.s 8 (RimWorld.MainTabWindow_Inspect)
IL_0107: callvirt virtual System.Single
RimWorld.MainTabWindow_Inspect::get_RecentHeight()
IL_010C: ldloca.s 6 (UnityEngine.Rect)
IL_010E: call System.Single UnityEngine.Rect::get_height()
IL_0113: ble.un => Label5
IL_0118: ldloca.s 6 (UnityEngine.Rect)
IL_011A: ldsfld System.Int32 Verse.UI::screenHeight
IL_011F: conv.r4
IL_0120: ldloc.s 8 (RimWorld.MainTabWindow_Inspect)
IL_0122: callvirt virtual System.Single
RimWorld.MainTabWindow_Inspect::get_RecentHeight()
IL_0127: sub
IL_0128: call System.Void UnityEngine.Rect::set_yMin(System.Single value)
IL_012D: Label4
IL_012D: Label5
IL_012D: ldloca.s 4 (UnityEngine.Rect)
IL_012F: ldloc.3
IL_0130: call System.Boolean UnityEngine.Rect::Contains(UnityEngine.Vector2
point)
IL_0135: brtrue => Label6
IL_013A: ldloca.s 6 (UnityEngine.Rect)
IL_013C: ldloc.3
IL_013D: call System.Boolean UnityEngine.Rect::Contains(UnityEngine.Vector2
point)
IL_0142: brtrue => Label7
IL_0147: ldloca.s 5 (UnityEngine.Rect)
IL_0149: ldloc.3
IL_014A: call System.Boolean UnityEngine.Rect::Contains(UnityEngine.Vector2
point)
IL_014F: brtrue => Label8
IL_0154: ldloca.s 7 (UnityEngine.Rect)
IL_0156: ldloc.3
IL_0157: call System.Boolean UnityEngine.Rect::Contains(UnityEngine.Vector2
point)
IL_015C: brtrue => Label9
IL_0161: ldloca.s 9 (UnityEngine.Vector2)
IL_0163: ldc.r4 0
IL_0168: ldc.r4 0
IL_016D: call System.Void UnityEngine.Vector2::.ctor(System.Single x,
System.Single y)
IL_0172: ldloc.2
IL_0173: ldfld System.Single UnityEngine.Vector2::x
IL_0178: ldc.r4 0
IL_017D: blt.un => Label10
IL_0182: ldloc.2
IL_0183: ldfld System.Single UnityEngine.Vector2::x
IL_0188: ldc.r4 20
IL_018D: bge.un => Label11
IL_0192: ldloca.s 9 (UnityEngine.Vector2)
IL_0194: ldflda System.Single UnityEngine.Vector2::x
IL_0199: dup
IL_019A: ldind.r4
IL_019B: ldarg.0
IL_019C: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_01A1: ldfld System.Single Verse.CameraMapConfig::dollyRateScreenEdge
IL_01A6: sub
IL_01A7: stind.r4
IL_01A8: Label10
IL_01A8: Label11
IL_01A8: ldloc.2
IL_01A9: ldfld System.Single UnityEngine.Vector2::x
IL_01AE: ldsfld System.Int32 Verse.UI::screenWidth
IL_01B3: conv.r4
IL_01B4: bgt.un => Label12
IL_01B9: ldloc.2
IL_01BA: ldfld System.Single UnityEngine.Vector2::x
IL_01BF: ldsfld System.Int32 Verse.UI::screenWidth
IL_01C4: conv.r4
IL_01C5: ldc.r4 20
IL_01CA: sub
IL_01CB: ble.un => Label13
IL_01D0: ldloca.s 9 (UnityEngine.Vector2)
IL_01D2: ldflda System.Single UnityEngine.Vector2::x
IL_01D7: dup
IL_01D8: ldind.r4
IL_01D9: ldarg.0
IL_01DA: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_01DF: ldfld System.Single Verse.CameraMapConfig::dollyRateScreenEdge
IL_01E4: add
IL_01E5: stind.r4
IL_01E6: Label12
IL_01E6: Label13
IL_01E6: ldloc.2
IL_01E7: ldfld System.Single UnityEngine.Vector2::y
IL_01EC: ldsfld System.Int32 Verse.UI::screenHeight
IL_01F1: conv.r4
IL_01F2: bgt.un => Label14
IL_01F7: ldloc.2
IL_01F8: ldfld System.Single UnityEngine.Vector2::y
IL_01FD: ldsfld System.Int32 Verse.UI::screenHeight
IL_0202: conv.r4
IL_0203: ldc.r4 20
IL_0208: sub
IL_0209: ble.un => Label15
IL_020E: ldloca.s 9 (UnityEngine.Vector2)
IL_0210: ldflda System.Single UnityEngine.Vector2::y
IL_0215: dup
IL_0216: ldind.r4
IL_0217: ldarg.0
IL_0218: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_021D: ldfld System.Single Verse.CameraMapConfig::dollyRateScreenEdge
IL_0222: add
IL_0223: stind.r4
IL_0224: Label14
IL_0224: Label15
IL_0224: ldloc.2
IL_0225: ldfld System.Single UnityEngine.Vector2::y
IL_022A: ldc.r4 0
IL_022F: blt.un => Label16
IL_0234: ldloc.2
IL_0235: ldfld System.Single UnityEngine.Vector2::y
IL_023A: ldarg.0
IL_023B: call System.Single
Verse.CameraDriver::get_ScreenDollyEdgeWidthBottom()
IL_0240: bge.un => Label17
IL_0245: ldarg.0
IL_0246: ldfld System.Single
Verse.CameraDriver::mouseTouchingScreenBottomEdgeStartTime
IL_024B: ldc.r4 0
IL_0250: bge.un => Label18
IL_0255: ldarg.0
IL_0256: call static System.Single
UnityEngine.Time::get_realtimeSinceStartup()
IL_025B: stfld System.Single
Verse.CameraDriver::mouseTouchingScreenBottomEdgeStartTime
IL_0260: Label18
IL_0260: call static System.Single
UnityEngine.Time::get_realtimeSinceStartup()
IL_0265: ldarg.0
IL_0266: ldfld System.Single
Verse.CameraDriver::mouseTouchingScreenBottomEdgeStartTime
IL_026B: sub
IL_026C: ldc.r4 0.28
IL_0271: blt.un => Label19
IL_0276: ldloca.s 9 (UnityEngine.Vector2)
IL_0278: ldflda System.Single UnityEngine.Vector2::y
IL_027D: dup
IL_027E: ldind.r4
IL_027F: ldarg.0
IL_0280: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_0285: ldfld System.Single Verse.CameraMapConfig::dollyRateScreenEdge
IL_028A: sub
IL_028B: stind.r4
IL_028C: Label19
IL_028C: ldc.i4.1
IL_028D: stloc.1
IL_028E: Label16
IL_028E: Label17
IL_028E: ldloc.0
IL_028F: ldloc.s 9 (UnityEngine.Vector2)
IL_0291: call static UnityEngine.Vector2
UnityEngine.Vector2::op_Addition(UnityEngine.Vector2 a, UnityEngine.Vector2 b)
IL_0296: stloc.0
IL_0297: Label1
IL_0297: Label2
IL_0297: Label3
IL_0297: Label6
IL_0297: Label7
IL_0297: Label8
IL_0297: Label9
IL_0297: ldloc.1
IL_0298: brtrue => Label20
IL_029D: ldarg.0
IL_029E: ldc.r4 -1
IL_02A3: stfld System.Single
Verse.CameraDriver::mouseTouchingScreenBottomEdgeStartTime
IL_02A8: Label20
IL_02A8: ldc.i4 304
IL_02AD: call static System.Boolean
UnityEngine.Input::GetKey(UnityEngine.KeyCode key)
IL_02B2: brfalse => Label21
IL_02B7: ldloc.0
IL_02B8: ldc.r4 2.4
IL_02BD: call static UnityEngine.Vector2
UnityEngine.Vector2::op_Multiply(UnityEngine.Vector2 a, System.Single d)
IL_02C2: stloc.0
IL_02C3: Label21
IL_02C3: ldloc.0
IL_02C4: // end original
IL_02C4: stloc 10 (UnityEngine.Vector2)
IL_02C8: ldloca 10 (UnityEngine.Vector2)
IL_02CC: call static System.Void
CameraPlus.CameraDriver_CalculateCurInputDollyVect_Patch::Postfix(UnityEngine.Vecto
r2& __result)
IL_02D1: ldloc 10 (UnityEngine.Vector2)
IL_02D5: ret
DONE

### Patch: static System.Void RimWorld.MoteMaker::ThrowText(UnityEngine.Vector3


loc, Verse.Map map, System.String text, UnityEngine.Color color, System.Single
timeBeforeStartFadeout)
### Replacement: static System.Void
RimWorld.MoteMaker::ThrowText_Patch1(UnityEngine.Vector3 loc, Verse.Map map,
System.String text, UnityEngine.Color color, System.Single timeBeforeStartFadeout)
IL_0000: Local var 0: Verse.IntVec3
IL_0000: Local var 1: Verse.MoteText
IL_0000: Local var 2: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 2 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 2 (System.Boolean)
IL_000E: ldloc 2 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg 0
IL_0018: call static System.Boolean
CameraPlus.MoteMaker_ThrowText_Patch::Prefix(UnityEngine.Vector3 loc)
IL_001D: stloc 2 (System.Boolean)
IL_0021: nop
IL_0022: ldloc 2 (System.Boolean)
IL_0026: brfalse => Label0
IL_002B: // start original
IL_002B: ldarg.0
IL_002C: call static Verse.IntVec3
Verse.IntVec3Utility::ToIntVec3(UnityEngine.Vector3 vect)
IL_0031: stloc.0
IL_0032: ldloc.0
IL_0033: ldarg.1
IL_0034: call static System.Boolean Verse.GenGrid::InBounds(Verse.IntVec3 c,
Verse.Map map)
IL_0039: brtrue => Label2
IL_003E: br => Label4
IL_0043: Label2
IL_0043: ldsfld Verse.ThingDef RimWorld.ThingDefOf::Mote_Text
IL_0048: ldnull
IL_0049: call static Verse.Thing Verse.ThingMaker::MakeThing(Verse.ThingDef
def, Verse.ThingDef stuff)
IL_004E: castclass Verse.MoteText
IL_0053: stloc.1
IL_0054: ldloc.1
IL_0055: ldarg.0
IL_0056: stfld UnityEngine.Vector3 Verse.Mote::exactPosition
IL_005B: ldloc.1
IL_005C: ldc.i4.5
IL_005D: ldc.i4.s 35
IL_005F: call static System.Int32 Verse.Rand::Range(System.Int32 min,
System.Int32 max)
IL_0064: conv.r4
IL_0065: ldc.r4 0.42
IL_006A: ldc.r4 0.45
IL_006F: call static System.Single Verse.Rand::Range(System.Single min,
System.Single max)
IL_0074: callvirt System.Void Verse.MoteThrown::SetVelocity(System.Single angle,
System.Single speed)
IL_0079: ldloc.1
IL_007A: ldarg.2
IL_007B: stfld System.String Verse.MoteText::text
IL_0080: ldloc.1
IL_0081: ldarg.3
IL_0082: stfld UnityEngine.Color Verse.MoteText::textColor
IL_0087: ldarg.s 4
IL_0089: ldc.r4 0
IL_008E: blt.un => Label3
IL_0093: ldloc.1
IL_0094: ldarg.s 4
IL_0096: stfld System.Single Verse.MoteText::overrideTimeBeforeStartFadeout
IL_009B: Label3
IL_009B: ldloc.1
IL_009C: ldloc.0
IL_009D: ldarg.1
IL_009E: ldc.i4.0
IL_009F: call static Verse.Thing Verse.GenSpawn::Spawn(Verse.Thing newThing,
Verse.IntVec3 loc, Verse.Map map, Verse.WipeMode wipeMode)
IL_00A4: pop
IL_00A5: // end original
IL_00A5: Label4
IL_00A5: Label0
IL_00A5: ret
DONE

### Patch: System.Void Verse.PawnRenderer::RenderPawnAt(UnityEngine.Vector3


drawLoc, System.Nullable`1<Verse.Rot4> rotOverride, System.Boolean neverAimWeapon)
### Replacement: static System.Void
Verse.PawnRenderer::RenderPawnAt_Patch2(Verse.PawnRenderer this,
UnityEngine.Vector3 drawLoc, System.Nullable`1<Verse.Rot4> rotOverride,
System.Boolean neverAimWeapon)
IL_0000: Local var 0: Verse.Rot4
IL_0000: Local var 1: Verse.PawnRenderFlags
IL_0000: Local var 2: Verse.RotDrawMode
IL_0000: Local var 3: System.Boolean
IL_0000: Local var 4: Verse.PawnTextureAtlasFrameSet
IL_0000: Local var 5: System.Nullable`1<Verse.Rot4>
IL_0000: Local var 6: System.Boolean
IL_0000: Local var 7: UnityEngine.Material
IL_0000: Local var 8: UnityEngine.Vector3
IL_0000: Local var 9: System.Boolean
IL_0000: Local var 10: System.Single
IL_0000: Local var 11: Verse.Rot4
IL_0000: Local var 12: UnityEngine.Material
IL_0000: Local var 13: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 13 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 13 (System.Boolean)
IL_000E: ldloc 13 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg.0
IL_0015: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_001A: call static System.Boolean
CameraPlus.PawnRenderer_RenderPawnAt_Patch::Prefix(Verse.Pawn ___pawn)
IL_001F: stloc 13 (System.Boolean)
IL_0023: nop
IL_0024: ldloc 13 (System.Boolean)
IL_0028: brfalse => Label0
IL_002D: // start original
IL_002D: ldarg.0
IL_002E: ldfld Verse.PawnGraphicSet Verse.PawnRenderer::graphics
IL_0033: callvirt System.Boolean Verse.PawnGraphicSet::get_AllResolved()
IL_0038: brtrue => Label2
IL_003D: ldarg.0
IL_003E: ldfld Verse.PawnGraphicSet Verse.PawnRenderer::graphics
IL_0043: callvirt System.Void Verse.PawnGraphicSet::ResolveAllGraphics()
IL_0048: Label2
IL_0048: ldarg.2
IL_0049: stloc.s 5 (System.Nullable`1[Verse.Rot4])
IL_004B: ldloca.s 5 (System.Nullable`1[Verse.Rot4])
IL_004D: call System.Boolean System.Nullable`1<Verse.Rot4>::get_HasValue()
IL_0052: brtrue => Label3
IL_0057: ldarg.0
IL_0058: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_005D: callvirt Verse.Rot4 Verse.Thing::get_Rotation()
IL_0062: br => Label4
IL_0067: Label3
IL_0067: ldloca.s 5 (System.Nullable`1[Verse.Rot4])
IL_0069: call Verse.Rot4 System.Nullable`1<Verse.Rot4>::GetValueOrDefault()
IL_006E: Label4
IL_006E: stloc.0
IL_006F: ldarg.0
IL_0070: ldarg.0
IL_0071: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_0076: call Verse.PawnRenderFlags
Verse.PawnRenderer::GetDefaultRenderFlags(Verse.Pawn pawn)
IL_007B: stloc.1
IL_007C: ldloc.1
IL_007D: ldc.i4.s 64
IL_007F: or
IL_0080: stloc.1
IL_0081: ldloc.1
IL_0082: ldc.i4.s 32
IL_0084: or
IL_0085: stloc.1
IL_0086: ldarg.3
IL_0087: brfalse => Label5
IL_008C: ldloc.1
IL_008D: ldc.i4 128
IL_0092: or
IL_0093: stloc.1
IL_0094: Label5
IL_0094: ldarg.0
IL_0095: call Verse.RotDrawMode Verse.PawnRenderer::get_CurRotDrawMode()
IL_009A: stloc.2
IL_009B: ldarg.0
IL_009C: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_00A1: callvirt Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_00A6: callvirt System.Boolean Verse.RaceProperties::get_Humanlike()
IL_00AB: brfalse => Label6
IL_00B0: ldloc.2
IL_00B1: ldc.i4.2
IL_00B2: beq => Label7
IL_00B7: ldarg.0
IL_00B8: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_00BD: call static System.Boolean
RimWorld.PawnUtility::IsInvisible(Verse.Pawn pawn)
IL_00C2: ldc.i4.0
IL_00C3: ceq
IL_00C5: br => Label8
IL_00CA: Label6
IL_00CA: Label7
IL_00CA: ldc.i4.0
IL_00CB: Label8
IL_00CB: stloc.3
IL_00CC: ldnull
IL_00CD: stloc.s 4 (Verse.PawnTextureAtlasFrameSet)
IL_00CF: ldloc.3
IL_00D0: brfalse => Label9
IL_00D5: ldarg.0
IL_00D6: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_00DB: ldloca.s 4 (Verse.PawnTextureAtlasFrameSet)
IL_00DD: ldloca.s 6 (System.Boolean)
IL_00DF: ldc.i4.1
IL_00E0: call static System.Boolean
Verse.GlobalTextureAtlasManager::TryGetPawnFrameSet(Verse.Pawn pawn,
Verse.PawnTextureAtlasFrameSet& frameSet, System.Boolean& createdNew,
System.Boolean allowCreatingNew)
IL_00E5: brtrue => Label10
IL_00EA: ldc.i4.0
IL_00EB: stloc.3
IL_00EC: Label9
IL_00EC: Label10
IL_00EC: ldarg.0
IL_00ED: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_00F2: call static RimWorld.PawnPosture
RimWorld.PawnUtility::GetPosture(Verse.Pawn p)
IL_00F7: brtrue => Label11
IL_00FC: ldloc.3
IL_00FD: brfalse => Label12
IL_0102: ldloc.s 4 (Verse.PawnTextureAtlasFrameSet)
IL_0104: ldfld UnityEngine.RenderTexture Verse.PawnTextureAtlasFrameSet::atlas
IL_0109: ldsfld UnityEngine.Shader Verse.ShaderDatabase::Cutout
IL_010E: newobj System.Void Verse.MaterialRequest::.ctor(UnityEngine.Texture
tex, UnityEngine.Shader shader)
IL_0113: call static UnityEngine.Material
Verse.MaterialPool::MatFrom(Verse.MaterialRequest req)
IL_0118: stloc.s 7 (UnityEngine.Material)
IL_011A: ldarg.0
IL_011B: ldloc.s 7 (UnityEngine.Material)
IL_011D: ldarg.0
IL_011E: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_0123: ldc.i4.0
IL_0124: call UnityEngine.Material
Verse.PawnRenderer::OverrideMaterialIfNeeded(UnityEngine.Material original,
Verse.Pawn pawn, System.Boolean portrait)
IL_0129: stloc.s 7 (UnityEngine.Material)
IL_012B: ldarg.0
IL_012C: ldloc.s 4 (Verse.PawnTextureAtlasFrameSet)
IL_012E: ldloc.0
IL_012F: ldc.i4.0
IL_0130: call UnityEngine.Mesh
Verse.PawnRenderer::GetBlitMeshUpdatedFrame(Verse.PawnTextureAtlasFrameSet
frameSet, Verse.Rot4 rotation, Verse.PawnDrawMode drawMode)
IL_0135: ldarg.1
IL_0136: ldc.r4 0
IL_013B: call static UnityEngine.Vector3 UnityEngine.Vector3::get_up()
IL_0140: call static UnityEngine.Quaternion
UnityEngine.Quaternion::AngleAxis(System.Single angle, UnityEngine.Vector3 axis)
IL_0145: ldloc.s 7 (UnityEngine.Material)
IL_0147: ldc.i4.0
IL_0148: call static System.Void
Verse.GenDraw::DrawMeshNowOrLater(UnityEngine.Mesh mesh, UnityEngine.Vector3 loc,
UnityEngine.Quaternion quat, UnityEngine.Material mat, System.Boolean drawNow)
IL_014D: ldarg.0
IL_014E: ldarg.1
IL_014F: ldc.r4 0
IL_0154: ldloc.0
IL_0155: ldloc.1
IL_0156: call System.Void
Verse.PawnRenderer::DrawDynamicParts(UnityEngine.Vector3 rootLoc, System.Single
angle, Verse.Rot4 pawnRotation, Verse.PawnRenderFlags flags)
IL_015B: br => Label13
IL_0160: Label12
IL_0160: ldarg.0
IL_0161: ldarg.1
IL_0162: ldc.r4 0
IL_0167: ldc.i4.1
IL_0168: ldloc.0
IL_0169: ldloc.2
IL_016A: ldloc.1
IL_016B: call System.Void
Verse.PawnRenderer::RenderPawnInternal(UnityEngine.Vector3 rootLoc, System.Single
angle, System.Boolean renderBody, Verse.Rot4 bodyFacing, Verse.RotDrawMode
bodyDrawType, Verse.PawnRenderFlags flags)
IL_0170: Label13
IL_0170: ldarg.0
IL_0171: ldarg.1
IL_0172: call System.Void
Verse.PawnRenderer::DrawCarriedThing(UnityEngine.Vector3 drawLoc)
IL_0177: ldloc.1
IL_0178: ldc.i4.4
IL_0179: call static System.Boolean
Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags,
Verse.PawnRenderFlags flag)
IL_017E: brtrue => Label14
IL_0183: ldarg.0
IL_0184: ldarg.1
IL_0185: call System.Void
Verse.PawnRenderer::DrawInvisibleShadow(UnityEngine.Vector3 drawLoc)
IL_018A: br => Label15
IL_018F: Label11
IL_018F: ldarg.0
IL_0190: ldarg.1
IL_0191: ldloca.s 9 (System.Boolean)
IL_0193: call UnityEngine.Vector3
Verse.PawnRenderer::GetBodyPos(UnityEngine.Vector3 drawLoc, System.Boolean&
showBody)
IL_0198: stloc.s 8 (UnityEngine.Vector3)
IL_019A: ldarg.0
IL_019B: call System.Single Verse.PawnRenderer::BodyAngle()
IL_01A0: stloc.s 10 (System.Single)
IL_01A2: ldarg.0
IL_01A3: call Verse.Rot4 Verse.PawnRenderer::LayingFacing()
IL_01A8: stloc.s 11 (Verse.Rot4)
IL_01AA: ldloc.3
IL_01AB: brfalse => Label16
IL_01B0: ldloc.s 4 (Verse.PawnTextureAtlasFrameSet)
IL_01B2: ldfld UnityEngine.RenderTexture Verse.PawnTextureAtlasFrameSet::atlas
IL_01B7: ldsfld UnityEngine.Shader Verse.ShaderDatabase::Cutout
IL_01BC: newobj System.Void Verse.MaterialRequest::.ctor(UnityEngine.Texture
tex, UnityEngine.Shader shader)
IL_01C1: call static UnityEngine.Material
Verse.MaterialPool::MatFrom(Verse.MaterialRequest req)
IL_01C6: stloc.s 12 (UnityEngine.Material)
IL_01C8: ldarg.0
IL_01C9: ldloc.s 12 (UnityEngine.Material)
IL_01CB: ldarg.0
IL_01CC: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_01D1: ldc.i4.0
IL_01D2: call UnityEngine.Material
Verse.PawnRenderer::OverrideMaterialIfNeeded(UnityEngine.Material original,
Verse.Pawn pawn, System.Boolean portrait)
IL_01D7: stloc.s 12 (UnityEngine.Material)
IL_01D9: ldarg.0
IL_01DA: ldloc.s 4 (Verse.PawnTextureAtlasFrameSet)
IL_01DC: ldloc.s 11 (Verse.Rot4)
IL_01DE: ldloc.s 9 (System.Boolean)
IL_01E0: brtrue => Label17
IL_01E5: ldc.i4.1
IL_01E6: br => Label18
IL_01EB: Label17
IL_01EB: ldc.i4.0
IL_01EC: Label18
IL_01EC: call UnityEngine.Mesh
Verse.PawnRenderer::GetBlitMeshUpdatedFrame(Verse.PawnTextureAtlasFrameSet
frameSet, Verse.Rot4 rotation, Verse.PawnDrawMode drawMode)
IL_01F1: ldloc.s 8 (UnityEngine.Vector3)
IL_01F3: ldloc.s 10 (System.Single)
IL_01F5: call static UnityEngine.Vector3 UnityEngine.Vector3::get_up()
IL_01FA: call static UnityEngine.Quaternion
UnityEngine.Quaternion::AngleAxis(System.Single angle, UnityEngine.Vector3 axis)
IL_01FF: ldloc.s 12 (UnityEngine.Material)
IL_0201: ldc.i4.0
IL_0202: call static System.Void
Verse.GenDraw::DrawMeshNowOrLater(UnityEngine.Mesh mesh, UnityEngine.Vector3 loc,
UnityEngine.Quaternion quat, UnityEngine.Material mat, System.Boolean drawNow)
IL_0207: ldarg.0
IL_0208: ldloc.s 8 (UnityEngine.Vector3)
IL_020A: ldloc.s 10 (System.Single)
IL_020C: ldloc.0
IL_020D: ldloc.1
IL_020E: call System.Void
Verse.PawnRenderer::DrawDynamicParts(UnityEngine.Vector3 rootLoc, System.Single
angle, Verse.Rot4 pawnRotation, Verse.PawnRenderFlags flags)
IL_0213: br => Label19
IL_0218: Label16
IL_0218: ldarg.0
IL_0219: ldloc.s 8 (UnityEngine.Vector3)
IL_021B: ldloc.s 10 (System.Single)
IL_021D: ldloc.s 9 (System.Boolean)
IL_021F: ldloc.s 11 (Verse.Rot4)
IL_0221: ldloc.2
IL_0222: ldloc.1
IL_0223: call System.Void
Verse.PawnRenderer::RenderPawnInternal(UnityEngine.Vector3 rootLoc, System.Single
angle, System.Boolean renderBody, Verse.Rot4 bodyFacing, Verse.RotDrawMode
bodyDrawType, Verse.PawnRenderFlags flags)
IL_0228: Label14
IL_0228: Label15
IL_0228: Label19
IL_0228: ldarg.0
IL_0229: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_022E: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_0233: brfalse => Label20
IL_0238: ldarg.0
IL_0239: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_023E: callvirt System.Boolean Verse.Pawn::get_Dead()
IL_0243: brtrue => Label21
IL_0248: ldarg.0
IL_0249: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_024E: ldfld Verse.Pawn_StanceTracker Verse.Pawn::stances
IL_0253: callvirt System.Void Verse.Pawn_StanceTracker::StanceTrackerDraw()
IL_0258: ldarg.0
IL_0259: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_025E: ldfld Verse.AI.Pawn_PathFollower Verse.Pawn::pather
IL_0263: callvirt System.Void Verse.AI.Pawn_PathFollower::PatherDraw()
IL_0268: ldarg.0
IL_0269: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_026E: ldfld RimWorld.Pawn_RopeTracker Verse.Pawn::roping
IL_0273: callvirt System.Void RimWorld.Pawn_RopeTracker::RopingDraw()
IL_0278: Label20
IL_0278: Label21
IL_0278: ldarg.0
IL_0279: call System.Void Verse.PawnRenderer::DrawDebug()
IL_027E: // end original
IL_027E: Label0
IL_027E: ldarg.0
IL_027F: ldfld Verse.Pawn Verse.PawnRenderer::pawn
IL_0284: call static System.Void
CameraPlus.PawnRenderer_RenderPawnAt_Patch::Postfix(Verse.Pawn ___pawn)
IL_0289: ret
DONE

### Patch: System.Void Verse.PawnUIOverlay::DrawPawnGUIOverlay()


### Replacement: static System.Void
Verse.PawnUIOverlay::DrawPawnGUIOverlay_Patch1(Verse.PawnUIOverlay this)
IL_0000: Local var 0: UnityEngine.Vector2
IL_0000: Local var 1: Verse.AI.Group.Lord
IL_0000: Local var 2: Verse.AnimalNameDisplayMode
IL_0000: Local var 3: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 3 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 3 (System.Boolean)
IL_000E: ldloc 3 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg.0
IL_0015: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_001A: call static System.Boolean
CameraPlus.PawnUIOverlay_DrawPawnGUIOverlay_Patch::Prefix(Verse.Pawn ___pawn)
IL_001F: stloc 3 (System.Boolean)
IL_0023: nop
IL_0024: ldloc 3 (System.Boolean)
IL_0028: brfalse => Label0
IL_002D: // start original
IL_002D: ldarg.0
IL_002E: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_0033: callvirt System.Boolean Verse.Thing::get_Spawned()
IL_0038: brfalse => Label2
IL_003D: ldarg.0
IL_003E: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_0043: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_0048: ldfld Verse.FogGrid Verse.Map::fogGrid
IL_004D: ldarg.0
IL_004E: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_0053: callvirt virtual Verse.IntVec3 Verse.Thing::get_Position()
IL_0058: callvirt System.Boolean Verse.FogGrid::IsFogged(Verse.IntVec3 c)
IL_005D: brfalse => Label3
IL_0062: Label2
IL_0062: br => Label15
IL_0067: Label3
IL_0067: ldarg.0
IL_0068: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_006D: callvirt Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_0072: callvirt System.Boolean Verse.RaceProperties::get_Humanlike()
IL_0077: brtrue => Label4
IL_007C: call static Verse.AnimalNameDisplayMode
CameraPlus.PawnUIOverlay_DrawPawnGUIOverlay_Patch::AnimalNameMode()
IL_0081: stloc.2
IL_0082: ldloc.2
IL_0083: switch => Labels5,6,7
IL_0094: br => Label8
IL_0099: Label5
IL_0099: br => Label16
IL_009E: Label7
IL_009E: ldarg.0
IL_009F: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_00A4: callvirt Verse.Name Verse.Pawn::get_Name()
IL_00A9: brtrue => Label9
IL_00AE: br => Label17
IL_00B3: Label6
IL_00B3: ldarg.0
IL_00B4: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_00B9: callvirt Verse.Name Verse.Pawn::get_Name()
IL_00BE: brfalse => Label10
IL_00C3: ldarg.0
IL_00C4: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_00C9: callvirt Verse.Name Verse.Pawn::get_Name()
IL_00CE: callvirt abstract virtual System.Boolean Verse.Name::get_Numerical()
IL_00D3: brfalse => Label11
IL_00D8: Label10
IL_00D8: br => Label18
IL_00DD: Label4
IL_00DD: Label8
IL_00DD: Label9
IL_00DD: Label11
IL_00DD: ldarg.0
IL_00DE: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_00E3: ldc.r4 -0.6
IL_00E8: call static UnityEngine.Vector2
Verse.GenMapUI::LabelDrawPosFor(Verse.Thing thing, System.Single worldOffsetZ)
IL_00ED: stloc.0
IL_00EE: ldarg.0
IL_00EF: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_00F4: ldloc.0
IL_00F5: ldc.r4 1
IL_00FA: ldc.r4 9999
IL_00FF: ldnull
IL_0100: ldc.i4.0
IL_0101: ldc.i4.1
IL_0102: ldc.i4.1
IL_0103: call static System.Void Verse.GenMapUI::DrawPawnLabel(Verse.Pawn
pawn, UnityEngine.Vector2 pos, System.Single alpha, System.Single truncateToWidth,
System.Collections.Generic.Dictionary`2<System.String, System.String>
truncatedLabelsCache, Verse.GameFont font, System.Boolean alwaysDrawBg,
System.Boolean alignCenter)
IL_0108: ldarg.0
IL_0109: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_010E: callvirt virtual System.Boolean Verse.Pawn::get_CanTradeNow()
IL_0113: brfalse => Label12
IL_0118: ldarg.0
IL_0119: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_011E: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_0123: ldfld RimWorld.OverlayDrawer Verse.Map::overlayDrawer
IL_0128: ldarg.0
IL_0129: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_012E: ldc.i4.s 32
IL_0130: callvirt System.Void RimWorld.OverlayDrawer::DrawOverlay(Verse.Thing t,
RimWorld.OverlayTypes overlayType)
IL_0135: Label12
IL_0135: ldarg.0
IL_0136: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_013B: call static Verse.AI.Group.Lord
Verse.AI.Group.LordUtility::GetLord(Verse.Pawn p)
IL_0140: stloc.1
IL_0141: ldloc.1
IL_0142: brfalse => Label13
IL_0147: ldloc.1
IL_0148: callvirt Verse.AI.Group.LordToil Verse.AI.Group.Lord::get_CurLordToil()
IL_014D: brfalse => Label14
IL_0152: ldloc.1
IL_0153: callvirt Verse.AI.Group.LordToil Verse.AI.Group.Lord::get_CurLordToil()
IL_0158: ldarg.0
IL_0159: ldfld Verse.Pawn Verse.PawnUIOverlay::pawn
IL_015E: callvirt virtual System.Void
Verse.AI.Group.LordToil::DrawPawnGUIOverlay(Verse.Pawn pawn)
IL_0163: // end original
IL_0163: Label13
IL_0163: Label14
IL_0163: Label15
IL_0163: Label16
IL_0163: Label17
IL_0163: Label18
IL_0163: Label0
IL_0163: ret
DONE

### Patch: static System.Void Verse.GenMapUI::DrawPawnLabel(Verse.Pawn pawn,


UnityEngine.Vector2 pos, System.Single alpha, System.Single truncateToWidth,
System.Collections.Generic.Dictionary`2<System.String, System.String>
truncatedLabelsCache, Verse.GameFont font, System.Boolean alwaysDrawBg,
System.Boolean alignCenter)
### Replacement: static System.Void Verse.GenMapUI::DrawPawnLabel_Patch1(Verse.Pawn
pawn, UnityEngine.Vector2 pos, System.Single alpha, System.Single truncateToWidth,
System.Collections.Generic.Dictionary`2<System.String, System.String>
truncatedLabelsCache, Verse.GameFont font, System.Boolean alwaysDrawBg,
System.Boolean alignCenter)
IL_0000: Local var 0: System.Single
IL_0000: Local var 1: UnityEngine.Rect
IL_0000: Local var 2: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 2 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 2 (System.Boolean)
IL_000E: ldloc 2 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg 0
IL_0018: ldarg 3
IL_001C: call static System.Boolean
CameraPlus.GenMapUI_DrawPawnLabel_Patch::Prefix(Verse.Pawn pawn, System.Single
truncateToWidth)
IL_0021: stloc 2 (System.Boolean)
IL_0025: nop
IL_0026: ldloc 2 (System.Boolean)
IL_002A: brfalse => Label0
IL_002F: // start original
IL_002F: ldarg.0
IL_0030: ldarg.3
IL_0031: ldarg.s 4
IL_0033: ldarg.s 5
IL_0035: call static System.Single
Verse.GenMapUI::GetPawnLabelNameWidth(Verse.Pawn pawn, System.Single
truncateToWidth, System.Collections.Generic.Dictionary`2<System.String,
System.String> truncatedLabelsCache, Verse.GameFont font)
IL_003A: stloc.0
IL_003B: ldloca.s 1 (UnityEngine.Rect)
IL_003D: ldarg.1
IL_003E: ldfld System.Single UnityEngine.Vector2::x
IL_0043: ldloc.0
IL_0044: ldc.r4 2
IL_0049: div
IL_004A: sub
IL_004B: ldc.r4 4
IL_0050: sub
IL_0051: ldarg.1
IL_0052: ldfld System.Single UnityEngine.Vector2::y
IL_0057: ldloc.0
IL_0058: ldc.r4 8
IL_005D: add
IL_005E: ldc.r4 12
IL_0063: call System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_0068: ldarg.0
IL_0069: callvirt Verse.RaceProperties Verse.Pawn::get_RaceProps()
IL_006E: callvirt System.Boolean Verse.RaceProperties::get_Humanlike()
IL_0073: brtrue => Label2
IL_0078: ldloca.s 1 (UnityEngine.Rect)
IL_007A: dup
IL_007B: call System.Single UnityEngine.Rect::get_y()
IL_0080: ldc.r4 4
IL_0085: sub
IL_0086: call System.Void UnityEngine.Rect::set_y(System.Single value)
IL_008B: Label2
IL_008B: ldarg.0
IL_008C: ldloc.1
IL_008D: ldarg.2
IL_008E: ldarg.3
IL_008F: ldarg.s 4
IL_0091: ldarg.s 5
IL_0093: ldarg.s 6
IL_0095: ldarg.s 7
IL_0097: call static System.Void Verse.GenMapUI::DrawPawnLabel(Verse.Pawn
pawn, UnityEngine.Rect bgRect, System.Single alpha, System.Single truncateToWidth,
System.Collections.Generic.Dictionary`2<System.String, System.String>
truncatedLabelsCache, Verse.GameFont font, System.Boolean alwaysDrawBg,
System.Boolean alignCenter)
IL_009C: // end original
IL_009C: Label0
IL_009C: ret
DONE

### Patch: static System.Void Verse.GenMapUI::DrawThingLabel(UnityEngine.Vector2


screenPos, System.String text, UnityEngine.Color textColor)
### Replacement: static System.Void
Verse.GenMapUI::DrawThingLabel_Patch1(UnityEngine.Vector2 screenPos, System.String
text, UnityEngine.Color textColor)
IL_0000: Local var 0: System.Single
IL_0000: Local var 1: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 1 (System.Boolean)
IL_0009: ldc.i4.1
IL_000A: stloc 1 (System.Boolean)
IL_000E: ldloc 1 (System.Boolean)
IL_0012: brfalse.s => Label1
IL_0014: ldarg 0
IL_0018: call static System.Boolean
CameraPlus.GenMapUI_DrawThingLabel_Patch::Prefix(UnityEngine.Vector2 screenPos)
IL_001D: stloc 1 (System.Boolean)
IL_0021: nop
IL_0022: ldloc 1 (System.Boolean)
IL_0026: brfalse => Label0
IL_002B: // start original
IL_002B: call static Verse.CameraDriver Verse.Find::get_CameraDriver()
IL_0030: ldfld System.Single Verse.CameraDriver::rootSize
IL_0035: call static Verse.GameFont
CameraPlus.GenMapUI_DrawThingLabel_Patch::GetAdaptedGameFont(System.Single
rootSize)
IL_003A: call static System.Void Verse.Text::set_Font(Verse.GameFont value)
IL_003F: ldarg.1
IL_0040: call static UnityEngine.Vector2 Verse.Text::CalcSize(System.String
text)
IL_0045: ldfld System.Single UnityEngine.Vector2::x
IL_004A: stloc.0
IL_004B: ldarg.0
IL_004C: ldfld System.Single UnityEngine.Vector2::x
IL_0051: ldloc.0
IL_0052: ldc.r4 2
IL_0057: div
IL_0058: sub
IL_0059: ldc.r4 4
IL_005E: sub
IL_005F: ldarg.0
IL_0060: ldfld System.Single UnityEngine.Vector2::y
IL_0065: ldloc.0
IL_0066: ldc.r4 8
IL_006B: add
IL_006C: ldc.r4 12
IL_0071: newobj System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_0076: ldsfld UnityEngine.Texture2D Verse.TexUI::GrayTextBG
IL_007B: call static System.Void
UnityEngine.GUI::DrawTexture(UnityEngine.Rect position, UnityEngine.Texture image)
IL_0080: ldarg.2
IL_0081: call static System.Void UnityEngine.GUI::set_color(UnityEngine.Color
value)
IL_0086: ldc.i4.1
IL_0087: call static System.Void
Verse.Text::set_Anchor(UnityEngine.TextAnchor value)
IL_008C: ldarg.0
IL_008D: ldfld System.Single UnityEngine.Vector2::x
IL_0092: ldloc.0
IL_0093: ldc.r4 2
IL_0098: div
IL_0099: sub
IL_009A: ldarg.0
IL_009B: ldfld System.Single UnityEngine.Vector2::y
IL_00A0: ldc.r4 3
IL_00A5: sub
IL_00A6: ldloc.0
IL_00A7: ldc.r4 999
IL_00AC: newobj System.Void UnityEngine.Rect::.ctor(System.Single x,
System.Single y, System.Single width, System.Single height)
IL_00B1: ldarg.1
IL_00B2: call static System.Void Verse.Widgets::Label(UnityEngine.Rect rect,
System.String label)
IL_00B7: call static UnityEngine.Color UnityEngine.Color::get_white()
IL_00BC: call static System.Void UnityEngine.GUI::set_color(UnityEngine.Color
value)
IL_00C1: ldc.i4.0
IL_00C2: call static System.Void
Verse.Text::set_Anchor(UnityEngine.TextAnchor value)
IL_00C7: ldc.i4.1
IL_00C8: call static System.Void Verse.Text::set_Font(Verse.GameFont value)
IL_00CD: // end original
IL_00CD: Label0
IL_00CD: ret
DONE

### Patch: Verse.CameraZoomRange Verse.CameraDriver::get_CurrentZoom()


### Replacement: static Verse.CameraZoomRange
Verse.CameraDriver::get_CurrentZoom_Patch1(Verse.CameraDriver this)
IL_0000: Local var 0: System.Byte
IL_0000: Local var 1: System.Boolean
IL_0000: ldc.i4 0
IL_0005: stloc 0 (System.Byte)
IL_0009: ldc.i4 0
IL_000E: stloc 1 (System.Boolean)
IL_0012: ldc.i4.1
IL_0013: stloc 1 (System.Boolean)
IL_0017: ldloc 1 (System.Boolean)
IL_001B: brfalse.s => Label1
IL_001D: ldloca 0 (System.Byte)
IL_0021: ldarg.0
IL_0022: ldfld System.Single Verse.CameraDriver::rootSize
IL_0027: call static System.Boolean
CameraPlus.CameraDriver_CurrentZoom_Patch::Prefix(Verse.CameraZoomRange& __result,
System.Single ___rootSize)
IL_002C: stloc 1 (System.Boolean)
IL_0030: nop
IL_0031: ldloc 1 (System.Boolean)
IL_0035: brfalse => Label0
IL_003A: // start original
IL_003A: ldarg.0
IL_003B: ldfld System.Single Verse.CameraDriver::rootSize
IL_0040: ldarg.0
IL_0041: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_0046: ldfld System.Single Verse.CameraMapConfig::minSize
IL_004B: ldc.r4 1
IL_0050: add
IL_0051: bge.un => Label2
IL_0056: ldc.i4.0
IL_0057: br => Label6
IL_005C: Label2
IL_005C: ldarg.0
IL_005D: ldfld System.Single Verse.CameraDriver::rootSize
IL_0062: ldc.r4 13.8
IL_0067: bge.un => Label3
IL_006C: ldc.i4.1
IL_006D: br => Label7
IL_0072: Label3
IL_0072: ldarg.0
IL_0073: ldfld System.Single Verse.CameraDriver::rootSize
IL_0078: ldc.r4 42
IL_007D: bge.un => Label4
IL_0082: ldc.i4.2
IL_0083: br => Label8
IL_0088: Label4
IL_0088: ldarg.0
IL_0089: ldfld System.Single Verse.CameraDriver::rootSize
IL_008E: ldc.r4 57
IL_0093: bge.un => Label5
IL_0098: ldc.i4.3
IL_0099: br => Label9
IL_009E: Label5
IL_009E: ldc.i4.4
IL_009F: // end original
IL_009F: Label6
IL_009F: Label7
IL_009F: Label8
IL_009F: Label9
IL_009F: stloc 0 (System.Byte)
IL_00A3: Label0
IL_00A3: ldloc 0 (System.Byte)
IL_00A7: ret
DONE

### Patch: System.Void Verse.CameraDriver::ApplyPositionToGameObject()


### Replacement: static System.Void
Verse.CameraDriver::ApplyPositionToGameObject_Patch0(Verse.CameraDriver this)
IL_0000: Local var 0: UnityEngine.Vector3
IL_0000: // start original
IL_0000: ldarg.0
IL_0001: ldflda UnityEngine.Vector3 Verse.CameraDriver::rootPos
IL_0006: ldc.r4 15
IL_000B: ldarg.0
IL_000C: ldfld System.Single Verse.CameraDriver::rootSize
IL_0011: ldarg.0
IL_0012: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_0017: ldfld System.Single Verse.CameraMapConfig::minSize
IL_001C: sub
IL_001D: ldc.r4 60
IL_0022: ldarg.0
IL_0023: ldfld Verse.CameraMapConfig Verse.CameraDriver::config
IL_0028: ldfld System.Single Verse.CameraMapConfig::minSize
IL_002D: sub
IL_002E: div
IL_002F: ldc.r4 50
IL_0034: mul
IL_0035: add
IL_0036: stfld System.Single UnityEngine.Vector3::y
IL_003B: ldarg.0
IL_003C: call UnityEngine.Camera Verse.CameraDriver::get_MyCamera()
IL_0041: ldarg.0
IL_0042: ldfld System.Single Verse.CameraDriver::rootSize
IL_0047: callvirt System.Void
UnityEngine.Camera::set_orthographicSize(System.Single value)
IL_004C: ldarg.0
IL_004D: call UnityEngine.Camera Verse.CameraDriver::get_MyCamera()
IL_0052: callvirt UnityEngine.Transform UnityEngine.Component::get_transform()
IL_0057: ldarg.0
IL_0058: ldfld UnityEngine.Vector3 Verse.CameraDriver::rootPos
IL_005D: ldarg.0
IL_005E: ldfld Verse.CameraShaker Verse.CameraDriver::shaker
IL_0063: callvirt UnityEngine.Vector3 Verse.CameraShaker::get_ShakeOffset()
IL_0068: call static UnityEngine.Vector3
UnityEngine.Vector3::op_Addition(UnityEngine.Vector3 a, UnityEngine.Vector3 b)
IL_006D: callvirt System.Void
UnityEngine.Transform::set_position(UnityEngine.Vector3 value)
IL_0072: ldarg.0
IL_0073: call UnityEngine.Transform UnityEngine.Component::get_transform()
IL_0078: callvirt UnityEngine.Vector3 UnityEngine.Transform::get_position()
IL_007D: stloc.0
IL_007E: ldloca.s 0 (UnityEngine.Vector3)
IL_0080: ldc.r4 65
IL_0085: stfld System.Single UnityEngine.Vector3::y
IL_008A: ldarg.0
IL_008B: ldfld UnityEngine.GameObject Verse.CameraDriver::reverbDummy
IL_0090: callvirt UnityEngine.Transform UnityEngine.GameObject::get_transform()
IL_0095: ldloc.0
IL_0096: callvirt System.Void
UnityEngine.Transform::set_position(UnityEngine.Vector3 value)
IL_009B: ldarg.0
IL_009C: ldarg.0
IL_009D: call UnityEngine.Camera Verse.CameraDriver::get_MyCamera()
IL_00A2: call static System.Void
CameraPlus.CameraDriver_ApplyPositionToGameObject_Patch::ApplyZoom(Verse.CameraDriv
er driver, UnityEngine.Camera camera)
IL_00A7: // end original
IL_00A7: ret
DONE

### Patch: Verse.CellRect Verse.CameraDriver::get_CurrentViewRect()


### Replacement: static Verse.CellRect
Verse.CameraDriver::get_CurrentViewRect_Patch0(Verse.CameraDriver this)
IL_0000: Local var 0: System.Single
IL_0000: Local var 1: UnityEngine.Vector3
IL_0000: Local var 2: System.Single
IL_0000: // start original
IL_0000: ldarg.0
IL_0001: ldfld System.Single Verse.CameraDriver::rootSize
IL_0006: call static System.Single
CameraPlus.Tools::LerpRootSize(System.Single x)
IL_000B: stloc 2 (System.Single)
IL_000F: call static System.Int32 UnityEngine.Time::get_frameCount()
IL_0014: ldsfld System.Int32 Verse.CameraDriver::lastViewRectGetFrame
IL_0019: beq => Label0
IL_001E: ldsflda Verse.CellRect Verse.CameraDriver::lastViewRect
IL_0023: initobj Verse.CellRect
IL_0029: ldsfld System.Int32 Verse.UI::screenWidth
IL_002E: conv.r4
IL_002F: ldsfld System.Int32 Verse.UI::screenHeight
IL_0034: conv.r4
IL_0035: div
IL_0036: stloc.0
IL_0037: ldarg.0
IL_0038: call UnityEngine.Vector3
Verse.CameraDriver::get_CurrentRealPosition()
IL_003D: stloc.1
IL_003E: ldsflda Verse.CellRect Verse.CameraDriver::lastViewRect
IL_0043: ldloc.1
IL_0044: ldfld System.Single UnityEngine.Vector3::x
IL_0049: ldloc 2 (System.Single)
IL_004D: ldloc.0
IL_004E: mul
IL_004F: sub
IL_0050: ldc.r4 1
IL_0055: sub
IL_0056: call static System.Int32 UnityEngine.Mathf::FloorToInt(System.Single
f)
IL_005B: stfld System.Int32 Verse.CellRect::minX
IL_0060: ldsflda Verse.CellRect Verse.CameraDriver::lastViewRect
IL_0065: ldloc.1
IL_0066: ldfld System.Single UnityEngine.Vector3::x
IL_006B: ldloc 2 (System.Single)
IL_006F: ldloc.0
IL_0070: mul
IL_0071: add
IL_0072: call static System.Int32 UnityEngine.Mathf::CeilToInt(System.Single
f)
IL_0077: stfld System.Int32 Verse.CellRect::maxX
IL_007C: ldsflda Verse.CellRect Verse.CameraDriver::lastViewRect
IL_0081: ldloc.1
IL_0082: ldfld System.Single UnityEngine.Vector3::z
IL_0087: ldloc 2 (System.Single)
IL_008B: sub
IL_008C: ldc.r4 1
IL_0091: sub
IL_0092: call static System.Int32 UnityEngine.Mathf::FloorToInt(System.Single
f)
IL_0097: stfld System.Int32 Verse.CellRect::minZ
IL_009C: ldsflda Verse.CellRect Verse.CameraDriver::lastViewRect
IL_00A1: ldloc.1
IL_00A2: ldfld System.Single UnityEngine.Vector3::z
IL_00A7: ldloc 2 (System.Single)
IL_00AB: add
IL_00AC: call static System.Int32 UnityEngine.Mathf::CeilToInt(System.Single
f)
IL_00B1: stfld System.Int32 Verse.CellRect::maxZ
IL_00B6: call static System.Int32 UnityEngine.Time::get_frameCount()
IL_00BB: stsfld System.Int32 Verse.CameraDriver::lastViewRectGetFrame
IL_00C0: Label0
IL_00C0: ldsfld Verse.CellRect Verse.CameraDriver::lastViewRect
IL_00C5: // end original
IL_00C5: ret
DONE

### Harmony id=OskarPotocki.VAECaves, version=2.0.0.8, location=Z:\SteamLibrary\


steamapps\common\data-000001638B3F0080
### Started from System.Void VAECaves.VAECaves::.ctor(Verse.ModContentPack
content), location Z:\SteamLibrary\steamapps\common\data-000001638C3899F0
### At 2021-10-01 08.56.14
### Harmony id=Owlchemist.CleanPathfinding, version=2.0.0.8, location=Z:\
SteamLibrary\steamapps\common\data-000001638B3F0080
### Started from System.Void
CleanPathfinding.Mod_CleanPathfinding::.ctor(Verse.ModContentPack content),
location Z:\SteamLibrary\steamapps\common\data-000001638C3ABE40
### At 2021-10-01 08.56.14
### Patch: static System.Void
RimWorld.DefGenerator::GenerateImpliedDefs_PostResolve()
### Replacement: static System.Void
RimWorld.DefGenerator::GenerateImpliedDefs_PostResolve_Patch1()
IL_0000: Local var 0:
System.Collections.Generic.IEnumerator`1<Verse.KeyBindingCategoryDef>
IL_0000: Local var 1: System.Collections.Generic.IEnumerator`1<Verse.KeyBindingDef>
IL_0000: // start original
IL_0000: call static
System.Collections.Generic.IEnumerable`1<Verse.KeyBindingCategoryDef>
Verse.KeyBindingDefGenerator::ImpliedKeyBindingCategoryDefs()
IL_0005: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.KeyBindingCategoryDef>
System.Collections.Generic.IEnumerable`1<Verse.KeyBindingCategoryDef>::GetEnumerato
r()
IL_000A: stloc.0
.try
{
IL_000B: br => Label0
IL_0010: Label1
IL_0010: ldloc.0
IL_0011: callvirt abstract virtual Verse.KeyBindingCategoryDef
System.Collections.Generic.IEnumerator`1<Verse.KeyBindingCategoryDef>::get_Current(
)
IL_0016: call static System.Void
RimWorld.DefGenerator::AddImpliedDef(Verse.KeyBindingCategoryDef def)
IL_001B: Label0
IL_001B: ldloc.0
IL_001C: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_0021: brtrue => Label1
IL_0026: leave => Label2
IL_002B: leave => (autogenerated)
} // end try
.finally
{
IL_0030: ldloc.0
IL_0031: brfalse => Label3
IL_0036: ldloc.0
IL_0037: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_003C: Label3
IL_003C: endfinally
IL_003D: leave => (autogenerated)
} // end handler
IL_003E: Label2
IL_003E: call static
System.Collections.Generic.IEnumerable`1<Verse.KeyBindingDef>
Verse.KeyBindingDefGenerator::ImpliedKeyBindingDefs()
IL_0043: callvirt abstract virtual
System.Collections.Generic.IEnumerator`1<Verse.KeyBindingDef>
System.Collections.Generic.IEnumerable`1<Verse.KeyBindingDef>::GetEnumerator()
IL_0048: stloc.1
.try
{
IL_0049: br => Label4
IL_004E: Label5
IL_004E: ldloc.1
IL_004F: callvirt abstract virtual Verse.KeyBindingDef
System.Collections.Generic.IEnumerator`1<Verse.KeyBindingDef>::get_Current()
IL_0054: call static System.Void
RimWorld.DefGenerator::AddImpliedDef(Verse.KeyBindingDef def)
IL_0059: Label4
IL_0059: ldloc.1
IL_005A: callvirt abstract virtual System.Boolean
System.Collections.IEnumerator::MoveNext()
IL_005F: brtrue => Label5
IL_0064: leave => Label6
IL_0069: leave => (autogenerated)
} // end try
.finally
{
IL_006E: ldloc.1
IL_006F: brfalse => Label7
IL_0074: ldloc.1
IL_0075: callvirt abstract virtual System.Void
System.IDisposable::Dispose()
IL_007A: Label7
IL_007A: endfinally
IL_007B: leave => (autogenerated)
} // end handler
IL_007C: // end original
IL_007C: Label6
IL_007C: call static System.Void
CleanPathfinding.Patch_DefGenerator::Postfix()
IL_0081: ret
DONE

### Patch: Verse.AI.PawnPath Verse.AI.PathFinder::FindPath(Verse.IntVec3 start,


Verse.LocalTargetInfo dest, Verse.TraverseParms traverseParms, Verse.AI.PathEndMode
peMode, Verse.AI.PathFinderCostTuning tuning)
### Replacement: static Verse.AI.PawnPath
Verse.AI.PathFinder::FindPath_Patch0(Verse.AI.PathFinder this, Verse.IntVec3 start,
Verse.LocalTargetInfo dest, Verse.TraverseParms traverseParms, Verse.AI.PathEndMode
peMode, Verse.AI.PathFinderCostTuning tuning)
IL_0000: Local var 0: Verse.Pawn
IL_0000: Local var 1: System.Int32
IL_0000: Local var 2: System.Int32
IL_0000: Local var 3: System.Int32
IL_0000: Local var 4: System.Int32
IL_0000: Local var 5: Verse.ByteGrid
IL_0000: Local var 6: System.Boolean
IL_0000: Local var 7: System.Boolean
IL_0000: Local var 8: System.Boolean
IL_0000: Local var 9: Verse.CellRect
IL_0000: Local var 10: System.Boolean
IL_0000: Local var 11: System.Int32[]
IL_0000: Local var 12: Verse.TerrainDef[]
IL_0000: Local var 13: Verse.EdificeGrid
IL_0000: Local var 14: System.Int32
IL_0000: Local var 15: System.Int32
IL_0000: Local var 16: Verse.Area
IL_0000: Local var 17: Verse.BoolGrid
IL_0000: Local var 18: System.Boolean
IL_0000: Local var 19: System.Boolean
IL_0000: Local var 20: System.Boolean
IL_0000: Local var 21: System.Boolean
IL_0000: Local var 22: System.Boolean
IL_0000: Local var 23: System.Int32
IL_0000: Local var 24: System.Int32
IL_0000: Local var 25: System.Single
IL_0000: Local var 26: System.Int32
IL_0000: Local var 27: System.Int32
IL_0000: Local var 28: System.Int32
IL_0000: Local var 29: System.Int32
IL_0000: Local var 30: System.Single
IL_0000: Local var 31: System.Int32
IL_0000: Local var 32: System.Int32
IL_0000: Local var 33: Verse.IntVec3
IL_0000: Local var 34: System.Int32
IL_0000: Local var 35: System.Int32
IL_0000: Local var 36: System.String
IL_0000: Local var 37: System.String
IL_0000: Local var 38: System.Int32
IL_0000: Local var 39: System.UInt32
IL_0000: Local var 40: System.UInt32
IL_0000: Local var 41: System.Int32
IL_0000: Local var 42: System.Int32
IL_0000: Local var 43: System.Int32
IL_0000: Local var 44: System.Int32
IL_0000: Local var 45: System.Boolean
IL_0000: Local var 46: System.Int32
IL_0000: Local var 47: System.Int32
IL_0000: Local var 48: System.UInt16
IL_0000: Local var 49: System.Int32
IL_0000: Local var 50: Verse.Building
IL_0000: Local var 51: Verse.Building
IL_0000: Local var 52: System.Int32
IL_0000: Local var 53: System.Collections.Generic.List`1<RimWorld.Blueprint>
IL_0000: Local var 54: System.Int32
IL_0000: Local var 55: System.Int32
IL_0000: Local var 56: System.Int32
IL_0000: Local var 57: System.Int32
IL_0000: Local var 58: System.Int32
IL_0000: // start original
IL_0000: ldsfld System.Boolean Verse.DebugSettings::pathThroughWalls
IL_0005: brfalse => Label0
IL_000A: ldarga.s 3
IL_000C: ldc.i4.3
IL_000D: stfld Verse.TraverseMode Verse.TraverseParms::mode
IL_0012: Label0
IL_0012: ldarg.3
IL_0013: ldfld Verse.Pawn Verse.TraverseParms::pawn
IL_0018: stloc.0
IL_0019: ldloc.0
IL_001A: brfalse => Label1
IL_001F: ldloc.0
IL_0020: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_0025: ldarg.0
IL_0026: ldfld Verse.Map Verse.AI.PathFinder::map
IL_002B: beq => Label2
IL_0030: ldc.i4.6
IL_0031: newarr System.Object
IL_0036: dup
IL_0037: ldc.i4.0
IL_0038: ldstr "Tried to FindPath for pawn which is spawned in another map.
His map PathFinder should have been used, not this one. pawn="
IL_003D: stelem.ref
IL_003E: dup
IL_003F: ldc.i4.1
IL_0040: ldloc.0
IL_0041: stelem.ref
IL_0042: dup
IL_0043: ldc.i4.2
IL_0044: ldstr " pawn.Map="
IL_0049: stelem.ref
IL_004A: dup
IL_004B: ldc.i4.3
IL_004C: ldloc.0
IL_004D: callvirt virtual Verse.Map Verse.Thing::get_Map()
IL_0052: stelem.ref
IL_0053: dup
IL_0054: ldc.i4.4
IL_0055: ldstr " map="
IL_005A: stelem.ref
IL_005B: dup
IL_005C: ldc.i4.5
IL_005D: ldarg.0
IL_005E: ldfld Verse.Map Verse.AI.PathFinder::map
IL_0063: stelem.ref
IL_0064: call static System.String System.String::Concat(System.Object[]
args)
IL_0069: call static System.Void Verse.Log::Error(System.String text)
IL_006E: call static Verse.AI.PawnPath Verse.AI.PawnPath::get_NotFound()
IL_0073: br => Label123
IL_0078: Label1
IL_0078: Label2
IL_0078: ldarga.s 1
IL_007A: call System.Boolean Verse.IntVec3::get_IsValid()
IL_007F: brtrue => Label3
IL_0084: ldc.i4.4
IL_0085: newarr System.Object
IL_008A: dup
IL_008B: ldc.i4.0
IL_008C: ldstr "Tried to FindPath with invalid start "
IL_0091: stelem.ref
IL_0092: dup
IL_0093: ldc.i4.1
IL_0094: ldarg.1
IL_0095: box Verse.IntVec3
IL_009A: stelem.ref
IL_009B: dup
IL_009C: ldc.i4.2
IL_009D: ldstr ", pawn= "
IL_00A2: stelem.ref
IL_00A3: dup
IL_00A4: ldc.i4.3
IL_00A5: ldloc.0
IL_00A6: stelem.ref
IL_00A7: call static System.String System.String::Concat(System.Object[]
args)
IL_00AC: call static System.Void Verse.Log::Error(System.String text)
IL_00B1: call static Verse.AI.PawnPath Verse.AI.PawnPath::get_NotFound()
IL_00B6: br => Label124
IL_00BB: Label3
IL_00BB: ldarga.s 2
IL_00BD: call System.Boolean Verse.LocalTargetInfo::get_IsValid()
IL_00C2: brtrue => Label4
IL_00C7: ldc.i4.4
IL_00C8: newarr System.Object
IL_00CD: dup
IL_00CE: ldc.i4.0
IL_00CF: ldstr "Tried to FindPath with invalid dest "
IL_00D4: stelem.ref
IL_00D5: dup
IL_00D6: ldc.i4.1
IL_00D7: ldarg.2
IL_00D8: box Verse.LocalTargetInfo
IL_00DD: stelem.ref
IL_00DE: dup
IL_00DF: ldc.i4.2
IL_00E0: ldstr ", pawn= "
IL_00E5: stelem.ref
IL_00E6: dup
IL_00E7: ldc.i4.3
IL_00E8: ldloc.0
IL_00E9: stelem.ref
IL_00EA: call static System.String System.String::Concat(System.Object[]
args)
IL_00EF: call static System.Void Verse.Log::Error(System.String text)
IL_00F4: call static Verse.AI.PawnPath Verse.AI.PawnPath::get_NotFound()
IL_00F9: br => Label125
IL_00FE: Label4
IL_00FE: ldarg.3
IL_00FF: ldfld Verse.TraverseMode Verse.TraverseParms::mode
IL_0104: brtrue => Label5
IL_0109: ldloc.0
IL_010A: ldarg.2
IL_010B: ldarg.s 4
IL_010D: ldc.i4.3
IL_010E: ldarg.3
IL_010F: ldfld System.Boolean Verse.TraverseParms::canBashDoors
IL_0114: ldarg.3
IL_0115: ldfld System.Boolean Verse.TraverseParms::canBashFences
IL_011A: ldarg.3
IL_011B: ldfld Verse.TraverseMode Verse.TraverseParms::mode
IL_0120: call static System.Boolean
Verse.ReachabilityUtility::CanReach(Verse.Pawn pawn, Verse.LocalTargetInfo dest,
Verse.AI.PathEndMode peMode, Verse.Danger maxDanger, System.Boolean canBashDoors,
System.Boolean canBashFences, Verse.TraverseMode mode)
IL_0125: brtrue => Label6
IL_012A: call static Verse.AI.PawnPath Verse.AI.PawnPath::get_NotFound()
IL_012F: br => Label126
IL_0134: Label5
IL_0134: ldarg.0
IL_0135: ldfld Verse.Map Verse.AI.PathFinder::map
IL_013A: ldfld Verse.Reachability Verse.Map::reachability
IL_013F: ldarg.1
IL_0140: ldarg.2
IL_0141: ldarg.s 4
IL_0143: ldarg.3
IL_0144: callvirt System.Boolean Verse.Reachability::CanReach(Verse.IntVec3
start, Verse.LocalTargetInfo dest, Verse.AI.PathEndMode peMode, Verse.TraverseParms
traverseParams)
IL_0149: brtrue => Label7
IL_014E: call static Verse.AI.PawnPath Verse.AI.PawnPath::get_NotFound()
IL_0153: br => Label127
IL_0158: Label6
IL_0158: Label7
IL_0158: ldarg.0
IL_0159: ldc.i4.7
IL_015A: newarr System.Object
IL_015F: dup
IL_0160: ldc.i4.0
IL_0161: ldstr "FindPath for "
IL_0166: stelem.ref
IL_0167: dup
IL_0168: ldc.i4.1
IL_0169: ldloc.0
IL_016A: stelem.ref
IL_016B: dup
IL_016C: ldc.i4.2
IL_016D: ldstr " from "
IL_0172: stelem.ref
IL_0173: dup
IL_0174: ldc.i4.3
IL_0175: ldarg.1
IL_0176: box Verse.IntVec3
IL_017B: stelem.ref
IL_017C: dup
IL_017D: ldc.i4.4
IL_017E: ldstr " to "
IL_0183: stelem.ref
IL_0184: dup
IL_0185: ldc.i4.5
IL_0186: ldarg.2
IL_0187: box Verse.LocalTargetInfo
IL_018C: stelem.ref
IL_018D: dup
IL_018E: ldc.i4.6
IL_018F: ldarga.s 2
IL_0191: call System.Boolean Verse.LocalTargetInfo::get_HasThing()
IL_0196: brtrue => Label8
IL_019B: ldstr ""
IL_01A0: br => Label9
IL_01A5: Label8
IL_01A5: ldstr " at "
IL_01AA: ldarga.s 2
IL_01AC: call Verse.IntVec3 Verse.LocalTargetInfo::get_Cell()
IL_01B1: box Verse.IntVec3
IL_01B6: call static System.String System.String::Concat(System.Object arg0,
System.Object arg1)
IL_01BB: Label9
IL_01BB: stelem.ref
IL_01BC: call static System.String System.String::Concat(System.Object[]
args)
IL_01C1: call System.Void
Verse.AI.PathFinder::PfProfilerBeginSample(System.String s)
IL_01C6: ldarg.0
IL_01C7: ldarg.0
IL_01C8: ldfld Verse.Map Verse.AI.PathFinder::map
IL_01CD: ldfld Verse.CellIndices Verse.Map::cellIndices
IL_01D2: stfld Verse.CellIndices Verse.AI.PathFinder::cellIndices
IL_01D7: ldarg.0
IL_01D8: ldarg.0
IL_01D9: ldfld Verse.Map Verse.AI.PathFinder::map
IL_01DE: ldfld Verse.AI.Pathing Verse.Map::pathing
IL_01E3: ldarg.3
IL_01E4: callvirt Verse.AI.PathingContext
Verse.AI.Pathing::For(Verse.TraverseParms parms)
IL_01E9: stfld Verse.AI.PathingContext Verse.AI.PathFinder::pathingContext
IL_01EE: ldarg.0
IL_01EF: ldarg.0
IL_01F0: ldfld Verse.AI.PathingContext Verse.AI.PathFinder::pathingContext
IL_01F5: ldfld Verse.AI.PathGrid Verse.AI.PathingContext::pathGrid
IL_01FA: stfld Verse.AI.PathGrid Verse.AI.PathFinder::pathGrid
IL_01FF: ldarg.0
IL_0200: ldarg.3
IL_0201: stfld Verse.TraverseParms Verse.AI.PathFinder::traverseParms
IL_0206: ldarg.0
IL_0207: ldarg.0
IL_0208: ldfld Verse.Map Verse.AI.PathFinder::map
IL_020D: ldfld Verse.EdificeGrid Verse.Map::edificeGrid
IL_0212: callvirt Verse.Building[] Verse.EdificeGrid::get_InnerArray()
IL_0217: stfld Verse.Building[] Verse.AI.PathFinder::edificeGrid
IL_021C: ldarg.0
IL_021D: ldarg.0
IL_021E: ldfld Verse.Map Verse.AI.PathFinder::map
IL_0223: ldfld Verse.BlueprintGrid Verse.Map::blueprintGrid
IL_0228: callvirt System.Collections.Generic.List`1[]
Verse.BlueprintGrid::get_InnerArray()
IL_022D: stfld System.Collections.Generic.List`1[]
Verse.AI.PathFinder::blueprintGrid
IL_0232: ldarga.s 2
IL_0234: call Verse.IntVec3 Verse.LocalTargetInfo::get_Cell()
IL_0239: ldfld System.Int32 Verse.IntVec3::x
IL_023E: stloc.1
IL_023F: ldarga.s 2
IL_0241: call Verse.IntVec3 Verse.LocalTargetInfo::get_Cell()
IL_0246: ldfld System.Int32 Verse.IntVec3::z
IL_024B: stloc.2
IL_024C: ldarg.0
IL_024D: ldfld Verse.CellIndices Verse.AI.PathFinder::cellIndices
IL_0252: ldarg.1
IL_0253: callvirt System.Int32 Verse.CellIndices::CellToIndex(Verse.IntVec3 c)
IL_0258: stloc.3
IL_0259: ldarg.0
IL_025A: ldfld Verse.CellIndices Verse.AI.PathFinder::cellIndices
IL_025F: ldarga.s 2
IL_0261: call Verse.IntVec3 Verse.LocalTargetInfo::get_Cell()
IL_0266: callvirt System.Int32 Verse.CellIndices::CellToIndex(Verse.IntVec3 c)
IL_026B: stloc.s 4 (System.Int32)
IL_026D: ldarg.3
IL_026E: ldfld System.Boolean Verse.TraverseParms::alwaysUseAvoidGrid
IL_0273: brtrue => Label10
IL_0278: ldloc.0
IL_0279: brtrue => Label11
IL_027E: ldnull
IL_027F: br => Label12
IL_0284: Label11
IL_0284: ldloc.0
IL_0285: ldc.i4.1
IL_0286: call static Verse.ByteGrid
RimWorld.PawnUtility::GetAvoidGrid(Verse.Pawn p, System.Boolean onlyIfLordAllows)
IL_028B: br => Label13
IL_0290: Label10
IL_0290: ldarg.0
IL_0291: ldfld Verse.Map Verse.AI.PathFinder::map
IL_0296: ldfld Verse.AI.AvoidGrid Verse.Map::avoidGrid
IL_029B: callvirt Verse.ByteGrid Verse.AI.AvoidGrid::get_Grid()
IL_02A0: Label12
IL_02A0: Label13
IL_02A0: stloc.s 5 (Verse.ByteGrid)
IL_02A2: ldarg.3
IL_02A3: ldfld Verse.TraverseMode Verse.TraverseParms::mode
IL_02A8: ldc.i4.3
IL_02A9: beq => Label14
IL_02AE: ldarg.3
IL_02AF: ldfld Verse.TraverseMode Verse.TraverseParms::mode
IL_02B4: ldc.i4.5
IL_02B5: ceq
IL_02B7: br => Label15
IL_02BC: Label14
IL_02BC: ldc.i4.1
IL_02BD: Label15
IL_02BD: stloc.s 6 (System.Boolean)
IL_02BF: ldarg.3
IL_02C0: ldfld Verse.TraverseMode Verse.TraverseParms::mode
IL_02C5: ldc.i4.4
IL_02C6: beq => Label16
IL_02CB: ldarg.3
IL_02CC: ldfld Verse.TraverseMode Verse.TraverseParms::mode
IL_02D1: ldc.i4.5
IL_02D2: ceq
IL_02D4: ldc.i4.0
IL_02D5: ceq
IL_02D7: br => Label17
IL_02DC: Label16
IL_02DC: ldc.i4.0
IL_02DD: Label17
IL_02DD: stloc.s 7 (System.Boolean)
IL_02DF: ldloc.s 6 (System.Boolean)
IL_02E1: ldc.i4.0
IL_02E2: ceq
IL_02E4: stloc.s 8 (System.Boolean)
IL_02E6: ldarg.0
IL_02E7: ldarg.2
IL_02E8: ldarg.s 4
IL_02EA: call Verse.CellRect
Verse.AI.PathFinder::CalculateDestinationRect(Verse.Loca