mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
299 lines
5.5 KiB
Lua
299 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 = 133223190
|
|
L1_1 = {}
|
|
L1_1.gadget_Teleport_1 = 190001
|
|
L1_1.gadget_Teleport_2 = 190002
|
|
L1_1.gadget_Teleport_3 = 0
|
|
L1_1.gadget_Teleport_4 = 0
|
|
L1_1.pointarray_1 = 322300030
|
|
L1_1.pointarray_2 = 0
|
|
L1_1.pointarray_3 = 0
|
|
L1_1.pointarray_4 = 0
|
|
L1_1.gadget_TeleportOperator_1 = 190005
|
|
L1_1.gadget_TeleportOperator_2 = 190006
|
|
L1_1.gadget_TeleportOperator_3 = 0
|
|
L1_1.gadget_TeleportOperator_4 = 0
|
|
L1_1.group_ID = 133223190
|
|
L1_1.pointarray_Rotate = 322300033
|
|
L1_1.rotStep = 180
|
|
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 = 190001
|
|
L3_1.gadget_id = 70950095
|
|
L4_1 = {}
|
|
L4_1.x = -6171.168
|
|
L4_1.y = 221.618
|
|
L4_1.z = -2434.611
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 5.902
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 2
|
|
L3_1.persistent = true
|
|
L3_1.is_use_point_array = true
|
|
L3_1.area_id = 18
|
|
L4_1 = {}
|
|
L4_1.config_id = 190002
|
|
L4_1.gadget_id = 70950095
|
|
L5_1 = {}
|
|
L5_1.x = -6171.563
|
|
L5_1.y = 200.538
|
|
L5_1.z = -2372.329
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 3.739
|
|
L5_1.y = 359.518
|
|
L5_1.z = 356.712
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 2
|
|
L4_1.persistent = true
|
|
L4_1.is_use_point_array = true
|
|
L4_1.area_id = 18
|
|
L5_1 = {}
|
|
L5_1.config_id = 190005
|
|
L5_1.gadget_id = 70950145
|
|
L6_1 = {}
|
|
L6_1.x = -6171.204
|
|
L6_1.y = 221.133
|
|
L6_1.z = -2434.594
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 278.724
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 2
|
|
L5_1.persistent = true
|
|
L5_1.area_id = 18
|
|
L6_1 = {}
|
|
L6_1.config_id = 190006
|
|
L6_1.gadget_id = 70950145
|
|
L7_1 = {}
|
|
L7_1.x = -6170.929
|
|
L7_1.y = 201.09
|
|
L7_1.z = -2372.333
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 357.114
|
|
L7_1.y = 275.537
|
|
L7_1.z = 355.943
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 2
|
|
L6_1.persistent = true
|
|
L6_1.area_id = 18
|
|
L7_1 = {}
|
|
L7_1.config_id = 190009
|
|
L7_1.gadget_id = 70330114
|
|
L8_1 = {}
|
|
L8_1.x = -6171.867
|
|
L8_1.y = 221.247
|
|
L8_1.z = -2432.352
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 9.164
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 2
|
|
L7_1.area_id = 18
|
|
L8_1 = {}
|
|
L8_1.config_id = 190010
|
|
L8_1.gadget_id = 70330114
|
|
L9_1 = {}
|
|
L9_1.x = -6171.066
|
|
L9_1.y = 201.629
|
|
L9_1.z = -2374.0
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 347.205
|
|
L9_1.y = 177.252
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 2
|
|
L8_1.area_id = 18
|
|
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 = 190015
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 1.5
|
|
L4_1 = {}
|
|
L4_1.x = -6170.911
|
|
L4_1.y = 221.935
|
|
L4_1.z = -2434.592
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 18
|
|
L4_1 = {}
|
|
L4_1.config_id = 190016
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 1.5
|
|
L5_1 = {}
|
|
L5_1.x = -6171.265
|
|
L5_1.y = 201.561
|
|
L5_1.z = -2372.265
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 18
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1190015
|
|
L3_1.name = "ENTER_REGION_190015"
|
|
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_190015"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_190015"
|
|
L3_1.trigger_count = 0
|
|
L3_1.forbid_guest = false
|
|
L4_1 = {}
|
|
L4_1.config_id = 1190016
|
|
L4_1.name = "ENTER_REGION_190016"
|
|
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_190016"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_190016"
|
|
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 = 190001
|
|
L6_1 = 190002
|
|
L7_1 = 190005
|
|
L8_1 = 190006
|
|
L9_1 = 190009
|
|
L10_1 = 190010
|
|
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 = 190015
|
|
L6_1 = 190016
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ENTER_REGION_190015"
|
|
L6_1 = "ENTER_REGION_190016"
|
|
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 ~= 190015 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_190015 = 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_190015 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 190016 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_190016 = 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_190016 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "BlackBoxPlay/TeleportHighway"
|
|
L2_1(L3_1)
|