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 = 144002081 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 81001 L2_1.gadget_id = 70360006 L3_1 = {} L3_1.x = 358.566 L3_1.y = 120.039 L3_1.z = -535.098 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 0.0 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L2_1.area_id = 101 L3_1 = {} L3_1.config_id = 81002 L3_1.gadget_id = 70211102 L4_1 = {} L4_1.x = 364.208 L4_1.y = 120.015 L4_1.z = -537.618 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 = 26 L3_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\190\164\229\178\155" L4_1 = GadgetState L4_1 = L4_1.ChestLocked L3_1.state = L4_1 L3_1.isOneoff = true L3_1.persistent = true L4_1 = {} L4_1.name = "chest" L4_1.exp = 1 L3_1.explore = L4_1 L3_1.area_id = 101 L4_1 = {} L4_1.config_id = 81008 L4_1.gadget_id = 70350085 L5_1 = {} L5_1.x = 384.586 L5_1.y = 124.0 L5_1.z = -529.94 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 = 1 L4_1.area_id = 101 L5_1 = {} L5_1.config_id = 81009 L5_1.gadget_id = 70950079 L6_1 = {} L6_1.x = 367.802 L6_1.y = 124.213 L6_1.z = -528.57 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 8.0 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L5_1.is_use_point_array = true L5_1.area_id = 101 L6_1 = {} L6_1.config_id = 81010 L6_1.gadget_id = 70350243 L7_1 = {} L7_1.x = 367.802 L7_1.y = 120.299 L7_1.z = -528.57 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 200.035 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L7_1 = GadgetState L7_1 = L7_1.GearStop L6_1.state = L7_1 L6_1.area_id = 101 L7_1 = {} L7_1.config_id = 81011 L7_1.gadget_id = 70360001 L8_1 = {} L8_1.x = 367.802 L8_1.y = 120.299 L8_1.z = -528.57 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 200.035 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L7_1.area_id = 101 L8_1 = {} L8_1.config_id = 81012 L8_1.gadget_id = 70950077 L9_1 = {} L9_1.x = 375.0 L9_1.y = 124.0 L9_1.z = -531.961 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 92.0 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L8_1.is_use_point_array = true L8_1.area_id = 101 L9_1 = {} L9_1.config_id = 81013 L9_1.gadget_id = 70350241 L10_1 = {} L10_1.x = 374.93 L10_1.y = 120.297 L10_1.z = -531.947 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 84.907 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 1 L10_1 = GadgetState L10_1 = L10_1.GearStop L9_1.state = L10_1 L9_1.area_id = 101 L10_1 = {} L10_1.config_id = 81014 L10_1.gadget_id = 70360001 L11_1 = {} L11_1.x = 374.93 L11_1.y = 120.297 L11_1.z = -531.947 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 84.907 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 1 L10_1.area_id = 101 L11_1 = {} L11_1.config_id = 81015 L11_1.gadget_id = 70950078 L12_1 = {} L12_1.x = 380.354 L12_1.y = 124.0 L12_1.z = -528.752 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 278.0 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 1 L11_1.is_use_point_array = true L11_1.area_id = 101 L12_1 = {} L12_1.config_id = 81016 L12_1.gadget_id = 70350242 L13_1 = {} L13_1.x = 380.354 L13_1.y = 120.493 L13_1.z = -528.752 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.0 L13_1.y = 316.056 L13_1.z = 0.0 L12_1.rot = L13_1 L12_1.level = 1 L13_1 = GadgetState L13_1 = L13_1.GearStop L12_1.state = L13_1 L12_1.area_id = 101 L13_1 = {} L13_1.config_id = 81017 L13_1.gadget_id = 70360001 L14_1 = {} L14_1.x = 380.354 L14_1.y = 120.493 L14_1.z = -528.752 L13_1.pos = L14_1 L14_1 = {} L14_1.x = 0.0 L14_1.y = 316.056 L14_1.z = 0.0 L13_1.rot = L14_1 L13_1.level = 1 L14_1 = GadgetState L14_1 = L14_1.GearStart L13_1.state = L14_1 L13_1.area_id = 101 L14_1 = {} L14_1.config_id = 81026 L14_1.gadget_id = 70950074 L15_1 = {} L15_1.x = 384.586 L15_1.y = 124.0 L15_1.z = -529.94 L14_1.pos = L15_1 L15_1 = {} L15_1.x = 0.0 L15_1.y = 98.0 L15_1.z = 0.0 L14_1.rot = L15_1 L14_1.level = 1 L14_1.is_use_point_array = true L14_1.area_id = 101 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 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1081003 L2_1.name = "SELECT_OPTION_81003" L3_1 = EventType L3_1 = L3_1.EVENT_SELECT_OPTION L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_SELECT_OPTION_81003" L2_1.action = "action_EVENT_SELECT_OPTION_81003" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1081004 L3_1.name = "SELECT_OPTION_81004" L4_1 = EventType L4_1 = L4_1.EVENT_SELECT_OPTION L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_SELECT_OPTION_81004" L3_1.action = "action_EVENT_SELECT_OPTION_81004" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1081005 L4_1.name = "SELECT_OPTION_81005" L5_1 = EventType L5_1 = L5_1.EVENT_SELECT_OPTION L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_SELECT_OPTION_81005" L4_1.action = "action_EVENT_SELECT_OPTION_81005" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1081006 L5_1.name = "VARIABLE_CHANGE_81006" L6_1 = EventType L6_1 = L6_1.EVENT_VARIABLE_CHANGE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_VARIABLE_CHANGE_81006" L5_1.action = "action_EVENT_VARIABLE_CHANGE_81006" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1081007 L6_1.name = "GADGET_STATE_CHANGE_81007" 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_81007" L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_81007" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1081018 L7_1.name = "GADGET_STATE_CHANGE_81018" L8_1 = EventType L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_81018" L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_81018" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1081029 L8_1.name = "GROUP_LOAD_81029" L9_1 = EventType L9_1 = L9_1.EVENT_GROUP_LOAD L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "" L8_1.action = "action_EVENT_GROUP_LOAD_81029" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1081036 L9_1.name = "GADGET_STATE_CHANGE_81036" L10_1 = EventType L10_1 = L10_1.EVENT_GADGET_STATE_CHANGE L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_81036" L9_1.action = "action_EVENT_GADGET_STATE_CHANGE_81036" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1081037 L10_1.name = "GADGET_STATE_CHANGE_81037" L11_1 = EventType L11_1 = L11_1.EVENT_GADGET_STATE_CHANGE L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_81037" L10_1.action = "action_EVENT_GADGET_STATE_CHANGE_81037" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1081038 L11_1.name = "GADGET_CREATE_81038" L12_1 = EventType L12_1 = L12_1.EVENT_GADGET_CREATE L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "condition_EVENT_GADGET_CREATE_81038" L11_1.action = "action_EVENT_GADGET_CREATE_81038" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1081039 L12_1.name = "GADGET_STATE_CHANGE_81039" L13_1 = EventType L13_1 = L13_1.EVENT_GADGET_STATE_CHANGE L12_1.event = L13_1 L12_1.source = "" L12_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_81039" L12_1.action = "action_EVENT_GADGET_STATE_CHANGE_81039" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1081040 L13_1.name = "GADGET_STATE_CHANGE_81040" L14_1 = EventType L14_1 = L14_1.EVENT_GADGET_STATE_CHANGE L13_1.event = L14_1 L13_1.source = "" L13_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_81040" L13_1.action = "action_EVENT_GADGET_STATE_CHANGE_81040" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1081041 L14_1.name = "GADGET_CREATE_81041" L15_1 = EventType L15_1 = L15_1.EVENT_GADGET_CREATE L14_1.event = L15_1 L14_1.source = "" L14_1.condition = "condition_EVENT_GADGET_CREATE_81041" L14_1.action = "action_EVENT_GADGET_CREATE_81041" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1081042 L15_1.name = "SELECT_OPTION_81042" 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_81042" L15_1.action = "action_EVENT_SELECT_OPTION_81042" L15_1.trigger_count = 0 L16_1 = {} L16_1.config_id = 1081043 L16_1.name = "SELECT_OPTION_81043" 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_81043" L16_1.action = "action_EVENT_SELECT_OPTION_81043" L16_1.trigger_count = 0 L17_1 = {} L17_1.config_id = 1081044 L17_1.name = "SELECT_OPTION_81044" 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_81044" L17_1.action = "action_EVENT_SELECT_OPTION_81044" L17_1.trigger_count = 0 L18_1 = {} L18_1.config_id = 1081045 L18_1.name = "GADGET_STATE_CHANGE_81045" 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_81045" L18_1.action = "action_EVENT_GADGET_STATE_CHANGE_81045" L18_1.trigger_count = 0 L19_1 = {} L19_1.config_id = 1081046 L19_1.name = "GADGET_STATE_CHANGE_81046" 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_81046" L19_1.action = "action_EVENT_GADGET_STATE_CHANGE_81046" L19_1.trigger_count = 0 L20_1 = {} L20_1.config_id = 1081047 L20_1.name = "GADGET_CREATE_81047" L21_1 = EventType L21_1 = L21_1.EVENT_GADGET_CREATE L20_1.event = L21_1 L20_1.source = "" L20_1.condition = "condition_EVENT_GADGET_CREATE_81047" L20_1.action = "action_EVENT_GADGET_CREATE_81047" L20_1.trigger_count = 0 L21_1 = {} L21_1.config_id = 1081048 L21_1.name = "SELECT_OPTION_81048" L22_1 = EventType L22_1 = L22_1.EVENT_SELECT_OPTION L21_1.event = L22_1 L21_1.source = "" L21_1.condition = "condition_EVENT_SELECT_OPTION_81048" L21_1.action = "action_EVENT_SELECT_OPTION_81048" L21_1.trigger_count = 0 L22_1 = {} L22_1.config_id = 1081049 L22_1.name = "SELECT_OPTION_81049" L23_1 = EventType L23_1 = L23_1.EVENT_SELECT_OPTION L22_1.event = L23_1 L22_1.source = "" L22_1.condition = "condition_EVENT_SELECT_OPTION_81049" L22_1.action = "action_EVENT_SELECT_OPTION_81049" L22_1.trigger_count = 0 L23_1 = {} L23_1.config_id = 1081060 L23_1.name = "ANY_GADGET_DIE_81060" L24_1 = EventType L24_1 = L24_1.EVENT_ANY_GADGET_DIE L23_1.event = L24_1 L23_1.source = "" L23_1.condition = "condition_EVENT_ANY_GADGET_DIE_81060" L23_1.action = "action_EVENT_ANY_GADGET_DIE_81060" L23_1.trigger_count = 0 L24_1 = {} L24_1.config_id = 1081061 L24_1.name = "GADGET_STATE_CHANGE_81061" 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_81061" L24_1.action = "action_EVENT_GADGET_STATE_CHANGE_81061" L24_1.trigger_count = 0 L25_1 = {} L25_1.config_id = 1081064 L25_1.name = "SELECT_OPTION_81064" L26_1 = EventType L26_1 = L26_1.EVENT_SELECT_OPTION L25_1.event = L26_1 L25_1.source = "" L25_1.condition = "condition_EVENT_SELECT_OPTION_81064" L25_1.action = "action_EVENT_SELECT_OPTION_81064" 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 = "hoop1Pos" L2_1.value = 0 L2_1.no_refresh = false L3_1 = {} L3_1.configId = 2 L3_1.name = "hoop2Pos" L3_1.value = 0 L3_1.no_refresh = false L4_1 = {} L4_1.configId = 3 L4_1.name = "complete" L4_1.value = 0 L4_1.no_refresh = false L5_1 = {} L5_1.configId = 4 L5_1.name = "triggercount" L5_1.value = 0 L5_1.no_refresh = false L6_1 = {} L6_1.configId = 5 L6_1.name = "done" L6_1.value = 0 L6_1.no_refresh = true 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 variables = L1_1 L1_1 = {} L1_1.suite = 1 L1_1.end_suite = 6 L1_1.rand_suite = false init_config = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L2_1.monsters = L3_1 L3_1 = {} L4_1 = 81001 L5_1 = 81002 L6_1 = 81026 L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L2_1.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L4_1 = "VARIABLE_CHANGE_81006" L5_1 = "GADGET_STATE_CHANGE_81007" L6_1 = "GADGET_STATE_CHANGE_81018" L7_1 = "GROUP_LOAD_81029" L8_1 = "ANY_GADGET_DIE_81060" L9_1 = "GADGET_STATE_CHANGE_81061" 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 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 81008 L4_1[1] = L5_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L4_1.monsters = L5_1 L5_1 = {} L6_1 = 81009 L7_1 = 81010 L8_1 = 81011 L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L6_1 = "SELECT_OPTION_81003" L7_1 = "SELECT_OPTION_81004" L8_1 = "SELECT_OPTION_81005" L9_1 = "GADGET_STATE_CHANGE_81036" L10_1 = "GADGET_STATE_CHANGE_81037" L11_1 = "GADGET_CREATE_81038" L12_1 = "SELECT_OPTION_81064" 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 L4_1.triggers = L5_1 L4_1.rand_weight = 100 L5_1 = {} L6_1 = {} L5_1.monsters = L6_1 L6_1 = {} L7_1 = 81012 L8_1 = 81013 L9_1 = 81014 L6_1[1] = L7_1 L6_1[2] = L8_1 L6_1[3] = L9_1 L5_1.gadgets = L6_1 L6_1 = {} L5_1.regions = L6_1 L6_1 = {} L7_1 = "GADGET_STATE_CHANGE_81039" L8_1 = "GADGET_STATE_CHANGE_81040" L9_1 = "GADGET_CREATE_81041" L10_1 = "SELECT_OPTION_81042" L11_1 = "SELECT_OPTION_81043" L12_1 = "SELECT_OPTION_81044" L6_1[1] = L7_1 L6_1[2] = L8_1 L6_1[3] = L9_1 L6_1[4] = L10_1 L6_1[5] = L11_1 L6_1[6] = L12_1 L5_1.triggers = L6_1 L5_1.rand_weight = 100 L6_1 = {} L7_1 = {} L6_1.monsters = L7_1 L7_1 = {} L8_1 = 81015 L9_1 = 81016 L10_1 = 81017 L7_1[1] = L8_1 L7_1[2] = L9_1 L7_1[3] = L10_1 L6_1.gadgets = L7_1 L7_1 = {} L6_1.regions = L7_1 L7_1 = {} L8_1 = "GADGET_STATE_CHANGE_81045" L9_1 = "GADGET_STATE_CHANGE_81046" L10_1 = "GADGET_CREATE_81047" L11_1 = "SELECT_OPTION_81048" L12_1 = "SELECT_OPTION_81049" 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 L6_1.triggers = L7_1 L6_1.rand_weight = 100 L7_1 = {} L8_1 = {} L7_1.monsters = L8_1 L8_1 = {} L7_1.gadgets = L8_1 L8_1 = {} L7_1.regions = L8_1 L8_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 = A1_2.param1 if 81011 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 211 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "triggercount" 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_SELECT_OPTION_81003 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = {} L2_2.route_type = 0 L2_2.turn_mode = true L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = 81009 L6_2 = 400200006 L7_2 = {} L8_2 = 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.ChangeGroupVariableValue L4_2 = A0_2 L5_2 = "triggercount" L6_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : change_GroupVariable" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_81003 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 81011 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 211 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "triggercount" 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_SELECT_OPTION_81004 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = {} L2_2.route_type = 0 L2_2.turn_mode = true L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = 81009 L6_2 = 400200006 L7_2 = {} L8_2 = 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.ChangeGroupVariableValue L4_2 = A0_2 L5_2 = "triggercount" L6_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : change_GroupVariable" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_81004 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 81011 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 211 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "triggercount" 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_SELECT_OPTION_81005 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = {} L2_2.route_type = 0 L2_2.turn_mode = true L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = 81009 L6_2 = 400200006 L7_2 = {} L8_2 = 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.ChangeGroupVariableValue L4_2 = A0_2 L5_2 = "triggercount" L6_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : change_GroupVariable" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_81005 = 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 = 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 = "triggercount" L2_2 = L2_2(L3_2, L4_2) if L2_2 < 4 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_81006 = 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 = "triggercount" L5_2 = 0 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_81006 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param2 if 81001 == 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 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "complete" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_81007 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 144002081 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_81007 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param2 if 81001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.Default 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 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "complete" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_81018 = 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.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 144002081 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_81018 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 144002081 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 144002081 L5_2 = 4 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 144002081 L5_2 = 5 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_GROUP_LOAD_81029 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 81001 == 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_81036 = 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 = 81009 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_81036 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 81001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.Default 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_81037 = 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 = 81009 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_81037 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 81011 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_81038 = 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 = 144002081 L5_2 = 81011 L6_2 = {} L7_2 = 211 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_81038 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 81001 == 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_81039 = 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 = 81012 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_81039 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 81001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.Default 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_81040 = 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 = 81012 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_81040 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 81014 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_81041 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2 L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 144002081 L5_2 = 81014 L6_2 = {} L7_2 = 217 L8_2 = 218 L9_2 = 219 L6_2[1] = L7_2 L6_2[2] = L8_2 L6_2[3] = L9_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_81041 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 81014 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 217 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_81042 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 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 = 81012 L6_2 = 400200007 L7_2 = {} L8_2 = 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 = 0 return L3_2 end action_EVENT_SELECT_OPTION_81042 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 81014 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 218 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_81043 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 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 = 81012 L6_2 = 400200007 L7_2 = {} L8_2 = 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 = 0 return L3_2 end action_EVENT_SELECT_OPTION_81043 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 81014 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 219 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_81044 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 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 = 81012 L6_2 = 400200007 L7_2 = {} L8_2 = 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 = 0 return L3_2 end action_EVENT_SELECT_OPTION_81044 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 81001 == 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_81045 = 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 = 81015 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_81045 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 81001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.Default 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_81046 = 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 = 81015 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_81046 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 81017 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_81047 = L1_1 function L1_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.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 144002081 L5_2 = 81017 L6_2 = {} L7_2 = 215 L8_2 = 216 L6_2[1] = L7_2 L6_2[2] = L8_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_81047 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 81017 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 215 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_81048 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 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 = 81015 L6_2 = 400200008 L7_2 = {} L8_2 = 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.SetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 81016 L6_2 = GadgetState L6_2 = L6_2.GearStart L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_81048 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 81017 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 216 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_81049 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 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 = 81015 L6_2 = 400200008 L7_2 = {} L8_2 = 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.SetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 81016 L6_2 = GadgetState L6_2 = L6_2.GearStop L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_81049 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 81026 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_81060 = 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 = 81002 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "complete" 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 = ScriptLib L2_2 = L2_2.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 144002081 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_ANY_GADGET_DIE_81060 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 81002 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened 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_81061 = 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.GoToGroupSuite L3_2 = A0_2 L4_2 = 144002081 L5_2 = 6 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 : goto_groupSuite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "done" L5_2 = 1 L6_2 = 144002036 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_groupVariable_by_group" 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_81061 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 81011 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 211 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "triggercount" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_81064 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = {} L2_2.route_type = 0 L2_2.turn_mode = true L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = 81009 L6_2 = 400200006 L7_2 = {} L8_2 = 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.ChangeGroupVariableValue L4_2 = A0_2 L5_2 = "triggercount" L6_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : change_GroupVariable" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_81064 = L1_1