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 = 133223198
|
|
L1_1 = {}
|
|
L1_1.gadget_Teleport_1 = 198001
|
|
L1_1.gadget_Teleport_2 = 198003
|
|
L1_1.gadget_Teleport_3 = 0
|
|
L1_1.gadget_Teleport_4 = 0
|
|
L1_1.pointarray_1 = 322300035
|
|
L1_1.pointarray_2 = 0
|
|
L1_1.pointarray_3 = 0
|
|
L1_1.pointarray_4 = 0
|
|
L1_1.gadget_TeleportOperator_1 = 198005
|
|
L1_1.gadget_TeleportOperator_2 = 198007
|
|
L1_1.gadget_TeleportOperator_3 = 0
|
|
L1_1.gadget_TeleportOperator_4 = 0
|
|
L1_1.group_ID = 133223198
|
|
L1_1.pointarray_Rotate = 322300038
|
|
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 = 198001
|
|
L3_1.gadget_id = 70950095
|
|
L4_1 = {}
|
|
L4_1.x = -6101.766
|
|
L4_1.y = 218.711
|
|
L4_1.z = -2453.745
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.007
|
|
L4_1.y = 136.564
|
|
L4_1.z = 0.116
|
|
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 = 198003
|
|
L4_1.gadget_id = 70950095
|
|
L5_1 = {}
|
|
L5_1.x = -6052.099
|
|
L5_1.y = 229.218
|
|
L5_1.z = -2505.207
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 138.562
|
|
L5_1.z = 0.0
|
|
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 = 198005
|
|
L5_1.gadget_id = 70950145
|
|
L6_1 = {}
|
|
L6_1.x = -6101.285
|
|
L6_1.y = 218.346
|
|
L6_1.z = -2454.01
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 135.816
|
|
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 = 198007
|
|
L6_1.gadget_id = 70950145
|
|
L7_1 = {}
|
|
L7_1.x = -6052.532
|
|
L7_1.y = 229.299
|
|
L7_1.z = -2504.784
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 222.667
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 2
|
|
L6_1.persistent = true
|
|
L6_1.area_id = 18
|
|
L7_1 = {}
|
|
L7_1.config_id = 198009
|
|
L7_1.gadget_id = 70330114
|
|
L8_1 = {}
|
|
L8_1.x = -6100.231
|
|
L8_1.y = 218.73
|
|
L8_1.z = -2455.797
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 341.611
|
|
L8_1.y = 133.439
|
|
L8_1.z = 11.689
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 2
|
|
L7_1.area_id = 18
|
|
L8_1 = {}
|
|
L8_1.config_id = 198012
|
|
L8_1.gadget_id = 70330114
|
|
L9_1 = {}
|
|
L9_1.x = -6054.006
|
|
L9_1.y = 229.41
|
|
L9_1.z = -2502.993
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 313.617
|
|
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 = 198015
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 1.5
|
|
L4_1 = {}
|
|
L4_1.x = -6101.979
|
|
L4_1.y = 219.677
|
|
L4_1.z = -2453.604
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 18
|
|
L4_1 = {}
|
|
L4_1.config_id = 198017
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 1.5
|
|
L5_1 = {}
|
|
L5_1.x = -6052.537
|
|
L5_1.y = 229.505
|
|
L5_1.z = -2504.964
|
|
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 = 1198015
|
|
L3_1.name = "ENTER_REGION_198015"
|
|
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_198015"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_198015"
|
|
L3_1.trigger_count = 0
|
|
L3_1.forbid_guest = false
|
|
L4_1 = {}
|
|
L4_1.config_id = 1198017
|
|
L4_1.name = "ENTER_REGION_198017"
|
|
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_198017"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_198017"
|
|
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 = 198001
|
|
L6_1 = 198003
|
|
L7_1 = 198005
|
|
L8_1 = 198007
|
|
L9_1 = 198009
|
|
L10_1 = 198012
|
|
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 = 198015
|
|
L6_1 = 198017
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ENTER_REGION_198015"
|
|
L6_1 = "ENTER_REGION_198017"
|
|
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 ~= 198015 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_198015 = 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_198015 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 198017 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_198017 = 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_198017 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "BlackBoxPlay/TeleportHighway"
|
|
L2_1(L3_1)
|