local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1 L0_1 = {} L0_1.group_id = 133008654 L1_1 = {} L1_1.GroupID = 133008654 L1_1.AGRegionConfigID = 654022 L1_1.AGName = "ActivityAbility_ToMoon_FoodChallenge_Part2" L1_1.AGKey = "_Activity_ToMoon_Part2_Level" L1_1.ChallengeRegionConfigID = 654022 L1_1.ChallengeID = 111184 L1_1.TriggerTag = 654023 L1_1.TargetTriggerTime = 4 L1_1.AreaID = 3 L1_1.OverKey = "OverKey" L1_1.WatchKey = "save" L2_1 = {} L3_1 = {} L4_1 = 2 L5_1 = 3 L3_1[1] = L4_1 L3_1[2] = L5_1 L2_1[1] = L3_1 L3_1 = {} L4_1 = 2 L5_1 = 3 L6_1 = 4 L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L2_1[2] = L3_1 L3_1 = {} L4_1 = {} L4_1.config_id = 654001 L4_1.monster_id = 23010301 L5_1 = {} L5_1.x = 956.97 L5_1.y = 342.179 L5_1.z = -592.327 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 31.47 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L4_1.drop_tag = "\229\133\136\233\129\163\233\152\159" L4_1.disableWander = true L5_1 = {} L6_1 = 1031 L7_1 = 1007 L5_1[1] = L6_1 L5_1[2] = L7_1 L4_1.affix = L5_1 L4_1.isOneoff = true L4_1.pose_id = 9014 L4_1.climate_area_id = 1 L4_1.area_id = 10 L4_1.guest_ban_drop = 63 L3_1[654001] = L4_1 L4_1 = {} L4_1.config_id = 654002 L4_1.monster_id = 23010501 L5_1 = {} L5_1.x = 960.291 L5_1.y = 342.626 L5_1.z = -587.463 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 201.374 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L4_1.drop_tag = "\229\133\136\233\129\163\233\152\159" L4_1.disableWander = true L5_1 = {} L6_1 = 1031 L7_1 = 1007 L5_1[1] = L6_1 L5_1[2] = L7_1 L4_1.affix = L5_1 L4_1.isOneoff = true L4_1.pose_id = 9014 L4_1.climate_area_id = 1 L4_1.area_id = 10 L4_1.guest_ban_drop = 63 L3_1[654002] = L4_1 L4_1 = {} L4_1.config_id = 654005 L4_1.monster_id = 23010101 L5_1 = {} L5_1.x = 952.737 L5_1.y = 341.841 L5_1.z = -605.412 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 355.737 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L4_1.drop_tag = "\229\133\136\233\129\163\233\152\159" L5_1 = {} L6_1 = 1007 L5_1[1] = L6_1 L4_1.affix = L5_1 L4_1.isOneoff = true L4_1.climate_area_id = 1 L4_1.area_id = 10 L4_1.guest_ban_drop = 63 L3_1[654005] = L4_1 L4_1 = {} L4_1.config_id = 654006 L4_1.monster_id = 23010201 L5_1 = {} L5_1.x = 957.201 L5_1.y = 342.057 L5_1.z = -606.715 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 355.737 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L4_1.drop_tag = "\229\133\136\233\129\163\233\152\159" L5_1 = {} L6_1 = 1031 L7_1 = 1007 L5_1[1] = L6_1 L5_1[2] = L7_1 L4_1.affix = L5_1 L4_1.isOneoff = true L4_1.climate_area_id = 1 L4_1.area_id = 10 L4_1.guest_ban_drop = 63 L3_1[654006] = L4_1 monsters = L3_1 L3_1 = {} npcs = L3_1 L3_1 = {} L4_1 = {} L4_1.config_id = 654015 L4_1.gadget_id = 70310017 L5_1 = {} L5_1.x = 952.684 L5_1.y = 341.839 L5_1.z = -599.697 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 = 10 L3_1[654015] = L4_1 L4_1 = {} L4_1.config_id = 654016 L4_1.gadget_id = 70310107 L5_1 = {} L5_1.x = 952.685 L5_1.y = 341.84 L5_1.z = -599.632 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 L5_1 = GadgetState L5_1 = L5_1.GearStart L4_1.state = L5_1 L4_1.area_id = 10 L3_1[654016] = L4_1 L4_1 = {} L4_1.config_id = 654018 L4_1.gadget_id = 70217008 L5_1 = {} L5_1.x = 952.771 L5_1.y = 341.896 L5_1.z = -598.252 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 = 26 L4_1.chest_drop_id = 21500016 L4_1.drop_count = 1 L4_1.isOneoff = true L4_1.persistent = true L4_1.autopick = true L4_1.guest_ban_drop = 63 L4_1.area_id = 10 L3_1[654018] = L4_1 gadgets = L3_1 L3_1 = {} L4_1 = {} L4_1.config_id = 654022 L5_1 = RegionShape L5_1 = L5_1.CYLINDER L4_1.shape = L5_1 L4_1.radius = 60 L5_1 = {} L5_1.x = 952.75 L5_1.y = 341.843 L5_1.z = -599.653 L4_1.pos = L5_1 L4_1.height = 100.0 L4_1.area_id = 10 L3_1[654022] = L4_1 regions = L3_1 L3_1 = {} L4_1 = {} L4_1.config_id = 1654019 L4_1.name = "GADGET_CREATE_654019" 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_654019" L4_1.action = "action_EVENT_GADGET_CREATE_654019" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1654020 L5_1.name = "ANY_GADGET_DIE_654020" 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_654020" L5_1.action = "action_EVENT_ANY_GADGET_DIE_654020" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1654021 L6_1.name = "TIME_AXIS_PASS_654021" L7_1 = EventType L7_1 = L7_1.EVENT_TIME_AXIS_PASS L6_1.event = L7_1 L6_1.source = "T1" L6_1.condition = "" L6_1.action = "action_EVENT_TIME_AXIS_PASS_654021" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1654022 L7_1.name = "ENTER_REGION_654022" L8_1 = EventType L8_1 = L8_1.EVENT_ENTER_REGION L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_ENTER_REGION_654022" L7_1.action = "" L8_1 = {} L8_1.config_id = 1654023 L8_1.name = "ANY_MONSTER_DIE_654023" L9_1 = EventType L9_1 = L9_1.EVENT_ANY_MONSTER_DIE L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "" L8_1.action = "action_EVENT_ANY_MONSTER_DIE_654023" L8_1.trigger_count = 0 L8_1.tag = "654023" L9_1 = {} L9_1.config_id = 1654024 L9_1.name = "CHALLENGE_SUCCESS_654024" L10_1 = EventType L10_1 = L10_1.EVENT_CHALLENGE_SUCCESS L9_1.event = L10_1 L9_1.source = "1111840" L9_1.condition = "" L9_1.action = "action_EVENT_CHALLENGE_SUCCESS_654024" L10_1 = {} L10_1.config_id = 1654025 L10_1.name = "ANY_MONSTER_DIE_654025" L11_1 = EventType L11_1 = L11_1.EVENT_ANY_MONSTER_DIE L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_ANY_MONSTER_DIE_654025" L10_1.action = "action_EVENT_ANY_MONSTER_DIE_654025" L11_1 = {} L11_1.config_id = 1654027 L11_1.name = "GADGET_STATE_CHANGE_654027" 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_654027" L11_1.action = "action_EVENT_GADGET_STATE_CHANGE_654027" 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 triggers = L3_1 L3_1 = {} L4_1 = {} L4_1.configId = 1 L4_1.name = "save" L4_1.value = 0 L4_1.no_refresh = true L5_1 = {} L5_1.configId = 2 L5_1.name = "IS_CAMP_FINISHED" L5_1.value = 0 L5_1.no_refresh = true L6_1 = {} L6_1.configId = 3 L6_1.name = "OverKey" L6_1.value = 0 L6_1.no_refresh = false L7_1 = {} L7_1.configId = 4 L7_1.name = "stage" L7_1.value = 1 L7_1.no_refresh = true L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 variables = L3_1 L3_1 = {} L3_1.suite = 1 L3_1.end_suite = 0 L3_1.rand_suite = false init_config = L3_1 L3_1 = {} L4_1 = {} L5_1 = {} L4_1.monsters = L5_1 L5_1 = {} L4_1.gadgets = L5_1 L5_1 = {} L6_1 = 654022 L5_1[1] = L6_1 L4_1.regions = L5_1 L5_1 = {} L6_1 = "ENTER_REGION_654022" L7_1 = "ANY_MONSTER_DIE_654023" L8_1 = "CHALLENGE_SUCCESS_654024" L9_1 = "GADGET_STATE_CHANGE_654027" L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L5_1[4] = L9_1 L4_1.triggers = L5_1 L4_1.rand_weight = 100 L5_1 = {} L6_1 = {} L5_1.monsters = L6_1 L6_1 = {} L7_1 = 654015 L6_1[1] = L7_1 L5_1.gadgets = L6_1 L6_1 = {} L5_1.regions = L6_1 L6_1 = {} L7_1 = "GADGET_CREATE_654019" L8_1 = "ANY_GADGET_DIE_654020" L9_1 = "TIME_AXIS_PASS_654021" L6_1[1] = L7_1 L6_1[2] = L8_1 L6_1[3] = L9_1 L5_1.triggers = L6_1 L5_1.rand_weight = 100 L6_1 = {} L7_1 = {} L8_1 = 654001 L9_1 = 654002 L7_1[1] = L8_1 L7_1[2] = L9_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_654025" L7_1[1] = L8_1 L6_1.triggers = L7_1 L6_1.rand_weight = 100 L7_1 = {} L8_1 = {} L9_1 = 654005 L10_1 = 654006 L8_1[1] = L9_1 L8_1[2] = L10_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 = {} L8_1.gadgets = L9_1 L9_1 = {} L8_1.regions = L9_1 L9_1 = {} L8_1.triggers = L9_1 L8_1.rand_weight = 100 L9_1 = {} L10_1 = {} L9_1.monsters = L10_1 L10_1 = {} L9_1.gadgets = L10_1 L10_1 = {} L9_1.regions = L10_1 L10_1 = {} L9_1.triggers = L10_1 L9_1.rand_weight = 100 L10_1 = {} L11_1 = {} L10_1.monsters = L11_1 L11_1 = {} L12_1 = 654018 L11_1[1] = L12_1 L10_1.gadgets = L11_1 L11_1 = {} L10_1.regions = L11_1 L11_1 = {} L10_1.triggers = L11_1 L10_1.rand_weight = 100 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 suites = L3_1 function L3_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 654015 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_654019 = L3_1 function L3_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 = 654016 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 654015 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_GADGET_CREATE_654019 = L3_1 function L3_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 654016 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_654020 = L3_1 function L3_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 = 654015 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.InitTimeAxis L3_2 = A0_2 L4_2 = "T1" L5_2 = {} L6_2 = 30 L5_2[1] = L6_2 L6_2 = false L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 400076 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 : active_reminder_ui" 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_654020 = L3_1 function L3_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 400077 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 : active_reminder_ui" 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 = 654016 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 654015 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_TIME_AXIS_PASS_654021 = L3_1 function L3_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 654022 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetRegionEntityCount L3_2 = A0_2 L4_2 = {} L5_2 = A1_2.source_eid L4_2.region_eid = L5_2 L5_2 = EntityType L5_2 = L5_2.AVATAR L4_2.entity_type = L5_2 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_ENTER_REGION_654022 = L3_1 function L3_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 = "save" 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_ANY_MONSTER_DIE_654023 = L3_1 function L3_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 = 133008654 L5_2 = 7 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 654015 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_CHALLENGE_SUCCESS_654024 = L3_1 function L3_1(A0_2, A1_2) local L2_2, L3_2, L4_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 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "stage" 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_ANY_MONSTER_DIE_654025 = L3_1 function L3_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "stage" 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 : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 133008654 L5_2 = 4 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 400072 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 : active_reminder_ui" 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_654025 = L3_1 function L3_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 654018 == 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_654027 = L3_1 function L3_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "OverKey" 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 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_654027 = L3_1 L3_1 = require L4_1 = "V2_1/MoonlitCamp" L3_1(L4_1)