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 L0_1 = {} L0_1.group_id = 177008077 L1_1 = {} L1_1.pointarray_1 = 700800022 L1_1.gadget_1 = 77002 L1_1.gadget_2 = 77003 L1_1.gadget_3 = 77007 L1_1.gadget_4 = 77010 L1_1.gadget_5 = 77011 L1_1.gadget_controller_1 = 77006 L1_1.gadget_controller_2 = 77008 L1_1.gadget_controller_3 = 77009 L1_1.gadget_controller_4 = 77012 L1_1.gadget_controller_5 = 77013 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.gadget_pointarray_5 = 5 L1_1.group_id = 177008077 L2_1 = {} monsters = L2_1 L2_1 = {} npcs = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 77001 L3_1.gadget_id = 70330134 L4_1 = {} L4_1.x = -182.82 L4_1.y = 231.0 L4_1.z = 231.147 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 = 36 L3_1.area_id = 210 L4_1 = {} L4_1.config_id = 77002 L4_1.gadget_id = 70330135 L5_1 = {} L5_1.x = -182.82 L5_1.y = 230.5 L5_1.z = 237.8 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 = 36 L4_1.is_use_point_array = true L4_1.area_id = 210 L5_1 = {} L5_1.config_id = 77003 L5_1.gadget_id = 70330135 L6_1 = {} L6_1.x = -170.108 L6_1.y = 230.5 L6_1.z = 237.8 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 135.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 = 77004 L6_1.gadget_id = 70330141 L7_1 = {} L7_1.x = -176.413 L7_1.y = 230.5 L7_1.z = 258.033 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 = 77005 L7_1.gadget_id = 70330157 L8_1 = {} L8_1.x = -182.82 L8_1.y = 228.809 L8_1.z = 231.147 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 = 36 L7_1.area_id = 210 L8_1 = {} L8_1.config_id = 77006 L8_1.gadget_id = 70330158 L9_1 = {} L9_1.x = -182.82 L9_1.y = 229.732 L9_1.z = 237.802 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 = 36 L9_1 = GadgetState L9_1 = L9_1.GearStart L8_1.state = L9_1 L8_1.area_id = 210 L9_1 = {} L9_1.config_id = 77007 L9_1.gadget_id = 70330135 L10_1 = {} L10_1.x = -170.075 L10_1.y = 230.5 L10_1.z = 244.366 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 = 36 L9_1.is_use_point_array = true L9_1.area_id = 210 L10_1 = {} L10_1.config_id = 77008 L10_1.gadget_id = 70330158 L11_1 = {} L11_1.x = -170.108 L11_1.y = 228.954 L11_1.z = 237.8 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 = 77009 L11_1.gadget_id = 70330158 L12_1 = {} L12_1.x = -170.075 L12_1.y = 228.969 L12_1.z = 244.366 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 0.0 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 36 L12_1 = GadgetState L12_1 = L12_1.GearStart L11_1.state = L12_1 L11_1.area_id = 210 L12_1 = {} L12_1.config_id = 77010 L12_1.gadget_id = 70330135 L13_1 = {} L13_1.x = -176.152 L13_1.y = 230.5 L13_1.z = 244.468 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.0 L13_1.y = 0.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 = 77011 L13_1.gadget_id = 70330135 L14_1 = {} L14_1.x = -168.205 L14_1.y = 230.5 L14_1.z = 237.085 L13_1.pos = L14_1 L14_1 = {} L14_1.x = 0.0 L14_1.y = 0.0 L14_1.z = 0.0 L13_1.rot = L14_1 L13_1.level = 36 L13_1.is_use_point_array = true L13_1.area_id = 210 L14_1 = {} L14_1.config_id = 77012 L14_1.gadget_id = 70330158 L15_1 = {} L15_1.x = -176.152 L15_1.y = 228.948 L15_1.z = 244.468 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 L15_1 = GadgetState L15_1 = L15_1.GearStart L14_1.state = L15_1 L14_1.area_id = 210 L15_1 = {} L15_1.config_id = 77013 L15_1.gadget_id = 70330158 L16_1 = {} L16_1.x = -168.206 L16_1.y = 228.94 L16_1.z = 237.084 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 = 36 L15_1.area_id = 210 L16_1 = {} L16_1.config_id = 77014 L16_1.gadget_id = 70330157 L17_1 = {} L17_1.x = -176.413 L17_1.y = 229.955 L17_1.z = 258.033 L16_1.pos = L17_1 L17_1 = {} L17_1.x = 0.0 L17_1.y = 0.0 L17_1.z = 0.0 L16_1.rot = L17_1 L16_1.level = 36 L16_1.area_id = 210 L17_1 = {} L17_1.config_id = 77015 L17_1.gadget_id = 70211160 L18_1 = {} L18_1.x = -174.253 L18_1.y = 228.974 L18_1.z = 252.967 L17_1.pos = L18_1 L18_1 = {} L18_1.x = 0.0 L18_1.y = 180.0 L18_1.z = 0.0 L17_1.rot = L18_1 L17_1.level = 16 L17_1.drop_tag = "\230\184\138\228\184\139\229\174\171\230\180\187\229\138\168\228\189\142\231\186\167\231\168\187\229\166\187" L17_1.isOneoff = true L17_1.persistent = true L17_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 gadgets = L2_1 L2_1 = {} regions = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1077016 L3_1.name = "GADGET_CREATE_77016" L4_1 = EventType L4_1 = L4_1.EVENT_GADGET_CREATE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GADGET_CREATE_77016" L3_1.action = "action_EVENT_GADGET_CREATE_77016" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1077017 L4_1.name = "GADGET_CREATE_77017" 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_77017" L4_1.action = "action_EVENT_GADGET_CREATE_77017" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1077018 L5_1.name = "GADGET_CREATE_77018" 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_77018" L5_1.action = "action_EVENT_GADGET_CREATE_77018" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1077019 L6_1.name = "GADGET_CREATE_77019" 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_77019" L6_1.action = "action_EVENT_GADGET_CREATE_77019" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1077020 L7_1.name = "GADGET_CREATE_77020" 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_77020" L7_1.action = "action_EVENT_GADGET_CREATE_77020" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1077021 L8_1.name = "SELECT_OPTION_77021" 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_77021" L8_1.action = "action_EVENT_SELECT_OPTION_77021" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1077022 L9_1.name = "TIMER_EVENT_77022" 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_77022" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1077023 L10_1.name = "SELECT_OPTION_77023" 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_77023" L10_1.action = "action_EVENT_SELECT_OPTION_77023" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1077024 L11_1.name = "TIMER_EVENT_77024" 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_77024" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1077025 L12_1.name = "SELECT_OPTION_77025" 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_77025" L12_1.action = "action_EVENT_SELECT_OPTION_77025" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1077026 L13_1.name = "TIMER_EVENT_77026" 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_77026" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1077027 L14_1.name = "SELECT_OPTION_77027" 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_77027" L14_1.action = "action_EVENT_SELECT_OPTION_77027" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1077028 L15_1.name = "TIMER_EVENT_77028" L16_1 = EventType L16_1 = L16_1.EVENT_TIMER_EVENT L15_1.event = L16_1 L15_1.source = "route4" L15_1.condition = "" L15_1.action = "action_EVENT_TIMER_EVENT_77028" L15_1.trigger_count = 0 L16_1 = {} L16_1.config_id = 1077029 L16_1.name = "SELECT_OPTION_77029" L17_1 = EventType L17_1 = L17_1.EVENT_SELECT_OPTION L16_1.event = L17_1 L16_1.source = "" L16_1.condition = "condition_EVENT_SELECT_OPTION_77029" L16_1.action = "action_EVENT_SELECT_OPTION_77029" L16_1.trigger_count = 0 L17_1 = {} L17_1.config_id = 1077030 L17_1.name = "TIMER_EVENT_77030" L18_1 = EventType L18_1 = L18_1.EVENT_TIMER_EVENT L17_1.event = L18_1 L17_1.source = "route5" L17_1.condition = "" L17_1.action = "action_EVENT_TIMER_EVENT_77030" L17_1.trigger_count = 0 L18_1 = {} L18_1.config_id = 1077031 L18_1.name = "GADGET_STATE_CHANGE_77031" L19_1 = EventType L19_1 = L19_1.EVENT_GADGET_STATE_CHANGE L18_1.event = L19_1 L18_1.source = "" L18_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_77031" L18_1.action = "action_EVENT_GADGET_STATE_CHANGE_77031" 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 triggers = L2_1 L2_1 = {} variables = 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 = 77001 L6_1 = 77002 L7_1 = 77003 L8_1 = 77004 L9_1 = 77005 L10_1 = 77006 L11_1 = 77007 L12_1 = 77008 L13_1 = 77009 L14_1 = 77010 L15_1 = 77012 L16_1 = 77014 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 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "GADGET_CREATE_77016" L6_1 = "GADGET_CREATE_77018" L7_1 = "GADGET_CREATE_77019" L8_1 = "SELECT_OPTION_77021" L9_1 = "TIMER_EVENT_77022" L10_1 = "SELECT_OPTION_77025" L11_1 = "TIMER_EVENT_77026" L12_1 = "SELECT_OPTION_77027" L13_1 = "TIMER_EVENT_77028" L14_1 = "GADGET_STATE_CHANGE_77031" 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 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 = L1_1.gadget_controller_1 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_77016 = 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_77016 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_controller_2 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_77017 = 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_77017 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_controller_3 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_77018 = 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_77018 = 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_77019 = 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_77019 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_controller_5 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_77020 = 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_77020 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_controller_1 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_77021 = 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_1 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_1 L6_2 = L1_1.pointarray_1 L7_2 = {} L8_2 = L1_1.gadget_pointarray_1 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 = "route1" 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_77021 = 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_1 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_77022 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_controller_2 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_77023 = 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_2 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_2 L6_2 = L1_1.pointarray_1 L7_2 = {} L8_2 = L1_1.gadget_pointarray_2 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 = "route2" 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_77023 = 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_2 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_77024 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_controller_3 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_77025 = 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_3 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_3 L6_2 = L1_1.pointarray_1 L7_2 = {} L8_2 = L1_1.gadget_pointarray_3 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 = "route3" 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_77025 = 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_3 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_77026 = 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_77027 = 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_77027 = 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_77028 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_controller_5 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_77029 = 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_5 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_5 L6_2 = L1_1.pointarray_1 L7_2 = {} L8_2 = L1_1.gadget_pointarray_5 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 = "route5" 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_77029 = 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_5 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_77030 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 77004 == 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_77031 = 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 = 77015 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_GADGET_STATE_CHANGE_77031 = L2_1 L2_1 = require L3_1 = "V2_5/Watcher_Puzzle" L2_1(L3_1)