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 L0_1 = {} L0_1.group_id = 133220126 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 126001 L2_1.gadget_id = 70710407 L3_1 = {} L3_1.x = -2746.902 L3_1.y = 205.894 L3_1.z = -4110.592 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 201.971 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L2_1.area_id = 11 L3_1 = {} L3_1.config_id = 126002 L3_1.gadget_id = 70710432 L4_1 = {} L4_1.x = -2739.564 L4_1.y = 206.71 L4_1.z = -4112.583 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 = 1 L3_1.area_id = 11 L4_1 = {} L4_1.config_id = 126003 L4_1.gadget_id = 70710432 L5_1 = {} L5_1.x = -2738.308 L5_1.y = 206.782 L5_1.z = -4117.278 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 = 11 L5_1 = {} L5_1.config_id = 126004 L5_1.gadget_id = 70710432 L6_1 = {} L6_1.x = -2743.613 L6_1.y = 206.689 L6_1.z = -4121.187 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 296.284 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L5_1.area_id = 11 L6_1 = {} L6_1.config_id = 126007 L6_1.gadget_id = 70710407 L7_1 = {} L7_1.x = -2738.378 L7_1.y = 206.782 L7_1.z = -4117.323 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 237.768 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L6_1.area_id = 11 L7_1 = {} L7_1.config_id = 126008 L7_1.gadget_id = 70710407 L8_1 = {} L8_1.x = -2739.392 L8_1.y = 206.705 L8_1.z = -4112.663 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 69.924 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L7_1.area_id = 11 L8_1 = {} L8_1.config_id = 126009 L8_1.gadget_id = 70710407 L9_1 = {} L9_1.x = -2743.58 L9_1.y = 206.681 L9_1.z = -4121.08 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 296.284 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L8_1.area_id = 11 L9_1 = {} L9_1.config_id = 126010 L9_1.gadget_id = 70710407 L10_1 = {} L10_1.x = -2735.916 L10_1.y = 206.533 L10_1.z = -4112.118 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 293.324 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 1 L9_1.area_id = 11 L10_1 = {} L10_1.config_id = 126011 L10_1.gadget_id = 70710432 L11_1 = {} L11_1.x = -2735.778 L11_1.y = 206.541 L11_1.z = -4112.095 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 322.97 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 1 L10_1.area_id = 11 L11_1 = {} L11_1.config_id = 126012 L11_1.gadget_id = 70710432 L12_1 = {} L12_1.x = -2746.76 L12_1.y = 205.895 L12_1.z = -4110.428 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 35.761 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 1 L11_1.area_id = 11 L12_1 = {} L12_1.config_id = 126023 L12_1.gadget_id = 70710407 L13_1 = {} L13_1.x = -2744.235 L13_1.y = 206.039 L13_1.z = -4114.975 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.0 L13_1.y = 25.322 L13_1.z = 0.0 L12_1.rot = L13_1 L12_1.level = 1 L12_1.area_id = 11 L13_1 = {} L13_1.config_id = 126024 L13_1.gadget_id = 70710407 L14_1 = {} L14_1.x = -2748.199 L14_1.y = 206.02 L14_1.z = -4118.188 L13_1.pos = L14_1 L14_1 = {} L14_1.x = 0.0 L14_1.y = 291.488 L14_1.z = 0.0 L13_1.rot = L14_1 L13_1.level = 1 L13_1.area_id = 11 L14_1 = {} L14_1.config_id = 126025 L14_1.gadget_id = 70710432 L15_1 = {} L15_1.x = -2744.389 L15_1.y = 206.046 L15_1.z = -4115.24 L14_1.pos = L15_1 L15_1 = {} L15_1.x = 0.0 L15_1.y = 0.0 L15_1.z = 0.0 L14_1.rot = L15_1 L14_1.level = 1 L14_1.area_id = 11 L15_1 = {} L15_1.config_id = 126026 L15_1.gadget_id = 70710432 L16_1 = {} L16_1.x = -2748.058 L16_1.y = 206.032 L16_1.z = -4118.392 L15_1.pos = L16_1 L16_1 = {} L16_1.x = 0.0 L16_1.y = 0.0 L16_1.z = 0.0 L15_1.rot = L16_1 L15_1.level = 1 L15_1.area_id = 11 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 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1126005 L2_1.name = "VARIABLE_CHANGE_126005" L3_1 = EventType L3_1 = L3_1.EVENT_VARIABLE_CHANGE L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_VARIABLE_CHANGE_126005" L2_1.action = "action_EVENT_VARIABLE_CHANGE_126005" L3_1 = {} L3_1.config_id = 1126006 L3_1.name = "ANY_GADGET_DIE_126006" L4_1 = EventType L4_1 = L4_1.EVENT_ANY_GADGET_DIE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "" L3_1.action = "action_EVENT_ANY_GADGET_DIE_126006" L4_1 = {} L4_1.config_id = 1126013 L4_1.name = "ANY_GADGET_DIE_126013" L5_1 = EventType L5_1 = L5_1.EVENT_ANY_GADGET_DIE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_ANY_GADGET_DIE_126013" L4_1.action = "action_EVENT_ANY_GADGET_DIE_126013" L5_1 = {} L5_1.config_id = 1126014 L5_1.name = "ANY_GADGET_DIE_126014" L6_1 = EventType L6_1 = L6_1.EVENT_ANY_GADGET_DIE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_ANY_GADGET_DIE_126014" L5_1.action = "action_EVENT_ANY_GADGET_DIE_126014" L6_1 = {} L6_1.config_id = 1126015 L6_1.name = "ANY_GADGET_DIE_126015" L7_1 = EventType L7_1 = L7_1.EVENT_ANY_GADGET_DIE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_ANY_GADGET_DIE_126015" L6_1.action = "action_EVENT_ANY_GADGET_DIE_126015" L7_1 = {} L7_1.config_id = 1126016 L7_1.name = "ANY_GADGET_DIE_126016" L8_1 = EventType L8_1 = L8_1.EVENT_ANY_GADGET_DIE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_ANY_GADGET_DIE_126016" L7_1.action = "action_EVENT_ANY_GADGET_DIE_126016" L8_1 = {} L8_1.config_id = 1126017 L8_1.name = "ANY_GADGET_DIE_126017" L9_1 = EventType L9_1 = L9_1.EVENT_ANY_GADGET_DIE L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_ANY_GADGET_DIE_126017" L8_1.action = "action_EVENT_ANY_GADGET_DIE_126017" L9_1 = {} L9_1.config_id = 1126018 L9_1.name = "QUEST_START_126018" L10_1 = EventType L10_1 = L10_1.EVENT_QUEST_START L9_1.event = L10_1 L9_1.source = "1201202" L9_1.condition = "condition_EVENT_QUEST_START_126018" L9_1.action = "action_EVENT_QUEST_START_126018" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1126019 L10_1.name = "QUEST_START_126019" L11_1 = EventType L11_1 = L11_1.EVENT_QUEST_START L10_1.event = L11_1 L10_1.source = "1201202" L10_1.condition = "condition_EVENT_QUEST_START_126019" L10_1.action = "action_EVENT_QUEST_START_126019" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1126020 L11_1.name = "QUEST_START_126020" L12_1 = EventType L12_1 = L12_1.EVENT_QUEST_START L11_1.event = L12_1 L11_1.source = "1201202" L11_1.condition = "condition_EVENT_QUEST_START_126020" L11_1.action = "action_EVENT_QUEST_START_126020" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1126021 L12_1.name = "QUEST_START_126021" L13_1 = EventType L13_1 = L13_1.EVENT_QUEST_START L12_1.event = L13_1 L12_1.source = "1201202" L12_1.condition = "condition_EVENT_QUEST_START_126021" L12_1.action = "action_EVENT_QUEST_START_126021" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1126022 L13_1.name = "QUEST_START_126022" L14_1 = EventType L14_1 = L14_1.EVENT_QUEST_START L13_1.event = L14_1 L13_1.source = "1201202" L13_1.condition = "condition_EVENT_QUEST_START_126022" L13_1.action = "action_EVENT_QUEST_START_126022" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1126027 L14_1.name = "QUEST_START_126027" L15_1 = EventType L15_1 = L15_1.EVENT_QUEST_START L14_1.event = L15_1 L14_1.source = "1201202" L14_1.condition = "condition_EVENT_QUEST_START_126027" L14_1.action = "action_EVENT_QUEST_START_126027" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1126028 L15_1.name = "QUEST_START_126028" L16_1 = EventType L16_1 = L16_1.EVENT_QUEST_START L15_1.event = L16_1 L15_1.source = "1201202" L15_1.condition = "condition_EVENT_QUEST_START_126028" L15_1.action = "action_EVENT_QUEST_START_126028" L15_1.trigger_count = 0 L16_1 = {} L16_1.config_id = 1126029 L16_1.name = "ANY_GADGET_DIE_126029" L17_1 = EventType L17_1 = L17_1.EVENT_ANY_GADGET_DIE L16_1.event = L17_1 L16_1.source = "" L16_1.condition = "condition_EVENT_ANY_GADGET_DIE_126029" L16_1.action = "action_EVENT_ANY_GADGET_DIE_126029" L17_1 = {} L17_1.config_id = 1126030 L17_1.name = "ANY_GADGET_DIE_126030" L18_1 = EventType L18_1 = L18_1.EVENT_ANY_GADGET_DIE L17_1.event = L18_1 L17_1.source = "" L17_1.condition = "condition_EVENT_ANY_GADGET_DIE_126030" L17_1.action = "action_EVENT_ANY_GADGET_DIE_126030" L18_1 = {} L18_1.config_id = 1126031 L18_1.name = "QUEST_START_126031" L19_1 = EventType L19_1 = L19_1.EVENT_QUEST_START L18_1.event = L19_1 L18_1.source = "1201209" L18_1.condition = "condition_EVENT_QUEST_START_126031" L18_1.action = "action_EVENT_QUEST_START_126031" 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 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "1_die" L2_1.value = 0 L2_1.no_refresh = false L3_1 = {} L3_1.configId = 2 L3_1.name = "2_die" L3_1.value = 0 L3_1.no_refresh = false L4_1 = {} L4_1.configId = 3 L4_1.name = "3_die" L4_1.value = 0 L4_1.no_refresh = false L5_1 = {} L5_1.configId = 4 L5_1.name = "4_die" L5_1.value = 0 L5_1.no_refresh = false L6_1 = {} L6_1.configId = 5 L6_1.name = "5_die" L6_1.value = 0 L6_1.no_refresh = false L7_1 = {} L7_1.configId = 6 L7_1.name = "6_die" L7_1.value = 0 L7_1.no_refresh = false L8_1 = {} L8_1.configId = 7 L8_1.name = "7_die" L8_1.value = 0 L8_1.no_refresh = false 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 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 = 126001 L5_1 = 126007 L6_1 = 126008 L7_1 = 126009 L8_1 = 126010 L9_1 = 126023 L10_1 = 126024 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.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L4_1 = "VARIABLE_CHANGE_126005" L5_1 = "ANY_GADGET_DIE_126006" L6_1 = "ANY_GADGET_DIE_126013" L7_1 = "ANY_GADGET_DIE_126014" L8_1 = "ANY_GADGET_DIE_126015" L9_1 = "ANY_GADGET_DIE_126016" L10_1 = "ANY_GADGET_DIE_126017" L11_1 = "QUEST_START_126018" L12_1 = "QUEST_START_126019" L13_1 = "QUEST_START_126020" L14_1 = "QUEST_START_126021" L15_1 = "QUEST_START_126022" L16_1 = "QUEST_START_126027" L17_1 = "QUEST_START_126028" L18_1 = "ANY_GADGET_DIE_126029" L19_1 = "ANY_GADGET_DIE_126030" L20_1 = "QUEST_START_126031" 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 L3_1[11] = L14_1 L3_1[12] = L15_1 L3_1[13] = L16_1 L3_1[14] = L17_1 L3_1[15] = L18_1 L3_1[16] = L19_1 L3_1[17] = L20_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 126002 L6_1 = 126003 L7_1 = 126004 L8_1 = 126011 L9_1 = 126012 L10_1 = 126025 L11_1 = 126026 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 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L3_1.triggers = L4_1 L3_1.rand_weight = 100 L1_1[1] = L2_1 L1_1[2] = L3_1 suites = 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 = "1_die" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "2_die" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "3_die" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "4_die" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "5_die" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "6_die" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "7_die" 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_126005 = 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 = "133220126" 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_126005 = 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 = "1201208" 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_ANY_GADGET_DIE_126006 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 126007 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_126013 = 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 = "1_die" 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 = 133220126 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 126003 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_ANY_GADGET_DIE_126013 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 126008 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_126014 = 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 = "2_die" 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 = 133220126 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 126002 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_ANY_GADGET_DIE_126014 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 126009 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_126015 = 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 = "3_die" 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 = 133220126 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 126004 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_ANY_GADGET_DIE_126015 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 126010 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_126016 = 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 = "4_die" 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 = 133220126 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 126011 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_ANY_GADGET_DIE_126016 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 126001 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_126017 = 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 = "5_die" 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 = 133220126 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 126012 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_ANY_GADGET_DIE_126017 = 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 = "1_die" 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_QUEST_START_126018 = L1_1 function L1_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 = 126003 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_QUEST_START_126018 = 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 = "2_die" 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_QUEST_START_126019 = L1_1 function L1_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 = 126002 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_QUEST_START_126019 = 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 = "3_die" 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_QUEST_START_126020 = L1_1 function L1_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 = 126004 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_QUEST_START_126020 = 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 = "4_die" 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_QUEST_START_126021 = L1_1 function L1_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 = 126011 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_QUEST_START_126021 = 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 = "5_die" 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_QUEST_START_126022 = L1_1 function L1_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 = 126012 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_QUEST_START_126022 = 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 = "6_die" 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_QUEST_START_126027 = L1_1 function L1_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 = 126025 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_QUEST_START_126027 = 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 = "7_die" 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_QUEST_START_126028 = L1_1 function L1_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 = 126026 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_QUEST_START_126028 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 126023 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_126029 = 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 = "6_die" 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 = 133220126 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 126025 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_ANY_GADGET_DIE_126029 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 126024 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_126030 = 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 = "7_die" 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 = 133220126 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 126026 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_ANY_GADGET_DIE_126030 = 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 = "1_die" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "2_die" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "3_die" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "4_die" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "5_die" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "6_die" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "7_die" 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_QUEST_START_126031 = 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 = "133220126" 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_QUEST_START_126031 = L1_1