From c9048e8eb4e7499fd32ef1d8ab5f8333b6f7ffff Mon Sep 17 00:00:00 2001 From: alydev Date: Mon, 13 Oct 2025 03:16:55 +1000 Subject: [PATCH] muffin v6.22 --- .../AssemblyQuestLoader.cs | 6429 +++++++++-------- .../QuestJournalUtils.cs | 46 +- 2 files changed, 3433 insertions(+), 3042 deletions(-) diff --git a/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs b/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs index f5d89a5..1dd546c 100644 --- a/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs +++ b/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs @@ -461651,7 +461651,7 @@ public static class AssemblyQuestLoader index = 0; span[index] = "CryoTechnic"; questRoot25.Author = list208; - index = 6; + index = 5; List list209 = new List(index); CollectionsMarshal.SetCount(list209, index); span2 = CollectionsMarshal.AsSpan(list209); @@ -461766,9 +461766,9 @@ public static class AssemblyQuestLoader ref QuestSequence reference164 = ref span2[num]; QuestSequence obj145 = new QuestSequence { - Sequence = 4 + Sequence = byte.MaxValue }; - index2 = 1; + index2 = 2; List list216 = new List(index2); CollectionsMarshal.SetCount(list216, index2); span3 = CollectionsMarshal.AsSpan(list216); @@ -461778,20 +461778,8 @@ public static class AssemblyQuestLoader ItemId = 46202u, ItemCount = 1 }; - obj145.Steps = list216; - reference164 = obj145; - num++; - ref QuestSequence reference165 = ref span2[num]; - QuestSequence obj146 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - span3 = CollectionsMarshal.AsSpan(list217); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) + num2++; + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) { Fly = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, @@ -461808,8 +461796,8 @@ public static class AssemblyQuestLoader } } }; - obj146.Steps = list217; - reference165 = obj146; + obj145.Steps = list216; + reference164 = obj145; questRoot25.QuestSequence = list209; AddQuest(questId25, questRoot25); AddQuest(new QuestId(5333), new QuestRoot @@ -461830,28 +461818,28 @@ public static class AssemblyQuestLoader QuestId questId26 = new QuestId(5336); QuestRoot questRoot26 = new QuestRoot(); num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - span = CollectionsMarshal.AsSpan(list218); + List list217 = new List(num); + CollectionsMarshal.SetCount(list217, num); + span = CollectionsMarshal.AsSpan(list217); index = 0; span[index] = "WigglyMuffin"; - questRoot26.Author = list218; + questRoot26.Author = list217; index = 4; - List list219 = new List(index); - CollectionsMarshal.SetCount(list219, index); - span2 = CollectionsMarshal.AsSpan(list219); + List list218 = new List(index); + CollectionsMarshal.SetCount(list218, index); + span2 = CollectionsMarshal.AsSpan(list218); num = 0; - ref QuestSequence reference166 = ref span2[num]; - QuestSequence obj147 = new QuestSequence + ref QuestSequence reference165 = ref span2[num]; + QuestSequence obj146 = new QuestSequence { Sequence = 0 }; - index2 = 1; - List list220 = new List(index2); - CollectionsMarshal.SetCount(list220, index2); - span3 = CollectionsMarshal.AsSpan(list220); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + num2 = 1; + List list219 = new List(num2); + CollectionsMarshal.SetCount(list219, num2); + span3 = CollectionsMarshal.AsSpan(list219); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, @@ -461863,21 +461851,21 @@ public static class AssemblyQuestLoader } } }; - obj147.Steps = list220; - reference166 = obj147; + obj146.Steps = list219; + reference165 = obj146; num++; - ref QuestSequence reference167 = ref span2[num]; - QuestSequence obj148 = new QuestSequence + ref QuestSequence reference166 = ref span2[num]; + QuestSequence obj147 = new QuestSequence { Sequence = 1 }; - num2 = 4; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - span3 = CollectionsMarshal.AsSpan(list221); - index2 = 0; - ref QuestStep reference168 = ref span3[index2]; - QuestStep obj149 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) + index2 = 4; + List list220 = new List(index2); + CollectionsMarshal.SetCount(list220, index2); + span3 = CollectionsMarshal.AsSpan(list220); + num2 = 0; + ref QuestStep reference167 = ref span3[num2]; + QuestStep obj148 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) { TargetTerritoryId = (ushort)1297, Fly = true @@ -461885,72 +461873,72 @@ public static class AssemblyQuestLoader SkipConditions skipConditions15 = new SkipConditions(); SkipStepConditions skipStepConditions14 = new SkipStepConditions(); num3 = 1; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - span4 = CollectionsMarshal.AsSpan(list222); + List list221 = new List(num3); + CollectionsMarshal.SetCount(list221, num3); + span4 = CollectionsMarshal.AsSpan(list221); index3 = 0; span4[index3] = 1187; - skipStepConditions14.NotInTerritory = list222; + skipStepConditions14.NotInTerritory = list221; skipConditions15.StepIf = skipStepConditions14; - obj149.SkipConditions = skipConditions15; - reference168 = obj149; - index2++; - span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) - { - Fly = false - }; - index2++; - span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(70.52385f, 1.8905392f, 65.476295f), 1297) - { - Fly = false - }; - index2++; - span3[index2] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); - obj148.Steps = list221; + obj148.SkipConditions = skipConditions15; reference167 = obj148; - num++; - ref QuestSequence reference169 = ref span2[num]; - QuestSequence obj150 = new QuestSequence + num2++; + span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) { - Sequence = 2 - }; - index2 = 4; - List list223 = new List(index2); - CollectionsMarshal.SetCount(list223, index2); - span3 = CollectionsMarshal.AsSpan(list223); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46208u, - ItemCount = 3 + Fly = false }; num2++; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(70.52385f, 1.8905392f, 65.476295f), 1297) + { + Fly = false + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); + obj147.Steps = list220; + reference166 = obj147; + num++; + ref QuestSequence reference168 = ref span2[num]; + QuestSequence obj149 = new QuestSequence + { + Sequence = 2 + }; + num2 = 4; + List list222 = new List(num2); + CollectionsMarshal.SetCount(list222, num2); + span3 = CollectionsMarshal.AsSpan(list222); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Craft, null, null, 1297) + { + ItemId = 46208u, + ItemCount = 3 + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(70.52385f, 1.8905392f, 65.476295f), 1297) { Mount = true, Fly = false }; - num2++; - span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(70.10631f, 1.8898277f, 100.54272f), 1297) + index2++; + span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(70.10631f, 1.8898277f, 100.54272f), 1297) { Fly = false }; - num2++; - span3[num2] = new QuestStep(EInteractionType.Interact, 1055816u, new Vector3(98.924194f, 1.890541f, 98.74109f), 1297); - obj150.Steps = list223; - reference169 = obj150; + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1055816u, new Vector3(98.924194f, 1.890541f, 98.74109f), 1297); + obj149.Steps = list222; + reference168 = obj149; num++; - ref QuestSequence reference170 = ref span2[num]; - QuestSequence obj151 = new QuestSequence + ref QuestSequence reference169 = ref span2[num]; + QuestSequence obj150 = new QuestSequence { Sequence = byte.MaxValue }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - span3 = CollectionsMarshal.AsSpan(list224); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + index2 = 1; + List list223 = new List(index2); + CollectionsMarshal.SetCount(list223, index2); + span3 = CollectionsMarshal.AsSpan(list223); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, Land = true, @@ -461963,34 +461951,115 @@ public static class AssemblyQuestLoader } } }; - obj151.Steps = list224; - reference170 = obj151; - questRoot26.QuestSequence = list219; + obj150.Steps = list223; + reference169 = obj150; + questRoot26.QuestSequence = list218; AddQuest(questId26, questRoot26); QuestId questId27 = new QuestId(5337); QuestRoot questRoot27 = new QuestRoot(); num = 1; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - span = CollectionsMarshal.AsSpan(list225); + List list224 = new List(num); + CollectionsMarshal.SetCount(list224, num); + span = CollectionsMarshal.AsSpan(list224); index = 0; span[index] = "WigglyMuffin"; - questRoot27.Author = list225; + questRoot27.Author = list224; index = 3; - List list226 = new List(index); - CollectionsMarshal.SetCount(list226, index); - span2 = CollectionsMarshal.AsSpan(list226); + List list225 = new List(index); + CollectionsMarshal.SetCount(list225, index); + span2 = CollectionsMarshal.AsSpan(list225); num = 0; + ref QuestSequence reference170 = ref span2[num]; + QuestSequence obj151 = new QuestSequence + { + Sequence = 0 + }; + num2 = 1; + List list226 = new List(num2); + CollectionsMarshal.SetCount(list226, num2); + span3 = CollectionsMarshal.AsSpan(list226); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj151.Steps = list226; + reference170 = obj151; + num++; ref QuestSequence reference171 = ref span2[num]; QuestSequence obj152 = new QuestSequence { - Sequence = 0 + Sequence = 1 }; index2 = 1; List list227 = new List(index2); CollectionsMarshal.SetCount(list227, index2); span3 = CollectionsMarshal.AsSpan(list227); num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054676u, new Vector3(500.93835f, 142.24991f, 782.22314f), 1187); + obj152.Steps = list227; + reference171 = obj152; + num++; + ref QuestSequence reference172 = ref span2[num]; + QuestSequence obj153 = new QuestSequence + { + Sequence = byte.MaxValue + }; + num2 = 2; + List list228 = new List(num2); + CollectionsMarshal.SetCount(list228, num2); + span3 = CollectionsMarshal.AsSpan(list228); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Craft, null, null, 1187) + { + ItemId = 46210u, + ItemCount = 2, + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions + { + Item = new SkipItemConditions() + } + } + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187); + obj153.Steps = list228; + reference172 = obj153; + questRoot27.QuestSequence = list225; + AddQuest(questId27, questRoot27); + QuestId questId28 = new QuestId(5338); + QuestRoot questRoot28 = new QuestRoot(); + num = 1; + List list229 = new List(num); + CollectionsMarshal.SetCount(list229, num); + span = CollectionsMarshal.AsSpan(list229); + index = 0; + span[index] = "CryoTechnic"; + questRoot28.Author = list229; + index = 4; + List list230 = new List(index); + CollectionsMarshal.SetCount(list230, index); + span2 = CollectionsMarshal.AsSpan(list230); + num = 0; + ref QuestSequence reference173 = ref span2[num]; + QuestSequence obj154 = new QuestSequence + { + Sequence = 0 + }; + index2 = 1; + List list231 = new List(index2); + CollectionsMarshal.SetCount(list231, index2); + span3 = CollectionsMarshal.AsSpan(list231); + num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, @@ -462003,78 +462072,23 @@ public static class AssemblyQuestLoader } } }; - obj152.Steps = list227; - reference171 = obj152; - num++; - ref QuestSequence reference172 = ref span2[num]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - span3 = CollectionsMarshal.AsSpan(list228); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054676u, new Vector3(500.93835f, 142.24991f, 782.22314f), 1187); - obj153.Steps = list228; - reference172 = obj153; - num++; - ref QuestSequence reference173 = ref span2[num]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - index2 = 2; - List list229 = new List(index2); - CollectionsMarshal.SetCount(list229, index2); - span3 = CollectionsMarshal.AsSpan(list229); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Craft, null, null, 1187) - { - ItemId = 46210u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - num2++; - span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187); - obj154.Steps = list229; + obj154.Steps = list231; reference173 = obj154; - questRoot27.QuestSequence = list226; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(5338); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - span = CollectionsMarshal.AsSpan(list230); - index = 0; - span[index] = "CryoTechnic"; - questRoot28.Author = list230; - index = 4; - List list231 = new List(index); - CollectionsMarshal.SetCount(list231, index); - span2 = CollectionsMarshal.AsSpan(list231); - num = 0; + num++; ref QuestSequence reference174 = ref span2[num]; QuestSequence obj155 = new QuestSequence { - Sequence = 0 + Sequence = 1 }; num2 = 1; List list232 = new List(num2); CollectionsMarshal.SetCount(list232, num2); span3 = CollectionsMarshal.AsSpan(list232); index2 = 0; - span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + span3[index2] = new QuestStep(EInteractionType.Interact, 1055817u, new Vector3(458.15198f, 114.935f, 657.3739f), 1187) { Fly = true, + Land = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, SkipConditions = new SkipConditions { @@ -462090,17 +462104,36 @@ public static class AssemblyQuestLoader ref QuestSequence reference175 = ref span2[num]; QuestSequence obj156 = new QuestSequence { - Sequence = 1 + Sequence = 2 }; - index2 = 1; + index2 = 2; List list233 = new List(index2); CollectionsMarshal.SetCount(list233, index2); span3 = CollectionsMarshal.AsSpan(list233); num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1055817u, new Vector3(458.15198f, 114.935f, 657.3739f), 1187) + span3[num2] = new QuestStep(EInteractionType.Craft, null, null, 959) + { + ItemId = 46212u, + ItemCount = 3 + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.Interact, 1055817u, new Vector3(458.15198f, 114.935f, 657.3739f), 1187); + obj156.Steps = list233; + reference175 = obj156; + num++; + ref QuestSequence reference176 = ref span2[num]; + QuestSequence obj157 = new QuestSequence + { + Sequence = byte.MaxValue + }; + num2 = 1; + List list234 = new List(num2); + CollectionsMarshal.SetCount(list234, num2); + span3 = CollectionsMarshal.AsSpan(list234); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, - Land = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, SkipConditions = new SkipConditions { @@ -462110,38 +462143,166 @@ public static class AssemblyQuestLoader } } }; - obj156.Steps = list233; - reference175 = obj156; - num++; - ref QuestSequence reference176 = ref span2[num]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - span3 = CollectionsMarshal.AsSpan(list234); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 46212u, - ItemCount = 3 - }; - index2++; - span3[index2] = new QuestStep(EInteractionType.Interact, 1055817u, new Vector3(458.15198f, 114.935f, 657.3739f), 1187); obj157.Steps = list234; reference176 = obj157; - num++; + questRoot28.QuestSequence = list230; + AddQuest(questId28, questRoot28); + QuestId questId29 = new QuestId(5339); + QuestRoot questRoot29 = new QuestRoot(); + num = 1; + List list235 = new List(num); + CollectionsMarshal.SetCount(list235, num); + span = CollectionsMarshal.AsSpan(list235); + index = 0; + span[index] = "CryoTechnic"; + questRoot29.Author = list235; + index = 3; + List list236 = new List(index); + CollectionsMarshal.SetCount(list236, index); + span2 = CollectionsMarshal.AsSpan(list236); + num = 0; ref QuestSequence reference177 = ref span2[num]; QuestSequence obj158 = new QuestSequence + { + Sequence = 0 + }; + index2 = 1; + List list237 = new List(index2); + CollectionsMarshal.SetCount(list237, index2); + span3 = CollectionsMarshal.AsSpan(list237); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj158.Steps = list237; + reference177 = obj158; + num++; + ref QuestSequence reference178 = ref span2[num]; + QuestSequence obj159 = new QuestSequence + { + Sequence = 1 + }; + num2 = 3; + List list238 = new List(num2); + CollectionsMarshal.SetCount(list238, num2); + span3 = CollectionsMarshal.AsSpan(list238); + index2 = 0; + ref QuestStep reference179 = ref span3[index2]; + QuestStep obj160 = new QuestStep(EInteractionType.Interact, 1055818u, new Vector3(583.276f, 120.7841f, 382.55884f), 1187) + { + Fly = true, + Land = true + }; + index3 = 6; + List> list239 = new List>(index3); + CollectionsMarshal.SetCount(list239, index3); + Span> span8 = CollectionsMarshal.AsSpan(list239); + num3 = 0; + span8[num3] = null; + num3++; + ref List reference180 = ref span8[num3]; + int num4 = 1; + List list240 = new List(num4); + CollectionsMarshal.SetCount(list240, num4); + span7 = CollectionsMarshal.AsSpan(list240); + int index4 = 0; + span7[index4] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); + reference180 = list240; + num3++; + span8[num3] = null; + num3++; + span8[num3] = null; + num3++; + span8[num3] = null; + num3++; + span8[num3] = null; + obj160.RequiredQuestVariables = list239; + reference179 = obj160; + index2++; + ref QuestStep reference181 = ref span3[index2]; + QuestStep obj161 = new QuestStep(EInteractionType.Interact, 1055819u, new Vector3(442.31323f, 101.649635f, 363.21045f), 1187) + { + Fly = true, + Land = true + }; + num3 = 6; + List> list241 = new List>(num3); + CollectionsMarshal.SetCount(list241, num3); + span8 = CollectionsMarshal.AsSpan(list241); + index3 = 0; + span8[index3] = null; + index3++; + ref List reference182 = ref span8[index3]; + index4 = 1; + List list242 = new List(index4); + CollectionsMarshal.SetCount(list242, index4); + span7 = CollectionsMarshal.AsSpan(list242); + num4 = 0; + span7[num4] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); + reference182 = list242; + index3++; + span8[index3] = null; + index3++; + span8[index3] = null; + index3++; + span8[index3] = null; + index3++; + span8[index3] = null; + obj161.RequiredQuestVariables = list241; + reference181 = obj161; + index2++; + ref QuestStep reference183 = ref span3[index2]; + QuestStep obj162 = new QuestStep(EInteractionType.Interact, 1055820u, new Vector3(379.50696f, 78.73412f, 440.63464f), 1187) + { + Fly = true, + Land = true + }; + index3 = 6; + List> list243 = new List>(index3); + CollectionsMarshal.SetCount(list243, index3); + span8 = CollectionsMarshal.AsSpan(list243); + num3 = 0; + span8[num3] = null; + num3++; + ref List reference184 = ref span8[num3]; + num4 = 1; + List list244 = new List(num4); + CollectionsMarshal.SetCount(list244, num4); + span7 = CollectionsMarshal.AsSpan(list244); + index4 = 0; + span7[index4] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); + reference184 = list244; + num3++; + span8[num3] = null; + num3++; + span8[num3] = null; + num3++; + span8[num3] = null; + num3++; + span8[num3] = null; + obj162.RequiredQuestVariables = list243; + reference183 = obj162; + obj159.Steps = list238; + reference178 = obj159; + num++; + ref QuestSequence reference185 = ref span2[num]; + QuestSequence obj163 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list235 = new List(index2); - CollectionsMarshal.SetCount(list235, index2); - span3 = CollectionsMarshal.AsSpan(list235); + List list245 = new List(index2); + CollectionsMarshal.SetCount(list245, index2); + span3 = CollectionsMarshal.AsSpan(list245); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -462149,33 +462310,33 @@ public static class AssemblyQuestLoader Land = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho }; - obj158.Steps = list235; - reference177 = obj158; - questRoot28.QuestSequence = list231; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(5339); - QuestRoot questRoot29 = new QuestRoot(); + obj163.Steps = list245; + reference185 = obj163; + questRoot29.QuestSequence = list236; + AddQuest(questId29, questRoot29); + QuestId questId30 = new QuestId(5340); + QuestRoot questRoot30 = new QuestRoot(); num = 1; - List list236 = new List(num); - CollectionsMarshal.SetCount(list236, num); - span = CollectionsMarshal.AsSpan(list236); + List list246 = new List(num); + CollectionsMarshal.SetCount(list246, num); + span = CollectionsMarshal.AsSpan(list246); index = 0; span[index] = "CryoTechnic"; - questRoot29.Author = list236; - index = 3; - List list237 = new List(index); - CollectionsMarshal.SetCount(list237, index); - span2 = CollectionsMarshal.AsSpan(list237); + questRoot30.Author = list246; + index = 4; + List list247 = new List(index); + CollectionsMarshal.SetCount(list247, index); + span2 = CollectionsMarshal.AsSpan(list247); num = 0; - ref QuestSequence reference178 = ref span2[num]; - QuestSequence obj159 = new QuestSequence + ref QuestSequence reference186 = ref span2[num]; + QuestSequence obj164 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - span3 = CollectionsMarshal.AsSpan(list238); + List list248 = new List(num2); + CollectionsMarshal.SetCount(list248, num2); + span3 = CollectionsMarshal.AsSpan(list248); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -462189,248 +462350,81 @@ public static class AssemblyQuestLoader } } }; - obj159.Steps = list238; - reference178 = obj159; + obj164.Steps = list248; + reference186 = obj164; num++; - ref QuestSequence reference179 = ref span2[num]; - QuestSequence obj160 = new QuestSequence + ref QuestSequence reference187 = ref span2[num]; + QuestSequence obj165 = new QuestSequence { Sequence = 1 }; index2 = 3; - List list239 = new List(index2); - CollectionsMarshal.SetCount(list239, index2); - span3 = CollectionsMarshal.AsSpan(list239); - num2 = 0; - ref QuestStep reference180 = ref span3[num2]; - QuestStep obj161 = new QuestStep(EInteractionType.Interact, 1055818u, new Vector3(583.276f, 120.7841f, 382.55884f), 1187) - { - Fly = true, - Land = true - }; - index3 = 6; - List> list240 = new List>(index3); - CollectionsMarshal.SetCount(list240, index3); - Span> span8 = CollectionsMarshal.AsSpan(list240); - num3 = 0; - span8[num3] = null; - num3++; - ref List reference181 = ref span8[num3]; - int num4 = 1; - List list241 = new List(num4); - CollectionsMarshal.SetCount(list241, num4); - span7 = CollectionsMarshal.AsSpan(list241); - int index4 = 0; - span7[index4] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference181 = list241; - num3++; - span8[num3] = null; - num3++; - span8[num3] = null; - num3++; - span8[num3] = null; - num3++; - span8[num3] = null; - obj161.RequiredQuestVariables = list240; - reference180 = obj161; - num2++; - ref QuestStep reference182 = ref span3[num2]; - QuestStep obj162 = new QuestStep(EInteractionType.Interact, 1055819u, new Vector3(442.31323f, 101.649635f, 363.21045f), 1187) - { - Fly = true, - Land = true - }; - num3 = 6; - List> list242 = new List>(num3); - CollectionsMarshal.SetCount(list242, num3); - span8 = CollectionsMarshal.AsSpan(list242); - index3 = 0; - span8[index3] = null; - index3++; - ref List reference183 = ref span8[index3]; - index4 = 1; - List list243 = new List(index4); - CollectionsMarshal.SetCount(list243, index4); - span7 = CollectionsMarshal.AsSpan(list243); - num4 = 0; - span7[num4] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - reference183 = list243; - index3++; - span8[index3] = null; - index3++; - span8[index3] = null; - index3++; - span8[index3] = null; - index3++; - span8[index3] = null; - obj162.RequiredQuestVariables = list242; - reference182 = obj162; - num2++; - ref QuestStep reference184 = ref span3[num2]; - QuestStep obj163 = new QuestStep(EInteractionType.Interact, 1055820u, new Vector3(379.50696f, 78.73412f, 440.63464f), 1187) - { - Fly = true, - Land = true - }; - index3 = 6; - List> list244 = new List>(index3); - CollectionsMarshal.SetCount(list244, index3); - span8 = CollectionsMarshal.AsSpan(list244); - num3 = 0; - span8[num3] = null; - num3++; - ref List reference185 = ref span8[num3]; - num4 = 1; - List list245 = new List(num4); - CollectionsMarshal.SetCount(list245, num4); - span7 = CollectionsMarshal.AsSpan(list245); - index4 = 0; - span7[index4] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference185 = list245; - num3++; - span8[num3] = null; - num3++; - span8[num3] = null; - num3++; - span8[num3] = null; - num3++; - span8[num3] = null; - obj163.RequiredQuestVariables = list244; - reference184 = obj163; - obj160.Steps = list239; - reference179 = obj160; - num++; - ref QuestSequence reference186 = ref span2[num]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - span3 = CollectionsMarshal.AsSpan(list246); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj164.Steps = list246; - reference186 = obj164; - questRoot29.QuestSequence = list237; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(5340); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list247 = new List(num); - CollectionsMarshal.SetCount(list247, num); - span = CollectionsMarshal.AsSpan(list247); - index = 0; - span[index] = "CryoTechnic"; - questRoot30.Author = list247; - index = 4; - List list248 = new List(index); - CollectionsMarshal.SetCount(list248, index); - span2 = CollectionsMarshal.AsSpan(list248); - num = 0; - ref QuestSequence reference187 = ref span2[num]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - index2 = 1; List list249 = new List(index2); CollectionsMarshal.SetCount(list249, index2); span3 = CollectionsMarshal.AsSpan(list249); num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj165.Steps = list249; - reference187 = obj165; - num++; - ref QuestSequence reference188 = ref span2[num]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - span3 = CollectionsMarshal.AsSpan(list250); - index2 = 0; - ref QuestStep reference189 = ref span3[index2]; - QuestStep obj167 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) + ref QuestStep reference188 = ref span3[num2]; + QuestStep obj166 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) { TargetTerritoryId = (ushort)1297 }; SkipConditions skipConditions16 = new SkipConditions(); SkipStepConditions skipStepConditions15 = new SkipStepConditions(); num3 = 1; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - span4 = CollectionsMarshal.AsSpan(list251); + List list250 = new List(num3); + CollectionsMarshal.SetCount(list250, num3); + span4 = CollectionsMarshal.AsSpan(list250); index3 = 0; span4[index3] = 1187; - skipStepConditions15.NotInTerritory = list251; + skipStepConditions15.NotInTerritory = list250; skipConditions16.StepIf = skipStepConditions15; - obj167.SkipConditions = skipConditions16; - reference189 = obj167; - index2++; - span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) + obj166.SkipConditions = skipConditions16; + reference188 = obj166; + num2++; + span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) { Fly = false }; - index2++; - span3[index2] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); - obj166.Steps = list250; - reference188 = obj166; + num2++; + span3[num2] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); + obj165.Steps = list249; + reference187 = obj165; num++; - ref QuestSequence reference190 = ref span2[num]; - QuestSequence obj168 = new QuestSequence + ref QuestSequence reference189 = ref span2[num]; + QuestSequence obj167 = new QuestSequence { Sequence = 2 }; - index2 = 4; - List list252 = new List(index2); - CollectionsMarshal.SetCount(list252, index2); - span3 = CollectionsMarshal.AsSpan(list252); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Craft, null, null, 1297) + num2 = 4; + List list251 = new List(num2); + CollectionsMarshal.SetCount(list251, num2); + span3 = CollectionsMarshal.AsSpan(list251); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Craft, null, null, 1297) { ItemId = 46214u, ItemCount = 3 }; - num2++; - span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(68.66426f, 1.8905385f, 65.188644f), 1297); - num2++; - span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(89.68089f, 3.372309f, 67.41638f), 1297); - num2++; - span3[num2] = new QuestStep(EInteractionType.Interact, 1055821u, new Vector3(88.97534f, 3.3723087f, 75.791504f), 1297); - obj168.Steps = list252; - reference190 = obj168; + index2++; + span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(68.66426f, 1.8905385f, 65.188644f), 1297); + index2++; + span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(89.68089f, 3.372309f, 67.41638f), 1297); + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1055821u, new Vector3(88.97534f, 3.3723087f, 75.791504f), 1297); + obj167.Steps = list251; + reference189 = obj167; num++; - ref QuestSequence reference191 = ref span2[num]; - QuestSequence obj169 = new QuestSequence + ref QuestSequence reference190 = ref span2[num]; + QuestSequence obj168 = 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, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + index2 = 1; + List list252 = new List(index2); + CollectionsMarshal.SetCount(list252, index2); + span3 = CollectionsMarshal.AsSpan(list252); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, Land = true, @@ -462443,35 +462437,35 @@ public static class AssemblyQuestLoader } } }; - obj169.Steps = list253; - reference191 = obj169; - questRoot30.QuestSequence = list248; + obj168.Steps = list252; + reference190 = obj168; + questRoot30.QuestSequence = list247; AddQuest(questId30, questRoot30); QuestId questId31 = new QuestId(5341); QuestRoot questRoot31 = new QuestRoot(); num = 1; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - span = CollectionsMarshal.AsSpan(list254); + List list253 = new List(num); + CollectionsMarshal.SetCount(list253, num); + span = CollectionsMarshal.AsSpan(list253); index = 0; span[index] = "CryoTechnic"; - questRoot31.Author = list254; + questRoot31.Author = list253; index = 4; - List list255 = new List(index); - CollectionsMarshal.SetCount(list255, index); - span2 = CollectionsMarshal.AsSpan(list255); + List list254 = new List(index); + CollectionsMarshal.SetCount(list254, index); + span2 = CollectionsMarshal.AsSpan(list254); num = 0; - ref QuestSequence reference192 = ref span2[num]; - QuestSequence obj170 = new QuestSequence + ref QuestSequence reference191 = ref span2[num]; + QuestSequence obj169 = new QuestSequence { Sequence = 0 }; - index2 = 1; - List list256 = new List(index2); - CollectionsMarshal.SetCount(list256, index2); - span3 = CollectionsMarshal.AsSpan(list256); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + num2 = 1; + List list255 = new List(num2); + CollectionsMarshal.SetCount(list255, num2); + span3 = CollectionsMarshal.AsSpan(list255); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, @@ -462483,79 +462477,79 @@ public static class AssemblyQuestLoader } } }; - obj170.Steps = list256; - reference192 = obj170; + obj169.Steps = list255; + reference191 = obj169; num++; - ref QuestSequence reference193 = ref span2[num]; - QuestSequence obj171 = new QuestSequence + ref QuestSequence reference192 = ref span2[num]; + QuestSequence obj170 = new QuestSequence { Sequence = 1 }; - num2 = 4; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - span3 = CollectionsMarshal.AsSpan(list257); - index2 = 0; - ref QuestStep reference194 = ref span3[index2]; - QuestStep obj172 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) + index2 = 4; + List list256 = new List(index2); + CollectionsMarshal.SetCount(list256, index2); + span3 = CollectionsMarshal.AsSpan(list256); + num2 = 0; + ref QuestStep reference193 = ref span3[num2]; + QuestStep obj171 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) { TargetTerritoryId = (ushort)1297 }; SkipConditions skipConditions17 = new SkipConditions(); SkipStepConditions skipStepConditions16 = new SkipStepConditions(); index3 = 1; - List list258 = new List(index3); - CollectionsMarshal.SetCount(list258, index3); - span4 = CollectionsMarshal.AsSpan(list258); + List list257 = new List(index3); + CollectionsMarshal.SetCount(list257, index3); + span4 = CollectionsMarshal.AsSpan(list257); num3 = 0; span4[num3] = 1187; - skipStepConditions16.NotInTerritory = list258; + skipStepConditions16.NotInTerritory = list257; skipConditions17.StepIf = skipStepConditions16; - obj172.SkipConditions = skipConditions17; - reference194 = obj172; - index2++; - span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) + obj171.SkipConditions = skipConditions17; + reference193 = obj171; + num2++; + span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) { Fly = false }; - index2++; - span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(89.2292f, 3.372309f, 66.11308f), 1297); - index2++; - span3[index2] = new QuestStep(EInteractionType.Interact, 1055821u, new Vector3(88.97534f, 3.3723087f, 75.791504f), 1297); - obj171.Steps = list257; - reference193 = obj171; + num2++; + span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(89.2292f, 3.372309f, 66.11308f), 1297); + num2++; + span3[num2] = new QuestStep(EInteractionType.Interact, 1055821u, new Vector3(88.97534f, 3.3723087f, 75.791504f), 1297); + obj170.Steps = list256; + reference192 = obj170; num++; - ref QuestSequence reference195 = ref span2[num]; - QuestSequence obj173 = new QuestSequence + ref QuestSequence reference194 = ref span2[num]; + QuestSequence obj172 = new QuestSequence { Sequence = 2 }; - index2 = 2; - List list259 = new List(index2); - CollectionsMarshal.SetCount(list259, index2); - span3 = CollectionsMarshal.AsSpan(list259); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Craft, null, null, 1297) + num2 = 2; + List list258 = new List(num2); + CollectionsMarshal.SetCount(list258, num2); + span3 = CollectionsMarshal.AsSpan(list258); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Craft, null, null, 1297) { ItemId = 46216u, ItemCount = 3 }; - num2++; - span3[num2] = new QuestStep(EInteractionType.Interact, 1055821u, new Vector3(88.97534f, 3.3723087f, 75.791504f), 1297); - obj173.Steps = list259; - reference195 = obj173; + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1055821u, new Vector3(88.97534f, 3.3723087f, 75.791504f), 1297); + obj172.Steps = list258; + reference194 = obj172; num++; - ref QuestSequence reference196 = ref span2[num]; - QuestSequence obj174 = new QuestSequence + ref QuestSequence reference195 = ref span2[num]; + QuestSequence obj173 = new QuestSequence { Sequence = byte.MaxValue }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - span3 = CollectionsMarshal.AsSpan(list260); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + index2 = 1; + List list259 = new List(index2); + CollectionsMarshal.SetCount(list259, index2); + span3 = CollectionsMarshal.AsSpan(list259); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, Land = true, @@ -462568,114 +462562,114 @@ public static class AssemblyQuestLoader } } }; - obj174.Steps = list260; - reference196 = obj174; - questRoot31.QuestSequence = list255; + obj173.Steps = list259; + reference195 = obj173; + questRoot31.QuestSequence = list254; AddQuest(questId31, questRoot31); QuestId questId32 = new QuestId(5342); QuestRoot questRoot32 = new QuestRoot(); num = 1; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - span = CollectionsMarshal.AsSpan(list261); + List list260 = new List(num); + CollectionsMarshal.SetCount(list260, num); + span = CollectionsMarshal.AsSpan(list260); index = 0; span[index] = "CryoTechnic"; - questRoot32.Author = list261; + questRoot32.Author = list260; index = 4; - List list262 = new List(index); - CollectionsMarshal.SetCount(list262, index); - span2 = CollectionsMarshal.AsSpan(list262); + List list261 = new List(index); + CollectionsMarshal.SetCount(list261, index); + span2 = CollectionsMarshal.AsSpan(list261); num = 0; + ref QuestSequence reference196 = ref span2[num]; + QuestSequence obj174 = new QuestSequence + { + Sequence = 0 + }; + num2 = 1; + List list262 = new List(num2); + CollectionsMarshal.SetCount(list262, num2); + span3 = CollectionsMarshal.AsSpan(list262); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj174.Steps = list262; + reference196 = obj174; + num++; ref QuestSequence reference197 = ref span2[num]; QuestSequence obj175 = new QuestSequence { - Sequence = 0 + Sequence = 1 }; index2 = 1; List list263 = new List(index2); CollectionsMarshal.SetCount(list263, index2); span3 = CollectionsMarshal.AsSpan(list263); num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj175.Steps = list263; - reference197 = obj175; - num++; - ref QuestSequence reference198 = ref span2[num]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - span3 = CollectionsMarshal.AsSpan(list264); - index2 = 0; - ref QuestStep reference199 = ref span3[index2]; - QuestStep obj177 = new QuestStep(EInteractionType.Interact, 1054676u, new Vector3(500.93835f, 142.24991f, 782.22314f), 1187) + ref QuestStep reference198 = ref span3[num2]; + QuestStep obj176 = new QuestStep(EInteractionType.Interact, 1054676u, new Vector3(500.93835f, 142.24991f, 782.22314f), 1187) { TargetTerritoryId = (ushort)1297 }; SkipConditions skipConditions18 = new SkipConditions(); SkipStepConditions skipStepConditions17 = new SkipStepConditions(); num3 = 1; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - span4 = CollectionsMarshal.AsSpan(list265); + List list264 = new List(num3); + CollectionsMarshal.SetCount(list264, num3); + span4 = CollectionsMarshal.AsSpan(list264); index3 = 0; span4[index3] = 1187; - skipStepConditions17.NotInTerritory = list265; + skipStepConditions17.NotInTerritory = list264; skipConditions18.StepIf = skipStepConditions17; - obj177.SkipConditions = skipConditions18; - reference199 = obj177; - obj176.Steps = list264; + obj176.SkipConditions = skipConditions18; reference198 = obj176; + obj175.Steps = list263; + reference197 = obj175; num++; - ref QuestSequence reference200 = ref span2[num]; - QuestSequence obj178 = new QuestSequence + ref QuestSequence reference199 = ref span2[num]; + QuestSequence obj177 = new QuestSequence { Sequence = 2 }; - index2 = 2; - List list266 = new List(index2); - CollectionsMarshal.SetCount(list266, index2); - span3 = CollectionsMarshal.AsSpan(list266); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Craft, null, null, 1297) + num2 = 2; + List list265 = new List(num2); + CollectionsMarshal.SetCount(list265, num2); + span3 = CollectionsMarshal.AsSpan(list265); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Craft, null, null, 1297) { ItemId = 46218u, ItemCount = 3 }; - num2++; - span3[num2] = new QuestStep(EInteractionType.Interact, 1055824u, new Vector3(520.714f, 111.135f, 608.5145f), 1187) + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1055824u, new Vector3(520.714f, 111.135f, 608.5145f), 1187) { Fly = true, Land = true }; - obj178.Steps = list266; - reference200 = obj178; + obj177.Steps = list265; + reference199 = obj177; num++; - ref QuestSequence reference201 = ref span2[num]; - QuestSequence obj179 = new QuestSequence + ref QuestSequence reference200 = ref span2[num]; + QuestSequence obj178 = new QuestSequence { Sequence = byte.MaxValue }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - span3 = CollectionsMarshal.AsSpan(list267); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + index2 = 1; + List list266 = new List(index2); + CollectionsMarshal.SetCount(list266, index2); + span3 = CollectionsMarshal.AsSpan(list266); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, Land = true, @@ -462688,35 +462682,35 @@ public static class AssemblyQuestLoader } } }; - obj179.Steps = list267; - reference201 = obj179; - questRoot32.QuestSequence = list262; + obj178.Steps = list266; + reference200 = obj178; + questRoot32.QuestSequence = list261; AddQuest(questId32, questRoot32); QuestId questId33 = new QuestId(5343); QuestRoot questRoot33 = new QuestRoot(); num = 1; - List list268 = new List(num); - CollectionsMarshal.SetCount(list268, num); - span = CollectionsMarshal.AsSpan(list268); + List list267 = new List(num); + CollectionsMarshal.SetCount(list267, num); + span = CollectionsMarshal.AsSpan(list267); index = 0; span[index] = "WigglyMuffin"; - questRoot33.Author = list268; + questRoot33.Author = list267; index = 4; - List list269 = new List(index); - CollectionsMarshal.SetCount(list269, index); - span2 = CollectionsMarshal.AsSpan(list269); + List list268 = new List(index); + CollectionsMarshal.SetCount(list268, index); + span2 = CollectionsMarshal.AsSpan(list268); num = 0; - ref QuestSequence reference202 = ref span2[num]; - QuestSequence obj180 = new QuestSequence + ref QuestSequence reference201 = ref span2[num]; + QuestSequence obj179 = new QuestSequence { Sequence = 0 }; - index2 = 1; - List list270 = new List(index2); - CollectionsMarshal.SetCount(list270, index2); - span3 = CollectionsMarshal.AsSpan(list270); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + num2 = 1; + List list269 = new List(num2); + CollectionsMarshal.SetCount(list269, num2); + span3 = CollectionsMarshal.AsSpan(list269); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, @@ -462728,65 +462722,65 @@ public static class AssemblyQuestLoader } } }; - obj180.Steps = list270; - reference202 = obj180; + obj179.Steps = list269; + reference201 = obj179; num++; - ref QuestSequence reference203 = ref span2[num]; - QuestSequence obj181 = new QuestSequence + ref QuestSequence reference202 = ref span2[num]; + QuestSequence obj180 = new QuestSequence { Sequence = 1 }; - num2 = 3; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - span3 = CollectionsMarshal.AsSpan(list271); - index2 = 0; - ref QuestStep reference204 = ref span3[index2]; - QuestStep obj182 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) + index2 = 3; + List list270 = new List(index2); + CollectionsMarshal.SetCount(list270, index2); + span3 = CollectionsMarshal.AsSpan(list270); + num2 = 0; + ref QuestStep reference203 = ref span3[num2]; + QuestStep obj181 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) { TargetTerritoryId = (ushort)1297 }; SkipConditions skipConditions19 = new SkipConditions(); SkipStepConditions skipStepConditions18 = new SkipStepConditions(); index3 = 1; - List list272 = new List(index3); - CollectionsMarshal.SetCount(list272, index3); - span4 = CollectionsMarshal.AsSpan(list272); + List list271 = new List(index3); + CollectionsMarshal.SetCount(list271, index3); + span4 = CollectionsMarshal.AsSpan(list271); num3 = 0; span4[num3] = 1187; - skipStepConditions18.NotInTerritory = list272; + skipStepConditions18.NotInTerritory = list271; skipConditions19.StepIf = skipStepConditions18; - obj182.SkipConditions = skipConditions19; - reference204 = obj182; - index2++; - span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) + obj181.SkipConditions = skipConditions19; + reference203 = obj181; + num2++; + span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) { Fly = false }; - index2++; - span3[index2] = new QuestStep(EInteractionType.Interact, 1055786u, new Vector3(97.24573f, 4.942853f, 198.19934f), 1297); - obj181.Steps = list271; - reference203 = obj181; + num2++; + span3[num2] = new QuestStep(EInteractionType.Interact, 1055786u, new Vector3(97.24573f, 4.942853f, 198.19934f), 1297); + obj180.Steps = list270; + reference202 = obj180; num++; - ref QuestSequence reference205 = ref span2[num]; - QuestSequence obj183 = new QuestSequence + ref QuestSequence reference204 = ref span2[num]; + QuestSequence obj182 = new QuestSequence { Sequence = 2 }; - index2 = 3; - List list273 = new List(index2); - CollectionsMarshal.SetCount(list273, index2); - span3 = CollectionsMarshal.AsSpan(list273); - num2 = 0; - ref QuestStep reference206 = ref span3[num2]; - QuestStep obj184 = new QuestStep(EInteractionType.UseItem, 2014944u, new Vector3(162.2566f, 3.905f, 88.95158f), 1297) + num2 = 3; + List list272 = new List(num2); + CollectionsMarshal.SetCount(list272, num2); + span3 = CollectionsMarshal.AsSpan(list272); + index2 = 0; + ref QuestStep reference205 = ref span3[index2]; + QuestStep obj183 = new QuestStep(EInteractionType.UseItem, 2014944u, new Vector3(162.2566f, 3.905f, 88.95158f), 1297) { ItemId = 2003777u }; num3 = 6; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - span7 = CollectionsMarshal.AsSpan(list274); + List list273 = new List(num3); + CollectionsMarshal.SetCount(list273, num3); + span7 = CollectionsMarshal.AsSpan(list273); index3 = 0; span7[index3] = null; index3++; @@ -462799,18 +462793,18 @@ public static class AssemblyQuestLoader span7[index3] = null; index3++; span7[index3] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - obj184.CompletionQuestVariablesFlags = list274; - reference206 = obj184; - num2++; - ref QuestStep reference207 = ref span3[num2]; - QuestStep obj185 = new QuestStep(EInteractionType.UseItem, 2014946u, new Vector3(99.3091f, 5.821984f, 15.11211f), 1297) + obj183.CompletionQuestVariablesFlags = list273; + reference205 = obj183; + index2++; + ref QuestStep reference206 = ref span3[index2]; + QuestStep obj184 = new QuestStep(EInteractionType.UseItem, 2014946u, new Vector3(99.3091f, 5.821984f, 15.11211f), 1297) { ItemId = 2003777u }; index3 = 6; - List list275 = new List(index3); - CollectionsMarshal.SetCount(list275, index3); - span7 = CollectionsMarshal.AsSpan(list275); + List list274 = new List(index3); + CollectionsMarshal.SetCount(list274, index3); + span7 = CollectionsMarshal.AsSpan(list274); num3 = 0; span7[num3] = null; num3++; @@ -462823,27 +462817,27 @@ public static class AssemblyQuestLoader span7[num3] = null; num3++; span7[num3] = new QuestWorkValue((byte)10, null, EQuestWorkMode.Bitwise); - obj185.CompletionQuestVariablesFlags = list275; - reference207 = obj185; - num2++; - span3[num2] = new QuestStep(EInteractionType.UseItem, 2014945u, new Vector3(72.99576f, 3.579935f, 29.1846f), 1297) + obj184.CompletionQuestVariablesFlags = list274; + reference206 = obj184; + index2++; + span3[index2] = new QuestStep(EInteractionType.UseItem, 2014945u, new Vector3(72.99576f, 3.579935f, 29.1846f), 1297) { ItemId = 2003777u }; - obj183.Steps = list273; - reference205 = obj183; + obj182.Steps = list272; + reference204 = obj182; num++; - ref QuestSequence reference208 = ref span2[num]; - QuestSequence obj186 = new QuestSequence + ref QuestSequence reference207 = ref span2[num]; + QuestSequence obj185 = new QuestSequence { Sequence = byte.MaxValue }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - span3 = CollectionsMarshal.AsSpan(list276); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + index2 = 1; + List list275 = new List(index2); + CollectionsMarshal.SetCount(list275, index2); + span3 = CollectionsMarshal.AsSpan(list275); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, Land = true, @@ -462856,35 +462850,60 @@ public static class AssemblyQuestLoader } } }; - obj186.Steps = list276; - reference208 = obj186; - questRoot33.QuestSequence = list269; + obj185.Steps = list275; + reference207 = obj185; + questRoot33.QuestSequence = list268; AddQuest(questId33, questRoot33); QuestId questId34 = new QuestId(5344); QuestRoot questRoot34 = new QuestRoot(); num = 1; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - span = CollectionsMarshal.AsSpan(list277); + List list276 = new List(num); + CollectionsMarshal.SetCount(list276, num); + span = CollectionsMarshal.AsSpan(list276); index = 0; span[index] = "WigglyMuffin"; - questRoot34.Author = list277; + questRoot34.Author = list276; index = 4; - List list278 = new List(index); - CollectionsMarshal.SetCount(list278, index); - span2 = CollectionsMarshal.AsSpan(list278); + List list277 = new List(index); + CollectionsMarshal.SetCount(list277, index); + span2 = CollectionsMarshal.AsSpan(list277); num = 0; + ref QuestSequence reference208 = ref span2[num]; + QuestSequence obj186 = new QuestSequence + { + Sequence = 0 + }; + num2 = 1; + List list278 = new List(num2); + CollectionsMarshal.SetCount(list278, num2); + span3 = CollectionsMarshal.AsSpan(list278); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj186.Steps = list278; + reference208 = obj186; + num++; ref QuestSequence reference209 = ref span2[num]; QuestSequence obj187 = new QuestSequence { - Sequence = 0 + Sequence = 1 }; index2 = 1; List list279 = new List(index2); CollectionsMarshal.SetCount(list279, index2); span3 = CollectionsMarshal.AsSpan(list279); num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + span3[num2] = new QuestStep(EInteractionType.Interact, 1055787u, new Vector3(521.8126f, 111.135f, 713.4049f), 1187) { Fly = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, @@ -462902,91 +462921,66 @@ public static class AssemblyQuestLoader ref QuestSequence reference210 = ref span2[num]; QuestSequence obj188 = new QuestSequence { - Sequence = 1 + Sequence = 2 }; - num2 = 1; + num2 = 2; List list280 = new List(num2); CollectionsMarshal.SetCount(list280, num2); span3 = CollectionsMarshal.AsSpan(list280); index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1055787u, new Vector3(521.8126f, 111.135f, 713.4049f), 1187) + span3[index2] = new QuestStep(EInteractionType.Craft, null, null, 1187) { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } + ItemId = 46220u, + ItemCount = 1 }; + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1055787u, new Vector3(521.8126f, 111.135f, 713.4049f), 1187); obj188.Steps = list280; reference210 = obj188; num++; ref QuestSequence reference211 = ref span2[num]; QuestSequence obj189 = new QuestSequence { - Sequence = 2 + Sequence = byte.MaxValue }; - index2 = 2; + index2 = 1; List list281 = new List(index2); CollectionsMarshal.SetCount(list281, index2); span3 = CollectionsMarshal.AsSpan(list281); num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Craft, null, null, 1187) - { - ItemId = 46220u, - ItemCount = 1 - }; - num2++; - span3[num2] = new QuestStep(EInteractionType.Interact, 1055787u, new Vector3(521.8126f, 111.135f, 713.4049f), 1187); - obj189.Steps = list281; - reference211 = obj189; - num++; - ref QuestSequence reference212 = ref span2[num]; - QuestSequence obj190 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - span3 = CollectionsMarshal.AsSpan(list282); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true }; - obj190.Steps = list282; - reference212 = obj190; - questRoot34.QuestSequence = list278; + obj189.Steps = list281; + reference211 = obj189; + questRoot34.QuestSequence = list277; AddQuest(questId34, questRoot34); QuestId questId35 = new QuestId(5345); QuestRoot questRoot35 = new QuestRoot(); num = 1; - List list283 = new List(num); - CollectionsMarshal.SetCount(list283, num); - span = CollectionsMarshal.AsSpan(list283); + List list282 = new List(num); + CollectionsMarshal.SetCount(list282, num); + span = CollectionsMarshal.AsSpan(list282); index = 0; span[index] = "CryoTechnic"; - questRoot35.Author = list283; + questRoot35.Author = list282; index = 4; - List list284 = new List(index); - CollectionsMarshal.SetCount(list284, index); - span2 = CollectionsMarshal.AsSpan(list284); + List list283 = new List(index); + CollectionsMarshal.SetCount(list283, index); + span2 = CollectionsMarshal.AsSpan(list283); num = 0; - ref QuestSequence reference213 = ref span2[num]; - QuestSequence obj191 = new QuestSequence + ref QuestSequence reference212 = ref span2[num]; + QuestSequence obj190 = new QuestSequence { Sequence = 0 }; - index2 = 1; - List list285 = new List(index2); - CollectionsMarshal.SetCount(list285, index2); - span3 = CollectionsMarshal.AsSpan(list285); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + num2 = 1; + List list284 = new List(num2); + CollectionsMarshal.SetCount(list284, num2); + span3 = CollectionsMarshal.AsSpan(list284); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, @@ -462998,72 +462992,72 @@ public static class AssemblyQuestLoader } } }; - obj191.Steps = list285; - reference213 = obj191; + obj190.Steps = list284; + reference212 = obj190; num++; - ref QuestSequence reference214 = ref span2[num]; - QuestSequence obj192 = new QuestSequence + ref QuestSequence reference213 = ref span2[num]; + QuestSequence obj191 = new QuestSequence { Sequence = 1 }; - num2 = 2; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - span3 = CollectionsMarshal.AsSpan(list286); - index2 = 0; - ref QuestStep reference215 = ref span3[index2]; - QuestStep obj193 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) + index2 = 2; + List list285 = new List(index2); + CollectionsMarshal.SetCount(list285, index2); + span3 = CollectionsMarshal.AsSpan(list285); + num2 = 0; + ref QuestStep reference214 = ref span3[num2]; + QuestStep obj192 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) { TargetTerritoryId = (ushort)1297 }; SkipConditions skipConditions20 = new SkipConditions(); SkipStepConditions skipStepConditions19 = new SkipStepConditions(); num3 = 1; - List list287 = new List(num3); - CollectionsMarshal.SetCount(list287, num3); - span4 = CollectionsMarshal.AsSpan(list287); + List list286 = new List(num3); + CollectionsMarshal.SetCount(list286, num3); + span4 = CollectionsMarshal.AsSpan(list286); index3 = 0; span4[index3] = 1187; - skipStepConditions19.NotInTerritory = list287; + skipStepConditions19.NotInTerritory = list286; skipConditions20.StepIf = skipStepConditions19; - obj193.SkipConditions = skipConditions20; - reference215 = obj193; - index2++; - span3[index2] = new QuestStep(EInteractionType.Interact, 1055788u, new Vector3(97.8866f, 4.942851f, 160.66211f), 1297); - obj192.Steps = list286; + obj192.SkipConditions = skipConditions20; reference214 = obj192; + num2++; + span3[num2] = new QuestStep(EInteractionType.Interact, 1055788u, new Vector3(97.8866f, 4.942851f, 160.66211f), 1297); + obj191.Steps = list285; + reference213 = obj191; num++; - ref QuestSequence reference216 = ref span2[num]; - QuestSequence obj194 = new QuestSequence + ref QuestSequence reference215 = ref span2[num]; + QuestSequence obj193 = new QuestSequence { Sequence = 2 }; - index2 = 2; - List list288 = new List(index2); - CollectionsMarshal.SetCount(list288, index2); - span3 = CollectionsMarshal.AsSpan(list288); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Craft, null, null, 1297) + num2 = 2; + List list287 = new List(num2); + CollectionsMarshal.SetCount(list287, num2); + span3 = CollectionsMarshal.AsSpan(list287); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Craft, null, null, 1297) { ItemId = 46222u, ItemCount = 4 }; - num2++; - span3[num2] = new QuestStep(EInteractionType.Interact, 1055788u, new Vector3(97.8866f, 4.942851f, 160.66211f), 1297); - obj194.Steps = list288; - reference216 = obj194; + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1055788u, new Vector3(97.8866f, 4.942851f, 160.66211f), 1297); + obj193.Steps = list287; + reference215 = obj193; num++; - ref QuestSequence reference217 = ref span2[num]; - QuestSequence obj195 = new QuestSequence + ref QuestSequence reference216 = ref span2[num]; + QuestSequence obj194 = new QuestSequence { Sequence = byte.MaxValue }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - span3 = CollectionsMarshal.AsSpan(list289); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + index2 = 1; + List list288 = new List(index2); + CollectionsMarshal.SetCount(list288, index2); + span3 = CollectionsMarshal.AsSpan(list288); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, Land = true, @@ -463076,35 +463070,35 @@ public static class AssemblyQuestLoader } } }; - obj195.Steps = list289; - reference217 = obj195; - questRoot35.QuestSequence = list284; + obj194.Steps = list288; + reference216 = obj194; + questRoot35.QuestSequence = list283; AddQuest(questId35, questRoot35); QuestId questId36 = new QuestId(5346); QuestRoot questRoot36 = new QuestRoot(); num = 1; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - span = CollectionsMarshal.AsSpan(list290); + List list289 = new List(num); + CollectionsMarshal.SetCount(list289, num); + span = CollectionsMarshal.AsSpan(list289); index = 0; span[index] = "WigglyMuffin"; - questRoot36.Author = list290; + questRoot36.Author = list289; index = 3; - List list291 = new List(index); - CollectionsMarshal.SetCount(list291, index); - span2 = CollectionsMarshal.AsSpan(list291); + List list290 = new List(index); + CollectionsMarshal.SetCount(list290, index); + span2 = CollectionsMarshal.AsSpan(list290); num = 0; - ref QuestSequence reference218 = ref span2[num]; - QuestSequence obj196 = new QuestSequence + ref QuestSequence reference217 = ref span2[num]; + QuestSequence obj195 = new QuestSequence { Sequence = 0 }; - index2 = 1; - List list292 = new List(index2); - CollectionsMarshal.SetCount(list292, index2); - span3 = CollectionsMarshal.AsSpan(list292); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + num2 = 1; + List list291 = new List(num2); + CollectionsMarshal.SetCount(list291, num2); + span3 = CollectionsMarshal.AsSpan(list291); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, @@ -463116,40 +463110,40 @@ public static class AssemblyQuestLoader } } }; - obj196.Steps = list292; - reference218 = obj196; + obj195.Steps = list291; + reference217 = obj195; num++; - ref QuestSequence reference219 = ref span2[num]; - QuestSequence obj197 = new QuestSequence + ref QuestSequence reference218 = ref span2[num]; + QuestSequence obj196 = new QuestSequence { Sequence = 1 }; - num2 = 4; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - span3 = CollectionsMarshal.AsSpan(list293); - index2 = 0; - ref QuestStep reference220 = ref span3[index2]; - QuestStep obj198 = new QuestStep(EInteractionType.Emote, 1055796u, new Vector3(-486.8086f, 60.107265f, 138.56714f), 1187) + index2 = 4; + List list292 = new List(index2); + CollectionsMarshal.SetCount(list292, index2); + span3 = CollectionsMarshal.AsSpan(list292); + num2 = 0; + ref QuestStep reference219 = ref span3[num2]; + QuestStep obj197 = new QuestStep(EInteractionType.Emote, 1055796u, new Vector3(-486.8086f, 60.107265f, 138.56714f), 1187) { Fly = true, Emote = EEmote.Poke }; index3 = 6; - List> list294 = new List>(index3); - CollectionsMarshal.SetCount(list294, index3); - span8 = CollectionsMarshal.AsSpan(list294); + List> list293 = new List>(index3); + CollectionsMarshal.SetCount(list293, index3); + span8 = CollectionsMarshal.AsSpan(list293); num3 = 0; span8[num3] = null; num3++; - ref List reference221 = ref span8[num3]; + ref List reference220 = ref span8[num3]; index4 = 1; - List list295 = new List(index4); - CollectionsMarshal.SetCount(list295, index4); - span7 = CollectionsMarshal.AsSpan(list295); + List list294 = new List(index4); + CollectionsMarshal.SetCount(list294, index4); + span7 = CollectionsMarshal.AsSpan(list294); num4 = 0; span7[num4] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference221 = list295; + reference220 = list294; num3++; span8[num3] = null; num3++; @@ -463158,11 +463152,11 @@ public static class AssemblyQuestLoader span8[num3] = null; num3++; span8[num3] = null; - obj198.RequiredQuestVariables = list294; - reference220 = obj198; - index2++; - ref QuestStep reference222 = ref span3[index2]; - QuestStep obj199 = new QuestStep(EInteractionType.Emote, 1055797u, new Vector3(-195.02557f, 40.181572f, 15.518433f), 1187) + obj197.RequiredQuestVariables = list293; + reference219 = obj197; + num2++; + ref QuestStep reference221 = ref span3[num2]; + QuestStep obj198 = new QuestStep(EInteractionType.Emote, 1055797u, new Vector3(-195.02557f, 40.181572f, 15.518433f), 1187) { Fly = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo, @@ -463181,20 +463175,20 @@ public static class AssemblyQuestLoader } }; num3 = 6; - List> list296 = new List>(num3); - CollectionsMarshal.SetCount(list296, num3); - span8 = CollectionsMarshal.AsSpan(list296); + List> list295 = new List>(num3); + CollectionsMarshal.SetCount(list295, num3); + span8 = CollectionsMarshal.AsSpan(list295); index3 = 0; span8[index3] = null; index3++; - ref List reference223 = ref span8[index3]; + ref List reference222 = ref span8[index3]; num4 = 1; - List list297 = new List(num4); - CollectionsMarshal.SetCount(list297, num4); - span7 = CollectionsMarshal.AsSpan(list297); + List list296 = new List(num4); + CollectionsMarshal.SetCount(list296, num4); + span7 = CollectionsMarshal.AsSpan(list296); index4 = 0; span7[index4] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - reference223 = list297; + reference222 = list296; index3++; span8[index3] = null; index3++; @@ -463203,30 +463197,30 @@ public static class AssemblyQuestLoader span8[index3] = null; index3++; span8[index3] = null; - obj199.RequiredQuestVariables = list296; - reference222 = obj199; - index2++; - ref QuestStep reference224 = ref span3[index2]; - QuestStep obj200 = new QuestStep(EInteractionType.Emote, 1055798u, new Vector3(-434.40912f, 118.59887f, 553.8567f), 1187) + obj198.RequiredQuestVariables = list295; + reference221 = obj198; + num2++; + ref QuestStep reference223 = ref span3[num2]; + QuestStep obj199 = new QuestStep(EInteractionType.Emote, 1055798u, new Vector3(-434.40912f, 118.59887f, 553.8567f), 1187) { Fly = true, Emote = EEmote.Poke }; index3 = 6; - List> list298 = new List>(index3); - CollectionsMarshal.SetCount(list298, index3); - span8 = CollectionsMarshal.AsSpan(list298); + List> list297 = new List>(index3); + CollectionsMarshal.SetCount(list297, index3); + span8 = CollectionsMarshal.AsSpan(list297); num3 = 0; span8[num3] = null; num3++; - ref List reference225 = ref span8[num3]; + ref List reference224 = ref span8[num3]; index4 = 1; - List list299 = new List(index4); - CollectionsMarshal.SetCount(list299, index4); - span7 = CollectionsMarshal.AsSpan(list299); + List list298 = new List(index4); + CollectionsMarshal.SetCount(list298, index4); + span7 = CollectionsMarshal.AsSpan(list298); num4 = 0; span7[num4] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - reference225 = list299; + reference224 = list298; num3++; span8[num3] = null; num3++; @@ -463235,30 +463229,30 @@ public static class AssemblyQuestLoader span8[num3] = null; num3++; span8[num3] = null; - obj200.RequiredQuestVariables = list298; - reference224 = obj200; - index2++; - ref QuestStep reference226 = ref span3[index2]; - QuestStep obj201 = new QuestStep(EInteractionType.Emote, 1055789u, new Vector3(509.69702f, 111.134995f, 693.78186f), 1187) + obj199.RequiredQuestVariables = list297; + reference223 = obj199; + num2++; + ref QuestStep reference225 = ref span3[num2]; + QuestStep obj200 = new QuestStep(EInteractionType.Emote, 1055789u, new Vector3(509.69702f, 111.134995f, 693.78186f), 1187) { Fly = true, Emote = EEmote.Poke }; num3 = 6; - List> list300 = new List>(num3); - CollectionsMarshal.SetCount(list300, num3); - span8 = CollectionsMarshal.AsSpan(list300); + List> list299 = new List>(num3); + CollectionsMarshal.SetCount(list299, num3); + span8 = CollectionsMarshal.AsSpan(list299); index3 = 0; span8[index3] = null; index3++; - ref List reference227 = ref span8[index3]; + ref List reference226 = ref span8[index3]; num4 = 1; - List list301 = new List(num4); - CollectionsMarshal.SetCount(list301, num4); - span7 = CollectionsMarshal.AsSpan(list301); + List list300 = new List(num4); + CollectionsMarshal.SetCount(list300, num4); + span7 = CollectionsMarshal.AsSpan(list300); index4 = 0; span7[index4] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - reference227 = list301; + reference226 = list300; index3++; span8[index3] = null; index3++; @@ -463267,257 +463261,53 @@ public static class AssemblyQuestLoader span8[index3] = null; index3++; span8[index3] = null; - obj201.RequiredQuestVariables = list300; - reference226 = obj201; - obj197.Steps = list293; - reference219 = obj197; + obj200.RequiredQuestVariables = list299; + reference225 = obj200; + obj196.Steps = list292; + reference218 = obj196; num++; - ref QuestSequence reference228 = ref span2[num]; - QuestSequence obj202 = new QuestSequence + ref QuestSequence reference227 = ref span2[num]; + QuestSequence obj201 = new QuestSequence { Sequence = byte.MaxValue }; - index2 = 1; - List list302 = new List(index2); - CollectionsMarshal.SetCount(list302, index2); - span3 = CollectionsMarshal.AsSpan(list302); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + num2 = 1; + List list301 = new List(num2); + CollectionsMarshal.SetCount(list301, num2); + span3 = CollectionsMarshal.AsSpan(list301); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho }; - obj202.Steps = list302; - reference228 = obj202; - questRoot36.QuestSequence = list291; + obj201.Steps = list301; + reference227 = obj201; + questRoot36.QuestSequence = list290; AddQuest(questId36, questRoot36); QuestId questId37 = new QuestId(5347); QuestRoot questRoot37 = new QuestRoot(); num = 1; - List list303 = new List(num); - CollectionsMarshal.SetCount(list303, num); - span = CollectionsMarshal.AsSpan(list303); + List list302 = new List(num); + CollectionsMarshal.SetCount(list302, num); + span = CollectionsMarshal.AsSpan(list302); index = 0; span[index] = "CryoTechnic"; - questRoot37.Author = list303; + questRoot37.Author = list302; index = 4; - List list304 = new List(index); - CollectionsMarshal.SetCount(list304, index); - span2 = CollectionsMarshal.AsSpan(list304); + List list303 = new List(index); + CollectionsMarshal.SetCount(list303, index); + span2 = CollectionsMarshal.AsSpan(list303); num = 0; - ref QuestSequence reference229 = ref span2[num]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - span3 = CollectionsMarshal.AsSpan(list305); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj203.Steps = list305; - reference229 = obj203; - num++; - ref QuestSequence reference230 = ref span2[num]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 1 - }; - index2 = 2; - List list306 = new List(index2); - CollectionsMarshal.SetCount(list306, index2); - span3 = CollectionsMarshal.AsSpan(list306); - num2 = 0; - ref QuestStep reference231 = ref span3[num2]; - QuestStep obj205 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions21 = new SkipConditions(); - SkipStepConditions skipStepConditions20 = new SkipStepConditions(); - index3 = 1; - List list307 = new List(index3); - CollectionsMarshal.SetCount(list307, index3); - span4 = CollectionsMarshal.AsSpan(list307); - num3 = 0; - span4[num3] = 1187; - skipStepConditions20.NotInTerritory = list307; - skipConditions21.StepIf = skipStepConditions20; - obj205.SkipConditions = skipConditions21; - reference231 = obj205; - num2++; - span3[num2] = new QuestStep(EInteractionType.Interact, 1055790u, new Vector3(124.98657f, 3.9429288f, 184.6189f), 1297); - obj204.Steps = list306; - reference230 = obj204; - num++; - ref QuestSequence reference232 = ref span2[num]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - span3 = CollectionsMarshal.AsSpan(list308); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46224u, - ItemCount = 2 - }; - index2++; - span3[index2] = new QuestStep(EInteractionType.Interact, 1055790u, new Vector3(124.98657f, 3.9429288f, 184.6189f), 1297); - obj206.Steps = list308; - reference232 = obj206; - num++; - ref QuestSequence reference233 = ref span2[num]; - QuestSequence obj207 = new QuestSequence - { - Sequence = byte.MaxValue - }; - index2 = 1; - List list309 = new List(index2); - CollectionsMarshal.SetCount(list309, index2); - span3 = CollectionsMarshal.AsSpan(list309); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj207.Steps = list309; - reference233 = obj207; - questRoot37.QuestSequence = list304; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(5348); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list310 = new List(num); - CollectionsMarshal.SetCount(list310, num); - span = CollectionsMarshal.AsSpan(list310); - index = 0; - span[index] = "CryoTechnic"; - questRoot38.Author = list310; - index = 3; - List list311 = new List(index); - CollectionsMarshal.SetCount(list311, index); - span2 = CollectionsMarshal.AsSpan(list311); - num = 0; - ref QuestSequence reference234 = ref span2[num]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - span3 = CollectionsMarshal.AsSpan(list312); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj208.Steps = list312; - reference234 = obj208; - num++; - ref QuestSequence reference235 = ref span2[num]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 1 - }; - index2 = 1; - List list313 = new List(index2); - CollectionsMarshal.SetCount(list313, index2); - span3 = CollectionsMarshal.AsSpan(list313); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054676u, new Vector3(500.93835f, 142.24991f, 782.22314f), 1187); - obj209.Steps = list313; - reference235 = obj209; - num++; - ref QuestSequence reference236 = ref span2[num]; - QuestSequence obj210 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - span3 = CollectionsMarshal.AsSpan(list314); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Craft, null, null, 1187) - { - ItemId = 46226u, - ItemCount = 1 - }; - index2++; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj210.Steps = list314; - reference236 = obj210; - questRoot38.QuestSequence = list311; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(5349); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list315 = new List(num); - CollectionsMarshal.SetCount(list315, num); - span = CollectionsMarshal.AsSpan(list315); - index = 0; - span[index] = "CryoTechnic"; - questRoot39.Author = list315; - index = 3; - List list316 = new List(index); - CollectionsMarshal.SetCount(list316, index); - span2 = CollectionsMarshal.AsSpan(list316); - num = 0; - ref QuestSequence reference237 = ref span2[num]; - QuestSequence obj211 = new QuestSequence + ref QuestSequence reference228 = ref span2[num]; + QuestSequence obj202 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list317 = new List(index2); - CollectionsMarshal.SetCount(list317, index2); - span3 = CollectionsMarshal.AsSpan(list317); + List list304 = new List(index2); + CollectionsMarshal.SetCount(list304, index2); + span3 = CollectionsMarshal.AsSpan(list304); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -463531,20 +463321,224 @@ public static class AssemblyQuestLoader } } }; - obj211.Steps = list317; - reference237 = obj211; + obj202.Steps = list304; + reference228 = obj202; num++; - ref QuestSequence reference238 = ref span2[num]; - QuestSequence obj212 = new QuestSequence + ref QuestSequence reference229 = ref span2[num]; + QuestSequence obj203 = new QuestSequence { Sequence = 1 }; - num2 = 3; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - span3 = CollectionsMarshal.AsSpan(list318); + num2 = 2; + List list305 = new List(num2); + CollectionsMarshal.SetCount(list305, num2); + span3 = CollectionsMarshal.AsSpan(list305); index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Say, 1055825u, new Vector3(254.56616f, 34.20388f, 156.60327f), 1187) + ref QuestStep reference230 = ref span3[index2]; + QuestStep obj204 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) + { + TargetTerritoryId = (ushort)1297 + }; + SkipConditions skipConditions21 = new SkipConditions(); + SkipStepConditions skipStepConditions20 = new SkipStepConditions(); + index3 = 1; + List list306 = new List(index3); + CollectionsMarshal.SetCount(list306, index3); + span4 = CollectionsMarshal.AsSpan(list306); + num3 = 0; + span4[num3] = 1187; + skipStepConditions20.NotInTerritory = list306; + skipConditions21.StepIf = skipStepConditions20; + obj204.SkipConditions = skipConditions21; + reference230 = obj204; + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1055790u, new Vector3(124.98657f, 3.9429288f, 184.6189f), 1297); + obj203.Steps = list305; + reference229 = obj203; + num++; + ref QuestSequence reference231 = ref span2[num]; + QuestSequence obj205 = new QuestSequence + { + Sequence = 2 + }; + index2 = 2; + List list307 = new List(index2); + CollectionsMarshal.SetCount(list307, index2); + span3 = CollectionsMarshal.AsSpan(list307); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Craft, null, null, 1297) + { + ItemId = 46224u, + ItemCount = 2 + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.Interact, 1055790u, new Vector3(124.98657f, 3.9429288f, 184.6189f), 1297); + obj205.Steps = list307; + reference231 = obj205; + num++; + ref QuestSequence reference232 = ref span2[num]; + QuestSequence obj206 = new QuestSequence + { + Sequence = byte.MaxValue + }; + num2 = 1; + List list308 = new List(num2); + CollectionsMarshal.SetCount(list308, num2); + span3 = CollectionsMarshal.AsSpan(list308); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + Land = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj206.Steps = list308; + reference232 = obj206; + questRoot37.QuestSequence = list303; + AddQuest(questId37, questRoot37); + QuestId questId38 = new QuestId(5348); + QuestRoot questRoot38 = new QuestRoot(); + num = 1; + List list309 = new List(num); + CollectionsMarshal.SetCount(list309, num); + span = CollectionsMarshal.AsSpan(list309); + index = 0; + span[index] = "CryoTechnic"; + questRoot38.Author = list309; + index = 3; + List list310 = new List(index); + CollectionsMarshal.SetCount(list310, index); + span2 = CollectionsMarshal.AsSpan(list310); + num = 0; + ref QuestSequence reference233 = ref span2[num]; + QuestSequence obj207 = new QuestSequence + { + Sequence = 0 + }; + index2 = 1; + List list311 = new List(index2); + CollectionsMarshal.SetCount(list311, index2); + span3 = CollectionsMarshal.AsSpan(list311); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj207.Steps = list311; + reference233 = obj207; + num++; + ref QuestSequence reference234 = ref span2[num]; + QuestSequence obj208 = new QuestSequence + { + Sequence = 1 + }; + num2 = 1; + List list312 = new List(num2); + CollectionsMarshal.SetCount(list312, num2); + span3 = CollectionsMarshal.AsSpan(list312); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054676u, new Vector3(500.93835f, 142.24991f, 782.22314f), 1187); + obj208.Steps = list312; + reference234 = obj208; + num++; + ref QuestSequence reference235 = ref span2[num]; + QuestSequence obj209 = new QuestSequence + { + Sequence = byte.MaxValue + }; + index2 = 2; + List list313 = new List(index2); + CollectionsMarshal.SetCount(list313, index2); + span3 = CollectionsMarshal.AsSpan(list313); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Craft, null, null, 1187) + { + ItemId = 46226u, + ItemCount = 1 + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + Land = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj209.Steps = list313; + reference235 = obj209; + questRoot38.QuestSequence = list310; + AddQuest(questId38, questRoot38); + QuestId questId39 = new QuestId(5349); + QuestRoot questRoot39 = new QuestRoot(); + num = 1; + List list314 = new List(num); + CollectionsMarshal.SetCount(list314, num); + span = CollectionsMarshal.AsSpan(list314); + index = 0; + span[index] = "CryoTechnic"; + questRoot39.Author = list314; + index = 3; + List list315 = new List(index); + CollectionsMarshal.SetCount(list315, index); + span2 = CollectionsMarshal.AsSpan(list315); + num = 0; + ref QuestSequence reference236 = ref span2[num]; + QuestSequence obj210 = new QuestSequence + { + Sequence = 0 + }; + num2 = 1; + List list316 = new List(num2); + CollectionsMarshal.SetCount(list316, num2); + span3 = CollectionsMarshal.AsSpan(list316); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj210.Steps = list316; + reference236 = obj210; + num++; + ref QuestSequence reference237 = ref span2[num]; + QuestSequence obj211 = new QuestSequence + { + Sequence = 1 + }; + index2 = 3; + List list317 = new List(index2); + CollectionsMarshal.SetCount(list317, index2); + span3 = CollectionsMarshal.AsSpan(list317); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Say, 1055825u, new Vector3(254.56616f, 34.20388f, 156.60327f), 1187) { Fly = true, Land = true, @@ -463553,34 +463547,34 @@ public static class AssemblyQuestLoader Key = "TEXT_BANYOK114_05349_SAYTODO_000_010" } }; - index2++; - span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(145.29918f, 34.203415f, 104.64879f), 1187) + num2++; + span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(145.29918f, 34.203415f, 104.64879f), 1187) { Fly = true, Land = true }; - index2++; - span3[index2] = new QuestStep(EInteractionType.Say, 1055826u, new Vector3(145.76941f, 34.203403f, 101.548706f), 1187) + num2++; + span3[num2] = new QuestStep(EInteractionType.Say, 1055826u, new Vector3(145.76941f, 34.203403f, 101.548706f), 1187) { ChatMessage = new ChatMessage { Key = "TEXT_BANYOK114_05349_SAYTODO_000_010" } }; - obj212.Steps = list318; - reference238 = obj212; + obj211.Steps = list317; + reference237 = obj211; num++; - ref QuestSequence reference239 = ref span2[num]; - QuestSequence obj213 = new QuestSequence + ref QuestSequence reference238 = ref span2[num]; + QuestSequence obj212 = new QuestSequence { Sequence = byte.MaxValue }; - index2 = 1; - List list319 = new List(index2); - CollectionsMarshal.SetCount(list319, index2); - span3 = CollectionsMarshal.AsSpan(list319); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + num2 = 1; + List list318 = new List(num2); + CollectionsMarshal.SetCount(list318, num2); + span3 = CollectionsMarshal.AsSpan(list318); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { Fly = true, Land = true, @@ -463598,9 +463592,9 @@ public static class AssemblyQuestLoader } } }; - obj213.Steps = list319; - reference239 = obj213; - questRoot39.QuestSequence = list316; + obj212.Steps = list318; + reference238 = obj212; + questRoot39.QuestSequence = list315; AddQuest(questId39, questRoot39); } @@ -463826,34 +463820,14 @@ public static class AssemblyQuestLoader reference9 = obj8; questRoot2.QuestSequence = list8; AddQuest(questId2, questRoot2); - AddQuest(new QuestId(5352), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }); - AddQuest(new QuestId(5353), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }); - AddQuest(new QuestId(5354), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }); - AddQuest(new QuestId(5355), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }); - QuestId questId3 = new QuestId(5356); + QuestId questId3 = new QuestId(5352); QuestRoot questRoot3 = new QuestRoot(); num = 1; List list14 = new List(num); CollectionsMarshal.SetCount(list14, num); span = CollectionsMarshal.AsSpan(list14); index = 0; - span[index] = "CryoTechnic"; + span[index] = "WigglyMuffin"; questRoot3.Author = list14; index = 4; List list15 = new List(index); @@ -463890,27 +463864,410 @@ public static class AssemblyQuestLoader { Sequence = 1 }; - num2 = 1; + num2 = 3; List list17 = new List(num2); CollectionsMarshal.SetCount(list17, num2); span3 = CollectionsMarshal.AsSpan(list17); index2 = 0; + ref QuestStep reference12 = ref span3[index2]; + QuestStep obj11 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) + { + TargetTerritoryId = (ushort)1297 + }; + SkipConditions skipConditions = new SkipConditions(); + SkipStepConditions skipStepConditions = new SkipStepConditions(); + num4 = 1; + List list18 = new List(num4); + CollectionsMarshal.SetCount(list18, num4); + Span span6 = CollectionsMarshal.AsSpan(list18); + num3 = 0; + span6[num3] = 1187; + skipStepConditions.NotInTerritory = list18; + skipConditions.StepIf = skipStepConditions; + obj11.SkipConditions = skipConditions; + reference12 = obj11; + index2++; + span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) + { + Fly = false + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); + obj10.Steps = list17; + reference11 = obj10; + num++; + ref QuestSequence reference13 = ref span2[num]; + QuestSequence obj12 = new QuestSequence + { + Sequence = 2 + }; + index2 = 3; + List list19 = new List(index2); + CollectionsMarshal.SetCount(list19, index2); + span3 = CollectionsMarshal.AsSpan(list19); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Craft, null, null, 1297) + { + ItemId = 46230u, + ItemCount = 3 + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-102.34843f, 5.9020233f, 48.216927f), 1297) + { + Fly = false + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.Interact, 1055806u, new Vector3(-105.760315f, 6.3924823f, 60.349365f), 1297); + obj12.Steps = list19; + reference13 = obj12; + num++; + ref QuestSequence reference14 = ref span2[num]; + QuestSequence obj13 = new QuestSequence + { + Sequence = byte.MaxValue + }; + num2 = 1; + List list20 = new List(num2); + CollectionsMarshal.SetCount(list20, num2); + span3 = CollectionsMarshal.AsSpan(list20); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + Land = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj13.Steps = list20; + reference14 = obj13; + questRoot3.QuestSequence = list15; + AddQuest(questId3, questRoot3); + QuestId questId4 = new QuestId(5353); + QuestRoot questRoot4 = new QuestRoot(); + num = 1; + List list21 = new List(num); + CollectionsMarshal.SetCount(list21, num); + span = CollectionsMarshal.AsSpan(list21); + index = 0; + span[index] = "WigglyMuffin"; + questRoot4.Author = list21; + index = 4; + List list22 = new List(index); + CollectionsMarshal.SetCount(list22, index); + span2 = CollectionsMarshal.AsSpan(list22); + num = 0; + ref QuestSequence reference15 = ref span2[num]; + QuestSequence obj14 = new QuestSequence + { + Sequence = 0 + }; + index2 = 1; + List list23 = new List(index2); + CollectionsMarshal.SetCount(list23, index2); + span3 = CollectionsMarshal.AsSpan(list23); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj14.Steps = list23; + reference15 = obj14; + num++; + ref QuestSequence reference16 = ref span2[num]; + QuestSequence obj15 = new QuestSequence + { + Sequence = 1 + }; + num2 = 3; + List list24 = new List(num2); + CollectionsMarshal.SetCount(list24, num2); + span3 = CollectionsMarshal.AsSpan(list24); + index2 = 0; + ref QuestStep reference17 = ref span3[index2]; + QuestStep obj16 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) + { + TargetTerritoryId = (ushort)1297 + }; + SkipConditions skipConditions2 = new SkipConditions(); + SkipStepConditions skipStepConditions2 = new SkipStepConditions(); + num3 = 1; + List list25 = new List(num3); + CollectionsMarshal.SetCount(list25, num3); + span6 = CollectionsMarshal.AsSpan(list25); + num4 = 0; + span6[num4] = 1187; + skipStepConditions2.NotInTerritory = list25; + skipConditions2.StepIf = skipStepConditions2; + obj16.SkipConditions = skipConditions2; + reference17 = obj16; + index2++; + span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) + { + Fly = false + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); + obj15.Steps = list24; + reference16 = obj15; + num++; + ref QuestSequence reference18 = ref span2[num]; + QuestSequence obj17 = new QuestSequence + { + Sequence = 2 + }; + index2 = 2; + List list26 = new List(index2); + CollectionsMarshal.SetCount(list26, index2); + span3 = CollectionsMarshal.AsSpan(list26); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Craft, null, null, 1297) + { + ItemId = 46232u, + ItemCount = 4 + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.Interact, 1055807u, new Vector3(-76.46301f, 6.180734f, 35.75183f), 1297); + obj17.Steps = list26; + reference18 = obj17; + num++; + ref QuestSequence reference19 = ref span2[num]; + QuestSequence obj18 = new QuestSequence + { + Sequence = byte.MaxValue + }; + num2 = 1; + List list27 = new List(num2); + CollectionsMarshal.SetCount(list27, num2); + span3 = CollectionsMarshal.AsSpan(list27); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + Land = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj18.Steps = list27; + reference19 = obj18; + questRoot4.QuestSequence = list22; + AddQuest(questId4, questRoot4); + QuestId questId5 = new QuestId(5354); + QuestRoot questRoot5 = new QuestRoot(); + num = 1; + List list28 = new List(num); + CollectionsMarshal.SetCount(list28, num); + span = CollectionsMarshal.AsSpan(list28); + index = 0; + span[index] = "WigglyMuffin"; + questRoot5.Author = list28; + index = 4; + List list29 = new List(index); + CollectionsMarshal.SetCount(list29, index); + span2 = CollectionsMarshal.AsSpan(list29); + num = 0; + ref QuestSequence reference20 = ref span2[num]; + QuestSequence obj19 = new QuestSequence + { + Sequence = 0 + }; + index2 = 1; + List list30 = new List(index2); + CollectionsMarshal.SetCount(list30, index2); + span3 = CollectionsMarshal.AsSpan(list30); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj19.Steps = list30; + reference20 = obj19; + num++; + ref QuestSequence reference21 = ref span2[num]; + QuestSequence obj20 = new QuestSequence + { + Sequence = 1 + }; + num2 = 3; + List list31 = new List(num2); + CollectionsMarshal.SetCount(list31, num2); + span3 = CollectionsMarshal.AsSpan(list31); + index2 = 0; + ref QuestStep reference22 = ref span3[index2]; + QuestStep obj21 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) + { + TargetTerritoryId = (ushort)1297 + }; + SkipConditions skipConditions3 = new SkipConditions(); + SkipStepConditions skipStepConditions3 = new SkipStepConditions(); + num4 = 1; + List list32 = new List(num4); + CollectionsMarshal.SetCount(list32, num4); + span6 = CollectionsMarshal.AsSpan(list32); + num3 = 0; + span6[num3] = 1187; + skipStepConditions3.NotInTerritory = list32; + skipConditions3.StepIf = skipStepConditions3; + obj21.SkipConditions = skipConditions3; + reference22 = obj21; + index2++; + span3[index2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-78.796455f, 5.969013f, 48.502377f), 1297) + { + Fly = false + }; + index2++; + span3[index2] = new QuestStep(EInteractionType.Interact, 1055808u, new Vector3(-143.63324f, 5.9494705f, 58.457275f), 1297); + obj20.Steps = list31; + reference21 = obj20; + num++; + ref QuestSequence reference23 = ref span2[num]; + QuestSequence obj22 = new QuestSequence + { + Sequence = 2 + }; + index2 = 1; + List list33 = new List(index2); + CollectionsMarshal.SetCount(list33, index2); + span3 = CollectionsMarshal.AsSpan(list33); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1055809u, new Vector3(703.8834f, 75.19972f, 633.3562f), 1187) + { + Fly = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj22.Steps = list33; + reference23 = obj22; + num++; + ref QuestSequence reference24 = ref span2[num]; + QuestSequence obj23 = new QuestSequence + { + Sequence = byte.MaxValue + }; + num2 = 1; + List list34 = new List(num2); + CollectionsMarshal.SetCount(list34, num2); + span3 = CollectionsMarshal.AsSpan(list34); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj23.Steps = list34; + reference24 = obj23; + questRoot5.QuestSequence = list29; + AddQuest(questId5, questRoot5); + AddQuest(new QuestId(5355), new QuestRoot + { + Disabled = true, + QuestSequence = new List() + }); + QuestId questId6 = new QuestId(5356); + QuestRoot questRoot6 = new QuestRoot(); + num = 1; + List list35 = new List(num); + CollectionsMarshal.SetCount(list35, num); + span = CollectionsMarshal.AsSpan(list35); + index = 0; + span[index] = "CryoTechnic"; + questRoot6.Author = list35; + index = 4; + List list36 = new List(index); + CollectionsMarshal.SetCount(list36, index); + span2 = CollectionsMarshal.AsSpan(list36); + num = 0; + ref QuestSequence reference25 = ref span2[num]; + QuestSequence obj24 = new QuestSequence + { + Sequence = 0 + }; + index2 = 1; + List list37 = new List(index2); + CollectionsMarshal.SetCount(list37, index2); + span3 = CollectionsMarshal.AsSpan(list37); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) + { + Fly = true, + AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, + SkipConditions = new SkipConditions + { + AetheryteShortcutIf = new SkipAetheryteCondition + { + InSameTerritory = true + } + } + }; + obj24.Steps = list37; + reference25 = obj24; + num++; + ref QuestSequence reference26 = ref span2[num]; + QuestSequence obj25 = new QuestSequence + { + Sequence = 1 + }; + num2 = 1; + List list38 = new List(num2); + CollectionsMarshal.SetCount(list38, num2); + span3 = CollectionsMarshal.AsSpan(list38); + index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1055810u, new Vector3(530.44934f, 107.13501f, 539.0554f), 1187) { Fly = true }; - obj10.Steps = list17; - reference11 = obj10; + obj25.Steps = list38; + reference26 = obj25; num++; - ref QuestSequence reference12 = ref span2[num]; - QuestSequence obj11 = new QuestSequence + ref QuestSequence reference27 = ref span2[num]; + QuestSequence obj26 = new QuestSequence { Sequence = 2 }; index2 = 6; - List list18 = new List(index2); - CollectionsMarshal.SetCount(list18, index2); - span3 = CollectionsMarshal.AsSpan(list18); + List list39 = new List(index2); + CollectionsMarshal.SetCount(list39, index2); + span3 = CollectionsMarshal.AsSpan(list39); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(552.27673f, 108.55478f, 727.94354f), 1187) { @@ -463949,18 +464306,18 @@ public static class AssemblyQuestLoader Mount = false, Fly = false }; - obj11.Steps = list18; - reference12 = obj11; + obj26.Steps = list39; + reference27 = obj26; num++; - ref QuestSequence reference13 = ref span2[num]; - QuestSequence obj12 = new QuestSequence + ref QuestSequence reference28 = ref span2[num]; + QuestSequence obj27 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - span3 = CollectionsMarshal.AsSpan(list19); + List list40 = new List(num2); + CollectionsMarshal.SetCount(list40, num2); + span3 = CollectionsMarshal.AsSpan(list40); index2 = 0; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) { @@ -463979,10 +464336,10 @@ public static class AssemblyQuestLoader } } }; - obj12.Steps = list19; - reference13 = obj12; - questRoot3.QuestSequence = list15; - AddQuest(questId3, questRoot3); + obj27.Steps = list40; + reference28 = obj27; + questRoot6.QuestSequence = list36; + AddQuest(questId6, questRoot6); AddQuest(new QuestId(5357), new QuestRoot { Disabled = true, @@ -464018,32 +464375,32 @@ public static class AssemblyQuestLoader Disabled = true, QuestSequence = new List() }); - QuestId questId4 = new QuestId(5364); - QuestRoot questRoot4 = new QuestRoot(); + QuestId questId7 = new QuestId(5364); + QuestRoot questRoot7 = new QuestRoot(); num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - span = CollectionsMarshal.AsSpan(list20); + List list41 = new List(num); + CollectionsMarshal.SetCount(list41, num); + span = CollectionsMarshal.AsSpan(list41); index = 0; span[index] = "liza"; - questRoot4.Author = list20; + questRoot7.Author = list41; index = 7; - List list21 = new List(index); - CollectionsMarshal.SetCount(list21, index); - span2 = CollectionsMarshal.AsSpan(list21); + List list42 = new List(index); + CollectionsMarshal.SetCount(list42, index); + span2 = CollectionsMarshal.AsSpan(list42); num = 0; - ref QuestSequence reference14 = ref span2[num]; - QuestSequence obj13 = new QuestSequence + ref QuestSequence reference29 = ref span2[num]; + QuestSequence obj28 = new QuestSequence { Sequence = 0 }; index2 = 2; - List list22 = new List(index2); - CollectionsMarshal.SetCount(list22, index2); - span3 = CollectionsMarshal.AsSpan(list22); + List list43 = new List(index2); + CollectionsMarshal.SetCount(list43, index2); + span3 = CollectionsMarshal.AsSpan(list43); num2 = 0; - ref QuestStep reference15 = ref span3[num2]; - QuestStep obj14 = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) + ref QuestStep reference30 = ref span3[num2]; + QuestStep obj29 = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) { TargetTerritoryId = (ushort)1207, AetheryteShortcut = EAetheryteLocation.SolutionNine, @@ -464053,1201 +464410,97 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.SolutionNineNeonStein } }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num4 = 1; - List list23 = new List(num4); - CollectionsMarshal.SetCount(list23, num4); - Span span6 = CollectionsMarshal.AsSpan(list23); - num3 = 0; - span6[num3] = 1207; - skipStepConditions.InTerritory = list23; - skipConditions.StepIf = skipStepConditions; - SkipAetheryteCondition obj15 = new SkipAetheryteCondition + SkipConditions skipConditions4 = new SkipConditions(); + SkipStepConditions skipStepConditions4 = new SkipStepConditions(); + num3 = 1; + List list44 = new List(num3); + CollectionsMarshal.SetCount(list44, num3); + span6 = CollectionsMarshal.AsSpan(list44); + num4 = 0; + span6[num4] = 1207; + skipStepConditions4.InTerritory = list44; + skipConditions4.StepIf = skipStepConditions4; + SkipAetheryteCondition obj30 = new SkipAetheryteCondition { InSameTerritory = true }; - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - span6 = CollectionsMarshal.AsSpan(list24); - num4 = 0; - span6[num4] = 1207; - obj15.InTerritory = list24; - skipConditions.AetheryteShortcutIf = obj15; - obj14.SkipConditions = skipConditions; - reference15 = obj14; + num4 = 1; + List list45 = new List(num4); + CollectionsMarshal.SetCount(list45, num4); + span6 = CollectionsMarshal.AsSpan(list45); + num3 = 0; + span6[num3] = 1207; + obj30.InTerritory = list45; + skipConditions4.AetheryteShortcutIf = obj30; + obj29.SkipConditions = skipConditions4; + reference30 = obj29; num2++; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1048161u, new Vector3(-5.874817f, -3.6188258E-08f, 6.8512573f), 1207); - obj13.Steps = list22; - reference14 = obj13; + obj28.Steps = list43; + reference29 = obj28; num++; - ref QuestSequence reference16 = ref span2[num]; - QuestSequence obj16 = new QuestSequence + ref QuestSequence reference31 = ref span2[num]; + QuestSequence obj31 = new QuestSequence { Sequence = 1 }; num2 = 2; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - span3 = CollectionsMarshal.AsSpan(list25); + List list46 = new List(num2); + CollectionsMarshal.SetCount(list46, num2); + span3 = CollectionsMarshal.AsSpan(list46); index2 = 0; - ref QuestStep reference17 = ref span3[index2]; - QuestStep obj17 = new QuestStep(EInteractionType.Interact, 2014102u, new Vector3(-0.015319824f, 0.99176025f, 16.03717f), 1207) + ref QuestStep reference32 = ref span3[index2]; + QuestStep obj32 = new QuestStep(EInteractionType.Interact, 2014102u, new Vector3(-0.015319824f, 0.99176025f, 16.03717f), 1207) { TargetTerritoryId = (ushort)1186 }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num4 = 1; - List list26 = new List(num4); - CollectionsMarshal.SetCount(list26, num4); - span6 = CollectionsMarshal.AsSpan(list26); - num3 = 0; - span6[num3] = 1207; - skipStepConditions2.NotInTerritory = list26; - skipConditions2.StepIf = skipStepConditions2; - obj17.SkipConditions = skipConditions2; - reference17 = obj17; + SkipConditions skipConditions5 = new SkipConditions(); + SkipStepConditions skipStepConditions5 = new SkipStepConditions(); + num3 = 1; + List list47 = new List(num3); + CollectionsMarshal.SetCount(list47, num3); + span6 = CollectionsMarshal.AsSpan(list47); + num4 = 0; + span6[num4] = 1207; + skipStepConditions5.NotInTerritory = list47; + skipConditions5.StepIf = skipStepConditions5; + obj32.SkipConditions = skipConditions5; + reference32 = obj32; index2++; span3[index2] = new QuestStep(EInteractionType.Interact, 1054503u, new Vector3(291.4015f, 50.749996f, 155.19946f), 1186); - obj16.Steps = list25; - reference16 = obj16; - num++; - ref QuestSequence reference18 = ref span2[num]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - index2 = 1; - List list27 = new List(index2); - CollectionsMarshal.SetCount(list27, index2); - span3 = CollectionsMarshal.AsSpan(list27); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054509u, new Vector3(291.432f, 50.75f, 153.79565f), 1186); - obj18.Steps = list27; - reference18 = obj18; - num++; - ref QuestSequence reference19 = ref span2[num]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - span3 = CollectionsMarshal.AsSpan(list28); - index2 = 0; - ref QuestStep reference20 = ref span3[index2]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1056091u, new Vector3(349.17212f, 50.75f, 198.38245f), 1186); - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - span5 = CollectionsMarshal.AsSpan(list29); - num4 = 0; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list29; - reference20 = questStep; - index2++; - ref QuestStep reference21 = ref span3[index2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1056090u, new Vector3(341.26794f, 50.75f, 146.68494f), 1186); - num4 = 6; - List list30 = new List(num4); - CollectionsMarshal.SetCount(list30, num4); - span5 = CollectionsMarshal.AsSpan(list30); - 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); - questStep2.CompletionQuestVariablesFlags = list30; - reference21 = questStep2; - index2++; - ref QuestStep reference22 = ref span3[index2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1054508u, new Vector3(377.3098f, 50.749996f, 115.098755f), 1186); - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - span5 = CollectionsMarshal.AsSpan(list31); - num4 = 0; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list31; - num4 = 1; - List list32 = new List(num4); - CollectionsMarshal.SetCount(list32, num4); - Span span7 = CollectionsMarshal.AsSpan(list32); - num3 = 0; - span7[num3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI101_05364_Q3_000_000"), - Answer = new ExcelRef("TEXT_KINGMI101_05364_A3_000_003") - }; - questStep3.DialogueChoices = list32; - reference22 = questStep3; - obj19.Steps = list28; - reference19 = obj19; - num++; - ref QuestSequence reference23 = ref span2[num]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 4 - }; - index2 = 2; - List list33 = new List(index2); - CollectionsMarshal.SetCount(list33, index2); - span3 = CollectionsMarshal.AsSpan(list33); - num2 = 0; - ref QuestStep reference24 = ref span3[num2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1054507u, new Vector3(465.2932f, 60f, 149.79773f), 1186); - num3 = 6; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - span5 = CollectionsMarshal.AsSpan(list34); - num4 = 0; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list34; - reference24 = questStep4; - num2++; - ref QuestStep reference25 = ref span3[num2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1054506u, new Vector3(465.44592f, 59.999886f, 196.58191f), 1186); - num4 = 6; - List list35 = new List(num4); - CollectionsMarshal.SetCount(list35, num4); - span5 = CollectionsMarshal.AsSpan(list35); - 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); - questStep5.CompletionQuestVariablesFlags = list35; - reference25 = questStep5; - obj20.Steps = list33; - reference23 = obj20; - num++; - ref QuestSequence reference26 = ref span2[num]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - span3 = CollectionsMarshal.AsSpan(list36); - 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); - obj21.Steps = list36; - reference26 = obj21; - num++; - ref QuestSequence reference27 = ref span2[num]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - index2 = 1; - List list37 = new List(index2); - CollectionsMarshal.SetCount(list37, index2); - span3 = CollectionsMarshal.AsSpan(list37); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054514u, new Vector3(-404.4709f, 13.699978f, 239.00195f), 1186) - { - StopDistance = 7f - }; - obj22.Steps = list37; - reference27 = obj22; - questRoot4.QuestSequence = list21; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(5365); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - span = CollectionsMarshal.AsSpan(list38); - index = 0; - span[index] = "liza"; - questRoot5.Author = list38; - index = 6; - List list39 = new List(index); - CollectionsMarshal.SetCount(list39, index); - span2 = CollectionsMarshal.AsSpan(list39); - num = 0; - ref QuestSequence reference28 = ref span2[num]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - span3 = CollectionsMarshal.AsSpan(list40); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054514u, new Vector3(-404.4709f, 13.699978f, 239.00195f), 1186) - { - StopDistance = 7f - }; - obj23.Steps = list40; - reference28 = obj23; - num++; - ref QuestSequence reference29 = ref span2[num]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - index2 = 3; - List list41 = new List(index2); - CollectionsMarshal.SetCount(list41, index2); - span3 = CollectionsMarshal.AsSpan(list41); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-409.0448f, 13.499981f, 269.6568f), 1186); - num2++; - span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-403.7604f, 14.029999f, 272.61798f), 1186) - { - DisableNavmesh = true - }; - num2++; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054518u, new Vector3(-368.00183f, 14f, 228.90051f), 1186); - obj24.Steps = list41; - reference29 = obj24; - num++; - ref QuestSequence reference30 = ref span2[num]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - span3 = CollectionsMarshal.AsSpan(list42); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 2014833u, new Vector3(-328.48102f, 13.992493f, 161.24207f), 1186); - obj25.Steps = list42; - reference30 = obj25; - num++; - ref QuestSequence reference31 = ref span2[num]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 3 - }; - index2 = 1; - List list43 = new List(index2); - CollectionsMarshal.SetCount(list43, index2); - span3 = CollectionsMarshal.AsSpan(list43); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 2014834u, new Vector3(-242.69476f, 2.1820068f, 212.4513f), 1186); - obj26.Steps = list43; - reference31 = obj26; - num++; - ref QuestSequence reference32 = ref span2[num]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - span3 = CollectionsMarshal.AsSpan(list44); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 2014835u, new Vector3(-141.31384f, 2.1820068f, 212.9701f), 1186); - obj27.Steps = list44; - reference32 = obj27; + obj31.Steps = list46; + reference31 = obj31; num++; ref QuestSequence reference33 = ref span2[num]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - index2 = 1; - List list45 = new List(index2); - CollectionsMarshal.SetCount(list45, index2); - span3 = CollectionsMarshal.AsSpan(list45); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054529u, new Vector3(-134.53882f, 19.699795f, 382.77246f), 1186); - obj28.Steps = list45; - reference33 = obj28; - questRoot5.QuestSequence = list39; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(5366); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - span = CollectionsMarshal.AsSpan(list46); - index = 0; - span[index] = "liza"; - questRoot6.Author = list46; - index = 9; - List list47 = new List(index); - CollectionsMarshal.SetCount(list47, index); - span2 = CollectionsMarshal.AsSpan(list47); - num = 0; - ref QuestSequence reference34 = ref span2[num]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - span3 = CollectionsMarshal.AsSpan(list48); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054529u, new Vector3(-134.53882f, 19.699795f, 382.77246f), 1186); - obj29.Steps = list48; - reference34 = obj29; - num++; - ref QuestSequence reference35 = ref span2[num]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 1 - }; - index2 = 1; - List list49 = new List(index2); - CollectionsMarshal.SetCount(list49, index2); - span3 = CollectionsMarshal.AsSpan(list49); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054535u, new Vector3(0.503479f, -4.5634806E-08f, 6.7596436f), 1207) - { - StopDistance = 7f - }; - obj30.Steps = list49; - reference35 = obj30; - num++; - ref QuestSequence reference36 = ref span2[num]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - span3 = CollectionsMarshal.AsSpan(list50); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054536u, new Vector3(-5.1728516f, -4.656613E-08f, 7.1869507f), 1207) - { - StopDistance = 7f - }; - obj31.Steps = list50; - reference36 = obj31; - num++; - ref QuestSequence reference37 = ref span2[num]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 3 - }; - index2 = 1; - List list51 = new List(index2); - CollectionsMarshal.SetCount(list51, index2); - span3 = CollectionsMarshal.AsSpan(list51); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054543u, new Vector3(-284.596f, 45.884224f, -812.55817f), 1191); - obj32.Steps = list51; - reference37 = obj32; - num++; - ref QuestSequence reference38 = ref span2[num]; QuestSequence obj33 = new QuestSequence { - Sequence = 4 + Sequence = 2 }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - span3 = CollectionsMarshal.AsSpan(list52); - index2 = 0; - ref QuestStep reference39 = ref span3[index2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1054543u, new Vector3(-284.596f, 45.884224f, -812.55817f), 1191); - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - span7 = CollectionsMarshal.AsSpan(list53); - num4 = 0; - span7[num4] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI103_05366_SYSTEM_000_081") - }; - questStep6.DialogueChoices = list53; - reference39 = questStep6; - obj33.Steps = list52; - reference38 = obj33; + index2 = 1; + List list48 = new List(index2); + CollectionsMarshal.SetCount(list48, index2); + span3 = CollectionsMarshal.AsSpan(list48); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054509u, new Vector3(291.432f, 50.75f, 153.79565f), 1186); + obj33.Steps = list48; + reference33 = obj33; num++; - ref QuestSequence reference40 = ref span2[num]; + ref QuestSequence reference34 = ref span2[num]; QuestSequence obj34 = new QuestSequence { - Sequence = 5 - }; - index2 = 1; - List list54 = new List(index2); - CollectionsMarshal.SetCount(list54, index2); - span3 = CollectionsMarshal.AsSpan(list54); - num2 = 0; - ref QuestStep reference41 = ref span3[num2]; - QuestStep obj35 = new QuestStep(EInteractionType.Combat, null, new Vector3(219.38443f, 57.060833f, -661.6021f), 1191) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num4 = 1; - List list55 = new List(num4); - CollectionsMarshal.SetCount(list55, num4); - Span span8 = CollectionsMarshal.AsSpan(list55); - num3 = 0; - span8[num3] = 18915u; - obj35.KillEnemyDataIds = list55; - reference41 = obj35; - obj34.Steps = list54; - reference40 = obj34; - num++; - ref QuestSequence reference42 = ref span2[num]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - span3 = CollectionsMarshal.AsSpan(list56); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054544u, new Vector3(210.40662f, 57.66854f, -651.3619f), 1191); - obj36.Steps = list56; - reference42 = obj36; - num++; - span2[num] = new QuestSequence - { - Sequence = 7 - }; - num++; - ref QuestSequence reference43 = ref span2[num]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - index2 = 1; - List list57 = new List(index2); - CollectionsMarshal.SetCount(list57, index2); - span3 = CollectionsMarshal.AsSpan(list57); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054545u, new Vector3(6.6071167f, 0.37129992f, -18.570251f), 1171) - { - StopDistance = 7f - }; - obj37.Steps = list57; - reference43 = obj37; - questRoot6.QuestSequence = list47; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(5367); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - span = CollectionsMarshal.AsSpan(list58); - index = 0; - span[index] = "liza"; - questRoot7.Author = list58; - index = 6; - List list59 = new List(index); - CollectionsMarshal.SetCount(list59, index); - span2 = CollectionsMarshal.AsSpan(list59); - num = 0; - ref QuestSequence reference44 = ref span2[num]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - span3 = CollectionsMarshal.AsSpan(list60); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054545u, new Vector3(6.6071167f, 0.37129992f, -18.570251f), 1171); - obj38.Steps = list60; - reference44 = obj38; - num++; - ref QuestSequence reference45 = ref span2[num]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - index2 = 1; - List list61 = new List(index2); - CollectionsMarshal.SetCount(list61, index2); - span3 = CollectionsMarshal.AsSpan(list61); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054546u, new Vector3(-240.77216f, 30f, -597.345f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj39.Steps = list61; - reference45 = obj39; - num++; - ref QuestSequence reference46 = ref span2[num]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 + Sequence = 3 }; num2 = 3; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - span3 = CollectionsMarshal.AsSpan(list62); + List list49 = new List(num2); + CollectionsMarshal.SetCount(list49, num2); + span3 = CollectionsMarshal.AsSpan(list49); index2 = 0; - ref QuestStep reference47 = ref span3[index2]; - QuestStep obj41 = new QuestStep(EInteractionType.Interact, 1054549u, new Vector3(-303.8529f, 33.89061f, -546.7765f), 1191) - { - Fly = true - }; - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - span5 = CollectionsMarshal.AsSpan(list63); - num4 = 0; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj41.CompletionQuestVariablesFlags = list63; - reference47 = obj41; - index2++; - ref QuestStep reference48 = ref span3[index2]; - QuestStep obj42 = new QuestStep(EInteractionType.Interact, 1054548u, new Vector3(-182.97095f, 28f, -570.0313f), 1191) - { - Fly = true - }; + ref QuestStep reference35 = ref span3[index2]; + QuestStep questStep = new QuestStep(EInteractionType.Interact, 1056091u, new Vector3(349.17212f, 50.75f, 198.38245f), 1186); num4 = 6; - List list64 = new List(num4); - CollectionsMarshal.SetCount(list64, num4); - span5 = CollectionsMarshal.AsSpan(list64); - 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); - obj42.CompletionQuestVariablesFlags = list64; - reference48 = obj42; - index2++; - ref QuestStep reference49 = ref span3[index2]; - QuestStep obj43 = new QuestStep(EInteractionType.Interact, 1054547u, new Vector3(-111.49768f, 42.99968f, -658.7778f), 1191) - { - Fly = true - }; - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - span5 = CollectionsMarshal.AsSpan(list65); - num4 = 0; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj43.CompletionQuestVariablesFlags = list65; - reference49 = obj43; - obj40.Steps = list62; - reference46 = obj40; - num++; - ref QuestSequence reference50 = ref span2[num]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 3 - }; - index2 = 1; - List list66 = new List(index2); - CollectionsMarshal.SetCount(list66, index2); - span3 = CollectionsMarshal.AsSpan(list66); - num2 = 0; - ref QuestStep reference51 = ref span3[num2]; - QuestStep obj45 = new QuestStep(EInteractionType.Interact, 1054546u, new Vector3(-240.77216f, 30f, -597.345f), 1191) - { - Fly = true - }; - num4 = 1; - List list67 = new List(num4); - CollectionsMarshal.SetCount(list67, num4); - span7 = CollectionsMarshal.AsSpan(list67); - num3 = 0; - span7[num3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI104_05367_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGMI104_05367_A1_000_002") - }; - obj45.DialogueChoices = list67; - reference51 = obj45; - obj44.Steps = list66; - reference50 = obj44; - num++; - span2[num] = new QuestSequence - { - Sequence = 4 - }; - num++; - ref QuestSequence reference52 = ref span2[num]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - span3 = CollectionsMarshal.AsSpan(list68); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054550u, new Vector3(-24.307678f, 38.806587f, -411.2459f), 1186) - { - StopDistance = 7f - }; - obj46.Steps = list68; - reference52 = obj46; - questRoot7.QuestSequence = list59; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(5368); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - span = CollectionsMarshal.AsSpan(list69); - index = 0; - span[index] = "liza"; - questRoot8.Author = list69; - index = 13; - List list70 = new List(index); - CollectionsMarshal.SetCount(list70, index); - span2 = CollectionsMarshal.AsSpan(list70); - num = 0; - ref QuestSequence reference53 = ref span2[num]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - index2 = 1; - List list71 = new List(index2); - CollectionsMarshal.SetCount(list71, index2); - span3 = CollectionsMarshal.AsSpan(list71); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054551u, new Vector3(-23.544739f, 38.806587f, -412.19202f), 1186) - { - StopDistance = 7f - }; - obj47.Steps = list71; - reference53 = obj47; - num++; - ref QuestSequence reference54 = ref span2[num]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - span3 = CollectionsMarshal.AsSpan(list72); - index2 = 0; - ref QuestStep reference55 = ref span3[index2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1054936u, new Vector3(-57.41974f, 42.8066f, -546.7765f), 1186); - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - span7 = CollectionsMarshal.AsSpan(list73); - num4 = 0; - span7[num4] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_000_061") - }; - questStep7.DialogueChoices = list73; - reference55 = questStep7; - obj48.Steps = list72; - reference54 = obj48; - num++; - span2[num] = new QuestSequence - { - Sequence = 2 - }; - num++; - ref QuestSequence reference56 = ref span2[num]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 3 - }; - index2 = 1; - List list74 = new List(index2); - CollectionsMarshal.SetCount(list74, index2); - span3 = CollectionsMarshal.AsSpan(list74); - num2 = 0; - ref QuestStep reference57 = ref span3[num2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2014877u, new Vector3(-53.76658f, 0.4967778f, 10.78857f), 1299); - num4 = 1; - List list75 = new List(num4); - CollectionsMarshal.SetCount(list75, num4); - span7 = CollectionsMarshal.AsSpan(list75); - num3 = 0; - span7[num3] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_000_117") - }; - questStep8.DialogueChoices = list75; - reference57 = questStep8; - obj49.Steps = list74; - reference56 = obj49; - num++; - ref QuestSequence reference58 = ref span2[num]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - span3 = CollectionsMarshal.AsSpan(list76); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.UseItem, 2014879u, new Vector3(-31.18711f, 1.386986f, 14.38922f), 1299) - { - ItemId = 2003767u - }; - obj50.Steps = list76; - reference58 = obj50; - num++; - ref QuestSequence reference59 = ref span2[num]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 5 - }; - index2 = 1; - List list77 = new List(index2); - CollectionsMarshal.SetCount(list77, index2); - span3 = CollectionsMarshal.AsSpan(list77); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.UseItem, 2014880u, new Vector3(5.563949f, 1.29885f, -7.714191f), 1299) - { - ItemId = 2003789u - }; - obj51.Steps = list77; - reference59 = obj51; - num++; - ref QuestSequence reference60 = ref span2[num]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - span3 = CollectionsMarshal.AsSpan(list78); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054888u, new Vector3(-9.079163f, 0.9997301f, -45.731323f), 1299); - obj52.Steps = list78; - reference60 = obj52; - num++; - ref QuestSequence reference61 = ref span2[num]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 7 - }; - index2 = 1; - List list79 = new List(index2); - CollectionsMarshal.SetCount(list79, index2); - span3 = CollectionsMarshal.AsSpan(list79); - num2 = 0; - ref QuestStep reference62 = ref span3[num2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2014883u, new Vector3(6.94281f, 1.480042f, -53.72705f), 1299); - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - span7 = CollectionsMarshal.AsSpan(list80); - num4 = 0; - span7[num4] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_120_250") - }; - questStep9.DialogueChoices = list80; - num4 = 6; - List list81 = new List(num4); - CollectionsMarshal.SetCount(list81, num4); - span8 = CollectionsMarshal.AsSpan(list81); - num3 = 0; - span8[num3] = 0u; - num3++; - span8[num3] = 0u; - num3++; - span8[num3] = 4u; - num3++; - span8[num3] = 10u; - num3++; - span8[num3] = 8u; - num3++; - span8[num3] = 11u; - questStep9.PointMenuChoices = list81; - reference62 = questStep9; - obj53.Steps = list79; - reference61 = obj53; - num++; - ref QuestSequence reference63 = ref span2[num]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - span3 = CollectionsMarshal.AsSpan(list82); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.UseItem, 2014881u, new Vector3(7.765003f, 1.296952f, 5.581435f), 1299) - { - ItemId = 2003768u - }; - obj54.Steps = list82; - reference63 = obj54; - num++; - ref QuestSequence reference64 = ref span2[num]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 9 - }; - index2 = 1; - List list83 = new List(index2); - CollectionsMarshal.SetCount(list83, index2); - span3 = CollectionsMarshal.AsSpan(list83); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054901u, new Vector3(15.6710205f, -1.036562E-06f, 28.244385f), 1299); - obj55.Steps = list83; - reference64 = obj55; - num++; - ref QuestSequence reference65 = ref span2[num]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - span3 = CollectionsMarshal.AsSpan(list84); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 1054907u, new Vector3(43.289795f, 0.30650482f, 12.436096f), 1299); - obj56.Steps = list84; - reference65 = obj56; - num++; - ref QuestSequence reference66 = ref span2[num]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 11 - }; - index2 = 4; - List list85 = new List(index2); - CollectionsMarshal.SetCount(list85, index2); - span3 = CollectionsMarshal.AsSpan(list85); - num2 = 0; - ref QuestStep reference67 = ref span3[num2]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2014884u, new Vector3(44.99468f, 0.7551205f, 18.96421f), 1299); - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - span7 = CollectionsMarshal.AsSpan(list86); - num4 = 0; - span7[num4] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), - Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_004") - }; - questStep10.DialogueChoices = list86; - reference67 = questStep10; - num2++; - ref QuestStep reference68 = ref span3[num2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2014885u, new Vector3(50.98755f, 0.7551f, 19.03446f), 1299); - num4 = 1; - List list87 = new List(num4); - CollectionsMarshal.SetCount(list87, num4); - span7 = CollectionsMarshal.AsSpan(list87); - num3 = 0; - span7[num3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), - Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_002") - }; - questStep11.DialogueChoices = list87; - reference68 = questStep11; - num2++; - ref QuestStep reference69 = ref span3[num2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2014887u, new Vector3(51.00287f, 0.7551f, 24.9874f), 1299); - num3 = 1; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - span7 = CollectionsMarshal.AsSpan(list88); - num4 = 0; - span7[num4] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), - Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_003") - }; - questStep12.DialogueChoices = list88; - reference69 = questStep12; - num2++; - ref QuestStep reference70 = ref span3[num2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2014886u, new Vector3(44.9988f, 0.7551f, 25.03204f), 1299); - num4 = 1; - List list89 = new List(num4); - CollectionsMarshal.SetCount(list89, num4); - span7 = CollectionsMarshal.AsSpan(list89); - num3 = 0; - span7[num3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), - Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_001") - }; - questStep13.DialogueChoices = list89; - reference70 = questStep13; - obj57.Steps = list85; - reference66 = obj57; - num++; - ref QuestSequence reference71 = ref span2[num]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - span3 = CollectionsMarshal.AsSpan(list90); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054916u, new Vector3(16.189758f, -1.8225983E-06f, 28.030762f), 1299); - obj58.Steps = list90; - reference71 = obj58; - questRoot8.QuestSequence = list70; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(5369); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - span = CollectionsMarshal.AsSpan(list91); - index = 0; - span[index] = "liza"; - questRoot9.Author = list91; - index = 10; - List list92 = new List(index); - CollectionsMarshal.SetCount(list92, index); - span2 = CollectionsMarshal.AsSpan(list92); - num = 0; - ref QuestSequence reference72 = ref span2[num]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - index2 = 1; - List list93 = new List(index2); - CollectionsMarshal.SetCount(list93, index2); - span3 = CollectionsMarshal.AsSpan(list93); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054916u, new Vector3(16.189758f, -1.8225983E-06f, 28.030762f), 1299); - obj59.Steps = list93; - reference72 = obj59; - num++; - ref QuestSequence reference73 = ref span2[num]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - span3 = CollectionsMarshal.AsSpan(list94); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.Interact, 2014889u, new Vector3(-6.637756f, 0.9917603f, 32.45593f), 1299); - obj60.Steps = list94; - reference73 = obj60; - num++; - ref QuestSequence reference74 = ref span2[num]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - index2 = 1; - List list95 = new List(index2); - CollectionsMarshal.SetCount(list95, index2); - span3 = CollectionsMarshal.AsSpan(list95); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054918u, new Vector3(4.0740967f, 1.1999817f, 41.82495f), 1299); - obj61.Steps = list95; - reference74 = obj61; - num++; - ref QuestSequence reference75 = ref span2[num]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - span3 = CollectionsMarshal.AsSpan(list96); - index2 = 0; - span3[index2] = new QuestStep(EInteractionType.UseItem, 2014909u, new Vector3(5.5639f, 1.2989f, -7.7142f), 1299) - { - ItemId = 2003769u - }; - obj62.Steps = list96; - reference75 = obj62; - num++; - ref QuestSequence reference76 = ref span2[num]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 4 - }; - index2 = 1; - List list97 = new List(index2); - CollectionsMarshal.SetCount(list97, index2); - span3 = CollectionsMarshal.AsSpan(list97); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054928u, new Vector3(43.167725f, 0.020000027f, -18.661804f), 1299); - obj63.Steps = list97; - reference76 = obj63; - num++; - ref QuestSequence reference77 = ref span2[num]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 5 - }; - num2 = 4; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - span3 = CollectionsMarshal.AsSpan(list98); - index2 = 0; - ref QuestStep reference78 = ref span3[index2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2014913u, new Vector3(48.28509f, 0.7955156f, -15.36493f), 1299); - num3 = 6; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - span5 = CollectionsMarshal.AsSpan(list99); - num4 = 0; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list99; - reference78 = questStep14; - index2++; - ref QuestStep reference79 = ref span3[index2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2014891u, new Vector3(45.64126f, 0.9739f, -23.77144f), 1299); - num4 = 6; - List list100 = new List(num4); - CollectionsMarshal.SetCount(list100, num4); - span5 = CollectionsMarshal.AsSpan(list100); - 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); - questStep15.CompletionQuestVariablesFlags = list100; - reference79 = questStep15; - index2++; - ref QuestStep reference80 = ref span3[index2]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2014890u, new Vector3(32.00146f, 1.173118f, -22.75444f), 1299); - num3 = 6; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - span5 = CollectionsMarshal.AsSpan(list101); - num4 = 0; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - num4++; - span5[num4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list101; - reference80 = questStep16; - index2++; - ref QuestStep reference81 = ref span3[index2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 2014892u, new Vector3(32.07058f, 0.8092833f, -9.735413f), 1299); - num4 = 6; - List list102 = new List(num4); - CollectionsMarshal.SetCount(list102, num4); - span5 = CollectionsMarshal.AsSpan(list102); + List list50 = new List(num4); + CollectionsMarshal.SetCount(list50, num4); + span5 = CollectionsMarshal.AsSpan(list50); num3 = 0; span5[num3] = null; num3++; @@ -465260,50 +464513,15 @@ public static class AssemblyQuestLoader span5[num3] = null; num3++; span5[num3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list102; - reference81 = questStep17; - obj64.Steps = list98; - reference77 = obj64; - num++; - ref QuestSequence reference82 = ref span2[num]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 6 - }; - index2 = 1; - List list103 = new List(index2); - CollectionsMarshal.SetCount(list103, index2); - span3 = CollectionsMarshal.AsSpan(list103); - num2 = 0; - span3[num2] = new QuestStep(EInteractionType.Interact, 1054928u, new Vector3(43.167725f, 0.020000027f, -18.661804f), 1299); - obj65.Steps = list103; - reference82 = obj65; - num++; - ref QuestSequence reference83 = ref span2[num]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 7 - }; - num2 = 4; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - span3 = CollectionsMarshal.AsSpan(list104); - index2 = 0; - ref QuestStep reference84 = ref span3[index2]; - QuestStep obj67 = new QuestStep(EInteractionType.Interact, 1054935u, new Vector3(47.287598f, -8.0940923E-13f, -21.561035f), 1299) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Never = true - } - } - }; + questStep.CompletionQuestVariablesFlags = list50; + reference35 = questStep; + index2++; + ref QuestStep reference36 = ref span3[index2]; + QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1056090u, new Vector3(341.26794f, 50.75f, 146.68494f), 1186); num3 = 6; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - span5 = CollectionsMarshal.AsSpan(list105); + List list51 = new List(num3); + CollectionsMarshal.SetCount(list51, num3); + span5 = CollectionsMarshal.AsSpan(list51); num4 = 0; span5[num4] = null; num4++; @@ -465311,33 +464529,1087 @@ public static class AssemblyQuestLoader num4++; span5[num4] = null; num4++; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + questStep2.CompletionQuestVariablesFlags = list51; + reference36 = questStep2; + index2++; + ref QuestStep reference37 = ref span3[index2]; + QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1054508u, new Vector3(377.3098f, 50.749996f, 115.098755f), 1186); + num4 = 6; + List list52 = new List(num4); + CollectionsMarshal.SetCount(list52, num4); + span5 = CollectionsMarshal.AsSpan(list52); + 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); + questStep3.CompletionQuestVariablesFlags = list52; + num3 = 1; + List list53 = new List(num3); + CollectionsMarshal.SetCount(list53, num3); + Span span7 = CollectionsMarshal.AsSpan(list53); + num4 = 0; + span7[num4] = new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = new ExcelRef("TEXT_KINGMI101_05364_Q3_000_000"), + Answer = new ExcelRef("TEXT_KINGMI101_05364_A3_000_003") + }; + questStep3.DialogueChoices = list53; + reference37 = questStep3; + obj34.Steps = list49; + reference34 = obj34; + num++; + ref QuestSequence reference38 = ref span2[num]; + QuestSequence obj35 = new QuestSequence + { + Sequence = 4 + }; + index2 = 2; + List list54 = new List(index2); + CollectionsMarshal.SetCount(list54, index2); + span3 = CollectionsMarshal.AsSpan(list54); + num2 = 0; + ref QuestStep reference39 = ref span3[num2]; + QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1054507u, new Vector3(465.2932f, 60f, 149.79773f), 1186); + num4 = 6; + List list55 = new List(num4); + CollectionsMarshal.SetCount(list55, num4); + span5 = CollectionsMarshal.AsSpan(list55); + 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); + questStep4.CompletionQuestVariablesFlags = list55; + reference39 = questStep4; + num2++; + ref QuestStep reference40 = ref span3[num2]; + QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1054506u, new Vector3(465.44592f, 59.999886f, 196.58191f), 1186); + num3 = 6; + List list56 = new List(num3); + CollectionsMarshal.SetCount(list56, num3); + span5 = CollectionsMarshal.AsSpan(list56); + num4 = 0; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; span5[num4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - obj67.CompletionQuestVariablesFlags = list105; + questStep5.CompletionQuestVariablesFlags = list56; + reference40 = questStep5; + obj35.Steps = list54; + reference38 = obj35; + num++; + ref QuestSequence reference41 = ref span2[num]; + QuestSequence obj36 = new QuestSequence + { + Sequence = 5 + }; + num2 = 3; + List list57 = new List(num2); + CollectionsMarshal.SetCount(list57, num2); + span3 = CollectionsMarshal.AsSpan(list57); + 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); + obj36.Steps = list57; + reference41 = obj36; + num++; + ref QuestSequence reference42 = ref span2[num]; + QuestSequence obj37 = new QuestSequence + { + Sequence = byte.MaxValue + }; + index2 = 1; + List list58 = new List(index2); + CollectionsMarshal.SetCount(list58, index2); + span3 = CollectionsMarshal.AsSpan(list58); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054514u, new Vector3(-404.4709f, 13.699978f, 239.00195f), 1186) + { + StopDistance = 7f + }; + obj37.Steps = list58; + reference42 = obj37; + questRoot7.QuestSequence = list42; + AddQuest(questId7, questRoot7); + QuestId questId8 = new QuestId(5365); + QuestRoot questRoot8 = new QuestRoot(); + num = 1; + List list59 = new List(num); + CollectionsMarshal.SetCount(list59, num); + span = CollectionsMarshal.AsSpan(list59); + index = 0; + span[index] = "liza"; + questRoot8.Author = list59; + index = 6; + List list60 = new List(index); + CollectionsMarshal.SetCount(list60, index); + span2 = CollectionsMarshal.AsSpan(list60); + num = 0; + ref QuestSequence reference43 = ref span2[num]; + QuestSequence obj38 = new QuestSequence + { + Sequence = 0 + }; + num2 = 1; + List list61 = new List(num2); + CollectionsMarshal.SetCount(list61, num2); + span3 = CollectionsMarshal.AsSpan(list61); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054514u, new Vector3(-404.4709f, 13.699978f, 239.00195f), 1186) + { + StopDistance = 7f + }; + obj38.Steps = list61; + reference43 = obj38; + num++; + ref QuestSequence reference44 = ref span2[num]; + QuestSequence obj39 = new QuestSequence + { + Sequence = 1 + }; + index2 = 3; + List list62 = new List(index2); + CollectionsMarshal.SetCount(list62, index2); + span3 = CollectionsMarshal.AsSpan(list62); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-409.0448f, 13.499981f, 269.6568f), 1186); + num2++; + span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-403.7604f, 14.029999f, 272.61798f), 1186) + { + DisableNavmesh = true + }; + num2++; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054518u, new Vector3(-368.00183f, 14f, 228.90051f), 1186); + obj39.Steps = list62; + reference44 = obj39; + num++; + ref QuestSequence reference45 = ref span2[num]; + QuestSequence obj40 = new QuestSequence + { + Sequence = 2 + }; + num2 = 1; + List list63 = new List(num2); + CollectionsMarshal.SetCount(list63, num2); + span3 = CollectionsMarshal.AsSpan(list63); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 2014833u, new Vector3(-328.48102f, 13.992493f, 161.24207f), 1186); + obj40.Steps = list63; + reference45 = obj40; + num++; + ref QuestSequence reference46 = ref span2[num]; + QuestSequence obj41 = new QuestSequence + { + Sequence = 3 + }; + index2 = 1; + List list64 = new List(index2); + CollectionsMarshal.SetCount(list64, index2); + span3 = CollectionsMarshal.AsSpan(list64); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 2014834u, new Vector3(-242.69476f, 2.1820068f, 212.4513f), 1186); + obj41.Steps = list64; + reference46 = obj41; + num++; + ref QuestSequence reference47 = ref span2[num]; + QuestSequence obj42 = new QuestSequence + { + Sequence = 4 + }; + num2 = 1; + List list65 = new List(num2); + CollectionsMarshal.SetCount(list65, num2); + span3 = CollectionsMarshal.AsSpan(list65); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 2014835u, new Vector3(-141.31384f, 2.1820068f, 212.9701f), 1186); + obj42.Steps = list65; + reference47 = obj42; + num++; + ref QuestSequence reference48 = ref span2[num]; + QuestSequence obj43 = new QuestSequence + { + Sequence = byte.MaxValue + }; + index2 = 1; + List list66 = new List(index2); + CollectionsMarshal.SetCount(list66, index2); + span3 = CollectionsMarshal.AsSpan(list66); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054529u, new Vector3(-134.53882f, 19.699795f, 382.77246f), 1186); + obj43.Steps = list66; + reference48 = obj43; + questRoot8.QuestSequence = list60; + AddQuest(questId8, questRoot8); + QuestId questId9 = new QuestId(5366); + QuestRoot questRoot9 = new QuestRoot(); + num = 1; + List list67 = new List(num); + CollectionsMarshal.SetCount(list67, num); + span = CollectionsMarshal.AsSpan(list67); + index = 0; + span[index] = "liza"; + questRoot9.Author = list67; + index = 9; + List list68 = new List(index); + CollectionsMarshal.SetCount(list68, index); + span2 = CollectionsMarshal.AsSpan(list68); + num = 0; + ref QuestSequence reference49 = ref span2[num]; + QuestSequence obj44 = new QuestSequence + { + Sequence = 0 + }; + num2 = 1; + List list69 = new List(num2); + CollectionsMarshal.SetCount(list69, num2); + span3 = CollectionsMarshal.AsSpan(list69); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054529u, new Vector3(-134.53882f, 19.699795f, 382.77246f), 1186); + obj44.Steps = list69; + reference49 = obj44; + num++; + ref QuestSequence reference50 = ref span2[num]; + QuestSequence obj45 = new QuestSequence + { + Sequence = 1 + }; + index2 = 1; + List list70 = new List(index2); + CollectionsMarshal.SetCount(list70, index2); + span3 = CollectionsMarshal.AsSpan(list70); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054535u, new Vector3(0.503479f, -4.5634806E-08f, 6.7596436f), 1207) + { + StopDistance = 7f + }; + obj45.Steps = list70; + reference50 = obj45; + num++; + ref QuestSequence reference51 = ref span2[num]; + QuestSequence obj46 = new QuestSequence + { + Sequence = 2 + }; + num2 = 1; + List list71 = new List(num2); + CollectionsMarshal.SetCount(list71, num2); + span3 = CollectionsMarshal.AsSpan(list71); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054536u, new Vector3(-5.1728516f, -4.656613E-08f, 7.1869507f), 1207) + { + StopDistance = 7f + }; + obj46.Steps = list71; + reference51 = obj46; + num++; + ref QuestSequence reference52 = ref span2[num]; + QuestSequence obj47 = new QuestSequence + { + Sequence = 3 + }; + index2 = 1; + List list72 = new List(index2); + CollectionsMarshal.SetCount(list72, index2); + span3 = CollectionsMarshal.AsSpan(list72); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054543u, new Vector3(-284.596f, 45.884224f, -812.55817f), 1191); + obj47.Steps = list72; + reference52 = obj47; + num++; + ref QuestSequence reference53 = ref span2[num]; + QuestSequence obj48 = new QuestSequence + { + Sequence = 4 + }; + num2 = 1; + List list73 = new List(num2); + CollectionsMarshal.SetCount(list73, num2); + span3 = CollectionsMarshal.AsSpan(list73); + index2 = 0; + ref QuestStep reference54 = ref span3[index2]; + QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1054543u, new Vector3(-284.596f, 45.884224f, -812.55817f), 1191); num4 = 1; - List list106 = new List(num4); - CollectionsMarshal.SetCount(list106, num4); - span7 = CollectionsMarshal.AsSpan(list106); + List list74 = new List(num4); + CollectionsMarshal.SetCount(list74, num4); + span7 = CollectionsMarshal.AsSpan(list74); + num3 = 0; + span7[num3] = new DialogueChoice + { + Type = EDialogChoiceType.YesNo, + Prompt = new ExcelRef("TEXT_KINGMI103_05366_SYSTEM_000_081") + }; + questStep6.DialogueChoices = list74; + reference54 = questStep6; + obj48.Steps = list73; + reference53 = obj48; + num++; + ref QuestSequence reference55 = ref span2[num]; + QuestSequence obj49 = new QuestSequence + { + Sequence = 5 + }; + index2 = 1; + List list75 = new List(index2); + CollectionsMarshal.SetCount(list75, index2); + span3 = CollectionsMarshal.AsSpan(list75); + num2 = 0; + ref QuestStep reference56 = ref span3[num2]; + QuestStep obj50 = new QuestStep(EInteractionType.Combat, null, new Vector3(219.38443f, 57.060833f, -661.6021f), 1191) + { + Fly = true, + EnemySpawnType = EEnemySpawnType.AutoOnEnterArea + }; + num3 = 1; + List list76 = new List(num3); + CollectionsMarshal.SetCount(list76, num3); + Span span8 = CollectionsMarshal.AsSpan(list76); + num4 = 0; + span8[num4] = 18915u; + obj50.KillEnemyDataIds = list76; + reference56 = obj50; + obj49.Steps = list75; + reference55 = obj49; + num++; + ref QuestSequence reference57 = ref span2[num]; + QuestSequence obj51 = new QuestSequence + { + Sequence = 6 + }; + num2 = 1; + List list77 = new List(num2); + CollectionsMarshal.SetCount(list77, num2); + span3 = CollectionsMarshal.AsSpan(list77); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054544u, new Vector3(210.40662f, 57.66854f, -651.3619f), 1191); + obj51.Steps = list77; + reference57 = obj51; + num++; + span2[num] = new QuestSequence + { + Sequence = 7 + }; + num++; + ref QuestSequence reference58 = ref span2[num]; + QuestSequence obj52 = new QuestSequence + { + Sequence = byte.MaxValue + }; + index2 = 1; + List list78 = new List(index2); + CollectionsMarshal.SetCount(list78, index2); + span3 = CollectionsMarshal.AsSpan(list78); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054545u, new Vector3(6.6071167f, 0.37129992f, -18.570251f), 1171) + { + StopDistance = 7f + }; + obj52.Steps = list78; + reference58 = obj52; + questRoot9.QuestSequence = list68; + AddQuest(questId9, questRoot9); + QuestId questId10 = new QuestId(5367); + QuestRoot questRoot10 = new QuestRoot(); + num = 1; + List list79 = new List(num); + CollectionsMarshal.SetCount(list79, num); + span = CollectionsMarshal.AsSpan(list79); + index = 0; + span[index] = "liza"; + questRoot10.Author = list79; + index = 6; + List list80 = new List(index); + CollectionsMarshal.SetCount(list80, index); + span2 = CollectionsMarshal.AsSpan(list80); + num = 0; + ref QuestSequence reference59 = ref span2[num]; + QuestSequence obj53 = new QuestSequence + { + Sequence = 0 + }; + num2 = 1; + List list81 = new List(num2); + CollectionsMarshal.SetCount(list81, num2); + span3 = CollectionsMarshal.AsSpan(list81); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054545u, new Vector3(6.6071167f, 0.37129992f, -18.570251f), 1171); + obj53.Steps = list81; + reference59 = obj53; + num++; + ref QuestSequence reference60 = ref span2[num]; + QuestSequence obj54 = new QuestSequence + { + Sequence = 1 + }; + index2 = 1; + List list82 = new List(index2); + CollectionsMarshal.SetCount(list82, index2); + span3 = CollectionsMarshal.AsSpan(list82); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054546u, new Vector3(-240.77216f, 30f, -597.345f), 1191) + { + AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts + }; + obj54.Steps = list82; + reference60 = obj54; + num++; + ref QuestSequence reference61 = ref span2[num]; + QuestSequence obj55 = new QuestSequence + { + Sequence = 2 + }; + num2 = 3; + List list83 = new List(num2); + CollectionsMarshal.SetCount(list83, num2); + span3 = CollectionsMarshal.AsSpan(list83); + index2 = 0; + ref QuestStep reference62 = ref span3[index2]; + QuestStep obj56 = new QuestStep(EInteractionType.Interact, 1054549u, new Vector3(-303.8529f, 33.89061f, -546.7765f), 1191) + { + Fly = true + }; + num4 = 6; + List list84 = new List(num4); + CollectionsMarshal.SetCount(list84, num4); + span5 = CollectionsMarshal.AsSpan(list84); + 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); + obj56.CompletionQuestVariablesFlags = list84; + reference62 = obj56; + index2++; + ref QuestStep reference63 = ref span3[index2]; + QuestStep obj57 = new QuestStep(EInteractionType.Interact, 1054548u, new Vector3(-182.97095f, 28f, -570.0313f), 1191) + { + Fly = true + }; + num3 = 6; + List list85 = new List(num3); + CollectionsMarshal.SetCount(list85, num3); + span5 = CollectionsMarshal.AsSpan(list85); + num4 = 0; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + obj57.CompletionQuestVariablesFlags = list85; + reference63 = obj57; + index2++; + ref QuestStep reference64 = ref span3[index2]; + QuestStep obj58 = new QuestStep(EInteractionType.Interact, 1054547u, new Vector3(-111.49768f, 42.99968f, -658.7778f), 1191) + { + Fly = true + }; + num4 = 6; + List list86 = new List(num4); + CollectionsMarshal.SetCount(list86, num4); + span5 = CollectionsMarshal.AsSpan(list86); + 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); + obj58.CompletionQuestVariablesFlags = list86; + reference64 = obj58; + obj55.Steps = list83; + reference61 = obj55; + num++; + ref QuestSequence reference65 = ref span2[num]; + QuestSequence obj59 = new QuestSequence + { + Sequence = 3 + }; + index2 = 1; + List list87 = new List(index2); + CollectionsMarshal.SetCount(list87, index2); + span3 = CollectionsMarshal.AsSpan(list87); + num2 = 0; + ref QuestStep reference66 = ref span3[num2]; + QuestStep obj60 = new QuestStep(EInteractionType.Interact, 1054546u, new Vector3(-240.77216f, 30f, -597.345f), 1191) + { + Fly = true + }; + num3 = 1; + List list88 = new List(num3); + CollectionsMarshal.SetCount(list88, num3); + span7 = CollectionsMarshal.AsSpan(list88); + num4 = 0; + span7[num4] = new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = new ExcelRef("TEXT_KINGMI104_05367_Q1_000_000"), + Answer = new ExcelRef("TEXT_KINGMI104_05367_A1_000_002") + }; + obj60.DialogueChoices = list88; + reference66 = obj60; + obj59.Steps = list87; + reference65 = obj59; + num++; + span2[num] = new QuestSequence + { + Sequence = 4 + }; + num++; + ref QuestSequence reference67 = ref span2[num]; + QuestSequence obj61 = new QuestSequence + { + Sequence = byte.MaxValue + }; + num2 = 1; + List list89 = new List(num2); + CollectionsMarshal.SetCount(list89, num2); + span3 = CollectionsMarshal.AsSpan(list89); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054550u, new Vector3(-24.307678f, 38.806587f, -411.2459f), 1186) + { + StopDistance = 7f + }; + obj61.Steps = list89; + reference67 = obj61; + questRoot10.QuestSequence = list80; + AddQuest(questId10, questRoot10); + QuestId questId11 = new QuestId(5368); + QuestRoot questRoot11 = new QuestRoot(); + num = 1; + List list90 = new List(num); + CollectionsMarshal.SetCount(list90, num); + span = CollectionsMarshal.AsSpan(list90); + index = 0; + span[index] = "liza"; + questRoot11.Author = list90; + index = 13; + List list91 = new List(index); + CollectionsMarshal.SetCount(list91, index); + span2 = CollectionsMarshal.AsSpan(list91); + num = 0; + ref QuestSequence reference68 = ref span2[num]; + QuestSequence obj62 = new QuestSequence + { + Sequence = 0 + }; + index2 = 1; + List list92 = new List(index2); + CollectionsMarshal.SetCount(list92, index2); + span3 = CollectionsMarshal.AsSpan(list92); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054551u, new Vector3(-23.544739f, 38.806587f, -412.19202f), 1186) + { + StopDistance = 7f + }; + obj62.Steps = list92; + reference68 = obj62; + num++; + ref QuestSequence reference69 = ref span2[num]; + QuestSequence obj63 = new QuestSequence + { + Sequence = 1 + }; + num2 = 1; + List list93 = new List(num2); + CollectionsMarshal.SetCount(list93, num2); + span3 = CollectionsMarshal.AsSpan(list93); + index2 = 0; + ref QuestStep reference70 = ref span3[index2]; + QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1054936u, new Vector3(-57.41974f, 42.8066f, -546.7765f), 1186); + num4 = 1; + List list94 = new List(num4); + CollectionsMarshal.SetCount(list94, num4); + span7 = CollectionsMarshal.AsSpan(list94); + num3 = 0; + span7[num3] = new DialogueChoice + { + Type = EDialogChoiceType.YesNo, + Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_000_061") + }; + questStep7.DialogueChoices = list94; + reference70 = questStep7; + obj63.Steps = list93; + reference69 = obj63; + num++; + span2[num] = new QuestSequence + { + Sequence = 2 + }; + num++; + ref QuestSequence reference71 = ref span2[num]; + QuestSequence obj64 = new QuestSequence + { + Sequence = 3 + }; + index2 = 1; + List list95 = new List(index2); + CollectionsMarshal.SetCount(list95, index2); + span3 = CollectionsMarshal.AsSpan(list95); + num2 = 0; + ref QuestStep reference72 = ref span3[num2]; + QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2014877u, new Vector3(-53.76658f, 0.4967778f, 10.78857f), 1299); + num3 = 1; + List list96 = new List(num3); + CollectionsMarshal.SetCount(list96, num3); + span7 = CollectionsMarshal.AsSpan(list96); + num4 = 0; + span7[num4] = new DialogueChoice + { + Type = EDialogChoiceType.YesNo, + Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_000_117") + }; + questStep8.DialogueChoices = list96; + reference72 = questStep8; + obj64.Steps = list95; + reference71 = obj64; + num++; + ref QuestSequence reference73 = ref span2[num]; + QuestSequence obj65 = new QuestSequence + { + Sequence = 4 + }; + num2 = 1; + List list97 = new List(num2); + CollectionsMarshal.SetCount(list97, num2); + span3 = CollectionsMarshal.AsSpan(list97); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.UseItem, 2014879u, new Vector3(-31.18711f, 1.386986f, 14.38922f), 1299) + { + ItemId = 2003767u + }; + obj65.Steps = list97; + reference73 = obj65; + num++; + ref QuestSequence reference74 = ref span2[num]; + QuestSequence obj66 = new QuestSequence + { + Sequence = 5 + }; + index2 = 1; + List list98 = new List(index2); + CollectionsMarshal.SetCount(list98, index2); + span3 = CollectionsMarshal.AsSpan(list98); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.UseItem, 2014880u, new Vector3(5.563949f, 1.29885f, -7.714191f), 1299) + { + ItemId = 2003789u + }; + obj66.Steps = list98; + reference74 = obj66; + num++; + ref QuestSequence reference75 = ref span2[num]; + QuestSequence obj67 = new QuestSequence + { + Sequence = 6 + }; + num2 = 1; + List list99 = new List(num2); + CollectionsMarshal.SetCount(list99, num2); + span3 = CollectionsMarshal.AsSpan(list99); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054888u, new Vector3(-9.079163f, 0.9997301f, -45.731323f), 1299); + obj67.Steps = list99; + reference75 = obj67; + num++; + ref QuestSequence reference76 = ref span2[num]; + QuestSequence obj68 = new QuestSequence + { + Sequence = 7 + }; + index2 = 1; + List list100 = new List(index2); + CollectionsMarshal.SetCount(list100, index2); + span3 = CollectionsMarshal.AsSpan(list100); + num2 = 0; + ref QuestStep reference77 = ref span3[num2]; + QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2014883u, new Vector3(6.94281f, 1.480042f, -53.72705f), 1299); + num4 = 1; + List list101 = new List(num4); + CollectionsMarshal.SetCount(list101, num4); + span7 = CollectionsMarshal.AsSpan(list101); + num3 = 0; + span7[num3] = new DialogueChoice + { + Type = EDialogChoiceType.YesNo, + Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_120_250") + }; + questStep9.DialogueChoices = list101; + num3 = 6; + List list102 = new List(num3); + CollectionsMarshal.SetCount(list102, num3); + span8 = CollectionsMarshal.AsSpan(list102); + num4 = 0; + span8[num4] = 0u; + num4++; + span8[num4] = 0u; + num4++; + span8[num4] = 4u; + num4++; + span8[num4] = 10u; + num4++; + span8[num4] = 8u; + num4++; + span8[num4] = 11u; + questStep9.PointMenuChoices = list102; + reference77 = questStep9; + obj68.Steps = list100; + reference76 = obj68; + num++; + ref QuestSequence reference78 = ref span2[num]; + QuestSequence obj69 = new QuestSequence + { + Sequence = 8 + }; + num2 = 1; + List list103 = new List(num2); + CollectionsMarshal.SetCount(list103, num2); + span3 = CollectionsMarshal.AsSpan(list103); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.UseItem, 2014881u, new Vector3(7.765003f, 1.296952f, 5.581435f), 1299) + { + ItemId = 2003768u + }; + obj69.Steps = list103; + reference78 = obj69; + num++; + ref QuestSequence reference79 = ref span2[num]; + QuestSequence obj70 = new QuestSequence + { + Sequence = 9 + }; + index2 = 1; + List list104 = new List(index2); + CollectionsMarshal.SetCount(list104, index2); + span3 = CollectionsMarshal.AsSpan(list104); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054901u, new Vector3(15.6710205f, -1.036562E-06f, 28.244385f), 1299); + obj70.Steps = list104; + reference79 = obj70; + num++; + ref QuestSequence reference80 = ref span2[num]; + QuestSequence obj71 = new QuestSequence + { + Sequence = 10 + }; + num2 = 1; + List list105 = new List(num2); + CollectionsMarshal.SetCount(list105, num2); + span3 = CollectionsMarshal.AsSpan(list105); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 1054907u, new Vector3(43.289795f, 0.30650482f, 12.436096f), 1299); + obj71.Steps = list105; + reference80 = obj71; + num++; + ref QuestSequence reference81 = ref span2[num]; + QuestSequence obj72 = new QuestSequence + { + Sequence = 11 + }; + index2 = 4; + List list106 = new List(index2); + CollectionsMarshal.SetCount(list106, index2); + span3 = CollectionsMarshal.AsSpan(list106); + num2 = 0; + ref QuestStep reference82 = ref span3[num2]; + QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2014884u, new Vector3(44.99468f, 0.7551205f, 18.96421f), 1299); + num4 = 1; + List list107 = new List(num4); + CollectionsMarshal.SetCount(list107, num4); + span7 = CollectionsMarshal.AsSpan(list107); num3 = 0; span7[num3] = new DialogueChoice { Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q5_000_000"), - Answer = new ExcelRef("TEXT_KINGMI106_05369_A5_000_001") + Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), + Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_004") }; - obj67.DialogueChoices = list106; - reference84 = obj67; - index2++; - ref QuestStep reference85 = ref span3[index2]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 2014894u, new Vector3(39.08986f, 1.296936f, -24.0025f), 1299); - num3 = 6; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - span5 = CollectionsMarshal.AsSpan(list107); + questStep10.DialogueChoices = list107; + reference82 = questStep10; + num2++; + ref QuestStep reference83 = ref span3[num2]; + QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2014885u, new Vector3(50.98755f, 0.7551f, 19.03446f), 1299); + num3 = 1; + List list108 = new List(num3); + CollectionsMarshal.SetCount(list108, num3); + span7 = CollectionsMarshal.AsSpan(list108); num4 = 0; + span7[num4] = new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), + Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_002") + }; + questStep11.DialogueChoices = list108; + reference83 = questStep11; + num2++; + ref QuestStep reference84 = ref span3[num2]; + QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2014887u, new Vector3(51.00287f, 0.7551f, 24.9874f), 1299); + num4 = 1; + List list109 = new List(num4); + CollectionsMarshal.SetCount(list109, num4); + span7 = CollectionsMarshal.AsSpan(list109); + num3 = 0; + span7[num3] = new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), + Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_003") + }; + questStep12.DialogueChoices = list109; + reference84 = questStep12; + num2++; + ref QuestStep reference85 = ref span3[num2]; + QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2014886u, new Vector3(44.9988f, 0.7551f, 25.03204f), 1299); + num3 = 1; + List list110 = new List(num3); + CollectionsMarshal.SetCount(list110, num3); + span7 = CollectionsMarshal.AsSpan(list110); + num4 = 0; + span7[num4] = new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), + Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_001") + }; + questStep13.DialogueChoices = list110; + reference85 = questStep13; + obj72.Steps = list106; + reference81 = obj72; + num++; + ref QuestSequence reference86 = ref span2[num]; + QuestSequence obj73 = new QuestSequence + { + Sequence = byte.MaxValue + }; + num2 = 1; + List list111 = new List(num2); + CollectionsMarshal.SetCount(list111, num2); + span3 = CollectionsMarshal.AsSpan(list111); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054916u, new Vector3(16.189758f, -1.8225983E-06f, 28.030762f), 1299); + obj73.Steps = list111; + reference86 = obj73; + questRoot11.QuestSequence = list91; + AddQuest(questId11, questRoot11); + QuestId questId12 = new QuestId(5369); + QuestRoot questRoot12 = new QuestRoot(); + num = 1; + List list112 = new List(num); + CollectionsMarshal.SetCount(list112, num); + span = CollectionsMarshal.AsSpan(list112); + index = 0; + span[index] = "liza"; + questRoot12.Author = list112; + index = 10; + List list113 = new List(index); + CollectionsMarshal.SetCount(list113, index); + span2 = CollectionsMarshal.AsSpan(list113); + num = 0; + ref QuestSequence reference87 = ref span2[num]; + QuestSequence obj74 = new QuestSequence + { + Sequence = 0 + }; + index2 = 1; + List list114 = new List(index2); + CollectionsMarshal.SetCount(list114, index2); + span3 = CollectionsMarshal.AsSpan(list114); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054916u, new Vector3(16.189758f, -1.8225983E-06f, 28.030762f), 1299); + obj74.Steps = list114; + reference87 = obj74; + num++; + ref QuestSequence reference88 = ref span2[num]; + QuestSequence obj75 = new QuestSequence + { + Sequence = 1 + }; + num2 = 1; + List list115 = new List(num2); + CollectionsMarshal.SetCount(list115, num2); + span3 = CollectionsMarshal.AsSpan(list115); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.Interact, 2014889u, new Vector3(-6.637756f, 0.9917603f, 32.45593f), 1299); + obj75.Steps = list115; + reference88 = obj75; + num++; + ref QuestSequence reference89 = ref span2[num]; + QuestSequence obj76 = new QuestSequence + { + Sequence = 2 + }; + index2 = 1; + List list116 = new List(index2); + CollectionsMarshal.SetCount(list116, index2); + span3 = CollectionsMarshal.AsSpan(list116); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054918u, new Vector3(4.0740967f, 1.1999817f, 41.82495f), 1299); + obj76.Steps = list116; + reference89 = obj76; + num++; + ref QuestSequence reference90 = ref span2[num]; + QuestSequence obj77 = new QuestSequence + { + Sequence = 3 + }; + num2 = 1; + List list117 = new List(num2); + CollectionsMarshal.SetCount(list117, num2); + span3 = CollectionsMarshal.AsSpan(list117); + index2 = 0; + span3[index2] = new QuestStep(EInteractionType.UseItem, 2014909u, new Vector3(5.5639f, 1.2989f, -7.7142f), 1299) + { + ItemId = 2003769u + }; + obj77.Steps = list117; + reference90 = obj77; + num++; + ref QuestSequence reference91 = ref span2[num]; + QuestSequence obj78 = new QuestSequence + { + Sequence = 4 + }; + index2 = 1; + List list118 = new List(index2); + CollectionsMarshal.SetCount(list118, index2); + span3 = CollectionsMarshal.AsSpan(list118); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054928u, new Vector3(43.167725f, 0.020000027f, -18.661804f), 1299); + obj78.Steps = list118; + reference91 = obj78; + num++; + ref QuestSequence reference92 = ref span2[num]; + QuestSequence obj79 = new QuestSequence + { + Sequence = 5 + }; + num2 = 4; + List list119 = new List(num2); + CollectionsMarshal.SetCount(list119, num2); + span3 = CollectionsMarshal.AsSpan(list119); + index2 = 0; + ref QuestStep reference93 = ref span3[index2]; + QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2014913u, new Vector3(48.28509f, 0.7955156f, -15.36493f), 1299); + num4 = 6; + List list120 = new List(num4); + CollectionsMarshal.SetCount(list120, num4); + span5 = CollectionsMarshal.AsSpan(list120); + 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); + questStep14.CompletionQuestVariablesFlags = list120; + reference93 = questStep14; + index2++; + ref QuestStep reference94 = ref span3[index2]; + QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2014891u, new Vector3(45.64126f, 0.9739f, -23.77144f), 1299); + num3 = 6; + List list121 = new List(num3); + CollectionsMarshal.SetCount(list121, num3); + span5 = CollectionsMarshal.AsSpan(list121); + num4 = 0; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); + questStep15.CompletionQuestVariablesFlags = list121; + reference94 = questStep15; + index2++; + ref QuestStep reference95 = ref span3[index2]; + QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2014890u, new Vector3(32.00146f, 1.173118f, -22.75444f), 1299); + num4 = 6; + List list122 = new List(num4); + CollectionsMarshal.SetCount(list122, num4); + span5 = CollectionsMarshal.AsSpan(list122); + 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); + questStep16.CompletionQuestVariablesFlags = list122; + reference95 = questStep16; + index2++; + ref QuestStep reference96 = ref span3[index2]; + QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 2014892u, new Vector3(32.07058f, 0.8092833f, -9.735413f), 1299); + num3 = 6; + List list123 = new List(num3); + CollectionsMarshal.SetCount(list123, num3); + span5 = CollectionsMarshal.AsSpan(list123); + num4 = 0; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; span5[num4] = null; num4++; span5[num4] = null; @@ -465345,42 +465617,37 @@ public static class AssemblyQuestLoader span5[num4] = null; num4++; span5[num4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - num4++; - span5[num4] = null; - num4++; - span5[num4] = null; - questStep18.CompletionQuestVariablesFlags = list107; - num4 = 2; - List list108 = new List(num4); - CollectionsMarshal.SetCount(list108, num4); - span7 = CollectionsMarshal.AsSpan(list108); - num3 = 0; - span7[num3] = new DialogueChoice + questStep17.CompletionQuestVariablesFlags = list123; + reference96 = questStep17; + obj79.Steps = list119; + reference92 = obj79; + num++; + ref QuestSequence reference97 = ref span2[num]; + QuestSequence obj80 = new QuestSequence { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI106_05369_SYSTEM_000_350") + Sequence = 6 }; - num3++; - span7[num3] = new DialogueChoice + index2 = 1; + List list124 = new List(index2); + CollectionsMarshal.SetCount(list124, index2); + span3 = CollectionsMarshal.AsSpan(list124); + num2 = 0; + span3[num2] = new QuestStep(EInteractionType.Interact, 1054928u, new Vector3(43.167725f, 0.020000027f, -18.661804f), 1299); + obj80.Steps = list124; + reference97 = obj80; + num++; + ref QuestSequence reference98 = ref span2[num]; + QuestSequence obj81 = 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 }; - questStep18.DialogueChoices = list108; - num3 = 2; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - span8 = CollectionsMarshal.AsSpan(list109); - num4 = 0; - span8[num4] = 3u; - num4++; - span8[num4] = 4u; - questStep18.PointMenuChoices = list109; - reference85 = questStep18; - index2++; - ref QuestStep reference86 = ref span3[index2]; - QuestStep obj68 = new QuestStep(EInteractionType.Interact, 1054931u, new Vector3(38.223755f, 0f, -13.443237f), 1299) + num2 = 4; + List list125 = new List(num2); + CollectionsMarshal.SetCount(list125, num2); + span3 = CollectionsMarshal.AsSpan(list125); + index2 = 0; + ref QuestStep reference99 = ref span3[index2]; + QuestStep obj82 = new QuestStep(EInteractionType.Interact, 1054935u, new Vector3(47.287598f, -8.0940923E-13f, -21.561035f), 1299) { SkipConditions = new SkipConditions { @@ -465391,9 +465658,9 @@ public static class AssemblyQuestLoader } }; num4 = 6; - List list110 = new List(num4); - CollectionsMarshal.SetCount(list110, num4); - span5 = CollectionsMarshal.AsSpan(list110); + List list126 = new List(num4); + CollectionsMarshal.SetCount(list126, num4); + span5 = CollectionsMarshal.AsSpan(list126); num3 = 0; span5[num3] = null; num3++; @@ -465401,124 +465668,214 @@ public static class AssemblyQuestLoader num3++; span5[num3] = null; num3++; - span5[num3] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); + span5[num3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); num3++; span5[num3] = null; num3++; span5[num3] = null; - obj68.CompletionQuestVariablesFlags = list110; + obj82.CompletionQuestVariablesFlags = list126; num3 = 1; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - span7 = CollectionsMarshal.AsSpan(list111); + List list127 = new List(num3); + CollectionsMarshal.SetCount(list127, num3); + span7 = CollectionsMarshal.AsSpan(list127); num4 = 0; span7[num4] = new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q5_000_000"), + Answer = new ExcelRef("TEXT_KINGMI106_05369_A5_000_001") + }; + obj82.DialogueChoices = list127; + reference99 = obj82; + index2++; + ref QuestStep reference100 = ref span3[index2]; + QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 2014894u, new Vector3(39.08986f, 1.296936f, -24.0025f), 1299); + num4 = 6; + List list128 = new List(num4); + CollectionsMarshal.SetCount(list128, num4); + span5 = CollectionsMarshal.AsSpan(list128); + 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; + questStep18.CompletionQuestVariablesFlags = list128; + num3 = 2; + List list129 = new List(num3); + CollectionsMarshal.SetCount(list129, num3); + span7 = CollectionsMarshal.AsSpan(list129); + num4 = 0; + span7[num4] = new DialogueChoice + { + Type = EDialogChoiceType.YesNo, + Prompt = new ExcelRef("TEXT_KINGMI106_05369_SYSTEM_000_350") + }; + num4++; + span7[num4] = new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q7_000_000"), + Answer = new ExcelRef("TEXT_KINGMI106_05369_A7_000_003") + }; + questStep18.DialogueChoices = list129; + num4 = 2; + List list130 = new List(num4); + CollectionsMarshal.SetCount(list130, num4); + span8 = CollectionsMarshal.AsSpan(list130); + num3 = 0; + span8[num3] = 3u; + num3++; + span8[num3] = 4u; + questStep18.PointMenuChoices = list130; + reference100 = questStep18; + index2++; + ref QuestStep reference101 = ref span3[index2]; + QuestStep obj83 = new QuestStep(EInteractionType.Interact, 1054931u, new Vector3(38.223755f, 0f, -13.443237f), 1299) + { + SkipConditions = new SkipConditions + { + StepIf = new SkipStepConditions + { + Never = true + } + } + }; + num3 = 6; + List list131 = new List(num3); + CollectionsMarshal.SetCount(list131, num3); + span5 = CollectionsMarshal.AsSpan(list131); + num4 = 0; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = null; + num4++; + span5[num4] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); + num4++; + span5[num4] = null; + num4++; + span5[num4] = null; + obj83.CompletionQuestVariablesFlags = list131; + num4 = 1; + List list132 = new List(num4); + CollectionsMarshal.SetCount(list132, num4); + span7 = CollectionsMarshal.AsSpan(list132); + num3 = 0; + span7[num3] = new DialogueChoice { Type = EDialogChoiceType.List, Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q6_000_000"), Answer = new ExcelRef("TEXT_KINGMI106_05369_A6_000_001") }; - obj68.DialogueChoices = list111; - reference86 = obj68; + obj83.DialogueChoices = list132; + reference101 = obj83; index2++; - ref QuestStep reference87 = ref span3[index2]; + ref QuestStep reference102 = ref span3[index2]; QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 2014893u, new Vector3(43.16655f, 1.244391f, -18.57025f), 1299); - num4 = 3; - List list112 = new List(num4); - CollectionsMarshal.SetCount(list112, num4); - span7 = CollectionsMarshal.AsSpan(list112); - num3 = 0; - span7[num3] = new DialogueChoice + num3 = 3; + List list133 = new List(num3); + CollectionsMarshal.SetCount(list133, num3); + span7 = CollectionsMarshal.AsSpan(list133); + num4 = 0; + span7[num4] = new DialogueChoice { Type = EDialogChoiceType.List, Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q8_000_000"), Answer = new ExcelRef("TEXT_KINGMI106_05369_A8_000_005") }; - num3++; - span7[num3] = new DialogueChoice + num4++; + span7[num4] = new DialogueChoice { Type = EDialogChoiceType.List, Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q9_000_000"), Answer = new ExcelRef("TEXT_KINGMI106_05369_A9_000_006") }; - num3++; - span7[num3] = new DialogueChoice + num4++; + span7[num4] = new DialogueChoice { Type = EDialogChoiceType.List, Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q10_000_000"), Answer = new ExcelRef("TEXT_KINGMI106_05369_A10_000_004") }; - questStep19.DialogueChoices = list112; - reference87 = questStep19; - obj66.Steps = list104; - reference83 = obj66; + questStep19.DialogueChoices = list133; + reference102 = questStep19; + obj81.Steps = list125; + reference98 = obj81; num++; - ref QuestSequence reference88 = ref span2[num]; - QuestSequence obj69 = new QuestSequence + ref QuestSequence reference103 = ref span2[num]; + QuestSequence obj84 = new QuestSequence { Sequence = 8 }; index2 = 1; - List list113 = new List(index2); - CollectionsMarshal.SetCount(list113, index2); - span3 = CollectionsMarshal.AsSpan(list113); + List list134 = new List(index2); + CollectionsMarshal.SetCount(list134, index2); + span3 = CollectionsMarshal.AsSpan(list134); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054938u, new Vector3(47.837036f, 0f, -10.025269f), 1299); - obj69.Steps = list113; - reference88 = obj69; + obj84.Steps = list134; + reference103 = obj84; num++; - ref QuestSequence reference89 = ref span2[num]; - QuestSequence obj70 = new QuestSequence + ref QuestSequence reference104 = ref span2[num]; + QuestSequence obj85 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - span3 = CollectionsMarshal.AsSpan(list114); + List list135 = new List(num2); + CollectionsMarshal.SetCount(list135, num2); + span3 = CollectionsMarshal.AsSpan(list135); index2 = 0; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054560u, new Vector3(-5.1118164f, -4.656613E-08f, 7.095398f), 1207); - obj70.Steps = list114; - reference89 = obj70; - questRoot9.QuestSequence = list92; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(5370); - QuestRoot questRoot10 = new QuestRoot(); + obj85.Steps = list135; + reference104 = obj85; + questRoot12.QuestSequence = list113; + AddQuest(questId12, questRoot12); + QuestId questId13 = new QuestId(5370); + QuestRoot questRoot13 = new QuestRoot(); num = 1; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - span = CollectionsMarshal.AsSpan(list115); + List list136 = new List(num); + CollectionsMarshal.SetCount(list136, num); + span = CollectionsMarshal.AsSpan(list136); index = 0; span[index] = "liza"; - questRoot10.Author = list115; + questRoot13.Author = list136; index = 4; - List list116 = new List(index); - CollectionsMarshal.SetCount(list116, index); - span2 = CollectionsMarshal.AsSpan(list116); + List list137 = new List(index); + CollectionsMarshal.SetCount(list137, index); + span2 = CollectionsMarshal.AsSpan(list137); num = 0; - ref QuestSequence reference90 = ref span2[num]; - QuestSequence obj71 = new QuestSequence + ref QuestSequence reference105 = ref span2[num]; + QuestSequence obj86 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list117 = new List(index2); - CollectionsMarshal.SetCount(list117, index2); - span3 = CollectionsMarshal.AsSpan(list117); + List list138 = new List(index2); + CollectionsMarshal.SetCount(list138, index2); + span3 = CollectionsMarshal.AsSpan(list138); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054555u, new Vector3(-4.1047363f, -7.7714425E-08f, 9.536865f), 1207); - obj71.Steps = list117; - reference90 = obj71; + obj86.Steps = list138; + reference105 = obj86; num++; - ref QuestSequence reference91 = ref span2[num]; - QuestSequence obj72 = new QuestSequence + ref QuestSequence reference106 = ref span2[num]; + QuestSequence obj87 = new QuestSequence { Sequence = 1 }; num2 = 2; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - span3 = CollectionsMarshal.AsSpan(list118); + List list139 = new List(num2); + CollectionsMarshal.SetCount(list139, num2); + span3 = CollectionsMarshal.AsSpan(list139); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 2014102u, new Vector3(-0.015319824f, 0.99176025f, 16.03717f), 1207) { @@ -465533,95 +465890,95 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.SolutionNineResolution } }; - obj72.Steps = list118; - reference91 = obj72; + obj87.Steps = list139; + reference106 = obj87; num++; - ref QuestSequence reference92 = ref span2[num]; - QuestSequence obj73 = new QuestSequence + ref QuestSequence reference107 = ref span2[num]; + QuestSequence obj88 = new QuestSequence { Sequence = 2 }; index2 = 1; - List list119 = new List(index2); - CollectionsMarshal.SetCount(list119, index2); - span3 = CollectionsMarshal.AsSpan(list119); + List list140 = new List(index2); + CollectionsMarshal.SetCount(list140, index2); + span3 = CollectionsMarshal.AsSpan(list140); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054565u, new Vector3(18.539673f, 38.0566f, -387.16718f), 1186); - obj73.Steps = list119; - reference92 = obj73; + obj88.Steps = list140; + reference107 = obj88; num++; - ref QuestSequence reference93 = ref span2[num]; - QuestSequence obj74 = new QuestSequence + ref QuestSequence reference108 = ref span2[num]; + QuestSequence obj89 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - span3 = CollectionsMarshal.AsSpan(list120); + List list141 = new List(num2); + CollectionsMarshal.SetCount(list141, num2); + span3 = CollectionsMarshal.AsSpan(list141); index2 = 0; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054569u, new Vector3(-0.5340576f, 53.200012f, 768.27637f), 1192) { AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo }; - obj74.Steps = list120; - reference93 = obj74; - questRoot10.QuestSequence = list116; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(5371); - QuestRoot questRoot11 = new QuestRoot(); + obj89.Steps = list141; + reference108 = obj89; + questRoot13.QuestSequence = list137; + AddQuest(questId13, questRoot13); + QuestId questId14 = new QuestId(5371); + QuestRoot questRoot14 = new QuestRoot(); num = 1; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - span = CollectionsMarshal.AsSpan(list121); + List list142 = new List(num); + CollectionsMarshal.SetCount(list142, num); + span = CollectionsMarshal.AsSpan(list142); index = 0; span[index] = "liza"; - questRoot11.Author = list121; + questRoot14.Author = list142; index = 8; - List list122 = new List(index); - CollectionsMarshal.SetCount(list122, index); - span2 = CollectionsMarshal.AsSpan(list122); + List list143 = new List(index); + CollectionsMarshal.SetCount(list143, index); + span2 = CollectionsMarshal.AsSpan(list143); num = 0; - ref QuestSequence reference94 = ref span2[num]; - QuestSequence obj75 = new QuestSequence + ref QuestSequence reference109 = ref span2[num]; + QuestSequence obj90 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list123 = new List(index2); - CollectionsMarshal.SetCount(list123, index2); - span3 = CollectionsMarshal.AsSpan(list123); + List list144 = new List(index2); + CollectionsMarshal.SetCount(list144, index2); + span3 = CollectionsMarshal.AsSpan(list144); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054569u, new Vector3(-0.5340576f, 53.200012f, 768.27637f), 1192); - obj75.Steps = list123; - reference94 = obj75; + obj90.Steps = list144; + reference109 = obj90; num++; - ref QuestSequence reference95 = ref span2[num]; - QuestSequence obj76 = new QuestSequence + ref QuestSequence reference110 = ref span2[num]; + QuestSequence obj91 = new QuestSequence { Sequence = 1 }; num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - span3 = CollectionsMarshal.AsSpan(list124); + List list145 = new List(num2); + CollectionsMarshal.SetCount(list145, num2); + span3 = CollectionsMarshal.AsSpan(list145); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054576u, new Vector3(-0.16790771f, 50.12495f, 364.8584f), 1192) { Fly = true }; - obj76.Steps = list124; - reference95 = obj76; + obj91.Steps = list145; + reference110 = obj91; num++; - ref QuestSequence reference96 = ref span2[num]; - QuestSequence obj77 = new QuestSequence + ref QuestSequence reference111 = ref span2[num]; + QuestSequence obj92 = new QuestSequence { Sequence = 2 }; index2 = 1; - List list125 = new List(index2); - CollectionsMarshal.SetCount(list125, index2); - span3 = CollectionsMarshal.AsSpan(list125); + List list146 = new List(index2); + CollectionsMarshal.SetCount(list146, index2); + span3 = CollectionsMarshal.AsSpan(list146); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Duty, null, null, 1192) { @@ -465630,23 +465987,23 @@ public static class AssemblyQuestLoader ContentFinderConditionId = 1028u } }; - obj77.Steps = list125; - reference96 = obj77; + obj92.Steps = list146; + reference111 = obj92; num++; span2[num] = new QuestSequence { Sequence = 3 }; num++; - ref QuestSequence reference97 = ref span2[num]; - QuestSequence obj78 = new QuestSequence + ref QuestSequence reference112 = ref span2[num]; + QuestSequence obj93 = new QuestSequence { Sequence = 4 }; num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - span3 = CollectionsMarshal.AsSpan(list126); + List list147 = new List(num2); + CollectionsMarshal.SetCount(list147, num2); + span3 = CollectionsMarshal.AsSpan(list147); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Duty, null, null, 1312) { @@ -465655,155 +466012,155 @@ public static class AssemblyQuestLoader ContentFinderConditionId = 1061u } }; - obj78.Steps = list126; - reference97 = obj78; + obj93.Steps = list147; + reference112 = obj93; num++; span2[num] = new QuestSequence { Sequence = 5 }; num++; - ref QuestSequence reference98 = ref span2[num]; - QuestSequence obj79 = new QuestSequence + ref QuestSequence reference113 = ref span2[num]; + QuestSequence obj94 = new QuestSequence { Sequence = 6 }; index2 = 1; - List list127 = new List(index2); - CollectionsMarshal.SetCount(list127, index2); - span3 = CollectionsMarshal.AsSpan(list127); + List list148 = new List(index2); + CollectionsMarshal.SetCount(list148, index2); + span3 = CollectionsMarshal.AsSpan(list148); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054597u, new Vector3(5.8136597f, 50.12495f, 369.80237f), 1192) { StopDistance = 5f }; - obj79.Steps = list127; - reference98 = obj79; + obj94.Steps = list148; + reference113 = obj94; num++; - ref QuestSequence reference99 = ref span2[num]; - QuestSequence obj80 = new QuestSequence + ref QuestSequence reference114 = ref span2[num]; + QuestSequence obj95 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - span3 = CollectionsMarshal.AsSpan(list128); + List list149 = new List(num2); + CollectionsMarshal.SetCount(list149, num2); + span3 = CollectionsMarshal.AsSpan(list149); index2 = 0; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054604u, new Vector3(-145.06763f, 25.971825f, -495.38416f), 1191) { Fly = true, AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts }; - obj80.Steps = list128; - reference99 = obj80; - questRoot11.QuestSequence = list122; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(5372); - QuestRoot questRoot12 = new QuestRoot(); + obj95.Steps = list149; + reference114 = obj95; + questRoot14.QuestSequence = list143; + AddQuest(questId14, questRoot14); + QuestId questId15 = new QuestId(5372); + QuestRoot questRoot15 = new QuestRoot(); num = 1; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - span = CollectionsMarshal.AsSpan(list129); + List list150 = new List(num); + CollectionsMarshal.SetCount(list150, num); + span = CollectionsMarshal.AsSpan(list150); index = 0; span[index] = "liza"; - questRoot12.Author = list129; + questRoot15.Author = list150; index = 6; - List list130 = new List(index); - CollectionsMarshal.SetCount(list130, index); - span2 = CollectionsMarshal.AsSpan(list130); + List list151 = new List(index); + CollectionsMarshal.SetCount(list151, index); + span2 = CollectionsMarshal.AsSpan(list151); num = 0; - ref QuestSequence reference100 = ref span2[num]; - QuestSequence obj81 = new QuestSequence + ref QuestSequence reference115 = ref span2[num]; + QuestSequence obj96 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list131 = new List(index2); - CollectionsMarshal.SetCount(list131, index2); - span3 = CollectionsMarshal.AsSpan(list131); + List list152 = new List(index2); + CollectionsMarshal.SetCount(list152, index2); + span3 = CollectionsMarshal.AsSpan(list152); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054604u, new Vector3(-145.06763f, 25.971825f, -495.38416f), 1191); - obj81.Steps = list131; - reference100 = obj81; + obj96.Steps = list152; + reference115 = obj96; num++; - ref QuestSequence reference101 = ref span2[num]; - QuestSequence obj82 = new QuestSequence + ref QuestSequence reference116 = ref span2[num]; + QuestSequence obj97 = new QuestSequence { Sequence = 1 }; num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - span3 = CollectionsMarshal.AsSpan(list132); + List list153 = new List(num2); + CollectionsMarshal.SetCount(list153, num2); + span3 = CollectionsMarshal.AsSpan(list153); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1055852u, new Vector3(-117.906494f, 28.995459f, -353.1701f), 1191) { Fly = true }; - obj82.Steps = list132; - reference101 = obj82; + obj97.Steps = list153; + reference116 = obj97; num++; - ref QuestSequence reference102 = ref span2[num]; - QuestSequence obj83 = new QuestSequence + ref QuestSequence reference117 = ref span2[num]; + QuestSequence obj98 = new QuestSequence { Sequence = 2 }; index2 = 1; - List list133 = new List(index2); - CollectionsMarshal.SetCount(list133, index2); - span3 = CollectionsMarshal.AsSpan(list133); + List list154 = new List(index2); + CollectionsMarshal.SetCount(list154, index2); + span3 = CollectionsMarshal.AsSpan(list154); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1048099u, new Vector3(-606.5919f, -2.203068f, -486.6255f), 1191) { Fly = true }; - obj83.Steps = list133; - reference102 = obj83; + obj98.Steps = list154; + reference117 = obj98; num++; - ref QuestSequence reference103 = ref span2[num]; - QuestSequence obj84 = new QuestSequence + ref QuestSequence reference118 = ref span2[num]; + QuestSequence obj99 = new QuestSequence { Sequence = 3 }; num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - span3 = CollectionsMarshal.AsSpan(list134); + List list155 = new List(num2); + CollectionsMarshal.SetCount(list155, num2); + span3 = CollectionsMarshal.AsSpan(list155); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054612u, new Vector3(-670.95447f, 52.96887f, -203.35706f), 1191) { Fly = true }; - obj84.Steps = list134; - reference103 = obj84; + obj99.Steps = list155; + reference118 = obj99; num++; - ref QuestSequence reference104 = ref span2[num]; - QuestSequence obj85 = new QuestSequence + ref QuestSequence reference119 = ref span2[num]; + QuestSequence obj100 = new QuestSequence { Sequence = 4 }; index2 = 1; - List list135 = new List(index2); - CollectionsMarshal.SetCount(list135, index2); - span3 = CollectionsMarshal.AsSpan(list135); + List list156 = new List(index2); + CollectionsMarshal.SetCount(list156, index2); + span3 = CollectionsMarshal.AsSpan(list156); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054614u, new Vector3(-554.4366f, 44.324562f, -159.5636f), 1191) { StopDistance = 7f }; - obj85.Steps = list135; - reference104 = obj85; + obj100.Steps = list156; + reference119 = obj100; num++; - ref QuestSequence reference105 = ref span2[num]; - QuestSequence obj86 = new QuestSequence + ref QuestSequence reference120 = ref span2[num]; + QuestSequence obj101 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 2; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - span3 = CollectionsMarshal.AsSpan(list136); + List list157 = new List(num2); + CollectionsMarshal.SetCount(list157, num2); + span3 = CollectionsMarshal.AsSpan(list157); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) { @@ -465817,91 +466174,91 @@ public static class AssemblyQuestLoader }; index2++; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1054616u, new Vector3(-0.6256714f, -4.656613E-08f, 6.8512573f), 1207); - obj86.Steps = list136; - reference105 = obj86; - questRoot12.QuestSequence = list130; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(5373); - QuestRoot questRoot13 = new QuestRoot(); + obj101.Steps = list157; + reference120 = obj101; + questRoot15.QuestSequence = list151; + AddQuest(questId15, questRoot15); + QuestId questId16 = new QuestId(5373); + QuestRoot questRoot16 = new QuestRoot(); num = 1; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - span = CollectionsMarshal.AsSpan(list137); + List list158 = new List(num); + CollectionsMarshal.SetCount(list158, num); + span = CollectionsMarshal.AsSpan(list158); index = 0; span[index] = "liza"; - questRoot13.Author = list137; + questRoot16.Author = list158; index = 5; - List list138 = new List(index); - CollectionsMarshal.SetCount(list138, index); - span2 = CollectionsMarshal.AsSpan(list138); + List list159 = new List(index); + CollectionsMarshal.SetCount(list159, index); + span2 = CollectionsMarshal.AsSpan(list159); num = 0; - ref QuestSequence reference106 = ref span2[num]; - QuestSequence obj87 = new QuestSequence + ref QuestSequence reference121 = ref span2[num]; + QuestSequence obj102 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list139 = new List(index2); - CollectionsMarshal.SetCount(list139, index2); - span3 = CollectionsMarshal.AsSpan(list139); + List list160 = new List(index2); + CollectionsMarshal.SetCount(list160, index2); + span3 = CollectionsMarshal.AsSpan(list160); num2 = 0; span3[num2] = new QuestStep(EInteractionType.AcceptQuest, 1054616u, new Vector3(-0.6256714f, -4.656613E-08f, 6.8512573f), 1207); - obj87.Steps = list139; - reference106 = obj87; + obj102.Steps = list160; + reference121 = obj102; num++; - ref QuestSequence reference107 = ref span2[num]; - QuestSequence obj88 = new QuestSequence + ref QuestSequence reference122 = ref span2[num]; + QuestSequence obj103 = new QuestSequence { Sequence = 1 }; num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - span3 = CollectionsMarshal.AsSpan(list140); + List list161 = new List(num2); + CollectionsMarshal.SetCount(list161, num2); + span3 = CollectionsMarshal.AsSpan(list161); index2 = 0; - ref QuestStep reference108 = ref span3[index2]; + ref QuestStep reference123 = ref span3[index2]; QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1054616u, new Vector3(-0.6256714f, -4.656613E-08f, 6.8512573f), 1207); - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - span7 = CollectionsMarshal.AsSpan(list141); - num4 = 0; - span7[num4] = new DialogueChoice + num4 = 1; + List list162 = new List(num4); + CollectionsMarshal.SetCount(list162, num4); + span7 = CollectionsMarshal.AsSpan(list162); + num3 = 0; + span7[num3] = new DialogueChoice { Type = EDialogChoiceType.YesNo, Prompt = new ExcelRef("TEXT_KINGMI110_05373_SYSTEM_000_040") }; - questStep20.DialogueChoices = list141; - reference108 = questStep20; - obj88.Steps = list140; - reference107 = obj88; + questStep20.DialogueChoices = list162; + reference123 = questStep20; + obj103.Steps = list161; + reference122 = obj103; num++; - ref QuestSequence reference109 = ref span2[num]; - QuestSequence obj89 = new QuestSequence + ref QuestSequence reference124 = ref span2[num]; + QuestSequence obj104 = new QuestSequence { Sequence = 2 }; index2 = 1; - List list142 = new List(index2); - CollectionsMarshal.SetCount(list142, index2); - span3 = CollectionsMarshal.AsSpan(list142); + List list163 = new List(index2); + CollectionsMarshal.SetCount(list163, index2); + span3 = CollectionsMarshal.AsSpan(list163); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054618u, new Vector3(1.296936f, 50.12499f, 704.7378f), 1192) { StopDistance = 7f }; - obj89.Steps = list142; - reference109 = obj89; + obj104.Steps = list163; + reference124 = obj104; num++; - ref QuestSequence reference110 = ref span2[num]; - QuestSequence obj90 = new QuestSequence + ref QuestSequence reference125 = ref span2[num]; + QuestSequence obj105 = new QuestSequence { Sequence = 3 }; num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - span3 = CollectionsMarshal.AsSpan(list143); + List list164 = new List(num2); + CollectionsMarshal.SetCount(list164, num2); + span3 = CollectionsMarshal.AsSpan(list164); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054624u, new Vector3(-105.638245f, 100.04267f, -202.47198f), 1185) { @@ -465912,18 +466269,18 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.TuliyollalVollokShoonsa } }; - obj90.Steps = list143; - reference110 = obj90; + obj105.Steps = list164; + reference125 = obj105; num++; - ref QuestSequence reference111 = ref span2[num]; - QuestSequence obj91 = new QuestSequence + ref QuestSequence reference126 = ref span2[num]; + QuestSequence obj106 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list144 = new List(index2); - CollectionsMarshal.SetCount(list144, index2); - span3 = CollectionsMarshal.AsSpan(list144); + List list165 = new List(index2); + CollectionsMarshal.SetCount(list165, index2); + span3 = CollectionsMarshal.AsSpan(list165); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054628u, new Vector3(-23.941406f, 38.0566f, -389.0288f), 1186) { @@ -465934,33 +466291,33 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.SolutionNineResolution } }; - obj91.Steps = list144; - reference111 = obj91; - questRoot13.QuestSequence = list138; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(5374); - QuestRoot questRoot14 = new QuestRoot(); + obj106.Steps = list165; + reference126 = obj106; + questRoot16.QuestSequence = list159; + AddQuest(questId16, questRoot16); + QuestId questId17 = new QuestId(5374); + QuestRoot questRoot17 = new QuestRoot(); num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - span = CollectionsMarshal.AsSpan(list145); + List list166 = new List(num); + CollectionsMarshal.SetCount(list166, num); + span = CollectionsMarshal.AsSpan(list166); index = 0; span[index] = "WigglyMuffin"; - questRoot14.Author = list145; + questRoot17.Author = list166; index = 13; - List list146 = new List(index); - CollectionsMarshal.SetCount(list146, index); - span2 = CollectionsMarshal.AsSpan(list146); + List list167 = new List(index); + CollectionsMarshal.SetCount(list167, index); + span2 = CollectionsMarshal.AsSpan(list167); num = 0; - ref QuestSequence reference112 = ref span2[num]; - QuestSequence obj92 = new QuestSequence + ref QuestSequence reference127 = ref span2[num]; + QuestSequence obj107 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - span3 = CollectionsMarshal.AsSpan(list147); + List list168 = new List(num2); + CollectionsMarshal.SetCount(list168, num2); + span3 = CollectionsMarshal.AsSpan(list168); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054465u, new Vector3(0.1373291f, -14f, 106.21802f), 1185) { @@ -465978,18 +466335,18 @@ public static class AssemblyQuestLoader } } }; - obj92.Steps = list147; - reference112 = obj92; + obj107.Steps = list168; + reference127 = obj107; num++; - ref QuestSequence reference113 = ref span2[num]; - QuestSequence obj93 = new QuestSequence + ref QuestSequence reference128 = ref span2[num]; + QuestSequence obj108 = new QuestSequence { Sequence = 1 }; index2 = 1; - List list148 = new List(index2); - CollectionsMarshal.SetCount(list148, index2); - span3 = CollectionsMarshal.AsSpan(list148); + List list169 = new List(index2); + CollectionsMarshal.SetCount(list169, index2); + span3 = CollectionsMarshal.AsSpan(list169); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 2014821u, new Vector3(342.03088f, -1.3275757f, 438.4984f), 1190) { @@ -466007,170 +466364,170 @@ public static class AssemblyQuestLoader } } }; - obj93.Steps = list148; - reference113 = obj93; + obj108.Steps = list169; + reference128 = obj108; num++; - ref QuestSequence reference114 = ref span2[num]; - QuestSequence obj94 = new QuestSequence + ref QuestSequence reference129 = ref span2[num]; + QuestSequence obj109 = new QuestSequence { Sequence = 2 }; num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - span3 = CollectionsMarshal.AsSpan(list149); + List list170 = new List(num2); + CollectionsMarshal.SetCount(list170, num2); + span3 = CollectionsMarshal.AsSpan(list170); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054466u, new Vector3(420.37073f, -0.65818214f, 390.67664f), 1190); - obj94.Steps = list149; - reference114 = obj94; + obj109.Steps = list170; + reference129 = obj109; num++; - ref QuestSequence reference115 = ref span2[num]; - QuestSequence obj95 = new QuestSequence + ref QuestSequence reference130 = ref span2[num]; + QuestSequence obj110 = new QuestSequence { Sequence = 3 }; index2 = 1; - List list150 = new List(index2); - CollectionsMarshal.SetCount(list150, index2); - span3 = CollectionsMarshal.AsSpan(list150); + List list171 = new List(index2); + CollectionsMarshal.SetCount(list171, index2); + span3 = CollectionsMarshal.AsSpan(list171); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 2014823u, new Vector3(478.96545f, 4.7455444f, 237.53711f), 1190) { Fly = true }; - obj95.Steps = list150; - reference115 = obj95; + obj110.Steps = list171; + reference130 = obj110; num++; - ref QuestSequence reference116 = ref span2[num]; - QuestSequence obj96 = new QuestSequence + ref QuestSequence reference131 = ref span2[num]; + QuestSequence obj111 = new QuestSequence { Sequence = 4 }; num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - span3 = CollectionsMarshal.AsSpan(list151); + List list172 = new List(num2); + CollectionsMarshal.SetCount(list172, num2); + span3 = CollectionsMarshal.AsSpan(list172); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 2014824u, new Vector3(349.813f, 7.1869507f, 220.78271f), 1190) { Fly = true }; - obj96.Steps = list151; - reference116 = obj96; + obj111.Steps = list172; + reference131 = obj111; num++; - ref QuestSequence reference117 = ref span2[num]; - QuestSequence obj97 = new QuestSequence + ref QuestSequence reference132 = ref span2[num]; + QuestSequence obj112 = new QuestSequence { Sequence = 5 }; index2 = 1; - List list152 = new List(index2); - CollectionsMarshal.SetCount(list152, index2); - span3 = CollectionsMarshal.AsSpan(list152); + List list173 = new List(index2); + CollectionsMarshal.SetCount(list173, index2); + span3 = CollectionsMarshal.AsSpan(list173); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 2014822u, new Vector3(402.42603f, -11.276428f, 40.604248f), 1190) { Fly = true }; - obj97.Steps = list152; - reference117 = obj97; + obj112.Steps = list173; + reference132 = obj112; num++; - ref QuestSequence reference118 = ref span2[num]; - QuestSequence obj98 = new QuestSequence + ref QuestSequence reference133 = ref span2[num]; + QuestSequence obj113 = new QuestSequence { Sequence = 6 }; num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - span3 = CollectionsMarshal.AsSpan(list153); + List list174 = new List(num2); + CollectionsMarshal.SetCount(list174, num2); + span3 = CollectionsMarshal.AsSpan(list174); index2 = 0; - ref QuestStep reference119 = ref span3[index2]; + ref QuestStep reference134 = ref span3[index2]; QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1054467u, new Vector3(254.38306f, -7.9001174f, 465.17126f), 1190); - num4 = 1; - List list154 = new List(num4); - CollectionsMarshal.SetCount(list154, num4); - span7 = CollectionsMarshal.AsSpan(list154); - num3 = 0; - span7[num3] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGYX901_05374_SYSTEM_000_301") - }; - questStep21.DialogueChoices = list154; - reference119 = questStep21; - obj98.Steps = list153; - reference118 = obj98; - num++; - ref QuestSequence reference120 = ref span2[num]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 7 - }; - index2 = 1; - List list155 = new List(index2); - CollectionsMarshal.SetCount(list155, index2); - span3 = CollectionsMarshal.AsSpan(list155); - num2 = 0; - ref QuestStep reference121 = ref span3[num2]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1054469u, new Vector3(-215.04541f, 45.13145f, -756.89325f), 1190); num3 = 1; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - span7 = CollectionsMarshal.AsSpan(list156); + List list175 = new List(num3); + CollectionsMarshal.SetCount(list175, num3); + span7 = CollectionsMarshal.AsSpan(list175); num4 = 0; span7[num4] = new DialogueChoice + { + Type = EDialogChoiceType.YesNo, + Prompt = new ExcelRef("TEXT_KINGYX901_05374_SYSTEM_000_301") + }; + questStep21.DialogueChoices = list175; + reference134 = questStep21; + obj113.Steps = list174; + reference133 = obj113; + num++; + ref QuestSequence reference135 = ref span2[num]; + QuestSequence obj114 = new QuestSequence + { + Sequence = 7 + }; + index2 = 1; + List list176 = new List(index2); + CollectionsMarshal.SetCount(list176, index2); + span3 = CollectionsMarshal.AsSpan(list176); + num2 = 0; + ref QuestStep reference136 = ref span3[num2]; + QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1054469u, new Vector3(-215.04541f, 45.13145f, -756.89325f), 1190); + num4 = 1; + List list177 = new List(num4); + CollectionsMarshal.SetCount(list177, num4); + span7 = CollectionsMarshal.AsSpan(list177); + num3 = 0; + span7[num3] = new DialogueChoice { Type = EDialogChoiceType.YesNo, Prompt = new ExcelRef("TEXT_KINGYX901_05374_SYSTEM_200_402") }; - questStep22.DialogueChoices = list156; - reference121 = questStep22; - obj99.Steps = list155; - reference120 = obj99; + questStep22.DialogueChoices = list177; + reference136 = questStep22; + obj114.Steps = list176; + reference135 = obj114; num++; span2[num] = new QuestSequence { Sequence = 8 }; num++; - ref QuestSequence reference122 = ref span2[num]; - QuestSequence obj100 = new QuestSequence + ref QuestSequence reference137 = ref span2[num]; + QuestSequence obj115 = new QuestSequence { Sequence = 9 }; num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - span3 = CollectionsMarshal.AsSpan(list157); + List list178 = new List(num2); + CollectionsMarshal.SetCount(list178, num2); + span3 = CollectionsMarshal.AsSpan(list178); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054471u, new Vector3(23.056335f, 101f, 733.7604f), 1301); - obj100.Steps = list157; - reference122 = obj100; + obj115.Steps = list178; + reference137 = obj115; num++; - ref QuestSequence reference123 = ref span2[num]; - QuestSequence obj101 = new QuestSequence + ref QuestSequence reference138 = ref span2[num]; + QuestSequence obj116 = new QuestSequence { Sequence = 10 }; index2 = 1; - List list158 = new List(index2); - CollectionsMarshal.SetCount(list158, index2); - span3 = CollectionsMarshal.AsSpan(list158); + List list179 = new List(index2); + CollectionsMarshal.SetCount(list179, index2); + span3 = CollectionsMarshal.AsSpan(list179); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054471u, new Vector3(23.056335f, 101f, 733.7604f), 1301); - obj101.Steps = list158; - reference123 = obj101; + obj116.Steps = list179; + reference138 = obj116; num++; - ref QuestSequence reference124 = ref span2[num]; - QuestSequence obj102 = new QuestSequence + ref QuestSequence reference139 = ref span2[num]; + QuestSequence obj117 = new QuestSequence { Sequence = 11 }; num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - span3 = CollectionsMarshal.AsSpan(list159); + List list180 = new List(num2); + CollectionsMarshal.SetCount(list180, num2); + span3 = CollectionsMarshal.AsSpan(list180); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Duty, null, null, 1301) { @@ -466179,18 +466536,18 @@ public static class AssemblyQuestLoader ContentFinderConditionId = 1043u } }; - obj102.Steps = list159; - reference124 = obj102; + obj117.Steps = list180; + reference139 = obj117; num++; - ref QuestSequence reference125 = ref span2[num]; - QuestSequence obj103 = new QuestSequence + ref QuestSequence reference140 = ref span2[num]; + QuestSequence obj118 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list160 = new List(index2); - CollectionsMarshal.SetCount(list160, index2); - span3 = CollectionsMarshal.AsSpan(list160); + List list181 = new List(index2); + CollectionsMarshal.SetCount(list181, index2); + span3 = CollectionsMarshal.AsSpan(list181); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054465u, new Vector3(0.1373291f, -14f, 106.21802f), 1185) { @@ -466208,33 +466565,33 @@ public static class AssemblyQuestLoader } } }; - obj103.Steps = list160; - reference125 = obj103; - questRoot14.QuestSequence = list146; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(5378); - QuestRoot questRoot15 = new QuestRoot(); + obj118.Steps = list181; + reference140 = obj118; + questRoot17.QuestSequence = list167; + AddQuest(questId17, questRoot17); + QuestId questId18 = new QuestId(5378); + QuestRoot questRoot18 = new QuestRoot(); num = 1; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - span = CollectionsMarshal.AsSpan(list161); + List list182 = new List(num); + CollectionsMarshal.SetCount(list182, num); + span = CollectionsMarshal.AsSpan(list182); index = 0; span[index] = "WigglyMuffin"; - questRoot15.Author = list161; + questRoot18.Author = list182; index = 8; - List list162 = new List(index); - CollectionsMarshal.SetCount(list162, index); - span2 = CollectionsMarshal.AsSpan(list162); + List list183 = new List(index); + CollectionsMarshal.SetCount(list183, index); + span2 = CollectionsMarshal.AsSpan(list183); num = 0; - ref QuestSequence reference126 = ref span2[num]; - QuestSequence obj104 = new QuestSequence + ref QuestSequence reference141 = ref span2[num]; + QuestSequence obj119 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - span3 = CollectionsMarshal.AsSpan(list163); + List list184 = new List(num2); + CollectionsMarshal.SetCount(list184, num2); + span3 = CollectionsMarshal.AsSpan(list184); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1053655u, new Vector3(231.64722f, 50.749847f, 210.25403f), 1186) { @@ -466252,18 +466609,18 @@ public static class AssemblyQuestLoader } } }; - obj104.Steps = list163; - reference126 = obj104; + obj119.Steps = list184; + reference141 = obj119; num++; - ref QuestSequence reference127 = ref span2[num]; - QuestSequence obj105 = new QuestSequence + ref QuestSequence reference142 = ref span2[num]; + QuestSequence obj120 = new QuestSequence { Sequence = 1 }; index2 = 2; - List list164 = new List(index2); - CollectionsMarshal.SetCount(list164, index2); - span3 = CollectionsMarshal.AsSpan(list164); + List list185 = new List(index2); + CollectionsMarshal.SetCount(list185, index2); + span3 = CollectionsMarshal.AsSpan(list185); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(258.43686f, 50.749672f, 151.8797f), 1186); num2++; @@ -466276,18 +466633,18 @@ public static class AssemblyQuestLoader To = EAetheryteLocation.SolutionNineTrueVue } }; - obj105.Steps = list164; - reference127 = obj105; + obj120.Steps = list185; + reference142 = obj120; num++; - ref QuestSequence reference128 = ref span2[num]; - QuestSequence obj106 = new QuestSequence + ref QuestSequence reference143 = ref span2[num]; + QuestSequence obj121 = new QuestSequence { Sequence = 2 }; num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - span3 = CollectionsMarshal.AsSpan(list165); + List list186 = new List(num2); + CollectionsMarshal.SetCount(list186, num2); + span3 = CollectionsMarshal.AsSpan(list186); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054753u, new Vector3(639.33765f, 146.06567f, 706.4773f), 1191) { @@ -466301,49 +466658,49 @@ public static class AssemblyQuestLoader } } }; - obj106.Steps = list165; - reference128 = obj106; + obj121.Steps = list186; + reference143 = obj121; num++; - ref QuestSequence reference129 = ref span2[num]; - QuestSequence obj107 = new QuestSequence + ref QuestSequence reference144 = ref span2[num]; + QuestSequence obj122 = new QuestSequence { Sequence = 3 }; index2 = 1; - List list166 = new List(index2); - CollectionsMarshal.SetCount(list166, index2); - span3 = CollectionsMarshal.AsSpan(list166); + List list187 = new List(index2); + CollectionsMarshal.SetCount(list187, index2); + span3 = CollectionsMarshal.AsSpan(list187); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054757u, new Vector3(-185.29034f, 15.695002f, -385.00043f), 1190); - obj107.Steps = list166; - reference129 = obj107; + obj122.Steps = list187; + reference144 = obj122; num++; - ref QuestSequence reference130 = ref span2[num]; - QuestSequence obj108 = new QuestSequence + ref QuestSequence reference145 = ref span2[num]; + QuestSequence obj123 = new QuestSequence { Sequence = 4 }; num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - span3 = CollectionsMarshal.AsSpan(list167); + List list188 = new List(num2); + CollectionsMarshal.SetCount(list188, num2); + span3 = CollectionsMarshal.AsSpan(list188); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054760u, new Vector3(-277.27173f, 15.865601f, -195.36127f), 1190) { Fly = true }; - obj108.Steps = list167; - reference130 = obj108; + obj123.Steps = list188; + reference145 = obj123; num++; - ref QuestSequence reference131 = ref span2[num]; - QuestSequence obj109 = new QuestSequence + ref QuestSequence reference146 = ref span2[num]; + QuestSequence obj124 = new QuestSequence { Sequence = 5 }; index2 = 4; - List list168 = new List(index2); - CollectionsMarshal.SetCount(list168, index2); - span3 = CollectionsMarshal.AsSpan(list168); + List list189 = new List(index2); + CollectionsMarshal.SetCount(list189, index2); + span3 = CollectionsMarshal.AsSpan(list189); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-342.82297f, 18.182781f, -161.67989f), 1190) { @@ -466364,65 +466721,65 @@ public static class AssemblyQuestLoader { Fly = true }; - obj109.Steps = list168; - reference131 = obj109; + obj124.Steps = list189; + reference146 = obj124; num++; - ref QuestSequence reference132 = ref span2[num]; - QuestSequence obj110 = new QuestSequence + ref QuestSequence reference147 = ref span2[num]; + QuestSequence obj125 = new QuestSequence { Sequence = 6 }; num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - span3 = CollectionsMarshal.AsSpan(list169); + List list190 = new List(num2); + CollectionsMarshal.SetCount(list190, num2); + span3 = CollectionsMarshal.AsSpan(list190); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054764u, new Vector3(-306.32483f, 18.195349f, -87.60205f), 1190); - obj110.Steps = list169; - reference132 = obj110; + obj125.Steps = list190; + reference147 = obj125; num++; - ref QuestSequence reference133 = ref span2[num]; - QuestSequence obj111 = new QuestSequence + ref QuestSequence reference148 = ref span2[num]; + QuestSequence obj126 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list170 = new List(index2); - CollectionsMarshal.SetCount(list170, index2); - span3 = CollectionsMarshal.AsSpan(list170); + List list191 = new List(index2); + CollectionsMarshal.SetCount(list191, index2); + span3 = CollectionsMarshal.AsSpan(list191); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1054767u, new Vector3(-419.3637f, 21.14813f, -142.74823f), 1190) { Fly = true, NextQuestId = new QuestId(5379) }; - obj111.Steps = list170; - reference133 = obj111; - questRoot15.QuestSequence = list162; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(5379); - QuestRoot questRoot16 = new QuestRoot(); + obj126.Steps = list191; + reference148 = obj126; + questRoot18.QuestSequence = list183; + AddQuest(questId18, questRoot18); + QuestId questId19 = new QuestId(5379); + QuestRoot questRoot19 = new QuestRoot(); num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - span = CollectionsMarshal.AsSpan(list171); + List list192 = new List(num); + CollectionsMarshal.SetCount(list192, num); + span = CollectionsMarshal.AsSpan(list192); index = 0; span[index] = "WigglyMuffin"; - questRoot16.Author = list171; + questRoot19.Author = list192; index = 12; - List list172 = new List(index); - CollectionsMarshal.SetCount(list172, index); - span2 = CollectionsMarshal.AsSpan(list172); + List list193 = new List(index); + CollectionsMarshal.SetCount(list193, index); + span2 = CollectionsMarshal.AsSpan(list193); num = 0; - ref QuestSequence reference134 = ref span2[num]; - QuestSequence obj112 = new QuestSequence + ref QuestSequence reference149 = ref span2[num]; + QuestSequence obj127 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - span3 = CollectionsMarshal.AsSpan(list173); + List list194 = new List(num2); + CollectionsMarshal.SetCount(list194, num2); + span3 = CollectionsMarshal.AsSpan(list194); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1054773u, new Vector3(-329.21344f, 18.02224f, -137.28546f), 1190) { @@ -466436,148 +466793,127 @@ public static class AssemblyQuestLoader } } }; - obj112.Steps = list173; - reference134 = obj112; + obj127.Steps = list194; + reference149 = obj127; num++; - ref QuestSequence reference135 = ref span2[num]; - QuestSequence obj113 = new QuestSequence + ref QuestSequence reference150 = ref span2[num]; + QuestSequence obj128 = new QuestSequence { Sequence = 1 }; index2 = 1; - List list174 = new List(index2); - CollectionsMarshal.SetCount(list174, index2); - span3 = CollectionsMarshal.AsSpan(list174); + List list195 = new List(index2); + CollectionsMarshal.SetCount(list195, index2); + span3 = CollectionsMarshal.AsSpan(list195); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054775u, new Vector3(-236.13336f, -0.8372388f, 247.11987f), 1190) { Fly = true }; - obj113.Steps = list174; - reference135 = obj113; + obj128.Steps = list195; + reference150 = obj128; num++; - ref QuestSequence reference136 = ref span2[num]; - QuestSequence obj114 = new QuestSequence + ref QuestSequence reference151 = ref span2[num]; + QuestSequence obj129 = new QuestSequence { Sequence = 2 }; num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - span3 = CollectionsMarshal.AsSpan(list175); + List list196 = new List(num2); + CollectionsMarshal.SetCount(list196, num2); + span3 = CollectionsMarshal.AsSpan(list196); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054775u, new Vector3(-236.13336f, -0.8372388f, 247.11987f), 1190); - obj114.Steps = list175; - reference136 = obj114; + obj129.Steps = list196; + reference151 = obj129; num++; - ref QuestSequence reference137 = ref span2[num]; - QuestSequence obj115 = new QuestSequence + ref QuestSequence reference152 = ref span2[num]; + QuestSequence obj130 = new QuestSequence { Sequence = 3 }; index2 = 1; - List list176 = new List(index2); - CollectionsMarshal.SetCount(list176, index2); - span3 = CollectionsMarshal.AsSpan(list176); + List list197 = new List(index2); + CollectionsMarshal.SetCount(list197, index2); + span3 = CollectionsMarshal.AsSpan(list197); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054777u, new Vector3(-186.81628f, (float)Math.E * 63f / 92f, 303.42554f), 1190) { Fly = true }; - obj115.Steps = list176; - reference137 = obj115; + obj130.Steps = list197; + reference152 = obj130; num++; - ref QuestSequence reference138 = ref span2[num]; - QuestSequence obj116 = new QuestSequence + ref QuestSequence reference153 = ref span2[num]; + QuestSequence obj131 = new QuestSequence { Sequence = 4 }; num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - span3 = CollectionsMarshal.AsSpan(list177); + List list198 = new List(num2); + CollectionsMarshal.SetCount(list198, num2); + span3 = CollectionsMarshal.AsSpan(list198); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054778u, new Vector3(-127.6723f, 1.5186902f, 336.7207f), 1190) { Fly = true }; - obj116.Steps = list177; - reference138 = obj116; + obj131.Steps = list198; + reference153 = obj131; num++; - ref QuestSequence reference139 = ref span2[num]; - QuestSequence obj117 = new QuestSequence + ref QuestSequence reference154 = ref span2[num]; + QuestSequence obj132 = new QuestSequence { Sequence = 5 }; index2 = 1; - List list178 = new List(index2); - CollectionsMarshal.SetCount(list178, index2); - span3 = CollectionsMarshal.AsSpan(list178); + List list199 = new List(index2); + CollectionsMarshal.SetCount(list199, index2); + span3 = CollectionsMarshal.AsSpan(list199); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1054779u, new Vector3(-168.29181f, -1.8273239f, 402.7008f), 1190) { Fly = true }; - obj117.Steps = list178; - reference139 = obj117; + obj132.Steps = list199; + reference154 = obj132; num++; - ref QuestSequence reference140 = ref span2[num]; - QuestSequence obj118 = new QuestSequence + ref QuestSequence reference155 = ref span2[num]; + QuestSequence obj133 = new QuestSequence { Sequence = 6 }; num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - span3 = CollectionsMarshal.AsSpan(list179); + List list200 = new List(num2); + CollectionsMarshal.SetCount(list200, num2); + span3 = CollectionsMarshal.AsSpan(list200); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054780u, new Vector3(-111.28406f, -7.4034004f, 529.9f), 1190) { Fly = true }; - obj118.Steps = list179; - reference140 = obj118; + obj133.Steps = list200; + reference155 = obj133; num++; - ref QuestSequence reference141 = ref span2[num]; - QuestSequence obj119 = new QuestSequence + ref QuestSequence reference156 = ref span2[num]; + QuestSequence obj134 = new QuestSequence { Sequence = 7 }; index2 = 3; - List list180 = new List(index2); - CollectionsMarshal.SetCount(list180, index2); - span3 = CollectionsMarshal.AsSpan(list180); + List list201 = new List(index2); + CollectionsMarshal.SetCount(list201, index2); + span3 = CollectionsMarshal.AsSpan(list201); num2 = 0; - ref QuestStep reference142 = ref span3[num2]; - QuestStep obj120 = new QuestStep(EInteractionType.Interact, 2014869u, new Vector3(-286.18298f, -45.91449f, 624.567f), 1190) + ref QuestStep reference157 = ref span3[num2]; + QuestStep obj135 = new QuestStep(EInteractionType.Interact, 2014869u, new Vector3(-286.18298f, -45.91449f, 624.567f), 1190) { Fly = true }; - num4 = 6; - List list181 = new List(num4); - CollectionsMarshal.SetCount(list181, num4); - span5 = CollectionsMarshal.AsSpan(list181); - 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); - obj120.CompletionQuestVariablesFlags = list181; - reference142 = obj120; - num2++; - ref QuestStep reference143 = ref span3[num2]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 2014868u, new Vector3(-273.82324f, -44.38855f, 627.25244f), 1190); num3 = 6; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - span5 = CollectionsMarshal.AsSpan(list182); + List list202 = new List(num3); + CollectionsMarshal.SetCount(list202, num3); + span5 = CollectionsMarshal.AsSpan(list202); num4 = 0; span5[num4] = null; num4++; @@ -466589,40 +466925,61 @@ public static class AssemblyQuestLoader num4++; span5[num4] = null; num4++; - span5[num4] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list182; - reference143 = questStep23; + span5[num4] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); + obj135.CompletionQuestVariablesFlags = list202; + reference157 = obj135; + num2++; + ref QuestStep reference158 = ref span3[num2]; + QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 2014868u, new Vector3(-273.82324f, -44.38855f, 627.25244f), 1190); + num4 = 6; + List list203 = new List(num4); + CollectionsMarshal.SetCount(list203, num4); + span5 = CollectionsMarshal.AsSpan(list203); + 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); + questStep23.CompletionQuestVariablesFlags = list203; + reference158 = questStep23; num2++; span3[num2] = new QuestStep(EInteractionType.Interact, 2014867u, new Vector3(-214.12988f, -39.871887f, 659.8153f), 1190) { Fly = true }; - obj119.Steps = list180; - reference141 = obj119; + obj134.Steps = list201; + reference156 = obj134; num++; - ref QuestSequence reference144 = ref span2[num]; - QuestSequence obj121 = new QuestSequence + ref QuestSequence reference159 = ref span2[num]; + QuestSequence obj136 = new QuestSequence { Sequence = 8 }; num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - span3 = CollectionsMarshal.AsSpan(list183); + List list204 = new List(num2); + CollectionsMarshal.SetCount(list204, num2); + span3 = CollectionsMarshal.AsSpan(list204); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1054782u, new Vector3(-186.69415f, -33.644463f, 658.50305f), 1190); - obj121.Steps = list183; - reference144 = obj121; + obj136.Steps = list204; + reference159 = obj136; num++; - ref QuestSequence reference145 = ref span2[num]; - QuestSequence obj122 = new QuestSequence + ref QuestSequence reference160 = ref span2[num]; + QuestSequence obj137 = new QuestSequence { Sequence = 9 }; index2 = 2; - List list184 = new List(index2); - CollectionsMarshal.SetCount(list184, index2); - span3 = CollectionsMarshal.AsSpan(list184); + List list205 = new List(index2); + CollectionsMarshal.SetCount(list205, index2); + span3 = CollectionsMarshal.AsSpan(list205); num2 = 0; span3[num2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(475.81485f, 3.2201807f, 466.20187f), 1190) { @@ -466643,32 +467000,32 @@ public static class AssemblyQuestLoader }; num2++; span3[num2] = new QuestStep(EInteractionType.Interact, 1051501u, new Vector3(488.0598f, 3.2202392f, 484.03137f), 1190); - obj122.Steps = list184; - reference145 = obj122; + obj137.Steps = list205; + reference160 = obj137; num++; - ref QuestSequence reference146 = ref span2[num]; - QuestSequence obj123 = new QuestSequence + ref QuestSequence reference161 = ref span2[num]; + QuestSequence obj138 = new QuestSequence { Sequence = 10 }; num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - span3 = CollectionsMarshal.AsSpan(list185); + List list206 = new List(num2); + CollectionsMarshal.SetCount(list206, num2); + span3 = CollectionsMarshal.AsSpan(list206); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1051501u, new Vector3(488.0598f, 3.2202392f, 484.03137f), 1190); - obj123.Steps = list185; - reference146 = obj123; + obj138.Steps = list206; + reference161 = obj138; num++; - ref QuestSequence reference147 = ref span2[num]; - QuestSequence obj124 = new QuestSequence + ref QuestSequence reference162 = ref span2[num]; + QuestSequence obj139 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list186 = new List(index2); - CollectionsMarshal.SetCount(list186, index2); - span3 = CollectionsMarshal.AsSpan(list186); + List list207 = new List(index2); + CollectionsMarshal.SetCount(list207, index2); + span3 = CollectionsMarshal.AsSpan(list207); num2 = 0; span3[num2] = new QuestStep(EInteractionType.CompleteQuest, 1053655u, new Vector3(231.64722f, 50.749847f, 210.25403f), 1186) { @@ -466686,205 +467043,205 @@ public static class AssemblyQuestLoader } } }; - obj124.Steps = list186; - reference147 = obj124; - questRoot16.QuestSequence = list172; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(5380); - QuestRoot questRoot17 = new QuestRoot(); + obj139.Steps = list207; + reference162 = obj139; + questRoot19.QuestSequence = list193; + AddQuest(questId19, questRoot19); + QuestId questId20 = new QuestId(5380); + QuestRoot questRoot20 = new QuestRoot(); num = 1; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - span = CollectionsMarshal.AsSpan(list187); + List list208 = new List(num); + CollectionsMarshal.SetCount(list208, num); + span = CollectionsMarshal.AsSpan(list208); index = 0; span[index] = "WigglyMuffin"; - questRoot17.Author = list187; + questRoot20.Author = list208; index = 4; - List list188 = new List(index); - CollectionsMarshal.SetCount(list188, index); - span2 = CollectionsMarshal.AsSpan(list188); + List list209 = new List(index); + CollectionsMarshal.SetCount(list209, index); + span2 = CollectionsMarshal.AsSpan(list209); num = 0; - ref QuestSequence reference148 = ref span2[num]; - QuestSequence obj125 = new QuestSequence + ref QuestSequence reference163 = ref span2[num]; + QuestSequence obj140 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - span3 = CollectionsMarshal.AsSpan(list189); + List list210 = new List(num2); + CollectionsMarshal.SetCount(list210, num2); + span3 = CollectionsMarshal.AsSpan(list210); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1039457u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - obj125.Steps = list189; - reference148 = obj125; + obj140.Steps = list210; + reference163 = obj140; num++; - ref QuestSequence reference149 = ref span2[num]; - QuestSequence obj126 = new QuestSequence + ref QuestSequence reference164 = ref span2[num]; + QuestSequence obj141 = new QuestSequence { Sequence = 1 }; index2 = 1; - List list190 = new List(index2); - CollectionsMarshal.SetCount(list190, index2); - span3 = CollectionsMarshal.AsSpan(list190); + List list211 = new List(index2); + CollectionsMarshal.SetCount(list211, index2); + span3 = CollectionsMarshal.AsSpan(list211); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Emote, 1039456u, new Vector3(28.854736f, 0f, 13.351624f), 1278) { Emote = EEmote.Doubt }; - obj126.Steps = list190; - reference149 = obj126; + obj141.Steps = list211; + reference164 = obj141; num++; - ref QuestSequence reference150 = ref span2[num]; - QuestSequence obj127 = new QuestSequence + ref QuestSequence reference165 = ref span2[num]; + QuestSequence obj142 = new QuestSequence { Sequence = 2 }; num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - span3 = CollectionsMarshal.AsSpan(list191); + List list212 = new List(num2); + CollectionsMarshal.SetCount(list212, num2); + span3 = CollectionsMarshal.AsSpan(list212); index2 = 0; span3[index2] = new QuestStep(EInteractionType.Interact, 1053908u, new Vector3(28.854736f, 0f, 13.351624f), 1278); - obj127.Steps = list191; - reference150 = obj127; + obj142.Steps = list212; + reference165 = obj142; num++; - ref QuestSequence reference151 = ref span2[num]; - QuestSequence obj128 = new QuestSequence + ref QuestSequence reference166 = ref span2[num]; + QuestSequence obj143 = new QuestSequence { Sequence = byte.MaxValue }; index2 = 1; - List list192 = new List(index2); - CollectionsMarshal.SetCount(list192, index2); - span3 = CollectionsMarshal.AsSpan(list192); + List list213 = new List(index2); + CollectionsMarshal.SetCount(list213, index2); + span3 = CollectionsMarshal.AsSpan(list213); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 2014937u, new Vector3(27.60829f, 0f, 11.74576f), 1278) { NextQuestId = new QuestId(5381) }; - obj128.Steps = list192; - reference151 = obj128; - questRoot17.QuestSequence = list188; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(5381); - QuestRoot questRoot18 = new QuestRoot(); + obj143.Steps = list213; + reference166 = obj143; + questRoot20.QuestSequence = list209; + AddQuest(questId20, questRoot20); + QuestId questId21 = new QuestId(5381); + QuestRoot questRoot21 = new QuestRoot(); num = 1; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - span = CollectionsMarshal.AsSpan(list193); + List list214 = new List(num); + CollectionsMarshal.SetCount(list214, num); + span = CollectionsMarshal.AsSpan(list214); index = 0; span[index] = "WigglyMuffin"; - questRoot18.Author = list193; + questRoot21.Author = list214; index = 3; - List list194 = new List(index); - CollectionsMarshal.SetCount(list194, index); - span2 = CollectionsMarshal.AsSpan(list194); + List list215 = new List(index); + CollectionsMarshal.SetCount(list215, index); + span2 = CollectionsMarshal.AsSpan(list215); num = 0; - ref QuestSequence reference152 = ref span2[num]; - QuestSequence obj129 = new QuestSequence + ref QuestSequence reference167 = ref span2[num]; + QuestSequence obj144 = new QuestSequence { Sequence = 0 }; num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - span3 = CollectionsMarshal.AsSpan(list195); + List list216 = new List(num2); + CollectionsMarshal.SetCount(list216, num2); + span3 = CollectionsMarshal.AsSpan(list216); index2 = 0; span3[index2] = new QuestStep(EInteractionType.AcceptQuest, 1053906u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - obj129.Steps = list195; - reference152 = obj129; + obj144.Steps = list216; + reference167 = obj144; num++; - ref QuestSequence reference153 = ref span2[num]; - QuestSequence obj130 = new QuestSequence + ref QuestSequence reference168 = ref span2[num]; + QuestSequence obj145 = new QuestSequence { Sequence = 1 }; index2 = 1; - List list196 = new List(index2); - CollectionsMarshal.SetCount(list196, index2); - span3 = CollectionsMarshal.AsSpan(list196); + List list217 = new List(index2); + CollectionsMarshal.SetCount(list217, index2); + span3 = CollectionsMarshal.AsSpan(list217); num2 = 0; span3[num2] = new QuestStep(EInteractionType.Interact, 1053906u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - obj130.Steps = list196; - reference153 = obj130; + obj145.Steps = list217; + reference168 = obj145; num++; - ref QuestSequence reference154 = ref span2[num]; - QuestSequence obj131 = new QuestSequence + ref QuestSequence reference169 = ref span2[num]; + QuestSequence obj146 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - span3 = CollectionsMarshal.AsSpan(list197); + List list218 = new List(num2); + CollectionsMarshal.SetCount(list218, num2); + span3 = CollectionsMarshal.AsSpan(list218); index2 = 0; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1053908u, new Vector3(28.854736f, 0f, 13.351624f), 1278) { NextQuestId = new QuestId(5382) }; - obj131.Steps = list197; - reference154 = obj131; - questRoot18.QuestSequence = list194; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(5382); - QuestRoot questRoot19 = new QuestRoot(); + obj146.Steps = list218; + reference169 = obj146; + questRoot21.QuestSequence = list215; + AddQuest(questId21, questRoot21); + QuestId questId22 = new QuestId(5382); + QuestRoot questRoot22 = new QuestRoot(); num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - span = CollectionsMarshal.AsSpan(list198); + List list219 = new List(num); + CollectionsMarshal.SetCount(list219, num); + span = CollectionsMarshal.AsSpan(list219); index = 0; span[index] = "WigglyMuffin"; - questRoot19.Author = list198; + questRoot22.Author = list219; index = 2; - List list199 = new List(index); - CollectionsMarshal.SetCount(list199, index); - span2 = CollectionsMarshal.AsSpan(list199); + List list220 = new List(index); + CollectionsMarshal.SetCount(list220, index); + span2 = CollectionsMarshal.AsSpan(list220); num = 0; - ref QuestSequence reference155 = ref span2[num]; - QuestSequence obj132 = new QuestSequence + ref QuestSequence reference170 = ref span2[num]; + QuestSequence obj147 = new QuestSequence { Sequence = 0 }; index2 = 1; - List list200 = new List(index2); - CollectionsMarshal.SetCount(list200, index2); - span3 = CollectionsMarshal.AsSpan(list200); + List list221 = new List(index2); + CollectionsMarshal.SetCount(list221, index2); + span3 = CollectionsMarshal.AsSpan(list221); num2 = 0; - ref QuestStep reference156 = ref span3[num2]; + ref QuestStep reference171 = ref span3[num2]; QuestStep questStep24 = new QuestStep(EInteractionType.AcceptQuest, 1053906u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - num4 = 1; - List list201 = new List(num4); - CollectionsMarshal.SetCount(list201, num4); - span7 = CollectionsMarshal.AsSpan(list201); - num3 = 0; - span7[num3] = new DialogueChoice + num3 = 1; + List list222 = new List(num3); + CollectionsMarshal.SetCount(list222, num3); + span7 = CollectionsMarshal.AsSpan(list222); + num4 = 0; + span7[num4] = 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 }; - questStep24.DialogueChoices = list201; - reference156 = questStep24; - obj132.Steps = list200; - reference155 = obj132; + questStep24.DialogueChoices = list222; + reference171 = questStep24; + obj147.Steps = list221; + reference170 = obj147; num++; - ref QuestSequence reference157 = ref span2[num]; - QuestSequence obj133 = new QuestSequence + ref QuestSequence reference172 = ref span2[num]; + QuestSequence obj148 = new QuestSequence { Sequence = byte.MaxValue }; num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - span3 = CollectionsMarshal.AsSpan(list202); + List list223 = new List(num2); + CollectionsMarshal.SetCount(list223, num2); + span3 = CollectionsMarshal.AsSpan(list223); index2 = 0; span3[index2] = new QuestStep(EInteractionType.CompleteQuest, 1053905u, new Vector3(29.55664f, 0f, 10.788086f), 1278); - obj133.Steps = list202; - reference157 = obj133; - questRoot19.QuestSequence = list199; - AddQuest(questId19, questRoot19); + obj148.Steps = list223; + reference172 = obj148; + questRoot22.QuestSequence = list220; + AddQuest(questId22, questRoot22); } private static void LoadQuests108() diff --git a/Questionable/Questionable.Windows.JournalComponents/QuestJournalUtils.cs b/Questionable/Questionable.Windows.JournalComponents/QuestJournalUtils.cs index efa1395..a142e22 100644 --- a/Questionable/Questionable.Windows.JournalComponents/QuestJournalUtils.cs +++ b/Questionable/Questionable.Windows.JournalComponents/QuestJournalUtils.cs @@ -5,6 +5,7 @@ using Dalamud.Interface; using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; using Microsoft.Extensions.Logging; using Questionable.Controller; using Questionable.Data; @@ -59,7 +60,7 @@ internal sealed class QuestJournalUtils { return; } - using (ImRaii.Disabled(!_questFunctions.IsReadyToAcceptQuest(questInfo.QuestId))) + using (ImRaii.Disabled(!_questFunctions.IsReadyToAcceptQuest(questInfo.QuestId) || quest == null || quest.Root.Disabled)) { if (ImGui.MenuItem("Start as next quest")) { @@ -67,6 +68,21 @@ internal sealed class QuestJournalUtils _questController.Start(label); } } + if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + if (!_questFunctions.IsReadyToAcceptQuest(questInfo.QuestId)) + { + ImGui.SetTooltip("Quest is not ready to accept"); + } + else if (quest == null) + { + ImGui.SetTooltip("Quest has no path available"); + } + else if (quest.Root.Disabled) + { + ImGui.SetTooltip("Quest path is disabled"); + } + } List incompletePrerequisiteQuests = GetIncompletePrerequisiteQuests(questInfo); using (ImRaii.Disabled(incompletePrerequisiteQuests.Count == 0)) { @@ -84,7 +100,7 @@ internal sealed class QuestJournalUtils { if (incompletePrerequisiteQuests.Count == 0) { - ImGui.SetTooltip("No quests to add (quest may be complete or already in priority)"); + ImGui.SetTooltip("No quests to add (quest may be complete, disabled, locked with no unlock path, or already in priority)"); } else { @@ -101,26 +117,44 @@ internal sealed class QuestJournalUtils } } - private List GetIncompletePrerequisiteQuests(IQuestInfo questInfo) + private unsafe List GetIncompletePrerequisiteQuests(IQuestInfo questInfo) { List list = new List(); HashSet visited = new HashSet(); CollectPrerequisitesRecursive(questInfo, list, visited); list.Reverse(); + Quest quest2; List list2 = (from qId in list.Where(delegate(ElementId qId) { if (!_questData.TryGetQuestInfo(qId, out IQuestInfo questInfo2)) { return false; } - return questInfo2.IsRepeatable || !_questFunctions.IsQuestComplete(qId); + if (questInfo2.IsRepeatable && qId is QuestId questId2) + { + if (QuestManager.Instance()->IsDailyQuestCompleted(questId2.Value)) + { + return false; + } + } + else if (_questFunctions.IsQuestComplete(qId)) + { + return false; + } + return true; }) where !_questFunctions.IsQuestUnobtainable(qId) where _questRegistry.IsKnownQuest(qId) + where (!_questRegistry.TryGetQuest(qId, out quest2) || !quest2.Root.Disabled) ? true : false where !_questController.ManualPriorityQuests.Any((Quest q) => q.Id.Equals(qId)) select qId).ToList(); list2.Reverse(); - if ((questInfo.IsRepeatable || !_questFunctions.IsQuestComplete(questInfo.QuestId)) && !_questFunctions.IsQuestUnobtainable(questInfo.QuestId) && _questRegistry.IsKnownQuest(questInfo.QuestId) && !_questController.ManualPriorityQuests.Any((Quest q) => q.Id.Equals(questInfo.QuestId))) + bool flag = false; + flag = ((!questInfo.IsRepeatable || !(questInfo.QuestId is QuestId questId)) ? (!_questFunctions.IsQuestComplete(questInfo.QuestId)) : (!QuestManager.Instance()->IsDailyQuestCompleted(questId.Value))); + Quest quest; + bool flag2 = _questRegistry.TryGetQuest(questInfo.QuestId, out quest) && quest.Root.Disabled; + bool flag3 = _questFunctions.IsQuestLocked(questInfo.QuestId) && questInfo.PreviousQuests.Count == 0; + if (flag && !flag2 && !flag3 && !_questFunctions.IsQuestUnobtainable(questInfo.QuestId) && _questRegistry.IsKnownQuest(questInfo.QuestId) && !_questController.ManualPriorityQuests.Any((Quest q) => q.Id.Equals(questInfo.QuestId))) { list2.Add(questInfo.QuestId); } @@ -194,7 +228,7 @@ internal sealed class QuestJournalUtils else { _logger.LogWarning("No quests were added to priority list for '{QuestName}'", questInfo.Name); - _chatGui.Print("No quests to add (may be complete or already in priority).", "Questionable", 576); + _chatGui.Print("No quests to add (may be complete, disabled, locked with no unlock path, or already in priority).", "Questionable", 576); } }