145 lines
12 KiB
Lua
145 lines
12 KiB
Lua
--================================================================
|
|
--
|
|
-- 配置
|
|
--
|
|
--================================================================
|
|
|
|
-- 怪物
|
|
monsters = {
|
|
}
|
|
|
|
-- NPC
|
|
npcs = {
|
|
}
|
|
|
|
-- 装置
|
|
gadgets = {
|
|
{ config_id = 2361, gadget_id = 70290010, pos = { x = 1856.2, y = 194.5, z = -1544.3 }, rot = { x = 15.4, y = 0.0, z = 8.9 }, level = 1 },
|
|
{ config_id = 2362, gadget_id = 70500000, pos = { x = 1856.2, y = 194.5, z = -1544.3 }, rot = { x = 15.4, y = 0.0, z = 8.9 }, level = 1, point_type = 3006, owner = 2361 },
|
|
{ config_id = 2371, gadget_id = 70290010, pos = { x = 2141.9, y = 199.2, z = -1680.8 }, rot = { x = 354.9, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2372, gadget_id = 70500000, pos = { x = 2141.9, y = 199.2, z = -1680.8 }, rot = { x = 354.9, y = 0.0, z = 0.0 }, level = 1, point_type = 3006, owner = 2371 },
|
|
{ config_id = 2373, gadget_id = 70220009, pos = { x = 2135.4, y = 200.4, z = -1675.8 }, rot = { x = 0.0, y = 98.7, z = 0.0 }, level = 1 },
|
|
{ config_id = 2374, gadget_id = 70220009, pos = { x = 2135.7, y = 200.3, z = -1676.3 }, rot = { x = 0.0, y = 217.1, z = 0.0 }, level = 1 },
|
|
{ config_id = 2377, gadget_id = 70290009, pos = { x = 1688.6, y = 218.7, z = -1491.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2378, gadget_id = 70500000, pos = { x = 1688.6, y = 218.7, z = -1491.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2377 },
|
|
{ config_id = 2379, gadget_id = 70290009, pos = { x = 1687.8, y = 219.2, z = -1489.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2380, gadget_id = 70500000, pos = { x = 1687.8, y = 219.2, z = -1489.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2379 },
|
|
{ config_id = 2495, gadget_id = 70290008, pos = { x = 1682.4, y = 194.6, z = -1563.8 }, rot = { x = 0.0, y = 93.8, z = 0.0 }, level = 1 },
|
|
{ config_id = 2496, gadget_id = 70500000, pos = { x = 1682.4, y = 194.6, z = -1563.8 }, rot = { x = 0.0, y = 93.8, z = 0.0 }, level = 1, point_type = 3008, owner = 2495 },
|
|
{ config_id = 2497, gadget_id = 70290008, pos = { x = 1681.4, y = 194.6, z = -1564.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2498, gadget_id = 70500000, pos = { x = 1681.4, y = 194.6, z = -1564.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3008, owner = 2497 },
|
|
{ config_id = 2581, gadget_id = 70290009, pos = { x = 1561.6, y = 293.7, z = -1186.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2582, gadget_id = 70500000, pos = { x = 1561.6, y = 293.7, z = -1186.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2581 },
|
|
{ config_id = 2583, gadget_id = 70290009, pos = { x = 1558.8, y = 294.0, z = -1187.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2584, gadget_id = 70500000, pos = { x = 1558.8, y = 294.0, z = -1187.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2583 },
|
|
{ config_id = 2609, gadget_id = 70290009, pos = { x = 1522.4, y = 296.4, z = -1225.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2610, gadget_id = 70500000, pos = { x = 1522.4, y = 296.4, z = -1225.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2609 },
|
|
{ config_id = 2611, gadget_id = 70290009, pos = { x = 1524.9, y = 295.7, z = -1217.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2612, gadget_id = 70500000, pos = { x = 1524.9, y = 295.7, z = -1217.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2611 },
|
|
{ config_id = 2613, gadget_id = 70290009, pos = { x = 1534.4, y = 296.1, z = -1220.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2614, gadget_id = 70500000, pos = { x = 1534.4, y = 296.1, z = -1220.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2613 },
|
|
{ config_id = 2615, gadget_id = 70290009, pos = { x = 1463.3, y = 308.1, z = -1159.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2616, gadget_id = 70500000, pos = { x = 1463.3, y = 308.1, z = -1159.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2615 },
|
|
{ config_id = 2617, gadget_id = 70290009, pos = { x = 1449.8, y = 309.2, z = -1166.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2618, gadget_id = 70500000, pos = { x = 1449.8, y = 309.2, z = -1166.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2617 },
|
|
{ config_id = 2619, gadget_id = 70290009, pos = { x = 1466.0, y = 304.6, z = -1172.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2620, gadget_id = 70500000, pos = { x = 1466.0, y = 304.6, z = -1172.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2619 },
|
|
{ config_id = 2621, gadget_id = 70290009, pos = { x = 1458.3, y = 289.3, z = -1310.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2622, gadget_id = 70500000, pos = { x = 1458.3, y = 289.3, z = -1310.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2621 },
|
|
{ config_id = 2623, gadget_id = 70290009, pos = { x = 1458.4, y = 289.3, z = -1308.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2624, gadget_id = 70500000, pos = { x = 1458.4, y = 289.3, z = -1308.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2623 },
|
|
{ config_id = 2625, gadget_id = 70290009, pos = { x = 1739.5, y = 269.7, z = -1070.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2626, gadget_id = 70500000, pos = { x = 1739.5, y = 269.7, z = -1070.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2625 },
|
|
{ config_id = 2627, gadget_id = 70290009, pos = { x = 1738.0, y = 269.5, z = -1072.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2628, gadget_id = 70500000, pos = { x = 1738.0, y = 269.5, z = -1072.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2627 },
|
|
{ config_id = 2629, gadget_id = 70290009, pos = { x = 1747.7, y = 269.3, z = -1064.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2630, gadget_id = 70500000, pos = { x = 1747.7, y = 269.3, z = -1064.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2629 },
|
|
{ config_id = 2676, gadget_id = 70290009, pos = { x = 1480.2, y = 263.3, z = -1357.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2677, gadget_id = 70500000, pos = { x = 1480.2, y = 263.3, z = -1357.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2676 },
|
|
{ config_id = 2678, gadget_id = 70290009, pos = { x = 1480.4, y = 264.8, z = -1352.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2679, gadget_id = 70500000, pos = { x = 1480.4, y = 264.8, z = -1352.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2678 },
|
|
{ config_id = 2682, gadget_id = 70290008, pos = { x = 1978.6, y = 194.5, z = -1154.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2683, gadget_id = 70500000, pos = { x = 1978.6, y = 194.5, z = -1154.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3008, owner = 2682 },
|
|
{ config_id = 2711, gadget_id = 70290010, pos = { x = 1859.5, y = 195.2, z = -1544.6 }, rot = { x = 0.0, y = 8.1, z = 0.0 }, level = 1 },
|
|
{ config_id = 2712, gadget_id = 70500000, pos = { x = 1859.5, y = 195.2, z = -1544.6 }, rot = { x = 0.0, y = 8.1, z = 0.0 }, level = 1, point_type = 3006, owner = 2711 },
|
|
{ config_id = 2713, gadget_id = 70220010, pos = { x = 1693.8, y = 218.6, z = -1483.4 }, rot = { x = 0.0, y = 239.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2758, gadget_id = 70290009, pos = { x = 1596.0, y = 253.4, z = -1364.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2759, gadget_id = 70500000, pos = { x = 1596.0, y = 253.4, z = -1364.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2758 },
|
|
{ config_id = 2760, gadget_id = 70290009, pos = { x = 1606.5, y = 253.5, z = -1366.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2761, gadget_id = 70500000, pos = { x = 1606.5, y = 253.5, z = -1366.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2760 },
|
|
{ config_id = 2762, gadget_id = 70290009, pos = { x = 1588.1, y = 254.0, z = -1353.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2763, gadget_id = 70500000, pos = { x = 1588.1, y = 254.0, z = -1353.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2762 },
|
|
{ config_id = 2764, gadget_id = 70290009, pos = { x = 1665.6, y = 253.0, z = -1315.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2765, gadget_id = 70500000, pos = { x = 1665.6, y = 253.0, z = -1315.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2764 },
|
|
{ config_id = 2766, gadget_id = 70290009, pos = { x = 1655.4, y = 248.0, z = -1330.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 2767, gadget_id = 70500000, pos = { x = 1655.4, y = 248.0, z = -1330.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 2766 },
|
|
{ config_id = 3102, gadget_id = 70290011, pos = { x = 1456.1, y = 327.6, z = -2030.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
|
{ config_id = 3103, gadget_id = 70500000, pos = { x = 1456.1, y = 327.6, z = -2030.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3009, owner = 3102 },
|
|
{ config_id = 3104, gadget_id = 70290011, pos = { x = 1466.3, y = 327.1, z = -2022.3 }, rot = { x = 0.0, y = 318.7, z = 0.0 }, level = 1 },
|
|
{ config_id = 3105, gadget_id = 70500000, pos = { x = 1466.3, y = 327.1, z = -2022.3 }, rot = { x = 0.0, y = 318.7, z = 0.0 }, level = 1, point_type = 3009, owner = 3104 }
|
|
}
|
|
|
|
-- 区域
|
|
regions = {
|
|
{ config_id = 214, shape = RegionShape.SPHERE, radius = 5, pos = { x = 1700.4, y = 202.9, z = -1478.1 } }
|
|
}
|
|
|
|
-- 触发器
|
|
triggers = {
|
|
{ name = "CLIENT_EXECUTE_214", event = EventType.EVENT_CLIENT_EXECUTE, source = "ElementFlora", condition = "", action = "action_EVENT_CLIENT_EXECUTE_214", trigger_count = 0 }
|
|
}
|
|
|
|
-- 变量
|
|
variables = {
|
|
}
|
|
|
|
--================================================================
|
|
--
|
|
-- 初始化配置
|
|
--
|
|
--================================================================
|
|
|
|
-- 初始化时创建
|
|
init_config = {
|
|
suite = 1,
|
|
rand_suite = true,
|
|
npcs = { }
|
|
}
|
|
|
|
--================================================================
|
|
--
|
|
-- 小组配置
|
|
--
|
|
--================================================================
|
|
|
|
suites = {
|
|
{
|
|
-- suite_id = 0,
|
|
-- description = ,
|
|
monsters = { },
|
|
gadgets = { 2361, 2362, 2371, 2372, 2373, 2374, 2377, 2378, 2379, 2380, 2495, 2496, 2497, 2498, 2581, 2582, 2583, 2584, 2609, 2610, 2611, 2612, 2613, 2614, 2615, 2616, 2617, 2618, 2619, 2620, 2621, 2622, 2623, 2624, 2625, 2626, 2627, 2628, 2629, 2630, 2676, 2677, 2678, 2679, 2682, 2683, 2711, 2712, 2713, 2758, 2759, 2760, 2761, 2762, 2763, 2764, 2765, 2766, 2767, 3102, 3103, 3104, 3105 },
|
|
regions = { 214 },
|
|
triggers = { "CLIENT_EXECUTE_214" },
|
|
rand_weight = 100
|
|
}
|
|
}
|
|
|
|
--================================================================
|
|
--
|
|
-- 触发器
|
|
--
|
|
--================================================================
|
|
|
|
-- 触发条件
|
|
|
|
-- 触发操作
|
|
function action_EVENT_CLIENT_EXECUTE_214(context, evt)
|
|
-- 针对groupid为 133001172 中该config对应的物件进行状态改变操作
|
|
local this_gadget = ScriptLib.GetGadgetConfigId(context, { gadget_eid = evt.source_eid })
|
|
--ScriptLib.PrintLog("config_id="..this_gadget)
|
|
|
|
ScriptLib.SetGadgetEnableInteract(context, 133001172, this_gadget, true)
|
|
|
|
return 0
|
|
end
|