Files
hk4e-go/gdconf/game_data_config/lua/scene/3/scene3_group133102322.lua
T
2022-11-30 00:00:20 +08:00

84 lines
1.8 KiB
Go

-- 基础信息
local base_info = {
group_id = 133102322
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 322001, gadget_id = 70211121, pos = { x = 1683.590, y = 237.671, z = 645.961 }, rot = { x = 0.000, y = 5.446, z = 0.000 }, level = 16, drop_tag = "解谜高级璃月", isOneoff = true, persistent = true, explore = { name = "chest", exp = 1 }, area_id = 5 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1322004, name = "QUEST_FINISH_322004", event = EventType.EVENT_QUEST_FINISH, source = "2101399", condition = "", action = "action_EVENT_QUEST_FINISH_322004" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "QUEST_FINISH_322004" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_QUEST_FINISH_322004(context, evt)
-- 创建id为322001的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 322001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end