local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1 L0_1 = {} L0_1.group_id = 133003490 L1_1 = {} L2_1 = {} L2_1.config_id = 490001 L2_1.monster_id = 21020201 L3_1 = {} L3_1.x = 2326.522 L3_1.y = 279.743 L3_1.z = -1684.675 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 224.145 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 15 L2_1.drop_id = 1000100 L2_1.disableWander = true L3_1 = {} L4_1 = 1007 L3_1[1] = L4_1 L2_1.affix = L3_1 L2_1.pose_id = 401 L2_1.area_id = 1 L3_1 = {} L3_1.config_id = 490002 L3_1.monster_id = 21010201 L4_1 = {} L4_1.x = 2327.329 L4_1.y = 280.392 L4_1.z = -1690.51 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 302.95 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 15 L3_1.drop_id = 1000100 L3_1.pose_id = 9012 L3_1.area_id = 1 L4_1 = {} L4_1.config_id = 490003 L4_1.monster_id = 21010201 L5_1 = {} L5_1.x = 2321.563 L5_1.y = 279.877 L5_1.z = -1686.928 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 125.388 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 15 L4_1.drop_id = 1000100 L4_1.pose_id = 9012 L4_1.area_id = 1 L5_1 = {} L5_1.config_id = 490004 L5_1.monster_id = 21010201 L6_1 = {} L6_1.x = 2322.408 L6_1.y = 280.528 L6_1.z = -1692.096 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 22.511 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 15 L5_1.drop_id = 1000100 L5_1.pose_id = 9012 L5_1.area_id = 1 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 490005 L2_1.gadget_id = 70310006 L3_1 = {} L3_1.x = 2324.546 L3_1.y = 279.986 L3_1.z = -1688.837 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 0.0 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 15 L2_1.area_id = 1 L3_1 = {} L3_1.config_id = 490007 L3_1.gadget_id = 70210102 L4_1 = {} L4_1.x = 2428.975 L4_1.y = 321.448 L4_1.z = -1743.373 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 = 6 L3_1.chest_drop_id = 1000100 L3_1.drop_count = 1 L3_1.area_id = 1 L4_1 = {} L4_1.config_id = 490008 L4_1.gadget_id = 70210102 L5_1 = {} L5_1.x = 2391.599 L5_1.y = 297.773 L5_1.z = -1798.829 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 = 11 L4_1.chest_drop_id = 1000100 L4_1.drop_count = 1 L4_1.area_id = 1 L5_1 = {} L5_1.config_id = 490009 L5_1.gadget_id = 70210102 L6_1 = {} L6_1.x = 2294.724 L6_1.y = 284.296 L6_1.z = -1738.0 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 = 11 L5_1.chest_drop_id = 1000100 L5_1.drop_count = 1 L5_1.area_id = 1 L6_1 = {} L6_1.config_id = 490010 L6_1.gadget_id = 70210102 L7_1 = {} L7_1.x = 2307.719 L7_1.y = 280.137 L7_1.z = -1684.42 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 = 11 L6_1.chest_drop_id = 1000100 L6_1.drop_count = 1 L6_1.area_id = 1 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1490006 L2_1.name = "GADGET_STATE_CHANGE_490006" L3_1 = EventType L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_490006" L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_490006" L3_1 = {} L3_1.config_id = 1490011 L3_1.name = "GADGET_STATE_CHANGE_490011" L4_1 = EventType L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_490011" L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_490011" L4_1 = {} L4_1.config_id = 1490012 L4_1.name = "GADGET_STATE_CHANGE_490012" L5_1 = EventType L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_490012" L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_490012" L5_1 = {} L5_1.config_id = 1490013 L5_1.name = "GADGET_STATE_CHANGE_490013" L6_1 = EventType L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_490013" L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_490013" L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "A" L2_1.value = 0 L2_1.no_refresh = false L3_1 = {} L3_1.configId = 2 L3_1.name = "B" L3_1.value = 0 L3_1.no_refresh = false L4_1 = {} L4_1.configId = 3 L4_1.name = "C" L4_1.value = 0 L4_1.no_refresh = false L5_1 = {} L5_1.configId = 4 L5_1.name = "D" L5_1.value = 0 L5_1.no_refresh = false L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 variables = L1_1 L1_1 = {} L1_1.suite = 1 L1_1.end_suite = 0 L1_1.rand_suite = false init_config = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L2_1.monsters = L3_1 L3_1 = {} L2_1.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L2_1.triggers = L3_1 L2_1.rand_weight = 100 L2_1.ban_refresh = true L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 490007 L6_1 = 490008 L7_1 = 490009 L8_1 = 490010 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "GADGET_STATE_CHANGE_490006" L6_1 = "GADGET_STATE_CHANGE_490011" L7_1 = "GADGET_STATE_CHANGE_490012" L8_1 = "GADGET_STATE_CHANGE_490013" 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 L3_1.ban_refresh = true L1_1[1] = L2_1 L1_1[2] = L3_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 490007 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_490006 = L1_1 function L1_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 = "A" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "13300349001" L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "A" L2_2 = L2_2(L3_2, L4_2) L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "B" L3_2 = L3_2(L4_2, L5_2) L2_2 = L2_2 + L3_2 L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "C" L3_2 = L3_2(L4_2, L5_2) L2_2 = L2_2 + L3_2 L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "D" L3_2 = L3_2(L4_2, L5_2) L2_2 = L2_2 + L3_2 if L2_2 < 4 then L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 1110035 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end else L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 1110036 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_490006 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 490008 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_490011 = L1_1 function L1_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 = "B" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "13300349002" L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "A" L2_2 = L2_2(L3_2, L4_2) L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "B" L3_2 = L3_2(L4_2, L5_2) L2_2 = L2_2 + L3_2 L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "C" L3_2 = L3_2(L4_2, L5_2) L2_2 = L2_2 + L3_2 L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "D" L3_2 = L3_2(L4_2, L5_2) L2_2 = L2_2 + L3_2 if L2_2 < 4 then L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 1110038 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end else L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 1110036 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_490011 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 490009 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_490012 = L1_1 function L1_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 = "C" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "13300349003" L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "A" L2_2 = L2_2(L3_2, L4_2) L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "B" L3_2 = L3_2(L4_2, L5_2) L2_2 = L2_2 + L3_2 L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "C" L3_2 = L3_2(L4_2, L5_2) L2_2 = L2_2 + L3_2 L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "D" L3_2 = L3_2(L4_2, L5_2) L2_2 = L2_2 + L3_2 if L2_2 < 4 then L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 1110039 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end else L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 1110036 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_490012 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 490010 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_490013 = L1_1 function L1_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 = "D" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "13300349004" L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "A" L2_2 = L2_2(L3_2, L4_2) L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "B" L3_2 = L3_2(L4_2, L5_2) L2_2 = L2_2 + L3_2 L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "C" L3_2 = L3_2(L4_2, L5_2) L2_2 = L2_2 + L3_2 L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "D" L3_2 = L3_2(L4_2, L5_2) L2_2 = L2_2 + L3_2 if L2_2 < 4 then L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 1110042 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end else L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 1110036 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_490013 = L1_1