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 L0_1 = {} L0_1.group_id = 133217297 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 297002 L2_1.gadget_id = 70360286 L3_1 = {} L3_1.x = -4501.08 L3_1.y = 223.118 L3_1.z = -3984.337 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 = 30 L2_1.persistent = true L2_1.area_id = 14 L3_1 = {} L3_1.config_id = 297003 L3_1.gadget_id = 70360286 L4_1 = {} L4_1.x = -4496.947 L4_1.y = 222.719 L4_1.z = -3992.57 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 = 30 L3_1.persistent = true L3_1.area_id = 14 L4_1 = {} L4_1.config_id = 297004 L4_1.gadget_id = 70360286 L5_1 = {} L5_1.x = -4501.39 L5_1.y = 223.69 L5_1.z = -3994.423 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 = 30 L4_1.persistent = true L4_1.area_id = 14 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1297001 L2_1.name = "QUEST_START_297001" L3_1 = EventType L3_1 = L3_1.EVENT_QUEST_START L2_1.event = L3_1 L2_1.source = "7215532" L2_1.condition = "" L2_1.action = "action_EVENT_QUEST_START_297001" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1297005 L3_1.name = "GADGET_CREATE_297005" L4_1 = EventType L4_1 = L4_1.EVENT_GADGET_CREATE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GADGET_CREATE_297005" L3_1.action = "action_EVENT_GADGET_CREATE_297005" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1297006 L4_1.name = "GADGET_CREATE_297006" 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_297006" L4_1.action = "action_EVENT_GADGET_CREATE_297006" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1297007 L5_1.name = "GADGET_CREATE_297007" L6_1 = EventType L6_1 = L6_1.EVENT_GADGET_CREATE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GADGET_CREATE_297007" L5_1.action = "action_EVENT_GADGET_CREATE_297007" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1297008 L6_1.name = "SELECT_OPTION_297008" 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_297008" L6_1.action = "action_EVENT_SELECT_OPTION_297008" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1297009 L7_1.name = "SELECT_OPTION_297009" 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_297009" L7_1.action = "action_EVENT_SELECT_OPTION_297009" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1297010 L8_1.name = "SELECT_OPTION_297010" L9_1 = EventType L9_1 = L9_1.EVENT_SELECT_OPTION L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_SELECT_OPTION_297010" L8_1.action = "action_EVENT_SELECT_OPTION_297010" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1297014 L9_1.name = "QUEST_FINISH_297014" L10_1 = EventType L10_1 = L10_1.EVENT_QUEST_FINISH L9_1.event = L10_1 L9_1.source = "7215532" L9_1.condition = "" L9_1.action = "action_EVENT_QUEST_FINISH_297014" 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 = "One" L2_1.value = 0 L2_1.no_refresh = true L3_1 = {} L3_1.configId = 2 L3_1.name = "Two" L3_1.value = 0 L3_1.no_refresh = true L4_1 = {} L4_1.configId = 3 L4_1.name = "Three" L4_1.value = 0 L4_1.no_refresh = true L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 variables = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L3_1.config_id = 1297011 L3_1.name = "GROUP_LOAD_297011" L4_1 = EventType L4_1 = L4_1.EVENT_GROUP_LOAD L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GROUP_LOAD_297011" L3_1.action = "action_EVENT_GROUP_LOAD_297011" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1297012 L4_1.name = "GROUP_LOAD_297012" L5_1 = EventType L5_1 = L5_1.EVENT_GROUP_LOAD L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_GROUP_LOAD_297012" L4_1.action = "action_EVENT_GROUP_LOAD_297012" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1297013 L5_1.name = "GROUP_LOAD_297013" L6_1 = EventType L6_1 = L6_1.EVENT_GROUP_LOAD L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GROUP_LOAD_297013" L5_1.action = "action_EVENT_GROUP_LOAD_297013" L5_1.trigger_count = 0 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L1_1.triggers = L2_1 garbages = L1_1 L1_1 = {} L1_1.suite = 1 L1_1.end_suite = 3 L1_1.rand_suite = false init_config = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L2_1.monsters = L3_1 L3_1 = {} L2_1.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L4_1 = "QUEST_START_297001" L3_1[1] = L4_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 297002 L6_1 = 297003 L7_1 = 297004 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "QUEST_START_297001" L6_1 = "GADGET_CREATE_297005" L7_1 = "GADGET_CREATE_297006" L8_1 = "GADGET_CREATE_297007" L9_1 = "SELECT_OPTION_297008" L10_1 = "SELECT_OPTION_297009" L11_1 = "SELECT_OPTION_297010" L12_1 = "QUEST_FINISH_297014" L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L4_1[5] = L9_1 L4_1[6] = L10_1 L4_1[7] = L11_1 L4_1[8] = L12_1 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L4_1.monsters = L5_1 L5_1 = {} L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L4_1.triggers = L5_1 L4_1.rand_weight = 100 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133217297 L4_2.suite = 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 : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133217005 L4_2.suite = 1 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 : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_QUEST_START_297001 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 297002 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_297005 = 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 = 133217297 L5_2 = 297002 L6_2 = {} L7_2 = 91 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_297005 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 297003 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_297006 = 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 = 133217297 L5_2 = 297003 L6_2 = {} L7_2 = 91 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_297006 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 297004 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_297007 = 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 = 133217297 L5_2 = 297004 L6_2 = {} L7_2 = 91 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_297007 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 297002 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 91 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_297008 = 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.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 133217005 L5_2 = 5007 L6_2 = GadgetState L6_2 = L6_2.GearStart 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_gadget_state_by_GroupId_ConfigId" 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 = "7215532" 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 = 133217297 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 297002 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_297008 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 297003 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 91 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_297009 = 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.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 133217005 L5_2 = 5006 L6_2 = GadgetState L6_2 = L6_2.GearStart 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_gadget_state_by_GroupId_ConfigId" 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 = "7215532" 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 = 133217297 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 297003 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_297009 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 297004 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 91 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_297010 = 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.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 133217005 L5_2 = 5001 L6_2 = GadgetState L6_2 = L6_2.GearStart 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_gadget_state_by_GroupId_ConfigId" 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 = "7215532" 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 = 133217297 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 297004 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_297010 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133217297 L4_2.suite = 3 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 : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_QUEST_FINISH_297014 = L1_1