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 = 133102720 L1_1 = {} L1_1.active_step = 201 L1_1.inactive_step = 0 L2_1 = {} L3_1 = 720011 L4_1 = 720017 L5_1 = 720020 L6_1 = 720021 L7_1 = 720022 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 L1_1.gadget_array = L2_1 L2_1 = {} L1_1.reset_gear_list = L2_1 L2_1 = 0 L3_1 = 0 L4_1 = L1_1.gadget_array L4_1 = #L4_1 L5_1 = {} monsters = L5_1 L5_1 = {} L6_1 = {} L6_1.config_id = 720019 L6_1.npc_id = 20074 L7_1 = {} L7_1.x = 1758.786 L7_1.y = 246.533 L7_1.z = 781.901 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 265.951 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.area_id = 5 L5_1[1] = L6_1 npcs = L5_1 L5_1 = {} L6_1 = {} L6_1.config_id = 720009 L6_1.gadget_id = 70211121 L7_1 = {} L7_1.x = 1762.831 L7_1.y = 246.734 L7_1.z = 781.764 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 273.85 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 16 L6_1.chest_drop_id = 1011800 L6_1.drop_count = 1 L6_1.showcutscene = true L6_1.isOneoff = true L6_1.persistent = true L7_1 = {} L7_1.name = "chest" L7_1.exp = 1 L6_1.explore = L7_1 L6_1.area_id = 5 L7_1 = {} L7_1.config_id = 720010 L7_1.gadget_id = 70360028 L8_1 = {} L8_1.x = 1758.804 L8_1.y = 245.848 L8_1.z = 781.895 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 = 18 L8_1 = GadgetState L8_1 = L8_1.GearStart L7_1.state = L8_1 L7_1.persistent = true L7_1.area_id = 5 L8_1 = {} L8_1.config_id = 720011 L8_1.gadget_id = 70710094 L9_1 = {} L9_1.x = 1765.289 L9_1.y = 247.681 L9_1.z = 781.591 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 271.907 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 18 L8_1.persistent = true L8_1.area_id = 5 L9_1 = {} L9_1.config_id = 720012 L9_1.gadget_id = 70500000 L10_1 = {} L10_1.x = 1763.09 L10_1.y = 246.751 L10_1.z = 782.243 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 333.535 L10_1.y = 9.202 L10_1.z = 35.298 L9_1.rot = L10_1 L9_1.level = 18 L9_1.point_type = 2006 L9_1.area_id = 5 L10_1 = {} L10_1.config_id = 720013 L10_1.gadget_id = 70500000 L11_1 = {} L11_1.x = 1763.198 L11_1.y = 246.734 L11_1.z = 780.626 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 347.0 L11_1.y = 343.573 L11_1.z = 317.032 L10_1.rot = L11_1 L10_1.level = 18 L10_1.point_type = 2006 L10_1.area_id = 5 L11_1 = {} L11_1.config_id = 720014 L11_1.gadget_id = 70500000 L12_1 = {} L12_1.x = 1762.787 L12_1.y = 246.734 L12_1.z = 780.132 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 341.843 L12_1.y = 31.543 L12_1.z = 13.841 L11_1.rot = L12_1 L11_1.level = 18 L11_1.point_type = 2006 L11_1.area_id = 5 L12_1 = {} L12_1.config_id = 720015 L12_1.gadget_id = 70500000 L13_1 = {} L13_1.x = 1763.164 L13_1.y = 246.747 L13_1.z = 783.457 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.0 L13_1.y = 347.908 L13_1.z = 24.667 L12_1.rot = L13_1 L12_1.level = 18 L12_1.point_type = 2006 L12_1.area_id = 5 L13_1 = {} L13_1.config_id = 720016 L13_1.gadget_id = 70500000 L14_1 = {} L14_1.x = 1506.452 L14_1.y = 269.348 L14_1.z = 697.643 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 = 18 L13_1.point_type = 2028 L13_1.area_id = 5 L14_1 = {} L14_1.config_id = 720017 L14_1.gadget_id = 70710094 L15_1 = {} L15_1.x = 1755.769 L15_1.y = 246.197 L15_1.z = 776.038 L14_1.pos = L15_1 L15_1 = {} L15_1.x = 0.0 L15_1.y = 58.198 L15_1.z = 0.0 L14_1.rot = L15_1 L14_1.level = 18 L14_1.persistent = true L14_1.area_id = 5 L15_1 = {} L15_1.config_id = 720018 L15_1.gadget_id = 70500000 L16_1 = {} L16_1.x = 1762.62 L16_1.y = 246.748 L16_1.z = 781.445 L15_1.pos = L16_1 L16_1 = {} L16_1.x = 339.797 L16_1.y = 351.589 L16_1.z = 23.178 L15_1.rot = L16_1 L15_1.level = 18 L15_1.point_type = 3001 L15_1.area_id = 5 L16_1 = {} L16_1.config_id = 720020 L16_1.gadget_id = 70710094 L17_1 = {} L17_1.x = 1763.039 L17_1.y = 246.208 L17_1.z = 787.279 L16_1.pos = L17_1 L17_1 = {} L17_1.x = 0.0 L17_1.y = 223.241 L17_1.z = 0.0 L16_1.rot = L17_1 L16_1.level = 18 L16_1.persistent = true L16_1.area_id = 5 L17_1 = {} L17_1.config_id = 720021 L17_1.gadget_id = 70710094 L18_1 = {} L18_1.x = 1762.969 L18_1.y = 246.2 L18_1.z = 776.145 L17_1.pos = L18_1 L18_1 = {} L18_1.x = 0.0 L18_1.y = 312.599 L18_1.z = 0.0 L17_1.rot = L18_1 L17_1.level = 18 L17_1.persistent = true L17_1.area_id = 5 L18_1 = {} L18_1.config_id = 720022 L18_1.gadget_id = 70710094 L19_1 = {} L19_1.x = 1755.79 L19_1.y = 246.179 L19_1.z = 787.2 L18_1.pos = L19_1 L19_1 = {} L19_1.x = 0.0 L19_1.y = 137.348 L19_1.z = 0.0 L18_1.rot = L19_1 L18_1.level = 18 L18_1.persistent = true L18_1.area_id = 5 L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L5_1[4] = L9_1 L5_1[5] = L10_1 L5_1[6] = L11_1 L5_1[7] = L12_1 L5_1[8] = L13_1 L5_1[9] = L14_1 L5_1[10] = L15_1 L5_1[11] = L16_1 L5_1[12] = L17_1 L5_1[13] = L18_1 gadgets = L5_1 L5_1 = {} regions = L5_1 L5_1 = {} L6_1 = {} L6_1.config_id = 1720001 L6_1.name = "GADGET_CREATE_720001" 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_720001" L6_1.action = "action_EVENT_GADGET_CREATE_720001" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1720002 L7_1.name = "GADGET_CREATE_720002" 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_720002" L7_1.action = "action_EVENT_GADGET_CREATE_720002" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1720003 L8_1.name = "GADGET_CREATE_720003" L9_1 = EventType L9_1 = L9_1.EVENT_GADGET_CREATE L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_GADGET_CREATE_720003" L8_1.action = "action_EVENT_GADGET_CREATE_720003" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1720004 L9_1.name = "GADGET_CREATE_720004" 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_720004" L9_1.action = "action_EVENT_GADGET_CREATE_720004" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1720005 L10_1.name = "GADGET_CREATE_720005" L11_1 = EventType L11_1 = L11_1.EVENT_GADGET_CREATE L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_GADGET_CREATE_720005" L10_1.action = "action_EVENT_GADGET_CREATE_720005" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1720006 L11_1.name = "GADGET_STATE_CHANGE_720006" L12_1 = EventType L12_1 = L12_1.EVENT_GADGET_STATE_CHANGE L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_720006" L11_1.action = "action_EVENT_GADGET_STATE_CHANGE_720006" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1720007 L12_1.name = "VARIABLE_CHANGE_720007" L13_1 = EventType L13_1 = L13_1.EVENT_VARIABLE_CHANGE L12_1.event = L13_1 L12_1.source = "gear_reset" L12_1.condition = "condition_EVENT_VARIABLE_CHANGE_720007" L12_1.action = "action_EVENT_VARIABLE_CHANGE_720007" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1720008 L13_1.name = "VARIABLE_CHANGE_720008" L14_1 = EventType L14_1 = L14_1.EVENT_VARIABLE_CHANGE L13_1.event = L14_1 L13_1.source = "trigger_output" L13_1.condition = "condition_EVENT_VARIABLE_CHANGE_720008" L13_1.action = "action_EVENT_VARIABLE_CHANGE_720008" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1720023 L14_1.name = "SELECT_OPTION_720023" 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_720023" L14_1.action = "action_EVENT_SELECT_OPTION_720023" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1720024 L15_1.name = "SELECT_OPTION_720024" L16_1 = EventType L16_1 = L16_1.EVENT_SELECT_OPTION L15_1.event = L16_1 L15_1.source = "" L15_1.condition = "condition_EVENT_SELECT_OPTION_720024" L15_1.action = "action_EVENT_SELECT_OPTION_720024" L15_1.trigger_count = 0 L16_1 = {} L16_1.config_id = 1720025 L16_1.name = "SELECT_OPTION_720025" 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_720025" L16_1.action = "action_EVENT_SELECT_OPTION_720025" L16_1.trigger_count = 0 L17_1 = {} L17_1.config_id = 1720026 L17_1.name = "SELECT_OPTION_720026" L18_1 = EventType L18_1 = L18_1.EVENT_SELECT_OPTION L17_1.event = L18_1 L17_1.source = "" L17_1.condition = "condition_EVENT_SELECT_OPTION_720026" L17_1.action = "action_EVENT_SELECT_OPTION_720026" L17_1.trigger_count = 0 L18_1 = {} L18_1.config_id = 1720027 L18_1.name = "SELECT_OPTION_720027" L19_1 = EventType L19_1 = L19_1.EVENT_SELECT_OPTION L18_1.event = L19_1 L18_1.source = "" L18_1.condition = "condition_EVENT_SELECT_OPTION_720027" L18_1.action = "action_EVENT_SELECT_OPTION_720027" L18_1.trigger_count = 0 L19_1 = {} L19_1.config_id = 1720028 L19_1.name = "GADGET_STATE_CHANGE_720028" L20_1 = EventType L20_1 = L20_1.EVENT_GADGET_STATE_CHANGE L19_1.event = L20_1 L19_1.source = "" L19_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_720028" L19_1.action = "action_EVENT_GADGET_STATE_CHANGE_720028" L19_1.trigger_count = 0 L20_1 = {} L20_1.config_id = 1720029 L20_1.name = "GADGET_STATE_CHANGE_720029" L21_1 = EventType L21_1 = L21_1.EVENT_GADGET_STATE_CHANGE L20_1.event = L21_1 L20_1.source = "" L20_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_720029" L20_1.action = "action_EVENT_GADGET_STATE_CHANGE_720029" L20_1.trigger_count = 0 L21_1 = {} L21_1.config_id = 1720030 L21_1.name = "GADGET_STATE_CHANGE_720030" L22_1 = EventType L22_1 = L22_1.EVENT_GADGET_STATE_CHANGE L21_1.event = L22_1 L21_1.source = "" L21_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_720030" L21_1.action = "action_EVENT_GADGET_STATE_CHANGE_720030" L21_1.trigger_count = 0 L22_1 = {} L22_1.config_id = 1720031 L22_1.name = "GADGET_STATE_CHANGE_720031" L23_1 = EventType L23_1 = L23_1.EVENT_GADGET_STATE_CHANGE L22_1.event = L23_1 L22_1.source = "" L22_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_720031" L22_1.action = "action_EVENT_GADGET_STATE_CHANGE_720031" L22_1.trigger_count = 0 L23_1 = {} L23_1.config_id = 1720032 L23_1.name = "GADGET_STATE_CHANGE_720032" L24_1 = EventType L24_1 = L24_1.EVENT_GADGET_STATE_CHANGE L23_1.event = L24_1 L23_1.source = "" L23_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_720032" L23_1.action = "action_EVENT_GADGET_STATE_CHANGE_720032" L23_1.trigger_count = 0 L24_1 = {} L24_1.config_id = 1720034 L24_1.name = "GADGET_STATE_CHANGE_720034" L25_1 = EventType L25_1 = L25_1.EVENT_GADGET_STATE_CHANGE L24_1.event = L25_1 L24_1.source = "" L24_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_720034" L24_1.action = "action_EVENT_GADGET_STATE_CHANGE_720034" L24_1.trigger_count = 0 L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L5_1[4] = L9_1 L5_1[5] = L10_1 L5_1[6] = L11_1 L5_1[7] = L12_1 L5_1[8] = L13_1 L5_1[9] = L14_1 L5_1[10] = L15_1 L5_1[11] = L16_1 L5_1[12] = L17_1 L5_1[13] = L18_1 L5_1[14] = L19_1 L5_1[15] = L20_1 L5_1[16] = L21_1 L5_1[17] = L22_1 L5_1[18] = L23_1 L5_1[19] = L24_1 triggers = L5_1 L5_1 = {} L6_1 = {} L6_1.configId = 1 L6_1.name = "sort" L6_1.value = 0 L6_1.no_refresh = false L7_1 = {} L7_1.configId = 2 L7_1.name = "gear_reset" L7_1.value = 0 L7_1.no_refresh = false L8_1 = {} L8_1.configId = 3 L8_1.name = "v_error" L8_1.value = 0 L8_1.no_refresh = false L9_1 = {} L9_1.configId = 4 L9_1.name = "trigger_output" L9_1.value = 0 L9_1.no_refresh = false L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L5_1[4] = L9_1 variables = L5_1 L5_1 = {} L5_1.suite = 1 L5_1.end_suite = 0 L5_1.rand_suite = false init_config = L5_1 L5_1 = {} L6_1 = {} L7_1 = {} L6_1.monsters = L7_1 L7_1 = {} L8_1 = 720010 L9_1 = 720011 L10_1 = 720012 L11_1 = 720013 L12_1 = 720014 L13_1 = 720015 L14_1 = 720016 L15_1 = 720017 L16_1 = 720018 L17_1 = 720020 L18_1 = 720021 L19_1 = 720022 L7_1[1] = L8_1 L7_1[2] = L9_1 L7_1[3] = L10_1 L7_1[4] = L11_1 L7_1[5] = L12_1 L7_1[6] = L13_1 L7_1[7] = L14_1 L7_1[8] = L15_1 L7_1[9] = L16_1 L7_1[10] = L17_1 L7_1[11] = L18_1 L7_1[12] = L19_1 L6_1.gadgets = L7_1 L7_1 = {} L6_1.regions = L7_1 L7_1 = {} L8_1 = "GADGET_CREATE_720001" L9_1 = "GADGET_CREATE_720002" L10_1 = "GADGET_CREATE_720003" L11_1 = "GADGET_CREATE_720004" L12_1 = "GADGET_CREATE_720005" L13_1 = "GADGET_STATE_CHANGE_720006" L14_1 = "VARIABLE_CHANGE_720007" L15_1 = "VARIABLE_CHANGE_720008" L16_1 = "SELECT_OPTION_720023" L17_1 = "SELECT_OPTION_720024" L18_1 = "SELECT_OPTION_720025" L19_1 = "SELECT_OPTION_720026" L20_1 = "SELECT_OPTION_720027" L21_1 = "GADGET_STATE_CHANGE_720028" L22_1 = "GADGET_STATE_CHANGE_720029" L23_1 = "GADGET_STATE_CHANGE_720030" L24_1 = "GADGET_STATE_CHANGE_720031" L25_1 = "GADGET_STATE_CHANGE_720032" L26_1 = "GADGET_STATE_CHANGE_720034" L7_1[1] = L8_1 L7_1[2] = L9_1 L7_1[3] = L10_1 L7_1[4] = L11_1 L7_1[5] = L12_1 L7_1[6] = L13_1 L7_1[7] = L14_1 L7_1[8] = L15_1 L7_1[9] = L16_1 L7_1[10] = L17_1 L7_1[11] = L18_1 L7_1[12] = L19_1 L7_1[13] = L20_1 L7_1[14] = L21_1 L7_1[15] = L22_1 L7_1[16] = L23_1 L7_1[17] = L24_1 L7_1[18] = L25_1 L7_1[19] = L26_1 L6_1.triggers = L7_1 L7_1 = {} L8_1 = 720019 L7_1[1] = L8_1 L6_1.npcs = L7_1 L6_1.rand_weight = 100 L6_1.ban_refresh = true L5_1[1] = L6_1 suites = L5_1 function L5_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 720011 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_720001 = L5_1 function L5_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 = 7 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_720001 = L5_1 function L5_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 720017 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_720002 = L5_1 function L5_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 = 7 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_720002 = L5_1 function L5_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 720020 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_720003 = L5_1 function L5_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 = 7 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_720003 = L5_1 function L5_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 720021 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_720004 = L5_1 function L5_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 = 7 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_720004 = L5_1 function L5_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 720022 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_720005 = L5_1 function L5_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 = 7 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_720005 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = 1 L3_2 = L1_1.gadget_array L3_2 = #L3_2 L4_2 = 1 for L5_2 = L2_2, L3_2, L4_2 do L6_2 = L1_1.gadget_array L6_2 = L6_2[L5_2] L7_2 = A1_2.param2 if L6_2 == L7_2 then L6_2 = true return L6_2 end end L2_2 = false return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_720006 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2 L2_2 = L4_1 if not (9 < L2_2) then L2_2 = L4_1 if not (L2_2 <= 1) then goto lbl_9 end end L2_2 = -1 do return L2_2 end ::lbl_9:: L2_2 = A1_2.param1 L3_2 = L1_1.active_step if L2_2 == L3_2 then L2_2 = 1 L3_2 = L4_1 L4_2 = 1 for L5_2 = L2_2, L3_2, L4_2 do L6_2 = L1_1.gadget_array L6_2 = L6_2[L5_2] L7_2 = A1_2.param2 if L6_2 == L7_2 then L6_2 = ScriptLib L6_2 = L6_2.GetGroupVariableValue L7_2 = A0_2 L8_2 = "sort" L6_2 = L6_2(L7_2, L8_2) L2_1 = L6_2 L6_2 = L2_1 L6_2 = 10 * L6_2 L6_2 = L6_2 + L5_2 L2_1 = L6_2 L6_2 = ScriptLib L6_2 = L6_2.SetGroupVariableValue L7_2 = A0_2 L8_2 = "sort" L9_2 = L2_1 L6_2(L7_2, L8_2, L9_2) break end L6_2 = L4_1 if L5_2 == L6_2 then L6_2 = L1_1.gadget_array L6_2 = L6_2[L5_2] L7_2 = A1_2.param2 if L6_2 ~= L7_2 then L6_2 = ScriptLib L6_2 = L6_2.SetGroupVariableValue L7_2 = A0_2 L8_2 = "v_error" L9_2 = 1 L6_2(L7_2, L8_2, L9_2) L6_2 = L2_1 L6_2 = 10 * L6_2 L2_1 = L6_2 end end end end L2_2 = L2_1 L3_2 = L4_1 L3_2 = L3_2 - 1 L3_2 = 10 ^ L3_2 if L2_2 > L3_2 then L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "v_error" L2_2 = L2_2(L3_2, L4_2) L3_1 = L2_2 L2_2 = L3_1 if 0 == L2_2 then L2_2 = L4_1 L3_2 = 1 L4_2 = -1 for L5_2 = L2_2, L3_2, L4_2 do L6_2 = L2_1 L6_2 = L6_2 % 10 if L6_2 ~= L5_2 then L6_2 = 1 L3_1 = L6_2 break end L6_2 = math L6_2 = L6_2.floor L7_2 = L2_1 L7_2 = L7_2 / 10 L6_2 = L6_2(L7_2) L2_1 = L6_2 end end L2_2 = 0 L2_1 = L2_2 L2_2 = L3_1 if L2_2 ~= 1 then L2_2 = -1 L3_1 = L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "sort" L5_2 = L2_1 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "gear_reset" L5_2 = L3_1 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "v_error" L5_2 = 0 L2_2(L3_2, L4_2, L5_2) end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_720006 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_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 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_720007 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_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.param1 if L2_2 == 1 then L2_2 = L1_1.reset_gear_list L2_2 = #L2_2 if L2_2 == 0 then L2_2 = suites L2_2 = L2_2[1] L2_2 = L2_2.gadgets L1_1.reset_gear_list = L2_2 end L2_2 = 1 L3_2 = L1_1.reset_gear_list L3_2 = #L3_2 L4_2 = 1 for L5_2 = L2_2, L3_2, L4_2 do L6_2 = ScriptLib L6_2 = L6_2.SetGroupGadgetStateByConfigId L7_2 = A0_2 L8_2 = 0 L9_2 = L1_1.reset_gear_list L9_2 = L9_2[L5_2] L10_2 = L1_1.inactive_step L6_2(L7_2, L8_2, L9_2, L10_2) end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "gear_reset" L5_2 = 0 L2_2(L3_2, L4_2, L5_2) else L2_2 = A1_2.param1 if L2_2 ~= 0 then L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "trigger_output" L5_2 = 1 L2_2(L3_2, L4_2, L5_2) end end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "gear_reset" L5_2 = 0 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_720007 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_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 = A1_2.param1 if 0 < L2_2 then L2_2 = A1_2.param1 L3_2 = A1_2.param2 if L2_2 ~= L3_2 then L2_2 = true return L2_2 end end L2_2 = false return L2_2 end condition_EVENT_VARIABLE_CHANGE_720008 = L5_1 function L5_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 = 720009 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_720008 = L5_1 function L5_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 720011 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 7 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_720023 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 720011 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 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133102720 L5_2 = 720011 L6_2 = 7 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_720023 = L5_1 function L5_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 720017 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 7 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_720024 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 720017 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 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133102720 L5_2 = 720017 L6_2 = 7 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_720024 = L5_1 function L5_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 720020 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 7 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_720025 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 720020 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 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133102720 L5_2 = 720020 L6_2 = 7 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_720025 = L5_1 function L5_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 720021 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 7 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_720026 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 720021 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 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133102720 L5_2 = 720021 L6_2 = 7 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_720026 = L5_1 function L5_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 720022 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 7 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_720027 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 720022 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 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133102720 L5_2 = 720022 L6_2 = 7 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_720027 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 720011 == 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.GearStart 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_720028 = L5_1 function L5_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 = 7 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_STATE_CHANGE_720028 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 720017 == 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.GearStart 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_720029 = L5_1 function L5_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 = 7 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_STATE_CHANGE_720029 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 720020 == 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.GearStart 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_720030 = L5_1 function L5_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 = 7 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_STATE_CHANGE_720030 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 720021 == 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.GearStart 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_720031 = L5_1 function L5_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 = 7 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_STATE_CHANGE_720031 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 720022 == 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.GearStart 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_720032 = L5_1 function L5_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 = 7 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_STATE_CHANGE_720032 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 720011 == 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.GearStart 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_720034 = L5_1 function L5_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 = 720010 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 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 31020830 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 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_720034 = L5_1