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

1017 lines
18 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, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1
L0_1 = {}
L0_1.group_id = 220121004
L1_1 = {}
L1_1.box_gadget_id = 70290241
L1_1.point_array_id = 1
L1_1.option_id = 98
L1_1.reminder_level_boarder = 400119
L1_1.reminder_array_boarder = 400119
L1_1.reminder_box_conflict = 400119
L2_1 = {}
L3_1 = {}
L4_1 = 0
L5_1 = 0
L6_1 = 2
L7_1 = 1
L8_1 = 1
L9_1 = 1
L10_1 = 1
L11_1 = 0
L12_1 = 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
L3_1[8] = L11_1
L3_1[9] = L12_1
L4_1 = {}
L5_1 = 0
L6_1 = 0
L7_1 = 2
L8_1 = 0
L9_1 = 1
L10_1 = 1
L11_1 = 1
L12_1 = 1
L13_1 = 0
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
L4_1[8] = L12_1
L4_1[9] = L13_1
L5_1 = {}
L6_1 = 2
L7_1 = 1
L8_1 = 1
L9_1 = 0
L10_1 = 1
L11_1 = 2
L12_1 = 2
L13_1 = 2
L14_1 = 2
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
L5_1[6] = L11_1
L5_1[7] = L12_1
L5_1[8] = L13_1
L5_1[9] = L14_1
L6_1 = {}
L7_1 = 0
L8_1 = 0
L9_1 = 1
L10_1 = 0
L11_1 = 1
L12_1 = 0
L13_1 = 0
L14_1 = 0
L15_1 = 0
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_1
L6_1[6] = L12_1
L6_1[7] = L13_1
L6_1[8] = L14_1
L6_1[9] = L15_1
L7_1 = {}
L8_1 = 2
L9_1 = 2
L10_1 = 1
L11_1 = 0
L12_1 = 1
L13_1 = 0
L14_1 = 0
L15_1 = 0
L16_1 = 0
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
L7_1[7] = L14_1
L7_1[8] = L15_1
L7_1[9] = L16_1
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
L3_1 = {}
L4_1 = {}
L5_1 = 0
L6_1 = 0
L7_1 = 0
L8_1 = 1
L9_1 = 2
L10_1 = 3
L11_1 = 4
L12_1 = 0
L13_1 = 0
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
L4_1[8] = L12_1
L4_1[9] = L13_1
L5_1 = {}
L6_1 = 0
L7_1 = 0
L8_1 = 0
L9_1 = 0
L10_1 = 5
L11_1 = 6
L12_1 = 7
L13_1 = 8
L14_1 = 0
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
L5_1[6] = L11_1
L5_1[7] = L12_1
L5_1[8] = L13_1
L5_1[9] = L14_1
L6_1 = {}
L7_1 = 0
L8_1 = 9
L9_1 = 10
L10_1 = 0
L11_1 = 11
L12_1 = 0
L13_1 = 0
L14_1 = 0
L15_1 = 0
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_1
L6_1[6] = L12_1
L6_1[7] = L13_1
L6_1[8] = L14_1
L6_1[9] = L15_1
L7_1 = {}
L8_1 = 0
L9_1 = 0
L10_1 = 12
L11_1 = 0
L12_1 = 13
L13_1 = 0
L14_1 = 0
L15_1 = 0
L16_1 = 0
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
L7_1[7] = L14_1
L7_1[8] = L15_1
L7_1[9] = L16_1
L8_1 = {}
L9_1 = 0
L10_1 = 0
L11_1 = 14
L12_1 = 0
L13_1 = 15
L14_1 = 0
L15_1 = 0
L16_1 = 0
L17_1 = 0
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
L8_1[6] = L14_1
L8_1[7] = L15_1
L8_1[8] = L16_1
L8_1[9] = L17_1
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
L4_1 = {}
L5_1 = {}
L5_1.config_id = 4005
L6_1 = {}
L6_1.x = 2
L6_1.z = 3
L5_1.pos = L6_1
L4_1[1] = L5_1
L5_1 = {}
L5_1.config_id = 4006
L6_1 = {}
L6_1.x = 4
L6_1.z = 1
L5_1.pos = L6_1
L4_1[2] = L5_1
L5_1 = {}
L5_1.config_id = 4008
L6_1 = {}
L6_1.x = 5
L6_1.z = 2
L5_1.pos = L6_1
L4_1[3] = L5_1
L5_1 = {}
L5_1.config_id = 4009
L6_1 = {}
L6_1.x = 6
L6_1.z = 2
L5_1.pos = L6_1
L4_1[4] = L5_1
L5_1 = {}
monsters = L5_1
L5_1 = {}
npcs = L5_1
L5_1 = {}
L6_1 = {}
L6_1.config_id = 4001
L6_1.gadget_id = 70290298
L7_1 = {}
L7_1.x = -37.485
L7_1.y = -440.673
L7_1.z = -29.602
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.persistent = true
L5_1[4001] = L6_1
L6_1 = {}
L6_1.config_id = 4002
L6_1.gadget_id = 70710199
L7_1 = {}
L7_1.x = -28.93
L7_1.y = -575.68
L7_1.z = -22.63
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 348.076
L7_1.y = 353.295
L7_1.z = 11.7
L6_1.rot = L7_1
L6_1.level = 1
L5_1[4002] = L6_1
L6_1 = {}
L6_1.config_id = 4005
L6_1.gadget_id = 70290241
L7_1 = {}
L7_1.x = -45.218
L7_1.y = -578.95
L7_1.z = -89.134
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.persistent = true
L6_1.is_use_point_array = true
L5_1[4005] = L6_1
L6_1 = {}
L6_1.config_id = 4006
L6_1.gadget_id = 70290241
L7_1 = {}
L7_1.x = -35.23
L7_1.y = -578.92
L7_1.z = -101.043
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.persistent = true
L6_1.is_use_point_array = true
L5_1[4006] = L6_1
L6_1 = {}
L6_1.config_id = 4008
L6_1.gadget_id = 70290241
L7_1 = {}
L7_1.x = -40.289
L7_1.y = -578.95
L7_1.z = -106.604
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.persistent = true
L6_1.is_use_point_array = true
L5_1[4008] = L6_1
L6_1 = {}
L6_1.config_id = 4009
L6_1.gadget_id = 70290241
L7_1 = {}
L7_1.x = -40.189
L7_1.y = -578.942
L7_1.z = -111.786
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.persistent = true
L6_1.is_use_point_array = true
L5_1[4009] = L6_1
L6_1 = {}
L6_1.config_id = 4010
L6_1.gadget_id = 70211101
L7_1 = {}
L7_1.x = -59.097
L7_1.y = -578.912
L7_1.z = -86.402
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 174.519
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 11
L6_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\146\131\230\156\136"
L6_1.isOneoff = true
L6_1.persistent = true
L5_1[4010] = L6_1
L6_1 = {}
L6_1.config_id = 4011
L6_1.gadget_id = 70211101
L7_1 = {}
L7_1.x = -50.354
L7_1.y = -578.949
L7_1.z = -110.418
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 11
L6_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\146\131\230\156\136"
L6_1.isOneoff = true
L6_1.persistent = true
L5_1[4011] = L6_1
L6_1 = {}
L6_1.config_id = 4012
L6_1.gadget_id = 70360022
L7_1 = {}
L7_1.x = -42.007
L7_1.y = -568.552
L7_1.z = -68.879
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 90.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.persistent = true
L5_1[4012] = L6_1
L6_1 = {}
L6_1.config_id = 4013
L6_1.gadget_id = 70710010
L7_1 = {}
L7_1.x = -40.901
L7_1.y = -572.827
L7_1.z = -47.481
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 158.311
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.route_id = 7
L6_1.start_route = false
L5_1[4013] = L6_1
L6_1 = {}
L6_1.config_id = 4014
L6_1.gadget_id = 70211101
L7_1 = {}
L7_1.x = -32.684
L7_1.y = -575.99
L7_1.z = -17.428
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 249.739
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 11
L6_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\146\131\230\156\136"
L6_1.isOneoff = true
L6_1.persistent = true
L5_1[4014] = L6_1
L6_1 = {}
L6_1.config_id = 4015
L6_1.gadget_id = 70360021
L7_1 = {}
L7_1.x = -39.506
L7_1.y = -577.335
L7_1.z = -65.806
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 270.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.route_id = 5
L6_1.persistent = true
L5_1[4015] = L6_1
L6_1 = {}
L6_1.config_id = 4016
L6_1.gadget_id = 70360021
L7_1 = {}
L7_1.x = -42.192
L7_1.y = -571.049
L7_1.z = -74.173
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 270.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.route_id = 6
L6_1.persistent = true
L5_1[4016] = L6_1
L6_1 = {}
L6_1.config_id = 4019
L6_1.gadget_id = 70800107
L7_1 = {}
L7_1.x = -41.125
L7_1.y = -503.47
L7_1.z = -28.45
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.persistent = true
L5_1[4019] = L6_1
L6_1 = {}
L6_1.config_id = 4020
L6_1.gadget_id = 70900201
L7_1 = {}
L7_1.x = -40.81
L7_1.y = -575.99
L7_1.z = -29.686
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L5_1[4020] = L6_1
gadgets = L5_1
L5_1 = {}
L6_1 = {}
L6_1.config_id = 4003
L7_1 = RegionShape
L7_1 = L7_1.SPHERE
L6_1.shape = L7_1
L6_1.radius = 20
L7_1 = {}
L7_1.x = -40.635
L7_1.y = -575.99
L7_1.z = -29.781
L6_1.pos = L7_1
L5_1[4003] = L6_1
L6_1 = {}
L6_1.config_id = 4004
L7_1 = RegionShape
L7_1 = L7_1.CUBIC
L6_1.shape = L7_1
L7_1 = {}
L7_1.x = 50.0
L7_1.y = 140.0
L7_1.z = 70.0
L6_1.size = L7_1
L7_1 = {}
L7_1.x = -36.61
L7_1.y = -509.304
L7_1.z = -25.238
L6_1.pos = L7_1
L5_1[4004] = L6_1
L6_1 = {}
L6_1.config_id = 4007
L7_1 = RegionShape
L7_1 = L7_1.CUBIC
L6_1.shape = L7_1
L7_1 = {}
L7_1.x = 15.0
L7_1.y = 20.0
L7_1.z = 140.0
L6_1.size = L7_1
L7_1 = {}
L7_1.x = -42.239
L7_1.y = -577.5
L7_1.z = -133.236
L6_1.pos = L7_1
L5_1[4007] = L6_1
L6_1 = {}
L6_1.config_id = 4018
L7_1 = RegionShape
L7_1 = L7_1.SPHERE
L6_1.shape = L7_1
L6_1.radius = 7
L7_1 = {}
L7_1.x = -44.71
L7_1.y = -578.937
L7_1.z = -84.722
L6_1.pos = L7_1
L5_1[4018] = L6_1
regions = L5_1
L5_1 = {}
L6_1 = {}
L6_1.config_id = 1004003
L6_1.name = "ENTER_REGION_4003"
L7_1 = EventType
L7_1 = L7_1.EVENT_ENTER_REGION
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ENTER_REGION_4003"
L6_1.action = "action_EVENT_ENTER_REGION_4003"
L7_1 = {}
L7_1.config_id = 1004004
L7_1.name = "ENTER_REGION_4004"
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_4004"
L7_1.action = "action_EVENT_ENTER_REGION_4004"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1004007
L8_1.name = "ENTER_REGION_4007"
L9_1 = EventType
L9_1 = L9_1.EVENT_ENTER_REGION
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_ENTER_REGION_4007"
L8_1.action = "action_EVENT_ENTER_REGION_4007"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1004017
L9_1.name = "PLATFORM_REACH_POINT_4017"
L10_1 = EventType
L10_1 = L10_1.EVENT_PLATFORM_REACH_POINT
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_4017"
L9_1.action = "action_EVENT_PLATFORM_REACH_POINT_4017"
L10_1 = {}
L10_1.config_id = 1004018
L10_1.name = "ENTER_REGION_4018"
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_4018"
L10_1.action = "action_EVENT_ENTER_REGION_4018"
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
triggers = L5_1
L5_1 = {}
variables = L5_1
L5_1 = {}
L5_1.suite = 1
L5_1.end_suite = 0
L5_1.rand_suite = false
init_config = L5_1
L5_1 = {}
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 = {}
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 = 4001
L11_1 = 4002
L12_1 = 4005
L13_1 = 4006
L14_1 = 4008
L15_1 = 4009
L16_1 = 4010
L17_1 = 4011
L18_1 = 4012
L19_1 = 4013
L20_1 = 4014
L21_1 = 4015
L22_1 = 4016
L23_1 = 4020
L9_1[1] = L10_1
L9_1[2] = L11_1
L9_1[3] = L12_1
L9_1[4] = L13_1
L9_1[5] = L14_1
L9_1[6] = L15_1
L9_1[7] = L16_1
L9_1[8] = L17_1
L9_1[9] = L18_1
L9_1[10] = L19_1
L9_1[11] = L20_1
L9_1[12] = L21_1
L9_1[13] = L22_1
L9_1[14] = L23_1
L8_1.gadgets = L9_1
L9_1 = {}
L10_1 = 4003
L11_1 = 4004
L12_1 = 4007
L13_1 = 4018
L9_1[1] = L10_1
L9_1[2] = L11_1
L9_1[3] = L12_1
L9_1[4] = L13_1
L8_1.regions = L9_1
L9_1 = {}
L10_1 = "ENTER_REGION_4003"
L11_1 = "ENTER_REGION_4004"
L12_1 = "ENTER_REGION_4007"
L13_1 = "PLATFORM_REACH_POINT_4017"
L14_1 = "ENTER_REGION_4018"
L9_1[1] = L10_1
L9_1[2] = L11_1
L9_1[3] = L12_1
L9_1[4] = L13_1
L9_1[5] = L14_1
L8_1.triggers = L9_1
L8_1.rand_weight = 100
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
suites = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 4003 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_4003 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "2201210041"
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.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 220121004
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 4001
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 : remove_gadget_by_configid"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.StartPlatform
L3_2 = A0_2
L4_2 = 4013
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 : start_platform"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 220121004
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 4020
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 : remove_gadget_by_configid"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 220121010
L4_2.suite = 1
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 : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_4003 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 4004 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_4004 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetWeatherAreaState
L3_2 = A0_2
L4_2 = 10069
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetWeatherAreaState
L3_2 = A0_2
L4_2 = 10070
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.EnterWeatherArea
L3_2 = A0_2
L4_2 = 10069
L2_2(L3_2, L4_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_4004 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 4007 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_4007 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetWeatherAreaState
L3_2 = A0_2
L4_2 = 10070
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetWeatherAreaState
L3_2 = A0_2
L4_2 = 10069
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetWeatherAreaState
L3_2 = A0_2
L4_2 = 10071
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.EnterWeatherArea
L3_2 = A0_2
L4_2 = 10070
L2_2(L3_2, L4_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_4007 = L5_1
function L5_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 4013 ~= 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 = A1_2.param3
if 14 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_PLATFORM_REACH_POINT_4017 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 220121004
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 4013
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 : remove_gadget_by_configid"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_PLATFORM_REACH_POINT_4017 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 4018 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_4018 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = {}
L2_2.x = -44
L2_2.y = -578
L2_2.z = -84
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 500660180
L6_2 = L2_2
L7_2 = 80
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_ENTER_REGION_4018 = L5_1
L5_1 = require
L6_1 = "V2_4/BoxPusher"
L5_1(L6_1)