0
0
mirror of https://gitlab.com/YuukiPS/GC-Resources.git synced 2025-04-28 09:05:26 +00:00
GC-Resources/Resources/Scripts/Scene/3/scene3_group133307023.lua
2023-01-23 00:23:05 +08:00

83 lines
1.7 KiB
Lua

-- 基础信息
local base_info = {
group_id = 133307023
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 23001, gadget_id = 70900050, pos = { x = -1762.304, y = 24.226, z = 5685.263 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 32, area_id = 27 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1023002, name = "GADGET_STATE_CHANGE_23002", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_23002", action = "" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 23001 },
regions = { },
triggers = { "GADGET_STATE_CHANGE_23002" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_23002(context, evt)
-- 检测config_id为23001的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 23001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end