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 L0_1 = {} L0_1.group_id = 133104395 L1_1 = {} L1_1.gadget_Trigger1 = 395001 L1_1.gadget_Trigger2 = 395002 L1_1.gadget_Trigger3 = 395003 L1_1.gadget_Trigger4 = 395004 L1_1.gadget_Trigger5 = 395005 L1_1.gadget_Trigger6 = 395006 L2_1 = {} L3_1 = {} L3_1.config_id = 395010 L3_1.monster_id = 21020201 L4_1 = {} L4_1.x = 306.953 L4_1.y = 217.696 L4_1.z = 147.876 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 266.492 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 19 L3_1.drop_id = 1000100 L3_1.area_id = 9 L4_1 = {} L4_1.config_id = 395011 L4_1.monster_id = 20011401 L5_1 = {} L5_1.x = 304.864 L5_1.y = 217.696 L5_1.z = 150.454 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 181.47 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 19 L4_1.drop_id = 1000100 L4_1.area_id = 9 L5_1 = {} L5_1.config_id = 395012 L5_1.monster_id = 20011401 L6_1 = {} L6_1.x = 300.1 L6_1.y = 217.696 L6_1.z = 149.892 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 198.197 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 19 L5_1.drop_id = 1000100 L5_1.area_id = 9 L6_1 = {} L6_1.config_id = 395013 L6_1.monster_id = 20011401 L7_1 = {} L7_1.x = 300.888 L7_1.y = 217.696 L7_1.z = 144.778 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 327.398 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 19 L6_1.drop_id = 1000100 L6_1.area_id = 9 L7_1 = {} L7_1.config_id = 395014 L7_1.monster_id = 20011401 L8_1 = {} L8_1.x = 305.069 L8_1.y = 217.696 L8_1.z = 145.09 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 326.1 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 19 L7_1.drop_id = 1000100 L7_1.area_id = 9 L8_1 = {} L8_1.config_id = 395015 L8_1.monster_id = 21030101 L9_1 = {} L9_1.x = 299.656 L9_1.y = 217.696 L9_1.z = 144.609 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 16.906 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 19 L8_1.drop_id = 1000100 L8_1.area_id = 9 L9_1 = {} L9_1.config_id = 395017 L9_1.monster_id = 21011001 L10_1 = {} L10_1.x = 296.142 L10_1.y = 217.696 L10_1.z = 142.669 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 32.148 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 19 L9_1.drop_id = 1000100 L9_1.area_id = 9 L10_1 = {} L10_1.config_id = 395018 L10_1.monster_id = 21010701 L11_1 = {} L11_1.x = 311.028 L11_1.y = 217.696 L11_1.z = 143.987 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 302.956 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 19 L10_1.drop_id = 1000100 L10_1.area_id = 9 L11_1 = {} L11_1.config_id = 395019 L11_1.monster_id = 21011001 L12_1 = {} L12_1.x = 309.243 L12_1.y = 217.696 L12_1.z = 152.587 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 217.999 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 19 L11_1.drop_id = 1000100 L11_1.area_id = 9 L12_1 = {} L12_1.config_id = 395020 L12_1.monster_id = 21010701 L13_1 = {} L13_1.x = 294.259 L13_1.y = 217.696 L13_1.z = 150.952 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.0 L13_1.y = 125.33 L13_1.z = 0.0 L12_1.rot = L13_1 L12_1.level = 19 L12_1.drop_id = 1000100 L12_1.area_id = 9 L13_1 = {} L13_1.config_id = 395021 L13_1.monster_id = 22010201 L14_1 = {} L14_1.x = 298.532 L14_1.y = 217.696 L14_1.z = 147.01 L13_1.pos = L14_1 L14_1 = {} L14_1.x = 0.0 L14_1.y = 76.042 L14_1.z = 0.0 L13_1.rot = L14_1 L13_1.level = 19 L13_1.drop_id = 1000100 L13_1.area_id = 9 L14_1 = {} L14_1.config_id = 395022 L14_1.monster_id = 21030101 L15_1 = {} L15_1.x = 299.569 L15_1.y = 217.696 L15_1.z = 149.329 L14_1.pos = L15_1 L15_1 = {} L15_1.x = 0.0 L15_1.y = 126.951 L15_1.z = 0.0 L14_1.rot = L15_1 L14_1.level = 19 L14_1.drop_id = 1000100 L14_1.area_id = 9 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 L2_1[6] = L8_1 L2_1[7] = L9_1 L2_1[8] = L10_1 L2_1[9] = L11_1 L2_1[10] = L12_1 L2_1[11] = L13_1 L2_1[12] = L14_1 monsters = L2_1 L2_1 = {} npcs = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 395001 L3_1.gadget_id = 70800001 L4_1 = {} L4_1.x = 302.672 L4_1.y = 217.576 L4_1.z = 147.414 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 264.087 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 19 L3_1.persistent = true L3_1.area_id = 9 L4_1 = {} L4_1.config_id = 395007 L4_1.gadget_id = 70350006 L5_1 = {} L5_1.x = 303.744 L5_1.y = 221.42 L5_1.z = 138.724 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 172.902 L5_1.z = 180.0 L4_1.rot = L5_1 L4_1.level = 19 L5_1 = GadgetState L5_1 = L5_1.GearStart L4_1.state = L5_1 L4_1.area_id = 9 L5_1 = {} L5_1.config_id = 395008 L5_1.gadget_id = 70350006 L6_1 = {} L6_1.x = 315.443 L6_1.y = 221.512 L6_1.z = 148.878 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 83.747 L6_1.z = 180.0 L5_1.rot = L6_1 L5_1.level = 19 L6_1 = GadgetState L6_1 = L6_1.GearStart L5_1.state = L6_1 L5_1.area_id = 9 L6_1 = {} L6_1.config_id = 395009 L6_1.gadget_id = 70350006 L7_1 = {} L7_1.x = 290.356 L7_1.y = 221.496 L7_1.z = 146.182 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 83.747 L7_1.z = 180.0 L6_1.rot = L7_1 L6_1.level = 19 L7_1 = GadgetState L7_1 = L7_1.GearStart L6_1.state = L7_1 L6_1.area_id = 9 L7_1 = {} L7_1.config_id = 395030 L7_1.gadget_id = 70211121 L8_1 = {} L8_1.x = 307.181 L8_1.y = 217.576 L8_1.z = 147.778 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 356.212 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 16 L7_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\146\131\230\156\136" L7_1.showcutscene = true L7_1.isOneoff = true L7_1.persistent = true L8_1 = {} L8_1.name = "chest" L8_1.exp = 1 L7_1.explore = L8_1 L7_1.area_id = 9 L8_1 = {} L8_1.config_id = 395031 L8_1.gadget_id = 70211121 L9_1 = {} L9_1.x = 298.596 L9_1.y = 217.576 L9_1.z = 146.957 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 355.426 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 16 L8_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\146\131\230\156\136" L8_1.showcutscene = true L8_1.isOneoff = true L8_1.persistent = true L9_1 = {} L9_1.name = "chest" L9_1.exp = 1 L8_1.explore = L9_1 L8_1.area_id = 9 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 L2_1[6] = L8_1 gadgets = L2_1 L2_1 = {} regions = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1395026 L3_1.name = "GADGET_CREATE_395026" 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_395026" L3_1.action = "action_EVENT_GADGET_CREATE_395026" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1395027 L4_1.name = "ANY_MONSTER_DIE_395027" L5_1 = EventType L5_1 = L5_1.EVENT_ANY_MONSTER_DIE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_395027" L4_1.action = "action_EVENT_ANY_MONSTER_DIE_395027" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1395028 L5_1.name = "ANY_MONSTER_DIE_395028" L6_1 = EventType L6_1 = L6_1.EVENT_ANY_MONSTER_DIE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_ANY_MONSTER_DIE_395028" L5_1.action = "action_EVENT_ANY_MONSTER_DIE_395028" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1395029 L6_1.name = "ANY_MONSTER_DIE_395029" L7_1 = EventType L7_1 = L7_1.EVENT_ANY_MONSTER_DIE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_395029" L6_1.action = "action_EVENT_ANY_MONSTER_DIE_395029" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1395033 L7_1.name = "SELECT_OPTION_395033" 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_395033" L7_1.action = "action_EVENT_SELECT_OPTION_395033" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1395034 L8_1.name = "VARIABLE_CHANGE_395034" L9_1 = EventType L9_1 = L9_1.EVENT_VARIABLE_CHANGE L8_1.event = L9_1 L8_1.source = "TriggerCount" L8_1.condition = "condition_EVENT_VARIABLE_CHANGE_395034" L8_1.action = "action_EVENT_VARIABLE_CHANGE_395034" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1395035 L9_1.name = "GADGET_CREATE_395035" L10_1 = EventType L10_1 = L10_1.EVENT_GADGET_CREATE L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_GADGET_CREATE_395035" L9_1.action = "action_EVENT_GADGET_CREATE_395035" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1395036 L10_1.name = "GADGET_STATE_CHANGE_395036" L11_1 = EventType L11_1 = L11_1.EVENT_GADGET_STATE_CHANGE L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_395036" L10_1.action = "action_EVENT_GADGET_STATE_CHANGE_395036" L11_1 = {} L11_1.config_id = 1395037 L11_1.name = "GADGET_STATE_CHANGE_395037" L12_1 = EventType L12_1 = L12_1.EVENT_GADGET_STATE_CHANGE L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_395037" L11_1.action = "action_EVENT_GADGET_STATE_CHANGE_395037" L12_1 = {} L12_1.config_id = 1395039 L12_1.name = "VARIABLE_CHANGE_395039" L13_1 = EventType L13_1 = L13_1.EVENT_VARIABLE_CHANGE L12_1.event = L13_1 L12_1.source = "GetReward" L12_1.condition = "condition_EVENT_VARIABLE_CHANGE_395039" L12_1.action = "action_EVENT_VARIABLE_CHANGE_395039" L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 L2_1[6] = L8_1 L2_1[7] = L9_1 L2_1[8] = L10_1 L2_1[9] = L11_1 L2_1[10] = L12_1 triggers = L2_1 L2_1 = {} L3_1 = {} L3_1.configId = 1 L3_1.name = "isActive" L3_1.value = 0 L3_1.no_refresh = true L4_1 = {} L4_1.configId = 2 L4_1.name = "isFinished" L4_1.value = 0 L4_1.no_refresh = true L5_1 = {} L5_1.configId = 3 L5_1.name = "TriggerCount" L5_1.value = 0 L5_1.no_refresh = true L6_1 = {} L6_1.configId = 4 L6_1.name = "GetReward" L6_1.value = 0 L6_1.no_refresh = true L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 variables = L2_1 L2_1 = {} L2_1.suite = 1 L2_1.end_suite = 6 L2_1.rand_suite = false init_config = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 395001 L6_1 = 395007 L7_1 = 395008 L8_1 = 395009 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "GADGET_CREATE_395026" L6_1 = "SELECT_OPTION_395033" L7_1 = "VARIABLE_CHANGE_395034" L8_1 = "GADGET_CREATE_395035" L9_1 = "GADGET_STATE_CHANGE_395036" L10_1 = "GADGET_STATE_CHANGE_395037" L11_1 = "VARIABLE_CHANGE_395039" 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.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L6_1 = 395011 L7_1 = 395012 L8_1 = 395013 L9_1 = 395014 L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L5_1[4] = L9_1 L4_1.monsters = L5_1 L5_1 = {} L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L6_1 = "ANY_MONSTER_DIE_395029" L5_1[1] = L6_1 L4_1.triggers = L5_1 L4_1.rand_weight = 100 L5_1 = {} L6_1 = {} L7_1 = 395017 L8_1 = 395018 L9_1 = 395019 L10_1 = 395020 L6_1[1] = L7_1 L6_1[2] = L8_1 L6_1[3] = L9_1 L6_1[4] = L10_1 L5_1.monsters = L6_1 L6_1 = {} L5_1.gadgets = L6_1 L6_1 = {} L5_1.regions = L6_1 L6_1 = {} L7_1 = "ANY_MONSTER_DIE_395028" L6_1[1] = L7_1 L5_1.triggers = L6_1 L5_1.rand_weight = 100 L6_1 = {} L7_1 = {} L8_1 = 395010 L9_1 = 395015 L10_1 = 395021 L11_1 = 395022 L7_1[1] = L8_1 L7_1[2] = L9_1 L7_1[3] = L10_1 L7_1[4] = L11_1 L6_1.monsters = L7_1 L7_1 = {} L6_1.gadgets = L7_1 L7_1 = {} L6_1.regions = L7_1 L7_1 = {} L8_1 = "ANY_MONSTER_DIE_395027" L7_1[1] = L8_1 L6_1.triggers = L7_1 L6_1.rand_weight = 100 L7_1 = {} L8_1 = {} L7_1.monsters = L8_1 L8_1 = {} L7_1.gadgets = L8_1 L8_1 = {} L7_1.regions = L8_1 L8_1 = {} L7_1.triggers = L8_1 L7_1.rand_weight = 100 L8_1 = {} L9_1 = {} L8_1.monsters = L9_1 L9_1 = {} L10_1 = 395007 L11_1 = 395008 L12_1 = 395009 L9_1[1] = L10_1 L9_1[2] = L11_1 L9_1[3] = L12_1 L8_1.gadgets = L9_1 L9_1 = {} L8_1.regions = L9_1 L9_1 = {} L8_1.triggers = L9_1 L8_1.rand_weight = 100 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 L2_1[6] = L8_1 suites = L2_1 function L2_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 = "isFinished" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = A1_2.param1 if 395007 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_395026 = L2_1 function L2_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 = 395007 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 = 395008 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 = 395009 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "TriggerCount" 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.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 133104395 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 133104395 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 133104395 L5_2 = 4 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 395001 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 = 133104395 L5_2 = 395001 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_395026 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupMonsterCount L3_2 = A0_2 L2_2 = L2_2(L3_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_MONSTER_DIE_395027 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 395030 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.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 395031 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "isFinished" 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 = 395007 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 = 395008 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 = 395009 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_ANY_MONSTER_DIE_395027 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupMonsterCount L3_2 = A0_2 L2_2 = L2_2(L3_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_MONSTER_DIE_395028 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 133104395 L5_2 = 4 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 133104395 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_ANY_MONSTER_DIE_395028 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupMonsterCount L3_2 = A0_2 L2_2 = L2_2(L3_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_MONSTER_DIE_395029 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 133104395 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 133104395 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_ANY_MONSTER_DIE_395029 = L2_1 function L2_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 395001 ~= 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_395033 = L2_1 function L2_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 = "TriggerCount" 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.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133104395 L5_2 = 395001 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 395001 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 = 395001 L5_2 = GadgetState L5_2 = L5_2.GearAction1 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_SELECT_OPTION_395033 = L2_1 function L2_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 = "TriggerCount" 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_395034 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 133104395 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 395007 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 = 395008 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 = 395009 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 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_395034 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 395007 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "isFinished" 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_395035 = L2_1 function L2_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 = 395007 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 = 395008 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 = 395009 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 = 395001 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 = 395001 L5_2 = GadgetState L5_2 = L5_2.GearAction1 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_GADGET_CREATE_395035 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 395030 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_395036 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "GetReward" 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_GADGET_STATE_CHANGE_395036 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 395031 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_395037 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "GetReward" 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_GADGET_STATE_CHANGE_395037 = L2_1 function L2_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 = "GetReward" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_395039 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.GoToGroupSuite L3_2 = A0_2 L4_2 = 133104395 L5_2 = 5 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_395039 = L2_1