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

638 lines
29 KiB
Go

-- 基础信息
local base_info = {
group_id = 247003027
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 27001, gadget_id = 70310154, pos = { x = 153.645, y = 1.491, z = 60.135 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27002, gadget_id = 70360291, pos = { x = 153.645, y = 1.491, z = 100.361 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27004, gadget_id = 70310154, pos = { x = 165.697, y = 1.491, z = 60.135 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27005, gadget_id = 70360291, pos = { x = 165.697, y = 1.491, z = 100.361 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27007, gadget_id = 70310154, pos = { x = -6.009, y = 1.491, z = 60.135 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27008, gadget_id = 70360291, pos = { x = -6.009, y = 1.491, z = 100.361 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27009, gadget_id = 70310154, pos = { x = 6.043, y = 1.491, z = 60.135 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27010, gadget_id = 70360291, pos = { x = 6.043, y = 1.491, z = 100.361 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27015, gadget_id = 70360291, pos = { x = 246.314, y = 1.491, z = 180.345 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27016, gadget_id = 70310154, pos = { x = 246.314, y = 1.491, z = 140.119 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27017, gadget_id = 70360291, pos = { x = 234.262, y = 1.491, z = 180.345 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27018, gadget_id = 70310154, pos = { x = 234.262, y = 1.491, z = 140.119 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27021, gadget_id = 70310154, pos = { x = 220.215, y = 1.491, z = 165.892 }, rot = { x = 0.000, y = 89.691, z = 0.000 }, level = 1 },
{ config_id = 27022, gadget_id = 70360291, pos = { x = 260.441, y = 1.491, z = 166.109 }, rot = { x = 0.000, y = 89.691, z = 0.000 }, level = 1 },
{ config_id = 27023, gadget_id = 70310154, pos = { x = 220.280, y = 1.491, z = 153.840 }, rot = { x = 0.000, y = 89.691, z = 0.000 }, level = 1 },
{ config_id = 27024, gadget_id = 70360291, pos = { x = 260.506, y = 1.491, z = 154.057 }, rot = { x = 0.000, y = 89.691, z = 0.000 }, level = 1 },
{ config_id = 27025, gadget_id = 70310154, pos = { x = 315.954, y = -1.161, z = 379.807 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 27026, gadget_id = 70310154, pos = { x = 323.861, y = -1.161, z = 379.807 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 27027, gadget_id = 70310154, pos = { x = 295.453, y = -1.161, z = 353.979 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 27028, gadget_id = 70310154, pos = { x = 344.490, y = -1.161, z = 346.014 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 27029, gadget_id = 70360291, pos = { x = 315.933, y = -1.130, z = 319.260 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27030, gadget_id = 70360291, pos = { x = 323.896, y = -1.144, z = 319.258 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27031, gadget_id = 70360291, pos = { x = 346.077, y = -1.174, z = 354.002 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27032, gadget_id = 70360291, pos = { x = 293.489, y = -1.155, z = 346.028 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27037, gadget_id = 70310154, pos = { x = 274.153, y = -0.443, z = 174.191 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 27038, gadget_id = 70360291, pos = { x = 274.161, y = -0.453, z = 134.106 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27040, gadget_id = 70310154, pos = { x = 182.026, y = 1.589, z = 155.977 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27041, gadget_id = 70310154, pos = { x = 188.187, y = 1.575, z = 155.973 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27042, gadget_id = 70310154, pos = { x = 195.346, y = 1.575, z = 157.347 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27043, gadget_id = 70310154, pos = { x = 184.973, y = 1.575, z = 155.999 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27044, gadget_id = 70360291, pos = { x = 182.034, y = 1.697, z = 164.955 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27045, gadget_id = 70360291, pos = { x = 185.002, y = 1.637, z = 164.955 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27046, gadget_id = 70360291, pos = { x = 188.223, y = 1.634, z = 164.863 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27047, gadget_id = 70360291, pos = { x = 195.357, y = 1.564, z = 163.546 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27056, gadget_id = 70360291, pos = { x = 115.451, y = 1.564, z = 83.549 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27057, gadget_id = 70360291, pos = { x = 108.317, y = 1.634, z = 84.867 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27058, gadget_id = 70360291, pos = { x = 105.096, y = 1.637, z = 84.959 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27059, gadget_id = 70360291, pos = { x = 102.129, y = 1.697, z = 84.959 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27060, gadget_id = 70310154, pos = { x = 105.068, y = 1.575, z = 76.002 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27061, gadget_id = 70310154, pos = { x = 115.441, y = 1.575, z = 77.350 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27062, gadget_id = 70310154, pos = { x = 108.281, y = 1.575, z = 75.976 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 27063, gadget_id = 70310154, pos = { x = 102.120, y = 1.589, z = 75.980 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 27003, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 40.000 }, pos = { x = 153.645, y = 1.491, z = 79.487 } },
{ config_id = 27006, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 40.000 }, pos = { x = 165.697, y = 1.491, z = 79.487 } },
{ config_id = 27011, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 40.000 }, pos = { x = -6.009, y = 1.491, z = 79.487 } },
{ config_id = 27012, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 40.000 }, pos = { x = 6.043, y = 1.491, z = 79.487 } },
{ config_id = 27013, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 40.000 }, pos = { x = 246.314, y = 1.491, z = 159.472 } },
{ config_id = 27014, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 40.000 }, pos = { x = 234.262, y = 1.491, z = 159.472 } },
{ config_id = 27019, shape = RegionShape.CUBIC, size = { x = 40.000, y = 10.000, z = 4.500 }, pos = { x = 239.871, y = 1.491, z = 166.012 } },
{ config_id = 27020, shape = RegionShape.CUBIC, size = { x = 40.000, y = 10.000, z = 4.500 }, pos = { x = 239.692, y = 1.491, z = 153.961 } },
{ config_id = 27033, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 60.000 }, pos = { x = 315.954, y = -1.161, z = 349.519 } },
{ config_id = 27034, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 60.000 }, pos = { x = 324.039, y = -1.161, z = 349.519 } },
{ config_id = 27035, shape = RegionShape.CUBIC, size = { x = 50.000, y = 10.000, z = 4.500 }, pos = { x = 320.019, y = -1.161, z = 354.008 } },
{ config_id = 27036, shape = RegionShape.CUBIC, size = { x = 50.000, y = 10.000, z = 4.500 }, pos = { x = 320.019, y = -1.161, z = 346.127 } },
{ config_id = 27039, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 40.000 }, pos = { x = 274.153, y = -0.443, z = 160.813 } },
{ config_id = 27048, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 10.000 }, pos = { x = 182.011, y = 1.611, z = 160.518 } },
{ config_id = 27049, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 10.000 }, pos = { x = 184.874, y = 1.611, z = 160.518 } },
{ config_id = 27050, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 10.000 }, pos = { x = 195.298, y = 1.611, z = 160.518 } },
{ config_id = 27051, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 10.000 }, pos = { x = 188.295, y = 1.611, z = 160.518 } },
{ config_id = 27052, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 10.000 }, pos = { x = 108.389, y = 1.611, z = 80.521 } },
{ config_id = 27053, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 10.000 }, pos = { x = 102.106, y = 1.611, z = 80.521 } },
{ config_id = 27054, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 10.000 }, pos = { x = 104.968, y = 1.611, z = 80.521 } },
{ config_id = 27055, shape = RegionShape.CUBIC, size = { x = 4.500, y = 10.000, z = 10.000 }, pos = { x = 115.393, y = 1.611, z = 80.521 } }
}
-- 触发器
triggers = {
{ config_id = 1027003, name = "ENTER_REGION_27003", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27003", action = "action_EVENT_ENTER_REGION_27003", trigger_count = 0 },
{ config_id = 1027006, name = "ENTER_REGION_27006", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27006", action = "action_EVENT_ENTER_REGION_27006", trigger_count = 0 },
{ config_id = 1027011, name = "ENTER_REGION_27011", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27011", action = "action_EVENT_ENTER_REGION_27011", trigger_count = 0 },
{ config_id = 1027012, name = "ENTER_REGION_27012", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27012", action = "action_EVENT_ENTER_REGION_27012", trigger_count = 0 },
{ config_id = 1027013, name = "ENTER_REGION_27013", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27013", action = "action_EVENT_ENTER_REGION_27013", trigger_count = 0 },
{ config_id = 1027014, name = "ENTER_REGION_27014", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27014", action = "action_EVENT_ENTER_REGION_27014", trigger_count = 0 },
{ config_id = 1027019, name = "ENTER_REGION_27019", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27019", action = "action_EVENT_ENTER_REGION_27019", trigger_count = 0 },
{ config_id = 1027020, name = "ENTER_REGION_27020", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27020", action = "action_EVENT_ENTER_REGION_27020", trigger_count = 0 },
{ config_id = 1027033, name = "ENTER_REGION_27033", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27033", action = "action_EVENT_ENTER_REGION_27033", trigger_count = 0 },
{ config_id = 1027034, name = "ENTER_REGION_27034", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27034", action = "action_EVENT_ENTER_REGION_27034", trigger_count = 0 },
{ config_id = 1027035, name = "ENTER_REGION_27035", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27035", action = "action_EVENT_ENTER_REGION_27035", trigger_count = 0 },
{ config_id = 1027036, name = "ENTER_REGION_27036", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27036", action = "action_EVENT_ENTER_REGION_27036", trigger_count = 0 },
{ config_id = 1027039, name = "ENTER_REGION_27039", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27039", action = "action_EVENT_ENTER_REGION_27039", trigger_count = 0 },
{ config_id = 1027048, name = "ENTER_REGION_27048", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27048", action = "action_EVENT_ENTER_REGION_27048", trigger_count = 0 },
{ config_id = 1027049, name = "ENTER_REGION_27049", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27049", action = "action_EVENT_ENTER_REGION_27049", trigger_count = 0 },
{ config_id = 1027050, name = "ENTER_REGION_27050", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27050", action = "action_EVENT_ENTER_REGION_27050", trigger_count = 0 },
{ config_id = 1027051, name = "ENTER_REGION_27051", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27051", action = "action_EVENT_ENTER_REGION_27051", trigger_count = 0 },
{ config_id = 1027052, name = "ENTER_REGION_27052", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27052", action = "action_EVENT_ENTER_REGION_27052", trigger_count = 0 },
{ config_id = 1027053, name = "ENTER_REGION_27053", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27053", action = "action_EVENT_ENTER_REGION_27053", trigger_count = 0 },
{ config_id = 1027054, name = "ENTER_REGION_27054", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27054", action = "action_EVENT_ENTER_REGION_27054", trigger_count = 0 },
{ config_id = 1027055, name = "ENTER_REGION_27055", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_27055", action = "action_EVENT_ENTER_REGION_27055", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 27001, 27002, 27004, 27005, 27007, 27008, 27009, 27010, 27015, 27016, 27017, 27018, 27021, 27022, 27023, 27024, 27025, 27026, 27027, 27028, 27029, 27030, 27031, 27032, 27037, 27038, 27040, 27041, 27042, 27043, 27044, 27045, 27046, 27047, 27056, 27057, 27058, 27059, 27060, 27061, 27062, 27063 },
regions = { 27003, 27006, 27011, 27012, 27013, 27014, 27019, 27020, 27033, 27034, 27035, 27036, 27039, 27048, 27049, 27050, 27051, 27052, 27053, 27054, 27055 },
triggers = { "ENTER_REGION_27003", "ENTER_REGION_27006", "ENTER_REGION_27011", "ENTER_REGION_27012", "ENTER_REGION_27013", "ENTER_REGION_27014", "ENTER_REGION_27019", "ENTER_REGION_27020", "ENTER_REGION_27033", "ENTER_REGION_27034", "ENTER_REGION_27035", "ENTER_REGION_27036", "ENTER_REGION_27039", "ENTER_REGION_27048", "ENTER_REGION_27049", "ENTER_REGION_27050", "ENTER_REGION_27051", "ENTER_REGION_27052", "ENTER_REGION_27053", "ENTER_REGION_27054", "ENTER_REGION_27055" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_27003(context, evt)
if evt.param1 ~= 27003 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_27003(context, evt)
-- 将configid为 27001 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27001, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27006(context, evt)
if evt.param1 ~= 27006 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_27006(context, evt)
-- 将configid为 27004 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27004, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27011(context, evt)
if evt.param1 ~= 27011 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_27011(context, evt)
-- 将configid为 27007 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27007, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27012(context, evt)
if evt.param1 ~= 27012 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_27012(context, evt)
-- 将configid为 27009 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27009, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27013(context, evt)
if evt.param1 ~= 27013 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_27013(context, evt)
-- 将configid为 27016 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27016, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27014(context, evt)
if evt.param1 ~= 27014 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_27014(context, evt)
-- 将configid为 27018 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27018, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27019(context, evt)
if evt.param1 ~= 27019 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_27019(context, evt)
-- 将configid为 27021 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27021, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27020(context, evt)
if evt.param1 ~= 27020 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_27020(context, evt)
-- 将configid为 27023 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27023, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27033(context, evt)
if evt.param1 ~= 27033 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_27033(context, evt)
-- 将configid为 27025 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27025, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27034(context, evt)
if evt.param1 ~= 27034 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_27034(context, evt)
-- 将configid为 27026 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27026, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27035(context, evt)
if evt.param1 ~= 27035 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_27035(context, evt)
-- 将configid为 27027 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27027, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27036(context, evt)
if evt.param1 ~= 27036 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_27036(context, evt)
-- 将configid为 27028 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27028, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27039(context, evt)
if evt.param1 ~= 27039 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_27039(context, evt)
-- 将configid为 27037 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27037, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27048(context, evt)
if evt.param1 ~= 27048 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_27048(context, evt)
-- 将configid为 27040 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27040, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27049(context, evt)
if evt.param1 ~= 27049 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_27049(context, evt)
-- 将configid为 27041 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27041, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27050(context, evt)
if evt.param1 ~= 27050 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_27050(context, evt)
-- 将configid为 27042 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27042, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27051(context, evt)
if evt.param1 ~= 27051 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_27051(context, evt)
-- 将configid为 27043 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27043, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27052(context, evt)
if evt.param1 ~= 27052 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_27052(context, evt)
-- 将configid为 27060 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27060, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27053(context, evt)
if evt.param1 ~= 27053 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_27053(context, evt)
-- 将configid为 27061 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27061, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27054(context, evt)
if evt.param1 ~= 27054 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_27054(context, evt)
-- 将configid为 27062 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27062, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_27055(context, evt)
if evt.param1 ~= 27055 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_27055(context, evt)
-- 将configid为 27063 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 27063, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end