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/1/scene1_group111101143.lua
Yuuki b09934e7b9 Revert "remove local in defs"
This reverts commit 7e0a645ef33da87ddd5c402c6a64180001c6b03d.
2023-11-23 23:27:47 +08:00

117 lines
2.9 KiB
Lua

-- 基础信息
local base_info = {
group_id = 111101143
}
-- Trigger变量
local defs = {
group_ID = 111101143,
trigger_playRegion = 143006,
gadget_1 = 143002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 143001, gadget_id = 70950068, pos = { x = 2556.719, y = 213.767, z = -1256.709 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 143002, gadget_id = 70950070, pos = { x = 2542.730, y = 213.681, z = -1267.904 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 143003, gadget_id = 70950069, pos = { x = 2556.478, y = 215.084, z = -1267.960 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 143004, gadget_id = 70950069, pos = { x = 2545.572, y = 212.474, z = -1255.641 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 143005, gadget_id = 70211111, pos = { x = 2549.953, y = 212.860, z = -1261.440 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "解谜中级蒙德", isOneoff = true, persistent = true }
}
-- 区域
regions = {
{ config_id = 143006, shape = RegionShape.SPHERE, radius = 30, pos = { x = 2553.853, y = 213.606, z = -1260.695 }, ability_group_list = { "Move_Electric_Stake_Play" } }
}
-- 触发器
triggers = {
{ config_id = 1143007, name = "VARIABLE_CHANGE_143007", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_143007", action = "" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 143001, 143002, 143003, 143004 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { 143006 },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 143005 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_143007(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"successed"为1
if ScriptLib.GetGroupVariableValue(context, "successed") ~= 1 then
return false
end
return true
end
require "BlackBoxPlay/ChargingPort"