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

116 lines
2.5 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 基础信息
local base_info = {
group_id = 133002914
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
-- 放置交互点
{ config_id = 914001, gadget_id = 70710232, pos = { x = 945.233, y = 364.926, z = -690.785 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 10 },
-- 盒子埋入雪堆
{ config_id = 914002, gadget_id = 70360102, pos = { x = 946.360, y = 364.929, z = -689.898 }, rot = { x = 0.000, y = 100.300, z = 357.035 }, level = 1, area_id = 10 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1914003, name = "ANY_GADGET_DIE_914003", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_914003", action = "action_EVENT_ANY_GADGET_DIE_914003", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100,
ban_refresh = true
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 914001 },
regions = { },
triggers = { },
rand_weight = 100,
ban_refresh = true
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 914002 },
regions = { },
triggers = { "ANY_GADGET_DIE_914003" },
rand_weight = 100,
ban_refresh = true
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_GADGET_DIE_914003(context, evt)
-- 打印死亡日志
ScriptLib.PrintContextLog(context, "## TEMPLE_LOG : Gadget_Die | "..evt.param1)
return true
end
-- 触发操作
function action_EVENT_ANY_GADGET_DIE_914003(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "13300291401") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end