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

119 lines
2.8 KiB
Lua

-- 基础信息
local base_info = {
group_id = 111101141
}
-- Trigger变量
local defs = {
group_ID = 111101141,
gadget_1 = 141001,
rotation_1 = 0,
gadget_2 = 141002,
rotation_2 = 90,
gadget_3 = 141003,
rotation_3 = 180,
gadget_4 = 0,
rotation_4 = 0,
gadget_5 = 0,
rotation_5 = 0,
gadget_connect1 = {141003},
gadget_connect2 = {141003},
gadget_connect3 = {},
gadget_connect4 = {},
gadget_connect5 = {}
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 141001, gadget_id = 70950056, pos = { x = 2589.655, y = 212.699, z = -1306.686 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
{ config_id = 141002, gadget_id = 70950056, pos = { x = 2589.655, y = 214.699, z = -1306.686 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
{ config_id = 141003, gadget_id = 70950056, pos = { x = 2589.655, y = 216.699, z = -1306.686 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
{ config_id = 141006, gadget_id = 70211111, pos = { x = 2585.490, y = 211.480, z = -1306.966 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "解谜中级蒙德", isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1141007, name = "VARIABLE_CHANGE_141007", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_141007", action = "" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 141001, 141002, 141003 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 141006 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_141007(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/LightSquare"