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

1144 lines
22 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
L0_1 = {}
L0_1.group_id = 133210209
L1_1 = {}
L2_1 = {}
L2_1.config_id = 209016
L2_1.monster_id = 20011001
L3_1 = {}
L3_1.x = -3507.718
L3_1.y = 116.5
L3_1.z = -988.354
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 173.811
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 30
L2_1.drop_id = 1000100
L2_1.area_id = 17
L3_1 = {}
L3_1.config_id = 209017
L3_1.monster_id = 20060101
L4_1 = {}
L4_1.x = -3502.594
L4_1.y = 116.5
L4_1.z = -993.529
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 269.247
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 30
L3_1.drop_id = 1000100
L3_1.pose_id = 101
L3_1.area_id = 17
L4_1 = {}
L4_1.config_id = 209018
L4_1.monster_id = 20060101
L5_1 = {}
L5_1.x = -3504.003
L5_1.y = 116.5
L5_1.z = -996.942
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 313.284
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 30
L4_1.drop_id = 1000100
L4_1.pose_id = 101
L4_1.area_id = 17
L5_1 = {}
L5_1.config_id = 209019
L5_1.monster_id = 20011001
L6_1 = {}
L6_1.x = -3510.514
L6_1.y = 116.5
L6_1.z = -992.326
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 102.095
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 30
L5_1.drop_id = 1000100
L5_1.area_id = 17
L6_1 = {}
L6_1.config_id = 209020
L6_1.monster_id = 20011001
L7_1 = {}
L7_1.x = -3509.034
L7_1.y = 116.732
L7_1.z = -996.101
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 49.564
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 30
L6_1.drop_id = 1000100
L6_1.area_id = 17
L7_1 = {}
L7_1.config_id = 209021
L7_1.monster_id = 20011101
L8_1 = {}
L8_1.x = -3581.02
L8_1.y = 116.5
L8_1.z = -996.901
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 242.531
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 30
L7_1.drop_id = 1000100
L7_1.area_id = 17
L8_1 = {}
L8_1.config_id = 209022
L8_1.monster_id = 20011101
L9_1 = {}
L9_1.x = -3586.175
L9_1.y = 116.5
L9_1.z = -995.205
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 151.806
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 30
L8_1.drop_id = 1000100
L8_1.area_id = 17
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 209003
L2_1.gadget_id = 70210102
L3_1 = {}
L3_1.x = -3527.136
L3_1.y = 115.66
L3_1.z = -1025.425
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 26
L2_1.chest_drop_id = 1000100
L2_1.drop_count = 1
L2_1.persistent = true
L2_1.area_id = 17
L3_1 = {}
L3_1.config_id = 209004
L3_1.gadget_id = 70210102
L4_1 = {}
L4_1.x = -3507.348
L4_1.y = 116.288
L4_1.z = -993.864
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 26
L3_1.chest_drop_id = 1000100
L3_1.drop_count = 1
L3_1.persistent = true
L3_1.area_id = 17
L4_1 = {}
L4_1.config_id = 209005
L4_1.gadget_id = 70210102
L5_1 = {}
L5_1.x = -3584.51
L5_1.y = 116.268
L5_1.z = -998.584
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 = 1000100
L4_1.drop_count = 1
L4_1.persistent = true
L4_1.area_id = 17
L5_1 = {}
L5_1.config_id = 209006
L5_1.gadget_id = 70210102
L6_1 = {}
L6_1.x = -3592.05
L6_1.y = 116.288
L6_1.z = -945.921
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 26
L5_1.chest_drop_id = 1000100
L5_1.drop_count = 1
L5_1.persistent = true
L5_1.area_id = 17
L6_1 = {}
L6_1.config_id = 209013
L6_1.gadget_id = 70900388
L7_1 = {}
L7_1.x = -3593.21
L7_1.y = 116.263
L7_1.z = -947.416
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 42.781
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 30
L6_1.area_id = 17
L7_1 = {}
L7_1.config_id = 209014
L7_1.gadget_id = 70900388
L8_1 = {}
L8_1.x = -3593.267
L8_1.y = 116.288
L8_1.z = -944.252
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 42.781
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 30
L7_1.area_id = 17
L8_1 = {}
L8_1.config_id = 209015
L8_1.gadget_id = 70900388
L9_1 = {}
L9_1.x = -3590.508
L9_1.y = 116.226
L9_1.z = -946.711
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 67.34
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 30
L8_1.area_id = 17
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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 209001
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 60
L3_1 = {}
L3_1.x = -3550.146
L3_1.y = 116.858
L3_1.z = -965.372
L2_1.pos = L3_1
L2_1.area_id = 17
L3_1 = {}
L3_1.config_id = 209023
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 10
L4_1 = {}
L4_1.x = -3599.384
L4_1.y = 120.131
L4_1.z = -870.356
L3_1.pos = L4_1
L3_1.area_id = 17
L1_1[1] = L2_1
L1_1[2] = L3_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1209001
L2_1.name = "ENTER_REGION_209001"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_209001"
L2_1.action = "action_EVENT_ENTER_REGION_209001"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1209002
L3_1.name = "QUEST_START_209002"
L4_1 = EventType
L4_1 = L4_1.EVENT_QUEST_START
L3_1.event = L4_1
L3_1.source = "7215006"
L3_1.condition = ""
L3_1.action = "action_EVENT_QUEST_START_209002"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1209007
L4_1.name = "GADGET_STATE_CHANGE_209007"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_209007"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_209007"
L5_1 = {}
L5_1.config_id = 1209008
L5_1.name = "VARIABLE_CHANGE_209008"
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_209008"
L5_1.action = "action_EVENT_VARIABLE_CHANGE_209008"
L6_1 = {}
L6_1.config_id = 1209009
L6_1.name = "VARIABLE_CHANGE_209009"
L7_1 = EventType
L7_1 = L7_1.EVENT_VARIABLE_CHANGE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_VARIABLE_CHANGE_209009"
L6_1.action = "action_EVENT_VARIABLE_CHANGE_209009"
L7_1 = {}
L7_1.config_id = 1209010
L7_1.name = "GADGET_STATE_CHANGE_209010"
L8_1 = EventType
L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_209010"
L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_209010"
L8_1 = {}
L8_1.config_id = 1209011
L8_1.name = "GADGET_STATE_CHANGE_209011"
L9_1 = EventType
L9_1 = L9_1.EVENT_GADGET_STATE_CHANGE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_209011"
L8_1.action = "action_EVENT_GADGET_STATE_CHANGE_209011"
L9_1 = {}
L9_1.config_id = 1209012
L9_1.name = "GADGET_STATE_CHANGE_209012"
L10_1 = EventType
L10_1 = L10_1.EVENT_GADGET_STATE_CHANGE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_209012"
L9_1.action = "action_EVENT_GADGET_STATE_CHANGE_209012"
L10_1 = {}
L10_1.config_id = 1209023
L10_1.name = "ENTER_REGION_209023"
L11_1 = EventType
L11_1 = L11_1.EVENT_ENTER_REGION
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_ENTER_REGION_209023"
L10_1.action = "action_EVENT_ENTER_REGION_209023"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1209024
L11_1.name = "QUEST_START_209024"
L12_1 = EventType
L12_1 = L12_1.EVENT_QUEST_START
L11_1.event = L12_1
L11_1.source = "7215006"
L11_1.condition = ""
L11_1.action = "action_EVENT_QUEST_START_209024"
L11_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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "Chest_Open"
L2_1.value = 0
L2_1.no_refresh = true
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L1_1.io_type = 1
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 209001
L5_1 = 209023
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_209001"
L5_1 = "QUEST_START_209002"
L6_1 = "ENTER_REGION_209023"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
L3_1 = {}
L2_1.npcs = L3_1
L3_1 = {}
L4_1 = {}
L4_1.configId = 1
L4_1.name = "Chest_Open"
L4_1.value = 0
L4_1.no_refresh = true
L3_1[1] = L4_1
L2_1.variables = L3_1
L1_1[1] = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L4_1.config_id = 209003
L4_1.state = 0
L5_1 = {}
L5_1.config_id = 209004
L5_1.state = 0
L6_1 = {}
L6_1.config_id = 209005
L6_1.state = 0
L7_1 = {}
L7_1.config_id = 209006
L7_1.state = 0
L8_1 = {}
L8_1.config_id = 209013
L8_1.state = 0
L9_1 = {}
L9_1.config_id = 209014
L9_1.state = 0
L10_1 = {}
L10_1.config_id = 209015
L10_1.state = 0
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
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_209007"
L5_1 = "VARIABLE_CHANGE_209009"
L6_1 = "GADGET_STATE_CHANGE_209010"
L7_1 = "GADGET_STATE_CHANGE_209011"
L8_1 = "GADGET_STATE_CHANGE_209012"
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
L2_1.triggers = L3_1
L3_1 = {}
L2_1.npcs = L3_1
L3_1 = {}
L4_1 = {}
L4_1.configId = 1
L4_1.name = "Chest_Open"
L4_1.value = 0
L4_1.no_refresh = true
L3_1[1] = L4_1
L2_1.variables = L3_1
L1_1[2] = L2_1
L2_1 = {}
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 209016
L5_1 = {}
L5_1.config_id = 209017
L6_1 = {}
L6_1.config_id = 209018
L7_1 = {}
L7_1.config_id = 209019
L8_1 = {}
L8_1.config_id = 209020
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
L2_1.monsters = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L3_1 = {}
L2_1.npcs = L3_1
L3_1 = {}
L4_1 = {}
L4_1.configId = 1
L4_1.name = "Chest_Open"
L4_1.value = 0
L4_1.no_refresh = true
L3_1[1] = L4_1
L2_1.variables = L3_1
L1_1[3] = L2_1
L2_1 = {}
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 209021
L5_1 = {}
L5_1.config_id = 209022
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.monsters = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L3_1 = {}
L2_1.npcs = L3_1
L3_1 = {}
L4_1 = {}
L4_1.configId = 1
L4_1.name = "Chest_Open"
L4_1.value = 0
L4_1.no_refresh = true
L3_1[1] = L4_1
L2_1.variables = L3_1
L1_1[4] = L2_1
L2_1 = {}
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "QUEST_START_209024"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L3_1 = {}
L2_1.npcs = L3_1
L3_1 = {}
L4_1 = {}
L4_1.configId = 1
L4_1.name = "Chest_Open"
L4_1.value = 0
L4_1.no_refresh = true
L3_1[1] = L4_1
L2_1.variables = L3_1
L1_1[5] = L2_1
suite_disk = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 209001
L5_1 = 209023
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_209001"
L5_1 = "QUEST_START_209002"
L6_1 = "ENTER_REGION_209023"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 209003
L6_1 = 209004
L7_1 = 209005
L8_1 = 209006
L9_1 = 209013
L10_1 = 209014
L11_1 = 209015
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.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_STATE_CHANGE_209007"
L6_1 = "VARIABLE_CHANGE_209009"
L7_1 = "GADGET_STATE_CHANGE_209010"
L8_1 = "GADGET_STATE_CHANGE_209011"
L9_1 = "GADGET_STATE_CHANGE_209012"
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
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 209016
L7_1 = 209017
L8_1 = 209018
L9_1 = 209019
L10_1 = 209020
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 209021
L8_1 = 209022
L6_1[1] = L7_1
L6_1[2] = L8_1
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_1 = {}
L6_1.monsters = L7_1
L7_1 = {}
L6_1.gadgets = L7_1
L7_1 = {}
L6_1.regions = L7_1
L7_1 = {}
L8_1 = "QUEST_START_209024"
L7_1[1] = L8_1
L6_1.triggers = L7_1
L6_1.rand_weight = 100
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
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 209001 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_209001 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "7215005"
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 : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_209001 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.GoToFlowSuite
L3_2 = A0_2
L4_2 = 133210209
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_START_209002 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 209003 == 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_209007 = L1_1
function L1_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 = "Chest_Open"
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_209007 = 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 = "Chest_Open"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCountByGroupId
L3_2 = A0_2
L4_2 = 133210210
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_209008 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetMonsterBattleByGroup
L3_2 = A0_2
L4_2 = 210001
L5_2 = 133210210
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_monster_battle_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 32100122
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.AddQuestProgress
L3_2 = A0_2
L4_2 = "7215006"
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 : add_quest_progress"
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 = "Chest_Open"
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 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_209008 = 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 = "Chest_Open"
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_209009 = L1_1
function L1_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 = 32100121
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.AddQuestProgress
L3_2 = A0_2
L4_2 = "7215006"
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 : add_quest_progress"
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 = "Chest_Open"
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.GoToFlowSuite
L3_2 = A0_2
L4_2 = 133210209
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_209009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 209004 == 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_209010 = 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.ShowReminder
L3_2 = A0_2
L4_2 = 32100124
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.AddExtraFlowSuite
L3_2 = A0_2
L4_2 = 133210209
L5_2 = 3
L6_2 = FlowSuiteOperatePolicy
L6_2 = L6_2.COMPLETE
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_209010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 209005 == 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_209011 = 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.ShowReminder
L3_2 = A0_2
L4_2 = 32100125
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.AddExtraFlowSuite
L3_2 = A0_2
L4_2 = 133210209
L5_2 = 4
L6_2 = FlowSuiteOperatePolicy
L6_2 = L6_2.COMPLETE
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_209011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 209006 == 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_209012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 32100126
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_GADGET_STATE_CHANGE_209012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 209023 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_209023 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "7215005"
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 : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_209023 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "7215006"
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 : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_START_209024 = L1_1