mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
980 lines
18 KiB
Lua
980 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 177005020
|
|
L1_1 = {}
|
|
L1_1.pt1 = 700500029
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = 0
|
|
L5_1 = 202
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1[20004] = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 0
|
|
L5_1 = 201
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1[20013] = 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 = 20001
|
|
L4_1.gadget_id = 70330176
|
|
L5_1 = {}
|
|
L5_1.x = 389.336
|
|
L5_1.y = 250.722
|
|
L5_1.z = -263.713
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 32.984
|
|
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[20001] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20002
|
|
L4_1.gadget_id = 70330155
|
|
L5_1 = {}
|
|
L5_1.x = 389.403
|
|
L5_1.y = 254.872
|
|
L5_1.z = -263.945
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 168.964
|
|
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[20002] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20003
|
|
L4_1.gadget_id = 70211160
|
|
L5_1 = {}
|
|
L5_1.x = 401.506
|
|
L5_1.y = 230.19
|
|
L5_1.z = -296.364
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 326.122
|
|
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[20003] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20004
|
|
L4_1.gadget_id = 70330187
|
|
L5_1 = {}
|
|
L5_1.x = 386.905
|
|
L5_1.y = 218.836
|
|
L5_1.z = -273.233
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 147.651
|
|
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[20004] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20006
|
|
L4_1.gadget_id = 70690011
|
|
L5_1 = {}
|
|
L5_1.x = 396.096
|
|
L5_1.y = 187.951
|
|
L5_1.z = -275.349
|
|
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 = 36
|
|
L4_1.area_id = 210
|
|
L3_1[20006] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20007
|
|
L4_1.gadget_id = 70330144
|
|
L5_1 = {}
|
|
L5_1.x = 389.903
|
|
L5_1.y = 215.321
|
|
L5_1.z = -265.099
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 328.028
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.route_id = 700500042
|
|
L4_1.area_id = 210
|
|
L3_1[20007] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20009
|
|
L4_1.gadget_id = 70290275
|
|
L5_1 = {}
|
|
L5_1.x = 363.828
|
|
L5_1.y = 231.394
|
|
L5_1.z = -287.971
|
|
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 = 36
|
|
L4_1.is_use_point_array = true
|
|
L4_1.area_id = 210
|
|
L3_1[20009] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20010
|
|
L4_1.gadget_id = 70330144
|
|
L5_1 = {}
|
|
L5_1.x = 383.665
|
|
L5_1.y = 216.127
|
|
L5_1.z = -268.38
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 328.028
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.area_id = 210
|
|
L3_1[20010] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20011
|
|
L4_1.gadget_id = 70330177
|
|
L5_1 = {}
|
|
L5_1.x = 401.596
|
|
L5_1.y = 227.506
|
|
L5_1.z = -296.345
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 326.515
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.area_id = 210
|
|
L3_1[20011] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20012
|
|
L4_1.gadget_id = 70330144
|
|
L5_1 = {}
|
|
L5_1.x = 363.821
|
|
L5_1.y = 227.539
|
|
L5_1.z = -287.987
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 326.515
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.area_id = 210
|
|
L3_1[20012] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20013
|
|
L4_1.gadget_id = 70330187
|
|
L5_1 = {}
|
|
L5_1.x = 366.673
|
|
L5_1.y = 242.14
|
|
L5_1.z = -248.356
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 214.474
|
|
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[20013] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20019
|
|
L4_1.gadget_id = 70900039
|
|
L5_1 = {}
|
|
L5_1.x = 396.096
|
|
L5_1.y = 187.951
|
|
L5_1.z = -275.349
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 322.078
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.area_id = 210
|
|
L3_1[20019] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20022
|
|
L4_1.gadget_id = 70330177
|
|
L5_1 = {}
|
|
L5_1.x = 351.262
|
|
L5_1.y = 250.722
|
|
L5_1.z = -270.857
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 33.566
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.area_id = 210
|
|
L3_1[20022] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20023
|
|
L4_1.gadget_id = 70211160
|
|
L5_1 = {}
|
|
L5_1.x = 351.308
|
|
L5_1.y = 253.407
|
|
L5_1.z = -270.916
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 32.949
|
|
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[20023] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20036
|
|
L4_1.gadget_id = 70330191
|
|
L5_1 = {}
|
|
L5_1.x = 384.27
|
|
L5_1.y = 262.128
|
|
L5_1.z = -244.451
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 65.666
|
|
L5_1.y = 325.143
|
|
L5_1.z = 341.963
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.area_id = 210
|
|
L3_1[20036] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20044
|
|
L4_1.gadget_id = 70330191
|
|
L5_1 = {}
|
|
L5_1.x = 392.684
|
|
L5_1.y = 260.971
|
|
L5_1.z = -283.42
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 296.687
|
|
L5_1.y = 44.117
|
|
L5_1.z = 135.206
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.area_id = 210
|
|
L3_1[20044] = L4_1
|
|
gadgets = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 20005
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 5
|
|
L5_1 = {}
|
|
L5_1.x = 389.336
|
|
L5_1.y = 250.722
|
|
L5_1.z = -263.713
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 210
|
|
L3_1[20005] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20014
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 2
|
|
L5_1 = {}
|
|
L5_1.x = 363.828
|
|
L5_1.y = 231.394
|
|
L5_1.z = -287.971
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 210
|
|
L3_1[20014] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20015
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 1
|
|
L5_1 = {}
|
|
L5_1.x = 386.896
|
|
L5_1.y = 220.1
|
|
L5_1.z = -273.247
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 210
|
|
L3_1[20015] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20016
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 1
|
|
L5_1 = {}
|
|
L5_1.x = 366.655
|
|
L5_1.y = 243.389
|
|
L5_1.z = -248.405
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 210
|
|
L3_1[20016] = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 20043
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 3
|
|
L5_1 = {}
|
|
L5_1.x = 389.895
|
|
L5_1.y = 217.39
|
|
L5_1.z = -265.047
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 210
|
|
L3_1[20043] = L4_1
|
|
regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 1020005
|
|
L4_1.name = "ENTER_REGION_20005"
|
|
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_20005"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_20005"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1020008
|
|
L5_1.name = "GADGET_STATE_CHANGE_20008"
|
|
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_20008"
|
|
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_20008"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1020014
|
|
L6_1.name = "ENTER_REGION_20014"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_ENTER_REGION
|
|
L6_1.event = L7_1
|
|
L6_1.source = "1"
|
|
L6_1.condition = "condition_EVENT_ENTER_REGION_20014"
|
|
L6_1.action = "action_EVENT_ENTER_REGION_20014"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1020015
|
|
L7_1.name = "ENTER_REGION_20015"
|
|
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_20015"
|
|
L7_1.action = "action_EVENT_ENTER_REGION_20015"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1020016
|
|
L8_1.name = "ENTER_REGION_20016"
|
|
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_20016"
|
|
L8_1.action = "action_EVENT_ENTER_REGION_20016"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1020041
|
|
L9_1.name = "GADGET_STATE_CHANGE_20041"
|
|
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_20041"
|
|
L9_1.action = "action_EVENT_GADGET_STATE_CHANGE_20041"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1020043
|
|
L10_1.name = "ENTER_REGION_20043"
|
|
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_20043"
|
|
L10_1.action = "action_EVENT_ENTER_REGION_20043"
|
|
L10_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
|
|
L3_1[7] = L10_1
|
|
triggers = L3_1
|
|
L3_1 = {}
|
|
variables = L3_1
|
|
L3_1 = {}
|
|
L3_1.suite = 4
|
|
L3_1.end_suite = 5
|
|
L3_1.rand_suite = false
|
|
init_config = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 20001
|
|
L7_1 = 20002
|
|
L8_1 = 20007
|
|
L9_1 = 20019
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L5_1[4] = L9_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 20005
|
|
L7_1 = 20043
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "ENTER_REGION_20005"
|
|
L7_1 = "GADGET_STATE_CHANGE_20008"
|
|
L8_1 = "GADGET_STATE_CHANGE_20041"
|
|
L9_1 = "ENTER_REGION_20043"
|
|
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 = 20003
|
|
L8_1 = 20004
|
|
L9_1 = 20009
|
|
L10_1 = 20010
|
|
L11_1 = 20011
|
|
L12_1 = 20012
|
|
L13_1 = 20013
|
|
L14_1 = 20022
|
|
L15_1 = 20023
|
|
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
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 20014
|
|
L8_1 = 20015
|
|
L9_1 = 20016
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L6_1[3] = L9_1
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L7_1 = "ENTER_REGION_20014"
|
|
L8_1 = "ENTER_REGION_20015"
|
|
L9_1 = "ENTER_REGION_20016"
|
|
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 = {}
|
|
L6_1.monsters = L7_1
|
|
L7_1 = {}
|
|
L8_1 = 20036
|
|
L9_1 = 20044
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_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 = 20001
|
|
L11_1 = 20002
|
|
L12_1 = 20007
|
|
L13_1 = 20019
|
|
L14_1 = 20036
|
|
L15_1 = 20044
|
|
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
|
|
L8_1.gadgets = L9_1
|
|
L9_1 = {}
|
|
L10_1 = 20043
|
|
L9_1[1] = L10_1
|
|
L8_1.regions = L9_1
|
|
L9_1 = {}
|
|
L10_1 = "GADGET_STATE_CHANGE_20041"
|
|
L11_1 = "ENTER_REGION_20043"
|
|
L9_1[1] = L10_1
|
|
L9_1[2] = L11_1
|
|
L8_1.triggers = L9_1
|
|
L8_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
|
|
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 ~= 20005 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_20005 = 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_20005 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 20002 == 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_20008 = 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 = 20001
|
|
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 = 177005020
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = {}
|
|
L2_2.x = 389.4032
|
|
L2_2.y = 257.8723
|
|
L2_2.z = -263.713
|
|
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 = "400510701"
|
|
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 = 177005020
|
|
L7_2 = 5
|
|
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_20008 = 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 ~= 20014 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_20014 = 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.pt1
|
|
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_20014 = 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 ~= 20015 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_20015 = 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_20015 = 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 ~= 20016 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_20016 = 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_20016 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 20019 == 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_20041 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 20006
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_20041 = 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 ~= 20043 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_20043 = 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 = 177005020
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_20043 = L3_1
|
|
L3_1 = require
|
|
L4_1 = "V2_5/DarkStair"
|
|
L3_1(L4_1)
|