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

635 lines
29 KiB
Go

-- 基础信息
local base_info = {
group_id = 247009037
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 37001, gadget_id = 70310154, pos = { x = -24.675, y = -3.605, z = 665.775 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 37002, gadget_id = 70310154, pos = { x = 24.794, y = -3.605, z = 673.500 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 37003, gadget_id = 70310154, pos = { x = -7.224, y = -3.615, z = 694.337 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 37004, gadget_id = 70310154, pos = { x = -26.230, y = 1.390, z = 150.030 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37005, gadget_id = 70360291, pos = { x = -26.230, y = 1.390, z = 163.802 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37007, gadget_id = 70310154, pos = { x = -48.780, y = 1.390, z = 151.308 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37008, gadget_id = 70360291, pos = { x = -48.780, y = 1.390, z = 171.962 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37009, gadget_id = 70310154, pos = { x = 7.207, y = -3.615, z = 694.337 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 37010, gadget_id = 70360291, pos = { x = -26.097, y = -3.556, z = 673.508 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37012, gadget_id = 70360291, pos = { x = 26.089, y = -3.504, z = 665.790 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37013, gadget_id = 70360291, pos = { x = -7.234, y = -3.612, z = 644.302 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37014, gadget_id = 70360291, pos = { x = 7.220, y = -3.622, z = 644.301 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37015, gadget_id = 70310154, pos = { x = -26.443, y = 1.390, z = 230.037 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37016, gadget_id = 70360291, pos = { x = -26.443, y = 1.390, z = 243.783 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37017, gadget_id = 70310154, pos = { x = -48.866, y = 1.390, z = 231.276 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37018, gadget_id = 70360291, pos = { x = -48.866, y = 1.390, z = 251.953 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37040, gadget_id = 70360283, pos = { x = 70.727, y = 3.918, z = 288.874 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37042, gadget_id = 70310154, pos = { x = 35.432, y = 2.232, z = 403.326 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37043, gadget_id = 70360291, pos = { x = 35.432, y = 2.232, z = 410.688 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37045, gadget_id = 70360283, pos = { x = 49.814, y = 7.965, z = 394.634 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37047, gadget_id = 70360283, pos = { x = 0.020, y = 3.850, z = 530.113 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37048, gadget_id = 70360291, pos = { x = 7.483, y = -1.665, z = 429.389 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37049, gadget_id = 70310154, pos = { x = 7.381, y = -1.665, z = 445.876 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 37052, gadget_id = 70310154, pos = { x = -15.186, y = 0.820, z = 235.849 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 37053, gadget_id = 70360291, pos = { x = 15.750, y = 0.820, z = 235.849 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37056, gadget_id = 70360291, pos = { x = 15.750, y = 0.820, z = 244.066 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37057, gadget_id = 70310154, pos = { x = -15.186, y = 0.820, z = 244.066 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 37064, gadget_id = 70310154, pos = { x = -19.859, y = 1.241, z = 390.584 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 37065, gadget_id = 70360291, pos = { x = 16.209, y = 1.241, z = 390.584 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37067, gadget_id = 70310154, pos = { x = 5.562, y = 1.436, z = 419.859 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 37068, gadget_id = 70360291, pos = { x = 5.562, y = 1.436, z = 379.172 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37070, gadget_id = 70310154, pos = { x = 19.858, y = 1.358, z = 569.476 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 37071, gadget_id = 70360291, pos = { x = -20.782, y = 1.358, z = 569.476 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37074, gadget_id = 70360291, pos = { x = -20.782, y = 1.358, z = 550.656 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37075, gadget_id = 70310154, pos = { x = 19.858, y = 1.358, z = 550.656 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 37076, gadget_id = 70310154, pos = { x = -19.870, y = 1.358, z = 553.936 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 37077, gadget_id = 70360291, pos = { x = 20.427, y = 1.358, z = 553.936 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37080, gadget_id = 70360291, pos = { x = 20.427, y = 1.358, z = 565.757 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37081, gadget_id = 70310154, pos = { x = -19.870, y = 1.358, z = 565.757 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 37006, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 20.000 }, pos = { x = -26.230, y = 1.390, z = 154.010 } },
{ config_id = 37011, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 20.000 }, pos = { x = -48.780, y = 1.390, z = 155.290 } },
{ config_id = 37019, shape = RegionShape.CUBIC, size = { x = 50.000, y = 10.000, z = 4.500 }, pos = { x = 0.089, y = -2.326, z = 665.775 } },
{ config_id = 37020, shape = RegionShape.CUBIC, size = { x = 50.000, y = 10.000, z = 4.500 }, pos = { x = 0.089, y = -2.326, z = 673.445 } },
{ config_id = 37021, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 50.000 }, pos = { x = -7.224, y = -3.615, z = 669.677 } },
{ config_id = 37022, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 20.000 }, pos = { x = -26.443, y = 1.390, z = 233.991 } },
{ config_id = 37023, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 20.000 }, pos = { x = -48.866, y = 1.390, z = 235.281 } },
{ config_id = 37024, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 50.000 }, pos = { x = 7.239, y = -3.615, z = 669.677 } },
{ config_id = 37041, shape = RegionShape.CUBIC, size = { x = 5.000, y = 10.000, z = 5.000 }, pos = { x = 70.727, y = 3.918, z = 288.874 } },
{ config_id = 37044, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 10.000 }, pos = { x = 35.432, y = 2.232, z = 408.485 } },
{ config_id = 37046, shape = RegionShape.CUBIC, size = { x = 5.000, y = 10.000, z = 5.000 }, pos = { x = 49.814, y = 4.602, z = 394.634 } },
{ config_id = 37050, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 15.000 }, pos = { x = 7.483, y = -1.665, z = 438.443 } },
{ config_id = 37051, shape = RegionShape.CUBIC, size = { x = 5.000, y = 10.000, z = 5.000 }, pos = { x = 0.020, y = 3.850, z = 530.113 } },
{ config_id = 37054, shape = RegionShape.CUBIC, size = { x = 40.000, y = 10.000, z = 4.500 }, pos = { x = 3.314, y = 1.602, z = 235.849 } },
{ config_id = 37055, shape = RegionShape.CUBIC, size = { x = 40.000, y = 10.000, z = 4.500 }, pos = { x = 3.314, y = 1.602, z = 244.066 } },
{ config_id = 37066, shape = RegionShape.CUBIC, size = { x = 40.000, y = 10.000, z = 4.500 }, pos = { x = -0.002, y = 1.241, z = 390.584 } },
{ config_id = 37069, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 40.000 }, pos = { x = 5.562, y = 1.941, z = 400.583 } },
{ config_id = 37072, shape = RegionShape.CUBIC, size = { x = 40.000, y = 10.000, z = 4.500 }, pos = { x = 0.164, y = 1.358, z = 569.476 } },
{ config_id = 37073, shape = RegionShape.CUBIC, size = { x = 40.000, y = 10.000, z = 4.500 }, pos = { x = 0.164, y = 1.358, z = 550.656 } },
{ config_id = 37078, shape = RegionShape.CUBIC, size = { x = 40.000, y = 10.000, z = 4.500 }, pos = { x = 0.164, y = 1.358, z = 553.845 } },
{ config_id = 37079, shape = RegionShape.CUBIC, size = { x = 40.000, y = 10.000, z = 4.500 }, pos = { x = 0.164, y = 1.358, z = 565.933 } }
}
-- 触发器
triggers = {
{ config_id = 1037006, name = "ENTER_REGION_37006", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37006", action = "action_EVENT_ENTER_REGION_37006", trigger_count = 0 },
{ config_id = 1037011, name = "ENTER_REGION_37011", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37011", action = "action_EVENT_ENTER_REGION_37011", trigger_count = 0 },
{ config_id = 1037019, name = "ENTER_REGION_37019", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37019", action = "action_EVENT_ENTER_REGION_37019", trigger_count = 0 },
{ config_id = 1037020, name = "ENTER_REGION_37020", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37020", action = "action_EVENT_ENTER_REGION_37020", trigger_count = 0 },
{ config_id = 1037021, name = "ENTER_REGION_37021", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37021", action = "action_EVENT_ENTER_REGION_37021", trigger_count = 0 },
{ config_id = 1037022, name = "ENTER_REGION_37022", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37022", action = "action_EVENT_ENTER_REGION_37022", trigger_count = 0 },
{ config_id = 1037023, name = "ENTER_REGION_37023", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37023", action = "action_EVENT_ENTER_REGION_37023", trigger_count = 0 },
{ config_id = 1037024, name = "ENTER_REGION_37024", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37024", action = "action_EVENT_ENTER_REGION_37024", trigger_count = 0 },
{ config_id = 1037041, name = "ENTER_REGION_37041", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37041", action = "action_EVENT_ENTER_REGION_37041" },
{ config_id = 1037044, name = "ENTER_REGION_37044", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37044", action = "action_EVENT_ENTER_REGION_37044", trigger_count = 0 },
{ config_id = 1037046, name = "ENTER_REGION_37046", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37046", action = "action_EVENT_ENTER_REGION_37046" },
{ config_id = 1037050, name = "ENTER_REGION_37050", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37050", action = "action_EVENT_ENTER_REGION_37050", trigger_count = 0 },
{ config_id = 1037051, name = "ENTER_REGION_37051", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37051", action = "action_EVENT_ENTER_REGION_37051" },
{ config_id = 1037054, name = "ENTER_REGION_37054", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37054", action = "action_EVENT_ENTER_REGION_37054", trigger_count = 0 },
{ config_id = 1037055, name = "ENTER_REGION_37055", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37055", action = "action_EVENT_ENTER_REGION_37055", trigger_count = 0 },
{ config_id = 1037066, name = "ENTER_REGION_37066", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37066", action = "action_EVENT_ENTER_REGION_37066", trigger_count = 0 },
{ config_id = 1037069, name = "ENTER_REGION_37069", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37069", action = "action_EVENT_ENTER_REGION_37069", trigger_count = 0 },
{ config_id = 1037072, name = "ENTER_REGION_37072", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37072", action = "action_EVENT_ENTER_REGION_37072", trigger_count = 0 },
{ config_id = 1037073, name = "ENTER_REGION_37073", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37073", action = "action_EVENT_ENTER_REGION_37073", trigger_count = 0 },
{ config_id = 1037078, name = "ENTER_REGION_37078", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37078", action = "action_EVENT_ENTER_REGION_37078", trigger_count = 0 },
{ config_id = 1037079, name = "ENTER_REGION_37079", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37079", action = "action_EVENT_ENTER_REGION_37079", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 37001, 37002, 37003, 37004, 37005, 37007, 37008, 37009, 37010, 37012, 37013, 37014, 37015, 37016, 37017, 37018, 37040, 37042, 37043, 37045, 37047, 37048, 37049, 37052, 37053, 37056, 37057, 37064, 37065, 37067, 37068, 37070, 37071, 37074, 37075, 37076, 37077, 37080, 37081 },
regions = { 37006, 37011, 37019, 37020, 37021, 37022, 37023, 37024, 37041, 37044, 37046, 37050, 37051, 37054, 37055, 37066, 37069, 37072, 37073, 37078, 37079 },
triggers = { "ENTER_REGION_37006", "ENTER_REGION_37011", "ENTER_REGION_37019", "ENTER_REGION_37020", "ENTER_REGION_37021", "ENTER_REGION_37022", "ENTER_REGION_37023", "ENTER_REGION_37024", "ENTER_REGION_37041", "ENTER_REGION_37044", "ENTER_REGION_37046", "ENTER_REGION_37050", "ENTER_REGION_37051", "ENTER_REGION_37054", "ENTER_REGION_37055", "ENTER_REGION_37066", "ENTER_REGION_37069", "ENTER_REGION_37072", "ENTER_REGION_37073", "ENTER_REGION_37078", "ENTER_REGION_37079" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_37006(context, evt)
if evt.param1 ~= 37006 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37006(context, evt)
-- 将configid为 37004 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37004, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37011(context, evt)
if evt.param1 ~= 37011 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37011(context, evt)
-- 将configid为 37007 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37007, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37019(context, evt)
if evt.param1 ~= 37019 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37019(context, evt)
-- 将configid为 37001 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37001, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37020(context, evt)
if evt.param1 ~= 37020 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37020(context, evt)
-- 将configid为 37002 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37002, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37021(context, evt)
if evt.param1 ~= 37021 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37021(context, evt)
-- 将configid为 37003 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37003, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37022(context, evt)
if evt.param1 ~= 37022 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37022(context, evt)
-- 将configid为 37015 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37015, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37023(context, evt)
if evt.param1 ~= 37023 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37023(context, evt)
-- 将configid为 37017 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37017, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37024(context, evt)
if evt.param1 ~= 37024 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37024(context, evt)
-- 将configid为 37009 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37009, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37041(context, evt)
if evt.param1 ~= 37041 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37041(context, evt)
-- 将configid为 37040 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37040, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37044(context, evt)
if evt.param1 ~= 37044 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37044(context, evt)
-- 将configid为 37042 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37042, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37046(context, evt)
if evt.param1 ~= 37046 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37046(context, evt)
-- 将configid为 37045 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37045, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37050(context, evt)
if evt.param1 ~= 37050 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37050(context, evt)
-- 将configid为 37049 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37049, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37051(context, evt)
if evt.param1 ~= 37051 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37051(context, evt)
-- 将configid为 37047 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37047, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37054(context, evt)
if evt.param1 ~= 37054 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37054(context, evt)
-- 将configid为 37052 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37052, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37055(context, evt)
if evt.param1 ~= 37055 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37055(context, evt)
-- 将configid为 37057 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37057, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37066(context, evt)
if evt.param1 ~= 37066 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37066(context, evt)
-- 将configid为 37064 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37064, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37069(context, evt)
if evt.param1 ~= 37069 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37069(context, evt)
-- 将configid为 37067 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37067, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37072(context, evt)
if evt.param1 ~= 37072 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37072(context, evt)
-- 将configid为 37070 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37070, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37073(context, evt)
if evt.param1 ~= 37073 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37073(context, evt)
-- 将configid为 37075 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37075, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37078(context, evt)
if evt.param1 ~= 37078 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37078(context, evt)
-- 将configid为 37076 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37076, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_37079(context, evt)
if evt.param1 ~= 37079 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_37079(context, evt)
-- 将configid为 37081 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37081, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end