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, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1 L0_1 = {} L0_1.group_id = 133223122 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 122003 L2_1.gadget_id = 70360308 L3_1 = {} L3_1.x = -5980.198 L3_1.y = 215.027 L3_1.z = -2556.91 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 220.0 L3_1.z = 356.901 L2_1.rot = L3_1 L2_1.level = 33 L2_1.persistent = true L2_1.area_id = 18 L3_1 = {} L3_1.config_id = 122004 L3_1.gadget_id = 70360300 L4_1 = {} L4_1.x = -5980.198 L4_1.y = 215.027 L4_1.z = -2556.91 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 220.0 L4_1.z = 356.901 L3_1.rot = L4_1 L3_1.level = 33 L3_1.persistent = true L3_1.area_id = 18 L4_1 = {} L4_1.config_id = 122007 L4_1.gadget_id = 70360001 L5_1 = {} L5_1.x = -5978.297 L5_1.y = 215.57 L5_1.z = -2559.761 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 = 33 L4_1.area_id = 18 L5_1 = {} L5_1.config_id = 122017 L5_1.gadget_id = 70360001 L6_1 = {} L6_1.x = -5978.586 L6_1.y = 215.519 L6_1.z = -2559.935 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 = 33 L5_1.area_id = 18 L6_1 = {} L6_1.config_id = 122029 L6_1.gadget_id = 70350319 L7_1 = {} L7_1.x = -5977.525 L7_1.y = 223.744 L7_1.z = -2553.778 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 = 33 L6_1.persistent = true L6_1.area_id = 18 L7_1 = {} L7_1.config_id = 122030 L7_1.gadget_id = 70350319 L8_1 = {} L8_1.x = -5980.227 L8_1.y = 220.071 L8_1.z = -2554.073 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 = 33 L7_1.persistent = true L7_1.area_id = 18 L8_1 = {} L8_1.config_id = 122031 L8_1.gadget_id = 70350319 L9_1 = {} L9_1.x = -5974.882 L9_1.y = 219.008 L9_1.z = -2558.784 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 = 33 L8_1.persistent = true L8_1.area_id = 18 L9_1 = {} L9_1.config_id = 122036 L9_1.gadget_id = 70360300 L10_1 = {} L10_1.x = -5980.198 L10_1.y = 215.027 L10_1.z = -2556.91 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 220.0 L10_1.z = 356.901 L9_1.rot = L10_1 L9_1.level = 33 L10_1 = GadgetState L10_1 = L10_1.Action01 L9_1.state = L10_1 L9_1.persistent = true L9_1.area_id = 18 L10_1 = {} L10_1.config_id = 122037 L10_1.gadget_id = 70360323 L11_1 = {} L11_1.x = -5980.198 L11_1.y = 215.027 L11_1.z = -2556.91 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 220.0 L11_1.z = 356.901 L10_1.rot = L11_1 L10_1.level = 33 L10_1.persistent = true L10_1.area_id = 18 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 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1122001 L2_1.name = "GROUP_LOAD_122001" L3_1 = EventType L3_1 = L3_1.EVENT_GROUP_LOAD L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_GROUP_LOAD_122001" L2_1.action = "action_EVENT_GROUP_LOAD_122001" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1122002 L3_1.name = "QUEST_START_122002" L4_1 = EventType L4_1 = L4_1.EVENT_QUEST_START L3_1.event = L4_1 L3_1.source = "7222905" L3_1.condition = "" L3_1.action = "action_EVENT_QUEST_START_122002" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1122005 L4_1.name = "GROUP_REFRESH_122005" L5_1 = EventType L5_1 = L5_1.EVENT_GROUP_REFRESH L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_GROUP_REFRESH_122005" L4_1.action = "action_EVENT_GROUP_REFRESH_122005" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1122006 L5_1.name = "GADGET_STATE_CHANGE_122006" 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_122006" L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_122006" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1122009 L6_1.name = "GADGET_STATE_CHANGE_122009" 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_122009" L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_122009" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1122010 L7_1.name = "VARIABLE_CHANGE_122010" L8_1 = EventType L8_1 = L8_1.EVENT_VARIABLE_CHANGE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_VARIABLE_CHANGE_122010" L7_1.action = "action_EVENT_VARIABLE_CHANGE_122010" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1122011 L8_1.name = "QUEST_FINISH_122011" L9_1 = EventType L9_1 = L9_1.EVENT_QUEST_FINISH L8_1.event = L9_1 L8_1.source = "7217348" L8_1.condition = "" L8_1.action = "action_EVENT_QUEST_FINISH_122011" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1122012 L9_1.name = "GADGET_CREATE_122012" L10_1 = EventType L10_1 = L10_1.EVENT_GADGET_CREATE L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_GADGET_CREATE_122012" L9_1.action = "action_EVENT_GADGET_CREATE_122012" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1122013 L10_1.name = "SELECT_OPTION_122013" L11_1 = EventType L11_1 = L11_1.EVENT_SELECT_OPTION L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_SELECT_OPTION_122013" L10_1.action = "action_EVENT_SELECT_OPTION_122013" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1122014 L11_1.name = "VARIABLE_CHANGE_122014" L12_1 = EventType L12_1 = L12_1.EVENT_VARIABLE_CHANGE L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "" L11_1.action = "action_EVENT_VARIABLE_CHANGE_122014" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1122015 L12_1.name = "VARIABLE_CHANGE_122015" L13_1 = EventType L13_1 = L13_1.EVENT_VARIABLE_CHANGE L12_1.event = L13_1 L12_1.source = "FeatherCount" L12_1.condition = "condition_EVENT_VARIABLE_CHANGE_122015" L12_1.action = "action_EVENT_VARIABLE_CHANGE_122015" L13_1 = {} L13_1.config_id = 1122016 L13_1.name = "GADGET_CREATE_122016" L14_1 = EventType L14_1 = L14_1.EVENT_GADGET_CREATE L13_1.event = L14_1 L13_1.source = "" L13_1.condition = "condition_EVENT_GADGET_CREATE_122016" L13_1.action = "action_EVENT_GADGET_CREATE_122016" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1122018 L14_1.name = "SELECT_OPTION_122018" L15_1 = EventType L15_1 = L15_1.EVENT_SELECT_OPTION L14_1.event = L15_1 L14_1.source = "" L14_1.condition = "condition_EVENT_SELECT_OPTION_122018" L14_1.action = "action_EVENT_SELECT_OPTION_122018" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1122019 L15_1.name = "TIME_AXIS_PASS_122019" L16_1 = EventType L16_1 = L16_1.EVENT_TIME_AXIS_PASS L15_1.event = L16_1 L15_1.source = "" L15_1.condition = "condition_EVENT_TIME_AXIS_PASS_122019" L15_1.action = "action_EVENT_TIME_AXIS_PASS_122019" L15_1.trigger_count = 0 L16_1 = {} L16_1.config_id = 1122020 L16_1.name = "QUEST_FINISH_122020" L17_1 = EventType L17_1 = L17_1.EVENT_QUEST_FINISH L16_1.event = L17_1 L16_1.source = "7222902" L16_1.condition = "" L16_1.action = "action_EVENT_QUEST_FINISH_122020" L16_1.trigger_count = 0 L17_1 = {} L17_1.config_id = 1122021 L17_1.name = "TIME_AXIS_PASS_122021" L18_1 = EventType L18_1 = L18_1.EVENT_TIME_AXIS_PASS L17_1.event = L18_1 L17_1.source = "" L17_1.condition = "condition_EVENT_TIME_AXIS_PASS_122021" L17_1.action = "action_EVENT_TIME_AXIS_PASS_122021" L17_1.trigger_count = 0 L18_1 = {} L18_1.config_id = 1122023 L18_1.name = "GROUP_LOAD_122023" L19_1 = EventType L19_1 = L19_1.EVENT_GROUP_LOAD L18_1.event = L19_1 L18_1.source = "" L18_1.condition = "condition_EVENT_GROUP_LOAD_122023" L18_1.action = "action_EVENT_GROUP_LOAD_122023" L18_1.trigger_count = 0 L19_1 = {} L19_1.config_id = 1122024 L19_1.name = "QUEST_START_122024" L20_1 = EventType L20_1 = L20_1.EVENT_QUEST_START L19_1.event = L20_1 L19_1.source = "7222906" L19_1.condition = "" L19_1.action = "action_EVENT_QUEST_START_122024" L19_1.trigger_count = 0 L20_1 = {} L20_1.config_id = 1122025 L20_1.name = "TIME_AXIS_PASS_122025" L21_1 = EventType L21_1 = L21_1.EVENT_TIME_AXIS_PASS L20_1.event = L21_1 L20_1.source = "" L20_1.condition = "condition_EVENT_TIME_AXIS_PASS_122025" L20_1.action = "action_EVENT_TIME_AXIS_PASS_122025" L20_1.trigger_count = 0 L21_1 = {} L21_1.config_id = 1122026 L21_1.name = "QUEST_FINISH_122026" L22_1 = EventType L22_1 = L22_1.EVENT_QUEST_FINISH L21_1.event = L22_1 L21_1.source = "7222906" L21_1.condition = "" L21_1.action = "action_EVENT_QUEST_FINISH_122026" L21_1.trigger_count = 0 L22_1 = {} L22_1.config_id = 1122027 L22_1.name = "QUEST_START_122027" L23_1 = EventType L23_1 = L23_1.EVENT_QUEST_START L22_1.event = L23_1 L22_1.source = "7222904" L22_1.condition = "" L22_1.action = "action_EVENT_QUEST_START_122027" L22_1.trigger_count = 0 L23_1 = {} L23_1.config_id = 1122028 L23_1.name = "QUEST_START_122028" L24_1 = EventType L24_1 = L24_1.EVENT_QUEST_START L23_1.event = L24_1 L23_1.source = "7222901" L23_1.condition = "" L23_1.action = "action_EVENT_QUEST_START_122028" L23_1.trigger_count = 0 L24_1 = {} L24_1.config_id = 1122032 L24_1.name = "GROUP_REFRESH_122032" L25_1 = EventType L25_1 = L25_1.EVENT_GROUP_REFRESH L24_1.event = L25_1 L24_1.source = "" L24_1.condition = "" L24_1.action = "action_EVENT_GROUP_REFRESH_122032" L24_1.trigger_count = 0 L25_1 = {} L25_1.config_id = 1122033 L25_1.name = "QUEST_FINISH_122033" L26_1 = EventType L26_1 = L26_1.EVENT_QUEST_FINISH L25_1.event = L26_1 L25_1.source = "7222603" L25_1.condition = "" L25_1.action = "action_EVENT_QUEST_FINISH_122033" L25_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 L1_1[17] = L18_1 L1_1[18] = L19_1 L1_1[19] = L20_1 L1_1[20] = L21_1 L1_1[21] = L22_1 L1_1[22] = L23_1 L1_1[23] = L24_1 L1_1[24] = L25_1 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "EnergyBall_Succ_Count" L2_1.value = 0 L2_1.no_refresh = true L3_1 = {} L3_1.configId = 2 L3_1.name = "mission_progress" L3_1.value = 0 L3_1.no_refresh = true L4_1 = {} L4_1.configId = 3 L4_1.name = "FeatherCount" L4_1.value = 0 L4_1.no_refresh = true L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 variables = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L3_1.config_id = 1122008 L3_1.name = "VARIABLE_CHANGE_122008" L4_1 = EventType L4_1 = L4_1.EVENT_VARIABLE_CHANGE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "" L3_1.action = "" L4_1 = {} L4_1.config_id = 1122022 L4_1.name = "VARIABLE_CHANGE_122022" L5_1 = EventType L5_1 = L5_1.EVENT_VARIABLE_CHANGE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_VARIABLE_CHANGE_122022" L4_1.action = "action_EVENT_VARIABLE_CHANGE_122022" L5_1 = {} L5_1.config_id = 1122034 L5_1.name = "GROUP_REFRESH_122034" L6_1 = EventType L6_1 = L6_1.EVENT_GROUP_REFRESH L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "" L5_1.action = "action_EVENT_GROUP_REFRESH_122034" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1122035 L6_1.name = "TIME_AXIS_PASS_122035" L7_1 = EventType L7_1 = L7_1.EVENT_TIME_AXIS_PASS L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_TIME_AXIS_PASS_122035" L6_1.action = "action_EVENT_TIME_AXIS_PASS_122035" L6_1.trigger_count = 0 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L1_1.triggers = L2_1 garbages = 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 = 122004 L3_1[1] = L4_1 L2_1.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L4_1 = "GROUP_REFRESH_122005" L3_1[1] = L4_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 122003 L4_1[1] = L5_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "GROUP_LOAD_122001" L6_1 = "QUEST_START_122002" L7_1 = "GADGET_STATE_CHANGE_122006" L8_1 = "GADGET_STATE_CHANGE_122009" L9_1 = "VARIABLE_CHANGE_122010" L10_1 = "QUEST_FINISH_122020" L11_1 = "TIME_AXIS_PASS_122021" L12_1 = "QUEST_START_122024" L13_1 = "TIME_AXIS_PASS_122025" L14_1 = "QUEST_START_122027" L15_1 = "QUEST_START_122028" 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 L4_1[10] = L14_1 L4_1[11] = L15_1 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L4_1.monsters = L5_1 L5_1 = {} L6_1 = 122004 L7_1 = 122007 L5_1[1] = L6_1 L5_1[2] = L7_1 L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L6_1 = "GADGET_CREATE_122012" L7_1 = "SELECT_OPTION_122013" L5_1[1] = L6_1 L5_1[2] = L7_1 L4_1.triggers = L5_1 L4_1.rand_weight = 100 L5_1 = {} L6_1 = {} L5_1.monsters = L6_1 L6_1 = {} L7_1 = 122036 L6_1[1] = L7_1 L5_1.gadgets = L6_1 L6_1 = {} L5_1.regions = L6_1 L6_1 = {} L7_1 = "QUEST_FINISH_122011" L8_1 = "QUEST_FINISH_122026" L6_1[1] = L7_1 L6_1[2] = L8_1 L5_1.triggers = L6_1 L5_1.rand_weight = 100 L6_1 = {} L7_1 = {} L6_1.monsters = L7_1 L7_1 = {} L8_1 = 122037 L7_1[1] = L8_1 L6_1.gadgets = L7_1 L7_1 = {} L6_1.regions = L7_1 L7_1 = {} L6_1.triggers = L7_1 L6_1.rand_weight = 100 L7_1 = {} L8_1 = {} L7_1.monsters = L8_1 L8_1 = {} L9_1 = 122004 L10_1 = 122017 L8_1[1] = L9_1 L8_1[2] = L10_1 L7_1.gadgets = L8_1 L8_1 = {} L7_1.regions = L8_1 L8_1 = {} L9_1 = "VARIABLE_CHANGE_122014" L10_1 = "VARIABLE_CHANGE_122015" L11_1 = "GADGET_CREATE_122016" L12_1 = "SELECT_OPTION_122018" L13_1 = "TIME_AXIS_PASS_122019" L14_1 = "GROUP_LOAD_122023" L15_1 = "GROUP_REFRESH_122032" L16_1 = "QUEST_FINISH_122033" L8_1[1] = L9_1 L8_1[2] = L10_1 L8_1[3] = L11_1 L8_1[4] = L12_1 L8_1[5] = L13_1 L8_1[6] = L14_1 L8_1[7] = L15_1 L8_1[8] = L16_1 L7_1.triggers = L8_1 L7_1.rand_weight = 100 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 suites = 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 = "mission_progress" 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_GROUP_LOAD_122001 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133223122 L4_2.suite = 4 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 : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GROUP_LOAD_122001 = 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 = 122003 L5_2 = GadgetState L5_2 = L5_2.Action01 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_START_122002 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 133223122 L6_2 = 122004 L3_2 = L3_2(L4_2, L5_2, L6_2) 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 = "mission_progress" 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_GROUP_REFRESH_122005 = 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 = 122004 L5_2 = GadgetState L5_2 = L5_2.GearAction2 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_GROUP_REFRESH_122005 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 122003 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = A1_2.param1 if L2_2 == L3_2 then L2_2 = GadgetState L2_2 = L2_2.Action03 L3_2 = A1_2.param3 if L2_2 == L3_2 then goto lbl_16 end end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_122006 = 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 = "72172_D3_QiMu_Die_A" 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_GADGET_STATE_CHANGE_122006 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = GadgetState L2_2 = L2_2.Action02 L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 133223122 L6_2 = 122003 L3_2 = L3_2(L4_2, L5_2, L6_2) if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_122009 = 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 = "72172_D3_QiMu_A_Phase1" 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_GADGET_STATE_CHANGE_122009 = 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 = "EnergyBall_Succ_Count" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 6 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_122010 = 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 = "72172_D3_QiMu_A_Phase2" 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_VARIABLE_CHANGE_122010 = 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "mission_progress" L5_2 = 2 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_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133223122 L4_2.suite = 5 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 : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_QUEST_FINISH_122011 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 122007 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_122012 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133223122 L5_2 = 122007 L6_2 = {} L7_2 = 321 L6_2[1] = L7_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 : set_wok_options_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_CREATE_122012 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 122007 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 321 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_122013 = 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.AddQuestProgress L3_2 = A0_2 L4_2 = "7222606_finish" 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.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133223122 L5_2 = 122007 L6_2 = 321 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 : del_work_options_by_group_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_SELECT_OPTION_122013 = 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 = -1 return L2_2 end L2_2 = A1_2.source_name if L2_2 ~= "FeatherCount" then L2_2 = -1 return L2_2 end L2_2 = A1_2.param1 if L2_2 == 1 then L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122029 L2_2(L3_2, L4_2) end L2_2 = A1_2.param1 if L2_2 == 2 then L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122029 L2_2(L3_2, L4_2) L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122030 L2_2(L3_2, L4_2) end L2_2 = A1_2.param1 if L2_2 == 3 then L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122029 L2_2(L3_2, L4_2) L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122030 L2_2(L3_2, L4_2) L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122031 L2_2(L3_2, L4_2) end L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_122014 = 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 = "FeatherCount" 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_122015 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133223122 L5_2 = 122017 L6_2 = {} L7_2 = 322 L6_2[1] = L7_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 : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 721730015 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 : active_reminder_ui" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133223496 L4_2.suite = 3 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 : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_122015 = 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 = "FeatherCount" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 3 then L2_2 = false return L2_2 end L2_2 = A1_2.param1 if 122017 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_122016 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133223122 L5_2 = 122017 L6_2 = {} L7_2 = 322 L6_2[1] = L7_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 : set_wok_options_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_CREATE_122016 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 122017 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 322 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_122018 = 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.AddQuestProgress L3_2 = A0_2 L4_2 = "7222602_finish" 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "mission_progress" L5_2 = 3 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_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133223122 L5_2 = 122017 L6_2 = 322 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 : del_work_options_by_group_configId" 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 = 122029 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 = ScriptLib L2_2 = L2_2.KillEntityByConfigId L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122030 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 = ScriptLib L2_2 = L2_2.KillEntityByConfigId L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122031 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_SELECT_OPTION_122018 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.source_name if "D1_CS_Play" == L2_2 then L2_2 = A1_2.param1 if 1 == L2_2 then goto lbl_9 end end L2_2 = false do return L2_2 end ::lbl_9:: L2_2 = true return L2_2 end condition_EVENT_TIME_AXIS_PASS_122019 = 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 = 122004 L5_2 = GadgetState L5_2 = L5_2.GearAction2 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_TIME_AXIS_PASS_122019 = 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.InitTimeAxis L3_2 = A0_2 L4_2 = "CS_Ball_Finish" L5_2 = {} L6_2 = 9 L5_2[1] = L6_2 L6_2 = false L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_QUEST_FINISH_122020 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.source_name if "CS_Ball_Finish" == L2_2 then L2_2 = A1_2.param1 if 1 == L2_2 then goto lbl_9 end end L2_2 = false do return L2_2 end ::lbl_9:: L2_2 = true return L2_2 end condition_EVENT_TIME_AXIS_PASS_122021 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 32230112 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 : active_reminder_ui" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.EndTimeAxis L3_2 = A0_2 L4_2 = "CS_Ball_Finish" L2_2(L3_2, L4_2) L2_2 = 0 return L2_2 end action_EVENT_TIME_AXIS_PASS_122021 = 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 = "mission_progress" 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_GROUP_LOAD_122023 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133223122 L4_2.suite = 1 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 : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GROUP_LOAD_122023 = 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.InitTimeAxis L3_2 = A0_2 L4_2 = "Tree_Die" L5_2 = {} L6_2 = 1 L5_2[1] = L6_2 L6_2 = false L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_QUEST_START_122024 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.source_name if "Tree_Die" == L2_2 then L2_2 = A1_2.param1 if 1 == L2_2 then goto lbl_9 end end L2_2 = false do return L2_2 end ::lbl_9:: L2_2 = true return L2_2 end condition_EVENT_TIME_AXIS_PASS_122025 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.EndTimeAxis L3_2 = A0_2 L4_2 = "Tree_Die" L2_2(L3_2, L4_2) L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133223122 L4_2.suite = 4 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 : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_TIME_AXIS_PASS_122025 = 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "mission_progress" 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 : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_QUEST_FINISH_122026 = 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 = 122003 L5_2 = GadgetState L5_2 = L5_2.Action02 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_START_122027 = 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 = 122003 L5_2 = GadgetState L5_2 = L5_2.Action03 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_START_122028 = 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 = "FeatherCount" L2_2 = L2_2(L3_2, L4_2) if L2_2 == 1 then L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122029 L2_2(L3_2, L4_2) L2_2 = 0 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "FeatherCount" L2_2 = L2_2(L3_2, L4_2) if L2_2 == 2 then L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122029 L2_2(L3_2, L4_2) L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122030 L2_2(L3_2, L4_2) L2_2 = 0 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "FeatherCount" L2_2 = L2_2(L3_2, L4_2) if L2_2 == 3 then L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122029 L2_2(L3_2, L4_2) L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122030 L2_2(L3_2, L4_2) L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 122031 L2_2(L3_2, L4_2) L2_2 = 0 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GROUP_REFRESH_122032 = 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.InitTimeAxis L3_2 = A0_2 L4_2 = "D1_CS_Play" L5_2 = {} L6_2 = 1 L5_2[1] = L6_2 L6_2 = false L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_QUEST_FINISH_122033 = L1_1