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

1502 lines
29 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, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1
L0_1 = {}
L0_1.group_id = 201055004
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 4001
L2_1.gadget_id = 70360100
L3_1 = {}
L3_1.x = 17.185
L3_1.y = 55.992
L3_1.z = -99.764
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 = 20
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.start_route = false
L3_1 = {}
L3_1.config_id = 4002
L3_1.gadget_id = 70360100
L4_1 = {}
L4_1.x = 17.2
L4_1.y = 55.174
L4_1.z = -99.462
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 = 20
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.start_route = false
L4_1 = {}
L4_1.config_id = 4003
L4_1.gadget_id = 70360100
L5_1 = {}
L5_1.x = 17.232
L5_1.y = 54.354
L5_1.z = -99.294
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 = 20
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.start_route = false
L5_1 = {}
L5_1.config_id = 4004
L5_1.gadget_id = 70360100
L6_1 = {}
L6_1.x = 28.83
L6_1.y = 55.936
L6_1.z = -70.052
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 180.0
L6_1.z = 180.0
L5_1.rot = L6_1
L5_1.level = 20
L6_1 = GadgetState
L6_1 = L6_1.GearStart
L5_1.state = L6_1
L5_1.start_route = false
L6_1 = {}
L6_1.config_id = 4006
L6_1.gadget_id = 70350002
L7_1 = {}
L7_1.x = 68.515
L7_1.y = 47.756
L7_1.z = -64.534
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 90.716
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
L7_1 = {}
L7_1.config_id = 4007
L7_1.gadget_id = 70360100
L8_1 = {}
L8_1.x = 28.828
L8_1.y = 55.012
L8_1.z = -70.052
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 180.0
L8_1.z = 180.0
L7_1.rot = L8_1
L7_1.level = 20
L8_1 = GadgetState
L8_1 = L8_1.GearStart
L7_1.state = L8_1
L7_1.start_route = false
L8_1 = {}
L8_1.config_id = 4008
L8_1.gadget_id = 70360016
L9_1 = {}
L9_1.x = 41.406
L9_1.y = 58.857
L9_1.z = -52.485
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 272.281
L9_1.y = 115.0
L9_1.z = 244.758
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 4009
L9_1.gadget_id = 70360019
L10_1 = {}
L10_1.x = 34.577
L10_1.y = 60.208
L10_1.z = -51.294
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 90.0
L10_1.z = 274.542
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 4010
L10_1.gadget_id = 70360100
L11_1 = {}
L11_1.x = 28.841
L11_1.y = 54.146
L11_1.z = -70.052
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 180.0
L11_1.z = 180.0
L10_1.rot = L11_1
L10_1.level = 20
L11_1 = GadgetState
L11_1 = L11_1.GearStart
L10_1.state = L11_1
L10_1.start_route = false
L11_1 = {}
L11_1.config_id = 4011
L11_1.gadget_id = 70360020
L12_1 = {}
L12_1.x = 43.647
L12_1.y = 57.396
L12_1.z = -52.786
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 30.0
L12_1.y = 90.0
L12_1.z = 268.399
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L12_1.config_id = 4012
L12_1.gadget_id = 70350006
L13_1 = {}
L13_1.x = 48.038
L13_1.y = 52.449
L13_1.z = -56.825
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 270.374
L13_1.z = 180.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L13_1.config_id = 4014
L13_1.gadget_id = 70360100
L14_1 = {}
L14_1.x = 36.165
L14_1.y = 55.369
L14_1.z = -52.648
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 180.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 20
L14_1 = GadgetState
L14_1 = L14_1.GearStart
L13_1.state = L14_1
L13_1.route_id = 6
L13_1.start_route = false
L14_1 = {}
L14_1.config_id = 4015
L14_1.gadget_id = 70360100
L15_1 = {}
L15_1.x = 36.156
L15_1.y = 57.222
L15_1.z = -52.648
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 180.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 20
L15_1 = GadgetState
L15_1 = L15_1.GearStart
L14_1.state = L15_1
L14_1.route_id = 3
L14_1.start_route = false
L15_1 = {}
L15_1.config_id = 4016
L15_1.gadget_id = 70360100
L16_1 = {}
L16_1.x = 36.187
L16_1.y = 58.803
L16_1.z = -52.648
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 180.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 20
L16_1 = GadgetState
L16_1 = L16_1.GearStart
L15_1.state = L16_1
L15_1.route_id = 4
L15_1.start_route = false
L16_1 = {}
L16_1.config_id = 4017
L16_1.gadget_id = 70360100
L17_1 = {}
L17_1.x = 40.011
L17_1.y = 56.068
L17_1.z = -99.62
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 20
L17_1 = GadgetState
L17_1 = L17_1.GearStart
L16_1.state = L17_1
L16_1.start_route = false
L17_1 = {}
L17_1.config_id = 4018
L17_1.gadget_id = 70360100
L18_1 = {}
L18_1.x = 39.984
L18_1.y = 55.183
L18_1.z = -99.352
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 20
L18_1 = GadgetState
L18_1 = L18_1.GearStart
L17_1.state = L18_1
L17_1.start_route = false
L18_1 = {}
L18_1.config_id = 4019
L18_1.gadget_id = 70360100
L19_1 = {}
L19_1.x = 39.979
L19_1.y = 54.347
L19_1.z = -99.195
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 20
L19_1 = GadgetState
L19_1 = L19_1.GearStart
L18_1.state = L19_1
L18_1.start_route = false
L19_1 = {}
L19_1.config_id = 4020
L19_1.gadget_id = 70710197
L20_1 = {}
L20_1.x = 2.1
L20_1.y = 58.18
L20_1.z = -90.024
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 0.0
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L19_1.route_id = 11
L20_1 = {}
L20_1.config_id = 4022
L20_1.gadget_id = 70360100
L21_1 = {}
L21_1.x = 21.837
L21_1.y = 55.221
L21_1.z = -52.648
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 180.0
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 20
L21_1 = GadgetState
L21_1 = L21_1.GearStart
L20_1.state = L21_1
L20_1.route_id = 6
L20_1.start_route = false
L21_1 = {}
L21_1.config_id = 4024
L21_1.gadget_id = 70710197
L22_1 = {}
L22_1.x = -2.88
L22_1.y = 58.18
L22_1.z = -97.178
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 0.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L21_1.route_id = 9
L22_1 = {}
L22_1.config_id = 4026
L22_1.gadget_id = 70710197
L23_1 = {}
L23_1.x = -2.88
L23_1.y = 58.18
L23_1.z = -97.178
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 0.0
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L22_1.route_id = 9
L23_1 = {}
L23_1.config_id = 4031
L23_1.gadget_id = 70710197
L24_1 = {}
L24_1.x = -2.88
L24_1.y = 58.18
L24_1.z = -97.178
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 0.0
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 1
L23_1.route_id = 9
L24_1 = {}
L24_1.config_id = 4032
L24_1.gadget_id = 70360100
L25_1 = {}
L25_1.x = 21.829
L25_1.y = 57.073
L25_1.z = -52.536
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 0.0
L25_1.y = 180.0
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 20
L25_1 = GadgetState
L25_1 = L25_1.GearStart
L24_1.state = L25_1
L24_1.route_id = 5
L24_1.start_route = false
L25_1 = {}
L25_1.config_id = 4033
L25_1.gadget_id = 70360100
L26_1 = {}
L26_1.x = 21.86
L26_1.y = 58.654
L26_1.z = -52.543
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 180.0
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 20
L26_1 = GadgetState
L26_1 = L26_1.GearStart
L25_1.state = L26_1
L25_1.route_id = 6
L25_1.start_route = false
L26_1 = {}
L26_1.config_id = 4034
L26_1.gadget_id = 70360016
L27_1 = {}
L27_1.x = 38.196
L27_1.y = 59.942
L27_1.z = -52.569
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 272.281
L27_1.y = 115.0
L27_1.z = 244.758
L26_1.rot = L27_1
L26_1.level = 1
L27_1 = {}
L27_1.config_id = 4035
L27_1.gadget_id = 70360020
L28_1 = {}
L28_1.x = 43.647
L28_1.y = 57.396
L28_1.z = -52.786
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 30.0
L28_1.y = 90.0
L28_1.z = 268.399
L27_1.rot = L28_1
L27_1.level = 1
L28_1 = {}
L28_1.config_id = 4036
L28_1.gadget_id = 70710197
L29_1 = {}
L29_1.x = 56.794
L29_1.y = 64.1
L29_1.z = -51.524
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 0.0
L29_1.y = 0.0
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.level = 1
L28_1.start_route = false
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
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
L1_1[21] = L22_1
L1_1[22] = L23_1
L1_1[23] = L24_1
L1_1[24] = L25_1
L1_1[25] = L26_1
L1_1[26] = L27_1
L1_1[27] = L28_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 4013
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 10
L3_1 = {}
L3_1.x = 55.448
L3_1.y = 52.84
L3_1.z = -67.831
L2_1.pos = L3_1
L3_1 = {}
L3_1.config_id = 4021
L4_1 = RegionShape
L4_1 = L4_1.CUBIC
L3_1.shape = L4_1
L4_1 = {}
L4_1.x = 10.0
L4_1.y = 20.0
L4_1.z = 20.0
L3_1.size = L4_1
L4_1 = {}
L4_1.x = 10.773
L4_1.y = 53.762
L4_1.z = -73.324
L3_1.pos = L4_1
L4_1 = {}
L4_1.config_id = 4037
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 10
L5_1 = {}
L5_1.x = 56.291
L5_1.y = 47.852
L5_1.z = -55.961
L4_1.pos = L5_1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1004005
L2_1.name = "GADGET_STATE_CHANGE_4005"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_4005"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_4005"
L3_1 = {}
L3_1.config_id = 1004013
L3_1.name = "ENTER_REGION_4013"
L4_1 = EventType
L4_1 = L4_1.EVENT_ENTER_REGION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ENTER_REGION_4013"
L3_1.action = "action_EVENT_ENTER_REGION_4013"
L4_1 = {}
L4_1.config_id = 1004021
L4_1.name = "ENTER_REGION_4021"
L5_1 = EventType
L5_1 = L5_1.EVENT_ENTER_REGION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ENTER_REGION_4021"
L4_1.action = "action_EVENT_ENTER_REGION_4021"
L5_1 = {}
L5_1.config_id = 1004023
L5_1.name = "TIMER_EVENT_4023"
L6_1 = EventType
L6_1 = L6_1.EVENT_TIMER_EVENT
L5_1.event = L6_1
L5_1.source = "timeTrans2start"
L5_1.condition = ""
L5_1.action = "action_EVENT_TIMER_EVENT_4023"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1004025
L6_1.name = "TIMER_EVENT_4025"
L7_1 = EventType
L7_1 = L7_1.EVENT_TIMER_EVENT
L6_1.event = L7_1
L6_1.source = "timeTrans2"
L6_1.condition = ""
L6_1.action = "action_EVENT_TIMER_EVENT_4025"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1004027
L7_1.name = "TIMER_EVENT_4027"
L8_1 = EventType
L8_1 = L8_1.EVENT_TIMER_EVENT
L7_1.event = L8_1
L7_1.source = "timeTrans3start"
L7_1.condition = ""
L7_1.action = "action_EVENT_TIMER_EVENT_4027"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1004028
L8_1.name = "TIMER_EVENT_4028"
L9_1 = EventType
L9_1 = L9_1.EVENT_TIMER_EVENT
L8_1.event = L9_1
L8_1.source = "timeTrans3"
L8_1.condition = ""
L8_1.action = "action_EVENT_TIMER_EVENT_4028"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1004029
L9_1.name = "TIMER_EVENT_4029"
L10_1 = EventType
L10_1 = L10_1.EVENT_TIMER_EVENT
L9_1.event = L10_1
L9_1.source = "timeTrans4start"
L9_1.condition = ""
L9_1.action = "action_EVENT_TIMER_EVENT_4029"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1004030
L10_1.name = "TIMER_EVENT_4030"
L11_1 = EventType
L11_1 = L11_1.EVENT_TIMER_EVENT
L10_1.event = L11_1
L10_1.source = "timeTrans4"
L10_1.condition = ""
L10_1.action = "action_EVENT_TIMER_EVENT_4030"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1004037
L11_1.name = "ENTER_REGION_4037"
L12_1 = EventType
L12_1 = L12_1.EVENT_ENTER_REGION
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_ENTER_REGION_4037"
L11_1.action = "action_EVENT_ENTER_REGION_4037"
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 = {}
variables = L1_1
L1_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.monsters = L3_1
L3_1 = {}
L4_1 = 4001
L5_1 = 4002
L6_1 = 4003
L7_1 = 4004
L8_1 = 4006
L9_1 = 4007
L10_1 = 4008
L11_1 = 4009
L12_1 = 4010
L13_1 = 4011
L14_1 = 4012
L15_1 = 4014
L16_1 = 4015
L17_1 = 4016
L18_1 = 4017
L19_1 = 4018
L20_1 = 4019
L21_1 = 4022
L22_1 = 4032
L23_1 = 4033
L24_1 = 4034
L25_1 = 4035
L26_1 = 4036
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
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L3_1[18] = L21_1
L3_1[19] = L22_1
L3_1[20] = L23_1
L3_1[21] = L24_1
L3_1[22] = L25_1
L3_1[23] = L26_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 4013
L5_1 = 4021
L6_1 = 4037
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_4005"
L5_1 = "ENTER_REGION_4013"
L6_1 = "ENTER_REGION_4021"
L7_1 = "TIMER_EVENT_4023"
L8_1 = "TIMER_EVENT_4025"
L9_1 = "TIMER_EVENT_4027"
L10_1 = "TIMER_EVENT_4028"
L11_1 = "TIMER_EVENT_4029"
L12_1 = "TIMER_EVENT_4030"
L13_1 = "ENTER_REGION_4037"
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
L3_1[10] = L13_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 4011 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStop
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_4005 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 4006
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 4012
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 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "20105500401"
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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 201055006
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 = 4014
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 4015
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 4016
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 4022
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 4032
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 4033
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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 = {}
L2_2.x = 36
L2_2.y = 58
L2_2.z = -52
L3_2 = {}
L3_2.x = 0
L3_2.y = 0
L3_2.z = 0
L4_2 = ScriptLib
L4_2 = L4_2.BeginCameraSceneLook
L5_2 = A0_2
L6_2 = {}
L6_2.look_pos = L2_2
L6_2.is_allow_input = false
L6_2.duration = 5
L6_2.is_force = true
L6_2.is_broadcast = false
L6_2.is_recover_keep_current = true
L6_2.delay = 0
L6_2.is_set_follow_pos = false
L6_2.follow_pos = L3_2
L6_2.is_force_walk = false
L6_2.is_change_play_mode = false
L6_2.is_set_screen_XY = false
L6_2.screen_x = 0
L6_2.screen_y = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_cameraLook_Begin"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.StartPlatform
L5_2 = A0_2
L6_2 = 4015
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : start_platform"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.StartPlatform
L5_2 = A0_2
L6_2 = 4016
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : start_platform"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.StartPlatform
L5_2 = A0_2
L6_2 = 4032
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : start_platform"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.StartPlatform
L5_2 = A0_2
L6_2 = 4033
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : start_platform"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_GADGET_STATE_CHANGE_4005 = 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 ~= 4013 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_4013 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 201055006
L5_2 = 7
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 201055006
L5_2 = 6
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_4013 = 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 ~= 4021 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_4021 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = {}
L2_2.x = 16
L2_2.y = 57
L2_2.z = -96
L3_2 = {}
L3_2.x = 0
L3_2.y = 0
L3_2.z = 0
L4_2 = ScriptLib
L4_2 = L4_2.BeginCameraSceneLook
L5_2 = A0_2
L6_2 = {}
L6_2.look_pos = L2_2
L6_2.is_allow_input = false
L6_2.duration = 2
L6_2.is_force = true
L6_2.is_broadcast = false
L6_2.is_recover_keep_current = true
L6_2.delay = 0
L6_2.is_set_follow_pos = false
L6_2.follow_pos = L3_2
L6_2.is_force_walk = false
L6_2.is_change_play_mode = false
L6_2.is_set_screen_XY = false
L6_2.screen_x = 0
L6_2.screen_y = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_cameraLook_Begin"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateGadget
L5_2 = A0_2
L6_2 = {}
L6_2.config_id = 4020
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_gadget"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateGroupTimerEvent
L5_2 = A0_2
L6_2 = 201055004
L7_2 = "timeTrans2start"
L8_2 = 15
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_timerevent_by_group"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateGroupTimerEvent
L5_2 = A0_2
L6_2 = 201055004
L7_2 = "timeTrans3start"
L8_2 = 30
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_timerevent_by_group"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateGroupTimerEvent
L5_2 = A0_2
L6_2 = 201055004
L7_2 = "timeTrans4start"
L8_2 = 45
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_timerevent_by_group"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_ENTER_REGION_4021 = 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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 4024
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.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 201055004
L5_2 = "timeTrans2"
L6_2 = 45
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 : create_timerevent_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_4023 = 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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 4024
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 : kill_entity_by_configId"
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 = 4024
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.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 201055004
L5_2 = "timeTrans2"
L6_2 = 45
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 : create_timerevent_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_4025 = 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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 4026
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.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 201055004
L5_2 = "timeTrans3"
L6_2 = 45
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 : create_timerevent_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_4027 = 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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 4026
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 : kill_entity_by_configId"
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 = 4026
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.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 201055004
L5_2 = "timeTrans3"
L6_2 = 45
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 : create_timerevent_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_4028 = 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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 4031
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.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 201055004
L5_2 = "timeTrans4"
L6_2 = 45
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 : create_timerevent_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_4029 = 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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 4031
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 : kill_entity_by_configId"
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 = 4031
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.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 201055004
L5_2 = "timeTrans4"
L6_2 = 45
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 : create_timerevent_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_4030 = 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 ~= 4037 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_4037 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = {}
L2_2.x = 43
L2_2.y = 57
L2_2.z = -52
L3_2 = {}
L3_2.x = 0
L3_2.y = 0
L3_2.z = 0
L4_2 = ScriptLib
L4_2 = L4_2.BeginCameraSceneLook
L5_2 = A0_2
L6_2 = {}
L6_2.look_pos = L2_2
L6_2.is_allow_input = false
L6_2.duration = 2
L6_2.is_force = true
L6_2.is_broadcast = false
L6_2.is_recover_keep_current = true
L6_2.delay = 1
L6_2.is_set_follow_pos = false
L6_2.follow_pos = L3_2
L6_2.is_force_walk = false
L6_2.is_change_play_mode = false
L6_2.is_set_screen_XY = false
L6_2.screen_x = 0
L6_2.screen_y = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_cameraLook_Begin"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_ENTER_REGION_4037 = L1_1