local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1 L0_1 = {} L0_1.group_id = 133102697 L1_1 = {} L1_1.max_gear = 3 L1_1.timer = 3 L1_1.group_id = 133102697 L1_1.gadget_1 = 697001 L1_1.gadget_2 = 697002 L1_1.gadget_3 = 697003 L1_1.gadget_4 = 0 L1_1.gadget_chest = 697004 L1_1.gadget_5 = 0 L1_1.gadget_6 = 0 L1_1.gadget_7 = 0 L1_1.gadget_8 = 0 L2_1 = {} monsters = L2_1 L2_1 = {} npcs = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 697001 L3_1.gadget_id = 70900051 L4_1 = {} L4_1.x = 1164.306 L4_1.y = 200.272 L4_1.z = 369.385 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 356.934 L4_1.y = 9.841 L4_1.z = 356.75 L3_1.rot = L4_1 L3_1.level = 16 L4_1 = GadgetState L4_1 = L4_1.Action01 L3_1.state = L4_1 L3_1.persistent = true L3_1.area_id = 5 L4_1 = {} L4_1.config_id = 697002 L4_1.gadget_id = 70900051 L5_1 = {} L5_1.x = 1172.912 L5_1.y = 200.672 L5_1.z = 368.758 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 358.842 L5_1.y = 8.263 L5_1.z = 7.922 L4_1.rot = L5_1 L4_1.level = 16 L5_1 = GadgetState L5_1 = L5_1.Action01 L4_1.state = L5_1 L4_1.persistent = true L4_1.area_id = 5 L5_1 = {} L5_1.config_id = 697003 L5_1.gadget_id = 70900051 L6_1 = {} L6_1.x = 1169.274 L6_1.y = 200.481 L6_1.z = 375.987 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.251 L6_1.y = 98.059 L6_1.z = 358.228 L5_1.rot = L6_1 L5_1.level = 16 L6_1 = GadgetState L6_1 = L6_1.Action01 L5_1.state = L6_1 L5_1.persistent = true L5_1.area_id = 5 L6_1 = {} L6_1.config_id = 697004 L6_1.gadget_id = 70211111 L7_1 = {} L7_1.x = 1169.147 L7_1.y = 200.321 L7_1.z = 371.011 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 359.075 L7_1.y = 330.629 L7_1.z = 5.639 L6_1.rot = L7_1 L6_1.level = 16 L6_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\146\131\230\156\136" L6_1.showcutscene = true L6_1.isOneoff = true L6_1.persistent = true L7_1 = {} L7_1.name = "chest" L7_1.exp = 1 L6_1.explore = L7_1 L6_1.area_id = 5 L7_1 = {} L7_1.config_id = 697005 L7_1.gadget_id = 70900051 L8_1 = {} L8_1.x = 1168.392 L8_1.y = 200.31 L8_1.z = 366.501 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 1.222 L8_1.y = 39.027 L8_1.z = 5.582 L7_1.rot = L8_1 L7_1.level = 16 L7_1.persistent = true L7_1.area_id = 5 L8_1 = {} L8_1.config_id = 697009 L8_1.gadget_id = 70900051 L9_1 = {} L9_1.x = 1164.84 L9_1.y = 200.513 L9_1.z = 374.186 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 1.664 L9_1.y = 38.562 L9_1.z = 352.219 L8_1.rot = L9_1 L8_1.level = 16 L8_1.persistent = true L8_1.area_id = 5 L9_1 = {} L9_1.config_id = 697010 L9_1.gadget_id = 70900051 L10_1 = {} L10_1.x = 1172.987 L10_1.y = 200.62 L10_1.z = 373.263 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.532 L10_1.y = 38.966 L10_1.z = 5.023 L9_1.rot = L10_1 L9_1.level = 16 L9_1.persistent = true L9_1.area_id = 5 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 gadgets = L2_1 L2_1 = {} regions = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1697006 L3_1.name = "GADGET_STATE_CHANGE_697006" L4_1 = EventType L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_697006" L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_697006" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1697007 L4_1.name = "TIMER_EVENT_697007" L5_1 = EventType L5_1 = L5_1.EVENT_TIMER_EVENT L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_TIMER_EVENT_697007" L4_1.action = "action_EVENT_TIMER_EVENT_697007" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1697008 L5_1.name = "VARIABLE_CHANGE_697008" L6_1 = EventType L6_1 = L6_1.EVENT_VARIABLE_CHANGE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_VARIABLE_CHANGE_697008" L5_1.action = "action_EVENT_VARIABLE_CHANGE_697008" L5_1.trigger_count = 0 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 triggers = L2_1 L2_1 = {} L3_1 = {} L3_1.configId = 1 L3_1.name = "active_count" L3_1.value = 0 L3_1.no_refresh = false L2_1[1] = L3_1 variables = L2_1 L2_1 = {} L2_1.suite = 1 L2_1.end_suite = 0 L2_1.rand_suite = false init_config = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 697001 L6_1 = 697002 L7_1 = 697003 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 = "GADGET_STATE_CHANGE_697006" L6_1 = "TIMER_EVENT_697007" L7_1 = "VARIABLE_CHANGE_697008" L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L2_1[1] = L3_1 suites = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_1 L3_2 = A1_2.param2 if L2_2 ~= L3_2 then L2_2 = L1_1.gadget_2 L3_2 = A1_2.param2 if L2_2 ~= L3_2 then L2_2 = L1_1.gadget_3 L3_2 = A1_2.param2 if L2_2 ~= L3_2 then L2_2 = L1_1.gadget_4 L3_2 = A1_2.param2 if L2_2 ~= L3_2 then L2_2 = false return L2_2 end end end end L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_697006 = 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.GetGroupVariableValue L3_2 = A0_2 L4_2 = "active_count" L2_2 = L2_2(L3_2, L4_2) if 0 == L2_2 then L2_2 = ScriptLib L2_2 = L2_2.MarkPlayerAction L3_2 = A0_2 L4_2 = 1001 L5_2 = 1 L6_2 = 1 L2_2(L3_2, L4_2, L5_2, L6_2) end L2_2 = A1_2.param1 L3_2 = GadgetState L3_2 = L3_2.Action01 if L2_2 == L3_2 then L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "active_count" L5_2 = -1 L2_2(L3_2, L4_2, L5_2) else L2_2 = A1_2.param1 L3_2 = GadgetState L3_2 = L3_2.Action02 if L2_2 == L3_2 then L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "active_count" L5_2 = 1 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.CreateGroupTimerEvent L3_2 = A0_2 L4_2 = L1_1.group_id L5_2 = tostring L6_2 = A1_2.param2 L5_2 = L5_2(L6_2) L6_2 = L1_1.timer L2_2(L3_2, L4_2, L5_2, L6_2) else L2_2 = -1 return L2_2 end end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_697006 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.source_name L3_2 = tostring L4_2 = L1_1.gadget_1 L3_2 = L3_2(L4_2) if L2_2 ~= L3_2 then L2_2 = A1_2.source_name L3_2 = tostring L4_2 = L1_1.gadget_2 L3_2 = L3_2(L4_2) if L2_2 ~= L3_2 then L2_2 = A1_2.source_name L3_2 = tostring L4_2 = L1_1.gadget_3 L3_2 = L3_2(L4_2) if L2_2 ~= L3_2 then L2_2 = A1_2.source_name L3_2 = tostring L4_2 = L1_1.gadget_4 L3_2 = L3_2(L4_2) if L2_2 ~= L3_2 then L2_2 = false return L2_2 end end end end L2_2 = true return L2_2 end condition_EVENT_TIMER_EVENT_697007 = 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 = tonumber L5_2 = A1_2.source_name L4_2 = L4_2(L5_2) L5_2 = GadgetState L5_2 = L5_2.Action01 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_TIMER_EVENT_697007 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_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 = A1_2.param1 if L2_2 == -1 then L2_2 = ScriptLib L2_2 = L2_2.MarkPlayerAction L3_2 = A0_2 L4_2 = 1001 L5_2 = 4 L6_2 = 1 L2_2(L3_2, L4_2, L5_2, L6_2) end L2_2 = A1_2.param1 L3_2 = L1_1.max_gear if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_697008 = 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.CancelGroupTimerEvent L3_2 = A0_2 L4_2 = L1_1.group_id L5_2 = tostring L6_2 = L1_1.gadget_1 L5_2, L6_2 = L5_2(L6_2) L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = ScriptLib L2_2 = L2_2.CancelGroupTimerEvent L3_2 = A0_2 L4_2 = L1_1.group_id L5_2 = tostring L6_2 = L1_1.gadget_2 L5_2, L6_2 = L5_2(L6_2) L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = ScriptLib L2_2 = L2_2.CancelGroupTimerEvent L3_2 = A0_2 L4_2 = L1_1.group_id L5_2 = tostring L6_2 = L1_1.gadget_3 L5_2, L6_2 = L5_2(L6_2) L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = ScriptLib L2_2 = L2_2.CancelGroupTimerEvent L3_2 = A0_2 L4_2 = L1_1.group_id L5_2 = tostring L6_2 = L1_1.gadget_4 L5_2, L6_2 = L5_2(L6_2) L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = L1_1.gadget_1 if L2_2 ~= 0 then L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = L1_1.gadget_1 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2(L3_2, L4_2, L5_2) end L2_2 = L1_1.gadget_2 if L2_2 ~= 0 then L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = L1_1.gadget_2 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2(L3_2, L4_2, L5_2) end L2_2 = L1_1.gadget_3 if L2_2 ~= 0 then L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = L1_1.gadget_3 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2(L3_2, L4_2, L5_2) end L2_2 = L1_1.gadget_4 if L2_2 ~= 0 then L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = L1_1.gadget_4 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2(L3_2, L4_2, L5_2) end L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L5_2 = L1_1.gadget_chest L4_2.config_id = L5_2 L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.MarkPlayerAction L3_2 = A0_2 L4_2 = 1001 L5_2 = 3 L6_2 = 1 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_697008 = L2_1