mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
297 lines
5.5 KiB
Lua
297 lines
5.5 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133217337
|
|
L1_1 = {}
|
|
L1_1.gadget_Teleport_1 = 337001
|
|
L1_1.gadget_Teleport_2 = 337002
|
|
L1_1.gadget_Teleport_3 = 0
|
|
L1_1.gadget_Teleport_4 = 0
|
|
L1_1.pointarray_1 = 321700055
|
|
L1_1.pointarray_2 = 0
|
|
L1_1.gadget_TeleportOperator_1 = 337003
|
|
L1_1.gadget_TeleportOperator_2 = 337004
|
|
L1_1.gadget_TeleportOperator_3 = 0
|
|
L1_1.group_ID = 133217337
|
|
L1_1.pointarray_Rotate = 321700044
|
|
L1_1.rotStep = 180
|
|
L1_1.gadget_TeleportOperator_4 = 0
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = L1_1.gadget_Teleport_1
|
|
L5_1 = L1_1.gadget_Teleport_2
|
|
L6_1 = L1_1.pointarray_1
|
|
L7_1 = 10
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L2_1[1] = L3_1
|
|
connectInfo = L2_1
|
|
L2_1 = {}
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 337001
|
|
L3_1.gadget_id = 70950095
|
|
L4_1 = {}
|
|
L4_1.x = -4082.025
|
|
L4_1.y = 205.819
|
|
L4_1.z = -3480.254
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 47.951
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.persistent = true
|
|
L3_1.is_use_point_array = true
|
|
L3_1.area_id = 12
|
|
L4_1 = {}
|
|
L4_1.config_id = 337002
|
|
L4_1.gadget_id = 70950095
|
|
L5_1 = {}
|
|
L5_1.x = -4259.375
|
|
L5_1.y = 200.504
|
|
L5_1.z = -3644.813
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 48.922
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L4_1.persistent = true
|
|
L4_1.is_use_point_array = true
|
|
L4_1.area_id = 14
|
|
L5_1 = {}
|
|
L5_1.config_id = 337003
|
|
L5_1.gadget_id = 70950145
|
|
L6_1 = {}
|
|
L6_1.x = -4081.996
|
|
L6_1.y = 205.333
|
|
L6_1.z = -3480.237
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 47.951
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 30
|
|
L5_1.persistent = true
|
|
L5_1.area_id = 12
|
|
L6_1 = {}
|
|
L6_1.config_id = 337004
|
|
L6_1.gadget_id = 70950145
|
|
L7_1 = {}
|
|
L7_1.x = -4260.08
|
|
L7_1.y = 141.639
|
|
L7_1.z = -3645.353
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 52.995
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L6_1.persistent = true
|
|
L6_1.area_id = 14
|
|
L7_1 = {}
|
|
L7_1.config_id = 337005
|
|
L7_1.gadget_id = 70330114
|
|
L8_1 = {}
|
|
L8_1.x = -4082.685
|
|
L8_1.y = 206.279
|
|
L8_1.z = -3480.446
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.066
|
|
L8_1.y = 227.354
|
|
L8_1.z = 1.36
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 30
|
|
L7_1.area_id = 12
|
|
L8_1 = {}
|
|
L8_1.config_id = 337006
|
|
L8_1.gadget_id = 70330114
|
|
L9_1 = {}
|
|
L9_1.x = -4259.928
|
|
L9_1.y = 200.504
|
|
L9_1.z = -3645.341
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 43.747
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 30
|
|
L8_1.area_id = 14
|
|
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
|
|
L2_1[6] = L8_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 337007
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 1.5
|
|
L4_1 = {}
|
|
L4_1.x = -4083.3
|
|
L4_1.y = 205.812
|
|
L4_1.z = -3481.171
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 12
|
|
L4_1 = {}
|
|
L4_1.config_id = 337008
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 1.5
|
|
L5_1 = {}
|
|
L5_1.x = -4259.558
|
|
L5_1.y = 201.118
|
|
L5_1.z = -3645.007
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 14
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1337007
|
|
L3_1.name = "ENTER_REGION_337007"
|
|
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_337007"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_337007"
|
|
L3_1.trigger_count = 0
|
|
L3_1.forbid_guest = false
|
|
L4_1 = {}
|
|
L4_1.config_id = 1337008
|
|
L4_1.name = "ENTER_REGION_337008"
|
|
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_337008"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_337008"
|
|
L4_1.trigger_count = 0
|
|
L4_1.forbid_guest = false
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 1
|
|
L2_1.end_suite = 0
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 337001
|
|
L6_1 = 337002
|
|
L7_1 = 337003
|
|
L8_1 = 337004
|
|
L9_1 = 337005
|
|
L10_1 = 337006
|
|
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
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 337007
|
|
L6_1 = 337008
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ENTER_REGION_337007"
|
|
L6_1 = "ENTER_REGION_337008"
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L2_1[1] = L3_1
|
|
suites = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 337007 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "gadget_Teleport_1_isActive"
|
|
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_337007 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = L1_1.gadget_Teleport_1
|
|
L3_2 = TeleportAction
|
|
L4_2 = A0_2
|
|
L5_2 = L2_2
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_337007 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 337008 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "gadget_Teleport_2_isActive"
|
|
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_337008 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = L1_1.gadget_Teleport_2
|
|
L3_2 = TeleportAction
|
|
L4_2 = A0_2
|
|
L5_2 = L2_2
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_337008 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "BlackBoxPlay/TeleportHighway"
|
|
L2_1(L3_1)
|