local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1 L0_1 = {} L0_1.group_id = 133105342 L1_1 = {} L1_1.gadget_1 = 342011 L1_1.gadget_2 = 342012 L1_1.gadget_3 = 342013 L2_1 = {} L3_1 = {} L3_1.config_id = 342001 L3_1.monster_id = 26040103 L4_1 = {} L4_1.x = 553.988 L4_1.y = 210.05 L4_1.z = -348.721 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 293.776 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 19 L3_1.drop_tag = "\229\178\169\233\190\153\232\156\165" L3_1.area_id = 9 L4_1 = {} L4_1.config_id = 342002 L4_1.monster_id = 26040101 L5_1 = {} L5_1.x = 546.748 L5_1.y = 206.014 L5_1.z = -328.036 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 212.104 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 19 L4_1.drop_tag = "\229\178\169\233\190\153\232\156\165" L4_1.area_id = 9 L2_1[1] = L3_1 L2_1[2] = L4_1 monsters = L2_1 L2_1 = {} npcs = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 342003 L3_1.gadget_id = 70290008 L4_1 = {} L4_1.x = 534.988 L4_1.y = 202.586 L4_1.z = -345.608 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 0.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L3_1.isOneoff = true L3_1.persistent = true L3_1.area_id = 9 L4_1 = {} L4_1.config_id = 342004 L4_1.gadget_id = 70500000 L5_1 = {} L5_1.x = 534.988 L5_1.y = 202.586 L5_1.z = -345.608 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 0.0 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L4_1.point_type = 3008 L4_1.owner = 342003 L4_1.area_id = 9 L5_1 = {} L5_1.config_id = 342005 L5_1.gadget_id = 70290008 L6_1 = {} L6_1.x = 530.228 L6_1.y = 201.315 L6_1.z = -340.472 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 0.0 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L5_1.isOneoff = true L5_1.persistent = true L5_1.area_id = 9 L6_1 = {} L6_1.config_id = 342006 L6_1.gadget_id = 70500000 L7_1 = {} L7_1.x = 530.228 L7_1.y = 201.315 L7_1.z = -340.472 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 0.0 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L6_1.point_type = 3008 L6_1.owner = 342005 L6_1.area_id = 9 L7_1 = {} L7_1.config_id = 342007 L7_1.gadget_id = 70290008 L8_1 = {} L8_1.x = 536.565 L8_1.y = 202.787 L8_1.z = -338.108 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 0.0 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L7_1.isOneoff = true L7_1.persistent = true L7_1.area_id = 9 L8_1 = {} L8_1.config_id = 342008 L8_1.gadget_id = 70500000 L9_1 = {} L9_1.x = 536.565 L9_1.y = 202.787 L9_1.z = -338.108 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 0.0 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L8_1.point_type = 3008 L8_1.owner = 342007 L8_1.area_id = 9 L9_1 = {} L9_1.config_id = 342011 L9_1.gadget_id = 70220008 L10_1 = {} L10_1.x = 534.569 L10_1.y = 202.36 L10_1.z = -311.418 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 2.172 L10_1.y = 151.315 L10_1.z = 356.153 L9_1.rot = L10_1 L9_1.level = 24 L9_1.isOneoff = true L9_1.persistent = true L9_1.area_id = 9 L10_1 = {} L10_1.config_id = 342012 L10_1.gadget_id = 70220008 L11_1 = {} L11_1.x = 559.4 L11_1.y = 212.765 L11_1.z = -368.847 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 276.614 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 24 L10_1.isOneoff = true L10_1.persistent = true L10_1.area_id = 9 L11_1 = {} L11_1.config_id = 342013 L11_1.gadget_id = 70220008 L12_1 = {} L12_1.x = 533.943 L12_1.y = 202.303 L12_1.z = -341.397 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 348.07 L12_1.y = 92.061 L12_1.z = 356.719 L11_1.rot = L12_1 L11_1.level = 24 L11_1.isOneoff = true L11_1.persistent = true L11_1.area_id = 9 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 L2_1[6] = L8_1 L2_1[7] = L9_1 L2_1[8] = L10_1 L2_1[9] = L11_1 gadgets = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 342016 L4_1 = RegionShape L4_1 = L4_1.SPHERE L3_1.shape = L4_1 L3_1.radius = 40 L4_1 = {} L4_1.x = 544.149 L4_1.y = 206.297 L4_1.z = -340.1 L3_1.pos = L4_1 L3_1.area_id = 9 L2_1[1] = L3_1 regions = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1342014 L3_1.name = "VARIABLE_CHANGE_342014" L4_1 = EventType L4_1 = L4_1.EVENT_VARIABLE_CHANGE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_342014" L3_1.action = "action_EVENT_VARIABLE_CHANGE_342014" L4_1 = {} L4_1.config_id = 1342015 L4_1.name = "ANY_GADGET_DIE_342015" L5_1 = EventType L5_1 = L5_1.EVENT_ANY_GADGET_DIE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_ANY_GADGET_DIE_342015" L4_1.action = "action_EVENT_ANY_GADGET_DIE_342015" L4_1.trigger_count = 3 L5_1 = {} L5_1.config_id = 1342016 L5_1.name = "ENTER_REGION_342016" L6_1 = EventType L6_1 = L6_1.EVENT_ENTER_REGION L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_ENTER_REGION_342016" L5_1.action = "action_EVENT_ENTER_REGION_342016" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1342017 L6_1.name = "ANY_MONSTER_DIE_342017" L7_1 = EventType L7_1 = L7_1.EVENT_ANY_MONSTER_DIE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_342017" L6_1.action = "action_EVENT_ANY_MONSTER_DIE_342017" L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 triggers = L2_1 L2_1 = {} L3_1 = {} L3_1.configId = 1 L3_1.name = "flag" L3_1.value = 0 L3_1.no_refresh = false L4_1 = {} L4_1.configId = 2 L4_1.name = "PuzzleFinish" L4_1.value = 0 L4_1.no_refresh = false L2_1[1] = L3_1 L2_1[2] = L4_1 variables = L2_1 L2_1 = {} L2_1.suite = 1 L2_1.end_suite = 3 L2_1.rand_suite = false init_config = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 342003 L6_1 = 342004 L7_1 = 342005 L8_1 = 342006 L9_1 = 342007 L10_1 = 342008 L11_1 = 342011 L12_1 = 342012 L13_1 = 342013 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L4_1[5] = L9_1 L4_1[6] = L10_1 L4_1[7] = L11_1 L4_1[8] = L12_1 L4_1[9] = L13_1 L3_1.gadgets = L4_1 L4_1 = {} L5_1 = 342016 L4_1[1] = L5_1 L3_1.regions = L4_1 L4_1 = {} L5_1 = "VARIABLE_CHANGE_342014" L6_1 = "ANY_GADGET_DIE_342015" L7_1 = "ENTER_REGION_342016" L8_1 = "ANY_MONSTER_DIE_342017" L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L6_1 = 342001 L7_1 = 342002 L5_1[1] = L6_1 L5_1[2] = L7_1 L4_1.monsters = L5_1 L5_1 = {} L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L4_1.triggers = L5_1 L4_1.rand_weight = 100 L5_1 = {} L6_1 = {} L5_1.monsters = L6_1 L6_1 = {} L5_1.gadgets = L6_1 L6_1 = {} L5_1.regions = L6_1 L6_1 = {} L5_1.triggers = L6_1 L5_1.rand_weight = 100 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 suites = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 L3_2 = A1_2.param2 if L2_2 == L3_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "flag" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 3 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_342014 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 133105342 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "PuzzleFinish" L5_2 = 1 L6_2 = 133105342 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable_by_group" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_342014 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_1 L3_2 = A1_2.param1 if L2_2 ~= L3_2 then L2_2 = L1_1.gadget_2 L3_2 = A1_2.param1 if L2_2 ~= L3_2 then L2_2 = L1_1.gadget_3 L3_2 = A1_2.param1 if L2_2 ~= L3_2 then L2_2 = false return L2_2 end end end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_342015 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "flag" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : change_GroupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ANY_GADGET_DIE_342015 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 342016 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetRegionEntityCount L3_2 = A0_2 L4_2 = {} L5_2 = A1_2.source_eid L4_2.region_eid = L5_2 L5_2 = EntityType L5_2 = L5_2.AVATAR L4_2.entity_type = L5_2 L2_2 = L2_2(L3_2, L4_2) if L2_2 < 1 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ENTER_REGION_342016 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "PuzzleFinish" L2_2 = L2_2(L3_2, L4_2) if 0 == L2_2 then L2_2 = ScriptLib L2_2 = L2_2.ExpeditionChallengeEnterRegion L3_2 = A0_2 L4_2 = false L2_2(L3_2, L4_2) else L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "PuzzleFinish" L2_2 = L2_2(L3_2, L4_2) if 1 == L2_2 then L2_2 = ScriptLib L2_2 = L2_2.ExpeditionChallengeEnterRegion L3_2 = A0_2 L4_2 = true L2_2(L3_2, L4_2) end end L2_2 = 0 return L2_2 end action_EVENT_ENTER_REGION_342016 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupMonsterCount L3_2 = A0_2 L2_2 = L2_2(L3_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_MONSTER_DIE_342017 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.FinishExpeditionChallenge L3_2 = A0_2 L2_2(L3_2) L2_2 = ScriptLib L2_2 = L2_2.GoToGroupSuite L3_2 = A0_2 L4_2 = 133105342 L5_2 = 3 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ANY_MONSTER_DIE_342017 = L2_1