0
0
mirror of https://gitlab.com/YuukiPS/GC-Resources.git synced 2025-04-29 09:35:48 +00:00
GC-Resources/Resources/Scripts/Scene/42009/scene42009_group242009001.lua
Yuuki b09934e7b9 Revert "remove local in defs"
This reverts commit 7e0a645ef33da87ddd5c402c6a64180001c6b03d.
2023-11-23 23:27:47 +08:00

149 lines
10 KiB
Lua

-- 基础信息
local base_info = {
group_id = 242009001
}
-- Trigger变量
local defs = {
group_id = 242009001,
gear_group_id = 242009002,
route_guide_timer = 5,
max_escapable_monsters = 25,
trap_group_id = 242009013,
init_building_points = 750,
speed_down_gadget = 1041
}
-- DEFS_MISCS
trap_group={242009013}
tide_group_defs ={
[1] = {group = 242009003, delay = 30, next_group = 2, buff = {1,2,3},guide_routes={1,2},enter={1003,1001},exit={1004},enter_id={4,5},exit_id={6}},
[2] = {group = 242009004, delay = 30, next_group = 3, buff = {1,2,3},guide_routes={1,2},enter={1003,1001},exit={1004},enter_id={4,5},exit_id={6}},
[3] = {group = 242009005, delay = 30, next_group = 4, buff = {1,2,3},guide_routes={1,2},enter={1003,1001},exit={1004},enter_id={4,5},exit_id={6}},
[4] = {group = 242009006, delay = 30, next_group = 5, buff = {1,2,3},guide_routes={1,2},enter={1003,1001},exit={1004},enter_id={4,5},exit_id={6}},
[5] = {group = 242009007, delay = 30, next_group = 0, buff = {1,2,3},guide_routes={1,2},enter={1003,1001},exit={1004},enter_id={4,5},exit_id={6}},
}
routes_start_point={
[1]={start_point={x=34.46477,y=-7.699215,z=-92.27316},points={1,2,3,4,5,6,7,8}},
[2]={start_point={x=3.397061,y=-7.678518,z=-58.50145},points={1,2,3,4,5,6,7,8,9,10}},
}
guide_point_pool={1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
[1001] = { config_id = 1001, gadget_id = 70290050, pos = { x = 34.647, y = -4.501, z = -92.455 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1002] = { config_id = 1002, gadget_id = 70350176, pos = { x = 34.554, y = -3.994, z = 6.997 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1003] = { config_id = 1003, gadget_id = 70290050, pos = { x = 1.355, y = -3.614, z = -58.573 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
[1004] = { config_id = 1004, gadget_id = 70290051, pos = { x = 34.964, y = 0.008, z = 8.154 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
[1005] = { config_id = 1005, gadget_id = 70010006, pos = { x = 34.103, y = -7.687, z = -16.909 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1006] = { config_id = 1006, gadget_id = 70350159, pos = { x = 35.811, y = -7.696, z = -21.093 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1007] = { config_id = 1007, gadget_id = 70350159, pos = { x = 35.829, y = -7.706, z = -24.573 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1008] = { config_id = 1008, gadget_id = 70350159, pos = { x = 35.901, y = -7.707, z = -28.127 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1009] = { config_id = 1009, gadget_id = 70350159, pos = { x = 36.357, y = -7.704, z = -31.970 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1010] = { config_id = 1010, gadget_id = 70350159, pos = { x = 32.266, y = -7.703, z = -20.956 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1011] = { config_id = 1011, gadget_id = 70350159, pos = { x = 31.852, y = -7.707, z = -24.027 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1012] = { config_id = 1012, gadget_id = 70350159, pos = { x = 32.422, y = -7.695, z = -28.204 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1013] = { config_id = 1013, gadget_id = 70350159, pos = { x = 31.936, y = -7.707, z = -32.151 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1014] = { config_id = 1014, gadget_id = 70350159, pos = { x = 40.672, y = -7.703, z = -19.744 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1015] = { config_id = 1015, gadget_id = 70350159, pos = { x = 40.460, y = -7.706, z = -26.692 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1016] = { config_id = 1016, gadget_id = 70350159, pos = { x = 40.241, y = -7.707, z = -31.420 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1017] = { config_id = 1017, gadget_id = 70350159, pos = { x = 39.453, y = -7.707, z = -34.517 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1018] = { config_id = 1018, gadget_id = 70350159, pos = { x = 33.496, y = -7.705, z = -22.828 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1019] = { config_id = 1019, gadget_id = 70350159, pos = { x = 33.737, y = -7.695, z = -26.064 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1020] = { config_id = 1020, gadget_id = 70350159, pos = { x = 33.835, y = -7.707, z = -29.954 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1021] = { config_id = 1021, gadget_id = 70350159, pos = { x = 34.925, y = -7.706, z = -23.904 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1022] = { config_id = 1022, gadget_id = 70350159, pos = { x = 35.697, y = -7.707, z = -26.170 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1023] = { config_id = 1023, gadget_id = 70350159, pos = { x = 34.474, y = -7.707, z = -27.469 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1024] = { config_id = 1024, gadget_id = 70350159, pos = { x = 35.866, y = -7.707, z = -26.709 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1025] = { config_id = 1025, gadget_id = 70350159, pos = { x = 38.710, y = -7.707, z = -23.452 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1026] = { config_id = 1026, gadget_id = 70350159, pos = { x = 37.123, y = -7.707, z = -24.096 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1027] = { config_id = 1027, gadget_id = 70350159, pos = { x = 38.553, y = -7.707, z = -27.180 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1028] = { config_id = 1028, gadget_id = 70350159, pos = { x = 35.145, y = -7.707, z = -25.802 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1029] = { config_id = 1029, gadget_id = 70350159, pos = { x = 36.134, y = -7.706, z = -23.446 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1030] = { config_id = 1030, gadget_id = 70350159, pos = { x = 37.640, y = -7.705, z = -22.267 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1031] = { config_id = 1031, gadget_id = 70350159, pos = { x = 35.444, y = -7.707, z = -19.571 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1032] = { config_id = 1032, gadget_id = 70350159, pos = { x = 36.601, y = -7.694, z = -20.679 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1033] = { config_id = 1033, gadget_id = 70350159, pos = { x = 34.967, y = -7.701, z = -19.980 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1034] = { config_id = 1034, gadget_id = 70350159, pos = { x = 35.554, y = -7.706, z = -24.330 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1035] = { config_id = 1035, gadget_id = 70350159, pos = { x = 34.106, y = -7.701, z = -25.947 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1036] = { config_id = 1036, gadget_id = 70350159, pos = { x = 37.619, y = -7.707, z = -25.750 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1037] = { config_id = 1037, gadget_id = 70350159, pos = { x = 35.308, y = -7.706, z = -23.030 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1038] = { config_id = 1038, gadget_id = 70350159, pos = { x = 34.301, y = -7.704, z = -21.759 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1039] = { config_id = 1039, gadget_id = 70350159, pos = { x = 33.754, y = -7.707, z = -24.651 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1040] = { config_id = 1040, gadget_id = 70350159, pos = { x = 36.784, y = -7.705, z = -22.615 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
[1041] = { config_id = 1041, gadget_id = 70350166, pos = { x = 38.083, y = -3.996, z = 1.985 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1042] = { config_id = 1042, gadget_id = 70350176, pos = { x = 2.669, y = -7.699, z = -58.267 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1043] = { config_id = 1043, gadget_id = 70350176, pos = { x = 34.666, y = -7.700, z = -92.570 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 1002, 1005, 1041, 1042, 1043 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "TowerDefense_Challenge"