mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
988 lines
18 KiB
Lua
988 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, L24_1, L25_1, L26_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 177005021
|
|
L1_1 = {}
|
|
L1_1.pt1 = 700500032
|
|
L1_1.pt2 = 700500033
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = 0
|
|
L5_1 = 202
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1[21021] = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 0
|
|
L5_1 = 201
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1[21028] = L3_1
|
|
function L3_1(A0_2, A1_2, A2_2)
|
|
local L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.MoveAvatarByPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = A0_2.uid
|
|
L6_2 = A1_2
|
|
L7_2 = A2_2
|
|
L8_2 = {}
|
|
L8_2.speed = 10
|
|
L9_2 = "{\"MarkType\":2,\"IgnoreCollisionWhenEnter\":true}"
|
|
L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
|
|
end
|
|
TeleportAction = L3_1
|
|
L3_1 = {}
|
|
monsters = L3_1
|
|
L3_1 = {}
|
|
npcs = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 21001
|
|
L4_1.gadget_id = 70330176
|
|
L5_1 = {}
|
|
L5_1.x = -162.782
|
|
L5_1.y = 296.406
|
|
L5_1.z = 236.298
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 138.324
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.area_id = 210
|
|
L3_1[21001] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21002
|
|
L4_1.gadget_id = 70330155
|
|
L5_1 = {}
|
|
L5_1.x = -162.633
|
|
L5_1.y = 299.728
|
|
L5_1.z = 236.268
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 274.628
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 210
|
|
L3_1[21002] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21003
|
|
L4_1.gadget_id = 70330177
|
|
L5_1 = {}
|
|
L5_1.x = -171.396
|
|
L5_1.y = 271.278
|
|
L5_1.z = 240.485
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 241.403
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.start_route = false
|
|
L4_1.is_use_point_array = true
|
|
L4_1.area_id = 210
|
|
L3_1[21003] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21004
|
|
L4_1.gadget_id = 70211160
|
|
L5_1 = {}
|
|
L5_1.x = -240.794
|
|
L5_1.y = 284.046
|
|
L5_1.z = 273.498
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 104.07
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 16
|
|
L4_1.drop_tag = "\230\184\138\228\184\139\229\174\171\230\180\187\229\138\168\228\189\142\231\186\167\231\168\187\229\166\187"
|
|
L4_1.isOneoff = true
|
|
L4_1.persistent = true
|
|
L4_1.autopick = true
|
|
L4_1.area_id = 210
|
|
L3_1[21004] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21006
|
|
L4_1.gadget_id = 70290275
|
|
L5_1 = {}
|
|
L5_1.x = -169.776
|
|
L5_1.y = 229.776
|
|
L5_1.z = 229.607
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 332.198
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.area_id = 210
|
|
L3_1[21006] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21007
|
|
L4_1.gadget_id = 70330144
|
|
L5_1 = {}
|
|
L5_1.x = -184.464
|
|
L5_1.y = 271.978
|
|
L5_1.z = 264.472
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 285.115
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.route_id = 700500038
|
|
L4_1.area_id = 210
|
|
L3_1[21007] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21010
|
|
L4_1.gadget_id = 70290275
|
|
L5_1 = {}
|
|
L5_1.x = -172.89
|
|
L5_1.y = 295.504
|
|
L5_1.z = 226.38
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 332.198
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.area_id = 210
|
|
L3_1[21010] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21014
|
|
L4_1.gadget_id = 70330144
|
|
L5_1 = {}
|
|
L5_1.x = -195.592
|
|
L5_1.y = 271.978
|
|
L5_1.z = 267.615
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 285.336
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.route_id = 700500039
|
|
L4_1.area_id = 210
|
|
L3_1[21014] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21016
|
|
L4_1.gadget_id = 70330144
|
|
L5_1 = {}
|
|
L5_1.x = -190.055
|
|
L5_1.y = 271.978
|
|
L5_1.z = 266.045
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 285.336
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.start_route = false
|
|
L4_1.area_id = 210
|
|
L3_1[21016] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21021
|
|
L4_1.gadget_id = 70330187
|
|
L5_1 = {}
|
|
L5_1.x = -214.5
|
|
L5_1.y = 273.272
|
|
L5_1.z = 266.222
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 195.254
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.start_route = false
|
|
L4_1.is_use_point_array = true
|
|
L4_1.area_id = 210
|
|
L3_1[21021] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21022
|
|
L4_1.gadget_id = 70330177
|
|
L5_1 = {}
|
|
L5_1.x = -240.882
|
|
L5_1.y = 281.367
|
|
L5_1.z = 273.486
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 15.493
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.start_route = false
|
|
L4_1.area_id = 210
|
|
L3_1[21022] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21025
|
|
L4_1.gadget_id = 70330144
|
|
L5_1 = {}
|
|
L5_1.x = -221.756
|
|
L5_1.y = 281.841
|
|
L5_1.z = 239.801
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 285.336
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.route_id = 700500040
|
|
L4_1.area_id = 210
|
|
L3_1[21025] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21028
|
|
L4_1.gadget_id = 70330187
|
|
L5_1 = {}
|
|
L5_1.x = -199.15
|
|
L5_1.y = 283.2
|
|
L5_1.z = 233.516
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 194.876
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.start_route = false
|
|
L4_1.is_use_point_array = true
|
|
L4_1.area_id = 210
|
|
L3_1[21028] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21029
|
|
L4_1.gadget_id = 70330177
|
|
L5_1 = {}
|
|
L5_1.x = -206.215
|
|
L5_1.y = 291.926
|
|
L5_1.z = 207.176
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 285.336
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.start_route = false
|
|
L4_1.area_id = 210
|
|
L3_1[21029] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21030
|
|
L4_1.gadget_id = 70211160
|
|
L5_1 = {}
|
|
L5_1.x = -206.248
|
|
L5_1.y = 294.605
|
|
L5_1.z = 207.244
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 15.096
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 16
|
|
L4_1.drop_tag = "\230\184\138\228\184\139\229\174\171\230\180\187\229\138\168\228\189\142\231\186\167\231\168\187\229\166\187"
|
|
L4_1.isOneoff = true
|
|
L4_1.persistent = true
|
|
L4_1.autopick = true
|
|
L4_1.area_id = 210
|
|
L3_1[21030] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21031
|
|
L4_1.gadget_id = 70330144
|
|
L5_1 = {}
|
|
L5_1.x = -172.67
|
|
L5_1.y = 291.735
|
|
L5_1.z = 226.466
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 285.336
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.start_route = false
|
|
L4_1.area_id = 210
|
|
L3_1[21031] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21055
|
|
L4_1.gadget_id = 70330191
|
|
L5_1 = {}
|
|
L5_1.x = -146.451
|
|
L5_1.y = 307.134
|
|
L5_1.z = 235.954
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 48.399
|
|
L5_1.y = 36.107
|
|
L5_1.z = 317.409
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.area_id = 210
|
|
L3_1[21055] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21056
|
|
L4_1.gadget_id = 70330191
|
|
L5_1 = {}
|
|
L5_1.x = -180.624
|
|
L5_1.y = 310.303
|
|
L5_1.z = 236.847
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 303.045
|
|
L5_1.y = 44.056
|
|
L5_1.z = 227.639
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.area_id = 210
|
|
L3_1[21056] = L4_1
|
|
gadgets = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 21005
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 5
|
|
L5_1 = {}
|
|
L5_1.x = -162.782
|
|
L5_1.y = 296.406
|
|
L5_1.z = 236.298
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 210
|
|
L3_1[21005] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21009
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 2
|
|
L5_1 = {}
|
|
L5_1.x = -169.776
|
|
L5_1.y = 229.776
|
|
L5_1.z = 229.607
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 210
|
|
L3_1[21009] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21011
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 2
|
|
L5_1 = {}
|
|
L5_1.x = -172.89
|
|
L5_1.y = 295.504
|
|
L5_1.z = 226.38
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 210
|
|
L3_1[21011] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21012
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 1
|
|
L5_1 = {}
|
|
L5_1.x = -214.502
|
|
L5_1.y = 274.536
|
|
L5_1.z = 266.208
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 210
|
|
L3_1[21012] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 21013
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 1
|
|
L5_1 = {}
|
|
L5_1.x = -199.144
|
|
L5_1.y = 284.447
|
|
L5_1.z = 233.482
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 210
|
|
L3_1[21013] = L4_1
|
|
regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 1021005
|
|
L4_1.name = "ENTER_REGION_21005"
|
|
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_21005"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_21005"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1021008
|
|
L5_1.name = "GADGET_STATE_CHANGE_21008"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_21008"
|
|
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_21008"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1021009
|
|
L6_1.name = "ENTER_REGION_21009"
|
|
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_21009"
|
|
L6_1.action = "action_EVENT_ENTER_REGION_21009"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1021011
|
|
L7_1.name = "ENTER_REGION_21011"
|
|
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_21011"
|
|
L7_1.action = "action_EVENT_ENTER_REGION_21011"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1021012
|
|
L8_1.name = "ENTER_REGION_21012"
|
|
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_21012"
|
|
L8_1.action = "action_EVENT_ENTER_REGION_21012"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1021013
|
|
L9_1.name = "ENTER_REGION_21013"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_ENTER_REGION
|
|
L9_1.event = L10_1
|
|
L9_1.source = ""
|
|
L9_1.condition = "condition_EVENT_ENTER_REGION_21013"
|
|
L9_1.action = "action_EVENT_ENTER_REGION_21013"
|
|
L9_1.trigger_count = 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
|
|
triggers = L3_1
|
|
L3_1 = {}
|
|
variables = L3_1
|
|
L3_1 = {}
|
|
L3_1.suite = 3
|
|
L3_1.end_suite = 4
|
|
L3_1.rand_suite = false
|
|
init_config = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 21001
|
|
L7_1 = 21002
|
|
L8_1 = 21003
|
|
L9_1 = 21004
|
|
L10_1 = 21006
|
|
L11_1 = 21007
|
|
L12_1 = 21010
|
|
L13_1 = 21014
|
|
L14_1 = 21016
|
|
L15_1 = 21021
|
|
L16_1 = 21022
|
|
L17_1 = 21025
|
|
L18_1 = 21028
|
|
L19_1 = 21029
|
|
L20_1 = 21030
|
|
L21_1 = 21031
|
|
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
|
|
L5_1[10] = L15_1
|
|
L5_1[11] = L16_1
|
|
L5_1[12] = L17_1
|
|
L5_1[13] = L18_1
|
|
L5_1[14] = L19_1
|
|
L5_1[15] = L20_1
|
|
L5_1[16] = L21_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 21005
|
|
L7_1 = 21009
|
|
L8_1 = 21011
|
|
L9_1 = 21012
|
|
L10_1 = 21013
|
|
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.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "ENTER_REGION_21005"
|
|
L7_1 = "GADGET_STATE_CHANGE_21008"
|
|
L8_1 = "ENTER_REGION_21009"
|
|
L9_1 = "ENTER_REGION_21011"
|
|
L10_1 = "ENTER_REGION_21012"
|
|
L11_1 = "ENTER_REGION_21013"
|
|
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
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 21055
|
|
L8_1 = 21056
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_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 = {}
|
|
L6_1.triggers = L7_1
|
|
L6_1.rand_weight = 100
|
|
L7_1 = {}
|
|
L8_1 = {}
|
|
L7_1.monsters = L8_1
|
|
L8_1 = {}
|
|
L9_1 = 21001
|
|
L10_1 = 21002
|
|
L11_1 = 21003
|
|
L12_1 = 21004
|
|
L13_1 = 21006
|
|
L14_1 = 21007
|
|
L15_1 = 21010
|
|
L16_1 = 21014
|
|
L17_1 = 21016
|
|
L18_1 = 21021
|
|
L19_1 = 21022
|
|
L20_1 = 21025
|
|
L21_1 = 21028
|
|
L22_1 = 21029
|
|
L23_1 = 21030
|
|
L24_1 = 21031
|
|
L25_1 = 21055
|
|
L26_1 = 21056
|
|
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
|
|
L8_1[10] = L18_1
|
|
L8_1[11] = L19_1
|
|
L8_1[12] = L20_1
|
|
L8_1[13] = L21_1
|
|
L8_1[14] = L22_1
|
|
L8_1[15] = L23_1
|
|
L8_1[16] = L24_1
|
|
L8_1[17] = L25_1
|
|
L8_1[18] = L26_1
|
|
L7_1.gadgets = L8_1
|
|
L8_1 = {}
|
|
L9_1 = 21009
|
|
L10_1 = 21011
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L7_1.regions = L8_1
|
|
L8_1 = {}
|
|
L9_1 = "ENTER_REGION_21009"
|
|
L10_1 = "ENTER_REGION_21011"
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L7_1.triggers = L8_1
|
|
L7_1.rand_weight = 100
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
suites = 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 ~= 21005 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_21005 = L3_1
|
|
function L3_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 = "400512001"
|
|
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_21005 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 21002 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
L3_2 = A1_2.param3
|
|
if L2_2 == L3_2 then
|
|
goto lbl_16
|
|
end
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_16::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_21008 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 21001
|
|
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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 177005021
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = {}
|
|
L2_2.x = -162.3586
|
|
L2_2.y = 302.7277
|
|
L2_2.z = 236.3788
|
|
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 = 3
|
|
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.AddQuestProgress
|
|
L5_2 = A0_2
|
|
L6_2 = "400510801"
|
|
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 : add_quest_progress"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.GoToGroupSuite
|
|
L5_2 = A0_2
|
|
L6_2 = 177005021
|
|
L7_2 = 4
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : goto_groupSuite"
|
|
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_21008 = 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 ~= 21009 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_21009 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = TeleportAction
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.pt1
|
|
L5_2 = {}
|
|
L6_2 = 1
|
|
L7_2 = 2
|
|
L8_2 = 3
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L5_2[3] = L8_2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_21009 = 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 ~= 21011 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_21011 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
|
|
L2_2 = TeleportAction
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.pt2
|
|
L5_2 = {}
|
|
L6_2 = 1
|
|
L7_2 = 2
|
|
L8_2 = 3
|
|
L9_2 = 4
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L5_2[3] = L8_2
|
|
L5_2[4] = L9_2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_21011 = 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 ~= 21012 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_21012 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AssignPlayerShowTemplateReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 162
|
|
L5_2 = {}
|
|
L6_2 = {}
|
|
L5_2.param_uid_vec = L6_2
|
|
L6_2 = {}
|
|
L5_2.param_vec = L6_2
|
|
L6_2 = {}
|
|
L7_2 = A0_2.uid
|
|
L6_2[1] = L7_2
|
|
L5_2.uid_vec = L6_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_21012 = 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 ~= 21013 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_21013 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AssignPlayerShowTemplateReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 162
|
|
L5_2 = {}
|
|
L6_2 = {}
|
|
L5_2.param_uid_vec = L6_2
|
|
L6_2 = {}
|
|
L5_2.param_vec = L6_2
|
|
L6_2 = {}
|
|
L7_2 = A0_2.uid
|
|
L6_2[1] = L7_2
|
|
L5_2.uid_vec = L6_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_21013 = L3_1
|
|
L3_1 = require
|
|
L4_1 = "V2_5/DarkStair"
|
|
L3_1(L4_1)
|