IL_0000: ldc.i4.0
IL_0001: stloc.0
IL_0002: ldarg.0
IL_0003: ldfld UnityEngine.GameObject[] InventoryGui::m_recipeRequirementList
IL_0008: ldlen
IL_0009: conv.i4
IL_000a: stloc.1
IL_000b: ldarg.0
IL_000c: ldflda InventoryGui/RecipeDataPair InventoryGui::m_selectedRecipe
IL_0011: call Recipe InventoryGui/RecipeDataPair::get_Recipe()
IL_0016: ldfld Piece/Requirement[] Recipe::m_resources
IL_001b: stloc.2
IL_001c: ldarg.0
IL_001d: ldfld System.Collections.Generic.List`1<Piece/Requirement> InventoryGui::m_reqList
IL_0022: callvirt System.Void System.Collections.Generic.List`1<Piece/Requirement>::Clear()
IL_0027: ldarg.2
IL_0028: callvirt CraftingStation Player::GetCurrentCraftingStation()
IL_002d: stloc.3
IL_002e: ldarg.0
IL_002f: ldflda InventoryGui/RecipeDataPair InventoryGui::m_selectedRecipe
IL_0034: call Recipe InventoryGui/RecipeDataPair::get_Recipe()
IL_0039: ldfld System.Boolean Recipe::m_requireOnlyOneIngredient
IL_003e: brfalse IL_00cd
IL_0043: ldarg.0
IL_0044: ldfld System.Collections.Generic.List`1<Piece/Requirement> InventoryGui::m_reqList
IL_0049: callvirt System.Void System.Collections.Generic.List`1<Piece/Requirement>::Clear()
IL_004e: ldloc.2
IL_004f: stloc.s V_5
IL_0051: ldc.i4.0
IL_0052: stloc.s V_6
IL_0054: br.s IL_00c3
IL_0056: ldloc.s V_5
IL_0058: ldloc.s V_6
IL_005a: ldelem.ref
IL_005b: stloc.s V_7
IL_005d: ldloc.3
IL_005e: ldnull
IL_005f: call System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
IL_0064: brfalse.s IL_0075
IL_0066: ldloc.3
IL_0067: ldfld System.Boolean CraftingStation::m_upgrader
IL_006c: ldloc.s V_7
IL_006e: ldfld System.Boolean Piece/Requirement::m_upgraderResource
IL_0073: bne.un.s IL_00bd
IL_0075: ldloc.3
IL_0076: ldnull
IL_0077: call System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
IL_007c: brfalse.s IL_0087
IL_007e: ldloc.s V_7
IL_0080: ldfld System.Boolean Piece/Requirement::m_upgraderResource
IL_0085: brtrue.s IL_00bd
IL_0087: ldarg.2
IL_0088: ldloc.s V_7
IL_008a: ldfld ItemDrop Piece/Requirement::m_resItem
IL_008f: ldfld ItemDrop/ItemData ItemDrop::m_itemData
IL_0094: ldfld ItemDrop/ItemData/SharedData ItemDrop/ItemData::m_shared
IL_0099: ldfld System.String ItemDrop/ItemData/SharedData::m_name
IL_009e: callvirt System.Boolean Player::IsKnownMaterial(System.String)
IL_00a3: brfalse.s IL_00bd
IL_00a5: ldloc.s V_7
IL_00a7: ldarg.1
IL_00a8: callvirt System.Int32 Piece/Requirement::GetAmount(System.Int32)
IL_00ad: ldc.i4.0
IL_00ae: ble.s IL_00bd
IL_00b0: ldarg.0
IL_00b1: ldfld System.Collections.Generic.List`1<Piece/Requirement> InventoryGui::m_reqList
IL_00b6: ldloc.s V_7
IL_00b8: callvirt System.Void System.Collections.Generic.List`1<Piece/Requirement>::Add(!0)
IL_00bd: ldloc.s V_6
IL_00bf: ldc.i4.1
IL_00c0: add
IL_00c1: stloc.s V_6
IL_00c3: ldloc.s V_6
IL_00c5: ldloc.s V_5
IL_00c7: ldlen
IL_00c8: conv.i4
IL_00c9: blt.s IL_0056
IL_00cb: br.s IL_012c
IL_00cd: ldloc.2
IL_00ce: stloc.s V_5
IL_00d0: ldc.i4.0
IL_00d1: stloc.s V_6
IL_00d3: br.s IL_0124
IL_00d5: ldloc.s V_5
IL_00d7: ldloc.s V_6
IL_00d9: ldelem.ref
IL_00da: stloc.s V_8
IL_00dc: ldloc.3
IL_00dd: ldnull
IL_00de: call System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
IL_00e3: brfalse.s IL_00f4
IL_00e5: ldloc.3
IL_00e6: ldfld System.Boolean CraftingStation::m_upgrader
IL_00eb: ldloc.s V_8
IL_00ed: ldfld System.Boolean Piece/Requirement::m_upgraderResource
IL_00f2: bne.un.s IL_011e
IL_00f4: ldloc.3
IL_00f5: ldnull
IL_00f6: call System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
IL_00fb: brfalse.s IL_0106
IL_00fd: ldloc.s V_8
IL_00ff: ldfld System.Boolean Piece/Requirement::m_upgraderResource
IL_0104: brtrue.s IL_011e
IL_0106: ldloc.s V_8
IL_0108: ldarg.1
IL_0109: callvirt System.Int32 Piece/Requirement::GetAmount(System.Int32)
IL_010e: ldc.i4.0
IL_010f: ble.s IL_011e
IL_0111: ldarg.0
IL_0112: ldfld System.Collections.Generic.List`1<Piece/Requirement> InventoryGui::m_reqList
IL_0117: ldloc.s V_8
IL_0119: callvirt System.Void System.Collections.Generic.List`1<Piece/Requirement>::Add(!0)
IL_011e: ldloc.s V_6
IL_0120: ldc.i4.1
IL_0121: add
IL_0122: stloc.s V_6
IL_0124: ldloc.s V_6
IL_0126: ldloc.s V_5
IL_0128: ldlen
IL_0129: conv.i4
IL_012a: blt.s IL_00d5
IL_012c: ldc.i4.0
IL_012d: stloc.s V_4
IL_012f: ldarg.0
IL_0130: ldfld System.Collections.Generic.List`1<Piece/Requirement> InventoryGui::m_reqList
IL_0135: callvirt System.Int32 System.Collections.Generic.List`1<Piece/Requirement>::get_Count()
IL_013a: ldc.i4.4
IL_013b: ble.s IL_0161
IL_013d: ldarg.0
IL_013e: ldfld System.Collections.Generic.List`1<Piece/Requirement> InventoryGui::m_reqList
IL_0143: callvirt System.Int32 System.Collections.Generic.List`1<Piece/Requirement>::get_Count()
IL_0148: conv.r4
IL_0149: ldloc.1
IL_014a: conv.r4
IL_014b: div
IL_014c: call System.Single UnityEngine.Mathf::Ceil(System.Single)
IL_0151: conv.i4
IL_0152: stloc.s V_9
IL_0154: call System.Single UnityEngine.Time::get_fixedTime()
IL_0159: conv.i4
IL_015a: ldloc.s V_9
IL_015c: rem
IL_015d: ldloc.1
IL_015e: mul
IL_015f: stloc.s V_4
IL_0161: ldarg.3
IL_0162: brfalse.s IL_01cc
IL_0164: ldloc.s V_4
IL_0166: stloc.s V_10
IL_0168: br.s IL_01a5
IL_016a: ldarg.0
IL_016b: ldfld UnityEngine.GameObject[] InventoryGui::m_recipeRequirementList
IL_0170: ldloc.0
IL_0171: ldelem.ref
IL_0172: callvirt UnityEngine.Transform UnityEngine.GameObject::get_transform()
IL_0177: ldarg.0
IL_0178: ldfld System.Collections.Generic.List`1<Piece/Requirement> InventoryGui::m_reqList
IL_017d: ldloc.s V_10
IL_017f: callvirt !0 System.Collections.Generic.List`1<Piece/Requirement>::get_Item(System.Int32)
IL_0184: ldarg.2
IL_0185: ldc.i4.1
IL_0186: ldarg.1
IL_0187: ldarg.s amount
IL_0189: call System.Boolean InventoryGui::SetupRequirement(UnityEngine.Transform,Piece/Requirement,Player,System.Boolean,System.Int32,System.Int32)
IL_018e: brfalse.s IL_0194
IL_0190: ldloc.0
IL_0191: ldc.i4.1
IL_0192: add
IL_0193: stloc.0
IL_0194: ldloc.0
IL_0195: ldarg.0
IL_0196: ldfld UnityEngine.GameObject[] InventoryGui::m_recipeRequirementList
IL_019b: ldlen
IL_019c: conv.i4
IL_019d: bge.s IL_01cc
IL_019f: ldloc.s V_10
IL_01a1: ldc.i4.1
IL_01a2: add
IL_01a3: stloc.s V_10
IL_01a5: ldloc.s V_10
IL_01a7: ldarg.0
IL_01a8: ldfld System.Collections.Generic.List`1<Piece/Requirement> InventoryGui::m_reqList
IL_01ad: callvirt System.Int32 System.Collections.Generic.List`1<Piece/Requirement>::get_Count()
IL_01b2: blt.s IL_016a
IL_01b4: br.s IL_01cc
IL_01b6: ldarg.0
IL_01b7: ldfld UnityEngine.GameObject[] InventoryGui::m_recipeRequirementList
IL_01bc: ldloc.0
IL_01bd: ldelem.ref
IL_01be: callvirt UnityEngine.Transform UnityEngine.GameObject::get_transform()
IL_01c3: call System.Void InventoryGui::HideRequirement(UnityEngine.Transform)
IL_01c8: ldloc.0
IL_01c9: ldc.i4.1
IL_01ca: add
IL_01cb: stloc.0
IL_01cc: ldloc.0
IL_01cd: ldloc.1
IL_01ce: blt.s IL_01b6
IL_01d0: ret
