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 L0_1 = {} L0_1.group_id = 133212130 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 130001 L2_1.gadget_id = 70350006 L3_1 = {} L3_1.x = -3893.464 L3_1.y = 226.64 L3_1.z = -2273.554 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 270.117 L3_1.y = 151.0 L3_1.z = 180.0 L2_1.rot = L3_1 L2_1.level = 27 L3_1 = GadgetState L3_1 = L3_1.GearStart L2_1.state = L3_1 L2_1.persistent = true L2_1.area_id = 13 L3_1 = {} L3_1.config_id = 130002 L3_1.gadget_id = 70350006 L4_1 = {} L4_1.x = -3893.467 L4_1.y = 224.109 L4_1.z = -2273.55 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 270.119 L4_1.y = 151.0 L4_1.z = 180.0 L3_1.rot = L4_1 L3_1.level = 27 L4_1 = GadgetState L4_1 = L4_1.GearStart L3_1.state = L4_1 L3_1.persistent = true L3_1.area_id = 13 L4_1 = {} L4_1.config_id = 130003 L4_1.gadget_id = 70350006 L5_1 = {} L5_1.x = -3893.469 L5_1.y = 221.643 L5_1.z = -2273.545 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 270.119 L5_1.y = 151.001 L5_1.z = 180.0 L4_1.rot = L5_1 L4_1.level = 27 L4_1.persistent = true L4_1.area_id = 13 L5_1 = {} L5_1.config_id = 130004 L5_1.gadget_id = 70350006 L6_1 = {} L6_1.x = -3893.472 L6_1.y = 218.838 L6_1.z = -2273.539 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 270.117 L6_1.y = 151.001 L6_1.z = 180.0 L5_1.rot = L6_1 L5_1.level = 27 L5_1.persistent = true L5_1.area_id = 13 L6_1 = {} L6_1.config_id = 130005 L6_1.gadget_id = 70360170 L7_1 = {} L7_1.x = -3895.388 L7_1.y = 228.06 L7_1.z = -2276.483 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 58.599 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 27 L6_1.persistent = true L6_1.area_id = 13 L7_1 = {} L7_1.config_id = 130006 L7_1.gadget_id = 70360170 L8_1 = {} L8_1.x = -3894.162 L8_1.y = 228.06 L8_1.z = -2278.585 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 58.599 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 27 L7_1.persistent = true L7_1.area_id = 13 L8_1 = {} L8_1.config_id = 130007 L8_1.gadget_id = 70360170 L9_1 = {} L9_1.x = -3888.572 L9_1.y = 228.06 L9_1.z = -2275.265 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 59.913 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 27 L8_1.persistent = true L8_1.area_id = 13 L9_1 = {} L9_1.config_id = 130008 L9_1.gadget_id = 70360170 L10_1 = {} L10_1.x = -3889.665 L10_1.y = 228.06 L10_1.z = -2273.38 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 60.477 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 27 L9_1.persistent = true L9_1.area_id = 13 L10_1 = {} L10_1.config_id = 130009 L10_1.gadget_id = 70360170 L11_1 = {} L11_1.x = -3890.134 L11_1.y = 228.089 L11_1.z = -2278.909 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 150.418 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 27 L10_1.persistent = true L10_1.area_id = 13 L11_1 = {} L11_1.config_id = 130018 L11_1.gadget_id = 70350006 L12_1 = {} L12_1.x = -3893.474 L12_1.y = 217.147 L12_1.z = -2273.536 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 270.117 L12_1.y = 151.001 L12_1.z = 180.0 L11_1.rot = L12_1 L11_1.level = 27 L11_1.persistent = true L11_1.area_id = 13 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 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1130011 L2_1.name = "GADGET_CREATE_130011" L3_1 = EventType L3_1 = L3_1.EVENT_GADGET_CREATE L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_GADGET_CREATE_130011" L2_1.action = "action_EVENT_GADGET_CREATE_130011" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1130012 L3_1.name = "SELECT_OPTION_130012" 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_130012" L3_1.action = "action_EVENT_SELECT_OPTION_130012" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1130013 L4_1.name = "SELECT_OPTION_130013" 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_130013" L4_1.action = "action_EVENT_SELECT_OPTION_130013" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1130014 L5_1.name = "SELECT_OPTION_130014" L6_1 = EventType L6_1 = L6_1.EVENT_SELECT_OPTION L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_SELECT_OPTION_130014" L5_1.action = "action_EVENT_SELECT_OPTION_130014" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1130015 L6_1.name = "SELECT_OPTION_130015" 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_130015" L6_1.action = "action_EVENT_SELECT_OPTION_130015" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1130016 L7_1.name = "SELECT_OPTION_130016" L8_1 = EventType L8_1 = L8_1.EVENT_SELECT_OPTION L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_SELECT_OPTION_130016" L7_1.action = "action_EVENT_SELECT_OPTION_130016" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1130017 L8_1.name = "VARIABLE_CHANGE_130017" L9_1 = EventType L9_1 = L9_1.EVENT_VARIABLE_CHANGE L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_VARIABLE_CHANGE_130017" L8_1.action = "action_EVENT_VARIABLE_CHANGE_130017" L8_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 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "debug_01" L2_1.value = 0 L2_1.no_refresh = false L3_1 = {} L3_1.configId = 2 L3_1.name = "door_01" L3_1.value = 0 L3_1.no_refresh = false L1_1[1] = L2_1 L1_1[2] = L3_1 variables = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L3_1.config_id = 130010 L3_1.monster_id = 24020101 L4_1 = {} L4_1.x = -3901.132 L4_1.y = 227.867 L4_1.z = -2285.945 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 238.219 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 27 L3_1.drop_id = 1000100 L3_1.pose_id = 101 L3_1.area_id = 13 L2_1[1] = L3_1 L1_1.monsters = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1130019 L3_1.name = "VARIABLE_CHANGE_130019" L4_1 = EventType L4_1 = L4_1.EVENT_VARIABLE_CHANGE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_130019" L3_1.action = "action_EVENT_VARIABLE_CHANGE_130019" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1130020 L4_1.name = "VARIABLE_CHANGE_130020" 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_130020" L4_1.action = "action_EVENT_VARIABLE_CHANGE_130020" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1130021 L5_1.name = "VARIABLE_CHANGE_130021" 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_130021" L5_1.action = "action_EVENT_VARIABLE_CHANGE_130021" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1130022 L6_1.name = "VARIABLE_CHANGE_130022" L7_1 = EventType L7_1 = L7_1.EVENT_VARIABLE_CHANGE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_VARIABLE_CHANGE_130022" L6_1.action = "action_EVENT_VARIABLE_CHANGE_130022" L6_1.trigger_count = 0 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L1_1.triggers = L2_1 garbages = L1_1 L1_1 = {} L1_1.suite = 1 L1_1.end_suite = 0 L1_1.rand_suite = false init_config = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L2_1.monsters = L3_1 L3_1 = {} L4_1 = 130001 L5_1 = 130002 L6_1 = 130003 L7_1 = 130004 L8_1 = 130005 L9_1 = 130006 L10_1 = 130007 L11_1 = 130008 L12_1 = 130009 L13_1 = 130018 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 L2_1.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L4_1 = "GADGET_CREATE_130011" L5_1 = "SELECT_OPTION_130012" L6_1 = "SELECT_OPTION_130013" L7_1 = "SELECT_OPTION_130014" L8_1 = "SELECT_OPTION_130015" L9_1 = "SELECT_OPTION_130016" L10_1 = "VARIABLE_CHANGE_130017" 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 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L1_1[1] = L2_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 130005 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_130011 = 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 = 133212130 L5_2 = 130005 L6_2 = {} L7_2 = 1 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133212130 L5_2 = 130006 L6_2 = {} L7_2 = 1 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133212130 L5_2 = 130007 L6_2 = {} L7_2 = 1 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133212130 L5_2 = 130008 L6_2 = {} L7_2 = 1 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133212130 L5_2 = 130009 L6_2 = {} L7_2 = 216 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_130011 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 130005 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 1 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_130012 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 130001 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 130004 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.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133212130 L5_2 = 130005 L6_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "debug_01" 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 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "door_01" L5_2 = 2 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_SELECT_OPTION_130012 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 130006 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 1 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_130013 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 130001 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 130003 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 = 133212130 L5_2 = 130006 L6_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "debug_01" 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 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "door_01" L5_2 = 4 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_SELECT_OPTION_130013 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 130007 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 1 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_130014 = 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.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "debug_01" 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 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "door_01" 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 130002 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 130004 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 = 133212130 L5_2 = 130007 L6_2 = 1 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_130014 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 130008 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 1 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_130015 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 130002 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 130004 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 = 133212130 L5_2 = 130008 L6_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "debug_01" 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 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "door_01" L5_2 = 3 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_SELECT_OPTION_130015 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 130009 ~= 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_130016 = 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "debug_01" L5_2 = 0 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "door_01" L5_2 = 0 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 130018 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 130001 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 130002 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 130003 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 130004 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.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133212130 L5_2 = 130005 L6_2 = {} L7_2 = 1 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133212130 L5_2 = 130006 L6_2 = {} L7_2 = 1 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133212130 L5_2 = 130007 L6_2 = {} L7_2 = 1 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133212130 L5_2 = 130008 L6_2 = {} L7_2 = 1 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_SELECT_OPTION_130016 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_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.GetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "debug_01" L5_2 = 133212130 L2_2 = L2_2(L3_2, L4_2, L5_2) if L2_2 ~= 4 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "door_01" L5_2 = 133212130 L2_2 = L2_2(L3_2, L4_2, L5_2) if L2_2 ~= 4 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_130017 = 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 = 130018 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_130017 = L1_1