Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133217308.lua
2022-04-29 16:40:51 +02:00

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 = 133217308
L1_1 = {}
L1_1.gadget_Teleport_1 = 308001
L1_1.gadget_Teleport_2 = 308002
L1_1.gadget_Teleport_3 = 0
L1_1.gadget_Teleport_4 = 0
L1_1.pointarray_1 = 321700036
L1_1.pointarray_2 = 0
L1_1.pointarray_3 = 0
L1_1.pointarray_4 = 0
L1_1.gadget_TeleportOperator_1 = 308005
L1_1.gadget_TeleportOperator_2 = 308006
L1_1.gadget_TeleportOperator_3 = 0
L1_1.gadget_TeleportOperator_4 = 0
L1_1.group_ID = 133217308
L1_1.pointarray_Rotate = 321700039
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 = 308001
L3_1.gadget_id = 70950095
L4_1 = {}
L4_1.x = -4466.366
L4_1.y = 202.406
L4_1.z = -4032.861
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 155.0
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 = 14
L4_1 = {}
L4_1.config_id = 308002
L4_1.gadget_id = 70950095
L5_1 = {}
L5_1.x = -4405.078
L5_1.y = 202.811
L5_1.z = -4206.547
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 335.0
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 = 14
L5_1 = {}
L5_1.config_id = 308005
L5_1.gadget_id = 70950145
L6_1 = {}
L6_1.x = -4465.302
L6_1.y = 90.0
L6_1.z = -4056.813
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 2
L5_1.persistent = true
L5_1.area_id = 14
L6_1 = {}
L6_1.config_id = 308006
L6_1.gadget_id = 70950145
L7_1 = {}
L7_1.x = -4465.302
L7_1.y = 90.0
L7_1.z = -4056.813
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 2
L6_1.persistent = true
L6_1.area_id = 14
L7_1 = {}
L7_1.config_id = 308009
L7_1.gadget_id = 70330114
L8_1 = {}
L8_1.x = -4466.45
L8_1.y = 202.503
L8_1.z = -4032.619
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 156.856
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 2
L7_1.area_id = 14
L8_1 = {}
L8_1.config_id = 308010
L8_1.gadget_id = 70330114
L9_1 = {}
L9_1.x = -4405.049
L9_1.y = 203.335
L9_1.z = -4206.187
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 340.26
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 2
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 = 308015
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 1.5
L4_1 = {}
L4_1.x = -4466.48
L4_1.y = 202.82
L4_1.z = -4032.631
L3_1.pos = L4_1
L3_1.area_id = 14
L4_1 = {}
L4_1.config_id = 308016
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 1.5
L5_1 = {}
L5_1.x = -4404.886
L5_1.y = 202.822
L5_1.z = -4206.725
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 = 1308015
L3_1.name = "ENTER_REGION_308015"
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_308015"
L3_1.action = "action_EVENT_ENTER_REGION_308015"
L3_1.trigger_count = 0
L3_1.forbid_guest = false
L4_1 = {}
L4_1.config_id = 1308016
L4_1.name = "ENTER_REGION_308016"
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_308016"
L4_1.action = "action_EVENT_ENTER_REGION_308016"
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 = 308001
L6_1 = 308002
L7_1 = 308005
L8_1 = 308006
L9_1 = 308009
L10_1 = 308010
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 = 308015
L6_1 = 308016
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_308015"
L6_1 = "ENTER_REGION_308016"
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 ~= 308015 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_308015 = 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_308015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if L2_2 ~= 308016 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_308016 = 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_308016 = L2_1
L2_1 = require
L3_1 = "BlackBoxPlay/TeleportHighway"
L2_1(L3_1)