添加配置表

This commit is contained in:
flswld
2022-11-30 00:00:20 +08:00
parent f70a890338
commit d7f3f3b866
33382 changed files with 8476601 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
-- 地图配置
scene_config = {
begin_pos = { x = -531.5, z = -519.5 },
size = { x = 1008.4, z = 1008.4 },
born_pos = { x = 0.000, y = -0.102, z = 15.011 },
born_rot = { x = 0.000, y = 180.000, z = 0.000 },
die_y = -20,
city_id = 1,
vision_anchor = { x = -1000.0, z = -1000.0 }
}
-- 所有的区块
blocks = { 1070 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -531.5, z = -519.5 }, max = { x = 476.9, z = 488.9 } }
}
-- Dummy Points
dummy_points = { }
-- Routes
routes_config = { }

View File

@@ -0,0 +1,5 @@
-- 所有的group
groups = {
{ id = 201070001, refresh_id = 1, pos = { x = -0.679, y = -0.102, z = -0.002 } },
{ id = 201070002, refresh_id = 1002, pos = { x = -0.679, y = -0.102, z = -0.002 } }
}

View File

@@ -0,0 +1,478 @@
-- 基础信息
local base_info = {
group_id = 201070001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 1001, gadget_id = 70360010, pos = { x = 0.018, y = -0.153, z = -0.073 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, worktop_config = { init_options = { 184, 185, 186, 10, 11 } } },
{ config_id = 1016, gadget_id = 70900205, pos = { x = 0.018, y = -1.221, z = -0.073 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1001002, name = "SELECT_OPTION_1002", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_1002", action = "action_EVENT_SELECT_OPTION_1002" },
{ config_id = 1001003, name = "SELECT_OPTION_1003", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_1003", action = "action_EVENT_SELECT_OPTION_1003" },
{ config_id = 1001010, name = "ANY_MONSTER_LIVE_1010", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_1010", action = "action_EVENT_ANY_MONSTER_LIVE_1010" },
{ config_id = 1001013, name = "CHALLENGE_SUCCESS_1013", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "1", condition = "", action = "action_EVENT_CHALLENGE_SUCCESS_1013" },
{ config_id = 1001014, name = "CHALLENGE_FAIL_1014", event = EventType.EVENT_CHALLENGE_FAIL, source = "1", condition = "", action = "action_EVENT_CHALLENGE_FAIL_1014" },
{ config_id = 1001044, name = "SELECT_OPTION_1044", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_1044", action = "action_EVENT_SELECT_OPTION_1044" },
{ config_id = 1001045, name = "SELECT_OPTION_1045", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_1045", action = "action_EVENT_SELECT_OPTION_1045" },
{ config_id = 1001046, name = "SELECT_OPTION_1046", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_1046", action = "action_EVENT_SELECT_OPTION_1046" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 7,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 1001, 1016 },
regions = { },
triggers = { "SELECT_OPTION_1002", "SELECT_OPTION_1003", "ANY_MONSTER_LIVE_1010", "CHALLENGE_SUCCESS_1013", "CHALLENGE_FAIL_1014", "SELECT_OPTION_1044", "SELECT_OPTION_1045", "SELECT_OPTION_1046" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 1016 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 1016 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 1016 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { },
gadgets = { 1016 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 6,
-- description = ,
monsters = { },
gadgets = { 1016 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 7,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SELECT_OPTION_1002(context, evt)
-- 判断是gadgetid 1001 option_id 184
if 1001 ~= evt.param1 then
return false
end
if 184 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_1002(context, evt)
-- 将configid为 1001 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1001, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option184
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 184) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option185
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 185) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option186
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 186) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option10
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 10) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option11
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 11) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 201070001, 2)
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_1003(context, evt)
-- 判断是gadgetid 1001 option_id 185
if 1001 ~= evt.param1 then
return false
end
if 185 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_1003(context, evt)
-- 将configid为 1001 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1001, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option185
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 185) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option184
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 184) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option186
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 186) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option10
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 10) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option11
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 11) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 201070001, 3)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_1010(context, evt)
if 1004 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_1010(context, evt)
-- 创建编号为1该挑战的识别id),挑战内容为166的区域挑战具体参数填写方式见DungeonChallengeData表中的注释所有填写的值都必须是int类型
if 0 ~= ScriptLib.ActiveChallenge(context, 1, 166, 180, 201070001, 6, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_challenge")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_SUCCESS_1013(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201070001, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_FAIL_1014(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201070001, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 地城失败结算
if 0 ~= ScriptLib.CauseDungeonFail(context) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cause_dungeonfail")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_1044(context, evt)
-- 判断是gadgetid 1001 option_id 186
if 1001 ~= evt.param1 then
return false
end
if 186 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_1044(context, evt)
-- 将configid为 1001 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1001, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option186
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 186) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option185
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 185) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option184
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 184) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option10
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 10) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option11
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 11) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 201070001, 4)
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_1045(context, evt)
-- 判断是gadgetid 1001 option_id 10
if 1001 ~= evt.param1 then
return false
end
if 10 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_1045(context, evt)
-- 将configid为 1001 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1001, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option185
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 185) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option184
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 184) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option10
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 10) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option11
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 11) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option186
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 186) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 201070001, 5)
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_1046(context, evt)
-- 判断是gadgetid 1001 option_id 11
if 1001 ~= evt.param1 then
return false
end
if 11 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_1046(context, evt)
-- 将configid为 1001 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1001, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option185
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 185) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option184
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 184) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option186
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 186) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option10
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 10) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070001 指定config1001物件身上指定option11
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070001, 1001, 11) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 添加suite6的新内容
ScriptLib.AddExtraGroupSuite(context, 201070001, 6)
return 0
end

View File

@@ -0,0 +1,619 @@
-- 基础信息
local base_info = {
group_id = 201070002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 2001, monster_id = 25210501, pos = { x = -3.942, y = -0.102, z = -8.119 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2002, monster_id = 25210101, pos = { x = 0.082, y = -0.102, z = -10.039 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2003, monster_id = 25210201, pos = { x = 0.144, y = -0.102, z = 9.995 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2004, monster_id = 25210301, pos = { x = -9.953, y = -0.102, z = 0.003 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2006, monster_id = 25310101, pos = { x = 0.090, y = -0.102, z = -10.117 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2007, monster_id = 25210301, pos = { x = 10.162, y = -0.102, z = -0.001 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2008, monster_id = 25210401, pos = { x = 3.121, y = -0.102, z = -8.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2009, monster_id = 25310201, pos = { x = -3.984, y = -0.102, z = -8.118 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2010, monster_id = 25310301, pos = { x = 3.121, y = -0.102, z = -8.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2011, monster_id = 25210201, pos = { x = 0.144, y = -0.102, z = 9.995 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2012, monster_id = 25210201, pos = { x = -9.953, y = -0.102, z = 0.003 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2013, monster_id = 25210201, pos = { x = 10.162, y = -0.102, z = -0.001 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2014, monster_id = 25310101, pos = { x = 0.090, y = -0.102, z = -10.117 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2015, monster_id = 25310201, pos = { x = -3.984, y = -0.102, z = -8.118 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2016, monster_id = 25310301, pos = { x = 3.121, y = -0.102, z = -8.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2017, monster_id = 25210101, pos = { x = 0.144, y = -0.102, z = 9.995 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2018, monster_id = 25210401, pos = { x = -9.953, y = -0.102, z = 0.003 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2019, monster_id = 25210501, pos = { x = 10.162, y = -0.102, z = -0.001 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2020, monster_id = 23050101, pos = { x = 0.090, y = -0.102, z = -10.117 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2021, monster_id = 25310201, pos = { x = -3.984, y = -0.102, z = -8.118 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2022, monster_id = 25310301, pos = { x = 3.121, y = -0.102, z = -8.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2023, monster_id = 23010201, pos = { x = 0.090, y = -0.102, z = -10.117 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2024, monster_id = 25310201, pos = { x = -3.984, y = -0.102, z = -8.118 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2025, monster_id = 25310201, pos = { x = 3.121, y = -0.102, z = -8.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2026, monster_id = 23010101, pos = { x = 0.090, y = -0.102, z = -10.117 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2027, monster_id = 25310101, pos = { x = -3.984, y = -0.102, z = -8.118 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2028, monster_id = 25310101, pos = { x = 3.121, y = -0.102, z = -8.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2029, monster_id = 23010601, pos = { x = 0.090, y = -0.102, z = -10.117 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2030, monster_id = 25310101, pos = { x = -3.984, y = -0.102, z = -8.118 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2031, monster_id = 25310201, pos = { x = 3.121, y = -0.102, z = -8.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2032, monster_id = 23010601, pos = { x = 0.090, y = -0.102, z = -10.117 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2037, monster_id = 25310101, pos = { x = -3.984, y = -0.102, z = -8.118 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2038, monster_id = 25310201, pos = { x = 3.121, y = -0.102, z = -8.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2044, monster_id = 25210201, pos = { x = 0.090, y = -0.102, z = 9.871 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2045, monster_id = 25100101, pos = { x = -3.984, y = -0.102, z = -8.118 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2046, monster_id = 25100201, pos = { x = 3.121, y = -0.102, z = -8.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2047, monster_id = 25210201, pos = { x = -9.927, y = -0.102, z = -0.085 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2048, monster_id = 25210201, pos = { x = 10.132, y = -0.102, z = -0.085 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2049, monster_id = 25310101, pos = { x = 0.090, y = -0.102, z = -10.117 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2050, monster_id = 25310201, pos = { x = -3.984, y = -0.102, z = -8.118 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2051, monster_id = 25310301, pos = { x = 3.121, y = -0.102, z = -8.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2052, monster_id = 25010301, pos = { x = 0.144, y = -0.102, z = 9.995 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2053, monster_id = 25010301, pos = { x = -9.953, y = -0.102, z = 0.003 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2054, monster_id = 25010301, pos = { x = 10.162, y = -0.102, z = -0.001 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2055, monster_id = 23020102, pos = { x = 0.090, y = -0.102, z = -10.117 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2056, monster_id = 25310101, pos = { x = -3.984, y = -0.102, z = -8.118 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2057, monster_id = 25310301, pos = { x = 3.121, y = -0.102, z = -8.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2058, monster_id = 23040102, pos = { x = 0.090, y = -0.102, z = -10.117 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2059, monster_id = 25310101, pos = { x = -3.984, y = -0.102, z = -8.118 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2060, monster_id = 25310101, pos = { x = 3.121, y = -0.102, z = -8.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2061, monster_id = 23030102, pos = { x = 0.090, y = -0.102, z = -10.117 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2062, monster_id = 25310101, pos = { x = 0.044, y = -0.102, z = 9.924 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2063, monster_id = 25210201, pos = { x = 10.102, y = -0.102, z = -0.018 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2064, monster_id = 25210201, pos = { x = -9.937, y = -0.102, z = -0.022 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2065, monster_id = 23010301, pos = { x = 0.090, y = -0.102, z = -10.117 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2066, monster_id = 25310101, pos = { x = 0.044, y = -0.102, z = 9.924 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2067, monster_id = 25210201, pos = { x = 10.102, y = -0.102, z = -0.018 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2068, monster_id = 25210201, pos = { x = -9.937, y = -0.102, z = -0.022 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 2033, gadget_id = 70360010, pos = { x = 10.144, y = -0.153, z = -0.073 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, worktop_config = { init_options = { 184, 185, 186 } } },
{ config_id = 2034, gadget_id = 70900205, pos = { x = 0.018, y = -1.221, z = -0.073 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2039, gadget_id = 70360010, pos = { x = -9.891, y = -0.153, z = -0.073 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, worktop_config = { init_options = { 184, 185, 186 } } }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1002005, name = "ANY_MONSTER_DIE_2005", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_2005", action = "action_EVENT_ANY_MONSTER_DIE_2005" },
{ config_id = 1002035, name = "SELECT_OPTION_2035", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_2035", action = "action_EVENT_SELECT_OPTION_2035" },
{ config_id = 1002036, name = "SELECT_OPTION_2036", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_2036", action = "action_EVENT_SELECT_OPTION_2036" },
{ config_id = 1002040, name = "SELECT_OPTION_2040", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_2040", action = "action_EVENT_SELECT_OPTION_2040" },
{ config_id = 1002041, name = "SELECT_OPTION_2041", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_2041", action = "action_EVENT_SELECT_OPTION_2041" },
{ config_id = 1002042, name = "SELECT_OPTION_2042", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_2042", action = "action_EVENT_SELECT_OPTION_2042" },
{ config_id = 1002043, name = "SELECT_OPTION_2043", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_2043", action = "action_EVENT_SELECT_OPTION_2043" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 2034 },
regions = { },
triggers = { "ANY_MONSTER_DIE_2005", "SELECT_OPTION_2035", "SELECT_OPTION_2036", "SELECT_OPTION_2040", "SELECT_OPTION_2041", "SELECT_OPTION_2042", "SELECT_OPTION_2043" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 2001, 2002, 2003, 2004, 2007, 2008 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 2006, 2009, 2010, 2011, 2012, 2013 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 2014, 2015, 2016, 2017, 2018, 2019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 2020, 2021, 2022 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 6,
-- description = ,
monsters = { 2023, 2024, 2025 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 7,
-- description = ,
monsters = { 2026, 2027, 2028 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 8,
-- description = ,
monsters = { 2029, 2030, 2031 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 9,
-- description = ,
monsters = { 2032, 2037, 2038 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 10,
-- description = ,
monsters = { 2044, 2045, 2046, 2047, 2048 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 11,
-- description = ,
monsters = { 2049, 2050, 2051, 2052, 2053, 2054 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 12,
-- description = ,
monsters = { },
gadgets = { 2033, 2039 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 13,
-- description = ,
monsters = { 2055, 2056, 2057 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 14,
-- description = ,
monsters = { 2058, 2059, 2060 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 15,
-- description = ,
monsters = { 2061, 2062, 2063, 2064 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 16,
-- description = ,
monsters = { 2065, 2066, 2067, 2068 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_2005(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_2005(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201070002, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_2035(context, evt)
-- 判断是gadgetid 2033 option_id 184
if 2033 ~= evt.param1 then
return false
end
if 184 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_2035(context, evt)
-- 将configid为 2033 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2033, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除指定group 201070002 指定config2033物件身上指定option184
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2033, 184) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070002 指定config2033物件身上指定option185
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2033, 185) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070002 指定config2033物件身上指定option186
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2033, 186) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 201070002, 5)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 2039 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_2036(context, evt)
-- 判断是gadgetid 2033 option_id 185
if 2033 ~= evt.param1 then
return false
end
if 185 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_2036(context, evt)
-- 将configid为 2033 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2033, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除指定group 201070002 指定config2033物件身上指定option185
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2033, 185) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070002 指定config2033物件身上指定option184
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2033, 184) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070002 指定config2033物件身上指定option186
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2033, 186) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 添加suite6的新内容
ScriptLib.AddExtraGroupSuite(context, 201070002, 6)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 2039 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_2040(context, evt)
-- 判断是gadgetid 2033 option_id 186
if 2033 ~= evt.param1 then
return false
end
if 186 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_2040(context, evt)
-- 将configid为 2033 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2033, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除指定group 201070002 指定config2033物件身上指定option186
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2033, 186) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070002 指定config2033物件身上指定option185
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2033, 185) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070002 指定config2033物件身上指定option184
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2033, 184) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 添加suite7的新内容
ScriptLib.AddExtraGroupSuite(context, 201070002, 7)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 2039 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_2041(context, evt)
-- 判断是gadgetid 2039 option_id 184
if 2039 ~= evt.param1 then
return false
end
if 184 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_2041(context, evt)
-- 将configid为 2039 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2039, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除指定group 201070002 指定config2039物件身上指定option185
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2039, 185) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070002 指定config2039物件身上指定option184
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2039, 184) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070002 指定config2039物件身上指定option186
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2039, 186) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 添加suite8的新内容
ScriptLib.AddExtraGroupSuite(context, 201070002, 8)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 2033 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_2042(context, evt)
-- 判断是gadgetid 2039 option_id 185
if 2039 ~= evt.param1 then
return false
end
if 185 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_2042(context, evt)
-- 将configid为 2039 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2039, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除指定group 201070002 指定config2039物件身上指定option185
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2039, 185) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070002 指定config2039物件身上指定option184
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2039, 184) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070002 指定config2039物件身上指定option186
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2039, 186) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 添加suite9的新内容
ScriptLib.AddExtraGroupSuite(context, 201070002, 9)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 2033 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_2043(context, evt)
-- 判断是gadgetid 2039 option_id 186
if 2039 ~= evt.param1 then
return false
end
if 186 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_2043(context, evt)
-- 将configid为 2039 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2039, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除指定group 201070002 指定config2039物件身上指定option185
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2039, 185) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070002 指定config2039物件身上指定option184
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2039, 184) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 删除指定group 201070002 指定config2039物件身上指定option186
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201070002, 2039, 186) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 添加suite10的新内容
ScriptLib.AddExtraGroupSuite(context, 201070002, 10)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 2033 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,99 @@
{
"areas": {},
"doors": {},
"entities": {
"1": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 500.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": null,
"pointType": "Other",
"pos": {
"x": -0.9124126,
"y": -5.037683,
"z": 107.7861
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 200.0,
"heightType": "Center",
"length": 150.0,
"useHeight": true,
"width": 300.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "NoReviveRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": true
}
},
"forces": {},
"points": {
"1": {
"$type": "DungeonQuitPoint",
"alias": "",
"areaId": 0,
"gadgetId": 70120004,
"groupLimit": false,
"isModelHidden": false,
"pointType": "DungeonQuitPoint",
"pos": {
"x": 0.005843371,
"y": -0.1083121,
"z": -18.17763
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 5.0,
"y": 5.0,
"z": 5.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
}
},
"transRadius": 0.0
}