From ac8559923602c30bb845aa6e37a0c4a111675257 Mon Sep 17 00:00:00 2001 From: alydev Date: Wed, 29 Oct 2025 06:43:45 +1000 Subject: [PATCH] muffin v6.35 --- .../Questionable.QuestPaths.QuestSchema | 15 +- .../AssemblyQuestLoader.cs | 10657 ++++++++-------- .../SkipStepConditions.cs | 4 +- .../SkipCondition.cs | 14 + .../Questionable.Controller/CommandHandler.cs | 213 +- .../Questionable.Functions/QuestFunctions.cs | 169 +- .../DebugConfigComponent.cs | 2 +- 7 files changed, 5916 insertions(+), 5158 deletions(-) diff --git a/QuestPaths/Questionable.QuestPaths.QuestSchema b/QuestPaths/Questionable.QuestPaths.QuestSchema index 12b6e64..6a369b9 100644 --- a/QuestPaths/Questionable.QuestPaths.QuestSchema +++ b/QuestPaths/Questionable.QuestPaths.QuestSchema @@ -262,16 +262,13 @@ } } }, - "QuestsAccepted": { - "type": "array", - "items": { - "type": [ - "number", - "string" - ] - } + "MinimumLevel": { + "type": "integer", + "description": "Skip this step if the player level is greater than or equal to this value. Useful for steps that should only be done once at low levels (e.g., early aetheryte attunements).", + "minimum": 1, + "maximum": 100 }, - "QuestsCompleted": { + "QuestsAccepted": { "type": "array", "items": { "type": [ diff --git a/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs b/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs index 1a93bbd..8e9b261 100644 --- a/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs +++ b/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs @@ -4067,19 +4067,35 @@ public static class AssemblyQuestLoader CollectionsMarshal.SetCount(list215, num3); span3 = CollectionsMarshal.AsSpan(list215); num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132); + ref QuestStep reference131 = ref span3[num2]; + QuestStep obj119 = new QuestStep(EInteractionType.AcceptQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) + { + AetheryteShortcut = EAetheryteLocation.Gridania + }; + SkipConditions skipConditions11 = new SkipConditions(); + SkipStepConditions skipStepConditions = new SkipStepConditions(); + index2 = 1; + List list216 = new List(index2); + CollectionsMarshal.SetCount(list216, index2); + span5 = CollectionsMarshal.AsSpan(list216); + num4 = 0; + span5[num4] = 132; + skipStepConditions.NotInTerritory = list216; + skipConditions11.StepIf = skipStepConditions; + obj119.SkipConditions = skipConditions11; + reference131 = obj119; obj118.Steps = list215; reference130 = obj118; num++; - ref QuestSequence reference131 = ref span2[num]; - QuestSequence obj119 = new QuestSequence + ref QuestSequence reference132 = ref span2[num]; + QuestSequence obj120 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 2; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - span3 = CollectionsMarshal.AsSpan(list216); + List list217 = new List(num2); + CollectionsMarshal.SetCount(list217, num2); + span3 = CollectionsMarshal.AsSpan(list217); num3 = 0; span3[num3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(158.06026f, -12.97808f, 158.08466f), 132) { @@ -4087,33 +4103,33 @@ public static class AssemblyQuestLoader }; num3++; span3[num3] = new QuestStep(EInteractionType.CompleteQuest, 1000421u, new Vector3(98.25281f, -8f, -78.446655f), 148); - obj119.Steps = list216; - reference131 = obj119; + obj120.Steps = list217; + reference132 = obj120; questRoot38.QuestSequence = list214; AddQuest(questId38, questRoot38); QuestId questId39 = new QuestId(33); QuestRoot questRoot39 = new QuestRoot(); num = 1; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - span = CollectionsMarshal.AsSpan(list217); + List list218 = new List(num); + CollectionsMarshal.SetCount(list218, num); + span = CollectionsMarshal.AsSpan(list218); index = 0; span[index] = "liza"; - questRoot39.Author = list217; + questRoot39.Author = list218; index = 10; - List list218 = new List(index); - CollectionsMarshal.SetCount(list218, index); - span2 = CollectionsMarshal.AsSpan(list218); + List list219 = new List(index); + CollectionsMarshal.SetCount(list219, index); + span2 = CollectionsMarshal.AsSpan(list219); num = 0; - ref QuestSequence reference132 = ref span2[num]; - QuestSequence obj120 = new QuestSequence + ref QuestSequence reference133 = ref span2[num]; + QuestSequence obj121 = new QuestSequence { Sequence = 0 }; num3 = 1; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - span3 = CollectionsMarshal.AsSpan(list219); + List list220 = new List(num3); + CollectionsMarshal.SetCount(list220, num3); + span3 = CollectionsMarshal.AsSpan(list220); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) { @@ -4126,18 +4142,18 @@ public static class AssemblyQuestLoader } } }; - obj120.Steps = list219; - reference132 = obj120; + obj121.Steps = list220; + reference133 = obj121; num++; - ref QuestSequence reference133 = ref span2[num]; - QuestSequence obj121 = new QuestSequence + ref QuestSequence reference134 = ref span2[num]; + QuestSequence obj122 = new QuestSequence { Sequence = 1 }; num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - span3 = CollectionsMarshal.AsSpan(list220); + List list221 = new List(num2); + CollectionsMarshal.SetCount(list221, num2); + span3 = CollectionsMarshal.AsSpan(list221); num3 = 0; span3[num3] = new QuestStep(EInteractionType.Interact, 1009949u, new Vector3(-325.70386f, 7.228748f, -215.16754f), 133) { @@ -4148,18 +4164,18 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.GridaniaBotanist } }; - obj121.Steps = list220; - reference133 = obj121; + obj122.Steps = list221; + reference134 = obj122; num++; - ref QuestSequence reference134 = ref span2[num]; - QuestSequence obj122 = new QuestSequence + ref QuestSequence reference135 = ref span2[num]; + QuestSequence obj123 = new QuestSequence { Sequence = 2 }; num3 = 1; - List list221 = new List(num3); - CollectionsMarshal.SetCount(list221, num3); - span3 = CollectionsMarshal.AsSpan(list221); + List list222 = new List(num3); + CollectionsMarshal.SetCount(list222, num3); + span3 = CollectionsMarshal.AsSpan(list222); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1009952u, new Vector3(41.61133f, 1.8386029f, -117.265625f), 133) { @@ -4169,42 +4185,21 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.GridaniaLeatherworker } }; - obj122.Steps = list221; - reference134 = obj122; + obj123.Steps = list222; + reference135 = obj123; num++; - ref QuestSequence reference135 = ref span2[num]; - QuestSequence obj123 = new QuestSequence + ref QuestSequence reference136 = ref span2[num]; + QuestSequence obj124 = new QuestSequence { Sequence = 3 }; num2 = 3; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - span3 = CollectionsMarshal.AsSpan(list222); + List list223 = new List(num2); + CollectionsMarshal.SetCount(list223, num2); + span3 = CollectionsMarshal.AsSpan(list223); num3 = 0; - ref QuestStep reference136 = ref span3[num3]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1000768u, new Vector3(172.35059f, 15.5f, -89.951965f), 133); - index2 = 6; - List list223 = new List(index2); - CollectionsMarshal.SetCount(list223, index2); - span8 = CollectionsMarshal.AsSpan(list223); - num4 = 0; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list223; - reference136 = questStep21; - num3++; ref QuestStep reference137 = ref span3[num3]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1000227u, new Vector3(168.62744f, 15.699999f, -65.690125f), 133); + QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1000768u, new Vector3(172.35059f, 15.5f, -89.951965f), 133); num4 = 6; List list224 = new List(num4); CollectionsMarshal.SetCount(list224, num4); @@ -4220,15 +4215,12 @@ public static class AssemblyQuestLoader index2++; span8[index2] = null; index2++; - span8[index2] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list224; - reference137 = questStep22; + span8[index2] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + questStep21.CompletionQuestVariablesFlags = list224; + reference137 = questStep21; num3++; ref QuestStep reference138 = ref span3[num3]; - QuestStep obj124 = new QuestStep(EInteractionType.Interact, 1000228u, new Vector3(168.20007f, 15.69998f, -64.83563f), 133) - { - StopDistance = 5f - }; + QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1000227u, new Vector3(168.62744f, 15.699999f, -65.690125f), 133); index2 = 6; List list225 = new List(index2); CollectionsMarshal.SetCount(list225, index2); @@ -4244,66 +4236,90 @@ public static class AssemblyQuestLoader num4++; span8[num4] = null; num4++; - span8[num4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj124.CompletionQuestVariablesFlags = list225; - reference138 = obj124; - obj123.Steps = list222; - reference135 = obj123; - num++; - ref QuestSequence reference139 = ref span2[num]; - QuestSequence obj125 = new QuestSequence + span8[num4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); + questStep22.CompletionQuestVariablesFlags = list225; + reference138 = questStep22; + num3++; + ref QuestStep reference139 = ref span3[num3]; + QuestStep obj125 = new QuestStep(EInteractionType.Interact, 1000228u, new Vector3(168.20007f, 15.69998f, -64.83563f), 133) { - Sequence = 4 + StopDistance = 5f }; - num3 = 1; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - span3 = CollectionsMarshal.AsSpan(list226); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1009952u, new Vector3(41.61133f, 1.8386029f, -117.265625f), 133); - obj125.Steps = list226; + num4 = 6; + List list226 = new List(num4); + CollectionsMarshal.SetCount(list226, num4); + span8 = CollectionsMarshal.AsSpan(list226); + index2 = 0; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + obj125.CompletionQuestVariablesFlags = list226; reference139 = obj125; + obj124.Steps = list223; + reference136 = obj124; num++; ref QuestSequence reference140 = ref span2[num]; QuestSequence obj126 = new QuestSequence { - Sequence = 5 + Sequence = 4 }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); + num3 = 1; + List list227 = new List(num3); + CollectionsMarshal.SetCount(list227, num3); span3 = CollectionsMarshal.AsSpan(list227); - num3 = 0; - span3[num3] = new QuestStep(EInteractionType.Interact, 1000243u, new Vector3(170.03125f, 15.699999f, -127.03143f), 133); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1009952u, new Vector3(41.61133f, 1.8386029f, -117.265625f), 133); obj126.Steps = list227; reference140 = obj126; num++; ref QuestSequence reference141 = ref span2[num]; QuestSequence obj127 = new QuestSequence { - Sequence = 6 + Sequence = 5 }; - num3 = 1; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); + num2 = 1; + List list228 = new List(num2); + CollectionsMarshal.SetCount(list228, num2); span3 = CollectionsMarshal.AsSpan(list228); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1009952u, new Vector3(41.61133f, 1.8386029f, -117.265625f), 133); + num3 = 0; + span3[num3] = new QuestStep(EInteractionType.Interact, 1000243u, new Vector3(170.03125f, 15.699999f, -127.03143f), 133); obj127.Steps = list228; reference141 = obj127; num++; ref QuestSequence reference142 = ref span2[num]; QuestSequence obj128 = new QuestSequence + { + Sequence = 6 + }; + num3 = 1; + List list229 = new List(num3); + CollectionsMarshal.SetCount(list229, num3); + span3 = CollectionsMarshal.AsSpan(list229); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1009952u, new Vector3(41.61133f, 1.8386029f, -117.265625f), 133); + obj128.Steps = list229; + reference142 = obj128; + num++; + ref QuestSequence reference143 = ref span2[num]; + QuestSequence obj129 = new QuestSequence { Sequence = 7 }; num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - span3 = CollectionsMarshal.AsSpan(list229); + List list230 = new List(num2); + CollectionsMarshal.SetCount(list230, num2); + span3 = CollectionsMarshal.AsSpan(list230); num3 = 0; - ref QuestStep reference143 = ref span3[num3]; - QuestStep obj129 = new QuestStep(EInteractionType.Combat, null, new Vector3(-374.96555f, 63.686344f, -206.74146f), 148) + ref QuestStep reference144 = ref span3[num3]; + QuestStep obj130 = new QuestStep(EInteractionType.Combat, null, new Vector3(-374.96555f, 63.686344f, -206.74146f), 148) { StopDistance = 0.5f, Fly = true, @@ -4314,43 +4330,43 @@ public static class AssemblyQuestLoader }, EnemySpawnType = EEnemySpawnType.AutoOnEnterArea }; - num4 = 1; - List list230 = new List(num4); - CollectionsMarshal.SetCount(list230, num4); - Span span9 = CollectionsMarshal.AsSpan(list230); - index2 = 0; - span9[index2] = 2863u; - obj129.KillEnemyDataIds = list230; + index2 = 1; + List list231 = new List(index2); + CollectionsMarshal.SetCount(list231, index2); + Span span9 = CollectionsMarshal.AsSpan(list231); + num4 = 0; + span9[num4] = 2863u; + obj130.KillEnemyDataIds = list231; + reference144 = obj130; + obj129.Steps = list230; reference143 = obj129; - obj128.Steps = list229; - reference142 = obj128; num++; - ref QuestSequence reference144 = ref span2[num]; - QuestSequence obj130 = new QuestSequence + ref QuestSequence reference145 = ref span2[num]; + QuestSequence obj131 = new QuestSequence { Sequence = 8 }; num3 = 1; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - span3 = CollectionsMarshal.AsSpan(list231); + List list232 = new List(num3); + CollectionsMarshal.SetCount(list232, num3); + span3 = CollectionsMarshal.AsSpan(list232); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1001276u, new Vector3(13.961914f, 0.1373291f, 2.090454f), 132) { AetheryteShortcut = EAetheryteLocation.Gridania }; - obj130.Steps = list231; - reference144 = obj130; + obj131.Steps = list232; + reference145 = obj131; num++; - ref QuestSequence reference145 = ref span2[num]; - QuestSequence obj131 = new QuestSequence + ref QuestSequence reference146 = ref span2[num]; + QuestSequence obj132 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - span3 = CollectionsMarshal.AsSpan(list232); + List list233 = new List(num2); + CollectionsMarshal.SetCount(list233, num2); + span3 = CollectionsMarshal.AsSpan(list233); num3 = 0; span3[num3] = new QuestStep(EInteractionType.CompleteQuest, 1009953u, new Vector3(31.5708f, -19.000002f, 100.48059f), 132) { @@ -4361,36 +4377,36 @@ public static class AssemblyQuestLoader }, NextQuestId = new QuestId(36) }; - obj131.Steps = list232; - reference145 = obj131; - questRoot39.QuestSequence = list218; + obj132.Steps = list233; + reference146 = obj132; + questRoot39.QuestSequence = list219; AddQuest(questId39, questRoot39); QuestId questId40 = new QuestId(35); QuestRoot questRoot40 = new QuestRoot(); num = 1; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - span = CollectionsMarshal.AsSpan(list233); + List list234 = new List(num); + CollectionsMarshal.SetCount(list234, num); + span = CollectionsMarshal.AsSpan(list234); index = 0; span[index] = "Cacahuetes"; - questRoot40.Author = list233; + questRoot40.Author = list234; index = 4; - List list234 = new List(index); - CollectionsMarshal.SetCount(list234, index); - span2 = CollectionsMarshal.AsSpan(list234); + List list235 = new List(index); + CollectionsMarshal.SetCount(list235, index); + span2 = CollectionsMarshal.AsSpan(list235); num = 0; - ref QuestSequence reference146 = ref span2[num]; - QuestSequence obj132 = new QuestSequence + ref QuestSequence reference147 = ref span2[num]; + QuestSequence obj133 = new QuestSequence { Sequence = 0 }; num3 = 1; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - span3 = CollectionsMarshal.AsSpan(list235); + List list236 = new List(num3); + CollectionsMarshal.SetCount(list236, num3); + span3 = CollectionsMarshal.AsSpan(list236); num2 = 0; - ref QuestStep reference147 = ref span3[num2]; - QuestStep obj133 = new QuestStep(EInteractionType.AcceptQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) + ref QuestStep reference148 = ref span3[num2]; + QuestStep obj134 = new QuestStep(EInteractionType.AcceptQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) { AetheryteShortcut = EAetheryteLocation.Gridania, AethernetShortcut = new AethernetShortcut @@ -4399,33 +4415,33 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.GridaniaLancer } }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipAetheryteCondition obj134 = new SkipAetheryteCondition + SkipConditions skipConditions12 = new SkipConditions(); + SkipAetheryteCondition obj135 = new SkipAetheryteCondition { InSameTerritory = true }; - index2 = 1; - List list236 = new List(index2); - CollectionsMarshal.SetCount(list236, index2); - span5 = CollectionsMarshal.AsSpan(list236); - num4 = 0; - span5[num4] = 133; - obj134.InTerritory = list236; - skipConditions11.AetheryteShortcutIf = obj134; - obj133.SkipConditions = skipConditions11; + num4 = 1; + List list237 = new List(num4); + CollectionsMarshal.SetCount(list237, num4); + span5 = CollectionsMarshal.AsSpan(list237); + index2 = 0; + span5[index2] = 133; + obj135.InTerritory = list237; + skipConditions12.AetheryteShortcutIf = obj135; + obj134.SkipConditions = skipConditions12; + reference148 = obj134; + obj133.Steps = list236; reference147 = obj133; - obj132.Steps = list235; - reference146 = obj132; num++; - ref QuestSequence reference148 = ref span2[num]; - QuestSequence obj135 = new QuestSequence + ref QuestSequence reference149 = ref span2[num]; + QuestSequence obj136 = new QuestSequence { Sequence = 1 }; num2 = 3; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - span3 = CollectionsMarshal.AsSpan(list237); + List list238 = new List(num2); + CollectionsMarshal.SetCount(list238, num2); + span3 = CollectionsMarshal.AsSpan(list238); num3 = 0; span3[num3] = new QuestStep(EInteractionType.Combat, null, new Vector3(502.843f, 43.200996f, -32.464188f), 148) { @@ -4438,99 +4454,99 @@ public static class AssemblyQuestLoader EnemySpawnType = EEnemySpawnType.FinishCombatIfAny }; num3++; - ref QuestStep reference149 = ref span3[num3]; - QuestStep obj136 = new QuestStep(EInteractionType.Combat, 142u, new Vector3(514.06104f, 44.169823f, -42.008118f), 148) + ref QuestStep reference150 = ref span3[num3]; + QuestStep obj137 = new QuestStep(EInteractionType.Combat, 142u, new Vector3(514.06104f, 44.169823f, -42.008118f), 148) { StopDistance = 0.5f, Fly = true, EnemySpawnType = EEnemySpawnType.AutoOnEnterArea }; - num4 = 1; - List list238 = new List(num4); - CollectionsMarshal.SetCount(list238, num4); - span9 = CollectionsMarshal.AsSpan(list238); - index2 = 0; - span9[index2] = 142u; - obj136.KillEnemyDataIds = list238; - index2 = 6; - List list239 = new List(index2); + index2 = 1; + List list239 = new List(index2); CollectionsMarshal.SetCount(list239, index2); - span8 = CollectionsMarshal.AsSpan(list239); + span9 = CollectionsMarshal.AsSpan(list239); num4 = 0; - span8[num4] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - obj136.CompletionQuestVariablesFlags = list239; - reference149 = obj136; + span9[num4] = 142u; + obj137.KillEnemyDataIds = list239; + num4 = 6; + List list240 = new List(num4); + CollectionsMarshal.SetCount(list240, num4); + span8 = CollectionsMarshal.AsSpan(list240); + index2 = 0; + span8[index2] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + obj137.CompletionQuestVariablesFlags = list240; + reference150 = obj137; num3++; span3[num3] = new QuestStep(EInteractionType.Interact, 2000966u, new Vector3(514.8546f, 43.778076f, -48.66101f), 148); - obj135.Steps = list237; - reference148 = obj135; + obj136.Steps = list238; + reference149 = obj136; num++; - ref QuestSequence reference150 = ref span2[num]; - QuestSequence obj137 = new QuestSequence + ref QuestSequence reference151 = ref span2[num]; + QuestSequence obj138 = new QuestSequence { Sequence = 2 }; num3 = 2; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - span3 = CollectionsMarshal.AsSpan(list240); + List list241 = new List(num3); + CollectionsMarshal.SetCount(list241, num3); + span3 = CollectionsMarshal.AsSpan(list241); num2 = 0; - ref QuestStep reference151 = ref span3[num2]; - QuestStep obj138 = new QuestStep(EInteractionType.Combat, null, new Vector3(211.82294f, 23.458103f, 157.57333f), 148) + ref QuestStep reference152 = ref span3[num2]; + QuestStep obj139 = new QuestStep(EInteractionType.Combat, null, new Vector3(211.82294f, 23.458103f, 157.57333f), 148) { StopDistance = 0.5f, Fly = true, EnemySpawnType = EEnemySpawnType.AutoOnEnterArea }; - num4 = 1; - List list241 = new List(num4); - CollectionsMarshal.SetCount(list241, num4); - span9 = CollectionsMarshal.AsSpan(list241); - index2 = 0; - span9[index2] = 21u; - obj138.KillEnemyDataIds = list241; - index2 = 6; - List list242 = new List(index2); + index2 = 1; + List list242 = new List(index2); CollectionsMarshal.SetCount(list242, index2); - span8 = CollectionsMarshal.AsSpan(list242); + span9 = CollectionsMarshal.AsSpan(list242); num4 = 0; - span8[num4] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - obj138.CompletionQuestVariablesFlags = list242; - reference151 = obj138; + span9[num4] = 21u; + obj139.KillEnemyDataIds = list242; + num4 = 6; + List list243 = new List(num4); + CollectionsMarshal.SetCount(list243, num4); + span8 = CollectionsMarshal.AsSpan(list243); + index2 = 0; + span8[index2] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + obj139.CompletionQuestVariablesFlags = list243; + reference152 = obj139; num2++; span3[num2] = new QuestStep(EInteractionType.Interact, 2000917u, new Vector3(215.99133f, 23.5141f, 153.1853f), 148); - obj137.Steps = list240; - reference150 = obj137; + obj138.Steps = list241; + reference151 = obj138; num++; - ref QuestSequence reference152 = ref span2[num]; - QuestSequence obj139 = new QuestSequence + ref QuestSequence reference153 = ref span2[num]; + QuestSequence obj140 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - span3 = CollectionsMarshal.AsSpan(list243); + List list244 = new List(num2); + CollectionsMarshal.SetCount(list244, num2); + span3 = CollectionsMarshal.AsSpan(list244); num3 = 0; span3[num3] = new QuestStep(EInteractionType.CompleteQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) { @@ -4542,33 +4558,33 @@ public static class AssemblyQuestLoader }, NextQuestId = new QuestId(55) }; - obj139.Steps = list243; - reference152 = obj139; - questRoot40.QuestSequence = list234; + obj140.Steps = list244; + reference153 = obj140; + questRoot40.QuestSequence = list235; AddQuest(questId40, questRoot40); QuestId questId41 = new QuestId(36); QuestRoot questRoot41 = new QuestRoot(); num = 1; - List list244 = new List(num); - CollectionsMarshal.SetCount(list244, num); - span = CollectionsMarshal.AsSpan(list244); + List list245 = new List(num); + CollectionsMarshal.SetCount(list245, num); + span = CollectionsMarshal.AsSpan(list245); index = 0; span[index] = "liza"; - questRoot41.Author = list244; + questRoot41.Author = list245; index = 9; - List list245 = new List(index); - CollectionsMarshal.SetCount(list245, index); - span2 = CollectionsMarshal.AsSpan(list245); + List list246 = new List(index); + CollectionsMarshal.SetCount(list246, index); + span2 = CollectionsMarshal.AsSpan(list246); num = 0; - ref QuestSequence reference153 = ref span2[num]; - QuestSequence obj140 = new QuestSequence + ref QuestSequence reference154 = ref span2[num]; + QuestSequence obj141 = new QuestSequence { Sequence = 0 }; num3 = 1; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - span3 = CollectionsMarshal.AsSpan(list246); + List list247 = new List(num3); + CollectionsMarshal.SetCount(list247, num3); + span3 = CollectionsMarshal.AsSpan(list247); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) { @@ -4581,18 +4597,18 @@ public static class AssemblyQuestLoader } } }; - obj140.Steps = list246; - reference153 = obj140; + obj141.Steps = list247; + reference154 = obj141; num++; - ref QuestSequence reference154 = ref span2[num]; - QuestSequence obj141 = new QuestSequence + ref QuestSequence reference155 = ref span2[num]; + QuestSequence obj142 = new QuestSequence { Sequence = 1 }; num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - span3 = CollectionsMarshal.AsSpan(list247); + List list248 = new List(num2); + CollectionsMarshal.SetCount(list248, num2); + span3 = CollectionsMarshal.AsSpan(list248); num3 = 0; span3[num3] = new QuestStep(EInteractionType.Interact, 1009781u, new Vector3(-89.829956f, 5.2000036f, 45.426025f), 131) { @@ -4603,46 +4619,21 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahGladiator } }; - obj141.Steps = list247; - reference154 = obj141; + obj142.Steps = list248; + reference155 = obj142; num++; - ref QuestSequence reference155 = ref span2[num]; - QuestSequence obj142 = new QuestSequence + ref QuestSequence reference156 = ref span2[num]; + QuestSequence obj143 = new QuestSequence { Sequence = 2 }; num3 = 5; - List list248 = new List(num3); - CollectionsMarshal.SetCount(list248, num3); - span3 = CollectionsMarshal.AsSpan(list248); + List list249 = new List(num3); + CollectionsMarshal.SetCount(list249, num3); + span3 = CollectionsMarshal.AsSpan(list249); num2 = 0; - ref QuestStep reference156 = ref span3[num2]; - QuestStep obj143 = new QuestStep(EInteractionType.UseItem, 2004614u, new Vector3(-80.76605f, 8.895996f, -16.739136f), 131) - { - IgnoreDistanceToObject = true, - ItemId = 2001459u - }; - num4 = 6; - List list249 = new List(num4); - CollectionsMarshal.SetCount(list249, num4); - span8 = CollectionsMarshal.AsSpan(list249); - index2 = 0; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj143.CompletionQuestVariablesFlags = list249; - reference156 = obj143; - num2++; ref QuestStep reference157 = ref span3[num2]; - QuestStep obj144 = new QuestStep(EInteractionType.UseItem, 2004616u, new Vector3(-98.1308f, 8.987488f, -16.617126f), 131) + QuestStep obj144 = new QuestStep(EInteractionType.UseItem, 2004614u, new Vector3(-80.76605f, 8.895996f, -16.739136f), 131) { IgnoreDistanceToObject = true, ItemId = 2001459u @@ -4662,14 +4653,16 @@ public static class AssemblyQuestLoader num4++; span8[num4] = null; num4++; - span8[num4] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); + span8[num4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); obj144.CompletionQuestVariablesFlags = list250; reference157 = obj144; num2++; - span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-113.42244f, 7.9935846f, -8.936225f), 131); - num2++; ref QuestStep reference158 = ref span3[num2]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1001859u, new Vector3(-142.71765f, 11.999999f, -15.610046f), 130); + QuestStep obj145 = new QuestStep(EInteractionType.UseItem, 2004616u, new Vector3(-98.1308f, 8.987488f, -16.617126f), 131) + { + IgnoreDistanceToObject = true, + ItemId = 2001459u + }; num4 = 6; List list251 = new List(num4); CollectionsMarshal.SetCount(list251, num4); @@ -4685,12 +4678,14 @@ public static class AssemblyQuestLoader index2++; span8[index2] = null; index2++; - span8[index2] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list251; - reference158 = questStep23; + span8[index2] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); + obj145.CompletionQuestVariablesFlags = list251; + reference158 = obj145; + num2++; + span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-113.42244f, 7.9935846f, -8.936225f), 131); num2++; ref QuestStep reference159 = ref span3[num2]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1009789u, new Vector3(-159.68573f, 12.596368f, 0.869751f), 130); + QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1001859u, new Vector3(-142.71765f, 11.999999f, -15.610046f), 130); index2 = 6; List list252 = new List(index2); CollectionsMarshal.SetCount(list252, index2); @@ -4706,189 +4701,187 @@ public static class AssemblyQuestLoader num4++; span8[num4] = null; num4++; - span8[num4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list252; - reference159 = questStep24; - obj142.Steps = list248; - reference155 = obj142; - num++; - ref QuestSequence reference160 = ref span2[num]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - span3 = CollectionsMarshal.AsSpan(list253); - num3 = 0; - span3[num3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-117.18245f, 9.232903f, 9.133285f), 130); - num3++; - span3[num3] = new QuestStep(EInteractionType.Interact, 1009785u, new Vector3(-88.15143f, 5.200004f, 45.303955f), 131); - obj145.Steps = list253; - reference160 = obj145; + span8[num4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + questStep23.CompletionQuestVariablesFlags = list252; + reference159 = questStep23; + num2++; + ref QuestStep reference160 = ref span3[num2]; + QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1009789u, new Vector3(-159.68573f, 12.596368f, 0.869751f), 130); + num4 = 6; + List list253 = new List(num4); + CollectionsMarshal.SetCount(list253, num4); + span8 = CollectionsMarshal.AsSpan(list253); + index2 = 0; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + questStep24.CompletionQuestVariablesFlags = list253; + reference160 = questStep24; + obj143.Steps = list249; + reference156 = obj143; num++; ref QuestSequence reference161 = ref span2[num]; QuestSequence obj146 = new QuestSequence { - Sequence = 4 + Sequence = 3 }; - num3 = 1; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); + num2 = 2; + List list254 = new List(num2); + CollectionsMarshal.SetCount(list254, num2); span3 = CollectionsMarshal.AsSpan(list254); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Emote, 1001675u, new Vector3(-89.49426f, 7.008118f, 10.849121f), 131) - { - Emote = EEmote.Welcome - }; + num3 = 0; + span3[num3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-117.18245f, 9.232903f, 9.133285f), 130); + num3++; + span3[num3] = new QuestStep(EInteractionType.Interact, 1009785u, new Vector3(-88.15143f, 5.200004f, 45.303955f), 131); obj146.Steps = list254; reference161 = obj146; num++; ref QuestSequence reference162 = ref span2[num]; QuestSequence obj147 = new QuestSequence { - Sequence = 5 + Sequence = 4 }; - num2 = 2; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); + num3 = 1; + List list255 = new List(num3); + CollectionsMarshal.SetCount(list255, num3); span3 = CollectionsMarshal.AsSpan(list255); - num3 = 0; - span3[num3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-112.38632f, 7.6503563f, 9.034383f), 131); - num3++; - span3[num3] = new QuestStep(EInteractionType.Interact, 1009792u, new Vector3(-135.36285f, 10.9999895f, 0.015197754f), 130); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Emote, 1001675u, new Vector3(-89.49426f, 7.008118f, 10.849121f), 131) + { + Emote = EEmote.Welcome + }; obj147.Steps = list255; reference162 = obj147; num++; ref QuestSequence reference163 = ref span2[num]; QuestSequence obj148 = new QuestSequence { - Sequence = 6 + Sequence = 5 }; - num3 = 1; - List list256 = new List(num3); - CollectionsMarshal.SetCount(list256, num3); + num2 = 2; + List list256 = new List(num2); + CollectionsMarshal.SetCount(list256, num2); span3 = CollectionsMarshal.AsSpan(list256); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1009791u, new Vector3(-13.778931f, 3.9999998f, -151.4458f), 130); + num3 = 0; + span3[num3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-112.38632f, 7.6503563f, 9.034383f), 131); + num3++; + span3[num3] = new QuestStep(EInteractionType.Interact, 1009792u, new Vector3(-135.36285f, 10.9999895f, 0.015197754f), 130); obj148.Steps = list256; reference163 = obj148; num++; ref QuestSequence reference164 = ref span2[num]; QuestSequence obj149 = new QuestSequence + { + Sequence = 6 + }; + num3 = 1; + List list257 = new List(num3); + CollectionsMarshal.SetCount(list257, num3); + span3 = CollectionsMarshal.AsSpan(list257); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1009791u, new Vector3(-13.778931f, 3.9999998f, -151.4458f), 130); + obj149.Steps = list257; + reference164 = obj149; + num++; + ref QuestSequence reference165 = ref span2[num]; + QuestSequence obj150 = new QuestSequence { Sequence = 7 }; num2 = 2; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - span3 = CollectionsMarshal.AsSpan(list257); + List list258 = new List(num2); + CollectionsMarshal.SetCount(list258, num2); + span3 = CollectionsMarshal.AsSpan(list258); num3 = 0; span3[num3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(44.151344f, 4.0195827f, -165.77715f), 130); num3++; - ref QuestStep reference165 = ref span3[num3]; - QuestStep obj150 = new QuestStep(EInteractionType.Combat, null, new Vector3(-172.42809f, 16.059729f, 276.30084f), 141) + ref QuestStep reference166 = ref span3[num3]; + QuestStep obj151 = new QuestStep(EInteractionType.Combat, null, new Vector3(-172.42809f, 16.059729f, 276.30084f), 141) { StopDistance = 0.5f, EnemySpawnType = EEnemySpawnType.AutoOnEnterArea }; - num4 = 2; - List list258 = new List(num4); - CollectionsMarshal.SetCount(list258, num4); - span9 = CollectionsMarshal.AsSpan(list258); - index2 = 0; - span9[index2] = 2853u; - index2++; - span9[index2] = 3120u; - obj150.KillEnemyDataIds = list258; + index2 = 2; + List list259 = new List(index2); + CollectionsMarshal.SetCount(list259, index2); + span9 = CollectionsMarshal.AsSpan(list259); + num4 = 0; + span9[num4] = 2853u; + num4++; + span9[num4] = 3120u; + obj151.KillEnemyDataIds = list259; + reference166 = obj151; + obj150.Steps = list258; reference165 = obj150; - obj149.Steps = list257; - reference164 = obj149; num++; - ref QuestSequence reference166 = ref span2[num]; - QuestSequence obj151 = new QuestSequence + ref QuestSequence reference167 = ref span2[num]; + QuestSequence obj152 = new QuestSequence { Sequence = byte.MaxValue }; num3 = 1; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - span3 = CollectionsMarshal.AsSpan(list259); + List list260 = new List(num3); + CollectionsMarshal.SetCount(list260, num3); + span3 = CollectionsMarshal.AsSpan(list260); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1009794u, new Vector3(-174.45642f, 16.149345f, 275.6847f), 141) { NextQuestId = new QuestId(1573) }; - obj151.Steps = list259; - reference166 = obj151; - questRoot41.QuestSequence = list245; + obj152.Steps = list260; + reference167 = obj152; + questRoot41.QuestSequence = list246; AddQuest(questId41, questRoot41); QuestId questId42 = new QuestId(38); QuestRoot questRoot42 = new QuestRoot(); num = 1; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - span = CollectionsMarshal.AsSpan(list260); + List list261 = new List(num); + CollectionsMarshal.SetCount(list261, num); + span = CollectionsMarshal.AsSpan(list261); index = 0; span[index] = "liza"; - questRoot42.Author = list260; + questRoot42.Author = list261; index = 3; - List list261 = new List(index); - CollectionsMarshal.SetCount(list261, index); - span2 = CollectionsMarshal.AsSpan(list261); + List list262 = new List(index); + CollectionsMarshal.SetCount(list262, index); + span2 = CollectionsMarshal.AsSpan(list262); num = 0; - ref QuestSequence reference167 = ref span2[num]; - QuestSequence obj152 = new QuestSequence + ref QuestSequence reference168 = ref span2[num]; + QuestSequence obj153 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - span3 = CollectionsMarshal.AsSpan(list262); + List list263 = new List(num2); + CollectionsMarshal.SetCount(list263, num2); + span3 = CollectionsMarshal.AsSpan(list263); num3 = 0; span3[num3] = new QuestStep(EInteractionType.AcceptQuest, 1000768u, new Vector3(172.35059f, 15.5f, -89.951965f), 133); - obj152.Steps = list262; - reference167 = obj152; + obj153.Steps = list263; + reference168 = obj153; num++; - ref QuestSequence reference168 = ref span2[num]; - QuestSequence obj153 = new QuestSequence + ref QuestSequence reference169 = ref span2[num]; + QuestSequence obj154 = new QuestSequence { Sequence = 1 }; num3 = 5; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - span3 = CollectionsMarshal.AsSpan(list263); + List list264 = new List(num3); + CollectionsMarshal.SetCount(list264, num3); + span3 = CollectionsMarshal.AsSpan(list264); num2 = 0; - ref QuestStep reference169 = ref span3[num2]; - QuestStep questStep25 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(157.92119f, 15.700001f, -122.177925f), 133); - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - index2 = 6; - List list264 = new List(index2); - CollectionsMarshal.SetCount(list264, index2); - span8 = CollectionsMarshal.AsSpan(list264); - num4 = 0; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list264; - skipConditions12.StepIf = skipStepConditions; - questStep25.SkipConditions = skipConditions12; - reference169 = questStep25; - num2++; ref QuestStep reference170 = ref span3[num2]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1000238u, new Vector3(155.41309f, 15.700001f, -121.812805f), 133); + QuestStep questStep25 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(157.92119f, 15.700001f, -122.177925f), 133); + SkipConditions skipConditions13 = new SkipConditions(); + SkipStepConditions skipStepConditions2 = new SkipStepConditions(); num4 = 6; List list265 = new List(num4); CollectionsMarshal.SetCount(list265, num4); @@ -4905,13 +4898,13 @@ public static class AssemblyQuestLoader span8[index2] = null; index2++; span8[index2] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list265; - reference170 = questStep26; + skipStepConditions2.CompletionQuestVariablesFlags = list265; + skipConditions13.StepIf = skipStepConditions2; + questStep25.SkipConditions = skipConditions13; + reference170 = questStep25; num2++; ref QuestStep reference171 = ref span3[num2]; - QuestStep questStep27 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(162.74281f, 15.699926f, -59.43834f), 133); - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); + QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1000238u, new Vector3(155.41309f, 15.700001f, -121.812805f), 133); index2 = 6; List list266 = new List(index2); CollectionsMarshal.SetCount(list266, index2); @@ -4927,14 +4920,14 @@ public static class AssemblyQuestLoader num4++; span8[num4] = null; num4++; - span8[num4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list266; - skipConditions13.StepIf = skipStepConditions2; - questStep27.SkipConditions = skipConditions13; - reference171 = questStep27; + span8[num4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); + questStep26.CompletionQuestVariablesFlags = list266; + reference171 = questStep26; num2++; ref QuestStep reference172 = ref span3[num2]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1000218u, new Vector3(164.72107f, 15.699947f, -58.18268f), 133); + QuestStep questStep27 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(162.74281f, 15.699926f, -59.43834f), 133); + SkipConditions skipConditions14 = new SkipConditions(); + SkipStepConditions skipStepConditions3 = new SkipStepConditions(); num4 = 6; List list267 = new List(num4); CollectionsMarshal.SetCount(list267, num4); @@ -4951,14 +4944,13 @@ public static class AssemblyQuestLoader span8[index2] = null; index2++; span8[index2] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep28.CompletionQuestVariablesFlags = list267; - reference172 = questStep28; + skipStepConditions3.CompletionQuestVariablesFlags = list267; + skipConditions14.StepIf = skipStepConditions3; + questStep27.SkipConditions = skipConditions14; + reference172 = questStep27; num2++; ref QuestStep reference173 = ref span3[num2]; - QuestStep obj154 = new QuestStep(EInteractionType.Interact, 1000214u, new Vector3(151.4762f, 15.699964f, -63.920105f), 133) - { - StopDistance = 5f - }; + QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1000218u, new Vector3(164.72107f, 15.699947f, -58.18268f), 133); index2 = 6; List list268 = new List(index2); CollectionsMarshal.SetCount(list268, index2); @@ -4974,21 +4966,45 @@ public static class AssemblyQuestLoader num4++; span8[num4] = null; num4++; - span8[num4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj154.CompletionQuestVariablesFlags = list268; - reference173 = obj154; - obj153.Steps = list263; - reference168 = obj153; + span8[num4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + questStep28.CompletionQuestVariablesFlags = list268; + reference173 = questStep28; + num2++; + ref QuestStep reference174 = ref span3[num2]; + QuestStep obj155 = new QuestStep(EInteractionType.Interact, 1000214u, new Vector3(151.4762f, 15.699964f, -63.920105f), 133) + { + StopDistance = 5f + }; + num4 = 6; + List list269 = new List(num4); + CollectionsMarshal.SetCount(list269, num4); + span8 = CollectionsMarshal.AsSpan(list269); + index2 = 0; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + obj155.CompletionQuestVariablesFlags = list269; + reference174 = obj155; + obj154.Steps = list264; + reference169 = obj154; num++; - ref QuestSequence reference174 = ref span2[num]; - QuestSequence obj155 = new QuestSequence + ref QuestSequence reference175 = ref span2[num]; + QuestSequence obj156 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - span3 = CollectionsMarshal.AsSpan(list269); + List list270 = new List(num2); + CollectionsMarshal.SetCount(list270, num2); + span3 = CollectionsMarshal.AsSpan(list270); num3 = 0; span3[num3] = new QuestStep(EInteractionType.CompleteQuest, 1000248u, new Vector3(143.05322f, 14.250365f, -250.72101f), 133) { @@ -4998,129 +5014,108 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.GridaniaLancer } }; - obj155.Steps = list269; - reference174 = obj155; - questRoot42.QuestSequence = list261; + obj156.Steps = list270; + reference175 = obj156; + questRoot42.QuestSequence = list262; AddQuest(questId42, questRoot42); QuestId questId43 = new QuestId(39); QuestRoot questRoot43 = new QuestRoot(); num = 1; - List list270 = new List(num); - CollectionsMarshal.SetCount(list270, num); - span = CollectionsMarshal.AsSpan(list270); + List list271 = new List(num); + CollectionsMarshal.SetCount(list271, num); + span = CollectionsMarshal.AsSpan(list271); index = 0; span[index] = "liza"; - questRoot43.Author = list270; + questRoot43.Author = list271; index = 2; - List list271 = new List(index); - CollectionsMarshal.SetCount(list271, index); - span2 = CollectionsMarshal.AsSpan(list271); + List list272 = new List(index); + CollectionsMarshal.SetCount(list272, index); + span2 = CollectionsMarshal.AsSpan(list272); num = 0; - ref QuestSequence reference175 = ref span2[num]; - QuestSequence obj156 = new QuestSequence + ref QuestSequence reference176 = ref span2[num]; + QuestSequence obj157 = new QuestSequence { Sequence = 0 }; num3 = 1; - List list272 = new List(num3); - CollectionsMarshal.SetCount(list272, num3); - span3 = CollectionsMarshal.AsSpan(list272); + List list273 = new List(num3); + CollectionsMarshal.SetCount(list273, num3); + span3 = CollectionsMarshal.AsSpan(list273); num2 = 0; - ref QuestStep reference176 = ref span3[num2]; + ref QuestStep reference177 = ref span3[num2]; QuestStep questStep29 = new QuestStep(EInteractionType.AcceptQuest, 1001148u, new Vector3(117.112915f, -12.506256f, 143.63306f), 183); - num4 = 1; - List list273 = new List(num4); - CollectionsMarshal.SetCount(list273, num4); - span4 = CollectionsMarshal.AsSpan(list273); - index2 = 0; - span4[index2] = new DialogueChoice + index2 = 1; + List list274 = new List(index2); + CollectionsMarshal.SetCount(list274, index2); + span4 = CollectionsMarshal.AsSpan(list274); + num4 = 0; + span4[num4] = new DialogueChoice { Type = EDialogChoiceType.List, ExcelSheet = "opening/OpeningGridania", Prompt = new ExcelRef("TEXT_OPENINGGRIDANIA_FST_SYSTEM_Q_01"), Answer = new ExcelRef("TEXT_OPENINGGRIDANIA_FST_SYSTEM_A_01") }; - questStep29.DialogueChoices = list273; - reference176 = questStep29; - obj156.Steps = list272; - reference175 = obj156; + questStep29.DialogueChoices = list274; + reference177 = questStep29; + obj157.Steps = list273; + reference176 = obj157; num++; - ref QuestSequence reference177 = ref span2[num]; - QuestSequence obj157 = new QuestSequence + ref QuestSequence reference178 = ref span2[num]; + QuestSequence obj158 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - span3 = CollectionsMarshal.AsSpan(list274); + List list275 = new List(num2); + CollectionsMarshal.SetCount(list275, num2); + span3 = CollectionsMarshal.AsSpan(list275); num3 = 0; span3[num3] = new QuestStep(EInteractionType.CompleteQuest, 1001140u, new Vector3(23.788818f, -8f, 115.861694f), 183); - obj157.Steps = list274; - reference177 = obj157; - questRoot43.QuestSequence = list271; + obj158.Steps = list275; + reference178 = obj158; + questRoot43.QuestSequence = list272; AddQuest(questId43, questRoot43); QuestId questId44 = new QuestId(42); QuestRoot questRoot44 = new QuestRoot(); num = 1; - List list275 = new List(num); - CollectionsMarshal.SetCount(list275, num); - span = CollectionsMarshal.AsSpan(list275); + List list276 = new List(num); + CollectionsMarshal.SetCount(list276, num); + span = CollectionsMarshal.AsSpan(list276); index = 0; span[index] = "liza"; - questRoot44.Author = list275; + questRoot44.Author = list276; index = 3; - List list276 = new List(index); - CollectionsMarshal.SetCount(list276, index); - span2 = CollectionsMarshal.AsSpan(list276); + List list277 = new List(index); + CollectionsMarshal.SetCount(list277, index); + span2 = CollectionsMarshal.AsSpan(list277); num = 0; - ref QuestSequence reference178 = ref span2[num]; - QuestSequence obj158 = new QuestSequence + ref QuestSequence reference179 = ref span2[num]; + QuestSequence obj159 = new QuestSequence { Sequence = 0 }; num3 = 1; - List list277 = new List(num3); - CollectionsMarshal.SetCount(list277, num3); - span3 = CollectionsMarshal.AsSpan(list277); + List list278 = new List(num3); + CollectionsMarshal.SetCount(list278, num3); + span3 = CollectionsMarshal.AsSpan(list278); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1000286u, new Vector3(-53.574463f, 7.2025366f, -118.36426f), 133); - obj158.Steps = list277; - reference178 = obj158; + obj159.Steps = list278; + reference179 = obj159; num++; - ref QuestSequence reference179 = ref span2[num]; - QuestSequence obj159 = new QuestSequence + ref QuestSequence reference180 = ref span2[num]; + QuestSequence obj160 = new QuestSequence { Sequence = 1 }; num2 = 6; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - span3 = CollectionsMarshal.AsSpan(list278); + List list279 = new List(num2); + CollectionsMarshal.SetCount(list279, num2); + span3 = CollectionsMarshal.AsSpan(list279); num3 = 0; - ref QuestStep reference180 = ref span3[num3]; - QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 2000022u, new Vector3(-52.71997f, 6.7596436f, -109.9718f), 133); - index2 = 6; - List list279 = new List(index2); - CollectionsMarshal.SetCount(list279, index2); - span8 = CollectionsMarshal.AsSpan(list279); - num4 = 0; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep30.CompletionQuestVariablesFlags = list279; - reference180 = questStep30; - num3++; ref QuestStep reference181 = ref span3[num3]; - QuestStep questStep31 = new QuestStep(EInteractionType.Interact, 2000020u, new Vector3(-63.09613f, 6.94281f, -110.85681f), 133); + QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 2000022u, new Vector3(-52.71997f, 6.7596436f, -109.9718f), 133); num4 = 6; List list280 = new List(num4); CollectionsMarshal.SetCount(list280, num4); @@ -5136,12 +5131,12 @@ public static class AssemblyQuestLoader index2++; span8[index2] = null; index2++; - span8[index2] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep31.CompletionQuestVariablesFlags = list280; - reference181 = questStep31; + span8[index2] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); + questStep30.CompletionQuestVariablesFlags = list280; + reference181 = questStep30; num3++; ref QuestStep reference182 = ref span3[num3]; - QuestStep questStep32 = new QuestStep(EInteractionType.Interact, 2000021u, new Vector3(-37.979797f, 5.996765f, -101.76245f), 133); + QuestStep questStep31 = new QuestStep(EInteractionType.Interact, 2000020u, new Vector3(-63.09613f, 6.94281f, -110.85681f), 133); index2 = 6; List list281 = new List(index2); CollectionsMarshal.SetCount(list281, index2); @@ -5157,12 +5152,12 @@ public static class AssemblyQuestLoader num4++; span8[num4] = null; num4++; - span8[num4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep32.CompletionQuestVariablesFlags = list281; - reference182 = questStep32; + span8[num4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + questStep31.CompletionQuestVariablesFlags = list281; + reference182 = questStep31; num3++; ref QuestStep reference183 = ref span3[num3]; - QuestStep questStep33 = new QuestStep(EInteractionType.Interact, 2000025u, new Vector3(-47.80658f, 5.722107f, -99.4126f), 133); + QuestStep questStep32 = new QuestStep(EInteractionType.Interact, 2000021u, new Vector3(-37.979797f, 5.996765f, -101.76245f), 133); num4 = 6; List list282 = new List(num4); CollectionsMarshal.SetCount(list282, num4); @@ -5178,12 +5173,12 @@ public static class AssemblyQuestLoader index2++; span8[index2] = null; index2++; - span8[index2] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - questStep33.CompletionQuestVariablesFlags = list282; - reference183 = questStep33; + span8[index2] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + questStep32.CompletionQuestVariablesFlags = list282; + reference183 = questStep32; num3++; ref QuestStep reference184 = ref span3[num3]; - QuestStep questStep34 = new QuestStep(EInteractionType.Interact, 2000024u, new Vector3(-53.75763f, 6.4850464f, -89.52472f), 133); + QuestStep questStep33 = new QuestStep(EInteractionType.Interact, 2000025u, new Vector3(-47.80658f, 5.722107f, -99.4126f), 133); index2 = 6; List list283 = new List(index2); CollectionsMarshal.SetCount(list283, index2); @@ -5199,12 +5194,12 @@ public static class AssemblyQuestLoader num4++; span8[num4] = null; num4++; - span8[num4] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep34.CompletionQuestVariablesFlags = list283; - reference184 = questStep34; + span8[num4] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); + questStep33.CompletionQuestVariablesFlags = list283; + reference184 = questStep33; num3++; ref QuestStep reference185 = ref span3[num3]; - QuestStep questStep35 = new QuestStep(EInteractionType.Interact, 2000023u, new Vector3(-43.808716f, 6.4850464f, -85.80151f), 133); + QuestStep questStep34 = new QuestStep(EInteractionType.Interact, 2000024u, new Vector3(-53.75763f, 6.4850464f, -89.52472f), 133); num4 = 6; List list284 = new List(num4); CollectionsMarshal.SetCount(list284, num4); @@ -5220,93 +5215,96 @@ public static class AssemblyQuestLoader index2++; span8[index2] = null; index2++; - span8[index2] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep35.CompletionQuestVariablesFlags = list284; - reference185 = questStep35; - obj159.Steps = list278; - reference179 = obj159; + span8[index2] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); + questStep34.CompletionQuestVariablesFlags = list284; + reference185 = questStep34; + num3++; + ref QuestStep reference186 = ref span3[num3]; + QuestStep questStep35 = new QuestStep(EInteractionType.Interact, 2000023u, new Vector3(-43.808716f, 6.4850464f, -85.80151f), 133); + index2 = 6; + List list285 = new List(index2); + CollectionsMarshal.SetCount(list285, index2); + span8 = CollectionsMarshal.AsSpan(list285); + num4 = 0; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); + questStep35.CompletionQuestVariablesFlags = list285; + reference186 = questStep35; + obj160.Steps = list279; + reference180 = obj160; num++; - ref QuestSequence reference186 = ref span2[num]; - QuestSequence obj160 = new QuestSequence + ref QuestSequence reference187 = ref span2[num]; + QuestSequence obj161 = new QuestSequence { Sequence = byte.MaxValue }; num3 = 1; - List list285 = new List(num3); - CollectionsMarshal.SetCount(list285, num3); - span3 = CollectionsMarshal.AsSpan(list285); + List list286 = new List(num3); + CollectionsMarshal.SetCount(list286, num3); + span3 = CollectionsMarshal.AsSpan(list286); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1000286u, new Vector3(-53.574463f, 7.2025366f, -118.36426f), 133); - obj160.Steps = list285; - reference186 = obj160; - questRoot44.QuestSequence = list276; + obj161.Steps = list286; + reference187 = obj161; + questRoot44.QuestSequence = list277; AddQuest(questId44, questRoot44); QuestId questId45 = new QuestId(43); QuestRoot questRoot45 = new QuestRoot(); num = 1; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - span = CollectionsMarshal.AsSpan(list286); + List list287 = new List(num); + CollectionsMarshal.SetCount(list287, num); + span = CollectionsMarshal.AsSpan(list287); index = 0; span[index] = "liza"; - questRoot45.Author = list286; + questRoot45.Author = list287; questRoot45.Comment = "Only Turn 13 is required for the next quest to unlock"; index = 6; - List list287 = new List(index); - CollectionsMarshal.SetCount(list287, index); - span2 = CollectionsMarshal.AsSpan(list287); + List list288 = new List(index); + CollectionsMarshal.SetCount(list288, index); + span2 = CollectionsMarshal.AsSpan(list288); num = 0; - ref QuestSequence reference187 = ref span2[num]; - QuestSequence obj161 = new QuestSequence + ref QuestSequence reference188 = ref span2[num]; + QuestSequence obj162 = new QuestSequence { Sequence = 0 }; num2 = 4; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - span3 = CollectionsMarshal.AsSpan(list288); + List list289 = new List(num2); + CollectionsMarshal.SetCount(list289, num2); + span3 = CollectionsMarshal.AsSpan(list289); num3 = 0; - ref QuestStep reference188 = ref span3[num3]; - QuestStep obj162 = new QuestStep(EInteractionType.UseItem, null, null, 132) + ref QuestStep reference189 = ref span3[num3]; + QuestStep obj163 = new QuestStep(EInteractionType.UseItem, null, null, 132) { TargetTerritoryId = (ushort)140, ItemId = 30362u }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - index2 = 2; - List list289 = new List(index2); - CollectionsMarshal.SetCount(list289, index2); - span5 = CollectionsMarshal.AsSpan(list289); - num4 = 0; - span5[num4] = 140; - num4++; - span5[num4] = 212; - skipStepConditions3.InTerritory = list289; - skipConditions14.StepIf = skipStepConditions3; - obj162.SkipConditions = skipConditions14; - reference188 = obj162; - num3++; - ref QuestStep reference189 = ref span3[num3]; - QuestStep questStep36 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); SkipConditions skipConditions15 = new SkipConditions(); SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num4 = 1; + num4 = 2; List list290 = new List(num4); CollectionsMarshal.SetCount(list290, num4); span5 = CollectionsMarshal.AsSpan(list290); index2 = 0; + span5[index2] = 140; + index2++; span5[index2] = 212; skipStepConditions4.InTerritory = list290; skipConditions15.StepIf = skipStepConditions4; - questStep36.SkipConditions = skipConditions15; - reference189 = questStep36; + obj163.SkipConditions = skipConditions15; + reference189 = obj163; num3++; ref QuestStep reference190 = ref span3[num3]; - QuestStep obj163 = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; + QuestStep questStep36 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); SkipConditions skipConditions16 = new SkipConditions(); SkipStepConditions skipStepConditions5 = new SkipStepConditions(); index2 = 1; @@ -5317,22 +5315,40 @@ public static class AssemblyQuestLoader span5[num4] = 212; skipStepConditions5.InTerritory = list291; skipConditions16.StepIf = skipStepConditions5; - obj163.SkipConditions = skipConditions16; - reference190 = obj163; + questStep36.SkipConditions = skipConditions16; + reference190 = questStep36; + num3++; + ref QuestStep reference191 = ref span3[num3]; + QuestStep obj164 = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) + { + TargetTerritoryId = (ushort)212 + }; + SkipConditions skipConditions17 = new SkipConditions(); + SkipStepConditions skipStepConditions6 = new SkipStepConditions(); + num4 = 1; + List list292 = new List(num4); + CollectionsMarshal.SetCount(list292, num4); + span5 = CollectionsMarshal.AsSpan(list292); + index2 = 0; + span5[index2] = 212; + skipStepConditions6.InTerritory = list292; + skipConditions17.StepIf = skipStepConditions6; + obj164.SkipConditions = skipConditions17; + reference191 = obj164; num3++; span3[num3] = new QuestStep(EInteractionType.AcceptQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj161.Steps = list288; - reference187 = obj161; + obj162.Steps = list289; + reference188 = obj162; num++; - ref QuestSequence reference191 = ref span2[num]; - QuestSequence obj164 = new QuestSequence + ref QuestSequence reference192 = ref span2[num]; + QuestSequence obj165 = new QuestSequence { Sequence = 1 }; num3 = 2; - List list292 = new List(num3); - CollectionsMarshal.SetCount(list292, num3); - span3 = CollectionsMarshal.AsSpan(list292); + List list293 = new List(num3); + CollectionsMarshal.SetCount(list293, num3); + span3 = CollectionsMarshal.AsSpan(list293); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(430.20032f, 3.6547468f, 168.62611f), 145) { @@ -5344,53 +5360,53 @@ public static class AssemblyQuestLoader { StopDistance = 5f }; - obj164.Steps = list292; - reference191 = obj164; - num++; - ref QuestSequence reference192 = ref span2[num]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - span3 = CollectionsMarshal.AsSpan(list293); - num3 = 0; - span3[num3] = new QuestStep(EInteractionType.Interact, 1009770u, new Vector3(469.5963f, -3.4332886f, -781.1856f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; obj165.Steps = list293; reference192 = obj165; num++; ref QuestSequence reference193 = ref span2[num]; QuestSequence obj166 = new QuestSequence { - Sequence = 3 + Sequence = 2 }; - num3 = 1; - List list294 = new List(num3); - CollectionsMarshal.SetCount(list294, num3); + num2 = 1; + List list294 = new List(num2); + CollectionsMarshal.SetCount(list294, num2); span3 = CollectionsMarshal.AsSpan(list294); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1009771u, new Vector3(-71.61066f, 48.96479f, -52.048523f), 147) + num3 = 0; + span3[num3] = new QuestStep(EInteractionType.Interact, 1009770u, new Vector3(469.5963f, -3.4332886f, -781.1856f), 156) { - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant + Fly = true, + AetheryteShortcut = EAetheryteLocation.MorDhona }; obj166.Steps = list294; reference193 = obj166; num++; ref QuestSequence reference194 = ref span2[num]; QuestSequence obj167 = new QuestSequence + { + Sequence = 3 + }; + num3 = 1; + List list295 = new List(num3); + CollectionsMarshal.SetCount(list295, num3); + span3 = CollectionsMarshal.AsSpan(list295); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1009771u, new Vector3(-71.61066f, 48.96479f, -52.048523f), 147) + { + AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant + }; + obj167.Steps = list295; + reference194 = obj167; + num++; + ref QuestSequence reference195 = ref span2[num]; + QuestSequence obj168 = new QuestSequence { Sequence = 4 }; num2 = 2; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - span3 = CollectionsMarshal.AsSpan(list295); + List list296 = new List(num2); + CollectionsMarshal.SetCount(list296, num2); + span3 = CollectionsMarshal.AsSpan(list296); num3 = 0; span3[num3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-67.2906f, 71.11877f, -189.74506f), 147) { @@ -5398,115 +5414,115 @@ public static class AssemblyQuestLoader }; num3++; span3[num3] = new QuestStep(EInteractionType.Interact, 1009772u, new Vector3(-67.12445f, 71.293205f, -190.96667f), 147); - obj167.Steps = list295; - reference194 = obj167; + obj168.Steps = list296; + reference195 = obj168; num++; - ref QuestSequence reference195 = ref span2[num]; - QuestSequence obj168 = new QuestSequence + ref QuestSequence reference196 = ref span2[num]; + QuestSequence obj169 = new QuestSequence { Sequence = byte.MaxValue }; num3 = 1; - List list296 = new List(num3); - CollectionsMarshal.SetCount(list296, num3); - span3 = CollectionsMarshal.AsSpan(list296); + List list297 = new List(num3); + CollectionsMarshal.SetCount(list297, num3); + span3 = CollectionsMarshal.AsSpan(list297); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1009768u, new Vector3(-103.868225f, 51.873333f, -58.365784f), 147) { Fly = true, NextQuestId = new QuestId(44) }; - obj168.Steps = list296; - reference195 = obj168; - questRoot45.QuestSequence = list287; + obj169.Steps = list297; + reference196 = obj169; + questRoot45.QuestSequence = list288; AddQuest(questId45, questRoot45); QuestId questId46 = new QuestId(44); QuestRoot questRoot46 = new QuestRoot(); num = 1; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - span = CollectionsMarshal.AsSpan(list297); + List list298 = new List(num); + CollectionsMarshal.SetCount(list298, num); + span = CollectionsMarshal.AsSpan(list298); index = 0; span[index] = "liza"; - questRoot46.Author = list297; + questRoot46.Author = list298; index = 2; - List list298 = new List(index); - CollectionsMarshal.SetCount(list298, index); - span2 = CollectionsMarshal.AsSpan(list298); + List list299 = new List(index); + CollectionsMarshal.SetCount(list299, index); + span2 = CollectionsMarshal.AsSpan(list299); num = 0; - ref QuestSequence reference196 = ref span2[num]; - QuestSequence obj169 = new QuestSequence + ref QuestSequence reference197 = ref span2[num]; + QuestSequence obj170 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - span3 = CollectionsMarshal.AsSpan(list299); + List list300 = new List(num2); + CollectionsMarshal.SetCount(list300, num2); + span3 = CollectionsMarshal.AsSpan(list300); num3 = 0; - ref QuestStep reference197 = ref span3[num3]; - QuestStep obj170 = new QuestStep(EInteractionType.AcceptQuest, 1009777u, new Vector3(-59.983215f, 76.798584f, -204.0589f), 147) + ref QuestStep reference198 = ref span3[num3]; + QuestStep obj171 = new QuestStep(EInteractionType.AcceptQuest, 1009777u, new Vector3(-59.983215f, 76.798584f, -204.0589f), 147) { StopDistance = 1f, Fly = true }; - num4 = 1; - List list300 = new List(num4); - CollectionsMarshal.SetCount(list300, num4); - span4 = CollectionsMarshal.AsSpan(list300); - index2 = 0; - span4[index2] = new DialogueChoice + index2 = 1; + List list301 = new List(index2); + CollectionsMarshal.SetCount(list301, index2); + span4 = CollectionsMarshal.AsSpan(list301); + num4 = 0; + span4[num4] = new DialogueChoice { Type = EDialogChoiceType.YesNo, Prompt = new ExcelRef("TEXT_GAIUSD502_00044_Q1_000_000"), Yes = false }; - obj170.DialogueChoices = list300; + obj171.DialogueChoices = list301; + reference198 = obj171; + obj170.Steps = list300; reference197 = obj170; - obj169.Steps = list299; - reference196 = obj169; num++; - ref QuestSequence reference198 = ref span2[num]; - QuestSequence obj171 = new QuestSequence + ref QuestSequence reference199 = ref span2[num]; + QuestSequence obj172 = new QuestSequence { Sequence = byte.MaxValue }; num3 = 1; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - span3 = CollectionsMarshal.AsSpan(list301); + List list302 = new List(num3); + CollectionsMarshal.SetCount(list302, num3); + span3 = CollectionsMarshal.AsSpan(list302); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1009771u, new Vector3(-71.61066f, 48.96479f, -52.048523f), 147) { Fly = true }; - obj171.Steps = list301; - reference198 = obj171; - questRoot46.QuestSequence = list298; + obj172.Steps = list302; + reference199 = obj172; + questRoot46.QuestSequence = list299; AddQuest(questId46, questRoot46); QuestId questId47 = new QuestId(45); QuestRoot questRoot47 = new QuestRoot(); num = 1; - List list302 = new List(num); - CollectionsMarshal.SetCount(list302, num); - span = CollectionsMarshal.AsSpan(list302); + List list303 = new List(num); + CollectionsMarshal.SetCount(list303, num); + span = CollectionsMarshal.AsSpan(list303); index = 0; span[index] = "liza"; - questRoot47.Author = list302; + questRoot47.Author = list303; index = 8; - List list303 = new List(index); - CollectionsMarshal.SetCount(list303, index); - span2 = CollectionsMarshal.AsSpan(list303); + List list304 = new List(index); + CollectionsMarshal.SetCount(list304, index); + span2 = CollectionsMarshal.AsSpan(list304); num = 0; - ref QuestSequence reference199 = ref span2[num]; - QuestSequence obj172 = new QuestSequence + ref QuestSequence reference200 = ref span2[num]; + QuestSequence obj173 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - span3 = CollectionsMarshal.AsSpan(list304); + List list305 = new List(num2); + CollectionsMarshal.SetCount(list305, num2); + span3 = CollectionsMarshal.AsSpan(list305); num3 = 0; span3[num3] = new QuestStep(EInteractionType.AcceptQuest, 1009812u, new Vector3(74.08252f, 30.549389f, -720.9735f), 156) { @@ -5519,18 +5535,18 @@ public static class AssemblyQuestLoader } } }; - obj172.Steps = list304; - reference199 = obj172; + obj173.Steps = list305; + reference200 = obj173; num++; - ref QuestSequence reference200 = ref span2[num]; - QuestSequence obj173 = new QuestSequence + ref QuestSequence reference201 = ref span2[num]; + QuestSequence obj174 = new QuestSequence { Sequence = 1 }; num3 = 3; - List list305 = new List(num3); - CollectionsMarshal.SetCount(list305, num3); - span3 = CollectionsMarshal.AsSpan(list305); + List list306 = new List(num3); + CollectionsMarshal.SetCount(list306, num3); + span3 = CollectionsMarshal.AsSpan(list306); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.405773f, 29.49983f, -767.3998f), 156) { @@ -5540,49 +5556,49 @@ public static class AssemblyQuestLoader span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(25.629164f, 28.999998f, -823.2204f), 156); num2++; span3[num2] = new QuestStep(EInteractionType.Interact, 1001304u, new Vector3(25.589355f, 29f, -825.37573f), 156); - obj173.Steps = list305; - reference200 = obj173; - num++; - ref QuestSequence reference201 = ref span2[num]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - span3 = CollectionsMarshal.AsSpan(list306); - num3 = 0; - span3[num3] = new QuestStep(EInteractionType.Interact, 2004628u, new Vector3(50.614136f, 31.143677f, -748.40924f), 156); obj174.Steps = list306; reference201 = obj174; num++; ref QuestSequence reference202 = ref span2[num]; QuestSequence obj175 = new QuestSequence { - Sequence = 3 + Sequence = 2 }; - num3 = 1; - List list307 = new List(num3); - CollectionsMarshal.SetCount(list307, num3); + num2 = 1; + List list307 = new List(num2); + CollectionsMarshal.SetCount(list307, num2); span3 = CollectionsMarshal.AsSpan(list307); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 2004631u, new Vector3(-127.55017f, -1.9379272f, -638.4833f), 156) - { - Fly = true - }; + num3 = 0; + span3[num3] = new QuestStep(EInteractionType.Interact, 2004628u, new Vector3(50.614136f, 31.143677f, -748.40924f), 156); obj175.Steps = list307; reference202 = obj175; num++; ref QuestSequence reference203 = ref span2[num]; QuestSequence obj176 = new QuestSequence + { + Sequence = 3 + }; + num3 = 1; + List list308 = new List(num3); + CollectionsMarshal.SetCount(list308, num3); + span3 = CollectionsMarshal.AsSpan(list308); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 2004631u, new Vector3(-127.55017f, -1.9379272f, -638.4833f), 156) + { + Fly = true + }; + obj176.Steps = list308; + reference203 = obj176; + num++; + ref QuestSequence reference204 = ref span2[num]; + QuestSequence obj177 = new QuestSequence { Sequence = 4 }; num2 = 2; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - span3 = CollectionsMarshal.AsSpan(list308); + List list309 = new List(num2); + CollectionsMarshal.SetCount(list309, num2); + span3 = CollectionsMarshal.AsSpan(list309); num3 = 0; span3[num3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-165.20372f, 11.28438f, -619.29504f), 156) { @@ -5590,37 +5606,20 @@ public static class AssemblyQuestLoader }; num3++; span3[num3] = new QuestStep(EInteractionType.Interact, 2004629u, new Vector3(-166.79645f, 12.283508f, -619.8978f), 156); - obj176.Steps = list308; - reference203 = obj176; - num++; - ref QuestSequence reference204 = ref span2[num]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 5 - }; - num3 = 1; - List list309 = new List(num3); - CollectionsMarshal.SetCount(list309, num3); - span3 = CollectionsMarshal.AsSpan(list309); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1009817u, new Vector3(-130.1748f, -0.85852593f, -645.2583f), 156) - { - Fly = true - }; obj177.Steps = list309; reference204 = obj177; num++; ref QuestSequence reference205 = ref span2[num]; QuestSequence obj178 = new QuestSequence { - Sequence = 6 + Sequence = 5 }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); + num3 = 1; + List list310 = new List(num3); + CollectionsMarshal.SetCount(list310, num3); span3 = CollectionsMarshal.AsSpan(list310); - num3 = 0; - span3[num3] = new QuestStep(EInteractionType.Interact, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156) + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1009817u, new Vector3(-130.1748f, -0.85852593f, -645.2583f), 156) { Fly = true }; @@ -5629,46 +5628,63 @@ public static class AssemblyQuestLoader num++; ref QuestSequence reference206 = ref span2[num]; QuestSequence obj179 = new QuestSequence + { + Sequence = 6 + }; + num2 = 1; + List list311 = new List(num2); + CollectionsMarshal.SetCount(list311, num2); + span3 = CollectionsMarshal.AsSpan(list311); + num3 = 0; + span3[num3] = new QuestStep(EInteractionType.Interact, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156) + { + Fly = true + }; + obj179.Steps = list311; + reference206 = obj179; + num++; + ref QuestSequence reference207 = ref span2[num]; + QuestSequence obj180 = new QuestSequence { Sequence = byte.MaxValue }; num3 = 1; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - span3 = CollectionsMarshal.AsSpan(list311); + List list312 = new List(num3); + CollectionsMarshal.SetCount(list312, num3); + span3 = CollectionsMarshal.AsSpan(list312); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1009813u, new Vector3(55.436035f, 31.187548f, -763.42413f), 156) { Fly = true, NextQuestId = new QuestId(50) }; - obj179.Steps = list311; - reference206 = obj179; - questRoot47.QuestSequence = list303; + obj180.Steps = list312; + reference207 = obj180; + questRoot47.QuestSequence = list304; AddQuest(questId47, questRoot47); QuestId questId48 = new QuestId(46); QuestRoot questRoot48 = new QuestRoot(); num = 1; - List list312 = new List(num); - CollectionsMarshal.SetCount(list312, num); - span = CollectionsMarshal.AsSpan(list312); + List list313 = new List(num); + CollectionsMarshal.SetCount(list313, num); + span = CollectionsMarshal.AsSpan(list313); index = 0; span[index] = "pot0to"; - questRoot48.Author = list312; + questRoot48.Author = list313; index = 5; - List list313 = new List(index); - CollectionsMarshal.SetCount(list313, index); - span2 = CollectionsMarshal.AsSpan(list313); + List list314 = new List(index); + CollectionsMarshal.SetCount(list314, index); + span2 = CollectionsMarshal.AsSpan(list314); num = 0; - ref QuestSequence reference207 = ref span2[num]; - QuestSequence obj180 = new QuestSequence + ref QuestSequence reference208 = ref span2[num]; + QuestSequence obj181 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - span3 = CollectionsMarshal.AsSpan(list314); + List list315 = new List(num2); + CollectionsMarshal.SetCount(list315, num2); + span3 = CollectionsMarshal.AsSpan(list315); num3 = 0; span3[num3] = new QuestStep(EInteractionType.AcceptQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) { @@ -5687,48 +5703,25 @@ public static class AssemblyQuestLoader } } }; - obj180.Steps = list314; - reference207 = obj180; + obj181.Steps = list315; + reference208 = obj181; num++; - ref QuestSequence reference208 = ref span2[num]; - QuestSequence obj181 = new QuestSequence + ref QuestSequence reference209 = ref span2[num]; + QuestSequence obj182 = new QuestSequence { Sequence = 1 }; num3 = 11; - List list315 = new List(num3); - CollectionsMarshal.SetCount(list315, num3); - span3 = CollectionsMarshal.AsSpan(list315); + List list316 = new List(num3); + CollectionsMarshal.SetCount(list316, num3); + span3 = CollectionsMarshal.AsSpan(list316); num2 = 0; - ref QuestStep reference209 = ref span3[num2]; - QuestStep obj182 = new QuestStep(EInteractionType.Action, 2000925u, new Vector3(187.18237f, -2.7314453f, 79.087524f), 132) + ref QuestStep reference210 = ref span3[num2]; + QuestStep obj183 = new QuestStep(EInteractionType.Action, 2000925u, new Vector3(187.18237f, -2.7314453f, 79.087524f), 132) { StopDistance = 15f, Action = EAction.HeavyShot }; - index2 = 6; - List list316 = new List(index2); - CollectionsMarshal.SetCount(list316, index2); - span8 = CollectionsMarshal.AsSpan(list316); - num4 = 0; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj182.CompletionQuestVariablesFlags = list316; - reference209 = obj182; - num2++; - ref QuestStep reference210 = ref span3[num2]; - QuestStep questStep37 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(106.01592f, 0.14552212f, 57.230045f), 132); - SkipConditions skipConditions17 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); num4 = 6; List list317 = new List(num4); CollectionsMarshal.SetCount(list317, num4); @@ -5744,18 +5737,14 @@ public static class AssemblyQuestLoader index2++; span8[index2] = null; index2++; - span8[index2] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list317; - skipConditions17.StepIf = skipStepConditions6; - questStep37.SkipConditions = skipConditions17; - reference210 = questStep37; + span8[index2] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + obj183.CompletionQuestVariablesFlags = list317; + reference210 = obj183; num2++; ref QuestStep reference211 = ref span3[num2]; - QuestStep obj183 = new QuestStep(EInteractionType.Action, 2000926u, new Vector3(113.42029f, 4.6539917f, 54.306763f), 132) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; + QuestStep questStep37 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(106.01592f, 0.14552212f, 57.230045f), 132); + SkipConditions skipConditions18 = new SkipConditions(); + SkipStepConditions skipStepConditions7 = new SkipStepConditions(); index2 = 6; List list318 = new List(index2); CollectionsMarshal.SetCount(list318, index2); @@ -5772,13 +5761,17 @@ public static class AssemblyQuestLoader span8[num4] = null; num4++; span8[num4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj183.CompletionQuestVariablesFlags = list318; - reference211 = obj183; + skipStepConditions7.CompletionQuestVariablesFlags = list318; + skipConditions18.StepIf = skipStepConditions7; + questStep37.SkipConditions = skipConditions18; + reference211 = questStep37; num2++; ref QuestStep reference212 = ref span3[num2]; - QuestStep questStep38 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(40.66375f, 2.5499606f, 15.033528f), 132); - SkipConditions skipConditions18 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); + QuestStep obj184 = new QuestStep(EInteractionType.Action, 2000926u, new Vector3(113.42029f, 4.6539917f, 54.306763f), 132) + { + StopDistance = 20f, + Action = EAction.HeavyShot + }; num4 = 6; List list319 = new List(num4); CollectionsMarshal.SetCount(list319, num4); @@ -5794,18 +5787,14 @@ public static class AssemblyQuestLoader index2++; span8[index2] = null; index2++; - span8[index2] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list319; - skipConditions18.StepIf = skipStepConditions7; - questStep38.SkipConditions = skipConditions18; - reference212 = questStep38; + span8[index2] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + obj184.CompletionQuestVariablesFlags = list319; + reference212 = obj184; num2++; ref QuestStep reference213 = ref span3[num2]; - QuestStep obj184 = new QuestStep(EInteractionType.Action, 2000931u, new Vector3(36.453735f, 7.248047f, 10.879639f), 132) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; + QuestStep questStep38 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(40.66375f, 2.5499606f, 15.033528f), 132); + SkipConditions skipConditions19 = new SkipConditions(); + SkipStepConditions skipStepConditions8 = new SkipStepConditions(); index2 = 6; List list320 = new List(index2); CollectionsMarshal.SetCount(list320, index2); @@ -5822,13 +5811,17 @@ public static class AssemblyQuestLoader span8[num4] = null; num4++; span8[num4] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - obj184.CompletionQuestVariablesFlags = list320; - reference213 = obj184; + skipStepConditions8.CompletionQuestVariablesFlags = list320; + skipConditions19.StepIf = skipStepConditions8; + questStep38.SkipConditions = skipConditions19; + reference213 = questStep38; num2++; ref QuestStep reference214 = ref span3[num2]; - QuestStep questStep39 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-4.75964f, -3.0942674f, 21.23782f), 132); - SkipConditions skipConditions19 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); + QuestStep obj185 = new QuestStep(EInteractionType.Action, 2000931u, new Vector3(36.453735f, 7.248047f, 10.879639f), 132) + { + StopDistance = 20f, + Action = EAction.HeavyShot + }; num4 = 6; List list321 = new List(num4); CollectionsMarshal.SetCount(list321, num4); @@ -5844,18 +5837,14 @@ public static class AssemblyQuestLoader index2++; span8[index2] = null; index2++; - span8[index2] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list321; - skipConditions19.StepIf = skipStepConditions8; - questStep39.SkipConditions = skipConditions19; - reference214 = questStep39; + span8[index2] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); + obj185.CompletionQuestVariablesFlags = list321; + reference214 = obj185; num2++; ref QuestStep reference215 = ref span3[num2]; - QuestStep obj185 = new QuestStep(EInteractionType.Action, 2000929u, new Vector3(-5.7526855f, 2.0598755f, 30.655273f), 132) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; + QuestStep questStep39 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-4.75964f, -3.0942674f, 21.23782f), 132); + SkipConditions skipConditions20 = new SkipConditions(); + SkipStepConditions skipStepConditions9 = new SkipStepConditions(); index2 = 6; List list322 = new List(index2); CollectionsMarshal.SetCount(list322, index2); @@ -5872,13 +5861,17 @@ public static class AssemblyQuestLoader span8[num4] = null; num4++; span8[num4] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj185.CompletionQuestVariablesFlags = list322; - reference215 = obj185; + skipStepConditions9.CompletionQuestVariablesFlags = list322; + skipConditions20.StepIf = skipStepConditions9; + questStep39.SkipConditions = skipConditions20; + reference215 = questStep39; num2++; ref QuestStep reference216 = ref span3[num2]; - QuestStep questStep40 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(31.96446f, -1.5349445f, 60.44494f), 132); - SkipConditions skipConditions20 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); + QuestStep obj186 = new QuestStep(EInteractionType.Action, 2000929u, new Vector3(-5.7526855f, 2.0598755f, 30.655273f), 132) + { + StopDistance = 20f, + Action = EAction.HeavyShot + }; num4 = 6; List list323 = new List(num4); CollectionsMarshal.SetCount(list323, num4); @@ -5894,18 +5887,14 @@ public static class AssemblyQuestLoader index2++; span8[index2] = null; index2++; - span8[index2] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions9.CompletionQuestVariablesFlags = list323; - skipConditions20.StepIf = skipStepConditions9; - questStep40.SkipConditions = skipConditions20; - reference216 = questStep40; + span8[index2] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); + obj186.CompletionQuestVariablesFlags = list323; + reference216 = obj186; num2++; ref QuestStep reference217 = ref span3[num2]; - QuestStep obj186 = new QuestStep(EInteractionType.Action, 2000928u, new Vector3(33.24939f, 5.4473877f, 70.63391f), 132) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; + QuestStep questStep40 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(31.96446f, -1.5349445f, 60.44494f), 132); + SkipConditions skipConditions21 = new SkipConditions(); + SkipStepConditions skipStepConditions10 = new SkipStepConditions(); index2 = 6; List list324 = new List(index2); CollectionsMarshal.SetCount(list324, index2); @@ -5922,13 +5911,17 @@ public static class AssemblyQuestLoader span8[num4] = null; num4++; span8[num4] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj186.CompletionQuestVariablesFlags = list324; - reference217 = obj186; + skipStepConditions10.CompletionQuestVariablesFlags = list324; + skipConditions21.StepIf = skipStepConditions10; + questStep40.SkipConditions = skipConditions21; + reference217 = questStep40; num2++; ref QuestStep reference218 = ref span3[num2]; - QuestStep questStep41 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(65.39101f, -3.7351668f, 88.24835f), 132); - SkipConditions skipConditions21 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); + QuestStep obj187 = new QuestStep(EInteractionType.Action, 2000928u, new Vector3(33.24939f, 5.4473877f, 70.63391f), 132) + { + StopDistance = 20f, + Action = EAction.HeavyShot + }; num4 = 6; List list325 = new List(num4); CollectionsMarshal.SetCount(list325, num4); @@ -5944,18 +5937,14 @@ public static class AssemblyQuestLoader index2++; span8[index2] = null; index2++; - span8[index2] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions10.CompletionQuestVariablesFlags = list325; - skipConditions21.StepIf = skipStepConditions10; - questStep41.SkipConditions = skipConditions21; - reference218 = questStep41; + span8[index2] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); + obj187.CompletionQuestVariablesFlags = list325; + reference218 = obj187; num2++; ref QuestStep reference219 = ref span3[num2]; - QuestStep obj187 = new QuestStep(EInteractionType.Action, 2000930u, new Vector3(56.595703f, -3.7385254f, 96.97107f), 132) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; + QuestStep questStep41 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(65.39101f, -3.7351668f, 88.24835f), 132); + SkipConditions skipConditions22 = new SkipConditions(); + SkipStepConditions skipStepConditions11 = new SkipStepConditions(); index2 = 6; List list326 = new List(index2); CollectionsMarshal.SetCount(list326, index2); @@ -5972,20 +5961,47 @@ public static class AssemblyQuestLoader span8[num4] = null; num4++; span8[num4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj187.CompletionQuestVariablesFlags = list326; - reference219 = obj187; - obj181.Steps = list315; - reference208 = obj181; + skipStepConditions11.CompletionQuestVariablesFlags = list326; + skipConditions22.StepIf = skipStepConditions11; + questStep41.SkipConditions = skipConditions22; + reference219 = questStep41; + num2++; + ref QuestStep reference220 = ref span3[num2]; + QuestStep obj188 = new QuestStep(EInteractionType.Action, 2000930u, new Vector3(56.595703f, -3.7385254f, 96.97107f), 132) + { + StopDistance = 20f, + Action = EAction.HeavyShot + }; + num4 = 6; + List list327 = new List(num4); + CollectionsMarshal.SetCount(list327, num4); + span8 = CollectionsMarshal.AsSpan(list327); + index2 = 0; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); + obj188.CompletionQuestVariablesFlags = list327; + reference220 = obj188; + obj182.Steps = list316; + reference209 = obj182; num++; - ref QuestSequence reference220 = ref span2[num]; - QuestSequence obj188 = new QuestSequence + ref QuestSequence reference221 = ref span2[num]; + QuestSequence obj189 = new QuestSequence { Sequence = 2 }; num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - span3 = CollectionsMarshal.AsSpan(list327); + List list328 = new List(num2); + CollectionsMarshal.SetCount(list328, num2); + span3 = CollectionsMarshal.AsSpan(list328); num3 = 0; span3[num3] = new QuestStep(EInteractionType.Interact, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) { @@ -5995,21 +6011,21 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.GridaniaArcher } }; - obj188.Steps = list327; - reference220 = obj188; + obj189.Steps = list328; + reference221 = obj189; num++; - ref QuestSequence reference221 = ref span2[num]; - QuestSequence obj189 = new QuestSequence + ref QuestSequence reference222 = ref span2[num]; + QuestSequence obj190 = new QuestSequence { Sequence = 3 }; num3 = 2; - List list328 = new List(num3); - CollectionsMarshal.SetCount(list328, num3); - span3 = CollectionsMarshal.AsSpan(list328); + List list329 = new List(num3); + CollectionsMarshal.SetCount(list329, num3); + span3 = CollectionsMarshal.AsSpan(list329); num2 = 0; - ref QuestStep reference222 = ref span3[num2]; - QuestStep obj190 = new QuestStep(EInteractionType.Combat, null, new Vector3(303.89548f, -21.916101f, 210.33368f), 154) + ref QuestStep reference223 = ref span3[num2]; + QuestStep obj191 = new QuestStep(EInteractionType.Combat, null, new Vector3(303.89548f, -21.916101f, 210.33368f), 154) { StopDistance = 0.5f, Fly = true, @@ -6020,84 +6036,84 @@ public static class AssemblyQuestLoader }, EnemySpawnType = EEnemySpawnType.OverworldEnemies }; - num4 = 1; - List list329 = new List(num4); - CollectionsMarshal.SetCount(list329, num4); - span7 = CollectionsMarshal.AsSpan(list329); - index2 = 0; - span7[index2] = new ComplexCombatData + index2 = 1; + List list330 = new List(index2); + CollectionsMarshal.SetCount(list330, index2); + span7 = CollectionsMarshal.AsSpan(list330); + num4 = 0; + span7[num4] = new ComplexCombatData { DataId = 5u, MinimumKillCount = 8u }; - obj190.ComplexCombatData = list329; - index2 = 6; - List list330 = new List(index2); - CollectionsMarshal.SetCount(list330, index2); - span8 = CollectionsMarshal.AsSpan(list330); - num4 = 0; - span8[num4] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - obj190.CompletionQuestVariablesFlags = list330; - reference222 = obj190; + obj191.ComplexCombatData = list330; + num4 = 6; + List list331 = new List(num4); + CollectionsMarshal.SetCount(list331, num4); + span8 = CollectionsMarshal.AsSpan(list331); + index2 = 0; + span8[index2] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + obj191.CompletionQuestVariablesFlags = list331; + reference223 = obj191; num2++; - ref QuestStep reference223 = ref span3[num2]; - QuestStep obj191 = new QuestStep(EInteractionType.Combat, null, new Vector3(250.70682f, -11.9244995f, 40.554157f), 154) + ref QuestStep reference224 = ref span3[num2]; + QuestStep obj192 = new QuestStep(EInteractionType.Combat, null, new Vector3(250.70682f, -11.9244995f, 40.554157f), 154) { StopDistance = 0.5f, Fly = true, EnemySpawnType = EEnemySpawnType.OverworldEnemies }; - num4 = 1; - List list331 = new List(num4); - CollectionsMarshal.SetCount(list331, num4); - span7 = CollectionsMarshal.AsSpan(list331); - index2 = 0; - span7[index2] = new ComplexCombatData + index2 = 1; + List list332 = new List(index2); + CollectionsMarshal.SetCount(list332, index2); + span7 = CollectionsMarshal.AsSpan(list332); + num4 = 0; + span7[num4] = new ComplexCombatData { DataId = 32u, MinimumKillCount = 8u }; - obj191.ComplexCombatData = list331; - index2 = 6; - List list332 = new List(index2); - CollectionsMarshal.SetCount(list332, index2); - span8 = CollectionsMarshal.AsSpan(list332); - num4 = 0; - span8[num4] = null; - num4++; - span8[num4] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - num4++; - span8[num4] = null; - obj191.CompletionQuestVariablesFlags = list332; - reference223 = obj191; - obj189.Steps = list328; - reference221 = obj189; + obj192.ComplexCombatData = list332; + num4 = 6; + List list333 = new List(num4); + CollectionsMarshal.SetCount(list333, num4); + span8 = CollectionsMarshal.AsSpan(list333); + index2 = 0; + span8[index2] = null; + index2++; + span8[index2] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + index2++; + span8[index2] = null; + obj192.CompletionQuestVariablesFlags = list333; + reference224 = obj192; + obj190.Steps = list329; + reference222 = obj190; num++; - ref QuestSequence reference224 = ref span2[num]; - QuestSequence obj192 = new QuestSequence + ref QuestSequence reference225 = ref span2[num]; + QuestSequence obj193 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - span3 = CollectionsMarshal.AsSpan(list333); + List list334 = new List(num2); + CollectionsMarshal.SetCount(list334, num2); + span3 = CollectionsMarshal.AsSpan(list334); num3 = 0; span3[num3] = new QuestStep(EInteractionType.CompleteQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) { @@ -6117,36 +6133,36 @@ public static class AssemblyQuestLoader }, NextQuestId = new QuestId(134) }; - obj192.Steps = list333; - reference224 = obj192; - questRoot48.QuestSequence = list313; + obj193.Steps = list334; + reference225 = obj193; + questRoot48.QuestSequence = list314; AddQuest(questId48, questRoot48); QuestId questId49 = new QuestId(47); QuestRoot questRoot49 = new QuestRoot(); num = 1; - List list334 = new List(num); - CollectionsMarshal.SetCount(list334, num); - span = CollectionsMarshal.AsSpan(list334); + List list335 = new List(num); + CollectionsMarshal.SetCount(list335, num); + span = CollectionsMarshal.AsSpan(list335); index = 0; span[index] = "Cacahuetes"; - questRoot49.Author = list334; + questRoot49.Author = list335; index = 6; - List list335 = new List(index); - CollectionsMarshal.SetCount(list335, index); - span2 = CollectionsMarshal.AsSpan(list335); + List list336 = new List(index); + CollectionsMarshal.SetCount(list336, index); + span2 = CollectionsMarshal.AsSpan(list336); num = 0; - ref QuestSequence reference225 = ref span2[num]; - QuestSequence obj193 = new QuestSequence + ref QuestSequence reference226 = ref span2[num]; + QuestSequence obj194 = new QuestSequence { Sequence = 0 }; num3 = 1; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - span3 = CollectionsMarshal.AsSpan(list336); + List list337 = new List(num3); + CollectionsMarshal.SetCount(list337, num3); + span3 = CollectionsMarshal.AsSpan(list337); num2 = 0; - ref QuestStep reference226 = ref span3[num2]; - QuestStep obj194 = new QuestStep(EInteractionType.AcceptQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) + ref QuestStep reference227 = ref span3[num2]; + QuestStep obj195 = new QuestStep(EInteractionType.AcceptQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) { AetheryteShortcut = EAetheryteLocation.Gridania, AethernetShortcut = new AethernetShortcut @@ -6155,33 +6171,33 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.GridaniaLancer } }; - SkipConditions skipConditions22 = new SkipConditions(); - SkipAetheryteCondition obj195 = new SkipAetheryteCondition + SkipConditions skipConditions23 = new SkipConditions(); + SkipAetheryteCondition obj196 = new SkipAetheryteCondition { InSameTerritory = true }; - num4 = 1; - List list337 = new List(num4); - CollectionsMarshal.SetCount(list337, num4); - span5 = CollectionsMarshal.AsSpan(list337); - index2 = 0; - span5[index2] = 133; - obj195.InTerritory = list337; - skipConditions22.AetheryteShortcutIf = obj195; - obj194.SkipConditions = skipConditions22; + index2 = 1; + List list338 = new List(index2); + CollectionsMarshal.SetCount(list338, index2); + span5 = CollectionsMarshal.AsSpan(list338); + num4 = 0; + span5[num4] = 133; + obj196.InTerritory = list338; + skipConditions23.AetheryteShortcutIf = obj196; + obj195.SkipConditions = skipConditions23; + reference227 = obj195; + obj194.Steps = list337; reference226 = obj194; - obj193.Steps = list336; - reference225 = obj193; num++; - ref QuestSequence reference227 = ref span2[num]; - QuestSequence obj196 = new QuestSequence + ref QuestSequence reference228 = ref span2[num]; + QuestSequence obj197 = new QuestSequence { Sequence = 1 }; num2 = 3; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - span3 = CollectionsMarshal.AsSpan(list338); + List list339 = new List(num2); + CollectionsMarshal.SetCount(list339, num2); + span3 = CollectionsMarshal.AsSpan(list339); num3 = 0; span3[num3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(260.13162f, -11.982115f, -159.64388f), 148) { @@ -6193,81 +6209,81 @@ public static class AssemblyQuestLoader } }; num3++; - ref QuestStep reference228 = ref span3[num3]; - QuestStep obj197 = new QuestStep(EInteractionType.Combat, 2000911u, new Vector3(261.82947f, -11.795227f, -161.36414f), 148) - { - ItemId = 2000230u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - index2 = 1; - List list339 = new List(index2); - CollectionsMarshal.SetCount(list339, index2); - span9 = CollectionsMarshal.AsSpan(list339); - num4 = 0; - span9[num4] = 42u; - obj197.KillEnemyDataIds = list339; - num4 = 6; - List list340 = new List(num4); - CollectionsMarshal.SetCount(list340, num4); - span8 = CollectionsMarshal.AsSpan(list340); - index2 = 0; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj197.CompletionQuestVariablesFlags = list340; - reference228 = obj197; - num3++; ref QuestStep reference229 = ref span3[num3]; - QuestStep obj198 = new QuestStep(EInteractionType.Combat, 2000910u, new Vector3(266.31567f, -11.795227f, -174.88367f), 148) + QuestStep obj198 = new QuestStep(EInteractionType.Combat, 2000911u, new Vector3(261.82947f, -11.795227f, -161.36414f), 148) { ItemId = 2000230u, EnemySpawnType = EEnemySpawnType.AfterItemUse }; - index2 = 1; - List list341 = new List(index2); - CollectionsMarshal.SetCount(list341, index2); - span9 = CollectionsMarshal.AsSpan(list341); - num4 = 0; - span9[num4] = 42u; - obj198.KillEnemyDataIds = list341; - num4 = 6; - List list342 = new List(num4); - CollectionsMarshal.SetCount(list342, num4); - span8 = CollectionsMarshal.AsSpan(list342); + num4 = 1; + List list340 = new List(num4); + CollectionsMarshal.SetCount(list340, num4); + span9 = CollectionsMarshal.AsSpan(list340); index2 = 0; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj198.CompletionQuestVariablesFlags = list342; + span9[index2] = 42u; + obj198.KillEnemyDataIds = list340; + index2 = 6; + List list341 = new List(index2); + CollectionsMarshal.SetCount(list341, index2); + span8 = CollectionsMarshal.AsSpan(list341); + num4 = 0; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); + obj198.CompletionQuestVariablesFlags = list341; reference229 = obj198; - obj196.Steps = list338; - reference227 = obj196; + num3++; + ref QuestStep reference230 = ref span3[num3]; + QuestStep obj199 = new QuestStep(EInteractionType.Combat, 2000910u, new Vector3(266.31567f, -11.795227f, -174.88367f), 148) + { + ItemId = 2000230u, + EnemySpawnType = EEnemySpawnType.AfterItemUse + }; + num4 = 1; + List list342 = new List(num4); + CollectionsMarshal.SetCount(list342, num4); + span9 = CollectionsMarshal.AsSpan(list342); + index2 = 0; + span9[index2] = 42u; + obj199.KillEnemyDataIds = list342; + index2 = 6; + List list343 = new List(index2); + CollectionsMarshal.SetCount(list343, index2); + span8 = CollectionsMarshal.AsSpan(list343); + num4 = 0; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); + obj199.CompletionQuestVariablesFlags = list343; + reference230 = obj199; + obj197.Steps = list339; + reference228 = obj197; num++; - ref QuestSequence reference230 = ref span2[num]; - QuestSequence obj199 = new QuestSequence + ref QuestSequence reference231 = ref span2[num]; + QuestSequence obj200 = new QuestSequence { Sequence = 2 }; num3 = 1; - List list343 = new List(num3); - CollectionsMarshal.SetCount(list343, num3); - span3 = CollectionsMarshal.AsSpan(list343); + List list344 = new List(num3); + CollectionsMarshal.SetCount(list344, num3); + span3 = CollectionsMarshal.AsSpan(list344); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) { @@ -6278,18 +6294,18 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.GridaniaLancer } }; - obj199.Steps = list343; - reference230 = obj199; + obj200.Steps = list344; + reference231 = obj200; num++; - ref QuestSequence reference231 = ref span2[num]; - QuestSequence obj200 = new QuestSequence + ref QuestSequence reference232 = ref span2[num]; + QuestSequence obj201 = new QuestSequence { Sequence = 3 }; num2 = 4; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - span3 = CollectionsMarshal.AsSpan(list344); + List list345 = new List(num2); + CollectionsMarshal.SetCount(list345, num2); + span3 = CollectionsMarshal.AsSpan(list345); num3 = 0; span3[num3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(300.2214f, 1.4752781f, 87.94056f), 148) { @@ -6301,110 +6317,110 @@ public static class AssemblyQuestLoader } }; num3++; - ref QuestStep reference232 = ref span3[num3]; - QuestStep obj201 = new QuestStep(EInteractionType.Combat, 2000914u, new Vector3(302.2965f, 2.090454f, 88.0293f), 148) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - index2 = 1; - List list345 = new List(index2); - CollectionsMarshal.SetCount(list345, index2); - span9 = CollectionsMarshal.AsSpan(list345); - num4 = 0; - span9[num4] = 41u; - obj201.KillEnemyDataIds = list345; - num4 = 6; - List list346 = new List(num4); - CollectionsMarshal.SetCount(list346, num4); - span8 = CollectionsMarshal.AsSpan(list346); - index2 = 0; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj201.CompletionQuestVariablesFlags = list346; - reference232 = obj201; - num3++; ref QuestStep reference233 = ref span3[num3]; - QuestStep obj202 = new QuestStep(EInteractionType.Combat, 2000916u, new Vector3(305.4093f, 4.501404f, 103.990234f), 148) + QuestStep obj202 = new QuestStep(EInteractionType.Combat, 2000914u, new Vector3(302.2965f, 2.090454f, 88.0293f), 148) { EnemySpawnType = EEnemySpawnType.AfterInteraction }; - index2 = 1; - List list347 = new List(index2); - CollectionsMarshal.SetCount(list347, index2); - span9 = CollectionsMarshal.AsSpan(list347); - num4 = 0; - span9[num4] = 26u; - obj202.KillEnemyDataIds = list347; - num4 = 6; - List list348 = new List(num4); - CollectionsMarshal.SetCount(list348, num4); - span8 = CollectionsMarshal.AsSpan(list348); + num4 = 1; + List list346 = new List(num4); + CollectionsMarshal.SetCount(list346, num4); + span9 = CollectionsMarshal.AsSpan(list346); index2 = 0; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj202.CompletionQuestVariablesFlags = list348; + span9[index2] = 41u; + obj202.KillEnemyDataIds = list346; + index2 = 6; + List list347 = new List(index2); + CollectionsMarshal.SetCount(list347, index2); + span8 = CollectionsMarshal.AsSpan(list347); + num4 = 0; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + obj202.CompletionQuestVariablesFlags = list347; reference233 = obj202; num3++; ref QuestStep reference234 = ref span3[num3]; - QuestStep obj203 = new QuestStep(EInteractionType.Combat, 2000915u, new Vector3(327.10767f, 3.7078857f, 93.64453f), 148) + QuestStep obj203 = new QuestStep(EInteractionType.Combat, 2000916u, new Vector3(305.4093f, 4.501404f, 103.990234f), 148) { EnemySpawnType = EEnemySpawnType.AfterInteraction }; - index2 = 1; - List list349 = new List(index2); - CollectionsMarshal.SetCount(list349, index2); - span9 = CollectionsMarshal.AsSpan(list349); - num4 = 0; - span9[num4] = 41u; - obj203.KillEnemyDataIds = list349; - num4 = 6; - List list350 = new List(num4); - CollectionsMarshal.SetCount(list350, num4); - span8 = CollectionsMarshal.AsSpan(list350); + num4 = 1; + List list348 = new List(num4); + CollectionsMarshal.SetCount(list348, num4); + span9 = CollectionsMarshal.AsSpan(list348); index2 = 0; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = null; - index2++; - span8[index2] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj203.CompletionQuestVariablesFlags = list350; + span9[index2] = 26u; + obj203.KillEnemyDataIds = list348; + index2 = 6; + List list349 = new List(index2); + CollectionsMarshal.SetCount(list349, index2); + span8 = CollectionsMarshal.AsSpan(list349); + num4 = 0; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); + obj203.CompletionQuestVariablesFlags = list349; reference234 = obj203; - obj200.Steps = list344; - reference231 = obj200; + num3++; + ref QuestStep reference235 = ref span3[num3]; + QuestStep obj204 = new QuestStep(EInteractionType.Combat, 2000915u, new Vector3(327.10767f, 3.7078857f, 93.64453f), 148) + { + EnemySpawnType = EEnemySpawnType.AfterInteraction + }; + num4 = 1; + List list350 = new List(num4); + CollectionsMarshal.SetCount(list350, num4); + span9 = CollectionsMarshal.AsSpan(list350); + index2 = 0; + span9[index2] = 41u; + obj204.KillEnemyDataIds = list350; + index2 = 6; + List list351 = new List(index2); + CollectionsMarshal.SetCount(list351, index2); + span8 = CollectionsMarshal.AsSpan(list351); + num4 = 0; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = null; + num4++; + span8[num4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + obj204.CompletionQuestVariablesFlags = list351; + reference235 = obj204; + obj201.Steps = list345; + reference232 = obj201; num++; - ref QuestSequence reference235 = ref span2[num]; - QuestSequence obj204 = new QuestSequence + ref QuestSequence reference236 = ref span2[num]; + QuestSequence obj205 = new QuestSequence { Sequence = 4 }; num3 = 1; - List list351 = new List(num3); - CollectionsMarshal.SetCount(list351, num3); - span3 = CollectionsMarshal.AsSpan(list351); + List list352 = new List(num3); + CollectionsMarshal.SetCount(list352, num3); + span3 = CollectionsMarshal.AsSpan(list352); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1000251u, new Vector3(147.08167f, 15.5f, -267.99426f), 133) { @@ -6419,53 +6435,53 @@ public static class AssemblyQuestLoader AetheryteShortcutIf = new SkipAetheryteCondition() } }; - obj204.Steps = list351; - reference235 = obj204; + obj205.Steps = list352; + reference236 = obj205; num++; - ref QuestSequence reference236 = ref span2[num]; - QuestSequence obj205 = new QuestSequence + ref QuestSequence reference237 = ref span2[num]; + QuestSequence obj206 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - span3 = CollectionsMarshal.AsSpan(list352); + List list353 = new List(num2); + CollectionsMarshal.SetCount(list353, num2); + span3 = CollectionsMarshal.AsSpan(list353); num3 = 0; span3[num3] = new QuestStep(EInteractionType.CompleteQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) { NextQuestId = new QuestId(35) }; - obj205.Steps = list352; - reference236 = obj205; - questRoot49.QuestSequence = list335; + obj206.Steps = list353; + reference237 = obj206; + questRoot49.QuestSequence = list336; AddQuest(questId49, questRoot49); QuestId questId50 = new QuestId(48); QuestRoot questRoot50 = new QuestRoot(); num = 1; - List list353 = new List(num); - CollectionsMarshal.SetCount(list353, num); - span = CollectionsMarshal.AsSpan(list353); + List list354 = new List(num); + CollectionsMarshal.SetCount(list354, num); + span = CollectionsMarshal.AsSpan(list354); index = 0; span[index] = "Cacahuetes"; - questRoot50.Author = list353; + questRoot50.Author = list354; index = 5; - List list354 = new List(index); - CollectionsMarshal.SetCount(list354, index); - span2 = CollectionsMarshal.AsSpan(list354); + List list355 = new List(index); + CollectionsMarshal.SetCount(list355, index); + span2 = CollectionsMarshal.AsSpan(list355); num = 0; - ref QuestSequence reference237 = ref span2[num]; - QuestSequence obj206 = new QuestSequence + ref QuestSequence reference238 = ref span2[num]; + QuestSequence obj207 = new QuestSequence { Sequence = 0 }; num3 = 1; - List list355 = new List(num3); - CollectionsMarshal.SetCount(list355, num3); - span3 = CollectionsMarshal.AsSpan(list355); + List list356 = new List(num3); + CollectionsMarshal.SetCount(list356, num3); + span3 = CollectionsMarshal.AsSpan(list356); num2 = 0; - ref QuestStep reference238 = ref span3[num2]; - QuestStep obj207 = new QuestStep(EInteractionType.AcceptQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) + ref QuestStep reference239 = ref span3[num2]; + QuestStep obj208 = new QuestStep(EInteractionType.AcceptQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) { AetheryteShortcut = EAetheryteLocation.Gridania, AethernetShortcut = new AethernetShortcut @@ -6474,33 +6490,33 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.GridaniaConjurer } }; - SkipConditions skipConditions23 = new SkipConditions(); - SkipAetheryteCondition obj208 = new SkipAetheryteCondition + SkipConditions skipConditions24 = new SkipConditions(); + SkipAetheryteCondition obj209 = new SkipAetheryteCondition { InSameTerritory = true }; - index2 = 1; - List list356 = new List(index2); - CollectionsMarshal.SetCount(list356, index2); - span5 = CollectionsMarshal.AsSpan(list356); - num4 = 0; - span5[num4] = 133; - obj208.InTerritory = list356; - skipConditions23.AetheryteShortcutIf = obj208; - obj207.SkipConditions = skipConditions23; + num4 = 1; + List list357 = new List(num4); + CollectionsMarshal.SetCount(list357, num4); + span5 = CollectionsMarshal.AsSpan(list357); + index2 = 0; + span5[index2] = 133; + obj209.InTerritory = list357; + skipConditions24.AetheryteShortcutIf = obj209; + obj208.SkipConditions = skipConditions24; + reference239 = obj208; + obj207.Steps = list356; reference238 = obj207; - obj206.Steps = list355; - reference237 = obj206; num++; - ref QuestSequence reference239 = ref span2[num]; - QuestSequence obj209 = new QuestSequence + ref QuestSequence reference240 = ref span2[num]; + QuestSequence obj210 = new QuestSequence { Sequence = 1 }; num2 = 2; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - span3 = CollectionsMarshal.AsSpan(list357); + List list358 = new List(num2); + CollectionsMarshal.SetCount(list358, num2); + span3 = CollectionsMarshal.AsSpan(list358); num3 = 0; span3[num3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(220.82336f, -28.335487f, 336.9016f), 154) { @@ -6513,45 +6529,45 @@ public static class AssemblyQuestLoader }; num3++; span3[num3] = new QuestStep(EInteractionType.Interact, 1000764u, new Vector3(218.89062f, -28.252495f, 338.39917f), 154); - obj209.Steps = list357; - reference239 = obj209; + obj210.Steps = list358; + reference240 = obj210; num++; - ref QuestSequence reference240 = ref span2[num]; - QuestSequence obj210 = new QuestSequence + ref QuestSequence reference241 = ref span2[num]; + QuestSequence obj211 = new QuestSequence { Sequence = 2 }; num3 = 1; - List list358 = new List(num3); - CollectionsMarshal.SetCount(list358, num3); - span3 = CollectionsMarshal.AsSpan(list358); + List list359 = new List(num3); + CollectionsMarshal.SetCount(list359, num3); + span3 = CollectionsMarshal.AsSpan(list359); num2 = 0; - ref QuestStep reference241 = ref span3[num2]; - QuestStep obj211 = new QuestStep(EInteractionType.Combat, 2000883u, new Vector3(325.1848f, -5.217115f, 390.488f), 154) + ref QuestStep reference242 = ref span3[num2]; + QuestStep obj212 = new QuestStep(EInteractionType.Combat, 2000883u, new Vector3(325.1848f, -5.217115f, 390.488f), 154) { Fly = true, EnemySpawnType = EEnemySpawnType.AfterInteraction }; - num4 = 1; - List list359 = new List(num4); - CollectionsMarshal.SetCount(list359, num4); - span9 = CollectionsMarshal.AsSpan(list359); - index2 = 0; - span9[index2] = 294u; - obj211.KillEnemyDataIds = list359; + index2 = 1; + List list360 = new List(index2); + CollectionsMarshal.SetCount(list360, index2); + span9 = CollectionsMarshal.AsSpan(list360); + num4 = 0; + span9[num4] = 294u; + obj212.KillEnemyDataIds = list360; + reference242 = obj212; + obj211.Steps = list359; reference241 = obj211; - obj210.Steps = list358; - reference240 = obj210; num++; - ref QuestSequence reference242 = ref span2[num]; - QuestSequence obj212 = new QuestSequence + ref QuestSequence reference243 = ref span2[num]; + QuestSequence obj213 = new QuestSequence { Sequence = 3 }; num2 = 2; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - span3 = CollectionsMarshal.AsSpan(list360); + List list361 = new List(num2); + CollectionsMarshal.SetCount(list361, num2); + span3 = CollectionsMarshal.AsSpan(list361); num3 = 0; span3[num3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(220.82336f, -28.335487f, 336.9016f), 154) { @@ -6566,18 +6582,18 @@ public static class AssemblyQuestLoader }; num3++; span3[num3] = new QuestStep(EInteractionType.Interact, 1000764u, new Vector3(218.89062f, -28.252495f, 338.39917f), 154); - obj212.Steps = list360; - reference242 = obj212; + obj213.Steps = list361; + reference243 = obj213; num++; - ref QuestSequence reference243 = ref span2[num]; - QuestSequence obj213 = new QuestSequence + ref QuestSequence reference244 = ref span2[num]; + QuestSequence obj214 = new QuestSequence { Sequence = byte.MaxValue }; num3 = 1; - List list361 = new List(num3); - CollectionsMarshal.SetCount(list361, num3); - span3 = CollectionsMarshal.AsSpan(list361); + List list362 = new List(num3); + CollectionsMarshal.SetCount(list362, num3); + span3 = CollectionsMarshal.AsSpan(list362); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) { @@ -6589,52 +6605,52 @@ public static class AssemblyQuestLoader }, NextQuestId = new QuestId(91) }; - obj213.Steps = list361; - reference243 = obj213; - questRoot50.QuestSequence = list354; + obj214.Steps = list362; + reference244 = obj214; + questRoot50.QuestSequence = list355; AddQuest(questId50, questRoot50); QuestId questId51 = new QuestId(49); QuestRoot questRoot51 = new QuestRoot(); num = 1; - List list362 = new List(num); - CollectionsMarshal.SetCount(list362, num); - span = CollectionsMarshal.AsSpan(list362); + List list363 = new List(num); + CollectionsMarshal.SetCount(list363, num); + span = CollectionsMarshal.AsSpan(list363); index = 0; span[index] = "liza"; - questRoot51.Author = list362; + questRoot51.Author = list363; index = 2; - List list363 = new List(index); - CollectionsMarshal.SetCount(list363, index); - span2 = CollectionsMarshal.AsSpan(list363); + List list364 = new List(index); + CollectionsMarshal.SetCount(list364, index); + span2 = CollectionsMarshal.AsSpan(list364); num = 0; - ref QuestSequence reference244 = ref span2[num]; - QuestSequence obj214 = new QuestSequence + ref QuestSequence reference245 = ref span2[num]; + QuestSequence obj215 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - span3 = CollectionsMarshal.AsSpan(list364); + List list365 = new List(num2); + CollectionsMarshal.SetCount(list365, num2); + span3 = CollectionsMarshal.AsSpan(list365); num3 = 0; span3[num3] = new QuestStep(EInteractionType.AcceptQuest, 1000788u, new Vector3(-43.90027f, 7.0877223f, -136.70563f), 133); - obj214.Steps = list364; - reference244 = obj214; + obj215.Steps = list365; + reference245 = obj215; num++; - ref QuestSequence reference245 = ref span2[num]; - QuestSequence obj215 = new QuestSequence + ref QuestSequence reference246 = ref span2[num]; + QuestSequence obj216 = new QuestSequence { Sequence = byte.MaxValue }; num3 = 1; - List list365 = new List(num3); - CollectionsMarshal.SetCount(list365, num3); - span3 = CollectionsMarshal.AsSpan(list365); + List list366 = new List(num3); + CollectionsMarshal.SetCount(list366, num3); + span3 = CollectionsMarshal.AsSpan(list366); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1000429u, new Vector3(56.50415f, 7.9990244f, -132.12793f), 133); - obj215.Steps = list365; - reference245 = obj215; - questRoot51.QuestSequence = list363; + obj216.Steps = list366; + reference246 = obj216; + questRoot51.QuestSequence = list364; AddQuest(questId51, questRoot51); } @@ -10463,7 +10479,7 @@ public static class AssemblyQuestLoader { Sequence = byte.MaxValue }; - num2 = 6; + num2 = 8; List list215 = new List(num2); CollectionsMarshal.SetCount(list215, num2); span3 = CollectionsMarshal.AsSpan(list215); @@ -10501,6 +10517,29 @@ public static class AssemblyQuestLoader } }; index2++; + span3[index2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 148) + { + Aetheryte = EAetheryteLocation.CentralShroudBentbranchMeadows, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.GridaniaConjurer, + To = EAetheryteLocation.GridaniaBlueBadgerGate + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.None, null, null, 133) + { + AetheryteShortcut = EAetheryteLocation.Gridania, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) { AethernetShortcut = new AethernetShortcut @@ -12571,7 +12610,7 @@ public static class AssemblyQuestLoader { Sequence = byte.MaxValue }; - index2 = 2; + index2 = 6; List list55 = new List(index2); CollectionsMarshal.SetCount(list55, index2); span3 = CollectionsMarshal.AsSpan(list55); @@ -12582,6 +12621,51 @@ public static class AssemblyQuestLoader Comment = "Pick up Class Quest" }; num2++; + span3[num2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) + { + AethernetShard = EAetheryteLocation.LimsaAftcastle, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 134) + { + Aetheryte = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.LimsaAftcastle, + To = EAetheryteLocation.LimsaZephyrGate + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.None, null, null, 134) + { + AetheryteShortcut = EAetheryteLocation.Limsa, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.None, null, null, 129) + { + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.Limsa, + To = EAetheryteLocation.LimsaAftcastle + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num2++; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128); obj34.Steps = list55; reference38 = obj34; @@ -12721,7 +12805,7 @@ public static class AssemblyQuestLoader { Sequence = byte.MaxValue }; - num2 = 6; + num2 = 10; List list63 = new List(num2); CollectionsMarshal.SetCount(list63, num2); span3 = CollectionsMarshal.AsSpan(list63); @@ -12763,6 +12847,51 @@ public static class AssemblyQuestLoader AethernetShard = EAetheryteLocation.LimsaMarauder }; index2++; + span3[index2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) + { + AethernetShard = EAetheryteLocation.LimsaAftcastle, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 134) + { + Aetheryte = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.LimsaAftcastle, + To = EAetheryteLocation.LimsaZephyrGate + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.None, null, null, 134) + { + AetheryteShortcut = EAetheryteLocation.Limsa, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.None, null, null, 129) + { + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.Limsa, + To = EAetheryteLocation.LimsaAftcastle + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128); obj39.Steps = list63; reference44 = obj39; @@ -14178,7 +14307,7 @@ public static class AssemblyQuestLoader { Sequence = byte.MaxValue }; - index2 = 8; + index2 = 10; List list150 = new List(index2); CollectionsMarshal.SetCount(list150, index2); span3 = CollectionsMarshal.AsSpan(list150); @@ -14222,6 +14351,29 @@ public static class AssemblyQuestLoader } }; num2++; + span3[num2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 148) + { + Aetheryte = EAetheryteLocation.CentralShroudBentbranchMeadows, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.GridaniaConjurer, + To = EAetheryteLocation.GridaniaBlueBadgerGate + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.None, null, null, 133) + { + AetheryteShortcut = EAetheryteLocation.Gridania, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num2++; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) { AethernetShortcut = new AethernetShortcut @@ -14367,7 +14519,7 @@ public static class AssemblyQuestLoader { Sequence = byte.MaxValue }; - num2 = 2; + num2 = 4; List list156 = new List(num2); CollectionsMarshal.SetCount(list156, num2); span3 = CollectionsMarshal.AsSpan(list156); @@ -14378,6 +14530,29 @@ public static class AssemblyQuestLoader Comment = "Pick up Class Quest" }; index2++; + span3[index2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 148) + { + Aetheryte = EAetheryteLocation.CentralShroudBentbranchMeadows, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.GridaniaConjurer, + To = EAetheryteLocation.GridaniaBlueBadgerGate + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.None, null, null, 133) + { + AetheryteShortcut = EAetheryteLocation.Gridania, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) { AethernetShortcut = new AethernetShortcut @@ -23635,7 +23810,21 @@ public static class AssemblyQuestLoader Span span3 = CollectionsMarshal.AsSpan(list3); int index2 = 0; ref QuestStep reference2 = ref span3[index2]; - QuestStep questStep = new QuestStep(EInteractionType.AcceptQuest, 1002277u, new Vector3(-97.550964f, 7.05f, 23.605652f), 131); + QuestStep obj2 = new QuestStep(EInteractionType.AcceptQuest, 1002277u, new Vector3(-97.550964f, 7.05f, 23.605652f), 131) + { + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.UldahAdventurers, + To = EAetheryteLocation.UldahGladiator + }, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; int num3 = 1; List list4 = new List(num3); CollectionsMarshal.SetCount(list4, num3); @@ -23646,13 +23835,13 @@ public static class AssemblyQuestLoader Type = EDialogChoiceType.YesNo, Prompt = new ExcelRef("TEXT_CLSGLA020_00253_Q1_000_1") }; - questStep.DialogueChoices = list4; - reference2 = questStep; + obj2.DialogueChoices = list4; + reference2 = obj2; obj.Steps = list3; reference = obj; num++; ref QuestSequence reference3 = ref span2[num]; - QuestSequence obj2 = new QuestSequence + QuestSequence obj3 = new QuestSequence { Sequence = 1 }; @@ -23662,7 +23851,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list5); num2 = 0; ref QuestStep reference4 = ref span3[num2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131); + QuestStep questStep = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131); index3 = 1; List list6 = new List(index3); CollectionsMarshal.SetCount(list6, index3); @@ -23673,23 +23862,23 @@ public static class AssemblyQuestLoader Type = EDialogChoiceType.YesNo, Prompt = new ExcelRef("TEXT_CLSGLA020_00253_Q2_000_1") }; - questStep2.DialogueChoices = list6; - reference4 = questStep2; - obj2.Steps = list5; - reference3 = obj2; + questStep.DialogueChoices = list6; + reference4 = questStep; + obj3.Steps = list5; + reference3 = obj3; num++; ref QuestSequence reference5 = ref span2[num]; - QuestSequence obj3 = new QuestSequence + QuestSequence obj4 = new QuestSequence { Sequence = 2 }; - num2 = 3; + num2 = 4; List list7 = new List(num2); CollectionsMarshal.SetCount(list7, num2); span3 = CollectionsMarshal.AsSpan(list7); index2 = 0; ref QuestStep reference6 = ref span3[index2]; - QuestStep obj4 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(45.13088f, 3.889354f, -166.51999f), 130) + QuestStep obj5 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(45.13088f, 3.889354f, -166.51999f), 130) { AethernetShortcut = new AethernetShortcut { @@ -23707,11 +23896,11 @@ public static class AssemblyQuestLoader span5[index3] = 141; skipStepConditions.InTerritory = list8; skipConditions.StepIf = skipStepConditions; - obj4.SkipConditions = skipConditions; - reference6 = obj4; + obj5.SkipConditions = skipConditions; + reference6 = obj5; index2++; ref QuestStep reference7 = ref span3[index2]; - QuestStep obj5 = new QuestStep(EInteractionType.Combat, null, new Vector3(-116.10664f, 10.801613f, 276.979f), 141) + QuestStep obj6 = new QuestStep(EInteractionType.Combat, null, new Vector3(-116.10664f, 10.801613f, 276.979f), 141) { EnemySpawnType = EEnemySpawnType.OverworldEnemies }; @@ -23721,7 +23910,7 @@ public static class AssemblyQuestLoader Span span6 = CollectionsMarshal.AsSpan(list9); num3 = 0; ref ComplexCombatData reference8 = ref span6[num3]; - ComplexCombatData obj6 = new ComplexCombatData + ComplexCombatData obj7 = new ComplexCombatData { DataId = 351u, MinimumKillCount = 3u @@ -23742,11 +23931,11 @@ public static class AssemblyQuestLoader span7[num5] = null; num5++; span7[num5] = null; - obj6.CompletionQuestVariablesFlags = list10; - reference8 = obj6; + obj7.CompletionQuestVariablesFlags = list10; + reference8 = obj7; num3++; ref ComplexCombatData reference9 = ref span6[num3]; - ComplexCombatData obj7 = new ComplexCombatData + ComplexCombatData obj8 = new ComplexCombatData { DataId = 141u, MinimumKillCount = 3u @@ -23767,9 +23956,9 @@ public static class AssemblyQuestLoader span7[num4] = null; num4++; span7[num4] = null; - obj7.CompletionQuestVariablesFlags = list11; - reference9 = obj7; - obj5.ComplexCombatData = list9; + obj8.CompletionQuestVariablesFlags = list11; + reference9 = obj8; + obj6.ComplexCombatData = list9; num3 = 6; List list12 = new List(num3); CollectionsMarshal.SetCount(list12, num3); @@ -23786,11 +23975,11 @@ public static class AssemblyQuestLoader span7[index3] = null; index3++; span7[index3] = null; - obj5.CompletionQuestVariablesFlags = list12; - reference7 = obj5; + obj6.CompletionQuestVariablesFlags = list12; + reference7 = obj6; index2++; ref QuestStep reference10 = ref span3[index2]; - QuestStep obj8 = new QuestStep(EInteractionType.Combat, null, new Vector3(39.635372f, 3.2401803f, 273.41232f), 141) + QuestStep obj9 = new QuestStep(EInteractionType.Combat, null, new Vector3(39.635372f, 3.2401803f, 273.41232f), 141) { EnemySpawnType = EEnemySpawnType.OverworldEnemies }; @@ -23800,7 +23989,7 @@ public static class AssemblyQuestLoader span6 = CollectionsMarshal.AsSpan(list13); num3 = 0; ref ComplexCombatData reference11 = ref span6[num3]; - ComplexCombatData obj9 = new ComplexCombatData + ComplexCombatData obj10 = new ComplexCombatData { DataId = 205u, MinimumKillCount = 3u @@ -23821,9 +24010,9 @@ public static class AssemblyQuestLoader span7[num5] = null; num5++; span7[num5] = null; - obj9.CompletionQuestVariablesFlags = list14; - reference11 = obj9; - obj8.ComplexCombatData = list13; + obj10.CompletionQuestVariablesFlags = list14; + reference11 = obj10; + obj9.ComplexCombatData = list13; num3 = 6; List list15 = new List(num3); CollectionsMarshal.SetCount(list15, num3); @@ -23840,36 +24029,36 @@ public static class AssemblyQuestLoader span7[index3] = null; index3++; span7[index3] = null; - obj8.CompletionQuestVariablesFlags = list15; - reference10 = obj8; - obj3.Steps = list7; - reference5 = obj3; - num++; - ref QuestSequence reference12 = ref span2[num]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - index2 = 2; - List list16 = new List(index2); - CollectionsMarshal.SetCount(list16, index2); - span3 = CollectionsMarshal.AsSpan(list16); - num2 = 0; - ref QuestStep reference13 = ref span3[num2]; - QuestStep questStep3 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-118.17538f, 18.35357f, 341.3039f), 141); + obj9.CompletionQuestVariablesFlags = list15; + reference10 = obj9; + index2++; + ref QuestStep reference12 = ref span3[index2]; + QuestStep questStep2 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-118.17538f, 18.35357f, 341.3039f), 141); SkipConditions skipConditions2 = new SkipConditions(); SkipStepConditions skipStepConditions2 = new SkipStepConditions(); index3 = 1; - List list17 = new List(index3); - CollectionsMarshal.SetCount(list17, index3); - span5 = CollectionsMarshal.AsSpan(list17); + List list16 = new List(index3); + CollectionsMarshal.SetCount(list16, index3); + span5 = CollectionsMarshal.AsSpan(list16); num3 = 0; span5[num3] = 141; - skipStepConditions2.NotInTerritory = list17; + skipStepConditions2.NotInTerritory = list16; skipConditions2.StepIf = skipStepConditions2; - questStep3.SkipConditions = skipConditions2; - reference13 = questStep3; - num2++; + questStep2.SkipConditions = skipConditions2; + reference12 = questStep2; + obj4.Steps = list7; + reference5 = obj4; + num++; + ref QuestSequence reference13 = ref span2[num]; + QuestSequence obj11 = new QuestSequence + { + Sequence = byte.MaxValue + }; + index2 = 1; + List list17 = new List(index2); + CollectionsMarshal.SetCount(list17, index2); + span3 = CollectionsMarshal.AsSpan(list17); + num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AethernetShortcut = new AethernetShortcut @@ -23879,8 +24068,8 @@ public static class AssemblyQuestLoader }, NextQuestId = new QuestId(256) }; - obj10.Steps = list16; - reference12 = obj10; + obj11.Steps = list17; + reference13 = obj11; questRoot.QuestSequence = list2; AddQuest(questId, questRoot); QuestId questId2 = new QuestId(256); @@ -23898,7 +24087,7 @@ public static class AssemblyQuestLoader span2 = CollectionsMarshal.AsSpan(list19); num = 0; ref QuestSequence reference14 = ref span2[num]; - QuestSequence obj11 = new QuestSequence + QuestSequence obj12 = new QuestSequence { Sequence = 0 }; @@ -23908,7 +24097,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list20); index2 = 0; ref QuestStep reference15 = ref span3[index2]; - QuestStep obj12 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) + QuestStep obj13 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -23918,7 +24107,7 @@ public static class AssemblyQuestLoader } }; SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj13 = new SkipAetheryteCondition + SkipAetheryteCondition obj14 = new SkipAetheryteCondition { InSameTerritory = true }; @@ -23928,15 +24117,15 @@ public static class AssemblyQuestLoader span5 = CollectionsMarshal.AsSpan(list21); index3 = 0; span5[index3] = 131; - obj13.InTerritory = list21; - skipConditions3.AetheryteShortcutIf = obj13; - obj12.SkipConditions = skipConditions3; - reference15 = obj12; - obj11.Steps = list20; - reference14 = obj11; + obj14.InTerritory = list21; + skipConditions3.AetheryteShortcutIf = obj14; + obj13.SkipConditions = skipConditions3; + reference15 = obj13; + obj12.Steps = list20; + reference14 = obj12; num++; ref QuestSequence reference16 = ref span2[num]; - QuestSequence obj14 = new QuestSequence + QuestSequence obj15 = new QuestSequence { Sequence = 1 }; @@ -23946,7 +24135,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list22); num2 = 0; ref QuestStep reference17 = ref span3[num2]; - QuestStep obj15 = new QuestStep(EInteractionType.Emote, 1003990u, new Vector3(77.25635f, 4.0999947f, -138.62823f), 130) + QuestStep obj16 = new QuestStep(EInteractionType.Emote, 1003990u, new Vector3(77.25635f, 4.0999947f, -138.62823f), 130) { AethernetShortcut = new AethernetShortcut { @@ -23971,11 +24160,11 @@ public static class AssemblyQuestLoader span7[num3] = null; num3++; span7[num3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj15.CompletionQuestVariablesFlags = list23; - reference17 = obj15; + obj16.CompletionQuestVariablesFlags = list23; + reference17 = obj16; num2++; ref QuestStep reference18 = ref span3[num2]; - QuestStep obj16 = new QuestStep(EInteractionType.Emote, 1003984u, new Vector3(45.029297f, 3.9999998f, -128.16058f), 130) + QuestStep obj17 = new QuestStep(EInteractionType.Emote, 1003984u, new Vector3(45.029297f, 3.9999998f, -128.16058f), 130) { Emote = EEmote.Me }; @@ -23995,11 +24184,11 @@ public static class AssemblyQuestLoader span7[index3] = null; index3++; span7[index3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj16.CompletionQuestVariablesFlags = list24; - reference18 = obj16; + obj17.CompletionQuestVariablesFlags = list24; + reference18 = obj17; num2++; ref QuestStep reference19 = ref span3[num2]; - QuestStep obj17 = new QuestStep(EInteractionType.Emote, 1003992u, new Vector3(12.191956f, 4.0999947f, -155.53528f), 130) + QuestStep obj18 = new QuestStep(EInteractionType.Emote, 1003992u, new Vector3(12.191956f, 4.0999947f, -155.53528f), 130) { Emote = EEmote.Me }; @@ -24019,11 +24208,11 @@ public static class AssemblyQuestLoader span7[num3] = null; num3++; span7[num3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj17.CompletionQuestVariablesFlags = list25; - reference19 = obj17; + obj18.CompletionQuestVariablesFlags = list25; + reference19 = obj18; num2++; ref QuestStep reference20 = ref span3[num2]; - QuestStep obj18 = new QuestStep(EInteractionType.Emote, 1003994u, new Vector3(15.976135f, 7.9999995f, -124.071106f), 130) + QuestStep obj19 = new QuestStep(EInteractionType.Emote, 1003994u, new Vector3(15.976135f, 7.9999995f, -124.071106f), 130) { Emote = EEmote.Me }; @@ -24043,13 +24232,13 @@ public static class AssemblyQuestLoader span7[index3] = null; index3++; span7[index3] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj18.CompletionQuestVariablesFlags = list26; - reference20 = obj18; - obj14.Steps = list22; - reference16 = obj14; + obj19.CompletionQuestVariablesFlags = list26; + reference20 = obj19; + obj15.Steps = list22; + reference16 = obj15; num++; ref QuestSequence reference21 = ref span2[num]; - QuestSequence obj19 = new QuestSequence + QuestSequence obj20 = new QuestSequence { Sequence = 2 }; @@ -24062,11 +24251,11 @@ public static class AssemblyQuestLoader { Emote = EEmote.Me }; - obj19.Steps = list27; - reference21 = obj19; + obj20.Steps = list27; + reference21 = obj20; num++; ref QuestSequence reference22 = ref span2[num]; - QuestSequence obj20 = new QuestSequence + QuestSequence obj21 = new QuestSequence { Sequence = 3 }; @@ -24076,11 +24265,11 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list28); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130); - obj20.Steps = list28; - reference22 = obj20; + obj21.Steps = list28; + reference22 = obj21; num++; ref QuestSequence reference23 = ref span2[num]; - QuestSequence obj21 = new QuestSequence + QuestSequence obj22 = new QuestSequence { Sequence = 4 }; @@ -24097,11 +24286,11 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahGladiator } }; - obj21.Steps = list29; - reference23 = obj21; + obj22.Steps = list29; + reference23 = obj22; num++; ref QuestSequence reference24 = ref span2[num]; - QuestSequence obj22 = new QuestSequence + QuestSequence obj23 = new QuestSequence { Sequence = 5 }; @@ -24115,11 +24304,11 @@ public static class AssemblyQuestLoader span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-183.00035f, 13.958975f, -13.998203f), 130); num2++; span3[num2] = new QuestStep(EInteractionType.Interact, 1003985u, new Vector3(201.52588f, 52.038116f, 149.40112f), 140); - obj22.Steps = list30; - reference24 = obj22; + obj23.Steps = list30; + reference24 = obj23; num++; ref QuestSequence reference25 = ref span2[num]; - QuestSequence obj23 = new QuestSequence + QuestSequence obj24 = new QuestSequence { Sequence = 6 }; @@ -24129,7 +24318,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list31); index2 = 0; ref QuestStep reference26 = ref span3[index2]; - QuestStep obj24 = new QuestStep(EInteractionType.Combat, 2001408u, new Vector3(154.37549f, 52.536743f, 200.91553f), 140) + QuestStep obj25 = new QuestStep(EInteractionType.Combat, 2001408u, new Vector3(154.37549f, 52.536743f, 200.91553f), 140) { EnemySpawnType = EEnemySpawnType.AfterInteraction }; @@ -24139,7 +24328,7 @@ public static class AssemblyQuestLoader Span span8 = CollectionsMarshal.AsSpan(list32); num3 = 0; span8[num3] = 1246u; - obj24.KillEnemyDataIds = list32; + obj25.KillEnemyDataIds = list32; num3 = 6; List list33 = new List(num3); CollectionsMarshal.SetCount(list33, num3); @@ -24156,11 +24345,11 @@ public static class AssemblyQuestLoader span7[index3] = null; index3++; span7[index3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj24.CompletionQuestVariablesFlags = list33; - reference26 = obj24; + obj25.CompletionQuestVariablesFlags = list33; + reference26 = obj25; index2++; ref QuestStep reference27 = ref span3[index2]; - QuestStep obj25 = new QuestStep(EInteractionType.Combat, 2001409u, new Vector3(141.83252f, 52.994507f, 221.54565f), 140) + QuestStep obj26 = new QuestStep(EInteractionType.Combat, 2001409u, new Vector3(141.83252f, 52.994507f, 221.54565f), 140) { EnemySpawnType = EEnemySpawnType.AfterInteraction }; @@ -24170,7 +24359,7 @@ public static class AssemblyQuestLoader span8 = CollectionsMarshal.AsSpan(list34); num3 = 0; span8[num3] = 1390u; - obj25.KillEnemyDataIds = list34; + obj26.KillEnemyDataIds = list34; num3 = 6; List list35 = new List(num3); CollectionsMarshal.SetCount(list35, num3); @@ -24187,13 +24376,13 @@ public static class AssemblyQuestLoader span7[index3] = null; index3++; span7[index3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj25.CompletionQuestVariablesFlags = list35; - reference27 = obj25; - obj23.Steps = list31; - reference25 = obj23; + obj26.CompletionQuestVariablesFlags = list35; + reference27 = obj26; + obj24.Steps = list31; + reference25 = obj24; num++; ref QuestSequence reference28 = ref span2[num]; - QuestSequence obj26 = new QuestSequence + QuestSequence obj27 = new QuestSequence { Sequence = 7 }; @@ -24203,11 +24392,11 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list36); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1003985u, new Vector3(201.52588f, 52.038116f, 149.40112f), 140); - obj26.Steps = list36; - reference28 = obj26; + obj27.Steps = list36; + reference28 = obj27; num++; ref QuestSequence reference29 = ref span2[num]; - QuestSequence obj27 = new QuestSequence + QuestSequence obj28 = new QuestSequence { Sequence = byte.MaxValue }; @@ -24221,8 +24410,8 @@ public static class AssemblyQuestLoader span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-117.06801f, 9.195247f, 9.181297f), 130); index2++; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131); - obj27.Steps = list37; - reference29 = obj27; + obj28.Steps = list37; + reference29 = obj28; questRoot2.QuestSequence = list19; AddQuest(questId2, questRoot2); QuestId questId3 = new QuestId(261); @@ -24240,7 +24429,7 @@ public static class AssemblyQuestLoader span2 = CollectionsMarshal.AsSpan(list39); num = 0; ref QuestSequence reference30 = ref span2[num]; - QuestSequence obj28 = new QuestSequence + QuestSequence obj29 = new QuestSequence { Sequence = 0 }; @@ -24250,7 +24439,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list40); num2 = 0; ref QuestStep reference31 = ref span3[num2]; - QuestStep obj29 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) + QuestStep obj30 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -24260,7 +24449,7 @@ public static class AssemblyQuestLoader } }; SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj30 = new SkipAetheryteCondition + SkipAetheryteCondition obj31 = new SkipAetheryteCondition { InSameTerritory = true }; @@ -24270,15 +24459,15 @@ public static class AssemblyQuestLoader span5 = CollectionsMarshal.AsSpan(list41); num3 = 0; span5[num3] = 131; - obj30.InTerritory = list41; - skipConditions4.AetheryteShortcutIf = obj30; - obj29.SkipConditions = skipConditions4; - reference31 = obj29; - obj28.Steps = list40; - reference30 = obj28; + obj31.InTerritory = list41; + skipConditions4.AetheryteShortcutIf = obj31; + obj30.SkipConditions = skipConditions4; + reference31 = obj30; + obj29.Steps = list40; + reference30 = obj29; num++; ref QuestSequence reference32 = ref span2[num]; - QuestSequence obj31 = new QuestSequence + QuestSequence obj32 = new QuestSequence { Sequence = 1 }; @@ -24288,7 +24477,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list42); index2 = 0; ref QuestStep reference33 = ref span3[index2]; - QuestStep obj32 = new QuestStep(EInteractionType.Combat, 1002296u, new Vector3(-139.42175f, 4.019726f, 205.0354f), 141) + QuestStep obj33 = new QuestStep(EInteractionType.Combat, 1002296u, new Vector3(-139.42175f, 4.019726f, 205.0354f), 141) { AethernetShortcut = new AethernetShortcut { @@ -24303,13 +24492,13 @@ public static class AssemblyQuestLoader span8 = CollectionsMarshal.AsSpan(list43); index3 = 0; span8[index3] = 1245u; - obj32.KillEnemyDataIds = list43; - reference33 = obj32; - obj31.Steps = list42; - reference32 = obj31; + obj33.KillEnemyDataIds = list43; + reference33 = obj33; + obj32.Steps = list42; + reference32 = obj32; num++; ref QuestSequence reference34 = ref span2[num]; - QuestSequence obj33 = new QuestSequence + QuestSequence obj34 = new QuestSequence { Sequence = 2 }; @@ -24319,11 +24508,11 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list44); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1002296u, new Vector3(-139.42175f, 4.019726f, 205.0354f), 141); - obj33.Steps = list44; - reference34 = obj33; + obj34.Steps = list44; + reference34 = obj34; num++; ref QuestSequence reference35 = ref span2[num]; - QuestSequence obj34 = new QuestSequence + QuestSequence obj35 = new QuestSequence { Sequence = 3 }; @@ -24333,7 +24522,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list45); index2 = 0; ref QuestStep reference36 = ref span3[index2]; - QuestStep obj35 = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) + QuestStep obj36 = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -24343,7 +24532,7 @@ public static class AssemblyQuestLoader } }; SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj36 = new SkipAetheryteCondition + SkipAetheryteCondition obj37 = new SkipAetheryteCondition { InSameTerritory = true }; @@ -24353,15 +24542,15 @@ public static class AssemblyQuestLoader span5 = CollectionsMarshal.AsSpan(list46); num3 = 0; span5[num3] = 131; - obj36.InTerritory = list46; - skipConditions5.AetheryteShortcutIf = obj36; - obj35.SkipConditions = skipConditions5; - reference36 = obj35; - obj34.Steps = list45; - reference35 = obj34; + obj37.InTerritory = list46; + skipConditions5.AetheryteShortcutIf = obj37; + obj36.SkipConditions = skipConditions5; + reference36 = obj36; + obj35.Steps = list45; + reference35 = obj35; num++; ref QuestSequence reference37 = ref span2[num]; - QuestSequence obj37 = new QuestSequence + QuestSequence obj38 = new QuestSequence { Sequence = 4 }; @@ -24378,11 +24567,11 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahGateOfNald } }; - obj37.Steps = list47; - reference37 = obj37; + obj38.Steps = list47; + reference37 = obj38; num++; ref QuestSequence reference38 = ref span2[num]; - QuestSequence obj38 = new QuestSequence + QuestSequence obj39 = new QuestSequence { Sequence = 5 }; @@ -24395,11 +24584,11 @@ public static class AssemblyQuestLoader { StopDistance = 5f }; - obj38.Steps = list48; - reference38 = obj38; + obj39.Steps = list48; + reference38 = obj39; num++; ref QuestSequence reference39 = ref span2[num]; - QuestSequence obj39 = new QuestSequence + QuestSequence obj40 = new QuestSequence { Sequence = byte.MaxValue }; @@ -24409,7 +24598,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list49); num2 = 0; ref QuestStep reference40 = ref span3[num2]; - QuestStep obj40 = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) + QuestStep obj41 = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -24429,11 +24618,11 @@ public static class AssemblyQuestLoader Prompt = new ExcelRef("TEXT_CLSGLA100_00261_Q1_000_160"), Answer = new ExcelRef("TEXT_CLSGLA100_00261_A1_000_161") }; - obj40.DialogueChoices = list50; - obj40.NextQuestId = new QuestId(262); - reference40 = obj40; - obj39.Steps = list49; - reference39 = obj39; + obj41.DialogueChoices = list50; + obj41.NextQuestId = new QuestId(262); + reference40 = obj41; + obj40.Steps = list49; + reference39 = obj40; questRoot3.QuestSequence = list39; AddQuest(questId3, questRoot3); QuestId questId4 = new QuestId(262); @@ -24451,7 +24640,7 @@ public static class AssemblyQuestLoader span2 = CollectionsMarshal.AsSpan(list52); num = 0; ref QuestSequence reference41 = ref span2[num]; - QuestSequence obj41 = new QuestSequence + QuestSequence obj42 = new QuestSequence { Sequence = 0 }; @@ -24461,7 +24650,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list53); index2 = 0; ref QuestStep reference42 = ref span3[index2]; - QuestStep obj42 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) + QuestStep obj43 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -24471,7 +24660,7 @@ public static class AssemblyQuestLoader } }; SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj43 = new SkipAetheryteCondition + SkipAetheryteCondition obj44 = new SkipAetheryteCondition { InSameTerritory = true }; @@ -24481,15 +24670,15 @@ public static class AssemblyQuestLoader span5 = CollectionsMarshal.AsSpan(list54); num3 = 0; span5[num3] = 131; - obj43.InTerritory = list54; - skipConditions6.AetheryteShortcutIf = obj43; - obj42.SkipConditions = skipConditions6; - reference42 = obj42; - obj41.Steps = list53; - reference41 = obj41; + obj44.InTerritory = list54; + skipConditions6.AetheryteShortcutIf = obj44; + obj43.SkipConditions = skipConditions6; + reference42 = obj43; + obj42.Steps = list53; + reference41 = obj42; num++; ref QuestSequence reference43 = ref span2[num]; - QuestSequence obj44 = new QuestSequence + QuestSequence obj45 = new QuestSequence { Sequence = 1 }; @@ -24499,7 +24688,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list55); num2 = 0; ref QuestStep reference44 = ref span3[num2]; - QuestStep obj45 = new QuestStep(EInteractionType.Combat, 1004224u, new Vector3(-220.93542f, -38.407475f, 63.91992f), 145) + QuestStep obj46 = new QuestStep(EInteractionType.Combat, 1004224u, new Vector3(-220.93542f, -38.407475f, 63.91992f), 145) { AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, EnemySpawnType = EEnemySpawnType.AfterInteraction @@ -24510,13 +24699,13 @@ public static class AssemblyQuestLoader span8 = CollectionsMarshal.AsSpan(list56); index3 = 0; span8[index3] = 1244u; - obj45.KillEnemyDataIds = list56; - reference44 = obj45; - obj44.Steps = list55; - reference43 = obj44; + obj46.KillEnemyDataIds = list56; + reference44 = obj46; + obj45.Steps = list55; + reference43 = obj45; num++; ref QuestSequence reference45 = ref span2[num]; - QuestSequence obj46 = new QuestSequence + QuestSequence obj47 = new QuestSequence { Sequence = 2 }; @@ -24526,11 +24715,11 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list57); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1004224u, new Vector3(-220.93542f, -38.407475f, 63.91992f), 145); - obj46.Steps = list57; - reference45 = obj46; + obj47.Steps = list57; + reference45 = obj47; num++; ref QuestSequence reference46 = ref span2[num]; - QuestSequence obj47 = new QuestSequence + QuestSequence obj48 = new QuestSequence { Sequence = 3 }; @@ -24540,7 +24729,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list58); num2 = 0; ref QuestStep reference47 = ref span3[num2]; - QuestStep obj48 = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) + QuestStep obj49 = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -24550,7 +24739,7 @@ public static class AssemblyQuestLoader } }; SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj49 = new SkipAetheryteCondition + SkipAetheryteCondition obj50 = new SkipAetheryteCondition { InSameTerritory = true }; @@ -24560,15 +24749,15 @@ public static class AssemblyQuestLoader span5 = CollectionsMarshal.AsSpan(list59); num3 = 0; span5[num3] = 131; - obj49.InTerritory = list59; - skipConditions7.AetheryteShortcutIf = obj49; - obj48.SkipConditions = skipConditions7; - reference47 = obj48; - obj47.Steps = list58; - reference46 = obj47; + obj50.InTerritory = list59; + skipConditions7.AetheryteShortcutIf = obj50; + obj49.SkipConditions = skipConditions7; + reference47 = obj49; + obj48.Steps = list58; + reference46 = obj48; num++; ref QuestSequence reference48 = ref span2[num]; - QuestSequence obj50 = new QuestSequence + QuestSequence obj51 = new QuestSequence { Sequence = 4 }; @@ -24585,11 +24774,11 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahAdventurers } }; - obj50.Steps = list60; - reference48 = obj50; + obj51.Steps = list60; + reference48 = obj51; num++; ref QuestSequence reference49 = ref span2[num]; - QuestSequence obj51 = new QuestSequence + QuestSequence obj52 = new QuestSequence { Sequence = byte.MaxValue }; @@ -24607,8 +24796,8 @@ public static class AssemblyQuestLoader }, NextQuestId = new QuestId(263) }; - obj51.Steps = list61; - reference49 = obj51; + obj52.Steps = list61; + reference49 = obj52; questRoot4.QuestSequence = list52; AddQuest(questId4, questRoot4); QuestId questId5 = new QuestId(263); @@ -24626,7 +24815,7 @@ public static class AssemblyQuestLoader span2 = CollectionsMarshal.AsSpan(list63); num = 0; ref QuestSequence reference50 = ref span2[num]; - QuestSequence obj52 = new QuestSequence + QuestSequence obj53 = new QuestSequence { Sequence = 0 }; @@ -24636,7 +24825,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list64); index2 = 0; ref QuestStep reference51 = ref span3[index2]; - QuestStep obj53 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) + QuestStep obj54 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -24646,7 +24835,7 @@ public static class AssemblyQuestLoader } }; SkipConditions skipConditions8 = new SkipConditions(); - SkipAetheryteCondition obj54 = new SkipAetheryteCondition + SkipAetheryteCondition obj55 = new SkipAetheryteCondition { InSameTerritory = true }; @@ -24656,15 +24845,15 @@ public static class AssemblyQuestLoader span5 = CollectionsMarshal.AsSpan(list65); index3 = 0; span5[index3] = 131; - obj54.InTerritory = list65; - skipConditions8.AetheryteShortcutIf = obj54; - obj53.SkipConditions = skipConditions8; - reference51 = obj53; - obj52.Steps = list64; - reference50 = obj52; + obj55.InTerritory = list65; + skipConditions8.AetheryteShortcutIf = obj55; + obj54.SkipConditions = skipConditions8; + reference51 = obj54; + obj53.Steps = list64; + reference50 = obj53; num++; ref QuestSequence reference52 = ref span2[num]; - QuestSequence obj55 = new QuestSequence + QuestSequence obj56 = new QuestSequence { Sequence = 1 }; @@ -24677,11 +24866,11 @@ public static class AssemblyQuestLoader { AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation }; - obj55.Steps = list66; - reference52 = obj55; + obj56.Steps = list66; + reference52 = obj56; num++; ref QuestSequence reference53 = ref span2[num]; - QuestSequence obj56 = new QuestSequence + QuestSequence obj57 = new QuestSequence { Sequence = 2 }; @@ -24691,7 +24880,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list67); index2 = 0; ref QuestStep reference54 = ref span3[index2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1001462u, new Vector3(-93.33948f, -11.367981f, -41.397766f), 141); + QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1001462u, new Vector3(-93.33948f, -11.367981f, -41.397766f), 141); index3 = 6; List list68 = new List(index3); CollectionsMarshal.SetCount(list68, index3); @@ -24708,11 +24897,11 @@ public static class AssemblyQuestLoader span7[num3] = null; num3++; span7[num3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list68; - reference54 = questStep4; + questStep3.CompletionQuestVariablesFlags = list68; + reference54 = questStep3; index2++; ref QuestStep reference55 = ref span3[index2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1001438u, new Vector3(-30.838562f, -1.0332576f, -145.67792f), 141); + QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1001438u, new Vector3(-30.838562f, -1.0332576f, -145.67792f), 141); num3 = 6; List list69 = new List(num3); CollectionsMarshal.SetCount(list69, num3); @@ -24729,11 +24918,11 @@ public static class AssemblyQuestLoader span7[index3] = null; index3++; span7[index3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list69; - reference55 = questStep5; + questStep4.CompletionQuestVariablesFlags = list69; + reference55 = questStep4; index2++; ref QuestStep reference56 = ref span3[index2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2001434u, new Vector3(-115.77026f, 0.015197754f, -149.24854f), 141); + QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2001434u, new Vector3(-115.77026f, 0.015197754f, -149.24854f), 141); index3 = 6; List list70 = new List(index3); CollectionsMarshal.SetCount(list70, index3); @@ -24750,13 +24939,13 @@ public static class AssemblyQuestLoader span7[num3] = null; num3++; span7[num3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list70; - reference56 = questStep6; - obj56.Steps = list67; - reference53 = obj56; + questStep5.CompletionQuestVariablesFlags = list70; + reference56 = questStep5; + obj57.Steps = list67; + reference53 = obj57; num++; ref QuestSequence reference57 = ref span2[num]; - QuestSequence obj57 = new QuestSequence + QuestSequence obj58 = new QuestSequence { Sequence = 3 }; @@ -24766,11 +24955,11 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list71); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1004140u, new Vector3(-72.34308f, -12.372956f, -69.13867f), 141); - obj57.Steps = list71; - reference57 = obj57; + obj58.Steps = list71; + reference57 = obj58; num++; ref QuestSequence reference58 = ref span2[num]; - QuestSequence obj58 = new QuestSequence + QuestSequence obj59 = new QuestSequence { Sequence = 4 }; @@ -24783,11 +24972,11 @@ public static class AssemblyQuestLoader { AetheryteShortcut = EAetheryteLocation.Uldah }; - obj58.Steps = list72; - reference58 = obj58; + obj59.Steps = list72; + reference58 = obj59; num++; ref QuestSequence reference59 = ref span2[num]; - QuestSequence obj59 = new QuestSequence + QuestSequence obj60 = new QuestSequence { Sequence = 5 }; @@ -24797,7 +24986,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list73); num2 = 0; ref QuestStep reference60 = ref span3[num2]; - QuestStep obj60 = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) + QuestStep obj61 = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AethernetShortcut = new AethernetShortcut { @@ -24816,13 +25005,13 @@ public static class AssemblyQuestLoader Prompt = new ExcelRef("TEXT_CLSGLA200_00263_Q1_000_124"), Answer = new ExcelRef("TEXT_CLSGLA200_00263_A1_000_125") }; - obj60.DialogueChoices = list74; - reference60 = obj60; - obj59.Steps = list73; - reference59 = obj59; + obj61.DialogueChoices = list74; + reference60 = obj61; + obj60.Steps = list73; + reference59 = obj60; num++; ref QuestSequence reference61 = ref span2[num]; - QuestSequence obj61 = new QuestSequence + QuestSequence obj62 = new QuestSequence { Sequence = 6 }; @@ -24840,11 +25029,11 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahGateOfTheSultana } }; - obj61.Steps = list75; - reference61 = obj61; + obj62.Steps = list75; + reference61 = obj62; num++; ref QuestSequence reference62 = ref span2[num]; - QuestSequence obj62 = new QuestSequence + QuestSequence obj63 = new QuestSequence { Sequence = byte.MaxValue }; @@ -24863,8 +25052,8 @@ public static class AssemblyQuestLoader }, NextQuestId = new QuestId(264) }; - obj62.Steps = list76; - reference62 = obj62; + obj63.Steps = list76; + reference62 = obj63; questRoot5.QuestSequence = list63; AddQuest(questId5, questRoot5); QuestId questId6 = new QuestId(264); @@ -24882,7 +25071,7 @@ public static class AssemblyQuestLoader span2 = CollectionsMarshal.AsSpan(list78); num = 0; ref QuestSequence reference63 = ref span2[num]; - QuestSequence obj63 = new QuestSequence + QuestSequence obj64 = new QuestSequence { Sequence = 0 }; @@ -24892,7 +25081,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list79); index2 = 0; ref QuestStep reference64 = ref span3[index2]; - QuestStep obj64 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) + QuestStep obj65 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -24902,7 +25091,7 @@ public static class AssemblyQuestLoader } }; SkipConditions skipConditions9 = new SkipConditions(); - SkipAetheryteCondition obj65 = new SkipAetheryteCondition + SkipAetheryteCondition obj66 = new SkipAetheryteCondition { InSameTerritory = true }; @@ -24912,15 +25101,15 @@ public static class AssemblyQuestLoader span5 = CollectionsMarshal.AsSpan(list80); num3 = 0; span5[num3] = 131; - obj65.InTerritory = list80; - skipConditions9.AetheryteShortcutIf = obj65; - obj64.SkipConditions = skipConditions9; - reference64 = obj64; - obj63.Steps = list79; - reference63 = obj63; + obj66.InTerritory = list80; + skipConditions9.AetheryteShortcutIf = obj66; + obj65.SkipConditions = skipConditions9; + reference64 = obj65; + obj64.Steps = list79; + reference63 = obj64; num++; ref QuestSequence reference65 = ref span2[num]; - QuestSequence obj66 = new QuestSequence + QuestSequence obj67 = new QuestSequence { Sequence = 1 }; @@ -24930,7 +25119,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list81); num2 = 0; ref QuestStep reference66 = ref span3[num2]; - QuestStep obj67 = new QuestStep(EInteractionType.Combat, 1004225u, new Vector3(62.974f, 54.60642f, 284.90112f), 140) + QuestStep obj68 = new QuestStep(EInteractionType.Combat, 1004225u, new Vector3(62.974f, 54.60642f, 284.90112f), 140) { Fly = true, AethernetShortcut = new AethernetShortcut @@ -24946,13 +25135,13 @@ public static class AssemblyQuestLoader span8 = CollectionsMarshal.AsSpan(list82); index3 = 0; span8[index3] = 1243u; - obj67.KillEnemyDataIds = list82; - reference66 = obj67; - obj66.Steps = list81; - reference65 = obj66; + obj68.KillEnemyDataIds = list82; + reference66 = obj68; + obj67.Steps = list81; + reference65 = obj67; num++; ref QuestSequence reference67 = ref span2[num]; - QuestSequence obj68 = new QuestSequence + QuestSequence obj69 = new QuestSequence { Sequence = 2 }; @@ -24962,11 +25151,11 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list83); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1004225u, new Vector3(62.974f, 54.60642f, 284.90112f), 140); - obj68.Steps = list83; - reference67 = obj68; + obj69.Steps = list83; + reference67 = obj69; num++; ref QuestSequence reference68 = ref span2[num]; - QuestSequence obj69 = new QuestSequence + QuestSequence obj70 = new QuestSequence { Sequence = 3 }; @@ -24984,11 +25173,11 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahGladiator } }; - obj69.Steps = list84; - reference68 = obj69; + obj70.Steps = list84; + reference68 = obj70; num++; ref QuestSequence reference69 = ref span2[num]; - QuestSequence obj70 = new QuestSequence + QuestSequence obj71 = new QuestSequence { Sequence = 4 }; @@ -24998,11 +25187,11 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list85); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1002277u, new Vector3(-97.550964f, 7.05f, 23.605652f), 131); - obj70.Steps = list85; - reference69 = obj70; + obj71.Steps = list85; + reference69 = obj71; num++; ref QuestSequence reference70 = ref span2[num]; - QuestSequence obj71 = new QuestSequence + QuestSequence obj72 = new QuestSequence { Sequence = 5 }; @@ -25012,7 +25201,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list86); num2 = 0; ref QuestStep reference71 = ref span3[num2]; - QuestStep obj72 = new QuestStep(EInteractionType.SinglePlayerDuty, 1004141u, new Vector3(-520.5005f, -21.460285f, 123.46069f), 145) + QuestStep obj73 = new QuestStep(EInteractionType.SinglePlayerDuty, 1004141u, new Vector3(-520.5005f, -21.460285f, 123.46069f), 145) { AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone }; @@ -25027,13 +25216,13 @@ public static class AssemblyQuestLoader Prompt = new ExcelRef("TEXT_CLSGLA250_00264_Q1_000_170"), Answer = new ExcelRef("TEXT_CLSGLA250_00264_A1_000_180") }; - obj72.DialogueChoices = list87; - reference71 = obj72; - obj71.Steps = list86; - reference70 = obj71; + obj73.DialogueChoices = list87; + reference71 = obj73; + obj72.Steps = list86; + reference70 = obj72; num++; ref QuestSequence reference72 = ref span2[num]; - QuestSequence obj73 = new QuestSequence + QuestSequence obj74 = new QuestSequence { Sequence = byte.MaxValue }; @@ -25052,8 +25241,8 @@ public static class AssemblyQuestLoader }, NextQuestId = new QuestId(265) }; - obj73.Steps = list88; - reference72 = obj73; + obj74.Steps = list88; + reference72 = obj74; questRoot6.QuestSequence = list78; AddQuest(questId6, questRoot6); QuestId questId7 = new QuestId(265); @@ -25071,7 +25260,7 @@ public static class AssemblyQuestLoader span2 = CollectionsMarshal.AsSpan(list90); num = 0; ref QuestSequence reference73 = ref span2[num]; - QuestSequence obj74 = new QuestSequence + QuestSequence obj75 = new QuestSequence { Sequence = 0 }; @@ -25081,7 +25270,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list91); num2 = 0; ref QuestStep reference74 = ref span3[num2]; - QuestStep obj75 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) + QuestStep obj76 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -25091,7 +25280,7 @@ public static class AssemblyQuestLoader } }; SkipConditions skipConditions10 = new SkipConditions(); - SkipAetheryteCondition obj76 = new SkipAetheryteCondition + SkipAetheryteCondition obj77 = new SkipAetheryteCondition { InSameTerritory = true }; @@ -25101,15 +25290,15 @@ public static class AssemblyQuestLoader span5 = CollectionsMarshal.AsSpan(list92); index3 = 0; span5[index3] = 131; - obj76.InTerritory = list92; - skipConditions10.AetheryteShortcutIf = obj76; - obj75.SkipConditions = skipConditions10; - reference74 = obj75; - obj74.Steps = list91; - reference73 = obj74; + obj77.InTerritory = list92; + skipConditions10.AetheryteShortcutIf = obj77; + obj76.SkipConditions = skipConditions10; + reference74 = obj76; + obj75.Steps = list91; + reference73 = obj75; num++; ref QuestSequence reference75 = ref span2[num]; - QuestSequence obj77 = new QuestSequence + QuestSequence obj78 = new QuestSequence { Sequence = 1 }; @@ -25119,7 +25308,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list93); index2 = 0; ref QuestStep reference76 = ref span3[index2]; - QuestStep obj78 = new QuestStep(EInteractionType.Interact, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) + QuestStep obj79 = new QuestStep(EInteractionType.Interact, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) { AethernetShortcut = new AethernetShortcut { @@ -25138,13 +25327,13 @@ public static class AssemblyQuestLoader Prompt = new ExcelRef("TEXT_CLSGLA300_00265_Q1_000_40"), Answer = new ExcelRef("TEXT_CLSGLA300_00265_A1_000_50") }; - obj78.DialogueChoices = list94; - reference76 = obj78; - obj77.Steps = list93; - reference75 = obj77; + obj79.DialogueChoices = list94; + reference76 = obj79; + obj78.Steps = list93; + reference75 = obj78; num++; ref QuestSequence reference77 = ref span2[num]; - QuestSequence obj79 = new QuestSequence + QuestSequence obj80 = new QuestSequence { Sequence = 2 }; @@ -25194,7 +25383,7 @@ public static class AssemblyQuestLoader }; num2++; ref QuestStep reference78 = ref span3[num2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2001455u, new Vector3(28.091797f, 6.9733276f, -611.2917f), 146); + QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2001455u, new Vector3(28.091797f, 6.9733276f, -611.2917f), 146); num3 = 6; List list96 = new List(num3); CollectionsMarshal.SetCount(list96, num3); @@ -25211,11 +25400,11 @@ public static class AssemblyQuestLoader span7[index3] = null; index3++; span7[index3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list96; - reference78 = questStep7; + questStep6.CompletionQuestVariablesFlags = list96; + reference78 = questStep6; num2++; ref QuestStep reference79 = ref span3[num2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2001435u, new Vector3(101.823364f, 7.248047f, -534.56934f), 146); + QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2001435u, new Vector3(101.823364f, 7.248047f, -534.56934f), 146); index3 = 6; List list97 = new List(index3); CollectionsMarshal.SetCount(list97, index3); @@ -25232,13 +25421,13 @@ public static class AssemblyQuestLoader span7[num3] = null; num3++; span7[num3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list97; - reference79 = questStep8; - obj79.Steps = list95; - reference77 = obj79; + questStep7.CompletionQuestVariablesFlags = list97; + reference79 = questStep7; + obj80.Steps = list95; + reference77 = obj80; num++; ref QuestSequence reference80 = ref span2[num]; - QuestSequence obj80 = new QuestSequence + QuestSequence obj81 = new QuestSequence { Sequence = 3 }; @@ -25258,11 +25447,11 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahGladiator } }; - obj80.Steps = list98; - reference80 = obj80; + obj81.Steps = list98; + reference80 = obj81; num++; ref QuestSequence reference81 = ref span2[num]; - QuestSequence obj81 = new QuestSequence + QuestSequence obj82 = new QuestSequence { Sequence = 4 }; @@ -25275,11 +25464,11 @@ public static class AssemblyQuestLoader { AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone }; - obj81.Steps = list99; - reference81 = obj81; + obj82.Steps = list99; + reference81 = obj82; num++; ref QuestSequence reference82 = ref span2[num]; - QuestSequence obj82 = new QuestSequence + QuestSequence obj83 = new QuestSequence { Sequence = byte.MaxValue }; @@ -25298,8 +25487,8 @@ public static class AssemblyQuestLoader }, NextQuestId = new QuestId(1055) }; - obj82.Steps = list100; - reference82 = obj82; + obj83.Steps = list100; + reference82 = obj83; questRoot7.QuestSequence = list90; AddQuest(questId7, questRoot7); QuestId questId8 = new QuestId(271); @@ -25317,7 +25506,7 @@ public static class AssemblyQuestLoader span2 = CollectionsMarshal.AsSpan(list102); num = 0; ref QuestSequence reference83 = ref span2[num]; - QuestSequence obj83 = new QuestSequence + QuestSequence obj84 = new QuestSequence { Sequence = 0 }; @@ -25327,11 +25516,11 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list103); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1000946u, new Vector3(-61.142883f, 42.299698f, -164.0498f), 128); - obj83.Steps = list103; - reference83 = obj83; + obj84.Steps = list103; + reference83 = obj84; num++; ref QuestSequence reference84 = ref span2[num]; - QuestSequence obj84 = new QuestSequence + QuestSequence obj85 = new QuestSequence { Sequence = byte.MaxValue }; @@ -25341,7 +25530,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list104); index2 = 0; ref QuestStep reference85 = ref span3[index2]; - QuestStep questStep9 = new QuestStep(EInteractionType.CompleteQuest, 1000947u, new Vector3(-54.64258f, 44f, -151.23218f), 128); + QuestStep questStep8 = new QuestStep(EInteractionType.CompleteQuest, 1000947u, new Vector3(-54.64258f, 44f, -151.23218f), 128); num3 = 1; List list105 = new List(num3); CollectionsMarshal.SetCount(list105, num3); @@ -25352,10 +25541,10 @@ public static class AssemblyQuestLoader Type = EDialogChoiceType.YesNo, Prompt = new ExcelRef("TEXT_CLSCUL011_00271_Q1_000_1") }; - questStep9.DialogueChoices = list105; - reference85 = questStep9; - obj84.Steps = list104; - reference84 = obj84; + questStep8.DialogueChoices = list105; + reference85 = questStep8; + obj85.Steps = list104; + reference84 = obj85; questRoot8.QuestSequence = list102; AddQuest(questId8, questRoot8); QuestId questId9 = new QuestId(272); @@ -25373,7 +25562,7 @@ public static class AssemblyQuestLoader span2 = CollectionsMarshal.AsSpan(list107); num = 0; ref QuestSequence reference86 = ref span2[num]; - QuestSequence obj85 = new QuestSequence + QuestSequence obj86 = new QuestSequence { Sequence = 0 }; @@ -25383,11 +25572,11 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list108); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1005116u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj85.Steps = list108; - reference86 = obj85; + obj86.Steps = list108; + reference86 = obj86; num++; ref QuestSequence reference87 = ref span2[num]; - QuestSequence obj86 = new QuestSequence + QuestSequence obj87 = new QuestSequence { Sequence = 1 }; @@ -25423,11 +25612,11 @@ public static class AssemblyQuestLoader }; index2++; span3[index2] = new QuestStep(EInteractionType.Interact, 1001425u, new Vector3(115.12927f, 31.876099f, -392.2027f), 141); - obj86.Steps = list109; - reference87 = obj86; + obj87.Steps = list109; + reference87 = obj87; num++; ref QuestSequence reference88 = ref span2[num]; - QuestSequence obj87 = new QuestSequence + QuestSequence obj88 = new QuestSequence { Sequence = byte.MaxValue }; @@ -25455,8 +25644,8 @@ public static class AssemblyQuestLoader }; num2++; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1005116u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj87.Steps = list110; - reference88 = obj87; + obj88.Steps = list110; + reference88 = obj88; questRoot9.QuestSequence = list107; AddQuest(questId9, questRoot9); QuestId questId10 = new QuestId(273); @@ -25474,7 +25663,7 @@ public static class AssemblyQuestLoader span2 = CollectionsMarshal.AsSpan(list112); num = 0; ref QuestSequence reference89 = ref span2[num]; - QuestSequence obj88 = new QuestSequence + QuestSequence obj89 = new QuestSequence { Sequence = 0 }; @@ -25484,11 +25673,11 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list113); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1000998u, new Vector3(-51.651794f, 42.79979f, 190.41736f), 128); - obj88.Steps = list113; - reference89 = obj88; + obj89.Steps = list113; + reference89 = obj89; num++; ref QuestSequence reference90 = ref span2[num]; - QuestSequence obj89 = new QuestSequence + QuestSequence obj90 = new QuestSequence { Sequence = byte.MaxValue }; @@ -25498,7 +25687,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list114); num2 = 0; ref QuestStep reference91 = ref span3[num2]; - QuestStep questStep10 = new QuestStep(EInteractionType.CompleteQuest, 1001000u, new Vector3(-32.028687f, 41.499985f, 208.39233f), 128); + QuestStep questStep9 = new QuestStep(EInteractionType.CompleteQuest, 1001000u, new Vector3(-32.028687f, 41.499985f, 208.39233f), 128); index3 = 1; List list115 = new List(index3); CollectionsMarshal.SetCount(list115, index3); @@ -25509,10 +25698,10 @@ public static class AssemblyQuestLoader Type = EDialogChoiceType.YesNo, Prompt = new ExcelRef("TEXT_CLSARM011_00273_Q1_000_1") }; - questStep10.DialogueChoices = list115; - reference91 = questStep10; - obj89.Steps = list114; - reference90 = obj89; + questStep9.DialogueChoices = list115; + reference91 = questStep9; + obj90.Steps = list114; + reference90 = obj90; questRoot10.QuestSequence = list112; AddQuest(questId10, questRoot10); QuestId questId11 = new QuestId(285); @@ -25530,7 +25719,7 @@ public static class AssemblyQuestLoader span2 = CollectionsMarshal.AsSpan(list117); num = 0; ref QuestSequence reference92 = ref span2[num]; - QuestSequence obj90 = new QuestSequence + QuestSequence obj91 = new QuestSequence { Sequence = 0 }; @@ -25540,11 +25729,11 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list118); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1002277u, new Vector3(-97.550964f, 7.05f, 23.605652f), 131); - obj90.Steps = list118; - reference92 = obj90; + obj91.Steps = list118; + reference92 = obj91; num++; ref QuestSequence reference93 = ref span2[num]; - QuestSequence obj91 = new QuestSequence + QuestSequence obj92 = new QuestSequence { Sequence = byte.MaxValue }; @@ -25554,7 +25743,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list119); num2 = 0; ref QuestStep reference94 = ref span3[num2]; - QuestStep questStep11 = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131); + QuestStep questStep10 = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131); num3 = 1; List list120 = new List(num3); CollectionsMarshal.SetCount(list120, num3); @@ -25565,11 +25754,11 @@ public static class AssemblyQuestLoader Type = EDialogChoiceType.YesNo, Prompt = new ExcelRef("TEXT_CLSGLA011_00285_Q2_000_1") }; - questStep11.DialogueChoices = list120; - questStep11.NextQuestId = new QuestId(286); - reference94 = questStep11; - obj91.Steps = list119; - reference93 = obj91; + questStep10.DialogueChoices = list120; + questStep10.NextQuestId = new QuestId(286); + reference94 = questStep10; + obj92.Steps = list119; + reference93 = obj92; questRoot11.QuestSequence = list117; AddQuest(questId11, questRoot11); QuestId questId12 = new QuestId(286); @@ -25587,7 +25776,7 @@ public static class AssemblyQuestLoader span2 = CollectionsMarshal.AsSpan(list122); num = 0; ref QuestSequence reference95 = ref span2[num]; - QuestSequence obj92 = new QuestSequence + QuestSequence obj93 = new QuestSequence { Sequence = 0 }; @@ -25597,11 +25786,11 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list123); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131); - obj92.Steps = list123; - reference95 = obj92; + obj93.Steps = list123; + reference95 = obj93; num++; ref QuestSequence reference96 = ref span2[num]; - QuestSequence obj93 = new QuestSequence + QuestSequence obj94 = new QuestSequence { Sequence = 1 }; @@ -25611,7 +25800,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list124); num2 = 0; ref QuestStep reference97 = ref span3[num2]; - QuestStep obj94 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(45.13088f, 3.889354f, -166.51999f), 130) + QuestStep obj95 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(45.13088f, 3.889354f, -166.51999f), 130) { AethernetShortcut = new AethernetShortcut { @@ -25629,11 +25818,11 @@ public static class AssemblyQuestLoader span5[num3] = 141; skipStepConditions3.InTerritory = list125; skipConditions11.StepIf = skipStepConditions3; - obj94.SkipConditions = skipConditions11; - reference97 = obj94; + obj95.SkipConditions = skipConditions11; + reference97 = obj95; num2++; ref QuestStep reference98 = ref span3[num2]; - QuestStep obj95 = new QuestStep(EInteractionType.Combat, null, new Vector3(-116.10664f, 10.801613f, 276.979f), 141) + QuestStep obj96 = new QuestStep(EInteractionType.Combat, null, new Vector3(-116.10664f, 10.801613f, 276.979f), 141) { EnemySpawnType = EEnemySpawnType.OverworldEnemies }; @@ -25643,7 +25832,7 @@ public static class AssemblyQuestLoader span6 = CollectionsMarshal.AsSpan(list126); index3 = 0; ref ComplexCombatData reference99 = ref span6[index3]; - ComplexCombatData obj96 = new ComplexCombatData + ComplexCombatData obj97 = new ComplexCombatData { DataId = 351u, MinimumKillCount = 3u @@ -25664,11 +25853,11 @@ public static class AssemblyQuestLoader span7[num4] = null; num4++; span7[num4] = null; - obj96.CompletionQuestVariablesFlags = list127; - reference99 = obj96; + obj97.CompletionQuestVariablesFlags = list127; + reference99 = obj97; index3++; ref ComplexCombatData reference100 = ref span6[index3]; - ComplexCombatData obj97 = new ComplexCombatData + ComplexCombatData obj98 = new ComplexCombatData { DataId = 141u, MinimumKillCount = 3u @@ -25689,9 +25878,9 @@ public static class AssemblyQuestLoader span7[num5] = null; num5++; span7[num5] = null; - obj97.CompletionQuestVariablesFlags = list128; - reference100 = obj97; - obj95.ComplexCombatData = list126; + obj98.CompletionQuestVariablesFlags = list128; + reference100 = obj98; + obj96.ComplexCombatData = list126; index3 = 6; List list129 = new List(index3); CollectionsMarshal.SetCount(list129, index3); @@ -25708,11 +25897,11 @@ public static class AssemblyQuestLoader span7[num3] = null; num3++; span7[num3] = null; - obj95.CompletionQuestVariablesFlags = list129; - reference98 = obj95; + obj96.CompletionQuestVariablesFlags = list129; + reference98 = obj96; num2++; ref QuestStep reference101 = ref span3[num2]; - QuestStep obj98 = new QuestStep(EInteractionType.Combat, null, new Vector3(39.635372f, 3.2401803f, 273.41232f), 141) + QuestStep obj99 = new QuestStep(EInteractionType.Combat, null, new Vector3(39.635372f, 3.2401803f, 273.41232f), 141) { EnemySpawnType = EEnemySpawnType.OverworldEnemies }; @@ -25722,7 +25911,7 @@ public static class AssemblyQuestLoader span6 = CollectionsMarshal.AsSpan(list130); index3 = 0; ref ComplexCombatData reference102 = ref span6[index3]; - ComplexCombatData obj99 = new ComplexCombatData + ComplexCombatData obj100 = new ComplexCombatData { DataId = 205u, MinimumKillCount = 3u @@ -25743,9 +25932,9 @@ public static class AssemblyQuestLoader span7[num4] = null; num4++; span7[num4] = null; - obj99.CompletionQuestVariablesFlags = list131; - reference102 = obj99; - obj98.ComplexCombatData = list130; + obj100.CompletionQuestVariablesFlags = list131; + reference102 = obj100; + obj99.ComplexCombatData = list130; index3 = 6; List list132 = new List(index3); CollectionsMarshal.SetCount(list132, index3); @@ -25762,13 +25951,13 @@ public static class AssemblyQuestLoader span7[num3] = null; num3++; span7[num3] = null; - obj98.CompletionQuestVariablesFlags = list132; - reference101 = obj98; - obj93.Steps = list124; - reference96 = obj93; + obj99.CompletionQuestVariablesFlags = list132; + reference101 = obj99; + obj94.Steps = list124; + reference96 = obj94; num++; ref QuestSequence reference103 = ref span2[num]; - QuestSequence obj100 = new QuestSequence + QuestSequence obj101 = new QuestSequence { Sequence = byte.MaxValue }; @@ -25786,8 +25975,8 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahGladiator } }; - obj100.Steps = list133; - reference103 = obj100; + obj101.Steps = list133; + reference103 = obj101; questRoot12.QuestSequence = list122; AddQuest(questId12, questRoot12); QuestId questId13 = new QuestId(288); @@ -25805,7 +25994,7 @@ public static class AssemblyQuestLoader span2 = CollectionsMarshal.AsSpan(list135); num = 0; ref QuestSequence reference104 = ref span2[num]; - QuestSequence obj101 = new QuestSequence + QuestSequence obj102 = new QuestSequence { Sequence = 0 }; @@ -25815,7 +26004,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list136); num2 = 0; ref QuestStep reference105 = ref span3[num2]; - QuestStep obj102 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) + QuestStep obj103 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -25825,7 +26014,7 @@ public static class AssemblyQuestLoader } }; SkipConditions skipConditions12 = new SkipConditions(); - SkipAetheryteCondition obj103 = new SkipAetheryteCondition + SkipAetheryteCondition obj104 = new SkipAetheryteCondition { InSameTerritory = true }; @@ -25835,15 +26024,15 @@ public static class AssemblyQuestLoader span5 = CollectionsMarshal.AsSpan(list137); index3 = 0; span5[index3] = 131; - obj103.InTerritory = list137; - skipConditions12.AetheryteShortcutIf = obj103; - obj102.SkipConditions = skipConditions12; - reference105 = obj102; - obj101.Steps = list136; - reference104 = obj101; + obj104.InTerritory = list137; + skipConditions12.AetheryteShortcutIf = obj104; + obj103.SkipConditions = skipConditions12; + reference105 = obj103; + obj102.Steps = list136; + reference104 = obj102; num++; ref QuestSequence reference106 = ref span2[num]; - QuestSequence obj104 = new QuestSequence + QuestSequence obj105 = new QuestSequence { Sequence = 1 }; @@ -25853,7 +26042,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list138); index2 = 0; ref QuestStep reference107 = ref span3[index2]; - QuestStep obj105 = new QuestStep(EInteractionType.Combat, 1002296u, new Vector3(-139.42175f, 4.019726f, 205.0354f), 141) + QuestStep obj106 = new QuestStep(EInteractionType.Combat, 1002296u, new Vector3(-139.42175f, 4.019726f, 205.0354f), 141) { AethernetShortcut = new AethernetShortcut { @@ -25868,13 +26057,13 @@ public static class AssemblyQuestLoader span8 = CollectionsMarshal.AsSpan(list139); num3 = 0; span8[num3] = 1245u; - obj105.KillEnemyDataIds = list139; - reference107 = obj105; - obj104.Steps = list138; - reference106 = obj104; + obj106.KillEnemyDataIds = list139; + reference107 = obj106; + obj105.Steps = list138; + reference106 = obj105; num++; ref QuestSequence reference108 = ref span2[num]; - QuestSequence obj106 = new QuestSequence + QuestSequence obj107 = new QuestSequence { Sequence = 2 }; @@ -25884,11 +26073,11 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list140); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1002296u, new Vector3(-139.42175f, 4.019726f, 205.0354f), 141); - obj106.Steps = list140; - reference108 = obj106; + obj107.Steps = list140; + reference108 = obj107; num++; ref QuestSequence reference109 = ref span2[num]; - QuestSequence obj107 = new QuestSequence + QuestSequence obj108 = new QuestSequence { Sequence = 3 }; @@ -25898,7 +26087,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list141); index2 = 0; ref QuestStep reference110 = ref span3[index2]; - QuestStep obj108 = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) + QuestStep obj109 = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -25908,7 +26097,7 @@ public static class AssemblyQuestLoader } }; SkipConditions skipConditions13 = new SkipConditions(); - SkipAetheryteCondition obj109 = new SkipAetheryteCondition + SkipAetheryteCondition obj110 = new SkipAetheryteCondition { InSameTerritory = true }; @@ -25918,15 +26107,15 @@ public static class AssemblyQuestLoader span5 = CollectionsMarshal.AsSpan(list142); index3 = 0; span5[index3] = 131; - obj109.InTerritory = list142; - skipConditions13.AetheryteShortcutIf = obj109; - obj108.SkipConditions = skipConditions13; - reference110 = obj108; - obj107.Steps = list141; - reference109 = obj107; + obj110.InTerritory = list142; + skipConditions13.AetheryteShortcutIf = obj110; + obj109.SkipConditions = skipConditions13; + reference110 = obj109; + obj108.Steps = list141; + reference109 = obj108; num++; ref QuestSequence reference111 = ref span2[num]; - QuestSequence obj110 = new QuestSequence + QuestSequence obj111 = new QuestSequence { Sequence = 4 }; @@ -25943,11 +26132,11 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahGateOfNald } }; - obj110.Steps = list143; - reference111 = obj110; + obj111.Steps = list143; + reference111 = obj111; num++; ref QuestSequence reference112 = ref span2[num]; - QuestSequence obj111 = new QuestSequence + QuestSequence obj112 = new QuestSequence { Sequence = 5 }; @@ -25960,11 +26149,11 @@ public static class AssemblyQuestLoader { StopDistance = 5f }; - obj111.Steps = list144; - reference112 = obj111; + obj112.Steps = list144; + reference112 = obj112; num++; ref QuestSequence reference113 = ref span2[num]; - QuestSequence obj112 = new QuestSequence + QuestSequence obj113 = new QuestSequence { Sequence = byte.MaxValue }; @@ -25974,7 +26163,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list145); num2 = 0; ref QuestStep reference114 = ref span3[num2]; - QuestStep obj113 = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) + QuestStep obj114 = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -25994,11 +26183,11 @@ public static class AssemblyQuestLoader Prompt = new ExcelRef("TEXT_CLSGLA101_00288_Q1_000_160"), Answer = new ExcelRef("TEXT_CLSGLA101_00288_A1_000_161") }; - obj113.DialogueChoices = list146; - obj113.NextQuestId = new QuestId(262); - reference114 = obj113; - obj112.Steps = list145; - reference113 = obj112; + obj114.DialogueChoices = list146; + obj114.NextQuestId = new QuestId(262); + reference114 = obj114; + obj113.Steps = list145; + reference113 = obj113; questRoot13.QuestSequence = list135; AddQuest(questId13, questRoot13); QuestId questId14 = new QuestId(291); @@ -26016,7 +26205,7 @@ public static class AssemblyQuestLoader span2 = CollectionsMarshal.AsSpan(list148); num = 0; ref QuestSequence reference115 = ref span2[num]; - QuestSequence obj114 = new QuestSequence + QuestSequence obj115 = new QuestSequence { Sequence = 0 }; @@ -26026,7 +26215,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list149); index2 = 0; ref QuestStep reference116 = ref span3[index2]; - QuestStep obj115 = new QuestStep(EInteractionType.AcceptQuest, 1000995u, new Vector3(-52.018066f, 42.799637f, 192.2179f), 128) + QuestStep obj116 = new QuestStep(EInteractionType.AcceptQuest, 1000995u, new Vector3(-52.018066f, 42.799637f, 192.2179f), 128) { AetheryteShortcut = EAetheryteLocation.Limsa, AethernetShortcut = new AethernetShortcut @@ -26036,7 +26225,7 @@ public static class AssemblyQuestLoader } }; SkipConditions skipConditions14 = new SkipConditions(); - SkipAetheryteCondition obj116 = new SkipAetheryteCondition + SkipAetheryteCondition obj117 = new SkipAetheryteCondition { InSameTerritory = true }; @@ -26046,9 +26235,9 @@ public static class AssemblyQuestLoader span5 = CollectionsMarshal.AsSpan(list150); index3 = 0; span5[index3] = 128; - obj116.InTerritory = list150; - skipConditions14.AetheryteShortcutIf = obj116; - obj115.SkipConditions = skipConditions14; + obj117.InTerritory = list150; + skipConditions14.AetheryteShortcutIf = obj117; + obj116.SkipConditions = skipConditions14; index3 = 1; List list151 = new List(index3); CollectionsMarshal.SetCount(list151, index3); @@ -26059,13 +26248,13 @@ public static class AssemblyQuestLoader Type = EDialogChoiceType.YesNo, Prompt = new ExcelRef("TEXT_CLSBSM011_00291_Q1_000_1") }; - obj115.DialogueChoices = list151; - reference116 = obj115; - obj114.Steps = list149; - reference115 = obj114; + obj116.DialogueChoices = list151; + reference116 = obj116; + obj115.Steps = list149; + reference115 = obj115; num++; ref QuestSequence reference117 = ref span2[num]; - QuestSequence obj117 = new QuestSequence + QuestSequence obj118 = new QuestSequence { Sequence = byte.MaxValue }; @@ -26075,7 +26264,7 @@ public static class AssemblyQuestLoader span3 = CollectionsMarshal.AsSpan(list152); num2 = 0; ref QuestStep reference118 = ref span3[num2]; - QuestStep questStep12 = new QuestStep(EInteractionType.CompleteQuest, 1000997u, new Vector3(-31.265808f, 44.49997f, 185.53442f), 128); + QuestStep questStep11 = new QuestStep(EInteractionType.CompleteQuest, 1000997u, new Vector3(-31.265808f, 44.49997f, 185.53442f), 128); num3 = 1; List list153 = new List(num3); CollectionsMarshal.SetCount(list153, num3); @@ -26086,11 +26275,11 @@ public static class AssemblyQuestLoader Type = EDialogChoiceType.YesNo, Prompt = new ExcelRef("TEXT_CLSBSM011_00291_Q1_000_1") }; - questStep12.DialogueChoices = list153; - questStep12.NextQuestId = new QuestId(292); - reference118 = questStep12; - obj117.Steps = list152; - reference117 = obj117; + questStep11.DialogueChoices = list153; + questStep11.NextQuestId = new QuestId(292); + reference118 = questStep11; + obj118.Steps = list152; + reference117 = obj118; questRoot14.QuestSequence = list148; AddQuest(questId14, questRoot14); } @@ -41324,7 +41513,22 @@ public static class AssemblyQuestLoader CollectionsMarshal.SetCount(list135, num2); span3 = CollectionsMarshal.AsSpan(list135); index2 = 0; - span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128); + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128) + { + AetheryteShortcut = EAetheryteLocation.Limsa, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.Limsa, + To = EAetheryteLocation.LimsaCulinarian + }, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; obj94.Steps = list135; reference101 = obj94; num++; @@ -48637,7 +48841,7 @@ public static class AssemblyQuestLoader { Sequence = 1 }; - num2 = 13; + num2 = 17; List list114 = new List(num2); CollectionsMarshal.SetCount(list114, num2); span3 = CollectionsMarshal.AsSpan(list114); @@ -48730,47 +48934,130 @@ public static class AssemblyQuestLoader AethernetShard = EAetheryteLocation.UldahThaumaturge }; index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1001834u, new Vector3(-23.331116f, 10f, -43.442444f), 130) + { + TargetTerritoryId = (ushort)131, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.UldahThaumaturge, + To = EAetheryteLocation.UldahAdventurers + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) + { + AethernetShard = EAetheryteLocation.UldahChamberOfRule, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) + { + AethernetShard = EAetheryteLocation.UldahAlchemist, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; ref QuestStep reference90 = ref span3[index2]; - QuestStep obj85 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 130) + QuestStep obj85 = new QuestStep(EInteractionType.Interact, 1001854u, new Vector3(-19.36377f, 34f, -42.588013f), 131) + { + TargetTerritoryId = (ushort)130, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.UldahAlchemist, + To = EAetheryteLocation.UldahChamberOfRule + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num3 = 1; + List list117 = new List(num3); + CollectionsMarshal.SetCount(list117, num3); + span4 = CollectionsMarshal.AsSpan(list117); + index3 = 0; + span4[index3] = new DialogueChoice + { + Type = EDialogChoiceType.List, + ExcelSheet = "Warp", + Answer = new ExcelRef(131097u) + }; + obj85.DialogueChoices = list117; + reference90 = obj85; + index2++; + ref QuestStep reference91 = ref span3[index2]; + QuestStep obj86 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 130) { Aetheryte = EAetheryteLocation.Uldah }; - num3 = 6; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - span6 = CollectionsMarshal.AsSpan(list117); - index3 = 0; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj85.CompletionQuestVariablesFlags = list117; - reference90 = obj85; + index3 = 6; + List list118 = new List(index3); + CollectionsMarshal.SetCount(list118, index3); + span6 = CollectionsMarshal.AsSpan(list118); + num3 = 0; + span6[num3] = null; + num3++; + span6[num3] = null; + num3++; + span6[num3] = null; + num3++; + span6[num3] = null; + num3++; + span6[num3] = null; + num3++; + span6[num3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + obj86.CompletionQuestVariablesFlags = list118; + reference91 = obj86; obj84.Steps = list114; reference87 = obj84; num++; - ref QuestSequence reference91 = ref span2[num]; - QuestSequence obj86 = new QuestSequence + ref QuestSequence reference92 = ref span2[num]; + QuestSequence obj87 = new QuestSequence { Sequence = byte.MaxValue }; - index2 = 2; - List list118 = new List(index2); - CollectionsMarshal.SetCount(list118, index2); - span3 = CollectionsMarshal.AsSpan(list118); + index2 = 4; + List list119 = new List(index2); + CollectionsMarshal.SetCount(list119, index2); + span3 = CollectionsMarshal.AsSpan(list119); num2 = 0; span3[num2] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 130) { Aetheryte = EAetheryteLocation.Uldah }; num2++; + span3[num2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 141) + { + Aetheryte = EAetheryteLocation.CentralThanalanBlackBrushStation, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.Uldah, + To = EAetheryteLocation.UldahGateOfNald + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.None, null, null, 130) + { + AetheryteShortcut = EAetheryteLocation.Uldah, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num2++; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) { AethernetShortcut = new AethernetShortcut @@ -48779,38 +49066,38 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahAdventurers } }; - obj86.Steps = list118; - reference91 = obj86; + obj87.Steps = list119; + reference92 = obj87; questRoot12.QuestSequence = list112; AddQuest(questId12, questRoot12); UnlockLinkId questId13 = new UnlockLinkId(568); QuestRoot questRoot13 = new QuestRoot(); num = 1; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - span = CollectionsMarshal.AsSpan(list119); + List list120 = new List(num); + CollectionsMarshal.SetCount(list120, num); + span = CollectionsMarshal.AsSpan(list120); index = 0; span[index] = "liza"; - questRoot13.Author = list119; + questRoot13.Author = list120; questRoot13.IsSeasonalQuest = true; questRoot13.SeasonalQuestExpiry = new DateTime(2025, 12, 23, 14, 59, 0, DateTimeKind.Utc); index = 1; - List list120 = new List(index); - CollectionsMarshal.SetCount(list120, index); - span2 = CollectionsMarshal.AsSpan(list120); + List list121 = new List(index); + CollectionsMarshal.SetCount(list121, index); + span2 = CollectionsMarshal.AsSpan(list121); num = 0; - ref QuestSequence reference92 = ref span2[num]; - QuestSequence obj87 = new QuestSequence + ref QuestSequence reference93 = ref span2[num]; + QuestSequence obj88 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - span3 = CollectionsMarshal.AsSpan(list121); + List list122 = new List(num2); + CollectionsMarshal.SetCount(list122, num2); + span3 = CollectionsMarshal.AsSpan(list122); index2 = 0; - ref QuestStep reference93 = ref span3[index2]; - QuestStep obj88 = new QuestStep(EInteractionType.AcceptQuest, 1052475u, new Vector3(-22.354492f, 10.13581f, -241.41296f), 133) + ref QuestStep reference94 = ref span3[index2]; + QuestStep obj89 = new QuestStep(EInteractionType.AcceptQuest, 1052475u, new Vector3(-22.354492f, 10.13581f, -241.41296f), 133) { AetheryteShortcut = EAetheryteLocation.Gridania, AethernetShortcut = new AethernetShortcut @@ -48820,61 +49107,61 @@ public static class AssemblyQuestLoader } }; SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj89 = new SkipAetheryteCondition + SkipAetheryteCondition obj90 = new SkipAetheryteCondition { InSameTerritory = true }; - index3 = 1; - List list122 = new List(index3); - CollectionsMarshal.SetCount(list122, index3); - span8 = CollectionsMarshal.AsSpan(list122); - num3 = 0; - span8[num3] = 133; - obj89.InTerritory = list122; - skipConditions2.AetheryteShortcutIf = obj89; - obj88.SkipConditions = skipConditions2; + num3 = 1; + List list123 = new List(num3); + CollectionsMarshal.SetCount(list123, num3); + span8 = CollectionsMarshal.AsSpan(list123); + index3 = 0; + span8[index3] = 133; + obj90.InTerritory = list123; + skipConditions2.AetheryteShortcutIf = obj90; + obj89.SkipConditions = skipConditions2; + reference94 = obj89; + obj88.Steps = list122; reference93 = obj88; - obj87.Steps = list121; - reference92 = obj87; - questRoot13.QuestSequence = list120; + questRoot13.QuestSequence = list121; AddQuest(questId13, questRoot13); QuestId questId14 = new QuestId(569); QuestRoot questRoot14 = new QuestRoot(); num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - span = CollectionsMarshal.AsSpan(list123); + List list124 = new List(num); + CollectionsMarshal.SetCount(list124, num); + span = CollectionsMarshal.AsSpan(list124); index = 0; span[index] = "liza"; - questRoot14.Author = list123; + questRoot14.Author = list124; index = 3; - List list124 = new List(index); - CollectionsMarshal.SetCount(list124, index); - span2 = CollectionsMarshal.AsSpan(list124); + List list125 = new List(index); + CollectionsMarshal.SetCount(list125, index); + span2 = CollectionsMarshal.AsSpan(list125); num = 0; - ref QuestSequence reference94 = ref span2[num]; - QuestSequence obj90 = new QuestSequence + ref QuestSequence reference95 = ref span2[num]; + QuestSequence obj91 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list125 = new List(index2); - CollectionsMarshal.SetCount(list125, index2); - span3 = CollectionsMarshal.AsSpan(list125); + List list126 = new List(index2); + CollectionsMarshal.SetCount(list126, index2); + span3 = CollectionsMarshal.AsSpan(list126); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1003988u, new Vector3(21.072632f, 7.45f, -78.84338f), 182); - obj90.Steps = list125; - reference94 = obj90; + obj91.Steps = list126; + reference95 = obj91; num++; - ref QuestSequence reference95 = ref span2[num]; - QuestSequence obj91 = new QuestSequence + ref QuestSequence reference96 = ref span2[num]; + QuestSequence obj92 = new QuestSequence { Sequence = 1 }; - num2 = 13; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - span3 = CollectionsMarshal.AsSpan(list126); + num2 = 17; + List list127 = new List(num2); + CollectionsMarshal.SetCount(list127, num2); + span3 = CollectionsMarshal.AsSpan(list127); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 130) { @@ -48883,26 +49170,26 @@ public static class AssemblyQuestLoader index2++; span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(95.43315f, 4f, -105.26365f), 130); index2++; - ref QuestStep reference96 = ref span3[index2]; + ref QuestStep reference97 = ref span3[index2]; QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1003908u, new Vector3(137.95679f, 4.041112f, -41.09259f), 131); - num3 = 6; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - span6 = CollectionsMarshal.AsSpan(list127); - index3 = 0; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list127; - reference96 = questStep7; + index3 = 6; + List list128 = new List(index3); + CollectionsMarshal.SetCount(list128, index3); + span6 = CollectionsMarshal.AsSpan(list128); + num3 = 0; + span6[num3] = null; + num3++; + span6[num3] = null; + num3++; + span6[num3] = null; + num3++; + span6[num3] = null; + num3++; + span6[num3] = null; + num3++; + span6[num3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); + questStep7.CompletionQuestVariablesFlags = list128; + reference97 = questStep7; index2++; span3[index2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) { @@ -48936,39 +49223,8 @@ public static class AssemblyQuestLoader AethernetShard = EAetheryteLocation.UldahThaumaturge }; index2++; - ref QuestStep reference97 = ref span3[index2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1001286u, new Vector3(-88.9754f, 2.55f, -51.163513f), 130); - index3 = 6; - List list128 = new List(index3); - CollectionsMarshal.SetCount(list128, index3); - span6 = CollectionsMarshal.AsSpan(list128); - num3 = 0; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list128; - reference97 = questStep8; - index2++; - span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1001286u, new Vector3(-88.9754f, 2.55f, -51.163513f), 130) - { - Disabled = true, - Comment = "Level 1 class quest isn't finished", - PickUpQuestId = new QuestId(345) - }; - index2++; ref QuestStep reference98 = ref span3[index2]; - QuestStep obj92 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 130) - { - Aetheryte = EAetheryteLocation.Uldah - }; + QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1001286u, new Vector3(-88.9754f, 2.55f, -51.163513f), 130); num3 = 6; List list129 = new List(num3); CollectionsMarshal.SetCount(list129, num3); @@ -48984,27 +49240,141 @@ public static class AssemblyQuestLoader index3++; span6[index3] = null; index3++; + span6[index3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + questStep8.CompletionQuestVariablesFlags = list129; + reference98 = questStep8; + index2++; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1001286u, new Vector3(-88.9754f, 2.55f, -51.163513f), 130) + { + Disabled = true, + Comment = "Level 1 class quest isn't finished", + PickUpQuestId = new QuestId(345) + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1001834u, new Vector3(-23.331116f, 10f, -43.442444f), 130) + { + TargetTerritoryId = (ushort)131, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.UldahThaumaturge, + To = EAetheryteLocation.UldahAdventurers + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) + { + AethernetShard = EAetheryteLocation.UldahChamberOfRule, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) + { + AethernetShard = EAetheryteLocation.UldahAlchemist, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; + ref QuestStep reference99 = ref span3[index2]; + QuestStep obj93 = new QuestStep(EInteractionType.Interact, 1001854u, new Vector3(-19.36377f, 34f, -42.588013f), 131) + { + TargetTerritoryId = (ushort)130, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.UldahAlchemist, + To = EAetheryteLocation.UldahChamberOfRule + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index3 = 1; + List list130 = new List(index3); + CollectionsMarshal.SetCount(list130, index3); + span4 = CollectionsMarshal.AsSpan(list130); + num3 = 0; + span4[num3] = new DialogueChoice + { + Type = EDialogChoiceType.List, + ExcelSheet = "Warp", + Answer = new ExcelRef(131097u) + }; + obj93.DialogueChoices = list130; + reference99 = obj93; + index2++; + ref QuestStep reference100 = ref span3[index2]; + QuestStep obj94 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 130) + { + Aetheryte = EAetheryteLocation.Uldah + }; + num3 = 6; + List list131 = new List(num3); + CollectionsMarshal.SetCount(list131, num3); + span6 = CollectionsMarshal.AsSpan(list131); + index3 = 0; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; span6[index3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj92.CompletionQuestVariablesFlags = list129; - reference98 = obj92; - obj91.Steps = list126; - reference95 = obj91; + obj94.CompletionQuestVariablesFlags = list131; + reference100 = obj94; + obj92.Steps = list127; + reference96 = obj92; num++; - ref QuestSequence reference99 = ref span2[num]; - QuestSequence obj93 = new QuestSequence + ref QuestSequence reference101 = ref span2[num]; + QuestSequence obj95 = new QuestSequence { Sequence = byte.MaxValue }; - index2 = 2; - List list130 = new List(index2); - CollectionsMarshal.SetCount(list130, index2); - span3 = CollectionsMarshal.AsSpan(list130); + index2 = 4; + List list132 = new List(index2); + CollectionsMarshal.SetCount(list132, index2); + span3 = CollectionsMarshal.AsSpan(list132); num2 = 0; span3[num2] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 130) { Aetheryte = EAetheryteLocation.Uldah }; num2++; + span3[num2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 141) + { + Aetheryte = EAetheryteLocation.CentralThanalanBlackBrushStation, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.Uldah, + To = EAetheryteLocation.UldahGateOfNald + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.None, null, null, 130) + { + AetheryteShortcut = EAetheryteLocation.Uldah, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num2++; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) { AethernetShortcut = new AethernetShortcut @@ -49013,47 +49383,47 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahAdventurers } }; - obj93.Steps = list130; - reference99 = obj93; - questRoot14.QuestSequence = list124; + obj95.Steps = list132; + reference101 = obj95; + questRoot14.QuestSequence = list125; AddQuest(questId14, questRoot14); QuestId questId15 = new QuestId(570); QuestRoot questRoot15 = new QuestRoot(); num = 1; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - span = CollectionsMarshal.AsSpan(list131); + List list133 = new List(num); + CollectionsMarshal.SetCount(list133, num); + span = CollectionsMarshal.AsSpan(list133); index = 0; span[index] = "liza"; - questRoot15.Author = list131; + questRoot15.Author = list133; index = 3; - List list132 = new List(index); - CollectionsMarshal.SetCount(list132, index); - span2 = CollectionsMarshal.AsSpan(list132); + List list134 = new List(index); + CollectionsMarshal.SetCount(list134, index); + span2 = CollectionsMarshal.AsSpan(list134); num = 0; - ref QuestSequence reference100 = ref span2[num]; - QuestSequence obj94 = new QuestSequence + ref QuestSequence reference102 = ref span2[num]; + QuestSequence obj96 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - span3 = CollectionsMarshal.AsSpan(list133); + List list135 = new List(num2); + CollectionsMarshal.SetCount(list135, num2); + span3 = CollectionsMarshal.AsSpan(list135); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1003988u, new Vector3(21.072632f, 7.45f, -78.84338f), 182); - obj94.Steps = list133; - reference100 = obj94; + obj96.Steps = list135; + reference102 = obj96; num++; - ref QuestSequence reference101 = ref span2[num]; - QuestSequence obj95 = new QuestSequence + ref QuestSequence reference103 = ref span2[num]; + QuestSequence obj97 = new QuestSequence { Sequence = 1 }; - index2 = 13; - List list134 = new List(index2); - CollectionsMarshal.SetCount(list134, index2); - span3 = CollectionsMarshal.AsSpan(list134); + index2 = 17; + List list136 = new List(index2); + CollectionsMarshal.SetCount(list136, index2); + span3 = CollectionsMarshal.AsSpan(list136); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 130) { @@ -49062,12 +49432,12 @@ public static class AssemblyQuestLoader num2++; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(95.43315f, 4f, -105.26365f), 130); num2++; - ref QuestStep reference102 = ref span3[num2]; + ref QuestStep reference104 = ref span3[num2]; QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1003908u, new Vector3(137.95679f, 4.041112f, -41.09259f), 131); index3 = 6; - List list135 = new List(index3); - CollectionsMarshal.SetCount(list135, index3); - span6 = CollectionsMarshal.AsSpan(list135); + List list137 = new List(index3); + CollectionsMarshal.SetCount(list137, index3); + span6 = CollectionsMarshal.AsSpan(list137); num3 = 0; span6[num3] = null; num3++; @@ -49080,8 +49450,8 @@ public static class AssemblyQuestLoader span6[num3] = null; num3++; span6[num3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list135; - reference102 = questStep9; + questStep9.CompletionQuestVariablesFlags = list137; + reference104 = questStep9; num2++; span3[num2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) { @@ -49115,12 +49485,12 @@ public static class AssemblyQuestLoader AethernetShard = EAetheryteLocation.UldahThaumaturge }; num2++; - ref QuestStep reference103 = ref span3[num2]; + ref QuestStep reference105 = ref span3[num2]; QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1002279u, new Vector3(-196.8872f, 18.459997f, 59.952637f), 130); num3 = 6; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - span6 = CollectionsMarshal.AsSpan(list136); + List list138 = new List(num3); + CollectionsMarshal.SetCount(list138, num3); + span6 = CollectionsMarshal.AsSpan(list138); index3 = 0; span6[index3] = null; index3++; @@ -49133,8 +49503,8 @@ public static class AssemblyQuestLoader span6[index3] = null; index3++; span6[index3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list136; - reference103 = questStep10; + questStep10.CompletionQuestVariablesFlags = list138; + reference105 = questStep10; num2++; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1002279u, new Vector3(-196.8872f, 18.459997f, 59.952637f), 130) { @@ -49143,47 +49513,130 @@ public static class AssemblyQuestLoader PickUpQuestId = new QuestId(345) }; num2++; - ref QuestStep reference104 = ref span3[num2]; - QuestStep obj96 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 130) + span3[num2] = new QuestStep(EInteractionType.Interact, 1001834u, new Vector3(-23.331116f, 10f, -43.442444f), 130) + { + TargetTerritoryId = (ushort)131, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.UldahThaumaturge, + To = EAetheryteLocation.UldahAdventurers + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) + { + AethernetShard = EAetheryteLocation.UldahChamberOfRule, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) + { + AethernetShard = EAetheryteLocation.UldahAlchemist, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + num2++; + ref QuestStep reference106 = ref span3[num2]; + QuestStep obj98 = new QuestStep(EInteractionType.Interact, 1001854u, new Vector3(-19.36377f, 34f, -42.588013f), 131) + { + TargetTerritoryId = (ushort)130, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.UldahAlchemist, + To = EAetheryteLocation.UldahChamberOfRule + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index3 = 1; + List list139 = new List(index3); + CollectionsMarshal.SetCount(list139, index3); + span4 = CollectionsMarshal.AsSpan(list139); + num3 = 0; + span4[num3] = new DialogueChoice + { + Type = EDialogChoiceType.List, + ExcelSheet = "Warp", + Answer = new ExcelRef(131097u) + }; + obj98.DialogueChoices = list139; + reference106 = obj98; + num2++; + ref QuestStep reference107 = ref span3[num2]; + QuestStep obj99 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 130) { Aetheryte = EAetheryteLocation.Uldah }; - index3 = 6; - List list137 = new List(index3); - CollectionsMarshal.SetCount(list137, index3); - span6 = CollectionsMarshal.AsSpan(list137); - num3 = 0; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj96.CompletionQuestVariablesFlags = list137; - reference104 = obj96; - obj95.Steps = list134; - reference101 = obj95; + num3 = 6; + List list140 = new List(num3); + CollectionsMarshal.SetCount(list140, num3); + span6 = CollectionsMarshal.AsSpan(list140); + index3 = 0; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + obj99.CompletionQuestVariablesFlags = list140; + reference107 = obj99; + obj97.Steps = list136; + reference103 = obj97; num++; - ref QuestSequence reference105 = ref span2[num]; - QuestSequence obj97 = new QuestSequence + ref QuestSequence reference108 = ref span2[num]; + QuestSequence obj100 = new QuestSequence { Sequence = byte.MaxValue }; - num2 = 2; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - span3 = CollectionsMarshal.AsSpan(list138); + num2 = 4; + List list141 = new List(num2); + CollectionsMarshal.SetCount(list141, num2); + span3 = CollectionsMarshal.AsSpan(list141); index2 = 0; span3[index2] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 130) { Aetheryte = EAetheryteLocation.Uldah }; index2++; + span3[index2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 141) + { + Aetheryte = EAetheryteLocation.CentralThanalanBlackBrushStation, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.Uldah, + To = EAetheryteLocation.UldahGateOfNald + }, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.None, null, null, 130) + { + AetheryteShortcut = EAetheryteLocation.Uldah, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions() + } + }; + index2++; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) { AethernetShortcut = new AethernetShortcut @@ -49192,47 +49645,47 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahAdventurers } }; - obj97.Steps = list138; - reference105 = obj97; - questRoot15.QuestSequence = list132; + obj100.Steps = list141; + reference108 = obj100; + questRoot15.QuestSequence = list134; AddQuest(questId15, questRoot15); QuestId questId16 = new QuestId(574); QuestRoot questRoot16 = new QuestRoot(); num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - span = CollectionsMarshal.AsSpan(list139); + List list142 = new List(num); + CollectionsMarshal.SetCount(list142, num); + span = CollectionsMarshal.AsSpan(list142); index = 0; span[index] = "liza"; - questRoot16.Author = list139; + questRoot16.Author = list142; index = 5; - List list140 = new List(index); - CollectionsMarshal.SetCount(list140, index); - span2 = CollectionsMarshal.AsSpan(list140); + List list143 = new List(index); + CollectionsMarshal.SetCount(list143, index); + span2 = CollectionsMarshal.AsSpan(list143); num = 0; - ref QuestSequence reference106 = ref span2[num]; - QuestSequence obj98 = new QuestSequence + ref QuestSequence reference109 = ref span2[num]; + QuestSequence obj101 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list141 = new List(index2); - CollectionsMarshal.SetCount(list141, index2); - span3 = CollectionsMarshal.AsSpan(list141); + List list144 = new List(index2); + CollectionsMarshal.SetCount(list144, index2); + span3 = CollectionsMarshal.AsSpan(list144); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145); - obj98.Steps = list141; - reference106 = obj98; + obj101.Steps = list144; + reference109 = obj101; num++; - ref QuestSequence reference107 = ref span2[num]; - QuestSequence obj99 = new QuestSequence + ref QuestSequence reference110 = ref span2[num]; + QuestSequence obj102 = new QuestSequence { Sequence = 1 }; num2 = 8; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - span3 = CollectionsMarshal.AsSpan(list142); + List list145 = new List(num2); + CollectionsMarshal.SetCount(list145, num2); + span3 = CollectionsMarshal.AsSpan(list145); index2 = 0; span3[index2] = new QuestStep(EInteractionType.EquipItem, null, null, 145) { @@ -49244,82 +49697,8 @@ public static class AssemblyQuestLoader ItemId = 3306u }; index2++; - ref QuestStep reference108 = ref span3[index2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1004327u, new Vector3(-412.03937f, -48.15f, 102.61682f), 145); - num3 = 6; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - span6 = CollectionsMarshal.AsSpan(list143); - index3 = 0; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list143; - reference108 = questStep11; - index2++; - ref QuestStep reference109 = ref span3[index2]; - QuestStep obj100 = new QuestStep(EInteractionType.Jump, null, new Vector3(-409.44067f, -48.15f, 101.391624f), 145) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(-408.8825f, -55.764168f, 110.76053f), - StopDistance = 5f - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - index3 = 6; - List list144 = new List(index3); - CollectionsMarshal.SetCount(list144, index3); - span6 = CollectionsMarshal.AsSpan(list144); - num3 = 0; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list144; - skipConditions3.StepIf = skipStepConditions; - obj100.SkipConditions = skipConditions3; - reference109 = obj100; - index2++; - ref QuestStep reference110 = ref span3[index2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1004506u, new Vector3(-416.64764f, -54.15f, 96.42175f), 145); - num3 = 6; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - span6 = CollectionsMarshal.AsSpan(list145); - index3 = 0; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = null; - index3++; - span6[index3] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list145; - reference110 = questStep12; - index2++; ref QuestStep reference111 = ref span3[index2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1004325u, new Vector3(-402.45673f, -57.07999f, 131.82263f), 145); + QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1004327u, new Vector3(-412.03937f, -48.15f, 102.61682f), 145); index3 = 6; List list146 = new List(index3); CollectionsMarshal.SetCount(list146, index3); @@ -49335,12 +49714,21 @@ public static class AssemblyQuestLoader num3++; span6[num3] = null; num3++; - span6[num3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list146; - reference111 = questStep13; + span6[num3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); + questStep11.CompletionQuestVariablesFlags = list146; + reference111 = questStep11; index2++; ref QuestStep reference112 = ref span3[index2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1004556u, new Vector3(-394.85773f, -57.30005f, 173.32715f), 145); + QuestStep obj103 = new QuestStep(EInteractionType.Jump, null, new Vector3(-409.44067f, -48.15f, 101.391624f), 145) + { + JumpDestination = new JumpDestination + { + Position = new Vector3(-408.8825f, -55.764168f, 110.76053f), + StopDistance = 5f + } + }; + SkipConditions skipConditions3 = new SkipConditions(); + SkipStepConditions skipStepConditions = new SkipStepConditions(); num3 = 6; List list147 = new List(num3); CollectionsMarshal.SetCount(list147, num3); @@ -49356,12 +49744,14 @@ public static class AssemblyQuestLoader index3++; span6[index3] = null; index3++; - span6[index3] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list147; - reference112 = questStep14; + span6[index3] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); + skipStepConditions.CompletionQuestVariablesFlags = list147; + skipConditions3.StepIf = skipStepConditions; + obj103.SkipConditions = skipConditions3; + reference112 = obj103; index2++; ref QuestStep reference113 = ref span3[index2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1003947u, new Vector3(-369.19202f, -57.079987f, 140.0625f), 145); + QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1004506u, new Vector3(-416.64764f, -54.15f, 96.42175f), 145); index3 = 6; List list148 = new List(index3); CollectionsMarshal.SetCount(list148, index3); @@ -49377,49 +49767,112 @@ public static class AssemblyQuestLoader num3++; span6[num3] = null; num3++; - span6[num3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list148; - reference113 = questStep15; - obj99.Steps = list142; - reference107 = obj99; + span6[num3] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); + questStep12.CompletionQuestVariablesFlags = list148; + reference113 = questStep12; + index2++; + ref QuestStep reference114 = ref span3[index2]; + QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1004325u, new Vector3(-402.45673f, -57.07999f, 131.82263f), 145); + num3 = 6; + List list149 = new List(num3); + CollectionsMarshal.SetCount(list149, num3); + span6 = CollectionsMarshal.AsSpan(list149); + index3 = 0; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + questStep13.CompletionQuestVariablesFlags = list149; + reference114 = questStep13; + index2++; + ref QuestStep reference115 = ref span3[index2]; + QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1004556u, new Vector3(-394.85773f, -57.30005f, 173.32715f), 145); + index3 = 6; + List list150 = new List(index3); + CollectionsMarshal.SetCount(list150, index3); + span6 = CollectionsMarshal.AsSpan(list150); + num3 = 0; + span6[num3] = null; + num3++; + span6[num3] = null; + num3++; + span6[num3] = null; + num3++; + span6[num3] = null; + num3++; + span6[num3] = null; + num3++; + span6[num3] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); + questStep14.CompletionQuestVariablesFlags = list150; + reference115 = questStep14; + index2++; + ref QuestStep reference116 = ref span3[index2]; + QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1003947u, new Vector3(-369.19202f, -57.079987f, 140.0625f), 145); + num3 = 6; + List list151 = new List(num3); + CollectionsMarshal.SetCount(list151, num3); + span6 = CollectionsMarshal.AsSpan(list151); + index3 = 0; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + questStep15.CompletionQuestVariablesFlags = list151; + reference116 = questStep15; + obj102.Steps = list145; + reference110 = obj102; num++; - ref QuestSequence reference114 = ref span2[num]; - QuestSequence obj101 = new QuestSequence + ref QuestSequence reference117 = ref span2[num]; + QuestSequence obj104 = new QuestSequence { Sequence = 2 }; index2 = 1; - List list149 = new List(index2); - CollectionsMarshal.SetCount(list149, index2); - span3 = CollectionsMarshal.AsSpan(list149); + List list152 = new List(index2); + CollectionsMarshal.SetCount(list152, index2); + span3 = CollectionsMarshal.AsSpan(list152); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1004324u, new Vector3(-377.6761f, -55.754112f, 108.17114f), 145); - obj101.Steps = list149; - reference114 = obj101; + obj104.Steps = list152; + reference117 = obj104; num++; - ref QuestSequence reference115 = ref span2[num]; - QuestSequence obj102 = new QuestSequence + ref QuestSequence reference118 = ref span2[num]; + QuestSequence obj105 = new QuestSequence { Sequence = 3 }; num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - span3 = CollectionsMarshal.AsSpan(list150); + List list153 = new List(num2); + CollectionsMarshal.SetCount(list153, num2); + span3 = CollectionsMarshal.AsSpan(list153); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1004330u, new Vector3(-221.45422f, -30.074055f, 200.15259f), 145); - obj102.Steps = list150; - reference115 = obj102; + obj105.Steps = list153; + reference118 = obj105; num++; - ref QuestSequence reference116 = ref span2[num]; - QuestSequence obj103 = new QuestSequence + ref QuestSequence reference119 = ref span2[num]; + QuestSequence obj106 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 6; - List list151 = new List(index2); - CollectionsMarshal.SetCount(list151, index2); - span3 = CollectionsMarshal.AsSpan(list151); + List list154 = new List(index2); + CollectionsMarshal.SetCount(list154, index2); + span3 = CollectionsMarshal.AsSpan(list154); num2 = 0; span3[num2] = new QuestStep(EInteractionType.UseItem, null, null, 145) { @@ -49442,135 +49895,135 @@ public static class AssemblyQuestLoader }; num2++; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1005116u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj103.Steps = list151; - reference116 = obj103; - questRoot16.QuestSequence = list140; + obj106.Steps = list154; + reference119 = obj106; + questRoot16.QuestSequence = list143; AddQuest(questId16, questRoot16); QuestId questId17 = new QuestId(575); QuestRoot questRoot17 = new QuestRoot(); num = 1; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - span = CollectionsMarshal.AsSpan(list152); + List list155 = new List(num); + CollectionsMarshal.SetCount(list155, num); + span = CollectionsMarshal.AsSpan(list155); index = 0; span[index] = "Cacahuetes"; - questRoot17.Author = list152; + questRoot17.Author = list155; index = 2; - List list153 = new List(index); - CollectionsMarshal.SetCount(list153, index); - span2 = CollectionsMarshal.AsSpan(list153); + List list156 = new List(index); + CollectionsMarshal.SetCount(list156, index); + span2 = CollectionsMarshal.AsSpan(list156); num = 0; - ref QuestSequence reference117 = ref span2[num]; - QuestSequence obj104 = new QuestSequence + ref QuestSequence reference120 = ref span2[num]; + QuestSequence obj107 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - span3 = CollectionsMarshal.AsSpan(list154); + List list157 = new List(num2); + CollectionsMarshal.SetCount(list157, num2); + span3 = CollectionsMarshal.AsSpan(list157); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1002281u, new Vector3(-115.739685f, 41.600117f, 118.88306f), 131); - obj104.Steps = list154; - reference117 = obj104; + obj107.Steps = list157; + reference120 = obj107; num++; - ref QuestSequence reference118 = ref span2[num]; - QuestSequence obj105 = new QuestSequence + ref QuestSequence reference121 = ref span2[num]; + QuestSequence obj108 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list155 = new List(index2); - CollectionsMarshal.SetCount(list155, index2); - span3 = CollectionsMarshal.AsSpan(list155); + List list158 = new List(index2); + CollectionsMarshal.SetCount(list158, index2); + span3 = CollectionsMarshal.AsSpan(list158); num2 = 0; - ref QuestStep reference119 = ref span3[num2]; + ref QuestStep reference122 = ref span3[num2]; QuestStep questStep16 = new QuestStep(EInteractionType.CompleteQuest, 1002299u, new Vector3(-98.8938f, 40.200146f, 120.83618f), 131); - num3 = 1; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - span4 = CollectionsMarshal.AsSpan(list156); - index3 = 0; - span4[index3] = new DialogueChoice + index3 = 1; + List list159 = new List(index3); + CollectionsMarshal.SetCount(list159, index3); + span4 = CollectionsMarshal.AsSpan(list159); + num3 = 0; + span4[num3] = new DialogueChoice { Type = EDialogChoiceType.YesNo, Prompt = new ExcelRef("TEXT_CLSALC011_00575_Q1_1") }; - questStep16.DialogueChoices = list156; - reference119 = questStep16; - obj105.Steps = list155; - reference118 = obj105; - questRoot17.QuestSequence = list153; + questStep16.DialogueChoices = list159; + reference122 = questStep16; + obj108.Steps = list158; + reference121 = obj108; + questRoot17.QuestSequence = list156; AddQuest(questId17, questRoot17); QuestId questId18 = new QuestId(576); QuestRoot questRoot18 = new QuestRoot(); num = 1; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - span = CollectionsMarshal.AsSpan(list157); + List list160 = new List(num); + CollectionsMarshal.SetCount(list160, num); + span = CollectionsMarshal.AsSpan(list160); index = 0; span[index] = "liza"; - questRoot18.Author = list157; + questRoot18.Author = list160; index = 2; - List list158 = new List(index); - CollectionsMarshal.SetCount(list158, index); - span2 = CollectionsMarshal.AsSpan(list158); + List list161 = new List(index); + CollectionsMarshal.SetCount(list161, index); + span2 = CollectionsMarshal.AsSpan(list161); num = 0; - ref QuestSequence reference120 = ref span2[num]; - QuestSequence obj106 = new QuestSequence + ref QuestSequence reference123 = ref span2[num]; + QuestSequence obj109 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - span3 = CollectionsMarshal.AsSpan(list159); + List list162 = new List(num2); + CollectionsMarshal.SetCount(list162, num2); + span3 = CollectionsMarshal.AsSpan(list162); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1011030u, new Vector3(7.522644f, -1.7667189E-06f, -68.589294f), 388); - obj106.Steps = list159; - reference120 = obj106; + obj109.Steps = list162; + reference123 = obj109; num++; - ref QuestSequence reference121 = ref span2[num]; - QuestSequence obj107 = new QuestSequence + ref QuestSequence reference124 = ref span2[num]; + QuestSequence obj110 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list160 = new List(index2); - CollectionsMarshal.SetCount(list160, index2); - span3 = CollectionsMarshal.AsSpan(list160); + List list163 = new List(index2); + CollectionsMarshal.SetCount(list163, index2); + span3 = CollectionsMarshal.AsSpan(list163); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1010472u, new Vector3(-53.26935f, 0.3093315f, 69.41321f), 148) { AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows }; - obj107.Steps = list160; - reference121 = obj107; - questRoot18.QuestSequence = list158; + obj110.Steps = list163; + reference124 = obj110; + questRoot18.QuestSequence = list161; AddQuest(questId18, questRoot18); QuestId questId19 = new QuestId(585); QuestRoot questRoot19 = new QuestRoot(); num = 1; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - span = CollectionsMarshal.AsSpan(list161); + List list164 = new List(num); + CollectionsMarshal.SetCount(list164, num); + span = CollectionsMarshal.AsSpan(list164); index = 0; span[index] = "JerryWester"; - questRoot19.Author = list161; + questRoot19.Author = list164; index = 5; - List list162 = new List(index); - CollectionsMarshal.SetCount(list162, index); - span2 = CollectionsMarshal.AsSpan(list162); + List list165 = new List(index); + CollectionsMarshal.SetCount(list165, index); + span2 = CollectionsMarshal.AsSpan(list165); num = 0; - ref QuestSequence reference122 = ref span2[num]; - QuestSequence obj108 = new QuestSequence + ref QuestSequence reference125 = ref span2[num]; + QuestSequence obj111 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - span3 = CollectionsMarshal.AsSpan(list163); + List list166 = new List(num2); + CollectionsMarshal.SetCount(list166, num2); + span3 = CollectionsMarshal.AsSpan(list166); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) { @@ -49584,18 +50037,18 @@ public static class AssemblyQuestLoader } } }; - obj108.Steps = list163; - reference122 = obj108; + obj111.Steps = list166; + reference125 = obj111; num++; - ref QuestSequence reference123 = ref span2[num]; - QuestSequence obj109 = new QuestSequence + ref QuestSequence reference126 = ref span2[num]; + QuestSequence obj112 = new QuestSequence { Sequence = 1 }; index2 = 2; - List list164 = new List(index2); - CollectionsMarshal.SetCount(list164, index2); - span3 = CollectionsMarshal.AsSpan(list164); + List list167 = new List(index2); + CollectionsMarshal.SetCount(list167, index2); + span3 = CollectionsMarshal.AsSpan(list167); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) { @@ -49604,18 +50057,18 @@ public static class AssemblyQuestLoader }; num2++; span3[num2] = new QuestStep(EInteractionType.Interact, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139); - obj109.Steps = list164; - reference123 = obj109; + obj112.Steps = list167; + reference126 = obj112; num++; - ref QuestSequence reference124 = ref span2[num]; - QuestSequence obj110 = new QuestSequence + ref QuestSequence reference127 = ref span2[num]; + QuestSequence obj113 = new QuestSequence { Sequence = 2 }; num2 = 3; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - span3 = CollectionsMarshal.AsSpan(list165); + List list168 = new List(num2); + CollectionsMarshal.SetCount(list168, num2); + span3 = CollectionsMarshal.AsSpan(list168); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1004349u, new Vector3(444.99866f, -4.487237f, -453.02515f), 156) { @@ -49630,35 +50083,35 @@ public static class AssemblyQuestLoader StopDistance = 1f, Fly = true }; - obj110.Steps = list165; - reference124 = obj110; + obj113.Steps = list168; + reference127 = obj113; num++; - ref QuestSequence reference125 = ref span2[num]; - QuestSequence obj111 = new QuestSequence + ref QuestSequence reference128 = ref span2[num]; + QuestSequence obj114 = new QuestSequence { Sequence = 3 }; index2 = 1; - List list166 = new List(index2); - CollectionsMarshal.SetCount(list166, index2); - span3 = CollectionsMarshal.AsSpan(list166); + List list169 = new List(index2); + CollectionsMarshal.SetCount(list169, index2); + span3 = CollectionsMarshal.AsSpan(list169); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 2005571u, new Vector3(442.8015f, -19.516357f, -291.43213f), 156) { Fly = true }; - obj111.Steps = list166; - reference125 = obj111; + obj114.Steps = list169; + reference128 = obj114; num++; - ref QuestSequence reference126 = ref span2[num]; - QuestSequence obj112 = new QuestSequence + ref QuestSequence reference129 = ref span2[num]; + QuestSequence obj115 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 2; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - span3 = CollectionsMarshal.AsSpan(list167); + List list170 = new List(num2); + CollectionsMarshal.SetCount(list170, num2); + span3 = CollectionsMarshal.AsSpan(list170); index2 = 0; span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) { @@ -49670,33 +50123,33 @@ public static class AssemblyQuestLoader { NextQuestId = new QuestId(586) }; - obj112.Steps = list167; - reference126 = obj112; - questRoot19.QuestSequence = list162; + obj115.Steps = list170; + reference129 = obj115; + questRoot19.QuestSequence = list165; AddQuest(questId19, questRoot19); QuestId questId20 = new QuestId(586); QuestRoot questRoot20 = new QuestRoot(); num = 1; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - span = CollectionsMarshal.AsSpan(list168); + List list171 = new List(num); + CollectionsMarshal.SetCount(list171, num); + span = CollectionsMarshal.AsSpan(list171); index = 0; span[index] = "JerryWester"; - questRoot20.Author = list168; + questRoot20.Author = list171; index = 3; - List list169 = new List(index); - CollectionsMarshal.SetCount(list169, index); - span2 = CollectionsMarshal.AsSpan(list169); + List list172 = new List(index); + CollectionsMarshal.SetCount(list172, index); + span2 = CollectionsMarshal.AsSpan(list172); num = 0; - ref QuestSequence reference127 = ref span2[num]; - QuestSequence obj113 = new QuestSequence + ref QuestSequence reference130 = ref span2[num]; + QuestSequence obj116 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list170 = new List(index2); - CollectionsMarshal.SetCount(list170, index2); - span3 = CollectionsMarshal.AsSpan(list170); + List list173 = new List(index2); + CollectionsMarshal.SetCount(list173, index2); + span3 = CollectionsMarshal.AsSpan(list173); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) { @@ -49709,18 +50162,18 @@ public static class AssemblyQuestLoader } } }; - obj113.Steps = list170; - reference127 = obj113; + obj116.Steps = list173; + reference130 = obj116; num++; - ref QuestSequence reference128 = ref span2[num]; - QuestSequence obj114 = new QuestSequence + ref QuestSequence reference131 = ref span2[num]; + QuestSequence obj117 = new QuestSequence { Sequence = 1 }; num2 = 2; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - span3 = CollectionsMarshal.AsSpan(list171); + List list174 = new List(num2); + CollectionsMarshal.SetCount(list174, num2); + span3 = CollectionsMarshal.AsSpan(list174); index2 = 0; span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(465.77087f, 367.76678f, -658.1668f), 155) { @@ -49736,18 +50189,18 @@ public static class AssemblyQuestLoader Enabled = true } }; - obj114.Steps = list171; - reference128 = obj114; + obj117.Steps = list174; + reference131 = obj117; num++; - ref QuestSequence reference129 = ref span2[num]; - QuestSequence obj115 = new QuestSequence + ref QuestSequence reference132 = ref span2[num]; + QuestSequence obj118 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 2; - List list172 = new List(index2); - CollectionsMarshal.SetCount(list172, index2); - span3 = CollectionsMarshal.AsSpan(list172); + List list175 = new List(index2); + CollectionsMarshal.SetCount(list175, index2); + span3 = CollectionsMarshal.AsSpan(list175); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) { @@ -49759,33 +50212,33 @@ public static class AssemblyQuestLoader { NextQuestId = new QuestId(588) }; - obj115.Steps = list172; - reference129 = obj115; - questRoot20.QuestSequence = list169; + obj118.Steps = list175; + reference132 = obj118; + questRoot20.QuestSequence = list172; AddQuest(questId20, questRoot20); QuestId questId21 = new QuestId(588); QuestRoot questRoot21 = new QuestRoot(); num = 1; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - span = CollectionsMarshal.AsSpan(list173); + List list176 = new List(num); + CollectionsMarshal.SetCount(list176, num); + span = CollectionsMarshal.AsSpan(list176); index = 0; span[index] = "JerryWester"; - questRoot21.Author = list173; + questRoot21.Author = list176; index = 5; - List list174 = new List(index); - CollectionsMarshal.SetCount(list174, index); - span2 = CollectionsMarshal.AsSpan(list174); + List list177 = new List(index); + CollectionsMarshal.SetCount(list177, index); + span2 = CollectionsMarshal.AsSpan(list177); num = 0; - ref QuestSequence reference130 = ref span2[num]; - QuestSequence obj116 = new QuestSequence + ref QuestSequence reference133 = ref span2[num]; + QuestSequence obj119 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - span3 = CollectionsMarshal.AsSpan(list175); + List list178 = new List(num2); + CollectionsMarshal.SetCount(list178, num2); + span3 = CollectionsMarshal.AsSpan(list178); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) { @@ -49798,51 +50251,28 @@ public static class AssemblyQuestLoader } } }; - obj116.Steps = list175; - reference130 = obj116; + obj119.Steps = list178; + reference133 = obj119; num++; - ref QuestSequence reference131 = ref span2[num]; - QuestSequence obj117 = new QuestSequence + ref QuestSequence reference134 = ref span2[num]; + QuestSequence obj120 = new QuestSequence { Sequence = 1 }; index2 = 4; - List list176 = new List(index2); - CollectionsMarshal.SetCount(list176, index2); - span3 = CollectionsMarshal.AsSpan(list176); + List list179 = new List(index2); + CollectionsMarshal.SetCount(list179, index2); + span3 = CollectionsMarshal.AsSpan(list179); num2 = 0; - ref QuestStep reference132 = ref span3[num2]; - QuestStep obj118 = new QuestStep(EInteractionType.Interact, 1011920u, new Vector3(519.8595f, -51.071976f, 88.24292f), 398) + ref QuestStep reference135 = ref span3[num2]; + QuestStep obj121 = new QuestStep(EInteractionType.Interact, 1011920u, new Vector3(519.8595f, -51.071976f, 88.24292f), 398) { AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather }; - index3 = 6; - List list177 = new List(index3); - CollectionsMarshal.SetCount(list177, index3); - span6 = CollectionsMarshal.AsSpan(list177); - num3 = 0; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = null; - num3++; - span6[num3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj118.CompletionQuestVariablesFlags = list177; - reference132 = obj118; - num2++; - span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(502.8876f, -48.989826f, 34.93356f), 398); - num2++; - ref QuestStep reference133 = ref span3[num2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1011919u, new Vector3(497.82556f, -49.790283f, 11.825684f), 398); num3 = 6; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - span6 = CollectionsMarshal.AsSpan(list178); + List list180 = new List(num3); + CollectionsMarshal.SetCount(list180, num3); + span6 = CollectionsMarshal.AsSpan(list180); index3 = 0; span6[index3] = null; index3++; @@ -49854,16 +50284,18 @@ public static class AssemblyQuestLoader index3++; span6[index3] = null; index3++; - span6[index3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list178; - reference133 = questStep17; + span6[index3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + obj121.CompletionQuestVariablesFlags = list180; + reference135 = obj121; num2++; - ref QuestStep reference134 = ref span3[num2]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1011921u, new Vector3(453.36072f, -51.141403f, 58.579346f), 398); + span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(502.8876f, -48.989826f, 34.93356f), 398); + num2++; + ref QuestStep reference136 = ref span3[num2]; + QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1011919u, new Vector3(497.82556f, -49.790283f, 11.825684f), 398); index3 = 6; - List list179 = new List(index3); - CollectionsMarshal.SetCount(list179, index3); - span6 = CollectionsMarshal.AsSpan(list179); + List list181 = new List(index3); + CollectionsMarshal.SetCount(list181, index3); + span6 = CollectionsMarshal.AsSpan(list181); num3 = 0; span6[num3] = null; num3++; @@ -49875,21 +50307,42 @@ public static class AssemblyQuestLoader num3++; span6[num3] = null; num3++; - span6[num3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list179; - reference134 = questStep18; - obj117.Steps = list176; - reference131 = obj117; + span6[num3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + questStep17.CompletionQuestVariablesFlags = list181; + reference136 = questStep17; + num2++; + ref QuestStep reference137 = ref span3[num2]; + QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1011921u, new Vector3(453.36072f, -51.141403f, 58.579346f), 398); + num3 = 6; + List list182 = new List(num3); + CollectionsMarshal.SetCount(list182, num3); + span6 = CollectionsMarshal.AsSpan(list182); + index3 = 0; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = null; + index3++; + span6[index3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); + questStep18.CompletionQuestVariablesFlags = list182; + reference137 = questStep18; + obj120.Steps = list179; + reference134 = obj120; num++; - ref QuestSequence reference135 = ref span2[num]; - QuestSequence obj119 = new QuestSequence + ref QuestSequence reference138 = ref span2[num]; + QuestSequence obj122 = new QuestSequence { Sequence = 2 }; num2 = 2; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - span3 = CollectionsMarshal.AsSpan(list180); + List list183 = new List(num2); + CollectionsMarshal.SetCount(list183, num2); + span3 = CollectionsMarshal.AsSpan(list183); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 2005574u, new Vector3(447.07397f, -47.715027f, -283.68048f), 398) { @@ -49915,18 +50368,18 @@ public static class AssemblyQuestLoader } } }; - obj119.Steps = list180; - reference135 = obj119; + obj122.Steps = list183; + reference138 = obj122; num++; - ref QuestSequence reference136 = ref span2[num]; - QuestSequence obj120 = new QuestSequence + ref QuestSequence reference139 = ref span2[num]; + QuestSequence obj123 = new QuestSequence { Sequence = 3 }; index2 = 3; - List list181 = new List(index2); - CollectionsMarshal.SetCount(list181, index2); - span3 = CollectionsMarshal.AsSpan(list181); + List list184 = new List(index2); + CollectionsMarshal.SetCount(list184, index2); + span3 = CollectionsMarshal.AsSpan(list184); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(423.53406f, -26.253891f, -550.60297f), 398) { @@ -49939,32 +50392,32 @@ public static class AssemblyQuestLoader } }; num2++; - ref QuestStep reference137 = ref span3[num2]; - QuestStep obj121 = new QuestStep(EInteractionType.Combat, 2005573u, new Vector3(441.94702f, -21.530518f, -545.03705f), 398) + ref QuestStep reference140 = ref span3[num2]; + QuestStep obj124 = new QuestStep(EInteractionType.Combat, 2005573u, new Vector3(441.94702f, -21.530518f, -545.03705f), 398) { StopDistance = 0.25f, Fly = true, ItemId = 2001590u, EnemySpawnType = EEnemySpawnType.AfterItemUse }; - num3 = 1; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - span7 = CollectionsMarshal.AsSpan(list182); - index3 = 0; - span7[index3] = 4373u; - obj121.KillEnemyDataIds = list182; - obj121.SkipConditions = new SkipConditions + index3 = 1; + List list185 = new List(index3); + CollectionsMarshal.SetCount(list185, index3); + span7 = CollectionsMarshal.AsSpan(list185); + num3 = 0; + span7[num3] = 4373u; + obj124.KillEnemyDataIds = list185; + obj124.SkipConditions = new SkipConditions { StepIf = new SkipStepConditions { Flying = ELockedSkipCondition.Locked } }; - reference137 = obj121; + reference140 = obj124; num2++; - ref QuestStep reference138 = ref span3[num2]; - QuestStep obj122 = new QuestStep(EInteractionType.Combat, 2005573u, new Vector3(441.94702f, -21.530518f, -545.03705f), 398) + ref QuestStep reference141 = ref span3[num2]; + QuestStep obj125 = new QuestStep(EInteractionType.Combat, 2005573u, new Vector3(441.94702f, -21.530518f, -545.03705f), 398) { StopDistance = 0.25f, DisableNavmesh = true, @@ -49972,33 +50425,33 @@ public static class AssemblyQuestLoader ItemId = 2001590u, EnemySpawnType = EEnemySpawnType.AfterItemUse }; - index3 = 1; - List list183 = new List(index3); - CollectionsMarshal.SetCount(list183, index3); - span7 = CollectionsMarshal.AsSpan(list183); - num3 = 0; - span7[num3] = 4373u; - obj122.KillEnemyDataIds = list183; - obj122.SkipConditions = new SkipConditions + num3 = 1; + List list186 = new List(num3); + CollectionsMarshal.SetCount(list186, num3); + span7 = CollectionsMarshal.AsSpan(list186); + index3 = 0; + span7[index3] = 4373u; + obj125.KillEnemyDataIds = list186; + obj125.SkipConditions = new SkipConditions { StepIf = new SkipStepConditions { Flying = ELockedSkipCondition.Unlocked } }; - reference138 = obj122; - obj120.Steps = list181; - reference136 = obj120; + reference141 = obj125; + obj123.Steps = list184; + reference139 = obj123; num++; - ref QuestSequence reference139 = ref span2[num]; - QuestSequence obj123 = new QuestSequence + ref QuestSequence reference142 = ref span2[num]; + QuestSequence obj126 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 2; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - span3 = CollectionsMarshal.AsSpan(list184); + List list187 = new List(num2); + CollectionsMarshal.SetCount(list187, num2); + span3 = CollectionsMarshal.AsSpan(list187); index2 = 0; span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) { @@ -50010,105 +50463,121 @@ public static class AssemblyQuestLoader { NextQuestId = new QuestId(596) }; - obj123.Steps = list184; - reference139 = obj123; - questRoot21.QuestSequence = list174; + obj126.Steps = list187; + reference142 = obj126; + questRoot21.QuestSequence = list177; AddQuest(questId21, questRoot21); QuestId questId22 = new QuestId(594); QuestRoot questRoot22 = new QuestRoot(); num = 1; - List list185 = new List(num); - CollectionsMarshal.SetCount(list185, num); - span = CollectionsMarshal.AsSpan(list185); + List list188 = new List(num); + CollectionsMarshal.SetCount(list188, num); + span = CollectionsMarshal.AsSpan(list188); index = 0; span[index] = "liza"; - questRoot22.Author = list185; + questRoot22.Author = list188; index = 2; - List list186 = new List(index); - CollectionsMarshal.SetCount(list186, index); - span2 = CollectionsMarshal.AsSpan(list186); + List list189 = new List(index); + CollectionsMarshal.SetCount(list189, index); + span2 = CollectionsMarshal.AsSpan(list189); num = 0; - ref QuestSequence reference140 = ref span2[num]; - QuestSequence obj124 = new QuestSequence + ref QuestSequence reference143 = ref span2[num]; + QuestSequence obj127 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list187 = new List(index2); - CollectionsMarshal.SetCount(list187, index2); - span3 = CollectionsMarshal.AsSpan(list187); + List list190 = new List(index2); + CollectionsMarshal.SetCount(list190, index2); + span3 = CollectionsMarshal.AsSpan(list190); num2 = 0; - ref QuestStep reference141 = ref span3[num2]; + ref QuestStep reference144 = ref span3[num2]; QuestStep questStep19 = new QuestStep(EInteractionType.AcceptQuest, 1003987u, new Vector3(33.37146f, 4.0999947f, -151.99518f), 182); - num3 = 1; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - span4 = CollectionsMarshal.AsSpan(list188); - index3 = 0; - span4[index3] = new DialogueChoice + index3 = 1; + List list191 = new List(index3); + CollectionsMarshal.SetCount(list191, index3); + span4 = CollectionsMarshal.AsSpan(list191); + num3 = 0; + span4[num3] = new DialogueChoice { Type = EDialogChoiceType.List, ExcelSheet = "opening/OpeningUldah", Prompt = new ExcelRef("TEXT_OPENINGULDAH_FST_SYSTEM_Q_01"), Answer = new ExcelRef("TEXT_OPENINGULDAH_FST_SYSTEM_A_01") }; - questStep19.DialogueChoices = list188; - reference141 = questStep19; - obj124.Steps = list187; - reference140 = obj124; + questStep19.DialogueChoices = list191; + reference144 = questStep19; + obj127.Steps = list190; + reference143 = obj127; num++; - ref QuestSequence reference142 = ref span2[num]; - QuestSequence obj125 = new QuestSequence + ref QuestSequence reference145 = ref span2[num]; + QuestSequence obj128 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - span3 = CollectionsMarshal.AsSpan(list189); + List list192 = new List(num2); + CollectionsMarshal.SetCount(list192, num2); + span3 = CollectionsMarshal.AsSpan(list192); index2 = 0; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1003988u, new Vector3(21.072632f, 7.45f, -78.84338f), 182); - obj125.Steps = list189; - reference142 = obj125; - questRoot22.QuestSequence = list186; + obj128.Steps = list192; + reference145 = obj128; + questRoot22.QuestSequence = list189; AddQuest(questId22, questRoot22); QuestId questId23 = new QuestId(595); QuestRoot questRoot23 = new QuestRoot(); num = 1; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - span = CollectionsMarshal.AsSpan(list190); + List list193 = new List(num); + CollectionsMarshal.SetCount(list193, num); + span = CollectionsMarshal.AsSpan(list193); index = 0; span[index] = "liza"; - questRoot23.Author = list190; + questRoot23.Author = list193; index = 2; - List list191 = new List(index); - CollectionsMarshal.SetCount(list191, index); - span2 = CollectionsMarshal.AsSpan(list191); + List list194 = new List(index); + CollectionsMarshal.SetCount(list194, index); + span2 = CollectionsMarshal.AsSpan(list194); num = 0; - ref QuestSequence reference143 = ref span2[num]; - QuestSequence obj126 = new QuestSequence + ref QuestSequence reference146 = ref span2[num]; + QuestSequence obj129 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list192 = new List(index2); - CollectionsMarshal.SetCount(list192, index2); - span3 = CollectionsMarshal.AsSpan(list192); + List list195 = new List(index2); + CollectionsMarshal.SetCount(list195, index2); + span3 = CollectionsMarshal.AsSpan(list195); num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130); - obj126.Steps = list192; - reference143 = obj126; + ref QuestStep reference147 = ref span3[num2]; + QuestStep obj130 = new QuestStep(EInteractionType.AcceptQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) + { + AetheryteShortcut = EAetheryteLocation.Uldah + }; + SkipConditions skipConditions4 = new SkipConditions(); + SkipStepConditions skipStepConditions2 = new SkipStepConditions(); + num3 = 1; + List list196 = new List(num3); + CollectionsMarshal.SetCount(list196, num3); + span8 = CollectionsMarshal.AsSpan(list196); + index3 = 0; + span8[index3] = 130; + skipStepConditions2.NotInTerritory = list196; + skipConditions4.StepIf = skipStepConditions2; + obj130.SkipConditions = skipConditions4; + reference147 = obj130; + obj129.Steps = list195; + reference146 = obj129; num++; - ref QuestSequence reference144 = ref span2[num]; - QuestSequence obj127 = new QuestSequence + ref QuestSequence reference148 = ref span2[num]; + QuestSequence obj131 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 4; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - span3 = CollectionsMarshal.AsSpan(list193); + List list197 = new List(num2); + CollectionsMarshal.SetCount(list197, num2); + span3 = CollectionsMarshal.AsSpan(list197); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1001834u, new Vector3(-23.331116f, 10f, -43.442444f), 130) { @@ -50133,33 +50602,33 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahGateOfNald } }; - obj127.Steps = list193; - reference144 = obj127; - questRoot23.QuestSequence = list191; + obj131.Steps = list197; + reference148 = obj131; + questRoot23.QuestSequence = list194; AddQuest(questId23, questRoot23); QuestId questId24 = new QuestId(596); QuestRoot questRoot24 = new QuestRoot(); num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - span = CollectionsMarshal.AsSpan(list194); + List list198 = new List(num); + CollectionsMarshal.SetCount(list198, num); + span = CollectionsMarshal.AsSpan(list198); index = 0; span[index] = "JerryWester"; - questRoot24.Author = list194; + questRoot24.Author = list198; index = 10; - List list195 = new List(index); - CollectionsMarshal.SetCount(list195, index); - span2 = CollectionsMarshal.AsSpan(list195); + List list199 = new List(index); + CollectionsMarshal.SetCount(list199, index); + span2 = CollectionsMarshal.AsSpan(list199); num = 0; - ref QuestSequence reference145 = ref span2[num]; - QuestSequence obj128 = new QuestSequence + ref QuestSequence reference149 = ref span2[num]; + QuestSequence obj132 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list196 = new List(index2); - CollectionsMarshal.SetCount(list196, index2); - span3 = CollectionsMarshal.AsSpan(list196); + List list200 = new List(index2); + CollectionsMarshal.SetCount(list200, index2); + span3 = CollectionsMarshal.AsSpan(list200); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) { @@ -50172,36 +50641,36 @@ public static class AssemblyQuestLoader } } }; - obj128.Steps = list196; - reference145 = obj128; + obj132.Steps = list200; + reference149 = obj132; num++; - ref QuestSequence reference146 = ref span2[num]; - QuestSequence obj129 = new QuestSequence + ref QuestSequence reference150 = ref span2[num]; + QuestSequence obj133 = new QuestSequence { Sequence = 1 }; num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - span3 = CollectionsMarshal.AsSpan(list197); + List list201 = new List(num2); + CollectionsMarshal.SetCount(list201, num2); + span3 = CollectionsMarshal.AsSpan(list201); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1013282u, new Vector3(304.1886f, -36.405907f, 332.69226f), 138) { Fly = true, AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport }; - obj129.Steps = list197; - reference146 = obj129; + obj133.Steps = list201; + reference150 = obj133; num++; - ref QuestSequence reference147 = ref span2[num]; - QuestSequence obj130 = new QuestSequence + ref QuestSequence reference151 = ref span2[num]; + QuestSequence obj134 = new QuestSequence { Sequence = 2 }; index2 = 2; - List list198 = new List(index2); - CollectionsMarshal.SetCount(list198, index2); - span3 = CollectionsMarshal.AsSpan(list198); + List list202 = new List(index2); + CollectionsMarshal.SetCount(list202, index2); + span3 = CollectionsMarshal.AsSpan(list202); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1003584u, new Vector3(317.43335f, -36.325005f, 352.86487f), 138) { @@ -50209,182 +50678,182 @@ public static class AssemblyQuestLoader }; num2++; span3[num2] = new QuestStep(EInteractionType.Interact, 1013287u, new Vector3(-297.6883f, -41.69223f, 408.5603f), 138); - obj130.Steps = list198; - reference147 = obj130; + obj134.Steps = list202; + reference151 = obj134; num++; - ref QuestSequence reference148 = ref span2[num]; - QuestSequence obj131 = new QuestSequence + ref QuestSequence reference152 = ref span2[num]; + QuestSequence obj135 = new QuestSequence { Sequence = 3 }; num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - span3 = CollectionsMarshal.AsSpan(list199); + List list203 = new List(num2); + CollectionsMarshal.SetCount(list203, num2); + span3 = CollectionsMarshal.AsSpan(list203); index2 = 0; - ref QuestStep reference149 = ref span3[index2]; - QuestStep obj132 = new QuestStep(EInteractionType.Combat, 1013292u, new Vector3(-229.8772f, -37.628788f, 545.15906f), 138) + ref QuestStep reference153 = ref span3[index2]; + QuestStep obj136 = new QuestStep(EInteractionType.Combat, 1013292u, new Vector3(-229.8772f, -37.628788f, 545.15906f), 138) { Fly = true, EnemySpawnType = EEnemySpawnType.AfterInteraction }; index3 = 2; - List list200 = new List(index3); - CollectionsMarshal.SetCount(list200, index3); - span7 = CollectionsMarshal.AsSpan(list200); + List list204 = new List(index3); + CollectionsMarshal.SetCount(list204, index3); + span7 = CollectionsMarshal.AsSpan(list204); num3 = 0; span7[num3] = 4361u; num3++; span7[num3] = 4362u; - obj132.KillEnemyDataIds = list200; - reference149 = obj132; - obj131.Steps = list199; - reference148 = obj131; + obj136.KillEnemyDataIds = list204; + reference153 = obj136; + obj135.Steps = list203; + reference152 = obj135; num++; - ref QuestSequence reference150 = ref span2[num]; - QuestSequence obj133 = new QuestSequence + ref QuestSequence reference154 = ref span2[num]; + QuestSequence obj137 = new QuestSequence { Sequence = 4 }; index2 = 1; - List list201 = new List(index2); - CollectionsMarshal.SetCount(list201, index2); - span3 = CollectionsMarshal.AsSpan(list201); + List list205 = new List(index2); + CollectionsMarshal.SetCount(list205, index2); + span3 = CollectionsMarshal.AsSpan(list205); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1013292u, new Vector3(-229.8772f, -37.628788f, 545.15906f), 138); - obj133.Steps = list201; - reference150 = obj133; + obj137.Steps = list205; + reference154 = obj137; num++; - ref QuestSequence reference151 = ref span2[num]; - QuestSequence obj134 = new QuestSequence + ref QuestSequence reference155 = ref span2[num]; + QuestSequence obj138 = new QuestSequence { Sequence = 5 }; num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - span3 = CollectionsMarshal.AsSpan(list202); + List list206 = new List(num2); + CollectionsMarshal.SetCount(list206, num2); + span3 = CollectionsMarshal.AsSpan(list206); index2 = 0; - ref QuestStep reference152 = ref span3[index2]; - QuestStep obj135 = new QuestStep(EInteractionType.Combat, 1013334u, new Vector3(-276.60034f, -37.47169f, 586.96875f), 138) + ref QuestStep reference156 = ref span3[index2]; + QuestStep obj139 = new QuestStep(EInteractionType.Combat, 1013334u, new Vector3(-276.60034f, -37.47169f, 586.96875f), 138) { Fly = true, EnemySpawnType = EEnemySpawnType.AfterInteraction }; num3 = 2; - List list203 = new List(num3); - CollectionsMarshal.SetCount(list203, num3); - span7 = CollectionsMarshal.AsSpan(list203); + List list207 = new List(num3); + CollectionsMarshal.SetCount(list207, num3); + span7 = CollectionsMarshal.AsSpan(list207); index3 = 0; span7[index3] = 4361u; index3++; span7[index3] = 4362u; - obj135.KillEnemyDataIds = list203; - reference152 = obj135; - obj134.Steps = list202; - reference151 = obj134; + obj139.KillEnemyDataIds = list207; + reference156 = obj139; + obj138.Steps = list206; + reference155 = obj138; num++; - ref QuestSequence reference153 = ref span2[num]; - QuestSequence obj136 = new QuestSequence + ref QuestSequence reference157 = ref span2[num]; + QuestSequence obj140 = new QuestSequence { Sequence = 6 }; index2 = 1; - List list204 = new List(index2); - CollectionsMarshal.SetCount(list204, index2); - span3 = CollectionsMarshal.AsSpan(list204); + List list208 = new List(index2); + CollectionsMarshal.SetCount(list208, index2); + span3 = CollectionsMarshal.AsSpan(list208); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1013334u, new Vector3(-276.60034f, -37.47169f, 586.96875f), 138); - obj136.Steps = list204; - reference153 = obj136; + obj140.Steps = list208; + reference157 = obj140; num++; - ref QuestSequence reference154 = ref span2[num]; - QuestSequence obj137 = new QuestSequence + ref QuestSequence reference158 = ref span2[num]; + QuestSequence obj141 = new QuestSequence { Sequence = 7 }; num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - span3 = CollectionsMarshal.AsSpan(list205); + List list209 = new List(num2); + CollectionsMarshal.SetCount(list209, num2); + span3 = CollectionsMarshal.AsSpan(list209); index2 = 0; - ref QuestStep reference155 = ref span3[index2]; - QuestStep obj138 = new QuestStep(EInteractionType.Combat, 1013338u, new Vector3(-253.25403f, -39.465584f, 661.21924f), 138) + ref QuestStep reference159 = ref span3[index2]; + QuestStep obj142 = new QuestStep(EInteractionType.Combat, 1013338u, new Vector3(-253.25403f, -39.465584f, 661.21924f), 138) { Fly = true, EnemySpawnType = EEnemySpawnType.AfterInteraction }; index3 = 2; - List list206 = new List(index3); - CollectionsMarshal.SetCount(list206, index3); - span7 = CollectionsMarshal.AsSpan(list206); + List list210 = new List(index3); + CollectionsMarshal.SetCount(list210, index3); + span7 = CollectionsMarshal.AsSpan(list210); num3 = 0; span7[num3] = 4402u; num3++; span7[num3] = 4403u; - obj138.KillEnemyDataIds = list206; - reference155 = obj138; - obj137.Steps = list205; - reference154 = obj137; + obj142.KillEnemyDataIds = list210; + reference159 = obj142; + obj141.Steps = list209; + reference158 = obj141; num++; - ref QuestSequence reference156 = ref span2[num]; - QuestSequence obj139 = new QuestSequence + ref QuestSequence reference160 = ref span2[num]; + QuestSequence obj143 = new QuestSequence { Sequence = 8 }; index2 = 1; - List list207 = new List(index2); - CollectionsMarshal.SetCount(list207, index2); - span3 = CollectionsMarshal.AsSpan(list207); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1013337u, new Vector3(-254.10852f, -39.315884f, 658.8082f), 138); - obj139.Steps = list207; - reference156 = obj139; - num++; - ref QuestSequence reference157 = ref span2[num]; - QuestSequence obj140 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - span3 = CollectionsMarshal.AsSpan(list208); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1013282u, new Vector3(304.1886f, -36.405907f, 332.69226f), 138) - { - NextQuestId = new QuestId(1677) - }; - obj140.Steps = list208; - reference157 = obj140; - questRoot24.QuestSequence = list195; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(597); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list209 = new List(num); - CollectionsMarshal.SetCount(list209, num); - span = CollectionsMarshal.AsSpan(list209); - index = 0; - span[index] = "liza"; - questRoot25.Author = list209; - index = 2; - List list210 = new List(index); - CollectionsMarshal.SetCount(list210, index); - span2 = CollectionsMarshal.AsSpan(list210); - num = 0; - ref QuestSequence reference158 = ref span2[num]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 0 - }; - index2 = 1; List list211 = new List(index2); CollectionsMarshal.SetCount(list211, index2); span3 = CollectionsMarshal.AsSpan(list211); num2 = 0; - ref QuestStep reference159 = ref span3[num2]; - QuestStep obj142 = new QuestStep(EInteractionType.AcceptQuest, 1002282u, new Vector3(3.5552979f, 7.5999613f, 153.2157f), 131) + span3[num2] = new QuestStep(EInteractionType.Interact, 1013337u, new Vector3(-254.10852f, -39.315884f, 658.8082f), 138); + obj143.Steps = list211; + reference160 = obj143; + num++; + ref QuestSequence reference161 = ref span2[num]; + QuestSequence obj144 = new QuestSequence + { + Sequence = byte.MaxValue + }; + num2 = 1; + List list212 = new List(num2); + CollectionsMarshal.SetCount(list212, num2); + span3 = CollectionsMarshal.AsSpan(list212); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1013282u, new Vector3(304.1886f, -36.405907f, 332.69226f), 138) + { + NextQuestId = new QuestId(1677) + }; + obj144.Steps = list212; + reference161 = obj144; + questRoot24.QuestSequence = list199; + AddQuest(questId24, questRoot24); + QuestId questId25 = new QuestId(597); + QuestRoot questRoot25 = new QuestRoot(); + num = 1; + List list213 = new List(num); + CollectionsMarshal.SetCount(list213, num); + span = CollectionsMarshal.AsSpan(list213); + index = 0; + span[index] = "liza"; + questRoot25.Author = list213; + index = 2; + List list214 = new List(index); + CollectionsMarshal.SetCount(list214, index); + span2 = CollectionsMarshal.AsSpan(list214); + num = 0; + ref QuestSequence reference162 = ref span2[num]; + QuestSequence obj145 = new QuestSequence + { + Sequence = 0 + }; + index2 = 1; + List list215 = new List(index2); + CollectionsMarshal.SetCount(list215, index2); + span3 = CollectionsMarshal.AsSpan(list215); + num2 = 0; + ref QuestStep reference163 = ref span3[num2]; + QuestStep obj146 = new QuestStep(EInteractionType.AcceptQuest, 1002282u, new Vector3(3.5552979f, 7.5999613f, 153.2157f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -50393,76 +50862,76 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.UldahMiner } }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj143 = new SkipAetheryteCondition + SkipConditions skipConditions5 = new SkipConditions(); + SkipAetheryteCondition obj147 = new SkipAetheryteCondition { InSameTerritory = true }; num3 = 1; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - span8 = CollectionsMarshal.AsSpan(list212); + List list216 = new List(num3); + CollectionsMarshal.SetCount(list216, num3); + span8 = CollectionsMarshal.AsSpan(list216); index3 = 0; span8[index3] = 131; - obj143.InTerritory = list212; - skipConditions4.AetheryteShortcutIf = obj143; - obj142.SkipConditions = skipConditions4; - reference159 = obj142; - obj141.Steps = list211; - reference158 = obj141; + obj147.InTerritory = list216; + skipConditions5.AetheryteShortcutIf = obj147; + obj146.SkipConditions = skipConditions5; + reference163 = obj146; + obj145.Steps = list215; + reference162 = obj145; num++; - ref QuestSequence reference160 = ref span2[num]; - QuestSequence obj144 = new QuestSequence + ref QuestSequence reference164 = ref span2[num]; + QuestSequence obj148 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - span3 = CollectionsMarshal.AsSpan(list213); + List list217 = new List(num2); + CollectionsMarshal.SetCount(list217, num2); + span3 = CollectionsMarshal.AsSpan(list217); index2 = 0; - ref QuestStep reference161 = ref span3[index2]; + ref QuestStep reference165 = ref span3[index2]; QuestStep questStep20 = new QuestStep(EInteractionType.CompleteQuest, 1002298u, new Vector3(-18.997498f, 6.2f, 157.42725f), 131); index3 = 1; - List list214 = new List(index3); - CollectionsMarshal.SetCount(list214, index3); - span4 = CollectionsMarshal.AsSpan(list214); + List list218 = new List(index3); + CollectionsMarshal.SetCount(list218, index3); + span4 = CollectionsMarshal.AsSpan(list218); num3 = 0; span4[num3] = new DialogueChoice { Type = EDialogChoiceType.YesNo, Prompt = new ExcelRef("TEXT_CLSMIN011_00597_Q1_000_1") }; - questStep20.DialogueChoices = list214; + questStep20.DialogueChoices = list218; questStep20.NextQuestId = new QuestId(599); - reference161 = questStep20; - obj144.Steps = list213; - reference160 = obj144; - questRoot25.QuestSequence = list210; + reference165 = questStep20; + obj148.Steps = list217; + reference164 = obj148; + questRoot25.QuestSequence = list214; AddQuest(questId25, questRoot25); QuestId questId26 = new QuestId(598); QuestRoot questRoot26 = new QuestRoot(); num = 1; - List list215 = new List(num); - CollectionsMarshal.SetCount(list215, num); - span = CollectionsMarshal.AsSpan(list215); + List list219 = new List(num); + CollectionsMarshal.SetCount(list219, num); + span = CollectionsMarshal.AsSpan(list219); index = 0; span[index] = "JerryWester"; - questRoot26.Author = list215; + questRoot26.Author = list219; index = 9; - List list216 = new List(index); - CollectionsMarshal.SetCount(list216, index); - span2 = CollectionsMarshal.AsSpan(list216); + List list220 = new List(index); + CollectionsMarshal.SetCount(list220, index); + span2 = CollectionsMarshal.AsSpan(list220); num = 0; - ref QuestSequence reference162 = ref span2[num]; - QuestSequence obj145 = new QuestSequence + ref QuestSequence reference166 = ref span2[num]; + QuestSequence obj149 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list217 = new List(index2); - CollectionsMarshal.SetCount(list217, index2); - span3 = CollectionsMarshal.AsSpan(list217); + List list221 = new List(index2); + CollectionsMarshal.SetCount(list221, index2); + span3 = CollectionsMarshal.AsSpan(list221); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) { @@ -50475,18 +50944,18 @@ public static class AssemblyQuestLoader } } }; - obj145.Steps = list217; - reference162 = obj145; + obj149.Steps = list221; + reference166 = obj149; num++; - ref QuestSequence reference163 = ref span2[num]; - QuestSequence obj146 = new QuestSequence + ref QuestSequence reference167 = ref span2[num]; + QuestSequence obj150 = new QuestSequence { Sequence = 1 }; num2 = 2; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - span3 = CollectionsMarshal.AsSpan(list218); + List list222 = new List(num2); + CollectionsMarshal.SetCount(list222, num2); + span3 = CollectionsMarshal.AsSpan(list222); index2 = 0; span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) { @@ -50497,126 +50966,126 @@ public static class AssemblyQuestLoader { Fly = true }; - obj146.Steps = list218; - reference163 = obj146; + obj150.Steps = list222; + reference167 = obj150; num++; - ref QuestSequence reference164 = ref span2[num]; - QuestSequence obj147 = new QuestSequence + ref QuestSequence reference168 = ref span2[num]; + QuestSequence obj151 = new QuestSequence { Sequence = 2 }; index2 = 1; - List list219 = new List(index2); - CollectionsMarshal.SetCount(list219, index2); - span3 = CollectionsMarshal.AsSpan(list219); + List list223 = new List(index2); + CollectionsMarshal.SetCount(list223, index2); + span3 = CollectionsMarshal.AsSpan(list223); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1014284u, new Vector3(384.2068f, -0.39099246f, 65.90369f), 139) { Fly = true }; - obj147.Steps = list219; - reference164 = obj147; + obj151.Steps = list223; + reference168 = obj151; num++; - ref QuestSequence reference165 = ref span2[num]; - QuestSequence obj148 = new QuestSequence + ref QuestSequence reference169 = ref span2[num]; + QuestSequence obj152 = new QuestSequence { Sequence = 3 }; num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - span3 = CollectionsMarshal.AsSpan(list220); + List list224 = new List(num2); + CollectionsMarshal.SetCount(list224, num2); + span3 = CollectionsMarshal.AsSpan(list224); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Emote, 1014284u, new Vector3(384.2068f, -0.39099246f, 65.90369f), 139) { Emote = EEmote.Slap }; - obj148.Steps = list220; - reference165 = obj148; - num++; - ref QuestSequence reference166 = ref span2[num]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 4 - }; - index2 = 1; - List list221 = new List(index2); - CollectionsMarshal.SetCount(list221, index2); - span3 = CollectionsMarshal.AsSpan(list221); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1013304u, new Vector3(347.37158f, 3.0454707f, -9.445435f), 139) - { - Fly = true - }; - obj149.Steps = list221; - reference166 = obj149; - num++; - ref QuestSequence reference167 = ref span2[num]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - span3 = CollectionsMarshal.AsSpan(list222); - index2 = 0; - ref QuestStep reference168 = ref span3[index2]; - QuestStep obj151 = new QuestStep(EInteractionType.Combat, 1013310u, new Vector3(354.63477f, 23.944334f, -133.44019f), 139) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - span7 = CollectionsMarshal.AsSpan(list223); - index3 = 0; - span7[index3] = 4404u; - index3++; - span7[index3] = 4405u; - obj151.KillEnemyDataIds = list223; - reference168 = obj151; - obj150.Steps = list222; - reference167 = obj150; - num++; - ref QuestSequence reference169 = ref span2[num]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 6 - }; - index2 = 1; - List list224 = new List(index2); - CollectionsMarshal.SetCount(list224, index2); - span3 = CollectionsMarshal.AsSpan(list224); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1013310u, new Vector3(354.63477f, 23.944334f, -133.44019f), 139); obj152.Steps = list224; reference169 = obj152; num++; ref QuestSequence reference170 = ref span2[num]; QuestSequence obj153 = new QuestSequence { - Sequence = 7 + Sequence = 4 }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); + index2 = 1; + List list225 = new List(index2); + CollectionsMarshal.SetCount(list225, index2); span3 = CollectionsMarshal.AsSpan(list225); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1013307u, new Vector3(281.69678f, 38.53493f, -176.74524f), 139); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1013304u, new Vector3(347.37158f, 3.0454707f, -9.445435f), 139) + { + Fly = true + }; obj153.Steps = list225; reference170 = obj153; num++; ref QuestSequence reference171 = ref span2[num]; QuestSequence obj154 = new QuestSequence + { + Sequence = 5 + }; + num2 = 1; + List list226 = new List(num2); + CollectionsMarshal.SetCount(list226, num2); + span3 = CollectionsMarshal.AsSpan(list226); + index2 = 0; + ref QuestStep reference172 = ref span3[index2]; + QuestStep obj155 = new QuestStep(EInteractionType.Combat, 1013310u, new Vector3(354.63477f, 23.944334f, -133.44019f), 139) + { + Fly = true, + EnemySpawnType = EEnemySpawnType.AfterInteraction + }; + num3 = 2; + List list227 = new List(num3); + CollectionsMarshal.SetCount(list227, num3); + span7 = CollectionsMarshal.AsSpan(list227); + index3 = 0; + span7[index3] = 4404u; + index3++; + span7[index3] = 4405u; + obj155.KillEnemyDataIds = list227; + reference172 = obj155; + obj154.Steps = list226; + reference171 = obj154; + num++; + ref QuestSequence reference173 = ref span2[num]; + QuestSequence obj156 = new QuestSequence + { + Sequence = 6 + }; + index2 = 1; + List list228 = new List(index2); + CollectionsMarshal.SetCount(list228, index2); + span3 = CollectionsMarshal.AsSpan(list228); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1013310u, new Vector3(354.63477f, 23.944334f, -133.44019f), 139); + obj156.Steps = list228; + reference173 = obj156; + num++; + ref QuestSequence reference174 = ref span2[num]; + QuestSequence obj157 = new QuestSequence + { + Sequence = 7 + }; + num2 = 1; + List list229 = new List(num2); + CollectionsMarshal.SetCount(list229, num2); + span3 = CollectionsMarshal.AsSpan(list229); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1013307u, new Vector3(281.69678f, 38.53493f, -176.74524f), 139); + obj157.Steps = list229; + reference174 = obj157; + num++; + ref QuestSequence reference175 = ref span2[num]; + QuestSequence obj158 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 2; - List list226 = new List(index2); - CollectionsMarshal.SetCount(list226, index2); - span3 = CollectionsMarshal.AsSpan(list226); + List list230 = new List(index2); + CollectionsMarshal.SetCount(list230, index2); + span3 = CollectionsMarshal.AsSpan(list230); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) { @@ -50627,89 +51096,36 @@ public static class AssemblyQuestLoader { NextQuestId = new QuestId(601) }; - obj154.Steps = list226; - reference171 = obj154; - questRoot26.QuestSequence = list216; + obj158.Steps = list230; + reference175 = obj158; + questRoot26.QuestSequence = list220; AddQuest(questId26, questRoot26); QuestId questId27 = new QuestId(599); QuestRoot questRoot27 = new QuestRoot(); num = 1; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - span = CollectionsMarshal.AsSpan(list227); + List list231 = new List(num); + CollectionsMarshal.SetCount(list231, num); + span = CollectionsMarshal.AsSpan(list231); index = 0; span[index] = "liza"; - questRoot27.Author = list227; + questRoot27.Author = list231; index = 2; - List list228 = new List(index); - CollectionsMarshal.SetCount(list228, index); - span2 = CollectionsMarshal.AsSpan(list228); + List list232 = new List(index); + CollectionsMarshal.SetCount(list232, index); + span2 = CollectionsMarshal.AsSpan(list232); num = 0; - ref QuestSequence reference172 = ref span2[num]; - QuestSequence obj155 = new QuestSequence + ref QuestSequence reference176 = ref span2[num]; + QuestSequence obj159 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - span3 = CollectionsMarshal.AsSpan(list229); + List list233 = new List(num2); + CollectionsMarshal.SetCount(list233, num2); + span3 = CollectionsMarshal.AsSpan(list233); index2 = 0; - ref QuestStep reference173 = ref span3[index2]; - QuestStep obj156 = new QuestStep(EInteractionType.AcceptQuest, 1002298u, new Vector3(-18.997498f, 6.2f, 157.42725f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahMiner - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj157 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - index3 = 1; - List list230 = new List(index3); - CollectionsMarshal.SetCount(list230, index3); - span8 = CollectionsMarshal.AsSpan(list230); - num3 = 0; - span8[num3] = 131; - obj157.InTerritory = list230; - skipConditions5.AetheryteShortcutIf = obj157; - obj156.SkipConditions = skipConditions5; - reference173 = obj156; - obj155.Steps = list229; - reference172 = obj155; - num++; - ref QuestSequence reference174 = ref span2[num]; - QuestSequence obj158 = new QuestSequence - { - Sequence = byte.MaxValue - }; - index2 = 2; - List list231 = new List(index2); - CollectionsMarshal.SetCount(list231, index2); - span3 = CollectionsMarshal.AsSpan(list231); - num2 = 0; - ref QuestStep reference175 = ref span3[num2]; - QuestStep questStep21 = new QuestStep(EInteractionType.Gather, null, null, 131); - num3 = 1; - List list232 = new List(num3); - CollectionsMarshal.SetCount(list232, num3); - Span span9 = CollectionsMarshal.AsSpan(list232); - index3 = 0; - span9[index3] = new GatheredItem - { - ItemId = 5106u, - ItemCount = 10 - }; - questStep21.ItemsToGather = list232; - reference175 = questStep21; - num2++; - ref QuestStep reference176 = ref span3[num2]; - QuestStep obj159 = new QuestStep(EInteractionType.CompleteQuest, 1002298u, new Vector3(-18.997498f, 6.2f, 157.42725f), 131) + ref QuestStep reference177 = ref span3[index2]; + QuestStep obj160 = new QuestStep(EInteractionType.AcceptQuest, 1002298u, new Vector3(-18.997498f, 6.2f, 157.42725f), 131) { AetheryteShortcut = EAetheryteLocation.Uldah, AethernetShortcut = new AethernetShortcut @@ -50719,22 +51135,75 @@ public static class AssemblyQuestLoader } }; SkipConditions skipConditions6 = new SkipConditions(); + SkipAetheryteCondition obj161 = new SkipAetheryteCondition + { + InSameTerritory = true + }; + index3 = 1; + List list234 = new List(index3); + CollectionsMarshal.SetCount(list234, index3); + span8 = CollectionsMarshal.AsSpan(list234); + num3 = 0; + span8[num3] = 131; + obj161.InTerritory = list234; + skipConditions6.AetheryteShortcutIf = obj161; + obj160.SkipConditions = skipConditions6; + reference177 = obj160; + obj159.Steps = list233; + reference176 = obj159; + num++; + ref QuestSequence reference178 = ref span2[num]; + QuestSequence obj162 = new QuestSequence + { + Sequence = byte.MaxValue + }; + index2 = 2; + List list235 = new List(index2); + CollectionsMarshal.SetCount(list235, index2); + span3 = CollectionsMarshal.AsSpan(list235); + num2 = 0; + ref QuestStep reference179 = ref span3[num2]; + QuestStep questStep21 = new QuestStep(EInteractionType.Gather, null, null, 131); + num3 = 1; + List list236 = new List(num3); + CollectionsMarshal.SetCount(list236, num3); + Span span9 = CollectionsMarshal.AsSpan(list236); + index3 = 0; + span9[index3] = new GatheredItem + { + ItemId = 5106u, + ItemCount = 10 + }; + questStep21.ItemsToGather = list236; + reference179 = questStep21; + num2++; + ref QuestStep reference180 = ref span3[num2]; + QuestStep obj163 = new QuestStep(EInteractionType.CompleteQuest, 1002298u, new Vector3(-18.997498f, 6.2f, 157.42725f), 131) + { + AetheryteShortcut = EAetheryteLocation.Uldah, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.Uldah, + To = EAetheryteLocation.UldahMiner + } + }; + SkipConditions skipConditions7 = new SkipConditions(); SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); index3 = 2; - List list233 = new List(index3); - CollectionsMarshal.SetCount(list233, index3); - span8 = CollectionsMarshal.AsSpan(list233); + List list237 = new List(index3); + CollectionsMarshal.SetCount(list237, index3); + span8 = CollectionsMarshal.AsSpan(list237); num3 = 0; span8[num3] = 130; num3++; span8[num3] = 131; - skipAetheryteCondition2.InTerritory = list233; - skipConditions6.AetheryteShortcutIf = skipAetheryteCondition2; - obj159.SkipConditions = skipConditions6; - reference176 = obj159; - obj158.Steps = list231; - reference174 = obj158; - questRoot27.QuestSequence = list228; + skipAetheryteCondition2.InTerritory = list237; + skipConditions7.AetheryteShortcutIf = skipAetheryteCondition2; + obj163.SkipConditions = skipConditions7; + reference180 = obj163; + obj162.Steps = list235; + reference178 = obj162; + questRoot27.QuestSequence = list232; AddQuest(questId27, questRoot27); } @@ -465035,7 +465504,7 @@ public static class AssemblyQuestLoader CollectionsMarshal.SetCount(list53, num2); span3 = CollectionsMarshal.AsSpan(list53); index2 = 0; - span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, @@ -465092,11 +465561,30 @@ public static class AssemblyQuestLoader CollectionsMarshal.SetCount(list56, num2); span3 = CollectionsMarshal.AsSpan(list56); index2 = 0; - span3[index2] = new QuestStep(EInteractionType.UseItem, 2014955u, new Vector3(21.35857f, 15.18271f, 288.9486f), 1297) + ref QuestStep reference39 = ref span3[index2]; + QuestStep obj39 = new QuestStep(EInteractionType.UseItem, 2014955u, new Vector3(21.35857f, 15.18271f, 288.9486f), 1297) { Mount = true, ItemId = 2003778u }; + index3 = 6; + List list57 = new List(index3); + CollectionsMarshal.SetCount(list57, index3); + Span span5 = CollectionsMarshal.AsSpan(list57); + num3 = 0; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); + obj39.CompletionQuestVariablesFlags = list57; + reference39 = obj39; index2++; span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(38.474648f, 13.538554f, 299.35413f), 1297) { @@ -465128,11 +465616,30 @@ public static class AssemblyQuestLoader Mount = true }; index2++; - span3[index2] = new QuestStep(EInteractionType.UseItem, 2014958u, new Vector3(25.25208f, 15.1827f, 343.7696f), 1297) + ref QuestStep reference40 = ref span3[index2]; + QuestStep obj40 = new QuestStep(EInteractionType.UseItem, 2014958u, new Vector3(25.25208f, 15.1827f, 343.7696f), 1297) { Mount = true, ItemId = 2003778u }; + num3 = 6; + List list58 = new List(num3); + CollectionsMarshal.SetCount(list58, num3); + span5 = CollectionsMarshal.AsSpan(list58); + index3 = 0; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = new QuestWorkValue((byte)9, null, EQuestWorkMode.Bitwise); + obj40.CompletionQuestVariablesFlags = list58; + reference40 = obj40; index2++; span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(13.319462f, 13.538559f, 359.63834f), 1297) { @@ -465152,11 +465659,30 @@ public static class AssemblyQuestLoader Mount = true }; index2++; - span3[index2] = new QuestStep(EInteractionType.UseItem, 2014957u, new Vector3(-24.51654f, 15.1827f, 343.9439f), 1297) + ref QuestStep reference41 = ref span3[index2]; + QuestStep obj41 = new QuestStep(EInteractionType.UseItem, 2014957u, new Vector3(-24.51654f, 15.1827f, 343.9439f), 1297) { Mount = true, ItemId = 2003778u }; + index3 = 6; + List list59 = new List(index3); + CollectionsMarshal.SetCount(list59, index3); + span5 = CollectionsMarshal.AsSpan(list59); + num3 = 0; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = new QuestWorkValue((byte)11, null, EQuestWorkMode.Bitwise); + obj41.CompletionQuestVariablesFlags = list59; + reference41 = obj41; index2++; span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-36.89487f, 13.5385475f, 335.85452f), 1297) { @@ -465196,17 +465722,17 @@ public static class AssemblyQuestLoader obj38.Steps = list56; reference38 = obj38; num++; - ref QuestSequence reference39 = ref span2[num]; - QuestSequence obj39 = new QuestSequence + ref QuestSequence reference42 = ref span2[num]; + QuestSequence obj42 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list57 = new List(index2); - CollectionsMarshal.SetCount(list57, index2); - span3 = CollectionsMarshal.AsSpan(list57); + List list60 = new List(index2); + CollectionsMarshal.SetCount(list60, index2); + span3 = CollectionsMarshal.AsSpan(list60); num2 = 0; - span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, @@ -465214,42 +465740,37 @@ public static class AssemblyQuestLoader { AetheryteShortcutIf = new SkipAetheryteCondition { - NearPosition = new NearPositionCondition - { - Position = new Vector3(503.1118f, 142.24991f, 787.5082f), - MaximumDistance = 500f, - TerritoryId = 1187 - } + InSameTerritory = true } } }; - obj39.Steps = list57; - reference39 = obj39; + obj42.Steps = list60; + reference42 = obj42; questRoot9.QuestSequence = list52; AddQuest(questId9, questRoot9); QuestId questId10 = new QuestId(5359); QuestRoot questRoot10 = new QuestRoot(); num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - span = CollectionsMarshal.AsSpan(list58); + List list61 = new List(num); + CollectionsMarshal.SetCount(list61, num); + span = CollectionsMarshal.AsSpan(list61); index = 0; span[index] = "WigglyMuffin, CryoTechnic"; - questRoot10.Author = list58; + questRoot10.Author = list61; index = 4; - List list59 = new List(index); - CollectionsMarshal.SetCount(list59, index); - span2 = CollectionsMarshal.AsSpan(list59); + List list62 = new List(index); + CollectionsMarshal.SetCount(list62, index); + span2 = CollectionsMarshal.AsSpan(list62); num = 0; - ref QuestSequence reference40 = ref span2[num]; - QuestSequence obj40 = new QuestSequence + ref QuestSequence reference43 = ref span2[num]; + QuestSequence obj43 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - span3 = CollectionsMarshal.AsSpan(list60); + List list63 = new List(num2); + CollectionsMarshal.SetCount(list63, num2); + span3 = CollectionsMarshal.AsSpan(list63); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -465263,18 +465784,18 @@ public static class AssemblyQuestLoader } } }; - obj40.Steps = list60; - reference40 = obj40; + obj43.Steps = list63; + reference43 = obj43; num++; - ref QuestSequence reference41 = ref span2[num]; - QuestSequence obj41 = new QuestSequence + ref QuestSequence reference44 = ref span2[num]; + QuestSequence obj44 = new QuestSequence { Sequence = 1 }; index2 = 1; - List list61 = new List(index2); - CollectionsMarshal.SetCount(list61, index2); - span3 = CollectionsMarshal.AsSpan(list61); + List list64 = new List(index2); + CollectionsMarshal.SetCount(list64, index2); + span3 = CollectionsMarshal.AsSpan(list64); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1055792u, new Vector3(425.4978f, 118.935005f, 606.897f), 1187) { @@ -465288,18 +465809,18 @@ public static class AssemblyQuestLoader } } }; - obj41.Steps = list61; - reference41 = obj41; + obj44.Steps = list64; + reference44 = obj44; num++; - ref QuestSequence reference42 = ref span2[num]; - QuestSequence obj42 = new QuestSequence + ref QuestSequence reference45 = ref span2[num]; + QuestSequence obj45 = new QuestSequence { Sequence = 2 }; num2 = 2; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - span3 = CollectionsMarshal.AsSpan(list62); + List list65 = new List(num2); + CollectionsMarshal.SetCount(list65, num2); + span3 = CollectionsMarshal.AsSpan(list65); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Craft, null, null, 1187) { @@ -465318,18 +465839,18 @@ public static class AssemblyQuestLoader { Fly = true }; - obj42.Steps = list62; - reference42 = obj42; + obj45.Steps = list65; + reference45 = obj45; num++; - ref QuestSequence reference43 = ref span2[num]; - QuestSequence obj43 = new QuestSequence + ref QuestSequence reference46 = ref span2[num]; + QuestSequence obj46 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list63 = new List(index2); - CollectionsMarshal.SetCount(list63, index2); - span3 = CollectionsMarshal.AsSpan(list63); + List list66 = new List(index2); + CollectionsMarshal.SetCount(list66, index2); + span3 = CollectionsMarshal.AsSpan(list66); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -465343,33 +465864,33 @@ public static class AssemblyQuestLoader } } }; - obj43.Steps = list63; - reference43 = obj43; - questRoot10.QuestSequence = list59; + obj46.Steps = list66; + reference46 = obj46; + questRoot10.QuestSequence = list62; AddQuest(questId10, questRoot10); QuestId questId11 = new QuestId(5360); QuestRoot questRoot11 = new QuestRoot(); num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - span = CollectionsMarshal.AsSpan(list64); + List list67 = new List(num); + CollectionsMarshal.SetCount(list67, num); + span = CollectionsMarshal.AsSpan(list67); index = 0; span[index] = "WigglyMuffin, CryoTechnic"; - questRoot11.Author = list64; + questRoot11.Author = list67; index = 4; - List list65 = new List(index); - CollectionsMarshal.SetCount(list65, index); - span2 = CollectionsMarshal.AsSpan(list65); + List list68 = new List(index); + CollectionsMarshal.SetCount(list68, index); + span2 = CollectionsMarshal.AsSpan(list68); num = 0; - ref QuestSequence reference44 = ref span2[num]; - QuestSequence obj44 = new QuestSequence + ref QuestSequence reference47 = ref span2[num]; + QuestSequence obj47 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - span3 = CollectionsMarshal.AsSpan(list66); + List list69 = new List(num2); + CollectionsMarshal.SetCount(list69, num2); + span3 = CollectionsMarshal.AsSpan(list69); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -465383,53 +465904,21 @@ public static class AssemblyQuestLoader } } }; - obj44.Steps = list66; - reference44 = obj44; + obj47.Steps = list69; + reference47 = obj47; num++; - ref QuestSequence reference45 = ref span2[num]; - QuestSequence obj45 = new QuestSequence + ref QuestSequence reference48 = ref span2[num]; + QuestSequence obj48 = new QuestSequence { Sequence = 1 }; index2 = 3; - List list67 = new List(index2); - CollectionsMarshal.SetCount(list67, index2); - span3 = CollectionsMarshal.AsSpan(list67); + List list70 = new List(index2); + CollectionsMarshal.SetCount(list70, index2); + span3 = CollectionsMarshal.AsSpan(list70); num2 = 0; - ref QuestStep reference46 = ref span3[num2]; - QuestStep obj46 = new QuestStep(EInteractionType.Interact, 2014948u, new Vector3(-485.1251f, 49.18068f, -302.4295f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - index3 = 6; - List list68 = new List(index3); - CollectionsMarshal.SetCount(list68, index3); - Span span5 = CollectionsMarshal.AsSpan(list68); - num3 = 0; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - obj46.CompletionQuestVariablesFlags = list68; - reference46 = obj46; - num2++; - ref QuestStep reference47 = ref span3[num2]; - QuestStep obj47 = new QuestStep(EInteractionType.Interact, 2014949u, new Vector3(-556.6002f, 55.26223f, -305.9056f), 1187) + ref QuestStep reference49 = ref span3[num2]; + QuestStep obj49 = new QuestStep(EInteractionType.Interact, 2014948u, new Vector3(-485.1251f, 49.18068f, -302.4295f), 1187) { Fly = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, @@ -465442,9 +465931,9 @@ public static class AssemblyQuestLoader } }; num3 = 6; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - span5 = CollectionsMarshal.AsSpan(list69); + List list71 = new List(num3); + CollectionsMarshal.SetCount(list71, num3); + span5 = CollectionsMarshal.AsSpan(list71); index3 = 0; span5[index3] = null; index3++; @@ -465456,12 +465945,12 @@ public static class AssemblyQuestLoader index3++; span5[index3] = null; index3++; - span5[index3] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); - obj47.CompletionQuestVariablesFlags = list69; - reference47 = obj47; + span5[index3] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); + obj49.CompletionQuestVariablesFlags = list71; + reference49 = obj49; num2++; - ref QuestStep reference48 = ref span3[num2]; - QuestStep obj48 = new QuestStep(EInteractionType.Interact, 2014947u, new Vector3(-503.3189f, 57.45695f, -196.0937f), 1187) + ref QuestStep reference50 = ref span3[num2]; + QuestStep obj50 = new QuestStep(EInteractionType.Interact, 2014949u, new Vector3(-556.6002f, 55.26223f, -305.9056f), 1187) { Fly = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, @@ -465474,14 +465963,12 @@ public static class AssemblyQuestLoader } }; index3 = 6; - List list70 = new List(index3); - CollectionsMarshal.SetCount(list70, index3); - span5 = CollectionsMarshal.AsSpan(list70); + List list72 = new List(index3); + CollectionsMarshal.SetCount(list72, index3); + span5 = CollectionsMarshal.AsSpan(list72); num3 = 0; span5[num3] = null; num3++; - span5[num3] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - num3++; span5[num3] = null; num3++; span5[num3] = null; @@ -465489,23 +465976,57 @@ public static class AssemblyQuestLoader span5[num3] = null; num3++; span5[num3] = null; - obj48.CompletionQuestVariablesFlags = list70; + num3++; + span5[num3] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); + obj50.CompletionQuestVariablesFlags = list72; + reference50 = obj50; + num2++; + ref QuestStep reference51 = ref span3[num2]; + QuestStep obj51 = new QuestStep(EInteractionType.Interact, 2014947u, new Vector3(-503.3189f, 57.45695f, -196.0937f), 1187) + { + Fly = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + num3 = 6; + List list73 = new List(num3); + CollectionsMarshal.SetCount(list73, num3); + span5 = CollectionsMarshal.AsSpan(list73); + index3 = 0; + span5[index3] = null; + index3++; + span5[index3] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + obj51.CompletionQuestVariablesFlags = list73; + reference51 = obj51; + obj48.Steps = list70; reference48 = obj48; - obj45.Steps = list67; - reference45 = obj45; num++; - ref QuestSequence reference49 = ref span2[num]; - QuestSequence obj49 = new QuestSequence + ref QuestSequence reference52 = ref span2[num]; + QuestSequence obj52 = new QuestSequence { Sequence = 2 }; num2 = 4; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - span3 = CollectionsMarshal.AsSpan(list71); + List list74 = new List(num2); + CollectionsMarshal.SetCount(list74, num2); + span3 = CollectionsMarshal.AsSpan(list74); index2 = 0; - ref QuestStep reference50 = ref span3[index2]; - QuestStep obj50 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) + ref QuestStep reference53 = ref span3[index2]; + QuestStep obj53 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) { TargetTerritoryId = (ushort)1297, Fly = true, @@ -465513,16 +466034,16 @@ public static class AssemblyQuestLoader }; SkipConditions skipConditions6 = new SkipConditions(); SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - span4 = CollectionsMarshal.AsSpan(list72); - index3 = 0; - span4[index3] = 1187; - skipStepConditions6.NotInTerritory = list72; + index3 = 1; + List list75 = new List(index3); + CollectionsMarshal.SetCount(list75, index3); + span4 = CollectionsMarshal.AsSpan(list75); + num3 = 0; + span4[num3] = 1187; + skipStepConditions6.NotInTerritory = list75; skipConditions6.StepIf = skipStepConditions6; - obj50.SkipConditions = skipConditions6; - reference50 = obj50; + obj53.SkipConditions = skipConditions6; + reference53 = obj53; index2++; span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-7.667403f, 0.39999998f, 157.18628f), 1297) { @@ -465538,18 +466059,18 @@ public static class AssemblyQuestLoader { Fly = true }; - obj49.Steps = list71; - reference49 = obj49; + obj52.Steps = list74; + reference52 = obj52; num++; - ref QuestSequence reference51 = ref span2[num]; - QuestSequence obj51 = new QuestSequence + ref QuestSequence reference54 = ref span2[num]; + QuestSequence obj54 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list73 = new List(index2); - CollectionsMarshal.SetCount(list73, index2); - span3 = CollectionsMarshal.AsSpan(list73); + List list76 = new List(index2); + CollectionsMarshal.SetCount(list76, index2); + span3 = CollectionsMarshal.AsSpan(list76); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -465563,33 +466084,33 @@ public static class AssemblyQuestLoader } } }; - obj51.Steps = list73; - reference51 = obj51; - questRoot11.QuestSequence = list65; + obj54.Steps = list76; + reference54 = obj54; + questRoot11.QuestSequence = list68; AddQuest(questId11, questRoot11); QuestId questId12 = new QuestId(5361); QuestRoot questRoot12 = new QuestRoot(); num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - span = CollectionsMarshal.AsSpan(list74); + List list77 = new List(num); + CollectionsMarshal.SetCount(list77, num); + span = CollectionsMarshal.AsSpan(list77); index = 0; span[index] = "WigglyMuffin, CryoTechnic"; - questRoot12.Author = list74; + questRoot12.Author = list77; index = 4; - List list75 = new List(index); - CollectionsMarshal.SetCount(list75, index); - span2 = CollectionsMarshal.AsSpan(list75); + List list78 = new List(index); + CollectionsMarshal.SetCount(list78, index); + span2 = CollectionsMarshal.AsSpan(list78); num = 0; - ref QuestSequence reference52 = ref span2[num]; - QuestSequence obj52 = new QuestSequence + ref QuestSequence reference55 = ref span2[num]; + QuestSequence obj55 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - span3 = CollectionsMarshal.AsSpan(list76); + List list79 = new List(num2); + CollectionsMarshal.SetCount(list79, num2); + span3 = CollectionsMarshal.AsSpan(list79); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -465603,50 +466124,50 @@ public static class AssemblyQuestLoader } } }; - obj52.Steps = list76; - reference52 = obj52; + obj55.Steps = list79; + reference55 = obj55; num++; - ref QuestSequence reference53 = ref span2[num]; - QuestSequence obj53 = new QuestSequence + ref QuestSequence reference56 = ref span2[num]; + QuestSequence obj56 = new QuestSequence { Sequence = 1 }; index2 = 2; - List list77 = new List(index2); - CollectionsMarshal.SetCount(list77, index2); - span3 = CollectionsMarshal.AsSpan(list77); + List list80 = new List(index2); + CollectionsMarshal.SetCount(list80, index2); + span3 = CollectionsMarshal.AsSpan(list80); num2 = 0; - ref QuestStep reference54 = ref span3[num2]; - QuestStep obj54 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) + ref QuestStep reference57 = ref span3[num2]; + QuestStep obj57 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) { TargetTerritoryId = (ushort)1297 }; SkipConditions skipConditions7 = new SkipConditions(); SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - index3 = 1; - List list78 = new List(index3); - CollectionsMarshal.SetCount(list78, index3); - span4 = CollectionsMarshal.AsSpan(list78); - num3 = 0; - span4[num3] = 1187; - skipStepConditions7.NotInTerritory = list78; + num3 = 1; + List list81 = new List(num3); + CollectionsMarshal.SetCount(list81, num3); + span4 = CollectionsMarshal.AsSpan(list81); + index3 = 0; + span4[index3] = 1187; + skipStepConditions7.NotInTerritory = list81; skipConditions7.StepIf = skipStepConditions7; - obj54.SkipConditions = skipConditions7; - reference54 = obj54; + obj57.SkipConditions = skipConditions7; + reference57 = obj57; num2++; span3[num2] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); - obj53.Steps = list77; - reference53 = obj53; + obj56.Steps = list80; + reference56 = obj56; num++; - ref QuestSequence reference55 = ref span2[num]; - QuestSequence obj55 = new QuestSequence + ref QuestSequence reference58 = ref span2[num]; + QuestSequence obj58 = new QuestSequence { Sequence = 2 }; num2 = 2; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - span3 = CollectionsMarshal.AsSpan(list79); + List list82 = new List(num2); + CollectionsMarshal.SetCount(list82, num2); + span3 = CollectionsMarshal.AsSpan(list82); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Craft, null, null, 1297) { @@ -465662,18 +466183,18 @@ public static class AssemblyQuestLoader }; index2++; span3[index2] = new QuestStep(EInteractionType.Interact, 1055795u, new Vector3(76.98169f, 3.871f, 20.248657f), 1297); - obj55.Steps = list79; - reference55 = obj55; + obj58.Steps = list82; + reference58 = obj58; num++; - ref QuestSequence reference56 = ref span2[num]; - QuestSequence obj56 = new QuestSequence + ref QuestSequence reference59 = ref span2[num]; + QuestSequence obj59 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list80 = new List(index2); - CollectionsMarshal.SetCount(list80, index2); - span3 = CollectionsMarshal.AsSpan(list80); + List list83 = new List(index2); + CollectionsMarshal.SetCount(list83, index2); + span3 = CollectionsMarshal.AsSpan(list83); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -465687,33 +466208,33 @@ public static class AssemblyQuestLoader } } }; - obj56.Steps = list80; - reference56 = obj56; - questRoot12.QuestSequence = list75; + obj59.Steps = list83; + reference59 = obj59; + questRoot12.QuestSequence = list78; AddQuest(questId12, questRoot12); QuestId questId13 = new QuestId(5362); QuestRoot questRoot13 = new QuestRoot(); num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - span = CollectionsMarshal.AsSpan(list81); + List list84 = new List(num); + CollectionsMarshal.SetCount(list84, num); + span = CollectionsMarshal.AsSpan(list84); index = 0; span[index] = "WigglyMuffin"; - questRoot13.Author = list81; + questRoot13.Author = list84; index = 4; - List list82 = new List(index); - CollectionsMarshal.SetCount(list82, index); - span2 = CollectionsMarshal.AsSpan(list82); + List list85 = new List(index); + CollectionsMarshal.SetCount(list85, index); + span2 = CollectionsMarshal.AsSpan(list85); num = 0; - ref QuestSequence reference57 = ref span2[num]; - QuestSequence obj57 = new QuestSequence + ref QuestSequence reference60 = ref span2[num]; + QuestSequence obj60 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - span3 = CollectionsMarshal.AsSpan(list83); + List list86 = new List(num2); + CollectionsMarshal.SetCount(list86, num2); + span3 = CollectionsMarshal.AsSpan(list86); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -465727,55 +466248,55 @@ public static class AssemblyQuestLoader } } }; - obj57.Steps = list83; - reference57 = obj57; + obj60.Steps = list86; + reference60 = obj60; num++; - ref QuestSequence reference58 = ref span2[num]; - QuestSequence obj58 = new QuestSequence + ref QuestSequence reference61 = ref span2[num]; + QuestSequence obj61 = new QuestSequence { Sequence = 1 }; index2 = 4; - List list84 = new List(index2); - CollectionsMarshal.SetCount(list84, index2); - span3 = CollectionsMarshal.AsSpan(list84); + List list87 = new List(index2); + CollectionsMarshal.SetCount(list87, index2); + span3 = CollectionsMarshal.AsSpan(list87); num2 = 0; - ref QuestStep reference59 = ref span3[num2]; - QuestStep obj59 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) + ref QuestStep reference62 = ref span3[num2]; + QuestStep obj62 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) { TargetTerritoryId = (ushort)1297, Fly = true }; SkipConditions skipConditions8 = new SkipConditions(); SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - span4 = CollectionsMarshal.AsSpan(list85); - index3 = 0; - span4[index3] = 1187; - skipStepConditions8.NotInTerritory = list85; + index3 = 1; + List list88 = new List(index3); + CollectionsMarshal.SetCount(list88, index3); + span4 = CollectionsMarshal.AsSpan(list88); + num3 = 0; + span4[num3] = 1187; + skipStepConditions8.NotInTerritory = list88; skipConditions8.StepIf = skipStepConditions8; - obj59.SkipConditions = skipConditions8; - reference59 = obj59; + obj62.SkipConditions = skipConditions8; + reference62 = obj62; num2++; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(53.53954f, 0f, 66.45418f), 1297); num2++; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(73.61164f, 1.8846376f, 59.062263f), 1297); num2++; span3[num2] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); - obj58.Steps = list84; - reference58 = obj58; + obj61.Steps = list87; + reference61 = obj61; num++; - ref QuestSequence reference60 = ref span2[num]; - QuestSequence obj60 = new QuestSequence + ref QuestSequence reference63 = ref span2[num]; + QuestSequence obj63 = new QuestSequence { Sequence = 2 }; num2 = 4; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - span3 = CollectionsMarshal.AsSpan(list86); + List list89 = new List(num2); + CollectionsMarshal.SetCount(list89, num2); + span3 = CollectionsMarshal.AsSpan(list89); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Craft, null, null, 1297) { @@ -465798,18 +466319,18 @@ public static class AssemblyQuestLoader { DisableNavmesh = true }; - obj60.Steps = list86; - reference60 = obj60; + obj63.Steps = list89; + reference63 = obj63; num++; - ref QuestSequence reference61 = ref span2[num]; - QuestSequence obj61 = new QuestSequence + ref QuestSequence reference64 = ref span2[num]; + QuestSequence obj64 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list87 = new List(index2); - CollectionsMarshal.SetCount(list87, index2); - span3 = CollectionsMarshal.AsSpan(list87); + List list90 = new List(index2); + CollectionsMarshal.SetCount(list90, index2); + span3 = CollectionsMarshal.AsSpan(list90); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -465823,33 +466344,33 @@ public static class AssemblyQuestLoader } } }; - obj61.Steps = list87; - reference61 = obj61; - questRoot13.QuestSequence = list82; + obj64.Steps = list90; + reference64 = obj64; + questRoot13.QuestSequence = list85; AddQuest(questId13, questRoot13); QuestId questId14 = new QuestId(5363); QuestRoot questRoot14 = new QuestRoot(); num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - span = CollectionsMarshal.AsSpan(list88); + List list91 = new List(num); + CollectionsMarshal.SetCount(list91, num); + span = CollectionsMarshal.AsSpan(list91); index = 0; span[index] = "WigglyMuffin"; - questRoot14.Author = list88; + questRoot14.Author = list91; index = 3; - List list89 = new List(index); - CollectionsMarshal.SetCount(list89, index); - span2 = CollectionsMarshal.AsSpan(list89); + List list92 = new List(index); + CollectionsMarshal.SetCount(list92, index); + span2 = CollectionsMarshal.AsSpan(list92); num = 0; - ref QuestSequence reference62 = ref span2[num]; - QuestSequence obj62 = new QuestSequence + ref QuestSequence reference65 = ref span2[num]; + QuestSequence obj65 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - span3 = CollectionsMarshal.AsSpan(list90); + List list93 = new List(num2); + CollectionsMarshal.SetCount(list93, num2); + span3 = CollectionsMarshal.AsSpan(list93); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -465863,18 +466384,18 @@ public static class AssemblyQuestLoader } } }; - obj62.Steps = list90; - reference62 = obj62; + obj65.Steps = list93; + reference65 = obj65; num++; - ref QuestSequence reference63 = ref span2[num]; - QuestSequence obj63 = new QuestSequence + ref QuestSequence reference66 = ref span2[num]; + QuestSequence obj66 = new QuestSequence { Sequence = 1 }; index2 = 2; - List list91 = new List(index2); - CollectionsMarshal.SetCount(list91, index2); - span3 = CollectionsMarshal.AsSpan(list91); + List list94 = new List(index2); + CollectionsMarshal.SetCount(list94, index2); + span3 = CollectionsMarshal.AsSpan(list94); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(417.02783f, -116.81516f, -190.65091f), 1187) { @@ -465894,33 +466415,33 @@ public static class AssemblyQuestLoader } }; num2++; - ref QuestStep reference64 = ref span3[num2]; + ref QuestStep reference67 = ref span3[num2]; QuestStep questStep = new QuestStep(EInteractionType.Interact, 1055812u, new Vector3(429.80078f, -116.815155f, -188.28113f), 1187); - index3 = 1; - List list92 = new List(index3); - CollectionsMarshal.SetCount(list92, index3); - Span span6 = CollectionsMarshal.AsSpan(list92); - num3 = 0; - span6[num3] = new DialogueChoice + num3 = 1; + List list95 = new List(num3); + CollectionsMarshal.SetCount(list95, num3); + Span span6 = CollectionsMarshal.AsSpan(list95); + index3 = 0; + span6[index3] = new DialogueChoice { Type = EDialogChoiceType.List, Prompt = new ExcelRef("TEXT_BANYOK128_05363_Q1_000_000"), Answer = new ExcelRef("TEXT_BANYOK128_05363_A1_000_001") }; - questStep.DialogueChoices = list92; - reference64 = questStep; - obj63.Steps = list91; - reference63 = obj63; + questStep.DialogueChoices = list95; + reference67 = questStep; + obj66.Steps = list94; + reference66 = obj66; num++; - ref QuestSequence reference65 = ref span2[num]; - QuestSequence obj64 = new QuestSequence + ref QuestSequence reference68 = ref span2[num]; + QuestSequence obj67 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - span3 = CollectionsMarshal.AsSpan(list93); + List list96 = new List(num2); + CollectionsMarshal.SetCount(list96, num2); + span3 = CollectionsMarshal.AsSpan(list96); index2 = 0; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -465939,36 +466460,36 @@ public static class AssemblyQuestLoader } } }; - obj64.Steps = list93; - reference65 = obj64; - questRoot14.QuestSequence = list89; + obj67.Steps = list96; + reference68 = obj67; + questRoot14.QuestSequence = list92; AddQuest(questId14, questRoot14); QuestId questId15 = new QuestId(5364); QuestRoot questRoot15 = new QuestRoot(); num = 1; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - span = CollectionsMarshal.AsSpan(list94); + List list97 = new List(num); + CollectionsMarshal.SetCount(list97, num); + span = CollectionsMarshal.AsSpan(list97); index = 0; span[index] = "liza"; - questRoot15.Author = list94; + questRoot15.Author = list97; index = 7; - List list95 = new List(index); - CollectionsMarshal.SetCount(list95, index); - span2 = CollectionsMarshal.AsSpan(list95); + List list98 = new List(index); + CollectionsMarshal.SetCount(list98, index); + span2 = CollectionsMarshal.AsSpan(list98); num = 0; - ref QuestSequence reference66 = ref span2[num]; - QuestSequence obj65 = new QuestSequence + ref QuestSequence reference69 = ref span2[num]; + QuestSequence obj68 = new QuestSequence { Sequence = 0 }; index2 = 2; - List list96 = new List(index2); - CollectionsMarshal.SetCount(list96, index2); - span3 = CollectionsMarshal.AsSpan(list96); + List list99 = new List(index2); + CollectionsMarshal.SetCount(list99, index2); + span3 = CollectionsMarshal.AsSpan(list99); num2 = 0; - ref QuestStep reference67 = ref span3[num2]; - QuestStep obj66 = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) + ref QuestStep reference70 = ref span3[num2]; + QuestStep obj69 = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) { TargetTerritoryId = (ushort)1207, AetheryteShortcut = EAetheryteLocation.SolutionNine, @@ -465980,182 +466501,116 @@ public static class AssemblyQuestLoader }; SkipConditions skipConditions9 = new SkipConditions(); SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 1; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - span4 = CollectionsMarshal.AsSpan(list97); - index3 = 0; - span4[index3] = 1207; - skipStepConditions9.InTerritory = list97; + index3 = 1; + List list100 = new List(index3); + CollectionsMarshal.SetCount(list100, index3); + span4 = CollectionsMarshal.AsSpan(list100); + num3 = 0; + span4[num3] = 1207; + skipStepConditions9.InTerritory = list100; skipConditions9.StepIf = skipStepConditions9; - SkipAetheryteCondition obj67 = new SkipAetheryteCondition + SkipAetheryteCondition obj70 = new SkipAetheryteCondition { InSameTerritory = true }; - index3 = 1; - List list98 = new List(index3); - CollectionsMarshal.SetCount(list98, index3); - span4 = CollectionsMarshal.AsSpan(list98); - num3 = 0; - span4[num3] = 1207; - obj67.InTerritory = list98; - skipConditions9.AetheryteShortcutIf = obj67; - obj66.SkipConditions = skipConditions9; - reference67 = obj66; - num2++; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1048161u, new Vector3(-5.874817f, -3.6188258E-08f, 6.8512573f), 1207); - obj65.Steps = list96; - reference66 = obj65; - num++; - ref QuestSequence reference68 = ref span2[num]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - span3 = CollectionsMarshal.AsSpan(list99); - index2 = 0; - ref QuestStep reference69 = ref span3[index2]; - QuestStep obj69 = new QuestStep(EInteractionType.Interact, 2014102u, new Vector3(-0.015319824f, 0.99176025f, 16.03717f), 1207) - { - TargetTerritoryId = (ushort)1186 - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); num3 = 1; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - span4 = CollectionsMarshal.AsSpan(list100); + List list101 = new List(num3); + CollectionsMarshal.SetCount(list101, num3); + span4 = CollectionsMarshal.AsSpan(list101); index3 = 0; span4[index3] = 1207; - skipStepConditions10.NotInTerritory = list100; - skipConditions10.StepIf = skipStepConditions10; - obj69.SkipConditions = skipConditions10; - reference69 = obj69; - index2++; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054503u, new Vector3(291.4015f, 50.749996f, 155.19946f), 1186); + obj70.InTerritory = list101; + skipConditions9.AetheryteShortcutIf = obj70; + obj69.SkipConditions = skipConditions9; + reference70 = obj69; + num2++; + span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1048161u, new Vector3(-5.874817f, -3.6188258E-08f, 6.8512573f), 1207); obj68.Steps = list99; - reference68 = obj68; - num++; - ref QuestSequence reference70 = ref span2[num]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 2 - }; - index2 = 1; - List list101 = new List(index2); - CollectionsMarshal.SetCount(list101, index2); - span3 = CollectionsMarshal.AsSpan(list101); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054509u, new Vector3(291.432f, 50.75f, 153.79565f), 1186); - obj70.Steps = list101; - reference70 = obj70; + reference69 = obj68; num++; ref QuestSequence reference71 = ref span2[num]; QuestSequence obj71 = new QuestSequence { - Sequence = 3 + Sequence = 1 }; - num2 = 3; + num2 = 2; List list102 = new List(num2); CollectionsMarshal.SetCount(list102, num2); span3 = CollectionsMarshal.AsSpan(list102); index2 = 0; ref QuestStep reference72 = ref span3[index2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1056091u, new Vector3(349.17212f, 50.75f, 198.38245f), 1186); - index3 = 6; - List list103 = new List(index3); - CollectionsMarshal.SetCount(list103, index3); - span5 = CollectionsMarshal.AsSpan(list103); - num3 = 0; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list103; - reference72 = questStep2; - index2++; - ref QuestStep reference73 = ref span3[index2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1056090u, new Vector3(341.26794f, 50.75f, 146.68494f), 1186); - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - span5 = CollectionsMarshal.AsSpan(list104); - index3 = 0; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list104; - reference73 = questStep3; - index2++; - ref QuestStep reference74 = ref span3[index2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1054508u, new Vector3(377.3098f, 50.749996f, 115.098755f), 1186); - index3 = 6; - List list105 = new List(index3); - CollectionsMarshal.SetCount(list105, index3); - span5 = CollectionsMarshal.AsSpan(list105); - num3 = 0; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list105; - num3 = 1; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - span6 = CollectionsMarshal.AsSpan(list106); - index3 = 0; - span6[index3] = new DialogueChoice + QuestStep obj72 = new QuestStep(EInteractionType.Interact, 2014102u, new Vector3(-0.015319824f, 0.99176025f, 16.03717f), 1207) { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI101_05364_Q3_000_000"), - Answer = new ExcelRef("TEXT_KINGMI101_05364_A3_000_003") + TargetTerritoryId = (ushort)1186 }; - questStep4.DialogueChoices = list106; - reference74 = questStep4; + SkipConditions skipConditions10 = new SkipConditions(); + SkipStepConditions skipStepConditions10 = new SkipStepConditions(); + index3 = 1; + List list103 = new List(index3); + CollectionsMarshal.SetCount(list103, index3); + span4 = CollectionsMarshal.AsSpan(list103); + num3 = 0; + span4[num3] = 1207; + skipStepConditions10.NotInTerritory = list103; + skipConditions10.StepIf = skipStepConditions10; + obj72.SkipConditions = skipConditions10; + reference72 = obj72; + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054503u, new Vector3(291.4015f, 50.749996f, 155.19946f), 1186); obj71.Steps = list102; reference71 = obj71; num++; - ref QuestSequence reference75 = ref span2[num]; - QuestSequence obj72 = new QuestSequence + ref QuestSequence reference73 = ref span2[num]; + QuestSequence obj73 = new QuestSequence { - Sequence = 4 + Sequence = 2 }; - index2 = 2; - List list107 = new List(index2); - CollectionsMarshal.SetCount(list107, index2); - span3 = CollectionsMarshal.AsSpan(list107); + index2 = 1; + List list104 = new List(index2); + CollectionsMarshal.SetCount(list104, index2); + span3 = CollectionsMarshal.AsSpan(list104); num2 = 0; - ref QuestStep reference76 = ref span3[num2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1054507u, new Vector3(465.2932f, 60f, 149.79773f), 1186); + span3[num2] = new QuestStep(EInteractionType.Interact, 1054509u, new Vector3(291.432f, 50.75f, 153.79565f), 1186); + obj73.Steps = list104; + reference73 = obj73; + num++; + ref QuestSequence reference74 = ref span2[num]; + QuestSequence obj74 = new QuestSequence + { + Sequence = 3 + }; + num2 = 3; + List list105 = new List(num2); + CollectionsMarshal.SetCount(list105, num2); + span3 = CollectionsMarshal.AsSpan(list105); + index2 = 0; + ref QuestStep reference75 = ref span3[index2]; + QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1056091u, new Vector3(349.17212f, 50.75f, 198.38245f), 1186); + num3 = 6; + List list106 = new List(num3); + CollectionsMarshal.SetCount(list106, num3); + span5 = CollectionsMarshal.AsSpan(list106); + index3 = 0; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); + questStep2.CompletionQuestVariablesFlags = list106; + reference75 = questStep2; + index2++; + ref QuestStep reference76 = ref span3[index2]; + QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1056090u, new Vector3(341.26794f, 50.75f, 146.68494f), 1186); index3 = 6; - List list108 = new List(index3); - CollectionsMarshal.SetCount(list108, index3); - span5 = CollectionsMarshal.AsSpan(list108); + List list107 = new List(index3); + CollectionsMarshal.SetCount(list107, index3); + span5 = CollectionsMarshal.AsSpan(list107); num3 = 0; span5[num3] = null; num3++; @@ -466168,15 +466623,15 @@ public static class AssemblyQuestLoader span5[num3] = null; num3++; span5[num3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list108; - reference76 = questStep5; - num2++; - ref QuestStep reference77 = ref span3[num2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1054506u, new Vector3(465.44592f, 59.999886f, 196.58191f), 1186); + questStep3.CompletionQuestVariablesFlags = list107; + reference76 = questStep3; + index2++; + ref QuestStep reference77 = ref span3[index2]; + QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1054508u, new Vector3(377.3098f, 50.749996f, 115.098755f), 1186); num3 = 6; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - span5 = CollectionsMarshal.AsSpan(list109); + List list108 = new List(num3); + CollectionsMarshal.SetCount(list108, num3); + span5 = CollectionsMarshal.AsSpan(list108); index3 = 0; span5[index3] = null; index3++; @@ -466189,87 +466644,153 @@ public static class AssemblyQuestLoader span5[index3] = null; index3++; span5[index3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list109; - reference77 = questStep6; - obj72.Steps = list107; - reference75 = obj72; + questStep4.CompletionQuestVariablesFlags = list108; + index3 = 1; + List list109 = new List(index3); + CollectionsMarshal.SetCount(list109, index3); + span6 = CollectionsMarshal.AsSpan(list109); + num3 = 0; + span6[num3] = new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = new ExcelRef("TEXT_KINGMI101_05364_Q3_000_000"), + Answer = new ExcelRef("TEXT_KINGMI101_05364_A3_000_003") + }; + questStep4.DialogueChoices = list109; + reference77 = questStep4; + obj74.Steps = list105; + reference74 = obj74; num++; ref QuestSequence reference78 = ref span2[num]; - QuestSequence obj73 = new QuestSequence + QuestSequence obj75 = new QuestSequence + { + Sequence = 4 + }; + index2 = 2; + List list110 = new List(index2); + CollectionsMarshal.SetCount(list110, index2); + span3 = CollectionsMarshal.AsSpan(list110); + num2 = 0; + ref QuestStep reference79 = ref span3[num2]; + QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1054507u, new Vector3(465.2932f, 60f, 149.79773f), 1186); + num3 = 6; + List list111 = new List(num3); + CollectionsMarshal.SetCount(list111, num3); + span5 = CollectionsMarshal.AsSpan(list111); + index3 = 0; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + questStep5.CompletionQuestVariablesFlags = list111; + reference79 = questStep5; + num2++; + ref QuestStep reference80 = ref span3[num2]; + QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1054506u, new Vector3(465.44592f, 59.999886f, 196.58191f), 1186); + index3 = 6; + List list112 = new List(index3); + CollectionsMarshal.SetCount(list112, index3); + span5 = CollectionsMarshal.AsSpan(list112); + num3 = 0; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + questStep6.CompletionQuestVariablesFlags = list112; + reference80 = questStep6; + obj75.Steps = list110; + reference78 = obj75; + num++; + ref QuestSequence reference81 = ref span2[num]; + QuestSequence obj76 = new QuestSequence { Sequence = 5 }; num2 = 3; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - span3 = CollectionsMarshal.AsSpan(list110); + List list113 = new List(num2); + CollectionsMarshal.SetCount(list113, num2); + span3 = CollectionsMarshal.AsSpan(list113); index2 = 0; span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(472.45462f, 60f, 142.0744f), 1186); index2++; span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(467.92972f, 60f, 120.31207f), 1186); index2++; span3[index2] = new QuestStep(EInteractionType.Interact, 1056092u, new Vector3(350.78967f, 59.999996f, 76.798584f), 1186); - obj73.Steps = list110; - reference78 = obj73; + obj76.Steps = list113; + reference81 = obj76; num++; - ref QuestSequence reference79 = ref span2[num]; - QuestSequence obj74 = new QuestSequence + ref QuestSequence reference82 = ref span2[num]; + QuestSequence obj77 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list111 = new List(index2); - CollectionsMarshal.SetCount(list111, index2); - span3 = CollectionsMarshal.AsSpan(list111); + List list114 = new List(index2); + CollectionsMarshal.SetCount(list114, index2); + span3 = CollectionsMarshal.AsSpan(list114); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054514u, new Vector3(-404.4709f, 13.699978f, 239.00195f), 1186) { StopDistance = 7f }; - obj74.Steps = list111; - reference79 = obj74; - questRoot15.QuestSequence = list95; + obj77.Steps = list114; + reference82 = obj77; + questRoot15.QuestSequence = list98; AddQuest(questId15, questRoot15); QuestId questId16 = new QuestId(5365); QuestRoot questRoot16 = new QuestRoot(); num = 1; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - span = CollectionsMarshal.AsSpan(list112); + List list115 = new List(num); + CollectionsMarshal.SetCount(list115, num); + span = CollectionsMarshal.AsSpan(list115); index = 0; span[index] = "liza"; - questRoot16.Author = list112; + questRoot16.Author = list115; index = 6; - List list113 = new List(index); - CollectionsMarshal.SetCount(list113, index); - span2 = CollectionsMarshal.AsSpan(list113); + List list116 = new List(index); + CollectionsMarshal.SetCount(list116, index); + span2 = CollectionsMarshal.AsSpan(list116); num = 0; - ref QuestSequence reference80 = ref span2[num]; - QuestSequence obj75 = new QuestSequence + ref QuestSequence reference83 = ref span2[num]; + QuestSequence obj78 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - span3 = CollectionsMarshal.AsSpan(list114); + List list117 = new List(num2); + CollectionsMarshal.SetCount(list117, num2); + span3 = CollectionsMarshal.AsSpan(list117); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054514u, new Vector3(-404.4709f, 13.699978f, 239.00195f), 1186) { StopDistance = 7f }; - obj75.Steps = list114; - reference80 = obj75; + obj78.Steps = list117; + reference83 = obj78; num++; - ref QuestSequence reference81 = ref span2[num]; - QuestSequence obj76 = new QuestSequence + ref QuestSequence reference84 = ref span2[num]; + QuestSequence obj79 = new QuestSequence { Sequence = 1 }; index2 = 3; - List list115 = new List(index2); - CollectionsMarshal.SetCount(list115, index2); - span3 = CollectionsMarshal.AsSpan(list115); + List list118 = new List(index2); + CollectionsMarshal.SetCount(list118, index2); + span3 = CollectionsMarshal.AsSpan(list118); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-409.0448f, 13.499981f, 269.6568f), 1186); num2++; @@ -466279,321 +466800,297 @@ public static class AssemblyQuestLoader }; num2++; span3[num2] = new QuestStep(EInteractionType.Interact, 1054518u, new Vector3(-368.00183f, 14f, 228.90051f), 1186); - obj76.Steps = list115; - reference81 = obj76; - num++; - ref QuestSequence reference82 = ref span2[num]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - span3 = CollectionsMarshal.AsSpan(list116); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 2014833u, new Vector3(-328.48102f, 13.992493f, 161.24207f), 1186); - obj77.Steps = list116; - reference82 = obj77; - num++; - ref QuestSequence reference83 = ref span2[num]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 3 - }; - index2 = 1; - List list117 = new List(index2); - CollectionsMarshal.SetCount(list117, index2); - span3 = CollectionsMarshal.AsSpan(list117); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 2014834u, new Vector3(-242.69476f, 2.1820068f, 212.4513f), 1186); - obj78.Steps = list117; - reference83 = obj78; - num++; - ref QuestSequence reference84 = ref span2[num]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - span3 = CollectionsMarshal.AsSpan(list118); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 2014835u, new Vector3(-141.31384f, 2.1820068f, 212.9701f), 1186); obj79.Steps = list118; reference84 = obj79; num++; ref QuestSequence reference85 = ref span2[num]; QuestSequence obj80 = new QuestSequence { - Sequence = byte.MaxValue + Sequence = 2 }; - index2 = 1; - List list119 = new List(index2); - CollectionsMarshal.SetCount(list119, index2); + num2 = 1; + List list119 = new List(num2); + CollectionsMarshal.SetCount(list119, num2); span3 = CollectionsMarshal.AsSpan(list119); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054529u, new Vector3(-134.53882f, 19.699795f, 382.77246f), 1186); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 2014833u, new Vector3(-328.48102f, 13.992493f, 161.24207f), 1186); obj80.Steps = list119; reference85 = obj80; - questRoot16.QuestSequence = list113; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(5366); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - span = CollectionsMarshal.AsSpan(list120); - index = 0; - span[index] = "liza"; - questRoot17.Author = list120; - index = 9; - List list121 = new List(index); - CollectionsMarshal.SetCount(list121, index); - span2 = CollectionsMarshal.AsSpan(list121); - num = 0; + num++; ref QuestSequence reference86 = ref span2[num]; QuestSequence obj81 = new QuestSequence { - Sequence = 0 + Sequence = 3 }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - span3 = CollectionsMarshal.AsSpan(list122); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054529u, new Vector3(-134.53882f, 19.699795f, 382.77246f), 1186); - obj81.Steps = list122; + index2 = 1; + List list120 = new List(index2); + CollectionsMarshal.SetCount(list120, index2); + span3 = CollectionsMarshal.AsSpan(list120); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 2014834u, new Vector3(-242.69476f, 2.1820068f, 212.4513f), 1186); + obj81.Steps = list120; reference86 = obj81; num++; ref QuestSequence reference87 = ref span2[num]; QuestSequence obj82 = new QuestSequence { - Sequence = 1 + Sequence = 4 }; - index2 = 1; - List list123 = new List(index2); - CollectionsMarshal.SetCount(list123, index2); - span3 = CollectionsMarshal.AsSpan(list123); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054535u, new Vector3(0.503479f, -4.5634806E-08f, 6.7596436f), 1207) - { - StopDistance = 7f - }; - obj82.Steps = list123; + num2 = 1; + List list121 = new List(num2); + CollectionsMarshal.SetCount(list121, num2); + span3 = CollectionsMarshal.AsSpan(list121); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 2014835u, new Vector3(-141.31384f, 2.1820068f, 212.9701f), 1186); + obj82.Steps = list121; reference87 = obj82; num++; ref QuestSequence reference88 = ref span2[num]; QuestSequence obj83 = new QuestSequence { - Sequence = 2 + Sequence = byte.MaxValue }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - span3 = CollectionsMarshal.AsSpan(list124); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054536u, new Vector3(-5.1728516f, -4.656613E-08f, 7.1869507f), 1207) - { - StopDistance = 7f - }; - obj83.Steps = list124; + index2 = 1; + List list122 = new List(index2); + CollectionsMarshal.SetCount(list122, index2); + span3 = CollectionsMarshal.AsSpan(list122); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054529u, new Vector3(-134.53882f, 19.699795f, 382.77246f), 1186); + obj83.Steps = list122; reference88 = obj83; - num++; + questRoot16.QuestSequence = list116; + AddQuest(questId16, questRoot16); + QuestId questId17 = new QuestId(5366); + QuestRoot questRoot17 = new QuestRoot(); + num = 1; + List list123 = new List(num); + CollectionsMarshal.SetCount(list123, num); + span = CollectionsMarshal.AsSpan(list123); + index = 0; + span[index] = "liza"; + questRoot17.Author = list123; + index = 9; + List list124 = new List(index); + CollectionsMarshal.SetCount(list124, index); + span2 = CollectionsMarshal.AsSpan(list124); + num = 0; ref QuestSequence reference89 = ref span2[num]; QuestSequence obj84 = new QuestSequence { - Sequence = 3 + Sequence = 0 }; - index2 = 1; - List list125 = new List(index2); - CollectionsMarshal.SetCount(list125, index2); + num2 = 1; + List list125 = new List(num2); + CollectionsMarshal.SetCount(list125, num2); span3 = CollectionsMarshal.AsSpan(list125); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054543u, new Vector3(-284.596f, 45.884224f, -812.55817f), 1191); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054529u, new Vector3(-134.53882f, 19.699795f, 382.77246f), 1186); obj84.Steps = list125; reference89 = obj84; num++; ref QuestSequence reference90 = ref span2[num]; QuestSequence obj85 = new QuestSequence { - Sequence = 4 + Sequence = 1 }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); + index2 = 1; + List list126 = new List(index2); + CollectionsMarshal.SetCount(list126, index2); span3 = CollectionsMarshal.AsSpan(list126); - index2 = 0; - ref QuestStep reference91 = ref span3[index2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1054543u, new Vector3(-284.596f, 45.884224f, -812.55817f), 1191); - index3 = 1; - List list127 = new List(index3); - CollectionsMarshal.SetCount(list127, index3); - span6 = CollectionsMarshal.AsSpan(list127); - num3 = 0; - span6[num3] = new DialogueChoice + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054535u, new Vector3(0.503479f, -4.5634806E-08f, 6.7596436f), 1207) { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI103_05366_SYSTEM_000_081") + StopDistance = 7f }; - questStep7.DialogueChoices = list127; - reference91 = questStep7; obj85.Steps = list126; reference90 = obj85; num++; - ref QuestSequence reference92 = ref span2[num]; + ref QuestSequence reference91 = ref span2[num]; QuestSequence obj86 = new QuestSequence { - Sequence = 5 + Sequence = 2 + }; + num2 = 1; + List list127 = new List(num2); + CollectionsMarshal.SetCount(list127, num2); + span3 = CollectionsMarshal.AsSpan(list127); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054536u, new Vector3(-5.1728516f, -4.656613E-08f, 7.1869507f), 1207) + { + StopDistance = 7f + }; + obj86.Steps = list127; + reference91 = obj86; + num++; + ref QuestSequence reference92 = ref span2[num]; + QuestSequence obj87 = new QuestSequence + { + Sequence = 3 }; index2 = 1; List list128 = new List(index2); CollectionsMarshal.SetCount(list128, index2); span3 = CollectionsMarshal.AsSpan(list128); num2 = 0; - ref QuestStep reference93 = ref span3[num2]; - QuestStep obj87 = new QuestStep(EInteractionType.Combat, null, new Vector3(219.38443f, 57.060833f, -661.6021f), 1191) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span7 = CollectionsMarshal.AsSpan(list129); - index3 = 0; - span7[index3] = 18915u; - obj87.KillEnemyDataIds = list129; - reference93 = obj87; - obj86.Steps = list128; - reference92 = obj86; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054543u, new Vector3(-284.596f, 45.884224f, -812.55817f), 1191); + obj87.Steps = list128; + reference92 = obj87; num++; - ref QuestSequence reference94 = ref span2[num]; + ref QuestSequence reference93 = ref span2[num]; QuestSequence obj88 = new QuestSequence { - Sequence = 6 + Sequence = 4 }; num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - span3 = CollectionsMarshal.AsSpan(list130); + List list129 = new List(num2); + CollectionsMarshal.SetCount(list129, num2); + span3 = CollectionsMarshal.AsSpan(list129); index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054544u, new Vector3(210.40662f, 57.66854f, -651.3619f), 1191); - obj88.Steps = list130; - reference94 = obj88; - num++; - span2[num] = new QuestSequence + ref QuestStep reference94 = ref span3[index2]; + QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1054543u, new Vector3(-284.596f, 45.884224f, -812.55817f), 1191); + num3 = 1; + List list130 = new List(num3); + CollectionsMarshal.SetCount(list130, num3); + span6 = CollectionsMarshal.AsSpan(list130); + index3 = 0; + span6[index3] = new DialogueChoice { - Sequence = 7 + Type = EDialogChoiceType.YesNo, + Prompt = new ExcelRef("TEXT_KINGMI103_05366_SYSTEM_000_081") }; + questStep7.DialogueChoices = list130; + reference94 = questStep7; + obj88.Steps = list129; + reference93 = obj88; num++; ref QuestSequence reference95 = ref span2[num]; QuestSequence obj89 = new QuestSequence { - Sequence = byte.MaxValue + Sequence = 5 }; index2 = 1; List list131 = new List(index2); CollectionsMarshal.SetCount(list131, index2); span3 = CollectionsMarshal.AsSpan(list131); num2 = 0; - span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054545u, new Vector3(6.6071167f, 0.37129992f, -18.570251f), 1171) + ref QuestStep reference96 = ref span3[num2]; + QuestStep obj90 = new QuestStep(EInteractionType.Combat, null, new Vector3(219.38443f, 57.060833f, -661.6021f), 1191) { - StopDistance = 7f + Fly = true, + EnemySpawnType = EEnemySpawnType.AutoOnEnterArea }; + index3 = 1; + List list132 = new List(index3); + CollectionsMarshal.SetCount(list132, index3); + Span span7 = CollectionsMarshal.AsSpan(list132); + num3 = 0; + span7[num3] = 18915u; + obj90.KillEnemyDataIds = list132; + reference96 = obj90; obj89.Steps = list131; reference95 = obj89; - questRoot17.QuestSequence = list121; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(5367); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - span = CollectionsMarshal.AsSpan(list132); - index = 0; - span[index] = "liza"; - questRoot18.Author = list132; - index = 6; - List list133 = new List(index); - CollectionsMarshal.SetCount(list133, index); - span2 = CollectionsMarshal.AsSpan(list133); - num = 0; - ref QuestSequence reference96 = ref span2[num]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - span3 = CollectionsMarshal.AsSpan(list134); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054545u, new Vector3(6.6071167f, 0.37129992f, -18.570251f), 1171); - obj90.Steps = list134; - reference96 = obj90; num++; ref QuestSequence reference97 = ref span2[num]; QuestSequence obj91 = new QuestSequence + { + Sequence = 6 + }; + num2 = 1; + List list133 = new List(num2); + CollectionsMarshal.SetCount(list133, num2); + span3 = CollectionsMarshal.AsSpan(list133); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054544u, new Vector3(210.40662f, 57.66854f, -651.3619f), 1191); + obj91.Steps = list133; + reference97 = obj91; + num++; + span2[num] = new QuestSequence + { + Sequence = 7 + }; + num++; + ref QuestSequence reference98 = ref span2[num]; + QuestSequence obj92 = new QuestSequence + { + Sequence = byte.MaxValue + }; + index2 = 1; + List list134 = new List(index2); + CollectionsMarshal.SetCount(list134, index2); + span3 = CollectionsMarshal.AsSpan(list134); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054545u, new Vector3(6.6071167f, 0.37129992f, -18.570251f), 1171) + { + StopDistance = 7f + }; + obj92.Steps = list134; + reference98 = obj92; + questRoot17.QuestSequence = list124; + AddQuest(questId17, questRoot17); + QuestId questId18 = new QuestId(5367); + QuestRoot questRoot18 = new QuestRoot(); + num = 1; + List list135 = new List(num); + CollectionsMarshal.SetCount(list135, num); + span = CollectionsMarshal.AsSpan(list135); + index = 0; + span[index] = "liza"; + questRoot18.Author = list135; + index = 6; + List list136 = new List(index); + CollectionsMarshal.SetCount(list136, index); + span2 = CollectionsMarshal.AsSpan(list136); + num = 0; + ref QuestSequence reference99 = ref span2[num]; + QuestSequence obj93 = new QuestSequence + { + Sequence = 0 + }; + num2 = 1; + List list137 = new List(num2); + CollectionsMarshal.SetCount(list137, num2); + span3 = CollectionsMarshal.AsSpan(list137); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054545u, new Vector3(6.6071167f, 0.37129992f, -18.570251f), 1171); + obj93.Steps = list137; + reference99 = obj93; + num++; + ref QuestSequence reference100 = ref span2[num]; + QuestSequence obj94 = new QuestSequence { Sequence = 1 }; index2 = 1; - List list135 = new List(index2); - CollectionsMarshal.SetCount(list135, index2); - span3 = CollectionsMarshal.AsSpan(list135); + List list138 = new List(index2); + CollectionsMarshal.SetCount(list138, index2); + span3 = CollectionsMarshal.AsSpan(list138); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054546u, new Vector3(-240.77216f, 30f, -597.345f), 1191) { AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts }; - obj91.Steps = list135; - reference97 = obj91; + obj94.Steps = list138; + reference100 = obj94; num++; - ref QuestSequence reference98 = ref span2[num]; - QuestSequence obj92 = new QuestSequence + ref QuestSequence reference101 = ref span2[num]; + QuestSequence obj95 = new QuestSequence { Sequence = 2 }; num2 = 3; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - span3 = CollectionsMarshal.AsSpan(list136); + List list139 = new List(num2); + CollectionsMarshal.SetCount(list139, num2); + span3 = CollectionsMarshal.AsSpan(list139); index2 = 0; - ref QuestStep reference99 = ref span3[index2]; - QuestStep obj93 = new QuestStep(EInteractionType.Interact, 1054549u, new Vector3(-303.8529f, 33.89061f, -546.7765f), 1191) - { - Fly = true - }; - index3 = 6; - List list137 = new List(index3); - CollectionsMarshal.SetCount(list137, index3); - span5 = CollectionsMarshal.AsSpan(list137); - num3 = 0; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj93.CompletionQuestVariablesFlags = list137; - reference99 = obj93; - index2++; - ref QuestStep reference100 = ref span3[index2]; - QuestStep obj94 = new QuestStep(EInteractionType.Interact, 1054548u, new Vector3(-182.97095f, 28f, -570.0313f), 1191) + ref QuestStep reference102 = ref span3[index2]; + QuestStep obj96 = new QuestStep(EInteractionType.Interact, 1054549u, new Vector3(-303.8529f, 33.89061f, -546.7765f), 1191) { Fly = true }; num3 = 6; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - span5 = CollectionsMarshal.AsSpan(list138); + List list140 = new List(num3); + CollectionsMarshal.SetCount(list140, num3); + span5 = CollectionsMarshal.AsSpan(list140); index3 = 0; span5[index3] = null; index3++; @@ -466605,19 +467102,19 @@ public static class AssemblyQuestLoader index3++; span5[index3] = null; index3++; - span5[index3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj94.CompletionQuestVariablesFlags = list138; - reference100 = obj94; + span5[index3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); + obj96.CompletionQuestVariablesFlags = list140; + reference102 = obj96; index2++; - ref QuestStep reference101 = ref span3[index2]; - QuestStep obj95 = new QuestStep(EInteractionType.Interact, 1054547u, new Vector3(-111.49768f, 42.99968f, -658.7778f), 1191) + ref QuestStep reference103 = ref span3[index2]; + QuestStep obj97 = new QuestStep(EInteractionType.Interact, 1054548u, new Vector3(-182.97095f, 28f, -570.0313f), 1191) { Fly = true }; index3 = 6; - List list139 = new List(index3); - CollectionsMarshal.SetCount(list139, index3); - span5 = CollectionsMarshal.AsSpan(list139); + List list141 = new List(index3); + CollectionsMarshal.SetCount(list141, index3); + span5 = CollectionsMarshal.AsSpan(list141); num3 = 0; span5[num3] = null; num3++; @@ -466629,546 +467126,507 @@ public static class AssemblyQuestLoader num3++; span5[num3] = null; num3++; - span5[num3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj95.CompletionQuestVariablesFlags = list139; + span5[num3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + obj97.CompletionQuestVariablesFlags = list141; + reference103 = obj97; + index2++; + ref QuestStep reference104 = ref span3[index2]; + QuestStep obj98 = new QuestStep(EInteractionType.Interact, 1054547u, new Vector3(-111.49768f, 42.99968f, -658.7778f), 1191) + { + Fly = true + }; + num3 = 6; + List list142 = new List(num3); + CollectionsMarshal.SetCount(list142, num3); + span5 = CollectionsMarshal.AsSpan(list142); + index3 = 0; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + obj98.CompletionQuestVariablesFlags = list142; + reference104 = obj98; + obj95.Steps = list139; reference101 = obj95; - obj92.Steps = list136; - reference98 = obj92; num++; - ref QuestSequence reference102 = ref span2[num]; - QuestSequence obj96 = new QuestSequence + ref QuestSequence reference105 = ref span2[num]; + QuestSequence obj99 = new QuestSequence { Sequence = 3 }; index2 = 1; - List list140 = new List(index2); - CollectionsMarshal.SetCount(list140, index2); - span3 = CollectionsMarshal.AsSpan(list140); + List list143 = new List(index2); + CollectionsMarshal.SetCount(list143, index2); + span3 = CollectionsMarshal.AsSpan(list143); num2 = 0; - ref QuestStep reference103 = ref span3[num2]; - QuestStep obj97 = new QuestStep(EInteractionType.Interact, 1054546u, new Vector3(-240.77216f, 30f, -597.345f), 1191) + ref QuestStep reference106 = ref span3[num2]; + QuestStep obj100 = new QuestStep(EInteractionType.Interact, 1054546u, new Vector3(-240.77216f, 30f, -597.345f), 1191) { Fly = true }; - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - span6 = CollectionsMarshal.AsSpan(list141); - index3 = 0; - span6[index3] = new DialogueChoice + index3 = 1; + List list144 = new List(index3); + CollectionsMarshal.SetCount(list144, index3); + span6 = CollectionsMarshal.AsSpan(list144); + num3 = 0; + span6[num3] = new DialogueChoice { Type = EDialogChoiceType.List, Prompt = new ExcelRef("TEXT_KINGMI104_05367_Q1_000_000"), Answer = new ExcelRef("TEXT_KINGMI104_05367_A1_000_002") }; - obj97.DialogueChoices = list141; - reference103 = obj97; - obj96.Steps = list140; - reference102 = obj96; + obj100.DialogueChoices = list144; + reference106 = obj100; + obj99.Steps = list143; + reference105 = obj99; num++; span2[num] = new QuestSequence { Sequence = 4 }; num++; - ref QuestSequence reference104 = ref span2[num]; - QuestSequence obj98 = new QuestSequence + ref QuestSequence reference107 = ref span2[num]; + QuestSequence obj101 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - span3 = CollectionsMarshal.AsSpan(list142); + List list145 = new List(num2); + CollectionsMarshal.SetCount(list145, num2); + span3 = CollectionsMarshal.AsSpan(list145); index2 = 0; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054550u, new Vector3(-24.307678f, 38.806587f, -411.2459f), 1186) { StopDistance = 7f }; - obj98.Steps = list142; - reference104 = obj98; - questRoot18.QuestSequence = list133; + obj101.Steps = list145; + reference107 = obj101; + questRoot18.QuestSequence = list136; AddQuest(questId18, questRoot18); QuestId questId19 = new QuestId(5368); QuestRoot questRoot19 = new QuestRoot(); num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - span = CollectionsMarshal.AsSpan(list143); + List list146 = new List(num); + CollectionsMarshal.SetCount(list146, num); + span = CollectionsMarshal.AsSpan(list146); index = 0; span[index] = "liza"; - questRoot19.Author = list143; + questRoot19.Author = list146; index = 13; - List list144 = new List(index); - CollectionsMarshal.SetCount(list144, index); - span2 = CollectionsMarshal.AsSpan(list144); + List list147 = new List(index); + CollectionsMarshal.SetCount(list147, index); + span2 = CollectionsMarshal.AsSpan(list147); num = 0; - ref QuestSequence reference105 = ref span2[num]; - QuestSequence obj99 = new QuestSequence + ref QuestSequence reference108 = ref span2[num]; + QuestSequence obj102 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list145 = new List(index2); - CollectionsMarshal.SetCount(list145, index2); - span3 = CollectionsMarshal.AsSpan(list145); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054551u, new Vector3(-23.544739f, 38.806587f, -412.19202f), 1186) - { - StopDistance = 7f - }; - obj99.Steps = list145; - reference105 = obj99; - num++; - ref QuestSequence reference106 = ref span2[num]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - span3 = CollectionsMarshal.AsSpan(list146); - index2 = 0; - ref QuestStep reference107 = ref span3[index2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1054936u, new Vector3(-57.41974f, 42.8066f, -546.7765f), 1186); - index3 = 1; - List list147 = new List(index3); - CollectionsMarshal.SetCount(list147, index3); - span6 = CollectionsMarshal.AsSpan(list147); - num3 = 0; - span6[num3] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_000_061") - }; - questStep8.DialogueChoices = list147; - reference107 = questStep8; - obj100.Steps = list146; - reference106 = obj100; - num++; - span2[num] = new QuestSequence - { - Sequence = 2 - }; - num++; - ref QuestSequence reference108 = ref span2[num]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 3 - }; - index2 = 1; List list148 = new List(index2); CollectionsMarshal.SetCount(list148, index2); span3 = CollectionsMarshal.AsSpan(list148); num2 = 0; - ref QuestStep reference109 = ref span3[num2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2014877u, new Vector3(-53.76658f, 0.4967778f, 10.78857f), 1299); + span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054551u, new Vector3(-23.544739f, 38.806587f, -412.19202f), 1186) + { + StopDistance = 7f + }; + obj102.Steps = list148; + reference108 = obj102; + num++; + ref QuestSequence reference109 = ref span2[num]; + QuestSequence obj103 = new QuestSequence + { + Sequence = 1 + }; + num2 = 1; + List list149 = new List(num2); + CollectionsMarshal.SetCount(list149, num2); + span3 = CollectionsMarshal.AsSpan(list149); + index2 = 0; + ref QuestStep reference110 = ref span3[index2]; + QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1054936u, new Vector3(-57.41974f, 42.8066f, -546.7765f), 1186); num3 = 1; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - span6 = CollectionsMarshal.AsSpan(list149); + List list150 = new List(num3); + CollectionsMarshal.SetCount(list150, num3); + span6 = CollectionsMarshal.AsSpan(list150); index3 = 0; span6[index3] = new DialogueChoice { Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_000_117") + Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_000_061") }; - questStep9.DialogueChoices = list149; - reference109 = questStep9; - obj101.Steps = list148; - reference108 = obj101; + questStep8.DialogueChoices = list150; + reference110 = questStep8; + obj103.Steps = list149; + reference109 = obj103; num++; - ref QuestSequence reference110 = ref span2[num]; - QuestSequence obj102 = new QuestSequence + span2[num] = new QuestSequence { - Sequence = 4 + Sequence = 2 }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - span3 = CollectionsMarshal.AsSpan(list150); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.UseItem, 2014879u, new Vector3(-31.18711f, 1.386986f, 14.38922f), 1299) - { - ItemId = 2003767u - }; - obj102.Steps = list150; - reference110 = obj102; num++; ref QuestSequence reference111 = ref span2[num]; - QuestSequence obj103 = new QuestSequence + QuestSequence obj104 = new QuestSequence { - Sequence = 5 + Sequence = 3 }; index2 = 1; List list151 = new List(index2); CollectionsMarshal.SetCount(list151, index2); span3 = CollectionsMarshal.AsSpan(list151); num2 = 0; - span3[num2] = new QuestStep(EInteractionType.UseItem, 2014880u, new Vector3(5.563949f, 1.29885f, -7.714191f), 1299) - { - ItemId = 2003789u - }; - obj103.Steps = list151; - reference111 = obj103; - num++; - ref QuestSequence reference112 = ref span2[num]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - span3 = CollectionsMarshal.AsSpan(list152); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054888u, new Vector3(-9.079163f, 0.9997301f, -45.731323f), 1299); - obj104.Steps = list152; - reference112 = obj104; - num++; - ref QuestSequence reference113 = ref span2[num]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 7 - }; - index2 = 1; - List list153 = new List(index2); - CollectionsMarshal.SetCount(list153, index2); - span3 = CollectionsMarshal.AsSpan(list153); - num2 = 0; - ref QuestStep reference114 = ref span3[num2]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2014883u, new Vector3(6.94281f, 1.480042f, -53.72705f), 1299); + ref QuestStep reference112 = ref span3[num2]; + QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2014877u, new Vector3(-53.76658f, 0.4967778f, 10.78857f), 1299); index3 = 1; - List list154 = new List(index3); - CollectionsMarshal.SetCount(list154, index3); - span6 = CollectionsMarshal.AsSpan(list154); + List list152 = new List(index3); + CollectionsMarshal.SetCount(list152, index3); + span6 = CollectionsMarshal.AsSpan(list152); num3 = 0; span6[num3] = new DialogueChoice { Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_120_250") + Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_000_117") + }; + questStep9.DialogueChoices = list152; + reference112 = questStep9; + obj104.Steps = list151; + reference111 = obj104; + num++; + ref QuestSequence reference113 = ref span2[num]; + QuestSequence obj105 = new QuestSequence + { + Sequence = 4 + }; + num2 = 1; + List list153 = new List(num2); + CollectionsMarshal.SetCount(list153, num2); + span3 = CollectionsMarshal.AsSpan(list153); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.UseItem, 2014879u, new Vector3(-31.18711f, 1.386986f, 14.38922f), 1299) + { + ItemId = 2003767u }; - questStep10.DialogueChoices = list154; - num3 = 6; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - span7 = CollectionsMarshal.AsSpan(list155); - index3 = 0; - span7[index3] = 0u; - index3++; - span7[index3] = 0u; - index3++; - span7[index3] = 4u; - index3++; - span7[index3] = 10u; - index3++; - span7[index3] = 8u; - index3++; - span7[index3] = 11u; - questStep10.PointMenuChoices = list155; - reference114 = questStep10; obj105.Steps = list153; reference113 = obj105; num++; - ref QuestSequence reference115 = ref span2[num]; + ref QuestSequence reference114 = ref span2[num]; QuestSequence obj106 = new QuestSequence + { + Sequence = 5 + }; + index2 = 1; + List list154 = new List(index2); + CollectionsMarshal.SetCount(list154, index2); + span3 = CollectionsMarshal.AsSpan(list154); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.UseItem, 2014880u, new Vector3(5.563949f, 1.29885f, -7.714191f), 1299) + { + ItemId = 2003789u + }; + obj106.Steps = list154; + reference114 = obj106; + num++; + ref QuestSequence reference115 = ref span2[num]; + QuestSequence obj107 = new QuestSequence + { + Sequence = 6 + }; + num2 = 1; + List list155 = new List(num2); + CollectionsMarshal.SetCount(list155, num2); + span3 = CollectionsMarshal.AsSpan(list155); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054888u, new Vector3(-9.079163f, 0.9997301f, -45.731323f), 1299); + obj107.Steps = list155; + reference115 = obj107; + num++; + ref QuestSequence reference116 = ref span2[num]; + QuestSequence obj108 = new QuestSequence + { + Sequence = 7 + }; + index2 = 1; + List list156 = new List(index2); + CollectionsMarshal.SetCount(list156, index2); + span3 = CollectionsMarshal.AsSpan(list156); + num2 = 0; + ref QuestStep reference117 = ref span3[num2]; + QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2014883u, new Vector3(6.94281f, 1.480042f, -53.72705f), 1299); + num3 = 1; + List list157 = new List(num3); + CollectionsMarshal.SetCount(list157, num3); + span6 = CollectionsMarshal.AsSpan(list157); + index3 = 0; + span6[index3] = new DialogueChoice + { + Type = EDialogChoiceType.YesNo, + Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_120_250") + }; + questStep10.DialogueChoices = list157; + index3 = 6; + List list158 = new List(index3); + CollectionsMarshal.SetCount(list158, index3); + span7 = CollectionsMarshal.AsSpan(list158); + num3 = 0; + span7[num3] = 0u; + num3++; + span7[num3] = 0u; + num3++; + span7[num3] = 4u; + num3++; + span7[num3] = 10u; + num3++; + span7[num3] = 8u; + num3++; + span7[num3] = 11u; + questStep10.PointMenuChoices = list158; + reference117 = questStep10; + obj108.Steps = list156; + reference116 = obj108; + num++; + ref QuestSequence reference118 = ref span2[num]; + QuestSequence obj109 = new QuestSequence { Sequence = 8 }; num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - span3 = CollectionsMarshal.AsSpan(list156); + List list159 = new List(num2); + CollectionsMarshal.SetCount(list159, num2); + span3 = CollectionsMarshal.AsSpan(list159); index2 = 0; span3[index2] = new QuestStep(EInteractionType.UseItem, 2014881u, new Vector3(7.765003f, 1.296952f, 5.581435f), 1299) { ItemId = 2003768u }; - obj106.Steps = list156; - reference115 = obj106; + obj109.Steps = list159; + reference118 = obj109; num++; - ref QuestSequence reference116 = ref span2[num]; - QuestSequence obj107 = new QuestSequence + ref QuestSequence reference119 = ref span2[num]; + QuestSequence obj110 = new QuestSequence { Sequence = 9 }; index2 = 1; - List list157 = new List(index2); - CollectionsMarshal.SetCount(list157, index2); - span3 = CollectionsMarshal.AsSpan(list157); + List list160 = new List(index2); + CollectionsMarshal.SetCount(list160, index2); + span3 = CollectionsMarshal.AsSpan(list160); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054901u, new Vector3(15.6710205f, -1.036562E-06f, 28.244385f), 1299); - obj107.Steps = list157; - reference116 = obj107; + obj110.Steps = list160; + reference119 = obj110; num++; - ref QuestSequence reference117 = ref span2[num]; - QuestSequence obj108 = new QuestSequence + ref QuestSequence reference120 = ref span2[num]; + QuestSequence obj111 = new QuestSequence { Sequence = 10 }; num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - span3 = CollectionsMarshal.AsSpan(list158); + List list161 = new List(num2); + CollectionsMarshal.SetCount(list161, num2); + span3 = CollectionsMarshal.AsSpan(list161); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054907u, new Vector3(43.289795f, 0.30650482f, 12.436096f), 1299); - obj108.Steps = list158; - reference117 = obj108; + obj111.Steps = list161; + reference120 = obj111; num++; - ref QuestSequence reference118 = ref span2[num]; - QuestSequence obj109 = new QuestSequence + ref QuestSequence reference121 = ref span2[num]; + QuestSequence obj112 = new QuestSequence { Sequence = 11 }; index2 = 4; - List list159 = new List(index2); - CollectionsMarshal.SetCount(list159, index2); - span3 = CollectionsMarshal.AsSpan(list159); + List list162 = new List(index2); + CollectionsMarshal.SetCount(list162, index2); + span3 = CollectionsMarshal.AsSpan(list162); num2 = 0; - ref QuestStep reference119 = ref span3[num2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2014884u, new Vector3(44.99468f, 0.7551205f, 18.96421f), 1299); - index3 = 1; - List list160 = new List(index3); - CollectionsMarshal.SetCount(list160, index3); - span6 = CollectionsMarshal.AsSpan(list160); - num3 = 0; - span6[num3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), - Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_004") - }; - questStep11.DialogueChoices = list160; - reference119 = questStep11; - num2++; - ref QuestStep reference120 = ref span3[num2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2014885u, new Vector3(50.98755f, 0.7551f, 19.03446f), 1299); - num3 = 1; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - span6 = CollectionsMarshal.AsSpan(list161); - index3 = 0; - span6[index3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), - Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_002") - }; - questStep12.DialogueChoices = list161; - reference120 = questStep12; - num2++; - ref QuestStep reference121 = ref span3[num2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2014887u, new Vector3(51.00287f, 0.7551f, 24.9874f), 1299); - index3 = 1; - List list162 = new List(index3); - CollectionsMarshal.SetCount(list162, index3); - span6 = CollectionsMarshal.AsSpan(list162); - num3 = 0; - span6[num3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), - Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_003") - }; - questStep13.DialogueChoices = list162; - reference121 = questStep13; - num2++; ref QuestStep reference122 = ref span3[num2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2014886u, new Vector3(44.9988f, 0.7551f, 25.03204f), 1299); + QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2014884u, new Vector3(44.99468f, 0.7551205f, 18.96421f), 1299); num3 = 1; List list163 = new List(num3); CollectionsMarshal.SetCount(list163, num3); span6 = CollectionsMarshal.AsSpan(list163); index3 = 0; span6[index3] = new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), + Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_004") + }; + questStep11.DialogueChoices = list163; + reference122 = questStep11; + num2++; + ref QuestStep reference123 = ref span3[num2]; + QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2014885u, new Vector3(50.98755f, 0.7551f, 19.03446f), 1299); + index3 = 1; + List list164 = new List(index3); + CollectionsMarshal.SetCount(list164, index3); + span6 = CollectionsMarshal.AsSpan(list164); + num3 = 0; + span6[num3] = new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), + Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_002") + }; + questStep12.DialogueChoices = list164; + reference123 = questStep12; + num2++; + ref QuestStep reference124 = ref span3[num2]; + QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2014887u, new Vector3(51.00287f, 0.7551f, 24.9874f), 1299); + num3 = 1; + List list165 = new List(num3); + CollectionsMarshal.SetCount(list165, num3); + span6 = CollectionsMarshal.AsSpan(list165); + index3 = 0; + span6[index3] = new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), + Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_003") + }; + questStep13.DialogueChoices = list165; + reference124 = questStep13; + num2++; + ref QuestStep reference125 = ref span3[num2]; + QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2014886u, new Vector3(44.9988f, 0.7551f, 25.03204f), 1299); + index3 = 1; + List list166 = new List(index3); + CollectionsMarshal.SetCount(list166, index3); + span6 = CollectionsMarshal.AsSpan(list166); + num3 = 0; + span6[num3] = new DialogueChoice { Type = EDialogChoiceType.List, Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_001") }; - questStep14.DialogueChoices = list163; - reference122 = questStep14; - obj109.Steps = list159; - reference118 = obj109; - num++; - ref QuestSequence reference123 = ref span2[num]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - span3 = CollectionsMarshal.AsSpan(list164); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054916u, new Vector3(16.189758f, -1.8225983E-06f, 28.030762f), 1299); - obj110.Steps = list164; - reference123 = obj110; - questRoot19.QuestSequence = list144; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(5369); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - span = CollectionsMarshal.AsSpan(list165); - index = 0; - span[index] = "liza"; - questRoot20.Author = list165; - index = 10; - List list166 = new List(index); - CollectionsMarshal.SetCount(list166, index); - span2 = CollectionsMarshal.AsSpan(list166); - num = 0; - ref QuestSequence reference124 = ref span2[num]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - index2 = 1; - List list167 = new List(index2); - CollectionsMarshal.SetCount(list167, index2); - span3 = CollectionsMarshal.AsSpan(list167); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054916u, new Vector3(16.189758f, -1.8225983E-06f, 28.030762f), 1299); - obj111.Steps = list167; - reference124 = obj111; - num++; - ref QuestSequence reference125 = ref span2[num]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - span3 = CollectionsMarshal.AsSpan(list168); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 2014889u, new Vector3(-6.637756f, 0.9917603f, 32.45593f), 1299); - obj112.Steps = list168; - reference125 = obj112; + questStep14.DialogueChoices = list166; + reference125 = questStep14; + obj112.Steps = list162; + reference121 = obj112; num++; ref QuestSequence reference126 = ref span2[num]; QuestSequence obj113 = new QuestSequence { - Sequence = 2 + Sequence = byte.MaxValue }; - index2 = 1; - List list169 = new List(index2); - CollectionsMarshal.SetCount(list169, index2); - span3 = CollectionsMarshal.AsSpan(list169); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054918u, new Vector3(4.0740967f, 1.1999817f, 41.82495f), 1299); - obj113.Steps = list169; + num2 = 1; + List list167 = new List(num2); + CollectionsMarshal.SetCount(list167, num2); + span3 = CollectionsMarshal.AsSpan(list167); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054916u, new Vector3(16.189758f, -1.8225983E-06f, 28.030762f), 1299); + obj113.Steps = list167; reference126 = obj113; - num++; + questRoot19.QuestSequence = list147; + AddQuest(questId19, questRoot19); + QuestId questId20 = new QuestId(5369); + QuestRoot questRoot20 = new QuestRoot(); + num = 1; + List list168 = new List(num); + CollectionsMarshal.SetCount(list168, num); + span = CollectionsMarshal.AsSpan(list168); + index = 0; + span[index] = "liza"; + questRoot20.Author = list168; + index = 10; + List list169 = new List(index); + CollectionsMarshal.SetCount(list169, index); + span2 = CollectionsMarshal.AsSpan(list169); + num = 0; ref QuestSequence reference127 = ref span2[num]; QuestSequence obj114 = new QuestSequence { - Sequence = 3 + Sequence = 0 }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); + index2 = 1; + List list170 = new List(index2); + CollectionsMarshal.SetCount(list170, index2); span3 = CollectionsMarshal.AsSpan(list170); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.UseItem, 2014909u, new Vector3(5.5639f, 1.2989f, -7.7142f), 1299) - { - ItemId = 2003769u - }; + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054916u, new Vector3(16.189758f, -1.8225983E-06f, 28.030762f), 1299); obj114.Steps = list170; reference127 = obj114; num++; ref QuestSequence reference128 = ref span2[num]; QuestSequence obj115 = new QuestSequence { - Sequence = 4 + Sequence = 1 }; - index2 = 1; - List list171 = new List(index2); - CollectionsMarshal.SetCount(list171, index2); + num2 = 1; + List list171 = new List(num2); + CollectionsMarshal.SetCount(list171, num2); span3 = CollectionsMarshal.AsSpan(list171); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054928u, new Vector3(43.167725f, 0.020000027f, -18.661804f), 1299); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 2014889u, new Vector3(-6.637756f, 0.9917603f, 32.45593f), 1299); obj115.Steps = list171; reference128 = obj115; num++; ref QuestSequence reference129 = ref span2[num]; QuestSequence obj116 = new QuestSequence + { + Sequence = 2 + }; + index2 = 1; + List list172 = new List(index2); + CollectionsMarshal.SetCount(list172, index2); + span3 = CollectionsMarshal.AsSpan(list172); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054918u, new Vector3(4.0740967f, 1.1999817f, 41.82495f), 1299); + obj116.Steps = list172; + reference129 = obj116; + num++; + ref QuestSequence reference130 = ref span2[num]; + QuestSequence obj117 = new QuestSequence + { + Sequence = 3 + }; + num2 = 1; + List list173 = new List(num2); + CollectionsMarshal.SetCount(list173, num2); + span3 = CollectionsMarshal.AsSpan(list173); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.UseItem, 2014909u, new Vector3(5.5639f, 1.2989f, -7.7142f), 1299) + { + ItemId = 2003769u + }; + obj117.Steps = list173; + reference130 = obj117; + num++; + ref QuestSequence reference131 = ref span2[num]; + QuestSequence obj118 = new QuestSequence + { + Sequence = 4 + }; + index2 = 1; + List list174 = new List(index2); + CollectionsMarshal.SetCount(list174, index2); + span3 = CollectionsMarshal.AsSpan(list174); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054928u, new Vector3(43.167725f, 0.020000027f, -18.661804f), 1299); + obj118.Steps = list174; + reference131 = obj118; + num++; + ref QuestSequence reference132 = ref span2[num]; + QuestSequence obj119 = new QuestSequence { Sequence = 5 }; num2 = 4; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - span3 = CollectionsMarshal.AsSpan(list172); + List list175 = new List(num2); + CollectionsMarshal.SetCount(list175, num2); + span3 = CollectionsMarshal.AsSpan(list175); index2 = 0; - ref QuestStep reference130 = ref span3[index2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2014913u, new Vector3(48.28509f, 0.7955156f, -15.36493f), 1299); - index3 = 6; - List list173 = new List(index3); - CollectionsMarshal.SetCount(list173, index3); - span5 = CollectionsMarshal.AsSpan(list173); - num3 = 0; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list173; - reference130 = questStep15; - index2++; - ref QuestStep reference131 = ref span3[index2]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2014891u, new Vector3(45.64126f, 0.9739f, -23.77144f), 1299); - num3 = 6; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - span5 = CollectionsMarshal.AsSpan(list174); - index3 = 0; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list174; - reference131 = questStep16; - index2++; - ref QuestStep reference132 = ref span3[index2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 2014890u, new Vector3(32.00146f, 1.173118f, -22.75444f), 1299); - index3 = 6; - List list175 = new List(index3); - CollectionsMarshal.SetCount(list175, index3); - span5 = CollectionsMarshal.AsSpan(list175); - num3 = 0; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list175; - reference132 = questStep17; - index2++; ref QuestStep reference133 = ref span3[index2]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 2014892u, new Vector3(32.07058f, 0.8092833f, -9.735413f), 1299); + QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2014913u, new Vector3(48.28509f, 0.7955156f, -15.36493f), 1299); num3 = 6; List list176 = new List(num3); CollectionsMarshal.SetCount(list176, num3); @@ -467184,47 +467642,54 @@ public static class AssemblyQuestLoader index3++; span5[index3] = null; index3++; - span5[index3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list176; - reference133 = questStep18; - obj116.Steps = list172; - reference129 = obj116; - num++; - ref QuestSequence reference134 = ref span2[num]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 6 - }; - index2 = 1; - List list177 = new List(index2); - CollectionsMarshal.SetCount(list177, index2); - span3 = CollectionsMarshal.AsSpan(list177); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054928u, new Vector3(43.167725f, 0.020000027f, -18.661804f), 1299); - obj117.Steps = list177; - reference134 = obj117; - num++; - ref QuestSequence reference135 = ref span2[num]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 7 - }; - num2 = 4; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - span3 = CollectionsMarshal.AsSpan(list178); - index2 = 0; + span5[index3] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); + questStep15.CompletionQuestVariablesFlags = list176; + reference133 = questStep15; + index2++; + ref QuestStep reference134 = ref span3[index2]; + QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2014891u, new Vector3(45.64126f, 0.9739f, -23.77144f), 1299); + index3 = 6; + List list177 = new List(index3); + CollectionsMarshal.SetCount(list177, index3); + span5 = CollectionsMarshal.AsSpan(list177); + num3 = 0; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + questStep16.CompletionQuestVariablesFlags = list177; + reference134 = questStep16; + index2++; + ref QuestStep reference135 = ref span3[index2]; + QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 2014890u, new Vector3(32.00146f, 1.173118f, -22.75444f), 1299); + num3 = 6; + List list178 = new List(num3); + CollectionsMarshal.SetCount(list178, num3); + span5 = CollectionsMarshal.AsSpan(list178); + index3 = 0; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + questStep17.CompletionQuestVariablesFlags = list178; + reference135 = questStep17; + index2++; ref QuestStep reference136 = ref span3[index2]; - QuestStep obj119 = new QuestStep(EInteractionType.Interact, 1054935u, new Vector3(47.287598f, -8.0940923E-13f, -21.561035f), 1299) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Never = true - } - } - }; + QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 2014892u, new Vector3(32.07058f, 0.8092833f, -9.735413f), 1299); index3 = 6; List list179 = new List(index3); CollectionsMarshal.SetCount(list179, index3); @@ -467236,76 +467701,42 @@ public static class AssemblyQuestLoader num3++; span5[num3] = null; num3++; - span5[num3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - obj119.CompletionQuestVariablesFlags = list179; - num3 = 1; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - span6 = CollectionsMarshal.AsSpan(list180); - index3 = 0; - span6[index3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q5_000_000"), - Answer = new ExcelRef("TEXT_KINGMI106_05369_A5_000_001") - }; - obj119.DialogueChoices = list180; - reference136 = obj119; - index2++; - ref QuestStep reference137 = ref span3[index2]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 2014894u, new Vector3(39.08986f, 1.296936f, -24.0025f), 1299); - index3 = 6; - List list181 = new List(index3); - CollectionsMarshal.SetCount(list181, index3); - span5 = CollectionsMarshal.AsSpan(list181); - num3 = 0; - span5[num3] = null; - num3++; span5[num3] = null; num3++; span5[num3] = null; num3++; span5[num3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - questStep19.CompletionQuestVariablesFlags = list181; - num3 = 2; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - span6 = CollectionsMarshal.AsSpan(list182); - index3 = 0; - span6[index3] = new DialogueChoice + questStep18.CompletionQuestVariablesFlags = list179; + reference136 = questStep18; + obj119.Steps = list175; + reference132 = obj119; + num++; + ref QuestSequence reference137 = ref span2[num]; + QuestSequence obj120 = new QuestSequence { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI106_05369_SYSTEM_000_350") + Sequence = 6 }; - index3++; - span6[index3] = new DialogueChoice + index2 = 1; + List list180 = new List(index2); + CollectionsMarshal.SetCount(list180, index2); + span3 = CollectionsMarshal.AsSpan(list180); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054928u, new Vector3(43.167725f, 0.020000027f, -18.661804f), 1299); + obj120.Steps = list180; + reference137 = obj120; + num++; + ref QuestSequence reference138 = ref span2[num]; + QuestSequence obj121 = new QuestSequence { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q7_000_000"), - Answer = new ExcelRef("TEXT_KINGMI106_05369_A7_000_003") + Sequence = 7 }; - questStep19.DialogueChoices = list182; - index3 = 2; - List list183 = new List(index3); - CollectionsMarshal.SetCount(list183, index3); - span7 = CollectionsMarshal.AsSpan(list183); - num3 = 0; - span7[num3] = 3u; - num3++; - span7[num3] = 4u; - questStep19.PointMenuChoices = list183; - reference137 = questStep19; - index2++; - ref QuestStep reference138 = ref span3[index2]; - QuestStep obj120 = new QuestStep(EInteractionType.Interact, 1054931u, new Vector3(38.223755f, 0f, -13.443237f), 1299) + num2 = 4; + List list181 = new List(num2); + CollectionsMarshal.SetCount(list181, num2); + span3 = CollectionsMarshal.AsSpan(list181); + index2 = 0; + ref QuestStep reference139 = ref span3[index2]; + QuestStep obj122 = new QuestStep(EInteractionType.Interact, 1054935u, new Vector3(47.287598f, -8.0940923E-13f, -21.561035f), 1299) { SkipConditions = new SkipConditions { @@ -467316,6 +467747,39 @@ public static class AssemblyQuestLoader } }; num3 = 6; + List list182 = new List(num3); + CollectionsMarshal.SetCount(list182, num3); + span5 = CollectionsMarshal.AsSpan(list182); + index3 = 0; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + obj122.CompletionQuestVariablesFlags = list182; + index3 = 1; + List list183 = new List(index3); + CollectionsMarshal.SetCount(list183, index3); + span6 = CollectionsMarshal.AsSpan(list183); + num3 = 0; + span6[num3] = new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q5_000_000"), + Answer = new ExcelRef("TEXT_KINGMI106_05369_A5_000_001") + }; + obj122.DialogueChoices = list183; + reference139 = obj122; + index2++; + ref QuestStep reference140 = ref span3[index2]; + QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 2014894u, new Vector3(39.08986f, 1.296936f, -24.0025f), 1299); + num3 = 6; List list184 = new List(num3); CollectionsMarshal.SetCount(list184, num3); span5 = CollectionsMarshal.AsSpan(list184); @@ -467326,124 +467790,181 @@ public static class AssemblyQuestLoader index3++; span5[index3] = null; index3++; - span5[index3] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); + span5[index3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); index3++; span5[index3] = null; index3++; span5[index3] = null; - obj120.CompletionQuestVariablesFlags = list184; - index3 = 1; + questStep19.CompletionQuestVariablesFlags = list184; + index3 = 2; List list185 = new List(index3); CollectionsMarshal.SetCount(list185, index3); span6 = CollectionsMarshal.AsSpan(list185); num3 = 0; span6[num3] = new DialogueChoice + { + Type = EDialogChoiceType.YesNo, + Prompt = new ExcelRef("TEXT_KINGMI106_05369_SYSTEM_000_350") + }; + num3++; + span6[num3] = new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q7_000_000"), + Answer = new ExcelRef("TEXT_KINGMI106_05369_A7_000_003") + }; + questStep19.DialogueChoices = list185; + num3 = 2; + List list186 = new List(num3); + CollectionsMarshal.SetCount(list186, num3); + span7 = CollectionsMarshal.AsSpan(list186); + index3 = 0; + span7[index3] = 3u; + index3++; + span7[index3] = 4u; + questStep19.PointMenuChoices = list186; + reference140 = questStep19; + index2++; + ref QuestStep reference141 = ref span3[index2]; + QuestStep obj123 = new QuestStep(EInteractionType.Interact, 1054931u, new Vector3(38.223755f, 0f, -13.443237f), 1299) + { + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions + { + Never = true + } + } + }; + index3 = 6; + List list187 = new List(index3); + CollectionsMarshal.SetCount(list187, index3); + span5 = CollectionsMarshal.AsSpan(list187); + num3 = 0; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + obj123.CompletionQuestVariablesFlags = list187; + num3 = 1; + List list188 = new List(num3); + CollectionsMarshal.SetCount(list188, num3); + span6 = CollectionsMarshal.AsSpan(list188); + index3 = 0; + span6[index3] = new DialogueChoice { Type = EDialogChoiceType.List, Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q6_000_000"), Answer = new ExcelRef("TEXT_KINGMI106_05369_A6_000_001") }; - obj120.DialogueChoices = list185; - reference138 = obj120; + obj123.DialogueChoices = list188; + reference141 = obj123; index2++; - ref QuestStep reference139 = ref span3[index2]; + ref QuestStep reference142 = ref span3[index2]; QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 2014893u, new Vector3(43.16655f, 1.244391f, -18.57025f), 1299); - num3 = 3; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - span6 = CollectionsMarshal.AsSpan(list186); - index3 = 0; - span6[index3] = new DialogueChoice + index3 = 3; + List list189 = new List(index3); + CollectionsMarshal.SetCount(list189, index3); + span6 = CollectionsMarshal.AsSpan(list189); + num3 = 0; + span6[num3] = new DialogueChoice { Type = EDialogChoiceType.List, Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q8_000_000"), Answer = new ExcelRef("TEXT_KINGMI106_05369_A8_000_005") }; - index3++; - span6[index3] = new DialogueChoice + num3++; + span6[num3] = new DialogueChoice { Type = EDialogChoiceType.List, Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q9_000_000"), Answer = new ExcelRef("TEXT_KINGMI106_05369_A9_000_006") }; - index3++; - span6[index3] = new DialogueChoice + num3++; + span6[num3] = new DialogueChoice { Type = EDialogChoiceType.List, Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q10_000_000"), Answer = new ExcelRef("TEXT_KINGMI106_05369_A10_000_004") }; - questStep20.DialogueChoices = list186; - reference139 = questStep20; - obj118.Steps = list178; - reference135 = obj118; - num++; - ref QuestSequence reference140 = ref span2[num]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 8 - }; - index2 = 1; - List list187 = new List(index2); - CollectionsMarshal.SetCount(list187, index2); - span3 = CollectionsMarshal.AsSpan(list187); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054938u, new Vector3(47.837036f, 0f, -10.025269f), 1299); - obj121.Steps = list187; - reference140 = obj121; - num++; - ref QuestSequence reference141 = ref span2[num]; - QuestSequence obj122 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - span3 = CollectionsMarshal.AsSpan(list188); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054560u, new Vector3(-5.1118164f, -4.656613E-08f, 7.095398f), 1207); - obj122.Steps = list188; - reference141 = obj122; - questRoot20.QuestSequence = list166; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(5370); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - span = CollectionsMarshal.AsSpan(list189); - index = 0; - span[index] = "liza"; - questRoot21.Author = list189; - index = 4; - List list190 = new List(index); - CollectionsMarshal.SetCount(list190, index); - span2 = CollectionsMarshal.AsSpan(list190); - num = 0; - ref QuestSequence reference142 = ref span2[num]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 0 - }; - index2 = 1; - List list191 = new List(index2); - CollectionsMarshal.SetCount(list191, index2); - span3 = CollectionsMarshal.AsSpan(list191); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054555u, new Vector3(-4.1047363f, -7.7714425E-08f, 9.536865f), 1207); - obj123.Steps = list191; - reference142 = obj123; + questStep20.DialogueChoices = list189; + reference142 = questStep20; + obj121.Steps = list181; + reference138 = obj121; num++; ref QuestSequence reference143 = ref span2[num]; QuestSequence obj124 = new QuestSequence + { + Sequence = 8 + }; + index2 = 1; + List list190 = new List(index2); + CollectionsMarshal.SetCount(list190, index2); + span3 = CollectionsMarshal.AsSpan(list190); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054938u, new Vector3(47.837036f, 0f, -10.025269f), 1299); + obj124.Steps = list190; + reference143 = obj124; + num++; + ref QuestSequence reference144 = ref span2[num]; + QuestSequence obj125 = new QuestSequence + { + Sequence = byte.MaxValue + }; + num2 = 1; + List list191 = new List(num2); + CollectionsMarshal.SetCount(list191, num2); + span3 = CollectionsMarshal.AsSpan(list191); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054560u, new Vector3(-5.1118164f, -4.656613E-08f, 7.095398f), 1207); + obj125.Steps = list191; + reference144 = obj125; + questRoot20.QuestSequence = list169; + AddQuest(questId20, questRoot20); + QuestId questId21 = new QuestId(5370); + QuestRoot questRoot21 = new QuestRoot(); + num = 1; + List list192 = new List(num); + CollectionsMarshal.SetCount(list192, num); + span = CollectionsMarshal.AsSpan(list192); + index = 0; + span[index] = "liza"; + questRoot21.Author = list192; + index = 4; + List list193 = new List(index); + CollectionsMarshal.SetCount(list193, index); + span2 = CollectionsMarshal.AsSpan(list193); + num = 0; + ref QuestSequence reference145 = ref span2[num]; + QuestSequence obj126 = new QuestSequence + { + Sequence = 0 + }; + index2 = 1; + List list194 = new List(index2); + CollectionsMarshal.SetCount(list194, index2); + span3 = CollectionsMarshal.AsSpan(list194); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054555u, new Vector3(-4.1047363f, -7.7714425E-08f, 9.536865f), 1207); + obj126.Steps = list194; + reference145 = obj126; + num++; + ref QuestSequence reference146 = ref span2[num]; + QuestSequence obj127 = new QuestSequence { Sequence = 1 }; num2 = 2; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - span3 = CollectionsMarshal.AsSpan(list192); + List list195 = new List(num2); + CollectionsMarshal.SetCount(list195, num2); + span3 = CollectionsMarshal.AsSpan(list195); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 2014102u, new Vector3(-0.015319824f, 0.99176025f, 16.03717f), 1207) { @@ -467458,95 +467979,95 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.SolutionNineResolution } }; - obj124.Steps = list192; - reference143 = obj124; - num++; - ref QuestSequence reference144 = ref span2[num]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 2 - }; - index2 = 1; - List list193 = new List(index2); - CollectionsMarshal.SetCount(list193, index2); - span3 = CollectionsMarshal.AsSpan(list193); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054565u, new Vector3(18.539673f, 38.0566f, -387.16718f), 1186); - obj125.Steps = list193; - reference144 = obj125; - num++; - ref QuestSequence reference145 = ref span2[num]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - span3 = CollectionsMarshal.AsSpan(list194); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054569u, new Vector3(-0.5340576f, 53.200012f, 768.27637f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - obj126.Steps = list194; - reference145 = obj126; - questRoot21.QuestSequence = list190; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(5371); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - span = CollectionsMarshal.AsSpan(list195); - index = 0; - span[index] = "liza"; - questRoot22.Author = list195; - index = 8; - List list196 = new List(index); - CollectionsMarshal.SetCount(list196, index); - span2 = CollectionsMarshal.AsSpan(list196); - num = 0; - ref QuestSequence reference146 = ref span2[num]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - index2 = 1; - List list197 = new List(index2); - CollectionsMarshal.SetCount(list197, index2); - span3 = CollectionsMarshal.AsSpan(list197); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054569u, new Vector3(-0.5340576f, 53.200012f, 768.27637f), 1192); - obj127.Steps = list197; + obj127.Steps = list195; reference146 = obj127; num++; ref QuestSequence reference147 = ref span2[num]; QuestSequence obj128 = new QuestSequence { - Sequence = 1 + Sequence = 2 }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - span3 = CollectionsMarshal.AsSpan(list198); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054576u, new Vector3(-0.16790771f, 50.12495f, 364.8584f), 1192) - { - Fly = true - }; - obj128.Steps = list198; + index2 = 1; + List list196 = new List(index2); + CollectionsMarshal.SetCount(list196, index2); + span3 = CollectionsMarshal.AsSpan(list196); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054565u, new Vector3(18.539673f, 38.0566f, -387.16718f), 1186); + obj128.Steps = list196; reference147 = obj128; num++; ref QuestSequence reference148 = ref span2[num]; QuestSequence obj129 = new QuestSequence + { + Sequence = byte.MaxValue + }; + num2 = 1; + List list197 = new List(num2); + CollectionsMarshal.SetCount(list197, num2); + span3 = CollectionsMarshal.AsSpan(list197); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054569u, new Vector3(-0.5340576f, 53.200012f, 768.27637f), 1192) + { + AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo + }; + obj129.Steps = list197; + reference148 = obj129; + questRoot21.QuestSequence = list193; + AddQuest(questId21, questRoot21); + QuestId questId22 = new QuestId(5371); + QuestRoot questRoot22 = new QuestRoot(); + num = 1; + List list198 = new List(num); + CollectionsMarshal.SetCount(list198, num); + span = CollectionsMarshal.AsSpan(list198); + index = 0; + span[index] = "liza"; + questRoot22.Author = list198; + index = 8; + List list199 = new List(index); + CollectionsMarshal.SetCount(list199, index); + span2 = CollectionsMarshal.AsSpan(list199); + num = 0; + ref QuestSequence reference149 = ref span2[num]; + QuestSequence obj130 = new QuestSequence + { + Sequence = 0 + }; + index2 = 1; + List list200 = new List(index2); + CollectionsMarshal.SetCount(list200, index2); + span3 = CollectionsMarshal.AsSpan(list200); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054569u, new Vector3(-0.5340576f, 53.200012f, 768.27637f), 1192); + obj130.Steps = list200; + reference149 = obj130; + num++; + ref QuestSequence reference150 = ref span2[num]; + QuestSequence obj131 = new QuestSequence + { + Sequence = 1 + }; + num2 = 1; + List list201 = new List(num2); + CollectionsMarshal.SetCount(list201, num2); + span3 = CollectionsMarshal.AsSpan(list201); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054576u, new Vector3(-0.16790771f, 50.12495f, 364.8584f), 1192) + { + Fly = true + }; + obj131.Steps = list201; + reference150 = obj131; + num++; + ref QuestSequence reference151 = ref span2[num]; + QuestSequence obj132 = new QuestSequence { Sequence = 2 }; index2 = 1; - List list199 = new List(index2); - CollectionsMarshal.SetCount(list199, index2); - span3 = CollectionsMarshal.AsSpan(list199); + List list202 = new List(index2); + CollectionsMarshal.SetCount(list202, index2); + span3 = CollectionsMarshal.AsSpan(list202); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Duty, null, null, 1192) { @@ -467555,23 +468076,23 @@ public static class AssemblyQuestLoader ContentFinderConditionId = 1028u } }; - obj129.Steps = list199; - reference148 = obj129; + obj132.Steps = list202; + reference151 = obj132; num++; span2[num] = new QuestSequence { Sequence = 3 }; num++; - ref QuestSequence reference149 = ref span2[num]; - QuestSequence obj130 = new QuestSequence + ref QuestSequence reference152 = ref span2[num]; + QuestSequence obj133 = new QuestSequence { Sequence = 4 }; num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - span3 = CollectionsMarshal.AsSpan(list200); + List list203 = new List(num2); + CollectionsMarshal.SetCount(list203, num2); + span3 = CollectionsMarshal.AsSpan(list203); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Duty, null, null, 1312) { @@ -467580,155 +468101,155 @@ public static class AssemblyQuestLoader ContentFinderConditionId = 1061u } }; - obj130.Steps = list200; - reference149 = obj130; + obj133.Steps = list203; + reference152 = obj133; num++; span2[num] = new QuestSequence { Sequence = 5 }; num++; - ref QuestSequence reference150 = ref span2[num]; - QuestSequence obj131 = new QuestSequence + ref QuestSequence reference153 = ref span2[num]; + QuestSequence obj134 = new QuestSequence { Sequence = 6 }; index2 = 1; - List list201 = new List(index2); - CollectionsMarshal.SetCount(list201, index2); - span3 = CollectionsMarshal.AsSpan(list201); + List list204 = new List(index2); + CollectionsMarshal.SetCount(list204, index2); + span3 = CollectionsMarshal.AsSpan(list204); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054597u, new Vector3(5.8136597f, 50.12495f, 369.80237f), 1192) { StopDistance = 5f }; - obj131.Steps = list201; - reference150 = obj131; + obj134.Steps = list204; + reference153 = obj134; num++; - ref QuestSequence reference151 = ref span2[num]; - QuestSequence obj132 = new QuestSequence + ref QuestSequence reference154 = ref span2[num]; + QuestSequence obj135 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - span3 = CollectionsMarshal.AsSpan(list202); + List list205 = new List(num2); + CollectionsMarshal.SetCount(list205, num2); + span3 = CollectionsMarshal.AsSpan(list205); index2 = 0; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054604u, new Vector3(-145.06763f, 25.971825f, -495.38416f), 1191) { Fly = true, AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts }; - obj132.Steps = list202; - reference151 = obj132; - questRoot22.QuestSequence = list196; + obj135.Steps = list205; + reference154 = obj135; + questRoot22.QuestSequence = list199; AddQuest(questId22, questRoot22); QuestId questId23 = new QuestId(5372); QuestRoot questRoot23 = new QuestRoot(); num = 1; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - span = CollectionsMarshal.AsSpan(list203); + List list206 = new List(num); + CollectionsMarshal.SetCount(list206, num); + span = CollectionsMarshal.AsSpan(list206); index = 0; span[index] = "liza"; - questRoot23.Author = list203; + questRoot23.Author = list206; index = 6; - List list204 = new List(index); - CollectionsMarshal.SetCount(list204, index); - span2 = CollectionsMarshal.AsSpan(list204); + List list207 = new List(index); + CollectionsMarshal.SetCount(list207, index); + span2 = CollectionsMarshal.AsSpan(list207); num = 0; - ref QuestSequence reference152 = ref span2[num]; - QuestSequence obj133 = new QuestSequence + ref QuestSequence reference155 = ref span2[num]; + QuestSequence obj136 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list205 = new List(index2); - CollectionsMarshal.SetCount(list205, index2); - span3 = CollectionsMarshal.AsSpan(list205); + List list208 = new List(index2); + CollectionsMarshal.SetCount(list208, index2); + span3 = CollectionsMarshal.AsSpan(list208); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054604u, new Vector3(-145.06763f, 25.971825f, -495.38416f), 1191); - obj133.Steps = list205; - reference152 = obj133; - num++; - ref QuestSequence reference153 = ref span2[num]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - span3 = CollectionsMarshal.AsSpan(list206); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1055852u, new Vector3(-117.906494f, 28.995459f, -353.1701f), 1191) - { - Fly = true - }; - obj134.Steps = list206; - reference153 = obj134; - num++; - ref QuestSequence reference154 = ref span2[num]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 2 - }; - index2 = 1; - List list207 = new List(index2); - CollectionsMarshal.SetCount(list207, index2); - span3 = CollectionsMarshal.AsSpan(list207); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1048099u, new Vector3(-606.5919f, -2.203068f, -486.6255f), 1191) - { - Fly = true - }; - obj135.Steps = list207; - reference154 = obj135; - num++; - ref QuestSequence reference155 = ref span2[num]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - span3 = CollectionsMarshal.AsSpan(list208); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054612u, new Vector3(-670.95447f, 52.96887f, -203.35706f), 1191) - { - Fly = true - }; obj136.Steps = list208; reference155 = obj136; num++; ref QuestSequence reference156 = ref span2[num]; QuestSequence obj137 = new QuestSequence { - Sequence = 4 + Sequence = 1 }; - index2 = 1; - List list209 = new List(index2); - CollectionsMarshal.SetCount(list209, index2); + num2 = 1; + List list209 = new List(num2); + CollectionsMarshal.SetCount(list209, num2); span3 = CollectionsMarshal.AsSpan(list209); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054614u, new Vector3(-554.4366f, 44.324562f, -159.5636f), 1191) + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1055852u, new Vector3(-117.906494f, 28.995459f, -353.1701f), 1191) { - StopDistance = 7f + Fly = true }; obj137.Steps = list209; reference156 = obj137; num++; ref QuestSequence reference157 = ref span2[num]; QuestSequence obj138 = new QuestSequence + { + Sequence = 2 + }; + index2 = 1; + List list210 = new List(index2); + CollectionsMarshal.SetCount(list210, index2); + span3 = CollectionsMarshal.AsSpan(list210); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1048099u, new Vector3(-606.5919f, -2.203068f, -486.6255f), 1191) + { + Fly = true + }; + obj138.Steps = list210; + reference157 = obj138; + num++; + ref QuestSequence reference158 = ref span2[num]; + QuestSequence obj139 = new QuestSequence + { + Sequence = 3 + }; + num2 = 1; + List list211 = new List(num2); + CollectionsMarshal.SetCount(list211, num2); + span3 = CollectionsMarshal.AsSpan(list211); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054612u, new Vector3(-670.95447f, 52.96887f, -203.35706f), 1191) + { + Fly = true + }; + obj139.Steps = list211; + reference158 = obj139; + num++; + ref QuestSequence reference159 = ref span2[num]; + QuestSequence obj140 = new QuestSequence + { + Sequence = 4 + }; + index2 = 1; + List list212 = new List(index2); + CollectionsMarshal.SetCount(list212, index2); + span3 = CollectionsMarshal.AsSpan(list212); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054614u, new Vector3(-554.4366f, 44.324562f, -159.5636f), 1191) + { + StopDistance = 7f + }; + obj140.Steps = list212; + reference159 = obj140; + num++; + ref QuestSequence reference160 = ref span2[num]; + QuestSequence obj141 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 2; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - span3 = CollectionsMarshal.AsSpan(list210); + List list213 = new List(num2); + CollectionsMarshal.SetCount(list213, num2); + span3 = CollectionsMarshal.AsSpan(list213); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) { @@ -467742,92 +468263,92 @@ public static class AssemblyQuestLoader }; index2++; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054616u, new Vector3(-0.6256714f, -4.656613E-08f, 6.8512573f), 1207); - obj138.Steps = list210; - reference157 = obj138; - questRoot23.QuestSequence = list204; + obj141.Steps = list213; + reference160 = obj141; + questRoot23.QuestSequence = list207; AddQuest(questId23, questRoot23); QuestId questId24 = new QuestId(5373); QuestRoot questRoot24 = new QuestRoot(); num = 1; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - span = CollectionsMarshal.AsSpan(list211); + List list214 = new List(num); + CollectionsMarshal.SetCount(list214, num); + span = CollectionsMarshal.AsSpan(list214); index = 0; span[index] = "liza"; - questRoot24.Author = list211; + questRoot24.Author = list214; index = 5; - List list212 = new List(index); - CollectionsMarshal.SetCount(list212, index); - span2 = CollectionsMarshal.AsSpan(list212); + List list215 = new List(index); + CollectionsMarshal.SetCount(list215, index); + span2 = CollectionsMarshal.AsSpan(list215); num = 0; - ref QuestSequence reference158 = ref span2[num]; - QuestSequence obj139 = new QuestSequence + ref QuestSequence reference161 = ref span2[num]; + QuestSequence obj142 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list213 = new List(index2); - CollectionsMarshal.SetCount(list213, index2); - span3 = CollectionsMarshal.AsSpan(list213); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054616u, new Vector3(-0.6256714f, -4.656613E-08f, 6.8512573f), 1207); - obj139.Steps = list213; - reference158 = obj139; - num++; - ref QuestSequence reference159 = ref span2[num]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - span3 = CollectionsMarshal.AsSpan(list214); - index2 = 0; - ref QuestStep reference160 = ref span3[index2]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1054616u, new Vector3(-0.6256714f, -4.656613E-08f, 6.8512573f), 1207); - index3 = 1; - List list215 = new List(index3); - CollectionsMarshal.SetCount(list215, index3); - span6 = CollectionsMarshal.AsSpan(list215); - num3 = 0; - span6[num3] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI110_05373_SYSTEM_000_040") - }; - questStep21.DialogueChoices = list215; - reference160 = questStep21; - obj140.Steps = list214; - reference159 = obj140; - num++; - ref QuestSequence reference161 = ref span2[num]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - index2 = 1; List list216 = new List(index2); CollectionsMarshal.SetCount(list216, index2); span3 = CollectionsMarshal.AsSpan(list216); num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054618u, new Vector3(1.296936f, 50.12499f, 704.7378f), 1192) - { - StopDistance = 7f - }; - obj141.Steps = list216; - reference161 = obj141; + span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054616u, new Vector3(-0.6256714f, -4.656613E-08f, 6.8512573f), 1207); + obj142.Steps = list216; + reference161 = obj142; num++; ref QuestSequence reference162 = ref span2[num]; - QuestSequence obj142 = new QuestSequence + QuestSequence obj143 = new QuestSequence { - Sequence = 3 + Sequence = 1 }; num2 = 1; List list217 = new List(num2); CollectionsMarshal.SetCount(list217, num2); span3 = CollectionsMarshal.AsSpan(list217); index2 = 0; + ref QuestStep reference163 = ref span3[index2]; + QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1054616u, new Vector3(-0.6256714f, -4.656613E-08f, 6.8512573f), 1207); + num3 = 1; + List list218 = new List(num3); + CollectionsMarshal.SetCount(list218, num3); + span6 = CollectionsMarshal.AsSpan(list218); + index3 = 0; + span6[index3] = new DialogueChoice + { + Type = EDialogChoiceType.YesNo, + Prompt = new ExcelRef("TEXT_KINGMI110_05373_SYSTEM_000_040") + }; + questStep21.DialogueChoices = list218; + reference163 = questStep21; + obj143.Steps = list217; + reference162 = obj143; + num++; + ref QuestSequence reference164 = ref span2[num]; + QuestSequence obj144 = new QuestSequence + { + Sequence = 2 + }; + index2 = 1; + List list219 = new List(index2); + CollectionsMarshal.SetCount(list219, index2); + span3 = CollectionsMarshal.AsSpan(list219); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054618u, new Vector3(1.296936f, 50.12499f, 704.7378f), 1192) + { + StopDistance = 7f + }; + obj144.Steps = list219; + reference164 = obj144; + num++; + ref QuestSequence reference165 = ref span2[num]; + QuestSequence obj145 = new QuestSequence + { + Sequence = 3 + }; + num2 = 1; + List list220 = new List(num2); + CollectionsMarshal.SetCount(list220, num2); + span3 = CollectionsMarshal.AsSpan(list220); + index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054624u, new Vector3(-105.638245f, 100.04267f, -202.47198f), 1185) { AetheryteShortcut = EAetheryteLocation.Tuliyollal, @@ -467837,18 +468358,18 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.TuliyollalVollokShoonsa } }; - obj142.Steps = list217; - reference162 = obj142; + obj145.Steps = list220; + reference165 = obj145; num++; - ref QuestSequence reference163 = ref span2[num]; - QuestSequence obj143 = new QuestSequence + ref QuestSequence reference166 = ref span2[num]; + QuestSequence obj146 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list218 = new List(index2); - CollectionsMarshal.SetCount(list218, index2); - span3 = CollectionsMarshal.AsSpan(list218); + List list221 = new List(index2); + CollectionsMarshal.SetCount(list221, index2); + span3 = CollectionsMarshal.AsSpan(list221); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054628u, new Vector3(-23.941406f, 38.0566f, -389.0288f), 1186) { @@ -467859,33 +468380,33 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.SolutionNineResolution } }; - obj143.Steps = list218; - reference163 = obj143; - questRoot24.QuestSequence = list212; + obj146.Steps = list221; + reference166 = obj146; + questRoot24.QuestSequence = list215; AddQuest(questId24, questRoot24); QuestId questId25 = new QuestId(5374); QuestRoot questRoot25 = new QuestRoot(); num = 1; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - span = CollectionsMarshal.AsSpan(list219); + List list222 = new List(num); + CollectionsMarshal.SetCount(list222, num); + span = CollectionsMarshal.AsSpan(list222); index = 0; span[index] = "WigglyMuffin"; - questRoot25.Author = list219; + questRoot25.Author = list222; index = 13; - List list220 = new List(index); - CollectionsMarshal.SetCount(list220, index); - span2 = CollectionsMarshal.AsSpan(list220); + List list223 = new List(index); + CollectionsMarshal.SetCount(list223, index); + span2 = CollectionsMarshal.AsSpan(list223); num = 0; - ref QuestSequence reference164 = ref span2[num]; - QuestSequence obj144 = new QuestSequence + ref QuestSequence reference167 = ref span2[num]; + QuestSequence obj147 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - span3 = CollectionsMarshal.AsSpan(list221); + List list224 = new List(num2); + CollectionsMarshal.SetCount(list224, num2); + span3 = CollectionsMarshal.AsSpan(list224); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054465u, new Vector3(0.1373291f, -14f, 106.21802f), 1185) { @@ -467903,18 +468424,18 @@ public static class AssemblyQuestLoader } } }; - obj144.Steps = list221; - reference164 = obj144; + obj147.Steps = list224; + reference167 = obj147; num++; - ref QuestSequence reference165 = ref span2[num]; - QuestSequence obj145 = new QuestSequence + ref QuestSequence reference168 = ref span2[num]; + QuestSequence obj148 = new QuestSequence { Sequence = 1 }; index2 = 1; - List list222 = new List(index2); - CollectionsMarshal.SetCount(list222, index2); - span3 = CollectionsMarshal.AsSpan(list222); + List list225 = new List(index2); + CollectionsMarshal.SetCount(list225, index2); + span3 = CollectionsMarshal.AsSpan(list225); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 2014821u, new Vector3(342.03088f, -1.3275757f, 438.4984f), 1190) { @@ -467932,170 +468453,170 @@ public static class AssemblyQuestLoader } } }; - obj145.Steps = list222; - reference165 = obj145; - num++; - ref QuestSequence reference166 = ref span2[num]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - span3 = CollectionsMarshal.AsSpan(list223); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054466u, new Vector3(420.37073f, -0.65818214f, 390.67664f), 1190); - obj146.Steps = list223; - reference166 = obj146; - num++; - ref QuestSequence reference167 = ref span2[num]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 3 - }; - index2 = 1; - List list224 = new List(index2); - CollectionsMarshal.SetCount(list224, index2); - span3 = CollectionsMarshal.AsSpan(list224); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 2014823u, new Vector3(478.96545f, 4.7455444f, 237.53711f), 1190) - { - Fly = true - }; - obj147.Steps = list224; - reference167 = obj147; - num++; - ref QuestSequence reference168 = ref span2[num]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - span3 = CollectionsMarshal.AsSpan(list225); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 2014824u, new Vector3(349.813f, 7.1869507f, 220.78271f), 1190) - { - Fly = true - }; obj148.Steps = list225; reference168 = obj148; num++; ref QuestSequence reference169 = ref span2[num]; QuestSequence obj149 = new QuestSequence { - Sequence = 5 + Sequence = 2 }; - index2 = 1; - List list226 = new List(index2); - CollectionsMarshal.SetCount(list226, index2); + num2 = 1; + List list226 = new List(num2); + CollectionsMarshal.SetCount(list226, num2); span3 = CollectionsMarshal.AsSpan(list226); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 2014822u, new Vector3(402.42603f, -11.276428f, 40.604248f), 1190) - { - Fly = true - }; + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054466u, new Vector3(420.37073f, -0.65818214f, 390.67664f), 1190); obj149.Steps = list226; reference169 = obj149; num++; ref QuestSequence reference170 = ref span2[num]; QuestSequence obj150 = new QuestSequence { - Sequence = 6 + Sequence = 3 }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); + index2 = 1; + List list227 = new List(index2); + CollectionsMarshal.SetCount(list227, index2); span3 = CollectionsMarshal.AsSpan(list227); - index2 = 0; - ref QuestStep reference171 = ref span3[index2]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1054467u, new Vector3(254.38306f, -7.9001174f, 465.17126f), 1190); - num3 = 1; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - span6 = CollectionsMarshal.AsSpan(list228); - index3 = 0; - span6[index3] = new DialogueChoice + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 2014823u, new Vector3(478.96545f, 4.7455444f, 237.53711f), 1190) { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGYX901_05374_SYSTEM_000_301") + Fly = true }; - questStep22.DialogueChoices = list228; - reference171 = questStep22; obj150.Steps = list227; reference170 = obj150; num++; - ref QuestSequence reference172 = ref span2[num]; + ref QuestSequence reference171 = ref span2[num]; QuestSequence obj151 = new QuestSequence { - Sequence = 7 + Sequence = 4 + }; + num2 = 1; + List list228 = new List(num2); + CollectionsMarshal.SetCount(list228, num2); + span3 = CollectionsMarshal.AsSpan(list228); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 2014824u, new Vector3(349.813f, 7.1869507f, 220.78271f), 1190) + { + Fly = true + }; + obj151.Steps = list228; + reference171 = obj151; + num++; + ref QuestSequence reference172 = ref span2[num]; + QuestSequence obj152 = new QuestSequence + { + Sequence = 5 }; index2 = 1; List list229 = new List(index2); CollectionsMarshal.SetCount(list229, index2); span3 = CollectionsMarshal.AsSpan(list229); num2 = 0; - ref QuestStep reference173 = ref span3[num2]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1054469u, new Vector3(-215.04541f, 45.13145f, -756.89325f), 1190); + span3[num2] = new QuestStep(EInteractionType.Interact, 2014822u, new Vector3(402.42603f, -11.276428f, 40.604248f), 1190) + { + Fly = true + }; + obj152.Steps = list229; + reference172 = obj152; + num++; + ref QuestSequence reference173 = ref span2[num]; + QuestSequence obj153 = new QuestSequence + { + Sequence = 6 + }; + num2 = 1; + List list230 = new List(num2); + CollectionsMarshal.SetCount(list230, num2); + span3 = CollectionsMarshal.AsSpan(list230); + index2 = 0; + ref QuestStep reference174 = ref span3[index2]; + QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1054467u, new Vector3(254.38306f, -7.9001174f, 465.17126f), 1190); index3 = 1; - List list230 = new List(index3); - CollectionsMarshal.SetCount(list230, index3); - span6 = CollectionsMarshal.AsSpan(list230); + List list231 = new List(index3); + CollectionsMarshal.SetCount(list231, index3); + span6 = CollectionsMarshal.AsSpan(list231); num3 = 0; span6[num3] = new DialogueChoice { Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGYX901_05374_SYSTEM_200_402") + Prompt = new ExcelRef("TEXT_KINGYX901_05374_SYSTEM_000_301") }; - questStep23.DialogueChoices = list230; - reference173 = questStep23; - obj151.Steps = list229; - reference172 = obj151; - num++; - span2[num] = new QuestSequence - { - Sequence = 8 - }; - num++; - ref QuestSequence reference174 = ref span2[num]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - span3 = CollectionsMarshal.AsSpan(list231); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054471u, new Vector3(23.056335f, 101f, 733.7604f), 1301); - obj152.Steps = list231; - reference174 = obj152; + questStep22.DialogueChoices = list231; + reference174 = questStep22; + obj153.Steps = list230; + reference173 = obj153; num++; ref QuestSequence reference175 = ref span2[num]; - QuestSequence obj153 = new QuestSequence + QuestSequence obj154 = new QuestSequence { - Sequence = 10 + Sequence = 7 }; index2 = 1; List list232 = new List(index2); CollectionsMarshal.SetCount(list232, index2); span3 = CollectionsMarshal.AsSpan(list232); num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054471u, new Vector3(23.056335f, 101f, 733.7604f), 1301); - obj153.Steps = list232; - reference175 = obj153; + ref QuestStep reference176 = ref span3[num2]; + QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1054469u, new Vector3(-215.04541f, 45.13145f, -756.89325f), 1190); + num3 = 1; + List list233 = new List(num3); + CollectionsMarshal.SetCount(list233, num3); + span6 = CollectionsMarshal.AsSpan(list233); + index3 = 0; + span6[index3] = new DialogueChoice + { + Type = EDialogChoiceType.YesNo, + Prompt = new ExcelRef("TEXT_KINGYX901_05374_SYSTEM_200_402") + }; + questStep23.DialogueChoices = list233; + reference176 = questStep23; + obj154.Steps = list232; + reference175 = obj154; num++; - ref QuestSequence reference176 = ref span2[num]; - QuestSequence obj154 = new QuestSequence + span2[num] = new QuestSequence + { + Sequence = 8 + }; + num++; + ref QuestSequence reference177 = ref span2[num]; + QuestSequence obj155 = new QuestSequence + { + Sequence = 9 + }; + num2 = 1; + List list234 = new List(num2); + CollectionsMarshal.SetCount(list234, num2); + span3 = CollectionsMarshal.AsSpan(list234); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054471u, new Vector3(23.056335f, 101f, 733.7604f), 1301); + obj155.Steps = list234; + reference177 = obj155; + num++; + ref QuestSequence reference178 = ref span2[num]; + QuestSequence obj156 = new QuestSequence + { + Sequence = 10 + }; + index2 = 1; + List list235 = new List(index2); + CollectionsMarshal.SetCount(list235, index2); + span3 = CollectionsMarshal.AsSpan(list235); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054471u, new Vector3(23.056335f, 101f, 733.7604f), 1301); + obj156.Steps = list235; + reference178 = obj156; + num++; + ref QuestSequence reference179 = ref span2[num]; + QuestSequence obj157 = new QuestSequence { Sequence = 11 }; num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - span3 = CollectionsMarshal.AsSpan(list233); + List list236 = new List(num2); + CollectionsMarshal.SetCount(list236, num2); + span3 = CollectionsMarshal.AsSpan(list236); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Duty, null, null, 1301) { @@ -468104,18 +468625,18 @@ public static class AssemblyQuestLoader ContentFinderConditionId = 1043u } }; - obj154.Steps = list233; - reference176 = obj154; + obj157.Steps = list236; + reference179 = obj157; num++; - ref QuestSequence reference177 = ref span2[num]; - QuestSequence obj155 = new QuestSequence + ref QuestSequence reference180 = ref span2[num]; + QuestSequence obj158 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list234 = new List(index2); - CollectionsMarshal.SetCount(list234, index2); - span3 = CollectionsMarshal.AsSpan(list234); + List list237 = new List(index2); + CollectionsMarshal.SetCount(list237, index2); + span3 = CollectionsMarshal.AsSpan(list237); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054465u, new Vector3(0.1373291f, -14f, 106.21802f), 1185) { @@ -468133,38 +468654,38 @@ public static class AssemblyQuestLoader } } }; - obj155.Steps = list234; - reference177 = obj155; - questRoot25.QuestSequence = list220; + obj158.Steps = list237; + reference180 = obj158; + questRoot25.QuestSequence = list223; AddQuest(questId25, questRoot25); QuestId questId26 = new QuestId(5375); QuestRoot questRoot26 = new QuestRoot(); num = 1; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - span = CollectionsMarshal.AsSpan(list235); + List list238 = new List(num); + CollectionsMarshal.SetCount(list238, num); + span = CollectionsMarshal.AsSpan(list238); index = 0; span[index] = "WigglyMuffin"; - questRoot26.Author = list235; + questRoot26.Author = list238; questRoot26.IsSeasonalQuest = true; questRoot26.SeasonalQuestExpiry = new DateTime(2025, 11, 4, 14, 59, 0, DateTimeKind.Utc); index = 9; - List list236 = new List(index); - CollectionsMarshal.SetCount(list236, index); - span2 = CollectionsMarshal.AsSpan(list236); + List list239 = new List(index); + CollectionsMarshal.SetCount(list239, index); + span2 = CollectionsMarshal.AsSpan(list239); num = 0; - ref QuestSequence reference178 = ref span2[num]; - QuestSequence obj156 = new QuestSequence + ref QuestSequence reference181 = ref span2[num]; + QuestSequence obj159 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - span3 = CollectionsMarshal.AsSpan(list237); + List list240 = new List(num2); + CollectionsMarshal.SetCount(list240, num2); + span3 = CollectionsMarshal.AsSpan(list240); index2 = 0; - ref QuestStep reference179 = ref span3[index2]; - QuestStep obj157 = new QuestStep(EInteractionType.AcceptQuest, 1054483u, new Vector3(-50.003845f, 6.5f, -88.426025f), 133) + ref QuestStep reference182 = ref span3[index2]; + QuestStep obj160 = new QuestStep(EInteractionType.AcceptQuest, 1054483u, new Vector3(-50.003845f, 6.5f, -88.426025f), 133) { AetheryteShortcut = EAetheryteLocation.Gridania, AethernetShortcut = new AethernetShortcut @@ -468175,438 +468696,82 @@ public static class AssemblyQuestLoader }; SkipConditions skipConditions11 = new SkipConditions(); SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 2; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - span4 = CollectionsMarshal.AsSpan(list238); - index3 = 0; - span4[index3] = 132; - index3++; - span4[index3] = 133; - skipAetheryteCondition.InTerritory = list238; + index3 = 2; + List list241 = new List(index3); + CollectionsMarshal.SetCount(list241, index3); + span4 = CollectionsMarshal.AsSpan(list241); + num3 = 0; + span4[num3] = 132; + num3++; + span4[num3] = 133; + skipAetheryteCondition.InTerritory = list241; skipConditions11.AetheryteShortcutIf = skipAetheryteCondition; skipConditions11.AethernetShortcutIf = new SkipAetheryteCondition { InSameTerritory = true }; - obj157.SkipConditions = skipConditions11; - reference179 = obj157; - obj156.Steps = list237; - reference178 = obj156; + obj160.SkipConditions = skipConditions11; + reference182 = obj160; + obj159.Steps = list240; + reference181 = obj159; num++; - ref QuestSequence reference180 = ref span2[num]; - QuestSequence obj158 = new QuestSequence + ref QuestSequence reference183 = ref span2[num]; + QuestSequence obj161 = new QuestSequence { Sequence = 1 }; index2 = 1; - List list239 = new List(index2); - CollectionsMarshal.SetCount(list239, index2); - span3 = CollectionsMarshal.AsSpan(list239); - num2 = 0; - ref QuestStep reference181 = ref span3[num2]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1054484u, new Vector3(-55.680176f, 6.2813034f, -106.004456f), 133); - index3 = 1; - List list240 = new List(index3); - CollectionsMarshal.SetCount(list240, index3); - span6 = CollectionsMarshal.AsSpan(list240); - num3 = 0; - span6[num3] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_FESHLX101_05375_EVENTAREA_WARP_000_031") - }; - questStep24.DialogueChoices = list240; - reference181 = questStep24; - obj158.Steps = list239; - reference180 = obj158; - num++; - ref QuestSequence reference182 = ref span2[num]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - span3 = CollectionsMarshal.AsSpan(list241); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054485u, new Vector3(68.436646f, 0f, -0.045776367f), 1305); - obj159.Steps = list241; - reference182 = obj159; - num++; - ref QuestSequence reference183 = ref span2[num]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 3 - }; - index2 = 2; List list242 = new List(index2); CollectionsMarshal.SetCount(list242, index2); span3 = CollectionsMarshal.AsSpan(list242); num2 = 0; ref QuestStep reference184 = ref span3[num2]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1054486u, new Vector3(4.2266846f, 17f, 11.947815f), 1305); - num3 = 6; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - span5 = CollectionsMarshal.AsSpan(list243); - index3 = 0; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list243; - reference184 = questStep25; - num2++; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054489u, new Vector3(14.785889f, 17f, 105.85181f), 1305); - obj160.Steps = list242; - reference183 = obj160; - num++; - ref QuestSequence reference185 = ref span2[num]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - span3 = CollectionsMarshal.AsSpan(list244); - index2 = 0; - ref QuestStep reference186 = ref span3[index2]; - QuestStep obj162 = new QuestStep(EInteractionType.Interact, 1054488u, new Vector3(9.109558f, 0f, 100.02283f), 1305) - { - Mount = true - }; - index3 = 6; - List list245 = new List(index3); - CollectionsMarshal.SetCount(list245, index3); - span5 = CollectionsMarshal.AsSpan(list245); - num3 = 0; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - obj162.CompletionQuestVariablesFlags = list245; - reference186 = obj162; - index2++; - ref QuestStep reference187 = ref span3[index2]; - QuestStep obj163 = new QuestStep(EInteractionType.Interact, 1054487u, new Vector3(-43.86969f, 0f, -5.8442383f), 1305) - { - Mount = true - }; - num3 = 6; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - span5 = CollectionsMarshal.AsSpan(list246); - index3 = 0; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = new QuestWorkValue((byte)10, null, EQuestWorkMode.Bitwise); - obj163.CompletionQuestVariablesFlags = list246; - reference187 = obj163; - index2++; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054490u, new Vector3(-54.795166f, 0f, -29.58728f), 1305) - { - Mount = true - }; - obj161.Steps = list244; - reference185 = obj161; - num++; - ref QuestSequence reference188 = ref span2[num]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 5 - }; - index2 = 1; - List list247 = new List(index2); - CollectionsMarshal.SetCount(list247, index2); - span3 = CollectionsMarshal.AsSpan(list247); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054485u, new Vector3(68.436646f, 0f, -0.045776367f), 1305) - { - Mount = true - }; - obj164.Steps = list247; - reference188 = obj164; - num++; - ref QuestSequence reference189 = ref span2[num]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - span3 = CollectionsMarshal.AsSpan(list248); - index2 = 0; - ref QuestStep reference190 = ref span3[index2]; - QuestStep obj166 = new QuestStep(EInteractionType.Interact, 1054483u, new Vector3(-50.003845f, 6.5f, -88.426025f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - index3 = 2; - List list249 = new List(index3); - CollectionsMarshal.SetCount(list249, index3); - span4 = CollectionsMarshal.AsSpan(list249); - num3 = 0; - span4[num3] = 132; - num3++; - span4[num3] = 133; - skipAetheryteCondition2.InTerritory = list249; - skipConditions12.AetheryteShortcutIf = skipAetheryteCondition2; - skipConditions12.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj166.SkipConditions = skipConditions12; - reference190 = obj166; - obj165.Steps = list248; - reference189 = obj165; - num++; - ref QuestSequence reference191 = ref span2[num]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 7 - }; - index2 = 2; - List list250 = new List(index2); - CollectionsMarshal.SetCount(list250, index2); - span3 = CollectionsMarshal.AsSpan(list250); - num2 = 0; - ref QuestStep reference192 = ref span3[num2]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1054477u, new Vector3(-52.903076f, 6.8124895f, -123.39978f), 133); - num3 = 6; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - span5 = CollectionsMarshal.AsSpan(list251); - index3 = 0; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = null; - index3++; - span5[index3] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list251; - reference192 = questStep26; - num2++; - ref QuestStep reference193 = ref span3[num2]; - QuestStep obj168 = new QuestStep(EInteractionType.Interact, 1054491u, new Vector3(-317.21985f, 7.3121967f, -200.763f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaBotanist - } - }; - index3 = 6; - List list252 = new List(index3); - CollectionsMarshal.SetCount(list252, index3); - span5 = CollectionsMarshal.AsSpan(list252); - num3 = 0; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - obj168.CompletionQuestVariablesFlags = list252; - reference193 = obj168; - obj167.Steps = list250; - reference191 = obj167; - num++; - ref QuestSequence reference194 = ref span2[num]; - QuestSequence obj169 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - span3 = CollectionsMarshal.AsSpan(list253); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054483u, new Vector3(-50.003845f, 6.5f, -88.426025f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaBotanist, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NextQuestId = new QuestId(5376) - }; - obj169.Steps = list253; - reference194 = obj169; - questRoot26.QuestSequence = list236; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(5376); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - span = CollectionsMarshal.AsSpan(list254); - index = 0; - span[index] = "WigglyMuffin"; - questRoot27.Author = list254; - questRoot27.IsSeasonalQuest = true; - questRoot27.SeasonalQuestExpiry = new DateTime(2025, 11, 4, 14, 59, 0, DateTimeKind.Utc); - index = 7; - List list255 = new List(index); - CollectionsMarshal.SetCount(list255, index); - span2 = CollectionsMarshal.AsSpan(list255); - num = 0; - ref QuestSequence reference195 = ref span2[num]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 0 - }; - index2 = 1; - List list256 = new List(index2); - CollectionsMarshal.SetCount(list256, index2); - span3 = CollectionsMarshal.AsSpan(list256); - num2 = 0; - ref QuestStep reference196 = ref span3[num2]; - QuestStep obj171 = new QuestStep(EInteractionType.AcceptQuest, 1054483u, new Vector3(-50.003845f, 6.5f, -88.426025f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 2; - List list257 = new List(num3); - CollectionsMarshal.SetCount(list257, num3); - span4 = CollectionsMarshal.AsSpan(list257); - index3 = 0; - span4[index3] = 132; - index3++; - span4[index3] = 133; - skipAetheryteCondition3.InTerritory = list257; - skipConditions13.AetheryteShortcutIf = skipAetheryteCondition3; - skipConditions13.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj171.SkipConditions = skipConditions13; - reference196 = obj171; - obj170.Steps = list256; - reference195 = obj170; - num++; - ref QuestSequence reference197 = ref span2[num]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - span3 = CollectionsMarshal.AsSpan(list258); - index2 = 0; - ref QuestStep reference198 = ref span3[index2]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1054484u, new Vector3(-55.680176f, 6.2813034f, -106.004456f), 133); - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - index3 = 1; - List list259 = new List(index3); - CollectionsMarshal.SetCount(list259, index3); - span4 = CollectionsMarshal.AsSpan(list259); - num3 = 0; - span4[num3] = 1305; - skipStepConditions11.InTerritory = list259; - skipConditions14.StepIf = skipStepConditions11; - questStep27.SkipConditions = skipConditions14; + QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1054484u, new Vector3(-55.680176f, 6.2813034f, -106.004456f), 133); num3 = 1; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - span6 = CollectionsMarshal.AsSpan(list260); + List list243 = new List(num3); + CollectionsMarshal.SetCount(list243, num3); + span6 = CollectionsMarshal.AsSpan(list243); index3 = 0; span6[index3] = new DialogueChoice { Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_FESHLX102_05376_EVENTAREA_WARP_110_005") + Prompt = new ExcelRef("TEXT_FESHLX101_05375_EVENTAREA_WARP_000_031") }; - questStep27.DialogueChoices = list260; - reference198 = questStep27; - index2++; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054485u, new Vector3(68.436646f, 0f, -0.045776367f), 1305); - obj172.Steps = list258; - reference197 = obj172; + questStep24.DialogueChoices = list243; + reference184 = questStep24; + obj161.Steps = list242; + reference183 = obj161; num++; - ref QuestSequence reference199 = ref span2[num]; - QuestSequence obj173 = new QuestSequence + ref QuestSequence reference185 = ref span2[num]; + QuestSequence obj162 = new QuestSequence { Sequence = 2 }; - index2 = 1; - List list261 = new List(index2); - CollectionsMarshal.SetCount(list261, index2); - span3 = CollectionsMarshal.AsSpan(list261); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054485u, new Vector3(68.436646f, 0f, -0.045776367f), 1305); - obj173.Steps = list261; - reference199 = obj173; + num2 = 1; + List list244 = new List(num2); + CollectionsMarshal.SetCount(list244, num2); + span3 = CollectionsMarshal.AsSpan(list244); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054485u, new Vector3(68.436646f, 0f, -0.045776367f), 1305); + obj162.Steps = list244; + reference185 = obj162; num++; - ref QuestSequence reference200 = ref span2[num]; - QuestSequence obj174 = new QuestSequence + ref QuestSequence reference186 = ref span2[num]; + QuestSequence obj163 = new QuestSequence { Sequence = 3 }; - num2 = 2; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - span3 = CollectionsMarshal.AsSpan(list262); - index2 = 0; - ref QuestStep reference201 = ref span3[index2]; - QuestStep obj175 = new QuestStep(EInteractionType.Action, 1054486u, new Vector3(4.2266846f, 17f, 11.947815f), 1305) - { - Action = EAction.TreatersTrick - }; + index2 = 2; + List list245 = new List(index2); + CollectionsMarshal.SetCount(list245, index2); + span3 = CollectionsMarshal.AsSpan(list245); + num2 = 0; + ref QuestStep reference187 = ref span3[num2]; + QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1054486u, new Vector3(4.2266846f, 17f, 11.947815f), 1305); index3 = 6; - List list263 = new List(index3); - CollectionsMarshal.SetCount(list263, index3); - span5 = CollectionsMarshal.AsSpan(list263); + List list246 = new List(index3); + CollectionsMarshal.SetCount(list246, index3); + span5 = CollectionsMarshal.AsSpan(list246); num3 = 0; span5[num3] = null; num3++; @@ -468618,36 +468783,33 @@ public static class AssemblyQuestLoader num3++; span5[num3] = null; num3++; - span5[num3] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - obj175.CompletionQuestVariablesFlags = list263; - reference201 = obj175; - index2++; - span3[index2] = new QuestStep(EInteractionType.Action, 1054489u, new Vector3(14.785889f, 17f, 105.85181f), 1305) - { - Action = EAction.TrickstersTreat - }; - obj174.Steps = list262; - reference200 = obj174; + span5[num3] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); + questStep25.CompletionQuestVariablesFlags = list246; + reference187 = questStep25; + num2++; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054489u, new Vector3(14.785889f, 17f, 105.85181f), 1305); + obj163.Steps = list245; + reference186 = obj163; num++; - ref QuestSequence reference202 = ref span2[num]; - QuestSequence obj176 = new QuestSequence + ref QuestSequence reference188 = ref span2[num]; + QuestSequence obj164 = new QuestSequence { Sequence = 4 }; - index2 = 3; - List list264 = new List(index2); - CollectionsMarshal.SetCount(list264, index2); - span3 = CollectionsMarshal.AsSpan(list264); - num2 = 0; - ref QuestStep reference203 = ref span3[num2]; - QuestStep obj177 = new QuestStep(EInteractionType.Action, 1054488u, new Vector3(9.109558f, 0f, 100.02283f), 1305) + num2 = 3; + List list247 = new List(num2); + CollectionsMarshal.SetCount(list247, num2); + span3 = CollectionsMarshal.AsSpan(list247); + index2 = 0; + ref QuestStep reference189 = ref span3[index2]; + QuestStep obj165 = new QuestStep(EInteractionType.Interact, 1054488u, new Vector3(9.109558f, 0f, 100.02283f), 1305) { - Action = EAction.TreatersTrick + Mount = true }; num3 = 6; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - span5 = CollectionsMarshal.AsSpan(list265); + List list248 = new List(num3); + CollectionsMarshal.SetCount(list248, num3); + span5 = CollectionsMarshal.AsSpan(list248); index3 = 0; span5[index3] = null; index3++; @@ -468660,18 +468822,18 @@ public static class AssemblyQuestLoader span5[index3] = null; index3++; span5[index3] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - obj177.CompletionQuestVariablesFlags = list265; - reference203 = obj177; - num2++; - ref QuestStep reference204 = ref span3[num2]; - QuestStep obj178 = new QuestStep(EInteractionType.Action, 1054487u, new Vector3(-43.86969f, 0f, -5.8442383f), 1305) + obj165.CompletionQuestVariablesFlags = list248; + reference189 = obj165; + index2++; + ref QuestStep reference190 = ref span3[index2]; + QuestStep obj166 = new QuestStep(EInteractionType.Interact, 1054487u, new Vector3(-43.86969f, 0f, -5.8442383f), 1305) { - Action = EAction.TreatersTrick + Mount = true }; index3 = 6; - List list266 = new List(index3); - CollectionsMarshal.SetCount(list266, index3); - span5 = CollectionsMarshal.AsSpan(list266); + List list249 = new List(index3); + CollectionsMarshal.SetCount(list249, index3); + span5 = CollectionsMarshal.AsSpan(list249); num3 = 0; span5[num3] = null; num3++; @@ -468683,26 +468845,385 @@ public static class AssemblyQuestLoader num3++; span5[num3] = null; num3++; - span5[num3] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); + span5[num3] = new QuestWorkValue((byte)10, null, EQuestWorkMode.Bitwise); + obj166.CompletionQuestVariablesFlags = list249; + reference190 = obj166; + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054490u, new Vector3(-54.795166f, 0f, -29.58728f), 1305) + { + Mount = true + }; + obj164.Steps = list247; + reference188 = obj164; + num++; + ref QuestSequence reference191 = ref span2[num]; + QuestSequence obj167 = new QuestSequence + { + Sequence = 5 + }; + index2 = 1; + List list250 = new List(index2); + CollectionsMarshal.SetCount(list250, index2); + span3 = CollectionsMarshal.AsSpan(list250); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054485u, new Vector3(68.436646f, 0f, -0.045776367f), 1305) + { + Mount = true + }; + obj167.Steps = list250; + reference191 = obj167; + num++; + ref QuestSequence reference192 = ref span2[num]; + QuestSequence obj168 = new QuestSequence + { + Sequence = 6 + }; + num2 = 1; + List list251 = new List(num2); + CollectionsMarshal.SetCount(list251, num2); + span3 = CollectionsMarshal.AsSpan(list251); + index2 = 0; + ref QuestStep reference193 = ref span3[index2]; + QuestStep obj169 = new QuestStep(EInteractionType.Interact, 1054483u, new Vector3(-50.003845f, 6.5f, -88.426025f), 133) + { + AetheryteShortcut = EAetheryteLocation.Gridania, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.Gridania, + To = EAetheryteLocation.GridaniaAmphitheatre + } + }; + SkipConditions skipConditions12 = new SkipConditions(); + SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); + num3 = 2; + List list252 = new List(num3); + CollectionsMarshal.SetCount(list252, num3); + span4 = CollectionsMarshal.AsSpan(list252); + index3 = 0; + span4[index3] = 132; + index3++; + span4[index3] = 133; + skipAetheryteCondition2.InTerritory = list252; + skipConditions12.AetheryteShortcutIf = skipAetheryteCondition2; + skipConditions12.AethernetShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + }; + obj169.SkipConditions = skipConditions12; + reference193 = obj169; + obj168.Steps = list251; + reference192 = obj168; + num++; + ref QuestSequence reference194 = ref span2[num]; + QuestSequence obj170 = new QuestSequence + { + Sequence = 7 + }; + index2 = 2; + List list253 = new List(index2); + CollectionsMarshal.SetCount(list253, index2); + span3 = CollectionsMarshal.AsSpan(list253); + num2 = 0; + ref QuestStep reference195 = ref span3[num2]; + QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1054477u, new Vector3(-52.903076f, 6.8124895f, -123.39978f), 133); + index3 = 6; + List list254 = new List(index3); + CollectionsMarshal.SetCount(list254, index3); + span5 = CollectionsMarshal.AsSpan(list254); + num3 = 0; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); + questStep26.CompletionQuestVariablesFlags = list254; + reference195 = questStep26; + num2++; + ref QuestStep reference196 = ref span3[num2]; + QuestStep obj171 = new QuestStep(EInteractionType.Interact, 1054491u, new Vector3(-317.21985f, 7.3121967f, -200.763f), 133) + { + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.GridaniaAmphitheatre, + To = EAetheryteLocation.GridaniaBotanist + } + }; + num3 = 6; + List list255 = new List(num3); + CollectionsMarshal.SetCount(list255, num3); + span5 = CollectionsMarshal.AsSpan(list255); + index3 = 0; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + obj171.CompletionQuestVariablesFlags = list255; + reference196 = obj171; + obj170.Steps = list253; + reference194 = obj170; + num++; + ref QuestSequence reference197 = ref span2[num]; + QuestSequence obj172 = new QuestSequence + { + Sequence = byte.MaxValue + }; + num2 = 1; + List list256 = new List(num2); + CollectionsMarshal.SetCount(list256, num2); + span3 = CollectionsMarshal.AsSpan(list256); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054483u, new Vector3(-50.003845f, 6.5f, -88.426025f), 133) + { + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.GridaniaBotanist, + To = EAetheryteLocation.GridaniaAmphitheatre + }, + NextQuestId = new QuestId(5376) + }; + obj172.Steps = list256; + reference197 = obj172; + questRoot26.QuestSequence = list239; + AddQuest(questId26, questRoot26); + QuestId questId27 = new QuestId(5376); + QuestRoot questRoot27 = new QuestRoot(); + num = 1; + List list257 = new List(num); + CollectionsMarshal.SetCount(list257, num); + span = CollectionsMarshal.AsSpan(list257); + index = 0; + span[index] = "WigglyMuffin"; + questRoot27.Author = list257; + questRoot27.IsSeasonalQuest = true; + questRoot27.SeasonalQuestExpiry = new DateTime(2025, 11, 4, 14, 59, 0, DateTimeKind.Utc); + index = 7; + List list258 = new List(index); + CollectionsMarshal.SetCount(list258, index); + span2 = CollectionsMarshal.AsSpan(list258); + num = 0; + ref QuestSequence reference198 = ref span2[num]; + QuestSequence obj173 = new QuestSequence + { + Sequence = 0 + }; + index2 = 1; + List list259 = new List(index2); + CollectionsMarshal.SetCount(list259, index2); + span3 = CollectionsMarshal.AsSpan(list259); + num2 = 0; + ref QuestStep reference199 = ref span3[num2]; + QuestStep obj174 = new QuestStep(EInteractionType.AcceptQuest, 1054483u, new Vector3(-50.003845f, 6.5f, -88.426025f), 133) + { + AetheryteShortcut = EAetheryteLocation.Gridania, + AethernetShortcut = new AethernetShortcut + { + From = EAetheryteLocation.Gridania, + To = EAetheryteLocation.GridaniaAmphitheatre + } + }; + SkipConditions skipConditions13 = new SkipConditions(); + SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); + index3 = 2; + List list260 = new List(index3); + CollectionsMarshal.SetCount(list260, index3); + span4 = CollectionsMarshal.AsSpan(list260); + num3 = 0; + span4[num3] = 132; + num3++; + span4[num3] = 133; + skipAetheryteCondition3.InTerritory = list260; + skipConditions13.AetheryteShortcutIf = skipAetheryteCondition3; + skipConditions13.AethernetShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + }; + obj174.SkipConditions = skipConditions13; + reference199 = obj174; + obj173.Steps = list259; + reference198 = obj173; + num++; + ref QuestSequence reference200 = ref span2[num]; + QuestSequence obj175 = new QuestSequence + { + Sequence = 1 + }; + num2 = 2; + List list261 = new List(num2); + CollectionsMarshal.SetCount(list261, num2); + span3 = CollectionsMarshal.AsSpan(list261); + index2 = 0; + ref QuestStep reference201 = ref span3[index2]; + QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1054484u, new Vector3(-55.680176f, 6.2813034f, -106.004456f), 133); + SkipConditions skipConditions14 = new SkipConditions(); + SkipStepConditions skipStepConditions11 = new SkipStepConditions(); + num3 = 1; + List list262 = new List(num3); + CollectionsMarshal.SetCount(list262, num3); + span4 = CollectionsMarshal.AsSpan(list262); + index3 = 0; + span4[index3] = 1305; + skipStepConditions11.InTerritory = list262; + skipConditions14.StepIf = skipStepConditions11; + questStep27.SkipConditions = skipConditions14; + index3 = 1; + List list263 = new List(index3); + CollectionsMarshal.SetCount(list263, index3); + span6 = CollectionsMarshal.AsSpan(list263); + num3 = 0; + span6[num3] = new DialogueChoice + { + Type = EDialogChoiceType.YesNo, + Prompt = new ExcelRef("TEXT_FESHLX102_05376_EVENTAREA_WARP_110_005") + }; + questStep27.DialogueChoices = list263; + reference201 = questStep27; + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054485u, new Vector3(68.436646f, 0f, -0.045776367f), 1305); + obj175.Steps = list261; + reference200 = obj175; + num++; + ref QuestSequence reference202 = ref span2[num]; + QuestSequence obj176 = new QuestSequence + { + Sequence = 2 + }; + index2 = 1; + List list264 = new List(index2); + CollectionsMarshal.SetCount(list264, index2); + span3 = CollectionsMarshal.AsSpan(list264); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054485u, new Vector3(68.436646f, 0f, -0.045776367f), 1305); + obj176.Steps = list264; + reference202 = obj176; + num++; + ref QuestSequence reference203 = ref span2[num]; + QuestSequence obj177 = new QuestSequence + { + Sequence = 3 + }; + num2 = 2; + List list265 = new List(num2); + CollectionsMarshal.SetCount(list265, num2); + span3 = CollectionsMarshal.AsSpan(list265); + index2 = 0; + ref QuestStep reference204 = ref span3[index2]; + QuestStep obj178 = new QuestStep(EInteractionType.Action, 1054486u, new Vector3(4.2266846f, 17f, 11.947815f), 1305) + { + Action = EAction.TreatersTrick + }; + num3 = 6; + List list266 = new List(num3); + CollectionsMarshal.SetCount(list266, num3); + span5 = CollectionsMarshal.AsSpan(list266); + index3 = 0; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); obj178.CompletionQuestVariablesFlags = list266; reference204 = obj178; + index2++; + span3[index2] = new QuestStep(EInteractionType.Action, 1054489u, new Vector3(14.785889f, 17f, 105.85181f), 1305) + { + Action = EAction.TrickstersTreat + }; + obj177.Steps = list265; + reference203 = obj177; + num++; + ref QuestSequence reference205 = ref span2[num]; + QuestSequence obj179 = new QuestSequence + { + Sequence = 4 + }; + index2 = 3; + List list267 = new List(index2); + CollectionsMarshal.SetCount(list267, index2); + span3 = CollectionsMarshal.AsSpan(list267); + num2 = 0; + ref QuestStep reference206 = ref span3[num2]; + QuestStep obj180 = new QuestStep(EInteractionType.Action, 1054488u, new Vector3(9.109558f, 0f, 100.02283f), 1305) + { + Action = EAction.TreatersTrick + }; + index3 = 6; + List list268 = new List(index3); + CollectionsMarshal.SetCount(list268, index3); + span5 = CollectionsMarshal.AsSpan(list268); + num3 = 0; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); + obj180.CompletionQuestVariablesFlags = list268; + reference206 = obj180; + num2++; + ref QuestStep reference207 = ref span3[num2]; + QuestStep obj181 = new QuestStep(EInteractionType.Action, 1054487u, new Vector3(-43.86969f, 0f, -5.8442383f), 1305) + { + Action = EAction.TreatersTrick + }; + num3 = 6; + List list269 = new List(num3); + CollectionsMarshal.SetCount(list269, num3); + span5 = CollectionsMarshal.AsSpan(list269); + index3 = 0; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = null; + index3++; + span5[index3] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); + obj181.CompletionQuestVariablesFlags = list269; + reference207 = obj181; num2++; span3[num2] = new QuestStep(EInteractionType.Action, 1054490u, new Vector3(-54.795166f, 0f, -29.58728f), 1305) { Action = EAction.TrickstersTreat }; - obj176.Steps = list264; - reference202 = obj176; + obj179.Steps = list267; + reference205 = obj179; num++; - ref QuestSequence reference205 = ref span2[num]; - QuestSequence obj179 = new QuestSequence + ref QuestSequence reference208 = ref span2[num]; + QuestSequence obj182 = new QuestSequence { Sequence = 5 }; num2 = 2; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - span3 = CollectionsMarshal.AsSpan(list267); + List list270 = new List(num2); + CollectionsMarshal.SetCount(list270, num2); + span3 = CollectionsMarshal.AsSpan(list270); index2 = 0; span3[index2] = new QuestStep(EInteractionType.WalkTo, 1054794u, new Vector3(-50.278336f, 0f, -36.070293f), 1305) { @@ -468713,21 +469234,21 @@ public static class AssemblyQuestLoader { Mount = true }; - obj179.Steps = list267; - reference205 = obj179; + obj182.Steps = list270; + reference208 = obj182; num++; - ref QuestSequence reference206 = ref span2[num]; - QuestSequence obj180 = new QuestSequence + ref QuestSequence reference209 = ref span2[num]; + QuestSequence obj183 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list268 = new List(index2); - CollectionsMarshal.SetCount(list268, index2); - span3 = CollectionsMarshal.AsSpan(list268); + List list271 = new List(index2); + CollectionsMarshal.SetCount(list271, index2); + span3 = CollectionsMarshal.AsSpan(list271); num2 = 0; - ref QuestStep reference207 = ref span3[num2]; - QuestStep obj181 = new QuestStep(EInteractionType.CompleteQuest, 1054496u, new Vector3(-49.485046f, 6.4999943f, -90.836975f), 133) + ref QuestStep reference210 = ref span3[num2]; + QuestStep obj184 = new QuestStep(EInteractionType.CompleteQuest, 1054496u, new Vector3(-49.485046f, 6.4999943f, -90.836975f), 133) { AetheryteShortcut = EAetheryteLocation.Gridania, AethernetShortcut = new AethernetShortcut @@ -468738,49 +469259,49 @@ public static class AssemblyQuestLoader }; SkipConditions skipConditions15 = new SkipConditions(); SkipAetheryteCondition skipAetheryteCondition4 = new SkipAetheryteCondition(); - num3 = 2; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - span4 = CollectionsMarshal.AsSpan(list269); - index3 = 0; - span4[index3] = 132; - index3++; - span4[index3] = 133; - skipAetheryteCondition4.InTerritory = list269; + index3 = 2; + List list272 = new List(index3); + CollectionsMarshal.SetCount(list272, index3); + span4 = CollectionsMarshal.AsSpan(list272); + num3 = 0; + span4[num3] = 132; + num3++; + span4[num3] = 133; + skipAetheryteCondition4.InTerritory = list272; skipConditions15.AetheryteShortcutIf = skipAetheryteCondition4; skipConditions15.AethernetShortcutIf = new SkipAetheryteCondition { InSameTerritory = true }; - obj181.SkipConditions = skipConditions15; - reference207 = obj181; - obj180.Steps = list268; - reference206 = obj180; - questRoot27.QuestSequence = list255; + obj184.SkipConditions = skipConditions15; + reference210 = obj184; + obj183.Steps = list271; + reference209 = obj183; + questRoot27.QuestSequence = list258; AddQuest(questId27, questRoot27); QuestId questId28 = new QuestId(5378); QuestRoot questRoot28 = new QuestRoot(); num = 1; - List list270 = new List(num); - CollectionsMarshal.SetCount(list270, num); - span = CollectionsMarshal.AsSpan(list270); + List list273 = new List(num); + CollectionsMarshal.SetCount(list273, num); + span = CollectionsMarshal.AsSpan(list273); index = 0; span[index] = "WigglyMuffin"; - questRoot28.Author = list270; + questRoot28.Author = list273; index = 8; - List list271 = new List(index); - CollectionsMarshal.SetCount(list271, index); - span2 = CollectionsMarshal.AsSpan(list271); + List list274 = new List(index); + CollectionsMarshal.SetCount(list274, index); + span2 = CollectionsMarshal.AsSpan(list274); num = 0; - ref QuestSequence reference208 = ref span2[num]; - QuestSequence obj182 = new QuestSequence + ref QuestSequence reference211 = ref span2[num]; + QuestSequence obj185 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - span3 = CollectionsMarshal.AsSpan(list272); + List list275 = new List(num2); + CollectionsMarshal.SetCount(list275, num2); + span3 = CollectionsMarshal.AsSpan(list275); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1053655u, new Vector3(231.64722f, 50.749847f, 210.25403f), 1186) { @@ -468798,18 +469319,18 @@ public static class AssemblyQuestLoader } } }; - obj182.Steps = list272; - reference208 = obj182; + obj185.Steps = list275; + reference211 = obj185; num++; - ref QuestSequence reference209 = ref span2[num]; - QuestSequence obj183 = new QuestSequence + ref QuestSequence reference212 = ref span2[num]; + QuestSequence obj186 = new QuestSequence { Sequence = 1 }; index2 = 2; - List list273 = new List(index2); - CollectionsMarshal.SetCount(list273, index2); - span3 = CollectionsMarshal.AsSpan(list273); + List list276 = new List(index2); + CollectionsMarshal.SetCount(list276, index2); + span3 = CollectionsMarshal.AsSpan(list276); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(258.43686f, 50.749672f, 151.8797f), 1186); num2++; @@ -468822,18 +469343,18 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.SolutionNineTrueVue } }; - obj183.Steps = list273; - reference209 = obj183; + obj186.Steps = list276; + reference212 = obj186; num++; - ref QuestSequence reference210 = ref span2[num]; - QuestSequence obj184 = new QuestSequence + ref QuestSequence reference213 = ref span2[num]; + QuestSequence obj187 = new QuestSequence { Sequence = 2 }; num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - span3 = CollectionsMarshal.AsSpan(list274); + List list277 = new List(num2); + CollectionsMarshal.SetCount(list277, num2); + span3 = CollectionsMarshal.AsSpan(list277); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054753u, new Vector3(639.33765f, 146.06567f, 706.4773f), 1191) { @@ -468847,49 +469368,49 @@ public static class AssemblyQuestLoader } } }; - obj184.Steps = list274; - reference210 = obj184; + obj187.Steps = list277; + reference213 = obj187; num++; - ref QuestSequence reference211 = ref span2[num]; - QuestSequence obj185 = new QuestSequence + ref QuestSequence reference214 = ref span2[num]; + QuestSequence obj188 = new QuestSequence { Sequence = 3 }; index2 = 1; - List list275 = new List(index2); - CollectionsMarshal.SetCount(list275, index2); - span3 = CollectionsMarshal.AsSpan(list275); + List list278 = new List(index2); + CollectionsMarshal.SetCount(list278, index2); + span3 = CollectionsMarshal.AsSpan(list278); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054757u, new Vector3(-185.29034f, 15.695002f, -385.00043f), 1190); - obj185.Steps = list275; - reference211 = obj185; + obj188.Steps = list278; + reference214 = obj188; num++; - ref QuestSequence reference212 = ref span2[num]; - QuestSequence obj186 = new QuestSequence + ref QuestSequence reference215 = ref span2[num]; + QuestSequence obj189 = new QuestSequence { Sequence = 4 }; num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - span3 = CollectionsMarshal.AsSpan(list276); + List list279 = new List(num2); + CollectionsMarshal.SetCount(list279, num2); + span3 = CollectionsMarshal.AsSpan(list279); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054760u, new Vector3(-277.27173f, 15.865601f, -195.36127f), 1190) { Fly = true }; - obj186.Steps = list276; - reference212 = obj186; + obj189.Steps = list279; + reference215 = obj189; num++; - ref QuestSequence reference213 = ref span2[num]; - QuestSequence obj187 = new QuestSequence + ref QuestSequence reference216 = ref span2[num]; + QuestSequence obj190 = new QuestSequence { Sequence = 5 }; index2 = 4; - List list277 = new List(index2); - CollectionsMarshal.SetCount(list277, index2); - span3 = CollectionsMarshal.AsSpan(list277); + List list280 = new List(index2); + CollectionsMarshal.SetCount(list280, index2); + span3 = CollectionsMarshal.AsSpan(list280); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-342.82297f, 18.182781f, -161.67989f), 1190) { @@ -468910,65 +469431,65 @@ public static class AssemblyQuestLoader { Fly = true }; - obj187.Steps = list277; - reference213 = obj187; + obj190.Steps = list280; + reference216 = obj190; num++; - ref QuestSequence reference214 = ref span2[num]; - QuestSequence obj188 = new QuestSequence + ref QuestSequence reference217 = ref span2[num]; + QuestSequence obj191 = new QuestSequence { Sequence = 6 }; num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - span3 = CollectionsMarshal.AsSpan(list278); + List list281 = new List(num2); + CollectionsMarshal.SetCount(list281, num2); + span3 = CollectionsMarshal.AsSpan(list281); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054764u, new Vector3(-306.32483f, 18.195349f, -87.60205f), 1190); - obj188.Steps = list278; - reference214 = obj188; + obj191.Steps = list281; + reference217 = obj191; num++; - ref QuestSequence reference215 = ref span2[num]; - QuestSequence obj189 = new QuestSequence + ref QuestSequence reference218 = ref span2[num]; + QuestSequence obj192 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list279 = new List(index2); - CollectionsMarshal.SetCount(list279, index2); - span3 = CollectionsMarshal.AsSpan(list279); + List list282 = new List(index2); + CollectionsMarshal.SetCount(list282, index2); + span3 = CollectionsMarshal.AsSpan(list282); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054767u, new Vector3(-419.3637f, 21.14813f, -142.74823f), 1190) { Fly = true, NextQuestId = new QuestId(5379) }; - obj189.Steps = list279; - reference215 = obj189; - questRoot28.QuestSequence = list271; + obj192.Steps = list282; + reference218 = obj192; + questRoot28.QuestSequence = list274; AddQuest(questId28, questRoot28); QuestId questId29 = new QuestId(5379); QuestRoot questRoot29 = new QuestRoot(); num = 1; - List list280 = new List(num); - CollectionsMarshal.SetCount(list280, num); - span = CollectionsMarshal.AsSpan(list280); + List list283 = new List(num); + CollectionsMarshal.SetCount(list283, num); + span = CollectionsMarshal.AsSpan(list283); index = 0; span[index] = "WigglyMuffin"; - questRoot29.Author = list280; + questRoot29.Author = list283; index = 12; - List list281 = new List(index); - CollectionsMarshal.SetCount(list281, index); - span2 = CollectionsMarshal.AsSpan(list281); + List list284 = new List(index); + CollectionsMarshal.SetCount(list284, index); + span2 = CollectionsMarshal.AsSpan(list284); num = 0; - ref QuestSequence reference216 = ref span2[num]; - QuestSequence obj190 = new QuestSequence + ref QuestSequence reference219 = ref span2[num]; + QuestSequence obj193 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - span3 = CollectionsMarshal.AsSpan(list282); + List list285 = new List(num2); + CollectionsMarshal.SetCount(list285, num2); + span3 = CollectionsMarshal.AsSpan(list285); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054773u, new Vector3(-329.21344f, 18.02224f, -137.28546f), 1190) { @@ -468982,68 +469503,20 @@ public static class AssemblyQuestLoader } } }; - obj190.Steps = list282; - reference216 = obj190; - num++; - ref QuestSequence reference217 = ref span2[num]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 1 - }; - index2 = 1; - List list283 = new List(index2); - CollectionsMarshal.SetCount(list283, index2); - span3 = CollectionsMarshal.AsSpan(list283); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054775u, new Vector3(-236.13336f, -0.8372388f, 247.11987f), 1190) - { - Fly = true - }; - obj191.Steps = list283; - reference217 = obj191; - num++; - ref QuestSequence reference218 = ref span2[num]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - span3 = CollectionsMarshal.AsSpan(list284); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054775u, new Vector3(-236.13336f, -0.8372388f, 247.11987f), 1190); - obj192.Steps = list284; - reference218 = obj192; - num++; - ref QuestSequence reference219 = ref span2[num]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 3 - }; - index2 = 1; - List list285 = new List(index2); - CollectionsMarshal.SetCount(list285, index2); - span3 = CollectionsMarshal.AsSpan(list285); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054777u, new Vector3(-186.81628f, (float)Math.E * 63f / 92f, 303.42554f), 1190) - { - Fly = true - }; obj193.Steps = list285; reference219 = obj193; num++; ref QuestSequence reference220 = ref span2[num]; QuestSequence obj194 = new QuestSequence { - Sequence = 4 + Sequence = 1 }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); + index2 = 1; + List list286 = new List(index2); + CollectionsMarshal.SetCount(list286, index2); span3 = CollectionsMarshal.AsSpan(list286); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054778u, new Vector3(-127.6723f, 1.5186902f, 336.7207f), 1190) + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054775u, new Vector3(-236.13336f, -0.8372388f, 247.11987f), 1190) { Fly = true }; @@ -469053,31 +469526,28 @@ public static class AssemblyQuestLoader ref QuestSequence reference221 = ref span2[num]; QuestSequence obj195 = new QuestSequence { - Sequence = 5 + Sequence = 2 }; - index2 = 1; - List list287 = new List(index2); - CollectionsMarshal.SetCount(list287, index2); + num2 = 1; + List list287 = new List(num2); + CollectionsMarshal.SetCount(list287, num2); span3 = CollectionsMarshal.AsSpan(list287); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054779u, new Vector3(-168.29181f, -1.8273239f, 402.7008f), 1190) - { - Fly = true - }; + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054775u, new Vector3(-236.13336f, -0.8372388f, 247.11987f), 1190); obj195.Steps = list287; reference221 = obj195; num++; ref QuestSequence reference222 = ref span2[num]; QuestSequence obj196 = new QuestSequence { - Sequence = 6 + Sequence = 3 }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); + index2 = 1; + List list288 = new List(index2); + CollectionsMarshal.SetCount(list288, index2); span3 = CollectionsMarshal.AsSpan(list288); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054780u, new Vector3(-111.28406f, -7.4034004f, 529.9f), 1190) + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054777u, new Vector3(-186.81628f, (float)Math.E * 63f / 92f, 303.42554f), 1190) { Fly = true }; @@ -469087,43 +469557,73 @@ public static class AssemblyQuestLoader ref QuestSequence reference223 = ref span2[num]; QuestSequence obj197 = new QuestSequence { - Sequence = 7 + Sequence = 4 }; - index2 = 3; - List list289 = new List(index2); - CollectionsMarshal.SetCount(list289, index2); + num2 = 1; + List list289 = new List(num2); + CollectionsMarshal.SetCount(list289, num2); span3 = CollectionsMarshal.AsSpan(list289); - num2 = 0; - ref QuestStep reference224 = ref span3[num2]; - QuestStep obj198 = new QuestStep(EInteractionType.Interact, 2014869u, new Vector3(-286.18298f, -45.91449f, 624.567f), 1190) + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054778u, new Vector3(-127.6723f, 1.5186902f, 336.7207f), 1190) { Fly = true }; - index3 = 6; - List list290 = new List(index3); - CollectionsMarshal.SetCount(list290, index3); - span5 = CollectionsMarshal.AsSpan(list290); - num3 = 0; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = null; - num3++; - span5[num3] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - obj198.CompletionQuestVariablesFlags = list290; + obj197.Steps = list289; + reference223 = obj197; + num++; + ref QuestSequence reference224 = ref span2[num]; + QuestSequence obj198 = new QuestSequence + { + Sequence = 5 + }; + index2 = 1; + List list290 = new List(index2); + CollectionsMarshal.SetCount(list290, index2); + span3 = CollectionsMarshal.AsSpan(list290); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054779u, new Vector3(-168.29181f, -1.8273239f, 402.7008f), 1190) + { + Fly = true + }; + obj198.Steps = list290; reference224 = obj198; - num2++; - ref QuestStep reference225 = ref span3[num2]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 2014868u, new Vector3(-273.82324f, -44.38855f, 627.25244f), 1190); + num++; + ref QuestSequence reference225 = ref span2[num]; + QuestSequence obj199 = new QuestSequence + { + Sequence = 6 + }; + num2 = 1; + List list291 = new List(num2); + CollectionsMarshal.SetCount(list291, num2); + span3 = CollectionsMarshal.AsSpan(list291); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054780u, new Vector3(-111.28406f, -7.4034004f, 529.9f), 1190) + { + Fly = true + }; + obj199.Steps = list291; + reference225 = obj199; + num++; + ref QuestSequence reference226 = ref span2[num]; + QuestSequence obj200 = new QuestSequence + { + Sequence = 7 + }; + index2 = 3; + List list292 = new List(index2); + CollectionsMarshal.SetCount(list292, index2); + span3 = CollectionsMarshal.AsSpan(list292); + num2 = 0; + ref QuestStep reference227 = ref span3[num2]; + QuestStep obj201 = new QuestStep(EInteractionType.Interact, 2014869u, new Vector3(-286.18298f, -45.91449f, 624.567f), 1190) + { + Fly = true + }; num3 = 6; - List list291 = new List(num3); - CollectionsMarshal.SetCount(list291, num3); - span5 = CollectionsMarshal.AsSpan(list291); + List list293 = new List(num3); + CollectionsMarshal.SetCount(list293, num3); + span5 = CollectionsMarshal.AsSpan(list293); index3 = 0; span5[index3] = null; index3++; @@ -469135,40 +469635,61 @@ public static class AssemblyQuestLoader index3++; span5[index3] = null; index3++; - span5[index3] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); - questStep28.CompletionQuestVariablesFlags = list291; - reference225 = questStep28; + span5[index3] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); + obj201.CompletionQuestVariablesFlags = list293; + reference227 = obj201; + num2++; + ref QuestStep reference228 = ref span3[num2]; + QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 2014868u, new Vector3(-273.82324f, -44.38855f, 627.25244f), 1190); + index3 = 6; + List list294 = new List(index3); + CollectionsMarshal.SetCount(list294, index3); + span5 = CollectionsMarshal.AsSpan(list294); + num3 = 0; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = null; + num3++; + span5[num3] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); + questStep28.CompletionQuestVariablesFlags = list294; + reference228 = questStep28; num2++; span3[num2] = new QuestStep(EInteractionType.Interact, 2014867u, new Vector3(-214.12988f, -39.871887f, 659.8153f), 1190) { Fly = true }; - obj197.Steps = list289; - reference223 = obj197; + obj200.Steps = list292; + reference226 = obj200; num++; - ref QuestSequence reference226 = ref span2[num]; - QuestSequence obj199 = new QuestSequence + ref QuestSequence reference229 = ref span2[num]; + QuestSequence obj202 = new QuestSequence { Sequence = 8 }; num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - span3 = CollectionsMarshal.AsSpan(list292); + List list295 = new List(num2); + CollectionsMarshal.SetCount(list295, num2); + span3 = CollectionsMarshal.AsSpan(list295); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054782u, new Vector3(-186.69415f, -33.644463f, 658.50305f), 1190); - obj199.Steps = list292; - reference226 = obj199; + obj202.Steps = list295; + reference229 = obj202; num++; - ref QuestSequence reference227 = ref span2[num]; - QuestSequence obj200 = new QuestSequence + ref QuestSequence reference230 = ref span2[num]; + QuestSequence obj203 = new QuestSequence { Sequence = 9 }; index2 = 2; - List list293 = new List(index2); - CollectionsMarshal.SetCount(list293, index2); - span3 = CollectionsMarshal.AsSpan(list293); + List list296 = new List(index2); + CollectionsMarshal.SetCount(list296, index2); + span3 = CollectionsMarshal.AsSpan(list296); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(475.81485f, 3.2201807f, 466.20187f), 1190) { @@ -469189,32 +469710,32 @@ public static class AssemblyQuestLoader }; num2++; span3[num2] = new QuestStep(EInteractionType.Interact, 1051501u, new Vector3(488.0598f, 3.2202392f, 484.03137f), 1190); - obj200.Steps = list293; - reference227 = obj200; + obj203.Steps = list296; + reference230 = obj203; num++; - ref QuestSequence reference228 = ref span2[num]; - QuestSequence obj201 = new QuestSequence + ref QuestSequence reference231 = ref span2[num]; + QuestSequence obj204 = new QuestSequence { Sequence = 10 }; num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - span3 = CollectionsMarshal.AsSpan(list294); + List list297 = new List(num2); + CollectionsMarshal.SetCount(list297, num2); + span3 = CollectionsMarshal.AsSpan(list297); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1051501u, new Vector3(488.0598f, 3.2202392f, 484.03137f), 1190); - obj201.Steps = list294; - reference228 = obj201; + obj204.Steps = list297; + reference231 = obj204; num++; - ref QuestSequence reference229 = ref span2[num]; - QuestSequence obj202 = new QuestSequence + ref QuestSequence reference232 = ref span2[num]; + QuestSequence obj205 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list295 = new List(index2); - CollectionsMarshal.SetCount(list295, index2); - span3 = CollectionsMarshal.AsSpan(list295); + List list298 = new List(index2); + CollectionsMarshal.SetCount(list298, index2); + span3 = CollectionsMarshal.AsSpan(list298); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1053655u, new Vector3(231.64722f, 50.749847f, 210.25403f), 1186) { @@ -469232,127 +469753,67 @@ public static class AssemblyQuestLoader } } }; - obj202.Steps = list295; - reference229 = obj202; - questRoot29.QuestSequence = list281; + obj205.Steps = list298; + reference232 = obj205; + questRoot29.QuestSequence = list284; AddQuest(questId29, questRoot29); QuestId questId30 = new QuestId(5380); QuestRoot questRoot30 = new QuestRoot(); num = 1; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - span = CollectionsMarshal.AsSpan(list296); + List list299 = new List(num); + CollectionsMarshal.SetCount(list299, num); + span = CollectionsMarshal.AsSpan(list299); index = 0; span[index] = "WigglyMuffin"; - questRoot30.Author = list296; + questRoot30.Author = list299; index = 4; - List list297 = new List(index); - CollectionsMarshal.SetCount(list297, index); - span2 = CollectionsMarshal.AsSpan(list297); + List list300 = new List(index); + CollectionsMarshal.SetCount(list300, index); + span2 = CollectionsMarshal.AsSpan(list300); num = 0; - ref QuestSequence reference230 = ref span2[num]; - QuestSequence obj203 = new QuestSequence + ref QuestSequence reference233 = ref span2[num]; + QuestSequence obj206 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - span3 = CollectionsMarshal.AsSpan(list298); + List list301 = new List(num2); + CollectionsMarshal.SetCount(list301, num2); + span3 = CollectionsMarshal.AsSpan(list301); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1039457u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - obj203.Steps = list298; - reference230 = obj203; + obj206.Steps = list301; + reference233 = obj206; num++; - ref QuestSequence reference231 = ref span2[num]; - QuestSequence obj204 = new QuestSequence + ref QuestSequence reference234 = ref span2[num]; + QuestSequence obj207 = new QuestSequence { Sequence = 1 }; index2 = 1; - List list299 = new List(index2); - CollectionsMarshal.SetCount(list299, index2); - span3 = CollectionsMarshal.AsSpan(list299); + List list302 = new List(index2); + CollectionsMarshal.SetCount(list302, index2); + span3 = CollectionsMarshal.AsSpan(list302); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Emote, 1039456u, new Vector3(28.854736f, 0f, 13.351624f), 1278) { Emote = EEmote.Doubt }; - obj204.Steps = list299; - reference231 = obj204; - num++; - ref QuestSequence reference232 = ref span2[num]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - span3 = CollectionsMarshal.AsSpan(list300); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1053908u, new Vector3(28.854736f, 0f, 13.351624f), 1278); - obj205.Steps = list300; - reference232 = obj205; - num++; - ref QuestSequence reference233 = ref span2[num]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - index2 = 1; - List list301 = new List(index2); - CollectionsMarshal.SetCount(list301, index2); - span3 = CollectionsMarshal.AsSpan(list301); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 2014937u, new Vector3(27.60829f, 0f, 11.74576f), 1278) - { - NextQuestId = new QuestId(5381) - }; - obj206.Steps = list301; - reference233 = obj206; - questRoot30.QuestSequence = list297; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(5381); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list302 = new List(num); - CollectionsMarshal.SetCount(list302, num); - span = CollectionsMarshal.AsSpan(list302); - index = 0; - span[index] = "WigglyMuffin"; - questRoot31.Author = list302; - index = 3; - List list303 = new List(index); - CollectionsMarshal.SetCount(list303, index); - span2 = CollectionsMarshal.AsSpan(list303); - num = 0; - ref QuestSequence reference234 = ref span2[num]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - span3 = CollectionsMarshal.AsSpan(list304); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1053906u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - obj207.Steps = list304; + obj207.Steps = list302; reference234 = obj207; num++; ref QuestSequence reference235 = ref span2[num]; QuestSequence obj208 = new QuestSequence { - Sequence = 1 + Sequence = 2 }; - index2 = 1; - List list305 = new List(index2); - CollectionsMarshal.SetCount(list305, index2); - span3 = CollectionsMarshal.AsSpan(list305); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1053906u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - obj208.Steps = list305; + num2 = 1; + List list303 = new List(num2); + CollectionsMarshal.SetCount(list303, num2); + span3 = CollectionsMarshal.AsSpan(list303); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1053908u, new Vector3(28.854736f, 0f, 13.351624f), 1278); + obj208.Steps = list303; reference235 = obj208; num++; ref QuestSequence reference236 = ref span2[num]; @@ -469360,76 +469821,136 @@ public static class AssemblyQuestLoader { Sequence = byte.MaxValue }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - span3 = CollectionsMarshal.AsSpan(list306); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1053908u, new Vector3(28.854736f, 0f, 13.351624f), 1278) + index2 = 1; + List list304 = new List(index2); + CollectionsMarshal.SetCount(list304, index2); + span3 = CollectionsMarshal.AsSpan(list304); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 2014937u, new Vector3(27.60829f, 0f, 11.74576f), 1278) { - NextQuestId = new QuestId(5382) + NextQuestId = new QuestId(5381) }; - obj209.Steps = list306; + obj209.Steps = list304; reference236 = obj209; - questRoot31.QuestSequence = list303; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(5382); - QuestRoot questRoot32 = new QuestRoot(); + questRoot30.QuestSequence = list300; + AddQuest(questId30, questRoot30); + QuestId questId31 = new QuestId(5381); + QuestRoot questRoot31 = new QuestRoot(); num = 1; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - span = CollectionsMarshal.AsSpan(list307); + List list305 = new List(num); + CollectionsMarshal.SetCount(list305, num); + span = CollectionsMarshal.AsSpan(list305); index = 0; span[index] = "WigglyMuffin"; - questRoot32.Author = list307; - index = 2; - List list308 = new List(index); - CollectionsMarshal.SetCount(list308, index); - span2 = CollectionsMarshal.AsSpan(list308); + questRoot31.Author = list305; + index = 3; + List list306 = new List(index); + CollectionsMarshal.SetCount(list306, index); + span2 = CollectionsMarshal.AsSpan(list306); num = 0; ref QuestSequence reference237 = ref span2[num]; QuestSequence obj210 = new QuestSequence { Sequence = 0 }; + num2 = 1; + List list307 = new List(num2); + CollectionsMarshal.SetCount(list307, num2); + span3 = CollectionsMarshal.AsSpan(list307); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1053906u, new Vector3(25.802979f, 0f, 13.38208f), 1278); + obj210.Steps = list307; + reference237 = obj210; + num++; + ref QuestSequence reference238 = ref span2[num]; + QuestSequence obj211 = new QuestSequence + { + Sequence = 1 + }; index2 = 1; - List list309 = new List(index2); - CollectionsMarshal.SetCount(list309, index2); - span3 = CollectionsMarshal.AsSpan(list309); + List list308 = new List(index2); + CollectionsMarshal.SetCount(list308, index2); + span3 = CollectionsMarshal.AsSpan(list308); num2 = 0; - ref QuestStep reference238 = ref span3[num2]; + span3[num2] = new QuestStep(EInteractionType.Interact, 1053906u, new Vector3(25.802979f, 0f, 13.38208f), 1278); + obj211.Steps = list308; + reference238 = obj211; + num++; + ref QuestSequence reference239 = ref span2[num]; + QuestSequence obj212 = new QuestSequence + { + Sequence = byte.MaxValue + }; + num2 = 1; + List list309 = new List(num2); + CollectionsMarshal.SetCount(list309, num2); + span3 = CollectionsMarshal.AsSpan(list309); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1053908u, new Vector3(28.854736f, 0f, 13.351624f), 1278) + { + NextQuestId = new QuestId(5382) + }; + obj212.Steps = list309; + reference239 = obj212; + questRoot31.QuestSequence = list306; + AddQuest(questId31, questRoot31); + QuestId questId32 = new QuestId(5382); + QuestRoot questRoot32 = new QuestRoot(); + num = 1; + List list310 = new List(num); + CollectionsMarshal.SetCount(list310, num); + span = CollectionsMarshal.AsSpan(list310); + index = 0; + span[index] = "WigglyMuffin"; + questRoot32.Author = list310; + index = 2; + List list311 = new List(index); + CollectionsMarshal.SetCount(list311, index); + span2 = CollectionsMarshal.AsSpan(list311); + num = 0; + ref QuestSequence reference240 = ref span2[num]; + QuestSequence obj213 = new QuestSequence + { + Sequence = 0 + }; + index2 = 1; + List list312 = new List(index2); + CollectionsMarshal.SetCount(list312, index2); + span3 = CollectionsMarshal.AsSpan(list312); + num2 = 0; + ref QuestStep reference241 = ref span3[num2]; QuestStep questStep29 = new QuestStep(EInteractionType.AcceptQuest, 1053906u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - index3 = 1; - List list310 = new List(index3); - CollectionsMarshal.SetCount(list310, index3); - span6 = CollectionsMarshal.AsSpan(list310); - num3 = 0; - span6[num3] = new DialogueChoice + num3 = 1; + List list313 = new List(num3); + CollectionsMarshal.SetCount(list313, num3); + span6 = CollectionsMarshal.AsSpan(list313); + index3 = 0; + span6[index3] = new DialogueChoice { Type = EDialogChoiceType.List, Prompt = new ExcelRef("TEXT_KINGKW103_05382_Q1_000_000"), Answer = new ExcelRef("TEXT_KINGKW103_05382_A1_000_002"), AnswerIsRegularExpression = true }; - questStep29.DialogueChoices = list310; - reference238 = questStep29; - obj210.Steps = list309; - reference237 = obj210; + questStep29.DialogueChoices = list313; + reference241 = questStep29; + obj213.Steps = list312; + reference240 = obj213; num++; - ref QuestSequence reference239 = ref span2[num]; - QuestSequence obj211 = new QuestSequence + ref QuestSequence reference242 = ref span2[num]; + QuestSequence obj214 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - span3 = CollectionsMarshal.AsSpan(list311); + List list314 = new List(num2); + CollectionsMarshal.SetCount(list314, num2); + span3 = CollectionsMarshal.AsSpan(list314); index2 = 0; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1053905u, new Vector3(29.55664f, 0f, 10.788086f), 1278); - obj211.Steps = list311; - reference239 = obj211; - questRoot32.QuestSequence = list308; + obj214.Steps = list314; + reference242 = obj214; + questRoot32.QuestSequence = list311; AddQuest(questId32, questRoot32); } diff --git a/Questionable.Model/Questionable.Model.Questing/SkipStepConditions.cs b/Questionable.Model/Questionable.Model.Questing/SkipStepConditions.cs index 4fc1e68..4368e7d 100644 --- a/Questionable.Model/Questionable.Model.Questing/SkipStepConditions.cs +++ b/Questionable.Model/Questionable.Model.Questing/SkipStepConditions.cs @@ -38,6 +38,8 @@ public sealed class SkipStepConditions public EAetheryteLocation? AetheryteUnlocked { get; set; } + public ushort? MinimumLevel { get; set; } + public NearPositionCondition? NearPosition { get; set; } public NearPositionCondition? NotNearPosition { get; set; } @@ -50,7 +52,7 @@ public sealed class SkipStepConditions { return false; } - if ((CompletionQuestVariablesFlags.Count <= 0 || !CompletionQuestVariablesFlags.Any((QuestWorkValue x) => x != null)) && !Flying.HasValue && !Chocobo.HasValue && !Diving.HasValue && !NotTargetable && InTerritory.Count <= 0 && NotInTerritory.Count <= 0 && Item == null && QuestsAccepted.Count <= 0 && QuestsCompleted.Count <= 0 && NotNamePlateIconId.Count <= 0 && !AetheryteLocked.HasValue && !AetheryteUnlocked.HasValue && NearPosition == null && NotNearPosition == null) + if ((CompletionQuestVariablesFlags.Count <= 0 || !CompletionQuestVariablesFlags.Any((QuestWorkValue x) => x != null)) && !Flying.HasValue && !Chocobo.HasValue && !Diving.HasValue && !NotTargetable && InTerritory.Count <= 0 && NotInTerritory.Count <= 0 && Item == null && QuestsAccepted.Count <= 0 && QuestsCompleted.Count <= 0 && NotNamePlateIconId.Count <= 0 && !AetheryteLocked.HasValue && !AetheryteUnlocked.HasValue && !MinimumLevel.HasValue && NearPosition == null && NotNearPosition == null) { return ExtraCondition.HasValue; } diff --git a/Questionable/Questionable.Controller.Steps.Shared/SkipCondition.cs b/Questionable/Questionable.Controller.Steps.Shared/SkipCondition.cs index cfc4413..45449dc 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/SkipCondition.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/SkipCondition.cs @@ -93,6 +93,10 @@ internal static class SkipCondition { return true; } + if (CheckLevelCondition(skipConditions)) + { + return true; + } if (CheckQuestWorkConditions(elementId, step)) { return true; @@ -318,6 +322,16 @@ internal static class SkipCondition return false; } + private bool CheckLevelCondition(SkipStepConditions skipConditions) + { + if (skipConditions.MinimumLevel.HasValue && clientState.LocalPlayer != null && clientState.LocalPlayer.Level >= skipConditions.MinimumLevel.Value) + { + logger.LogInformation("Skipping step, as player level {CurrentLevel} >= minimum level {MinLevel}", clientState.LocalPlayer.Level, skipConditions.MinimumLevel.Value); + return true; + } + return false; + } + private bool CheckQuestWorkConditions(ElementId elementId, QuestStep step) { QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(elementId); diff --git a/Questionable/Questionable.Controller/CommandHandler.cs b/Questionable/Questionable.Controller/CommandHandler.cs index 6c3a0fc..5367b7e 100644 --- a/Questionable/Questionable.Controller/CommandHandler.cs +++ b/Questionable/Questionable.Controller/CommandHandler.cs @@ -9,9 +9,12 @@ using FFXIVClientStructs.FFXIV.Client.Game; using FFXIVClientStructs.FFXIV.Client.Game.UI; using Lumina.Excel; using Lumina.Excel.Sheets; +using Questionable.Data; using Questionable.Functions; using Questionable.Model; +using Questionable.Model.Common; using Questionable.Model.Questing; +using Questionable.Model.Questing.Converter; using Questionable.Windows; namespace Questionable.Controller; @@ -52,6 +55,8 @@ internal sealed class CommandHandler : IDisposable private readonly GameFunctions _gameFunctions; + private readonly AetheryteFunctions _aetheryteFunctions; + private readonly IDataManager _dataManager; private readonly IClientState _clientState; @@ -62,7 +67,7 @@ internal sealed class CommandHandler : IDisposable private IReadOnlyList _previouslyUnlockedUnlockLinks = Array.Empty(); - public CommandHandler(ICommandManager commandManager, IChatGui chatGui, QuestController questController, MovementController movementController, QuestRegistry questRegistry, ConfigWindow configWindow, DebugOverlay debugOverlay, OneTimeSetupWindow oneTimeSetupWindow, QuestWindow questWindow, QuestSelectionWindow questSelectionWindow, JournalProgressWindow journalProgressWindow, PriorityWindow priorityWindow, ITargetManager targetManager, QuestFunctions questFunctions, GameFunctions gameFunctions, IDataManager dataManager, IClientState clientState, IObjectTable objectTable, Configuration configuration) + public CommandHandler(ICommandManager commandManager, IChatGui chatGui, QuestController questController, MovementController movementController, QuestRegistry questRegistry, ConfigWindow configWindow, DebugOverlay debugOverlay, OneTimeSetupWindow oneTimeSetupWindow, QuestWindow questWindow, QuestSelectionWindow questSelectionWindow, JournalProgressWindow journalProgressWindow, PriorityWindow priorityWindow, ITargetManager targetManager, QuestFunctions questFunctions, GameFunctions gameFunctions, AetheryteFunctions aetheryteFunctions, IDataManager dataManager, IClientState clientState, IObjectTable objectTable, Configuration configuration) { _commandManager = commandManager; _chatGui = chatGui; @@ -79,6 +84,7 @@ internal sealed class CommandHandler : IDisposable _targetManager = targetManager; _questFunctions = questFunctions; _gameFunctions = gameFunctions; + _aetheryteFunctions = aetheryteFunctions; _dataManager = dataManager; _clientState = clientState; _objectTable = objectTable; @@ -196,7 +202,7 @@ internal sealed class CommandHandler : IDisposable { break; } - List list = new List(); + List list5 = new List(); ExcelSheet excelSheet = _dataManager.GetExcelSheet(); UIState* ptr = UIState.Instance(); if (ptr == null) @@ -204,35 +210,35 @@ internal sealed class CommandHandler : IDisposable _chatGui.PrintError("UIState is null", "Questionable", 576); break; } - for (int num8 = 0; num8 < 192; num8++) + for (int num10 = 0; num10 < 192; num10++) { - uint num9 = (uint)(num8 + 1179648); + uint num11 = (uint)(num10 + 1179648); try { - if (excelSheet.HasRow(num9) && ptr->IsChocoboTaxiStandUnlocked(num9)) + if (excelSheet.HasRow(num11) && ptr->IsChocoboTaxiStandUnlocked(num11)) { - string value10 = excelSheet.GetRow(num9).PlaceName.ToString(); - if (string.IsNullOrEmpty(value10)) + string value14 = excelSheet.GetRow(num11).PlaceName.ToString(); + if (string.IsNullOrEmpty(value14)) { - value10 = "Unknown"; + value14 = "Unknown"; } - list.Add($"{value10} (ID: {num8}, Row: 0x{num9:X})"); + list5.Add($"{value14} (ID: {num10}, Row: 0x{num11:X})"); } } catch { } } - _chatGui.Print($"Unlocked taxi stands ({list.Count}):", "Questionable", 576); - if (list.Count == 0) + _chatGui.Print($"Unlocked taxi stands ({list5.Count}):", "Questionable", 576); + if (list5.Count == 0) { _chatGui.Print(" (No unlocked taxi stands found)", "Questionable", 576); break; } { - foreach (string item3 in list) + foreach (string item5 in list5) { - _chatGui.Print(" - " + item3, "Questionable", 576); + _chatGui.Print(" - " + item5, "Questionable", 576); } break; } @@ -258,10 +264,10 @@ internal sealed class CommandHandler : IDisposable if (unlockLinks.Count >= 0) { _chatGui.Print($"Saved {unlockLinks.Count} unlock links to log.", "Questionable", 576); - List list3 = unlockLinks.Except(_previouslyUnlockedUnlockLinks).ToList(); - if (_previouslyUnlockedUnlockLinks.Count > 0 && list3.Count > 0) + List list6 = unlockLinks.Except(_previouslyUnlockedUnlockLinks).ToList(); + if (_previouslyUnlockedUnlockLinks.Count > 0 && list6.Count > 0) { - _chatGui.Print("New unlock links: " + string.Join(", ", list3), "Questionable", 576); + _chatGui.Print("New unlock links: " + string.Join(", ", list6), "Questionable", 576); } } else @@ -273,6 +279,136 @@ internal sealed class CommandHandler : IDisposable } } break; + case 9: + switch (text[0]) + { + case 'f': + { + if (!(text == "festivals")) + { + break; + } + List list4 = new List(); + for (byte b8 = 0; b8 < 4; b8++) + { + GameMain.Festival festival = GameMain.Instance()->ActiveFestivals[b8]; + if (festival.Id == 0) + { + list4.Add($"Slot {b8}: None"); + } + else + { + list4.Add($"Slot {b8}: {festival.Id}({festival.Phase})"); + } + } + _chatGui.Print("Festival slots:", "Questionable", 576); + { + foreach (string item6 in list4) + { + _chatGui.Print(" " + item6, "Questionable", 576); + } + break; + } + } + case 'a': + { + if (!(text == "aethernet")) + { + break; + } + ushort territoryType = _clientState.TerritoryType; + Dictionary values = AethernetShardConverter.Values; + AetheryteData aetheryteData = new AetheryteData(_dataManager); + HashSet hashSet2 = new HashSet(); + Dictionary> dictionary = new Dictionary>(); + EAetheryteLocation key; + string value10; + foreach (KeyValuePair item7 in values) + { + item7.Deconstruct(out key, out value10); + EAetheryteLocation key2 = key; + string text2 = value10; + if (aetheryteData.TerritoryIds.TryGetValue(key2, out var value11) && value11 == territoryType) + { + int num8 = text2.IndexOf(']', StringComparison.Ordinal); + if (num8 > 0) + { + string item3 = text2.Substring(1, num8 - 1); + hashSet2.Add(item3); + } + } + } + if (hashSet2.Count == 0) + { + _chatGui.Print("No aethernet shards found in current zone.", "Questionable", 576); + break; + } + foreach (KeyValuePair item8 in values) + { + item8.Deconstruct(out key, out value10); + EAetheryteLocation eAetheryteLocation = key; + string text3 = value10; + int num9 = text3.IndexOf(']', StringComparison.Ordinal); + if (num9 <= 0) + { + continue; + } + string text4 = text3.Substring(1, num9 - 1); + if (hashSet2.Contains(text4)) + { + if (!dictionary.ContainsKey(text4)) + { + dictionary[text4] = new List<(EAetheryteLocation, string, bool)>(); + } + bool item4 = _aetheryteFunctions.IsAetheryteUnlocked(eAetheryteLocation); + dictionary[text4].Add((eAetheryteLocation, text3, item4)); + } + } + { + foreach (KeyValuePair> item9 in dictionary.OrderBy>, string>((KeyValuePair> x) => x.Key)) + { + item9.Deconstruct(out value10, out var value12); + string value13 = value10; + List<(EAetheryteLocation, string, bool)> list = value12; + List<(EAetheryteLocation, string, bool)> list2 = list.Where<(EAetheryteLocation, string, bool)>(((EAetheryteLocation Location, string Name, bool Unlocked) x) => x.Unlocked).ToList(); + List<(EAetheryteLocation, string, bool)> list3 = list.Where<(EAetheryteLocation, string, bool)>(((EAetheryteLocation Location, string Name, bool Unlocked) x) => !x.Unlocked).ToList(); + _chatGui.Print($"Aethernet Shards in {value13} ({list.Count} total):", "Questionable", 576); + _chatGui.Print($" Unlocked: {list2.Count}", "Questionable", 576); + _chatGui.Print($" Missing: {list3.Count}", "Questionable", 576); + _chatGui.Print("", "Questionable", 576); + if (list3.Count > 0) + { + _chatGui.Print("Missing/Unattuned Aethernet Shards:", "Questionable", 576); + foreach (var item10 in list3.OrderBy<(EAetheryteLocation, string, bool), string>(((EAetheryteLocation Location, string Name, bool Unlocked) x) => x.Name)) + { + _chatGui.Print(" " + item10.Item2, "Questionable", 576); + } + _chatGui.Print("", "Questionable", 576); + } + if (list2.Count > 0) + { + _chatGui.Print("Unlocked Aethernet Shards:", "Questionable", 576); + foreach (var item11 in list2.OrderBy<(EAetheryteLocation, string, bool), string>(((EAetheryteLocation Location, string Name, bool Unlocked) x) => x.Name)) + { + _chatGui.Print(" " + item11.Item2, "Questionable", 576); + } + } + if (dictionary.Count > 1) + { + _chatGui.Print("", "Questionable", 576); + } + } + break; + } + } + } + break; + case 5: + if (text == "setup") + { + _oneTimeSetupWindow.IsOpenAndUncollapsed = true; + } + break; case 2: if (text == "do") { @@ -291,34 +427,6 @@ internal sealed class CommandHandler : IDisposable PrintMountId(); } break; - case 9: - { - if (!(text == "festivals")) - { - break; - } - List list2 = new List(); - for (byte b8 = 0; b8 < 4; b8++) - { - GameMain.Festival festival = GameMain.Instance()->ActiveFestivals[b8]; - if (festival.Id == 0) - { - list2.Add($"Slot {b8}: None"); - } - else - { - list2.Add($"Slot {b8}: {festival.Id}({festival.Phase})"); - } - } - _chatGui.Print("Festival slots:", "Questionable", 576); - { - foreach (string item4 in list2) - { - _chatGui.Print(" " + item4, "Questionable", 576); - } - break; - } - } case 11: { if (!(text == "quest-kills")) @@ -369,17 +477,17 @@ internal sealed class CommandHandler : IDisposable if (hashSet.Count > 0) { _chatGui.Print($"All Enemy DataIds Found: {hashSet.Count}", "Questionable", 576); - foreach (uint item5 in hashSet.OrderBy((uint x) => x)) + foreach (uint item12 in hashSet.OrderBy((uint x) => x)) { - (string Name, bool Found) tuple = GetEnemyName(item5); + (string Name, bool Found) tuple = GetEnemyName(item12); var (value, _) = tuple; if (tuple.Found) { - _chatGui.Print($" - {value} (DataId: {item5})", "Questionable", 576); + _chatGui.Print($" - {value} (DataId: {item12})", "Questionable", 576); } else { - _chatGui.Print($" - DataId: {item5}", "Questionable", 576); + _chatGui.Print($" - DataId: {item12}", "Questionable", 576); } } _chatGui.Print("", "Questionable", 576); @@ -406,17 +514,17 @@ internal sealed class CommandHandler : IDisposable byte b2 = (byte)(((num >= 0 && num < questProgressInfo.Variables.Count) ? questProgressInfo.Variables[num] : 0) & 0xF); string value2 = (b.HasValue ? $" {b2}/{b}" : ""); string value3 = ((b.HasValue && b2 >= b) ? "✓" : "○"); - foreach (uint item6 in hashSet.OrderBy((uint x) => x)) + foreach (uint item13 in hashSet.OrderBy((uint x) => x)) { - (string Name, bool Found) tuple3 = GetEnemyName(item6); + (string Name, bool Found) tuple3 = GetEnemyName(item13); var (value4, _) = tuple3; if (tuple3.Found) { - _chatGui.Print($" {value3} Slay {value4}.{value2} (DataId: {item6})", "Questionable", 576); + _chatGui.Print($" {value3} Slay {value4}.{value2} (DataId: {item13})", "Questionable", 576); } else { - _chatGui.Print($" {value3} Slay enemy.{value2} (DataId: {item6})", "Questionable", 576); + _chatGui.Print($" {value3} Slay enemy.{value2} (DataId: {item13})", "Questionable", 576); } } } @@ -495,7 +603,6 @@ internal sealed class CommandHandler : IDisposable } break; } - case 5: case 6: case 8: case 10: diff --git a/Questionable/Questionable.Functions/QuestFunctions.cs b/Questionable/Questionable.Functions/QuestFunctions.cs index 0e781e2..0b4d691 100644 --- a/Questionable/Questionable.Functions/QuestFunctions.cs +++ b/Questionable/Questionable.Functions/QuestFunctions.cs @@ -56,6 +56,14 @@ internal sealed class QuestFunctions private readonly HashSet _alreadyLoggedLevelRequirements = new HashSet(); + private ElementId? _lastLoggedLevelLockedMsq; + + private ElementId? _lastLoggedForcedClassQuest; + + private bool _lastLoggedFallbackLookup; + + private ElementId? _lastLoggedNotReadyQuest; + public QuestFunctions(QuestRegistry questRegistry, QuestData questData, AetheryteFunctions aetheryteFunctions, AlliedSocietyQuestFunctions alliedSocietyQuestFunctions, AlliedSocietyData alliedSocietyData, AetheryteData aetheryteData, Configuration configuration, IDataManager dataManager, IClientState clientState, IGameGui gameGui, IAetheryteList aetheryteList, ILogger logger) { _questRegistry = questRegistry; @@ -145,8 +153,99 @@ internal sealed class QuestFunctions QuestReference questReference = GetMainScenarioQuest().Item1; if (questReference.CurrentQuest != null && !_questRegistry.IsKnownQuest(questReference.CurrentQuest)) { + _logger.LogWarning("MSQ {MsqQuestId} is not in the quest registry, resetting to NoQuest", questReference.CurrentQuest); questReference = QuestReference.NoQuest(questReference.State); } + byte currentLevel = _clientState.LocalPlayer?.Level ?? 0; + if (questReference.CurrentQuest != null) + { + Questionable.Model.Quest quest; + bool flag = _questRegistry.TryGetQuest(questReference.CurrentQuest, out quest); + bool flag2 = IsQuestAccepted(questReference.CurrentQuest); + _logger.LogTrace("MSQ check: QuestId={QuestId}, InRegistry={InRegistry}, Level={QuestLevel}, CurrentLevel={CurrentLevel}, IsAccepted={IsAccepted}", questReference.CurrentQuest, flag, ((int?)quest?.Info.Level) ?? (-1), currentLevel, flag2); + EClassJob valueOrDefault = ((EClassJob?)_clientState.LocalPlayer?.ClassJob.RowId).GetValueOrDefault(); + if (valueOrDefault != EClassJob.Adventurer) + { + QuestInfo questInfo = (from x in _questData.GetClassJobQuests(valueOrDefault) + where x.Level <= 5 && IsQuestAccepted(x.QuestId) && !IsQuestComplete(x.QuestId) + orderby x.Level + select x).FirstOrDefault(); + if (questInfo != null) + { + _logger.LogTrace("Found in-progress class quest {QuestId}, continuing it", questInfo.QuestId); + return new QuestReference(questInfo.QuestId, QuestManager.GetQuestSequence(questInfo.QuestId.Value), questReference.State); + } + } + if (flag && quest.Info.Level > currentLevel && !flag2) + { + if (_lastLoggedLevelLockedMsq != questReference.CurrentQuest) + { + _logger.LogInformation("MSQ {MsqId} requires level {RequiredLevel}, current level {CurrentLevel}. Checking for early class quests to level up.", questReference.CurrentQuest, quest.Info.Level, currentLevel); + _lastLoggedLevelLockedMsq = questReference.CurrentQuest; + } + if (valueOrDefault != EClassJob.Adventurer) + { + List classJobQuests = _questData.GetClassJobQuests(valueOrDefault); + List lockedQuests = _questData.GetLockedClassQuests(); + List list = (from x in classJobQuests.Where(delegate(QuestInfo x) + { + bool num2 = x.Level <= currentLevel && x.Level <= 5; + bool flag3 = !IsQuestComplete(x.QuestId); + bool flag4 = !lockedQuests.Contains(x.QuestId); + return num2 && flag3 && flag4; + }) + orderby x.Level + select x).ToList(); + if (list.Count > 0) + { + ElementId questId = list.First().QuestId; + if (!IsQuestComplete(questId)) + { + if (_lastLoggedForcedClassQuest != questId) + { + _logger.LogInformation("MSQ level locked. Forcing class quest {ClassQuestId} for {ClassJob} (level {QuestLevel})", questId, valueOrDefault, list.First().Level); + _lastLoggedForcedClassQuest = questId; + } + return new QuestReference(questId, QuestManager.GetQuestSequence(questId.Value), questReference.State); + } + } + else if (_lastLoggedLevelLockedMsq == questReference.CurrentQuest && _lastLoggedForcedClassQuest == null) + { + _logger.LogWarning("No class quests passed the filter for {ClassJob} at level {CurrentLevel}", valueOrDefault, currentLevel); + _lastLoggedLevelLockedMsq = null; + } + List list2 = (from x in _questRegistry.GetKnownClassJobQuests(valueOrDefault, includeRoleQuests: false) + where x.Level <= currentLevel && x.Level <= 5 && !IsQuestAcceptedOrComplete(x.QuestId) && IsReadyToAcceptQuest(x.QuestId) + orderby x.Level + select x).ToList(); + if (list2.Count > 0) + { + ElementId questId2 = list2.First().QuestId; + _logger.LogInformation("MSQ level locked. Prioritizing class quest {ClassQuestId} for {ClassJob} (level {QuestLevel}) from registry", questId2, valueOrDefault, list2.First().Level); + return new QuestReference(questId2, QuestManager.GetQuestSequence(questId2.Value), questReference.State); + } + _logger.LogWarning("MSQ level locked but no available early class quests found for {ClassJob} at level {CurrentLevel}", valueOrDefault, currentLevel); + } + else + { + _logger.LogWarning("Current class is Adventurer, cannot find class quests"); + } + Questionable.Model.Quest quest2; + ElementId elementId = (from x in GetNextPriorityQuestsThatCanBeAccepted() + where x.IsAvailable + where _questRegistry.TryGetQuest(x.QuestId, out quest2) && quest2.Info.Level <= currentLevel && quest2.Info.Level <= 5 && quest2.Info is QuestInfo questInfo2 && questInfo2.ClassJobs.Count > 0 && questInfo2.ClassJobs.Any((EClassJob job) => !job.IsCrafter() && !job.IsGatherer()) + select x.QuestId).FirstOrDefault(); + if (elementId != null) + { + _logger.LogInformation("MSQ {MsqId} requires level {RequiredLevel}, current level {CurrentLevel}. Prioritizing early class quest {ClassQuestId} (from priority list)", questReference.CurrentQuest, quest.Info.Level, currentLevel, elementId); + return new QuestReference(elementId, QuestManager.GetQuestSequence(elementId.Value), questReference.State); + } + _logger.LogWarning("MSQ {MsqId} is level locked (requires {RequiredLevel}, current {CurrentLevel}) and no early class quests available. Cannot proceed.", questReference.CurrentQuest, quest.Info.Level, currentLevel); + return QuestReference.NoQuest(MainScenarioQuestState.Unavailable); + } + _lastLoggedLevelLockedMsq = null; + _lastLoggedForcedClassQuest = null; + } if (questReference.CurrentQuest != null && !IsQuestAccepted(questReference.CurrentQuest)) { if (allowNewMsq) @@ -155,7 +254,7 @@ internal sealed class QuestFunctions } questReference = QuestReference.NoQuest(questReference.State); } - List<(ElementId, byte)> list = new List<(ElementId, byte)>(); + List<(ElementId, byte)> list3 = new List<(ElementId, byte)>(); for (int num = ptr->TrackedQuests.Length - 1; num >= 0; num--) { TrackingWork trackingWork = ptr->TrackedQuests[num]; @@ -163,36 +262,36 @@ internal sealed class QuestFunctions { case 1: { - ElementId elementId = new QuestId(ptr->NormalQuests[trackingWork.Index].QuestId); - if (_questRegistry.IsKnownQuest(elementId)) + ElementId elementId2 = new QuestId(ptr->NormalQuests[trackingWork.Index].QuestId); + if (_questRegistry.IsKnownQuest(elementId2)) { - list.Add((elementId, QuestManager.GetQuestSequence(elementId.Value))); + list3.Add((elementId2, QuestManager.GetQuestSequence(elementId2.Value))); } break; } } } - if (_configuration.General.SkipLowPriorityDuties && list.Count > 0) + if (_configuration.General.SkipLowPriorityDuties && list3.Count > 0) { IReadOnlyList<(uint ContentFinderConditionId, ElementId QuestId, int Sequence)> lowPriorityQuests = _questRegistry.LowPriorityContentFinderConditionQuests; - list.RemoveAll(((ElementId Quest, byte Sequence) x) => lowPriorityQuests.Any<(uint, ElementId, int)>(((uint ContentFinderConditionId, ElementId QuestId, int Sequence) y) => x.Quest == y.QuestId && x.Sequence == y.Sequence)); + list3.RemoveAll(((ElementId Quest, byte Sequence) x) => lowPriorityQuests.Any<(uint, ElementId, int)>(((uint ContentFinderConditionId, ElementId QuestId, int Sequence) y) => x.Quest == y.QuestId && x.Sequence == y.Sequence)); } - if (list.Count > 0) + if (list3.Count > 0) { - (ElementId, byte) tuple = list.First(); + (ElementId, byte) tuple = list3.First(); ElementId item = tuple.Item1; byte item2 = tuple.Item2; EAlliedSociety firstTrackedAlliedSociety = _alliedSocietyData.GetCommonAlliedSocietyTurnIn(item); if (firstTrackedAlliedSociety != EAlliedSociety.None) { - List<(ElementId, byte)> list2 = (from quest in list.Skip(1) - where _alliedSocietyData.GetCommonAlliedSocietyTurnIn(quest.Quest) == firstTrackedAlliedSociety - select quest).ToList(); - if (list2.Count > 0) + List<(ElementId, byte)> list4 = (from tuple4 in list3.Skip(1) + where _alliedSocietyData.GetCommonAlliedSocietyTurnIn(tuple4.Quest) == firstTrackedAlliedSociety + select tuple4).ToList(); + if (list4.Count > 0) { if (item2 == byte.MaxValue) { - foreach (var (currentQuest, b) in list2) + foreach (var (currentQuest, b) in list4) { if (b != byte.MaxValue) { @@ -202,11 +301,11 @@ internal sealed class QuestFunctions } else if (!IsOnAlliedSocietyMount()) { - list2.Insert(0, (item, item2)); + list4.Insert(0, (item, item2)); _alliedSocietyData.GetCommonAlliedSocietyNpcs(firstTrackedAlliedSociety, out uint[] normalNpcs, out uint[] _); if (normalNpcs.Length != 0) { - (ElementId, byte)? tuple3 = (from x in list2 + (ElementId, byte)? tuple3 = (from x in list4 where x.Sequence < byte.MaxValue where IsInteractSequence(x.Quest, x.Sequence, normalNpcs) select x).Cast<(ElementId, byte)?>().FirstOrDefault(); @@ -220,12 +319,12 @@ internal sealed class QuestFunctions } return new QuestReference(item, item2, questReference.State); } - ElementId elementId2 = (from x in GetNextPriorityQuestsThatCanBeAccepted() + ElementId elementId3 = (from x in GetNextPriorityQuestsThatCanBeAccepted() where x.IsAvailable select x.QuestId).FirstOrDefault(); - if (elementId2 != null) + if (elementId3 != null) { - return new QuestReference(elementId2, QuestManager.GetQuestSequence(elementId2.Value), questReference.State); + return new QuestReference(elementId3, QuestManager.GetQuestSequence(elementId3.Value), questReference.State); } if (questReference.CurrentQuest != null) { @@ -259,10 +358,12 @@ internal sealed class QuestFunctions AgentScenarioTree* ptr = AgentScenarioTree.Instance(); if (ptr == null) { + _logger.LogTrace("GetMainScenarioQuest: scenarioTree is null"); return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), "No Scenario Tree"); } if (ptr->Data == null) { + _logger.LogTrace("GetMainScenarioQuest: scenarioTree->Data is null"); return (QuestReference.NoQuest(MainScenarioQuestState.LoadingScreen), "Scenario Tree Data is null"); } QuestId questId = new QuestId(ptr->Data->CurrentScenarioQuest); @@ -273,11 +374,20 @@ internal sealed class QuestFunctions { return (QuestReference.NoQuest(MainScenarioQuestState.Complete), "Main Scenario is complete"); } + if (!_lastLoggedFallbackLookup) + { + _logger.LogInformation("GetMainScenarioQuest: MSQ from scenario tree is 0, using fallback lookup"); + _lastLoggedFallbackLookup = true; + } PlayerState* playerState = PlayerState.Instance(); List list = (from q in _questData.MainScenarioQuests where q.StartingCity == 0 || q.StartingCity == playerState->StartTown where IsReadyToAcceptQuest(q.QuestId, ignoreLevel: true) select q).ToList(); + if (!_lastLoggedFallbackLookup || list.Count > 0) + { + _logger.LogTrace("GetMainScenarioQuest: Found {Count} potential quests from fallback", list.Count); + } if (list.Count == 0) { return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), "No potential quests found"); @@ -314,6 +424,7 @@ internal sealed class QuestFunctions } if (list.Count != 1) { + _logger.LogWarning("GetMainScenarioQuest: Multiple potential quests found: {Quests}", string.Join(", ", list.Select((QuestInfo x) => x.QuestId.Value))); return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), "Multiple potential quests found: " + string.Join(", ", list.Select((QuestInfo x) => x.QuestId.Value))); } } @@ -321,29 +432,35 @@ internal sealed class QuestFunctions { questId = (QuestId)list.Single().QuestId; } + _logger.LogInformation("GetMainScenarioQuest: Selected quest from fallback = {QuestId}", questId); + _lastLoggedFallbackLookup = false; } QuestManager* ptr2 = QuestManager.Instance(); if (IsQuestAccepted(questId) && ptr2->GetQuestById(questId.Value)->IsHidden) { + _logger.LogInformation("GetMainScenarioQuest: Quest {QuestId} is accepted but hidden", questId); return (QuestReference.NoQuest(MainScenarioQuestState.Available), "Quest accepted but hidden"); } if (IsQuestComplete(questId)) { + _logger.LogInformation("GetMainScenarioQuest: Quest {QuestId} is already complete", questId); return (new QuestReference(questId, byte.MaxValue, MainScenarioQuestState.Available), $"Quest {questId.Value} complete"); } - if (!IsReadyToAcceptQuest(questId)) + if (!IsReadyToAcceptQuest(questId, ignoreLevel: true)) { + if (_lastLoggedNotReadyQuest != questId) + { + _logger.LogInformation("GetMainScenarioQuest: Quest {QuestId} is not ready to accept (ignoring level)", questId); + _lastLoggedNotReadyQuest = questId; + } return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), $"Not readdy to accept quest {questId.Value}"); } - byte? b = _clientState.LocalPlayer?.Level; - if (!b.HasValue) + _lastLoggedNotReadyQuest = null; + if (!(_clientState.LocalPlayer?.Level).HasValue) { + _logger.LogTrace("GetMainScenarioQuest: In loading screen"); return (QuestReference.NoQuest(MainScenarioQuestState.LoadingScreen), "In loading screen"); } - if (_questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest) && quest.Info.Level > b) - { - return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), "Low level"); - } return (new QuestReference(questId, QuestManager.GetQuestSequence(questId.Value), MainScenarioQuestState.Available), item); } @@ -413,7 +530,7 @@ internal sealed class QuestFunctions { return new PriorityQuestInfo(x, "No sequence 0 with steps"); } - if (!_aetheryteFunctions.IsTeleportUnlocked()) + if ((quest.Info.Level > 5 || !(quest.Info is QuestInfo questInfo) || questInfo.ClassJobs.Count <= 0 || !questInfo.ClassJobs.Any((EClassJob classJob) => !classJob.IsCrafter() && !classJob.IsGatherer())) && !_aetheryteFunctions.IsTeleportUnlocked()) { return new PriorityQuestInfo(x, "Teleport not unlocked"); } diff --git a/Questionable/Questionable.Windows.ConfigComponents/DebugConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/DebugConfigComponent.cs index f837e01..f5a4f8b 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/DebugConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/DebugConfigComponent.cs @@ -85,7 +85,7 @@ internal sealed class DebugConfigComponent : ConfigComponent Save(); } ImGui.SameLine(); - ImGuiComponents.HelpMarker("Class and job skills for A Realm Reborn, Heavensward and (for the Lv70 skills) Stormblood are locked behind quests. Not recommended if you plan on queueing for instances with duty finder/party finder."); + ImGuiComponents.HelpMarker("Class and job skills for A Realm Reborn, Heavensward and (for the Lv70 skills) Stormblood are locked behind quests. Not recommended if you plan on queueing for instances with duty finder/party finder.\n\nNote: This setting is ignored for the first class/job quest if your character is not high enough level to start the level 4 MSQ."); bool v8 = base.Configuration.Advanced.SkipARealmRebornHardModePrimals; if (ImGui.Checkbox("Don't pick up ARR hard mode primal quests", ref v8)) {