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 = 133104146 L1_1 = {} L1_1.gadget_1 = 146011 L1_1.gadget_2 = 146012 L1_1.gadget_3 = 146013 L2_1 = {} L3_1 = {} L3_1.config_id = 146001 L3_1.monster_id = 26040102 L4_1 = {} L4_1.x = 483.64 L4_1.y = 203.097 L4_1.z = 606.438 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 42.754 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 = 6 L4_1 = {} L4_1.config_id = 146002 L4_1.monster_id = 26040101 L5_1 = {} L5_1.x = 508.067 L5_1.y = 203.805 L5_1.z = 597.259 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 342.244 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 = 6 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 = 146003 L3_1.gadget_id = 70290009 L4_1 = {} L4_1.x = 499.81 L4_1.y = 202.666 L4_1.z = 620.853 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 = 6 L4_1 = {} L4_1.config_id = 146004 L4_1.gadget_id = 70500000 L5_1 = {} L5_1.x = 499.81 L5_1.y = 202.666 L5_1.z = 620.853 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 = 3005 L4_1.owner = 146003 L4_1.area_id = 6 L5_1 = {} L5_1.config_id = 146007 L5_1.gadget_id = 70290009 L6_1 = {} L6_1.x = 508.668 L6_1.y = 203.116 L6_1.z = 617.29 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 = 6 L6_1 = {} L6_1.config_id = 146008 L6_1.gadget_id = 70500000 L7_1 = {} L7_1.x = 508.668 L7_1.y = 203.116 L7_1.z = 617.29 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 = 3005 L6_1.owner = 146007 L6_1.area_id = 6 L7_1 = {} L7_1.config_id = 146009 L7_1.gadget_id = 70290009 L8_1 = {} L8_1.x = 515.187 L8_1.y = 203.548 L8_1.z = 611.673 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 = 6 L8_1 = {} L8_1.config_id = 146010 L8_1.gadget_id = 70500000 L9_1 = {} L9_1.x = 515.187 L9_1.y = 203.548 L9_1.z = 611.673 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 = 3005 L8_1.owner = 146009 L8_1.area_id = 6 L9_1 = {} L9_1.config_id = 146011 L9_1.gadget_id = 70220008 L10_1 = {} L10_1.x = 507.709 L10_1.y = 203.589 L10_1.z = 615.009 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 7.011 L10_1.y = 150.987 L10_1.z = 356.127 L9_1.rot = L10_1 L9_1.level = 24 L9_1.isOneoff = true L9_1.persistent = true L9_1.area_id = 6 L10_1 = {} L10_1.config_id = 146012 L10_1.gadget_id = 70220008 L11_1 = {} L11_1.x = 511.635 L11_1.y = 203.038 L11_1.z = 617.345 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 354.701 L11_1.y = 202.063 L11_1.z = 353.777 L10_1.rot = L11_1 L10_1.level = 24 L10_1.isOneoff = true L10_1.persistent = true L10_1.area_id = 6 L11_1 = {} L11_1.config_id = 146013 L11_1.gadget_id = 70220008 L12_1 = {} L12_1.x = 507.531 L12_1.y = 202.63 L12_1.z = 619.541 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 14.907 L12_1.y = 90.526 L12_1.z = 356.678 L11_1.rot = L12_1 L11_1.level = 24 L11_1.isOneoff = true L11_1.persistent = true L11_1.area_id = 6 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 = 146016 L4_1 = RegionShape L4_1 = L4_1.SPHERE L3_1.shape = L4_1 L3_1.radius = 40 L4_1 = {} L4_1.x = 504.322 L4_1.y = 204.509 L4_1.z = 608.901 L3_1.pos = L4_1 L3_1.area_id = 6 L2_1[1] = L3_1 regions = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1146014 L3_1.name = "VARIABLE_CHANGE_146014" 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_146014" L3_1.action = "action_EVENT_VARIABLE_CHANGE_146014" L4_1 = {} L4_1.config_id = 1146015 L4_1.name = "ANY_GADGET_DIE_146015" 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_146015" L4_1.action = "action_EVENT_ANY_GADGET_DIE_146015" L4_1.trigger_count = 3 L5_1 = {} L5_1.config_id = 1146016 L5_1.name = "ENTER_REGION_146016" 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_146016" L5_1.action = "action_EVENT_ENTER_REGION_146016" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1146017 L6_1.name = "ANY_MONSTER_DIE_146017" 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_146017" L6_1.action = "action_EVENT_ANY_MONSTER_DIE_146017" 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 = 146003 L6_1 = 146004 L7_1 = 146007 L8_1 = 146008 L9_1 = 146009 L10_1 = 146010 L11_1 = 146011 L12_1 = 146012 L13_1 = 146013 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 = 146016 L4_1[1] = L5_1 L3_1.regions = L4_1 L4_1 = {} L5_1 = "VARIABLE_CHANGE_146014" L6_1 = "ANY_GADGET_DIE_146015" L7_1 = "ENTER_REGION_146016" L8_1 = "ANY_MONSTER_DIE_146017" 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 = 146001 L7_1 = 146002 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_146014 = 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 = 133104146 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 = 133104146 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_146014 = 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_146015 = 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_146015 = 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 ~= 146016 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_146016 = 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_146016 = 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_146017 = 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 = 133104146 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_146017 = L2_1