Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133008586.lua
2022-04-29 16:40:51 +02:00

1107 lines
21 KiB
Lua

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
L0_1 = {}
L0_1.group_id = 133008586
L1_1 = {}
L1_1.GroupID = 133008586
L1_1.AGRegionConfigID = 586022
L1_1.AGName = "ActivityAbility_ToMoon_FoodChallenge_Part2"
L1_1.AGKey = "_Activity_ToMoon_Part2_Level"
L1_1.ChallengeRegionConfigID = 586022
L1_1.ChallengeID = 111184
L1_1.TriggerTag = 586023
L1_1.TargetTriggerTime = 13
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 = 2
L5_1 = 3
L6_1 = 4
L7_1 = 5
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1[3] = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 586001
L4_1.monster_id = 20010801
L5_1 = {}
L5_1.x = 1328.973
L5_1.y = 353.753
L5_1.z = -924.059
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.drop_tag = "\229\143\178\232\142\177\229\167\134"
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.climate_area_id = 1
L4_1.area_id = 10
L4_1.guest_ban_drop = 63
L3_1[586001] = L4_1
L4_1 = {}
L4_1.config_id = 586002
L4_1.monster_id = 20010801
L5_1 = {}
L5_1.x = 1333.468
L5_1.y = 352.864
L5_1.z = -921.134
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 275.205
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
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.climate_area_id = 1
L4_1.area_id = 10
L4_1.guest_ban_drop = 63
L3_1[586002] = L4_1
L4_1 = {}
L4_1.config_id = 586003
L4_1.monster_id = 20010801
L5_1 = {}
L5_1.x = 1323.556
L5_1.y = 355.068
L5_1.z = -921.348
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 83.631
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
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.climate_area_id = 1
L4_1.area_id = 10
L4_1.guest_ban_drop = 63
L3_1[586003] = L4_1
L4_1 = {}
L4_1.config_id = 586004
L4_1.monster_id = 20010501
L5_1 = {}
L5_1.x = 1329.435
L5_1.y = 354.04
L5_1.z = -914.181
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 183.637
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
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.climate_area_id = 1
L4_1.area_id = 10
L4_1.guest_ban_drop = 63
L3_1[586004] = L4_1
L4_1 = {}
L4_1.config_id = 586005
L4_1.monster_id = 20010901
L5_1 = {}
L5_1.x = 1321.065
L5_1.y = 355.649
L5_1.z = -918.161
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 158.256
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\229\164\167\229\143\178\232\142\177\229\167\134"
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[586005] = L4_1
L4_1 = {}
L4_1.config_id = 586006
L4_1.monster_id = 21011401
L5_1 = {}
L5_1.x = 1319.905
L5_1.y = 356.011
L5_1.z = -936.891
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 340.245
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
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[586006] = L4_1
L4_1 = {}
L4_1.config_id = 586007
L4_1.monster_id = 21011401
L5_1 = {}
L5_1.x = 1319.266
L5_1.y = 356.394
L5_1.z = -939.122
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 340.245
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
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[586007] = L4_1
L4_1 = {}
L4_1.config_id = 586008
L4_1.monster_id = 20010801
L5_1 = {}
L5_1.x = 1331.867
L5_1.y = 353.496
L5_1.z = -917.935
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 196.696
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
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[586008] = L4_1
L4_1 = {}
L4_1.config_id = 586009
L4_1.monster_id = 20010801
L5_1 = {}
L5_1.x = 1329.342
L5_1.y = 354.037
L5_1.z = -915.554
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 196.696
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
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[586009] = L4_1
L4_1 = {}
L4_1.config_id = 586010
L4_1.monster_id = 26010101
L5_1 = {}
L5_1.x = 1322.274
L5_1.y = 355.342
L5_1.z = -921.989
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 294.082
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\233\170\151\233\170\151\232\138\177"
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[586010] = L4_1
L4_1 = {}
L4_1.config_id = 586011
L4_1.monster_id = 26010101
L5_1 = {}
L5_1.x = 1319.719
L5_1.y = 356.185
L5_1.z = -938.045
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 172.584
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\233\170\151\233\170\151\232\138\177"
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[586011] = L4_1
L4_1 = {}
L4_1.config_id = 586013
L4_1.monster_id = 20010501
L5_1 = {}
L5_1.x = 1333.594
L5_1.y = 353.176
L5_1.z = -916.067
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 226.32
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
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.climate_area_id = 1
L4_1.area_id = 10
L4_1.guest_ban_drop = 63
L3_1[586013] = L4_1
L4_1 = {}
L4_1.config_id = 586014
L4_1.monster_id = 20010501
L5_1 = {}
L5_1.x = 1324.664
L5_1.y = 354.845
L5_1.z = -916.183
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 139.603
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
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.climate_area_id = 1
L4_1.area_id = 10
L4_1.guest_ban_drop = 63
L3_1[586014] = L4_1
monsters = L3_1
L3_1 = {}
npcs = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 586015
L4_1.gadget_id = 70310017
L5_1 = {}
L5_1.x = 1329.484
L5_1.y = 353.283
L5_1.z = -928.128
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[586015] = L4_1
L4_1 = {}
L4_1.config_id = 586016
L4_1.gadget_id = 70310107
L5_1 = {}
L5_1.x = 1329.486
L5_1.y = 353.289
L5_1.z = -928.061
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[586016] = L4_1
L4_1 = {}
L4_1.config_id = 586018
L4_1.gadget_id = 70217008
L5_1 = {}
L5_1.x = 1329.568
L5_1.y = 353.381
L5_1.z = -926.753
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 = 21500014
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[586018] = L4_1
gadgets = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 586022
L5_1 = RegionShape
L5_1 = L5_1.CYLINDER
L4_1.shape = L5_1
L4_1.radius = 60
L5_1 = {}
L5_1.x = 1329.551
L5_1.y = 353.271
L5_1.z = -928.084
L4_1.pos = L5_1
L4_1.height = 60.0
L4_1.area_id = 10
L3_1[586022] = L4_1
regions = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 1586019
L4_1.name = "GADGET_CREATE_586019"
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_586019"
L4_1.action = "action_EVENT_GADGET_CREATE_586019"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1586020
L5_1.name = "ANY_GADGET_DIE_586020"
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_586020"
L5_1.action = "action_EVENT_ANY_GADGET_DIE_586020"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1586021
L6_1.name = "TIME_AXIS_PASS_586021"
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_586021"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1586022
L7_1.name = "ENTER_REGION_586022"
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_586022"
L7_1.action = ""
L8_1 = {}
L8_1.config_id = 1586023
L8_1.name = "ANY_MONSTER_DIE_586023"
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_586023"
L8_1.trigger_count = 0
L8_1.tag = "586023"
L9_1 = {}
L9_1.config_id = 1586024
L9_1.name = "CHALLENGE_SUCCESS_586024"
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_586024"
L10_1 = {}
L10_1.config_id = 1586025
L10_1.name = "ANY_MONSTER_DIE_586025"
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_586025"
L10_1.action = "action_EVENT_ANY_MONSTER_DIE_586025"
L11_1 = {}
L11_1.config_id = 1586026
L11_1.name = "ANY_MONSTER_DIE_586026"
L12_1 = EventType
L12_1 = L12_1.EVENT_ANY_MONSTER_DIE
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_ANY_MONSTER_DIE_586026"
L11_1.action = "action_EVENT_ANY_MONSTER_DIE_586026"
L12_1 = {}
L12_1.config_id = 1586027
L12_1.name = "GADGET_STATE_CHANGE_586027"
L13_1 = EventType
L13_1 = L13_1.EVENT_GADGET_STATE_CHANGE
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_586027"
L12_1.action = "action_EVENT_GADGET_STATE_CHANGE_586027"
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
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 = 586022
L5_1[1] = L6_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ENTER_REGION_586022"
L7_1 = "ANY_MONSTER_DIE_586023"
L8_1 = "CHALLENGE_SUCCESS_586024"
L9_1 = "GADGET_STATE_CHANGE_586027"
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 = 586015
L6_1[1] = L7_1
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "GADGET_CREATE_586019"
L8_1 = "ANY_GADGET_DIE_586020"
L9_1 = "TIME_AXIS_PASS_586021"
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 = 586001
L9_1 = 586002
L10_1 = 586003
L11_1 = 586004
L12_1 = 586013
L13_1 = 586014
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_1
L7_1[4] = L11_1
L7_1[5] = L12_1
L7_1[6] = L13_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_586025"
L7_1[1] = L8_1
L6_1.triggers = L7_1
L6_1.rand_weight = 100
L7_1 = {}
L8_1 = {}
L9_1 = 586005
L10_1 = 586006
L11_1 = 586007
L12_1 = 586008
L13_1 = 586009
L8_1[1] = L9_1
L8_1[2] = L10_1
L8_1[3] = L11_1
L8_1[4] = L12_1
L8_1[5] = L13_1
L7_1.monsters = L8_1
L8_1 = {}
L7_1.gadgets = L8_1
L8_1 = {}
L7_1.regions = L8_1
L8_1 = {}
L9_1 = "ANY_MONSTER_DIE_586026"
L8_1[1] = L9_1
L7_1.triggers = L8_1
L7_1.rand_weight = 100
L8_1 = {}
L9_1 = {}
L10_1 = 586010
L11_1 = 586011
L9_1[1] = L10_1
L9_1[2] = L11_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 = {}
L11_1 = 586016
L10_1[1] = L11_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 = 586018
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 586015 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_586019 = 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 = 133008586
L5_2 = 6
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 586015
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_586019 = L3_1
function L3_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 586016 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_586020 = 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 = 586015
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_586020 = 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 = 586016
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 = 586015
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_586021 = 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 ~= 586022 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_586022 = 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_586023 = 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 = 133008586
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 = 586015
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_586024 = 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_586025 = 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 = 133008586
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_586025 = 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 ~= 2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_586026 = 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 = 3
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 = 133008586
L5_2 = 5
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_586026 = L3_1
function L3_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 586018 == 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_586027 = 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_586027 = L3_1
L3_1 = require
L4_1 = "V2_1/MoonlitCamp"
L3_1(L4_1)