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 L0_1 = {} L0_1.group_id = 133107206 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 206001 L2_1.gadget_id = 70300110 L3_1 = {} L3_1.x = -893.1 L3_1.y = 226.31 L3_1.z = 655.57 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.59 L3_1.y = 29.013 L3_1.z = 4.25 L2_1.rot = L3_1 L2_1.level = 1 L2_1.isOneoff = true L2_1.persistent = true L2_1.area_id = 8 L3_1 = {} L3_1.config_id = 206002 L3_1.gadget_id = 70360001 L4_1 = {} L4_1.x = -893.068 L4_1.y = 226.252 L4_1.z = 655.561 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 16.846 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L3_1.isOneoff = true L3_1.persistent = true L3_1.area_id = 8 L4_1 = {} L4_1.config_id = 206003 L4_1.gadget_id = 70360001 L5_1 = {} L5_1.x = -908.863 L5_1.y = 228.361 L5_1.z = 667.653 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.isOneoff = true L4_1.persistent = true L4_1.area_id = 8 L5_1 = {} L5_1.config_id = 206004 L5_1.gadget_id = 70300110 L6_1 = {} L6_1.x = -908.843 L6_1.y = 228.323 L6_1.z = 667.604 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 14.909 L6_1.y = 35.15 L6_1.z = 353.078 L5_1.rot = L6_1 L5_1.level = 1 L5_1.isOneoff = true L5_1.persistent = true L5_1.area_id = 8 L6_1 = {} L6_1.config_id = 206014 L6_1.gadget_id = 70310148 L7_1 = {} L7_1.x = -893.085 L7_1.y = 226.257 L7_1.z = 655.532 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 = 1 L6_1.isOneoff = true L6_1.persistent = true L6_1.area_id = 8 L7_1 = {} L7_1.config_id = 206015 L7_1.gadget_id = 70310148 L8_1 = {} L8_1.x = -908.852 L8_1.y = 228.359 L8_1.z = 667.64 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 = 1 L7_1.isOneoff = true L7_1.persistent = true L7_1.area_id = 8 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 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1206005 L2_1.name = "GADGET_CREATE_206005" 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_206005" L2_1.action = "action_EVENT_GADGET_CREATE_206005" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1206006 L3_1.name = "SELECT_OPTION_206006" 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_206006" L3_1.action = "action_EVENT_SELECT_OPTION_206006" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1206007 L4_1.name = "GADGET_CREATE_206007" 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_206007" L4_1.action = "action_EVENT_GADGET_CREATE_206007" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1206008 L5_1.name = "SELECT_OPTION_206008" 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_206008" L5_1.action = "action_EVENT_SELECT_OPTION_206008" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1206009 L6_1.name = "VARIABLE_CHANGE_206009" 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_206009" L6_1.action = "action_EVENT_VARIABLE_CHANGE_206009" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1206010 L7_1.name = "VARIABLE_CHANGE_206010" L8_1 = EventType L8_1 = L8_1.EVENT_VARIABLE_CHANGE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_VARIABLE_CHANGE_206010" L7_1.action = "action_EVENT_VARIABLE_CHANGE_206010" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1206011 L8_1.name = "GROUP_REFRESH_206011" L9_1 = EventType L9_1 = L9_1.EVENT_GROUP_REFRESH L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_GROUP_REFRESH_206011" L8_1.action = "action_EVENT_GROUP_REFRESH_206011" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1206012 L9_1.name = "GROUP_REFRESH_206012" L10_1 = EventType L10_1 = L10_1.EVENT_GROUP_REFRESH L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_GROUP_REFRESH_206012" L9_1.action = "action_EVENT_GROUP_REFRESH_206012" L9_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 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "letter1" L2_1.value = 0 L2_1.no_refresh = true L3_1 = {} L3_1.configId = 2 L3_1.name = "letter2" L3_1.value = 0 L3_1.no_refresh = true L1_1[1] = L2_1 L1_1[2] = L3_1 variables = 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 = 206001 L5_1 = 206002 L6_1 = 206003 L7_1 = 206004 L8_1 = 206014 L9_1 = 206015 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.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L4_1 = "GADGET_CREATE_206005" L5_1 = "SELECT_OPTION_206006" L6_1 = "GADGET_CREATE_206007" L7_1 = "SELECT_OPTION_206008" L8_1 = "VARIABLE_CHANGE_206009" L9_1 = "VARIABLE_CHANGE_206010" L10_1 = "GROUP_REFRESH_206011" L11_1 = "GROUP_REFRESH_206012" 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 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 206002 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_206005 = 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 = 133107206 L5_2 = 206002 L6_2 = {} L7_2 = 68 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_206005 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 206002 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 68 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_206006 = 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "letter1" 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.AddQuestProgress L3_2 = A0_2 L4_2 = "1331072061" 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 : add_quest_progress" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133107206 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 206001 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 : remove_gadget_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133107206 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 206014 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 : remove_gadget_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 = 133107206 L5_2 = 206002 L6_2 = 68 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.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133107206 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 206002 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 : remove_gadget_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_206006 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 206003 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_206007 = 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 = 133107206 L5_2 = 206003 L6_2 = {} L7_2 = 68 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_206007 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 206003 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 68 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_206008 = 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "letter2" 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.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133107206 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 206004 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 : remove_gadget_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133107206 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 206015 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 : remove_gadget_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 = 133107206 L5_2 = 206003 L6_2 = 68 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.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133107206 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 206003 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 : remove_gadget_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_206008 = 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 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "letter1" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_206009 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "1331072061" 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 : add_quest_progress" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_206009 = 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 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "letter2" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_206010 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "1331072062" 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 : add_quest_progress" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_206010 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "letter1" 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_GROUP_REFRESH_206011 = 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.AddQuestProgress L3_2 = A0_2 L4_2 = "1331072061" L2_2(L3_2, L4_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133107206 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 206001 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133107206 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 206014 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133107206 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 206002 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133107206 L5_2 = 206002 L6_2 = 68 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_GROUP_REFRESH_206011 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "letter2" 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_GROUP_REFRESH_206012 = 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.AddQuestProgress L3_2 = A0_2 L4_2 = "1331072062" L2_2(L3_2, L4_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133107206 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 206004 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133107206 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 206015 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133107206 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 206003 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133107206 L5_2 = 206003 L6_2 = 68 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_GROUP_REFRESH_206012 = L1_1