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 L0_1 = {} L0_1.group_id = 177006080 L1_1 = {} L1_1.pointarray_1 = 700600012 L1_1.gadget_1 = 80002 L1_1.gadget_2 = 80003 L1_1.gadget_3 = 80007 L1_1.gadget_4 = 80010 L1_1.gadget_controller_4 = 80012 L1_1.gadget_pointarray_1 = 1 L1_1.gadget_pointarray_2 = 2 L1_1.gadget_pointarray_3 = 3 L1_1.gadget_pointarray_4 = 4 L1_1.group_id = 177006080 L2_1 = {} monsters = L2_1 L2_1 = {} npcs = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 80001 L3_1.gadget_id = 70330134 L4_1 = {} L4_1.x = 555.515 L4_1.y = 146.0 L4_1.z = -469.242 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 90.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 36 L3_1.area_id = 210 L4_1 = {} L4_1.config_id = 80002 L4_1.gadget_id = 70330135 L5_1 = {} L5_1.x = 565.064 L5_1.y = 145.546 L5_1.z = -469.239 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 135.0 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 36 L4_1.is_use_point_array = true L4_1.area_id = 210 L5_1 = {} L5_1.config_id = 80003 L5_1.gadget_id = 70330135 L6_1 = {} L6_1.x = 573.159 L6_1.y = 145.578 L6_1.z = -477.482 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 = 36 L5_1.is_use_point_array = true L5_1.area_id = 210 L6_1 = {} L6_1.config_id = 80004 L6_1.gadget_id = 70330141 L7_1 = {} L7_1.x = 561.579 L7_1.y = 145.752 L7_1.z = -474.987 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 = 36 L6_1.persistent = true L6_1.area_id = 210 L7_1 = {} L7_1.config_id = 80005 L7_1.gadget_id = 70330157 L8_1 = {} L8_1.x = 555.516 L8_1.y = 144.613 L8_1.z = -469.242 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 90.0 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 36 L7_1.area_id = 210 L8_1 = {} L8_1.config_id = 80006 L8_1.gadget_id = 70330158 L9_1 = {} L9_1.x = 565.064 L9_1.y = 144.568 L9_1.z = -469.239 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 135.0 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 36 L8_1.area_id = 210 L9_1 = {} L9_1.config_id = 80007 L9_1.gadget_id = 70330135 L10_1 = {} L10_1.x = 580.551 L10_1.y = 145.574 L10_1.z = -470.139 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 90.0 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 36 L9_1.is_use_point_array = true L9_1.area_id = 210 L10_1 = {} L10_1.config_id = 80008 L10_1.gadget_id = 70330158 L11_1 = {} L11_1.x = 573.162 L11_1.y = 144.749 L11_1.z = -477.479 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 0.0 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 36 L10_1.area_id = 210 L11_1 = {} L11_1.config_id = 80009 L11_1.gadget_id = 70330158 L12_1 = {} L12_1.x = 580.552 L12_1.y = 144.788 L12_1.z = -470.138 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 90.0 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 36 L11_1.area_id = 210 L12_1 = {} L12_1.config_id = 80010 L12_1.gadget_id = 70330135 L13_1 = {} L13_1.x = 573.536 L13_1.y = 145.676 L13_1.z = -463.033 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.0 L13_1.y = 45.0 L13_1.z = 0.0 L12_1.rot = L13_1 L12_1.level = 36 L12_1.is_use_point_array = true L12_1.area_id = 210 L13_1 = {} L13_1.config_id = 80012 L13_1.gadget_id = 70330158 L14_1 = {} L14_1.x = 573.535 L14_1.y = 144.588 L14_1.z = -463.033 L13_1.pos = L14_1 L14_1 = {} L14_1.x = 0.0 L14_1.y = 45.0 L14_1.z = 0.0 L13_1.rot = L14_1 L13_1.level = 36 L14_1 = GadgetState L14_1 = L14_1.GearStart L13_1.state = L14_1 L13_1.area_id = 210 L14_1 = {} L14_1.config_id = 80014 L14_1.gadget_id = 70330157 L15_1 = {} L15_1.x = 585.46 L15_1.y = 144.621 L15_1.z = -470.136 L14_1.pos = L15_1 L15_1 = {} L15_1.x = 0.0 L15_1.y = 0.0 L15_1.z = 0.0 L14_1.rot = L15_1 L14_1.level = 36 L14_1.area_id = 210 L15_1 = {} L15_1.config_id = 80015 L15_1.gadget_id = 70211161 L16_1 = {} L16_1.x = 565.93 L16_1.y = 144.611 L16_1.z = -460.558 L15_1.pos = L16_1 L16_1 = {} L16_1.x = 0.0 L16_1.y = 0.0 L16_1.z = 0.0 L15_1.rot = L16_1 L15_1.level = 16 L15_1.drop_tag = "\230\184\138\228\184\139\229\174\171\230\180\187\229\138\168\228\184\173\231\186\167\231\168\187\229\166\187" L15_1.isOneoff = true L15_1.persistent = true L15_1.area_id = 210 L16_1 = {} L16_1.config_id = 80032 L16_1.gadget_id = 70290281 L17_1 = {} L17_1.x = 572.889 L17_1.y = 144.022 L17_1.z = -470.201 L16_1.pos = L17_1 L17_1 = {} L17_1.x = 90.0 L17_1.y = 0.0 L17_1.z = 0.0 L16_1.rot = L17_1 L16_1.level = 36 L16_1.persistent = true L16_1.area_id = 210 L17_1 = {} L17_1.config_id = 80033 L17_1.gadget_id = 70330141 L18_1 = {} L18_1.x = 585.46 L18_1.y = 145.812 L18_1.z = -470.136 L17_1.pos = L18_1 L18_1 = {} L18_1.x = 0.0 L18_1.y = 0.0 L18_1.z = 0.0 L17_1.rot = L18_1 L17_1.level = 36 L17_1.persistent = true L17_1.area_id = 210 L18_1 = {} L18_1.config_id = 80035 L18_1.gadget_id = 70211162 L19_1 = {} L19_1.x = 569.042 L19_1.y = 144.75 L19_1.z = -480.931 L18_1.pos = L19_1 L19_1 = {} L19_1.x = 0.0 L19_1.y = 0.0 L19_1.z = 0.0 L18_1.rot = L19_1 L18_1.level = 16 L18_1.drop_tag = "\230\184\138\228\184\139\229\174\171\230\180\187\229\138\168\233\171\152\231\186\167\231\168\187\229\166\187" L18_1.isOneoff = true L18_1.persistent = true L18_1.area_id = 210 L19_1 = {} L19_1.config_id = 80036 L19_1.gadget_id = 70330157 L20_1 = {} L20_1.x = 561.579 L20_1.y = 144.645 L20_1.z = -474.987 L19_1.pos = L20_1 L20_1 = {} L20_1.x = 0.0 L20_1.y = 0.0 L20_1.z = 0.0 L19_1.rot = L20_1 L19_1.level = 36 L19_1.area_id = 210 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 L2_1[10] = L12_1 L2_1[11] = L13_1 L2_1[12] = L14_1 L2_1[13] = L15_1 L2_1[14] = L16_1 L2_1[15] = L17_1 L2_1[16] = L18_1 L2_1[17] = L19_1 gadgets = L2_1 L2_1 = {} regions = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1080011 L3_1.name = "GADGET_STATE_CHANGE_80011" 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_80011" L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_80011" L4_1 = {} L4_1.config_id = 1080013 L4_1.name = "VARIABLE_CHANGE_80013" 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_80013" L4_1.action = "action_EVENT_VARIABLE_CHANGE_80013" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1080019 L5_1.name = "GADGET_CREATE_80019" L6_1 = EventType L6_1 = L6_1.EVENT_GADGET_CREATE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GADGET_CREATE_80019" L5_1.action = "action_EVENT_GADGET_CREATE_80019" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1080027 L6_1.name = "SELECT_OPTION_80027" L7_1 = EventType L7_1 = L7_1.EVENT_SELECT_OPTION L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_SELECT_OPTION_80027" L6_1.action = "action_EVENT_SELECT_OPTION_80027" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1080028 L7_1.name = "TIMER_EVENT_80028" L8_1 = EventType L8_1 = L8_1.EVENT_TIMER_EVENT L7_1.event = L8_1 L7_1.source = "route4" L7_1.condition = "" L7_1.action = "action_EVENT_TIMER_EVENT_80028" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1080031 L8_1.name = "GADGET_STATE_CHANGE_80031" 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_80031" L8_1.action = "action_EVENT_GADGET_STATE_CHANGE_80031" L9_1 = {} L9_1.config_id = 1080034 L9_1.name = "VARIABLE_CHANGE_80034" L10_1 = EventType L10_1 = L10_1.EVENT_VARIABLE_CHANGE L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_VARIABLE_CHANGE_80034" L9_1.action = "action_EVENT_VARIABLE_CHANGE_80034" L9_1.trigger_count = 0 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 triggers = L2_1 L2_1 = {} L3_1 = {} L3_1.configId = 1 L3_1.name = "flag" L3_1.value = 0 L3_1.no_refresh = true L2_1[1] = L3_1 variables = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L4_1.config_id = 1080016 L4_1.name = "GADGET_CREATE_80016" L5_1 = EventType L5_1 = L5_1.EVENT_GADGET_CREATE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_GADGET_CREATE_80016" L4_1.action = "action_EVENT_GADGET_CREATE_80016" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1080017 L5_1.name = "GADGET_CREATE_80017" L6_1 = EventType L6_1 = L6_1.EVENT_GADGET_CREATE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GADGET_CREATE_80017" L5_1.action = "action_EVENT_GADGET_CREATE_80017" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1080018 L6_1.name = "GADGET_CREATE_80018" L7_1 = EventType L7_1 = L7_1.EVENT_GADGET_CREATE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_GADGET_CREATE_80018" L6_1.action = "action_EVENT_GADGET_CREATE_80018" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1080020 L7_1.name = "GADGET_CREATE_80020" L8_1 = EventType L8_1 = L8_1.EVENT_GADGET_CREATE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_GADGET_CREATE_80020" L7_1.action = "action_EVENT_GADGET_CREATE_80020" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1080021 L8_1.name = "SELECT_OPTION_80021" L9_1 = EventType L9_1 = L9_1.EVENT_SELECT_OPTION L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_SELECT_OPTION_80021" L8_1.action = "action_EVENT_SELECT_OPTION_80021" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1080022 L9_1.name = "TIMER_EVENT_80022" L10_1 = EventType L10_1 = L10_1.EVENT_TIMER_EVENT L9_1.event = L10_1 L9_1.source = "route1" L9_1.condition = "" L9_1.action = "action_EVENT_TIMER_EVENT_80022" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1080023 L10_1.name = "SELECT_OPTION_80023" 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_80023" L10_1.action = "action_EVENT_SELECT_OPTION_80023" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1080024 L11_1.name = "TIMER_EVENT_80024" L12_1 = EventType L12_1 = L12_1.EVENT_TIMER_EVENT L11_1.event = L12_1 L11_1.source = "route2" L11_1.condition = "" L11_1.action = "action_EVENT_TIMER_EVENT_80024" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1080025 L12_1.name = "SELECT_OPTION_80025" L13_1 = EventType L13_1 = L13_1.EVENT_SELECT_OPTION L12_1.event = L13_1 L12_1.source = "" L12_1.condition = "condition_EVENT_SELECT_OPTION_80025" L12_1.action = "action_EVENT_SELECT_OPTION_80025" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1080026 L13_1.name = "TIMER_EVENT_80026" L14_1 = EventType L14_1 = L14_1.EVENT_TIMER_EVENT L13_1.event = L14_1 L13_1.source = "route3" L13_1.condition = "" L13_1.action = "action_EVENT_TIMER_EVENT_80026" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1080029 L14_1.name = "SELECT_OPTION_80029" 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_80029" L14_1.action = "action_EVENT_SELECT_OPTION_80029" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1080030 L15_1.name = "TIMER_EVENT_80030" L16_1 = EventType L16_1 = L16_1.EVENT_TIMER_EVENT L15_1.event = L16_1 L15_1.source = "route5" L15_1.condition = "" L15_1.action = "action_EVENT_TIMER_EVENT_80030" L15_1.trigger_count = 0 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 L3_1[9] = L12_1 L3_1[10] = L13_1 L3_1[11] = L14_1 L3_1[12] = L15_1 L2_1.triggers = L3_1 garbages = L2_1 L2_1 = {} L2_1.suite = 1 L2_1.end_suite = 0 L2_1.rand_suite = false init_config = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 80001 L6_1 = 80002 L7_1 = 80003 L8_1 = 80004 L9_1 = 80005 L10_1 = 80006 L11_1 = 80007 L12_1 = 80008 L13_1 = 80009 L14_1 = 80010 L15_1 = 80012 L16_1 = 80014 L17_1 = 80032 L18_1 = 80033 L19_1 = 80036 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 L4_1[12] = L16_1 L4_1[13] = L17_1 L4_1[14] = L18_1 L4_1[15] = L19_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "GADGET_STATE_CHANGE_80011" L6_1 = "VARIABLE_CHANGE_80013" L7_1 = "GADGET_CREATE_80019" L8_1 = "SELECT_OPTION_80027" L9_1 = "TIMER_EVENT_80028" L10_1 = "GADGET_STATE_CHANGE_80031" L11_1 = "VARIABLE_CHANGE_80034" 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 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L2_1[1] = L3_1 suites = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 80033 == 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_80011 = 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_GADGET_STATE_CHANGE_80011 = 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 ~= 1 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_80013 = L2_1 function L2_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 = 80015 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_VARIABLE_CHANGE_80013 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_controller_4 L3_2 = A1_2.param1 if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_80019 = 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.SetWorktopOptions L3_2 = A0_2 L4_2 = {} L5_2 = 31 L4_2[1] = L5_2 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 : set_work_options" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_CREATE_80019 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_controller_4 L3_2 = A1_2.param1 if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 31 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_80027 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = L1_1.group_id L5_2 = L1_1.gadget_controller_4 L6_2 = 31 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 = {} L2_2.route_type = 0 L2_2.turn_mode = false L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = L1_1.gadget_4 L6_2 = L1_1.pointarray_1 L7_2 = {} L8_2 = L1_1.gadget_pointarray_4 L7_2[1] = L8_2 L8_2 = L2_2 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : set_platform_pointArray" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = ScriptLib L3_2 = L3_2.CreateGroupTimerEvent L4_2 = A0_2 L5_2 = L1_1.group_id L6_2 = "route4" L7_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : create_timerevent_by_group" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_80027 = L2_1 function L2_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 = L1_1.group_id L5_2 = L1_1.gadget_controller_4 L6_2 = {} L7_2 = 31 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_TIMER_EVENT_80028 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 80004 == 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_80031 = 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_GADGET_STATE_CHANGE_80031 = 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 ~= 2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_80034 = 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.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 80035 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 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 80032 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_VARIABLE_CHANGE_80034 = L2_1 L2_1 = require L3_1 = "V2_5/Watcher_Puzzle" L2_1(L3_1)