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 L0_1 = {} L0_1.group_id = 133008647 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 647001 L2_1.gadget_id = 70350081 L3_1 = {} L3_1.x = 883.975 L3_1.y = 413.829 L3_1.z = -839.414 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 354.295 L3_1.y = 24.973 L3_1.z = 24.239 L2_1.rot = L3_1 L2_1.level = 30 L3_1 = GadgetState L3_1 = L3_1.GearStop L2_1.state = L3_1 L2_1.persistent = true L2_1.area_id = 10 L3_1 = {} L3_1.config_id = 647002 L3_1.gadget_id = 70350081 L4_1 = {} L4_1.x = 931.336 L4_1.y = 416.581 L4_1.z = -824.406 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 349.76 L4_1.y = 209.697 L4_1.z = 334.916 L3_1.rot = L4_1 L3_1.level = 30 L3_1.persistent = true L3_1.area_id = 10 L4_1 = {} L4_1.config_id = 647003 L4_1.gadget_id = 70350081 L5_1 = {} L5_1.x = 899.389 L5_1.y = 414.605 L5_1.z = -804.293 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 355.326 L5_1.y = 186.72 L5_1.z = 17.903 L4_1.rot = L5_1 L4_1.level = 30 L4_1.persistent = true L4_1.area_id = 10 L5_1 = {} L5_1.config_id = 647004 L5_1.gadget_id = 70211121 L6_1 = {} L6_1.x = 903.776 L6_1.y = 411.427 L6_1.z = -830.999 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 89.354 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 26 L5_1.drop_tag = "\233\155\170\229\177\177\232\167\163\232\176\156\233\171\152\231\186\167\232\146\153\229\190\183" L5_1.showcutscene = true L5_1.isOneoff = true L5_1.persistent = true L6_1 = {} L6_1.name = "chest" L6_1.exp = 1 L5_1.explore = L6_1 L5_1.area_id = 10 L6_1 = {} L6_1.config_id = 647005 L6_1.gadget_id = 70350081 L7_1 = {} L7_1.x = 917.458 L7_1.y = 409.998 L7_1.z = -838.219 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 279.492 L7_1.z = 32.838 L6_1.rot = L7_1 L6_1.level = 30 L6_1.persistent = true L6_1.area_id = 10 L7_1 = {} L7_1.config_id = 647006 L7_1.gadget_id = 70230019 L8_1 = {} L8_1.x = 911.924 L8_1.y = 410.919 L8_1.z = -835.058 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 270.0 L8_1.y = 90.0 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 30 L7_1.persistent = true L7_1.area_id = 10 L8_1 = {} L8_1.config_id = 647007 L8_1.gadget_id = 70230022 L9_1 = {} L9_1.x = 910.313 L9_1.y = 411.186 L9_1.z = -833.875 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 270.0 L9_1.y = 90.0 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 30 L8_1.persistent = true L8_1.area_id = 10 L9_1 = {} L9_1.config_id = 647008 L9_1.gadget_id = 70230020 L10_1 = {} L10_1.x = 908.976 L10_1.y = 411.309 L10_1.z = -832.401 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 270.0 L10_1.y = 90.0 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 30 L9_1.persistent = true L9_1.area_id = 10 L10_1 = {} L10_1.config_id = 647009 L10_1.gadget_id = 70230010 L11_1 = {} L11_1.x = 914.101 L11_1.y = 410.943 L11_1.z = -834.961 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 270.0 L11_1.y = 90.0 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 30 L10_1.persistent = true L10_1.area_id = 10 L11_1 = {} L11_1.config_id = 647010 L11_1.gadget_id = 70230022 L12_1 = {} L12_1.x = 915.769 L12_1.y = 410.913 L12_1.z = -833.744 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 270.0 L12_1.y = 90.0 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 30 L11_1.persistent = true L11_1.area_id = 10 L12_1 = {} L12_1.config_id = 647011 L12_1.gadget_id = 70230008 L13_1 = {} L13_1.x = 917.14 L13_1.y = 410.83 L13_1.z = -832.508 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 270.0 L13_1.y = 90.0 L13_1.z = 0.0 L12_1.rot = L13_1 L12_1.level = 30 L12_1.persistent = true L12_1.area_id = 10 L13_1 = {} L13_1.config_id = 647012 L13_1.gadget_id = 70230006 L14_1 = {} L14_1.x = 917.115 L14_1.y = 410.986 L14_1.z = -829.423 L13_1.pos = L14_1 L14_1 = {} L14_1.x = 270.0 L14_1.y = 90.0 L14_1.z = 0.0 L13_1.rot = L14_1 L13_1.level = 30 L13_1.persistent = true L13_1.area_id = 10 L14_1 = {} L14_1.config_id = 647013 L14_1.gadget_id = 70230012 L15_1 = {} L15_1.x = 915.737 L15_1.y = 411.195 L15_1.z = -827.912 L14_1.pos = L15_1 L15_1 = {} L15_1.x = 270.0 L15_1.y = 90.0 L15_1.z = 0.0 L14_1.rot = L15_1 L14_1.level = 30 L14_1.persistent = true L14_1.area_id = 10 L15_1 = {} L15_1.config_id = 647021 L15_1.gadget_id = 70360102 L16_1 = {} L16_1.x = 930.858 L16_1.y = 416.831 L16_1.z = -823.598 L15_1.pos = L16_1 L16_1 = {} L16_1.x = 355.391 L16_1.y = 2.072 L16_1.z = 6.61 L15_1.rot = L16_1 L15_1.level = 30 L15_1.persistent = true L15_1.area_id = 10 L16_1 = {} L16_1.config_id = 647024 L16_1.gadget_id = 70220046 L17_1 = {} L17_1.x = 899.547 L17_1.y = 416.202 L17_1.z = -804.016 L16_1.pos = L17_1 L17_1 = {} L17_1.x = 351.858 L17_1.y = 238.864 L17_1.z = 0.628 L16_1.rot = L17_1 L16_1.level = 30 L16_1.persistent = true L16_1.area_id = 10 L17_1 = {} L17_1.config_id = 647030 L17_1.gadget_id = 70230003 L18_1 = {} L18_1.x = 914.382 L18_1.y = 411.367 L18_1.z = -826.638 L17_1.pos = L18_1 L18_1 = {} L18_1.x = 270.0 L18_1.y = 90.0 L18_1.z = 0.0 L17_1.rot = L18_1 L17_1.level = 30 L17_1.persistent = true L17_1.area_id = 10 L18_1 = {} L18_1.config_id = 647031 L18_1.gadget_id = 70230024 L19_1 = {} L19_1.x = 911.969 L19_1.y = 411.33 L19_1.z = -826.727 L18_1.pos = L19_1 L19_1 = {} L19_1.x = 270.0 L19_1.y = 90.0 L19_1.z = 0.0 L18_1.rot = L19_1 L18_1.level = 30 L18_1.persistent = true L18_1.area_id = 10 L19_1 = {} L19_1.config_id = 647032 L19_1.gadget_id = 70230025 L20_1 = {} L20_1.x = 910.579 L20_1.y = 411.351 L20_1.z = -827.828 L19_1.pos = L20_1 L20_1 = {} L20_1.x = 270.0 L20_1.y = 90.0 L20_1.z = 0.0 L19_1.rot = L20_1 L19_1.level = 30 L19_1.persistent = true L19_1.area_id = 10 L20_1 = {} L20_1.config_id = 647033 L20_1.gadget_id = 70230022 L21_1 = {} L21_1.x = 909.002 L21_1.y = 411.373 L21_1.z = -829.177 L20_1.pos = L21_1 L21_1 = {} L21_1.x = 270.0 L21_1.y = 90.0 L21_1.z = 0.0 L20_1.rot = L21_1 L20_1.level = 30 L20_1.persistent = true L20_1.area_id = 10 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 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 647028 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 30 L3_1 = {} L3_1.x = 912.335 L3_1.y = 411.213 L3_1.z = -830.743 L2_1.pos = L3_1 L2_1.area_id = 10 L3_1 = {} L3_1.config_id = 647034 L4_1 = RegionShape L4_1 = L4_1.SPHERE L3_1.shape = L4_1 L3_1.radius = 30 L4_1 = {} L4_1.x = 912.335 L4_1.y = 411.213 L4_1.z = -830.743 L3_1.pos = L4_1 L3_1.area_id = 10 L1_1[1] = L2_1 L1_1[2] = L3_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1647014 L2_1.name = "GADGET_CREATE_647014" 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_647014" L2_1.action = "action_EVENT_GADGET_CREATE_647014" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1647015 L3_1.name = "VARIABLE_CHANGE_647015" L4_1 = EventType L4_1 = L4_1.EVENT_VARIABLE_CHANGE L3_1.event = L4_1 L3_1.source = "monster_killed" L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_647015" L3_1.action = "action_EVENT_VARIABLE_CHANGE_647015" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1647016 L4_1.name = "GADGET_CREATE_647016" 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_647016" L4_1.action = "action_EVENT_GADGET_CREATE_647016" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1647017 L5_1.name = "GADGET_CREATE_647017" 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_647017" L5_1.action = "action_EVENT_GADGET_CREATE_647017" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1647018 L6_1.name = "SELECT_OPTION_647018" 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_647018" L6_1.action = "action_EVENT_SELECT_OPTION_647018" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1647019 L7_1.name = "GADGET_CREATE_647019" L8_1 = EventType L8_1 = L8_1.EVENT_GADGET_CREATE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_GADGET_CREATE_647019" L7_1.action = "action_EVENT_GADGET_CREATE_647019" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1647020 L8_1.name = "SELECT_OPTION_647020" 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_647020" L8_1.action = "action_EVENT_SELECT_OPTION_647020" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1647022 L9_1.name = "ANY_GADGET_DIE_647022" L10_1 = EventType L10_1 = L10_1.EVENT_ANY_GADGET_DIE L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_ANY_GADGET_DIE_647022" L9_1.action = "action_EVENT_ANY_GADGET_DIE_647022" L10_1 = {} L10_1.config_id = 1647023 L10_1.name = "SELECT_OPTION_647023" L11_1 = EventType L11_1 = L11_1.EVENT_SELECT_OPTION L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_SELECT_OPTION_647023" L10_1.action = "action_EVENT_SELECT_OPTION_647023" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1647025 L11_1.name = "ANY_GADGET_DIE_647025" L12_1 = EventType L12_1 = L12_1.EVENT_ANY_GADGET_DIE L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "condition_EVENT_ANY_GADGET_DIE_647025" L11_1.action = "action_EVENT_ANY_GADGET_DIE_647025" L12_1 = {} L12_1.config_id = 1647026 L12_1.name = "SELECT_OPTION_647026" L13_1 = EventType L13_1 = L13_1.EVENT_SELECT_OPTION L12_1.event = L13_1 L12_1.source = "" L12_1.condition = "condition_EVENT_SELECT_OPTION_647026" L12_1.action = "action_EVENT_SELECT_OPTION_647026" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1647027 L13_1.name = "VARIABLE_CHANGE_647027" L14_1 = EventType L14_1 = L14_1.EVENT_VARIABLE_CHANGE L13_1.event = L14_1 L13_1.source = "active_count" L13_1.condition = "condition_EVENT_VARIABLE_CHANGE_647027" L13_1.action = "action_EVENT_VARIABLE_CHANGE_647027" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1647028 L14_1.name = "ENTER_REGION_647028" L15_1 = EventType L15_1 = L15_1.EVENT_ENTER_REGION L14_1.event = L15_1 L14_1.source = "" L14_1.condition = "condition_EVENT_ENTER_REGION_647028" L14_1.action = "action_EVENT_ENTER_REGION_647028" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1647034 L15_1.name = "ENTER_REGION_647034" L16_1 = EventType L16_1 = L16_1.EVENT_ENTER_REGION L15_1.event = L16_1 L15_1.source = "" L15_1.condition = "condition_EVENT_ENTER_REGION_647034" L15_1.action = "action_EVENT_ENTER_REGION_647034" L15_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 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "active_count" L2_1.value = 0 L2_1.no_refresh = true L3_1 = {} L3_1.configId = 2 L3_1.name = "monster_killed" L3_1.value = 0 L3_1.no_refresh = true L1_1[1] = L2_1 L1_1[2] = L3_1 variables = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L3_1.config_id = 1647029 L3_1.name = "GROUP_LOAD_647029" 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_647029" L3_1.action = "action_EVENT_GROUP_LOAD_647029" L3_1.trigger_count = 0 L2_1[1] = L3_1 L1_1.triggers = L2_1 garbages = L1_1 L1_1 = {} L1_1.suite = 1 L1_1.end_suite = 2 L1_1.rand_suite = false init_config = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L2_1.monsters = L3_1 L3_1 = {} L4_1 = 647001 L5_1 = 647002 L6_1 = 647003 L7_1 = 647005 L8_1 = 647006 L9_1 = 647007 L10_1 = 647008 L11_1 = 647009 L12_1 = 647010 L13_1 = 647011 L14_1 = 647012 L15_1 = 647013 L16_1 = 647021 L17_1 = 647024 L18_1 = 647030 L19_1 = 647031 L20_1 = 647032 L21_1 = 647033 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 L3_1[18] = L21_1 L2_1.gadgets = L3_1 L3_1 = {} L4_1 = 647028 L3_1[1] = L4_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "GADGET_CREATE_647014" L5_1 = "VARIABLE_CHANGE_647015" L6_1 = "GADGET_CREATE_647016" L7_1 = "GADGET_CREATE_647017" L8_1 = "SELECT_OPTION_647018" L9_1 = "GADGET_CREATE_647019" L10_1 = "SELECT_OPTION_647020" L11_1 = "ANY_GADGET_DIE_647022" L12_1 = "SELECT_OPTION_647023" L13_1 = "ANY_GADGET_DIE_647025" L14_1 = "SELECT_OPTION_647026" L15_1 = "VARIABLE_CHANGE_647027" L16_1 = "ENTER_REGION_647028" 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 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 647001 L6_1 = 647002 L7_1 = 647003 L8_1 = 647005 L9_1 = 647006 L10_1 = 647007 L11_1 = 647008 L12_1 = 647009 L13_1 = 647010 L14_1 = 647011 L15_1 = 647012 L16_1 = 647013 L17_1 = 647030 L18_1 = 647031 L19_1 = 647032 L20_1 = 647033 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 L4_1[9] = L13_1 L4_1[10] = L14_1 L4_1[11] = L15_1 L4_1[12] = L16_1 L4_1[13] = L17_1 L4_1[14] = L18_1 L4_1[15] = L19_1 L4_1[16] = L20_1 L3_1.gadgets = L4_1 L4_1 = {} L5_1 = 647034 L4_1[1] = L5_1 L3_1.regions = L4_1 L4_1 = {} L5_1 = "ENTER_REGION_647034" L4_1[1] = L5_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, L5_2, L6_2 L2_2 = A1_2.param1 if 647005 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 0 L6_2 = A1_2.param1 L3_2 = L3_2(L4_2, L5_2, L6_2) if L2_2 == L3_2 then goto lbl_16 end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_647014 = 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 = 133008647 L5_2 = 647005 L6_2 = {} L7_2 = 7 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_647014 = 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 = "monster_killed" 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_647015 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 647001 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 = 133008647 L5_2 = 647001 L6_2 = {} L7_2 = 7 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_VARIABLE_CHANGE_647015 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if 647003 == L2_2 then L2_2 = ScriptLib L2_2 = L2_2.GetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 133008647 L5_2 = 647024 L2_2 = L2_2(L3_2, L4_2, L5_2) if -1 == L2_2 then L2_2 = ScriptLib L2_2 = L2_2.GetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 133008647 L5_2 = 647003 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 == L2_2 then goto lbl_22 end end end L2_2 = false do return L2_2 end ::lbl_22:: L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_647016 = 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 = 133008647 L5_2 = 647003 L6_2 = {} L7_2 = 7 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_647016 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if 647002 == L2_2 then L2_2 = ScriptLib L2_2 = L2_2.GetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 133008647 L5_2 = 647021 L2_2 = L2_2(L3_2, L4_2, L5_2) if -1 == L2_2 then L2_2 = ScriptLib L2_2 = L2_2.GetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 133008647 L5_2 = 647002 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 == L2_2 then goto lbl_22 end end end L2_2 = false do return L2_2 end ::lbl_22:: L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_647017 = 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 = 133008647 L5_2 = 647002 L6_2 = {} L7_2 = 7 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_647017 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 647005 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 7 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_647018 = 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 = 647005 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 = 647009 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 = 647010 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 = 647011 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 = 133008647 L5_2 = 647005 L6_2 = 7 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 = "active_count" 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 = 0 return L2_2 end action_EVENT_SELECT_OPTION_647018 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = A1_2.param1 if 647001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 0 L6_2 = A1_2.param1 L3_2 = L3_2(L4_2, L5_2, L6_2) if L2_2 == L3_2 then goto lbl_16 end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "monster_killed" 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_GADGET_CREATE_647019 = 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 = 133008647 L5_2 = 647001 L6_2 = {} L7_2 = 7 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_647019 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 647001 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 7 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_647020 = 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 = 647001 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 = 647006 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 = 647007 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 = 647008 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 = 133008647 L5_2 = 647001 L6_2 = 7 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 = "active_count" 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 = 0 return L2_2 end action_EVENT_SELECT_OPTION_647020 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 647021 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_647022 = 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 = 133008647 L5_2 = 647002 L6_2 = {} L7_2 = 7 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_ANY_GADGET_DIE_647022 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 647002 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 7 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_647023 = 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 = 647002 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 = 647012 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 = 647013 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 = 647030 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 = 133008647 L5_2 = 647002 L6_2 = 7 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 = "active_count" 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 = 0 return L2_2 end action_EVENT_SELECT_OPTION_647023 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 647024 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_647025 = 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 = 133008647 L5_2 = 647003 L6_2 = {} L7_2 = 7 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_ANY_GADGET_DIE_647025 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 647003 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 7 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_647026 = 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 = 647003 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 = 647031 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 = 647032 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 = 647033 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 = 133008647 L5_2 = 647003 L6_2 = 7 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 = "active_count" 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 = 0 return L2_2 end action_EVENT_SELECT_OPTION_647026 = 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 = "active_count" 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_647027 = 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.SetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "is_active" L5_2 = 1 L6_2 = 133008507 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 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 647004 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 = ScriptLib L2_2 = L2_2.GoToGroupSuite L3_2 = A0_2 L4_2 = 133008647 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 : goto_groupSuite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_647027 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if L2_2 ~= 647028 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "active_count" 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_ENTER_REGION_647028 = 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.SetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "is_active" L5_2 = 1 L6_2 = 133008507 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 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 647004 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 = ScriptLib L2_2 = L2_2.GoToGroupSuite L3_2 = A0_2 L4_2 = 133008647 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 : goto_groupSuite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ENTER_REGION_647028 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if L2_2 ~= 647034 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "active_count" 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_ENTER_REGION_647034 = 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.SetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "is_active" L5_2 = 1 L6_2 = 133008507 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 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 647004 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_ENTER_REGION_647034 = L1_1