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, L14_1, L15_1, L16_1, L17_1, L18_1 L0_1 = {} L0_1.group_id = 144003013 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 13001 L2_1.gadget_id = 70710400 L3_1 = {} L3_1.x = -243.33 L3_1.y = 120.197 L3_1.z = 403.492 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 4.029 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L2_1.persistent = true L2_1.mark_flag = 16 L2_1.area_id = 103 L3_1 = {} L3_1.config_id = 13002 L3_1.gadget_id = 70710401 L4_1 = {} L4_1.x = -245.853 L4_1.y = 120.086 L4_1.z = 398.902 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 119.33 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L3_1.persistent = true L3_1.mark_flag = 17 L3_1.area_id = 103 L4_1 = {} L4_1.config_id = 13003 L4_1.gadget_id = 70710402 L5_1 = {} L5_1.x = -243.457 L5_1.y = 120.091 L5_1.z = 397.368 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 90.634 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L4_1.persistent = true L4_1.mark_flag = 18 L4_1.area_id = 103 L5_1 = {} L5_1.config_id = 13004 L5_1.gadget_id = 70710403 L6_1 = {} L6_1.x = -241.002 L6_1.y = 120.11 L6_1.z = 398.557 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 64.734 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L5_1.persistent = true L5_1.mark_flag = 19 L5_1.area_id = 103 L6_1 = {} L6_1.config_id = 13009 L6_1.gadget_id = 70310058 L7_1 = {} L7_1.x = -243.105 L7_1.y = 122.039 L7_1.z = 426.611 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 177.488 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L6_1.area_id = 103 L7_1 = {} L7_1.config_id = 13010 L7_1.gadget_id = 70710411 L8_1 = {} L8_1.x = -245.716 L8_1.y = 120.98 L8_1.z = 399.019 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.persistent = true L7_1.interact_id = 38 L7_1.area_id = 103 L8_1 = {} L8_1.config_id = 13011 L8_1.gadget_id = 70710411 L9_1 = {} L9_1.x = -243.441 L9_1.y = 120.99 L9_1.z = 397.594 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.persistent = true L8_1.interact_id = 39 L8_1.area_id = 103 L9_1 = {} L9_1.config_id = 13012 L9_1.gadget_id = 70710411 L10_1 = {} L10_1.x = -241.068 L10_1.y = 120.99 L10_1.z = 398.705 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 0.0 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 1 L9_1.persistent = true L9_1.interact_id = 40 L9_1.area_id = 103 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 L1_1[6] = L7_1 L1_1[7] = L8_1 L1_1[8] = L9_1 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1013005 L2_1.name = "GADGET_STATE_CHANGE_13005" 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_13005" L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_13005" L3_1 = {} L3_1.config_id = 1013006 L3_1.name = "GADGET_STATE_CHANGE_13006" 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_13006" L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_13006" L4_1 = {} L4_1.config_id = 1013007 L4_1.name = "GADGET_STATE_CHANGE_13007" 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_13007" L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_13007" L5_1 = {} L5_1.config_id = 1013008 L5_1.name = "VARIABLE_CHANGE_13008" L6_1 = EventType L6_1 = L6_1.EVENT_VARIABLE_CHANGE L5_1.event = L6_1 L5_1.source = "SealGear" L5_1.condition = "condition_EVENT_VARIABLE_CHANGE_13008" L5_1.action = "action_EVENT_VARIABLE_CHANGE_13008" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1013013 L6_1.name = "GADGET_STATE_CHANGE_13013" L7_1 = EventType L7_1 = L7_1.EVENT_GADGET_STATE_CHANGE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_13013" L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_13013" L7_1 = {} L7_1.config_id = 1013014 L7_1.name = "GADGET_STATE_CHANGE_13014" L8_1 = EventType L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_13014" L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_13014" L8_1 = {} L8_1.config_id = 1013015 L8_1.name = "GADGET_STATE_CHANGE_13015" L9_1 = EventType L9_1 = L9_1.EVENT_GADGET_STATE_CHANGE L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_13015" L8_1.action = "action_EVENT_GADGET_STATE_CHANGE_13015" L9_1 = {} L9_1.config_id = 1013016 L9_1.name = "QUEST_START_13016" L10_1 = EventType L10_1 = L10_1.EVENT_QUEST_START L9_1.event = L10_1 L9_1.source = "4001306" L9_1.condition = "" L9_1.action = "action_EVENT_QUEST_START_13016" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1013017 L10_1.name = "QUEST_FINISH_13017" L11_1 = EventType L11_1 = L11_1.EVENT_QUEST_FINISH L10_1.event = L11_1 L10_1.source = "4001313" L10_1.condition = "" L10_1.action = "action_EVENT_QUEST_FINISH_13017" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1013018 L11_1.name = "QUEST_FINISH_13018" L12_1 = EventType L12_1 = L12_1.EVENT_QUEST_FINISH L11_1.event = L12_1 L11_1.source = "4001309" L11_1.condition = "" L11_1.action = "action_EVENT_QUEST_FINISH_13018" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1013019 L12_1.name = "QUEST_START_13019" L13_1 = EventType L13_1 = L13_1.EVENT_QUEST_START L12_1.event = L13_1 L12_1.source = "4001306" L12_1.condition = "condition_EVENT_QUEST_START_13019" L12_1.action = "action_EVENT_QUEST_START_13019" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1013020 L13_1.name = "QUEST_START_13020" L14_1 = EventType L14_1 = L14_1.EVENT_QUEST_START L13_1.event = L14_1 L13_1.source = "4001306" L13_1.condition = "condition_EVENT_QUEST_START_13020" L13_1.action = "action_EVENT_QUEST_START_13020" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1013021 L14_1.name = "QUEST_START_13021" L15_1 = EventType L15_1 = L15_1.EVENT_QUEST_START L14_1.event = L15_1 L14_1.source = "4001306" L14_1.condition = "condition_EVENT_QUEST_START_13021" L14_1.action = "action_EVENT_QUEST_START_13021" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1013022 L15_1.name = "QUEST_START_13022" L16_1 = EventType L16_1 = L16_1.EVENT_QUEST_START L15_1.event = L16_1 L15_1.source = "4001306" L15_1.condition = "condition_EVENT_QUEST_START_13022" L15_1.action = "action_EVENT_QUEST_START_13022" L15_1.trigger_count = 0 L16_1 = {} L16_1.config_id = 1013023 L16_1.name = "TIMER_EVENT_13023" L17_1 = EventType L17_1 = L17_1.EVENT_TIMER_EVENT L16_1.event = L17_1 L16_1.source = "AddQuestProgress" L16_1.condition = "condition_EVENT_TIMER_EVENT_13023" L16_1.action = "action_EVENT_TIMER_EVENT_13023" L16_1.trigger_count = 0 L17_1 = {} L17_1.config_id = 1013024 L17_1.name = "QUEST_START_13024" L18_1 = EventType L18_1 = L18_1.EVENT_QUEST_START L17_1.event = L18_1 L17_1.source = "4001306" L17_1.condition = "condition_EVENT_QUEST_START_13024" L17_1.action = "action_EVENT_QUEST_START_13024" L17_1.trigger_count = 0 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 L1_1[6] = L7_1 L1_1[7] = L8_1 L1_1[8] = L9_1 L1_1[9] = L10_1 L1_1[10] = L11_1 L1_1[11] = L12_1 L1_1[12] = L13_1 L1_1[13] = L14_1 L1_1[14] = L15_1 L1_1[15] = L16_1 L1_1[16] = L17_1 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "SealGear" L2_1.value = 0 L2_1.no_refresh = true L3_1 = {} L3_1.configId = 2 L3_1.name = "Gear1" L3_1.value = 0 L3_1.no_refresh = true L4_1 = {} L4_1.configId = 3 L4_1.name = "Gear2" L4_1.value = 0 L4_1.no_refresh = true L5_1 = {} L5_1.configId = 4 L5_1.name = "Gear3" L5_1.value = 0 L5_1.no_refresh = true 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 = {} L4_1 = 13001 L5_1 = 13002 L6_1 = 13003 L7_1 = 13004 L8_1 = 13009 L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L3_1[5] = L8_1 L2_1.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L4_1 = "QUEST_START_13016" L5_1 = "QUEST_FINISH_13017" L6_1 = "QUEST_FINISH_13018" L7_1 = "QUEST_START_13019" L8_1 = "QUEST_START_13020" L9_1 = "QUEST_START_13021" L10_1 = "QUEST_START_13022" L11_1 = "QUEST_START_13024" L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L3_1[5] = L8_1 L3_1[6] = L9_1 L3_1[7] = L10_1 L3_1[8] = L11_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 = {} L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "GADGET_STATE_CHANGE_13005" L6_1 = "GADGET_STATE_CHANGE_13006" L7_1 = "GADGET_STATE_CHANGE_13007" L8_1 = "VARIABLE_CHANGE_13008" L9_1 = "GADGET_STATE_CHANGE_13013" L10_1 = "GADGET_STATE_CHANGE_13014" L11_1 = "GADGET_STATE_CHANGE_13015" L12_1 = "TIMER_EVENT_13023" 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 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L3_1.ban_refresh = true L4_1 = {} L5_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 L4_1.ban_refresh = true L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 13002 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart 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_13005 = 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 = "SealGear" 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 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "Gear1" 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 = ScriptLib L2_2 = L2_2.KillEntityByConfigId L3_2 = A0_2 L4_2 = {} L4_2.config_id = 13010 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : kill_entity_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_13005 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 13004 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart 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_13006 = 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 = "SealGear" 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 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "Gear3" 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 = ScriptLib L2_2 = L2_2.KillEntityByConfigId L3_2 = A0_2 L4_2 = {} L4_2.config_id = 13012 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : kill_entity_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_13006 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 13003 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart 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_13007 = 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 = "SealGear" 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 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "Gear2" 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 = ScriptLib L2_2 = L2_2.KillEntityByConfigId L3_2 = A0_2 L4_2 = {} L4_2.config_id = 13011 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : kill_entity_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_13007 = L1_1 function L1_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 = "SealGear" 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_13008 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.CreateGroupTimerEvent L3_2 = A0_2 L4_2 = 144003013 L5_2 = "AddQuestProgress" L6_2 = 2 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 : create_timerevent_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_13008 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 13010 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart 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_13013 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 13002 L5_2 = GadgetState L5_2 = L5_2.GearStart 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 : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_13013 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 13011 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart 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_13014 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 13003 L5_2 = GadgetState L5_2 = L5_2.GearStart 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 : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_13014 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 13012 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart 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_13015 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 13004 L5_2 = GadgetState L5_2 = L5_2.GearStart 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 : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_13015 = 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.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 144003013 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_QUEST_START_13016 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 13009 L5_2 = GadgetState L5_2 = L5_2.GearStart 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 : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_QUEST_FINISH_13017 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 13009 L5_2 = GadgetState L5_2 = L5_2.Default 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 : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_QUEST_FINISH_13018 = L1_1 function L1_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 = "Gear1" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_QUEST_START_13019 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 13010 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_QUEST_START_13019 = L1_1 function L1_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 = "Gear2" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_QUEST_START_13020 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 13011 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_QUEST_START_13020 = L1_1 function L1_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 = "Gear1" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_QUEST_START_13021 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 13010 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_QUEST_START_13021 = L1_1 function L1_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 = "Gear3" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_QUEST_START_13022 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 13012 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_QUEST_START_13022 = L1_1 function L1_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 = "SealGear" 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_TIMER_EVENT_13023 = 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.AddQuestProgress L3_2 = A0_2 L4_2 = "14400300106" L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : add_quest_progress" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CancelGroupTimerEvent L3_2 = A0_2 L4_2 = 144003013 L5_2 = "AddQuestProgress" 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 : cancel_timerevent_by_group" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_TIMER_EVENT_13023 = L1_1 function L1_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 = "SealGear" 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_QUEST_START_13024 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "14400300106" L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : add_quest_progress" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_QUEST_START_13024 = L1_1